[prev in list] [next in list] [prev in thread] [next in thread] 

List:       user-mode-linux-user
Subject:    [uml-user] Spinlock problem while starting uml  (linux-2.6.0-test5)
From:       Subhachandra Chandra <subhachandra () yahoo ! com>
Date:       2003-09-26 4:37:18
[Download RAW message or body]

Hi,
I am trying to run uml linux (2.6.0-test5) and it has
a problem with a spinlock while mounting the root file
system. I tried it with a couple of root file systems
- one built by me and the other was one I downloaded
from the uml site. The host machine has the skas patch
and is running 2.4.21. The error message is below and
the complete bootup sequence is below that. Can anyone
give me any ideas?

./linux ubd0=root_fs

/dev/ubd/disc0:arch/um/drivers/ubd_kern.c:391:
spin_lock(arch/um/drivers/ubd_kern.c:a042c780) already
locked by drivers/block/ll_rw_blk.c/1081
drivers/block/ll_rw_blk.c:1083:
spin_unlock(arch/um/drivers/ubd_kern.c:a042c780) not
locked
 unknown partition table
VFS: Cannot open root device "ubd0" or
unknown-block(0,0)
Please append a correct "root=" boot option
Kernel panic: VFS: Unable to mount root fs on
unknown-block(0,0)



./linux ubd0=root_fs
Checking for the skas3 patch in the host...found
Checking for /proc/mm...found
Linux version 2.6.0-test5-1um (schandra@Voyager) (gcc
version 3.2.2 (Mandrake Linux 9.1 3.2.2-3mdk)) #2 Wed
Sep 24 23:29:29 EDT 2003
On node 0 totalpages: 8192
  DMA zone: 8192 pages, LIFO batch:2
  Normal zone: 0 pages, LIFO batch:1
  HighMem zone: 0 pages, LIFO batch:1
Building zonelist for node : 0
Kernel command line: ubd0=root_fs root=ubd0
PID hash table entries: 16 (order 4: 128 bytes)
Memory: 26960k available
Calibrating delay loop... 1612.18 BogoMIPS
Dentry cache hash table entries: 4096 (order: 2, 16384
bytes)
Inode-cache hash table entries: 2048 (order: 1, 8192
bytes)
Mount-cache hash table entries: 512 (order: 0, 4096
bytes)
-> /dev
-> /dev/console
-> /root
Checking for host processor cmov support...Yes
Checking for host processor xmm support...No
Checking that ptrace can change system call
numbers...OK
Checking that host ptys support output SIGIO...Yes
Checking that host ptys support SIGIO on close...No,
enabling workaround
POSIX conformance testing by UNIFIX
NET: Registered protocol family 16
pty: 256 Unix98 ptys configured
Initializing software serial port version 1
ubd : Synchronous mode
UML Watchdog Timer
Initializing stdio console driver
ikconfig 0.6 with /proc/ikconfig
devfs: v1.22 (20021013) Richard Gooch
(rgooch@atnf.csiro.au)
devfs: boot_options: 0x0
Installing knfsd (copyright (C) 1996
okir@monad.swb.de).
RAMDISK driver initialized: 16 RAM disks of 32000K
size 1024 blocksize
loop: loaded (max 8 devices)
Using anticipatory scheduling io scheduler
nbd: registered device at major 43
PPP generic driver version 2.4.2
PPP Deflate Compression module registered
PPP BSD Compression module registered
NET: Registered protocol family 24
SLIP: version 0.8.4-NET3.019-NEWTTY (dynamic channels,
max=256) (6 bit encapsulation enabled).
CSLIP: code copyright 1989 Regents of the University
of California.
SLIP linefill/keepalive option.
Universal TUN/TAP device driver 1.5 (C)1999-2002 Maxim
Krasnyansky
pktgen.c: v1.3: Packet Generator for packet
performance testing.
pktgen: Error: your machine does not have working
cycle counter.
NET: Registered protocol family 2
IP: routing cache hash table of 128 buckets, 4Kbytes
TCP: Hash tables configured (established 2048 bind
585)
IPv4 over IPv4 tunneling driver
NET: Registered protocol family 1
NET: Registered protocol family 17
SCTP: Hash tables configured (established 512 bind
146)
 /dev/ubd/disc0:arch/um/drivers/ubd_kern.c:391:
spin_lock(arch/um/drivers/ubd_kern.c:a042c780) already
locked by drivers/block/ll_rw_blk.c/1081
drivers/block/ll_rw_blk.c:1083:
spin_unlock(arch/um/drivers/ubd_kern.c:a042c780) not
locked
 unknown partition table
VFS: Cannot open root device "ubd0" or
unknown-block(0,0)
Please append a correct "root=" boot option
Kernel panic: VFS: Unable to mount root fs on
unknown-block(0,0)


__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic