devfs
[Top] [All Lists]

Re: devfs/cdrom problem CDRW

To: Gary Shea <shea@xxxxxxxxxxxxx>
Subject: Re: devfs/cdrom problem CDRW
From: Yaroslav Halchenko <yoh@xxxxxxxxxx>
Date: Thu, 29 Nov 2001 17:16:22 -0700 (MST)
Cc: devfs@xxxxxxxxxxx
In-reply-to: <Pine.LNX.4.40.0111291656380.2635-100000@ns.local.net>
Sender: owner-devfs@xxxxxxxxxxx
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?

Thanx in advance for any hints

Sincerely, Yaroslav


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