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/
- Follow-Ups:
- Re: CD writing in future Linux (stirring up a hornets' nest)
- From: Joerg Schilling <schilling@fokus.fraunhofer.de>
- Re: CD writing in future Linux (stirring up a hornets' nest)
- From: Lee Revell <rlrevell@joe-job.com>
- Re: CD writing in future Linux (stirring up a hornets' nest)
- From: Joerg Schilling <schilling@fokus.fraunhofer.de>
- Re: CD writing in future Linux (stirring up a hornets' nest)
- References:
- Re: CD writing in future Linux (stirring up a hornets' nest)
- From: Joerg Schilling <schilling@fokus.fraunhofer.de>
- Re: CD writing in future Linux (stirring up a hornets' nest)
- From: Jürg Billeter <j@bitron.ch>
- Re: CD writing in future Linux (stirring up a hornets' nest)
- From: Joerg Schilling <schilling@fokus.fraunhofer.de>
- Re: CD writing in future Linux (stirring up a hornets' nest)
- From: Juerg Billeter <j@bitron.ch>
- Re: CD writing in future Linux (stirring up a hornets' nest)
- From: Joerg Schilling <schilling@fokus.fraunhofer.de>
- Re: CD writing in future Linux (stirring up a hornets' nest)
- From: Jim Crilly <jim@why.dont.jablowme.net>
- Re: CD writing in future Linux (stirring up a hornets' nest)
- From: Joerg Schilling <schilling@fokus.fraunhofer.de>
- Re: CD writing in future Linux (stirring up a hornets' nest)
- From: "Jim Crilly" <jim@why.dont.jablowme.net>
- Re: CD writing in future Linux (stirring up a hornets' nest)
- From: Albert Cahalan <acahalan@gmail.com>
- Re: CD writing in future Linux (stirring up a hornets' nest)
- From: Jan Engelhardt <jengelh@linux01.gwdg.de>
- Re: CD writing in future Linux (stirring up a hornets' nest)
- Prev by Date: current elf 0-length loading issue
- Next by Date: Re: RFC [patch 13/34] PID Virtualization Define new task_pid api
- Previous by thread: Re: CD writing in future Linux (stirring up a hornets' nest)
- Next by thread: Re: CD writing in future Linux (stirring up a hornets' nest)
- Index(es):
![]() |