Could it be a compiler problem?
I just found this piece from someone with the same problem I'm facing:
http://us.generation-nt.com/answer/gcc-4-6-0-breaks-user-mode-linux-help-202788512.html
I adjusted the kernel code to matrch the patch and now the UML
execution moves a little further.. but crashes anyway:
VFS: Cannot open root device "98:0" or unknown-block(98,0)
Please append a correct "root=" boot option; here are the available partitions:
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(98,0)
1805cee8: [<081a9071>] dump_stack+0x18/0x1c
1805cefc: [<081a90c2>] panic+0x4d/0x135
1805cf30: [<080498cc>] mount_block_root+0x1e5/0x1fb
1805cf84: [<0804992e>] mount_root+0x4c/0x54
1805cfa8: [<08049a49>] prepare_namespace+0x113/0x13a
1805cfb0: [<0804961a>] kernel_init+0xe4/0xf0
1805cfbc: [<0805e5d2>] run_kernel_thread+0x38/0x42
1805cfe8: [<080573bb>] new_thread_handler+0x52/0x7a
1805cffc: [<00000000>] 0x0
EIP: 0073:[<00cb8416>] CPU: 0 Not tainted ESP: 007b:bfcfb914 EFLAGS: 00200246
Not tainted
EAX: 00000000 EBX: 0000324c ECX: 00000013 EDX: 0000324c
ESI: 00003248 EDI: 0000002f EBP: bfcfb934 DS: 007b ES: 007b
1805ce98: [<0806342e>] show_regs+0xc5/0xcb
1805cec4: [<08059054>] panic_exit+0x1e/0x34
1805ced4: [<0807fb3c>] notifier_call_chain+0x25/0x4a
1805cefc: [<0807fb8f>] atomic_notifier_call_chain+0x15/0x17
1805cf0c: [<081a90dd>] panic+0x68/0x135
1805cf30: [<080498cc>] mount_block_root+0x1e5/0x1fb
1805cf84: [<0804992e>] mount_root+0x4c/0x54
1805cfa8: [<08049a49>] prepare_namespace+0x113/0x13a
1805cfb0: [<0804961a>] kernel_init+0xe4/0xf0
1805cfbc: [<0805e5d2>] run_kernel_thread+0x38/0x42
1805cfe8: [<080573bb>] new_thread_handler+0x52/0x7a
1805cffc: [<00000000>] 0x0
Violación de segmento
Also, I'm not using 4.6 but 4.5.2 instead... however the kernel worked
like a charm on maverick so it's pointing to a compiler version
problem... ain't that right?
------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network
management toolset available today. Delivers lowest initial
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
User-mode-linux-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user