[vox-tech] enabling DMA on cd/dvd combo drive

Ryan vox-tech@lists.lugod.org
Thu, 13 Mar 2003 14:57:26 -0800


works like a champ. thanks a lot. 

so why is the symlink /dev/cdrom pointing a scsi device by default?




On Thu, 2003-03-13 at 14:46, Rob Rogers wrote:
> On Thu, Mar 13, 2003 at 14:39:07PM -0800, Ryan wrote:
> > as requested:
> > 
> > $ls -l /dev/cdrom
> > lrwxrwxrwx    1 root     root            9 Mar  7 10:06 /dev/cdrom ->
> > /dev/scd0
> 
> There's the problem. hdparm only likes IDE devices, and /dev/cdrom is
> pointing to a SCSI device.
> 
> > $dmesg | grep hd
> > Kernel command line: ro root=LABEL=/ hdc=ide-scsi
> > ide_setup: hdc=ide-scsi
> >     ide0: BM-DMA at 0xf000-0xf007, BIOS settings: hda:DMA, hdb:pio
> >     ide1: BM-DMA at 0xf008-0xf00f, BIOS settings: hdc:DMA, hdd:pio
> > hda: WDC WD800JB-00CRA1, ATA DISK drive
> > hdc: SAMSUNG CDRW/DVD SM-332B, ATAPI CD/DVD-ROM drive
> > hda: 156301488 sectors (80026 MB) w/8192KiB Cache, CHS=9729/255/63,
> > UDMA(100)
> >  hda: hda1 hda2 hda3 hda4 < hda5 >
> 
> hdparm -d1 /dev/hdc should work. At least it won't give you an error.
> Not actually positive if it will do anything (haven't tested here, but
> I've got a similar setup and it doesn't give the error it does on
> /dev/cdrom)
> _______________________________________________
> vox-tech mailing list
> vox-tech@lists.lugod.org
> http://lists.lugod.org/mailman/listinfo/vox-tech
>