From owner-freebsd-bugs Mon Apr 10 21:50: 9 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 6AAFF37B8C2 for ; Mon, 10 Apr 2000 21:50:03 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id VAA49174; Mon, 10 Apr 2000 21:50:03 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id D47D237B595 for ; Mon, 10 Apr 2000 21:41:32 -0700 (PDT) (envelope-from nobody@FreeBSD.org) Received: (from nobody@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id VAA48667; Mon, 10 Apr 2000 21:41:32 -0700 (PDT) (envelope-from nobody@FreeBSD.org) Message-Id: <200004110441.VAA48667@freefall.freebsd.org> Date: Mon, 10 Apr 2000 21:41:32 -0700 (PDT) From: pir-freebsd@pir.net To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: kern/17920: ata/ad driver HARD ERROR failure with internal disk on an NCR laptop Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 17920 >Category: kern >Synopsis: ata/ad driver HARD ERROR failure with internal disk on an NCR laptop >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Apr 10 21:50:01 PDT 2000 >Closed-Date: >Last-Modified: >Originator: Peter Radcliffe >Release: 4.0-STABLE as of 2000-4-7 >Organization: >Environment: FreeBSD foop 4.0-STABLE FreeBSD 4.0-STABLE #5: Mon Apr 10 19:01:25 EDT 2000 pir@peem:/usr/src/sys/compile/WD i386 >Description: hardware: NEC Versa V/50 laptop. 4.0 ATA driver fails with a HARD ERROR on the internal IDE disk. From the 4.0-R install floppies the ATA controller is recognised during boot and then during device probe a pair of hard errors in the debug screen; ad0: HARD READ ERROR blk# 0 status 51 error=04 ad0: reading primary partition stable: error reading fsbn: 0 ad0: HARD READ ERROR blk# 0 status 51 error=04 ad0: reading primary partition stable: error reading fsbn: 0 I did the install by installing a minimal 3.4-PAO, which worked fine, and then a manual installation of 4.0 via NFS (sysinstall wouldn't recognise wd0 during a floppy install with a custom wdc kernel on kern.flp). I built a kernel on a 4.0-S machine using wdc instead of ata which works perfectly; wdc0 at port 0x1f0-0x1f7 irq 14 on isa0 wdc0: unit 0 (wd0): wd0: 328MB (672525 sectors), 915 cyls, 15 heads, 49 S/T, 512 B/S wdc0: driver is using old-style compatability shims If I build an ATA kernel and try to boot from it I get; ad0: 320MB [915/15/49] at ata0-master using BIOSPIO Mounting root from ufs:/dev/ad0s1a ad0: HARD ERROR blk# 0 status=51 error=04 ad0: reading primary partition stable: error reading fsbn 0 It was suggested that this could be the pio problem, but the messages I've found imply it is already trying to use pio mode. >How-To-Repeat: boot this laptop from 4.0-R install floppies. >Fix: :/ >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message