[Lguest] VFS: Cannot open root device "lgba" or unknown-block(254, 0)

Karl Meyer adhocrocker at gmail.com
Thu Aug 30 15:43:49 EST 2007


Hi,

did you run the command from the kernel sources dir? I had a similar
problem because I ran lguest from a random dir. When running it from
the kernel sources dir it worked.

/usr/src/linux#  Documentation/lguest/lguest 64m vmlinux
--tunnet=192.168.254.10 --tunnet=192.168.200.1 --block=/dev/hdb1
root=/dev/lgba

works, whereas

root# lguest 64m vmlinux --tunnet=192.168.254.10
--tunnet=192.168.200.1 --block=/dev/hdb1 root=/dev/lgba

does not.

2007/8/30, James Turnbull <james at lovedthanlost.net>:
> Hi all
>
> Playing with lguest and having what may be a PEBCAK moment but not sure.
>
> Kernel is 2.6.23-rc3 and base.img is a debootstrap'ed sarge disk image.
>
> Am getting the below error - also tried with the xen rootfile suggested
> by Rusty's doco - and got the same error.
>
> Any help much appreciated.
>
> # lguest 64m /home/download/linux-2.6.23-rc3/vmlinux --tunnet=10.0.0.90
> --block=base.img root=/dev/lgba
>
> Reserving virtual address space above 0xffc00000
> Linux version 2.6.23-rc3 (root at debian) (gcc version 4.1.3 20070812
> (prerelease) (Debian 4.1.2-15)) #3 SMP Fri Aug 31 01:14:45 EST 2007
> BIOS-provided physical RAM map:
>  LGUEST: 0000000000000000 - 0000000004000000 (usable)
> 0MB HIGHMEM available.
> 64MB LOWMEM available.
> Zone PFN ranges:
>   DMA             0 ->     4096
>   Normal       4096 ->    16384
>   HighMem     16384 ->    16384
> Movable zone start PFN for each node
> early_node_map[1] active PFN ranges
>     0:        0 ->    16384
> DMI not present or invalid.
> Allocating PCI resources starting at 10000000 (gap: 04000000:fc000000)
> Built 1 zonelists in Zone order.  Total pages: 16256
> Kernel command line: root=/dev/lgba
> Local APIC disabled by BIOS -- you can enable it with "lapic"
> Enabling fast FPU save and restore... done.
> Enabling unmasked SIMD FPU exception support... done.
> Initializing CPU#0
> PID hash table entries: 256 (order: 8, 1024 bytes)
> Console: colour dummy device 80x25
> console [hvc0] enabled
> Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
> Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
> Memory: 60848k/65536k available (2576k kernel code, 4668k reserved, 825k
> data, 248k init, 0k highmem)
> virtual kernel memory layout:
>     fixmap  : 0xffb4c000 - 0xffbff000   ( 716 kB)
>     pkmap   : 0xff400000 - 0xff800000   (4096 kB)
>     vmalloc : 0xc4800000 - 0xff3fe000   ( 939 MB)
>     lowmem  : 0xc0000000 - 0xc4000000   (  64 MB)
>       .init : 0xc045b000 - 0xc0499000   ( 248 kB)
>       .data : 0xc038426d - 0xc0452744   ( 825 kB)
>       .text : 0xc0100000 - 0xc038426d   (2576 kB)
> Checking if this processor honours the WP bit even in supervisor mode... Ok.
> Security Framework v1.0.0 initialized
> SELinux:  Disabled at boot.
> Capability LSM initialized
> Mount-cache hash table entries: 512
> CPU: L1 I cache: 16K, L1 D cache: 16K
> CPU: L2 cache: 256K
> Compat vDSO mapped to ffbfe000.
> SMP alternatives: switching to UP code
> Freeing SMP alternatives: 16k freed
> CPU0: Intel(R) Pentium(R) III CPU             1133MHz stepping 01
> SMP motherboard not detected.
> Local APIC not detected. Using dummy APIC emulation.
> Brought up 1 CPUs
> Booting paravirtualized kernel on lguest
> NET: Registered protocol family 16
> PCI: Fatal: No config space access function found
> Setting up standard PCI resources
> ACPI: Interpreter disabled.
> Linux Plug and Play Support v0.97 (c) Adam Belay
> pnp: PnP ACPI: disabled
> PnPBIOS: Disabled
> PCI: Using ACPI for IRQ routing
> PCI: If a device doesn't work, try "pci=routeirq".  If it helps, post a
> report
> PCI: System does not support PCI
> PCI: System does not support PCI
> NET: Registered protocol family 8
> NET: Registered protocol family 20
> NET: Registered protocol family 2
> Time: lguest clocksource has been installed.
> IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
> TCP established hash table entries: 2048 (order: 2, 24576 bytes)
> TCP bind hash table entries: 2048 (order: 2, 16384 bytes)
> TCP: Hash tables configured (established 2048 bind 2048)
> TCP reno registered
> audit: initializing netlink socket (disabled)
> audit(1188489413.220:1): initialized
> VFS: Disk quotas dquot_6.5.1
> Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
> fuse init (API version 7.8)
> JFS: nTxBlock = 475, nTxLock = 3805
> SGI XFS with ACLs, security attributes, realtime, large block numbers,
> no debug enabled
> SGI XFS Quota Management subsystem
> io scheduler noop registered
> io scheduler anticipatory registered
> io scheduler deadline registered
> io scheduler cfq registered (default)
> isapnp: Write Data Register 0xa79 already used
> Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
> RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
> lgba: device 1 at major 254
> PNP: No PS/2 controller found. Probing ports directly.
> i8042.c: No controller found.
> mice: PS/2 mouse device common for all mice
> lguest is afraid of lguest
> TCP bic registered
> NET: Registered protocol family 1
> NET: Registered protocol family 17
> Using IPI No-Shortcut mode
> VFS: Cannot open root device "lgba" or unknown-block(254,0)
> Please append a correct "root=" boot option; here are the available
> partitions:
> fe00    1049600 lgba (driver?)
> Kernel panic - not syncing: VFS: Unable to mount root fs on
> unknown-block(254,0)
> lguest: CRASH: VFS: Unable to mount root fs on unknown-block(254,0)
>
>
> _______________________________________________
> Lguest mailing list
> Lguest at ozlabs.org
> https://ozlabs.org/mailman/listinfo/lguest
>
>
>



More information about the Lguest mailing list