[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

2.6.6 and usb problem (was Re: X on an iBook Radeom Mobility 7500 (sarge)?)



According to Cedric Pradalier, on Tue, 1 Jun 2004 23:23:37 +0200, 
>According to Jens Schmalzing, on 01 Jun 2004 22:34:53 +0200, 
>>Hi,
>>
>>Sven Luther writes:
>>
>>> > And I would suggest to use kernel-image 2.6.5-powerpc, which has
>>> > everything(including 3D acceleration) working perfectly. 
>>> 
>>> I doubt 2.6.5-powerpc is still available.
>>
>>It's not in sid any more, but hasn't expired from sarge yet.  This
>>could happen anytime, though, so nobody should recommend it.
>>
>>> > Depending on your usage of USB you may not use 2.6.6-1
>>> > kernel-image which is a bit unstable regarding USB
>>> 
>>> Ah, so you see that also on pmac ?  I have also problems with that,
>>> altough on pegasos hardware.  2.6.4 seemed to exhibit the same
>>> problem though, maybe to a lesser degree though, so i don't know if
>>> this was not the case in 2.6.5.
>>
>>By all means, try to reproduce it as good as you can and then file a
>>bug report.  No use sticking with obsolete kernel revisions for fear
>>of them being `a bit unstable' and never finding out the reason.
>
>Damn'it ! It has just been solved in 2.6.6-2. 
>I'm sure it was present in 2.6.6-1.
>I can't reproduce it now.
>
>Just a minor bug : after sleep, ohci_hcd does not see my speedtouch usb
>modem anymore. I had to rmmod/modprobe ohci-hcd module in
>/etc/power/pwrctl-local. Not a real problem.
>

Ok I found the responsible even if it's not the solution. I copy here
the bug report for speedtouch package since I don't know if it is a
kernel bug or a speedtouch bug. Nevertheless, it makes me stay with
2.6.5...

Hi,
	Since linux 2.6.6 (not present in 2.6.5), modem_run makes ohci-hcd oops
	when rmmoded. The oops is completely repeatable and completely
dependant of	modem_run. It appears in the following conditions : 
	I boot in 2.6.6-powerpc with the following modules 
	usbhid                 31264  0 
	n_hdlc                 10888  1 
	ohci_hcd               24260  0 
	usbcore               125144  5 usb_storage,usbhid,ohci_hcd
	Not the speedtouch kernel module.

	I launch modem_run -s -f mgmt.o. This gives the syslog output : 
 
 modem_run[752]: [monitoring report] ADSL link went up 
 modem_run[747]: ADSL synchronization has been obtained 
 modem_run[747]: ADSL line is up (640 kbit/s down | 160 kbit/s up) 
 modem_run[752]: Error reading interrupts 
 modem_run[752]: [monitoring report] ADSL link went down 
 modem_run[752]: Device disconnected, shutting down
 modem_run[747]: pusb_release_interface 2 failed

	Output is the same with the speedtouch kernel driver.
	I then start and stop pppd.

	Then when I rmmod ohci_hcd (too put my ibook to sleep) or when I unplug
	the modem, I got the following	oops : 
	
ohci_hcd 0001:01:18.0: remove, state 1
usb usb1: USB disconnect, address 1
usb 1-1: USB disconnect, address 2
Oops: kernel access of bad area, sig: 11 [#1]
NIP: DA218A54 LR: DA20F114 SP: D21A1CC0 REGS: d21a1c10 TRAP: 0301
Tainted: GF 
MSR: 00001032 EE: 0 PR: 0 FP: 0 ME: 1 IR/DR: 11
DAR: 00000004, DSISR: 40000000
TASK = d2fb2680[898] 'rmmod' THREAD: d21a0000Last syscall: 129 
GPR00: 00000000 D21A1CC0 D2FB2680 D6809B98 D6809BB8 00000000
00000000 D7D450A4 
GPR08: 00009032 00000000 D6809A18 00000000 FFFFFFFA 
NIP [da218a54] destroy_async+0x34/0xdc [usbcore]
LR [da20f114] usb_unbind_interface+0x88/0x8c [usbcore]
Call trace:
[da20f114] usb_unbind_interface+0x88/0x8c [usbcore]
[c00cc5dc] device_release_driver+0x84/0x88
[c00cc77c] bus_remove_device+0x74/0xd0
[c00cb158] device_del+0xa8/0x114
[c00cb1dc] device_unregister+0x18/0x30
[da215970] usb_disable_device+0x9c/0xd8 [usbcore]
[da20fe58] usb_disconnect+0x9c/0x134 [usbcore]
[da20fee0] usb_disconnect+0x124/0x134 [usbcore]
[da2182e4] usb_hcd_pci_remove+0x7c/0x164 [usbcore]
[c00ad6d4] pci_device_remove+0x60/0x64
[c00cc5dc] device_release_driver+0x84/0x88
[c00cc60c] driver_detach+0x2c/0x50
[c00cc908] bus_remove_driver+0x50/0xa8
[c00cccf0] driver_unregister+0x18/0x78
[c00ad924] pci_unregister_driver+0x1c/0x34

	I don't know if it is kernel related, but it only appears with my
	speedtouch modem. 


-- 
Cedric

"[Of course] I'm French! Why do think I have this outrageous 
accent, you silly king-a?!"  Monty Python and the Holy Grail



Reply to: