NetBSD Problem Report #26717

Received: (qmail 29166 invoked by uid 605); 19 Aug 2004 15:38:22 -0000
Message-Id: <200408191523.i7JFNxTr015470@l196091.ppp.asahi-net.or.jp>
Date: Fri, 20 Aug 2004 00:23:55 +0900 (JST)
From: itohy@netbsd.org
Sender: gnats-bugs-owner@NetBSD.org
Reply-To: itohy@netbsd.org
To: gnats-bugs@gnats.netbsd.org
Subject: PCMCIA HDD is not working
X-Send-Pr-Version: 3.95

>Number:         26717
>Category:       kern
>Synopsis:       PCMCIA HDD is not working
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Aug 19 15:39:00 +0000 2004
>Closed-Date:    
>Last-Modified:  Thu Mar 06 16:58:13 +0000 2008
>Originator:     ITOH Yasufumi
>Release:        NetBSD 2.0_BETA, NetBSD 2.0G
>Organization:
>Environment:
System: NetBSD mei.my.domain 2.0G NetBSD 2.0G (MEI_TEST) #373: Thu Aug 19 00:24:32 JST 2004 itohy@pino.my.domain:/w/src/sys/arch/i386/compile/MEI_TEST i386
Architecture: i386
Machine: i386

>Description:
	PCMCIA-IDE converter and IDE HDD is not detected.

	I have two PCMCIA-IDE converter devices:
		novac device
		Microtech device

	Neither of them are working on 2.0_BETA and -current (2.0G).
	I thought the devices were usable on older releases.

	Here are kernel logs.  Note the wdc is detected but no wd.

novac device:

2.0_BETA
[[ insert card ]]
wdc2 at pcmcia0 function 0: Novac PCCARD-IDE
atabus1 at wdc2 channel 0
[[ remove card ]]
atabus1 detached
wdc2 detached

2.0G with PCMCIAVERBOSE and ATADEBUG
[[ insert card ]]
pcmcia0: CIS version PCMCIA 2.0 or 2.1
pcmcia0: CIS info: PCMCIA, PnPIDE, D6
pcmcia0: Manufacturer code 0xffffffff, product 0xffffffff
pcmcia0: function 0: unspecified, ccr addr 100 mask 3
pcmcia0: function 0, config table entry 1: I/O card; irq mask ceb8; iomask a, io
space 320-32f; mwait_required io16 irqlevel
pcmcia0: function 0, config table entry 2: I/O card; irq mask ceb8; iomask a, io
space 340-34f; mwait_required io16 irqlevel
pcmcia0: function 0, config table entry 3: I/O card; irq mask ceb8; iomask a, io
space 360-36f; mwait_required io16 irqlevel
wdc1 at pcmcia0 function 0: <PCMCIA, PnPIDE, D6>
wdc1: i/o mapped mode
atabus1 at wdc1 channel 0
wdc1:0: before reset, st0=0x0, st1=0x0
wdc1:0 drive 0 wd_cyl_lo(2): got 0x2 != 0x01
wdc1:0 drive 1 wd_cyl_lo(2): got 0x2 != 0x01
atabusattach: ch_drive_flags 0x0 0x0
[[ remove card ]]
wdcdetach: wdc1: detaching atabus1
atabus1 detached
wdc1 detached


Microtech device:

2.0_BETA
[[ insert card ]]
wdc2 at pcmcia0 function 0
atabus1 at wdc2 channel 0
[[ remove card ]]
atabus1 detached
wdc2 detached

2.0G with PCMCIAVERBOSE and ATADEBUG
[[ insert card ]]
pcmcia0: CIS version PCMCIA 2.0 or 2.1
pcmcia0: CIS info: Microtech International Inc., IDE PCCARD, (C) ARCHOS S.A. 199
5-98 Fax +33 1 60 13 99 18
pcmcia0: Manufacturer code 0x5241, product 0x43
pcmcia0: function 0: fixed disk(ata), ccr addr 200 mask 1
pcmcia0: function 0, config table entry 0: I/O card; irq mask ffff; iomask a, io
space 1f0-1f7 3f6-3f7; mwait_required io8 io16 irqlevel
pcmcia0: function 0, config table entry 1: I/O card; irq mask ffff; iomask 4, io
space 0-f; mwait_required io8 io16 irqlevel
wdc1 at pcmcia0 function 0: <Microtech International Inc., IDE PCCARD, (C) ARCHO
S S.A. 1995-98 Fax +33 1 60 13 99 18>
wdc1: i/o mapped mode
atabus1 at wdc1 channel 0
wdc1:0: before reset, st0=0x80, st1=0x0
wdc1:0 drive 0 wd_cyl_lo: got 0x80 != 0x02
wdc1:0 drive 0 wd_cyl_lo: got 0x80 != 0x01
wdc1:0 drive 0 wd_sector: got 0x80 != 0x01
wdc1:0 drive 0 wd_sector: got 0x80 != 0x02
wdc1:0 drive 0 wd_cyl_lo(2): got 0x80 != 0x01
wdc1:0:0: after reset, sc=0x0 sn=0x0 cl=0x0 ch=0x0
wdc1:0:1: after reset, sc=0x1 sn=0x2 cl=0x1 ch=0x0
wdc1:0: wdcwait_reset() end, st0=0x0 st1=0x0
wdc1:0: after reset, ret_value=0x2
wdc1:0:1: after reset, sc=0x1 sn=0x2 cl=0x1 ch=0x0
wdc1:0: wait DRDY st0 0x0 st1 0x0
atabusattach: ch_drive_flags 0x0 0x0
[[ remove card ]]
wdcdetach: wdc1: detaching atabus1
atabus1 detached
wdc1 detached

>How-To-Repeat:
	boot kernel and insert a PCMCIA-IDE HDD card.

>Fix:
	ENOCLUE.
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Thu, 06 Mar 2008 06:43:23 +0000
State-Changed-Why:
Does this still happen?


From: itohy@NetBSD.org (ITOH Yasufumi)
To: gnats-bugs@NetBSD.org
Cc: kern-bug-people@NetBSD.org, netbsd-bugs@NetBSD.org, gnats-admin@NetBSD.org,
   dholland@NetBSD.org
Subject: Re: kern/26717 (PCMCIA HDD is not working)
Date: Thu, 6 Mar 2008 23:29:40 +0900

 dholland@NetBSD.org writes:

 > Does this still happen?

 It does.
 I tried NetBSD-daily/HEAD/200803040000Z kernel.  The wdcN device
 is detected but wdN doesn't appear.

 Possibly related to kern/32938?
 -- 
 ITOH Yasufumi

State-Changed-From-To: feedback->open
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Thu, 06 Mar 2008 16:58:13 +0000
State-Changed-Why:
alas, bug is still alive.


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