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
|