Subject: port-amiga/7753: Internal IDE drive no longer recognized
To: None <gnats-bugs@gnats.netbsd.org>
From: None <ingolf@knuut.de>
List: netbsd-bugs
Date: 06/10/1999 13:05:52
>Number:         7753
>Category:       port-amiga
>Synopsis:       Internal IDE drive is no longer recognized
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    port-amiga-maintainer (NetBSD/amiga Portmaster)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jun 10 13:05:00 1999
>Last-Modified:
>Originator:     Ingolf Koch
>Organization:
Beste Kneipe in Jena-Ost
>Release:        NetBSD-1.4
>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
>Audit-Trail:
>Unformatted: