kernel oops when unplugging usbdux

Bug #1281298 reported by Bernd Porr
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Triaged
Medium
Unassigned

Bug Description

This is a bug which has been fixed upstream:

https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/commit/drivers/staging/comedi?id=52ef9e7cb317fcb7f8b63f1bec7271e40341ce98

[ 594.994904] Call Trace:
[ 594.994920] [<ffffffff81709bd5>] dump_stack+0x45/0x56
[ 594.994931] [<ffffffff8106450d>] warn_slowpath_common+0x7d/0xa0
[ 594.994938] [<ffffffff8106457c>] warn_slowpath_fmt+0x4c/0x50
[ 594.994946] [<ffffffff8122eade>] ? sysfs_get_dirent_ns+0x4e/0x70
[ 594.994953] [<ffffffff8122fdb6>] sysfs_remove_group+0xc6/0xd0
[ 594.994961] [<ffffffff81489d33>] dpm_sysfs_remove+0x43/0x50
[ 594.994970] [<ffffffff8147f765>] device_del+0x45/0x1c0
[ 594.994976] [<ffffffff8147f8fe>] device_unregister+0x1e/0x60
[ 594.994982] [<ffffffff8147f9bc>] device_destroy+0x3c/0x50
[ 594.994999] [<ffffffffa042e525>] comedi_free_subdevice_minor+0x75/0xa0 [comedi]
[ 594.995011] [<ffffffffa042ef68>] comedi_device_detach+0x48/0x160 [comedi]
[ 594.995020] [<ffffffffa042b2b3>] comedi_device_cleanup+0x33/0x90 [comedi]
[ 594.995029] [<ffffffffa042b346>] comedi_free_board_dev+0x36/0x50 [comedi]
[ 594.995038] [<ffffffffa042e3b0>] comedi_release_hardware_device+0x80/0x90 [comedi]
[ 594.995048] [<ffffffffa042ea63>] comedi_auto_unconfig+0x13/0x20 [comedi]
[ 594.995059] [<ffffffffa0430112>] comedi_usb_auto_unconfig+0x12/0x20 [comedi]
[ 594.995067] [<ffffffff81536bb4>] usb_unbind_interface+0x64/0x1c0
[ 594.995075] [<ffffffff8148347f>] __device_release_driver+0x7f/0xf0
[ 594.995081] [<ffffffff81483513>] device_release_driver+0x23/0x30
[ 594.995087] [<ffffffff81482d98>] bus_remove_device+0x108/0x180
[ 594.995093] [<ffffffff8147f849>] device_del+0x129/0x1c0
[ 594.995100] [<ffffffff81534590>] usb_disable_device+0xb0/0x290
[ 594.995108] [<ffffffff8152914d>] usb_disconnect+0xad/0x200
[ 594.995115] [<ffffffff8152bb95>] hub_port_connect_change+0xd5/0xb50
[ 594.995121] [<ffffffff81532f94>] ? usb_control_msg+0xd4/0x110
[ 594.995128] [<ffffffff8152cad4>] hub_events+0x4c4/0xa20
[ 594.995135] [<ffffffff8152d065>] hub_thread+0x35/0x160
[ 594.995144] [<ffffffff810a8940>] ? prepare_to_wait_event+0x100/0x100
[ 594.995151] [<ffffffff8152d030>] ? hub_events+0xa20/0xa20
[ 594.995159] [<ffffffff810880f2>] kthread+0xd2/0xf0
[ 594.995165] [<ffffffff81088020>] ? kthread_create_on_node+0x190/0x190
[ 594.995174] [<ffffffff8171a4fc>] ret_from_fork+0x7c/0xb0
[ 594.995181] [<ffffffff81088020>] ? kthread_create_on_node+0x190/0x190
[ 594.995186] ---[ end trace 45b9c5978e289ccb ]---

It would be probably very benefical to commit all bug fixes from the latest linux stable for the comedi branch. In order to get this moved to the normal driver tree loads of tidying up has happend last year which inevitably has lead to new bugs which we sorted in Jan and are now in the latest stable kernel.

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: linux-image-3.13.0-8-generic 3.13.0-8.28
ProcVersionSignature: Ubuntu 3.13.0-8.28-generic 3.13.2
Uname: Linux 3.13.0-8-generic x86_64
ApportVersion: 2.13.2-0ubuntu4
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC1: bp1 1405 F.... pulseaudio
 /dev/snd/controlC0: bp1 1405 F.... pulseaudio
Date: Mon Feb 17 21:03:38 2014
HibernationDevice: RESUME=UUID=b6911a72-ca8c-451f-980b-5f16df4e94f3
InstallationDate: Installed on 2013-12-09 (69 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Alpha amd64 (20131209)
IwConfig:
 eth0 no wireless extensions.

 lo no wireless extensions.
MachineType: Dell Inc. Dimension 9100
ProcFB: 0 radeondrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.13.0-8-generic root=UUID=781db715-a195-4dda-b877-9f7c87a81821 ro
RelatedPackageVersions:
 linux-restricted-modules-3.13.0-8-generic N/A
 linux-backports-modules-3.13.0-8-generic N/A
 linux-firmware 1.124
RfKill:

SourcePackage: linux
StagingDrivers: usbduxsigma comedi comedi_fc
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 05/25/2005
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A01
dmi.board.name: 0X8582
dmi.board.vendor: Dell Inc.
dmi.chassis.type: 7
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.:bvrA01:bd05/25/2005:svnDellInc.:pnDimension9100:pvr:rvnDellInc.:rn0X8582:rvr:cvnDellInc.:ct7:cvr:
dmi.product.name: Dimension 9100
dmi.sys.vendor: Dell Inc.

Revision history for this message
Bernd Porr (berndporr) wrote :
Revision history for this message
Brad Figg (brad-figg) wrote : Status changed to Confirmed

This change was made by a bot.

Changed in linux (Ubuntu):
status: New → Confirmed
Changed in linux (Ubuntu):
importance: Undecided → Medium
Changed in linux (Ubuntu):
status: Confirmed → Triaged
Revision history for this message
Bernd Porr (berndporr) wrote :

this patch fixes it:

https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/commit/drivers/staging/comedi?id=52ef9e7cb317fcb7f8b63f1bec7271e40341ce98

however as I said before I would recommend applying all patches up to the current stable kernel because we did quite a lot of cleanup work.

I'm happy to test any patched kernels.

Revision history for this message
Bernd Porr (berndporr) wrote :

I've tested with the 3.14 kernel from the ubuntu PPA and it works perfectly with it.
Linux bp1-Dimension-9100 3.14.1-031401-generic #201404141220 SMP Mon Apr 14 16:21:48 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

Also the 3.15 kernel from the ubuntu PPA it works perfectly.
Linux bp1-x61 3.15.0-031500-generic #201406131105 SMP Fri Jun 13 15:26:26 UTC 2014 i686 i686 i686 GNU/Linux

In the comedi project we worked pretty hard to have a perfect version of comedi in the 3.14 kernel so would love to see this version in the ubuntu Trusty LTS.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.