[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#357858: udev removes pcmcia ide devices immediately before mounting



On Mon, Mar 20, 2006 at 01:20:50AM +0100, Marco d'Itri wrote:
> reassign 357858 linux-2.6
> thanks
> 
 
> Unless it's #350235/#355441 again (and it should not be, since that
> happens even before you can try using the device) then it's some similar
> kernel-related problem.
> Anyway, udev just creates or deletes whatever the kernel tells it to
> create or delete.
I checked with udevmonitor - you're correct, it's the kernel that's wrong.
http://groups.google.com/group/linux.kernel/browse_thread/thread/76b6e9e72539cbcf/f1df76d875bc6920?lnk=st&q=group%3Alinux.kernel+is_flash&rnum=2#f1df76d875bc6920
sheds a bit more light on this. I've applied the patch, and it works in my
situation - a far saner number of udev events get generated. Although if I'm
still using a mounted filesystem on the card when it ejects, there are usually
kernel oopses rendering the whole ide system a bit unusable - I'll save this
for another bug about making ide more robust :-)
I'm slightly curious as to why this fairly old patch didn't make it into the
kernel.

Richard



Reply to: