devfs
[Top] [All Lists]

Re: devfs/cdrom problem CDRW

To: Yaroslav Halchenko <yoh@xxxxxxxxxx>
Subject: Re: devfs/cdrom problem CDRW
From: Richard Gooch <rgooch@xxxxxxxxxxxxxxx>
Date: Thu, 29 Nov 2001 17:20:08 -0700
Cc: Gary Shea <shea@xxxxxxxxxxxxx>, devfs@xxxxxxxxxxx
In-reply-to: <Pine.LNX.4.21.0111291711160.31352-100000@xxxxxxxxxxxxxxxx>
References: <Pine.LNX.4.40.0111291656380.2635-100000@xxxxxxxxxxxx> <Pine.LNX.4.21.0111291711160.31352-100000@xxxxxxxxxxxxxxxx>
Sender: owner-devfs@xxxxxxxxxxx
Yaroslav Halchenko writes:
> Sorry for intrusion,
> 
> But I want to ask one small question which is pretty important for me.
> 
> > > [...] Check /dev/ide/host1/bus0/target0/lun0 instead.
> > Correct. Each IDE interface is a separate host. Thus the secondary is
> > host1.
> > ---------
> > 
> > I read this and thought, ok, this makes sense.  Only problem is, I now
> > have exactly the same situation.  My drive is /dev/hdc (or used to be),
> > but now it's /dev/ide/host0/bus1/target0/lun0/cd. 
> 
> I have a CD-writer installed but I have problem that it crashes when DMA
> is turned on for it. So I had to switch 'hdparm -d0  /dev/hdc' all the
> time then I reboot.
> 
> When I installed new kernel 2.4.13 with automounted devfs I couldn't
> turn off dma, because there is no hdc and hdparm says that it doesn't work
> with other devices like:
> [earwax] /home/yoh # hdparm /dev/scsi/host0/bus0/target0/lun0/cd 
> /dev/scsi/host0/bus0/target0/lun0/cd not supported by hdparm
> [earwax] /home/yoh # hdparm /dev/scsi/host0/bus0/target1/lun0/cd 
> /dev/scsi/host0/bus0/target1/lun0/cd not supported by hdparm
> 
> So I had to create a hdc 'by hand'. Is there a way to avoid all this?

Yeah, don't use ide-scsi! Or perhaps look for a leaf node entry under
/dev/ide which you can use.

                                Regards,

                                        Richard....
Permanent: rgooch@xxxxxxxxxxxxx
Current:   rgooch@xxxxxxxxxxxxxxx

<Prev in Thread] Current Thread [Next in Thread>