Skip to contentSkip to conversation

xen problem with save/restore

DISCUSSION Paul Larson 3 participants 6 messages Dec 3, 2004 – Dec 8, 2004

lore
Share & tools
lore
#0 lore raw

I think I've seen something similar to this posted recently, but I can't find the message to reply to. I build xen-2.0-testing from source yesterday. I have debian sarge running on all my domains right now. I was trying the save/restore feature out, and got this after restoring and consoling into a session:

************ REMOTE CONSOLE: CTRL-] TO QUIT ********

Unable to handle kernel NULL pointer dereference at virtual address

00000007
printing eip:
c030e587
*pde = ma 00000000 pa 55555000

 [<c0109f80>] __do_suspend+0x19f/0x1e0

 [<c012ca65>] worker_thread+0x22b/0x32f

 [<c010a088>] __shutdown_handler+0x0/0x48

 [<c01196c0>] default_wake_function+0x0/0x12

 [<c01196c0>] default_wake_function+0x0/0x12

 [<c012c83a>] worker_thread+0x0/0x32f

 [<c0130b89>] kthread+0xa5/0xab

 [<c0130ae4>] kthread+0x0/0xab

 [<c010f411>] kernel_thread_helper+0x5/0xb

Oops: 0002 [#1]
PREEMPT DEBUG_PAGEALLOC
Modules linked in:
CPU:    0
EIP:    0061:[<c030e587>]    Not tainted VLI
EFLAGS: 00010203   (2.6.9-xenU)

EIP is at init_tsc+0x4b/0x9e
eax: c02c6dd4 ebx: 0000c000 ecx: fbffc000 edx: 00000001
esi: 00000010 edi: c0102000 ebp: 00000000 esp: c0039f04
ds: 007b es: 007b ss: 0069
Process events/0 (pid: 3, threadinfo=c0038000 task=c003cac0)

Stack: c010eadd 00000000 c0109f80 fbffc000 000001e1 00000063 8ed0dd7b
00000042
       c02c3200 c2dc5000 c02c5d80 00000000 c0038000 00000000 c012ca65
00000000
       c0039f74 00000000 c003bf10 c0038000 c0038000 c0038000 c010a088
c0038000
Call Trace:
 [<c010eadd>] time_resume+0x12/0x51

 [<c0109f80>] __do_suspend+0x19f/0x1e0

 [<c012ca65>] worker_thread+0x22b/0x32f

 [<c010a088>] __shutdown_handler+0x0/0x48

 [<c01196c0>] default_wake_function+0x0/0x12

 [<c01196c0>] default_wake_function+0x0/0x12

 [<c012c83a>] worker_thread+0x0/0x32f

 [<c0130b89>] kthread+0xa5/0xab

 [<c0130ae4>] kthread+0x0/0xab

 [<c010f411>] kernel_thread_helper+0x5/0xb

Code: 00 00 00 00 00 00 00 00 70 0d 5a f6 00 00 00 00 00 00 00 00 00 00

00 00 00 00 00 00 00 00 00 00 00 00 00 00 80 21 00 00 00 00 00 <00> 4e f7 ac 41 c8 a8 af 41 61 21 4c 41 00 00 00 00 00 00 01 00

I'm just starting to play with xen, so I haven't figured out much of the debugging stuff yet. If someone can point me in the right direction though, I'd be happy to try to collect some more data if there's anything that would be useful.

Thanks,
Paul Larson

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/

#1 lore raw
Quoted 6 lines · Paul Larson

I think I've seen something similar to this posted recently, but I can't find the message to reply to. I build xen-2.0-testing from source yesterday. I have debian sarge running on all my domains right now. I was trying the save/restore feature out, and got this after restoring and consoling into a session:

Quoted 9 lines

************ REMOTE CONSOLE: CTRL-] TO QUIT ********

Unable to handle kernel NULL pointer dereference at virtual address

00000007
printing eip:
c030e587
*pde = ma 00000000 pa 55555000
[<c0109f80>] __do_suspend+0x19f/0x1e0

[...]

I had exactly this problem with exactly the same setup (xen-2.0-testing on sarge).

Ian told that he would be interested with the vmlinux* files (not the vmlinuz ; those with the debug symbols, if I understood correctly).

I couldn't yet reproduce this bug (I recompiled the kernels with iptables support, and now the domain crashes on restoring without any message ; and I will get physical access to the machines this week-end only - and then apply the patch to show all kernel messages from all domains on the console, to guess what's happening).

I don't think Debian is at the source of the problem :-) ... but the precise version of gcc could be. FYI, I was using gcc-3.3.5 (I compiled my kernels on my "fast" sid box, not on the xen box). Which gcc are you using ?

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/

#2 lore raw

I had attempted to enforce gcc 3.2 on compiling these packages. Not certain that I suceeded though... Any tips would be usefull and appreciated. :)

Quoted 38 lines · Jérôme Petazzoni
Quoted 6 lines · Paul Larson

I think I've seen something similar to this posted recently, but I can't find the message to reply to. I build xen-2.0-testing from source yesterday. I have debian sarge running on all my domains right now. I was trying the save/restore feature out, and got this after restoring and consoling into a session:

Quoted 9 lines

************ REMOTE CONSOLE: CTRL-] TO QUIT ********

Unable to handle kernel NULL pointer dereference at virtual address

00000007
printing eip:
c030e587
*pde = ma 00000000 pa 55555000
[<c0109f80>] __do_suspend+0x19f/0x1e0

[...]

I had exactly this problem with exactly the same setup (xen-2.0-testing on sarge).

Ian told that he would be interested with the vmlinux* files (not the vmlinuz ; those with the debug symbols, if I understood correctly).

I couldn't yet reproduce this bug (I recompiled the kernels with iptables support, and now the domain crashes on restoring without any message ; and I will get physical access to the machines this week-end only - and then apply the patch to show all kernel messages from all domains on the console, to guess what's happening).

I don't think Debian is at the source of the problem :-) ... but the precise version of gcc could be. FYI, I was using gcc-3.3.5 (I compiled my kernels on my "fast" sid box, not on the xen box). Which gcc are you using ?

Quoted 9 lines

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xen-devel

--

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/

#3 lore raw
In reply to Jérôme Petazzoni
Quoted 4 lines · Jérôme Petazzoni

I don't think Debian is at the source of the problem :-) ... but the precise version of gcc could be. FYI, I was using gcc-3.3.5 (I compiled my kernels on my "fast" sid box, not on the xen box). Which gcc are you using ?

gcc version 3.2.3 (Debian)

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/

#4 lore raw
In reply to Paul Larson

Interesting, I'm using this on a different machine now and getting a slightly different error when I restore:

Unable to handle kernel NULL pointer dereference at virtual address

00000007
printing eip:
c0302407
*pde = ma 00000000 pa 55555000
[<c012bbee>] worker_thread+0x1ea/0x2e0

The new machine is my laptop, an IBM T41p, but otherwise much the same (debian sarge, same compiler, etc).

Thanks,
Paul Larson

Quoted 82 lines · Paul Larson

I think I've seen something similar to this posted recently, but I can't find the message to reply to. I build xen-2.0-testing from source yesterday. I have debian sarge running on all my domains right now. I was trying the save/restore feature out, and got this after restoring and consoling into a session:

************ REMOTE CONSOLE: CTRL-] TO QUIT ********

Unable to handle kernel NULL pointer dereference at virtual address

00000007
printing eip:
c030e587
*pde = ma 00000000 pa 55555000

 [<c0109f80>] __do_suspend+0x19f/0x1e0

 [<c012ca65>] worker_thread+0x22b/0x32f

 [<c010a088>] __shutdown_handler+0x0/0x48

 [<c01196c0>] default_wake_function+0x0/0x12

 [<c01196c0>] default_wake_function+0x0/0x12

 [<c012c83a>] worker_thread+0x0/0x32f

 [<c0130b89>] kthread+0xa5/0xab

 [<c0130ae4>] kthread+0x0/0xab

 [<c010f411>] kernel_thread_helper+0x5/0xb

