Date: Wed, 3 May 2000 08:25:03 -0500 From: "Bruce DeVault" <internal@intechsoft.net> To: <freebsd-questions@FreeBSD.ORG> Subject: hard drive errors (?) please help if you can Message-ID: <004001bfb502$fdcbb0d0$0c01a8c0@wkbruce>
next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format. ------=_NextPart_000_003D_01BFB4D9.14A7D6F0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Several weeks ago I did a fresh install of 4.0-RELEASE and cvsup'd to stable on a machine using a promise ultra66 and three ultra66 drives. A couple of days ago I started getting these messages: Apr 30 01:04:18 fw /kernel: got bad cookie vp 0xcd030e80 bp 0xc4639b08 Apr 30 01:04:49 fw /kernel: got bad cookie vp 0xcd030e80 bp 0xc4693750 Apr 30 07:23:50 fw /kernel: ad4: HARD READ ERROR blk# = 5359248ata2-master: WARNIN G: WAIT_READY active=3DATA_ACTIVE_ATA Apr 30 07:23:58 fw /kernel: ad4: DMA problem fallback to PIO mode Apr 30 07:24:04 fw last message repeated 4 times Apr 30 07:24:04 fw /kernel: ad4: HARD READ ERROR blk# 5359328 = status=3D59 error=3D40 Apr 30 07:24:07 fw /kernel: ad4: DMA problem fallback to PIO mode Apr 30 07:24:07 fw /kernel: ad4: HARD READ ERROR blk# 5359328 = status=3D59 error=3D40 Apr 30 07:24:07 fw last message repeated 4 times May 1 21:08:04 fw /kernel: ad4: HARD READ ERROR blk# 5359328 = status=3D59 error=3D40 May 1 21:08:15 fw last message repeated 4 times I'm assuming the "bad cookie" is not related to the others. Can anyone advise me about what's happening here? I notice it says it's falling = back to PIO mode. Why would that be happening? Is the hard drive failing? What can I do to get to the bottom of this? (my complete dmesg is included below) Thanks, Bruce DeVault InTech Software --- Copyright (c) 1992-2000 The FreeBSD Project. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights = reserved. FreeBSD 4.0-STABLE #0: Tue Apr 18 12:58:38 CDT 2000 root@fw.intechsoft.net:/usr/src/sys/compile/INTECH Timecounter "i8254" frequency 1193182 Hz CPU: AMD-K6(tm) 3D processor (350.80-MHz 586-class CPU) Origin =3D "AuthenticAMD" Id =3D 0x58c Stepping =3D 12 Features=3D0x8021bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,PGE,MMX> AMD Features=3D0x80000800<SYSCALL,3DNow!> real memory =3D 167772160 (163840K bytes) avail memory =3D 158687232 (154968K bytes) Preloaded elf kernel "kernel" at 0xc03d5000. md0: Malloc disk npx0: <math processor> on motherboard npx0: INT 16 interface pcib0: <Host to PCI bridge> on motherboard pci0: <PCI bus> on pcib0 pcib2: <VIA 82C598MVP (Apollo MVP3) PCI-PCI (AGP) bridge> at ata0: at = 0x1f0 irq 14 on atapci0 ahc0: <Adaptec 2940 Ultra SCSI adapter> port 0xc800-0xc8ff mem = 0xde020000-0xde02 0fff irq 10 at device 8.0 on pci0 ahc0: aic7880 Wide Channel A, SCSI Id=3D7, 16/255 SCBs atapci1: <Promise ATA66 controller> port = 0xdc00-0xdc3f,0xd800-0xd803,0xd400-0xd4 07,0xd000-0xd003,0xcc00-0xcc07 mem 0xde000000-0xde01ffff irq 15 at = device 9.0 on pci0 ata2: at 0xcc00 on atapci1 ata3: at 0xd400 on atapci1 rl0: <RealTek 8139 10/100BaseTX> port 0xe000-0xe0ff mem = 0xde021000-0xde0210ff ir q 11 at device 10.0 on pci0 rl0: Ethernet address: 00:48:54:63:57:13 miibus0: <MII bus> on rl0 rlphy0: <RealTek internal media interface> on miibus0 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto rl0: supplying EUI64: 00:48:54:ff:fe:63:57:13 pcib1: <Host to PCI bridge> on motherboard pci2: <PCI bus> on pcib1 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> irq 1 on atkbdc0 device 1.0 on pci0 pci1: <PCI bus> on pcib2 isab0: <VIA 82C586 PCI-ISA bridge> at device 7.0 on pci0 isa0: <ISA bus> on isab0 atapci0: <VIA 82C586 ATA33 controller> port 0xc000-0xc00f at device 7.1 = on pci0 vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on = isa0 sc0: <System console> on isa0 sc0: VGA <16 virtual consoles, flags=3D0x200> sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A sio1 at port 0x2f8-0x2ff irq 3 on isa0 sio1: type 16550A ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0 ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode ppi0: <Parallel I/O> on ppbus0 lpt0: <Printer> on ppbus0 lpt0: Interrupt-driven port plip0: <PLIP network interface> on ppbus0 ed1: <D-Link DE-220P PnP ISA Card> at port 0x240-0x25f irq 5 on isa0 ed1: address 00:50:ba:a7:e3:59, type NE2000 (16 bit) ahc0: Someone reset channel A IP packet filtering initialized, divert enabled, rule-based forwarding = disabled, default to deny, unlimited logging ad4: 39082MB <Maxtor 54098U8> [79406/16/63] at ata2-master using UDMA66 ad6: 32634MB <IBM-DPTA-373420> [66305/16/63] at ata3-master using UDMA66 ad7: 32634MB <IBM-DPTA-373420> [66305/16/63] at ata3-slave using UDMA66 acd0: CDROM <ATAPI 44X CDROM> at ata0-master using PIO4 Waiting 15 seconds for SCSI devices to settle sa0 at ahc0 bus 0 target 2 lun 0 sa0: <TANDBERG MLR1 0318> Removable Sequential Access SCSI-2 device sa0: 40.000MB/s transfers (20.000MHz, offset 8, 16bit) Mounting root from ufs:/dev/ad4s1a rl0: starting DAD for fe80:0001::0248:54ff:fe63:5713 ed1: starting DAD for fe80:0003::0250:baff:fea7:e359 rl0: DAD complete for fe80:0001::0248:54ff:fe63:5713 - no duplicates = found ed1: DAD complete for fe80:0003::0250:baff:fea7:e359 - no duplicates = found got bad cookie vp 0xcd109bc0 bp 0xc465bcd8 got bad cookie vp 0xccf56dc0 bp 0xc4689870 got bad cookie vp 0xcd050de0 bp 0xc4637c48 got bad cookie vp 0xcd09a2e0 bp 0xc46387d0 got bad cookie vp 0xcd3919e0 bp 0xc466b7f8 got bad cookie vp 0xcd3eec00 bp 0xc4668db0 got bad cookie vp 0xcd3eec00 bp 0xc4638ba8 arp: 192.168.1.3 moved from 00:10:5a:86:72:41 to 00:a0:4b:07:4a:ab on = rl0 arp: 192.168.1.3 moved from 00:a0:4b:07:4a:ab to 00:10:5a:86:72:41 on = rl0 got bad cookie vp 0xcd030e80 bp 0xc4639b08 got bad cookie vp 0xcd030e80 bp 0xc4693750 ad4: HARD READ ERROR blk# 5359248ata2-master: WARNING: WAIT_READY = active=3DATA_ACT IVE_ATA ad4: DMA problem fallback to PIO mode ad4: DMA problem fallback to PIO mode ad4: DMA problem fallback to PIO mode ad4: DMA problem fallback to PIO mode ad4: DMA problem fallback to PIO mode ad4: HARD READ ERROR blk# 5359328 status=3D59 error=3D40 ad4: DMA problem fallback to PIO mode ad4: HARD READ ERROR blk# 5359328 status=3D59 error=3D40 ad4: HARD READ ERROR blk# 5359328 status=3D59 error=3D40 ad4: HARD READ ERROR blk# 5359328 status=3D59 error=3D40 ad4: HARD READ ERROR blk# 5359328 status=3D59 error=3D40 ad4: HARD READ ERROR blk# 5359328 status=3D59 error=3D40 ad4: HARD READ ERROR blk# 5359328 status=3D59 error=3D40 ad4: HARD READ ERROR blk# 5359328 status=3D59 error=3D40 ad4: HARD READ ERROR blk# 5359328 status=3D59 error=3D40 ad4: HARD READ ERROR blk# 5359328 status=3D59 error=3D40 ad4: HARD READ ERROR blk# 5359328 status=3D59 error=3D40 got bad cookie vp 0xcd0da160 bp 0xc4665408 --- =20 $ df -k Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/ad4s1a 127023 28371 88491 24% / /dev/ad4s1e 2032623 789483 1080531 42% /usr /dev/ad4s1g 1016303 5172 929827 1% /var /dev/ad4s1h 1016303 3 934996 0% /tmp /dev/ad4s1d 1953375 239960 1557145 13% /home /dev/ad4s1f 32389024 20726675 9071228 70% /backup /dev/ad6s1e 32389528 3353 29795013 0% /backup2 /dev/ad7s1e 32389528 1 29798365 0% /backup3 procfs 4 4 0 100% /proc ------=_NextPart_000_003D_01BFB4D9.14A7D6F0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META content=3D"text/html; charset=3Diso-8859-1" = http-equiv=3DContent-Type> <META content=3D"MSHTML 5.00.2920.0" name=3DGENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=3D#ffffff> <DIV><FONT face=3DArial size=3D2> <DIV><FONT face=3DArial size=3D2>Several weeks ago I did a fresh install = of=20 4.0-RELEASE and cvsup'd</FONT></DIV> <DIV><FONT face=3DArial size=3D2>to stable on a machine </FONT><FONT = face=3DArial=20 size=3D2>using a promise ultra66 and three ultra66 drives.</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2>A couple of days ago I started getting = these=20 messages:</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2>Apr 30 01:04:18 fw /kernel: got bad = cookie vp=20 0xcd030e80 bp 0xc4639b08<BR>Apr 30 01:04:49 fw /kernel: got bad cookie = vp=20 0xcd030e80 bp 0xc4693750<BR>Apr 30 07:23:50 fw /kernel: ad4: HARD READ = ERROR=20 blk# 5359248ata2-master: WARNIN<BR>G: WAIT_READY = active=3DATA_ACTIVE_ATA<BR>Apr 30=20 07:23:58 fw /kernel: ad4: DMA problem fallback to PIO mode<BR>Apr 30 = 07:24:04 fw=20 last message repeated 4 times<BR>Apr 30 07:24:04 fw /kernel: ad4: HARD = READ=20 ERROR blk# 5359328 status=3D59 error=3D40<BR>Apr 30 07:24:07 fw /kernel: = ad4: DMA=20 problem fallback to PIO mode<BR>Apr 30 07:24:07 fw /kernel: ad4: HARD = READ ERROR=20 blk# 5359328 status=3D59 error=3D40<BR>Apr 30 07:24:07 fw last message = repeated 4=20 times<BR>May 1 21:08:04 fw /kernel: ad4: HARD READ ERROR blk# = 5359328=20 status=3D59 error=3D40<BR>May 1 21:08:15 fw last message repeated = 4=20 times<BR></FONT></DIV> <DIV><FONT face=3DArial size=3D2>I'm assuming the "bad cookie" is not = related to the=20 others. Can anyone</FONT></DIV> <DIV><FONT face=3DArial size=3D2>advise me about what's happening here? = I notice it=20 says it's falling back</FONT></DIV> <DIV><FONT face=3DArial size=3D2>to PIO mode. Why would that be = happening? Is the=20 hard drive failing?</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2>What can I do to get to the bottom of=20 this?</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2>(my complete dmesg is included = below)</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2>Thanks,</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2>Bruce DeVault</FONT></DIV> <DIV><FONT face=3DArial size=3D2>InTech Software</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2>---</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2>Copyright (c) 1992-2000 The FreeBSD=20 Project.<BR>Copyright (c) 1982, 1986, 1989, 1991,=20 1993<BR> The Regents of the = University=20 of California. All rights reserved.<BR>FreeBSD 4.0-STABLE #0: Tue Apr 18 = 12:58:38 CDT 2000<BR> <A=20 href=3D"mailto:root@fw.intechsoft.net:/usr/src/sys/compile/INTECH">root@f= w.intechsoft.net:/usr/src/sys/compile/INTECH</A><BR>Timecounter=20 "i8254" frequency 1193182 Hz<BR>CPU: AMD-K6(tm) 3D processor = (350.80-MHz=20 586-class CPU)<BR> Origin =3D "AuthenticAMD" Id =3D = 0x58c Stepping=20 =3D 12<BR> =20 Features=3D0x8021bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,PGE,MMX><BR>&nbs= p; AMD=20 Features=3D0x80000800<SYSCALL,3DNow!><BR>real memory =3D = 167772160=20 (163840K bytes)<BR>avail memory =3D 158687232 (154968K = bytes)<BR>Preloaded elf=20 kernel "kernel" at 0xc03d5000.<BR>md0: Malloc disk<BR>npx0: <math=20 processor> on motherboard<BR>npx0: INT 16 interface<BR>pcib0: = <Host to PCI=20 bridge> on motherboard<BR>pci0: <PCI bus> on pcib0<BR>pcib2: = <VIA=20 82C598MVP (Apollo MVP3) PCI-PCI (AGP) bridge> at ata0: at 0x1f0 irq = 14 on=20 atapci0<BR>ahc0: <Adaptec 2940 Ultra SCSI adapter> port = 0xc800-0xc8ff mem=20 0xde020000-0xde02<BR>0fff irq 10 at device 8.0 on pci0<BR>ahc0: aic7880 = Wide=20 Channel A, SCSI Id=3D7, 16/255 SCBs<BR>atapci1: <Promise ATA66 = controller>=20 port = 0xdc00-0xdc3f,0xd800-0xd803,0xd400-0xd4<BR>07,0xd000-0xd003,0xcc00-0xcc07= =20 mem 0xde000000-0xde01ffff irq 15 at device 9.0 on<BR> pci0<BR>ata2: = at=20 0xcc00 on atapci1<BR>ata3: at 0xd400 on atapci1<BR>rl0: <RealTek 8139 = 10/100BaseTX> port 0xe000-0xe0ff mem 0xde021000-0xde0210ff ir<BR>q 11 = at=20 device 10.0 on pci0<BR>rl0: Ethernet address: = 00:48:54:63:57:13<BR>miibus0:=20 <MII bus> on rl0<BR>rlphy0: <RealTek internal media = interface> on=20 miibus0<BR>rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, = auto<BR>rl0: supplying EUI64: 00:48:54:ff:fe:63:57:13<BR>pcib1: <Host = to PCI=20 bridge> on motherboard<BR>pci2: <PCI bus> on pcib1<BR>fdc0: = <NEC=20 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on = isa0<BR>fdc0: FIFO=20 enabled, 8 bytes threshold<BR>fd0: <1440-KB 3.5" drive> on fdc0 = drive=20 0<BR>atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on=20 isa0<BR>atkbd0: <AT Keyboard> irq 1 on atkbdc0<BR>device 1.0 on=20 pci0<BR>pci1: <PCI bus> on pcib2<BR>isab0: <VIA 82C586 PCI-ISA=20 bridge> at device 7.0 on pci0<BR>isa0: <ISA bus> on = isab0<BR>atapci0:=20 <VIA 82C586 ATA33 controller> port 0xc000-0xc00f at device 7.1 on=20 pci0<BR>vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem = 0xa0000-0xbffff=20 on isa0<BR>sc0: <System console> on isa0<BR>sc0: VGA <16 = virtual=20 consoles, flags=3D0x200><BR>sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 = on=20 isa0<BR>sio0: type 16550A<BR>sio1 at port 0x2f8-0x2ff irq 3 on = isa0<BR>sio1:=20 type 16550A<BR>ppc0: <Parallel port> at port 0x378-0x37f irq 7 on=20 isa0<BR>ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode<BR>ppi0:=20 <Parallel I/O> on ppbus0<BR>lpt0: <Printer> on = ppbus0<BR>lpt0:=20 Interrupt-driven port<BR>plip0: <PLIP network interface> on = ppbus0<BR>ed1:=20 <D-Link DE-220P PnP ISA Card> at port 0x240-0x25f irq 5 on = isa0<BR>ed1:=20 address 00:50:ba:a7:e3:59, type NE2000 (16 bit)<BR>ahc0: Someone reset = channel=20 A<BR>IP packet filtering initialized, divert enabled, rule-based = forwarding=20 disabled,<BR> default to deny, unlimited logging<BR>ad4: 39082MB = <Maxtor=20 54098U8> [79406/16/63] at ata2-master using UDMA66<BR>ad6: 32634MB=20 <IBM-DPTA-373420> [66305/16/63] at ata3-master using = UDMA66<BR>ad7:=20 32634MB <IBM-DPTA-373420> [66305/16/63] at ata3-slave using=20 UDMA66<BR>acd0: CDROM <ATAPI 44X CDROM> at ata0-master using=20 PIO4<BR>Waiting 15 seconds for SCSI devices to settle<BR>sa0 at ahc0 bus = 0=20 target 2 lun 0<BR>sa0: <TANDBERG MLR1 0318> Removable Sequential = Access=20 SCSI-2 device<BR>sa0: 40.000MB/s transfers (20.000MHz, offset 8,=20 16bit)<BR>Mounting root from ufs:/dev/ad4s1a<BR>rl0: starting DAD for=20 fe80:0001::0248:54ff:fe63:5713<BR>ed1: starting DAD for=20 fe80:0003::0250:baff:fea7:e359<BR>rl0: DAD complete for=20 fe80:0001::0248:54ff:fe63:5713 - no duplicates found<BR>ed1: DAD = complete for=20 fe80:0003::0250:baff:fea7:e359 - no duplicates found<BR>got bad cookie = vp=20 0xcd109bc0 bp 0xc465bcd8<BR>got bad cookie vp 0xccf56dc0 bp = 0xc4689870<BR>got=20 bad cookie vp 0xcd050de0 bp 0xc4637c48<BR>got bad cookie vp 0xcd09a2e0 = bp=20 0xc46387d0<BR>got bad cookie vp 0xcd3919e0 bp 0xc466b7f8<BR>got bad = cookie vp=20 0xcd3eec00 bp 0xc4668db0<BR>got bad cookie vp 0xcd3eec00 bp = 0xc4638ba8<BR>arp:=20 192.168.1.3 moved from 00:10:5a:86:72:41 to 00:a0:4b:07:4a:ab on = rl0<BR>arp:=20 192.168.1.3 moved from 00:a0:4b:07:4a:ab to 00:10:5a:86:72:41 on = rl0<BR>got bad=20 cookie vp 0xcd030e80 bp 0xc4639b08<BR>got bad cookie vp 0xcd030e80 bp=20 0xc4693750<BR>ad4: HARD READ ERROR blk# 5359248ata2-master: WARNING: = WAIT_READY=20 active=3DATA_ACT<BR>IVE_ATA<BR>ad4: DMA problem fallback to PIO = mode<BR>ad4: DMA=20 problem fallback to PIO mode<BR>ad4: DMA problem fallback to PIO = mode<BR>ad4:=20 DMA problem fallback to PIO mode<BR>ad4: DMA problem fallback to PIO=20 mode<BR>ad4: HARD READ ERROR blk# 5359328 status=3D59 error=3D40<BR>ad4: = DMA problem=20 fallback to PIO mode<BR>ad4: HARD READ ERROR blk# 5359328 status=3D59=20 error=3D40<BR>ad4: HARD READ ERROR blk# 5359328 status=3D59 = error=3D40<BR>ad4: HARD=20 READ ERROR blk# 5359328 status=3D59 error=3D40<BR>ad4: HARD READ ERROR = blk# 5359328=20 status=3D59 error=3D40<BR>ad4: HARD READ ERROR blk# 5359328 status=3D59=20 error=3D40<BR>ad4: HARD READ ERROR blk# 5359328 status=3D59 = error=3D40<BR>ad4: HARD=20 READ ERROR blk# 5359328 status=3D59 error=3D40<BR>ad4: HARD READ ERROR = blk# 5359328=20 status=3D59 error=3D40<BR>ad4: HARD READ ERROR blk# 5359328 status=3D59=20 error=3D40<BR>ad4: HARD READ ERROR blk# 5359328 status=3D59 = error=3D40<BR>got bad=20 cookie vp 0xcd0da160 bp 0xc4665408<BR></FONT></DIV> <DIV><FONT face=3DArial size=3D2>---</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>$ df -k<BR>Filesystem =20 1K-blocks Used Avail = Capacity =20 Mounted on<BR>/dev/ad4s1a 127023 =20 28371 88491 24% =20 /<BR>/dev/ad4s1e 2032623 789483 =20 1080531 42% = /usr<BR>/dev/ad4s1g =20 1016303 5172 = 929827 =20 1% /var<BR>/dev/ad4s1h =20 1016303 3 =20 934996 0% =20 /tmp<BR>/dev/ad4s1d 1953375 239960 =20 1557145 13% = /home<BR>/dev/ad4s1f =20 32389024 20726675 9071228 70% =20 /backup<BR>/dev/ad6s1e 32389528 3353=20 29795013 0% =20 /backup2<BR>/dev/ad7s1e = 32389528 =20 1 29798365 0% =20 /backup3<BR>procfs &= nbsp; =20 4 =20 4 0 = 100% =20 /proc<BR></DIV></FONT></FONT></DIV></BODY></HTML> ------=_NextPart_000_003D_01BFB4D9.14A7D6F0-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?004001bfb502$fdcbb0d0$0c01a8c0>