Subject: Trying to mount SATA DVD crashes the system
To: None <netbsd-users@netbsd.org>
From: =?ISO-8859-1?Q?Mikael_Nystr=F6m?= <miny3945@comhem.se>
List: netbsd-users
Date: 04/04/2007 20:57:58
Hello!

I'm trying to use a dvd (Samsung SH-S183A) with NetBSD/xen 3.1 and  
having some problems. I don't know how common these sata dvd:s are  
and if NetBSD actually supports them in the latest release, but it's  
worth a shot. When I mount the drive the kernel prints information  
about lost interrupts, downgrading from DMA to PIO etc and then the  
machine hangs. Are any of you using a sata dvd with NetBSD?

The dvd is detected as:

cd0 at atapibus0 drive 0: <TSSTcorpCD/DVDW SH-S183A, , SB02> cdrom  
removable
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
cd0(viaide0:1:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33)  
(using DMA)

 From /var/log/messages:

/netbsd: viaide0:1:0: lost interrupt
/netbsd: type: atapi tc_bcount: 32 tc_skip: 0
/netbsd: viaide0:1:0: bus-master DMA error: missing interrupt,  
status=0x21
/netbsd: viaide0:1:0: device timeout, c_bcount=32, c_skip=0
/netbsd: cd0: transfer error, downgrading to Ultra-DMA mode 1
/netbsd: cd0(viaide0:1:0): using PIO mode 4, Ultra-DMA mode 1 (using  
DMA)
/netbsd: cd0(viaide0:1:0): generic HBA error

Regards, Micke