Hi All,

I am new to UML and doing it for the first time. When I start the UML
./linux it is panicing. I am not getting what I did wrong.

So I am attaching all the steps I did please inform me if any thing is
missing or if I have done something wrong.

Please help.

Thanks and Regards,
Prasad.

I am using 2.6.20 kernel on i386 machine and OS installed is Ubuntu.

Steps I did.
************
make menuconfig ARCH=um
make ARCH=um
a large linux executable was created.

Creating and mounting root file system
---------------------------------------
dd if=/dev/zero of=my-root_fs count=1 bs=1k seek=$[2*1024*1024]
mkreiserfs -f my-root_fs

mount -o loop my-root_fs /mnt

Installing modules in the root file system
-------------------------------------------
make modules_install
INSTALL_MOD_PATH=/home/prasad/uml/linux-2.6.20/mnt/ ARCH=um

Unmount the root file system
---------------------------
umount mnt/

Ran UML --> which panicked
-------
./linux  ubda=my-root_fs

Is anything missing?

[EMAIL PROTECTED]:/home/prasad/uml/linux-2.6.20# ./linux
ubda=my-root_fs
Checking that ptrace can change system call numbers...OK
Checking syscall emulation patch for ptrace...OK
Checking advanced syscall emulation patch for ptrace...OK
Checking for tmpfs mount on /dev/shm...OK
Checking PROT_EXEC mmap in /dev/shm/...OK
Checking for the skas3 patch in the host:
- /proc/mm...not found
- PTRACE_FAULTINFO...not found
- PTRACE_LDT...not found
UML running in SKAS0 mode
Checking that ptrace can change system call numbers...OK
Checking syscall emulation patch for ptrace...OK
Checking advanced syscall emulation patch for ptrace...OK
Using a channel type which is configured out of UML
Using a channel type which is configured out of UML
Using a channel type which is configured out of UML
Using a channel type which is configured out of UML
Using a channel type which is configured out of UML
Using a channel type which is configured out of UML
Using a channel type which is configured out of UML
Using a channel type which is configured out of UML
Using a channel type which is configured out of UML
Using a channel type which is configured out of UML
Using a channel type which is configured out of UML
Using a channel type which is configured out of UML
Using a channel type which is configured out of UML
Using a channel type which is configured out of UML
Using a channel type which is configured out of UML
[42949372.960000] Linux version 2.6.20 ([EMAIL PROTECTED]) (gcc
version 4.1.2 20060928 (prerelease) (Ubuntu 4.1.1-13ubuntu5)) #1 Thu
Mar 15 21:18:38 IST 2007
[42949372.960000] Built 1 zonelists. Total pages: 8128
[42949372.960000] Kernel command line: ubda=my-root_fs root=98:0
[42949372.960000] PID hash table entries: 128 (order: 7, 512 bytes)
[42949372.960000] ------------------------
[42949372.960000] | Locking API testsuite:
[42949372.960000]
----------------------------------------------------------------------------
[42949372.960000] | spin |wlock
|rlock |mutex | wsem | rsem |
[42949372.960000]
--------------------------------------------------------------------------
[42949372.960000] A-A deadlock:failed|failed| ok
|failed|failed|failed|
[42949372.960000] A-B-B-A deadlock:failed|failed| ok
|failed|failed|failed|
[42949372.960000] A-B-B-C-C-A deadlock:failed|failed| ok
|failed|failed|failed|
[42949372.960000] A-B-C-A-B-C deadlock:failed|failed| ok
|failed|failed|failed|
[42949372.960000] A-B-B-C-C-D-D-A deadlock:failed|failed| ok
|failed|failed|failed|
[42949372.960000] A-B-C-D-B-D-D-A deadlock:failed|failed| ok
|failed|failed|failed|
[42949372.960000] A-B-C-D-B-C-D-A deadlock:failed|failed| ok
|failed|failed|failed|
[42949372.960000] double unlock: ok | ok
|failed| ok |failed|failed|
[42949372.960000] initialize
held:failed|failed|failed|failed|failed|failed|
[42949372.960000] bad unlock order: ok | ok | ok
| ok | ok | ok |
[42949372.960000]
--------------------------------------------------------------------------
[42949372.960000] recursive read-lock: | ok
| |failed|
[42949372.960000] recursive read-lock #2: | ok
| |failed|
[42949372.960000] mixed read-write-lock:
|failed| |failed|
[42949372.960000] mixed write-read-lock:
|failed| |failed|
[42949372.960000]
--------------------------------------------------------------------------
[42949372.960000] hard-irqs-on + irq-safe-A/12:failed|failed| ok |
[42949372.960000] soft-irqs-on + irq-safe-A/12:failed|failed| ok |
[42949372.960000] hard-irqs-on + irq-safe-A/21:failed|failed| ok |
[42949372.960000] soft-irqs-on + irq-safe-A/21:failed|failed| ok |
[42949372.960000] sirq-safe-A => hirqs-on/12:failed|failed| ok |
[42949372.960000] sirq-safe-A => hirqs-on/21:failed|failed| ok |
[42949372.960000] hard-safe-A + irqs-on/12:failed|failed| ok |
[42949372.960000] soft-safe-A + irqs-on/12:failed|failed| ok |
[42949372.960000] hard-safe-A + irqs-on/21:failed|failed| ok |
[42949372.960000] soft-safe-A + irqs-on/21:failed|failed| ok |
[42949372.960000] hard-safe-A + unsafe-B #1/123:failed|failed| ok |
[42949372.960000] soft-safe-A + unsafe-B #1/123:failed|failed| ok |
[42949372.960000] hard-safe-A + unsafe-B #1/132:failed|failed| ok |
[42949372.960000] soft-safe-A + unsafe-B #1/132:failed|failed| ok |
[42949372.960000] hard-safe-A + unsafe-B #1/213:failed|failed| ok |
[42949372.960000] soft-safe-A + unsafe-B #1/213:failed|failed| ok |
[42949372.960000] hard-safe-A + unsafe-B #1/231:failed|failed| ok |
[42949372.960000] soft-safe-A + unsafe-B #1/231:failed|failed| ok |
[42949372.960000] hard-safe-A + unsafe-B #1/312:failed|failed| ok |
[42949372.960000] soft-safe-A + unsafe-B #1/312:failed|failed| ok |
[42949372.960000] hard-safe-A + unsafe-B #1/321:failed|failed| ok |
[42949372.960000] soft-safe-A + unsafe-B #1/321:failed|failed| ok |
[42949372.960000] hard-safe-A + unsafe-B #2/123:failed|failed| ok |
[42949372.960000] soft-safe-A + unsafe-B #2/123:failed|failed| ok |
[42949372.960000] hard-safe-A + unsafe-B #2/132:failed|failed| ok |
[42949372.960000] soft-safe-A + unsafe-B #2/132:failed|failed| ok |
[42949372.960000] hard-safe-A + unsafe-B #2/213:failed|failed| ok |
[42949372.960000] soft-safe-A + unsafe-B #2/213:failed|failed| ok |
[42949372.960000] hard-safe-A + unsafe-B #2/231:failed|failed| ok |
[42949372.960000] soft-safe-A + unsafe-B #2/231:failed|failed| ok |
[42949372.960000] hard-safe-A + unsafe-B #2/312:failed|failed| ok |
[42949372.960000] soft-safe-A + unsafe-B #2/312:failed|failed| ok |
[42949372.960000] hard-safe-A + unsafe-B #2/321:failed|failed| ok |
[42949372.960000] soft-safe-A + unsafe-B #2/321:failed|failed| ok |
[42949372.960000] hard-irq lock-inversion/123:failed|failed| ok |
[42949372.960000] soft-irq lock-inversion/123:failed|failed| ok |
[42949372.960000] hard-irq lock-inversion/132:failed|failed| ok |
[42949372.960000] soft-irq lock-inversion/132:failed|failed| ok |
[42949372.960000] hard-irq lock-inversion/213:failed|failed| ok |
[42949372.960000] soft-irq lock-inversion/213:failed|failed| ok |
[42949372.960000] hard-irq lock-inversion/231:failed|failed| ok |
[42949372.960000] soft-irq lock-inversion/231:failed|failed| ok |
[42949372.960000] hard-irq lock-inversion/312:failed|failed| ok |
[42949372.960000] soft-irq lock-inversion/312:failed|failed| ok |
[42949372.960000] hard-irq lock-inversion/321:failed|failed| ok |
[42949372.960000] soft-irq lock-inversion/321:failed|failed| ok |
[42949372.960000] hard-irq read-recursion/123: ok |
[42949372.960000] soft-irq read-recursion/123: ok |
[42949372.960000] hard-irq read-recursion/132: ok |
[42949372.960000] soft-irq read-recursion/132: ok |
[42949372.960000] hard-irq read-recursion/213: ok |
[42949372.960000] soft-irq read-recursion/213: ok |
[42949372.960000] hard-irq read-recursion/231: ok |
[42949372.960000] soft-irq read-recursion/231: ok |
[42949372.960000] hard-irq read-recursion/312: ok |
[42949372.960000] soft-irq read-recursion/312: ok |
[42949372.960000] hard-irq read-recursion/321: ok |
[42949372.960000] soft-irq read-recursion/321: ok |
[42949372.960000] --------------------------------------------------------
[42949372.960000] 142 out of 218 testcases failed, as expected. |
[42949372.960000] ----------------------------------------------------
[42949372.960000] Dentry cache hash table entries: 4096 (order: 2,
16384 bytes)
[42949372.960000] Inode-cache hash table entries: 2048 (order: 1, 8192
bytes)
[42949372.960000] Memory: 16224k available
[42949373.250000] Mount-cache hash table entries: 512
[42949373.250000] Checking for host processor cmov support...Yes
[42949373.250000] Checking for host processor xmm support...No
[42949373.250000] Checking that host ptys support output SIGIO...Yes
[42949373.250000] Checking that host ptys support SIGIO on close...No,
enabling workaround
[42949373.250000] Using 2.6 host AIO
[42949373.250000] NET: Registered protocol family 16
[42949373.280000] NET: Registered protocol family 2
[42949373.410000] IP route cache hash table entries: 1024 (order: 0,
4096 bytes)
[42949373.410000] TCP established hash table entries: 1024 (order: 2,
16384 bytes)
[42949373.410000] TCP bind hash table entries: 512 (order: 1, 10240 bytes)
[42949373.410000] TCP: Hash tables configured (established 1024 bind 512)
[42949373.410000] TCP reno registered
[42949373.450000] Checking host MADV_REMOVE support...MADV_REMOVE
failed, err = -22
[42949373.450000] Can't release memory to the host - memory hotplug
won't be supported
[42949373.450000] mconsole (version 2) initialized on
/root/.uml/Mw2JMK/mconsole
[42949373.450000] Host TLS support detected
[42949373.450000] Detected host type: i386
[42949373.450000] Initializing RT-Tester: OK
[42949373.450000] io scheduler noop registered
[42949373.450000] io scheduler anticipatory registered (default)
[42949373.450000] io scheduler deadline registered
[42949373.460000] io scheduler cfq registered
[42949373.810000] RAMDISK driver initialized: 16 RAM disks of 4096K
size 1024 blocksize
[42949373.820000] loop: loaded (max 8 devices)
[42949373.820000] netconsole: not configured, aborting
[42949373.820000] TCP cubic registered
[42949373.820000] NET: Registered protocol family 1
[42949373.820000] NET: Registered protocol family 17
[42949373.830000] Initialized stdio console driver
[42949373.830000] parse_chan_pair failed for device 1
[42949373.830000] parse_chan_pair failed for device 2
[42949373.830000] parse_chan_pair failed for device 3
[42949373.830000] parse_chan_pair failed for device 4
[42949373.830000] parse_chan_pair failed for device 5
[42949373.830000] parse_chan_pair failed for device 6
[42949373.830000] parse_chan_pair failed for device 7
[42949373.830000] parse_chan_pair failed for device 8
[42949373.830000] parse_chan_pair failed for device 9
[42949373.830000] parse_chan_pair failed for device 10
[42949373.830000] parse_chan_pair failed for device 11
[42949373.830000] parse_chan_pair failed for device 12
[42949373.830000] parse_chan_pair failed for device 13
[42949373.830000] parse_chan_pair failed for device 14
[42949373.830000] parse_chan_pair failed for device 15
[42949373.830000] Console initialized on /dev/tty0
[42949373.860000] VFS: Cannot open root device "98:0" or
unknown-block(98,0)
[42949373.860000] Please append a correct "root=" boot option
[42949373.860000] Kernel panic - not syncing: VFS: Unable to mount
root fs on unknown-block(98,0)
[42949373.860000]
[42949373.860000] EIP: 0073:[<ffffe410>] CPU: 0 Not tainted ESP:
007b:b79abfa8 EFLAGS: 00200246
[42949373.860000] Not tainted
[42949373.860000] EAX: 00000000 EBX: 00004525 ECX: 00000013 EDX: 00004525
[42949373.860000] ESI: 00004521 EDI: 00000011 EBP: b79abfc4 DS: 007b
ES: 007b
[42949373.860000] 0949fe88: [<080929d3>] show_regs+0x153/0x166
[42949373.860000] 0949feb4: [<0807754b>] panic_exit+0x62/0xa6
[42949373.860000] 0949fec8: [<080c3163>] notifier_call_chain+0x3e/0x76
[42949373.860000] 0949fee8: [<080c32b0>]
atomic_notifier_call_chain+0x28/0x38
[42949373.860000] 0949fefc: [<080a103d>] panic+0xd5/0x215
[42949373.860000] 0949ff1c: [<0804aa61>] mount_block_root+0x222/0x254
[42949373.860000] 0949ff70: [<0804aced>] mount_root+0xb3/0xc9
[42949373.860000] 0949ff94: [<0804afa3>] prepare_namespace+0x2a0/0x312
[42949373.860000] 0949ffa4: [<0806c6e9>] init+0x1d8/0x3b5
[42949373.860000] 0949ffb4: [<08086e80>] run_kernel_thread+0x90/0xa6
[42949373.860000] 0949ffe0: [<08078273>] new_thread_handler+0x132/0x1ad
[42949373.860000] 0949fffc: [<a55a5a5a>] 0xa55a5a5a
[42949373.860000]
[42949373.860000] <3>Trying to free already-free IRQ 2
[42949373.860000] Trying to free already-free IRQ 3

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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