Oops: 0002 [#1]
PREEMPT DEBUG_PAGEALLOC
Modules linked in:
CPU:    0
EIP:    0061:[<c030e587>]    Not tainted VLI
EFLAGS: 00010203   (2.6.9-xenU)

EIP is at init_tsc+0x4b/0x9e
eax: c02c6dd4 ebx: 0000c000 ecx: fbffc000 edx: 00000001
esi: 00000010 edi: c0102000 ebp: 00000000 esp: c0039f04
ds: 007b es: 007b ss: 0069
Process events/0 (pid: 3, threadinfo=c0038000 task=c003cac0)

Stack: c010eadd 00000000 c0109f80 fbffc000 000001e1 00000063 8ed0dd7b
00000042
       c02c3200 c2dc5000 c02c5d80 00000000 c0038000 00000000 c012ca65
00000000
       c0039f74 00000000 c003bf10 c0038000 c0038000 c0038000 c010a088
c0038000
Call Trace:
 [<c010eadd>] time_resume+0x12/0x51

 [<c0109f80>] __do_suspend+0x19f/0x1e0

 [<c012ca65>] worker_thread+0x22b/0x32f

 [<c010a088>] __shutdown_handler+0x0/0x48

 [<c01196c0>] default_wake_function+0x0/0x12

 [<c01196c0>] default_wake_function+0x0/0x12

 [<c012c83a>] worker_thread+0x0/0x32f

 [<c0130b89>] kthread+0xa5/0xab

 [<c0130ae4>] kthread+0x0/0xab

 [<c010f411>] kernel_thread_helper+0x5/0xb

Code: 00 00 00 00 00 00 00 00 70 0d 5a f6 00 00 00 00 00 00 00 00 00 00

00 00 00 00 00 00 00 00 00 00 00 00 00 00 80 21 00 00 00 00 00 <00> 4e f7 ac 41 c8 a8 af 41 61 21 4c 41 00 00 00 00 00 00 01 00

I'm just starting to play with xen, so I haven't figured out much of the debugging stuff yet. If someone can point me in the right direction though, I'd be happy to try to collect some more data if there's anything that would be useful.

Thanks,
Paul Larson

Quoted 9 lines

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xen-devel

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/

#5 lore raw

I just tried this on the same system/compiler with the xeno-unstable.bk tree and save/restore worked for me. Anyone know of a something in unstable that might make this work?

Thanks,
Paul Larson

Quoted 109 lines · Paul Larson

Interesting, I'm using this on a different machine now and getting a slightly different error when I restore:

Unable to handle kernel NULL pointer dereference at virtual address

00000007
printing eip:
c0302407
*pde = ma 00000000 pa 55555000
[<c012bbee>] worker_thread+0x1ea/0x2e0

The new machine is my laptop, an IBM T41p, but otherwise much the same (debian sarge, same compiler, etc).

Thanks,
Paul Larson

Quoted 82 lines · Paul Larson

I think I've seen something similar to this posted recently, but I can't find the message to reply to. I build xen-2.0-testing from source yesterday. I have debian sarge running on all my domains right now. I was trying the save/restore feature out, and got this after restoring and consoling into a session:

************ REMOTE CONSOLE: CTRL-] TO QUIT ********

Unable to handle kernel NULL pointer dereference at virtual address

00000007
printing eip:
c030e587
*pde = ma 00000000 pa 55555000

 [<c0109f80>] __do_suspend+0x19f/0x1e0

 [<c012ca65>] worker_thread+0x22b/0x32f

 [<c010a088>] __shutdown_handler+0x0/0x48

 [<c01196c0>] default_wake_function+0x0/0x12

 [<c01196c0>] default_wake_function+0x0/0x12

 [<c012c83a>] worker_thread+0x0/0x32f

 [<c0130b89>] kthread+0xa5/0xab

 [<c0130ae4>] kthread+0x0/0xab

 [<c010f411>] kernel_thread_helper+0x5/0xb

Oops: 0002 [#1]
PREEMPT DEBUG_PAGEALLOC
Modules linked in:
CPU:    0
EIP:    0061:[<c030e587>]    Not tainted VLI
EFLAGS: 00010203   (2.6.9-xenU)

EIP is at init_tsc+0x4b/0x9e
eax: c02c6dd4 ebx: 0000c000 ecx: fbffc000 edx: 00000001
esi: 00000010 edi: c0102000 ebp: 00000000 esp: c0039f04
ds: 007b es: 007b ss: 0069
Process events/0 (pid: 3, threadinfo=c0038000 task=c003cac0)

Stack: c010eadd 00000000 c0109f80 fbffc000 000001e1 00000063 8ed0dd7b
00000042
       c02c3200 c2dc5000 c02c5d80 00000000 c0038000 00000000 c012ca65
00000000
       c0039f74 00000000 c003bf10 c0038000 c0038000 c0038000 c010a088
c0038000
Call Trace:
 [<c010eadd>] time_resume+0x12/0x51

 [<c0109f80>] __do_suspend+0x19f/0x1e0

 [<c012ca65>] worker_thread+0x22b/0x32f

 [<c010a088>] __shutdown_handler+0x0/0x48

 [<c01196c0>] default_wake_function+0x0/0x12

 [<c01196c0>] default_wake_function+0x0/0x12

 [<c012c83a>] worker_thread+0x0/0x32f

 [<c0130b89>] kthread+0xa5/0xab

 [<c0130ae4>] kthread+0x0/0xab

 [<c010f411>] kernel_thread_helper+0x5/0xb

Code: 00 00 00 00 00 00 00 00 70 0d 5a f6 00 00 00 00 00 00 00 00 00 00

00 00 00 00 00 00 00 00 00 00 00 00 00 00 80 21 00 00 00 00 00 <00> 4e f7 ac 41 c8 a8 af 41 61 21 4c 41 00 00 00 00 00 00 01 00

I'm just starting to play with xen, so I haven't figured out much of the debugging stuff yet. If someone can point me in the right direction though, I'd be happy to try to collect some more data if there's anything that would be useful.

Thanks,
Paul Larson

Quoted 9 lines

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xen-devel

Quoted 9 lines

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xen-devel

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/