[Bug 255683] New: Crash during resume
https://bugzilla.novell.com/show_bug.cgi?id=255683 Summary: Crash during resume Product: openSUSE 10.3 Version: Alpha 2 Platform: i686 OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: Joachim.Reichelt@helmholtz-hzi.de QAContact: qa@suse.de After a successful suspend to disk I could not resume. I got a lot of SCSI errors on tty10. Most I did not see, as X11 was running. Nothing is in the logs. All I got is the pm-suspend.log System is "SCSI only" for Linux, one external USB-dirve, and a 4port USB cardreader. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=255683 chrubis@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team- |kernel-maintainers@forge.provo.novell.com |screening@forge.provo.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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=255683 jeffm@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|kernel- |pavel@novell.com |maintainers@forge.provo.nove| |ll.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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=255683 pavel@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |seife@novell.com Severity|Normal |Minor Status|NEW |ASSIGNED ------- Comment #1 from pavel@novell.com 2007-03-21 02:53 MST ------- Ugh, and what scsi card are you using? It is very probable that its driver misses suspend/resume 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=255683 pavel@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Crash during resume |SCSI crash during resume -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=255683 ------- Comment #2 from Joachim.Reichelt@helmholtz-hzi.de 2007-03-21 04:33 MST ------- Adaptec 2940UW aic7xxx driver The drives are accessible here I have USB disk, that was/is mounted NTFS I have a CardReader USB with 4 "drives" sda, sdb on aic7xxx sdc, sdd, sde, sdf USB-Cardreader (empty slots) sdg 250GB USB--Drive -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=255683 pavel@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|Minor |Normal ------- Comment #3 from pavel@novell.com 2007-03-21 06:08 MST ------- Yep, just repeat it with aic7xxx alone... it will probably have problem, too. Then we'll have to find someone (you?) to fix aic7xxx... or at least report it to bugzilla.kernel.org. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=255683 ------- Comment #4 from Joachim.Reichelt@helmholtz-hzi.de 2007-03-21 09:38 MST ------- So how to help? unplug all usb drives, suspend, awake? where to look in aic7xxx.ko? Can I set debug flags? use kernel-debug? I'm not a kernel hacker, but have a good background in programming. So what to do first? -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=255683 ------- Comment #5 from Joachim.Reichelt@helmholtz-hzi.de 2007-03-23 01:40 MST ------- O.K. I removed all USB drives and booted into runlevel 3. Than I removed all modules (rmmod) that could be removed, unmounted all but / and /boot an than did a powersave -U pushed the powerbutton to get the machine up. resume seemed to be successfull, but the drive(s) were unacessable. On console 10 I watched a lot of scsi errors, I could not read, scrolling too fast. This lasted for several minutes. on console 1, where I entered the powersave -U a ls worked. But a dmesg > dmesg.out hangs forever. It seems to me that the system was in an endless loop. The only scsi drivers loaded were aic7xxx and the ide-driver. After switching by <alt>F1 and <alt>F10 a lot of times the system suddnely stopped. Kernal panic. I tried it several times, but I was always on console 1 at the end. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=255683 ------- Comment #6 from pavel@novell.com 2007-03-23 05:18 MST ------- Yep, you have shown it is indeed because of aic7xxx driver... actually if you could make your root filesystem on ide, rmmod aix7xxx, suspend, resume, insmod aic7xxx, *that* would be definite proof. Now, aic7xxx does contain some suspend/resume routines. So you probably want to add printks there, to make sure they are called. (is aic7770_suspend called on your machine?) ..then possibly figure out why they don't work. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=255683 ------- Comment #7 from Joachim.Reichelt@helmholtz-hzi.de 2007-03-23 13:47 MST ------- At the moment I do not have space left on my IDE drives. All I have is a firewire disk. But how to boot from? I do not want to disassamble all. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=255683 ------- Comment #8 from pavel@novell.com 2007-03-27 17:12 MST ------- I know nothing about firewire. You could setup ramfs or something... Now, aic7xxx does contain some suspend/resume routines. So you probably want to add printks there, to make sure they are called. (is aic7770_suspend called on your machine?) ..then possibly figure out why they don't work. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=255683 pavel@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO Info Provider| |Joachim.Reichelt@helmholtz-hzi.de -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=255683 Joachim.Reichelt@helmholtz-hzi.de changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED Info Provider|Joachim.Reichelt@helmholtz- | |hzi.de | ------- Comment #9 from Joachim.Reichelt@helmholtz-hzi.de 2007-04-13 12:38 MST ------- Created an attachment (id=131106) --> (https://bugzilla.novell.com/attachment.cgi?id=131106&action=view) part of /var/log/messages O.K. as I cannot change all, I relocated /var/log to a vfat drive on ide. (and updated to Alpha3) resume does not work at all now. I only got the blinking LEDs on the keyboard. After reboot I had a nice set of messages in var/log/message: Problem I see: # cat /proc/interrupts CPU0 0: 62 IO-APIC-edge timer 1: 2408 IO-APIC-edge i8042 6: 5 IO-APIC-edge floppy 7: 0 IO-APIC-edge parport0 8: 2 IO-APIC-edge rtc 12: 4731 IO-APIC-edge i8042 14: 5803 IO-APIC-edge libata 15: 18376 IO-APIC-edge libata 16: 0 IO-APIC-fasteoi uhci_hcd:usb4 17: 63602 IO-APIC-fasteoi sym53c8xx, ehci_hcd:usb1 18: 117679 IO-APIC-fasteoi aic7xxx, eth1 19: 0 IO-APIC-fasteoi uhci_hcd:usb2 20: 0 IO-APIC-fasteoi uhci_hcd:usb3 21: 458 IO-APIC-fasteoi Intel 82801DB-ICH4 22: 1 IO-APIC-fasteoi acpi 23: 2 IO-APIC-fasteoi ohci1394 NMI: 0 LOC: 233317 ERR: 0 MIS: 0 # lspci 00:00.0 Host bridge: Intel Corporation 82845G/GL[Brookdale-G]/GE/PE DRAM Controller/Host-Hub Interface (rev 03) 00:01.0 PCI bridge: Intel Corporation 82845G/GL[Brookdale-G]/GE/PE Host-to-AGP Bridge (rev 03) 00:1d.0 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1 (rev 02) 00:1d.1 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2 (rev 02) 00:1d.2 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3 (rev 02) 00:1d.7 USB Controller: Intel Corporation 82801DB/DBM (ICH4/ICH4-M) USB2 EHCI Controller (rev 02) 00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 82) 00:1f.0 ISA bridge: Intel Corporation 82801DB/DBL (ICH4/ICH4-L) LPC Interface Bridge (rev 02) 00:1f.1 IDE interface: Intel Corporation 82801DB (ICH4) IDE Controller (rev 02) 00:1f.3 SMBus: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) SMBus Controller (rev 02) 00:1f.5 Multimedia audio controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 02) 01:00.0 VGA compatible controller: nVidia Corporation NV43 [GeForce 6600 GT] (rev a2) 02:05.0 Ethernet controller: Broadcom Corporation BCM4401 100Base-T (rev 01) 02:0b.0 SCSI storage controller: LSI Logic / Symbios Logic 53c810 (rev 02) 02:0c.0 SCSI storage controller: Adaptec AIC-7892A U160/m (rev 02) 02:0d.0 FireWire (IEEE 1394): VIA Technologies, Inc. IEEE 1394 Host Controller (rev 43) So does it help to add printk's to aic7xxx_core.c in ahc_suspend() ahc_resume() or in aic7xxx_pci.c:static int ahc_pci_suspend(struct ahc_softc *ahc); aic7xxx_pci.c:ahc_pci_resume(struct ahc_softc *ahc) -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=255683 ------- Comment #10 from Joachim.Reichelt@helmholtz-hzi.de 2007-04-15 15:08 MST ------- By a search on the OpenSues Mailinglist I just saw: http://lists.opensuse.org/opensuse/2007-03/msg02879.html This it wat what was suggested on #6! So we know, it is the aic7xxx on the AHA 2940U2W -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=255683 ------- Comment #11 from pavel@novell.com 2007-04-16 02:31 MST ------- Ok, next step is to fix the aic7xxx, then ;-). Unfortunately, the messages you have are only during suspend.. I guess bugzilla.kernel.org might 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=255683 ------- Comment #12 from Joachim.Reichelt@helmholtz-hzi.de 2007-04-16 02:57 MST ------- A short search gave me this: http://bugzilla.kernel.org/buglist.cgi?bug_status=UNCONFIRMED&bug_status=NEW&bug_status=OPEN&bug_status=ASSIGNED&bug_status=REOPENED&field0-0-0=product&type0-0-0=substring&value0-0-0=aic7xxx&field0-0-1=component&type0-0-1=substring&value0-0-1=aic7xxx&field0-0-2=short_desc&type0-0-2=substring&value0-0-2=aic7xxx&field0-0-3=status_whiteboard&type0-0-3=substring&value0-0-3=aic7xxx&field1-0-0=product&type1-0-0=substring&value1-0-0=suspend&field1-0-1=component&type1-0-1=substring&value1-0-1=suspend&field1-0-2=short_desc&type1-0-2=substring&value1-0-2=suspend&field1-0-3=status_whiteboard&type1-0-3=substring&value1-0-3=suspend or in cleartext: Bugzilla Bug 3062 aic7xxx doesn't support ACPI suspend Status assigned Opened: 2004-07-13 18:14 Last update: 2006-09-28 09:42 So there seems to be deeper problems. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=255683 ------- Comment #13 from Joachim.Reichelt@helmholtz-hzi.de 2007-04-19 04:59 MST ------- So I added my stuff to kernel.org, lets see, what will go on there -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=255683 ------- Comment #14 from pavel@novell.com 2007-04-22 11:02 MST ------- Actually working link is http://bugzilla.kernel.org/show_bug.cgi?id=3062 . .. but it looks like noone cares about that poor scsi 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=255683 pavel@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |LATER ------- Comment #15 from pavel@novell.com 2007-05-28 04:21 MST ------- Sorry, I do not have affected hardware :-(. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=255683 ------- Comment #16 from Joachim.Reichelt@helmholtz-hzi.de 2007-05-29 03:06 MST ------- So at least do not allow to suspend, if there is a module loaded, that breaks resume. And what is needed to fix it by myself? Does it help do redirect the console to a laptop (and how to catch the output) as I have the HW. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=255683 ------- Comment #17 from pavel@novell.com 2007-05-30 05:03 MST ------- Well, for refusing suspend, patch similar to this should do the trick: --- linux.orig/drivers/firewire/fw-ohci.c +++ linux/drivers/firewire/fw-ohci.c @@ -1908,6 +1908,19 @@ static void pci_remove(struct pci_dev *d fw_notify("Removed fw-ohci device.\n"); } +#ifdef CONFIG_PM +static int pci_suspend(struct pci_dev *dev, pm_message_t state) +{ + fw_notify("ERROR: Unload this driver before hibernate or suspend\n"); + return -ENOSYS; +} + +static int pci_resume(struct pci_dev *dev) +{ + return -ENOSYS; +} +#endif /* CONFIG_PM */ + static struct pci_device_id pci_table[] = { { PCI_DEVICE_CLASS(PCI_CLASS_SERIAL_FIREWIRE_OHCI, ~0) }, { } @@ -1920,6 +1933,10 @@ static struct pci_driver fw_ohci_pci_dri .id_table = pci_table, .probe = pci_probe, .remove = pci_remove, +#ifdef CONFIG_PM + .suspend = pci_suspend, + .resume = pci_resume, +#endif -- 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, or are watching someone who is.
participants (1)
-
bugzilla_noreply@novell.com