[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: wd error on macppc
On Fri, Jun 06, 2003 at 01:58:17PM +0900, itojun@iijlab.net wrote:
> i get a lot of device timeouts with recent kernel (macppc, iBook 2002
> summer). sector number varies time to time. machine locks up
> while showing those errors. any clues?
Can you show
atactl wd0 smartreadlog summary
output?
>
> itojun
>
>
>
> on, 400 dpi
> wsmouse0 at ams0 mux 0
> abtn0 at adb0 addr 7: brightness/volume/eject buttons
> apm0 at adb0: battery flags 0x5, 94% charged
> wdc0 at macobio0 irq 19: DMA transfer
> wd0 at wdc0 channel 0 drive 0: <IC25N040ATCS04-0>
> wd0: 16-sector PIO, LBA, 38154MB, 16383 cyl, 16 head, 63 sec, 78140160 sectors
> atapiscsi0 at wdc0 channel 0 drive 1
> scsibus0 at atapiscsi0: 2 targets
> cd0 at scsibus0 targ 0 lun 0: <TOSHIBA, DVD-ROM SD-R2102, 1K27> SCSI0 5/cdrom removable
> wd0(wdc0:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 2
> cd0(wdc0:0:1): using PIO mode 4, DMA mode 2, Ultra-DMA mode 2
> wi0 at macobio0 irq 57:
> wi0: Firmware 8.12 variant 1, address 00:30:65:15:6c:10
> ohci0 at pci1 dev 24 function 0 "Apple Pangea USB" rev 0x00: irq 27, OHCI version 1.0
> usb0 at ohci0: USB revision 1.0
> uhub0 at usb0
> uhub0: vendor 0x0000 OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
> uhub0: 2 ports with 2 removable, self powered
> ohci1 at pci1 dev 25 function 0 "Apple Pangea USB" rev 0x00: irq 28, OHCI version 1.0
> usb1 at ohci1: USB revision 1.0
> uhub1 at usb1
> uhub1: vendor 0x0000 OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
> uhub1: 2 ports with 2 removable, self powered
> mpcpcibr2 at mainbus0: uni-north, Revision 0xff
> pci2 at mpcpcibr2 bus 0
> pchb2 at pci2 dev 11 function 0 "Apple Pangea Host-PCI" rev 0x00
> fwohci0 at pci2 dev 14 function 0 "Apple Pangea FireWire" rev 0x00: irq 40
> fwohci0: OHCI 1.0, 00:03:93:ff:fe:a6:05:c2, 400Mb/s, 2048 max_rec, 8 iso_ctx
> gem0 at pci2 dev 15 function 0 "Apple GMAC" rev 0x00
> gem0: address 00:03:93:a6:05:c2
> bmtphy0 at gem0 phy 0: BCM5221 100baseTX PHY, rev. 4
> gem0: using irq 41 for interrupt
> bootpath: '/pci@f2000000/mac-io@17/ata-4@1f000/disk@0/bsd'
> boot device: wd0.
> root on wd0a
> rootdev=0x0 rrootdev=0xb00 rawdev=0xb02
> WARNING: / was not properly unmounted
> WARNING: clock gained 3 days -- CHECK AND RESET THE DATE!
> fw0 at fwohci0: 00:03:93:ff:fe:a6:05:c2:0a:02:20:00:00:00:00:00
> ugen0 at uhub1 port 2
> ugen0: HCF USB V.90 Data/Fax Modem Apple internal modem, rev 1.10/1.00, addr 2
> wd0(wdc0:0:0): timeout
> type: ata
> c_bcount: 8192
> c_skip: 0
> wdc0 channel 0: reset failed for drive 0
> wd0g: device timeout writing fsbn 42610480 of 42610480-42610495 (wd0 bn 61172544; cn 60687 tn 0 sn 48), retrying
> wdc0:0:0: not ready, st=0x80, err=0x00
> wd0g: device timeout writing fsbn 42610480 of 42610480-42610495 (wd0 bn 61172544; cn 60687 tn 0 sn 48), retrying
> wd0: soft error (corrected)
> wd0(wdc0:0:0): timeout
> type: ata
> c_bcount: 8192
> c_skip: 0
> wdc0 channel 0: reset failed for drive 0
> wd0g: device timeout reading fsbn 34490400 of 34490400-34490415 (wd0 bn 53052464; cn 52631 tn 6 sn 38), retrying
> wdc0:0:0: not ready, st=0x80, err=0x00
> wdc0 channel 0: reset failed for drive 0
> wd0g: device timeout reading fsbn 34490400 of 34490400-34490415 (wd0 bn 53052464; cn 52631 tn 6 sn 38), retrying
> wdc0:0:0: not ready, st=0x80, err=0x00
> wdc0 channel 0: reset failed for drive 0
> wd0g: device timeout reading fsbn 34490400 of 34490400-34490415 (wd0 bn 53052464; cn 52631 tn 6 sn 38), retrying
> wdc0:0:0: not ready, st=0x80, err=0x00
> wdc0 channel 0: reset failed for drive 0
> wd0g: device timeout reading fsbn 34490400 of 34490400-34490415 (wd0 bn 53052464; cn 52631 tn 6 sn 38), retrying
> wdc0:0:0: not ready, st=0x80, err=0x00
> wdc0 channel 0: reset failed for drive 0
> wd0g: device timeout reading fsbn 34490400 of 34490400-34490415 (wd0 bn 53052464; cn 52631 tn 6 sn 38), retrying
> wdc0:0:0: not ready, st=0x80, err=0x00
> wdc0 channel 0: reset failed for drive 0
> wd0g: device timeout reading fsbn 34490400 of 34490400-34490415 (wd0 bn 53052464; cn 52631 tn 6 sn 38)
> wdc0:0:0: not ready, st=0x80, err=0x00
> wdc0 channel 0: reset failed for drive 0
> wd0g: device timeout writing fsbn 544 of 544-559 (wd0 bn 18562608; cn 18415 tn 4 sn 36), retrying
> wd0: soft error (corrected)
> syncing disks... done
> rebooting
>
> [ using 255448 bytes of bsd ELF symbol table ]
> console out [ATY,Fall_A]console in [keyboard] ADB found
> using parent ATY,FallParent:: memaddr 98000000 size 8000000, : consaddr 9c008000, : ioaddr 90020000, size 20000: memtag 8000, iotag 8000: width 1024 linebytes 1024 height 768 depth 8
> Copyright (c) 1982, 1986, 1989, 1991, 1993
> The Regents of the University of California. All rights reserved.
> Copyright (c) 1995-2003 OpenBSD. All rights reserved. http://www.OpenBSD.org
>
> OpenBSD 3.3-current (GENERIC) #72: Fri Jun 6 12:10:00 JST 2003
> itojun@tapioca.itojun.org:/home/itojun/OpenBSD/src/sys/arch/macppc/compile/GENERIC
> real mem = 671088640 (655360K)
> avail mem = 604569600 (590400K)
> using 1254 buffers containing 33554432 bytes of memory
> mainbus0 (root)
> cpu0 at mainbus0: 750FX (Revision 112): 700 MHz: 512KB L2 cache
> memc0 at mainbus0: uni-n
> mpcpcibr0 at mainbus0: uni-north, Revision 0xff
> pci0 at mpcpcibr0 bus 0
> pchb0 at pci0 dev 11 function 0 "Apple Pangea AGP" rev 0x00
> vgafb0 at pci0 dev 16 function 0 "ATI Radeon Mobility M6 LY" rev 0x00, mmio
> wsdisplay0 at vgafb0: console (std, vt100 emulation)
> mpcpcibr1 at mainbus0: uni-north, Revision 0x0
> pci1 at mpcpcibr1 bus 0
> pchb1 at pci1 dev 11 function 0 "Apple Pangea Host-PCI" rev 0x00
> macobio0 at pci1 dev 23 function 0 "Apple Pangea" rev 0x00
> openpic0 at macobio0: version 0x4614
> gpio_obio0 at macobio0
> gpio_obio1 at gpio_obio0 offset 0x59 irq 47
> programmer-switch at gpio_obio0 offset 0x61 not configured
> firewire-linkon at gpio_obio0 offset 0x5b not configured
> cpu-vcore-select at gpio_obio0 offset 0x6b not configured
> extint-gpio4 at gpio_obio0 offset 0x5c not configured
> gpio9 at gpio_obio0 offset 0x73 not configured
> extint-gpio12 at gpio_obio0 offset 0x64 not configured
> zsc0 at macobio0: irq 22,23
> zstty0 at zsc0 channel 0
> zstty1 at zsc0 channel 1
> adb0 at macobio0 irq 25: via-pmu 3 targets
> aed0 at adb0 addr 0: ADB Event device
> akbd0 at adb0 addr 2: PowerBook G4 keyboard (Inverted T)
> wskbd0 at akbd0 (mux 1 ignored for console): console keyboard, using wsdisplay0
> ams0 at adb0 addr 3: EMP trackpad <tpad> 2-button, 400 dpi
> wsmouse0 at ams0 mux 0
> abtn0 at adb0 addr 7: brightness/volume/eject buttons
> apm0 at adb0: battery flags 0x5, 94% charged
> wdc0 at macobio0 irq 19: DMA transfer
> wd0 at wdc0 channel 0 drive 0: <IC25N040ATCS04-0>
> wd0: 16-sector PIO, LBA, 38154MB, 16383 cyl, 16 head, 63 sec, 78140160 sectors
> atapiscsi0 at wdc0 channel 0 drive 1
> scsibus0 at atapiscsi0: 2 targets
> cd0 at scsibus0 targ 0 lun 0: <TOSHIBA, DVD-ROM SD-R2102, 1K27> SCSI0 5/cdrom removable
> wd0(wdc0:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 2
> cd0(wdc0:0:1): using PIO mode 4, DMA mode 2, Ultra-DMA mode 2
> wi0 at macobio0 irq 57:
> wi0: Firmware 8.12 variant 1, address 00:30:65:15:6c:10
> ohci0 at pci1 dev 24 function 0 "Apple Pangea USB" rev 0x00: irq 27, OHCI version 1.0
> usb0 at ohci0: USB revision 1.0
> uhub0 at usb0
> uhub0: vendor 0x0000 OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
> uhub0: 2 ports with 2 removable, self powered
> ohci1 at pci1 dev 25 function 0 "Apple Pangea USB" rev 0x00: irq 28, OHCI version 1.0
> usb1 at ohci1: USB revision 1.0
> uhub1 at usb1
> uhub1: vendor 0x0000 OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
> uhub1: 2 ports with 2 removable, self powered
> mpcpcibr2 at mainbus0: uni-north, Revision 0xff
> pci2 at mpcpcibr2 bus 0
> pchb2 at pci2 dev 11 function 0 "Apple Pangea Host-PCI" rev 0x00
> fwohci0 at pci2 dev 14 function 0 "Apple Pangea FireWire" rev 0x00: irq 40
> fwohci0: OHCI 1.0, 00:03:93:ff:fe:a6:05:c2, 400Mb/s, 2048 max_rec, 8 iso_ctx
> gem0 at pci2 dev 15 function 0 "Apple GMAC" rev 0x00
> gem0: address 00:03:93:a6:05:c2
> bmtphy0 at gem0 phy 0: BCM5221 100baseTX PHY, rev. 4
> gem0: using irq 41 for interrupt
> bootpath: '/pci@f2000000/mac-io@17/ata-4@1f000/disk@0/bsd'
> boot device: wd0.
> root on wd0a
> rootdev=0x0 rrootdev=0xb00 rawdev=0xb02
> fw0 at fwohci0: 00:03:93:ff:fe:a6:05:c2:0a:02:20:00:00:00:00:00
> ugen0 at uhub1 port 2
> ugen0: HCF USB V.90 Data/Fax Modem Apple internal modem, rev 1.10/1.00, addr 2
> wdc0:0:0: not ready, st=0x80, err=0x00
> wdc0 channel 0: reset failed for drive 0
> wd0e: device timeout writing fsbn 1306496 of 1306496-1306511 (wd0 bn 5405520; cn 5362 tn 9 sn 57), retrying
> wdc0:0:0: not ready, st=0x80, err=0x00
> wd0e: device timeout writing fsbn 1306496 of 1306496-1306511 (wd0 bn 5405520; cn 5362 tn 9 sn 57), retrying
> wd0: soft error (corrected)
> wd0(wdc0:0:0): timeout
> type: ata
> c_bcount: 1024
> c_skip: 0
--
Alexander Yurchenko (aka grange)