Subject: Re: machine hangs when mounting cd
To: Geert Hendrickx <geert.hendrickx@ua.ac.be>
From: Harry Waddell <waddell@caravan.com>
List: current-users
Date: 09/01/2004 12:03:52
Is your problem mounting "a" cd, or is it mounting "any" cd? 
Is this a recent problem following a netbsd upgrade? If you let the machine sit
for a few minutes, does the machine become responsive again?

Without knowing more, it could be lots of things, hardware, software, bad
media, etc...

-- 
Harry Waddell
Caravan Electronic Publishing
-----------

On Wed, 1 Sep 2004 10:24:16 +0200
Geert Hendrickx <geert.hendrickx@ua.ac.be> wrote:

> 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.