Subject: IDE LED always on
To: None <netbsd-users@netbsd.org>
From: Wojciech Puchar <wojtek@tensor.3miasto.net>
List: netbsd-users
Date: 05/11/2003 21:59:57
i have such IDE config:

channel 0:

wd0 at pciide0 channel 0 drive 0: <Maxtor 2F040J0>
wd0: drive supports 16-sector PIO transfers, LBA addressing
wd0: 39205 MB, 16383 cyl, 16 head, 63 sec, 512 bytes/sect x 80293248
sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133)
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA
data transfers)

channel 1:

cd0 at atapibus0 drive 0: <E-IDE CD-ROM CR-850E, , Ver1.11>
cdrom removable
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
cd1 at atapibus0 drive 1: <HL-DT-ST GCE-8520B, , 1.00> cdrom removable
cd1: 32-bit data port
cd1: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA
data transfers)
cd1(pciide0:1:1): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA
data transfers)



after system boots IDE LED stays on as long as i do any access to
CD-recorder (channel 1 - slave).

Even if this access fail (like no CD in drive) led turns off and works as
it should.


any fix for this smarter than:

#turns off IDE led
/bin/dd if=/dev/rcd1d bs=512 count=1 of=/dev/null 2>/dev/null
#

in the beginning of /etc/rc

?