From owner-freebsd-stable Tue Jul 23 21: 6: 4 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1EF5437B400 for ; Tue, 23 Jul 2002 21:05:55 -0700 (PDT) Received: from moria.seul.org (MORIA.MIT.EDU [18.244.0.188]) by mx1.FreeBSD.org (Postfix) with ESMTP id 161DB43E65 for ; Tue, 23 Jul 2002 21:05:54 -0700 (PDT) (envelope-from gabe@seul.org) Received: by moria.seul.org (Postfix, from userid 734) id 20A58146812; Wed, 24 Jul 2002 00:05:53 -0400 (EDT) Date: Wed, 24 Jul 2002 00:05:53 -0400 From: Gabriel Rocha To: freebsd-stable@freebsd.org Subject: ATA problems, out of ideas. Message-ID: <20020724000552.A12414@seul.org> Mail-Followup-To: freebsd-stable@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, I recently did a make buildworld on a 4.5-stable system over to 4.6-stable as of a few days ago and my system went haywire. I am nore sure if my drive is bad, my controller is bad, both or the ata driver doesn't like me. (By the way, the fact that the bad things happened after the upgrade may well be a coincidence since other factors do point to plain old hardware failure.) I am pasting the errors below, I wouldn't mind a solution tot he problem in terms of FreeBSD, but since the system is going to IBM for review anyway... I just would like to know what is wrong. The system is an IBM T-20 laptop, the amusing thing is, the hard drive on the T-20 gives similar problems while on 2 other laptops, but 2 other hard drives that work perfectly well on those same two other laptops don't work on the T-20. So the problem is either FreeBSD or both the hard drive and the hard drive controller being bad at the same time. It has to be a physical problem at some level, the drive actually scratches and hisses and pops when things start to happen. I thought it was write caching, but I have since turned that off and the error persists. It may be the drive itself, because I get hard errors while reading, but that might be the controller too(I couldn't record those errors because the box crashes hard when they happen) ok, here are the errors, the output of dmesg, my kernel config and relevant sysctls. Thanks in advance. --Gabe Copyright (c) 1992-2002 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.6-STABLE #0: Sat Jul 20 15:29:27 EDT 2002 root@lurch.neutraldomain.org:/usr/src/sys/compile/lurch Timecounter "i8254" frequency 1193182 Hz CPU: Pentium III/Pentium III Xeon/Celeron (498.27-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x683 Stepping = 3 Features=0x383f9ff real memory = 335347712 (327488K bytes) avail memory = 321724416 (314184K bytes) Preloaded elf kernel "kernel" at 0xc03e9000. Preloaded userconfig_script "/boot/kernel.conf" at 0xc03e909c. VESA: v2.0, 4032k memory, flags:0x0, mode table:0xc036ae02 (1000022) VESA: MagicMedia 256ZX 48K netsmb_dev: loaded Pentium Pro MTRR support enabled md0: Malloc disk pcibios: No call entry point apm0: on motherboard apm: found APM BIOS v1.2, connected at v1.2 npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard pci0: on pcib0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at 0.0 irq 11 pcic0: mem 0x50103000-0x50103fff irq 11 at device 2.0 on pci0 pcic0: TI12XX PCI Config Reg: [ring enable][speaker enable][pwr save][FUNC pci int + CSC serial isa irq] pccard0: on pcic0 pcic1: mem 0x50102000-0x50102fff irq 11 at device 2.1 on pci0 pcic1: TI12XX PCI Config Reg: [ring enable][speaker enable][pwr save][FUNC pci int + CSC serial isa irq] pccard1: on pcic1 pci0: (vendor=0x11c1, dev=0x0449) at 3.0 irq 11 csa0: mem 0x50000000-0x500fffff,0x50100000-0x50100fff irq 11 at device 6.0 on pci0 csa: card is Thinkpad 600X/A20/T20 pcm0: on csa0 isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0xfcf0-0xfcff at device 7.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 uhci0: port 0x4000-0x401f irq 11 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 intpm0: port 0xefa0-0xefaf irq 9 at device 7.3 on pci0 intpm0: I/O mapped efa0 intpm0: intr IRQ 9 enabled revision 0 smbus0: on intsmb0 intpm0: PM I/O mapped ef00 orm0: