* unable to mount root fs on 01:00
@ 2001-04-23 12:09 Stefan Balcerczak
0 siblings, 0 replies; 4+ messages in thread
From: Stefan Balcerczak @ 2001-04-23 12:09 UTC (permalink / raw)
To: linuxppc-embedded
Hello!
I'm totally new to embedded linux, but have some expierence with i386-versions
of linux.
I'm working with an MPC860 on a MBX860-004 board.
I already managed to get a nfs-version of embedded linux (hardhat) to run. But I
have trouble to build linux with initrd - the start-sequence shows as follows:
====================================================================================
[snip]
Linux/PPC load: root=/dev/ram0
Uncompressing Linux... done.
Now booting the kernel
Linux version 2.2.14 (bal2bk@bkrfs31) (gcc version 2.95.2 19991024 (release)) #1
5 Mon Apr 23 09:39:59 MEST 2001
Boot arguments: root=/dev/ram0
Decrementer Frequency: 2500000
Calibrating delay loop... 39.73 BogoMIPS
Memory: 13308k available (664k kernel code, 448k data, 36k init) [c0000000,c1000
000]
Dentry hash table entries: 2048 (order 2, 16k)
Buffer cache hash table entries: 16384 (order 4, 64k)
Page cache hash table entries: 4096 (order 2, 16k)
POSIX conformance testing by UNIFIX
Linux NET4.0 for Linux 2.2
Based upon Swansea University Computer Society NET3.039
NET4: Unix domain sockets 1.0 for Linux NET4.0.
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
TCP: Hash tables configured (ehash 16384 bhash 16384)
Starting kswapd v 1.5
CPM UART driver version 0.03-wd
ttyS0 on SMC1 at 0x0280, BRG1
ttyS1 on SMC2 at 0x0380, BRG2
ttyS2 on SCC2 at 0x0100, BRG3
ttyS3 on SCC3 at 0x0200, BRG4
pty: 256 Unix98 ptys configured
RAM disk driver initialized: 16 RAM disks of 4096K size
eth0: CPM ENET Version 0.2 on SCC1, 08:00:3e:26:29:a4
IP-Config: Incomplete network configuration information.
dev_close: bug eth0 still running
RAMDISK: Compressed image found at block 0
Kernel panic: VFS: Unable to mount root fs on 01:00
Rebooting in 180 seconds..
====================================================================================
So I have 2 problems:
1) How do I pass the correct ip-config?
2) why can't linux mount the root fs?
I already checked the docu and the older postings and tried everything I found
with no success:
bootargs: - root=/dev/ram rw
- root=/dev/ram0 rw
- init=/dev/ram
- init=/dev/ram0
- console=/dev/ttyS0
The ramdisk is smaller than 4096 kb so there shouldn't be any problem ...
With best regards,
Stefan
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: unable to mount root fs on 01:00
@ 2001-04-23 12:21 Brian.Dominy
2001-04-23 13:02 ` Shoudong Xu
0 siblings, 1 reply; 4+ messages in thread
From: Brian.Dominy @ 2001-04-23 12:21 UTC (permalink / raw)
To: linuxppc-embedded; +Cc: Stefan Balcerczak
Stefan,
Check to make sure you have loopback driver support compiled into your
kernel. You'll need that in order to mount a ramdisk.
Regards,
Brian Dominy
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: unable to mount root fs on 01:00
2001-04-23 12:21 Brian.Dominy
@ 2001-04-23 13:02 ` Shoudong Xu
0 siblings, 0 replies; 4+ messages in thread
From: Shoudong Xu @ 2001-04-23 13:02 UTC (permalink / raw)
To: Brian.Dominy, Stefan.Balcerczak; +Cc: linuxppc-embedded
Mr.Brian,
Why choose loopback drivers support ? It is very strange, Could you give a simple explain?
I think just need to select both CONFIG_BLK_DEV_RAM and CONFIG_BLK_DEV_INITRD to build zImage.initrd.
Best Regards,
Shoudong Xu
----- Original Message -----
From: <Brian.Dominy@radisys.com>
To: <linuxppc-embedded@lists.linuxppc.org>
Cc: "Stefan Balcerczak" <Stefan.Balcerczak@marconi.com>
Sent: Monday, April 23, 2001 2:21 PM
Subject: Re: unable to mount root fs on 01:00
>
> Stefan,
>
> Check to make sure you have loopback driver support compiled into your
> kernel. You'll need that in order to mount a ramdisk.
>
> Regards,
> Brian Dominy
>
>
>
>
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Unable to mount root fs on 01:00
2003-04-02 17:56 consistent_alloc Flavio Pereira
@ 2003-04-02 18:27 ` Jerry Walden
0 siblings, 0 replies; 4+ messages in thread
From: Jerry Walden @ 2003-04-02 18:27 UTC (permalink / raw)
To: linuxppc-embedded
Greetings:
I am trying to bring linux up on a custom 405GPr Board.
For a while I was getting the error:(RAMDISK: incomplete write (ramdisk too
small?) (-28!= 32768)
and then I discovered the my command line option ramdisk_size=8192 needs to
be
changed to ramdisk_size=16384.
Now I am past the ramdisk too small error, and I am getting the following
error (see complete trace below):
RAMDISK driver initialized: 16 RAM disks of 16384K size 1024 blocksize
Tracer: Initialization complete
RAMDISK: Couldn't find valid RAM disk image starting at 0.
Freeing initrd memory: 1473k freed
Kernel panic: VFS: Unable to mount root fs on 01:00
Any suggestions?
Thanks
Jerry Walden
bootm 0x100000 0x200000
## Booting image at 00100000 ...
Image Name: Linux-2.4.18_mvl30-walnut
Image Type: PowerPC Linux Kernel Image (gzip compressed)
Data Size: 298672 Bytes = 291.7 kB
Load Address: 00000000
Entry Point: 00000000 Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
## Current stack ends at 0x03F9EBE8 => set upper limit to 0x00800000
## cmdline at 0x007FFF00 ... 0x007FFF45
memstart = 0x00000000
memsize = 0x04000000
flashstart = 0xFFF80000
flashsize = 0x00080000
flashoffset = 0x00031000
sramstart = 0x00000000
sramsize = 0x00000000
bootflags = 0x001E8480
procfreq = 266.666 MHz
b_busfreq = 133.333 MHz
pci_busfreq = 33.333 MHz
ethaddr = 00:00:00:00:00:00
IP addr = 0.0.0.0
baudrate = 9600 bps
## Loading RAMDisk Image at 00200000 ...
Image Name: DA Ramdisk Image
Image Type: PowerPC Linux RAMDisk Image (gzip compressed)
Data Size: 1509352 Bytes = 1.4 MB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
## initrd at 0x00200040 ... 0x00370827 (len=1509352=0x1707E8)
Loading Ramdisk to 03e2d000, end 03f9d7e8 ... OK
## Transferring control to Linux (at address 00000000) ...
Linux version 2.4.18_mvl30-walnut (root@hhl) (gcc version 3.2.1 20020930
(MontaVista)) #33 Tue Mar 25 15:30:00
<6>IBM Sycamore (IBM405GPr) Platform
On node 0 totalpages: 16384
zone(0): 16384 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: root=/dev/ram rw ramdisk_size=16384
console=ttyS0,9600n8 console=tty0
Calibrating delay loop... 266.24 BogoMIPS^[[1;29r^[[29;1H
Memory: 62268k available (512k kernel code, 212k data, 32k init, 0k highmem)
Dentry-cache hash table entries: 8192 (order: 4, 65536 bytes)
Inode-cache hash table entries: 4096 (order: 3, 32768 bytes)
Mount-cache hash table entries: 1024 (order: 1, 8192 bytes)
Buffer-cache hash table entries: 4096 (order: 2, 16384 bytes)
Page-cache hash table entries: 16384 (order: 4, 65536 bytes)
POSIX conformance testing by UNIFIX
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
OCP uart ver 1.2 init complete
Starting kswapd
Disabling the Out Of Memory Killer
Serial driver version 5.05c (2001-07-08) with no serial options enabled
ttyS00 at 0x0000 (irq = 0) is a 16550A
ttyS01 at 0x0000 (irq = 1) is a 16550A
block: 128 slots per queue, batch=32
RAMDISK driver initialized: 16 RAM disks of 16384K size 1024 blocksize
Tracer: Initialization complete
RAMDISK: Couldn't find valid RAM disk image starting at 0.
Freeing initrd memory: 1473k freed
Kernel panic: VFS: Unable to mount root fs on 01:00
Jerry Walden
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2003-04-02 18:27 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-04-23 12:09 unable to mount root fs on 01:00 Stefan Balcerczak
-- strict thread matches above, loose matches on Subject: below --
2001-04-23 12:21 Brian.Dominy
2001-04-23 13:02 ` Shoudong Xu
2003-04-02 17:56 consistent_alloc Flavio Pereira
2003-04-02 18:27 ` Unable to mount root fs on 01:00 Jerry Walden
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).