From owner-freebsd-bugs@FreeBSD.ORG Fri May 7 11:00:56 2004 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D085F16A4E3 for ; Fri, 7 May 2004 11:00:56 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 998C543D58 for ; Fri, 7 May 2004 11:00:39 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i47I0dVi035749 for ; Fri, 7 May 2004 11:00:39 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i47I0ds5035742; Fri, 7 May 2004 11:00:39 -0700 (PDT) (envelope-from gnats) Resent-Date: Fri, 7 May 2004 11:00:39 -0700 (PDT) Resent-Message-Id: <200405071800.i47I0ds5035742@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Eugene Grosbein Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 17F8116A4CE; Fri, 7 May 2004 10:55:03 -0700 (PDT) Received: from grosbein.pp.ru (grgw.svzserv.kemerovo.su [213.184.64.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id AE85C43D45; Fri, 7 May 2004 10:55:00 -0700 (PDT) (envelope-from eugen@grosbein.pp.ru) Received: from grosbein.pp.ru (eugen@localhost [127.0.0.1]) by grosbein.pp.ru (8.12.11/8.12.11) with ESMTP id i47HswZM000626; Sat, 8 May 2004 01:54:58 +0800 (KRAST) (envelope-from eugen@grosbein.pp.ru) Received: (from eugen@localhost) by grosbein.pp.ru (8.12.11/8.12.11/Submit) id i47Hswu9000625; Sat, 8 May 2004 01:54:58 +0800 (KRAST) (envelope-from eugen) Message-Id: <200405071754.i47Hswu9000625@grosbein.pp.ru> Date: Sat, 8 May 2004 01:54:58 +0800 (KRAST) From: Eugene Grosbein To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 cc: sos@FreeBSD.org Subject: kern/66359: repeatable kernel panic during ata(4) device probe X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Eugene Grosbein List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 May 2004 18:00:57 -0000 >Number: 66359 >Category: kern >Synopsis: repeatable kernel panic during ata(4) device probe >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri May 07 11:00:39 PDT 2004 >Closed-Date: >Last-Modified: >Originator: Eugene Grosbein >Release: FreeBSD 4.10-PRERELEASE i386 >Organization: Svyaz Service JSC >Environment: System: FreeBSD grosbein.pp.ru 4.10-PRERELEASE FreeBSD 4.10-PRERELEASE #12: Sat May 8 00:53:46 KRAST 2004 eu@grosbein.pp.ru:/usr/local/obj/usr/local/src/sys/DADV i386 Same for 4.9-RELEASE Same for 4.8-RELEASE >Description: I've found a way to make kernel panic 'reliably' during device probe stage. It works for 4.8, 4.8 and 4.10-PRE. I didn't tested 5-CURRENT as I do not have spare CURRENT box. Today my Maxtor 2B020H1 HDD failed - now it is detected by BIOS as Maxtor ATHENA. Size and parameters are detected correctly but the drive aborts all read requests. It seems that its internal service information is lost and the drive switched into special 'safe technological' mode itself and now should be repaired in a lab. I will not consider data recovery here. Better look how ata(4) behaves with the drive. Here is boot log: >How-To-Repeat: Take bad hard disk drive that refuses to read its first cylinder and boot ata(4)-enabled system. >Fix: Unknown for me. >Release-Note: >Audit-Trail: >Unformatted: >> FreeBSD/i386 BOOT Default: 1:ad(1,a)/boot/loader boot: -h Console: serial port BIOS drive A: is disk0 BIOS drive C: is disk1 BIOS drive D: is disk2 BIOS 639kB/523200kB available memory FreeBSD/i386 bootstrap loader, Revision 0.8 (eu@grosbein.pp.ru, Sun Apr 25 01:02:09 KRAST 2004) Loading /boot/defaults/loader.conf /kernel text=0x1eda60 data=0x41b74+0x23940 syms=[0x4+0x332e0+0x4+0x3a3e4] Hit [Enter] to boot immediately, or any other key for command prompt. Booting [kernel] in 1 second... Booting [kernel]... Copyright (c) 1992-2004 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 4.10-PRERELEASE #12: Sat May 8 00:53:46 KRAST 2004 eu@grosbein.pp.ru:/usr/local/obj/usr/local/src/sys/DADV Timecounter "i8254" frequency 1193167 Hz CPU: Intel Celeron (902.03-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x68a Stepping = 10 Features=0x383f9ff real memory = 536805376 (524224K bytes) config> flags atkbd 0x0 config> quit sio0: gdb debugging port avail memory = 518496256 (506344K bytes) Preloaded elf kernel "kernel" at 0xc03c3000. Preloaded userconfig_script "/boot/kernel.conf" at 0xc03c309c. VESA: v2.0, 65536k memory, flags:0x1, mode table:0xc034cac2 (1000022) VESA: ATI RADEON 9200 Pentium Pro MTRR support enabled Using $PIR table, 8 entries at 0xc00fdef0 apm0: on motherboard apm0: found APM BIOS v1.2, connected at v1.2 npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard pci0: on pcib0 agp0: mem 0xe8000000-0xebffffff at device 0.0 on pci0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at 0.0 irq 11 pci1: at 0.1 isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0xf000-0xf00f at device 7.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 uhci0: port 0xe000-0xe01f irq 10 at device 7.2 on pci0 usb0: on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uscanner0: Hewlett-Packard HP ScanJet 2200C, rev 1.10/1.00, addr 2 uhid0: American Power Conversion Back-UPS 500 FW: 6.5.I USB FW: c1, rev 1.10/1.00, addr 3, iclass 3/0 intpm0: port 0x5000-0x500f irq 9 at device 7.3 on pci0 intpm0: I/O mapped 5000 intpm0: intr IRQ 9 enabled revision 0 smbus0: on intsmb0 smb0: on smbus0 intpm0: PM I/O mapped 4000 fxp0: port 0xe400-0xe41f mem 0xef000000-0xef0fffff,0xef100000-0xef100fff irq 9 at device 16.0 on pci0 fxp0: Ethernet address 00:a0:c9:89:95:1f inphy0: on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto orm0: