Hi,

I am having some problems getting a 2.6.14 kernel to run as UML. It gets to the point where it tries to mount the root file system and then dies. I have tried running it with: ./linux ubd0=root_fs (I got the FS from the UML website and it is named root_fs in the same directory as the UML output binary)
./linux ubd0=root_fs root=ubd0
./linux ubd0=root_fs root=ubda
./linux ubd0=root_fs root=/dev/ubda
My host kernel is 2.6.12. I installed UML by downloading a clean 2.6.14 kernel and simply compiling for the UM architecture. I do not have any special tools installed. Any ideas what I could be doing wrong? I googled for some answers but the only things I could find where advising to just add ubd0=<fs image name>.

Thanks,
Can Sar


[EMAIL PROTECTED]:~/research/linux-2.6$ ./linux
Checking PROT_EXEC mmap in /tmp...OK
Checking for /proc/mm...not found
Checking for the skas3 patch in the host...not found
UML running in SKAS0 mode
[42949372.960000] Checking that ptrace can change system call numbers...OK
[42949372.960000] Checking syscall emulation patch for ptrace...missing
[42949372.960000] Linux version 2.6.14 ([EMAIL PROTECTED]) (gcc version 3.2.3) #4
Sun Nov 6 13:34:22 PST 2005
[42949372.960000] Built 1 zonelists
[42949372.960000] Kernel command line: root=98:0
[42949372.960000] PID hash table entries: 256 (order: 8, 4096 bytes)
[42949372.960000] Dentry cache hash table entries: 8192 (order: 3, 32768
bytes)
[42949372.960000] Inode-cache hash table entries: 4096 (order: 2, 16384
bytes)
[42949372.960000] Memory: 30348k available
[42949373.230000] Security Framework v1.0.0 initialized
[42949373.230000] Mount-cache hash table entries: 512
[42949373.230000] Checking for host processor cmov support...Yes
[42949373.230000] Checking for host processor xmm support...No
[42949373.230000] Checking that host ptys support output SIGIO...Yes
[42949373.230000] Checking that host ptys support SIGIO on close...No,
enabling workaround
[42949373.230000] Checking for /dev/anon on the host...Not available (open
failed with errno 2)
[42949373.230000] softlockup thread 0 started up.
[42949373.230000] Linux NoNET1.0 for Linux 2.6
[42949373.230000] Using 2.6 host AIO
[42949373.230000] mconsole (version 2) initialized on
/home/csar/.uml/pEpKnR/mconsole
[42949373.230000] VFS: Disk quotas dquot_6.5.1
[42949373.230000] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[42949373.230000] Initializing Cryptographic API
[42949373.260000] io scheduler noop registered
[42949373.260000] io scheduler anticipatory registered
[42949373.260000] io scheduler deadline registered
[42949373.260000] io scheduler cfq registered
[42949373.260000] RAMDISK driver initialized: 16 RAM disks of 65536K size
1024 blocksize
[42949373.260000] Initialized stdio console driver
[42949373.260000] Console initialized on /dev/tty0
[42949373.260000]  ubda: unknown partition table
[42949373.260000] Kernel panic - not syncing: VFS: Unable to mount root fs
on unknown-block(98,0)
[42949373.260000]
[42949373.260000] EIP: 0073:[<ffffe410>] CPU: 0 Not tainted ESP:
007b:b7e77f9c EFLAGS: 00000246
[42949373.260000]     Not tainted
[42949373.260000] EAX: 00000000 EBX: 00004236 ECX: 00000013 EDX: 00004236
[42949373.260000] ESI: 00004233 EDI: 00000011 EBP: 00000000 DS: 007b ES:
007b
[42949373.260000] 088afb20:  [<08085b2d>] notifier_call_chain+0x2d/0x50
[42949373.260000] 088afb30:  [<081091e6>] bust_spinlocks+0x46/0x50
[42949373.260000] 088afb40:  [<08076160>] panic+0x70/0x110
[42949373.260000] 088afb60:  [<08049ac3>] mount_block_root+0xb3/0x120
[42949373.260000] 088afbb0:  [<08049cae>] mount_root+0x5e/0x70
[42949373.260000] 088afbc0:  [<0804c7c0>] initrd_load+0x80/0x90
[42949373.260000] 088afbd0:  [<08049d0c>] prepare_namespace+0x4c/0x130
[42949373.260000] 088afbe4:  [<080591a0>] init+0x0/0x160
[42949373.260000] 088afbe8:  [<080591a0>] init+0x0/0x160
[42949373.260000] 088afbf0:  [<0805920b>] init+0x6b/0x160
[42949373.260000] 088afc04:  [<080591a0>] init+0x0/0x160
[42949373.260000] 088afc10:  [<0806e257>] run_kernel_thread+0x77/0x80
[42949373.260000] 088afc28:  [<080591a0>] init+0x0/0x160
[42949373.260000] 088afc38:  [<0806e21f>] run_kernel_thread+0x3f/0x80
[42949373.260000] 088afc90:  [<0805e74f>] unblock_signals+0xf/0x20
[42949373.260000] 088afca0:  [<08072528>] schedule_tail+0x28/0xf0
[42949373.260000] 088afcd4:  [<080591a0>] init+0x0/0x160
[42949373.260000] 088afce0:  [<08063dfd>] new_thread_handler+0xcd/0x120
[42949373.260000] 088afce4:  [<080591a0>] init+0x0/0x160
[42949373.260000]
[42949373.260000]



-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user

Reply via email to