Date: Fri, 19 Mar 2004 15:00:38 -0500 (EST) From: Jerry McAllister <jerrymc@clunix.cl.msu.edu> To: joey@mingrone.org (Joey Mingrone) Cc: freebsd-questions@freebsd.org Subject: Re: drive / IDE controller questions Message-ID: <200403192000.i2JK0cU25855@clunix.cl.msu.edu> In-Reply-To: <200403191547.05545.joey@mingrone.org> from "Joey Mingrone" at Mar 19, 2004 03:45:21 PM
next in thread | previous in thread | raw e-mail | index | archive | help
> > Hi, > > I've been having problems with my western digital drive > (http://www.wdc.com/en/products/products.asp?DriveID=24) for about a year. > I've posted messages about this before, but I have some new information that > may be relevant. > > The problem started out when I would randomly hear the drive restarting. It > would make a high pitch sound that would increase in pitch and last a second > or two (The same sound the drive makes when you power on the system). > Messages similar to the ones below would also appear in /var/log/messages: > > ad0: WRITE command timeout tag=0 serv=0 - resetting > /kernel: ata0: resetting devices .. ata0-slave: ATA identify retries exceeded > > ad0: READ command timeout tag=0 serv=0 - resetting > > At first, these drive resets would only happen once or twice and everything > would go back to normal. Eventually they would happen over and over until > the system became unusable and wouldn't boot up even after running fsck in > singal user mode with all the partitions unmount or mounted read only. I > found a temporary solution was to run the western digital diagnostic tools > and then run fsck. I would usually have a small amount of data > corruption/loss but the system would be usable again. Things would be fine > for a week or longer, but the problem would eventually reappear. Finally I > contacted WD and they sent me a replacement drive (It was the same model, but > a refurbished drive that I'm guessing was sent back by someone else). After > a few tries I managed to get dd to copy the contents of the old drive to the > new drive and for quite some time everything was great. But, the other day > the new drive began to have the same problem as the old one. > > So now, I'm guessing the problem may lie with the controller on the main board > (http://usa.asus.com/mb/socketa/a7v266-e/overview.htm). Another early guess might also be overheating problems. I am not sure how you would check other than trying to make it cooler. ////jerry > > My main board has the optional raid controller. Would it be possible to use > that controller with my current drive, or would the secondary controller be a > better solution? > > Other notes: > > I've tried a few different IDE cables. > I don't think it has anything to do with the OS since the resets have happened > before the OS starts to boot and in the BIOS. > > I've included a uname -a, dmesg output and my kernel config file below. Any > tips would be much appreciated. > > Thanks, > > Joey > > uname -a: > FreeBSD *hostname* 4.9-RELEASE-p2 FreeBSD 4.9-RELEASE-p2 #0: Mon Feb 9 > 03:08:50 AST 2004 > root@*hostname*:/usr/obj/usr/src/sys/KERNEL_CONFIG_2004-02-09 i386 > > dmesg: > Copyright (c) 1992-2003 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.9-RELEASE-p2 #0: Mon Feb 9 03:08:50 AST 2004 > root@*hostname*:/usr/obj/usr/src/sys/2004-02-09 > Timecounter "i8254" frequency 1193182 Hz > CPU: AMD Athlon(TM) XP1600+ (1410.21-MHz 686-class CPU) > Origin = "AuthenticAMD" Id = 0x662 Stepping = 2 > Features=0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE> > AMD Features=0xc0480000<MP,AMIE,DSP,3DNow!> > real memory = 536788992 (524208K bytes) > avail memory = 518852608 (506692K bytes) > Preloaded elf kernel "kernel" at 0xc0364000. > Preloaded userconfig_script "/boot/kernel.conf" at 0xc036409c. > Pentium Pro MTRR support enabled > md0: Malloc disk > Using $PIR table, 10 entries at 0xc00f1480 > apm0: <APM BIOS> on motherboard > apm0: found APM BIOS v1.2, connected at v1.2 > npx0: <math processor> on motherboard > npx0: INT 16 interface > pcib0: <Host to PCI bridge> on motherboard > pci0: <PCI bus> on pcib0 > agp0: <VIA Generic host to PCI bridge> mem 0xf8000000-0xfbffffff at device 0.0 > on pci0 > pcib1: <PCI to PCI bridge (vendor=1106 device=b099)> at device 1.0 on pci0 > pci1: <PCI bus> on pcib1 > pci1: <NVidia Riva Ultra Vanta TNT2 graphics accelerator> at 0.0 irq 11 > atapci0: <Promise ATA100 controller> port > 0xb400-0xb43f,0xb800-0xb803,0xd000-0xd007,0xd400-0xd403,0xd800-0xd807 mem > 0xf3800000-0xf381ffff irq 5 at device 6.0 on pci0 > ata2: at 0xd800 on atapci0 > ata3: at 0xd000 on atapci0 > pcm0: <Creative EMU10K1> port 0xb000-0xb01f irq 10 at device 15.0 on pci0 > pcm0: <SigmaTel STAC9721/23 AC97 Codec> > rl0: <RealTek 8139 10/100BaseTX> port 0xa400-0xa4ff mem 0xf3000000-0xf30000ff > irq 5 at device 16.0 on pci0 > rl0: Ethernet address: 00:e0:4c:00:30:22 > miibus0: <MII bus> on rl0 > rlphy0: <RealTek internal media interface> on miibus0 > rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto > isab0: <PCI to ISA bridge (vendor=1106 device=3074)> at device 17.0 on pci0 > isa0: <ISA bus> on isab0 > atapci1: <VIA 8233 ATA100 controller> port 0xa000-0xa00f irq 0 at device 17.1 > on pci0 > ata0: at 0x1f0 irq 14 on atapci1 > ata1: at 0x170 irq 15 on atapci1 > uhci0: <VIA 83C572 USB controller> port 0x9800-0x981f irq 5 at device 17.2 on > pci0 > usb0: <VIA 83C572 USB controller> on uhci0 > usb0: USB revision 1.0 > uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 > uhub0: 2 ports with 2 removable, self powered > uhci1: <VIA 83C572 USB controller> port 0x9400-0x941f irq 5 at device 17.3 on > pci0 > usb1: <VIA 83C572 USB controller> on uhci1 > usb1: USB revision 1.0 > uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 > uhub1: 2 ports with 2 removable, self powered > uhci2: <VIA 83C572 USB controller> port 0x9000-0x901f irq 5 at device 17.4 on > pci0 > usb2: <VIA 83C572 USB controller> on uhci2 > usb2: USB revision 1.0 > uhub2: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 > uhub2: 2 ports with 2 removable, self powered > orm0: <Option ROM> at iomem 0xcc000-0xcffff on isa0 > pmtimer0 on isa0 > fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0 > fdc0: FIFO enabled, 8 bytes threshold > fd0: <1440-KB 3.5" drive> on fdc0 drive 0 > atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0 > atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0 > kbd0 at atkbd0 > psm0: <PS/2 Mouse> irq 12 on atkbdc0 > psm0: model MouseMan+, device ID 0 > vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 > sc0: <System console> at flags 0x100 on isa0 > sc0: VGA <16 virtual consoles, flags=0x300> > ad0: 95396MB <WDC WD1000JB-00CRA1> [193821/16/63] at ata0-master UDMA100 > Mounting root from ufs:/dev/ad0s1a > > kernel config: > machine i386 > cpu I686_CPU > ident > maxusers 0 > > options INET #InterNETworking > options INET6 #IPv6 communications protocols > options FFS #Berkeley Fast Filesystem > options FFS_ROOT #FFS usable as root device [keep this!] > options SOFTUPDATES #Enable FFS soft updates support > options UFS_DIRHASH #Improve performance on big directories > options MFS #Memory Filesystem > options MD_ROOT #MD is a potential root device > options PROCFS #Process filesystem > options COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!] > options UCONSOLE #Allow users to grab the console > options USERCONFIG #boot -c editor > options VISUAL_USERCONFIG #visual boot -c editor > options KTRACE #ktrace(1) support > > options SYSVSHM > options SYSVSEM > options SYSVMSG > options SHMMAXPGS=65536 > options SEMMNI=40 > options SEMMNS=240 > options SEMUME=40 > options SEMMNU=120 > > options P1003_1B #Posix P1003_1B real-time extensions > options _KPOSIX_PRIORITY_SCHEDULING > options ICMP_BANDLIM #Rate limit bad replies > options KBD_INSTALL_CDEV # install a CDEV entry in /dev > #options AHC_REG_PRETTY_PRINT # Print register bitfields in debug output. > Adds ~128k to driver. > #options AHD_REG_PRETTY_PRINT # Print register bitfields in debug output. > Adds ~215k to driver. > > options USER_LDT # used by JAVA (added manually) > options CPU_ENABLE_SSE # used by DVD (added manually) > options CPU_FASTER_5X86_FPU # for mplayer (added manually) > options CPU_ATHLON_SSE_HACK # for mplayer (added manually) > > device isa > #device eisa > device pci > device agp # support several AGP chipsets > > # Floppy drives > device fdc0 at isa? port IO_FD1 irq 6 drq 2 > device fd0 at fdc0 drive 0 > device fd1 at fdc0 drive 1 > > # ATA and ATAPI devices > #device ata0 at isa? port IO_WD1 irq 14 > #device ata1 at isa? port IO_WD2 irq 15 > device ata > device atadisk # ATA disk drives > device atapicd # ATAPI CDROM drives > #device atapifd # ATAPI floppy drives > #device atapist # ATAPI tape drives > options ATA_STATIC_ID #Static device numbering > > device atapicam # emulate ATAPI devices as SCSI ditto via CAM (added > manually) > device scbus #base SCSI code (added manually) > device cd #SCSI CD-ROMs (added manually) > device pass #CAM passthrough driver (added manually) > > # atkbdc0 controls both the keyboard and the PS/2 mouse > device atkbdc0 at isa? port IO_KBD > device atkbd0 at atkbdc? irq 1 flags 0x1 > device psm0 at atkbdc? irq 12 > > device vga0 at isa? > > # splash screen/screen saver > pseudo-device splash > > # syscons is the default console driver, resembling an SCO console > device sc0 at isa? flags 0x100 > > # Floating point support - do not disable. > device npx0 at nexus? port IO_NPX irq 13 > > # Power management support (see LINT for more options) > # for some reason the "disable flags 0x20" is inculded in the generic kernel, > but apm will only work if you comment out everything after nexus? > device apm0 at nexus? #disable flags 0x20 # Advanced Power Management > > # Serial (COM) ports > #device sio0 at isa? port IO_COM1 flags 0x10 irq 4 > #device sio1 at isa? port IO_COM2 irq 3 > #device sio2 at isa? disable port IO_COM3 irq 5 > #device sio3 at isa? disable port IO_COM4 irq 9 > > # Parallel port > #device ppc0 at isa? irq 7 > #device ppbus # Parallel port bus (required) > #device lpt # Printer > #device plip # TCP/IP over parallel > #device ppi # Parallel port interface device > #device vpo # Requires scbus and da > > # PCI Ethernet NICs. > device miibus # MII bus support > device rl # RealTek 8129/8139 > > # Pseudo devices - the number indicates how many units to allocate. > pseudo-device loop # Network loopback > pseudo-device ether # Ethernet support > #pseudo-device sl 1 # Kernel SLIP > #pseudo-device ppp 1 # Kernel PPP > pseudo-device tun # Packet tunnel. > pseudo-device pty # Pseudo-ttys (telnet etc) > pseudo-device md # Memory "disks" > pseudo-device gif # IPv6 and IPv4 tunneling > pseudo-device faith 1 # IPv6-to-IPv4 relaying (translation) > > # The `bpf' pseudo-device enables the Berkeley Packet Filter. > # Be aware of the administrative consequences of enabling this! > pseudo-device bpf #Berkeley packet filter > > # USB support > device uhci # UHCI PCI->USB interface > device ohci # OHCI PCI->USB interface > device usb # USB Bus (required) > device ugen # Generic > device uhid # "Human Interface Devices" > #device ukbd # Keyboard > #device ulpt # Printer > #device umass # Disks/Mass storage - Requires scbus and da > #device ums # Mouse > #device uscanner # Scanners > #device urio # Diamond Rio MP3 Player > > #Sound card > device pcm # (added manually) > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.4 (FreeBSD) > > iD8DBQFAW03X0NQPEWppBZsRAkoCAJ0TiuxEjAudd3aX3jH7jwCXjeu5NgCfXZgO > tFoAeaxzReMp+Qmzy7pknug= > =652V > -----END PGP SIGNATURE----- > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200403192000.i2JK0cU25855>