Subject: machine hangs when mounting cd
To: None <current-users@netbsd.org>
From: Geert Hendrickx <geert.hendrickx@ua.ac.be>
List: current-users
Date: 09/01/2004 10:24:16
Hi, 

I'm running NetBSD 2.0_BETA (GENERIC_LAPTOP i386 kernel) on an old
Compaq laptop, and I have troubles mounting a cd.  

Here's the relevant portion of the dmesg:

# dmesg |grep ^cd       
cd0 at atapibus0 drive 1: <UJDA120, , 1.01> cdrom removable
cd0: drive supports PIO mode 4, DMA mode 1
cd0(optiide0:0:1): using PIO mode 3, DMA mode 1 (using DMA data transfers)
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 1
cd0(optiide0:0:1): using PIO mode 3, DMA mode 1 (using DMA data transfers)
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 1
cd0(optiide0:0:1): using PIO mode 3, DMA mode 1 (using DMA data transfers)

And this is what I get when I try to mount a cd: 

# mount_cd9660 -o ro /dev/cd0a /home/geert/cdrom
optiide0:0:1: lost interrupt
	type: apati tc_bcount: 32 tc_skip: 0
optiide0:0:1: bus-master DMA error: missing interrupt, status=0x1
cd0: transfer error, downgrading to PIO mode 4
wd0(optiide0:0:0): using PIO mode 4, DMA mode 2 (using DMA data transfers)
cd0(optiide0:0:1): using PIO mode 4
optiide0:0:0: lost interrupt
	type ata tc_bcount: 5120 tc_skip: 0
optiide:0:0:" bus-master DMA error: missing interrupt, status=0x0
wd0: transfer error, downgrading to PIO mode 4
wd0(optiide0:0:0): using PIO mode 4
cd0(optiide0:0:1): using PIO mode 4

After that, the machine just hangs.  

Am I making a mistake here, or is a problem with -current?  

GH

PS: please CC me as I'm not subscribed.