Re: CD writing in future Linux (stirring up a hornets' nest)

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


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.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at
Please read the FAQ at

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux