Ian Abbott wrote:
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?
>

Hi,

it was idling and gave the kernel error above.

I've just run comedirecord and pulled the plug. That works fine (gives error -1 in userspace) and after plugging it back in it works.

/Bernd
BTW: I've also tried to compile Greg's staging tree but that goes into busybox (no root fs) without a working keyboard / mouse.
--
http://www.berndporr.me.uk
http://www.linux-usb-daq.co.uk
http://www.imdb.com/name/nm3293421/
+44 (0)7840 340069
_______________________________________________
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Reply via email to