Messages in this thread | | | From | "Jim Crilly" <> | Date | Thu, 2 Feb 2006 16:09:50 -0500 | Subject | Re: CD writing in future Linux (stirring up a hornets' nest) |
| |
On 02/02/06 09:39:02PM +0100, Jan Engelhardt wrote: > > > >I'm seeing even worse behavior. Since /dev/hda is a disk with mounted > >filesystems, my kernel refuses access even for root. Thus, even root > >is unable to scan the /dev/hd* devices! > > > What sort of kernel patch do you have turned on? I'd be scared if I could > not even do a (read-only!) hexdump of my drive while mounted. >
I see the same thing with, the only external kernel patch I have applied is Suspend2. The ATA scanbus code tries to open("/dev/hda", O_RDWR|O_NONBLOCK|O_EXCL) and that fails, and since the scanning code stops once one device fails to open the whole scan aborts. Apparently O_EXCL was added by Ubuntu and Debian to stop burns being corrupted by hald polling the device while a disc is being burned. If you want to read the entire thread it's bug #262678 in Debian.
Jim. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |