Subject: CD-ROM problems
To: None <current-users@netbsd.org>
From: Martti Kuparinen <martti.kuparinen@iki.fi>
List: current-users
Date: 09/16/2002 22:08:01
Hi!

I have problems with my CD-ROM drive, everything works fine in Windows
but nothing works in NetBSD/i386 1.6. All ideas are welcome...

pciide0:1:0: lost interrupt
	type: atapi tc_bcount: 0 tc_skip: 0
pciide0:1:0: lost interrupt
	type: atapi tc_bcount: 0 tc_skip: 0
pciide0:1:0: lost interrupt
	type: atapi tc_bcount: 32 tc_skip: 0
pciide0:1:0: bus-master DMA error: missing interrupt, status=0x21
cd0: transfer error, downgrading to PIO mode 4
cd0(pciide0:1:0): using PIO mode 4
pciide0:1:0: lost interrupt
	type: atapi tc_bcount: 0 tc_skip: 0
pciide0:1:0: lost interrupt
	type: atapi tc_bcount: 32 tc_skip: 0
cd0(pciide0:1:0): generic HBA error

From dmesg:

pciide0 at pci0 dev 4 function 1: Intel 82371AB IDE controller (PIIX4) (rev. 0x01)
pciide0: bus-master DMA support present
pciide0: primary channel wired to compatibility mode
wd0 at pciide0 channel 0 drive 0: <ST317242A>
wd0: drive supports 16-sector PIO transfers, LBA addressing
wd0: 16446 MB, 16383 cyl, 16 head, 63 sec, 512 bytes/sect x 33683328 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
pciide0: primary channel interrupting at irq 14
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA data transfers)
pciide0: secondary channel wired to compatibility mode
atapibus0 at pciide0 channel 1: 2 targets
cd0 at atapibus0 drive 0: <SAMSUNG CD-ROM SCR-3231, , S102> type 5 cdrom removable
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2
pciide0: secondary channel interrupting at irq 15
cd0(pciide0:1:0): using PIO mode 4, DMA mode 2 (using DMA data transfers)

Martti

---
Martti Kuparinen <martti.kuparinen@iki.fi>      NetBSD - No media hype
http://www.iki.fi/kuparine/                     http://www.netbsd.org/