[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [microblaze-uclinux] Kernel hangs when mounting /proc



Hmm, perhaps I had a similar problem like you... sometimes it hanged just after
freeing memory and sometimes it showed "mounting proc". I don't know what
causes it, but in my case it was solved by using an older toolchain...

Quoting Valentin Longchamp <valentin.longchamp@epfl.ch>:

> Hello,
>
> I have resolved my problem with the VFS Kernel Panic, and the boot
> sequence goes further, but it hangs when mounting /proc.
>
> So I have checked that the proc filesystem was in the kernel, this is
> ok, so it should be able to mount it !
>
> But is there a mount command in my uClinux options ? I think there is
> one from the selected shell (BusyBox menu in uClinux-dist config) but
> there is also one from the filesystems Application that isn't selected
> (and makes me a compilation error if added) ? So is the boot script able
> to use the BusyBox one ? Why would it hang ?
>
> The only things I have changed are in the Kernel, since I have no
> Ethernet port on my card, I have removed the Ethernet driver, and I have
> a MTD generic RAM/ROM support and that's all ...
>
> Here is my kernel bootlog, if it helps (but this time, no interesting
> error message !) :
>
> > ROPES bootloader Menu
> > ---------------------
> >
> > 1.    Test the SDRAM
> > 2.    Download Kernel from serial port
> > 3.    Launch the Kernel from memory
> > 4.    Set kernel cmdline
> >
> >
> > Make your choice>3
> > Linux version 2.4.29-uc0 (valentin@centrino) (gcc version 2.95.3-4 Xilinx
> EDK 6.
> > 3 Build EDK_Gmm.12.2) #9 jeu jun 16 11:41:41 CEST 2005
> > On node 0 totalpages: 8192
> > zone(0): 8192 pages.
> > zone(1): 0 pages.
> > zone(2): 0 pages.
> > CPU: MICROBLAZE
> > Console: xmbserial on UARTLite
> > Kernel command line:
> > Calibrating delay loop... 33.07 BogoMIPS
> > Memory: 32MB = 32MB total
> > Memory: 30876KB available (595K code, 933K data, 32K init)
> > Dentry cache hash table entries: 4096 (order: 3, 32768 bytes)
> > Inode cache hash table entries: 2048 (order: 2, 16384 bytes)
> > Mount cache hash table entries: 512 (order: 0, 4096 bytes)
> > Buffer cache hash table entries: 1024 (order: 0, 4096 bytes)
> > Page-cache hash table entries: 8192 (order: 3, 32768 bytes)
> > POSIX conformance testing by UNIFIX
> > Linux NET4.0 for Linux 2.4
> > Based upon Swansea University Computer Society NET3.039
> > Microblaze UARTlite serial driver version 1.00
> > ttyS0 at 0xffff2000 (irq = 1) is a Microblaze UARTlite
> > Starting kswapd
> > xgpio #0 at 0xFFFF5000 mapped to 0xFFFF5000
> > Xilinx GPIO registered
> > RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
> > uclinux[mtd]: RAM probe address=0x800c58fc size=0xb9000
> > uclinux[mtd]: root filesystem index=0
> > VFS: Mounted root (romfs filesystem) readonly.
> > Freeing init memory: 32K
> > Mounting proc:
>
> Someone has got an idea ? It looks like the filesytem could be mounted
> and the init script is read the right way !
>
> Thanks
>
> Valentin
>
>
> ___________________________
> microblaze-uclinux mailing list
> microblaze-uclinux@itee.uq.edu.au
> Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
> Mailing List Archive :
> http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/
>
>


--
Wouter Wiggers
Intern @ University of Queensland, Australia
Master student @ University of Twente, Netherlands

___________________________
microblaze-uclinux mailing list
microblaze-uclinux@itee.uq.edu.au
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/