segfault in dom0
Just finished copying 135 gigs of files into my dom0 system over the network using smbclient. No errors occured during the copy. Immediately afterwards i tried to run a find command, but it's segfaulting on me:
<1>Unable to handle kernel NULL pointer dereference at virtual address 00000000
printing eip:c0037d86
*pde=00000000(55555000)
Oops: 0000
CPU: 0
EIP: 0819:[<c0037d86>] Not tainted
EFLAGS: 00211213
eax: 00000000 ebx: fffffff0 ecx: 0000000d edx: 00196f45
esi: 00000000 edi: c07fffa0 ebp: c07fff00 esp: c07ffee0
ds: 0821 es: 0821 ss: 0821
Process find (pid: 975, stackpage=c07ff000)<1>
Stack: c07fff50 00000000 c07fffa0 00000000 c1092758 c24bd000 00196f45 00000003
c07fff14 c002f571 c1d3aa40 c07fff50 c07fff50 c07fff5c c002fd40 c1d3aa40
c07fff50 00000000 c07fffa0 c24bd000 00000000 c278f8c0 0000000e c12c8974
Call Trace: [<c002f571>] [<c002fd40>] [<c002ffed>] [<c003015e>] [<c00303cd>]
[<c002cf9a>] [<c009c08b>] I've tried running find a few times, and the only differences each time are in edi/ebp/esp/stackpage/stack/pid
I'm currently running rev 40f41ae00utn5d2f3tlNLcvG_QhiBA from 2004-07-13 17:24:48
This also happened to me on an older rev, but i was messing about with the vmmon stuff at the time, and i also wanted to move up to a newer rev to see if that fixed things before saying anything. Now, last time the find worked again after a reboot, but that's obviously no good. For the moment this time i've just left things as-is right now.
Signature · 9 lines
Jody Belka knew (at) pimb (dot) org ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
Can you point us at the vmlinux file for this backtrace? Also, I can't see the repository revision you've described -- what is the output of 'bk sccslog | head' on your repository?
Thanks,
Keir
Quoted 27 lines
Just finished copying 135 gigs of files into my dom0 system over the network using smbclient. No errors occured during the copy. Immediately afterwards i tried to run a find command, but it's segfaulting on me:
<1>Unable to handle kernel NULL pointer dereference at virtual address 00000000
printing eip:c0037d86
*pde=00000000(55555000)Oops: 0000 CPU: 0 EIP: 0819:[<c0037d86>] Not tainted EFLAGS: 00211213 eax: 00000000 ebx: fffffff0 ecx: 0000000d edx: 00196f45 esi: 00000000 edi: c07fffa0 ebp: c07fff00 esp: c07ffee0 ds: 0821 es: 0821 ss: 0821 Process find (pid: 975, stackpage=c07ff000)<1> Stack: c07fff50 00000000 c07fffa0 00000000 c1092758 c24bd000 00196f45 00000003 c07fff14 c002f571 c1d3aa40 c07fff50 c07fff50 c07fff5c c002fd40 c1d3aa40 c07fff50 00000000 c07fffa0 c24bd000 00000000 c278f8c0 0000000e c12c8974 Call Trace: [<c002f571>] [<c002fd40>] [<c002ffed>] [<c003015e>] [<c00303cd>] [<c002cf9a>] [<c009c08b>]I've tried running find a few times, and the only differences each time are in edi/ebp/esp/stackpage/stack/pid
Quoted 22 lines
I'm currently running rev 40f41ae00utn5d2f3tlNLcvG_QhiBA from 2004-07-13 17:24:48
This also happened to me on an older rev, but i was messing about with the vmmon stuff at the time, and i also wanted to move up to a newer rev to see if that fixed things before saying anything. Now, last time the find worked again after a reboot, but that's obviously no good. For the moment this time i've just left things as-is right now.
Signature · 13 lines
Jody Belka knew (at) pimb (dot) org ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click _______________________________________________ Xen-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/xen-devel
-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
Also, to clarify: there was no other domain than DOM0 involved in this transfer -- the transfer was from a remote machine?
-- Keir
Quoted 60 lines
Can you point us at the vmlinux file for this backtrace? Also, I can't see the repository revision you've described -- what is the output of 'bk sccslog | head' on your repository?
Thanks,
KeirQuoted 27 lines
Just finished copying 135 gigs of files into my dom0 system over the network using smbclient. No errors occured during the copy. Immediately afterwards i tried to run a find command, but it's segfaulting on me:
<1>Unable to handle kernel NULL pointer dereference at virtual address 00000000
printing eip:c0037d86
*pde=00000000(55555000)Oops: 0000 CPU: 0 EIP: 0819:[<c0037d86>] Not tainted EFLAGS: 00211213 eax: 00000000 ebx: fffffff0 ecx: 0000000d edx: 00196f45 esi: 00000000 edi: c07fffa0 ebp: c07fff00 esp: c07ffee0 ds: 0821 es: 0821 ss: 0821 Process find (pid: 975, stackpage=c07ff000)<1> Stack: c07fff50 00000000 c07fffa0 00000000 c1092758 c24bd000 00196f45 00000003 c07fff14 c002f571 c1d3aa40 c07fff50 c07fff50 c07fff5c c002fd40 c1d3aa40 c07fff50 00000000 c07fffa0 c24bd000 00000000 c278f8c0 0000000e c12c8974 Call Trace: [<c002f571>] [<c002fd40>] [<c002ffed>] [<c003015e>] [<c00303cd>] [<c002cf9a>] [<c009c08b>]I've tried running find a few times, and the only differences each time are in edi/ebp/esp/stackpage/stack/pid
Quoted 22 lines
I'm currently running rev 40f41ae00utn5d2f3tlNLcvG_QhiBA from 2004-07-13 17:24:48
This also happened to me on an older rev, but i was messing about with the vmmon stuff at the time, and i also wanted to move up to a newer rev to see if that fixed things before saying anything. Now, last time the find worked again after a reboot, but that's obviously no good. For the moment this time i've just left things as-is right now.
Signature · 13 lines
Jody Belka knew (at) pimb (dot) org ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click _______________________________________________ Xen-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/xen-devel
Quoted 9 lines
-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
Xen-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/xen-devel
-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
Quoted 8 lines
Quoted 5 lines
Quoted 5 lines
Just finished copying 135 gigs of files into my dom0 system over the network using smbclient. No errors occured during the copy. Immediately afterwards i tried to run a find command, but it's segfaulting on me:
Also, to clarify: there was no other domain than DOM0 involved in this transfer -- the transfer was from a remote machine?
Further, did dom0 have swap configured?
Ian
-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
Quoted 4 lines · Jody Belka
Just finished copying 135 gigs of files into my dom0 system over the network using smbclient. No errors occured during the copy. Immediately afterwards i tried to run a find command, but it's segfaulting on me:
Quoted 3 lines · Keir Fraser
Can you point us at the vmlinux file for this backtrace? Also, I can't see the repository revision you've described -- what is the output of 'bk sccslog | head' on your repository?
I've uploaded the vmlinuz, System.map and config files to
http://test.pimb.org/xen/20040713172448.40f41ae00utn5d2f3tlNLcvG_QhiBA/
The output of the bk sccslog command is as follows:
--------
ChangeSet
1.1076 04/07/13 18:24:48 [email protected] +1 -0 Fairly major fixes to the network frontend driver. Much saner now.
--------
I generally prefer to give out the MD5KEY names for the revisions, since the changeset numbers can, and often do, change whenever they feel like it. You can use the MD5KEY names anywhere you'd use a changeset number anyway, after all.
Quoted 2 lines · Keir Fraser
Also, to clarify: there was no other domain than DOM0 involved in this transfer -- the transfer was from a remote machine?
That's right. there /is/ one other domain running, but it had nothing to do with the transfer at all, being purely a dns cache and server.
Quoted 1 line · Ian Pratt
Further, did dom0 have swap configured?
Yes. I allocated 48megs of physical memory to dom0, and added an additional an extra 125megs of swap to it. The output of free as we speak (still haven't rebooted the system) is:
total used free shared buffers cached
Mem: 44 41 2 0 1 8
-/+ buffers/cache: 32 12
Swap: 125 5 120
Signature · 9 lines
Jody Belka knew (at) pimb (dot) org ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
a few bk hints (was Re: segfault in dom0)
A bit offtopic, but maybe this will help somebody:
Quoted 4 lines · Jody Belka
Quoted 3 lines · Keir Fraser
Can you point us at the vmlinux file for this backtrace? Also, I can't see the repository revision you've described -- what is the output of 'bk sccslog | head' on your repository?
"bk changes -r+" is a more concise equivalent... but as Jody points out, you can just "bk changes -r40f41ae00utn5d2f3tlNLcvG_QhiBA" to find out what changeset that is.
Quoted 4 lines
I generally prefer to give out the MD5KEY names for the revisions, since the changeset numbers can, and often do, change whenever they feel like it. You can use the MD5KEY names anywhere you'd use a changeset number anyway, after all.
That's perfectly true. In fact that cset has a different version number in my local tree than it does in Jody's output. MD5KEYs and KEYs are eternal, everything else is temporary. (Well, I suppose the contents are also eternal. But comments and revision numbers, in particular, are mutable.)
And on a slightly more xen-related topic:
Quoted 11 lines · Ian Pratt
Quoted 1 line
Further, did dom0 have swap configured?
Yes. I allocated 48megs of physical memory to dom0, and added an additional an extra 125megs of swap to it. The output of free as we speak (still haven't rebooted the system) is:
total used free shared buffers cached
Mem: 44 41 2 0 1 8
-/+ buffers/cache: 32 12
Swap: 125 5 120
Hmm, looks like your free(1) has -m as the default... I've always seen -k as the default.
Or else you got it to boot with 11 pages of memory, which would be quite a feat.
-andy
-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
Re: a few bk hints (was Re: segfault in dom0)
Quoted 14 lines · Andy Isaacson
And on a slightly more xen-related topic:
Quoted 11 lines · Ian Pratt
Quoted 1 line
Further, did dom0 have swap configured?
Yes. I allocated 48megs of physical memory to dom0, and added an additional an extra 125megs of swap to it. The output of free as we speak (still haven't rebooted the system) is:
total used free shared buffers cached
Mem: 44 41 2 0 1 8
-/+ buffers/cache: 32 12
Swap: 125 5 120
Quoted 5 lines
Hmm, looks like your free(1) has -m as the default... I've always seen -k as the default.
Or else you got it to boot with 11 pages of memory, which would be quite a feat.
Nope, just a shell alias; i generally prefer to see it in megs, so i made it easier for me.
Signature · 9 lines
Jody Belka knew (at) pimb (dot) org ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
The backtrace is (innermost to outermost):
d_lookup
cached_lookup
link_path_walk
path_walk
path_lookup
__user_walk
sys_lstat64
system_call
The crash in d_lookup is due to a corrupted directory-entry hash-table list. Doesn't look very Xen-related. This area of code isn't modified for Xen, and no Xen drivers are involved in your data transfer.
I wonder if this is reproducible in native-x86 Linux, if you run it with the same configuration?
-- Keir
Quoted 27 lines
Just finished copying 135 gigs of files into my dom0 system over the network using smbclient. No errors occured during the copy. Immediately afterwards i tried to run a find command, but it's segfaulting on me:
<1>Unable to handle kernel NULL pointer dereference at virtual address 00000000
printing eip:c0037d86
*pde=00000000(55555000)Oops: 0000 CPU: 0 EIP: 0819:[<c0037d86>] Not tainted EFLAGS: 00211213 eax: 00000000 ebx: fffffff0 ecx: 0000000d edx: 00196f45 esi: 00000000 edi: c07fffa0 ebp: c07fff00 esp: c07ffee0 ds: 0821 es: 0821 ss: 0821 Process find (pid: 975, stackpage=c07ff000)<1> Stack: c07fff50 00000000 c07fffa0 00000000 c1092758 c24bd000 00196f45 00000003 c07fff14 c002f571 c1d3aa40 c07fff50 c07fff50 c07fff5c c002fd40 c1d3aa40 c07fff50 00000000 c07fffa0 c24bd000 00000000 c278f8c0 0000000e c12c8974 Call Trace: [<c002f571>] [<c002fd40>] [<c002ffed>] [<c003015e>] [<c00303cd>] [<c002cf9a>] [<c009c08b>]I've tried running find a few times, and the only differences each time are in edi/ebp/esp/stackpage/stack/pid
Quoted 22 lines
I'm currently running rev 40f41ae00utn5d2f3tlNLcvG_QhiBA from 2004-07-13 17:24:48
This also happened to me on an older rev, but i was messing about with the vmmon stuff at the time, and i also wanted to move up to a newer rev to see if that fixed things before saying anything. Now, last time the find worked again after a reboot, but that's obviously no good. For the moment this time i've just left things as-is right now.
Signature · 13 lines
Jody Belka knew (at) pimb (dot) org ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click _______________________________________________ Xen-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/xen-devel
-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
A few months ago (before the 1.2 release) I had a similar problem: I'd do lots of file IO (big copies) and lots of swapping and sometimes processes like find would segfault due to a kernel null pointer dereference. Perhaps this is the same problem again.
At the time, we decided it was probably a latent Linux bug and not Xen-specific but I haven't managed to provoke it on native Linux.
Mark
-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click