Hi Ian, Sorry should have said that the patch was on the linux-next git (but didn't apply Greg's staging remote because it didn't compile at the time I made the patches but I checked that there were no patches in the comedi secion that time). Obviously we need to sort out the comedi remove properly and thanks for pointing that out. At least we know where the kernel ooops has been caused. Ian, could there be a similar issue in the coldplug procedure I could look into? It's very rare that after a cold boot the autoconfig fails. Annoyingly this hasn't happended after I've put in the line reporting failure / success. I'll also re-submit the other patch with the auto-config status report. I think there's a grammatical mistake (native speakers, can you check). I'm online but only back on my testing computer on the 5th (testing the new Ubuntu LTS and the kernel at the same time, except of these small probs it's already working nicely!). Merry Xmas! /Bernd > On 20/12/13 23:48, Bernd Porr wrote: >> Hi all, >> >> here is another patch which fixes a kernel warning where a subdevice is >> released which no longer exists. The subdevice was removed before the >> main comedi device. The functions for the main dev removal and the >> subdevice were in different files/modules, were called from different >> subsystems and I've moved them together to make sure the order is right. >> >> There is still a problem that the subdevices are sometimes not generated >> at boot time (cold boot) but hotplug does. I don't get any error >> messages though so firmware load is probably not the problem. I've put >> loads of the printk in it but then the error disappears (!). Seems to be >> a very tight race condition. >> >> /Bernd > > Hi Bernd, > > I won't be able to look at this until the new year, but it looks like it > will will break detachment via the COMEDI_DEVCONFIG ioctl (as used by > comedi_config -r /dev/comedi0). Also, I've no idea what git tree/branch > you're based on. > > -- > -=( Ian Abbott @ MEV Ltd. E-mail: <abbotti@xxxxxxxxx> )=- > -=( Tel: +44 (0)161 477 1898 FAX: +44 (0)161 718 3587 )=- > _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel