NetBSD Problem Report #7753
Received: (qmail 24060 invoked from network); 10 Jun 1999 20:03:22 -0000
Message-Id: <199906102002.WAA00990@local.net>
Date: Thu, 10 Jun 1999 22:02:36 +0200 (MEST)
From: ingolf@knuut.de
Reply-To: ingolf@knuut.de
To: gnats-bugs@gnats.netbsd.org
Subject: Internal IDE drive no longer recognized
X-Send-Pr-Version: 3.95
>Number: 7753
>Category: port-amiga
>Synopsis: Internal IDE drive is no longer recognized
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: mhitch
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Jun 10 13:05:00 +0000 1999
>Closed-Date: Thu Aug 10 12:06:00 +0000 2000
>Last-Modified: Thu Aug 10 12:06:00 +0000 2000
>Originator: Ingolf Koch
>Release: 1.4
>Organization:
Beste Kneipe in Jena-Ost
>Environment:
System: NetBSD maus 1.4 NetBSD 1.4 (MAUS) #0: Fri May 21 11:22:08 MEST 1999 ingolf@maus:/usr/obj/sys/arch/amiga/compile/MAUS amiga
>Description:
My internal IDE drive (which previous NetBSD releases correctly
recognized as
<Maxtor7, 213AT, 5DC0> SCSI2 0/direct fixed
202MB, 683 cyl, 16 head, 38 sec, 512 bytes/sect x 415264 sectors
) is no longer found at boot time.
Instead, the following is displayed (with ide_debug binpatched to 255):
...
fd0 at fdc0 unit 0: 3.5dd 80 cyl, 2 head, 11 sec [9 sec], 512 bytes/sec
idesc0 at mainbus0ide regs: 0000 00 00 03 00 00 a4 50
ide regs: 0000 01 01 01 00 00 00 50
idecommand: cmd = 08
idewait busy: ffffffff
scsibus0 at idesc0: 8 targets, 8 luns per target
ideicmd: target 0 cmd 00
ideicmd: target 0 cmd 12
idecommand: cmd = ec
idewait busy: ffffffff
ide_scsicmd() bad ffffffff
ideicmd: target 1 cmd 00
ide_scsicmd() bad ffffffff
ideicmd: target 1 cmd 12
ide_scsicmd() bad ffffffff
ide_scsicmd() bad ffffffff
ide_scsicmd() bad ffffffff
ide_scsicmd() bad ffffffff
ide_scsicmd() bad ffffffff
ide_scsicmd() bad ffffffff
ide_scsicmd() bad ffffffff
ide_scsicmd() bad ffffffff
ide_scsicmd() bad ffffffff
ide_scsicmd() bad ffffffff
ide_scsicmd() bad ffffffff
aucc0 at mainbus0
...
This happens with both GENERIC and own kernel.
>How-To-Repeat:
Use an A4000 with the disk described above as the only internal
harddisk. Boot a GENERIC NetBSD-1.4 kernel.
>Fix:
no idea
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback
State-Changed-By: is
State-Changed-When: Fri Jun 11 03:11:11 PDT 1999
State-Changed-Why:
Thenks for your report. The included debugging information will be valuable.
(as soon as I am back home and have access to my IDE book). However, some
information is missing:
- is this the only device on this IDE bus?
- is it master or slave?
- does your own kernel include ATAPI support?
Additional debug output which could be useful:
- recompile the kernel with options DEBUG_ATAPI
Workaround suggestions:
- if you have two devices, try to rejumper the master as slave and vice versa.
During the Beta test period, this has helped one of our Beta testers.
Responsible-Changed-From-To: port-amiga-maintainer->mhitch
Responsible-Changed-By: is
Responsible-Changed-When: Fri Jun 11 03:18:01 PDT 1999
Responsible-Changed-Why:
Michael, please take a look.
From: Ingolf Koch <ingolf@knuut.de>
To: is@netbsd.org, port-amiga-maintainer@netbsd.org
Cc: Subject: Re: port-amiga/7753
Date: Fri, 11 Jun 1999 23:47:36 +0200
The drive is the only IDE drive on that bus (the only IDE drive in
the machine).
I cannot tell whether it is master or slave. AFAIK, I have not
changed the initial settings. Any information on jumpers for
master/slave selection is welcome.
I do not know of any option to turn on/off ATAPI support in the
kernel. There is no information in config(8) and options(4) on
this.
A kernel compiled with DEBUG_ATAPI prints the following:
...
fd0 at fdc0 unit 0: 3.5dd 80 cyl, 2 head, 11 sec [9 sec], 512 bytes/sec
idesc0 at mainbus0ide regs: 0000 00 00 03 00 00 a4 50
ide regs: 0000 01 01 01 00 00 00 50
idecommand: cmd = 08
idewait busy: ffffffff
idewait timeout status ffffffff error ff
ATAPI_SOFT_RESET failed for drive 1
scsibus0 at idesc0: 8 targets, 8 luns per target
ideicmd: target 0 cmd 00
ideicmd: target 0 cmd 12
idecommand: cmd = ec
idewait busy: ffffffff
idewait timeout status ffffffff error ff
ide_scsicmd() bad ffffffff
ideicmd: target 1 cmd 00
ide_scsicmd() bad ffffffff
ideicmd: target 1 cmd 12
ide_scsicmd() bad ffffffff
ide_scsicmd() bad ffffffff
ide_scsicmd() bad ffffffff
ide_scsicmd() bad ffffffff
ide_scsicmd() bad ffffffff
ide_scsicmd() bad ffffffff
ide_scsicmd() bad ffffffff
ide_scsicmd() bad ffffffff
ide_scsicmd() bad ffffffff
ide_scsicmd() bad ffffffff
ide_scsicmd() bad ffffffff
aucc0 at mainbus0
...
From: Ingolf Koch <ingolf@knuut.de>
To: "Michael L. Hitch" <osymh@terra.oscs.montana.edu>
Cc: Subject: Re: port-amiga/7753
Date: Fri, 16 Jul 1999 22:55:05 +0200
--a8Wt8u1KmwUX3Y2C
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Hi Michael.
On Sun, Jun 13, 1999 at 12:07:15PM -0600, Michael L. Hitch wrote:
> Most IDE drives I've seen usually have the master/slave jumper
> information printed on the drive. The manufacturers also usually have a
> web page with drive jumper information available.
Sorry for the delay, but I am quite busy at the moment. My drive
is configures as master/only drive. Oh, btw, it's a Maxtor 7213AT
drive (I think I did not tell that). I'll try to use it as slave
drive later.
> *** idesc.c.orig Sun Jun 13 12:01:24 1999
> --- idesc.c Sun Jun 13 12:02:17 1999
Unfortunately, this patch did not improve the situation.
Please tell me if you need more debugging information.
Regards
Ingolf
--=20
Ingolf Koch Beste Kneipe in Jena-Ost
PGP: 0x7B3B5661 213C 828E 0C92 16B5 05D0 4D5B A324 EC04
--a8Wt8u1KmwUX3Y2C
Content-Type: application/pgp-signature
-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 5.0i for non-commercial use
MessageID: UzXtLq74sApEaF8vCyyUNz0bknQYqa2a
iQCVAwUBN4+cHqx/qbJ7O1ZhAQHCjwQAmkOEK4vMPRqrutdxOxa1DEUIzrYNAsvJ
9OdupSrBqqlMNH52Zh7U8vRKS/sAilfr6+khTYoUIpuB9pJ6UDpSUg0z4iHwRkP6
IjJdMWluUHppn0py73ZQFlPTIb1iPe4KIcBXGUEOC1A4ACsjHqWrC9I26HFP1qkK
ziaIPI81caM=
=eDYH
-----END PGP SIGNATURE-----
--a8Wt8u1KmwUX3Y2C--
From: Ingolf Koch <ingolf@knuut.de>
To: "Michael L. Hitch" <osymh@terra.oscs.montana.edu>
Cc: Subject: Re: port-amiga/7753
Date: Sat, 17 Jul 1999 12:28:39 +0200
--HlL+5n6rz5pIUxbD
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Hi again.
Removeing the master/slave jumper (so that the drive is
in slave mode) makes the situation even worse: idesc0
cannot be reset. (After switching on the computer,
AmigaOS hat problems to find the other drives and showed
a screen telling me to insert a diskette. Only after a
reset, I was able to execute the NetBSD bootblock.)
Regards
Ingolf
--=20
Ingolf Koch Beste Kneipe in Jena-Ost
PGP: 0x7B3B5661 213C 828E 0C92 16B5 05D0 4D5B A324 EC04
--HlL+5n6rz5pIUxbD
Content-Type: application/pgp-signature
-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 5.0i for non-commercial use
MessageID: BFc5kicoxOX9c/KrEYAJ1VQSKDFeIhfa
iQCVAwUBN5Ba0ax/qbJ7O1ZhAQEyXwQAkqi4Ds52GvpAnB3e9qFw29rCLRgiwdRp
vKS21NlnWh4fwbtb/lYPecrmpdfeZqqIkqw6xZYpHQ2pSsH4QDkSgsSDctuIGYFr
Wi4YT4pXZmdDrifdeedfqVRc/2QiMWcXcp1TmRShPGNAMK7JiFD8FtiSjE4eB+T/
FQohdnIqSU0=
=//lu
-----END PGP SIGNATURE-----
--HlL+5n6rz5pIUxbD--
From: Ingolf Koch <ingolf@knuut.de>
To: gnats-bugs@gnats.netbsd.org
Cc: "Michael L. Hitch" <mhitch@msu.oscs.montana.edu>
Subject: Re: port-amiga/7753: Internal IDE drive no longer recognized
Date: Sun, 6 Feb 2000 19:42:26 +0100
With sys/arch/amiga/dev/wdc_amiga.c:
NetBSD 1.4R (MAUS) #3: Sun Feb 6 17:05:08 MET 2000
ingolf@maus:/usr/obj/sys/arch/amiga/compile/MAUS
[...]
wdc0 at mainbus0
wd0 at wdc0 channel 0 drive 0: <Maxtor 7213 AT>
wd0: drive supports 32-sector pio transfers, chs addressing
wd0: 202 MB, 683 cyl, 16 head, 38 sec, 512 bytes/sect x 415264 sectors
The PR can be closed. Thanks for the work.
State-Changed-From-To: feedback->closed
State-Changed-By: fair
State-Changed-When: Thu Aug 10 05:05:14 PDT 2000
State-Changed-Why:
submitter confirms that problem is fixed.
latest reminder notice bounced.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.