[PATCH 1/3] staging: comedi: fix auto-unconfig kernel error

Ian Abbott abbotti at mev.co.uk
Tue Jan 7 10:33:44 UTC 2014


On 2014-01-07 10:01, Bernd Porr wrote:
> Ian Abbott wrote:
>> On 2013-12-28 21:31, Bernd Porr wrote:
>> This doesn't apply to linux-next any more.  (For example,
>> cleanup_device() function was renamed amongst other stuff.)  I've also
>> fixed a load of stuff related to this bug since this patch was
>> applicable, so possibly the bug has been squashed already.
>>
>> Bernd, can you reproduce the problem on the latest tagged linux-next
>> branch?
> I can. Still the same problem as before.
>
> Linux bp1-Dimension-9100 3.13.0-rc7-next-20140106 #1 SMP Tue Jan 7
> 06:36:37 GMT 2014 x86_64 x86_64 x86_64 GNU/Linux
>
> [   74.183729] ------------[ cut here ]------------
> [   74.183741] WARNING: CPU: 0 PID: 28 at fs/sysfs/group.c:216
> sysfs_remove_group+0x93/0xa0()
> [   74.183744] sysfs group ffffffff81caa9e0 not found for kobject
> 'comedi0_subd0'

I'll try and reproduce it.  I don't have the usbdux devices, but I 
should be able to reproduce it with PCI devices that support comedi 
asynchronous commands by removing them via the 
/sys/bus/pci/devices/xxxx:xx:xx.x/remove interface.  (I thought I had 
tested it actually, but must have missed something!).

Was the device in use by a comedi application when disconnected, or was 
it just idle?

-- 
-=( Ian Abbott @ MEV Ltd.    E-mail: <abbotti at mev.co.uk>        )=-
-=( Tel: +44 (0)161 477 1898   FAX: +44 (0)161 718 3587         )=-


More information about the devel mailing list