LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* 2.6.21-rc1: mmc reader no longer works, usb oops
@ 2007-02-27 10:36 Pavel Machek
  2007-02-27 10:46 ` Oliver Neukum
  0 siblings, 1 reply; 4+ messages in thread
From: Pavel Machek @ 2007-02-27 10:36 UTC (permalink / raw)
  To: kernel list; +Cc: Greg KH

Hi!

MMC card reader in x60 no longer works in -rc1. (Will have to check if
it worked before s2ram).

When playing with usb-serial, I got this oops (upon trying to start
minicom /dev/ttyUSB0 while linux gadget on the other end was
crashing).
								Pavel
...
usbcore: registered new interface driver usbserial
drivers/usb/serial/usb-serial.c: USB Serial support registered for generic
usbcore: registered new interface driver usbserial_generic
drivers/usb/serial/usb-serial.c: USB Serial Driver core
usb 2-2: USB disconnect, address 6
PM: Removing info for No Bus:usbdev2.6_ep84
PM: Removing info for usb:2-2:1.0
PM: Removing info for No Bus:usbdev2.6_ep82
PM: Removing info for No Bus:usbdev2.6_ep03
PM: Removing info for usb:2-2:1.1
PM: Removing info for No Bus:usbdev2.6
PM: Removing info for No Bus:usbdev2.6_ep00
PM: Removing info for usb:2-2
usb 2-2: new full speed USB device using uhci_hcd and address 7
PM: Adding info for usb:2-2
PM: Adding info for No Bus:usbdev2.7_ep00
usb 2-2: configuration #1 chosen from 1 choice
PM: Adding info for usb:2-2:1.0
usbserial_generic 2-2:1.0: generic converter detected
PM: Adding info for usb-serial:ttyUSB72
PM: Adding info for No Bus:ttyUSB72
usb 2-2: generic converter now attached to ttyUSB72
PM: Adding info for No Bus:usbdev2.7_ep01
PM: Adding info for No Bus:usbdev2.7_ep82
PM: Adding info for No Bus:usbdev2.7_ep83
PM: Adding info for No Bus:usbdev2.7
usb 2-2: USB disconnect, address 7
PM: Removing info for No Bus:usbdev2.7_ep01
PM: Removing info for No Bus:usbdev2.7_ep82
PM: Removing info for No Bus:usbdev2.7_ep83
PM: Removing info for No Bus:ttyUSB72
generic ttyUSB72: generic converter now disconnected from ttyUSB72
PM: Removing info for usb-serial:ttyUSB72
usbserial_generic 2-2:1.0: device disconnected
PM: Removing info for usb:2-2:1.0
PM: Removing info for No Bus:usbdev2.7
PM: Removing info for No Bus:usbdev2.7_ep00
PM: Removing info for usb:2-2
BUG: unable to handle kernel NULL pointer dereference at virtual address 00000014
 printing eip:
c0620657
*pde = 00000000
Oops: 0002 [#1]
SMP 
Modules linked in: usbserial
CPU:    0
EIP:    0060:[<c0620657>]    Not tainted VLI
EFLAGS: 00010046   (2.6.21-rc1 #404)
EIP is at __mutex_lock_interruptible_slowpath+0x27/0x270
eax: ed832000   ebx: 00000010   ecx: ffffffed   edx: 0000006b
esi: 00000246   edi: c217c030   ebp: 00000010   esp: ed833e5c
ds: 007b   es: 007b   fs: 00d8  gs: 0033  ss: 0068
Process minicom (pid: 7929, ti=ed832000 task=c217c030 task.ti=ed832000)
Stack: 00000000 c02dd875 f6f58000 c0170b42 f2f0a308 00000000 c078a3e0 ed833ec8 
       00000000 00000004 c20d50e8 f76ec3ec 00000010 f8cdae7c c02da5a4 22222222 
       22222222 f714e1b0 ffffffed ffffffed f714e1b0 0bc00000 f76ec3ec c02ddcdb 
Call Trace:
 [<c02dd875>] init_dev+0x2c5/0x5e0
 [<c0170b42>] get_unused_fd+0x52/0xc0
 [<f8cdae7c>] serial_open+0x5c/0x180 [usbserial]
 [<c02da5a4>] check_tty_count+0x14/0xb0
 [<c02ddcdb>] tty_open+0x14b/0x2c0
 [<c017443d>] chrdev_open+0xad/0x1a0
 [<c0174390>] chrdev_open+0x0/0x1a0
 [<c0170f88>] __dentry_open+0xb8/0x1d0
 [<c0171155>] nameidata_to_filp+0x35/0x40
 [<c01711ab>] do_filp_open+0x4b/0x60
 [<c016d46e>] cache_alloc_debugcheck_after+0x3e/0x150
 [<c0170b42>] get_unused_fd+0x52/0xc0
 [<c017120a>] do_sys_open+0x4a/0xe0
 [<c01712dc>] sys_open+0x1c/0x20
 [<c0104110>] syscall_call+0x7/0xb
 =======================
Code: 00 00 00 00 55 57 56 53 89 c3 83 ec 24 89 e0 25 00 e0 ff ff 64 8b 3d 08 00 00 00 f7 40 14 00 ff ff 0f 0f 85 f7 01 00 00 9c 5e fa <f0> fe 4b 04 79 0a f3 90 80 7b 04 00 7e f8 eb f0 3b 5b 18 0f 85 
EIP: [<c0620657>] __mutex_lock_interruptible_slowpath+0x27/0x270 SS:ESP 0068:ed833e5c
usb 2-2: new full speed USB device using uhci_hcd and address 8
Slab corruption: start=c20d50e8, len=64
Redzone: 0x5a2cf071/0x5a2cf071.
Last user: [<c0254d58>](kobject_uevent_env+0x3b8/0x4e0)
030: 6b 6b 6b 6b 6c 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b a5
Next obj: start=c20d5134, len=64
Redzone: 0x170fc2a5/0x170fc2a5.
Last user: [<c016dc25>](cache_alloc_refill+0x4f5/0x6c0)
000: 90 ce 7b f7 74 cf 7b f7 00 00 00 00 00 00 25 f7
010: 08 00 00 00 ff ff ff ff 00 00 5a 5a fe ff ff ff
PM: Adding info for usb:2-2
PM: Adding info for No Bus:usbdev2.8_ep00
usb 2-2: configuration #1 chosen from 2 choices
PM: Adding info for usb:2-2:1.0
PM: Adding info for No Bus:usb0
usb0: register 'cdc_ether' at usb-0000:00:1d.0-2, CDC Ethernet Device, 4e:32:36:a7:73:2e
PM: Adding info for No Bus:usbdev2.8_ep83
PM: Adding info for usb:2-2:1.1
PM: Adding info for No Bus:usbdev2.8_ep81
PM: Adding info for No Bus:usbdev2.8_ep02
PM: Adding info for No Bus:usbdev2.8
usb 2-2: USB disconnect, address 8
PM: Removing info for No Bus:usbdev2.8_ep83
usb0: unregister 'cdc_ether' usb-0000:00:1d.0-2, CDC Ethernet Device
PM: Removing info for No Bus:usb0
PM: Removing info for usb:2-2:1.0
PM: Removing info for No Bus:usbdev2.8_ep81
PM: Removing info for No Bus:usbdev2.8_ep02
PM: Removing info for usb:2-2:1.1
PM: Removing info for No Bus:usbdev2.8
PM: Removing info for No Bus:usbdev2.8_ep00
PM: Removing info for usb:2-2
usb 2-2: new full speed USB device using uhci_hcd and address 9
PM: Adding info for usb:2-2
PM: Adding info for No Bus:usbdev2.9_ep00
usb 2-2: configuration #1 chosen from 1 choice
PM: Adding info for usb:2-2:1.0
PM: Adding info for No Bus:usbdev2.9_ep84
PM: Adding info for usb:2-2:1.1
PM: Adding info for No Bus:usbdev2.9_ep82
PM: Adding info for No Bus:usbdev2.9_ep03
PM: Adding info for No Bus:usbdev2.9




-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: 2.6.21-rc1: mmc reader no longer works, usb oops
  2007-02-27 10:36 2.6.21-rc1: mmc reader no longer works, usb oops Pavel Machek
@ 2007-02-27 10:46 ` Oliver Neukum
  2007-02-27 21:23   ` Pavel Machek
  2007-02-27 21:29   ` Pavel Machek
  0 siblings, 2 replies; 4+ messages in thread
