Re: usb modules after resuming suspend-to-disk cause kernel oops on iBook
"Cédric Boutillier" <[email protected]>
| Newsgroups | gmane.linux.usb.devel |
|---|---|
| Message-ID | <[email protected]> |
Hello, Here are some precisions/updates on this problem : I did some tests with kernel 2.6.21-rc5 compiled with the configuration presented in the file enclosed (I activated some USB verbose options). The method used to suspend-to-disk is invoking the hibernate script with sysfs-disk method. I do not see a oops, but things seem to go wrong with USB resume. The modules loaded at boot are: % lsmod Module Size Used by ipv6 286604 10 lp 13644 0 parport 43344 1 lp snd_powermac 48320 0 fuse 51444 1 dm_snapshot 20448 0 dm_mirror 24404 0 dm_mod 66700 2 dm_snapshot,dm_mirror cpufreq_userspace 4756 1 therm_adt746x 13900 0 snd_aoa_codec_tas 15232 2 snd_aoa_fabric_layout 13960 2 snd_aoa 20736 2 snd_aoa_codec_tas,snd_aoa_fabric_layout joydev 12064 0 snd_aoa_i2sbus 24516 1 snd_pcm_oss 52256 0 snd_mixer_oss 20608 1 snd_pcm_oss snd_pcm 92324 3 snd_powermac,snd_aoa_i2sbus,snd_pcm_oss snd_timer 26052 1 snd_pcm snd_page_alloc 11368 1 snd_pcm snd 67700 13 snd_powermac,snd_aoa_codec_tas,snd_aoa_fabric_layout,snd_aoa,snd_aoa_i2sbus,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer soundcore 9060 1 snd appletouch 10880 0 snd_aoa_soundbus 8068 2 snd_aoa_fabric_layout,snd_aoa_i2sbus bcm43xx 441308 0 firmware_class 11360 1 bcm43xx ieee80211softmac 32128 1 bcm43xx ieee80211 34920 2 bcm43xx,ieee80211softmac ieee80211_crypt 6656 1 ieee80211 uninorth_agp 11884 1 agpgart 40476 1 uninorth_agp tsdev 9280 0 evdev 12608 12 ext3 153544 1 jbd 68040 1 ext3 mbcache 9700 1 ext3 sungem 34628 0 sungem_phy 13024 1 sungem ehci_hcd 51980 0 usbhid 47236 0 hid 62528 1 usbhid ff_memless 6248 1 usbhid ide_disk 18944 3 ohci1394 41680 0 ide_cd 47364 0 cdrom 43356 1 ide_cd ieee1394 110928 1 ohci1394 i2c_powermac 6112 0 When I do not unload anything, the system resumes but then seems to enter into an infinite loop : I cannot interact with the computer. When I unload the following modules before suspending: ehci_hcd appletouch usbhid hid ff_memless joydev tsdev sungem sungem_phy lp parport bcm43xx ieee80211softmac ieee80211 ieee80211_crypt ohci1394 ieee1394 firmware_class The system resumes, and I get to a prompt. But I see the following messages: usb 1-2: USB disconnect address 3 usb usb2: root hub lost power or was reset usb usb3: root hub lost power or was reset I see a long (infinite?) collection of messages in syslogfs: Apr 1 14:18:16 localhost kernel: hub 1-0:1.0: port 1, status 0105, change 0000, 12 Mb/s Apr 1 14:18:16 localhost kernel: hub 1-0:1.0: port 1 status 0000.0105 after resume, 0 Apr 1 14:18:16 localhost kernel: hub 1-0:1.0: logical disconnect on port 1 Apr 1 14:18:16 localhost kernel: hub 1-0:1.0: can't clear suspend on port 1; -19 Apr 1 14:18:16 localhost kernel: hub 1-0:1.0: port 2, status 0105, change 0000, 12 Mb/s Apr 1 14:18:16 localhost kernel: hub 1-0:1.0: port 2 status 0000.0105 after resume, 0 Apr 1 14:18:16 localhost kernel: hub 1-0:1.0: logical disconnect on port 2 Apr 1 14:18:16 localhost kernel: hub 1-0:1.0: can't clear suspend on port 2; -19 Apr 1 14:18:16 localhost kernel: hub 1-0:1.0: state 7 ports 2 chg 0006 evt 0000 Apr 1 14:18:16 localhost kernel: hub 1-0:1.0: port 1, status 0105, change 0000, 12 Mb/s Apr 1 14:18:16 localhost kernel: hub 1-0:1.0: port 1 status 0000.0105 after resume, 0 Apr 1 14:18:16 localhost kernel: hub 1-0:1.0: logical disconnect on port 1 Apr 1 14:18:16 localhost kernel: hub 1-0:1.0: can't clear suspend on port 1; -19 Apr 1 14:18:16 localhost kernel: hub 1-0:1.0: port 2, status 0105, change 0000, 12 Mb/s Apr 1 14:18:16 localhost kernel: hub 1-0:1.0: port 2 status 0000.0105 after resume, 0 I can reload all the modules I removed (in inverse order, from the end) until : usbhid. modprobe usbhid. 'modprobe usbhid' is not responding, but I still can open another tty and login. Everything concerning usb has the same behaviour : lsusb,.... I attach also a piece of syslog (first boot, suspend, resume). The modules are removed, and suspend starts at at 14:16:43. I hope it enlightens the situation. Thanks in advance, Cedric ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ [email protected] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
config-2.6.21-rc5-powerpc.gz
(application/x-gzip, 16.6 KB) - not displayed
syslog.txt.gz
(application/x-gzip, 7.8 KB) - not displayed