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