Subject: kern/26039: 2.0F kernel doesn't detect ATA disk.
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <maekawa@daemon-systems.org>
List: netbsd-bugs
Date: 06/24/2004 16:53:31
>Number:         26039
>Category:       kern
>Synopsis:       2.0F kernel doesn't detect ATA disk.
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jun 24 16:54:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     MAEKAWA Masahide
>Release:        NetBSD 2.0E/20.F
>Organization:
>Environment:
NetBSD lucifer.daemon-systems.org 2.0E NetBSD 2.0E
>Description:
2.0F kernel fail to detect ATA disk on ATA secondary channel.

2.0E kernel reports:
wd2 at atabus1 drive 0: <Maxtor 4R120L0>
wd2: drive supports 16-sector PIO transfers, LBA48 addressing
wd2: 114 GB, 238216 cyl, 16 head, 63 sec, 512 bytes/sect x 240121728 sectors
wd2: 32-bit data port
wd2: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133)
wd2(viaide0:1:0): using PIO mode 4, Ultra-DMA mode 5 (Ultra/100) (using DMA data transfers)

2.0F kernel reports:
wd2 at atabus1 drive 0: <ST506>
wd2: drive supports 1-sector PIO transfers, chs addressing
wd2: 69632 KB, 1024 cyl, 8 head, 17 sec, 512 bytes/sect x 139264 sectors
wd2(viaide0:1:0): using PIO mode 0
viaide0:1:0: wait timed out
wd2d: device timeout reading fsbn 0 (wd2 bn 0; cn 0 tn 0 sn 0), retrying
wd2: soft error (corrected)

This breaks all data on wd2. yes, all...
>How-To-Repeat:
2.0F kernel doesn't detect ATA disk properly.
>Fix:
no idea.
>Release-Note:
>Audit-Trail:
>Unformatted: