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