NetBSD Problem Report #26760

Received: (qmail 28858 invoked by uid 605); 25 Aug 2004 08:58:36 -0000
Message-Id: <20040825083150.22574.qmail@plato.hahmann-neuwirth.com>
Date: 25 Aug 2004 08:31:50 -0000
From: konrad@fimsch.net
Sender: gnats-bugs-owner@NetBSD.org
Reply-To: konrad@fimsch.net
To: gnats-bugs@gnats.NetBSD.org
Subject: Plextor PX-712 DVD-RW drive is not recognized
X-Send-Pr-Version: 3.95

>Number:         26760
>Category:       kern
>Synopsis:       Plextor DVD writer not found on boot
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Aug 25 08:59:00 +0000 2004
>Closed-Date:    
>Last-Modified:  Fri Sep 17 11:54:01 +0000 2004
>Originator:     Konrad Neuwirth <konrad@fimsch.net>
>Release:        NetBSD 2.0G
>Organization:
XIQIT GmbH, Aachen <http://www.xiqit.de/> 
>Environment:


System: NetBSD amelie 2.0G NetBSD 2.0G (AMELIE) #1: Tue Aug 24 13:02:45 CEST 2004 root@amelie:/home/build/sys/arch/i386/compile/AMELIE i386
Architecture: i386
Machine: i386
>Description:

On boot, the newly added Plextor PX-712 DVD writer is not recognized by 
NetBSD 2.0G.  The only hint in the boot message that hardware is there
is '2 targets' in

| atapibus0 at atabus1: 2 targets
| cd0 at atapibus0 drive 1: <ASUS    DVD-ROM E612, , 1.1B> cdrom removable
| cd0: 32-bit data port
| cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 4 (Ultra/66)
| cd0(piixide0:1:1): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA data transfers)

On boot, about ten seconds pass after the 'atapibus0 at atabus1' line
and before cd0 is identified. 

NetBSD 1.6.2 does recognize the drive correctly: 

| pciide0: primary channel interrupting at irq 14
| wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5 (Ultra/100) (using DMA data transfers)
| wd1(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 5 (Ultra/100) (using DMA data transfers)
| pciide0: secondary channel wired to compatibility mode
| atapibus0 at pciide0 channel 1: 2 targets
| cd0 at atapibus0 drive 0: <PLEXTOR DVDR   PX-712A, 228368, 1.02> type 5 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: <ASUS    DVD-ROM E612, , 1.1B> type 5 cdrom removable
| cd1: 32-bit data port
| cd1: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 4 (Ultra/66)
| pciide0: secondary channel interrupting at irq 15
| 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)

Hardware-wise, the drives are connected to the builtin IDE controllers
on an ASUS P4PE mainboard.

>How-To-Repeat:

Reboot with NetBSD 2.0G

>Fix:

Not known. 
>Release-Note:
>Audit-Trail:

From: Manuel Bouyer <bouyer@antioche.lip6.fr>
To: konrad@fimsch.net
Cc: gnats-bugs@gnats.NetBSD.org, netbsd-bugs@netbsd.org
Subject: Re: kern/26760: Plextor PX-712 DVD-RW drive is not recognized
Date: Wed, 25 Aug 2004 11:41:21 +0200

 On Wed, Aug 25, 2004 at 08:31:50AM -0000, konrad@fimsch.net wrote:
 > On boot, the newly added Plextor PX-712 DVD writer is not recognized by 
 > NetBSD 2.0G.  The only hint in the boot message that hardware is there
 > is '2 targets' in
 > 
 > | atapibus0 at atabus1: 2 targets
 > | cd0 at atapibus0 drive 1: <ASUS    DVD-ROM E612, , 1.1B> cdrom removable
 > | cd0: 32-bit data port
 > | cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 4 (Ultra/66)
 > | cd0(piixide0:1:1): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA data transfers)
 > 
 > On boot, about ten seconds pass after the 'atapibus0 at atabus1' line
 > and before cd0 is identified. 
 > 
 > NetBSD 1.6.2 does recognize the drive correctly: 

 Can you send the output of a 2.0G kernel with atadebug_mask and
 wdcdebug_atapi_mask set to 0x10 (you can do this by editing sys/dev/ata.c and
 sys/dev/scsipi/atapi_wdc.c and rebuilding a kernel, or patching the kernel
 binary with gdb, or paching the memory with ddb:
 boot -d
 write atadebug_mask 0x10
 write wdcdebug_atapi_mask 0x10
 continue
 )

 -- 
 Manuel Bouyer <bouyer@antioche.eu.org>
      NetBSD: 26 ans d'experience feront toujours la difference
 --

From: Konrad Neuwirth <konrad@fimsch.net>
To: gnats-bugs@netbsd.org
Cc:  
Subject: Re: kern/26760: Plextor PX-712 DVD-RW drive is not recognized
Date: Fri, 17 Sep 2004 13:26:45 +0200

 On Wed, Aug 25, 2004 at 11:41:21AM +0200, Manuel Bouyer wrote:
 > 
 > Can you send the output of a 2.0G kernel with atadebug_mask and
 > wdcdebug_atapi_mask set to 0x10 (you can do this by editing sys/dev/ata.c and
 > sys/dev/scsipi/atapi_wdc.c and rebuilding a kernel, or patching the kernel
 > binary with gdb, or paching the memory with ddb:
 > boot -d
 > write atadebug_mask 0x10
 > write wdcdebug_atapi_mask 0x10
 > continue
 > )

 The dmesg output is at <http://www.fimsch.net/~konrad/amelie/dmesg-DEBUG>, 
 the dmesg output for 1.6.2 is at 
 <http://www.fimsch.net/~konrad/amelie/dmesg.1.6.2>

 Konrad
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.