Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 210748

Summary: sys-kernel/gentoo-sources-2.6.24-r2: crash when disconnecting usb sound device
Product: Gentoo Linux Reporter: Stephan Birkl <sbp>
Component: [OLD] Core systemAssignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers <kernel>
Status: RESOLVED OBSOLETE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
URL: http://bugzilla.kernel.org/show_bug.cgi?id=9196
Whiteboard: watch-linux-bugzilla
Package list:
Runtime testing required: ---
Attachments: dmesg oops output

Description Stephan Birkl 2008-02-19 19:56:34 UTC
I'm using a sony usb headset (snd_usb_audio) with gentoo sources 2.6.24-r2. When i disconnected the device i noticed a kernel OOPS in dmesg which i will attach. I rebooted my machine and tried to reproduce the problem by disconnecting the device. On the first time nothing special happened, but on the second time the whole system freezed.

Reproducible: Always
Comment 1 Stephan Birkl 2008-02-19 19:57:34 UTC
Created attachment 144010 [details]
dmesg oops output
Comment 2 Mike Pagano gentoo-dev 2008-02-24 22:30:31 UTC
Is this related?

It's assigned to gregkh.

http://bugzilla.kernel.org/show_bug.cgi?id=9196
Comment 3 Daniel Drake (RETIRED) gentoo-dev 2008-02-24 23:11:16 UTC
Nice find, certainly identical.

Stephan, please do the following. It will identify the line of code causing the crash. Please post the results on the upstream bug. The following must be done on a kernel which has not been modified (i.e. no compiler or config changes) since your oops message was posted.

# emerge -n gdb
# cd /usr/src/linux
# rm sound/core/control.o
# make CONFIG_DEBUG_INFO=y sound/core/control.o
# gdb sound/core/control.o

Then at the gdb prompt:

# list *snd_ctl_dev_disconnect+0x17
Comment 4 Daniel Drake (RETIRED) gentoo-dev 2008-02-24 23:11:51 UTC
will continue on upstream bug