Skip to contentSkip to conversation

system lockup

DISCUSSION Mike Waychison 4 participants 6 messages Aug 13, 2004 – Aug 16, 2004

lore
Share & tools
lore
#0 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi All,

I've recently managed to get a 2.6.7 dom0 to boot without any major problems. I had seen the hwclock issues and the nosegfixup issues fly by and these seem to be all worked out now.

Another issue though is still lingering for me, and I'm a little clueless as to how to go about debugging it.

It seems that once I log into my gnome session, everything is aok for the first little while, until eventually I get a segfault pop-up for wnck-applet. I've never seen this segfault before, and am not sure if it is xen or 2.6.7 related (I'm still running a 2.6.1 variant). However, a few seconds later, whether or not I click the 'ok' in the segfault dialog, the machine seems to lock hard.

I've tested this w/ & w/o both a) removing the /lib/tls directory and b) the nosegfixup kernel option.

Has anyone else seen this? or possibly know of any other cause for this?

I will try updating to vanilla 2.6.7 tonight to see the issue remains.

Also:

A while ago, I tried building the xenolinux-2.6.7-dom0 kernel with a pentium II cpu target. The system appeared to boot up properly, however X couldn't start as there seemed to be a mysterious SIGBUS being sent. For now, I'm using a PIV build on this PII..

Thanks,

- --
Mike Waychison
Sun Microsystems, Inc.
1 (650) 352-5299 voice
1 (416) 202-8336 voice
http://www.sun.com

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
NOTICE: The opinions expressed in this email are held by me, and may not represent the views of Sun Microsystems, Inc.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBHUZVdQs4kOxk3/MRAgDsAJ421NUq5IUMdmNKNTvoqsWz1TqeeQCeOU66 A5S+sHksUBrbjtBH2nTlFNk=
=mA/7
-----END PGP SIGNATURE-----

-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285

#1 lore raw
Quoted 4 lines

I've recently managed to get a 2.6.7 dom0 to boot without any major problems. I had seen the hwclock issues and the nosegfixup issues fly by and these seem to be all worked out now.

That's good to hear.

Quoted 6 lines

It seems that once I log into my gnome session, everything is aok for the first little while, until eventually I get a segfault pop-up for wnck-applet. I've never seen this segfault before, and am not sure if it is xen or 2.6.7 related (I'm still running a 2.6.1 variant). However, a few seconds later, whether or not I click the 'ok' in the segfault dialog, the machine seems to lock hard.

Is this all in domain 0 or another domain?

Can it be repeated with 2.4, or will your filesystem not boot with a 2.4 kernel? (BTW: what file system are you using?)

Quoted 2 lines

I've tested this w/ & w/o both a) removing the /lib/tls directory and b) the nosegfixup kernel option.

It's useful to know its not a tls issue.

Quoted 1 line

Has anyone else seen this? or possibly know of any other cause for this?

Could you hook up a serial console to the machine? If you start Xen with the appropriate (e.g. 'com1=115200,8n1') option there's a fair chance that either Xen or more likely, domain 0, will write some sort of crash message to the console when the machine locks. A 'debug=y' build of Xen might help.

Quoted 4 lines

A while ago, I tried building the xenolinux-2.6.7-dom0 kernel with a pentium II cpu target. The system appeared to boot up properly, however X couldn't start as there seemed to be a mysterious SIGBUS being sent. For now, I'm using a PIV build on this PII..

That's very weird. The other way around I could sort of understand...

xen/linux 2.6.7 hasn't been as well tested as 2.4.26, but it seems to survive LTP (Linux Test Project) OK.

Ian

-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285

#2 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 16 lines · Ian Pratt
Quoted 3 lines

I've recently managed to get a 2.6.7 dom0 to boot without any major problems. I had seen the hwclock issues and the nosegfixup issues fly by and these seem to be all worked out now.

That's good to hear.

Quoted 6 lines

It seems that once I log into my gnome session, everything is aok for the first little while, until eventually I get a segfault pop-up for wnck-applet. I've never seen this segfault before, and am not sure if it is xen or 2.6.7 related (I'm still running a 2.6.1 variant). However, a few seconds later, whether or not I click the 'ok' in the segfault dialog, the machine seems to lock hard.

Quoted 1 line

Is this all in domain 0 or another domain?

This is all dom0. I haven't had the chance to load up any other domains yet. My main concern at this point is getting my hardware working :)

Quoted 12 lines

Can it be repeated with 2.4, or will your filesystem not boot with a 2.4 kernel? (BTW: what file system are you using?)

Quoted 2 lines

I've tested this w/ & w/o both a) removing the /lib/tls directory and b) the nosegfixup kernel option.

It's useful to know its not a tls issue.

Quoted 8 lines
Quoted 1 line

Has anyone else seen this? or possibly know of any other cause for this?

Could you hook up a serial console to the machine? If you start Xen with the appropriate (e.g. 'com1=115200,8n1') option there's a fair chance that either Xen or more likely, domain 0, will write some sort of crash message to the console when the machine locks. A 'debug=y' build of Xen might help.

I'll hopefully be able to try something eventually. I just moved, so at this point I'm living out of cardboard boxes 8)

Out of curiosity, is there any way to get the Xen console/crash dumps on the console (as opposed to serial)?

Quoted 10 lines
Quoted 6 lines

A while ago, I tried building the xenolinux-2.6.7-dom0 kernel with a pentium II cpu target. The system appeared to boot up properly, however X couldn't start as there seemed to be a mysterious SIGBUS being sent. For now, I'm using a PIV build on this PII..

That's very weird. The other way around I could sort of understand...

Ah, I just checked my latest build, and it is in fact a PII build. I saw this issue a couple days ago: I may have had an inconsistent build. Sorry for the noise :)

- --
Mike Waychison
Sun Microsystems, Inc.
1 (650) 352-5299 voice
1 (416) 202-8336 voice
http://www.sun.com

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
NOTICE: The opinions expressed in this email are held by me, and may not represent the views of Sun Microsystems, Inc.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBHVXodQs4kOxk3/MRAu8aAJ0Z5/QGwq2smkZ7dUAO+GJEFpfLqACeOINe fqiUr1AYwVmCxRfE+XxryMU=
=oQpz
-----END PGP SIGNATURE-----

-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285

#3 lore raw
Quoted 8 lines
Quoted 5 lines

Could you hook up a serial console to the machine? If you start Xen with the appropriate (e.g. 'com1=115200,8n1') option there's a fair chance that either Xen or more likely, domain 0, will write some sort of crash message to the console when the machine locks. A 'debug=y' build of Xen might help.

Out of curiosity, is there any way to get the Xen console/crash dumps on the console (as opposed to serial)?

You can see Xen's boot messages with 'xen_dmesg.py'.

If you're in a graphics screen mode I'm afraid there's no way to get crash messages out of either dom0 or Xen.

If you're in a text mode, you should see crash dumps from dom0.

You are much better off with a serial line, though.

Ian

-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285

#4 lore raw
In reply to Mike Waychison
Quoted 7 lines
Quoted 6 lines

Could you hook up a serial console to the machine? If you start Xen with the appropriate (e.g. 'com1=115200,8n1') option there's a fair chance that either Xen or more likely, domain 0, will write some sort of crash message to the console when the machine locks. A 'debug=y' build of Xen might help.

Quoted 5 lines

I'll hopefully be able to try something eventually. I just moved, so at this point I'm living out of cardboard boxes 8)

Out of curiosity, is there any way to get the Xen console/crash dumps on the console (as opposed to serial)?

DOM0 will of course write crash dumps to dmesg and /var/log/messages, if it can. Adn Xen's trace buffer can be seen with xen_dmesg.py.

But if you're locking hard then you want those crash dumps to get written somewhere synchronously, and there's no better option than a serial line. :-)

-- Keir

-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285

#5 lore raw

Btw,

Xen boot output can be collected by "xm dmesg" - xen_dmesg.py is dead.

HTH
Mark

-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285