[Bug 309546] New: sleep.d hook 00clear crashes the system when called in X
https://bugzilla.novell.com/show_bug.cgi?id=309546 Summary: sleep.d hook 00clear crashes the system when called in X Product: openSUSE 10.3 Version: Beta 3 Platform: Other OS/Version: Other Status: NEW Severity: Major Priority: P5 - None Component: Basesystem AssignedTo: seife@novell.com ReportedBy: pbaudis@novell.com QAContact: qa@suse.de Found By: --- With the 00clear sleep.d hook, attempt to suspend to disk will crash the system if called in X - the screen darkens with only very dim "spilled tea"-like characters blinking in the background and keyboard not responding (not even sysrq appears to work). When I disable this particular hook, things work fine, which is really strange, because if I run the openvt command manually from terminal (even if I later do suspend to disk), it doesn't crash; also, the crash itself certainly happens after network is down, I can see that flickering through tail -f. Also, it doesn't crash with this hook if suspend to disk is performed from textmode. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=309546#c1 Stefan Seyfried <seife@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fseidel@novell.com, seife@novell.com, | |sndirsch@novell.com AssignedTo|seife@novell.com |kernel-maintainers@forge.provo.novell.com Severity|Major |Critical Component|Basesystem |Kernel --- Comment #1 from Stefan Seyfried <seife@novell.com> 2007-09-13 04:13:58 MST --- This is probably a kernel or less probably an X bug. Userspace must not be able to crash a machine by calling "openvt" IMVHO. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=309546#c2 Stephan Kulow <coolo@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |coolo@novell.com Status|NEW |NEEDINFO Info Provider| |gregkh@novell.com Flag| |SHIP_STOPPER- --- Comment #2 from Stephan Kulow <coolo@novell.com> 2007-09-14 06:57:06 MST --- Greg, any idea what to try? I'm not having a good idea if this is blocker material or not -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=309546#c3 --- Comment #3 from Petr Baudis <pbaudis@novell.com> 2007-09-14 07:03:10 MST --- Note that I have the notebook where this happens here at the labs conference. I unfortunately wasn't able to try to narrow it down more yet because I need to use it too. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=309546#c4 Greg Kroah-Hartman <gregkh@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|kernel-maintainers@forge.provo.novell.com |sndirsch@novell.com Status|NEEDINFO |NEW Component|Kernel |X.Org Info Provider|gregkh@novell.com | QAContact|qa@suse.de |xorg-maintainer-bugs@forge.provo.novell.com --- Comment #4 from Greg Kroah-Hartman <gregkh@novell.com> 2007-09-14 08:30:46 MST --- As the call works in text mode, I would blame X for this, reassigning... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=309546#c5 Stefan Dirsch <sndirsch@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |seife@novell.com --- Comment #5 from Stefan Dirsch <sndirsch@novell.com> 2007-09-16 12:30:49 MST --- What's the purpose of 00clear? I thought, that our suspend scripts would switch to a textconsole anyway before running powersave. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=309546#c6 Stefan Seyfried <seife@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|seife@novell.com | --- Comment #6 from Stefan Seyfried <seife@novell.com> 2007-09-17 01:02:38 MST --- The hook is basically only doing: TERM=linux openvt -w -f -c 63 -- echo -e "\033[H\033[JPreparing $1..." \
/dev/null 2>&1
Which opens console 63 where print some information during suspend are printed to. Since we per default now use splashy during suspend to disk, we do not actually switch to the console 63 anymore. Before that, there was an additional "-s" on the openvt command line, which would switch to console 63. Since we are not even doing a vt switch, i'm not sure how this can crash the machine (and i'm not so sure about Greg's opinion that this is not a kernel issue). -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
Also, it doesn't crash with this hook if suspend to disk is performed from textmode. So should we do a chvt before again or add the "-s" option again? Petr, does
https://bugzilla.novell.com/show_bug.cgi?id=309546#c7 Stefan Dirsch <sndirsch@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |pbaudis@novell.com --- Comment #7 from Stefan Dirsch <sndirsch@novell.com> 2007-09-17 01:23:40 MST --- this help? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=309546#c8 --- Comment #8 from Stefan Seyfried <seife@novell.com> 2007-09-17 02:58:14 MST --- Even if it does, it would mean sacrificing splashy support for a totally unrelated bug. So i'm not going to do it. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=309546#c9 Petr Baudis <pbaudis@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|pbaudis@novell.com | --- Comment #9 from Petr Baudis <pbaudis@novell.com> 2007-09-18 10:04:59 MST --- Curiously, when I add -s, the first suspend goes ok, but when I resume, the second suspend crashes the machine in the same way as before; I can reproduce that even by manually executing the openvt -s after resume. I suspect that the Intel driver is just real flaky. Another sign of unreliableness is that I decided to stresstest it by executing openvt -s in a loop; pressing ctrl-c crashed X. However, I didn't encounter any problems with manual switching from/to X. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=309546#c10 Stefan Dirsch <sndirsch@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |pbaudis@novell.com --- Comment #10 from Stefan Dirsch <sndirsch@novell.com> 2007-09-18 10:55:00 MST --- Ok. And if you add a "chtvt 1" to the script before executing openvt? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=309546#c11 Petr Baudis <pbaudis@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|pbaudis@novell.com | --- Comment #11 from Petr Baudis <pbaudis@novell.com> 2007-09-18 11:32:16 MST --- Works fine the first time, hangs the second time. And if after resume, I manually switch from X, it crashes too - sorry, I thought I tested this. :-( More interestingly, I didn't encounter any problems with 3D acceleration turned off. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=309546#c12 --- Comment #12 from Petr Baudis <pbaudis@novell.com> 2007-09-18 12:04:42 MST --- Ok, further correction - with 3D acceleration, switching consoles doesn't crash but openvt still does. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=309546#c13 Stefan Dirsch <sndirsch@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |pbaudis@novell.com --- Comment #13 from Stefan Dirsch <sndirsch@novell.com> 2007-09-18 12:07:19 MST ---
More interestingly, I didn't encounter any problems with 3D acceleration >turned off. So it's a DRI issue. Maybe even AIGLX/Xgl and compiz in use?
-- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=309546#c14 Petr Baudis <pbaudis@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|pbaudis@novell.com | --- Comment #14 from Petr Baudis <pbaudis@novell.com> 2007-09-18 12:11:06 MST --- *Sigh* I keep messing up in this bug :-) - s/with 3D/without 3D/ for comment #12. I don't use compiz or xgl. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=309546#c15 Stefan Dirsch <sndirsch@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED --- Comment #15 from Stefan Dirsch <sndirsch@novell.com> 2007-09-18 12:17:08 MST --- Ok. So VT switching already crashes the machine if DRI is enabled. openvt crashes the machine in any case. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=309546#c16 Stefan Dirsch <sndirsch@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO Info Provider| |pbaudis@novell.com --- Comment #16 from Stefan Dirsch <sndirsch@novell.com> 2007-09-18 12:40:47 MST --- So I didn't ask you for a logfile (/var/log/Xorg.0.log) and config file (/etc/X11/xorg.conf) yet? Can't believe this. Does the crash also happen with i810 driver in use? Use "sax2 -r -m 0=i810" for configuration. If not this would be a regression. Well, we have a lot of regressions with the new driver. :-( -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=309546#c17 --- Comment #17 from Petr Baudis <pbaudis@novell.com> 2007-09-18 13:01:45 MST --- Created an attachment (id=173148) --> (https://bugzilla.novell.com/attachment.cgi?id=173148) xorg.conf -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=309546#c18 --- Comment #18 from Petr Baudis <pbaudis@novell.com> 2007-09-18 13:02:15 MST --- Created an attachment (id=173149) --> (https://bugzilla.novell.com/attachment.cgi?id=173149) Xorg.0.log -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=309546#c19 --- Comment #19 from Petr Baudis <pbaudis@novell.com> 2007-09-18 13:09:50 MST --- With i810 driver things seem to be working reliably. Unfortunately, no 3D support. :-( -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=309546 Petr Baudis <pbaudis@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED Info Provider|pbaudis@novell.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=309546 Stefan Dirsch <sndirsch@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #173148|application/octet-stream |text/plain mime type| | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=309546 Stefan Dirsch <sndirsch@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #173149|text/x-log |text/plain mime type| | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=309546#c20 --- Comment #20 from Stefan Dirsch <sndirsch@novell.com> 2007-09-18 13:42:37 MST --- Hmm. Nothing obvious in config/log files for intel driver. No 3D with i810 driver? Could you also attach config and logfile for i810 driver configuration? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=309546 Stefan Dirsch <sndirsch@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO Info Provider| |pbaudis@novell.com -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=309546#c21 --- Comment #21 from Petr Baudis <pbaudis@novell.com> 2007-09-19 15:24:14 MST --- Created an attachment (id=173468) --> (https://bugzilla.novell.com/attachment.cgi?id=173468) i810 xorg.conf -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=309546#c22 --- Comment #22 from Petr Baudis <pbaudis@novell.com> 2007-09-19 15:24:42 MST --- Created an attachment (id=173469) --> (https://bugzilla.novell.com/attachment.cgi?id=173469) i810 Xorg.0.log -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=309546 Petr Baudis <pbaudis@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED Info Provider|pbaudis@novell.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=309546#c23 Stefan Dirsch <sndirsch@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO Info Provider| |pbaudis@novell.com --- Comment #23 from Stefan Dirsch <sndirsch@novell.com> 2007-09-19 16:25:20 MST --- ' Load "dri" ' is missing in xorg.conf for i810 driver. Let me know if adding this helps. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=309546#c24 Petr Baudis <pbaudis@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED Info Provider|pbaudis@novell.com | --- Comment #24 from Petr Baudis <pbaudis@novell.com> 2007-09-19 18:10:13 MST --- That seems to work. 3D acceleration appears to be ok with i810 driver now. Hybernation still seems to work too. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=309546#c25 Stefan Dirsch <sndirsch@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO Info Provider| |pbaudis@novell.com --- Comment #25 from Stefan Dirsch <sndirsch@novell.com> 2007-09-20 00:09:54 MST --- So you have one of the machines, which does not like the intel driver, but are still happy with the i810 driver. (II) PCI: 00:02:0: chip 8086,2592 card 1014,0582 rev 03 class 03,00,00 hdr 80 Should we hardcode to use i810 instead of intel driver in SaX2/hwinfo? Or is it enough that intel driver regressions are mentionend in the release notes (and how to switch back to i810 driver) ? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=309546#c26 Petr Baudis <pbaudis@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED Info Provider|pbaudis@novell.com | --- Comment #26 from Petr Baudis <pbaudis@novell.com> 2007-09-20 05:13:59 MST --- Hardcoding sounds most reasonable to me. But SaX should also be fixed to allow enabling 3D acceleration with the i810 driver for this card. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=309546#c27 Stefan Dirsch <sndirsch@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P2 - High --- Comment #27 from Stefan Dirsch <sndirsch@novell.com> 2007-09-20 06:20:01 MST --- (In reply to comment #26 from Petr Baudis)
Hardcoding sounds most reasonable to me. Ok.
But SaX should also be fixed to allow enabling 3D acceleration with the i810 driver for this card. This gets fixed by switching to the i810 driver for this machine, since then a 3D driver entry will exist. :-)
-- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=309546#c28 Stefan Dirsch <sndirsch@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |snwint@novell.com, ms@novell.com Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #28 from Stefan Dirsch <sndirsch@novell.com> 2007-09-20 09:19:51 MST --- should be fixed once SaX2/hwinfo has been submitted for STABLE. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=309546#c29 --- Comment #29 from Petr Baudis <pbaudis@novell.com> 2007-10-02 10:13:51 MST --- Turns out that xv support is broken with the i810 driver - it crashes the X server and reboot is required. Should I file another bug for that? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=309546#c30 --- Comment #30 from Stefan Dirsch <sndirsch@novell.com> 2007-10-02 12:02:36 MST --- Well, I don't think that any i810 driver bugs are still fixed. It's just a fallback driver for some time. Of course it would be still a valid bugreport. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com