* Re: [uml-devel] AoE with UML? have a strange problem with AoE root
@ 2006-02-04 10:17 devzero
2006-02-08 18:28 ` Jeff Dike
0 siblings, 1 reply; 5+ messages in thread
From: devzero @ 2006-02-04 10:17 UTC (permalink / raw)
To: JeffDike; +Cc: blaisorblade, user-mode-linux-devel
hi jeff,
thanks for the quick response.
Jeff Dike <jdike@addtoit.com> schrieb am 04.02.06 05:15:38:
>
> On Sat, Feb 04, 2006 at 03:07:23AM +0100, roland wrote:
> > Checking that ptrace can change system call numbers...OK
> > Checking syscall emulation patch for ptrace...missing
> > Checking PROT_EXEC mmap in /tmp...OK
> > Checking for the skas3 patch in the host:
> > - /proc/mm...found
> > - PTRACE_FAULTINFO...found
> > - PTRACE_LDT...found
> > UML running in SKAS3 mode
> > ---- hangs here forever. err - why that early ? -----
>
> Ummm, strange...
>
> Can you double-check that the config is the same, except for the new
> AoE stuff.
yes - the only difference is the AoE-root stuff.
diff .config .config_aeoroot
4c4
< # Sat Feb 4 10:56:08 2006
---
> # Sat Feb 4 02:40:14 2006
222c222,224
< # CONFIG_ATA_OVER_ETH_ROOT is not set
---
> CONFIG_ATA_OVER_ETH_ROOT=y
> CONFIG_ATA_OVER_ETH_ROOT_SHELF=1
> CONFIG_ATA_OVER_ETH_ROOT_SLOT=1
> Also, adding stderr=1 might give you some more output.
you mean adding this to the commandline?
mhh - doesn`t seem to make a difference.
if somewone might want to try if it behaves the same on their system, i put the working and the broken binary to
www.my-vserver.de/stuff/uml/linux.aoe_ok.bz2
www.my-vserver.de/stuff/uml/linux.aoeroot_notok.bz2
for taking a look into the relevant source, i tarred drivers/block/aoe, too :
www.my-vserver.de/stuff/uml/aoe.tar.bz2
TIA
roland
______________________________________________________________
Verschicken Sie romantische, coole und witzige Bilder per SMS!
Jetzt bei WEB.DE FreeMail: http://f.web.de/?mc=021193
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [uml-devel] AoE with UML? have a strange problem with AoE root
2006-02-04 10:17 [uml-devel] AoE with UML? have a strange problem with AoE root devzero
@ 2006-02-08 18:28 ` Jeff Dike
2006-02-08 19:54 ` roland
0 siblings, 1 reply; 5+ messages in thread
From: Jeff Dike @ 2006-02-08 18:28 UTC (permalink / raw)
To: devzero; +Cc: blaisorblade, user-mode-linux-devel
On Sat, Feb 04, 2006 at 11:17:13AM +0100, devzero@web.de wrote:
> > On Sat, Feb 04, 2006 at 03:07:23AM +0100, roland wrote:
> > > Checking that ptrace can change system call numbers...OK
> > > Checking syscall emulation patch for ptrace...missing
> > > Checking PROT_EXEC mmap in /tmp...OK
> > > Checking for the skas3 patch in the host:
> > > - /proc/mm...found
> > > - PTRACE_FAULTINFO...found
> > > - PTRACE_LDT...found
> > > UML running in SKAS3 mode
> > > ---- hangs here forever. err - why that early ? -----
BTW, is this x86_64 or i386? Yesterday, I rediscovered how to make this
happen on x86_64. There's a timer loop in a driver that you get when you
enable SERIO_I8042 that never finishes on x86_64, and it causes the hang
right there.
Jeff
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [uml-devel] AoE with UML? have a strange problem with AoE root
2006-02-08 18:28 ` Jeff Dike
@ 2006-02-08 19:54 ` roland
0 siblings, 0 replies; 5+ messages in thread
From: roland @ 2006-02-08 19:54 UTC (permalink / raw)
To: Jeff Dike; +Cc: blaisorblade, user-mode-linux-devel
> BTW, is this x86_64 or i386? Yesterday, I rediscovered how to make this
"unfortunately" it's just i386
thanks
roland
----- Original Message -----
From: "Jeff Dike" <jdike@addtoit.com>
To: <devzero@web.de>
Cc: <blaisorblade@yahoo.it>; <user-mode-linux-devel@lists.sourceforge.net>
Sent: Wednesday, February 08, 2006 7:28 PM
Subject: Re: [uml-devel] AoE with UML? have a strange problem with AoE root
> On Sat, Feb 04, 2006 at 11:17:13AM +0100, devzero@web.de wrote:
>> > On Sat, Feb 04, 2006 at 03:07:23AM +0100, roland wrote:
>> > > Checking that ptrace can change system call numbers...OK
>> > > Checking syscall emulation patch for ptrace...missing
>> > > Checking PROT_EXEC mmap in /tmp...OK
>> > > Checking for the skas3 patch in the host:
>> > > - /proc/mm...found
>> > > - PTRACE_FAULTINFO...found
>> > > - PTRACE_LDT...found
>> > > UML running in SKAS3 mode
>> > > ---- hangs here forever. err - why that early ? -----
>
> BTW, is this x86_64 or i386? Yesterday, I rediscovered how to make this
> happen on x86_64. There's a timer loop in a driver that you get when you
> enable SERIO_I8042 that never finishes on x86_64, and it causes the hang
> right there.
>
> Jeff
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
^ permalink raw reply [flat|nested] 5+ messages in thread
* [uml-devel] AoE with UML? have a strange problem with AoE root
@ 2006-02-04 2:07 roland
2006-02-04 4:16 ` Jeff Dike
0 siblings, 1 reply; 5+ messages in thread
From: roland @ 2006-02-04 2:07 UTC (permalink / raw)
To: user-mode-linux-devel; +Cc: jdike, blaisorblade
[-- Attachment #1: Type: text/plain, Size: 4911 bytes --]
Hello UML people,
unfortunately i wasn't into UML very much for the last months - but from time to time i take a look how the project is going. it`s nice to see that it's stell going on besides all of that virtualization "madness" out there in IT.
i find UML very useful and this time gave it a try for testing a driver - but ì'm experience a rather strange problem and cannot explain what`s happening here - maybe someone can give me a hint how to dig into this.
i try to use AoE (Ata over Ethernet) inside UML.
for those who don`t know about AoE:
AoE is sort of iSCSI - but - without tcp/ip, just on ethernet layer
a good introduction is at http://linuxdevices.com/news/NS3189760067.html
(btw: you don`t need to buy coraid's etherblade - there are software versions for that "AoE server part" on the net)
I don`t know yet if i can use it inside UML without problems at all - but - anyway what i'm experiencing is strange.
i would have expected a different behaviour.
I compiled an 2.6.15 vanilla kernel, manually patched with aoe6-21 driver from coraid`s (AoE inventor) website.
compile goes fine and i can start the kernel, seeing the AoE driver initialize
# ./linux
Checking that ptrace can change system call numbers...OK
Checking syscall emulation patch for ptrace...missing
Checking PROT_EXEC mmap in /tmp...OK
Checking for the skas3 patch in the host:
- /proc/mm...found
- PTRACE_FAULTINFO...found
- PTRACE_LDT...found
UML running in SKAS3 mode
Linux version 2.6.15 (root@vmhost) (gcc version 3.3.3 (SuSE Linux)) #4 Sat Feb 4 02:35:50 CET 2006
Built 1 zonelists
Kernel command line: root=98:0
PID hash table entries: 256 (order: 8, 4096 bytes)
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 29824k available
Mount-cache hash table entries: 512
Checking for host processor cmov support...Yes
Checking for host processor xmm support...No
Checking that host ptys support output SIGIO...Yes
Checking that host ptys support SIGIO on close...No, enabling workaround
Checking for /dev/anon on the host...Not available (open failed with errno 2)
Using 2.6 host AIO
NET: Registered protocol family 16
make_proc_exitcode : Failed to register /proc/exitcode
io scheduler noop registered
loop: loaded (max 8 devices)
aoe: aoe_init: AoE v21 initialised. <- good - the AoE driver is initializing here
NET: Registered protocol family 17
Initialized stdio console driver
Console initialized on /dev/tty0
Failed to open 'root_fs', errno = 2
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(98,0)
EIP: 0073:[<a00e20c1>] CPU: 0 Not tainted ESP: 007b:40001fb8 EFLAGS: 00000212
Not tainted
EAX: 00000000 EBX: 000023b1 ECX: 00000013 EDX: 000023b1
ESI: 000023ae EDI: 00000000 EBP: 00000000 DS: 007b ES: 007b
a0253b60: [<a003e2ad>] notifier_call_chain+0x2d/0x50
a0253b7c: [<a002e871>] panic+0x71/0x110
a0253b94: [<a0001ab8>] mount_block_root+0xc8/0x140
a0253bd8: [<a0001b8c>] mount_root+0x5c/0x70
a0253bec: [<a0001bc2>] prepare_namespace+0x22/0xf0
a0253c00: [<a000c1d0>] init+0x0/0x180
a0253c04: [<a000c1d0>] init+0x0/0x180
a0253c0c: [<a000c2ec>] init+0x11c/0x180
a0253c28: [<a0023a48>] run_kernel_thread+0x78/0xa0
a0253c38: [<a000c1d0>] init+0x0/0x180
a0253c48: [<a0023a10>] run_kernel_thread+0x40/0xa0
a0253cac: [<a002ad87>] schedule_tail+0x27/0x1d0
a0253cd8: [<a000c1d0>] init+0x0/0x180
a0253ce4: [<a001a1de>] new_thread_handler+0xce/0x130
a0253ce8: [<a000c1d0>] init+0x0/0x180
a0253d20: [<a00e1f28>] __restore+0x0/0x8
a0253d60: [<a00e20c1>] __kill+0x11/0x20
the panic is ok because i didn`t supply anny params.
now comes the weird:
there is a new patch out which let's you use AoE for your root-device - just like NFS-root (which works inside UML).
The patch adds/changes just some lines in the AoE driver code and integrates into Kbuild.
If I set AoE-root(...) to "yes" in .config compile goes fine again - but - the rather strange thing is, that i can`t even see the AoE driver initialize at all anymore.
The uml kernel get's stuck in the early beginning at boot time - look here:
# ./linux
Checking that ptrace can change system call numbers...OK
Checking syscall emulation patch for ptrace...missing
Checking PROT_EXEC mmap in /tmp...OK
Checking for the skas3 patch in the host:
- /proc/mm...found
- PTRACE_FAULTINFO...found
- PTRACE_LDT...found
UML running in SKAS3 mode
---- hangs here forever. err - why that early ? -----
With a non UML kernel AoE and AoE root is working for me.
does anybody have a clue what is happening here ?
for those who want to take a closer look:
AoE driver is at:
http://www.coraid.com/support/linux/
AoE-root patch is at:
http://www.coraid.com/support/linux/contrib/
regards
roland
[-- Attachment #2: Type: text/html, Size: 8691 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: [uml-devel] AoE with UML? have a strange problem with AoE root
2006-02-04 2:07 roland
@ 2006-02-04 4:16 ` Jeff Dike
0 siblings, 0 replies; 5+ messages in thread
From: Jeff Dike @ 2006-02-04 4:16 UTC (permalink / raw)
To: roland; +Cc: user-mode-linux-devel, blaisorblade
On Sat, Feb 04, 2006 at 03:07:23AM +0100, roland wrote:
> Checking that ptrace can change system call numbers...OK
> Checking syscall emulation patch for ptrace...missing
> Checking PROT_EXEC mmap in /tmp...OK
> Checking for the skas3 patch in the host:
> - /proc/mm...found
> - PTRACE_FAULTINFO...found
> - PTRACE_LDT...found
> UML running in SKAS3 mode
> ---- hangs here forever. err - why that early ? -----
Ummm, strange...
Can you double-check that the config is the same, except for the new
AoE stuff.
Also, adding stderr=1 might give you some more output.
Jeff
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2006-02-08 19:51 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-04 10:17 [uml-devel] AoE with UML? have a strange problem with AoE root devzero
2006-02-08 18:28 ` Jeff Dike
2006-02-08 19:54 ` roland
-- strict thread matches above, loose matches on Subject: below --
2006-02-04 2:07 roland
2006-02-04 4:16 ` Jeff Dike
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.