From: Oliver Neukum @ 2007-02-27 10:46 UTC (permalink / raw)
  To: Pavel Machek; +Cc: kernel list, Greg KH

Am Dienstag, 27. Februar 2007 11:36 schrieb Pavel Machek:
> Hi!
> 
> MMC card reader in x60 no longer works in -rc1. (Will have to check if
> it worked before s2ram).
> 
> When playing with usb-serial, I got this oops (upon trying to start
> minicom /dev/ttyUSB0 while linux gadget on the other end was
> crashing).

Does this help?

--- a/drivers/usb/serial/usb-serial.c	2007-02-21 05:32:30.000000000 +0100
+++ b/drivers/usb/serial/usb-serial.c	2007-02-26 15:32:50.000000000 +0100
@@ -826,7 +826,6 @@
 			num_ports = type->num_ports;
 	}
 
-	serial->minor = minor;
 	serial->num_ports = num_ports;
 	serial->num_bulk_in = num_bulk_in;
 	serial->num_bulk_out = num_bulk_out;
@@ -980,6 +979,7 @@
 		dev_err(&interface->dev, "No more free serial devices\n");
 		goto probe_error;
 	}
+	serial->minor = minor;
 
 	/* register all of the individual ports with the driver core */
 	for (i = 0; i < num_ports; ++i) {

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: 2.6.21-rc1: mmc reader no longer works, usb oops
  2007-02-27 10:46 ` Oliver Neukum
@ 2007-02-27 21:23   ` Pavel Machek
  2007-02-27 21:29   ` Pavel Machek
  1 sibling, 0 replies; 4+ messages in thread
From: Pavel Machek @ 2007-02-27 21:23 UTC (permalink / raw)
  To: Oliver Neukum; +Cc: kernel list, Greg KH

Hi!

> > MMC card reader in x60 no longer works in -rc1. (Will have to check if
> > it worked before s2ram).

It is broken even without s2ram.

> > When playing with usb-serial, I got this oops (upon trying to start
> > minicom /dev/ttyUSB0 while linux gadget on the other end was
> > crashing).
> 
> Does this help?

Will test, but... I do not know how reproducible the bug is.
									Pavel

-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: 2.6.21-rc1: mmc reader no longer works, usb oops
  2007-02-27 10:46 ` Oliver Neukum
  2007-02-27 21:23   ` Pavel Machek
@ 2007-02-27 21:29   ` Pavel Machek
  1 sibling, 0 replies; 4+ messages in thread
From: Pavel Machek @ 2007-02-27 21:29 UTC (permalink / raw)
  To: Oliver Neukum; +Cc: kernel list, Greg KH

Hi!

> > MMC card reader in x60 no longer works in -rc1. (Will have to check if
> > it worked before s2ram).
> > 
> > When playing with usb-serial, I got this oops (upon trying to start
> > minicom /dev/ttyUSB0 while linux gadget on the other end was
> > crashing).
> 
> Does this help?

Not sure... two new oopsen why trying to use it... (But this time at
least I connected; I _hope_ I applied the patch _before_ loading the module...)

PM: Adding info for No Bus:usbdev2.11_ep83
PM: Adding info for usb:2-2:1.1
PM: Adding info for No Bus:usbdev2.11_ep81
PM: Adding info for No Bus:usbdev2.11_ep02
PM: Adding info for No Bus:usbdev2.11
usb 2-2: USB disconnect, address 11
PM: Removing info for No Bus:usbdev2.11_ep83
usb0: unregister 'cdc_ether' usb-0000:00:1d.0-2, CDC Ethernet Device
PM: Removing info for No Bus:usb0
PM: Removing info for usb:2-2:1.0
PM: Removing info for No Bus:usbdev2.11_ep81
PM: Removing info for No Bus:usbdev2.11_ep02
PM: Removing info for usb:2-2:1.1
PM: Removing info for No Bus:usbdev2.11
PM: Removing info for No Bus:usbdev2.11_ep00
PM: Removing info for usb:2-2
usb 2-2: new full speed USB device using uhci_hcd and address 12
PM: Adding info for usb:2-2
PM: Adding info for No Bus:usbdev2.12_ep00
usb 2-2: configuration #1 chosen from 1 choice
PM: Adding info for usb:2-2:1.0
usbserial_generic 2-2:1.0: generic converter detected
PM: Adding info for usb-serial:ttyUSB0
PM: Removing info for usb-serial:ttyUSB0
usb-serial ttyUSB0: Error registering port device, continuing
PM: Adding info for No Bus:usbdev2.12_ep01
PM: Adding info for No Bus:usbdev2.12_ep82
PM: Adding info for No Bus:usbdev2.12_ep83
PM: Adding info for No Bus:usbdev2.12
PM: Removing info for No Bus:ttyUSB0
generic ttyUSB0: generic converter now disconnected from ttyUSB0
PM: Removing info for usb-serial:ttyUSB0
usb 2-2: USB disconnect, address 12
PM: Removing info for No Bus:usbdev2.12_ep01
PM: Removing info for No Bus:usbdev2.12_ep82
PM: Removing info for No Bus:usbdev2.12_ep83
BUG: unable to handle kernel NULL pointer dereference at virtual address 00000010
 printing eip:
c061eca4
*pde = 00000000
BUG: soft lockup detected on CPU#1!
 [<c014fe19>] softlockup_tick+0xa9/0xd0
 [<c0131e83>] update_process_times+0x33/0x80
 [<c0143062>] tick_periodic+0x22/0x70
 [<c01430c7>] tick_handle_periodic+0x17/0x70
 [<c011b99e>] smp_apic_timer_interrupt+0x4e/0x80
 [<c0104b68>] apic_timer_interrupt+0x28/0x30
 [<c061007b>] _copy_to_pages+0x5b/0xc0
 [<c0258784>] delay_tsc+0x14/0x20
 [<c02587c6>] __delay+0x6/0x10
 [<c0120c4b>] do_page_fault+0x35b/0x600
 [<c01208f0>] do_page_fault+0x0/0x600
 [<c0621a4c>] error_code+0x7c/0x84
 [<c061eca4>] klist_del+0x14/0x50
 [<c032af5b>] device_del+0x1b/0x1d0
 [<c032b118>] device_unregister+0x8/0x10
 [<f8cc20a7>] destroy_serial+0x87/0x110 [usbserial]
 [<f8cc2020>] destroy_serial+0x0/0x110 [usbserial]
 [<c0254f1b>] kref_put+0x2b/0x80
 [<c013242e>] del_timer_sync+0xe/0x20
 [<f8cc1a60>] usb_serial_disconnect+0x70/0xd0 [usbserial]
 [<c0254f1b>] kref_put+0x2b/0x80
 [<c0458be0>] usb_unbind_interface+0x50/0xa0
 [<c032cea8>] __device_release_driver+0x68/0xb0
 [<c032d24e>] device_release_driver+0x1e/0x40
 [<c032c77b>] bus_remove_device+0x8b/0xa0
 [<c032b0a9>] device_del+0x169/0x1d0
 [<c0456b5d>] usb_disable_device+0x4d/0x100
 [<c0450baa>] usb_disconnect+0x9a/0x120
 [<c0453575>] hub_thread+0x3d5/0xe20
 [<c0121b61>] __activate_task+0x21/0x40
 [<c012494f>] try_to_wake_up+0x3f/0x420
 [<c013d170>] autoremove_wake_function+0x0/0x50
 [<c04531a0>] hub_thread+0x0/0xe20
 [<c013d0bc>] kthread+0xec/0xf0
 [<c013cfd0>] kthread+0x0/0xf0
 [<c0104cab>] kernel_thread_helper+0x7/0x1c
 =======================
Oops: 0000 [#1]
SMP 
Modules linked in: usbserial
CPU:    1
EIP:    0060:[<c061eca4>]    Not tainted VLI
EFLAGS: 00010296   (2.6.21-rc1 #404)
EIP is at klist_del+0x14/0x50
eax: 00000000   ebx: 00000000   ecx: f522d678   edx: 00000001
esi: f53a0510   edi: f52e0da8   ebp: f53a0510   esp: c22d5dd8
ds: 007b   es: 007b   fs: 00d8  gs: 0000  ss: 0068
Process khubd (pid: 271, ti=c22d4000 task=c2205a30 task.ti=c22d4000)
Stack: f52e0d94 f53a0510 f52e0d94 c032af5b f522d678 f52e0d94 f53a0510 00000000 
       f53a0510 c032b118 00000001 f8cc20a7 f7f6134c f7f61350 f53a0510 f53a0510 
       f53a0544 f8cc2020 f53a0514 f53a0510 c0254f1b c013242e f52e0d04 00000000 
Call Trace:
 [<c032af5b>] device_del+0x1b/0x1d0
 [<c032b118>] device_unregister+0x8/0x10
 [<f8cc20a7>] destroy_serial+0x87/0x110 [usbserial]
 [<f8cc2020>] destroy_serial+0x0/0x110 [usbserial]
 [<c0254f1b>] kref_put+0x2b/0x80
 [<c013242e>] del_timer_sync+0xe/0x20
 [<f8cc1a60>] usb_serial_disconnect+0x70/0xd0 [usbserial]
 [<c0254f1b>] kref_put+0x2b/0x80
 [<c0458be0>] usb_unbind_interface+0x50/0xa0
 [<c032cea8>] __device_release_driver+0x68/0xb0
 [<c032d24e>] device_release_driver+0x1e/0x40
 [<c032c77b>] bus_remove_device+0x8b/0xa0
 [<c032b0a9>] device_del+0x169/0x1d0
 [<c0456b5d>] usb_disable_device+0x4d/0x100
 [<c0450baa>] usb_disconnect+0x9a/0x120
 [<c0453575>] hub_thread+0x3d5/0xe20
 [<c0121b61>] __activate_task+0x21/0x40
 [<c012494f>] try_to_wake_up+0x3f/0x420
 [<c013d170>] autoremove_wake_function+0x0/0x50
 [<c04531a0>] hub_thread+0x0/0xe20
 [<c013d0bc>] kthread+0xec/0xf0
 [<c013cfd0>] kthread+0x0/0xf0
 [<c0104cab>] kernel_thread_helper+0x7/0x1c
 =======================
Code: 04 89 46 04 89 4a 04 89 11 c6 03 01 8b 1c 24 8b 74 24 04 83 c4 08 c3 83 ec 0c 89 7c 24 08 89 c7 89 1c 24 89 74 24 04 8b 18 89 d8 <8b> 73 10 e8 f4 29 00 00 89 f8 e8 ad fe ff ff 85 c0 b8 00 00 00 
EIP: [<c061eca4>] klist_del+0x14/0x50 SS:ESP 0068:c22d5dd8


> --- a/drivers/usb/serial/usb-serial.c	2007-02-21 05:32:30.000000000 +0100
> +++ b/drivers/usb/serial/usb-serial.c	2007-02-26 15:32:50.000000000 +0100
> @@ -826,7 +826,6 @@
>  			num_ports = type->num_ports;
>  	}
>  
> -	serial->minor = minor;
>  	serial->num_ports = num_ports;
>  	serial->num_bulk_in = num_bulk_in;
>  	serial->num_bulk_out = num_bulk_out;
> @@ -980,6 +979,7 @@
>  		dev_err(&interface->dev, "No more free serial devices\n");
>  		goto probe_error;
>  	}
> +	serial->minor = minor;
>  
>  	/* register all of the individual ports with the driver core */
>  	for (i = 0; i < num_ports; ++i) {

-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-02-27 21:37 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-27 10:36 2.6.21-rc1: mmc reader no longer works, usb oops Pavel Machek
2007-02-27 10:46 ` Oliver Neukum
2007-02-27 21:23   ` Pavel Machek
2007-02-27 21:29   ` Pavel Machek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).