4.5-beta wacky HD-interface?

View: New views
4 Messages — Rating Filter:   Alert me  

4.5-beta wacky HD-interface?

by Jasper Valentijn :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

L.S.,

I was planning to send this to dmesg@ but after seeing
<http://marc.info/?l=openbsd-misc&m=123594462403774&w=2> I opted for
ppc@

I'm wondering what I'm being told here. Is my HD bad or just the
interface in the machine?

I've tested my HD several times with spinrite in an i386 machine, no
errors were found.

Basically what I would like to know, are others seeing this behaviour on
macppc?

Regards,

Jasper

root on wd0a swap on wd0b dump on wd0b
wd0e: aborted command, interface CRC error reading fsbn 130624 of
130624-130635 (wd0 bn 9833884; cn 10406 tn 3 sn 25), retrying
wd0: soft error (corrected)
wd0a: aborted command, interface CRC error reading fsbn 135604 of
135604-135635 (wd0 bn 138439; cn 146 tn 7 sn 28), retrying
wd0a: aborted command, interface CRC error reading fsbn 135604 of
135604-135635 (wd0 bn 138439; cn 146 tn 7 sn 28), retrying
wd0: transfer error, downgrading to Ultra-DMA mode 1
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 1
wd0a: aborted command, interface CRC error reading fsbn 135604 of
135604-135635 (wd0 bn 138439; cn 146 tn 7 sn 28), retrying
wd0: transfer error, downgrading to Ultra-DMA mode 0
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 0
wd0a: aborted command, interface CRC error reading fsbn 135604 of
135604-135635 (wd0 bn 138439; cn 146 tn 7 sn 28), retrying
wd0: soft error (corrected)
wd0(pciide0:0:0): timeout
        type: ata
        c_bcount: 16384
        c_skip: 0
wd0d: device timeout reading fsbn 1691132 of 1691132-1691163 (wd0 bn
3005627; cn 3180 tn 8 sn 23), retrying
wd0(pciide0:0:0): timeout
        type: ata
        c_bcount: 16384
        c_skip: 0
[ using 426004 bytes of bsd ELF symbol table ]
console out [ATY,Rage128y]console in [keyboard] USB and ADB found, using ADB
: memaddr 84000000 size 4000000, : consaddr 84000000, : ioaddr
80920000, 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-2009 OpenBSD. All rights reserved.  http://www.OpenBSD.org

OpenBSD 4.5-beta (GENERIC) #2019: Sun Feb 22 18:35:41 MST 2009
    deraadt@...:/usr/src/sys/arch/macppc/compile/GENERIC
real mem = 134217728 (128MB)
avail mem = 119148544 (113MB)
mainbus0 at root: model PowerMac1,1
cpu0 at mainbus0: 750 (Revision 0x202): 400 MHz: 1MB backside cache
mem0 at mainbus0
mpcpcibr0 at mainbus0 pci: grackle, Revision 0x40
pci0 at mpcpcibr0 bus 0
pchb0 at pci0 dev 0 function 0 "Motorola MPC106 PCI" rev 0x40
ppb0 at pci0 dev 13 function 0 "DEC 21154 PCI-PCI" rev 0x02
pci1 at ppb0 bus 1
"TI TSB12LV21 FireWire" rev 0x02 at pci1 dev 0 function 0 not configured
pciide0 at pci1 dev 1 function 0 "CMD Technology PCI0646" rev 0x07:
DMA, channel 0 configured to native-PCI, channel 1 configured to
native-PCI
pciide0: using irq 26 for native-PCI interrupt
wd0 at pciide0 channel 0 drive 0: <QUANTUM FIREBALL CR6.4A>
wd0: 16-sector PIO, LBA, 6149MB, 12594960 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
pciide0: channel 1 ignored (disabled)
macobio0 at pci1 dev 5 function 0 "Apple Paddington" rev 0x00
macintr0 at macobio0 offset 0x10
mesh0 at macobio0 offset 0x10000 irq 12: 50MHz
scsibus0 at mesh0: 8 targets, initiator 7
"escc-legacy" at macobio0 offset 0x12000 not configured
zsc0 at macobio0 offset 0x13000: irq 15,16
zstty0 at zsc0 channel 0
zstty1 at zsc0 channel 1
awacs0 at macobio0 offset 0x14000: irq 17,8,9 headphones
audio0 at awacs0
"power-mgt" at macobio0 offset 0x0 not configured
"fdc" at macobio0 offset 0x15000 not configured
adb0 at macobio0 offset 0x16000 irq 18: via-cuda, 0 targets
piic0 at adb0
iic0 at piic0
wdc0 at macobio0 offset 0x20000 irq 13: DMA
atapiscsi0 at wdc0 channel 0 drive 0
scsibus1 at atapiscsi0: 2 targets
cd0 at scsibus1 targ 0 lun 0: <MATSHITA, DVD-ROM SR-8583, D54A> ATAPI
5/cdrom removable
atapiscsi1 at wdc0 channel 0 drive 1
scsibus2 at atapiscsi1: 2 targets
sd0 at scsibus2 targ 0 lun 0: <IOMEGA, ZIP 100, 14.A> ATAPI 0/direct
removable
sd0: drive offline
cd0(wdc0:0:0): using BIOS timings, DMA mode 2
sd0(wdc0:0:1): using BIOS timings
bm0 at macobio0 offset 0x11000 irq 42,33: address 00:50:e4:90:95:2e
lxtphy0 at bm0 phy 0: LXT970 10/100 PHY, rev. 1
"nvram" at macobio0 offset 0x60000 not configured
ohci0 at pci1 dev 6 function 0 "Opti 82C861" rev 0x10: irq 28, version
1.0, legacy support
usb0 at ohci0: USB revision 1.0
uhub0 at usb0 "Opti OHCI root hub" rev 1.00/1.00 addr 1
vgafb0 at pci0 dev 16 function 0 "ATI Rage 128" rev 0x00, mmio
wsdisplay0 at vgafb0 mux 1: console (std, vt100 emulation)
uhub1 at uhub0 port 2 "NEC hub" rev 1.00/1.00 addr 2
uhidev0 at uhub1 port 1 configuration 1 interface 0 "Alps Electric
M2452" rev 1.00/1.01 addr 3
uhidev0: iclass 3/1
ukbd0 at uhidev0: 8 modifier keys, 6 key codes, country code 13
wskbd0 at ukbd0 mux 1
wskbd0: connecting to wsdisplay0
uhidev1 at uhub1 port 2 configuration 1 interface 0 "Mitsumi Apple USB
Mouse" rev 1.00/5.05 addr 4
uhidev1: iclass 3/1
ums0 at uhidev1: 1 button
wsmouse0 at ums0 mux 0
softraid0 at root
bootpath: /pci/@d/pci-ata@1/ata-4@0/disk@0:/bsd
root on wd0a swap on wd0b dump on wd0b
WARNING: / was not properly unmounted
wd0e: aborted command, interface CRC error reading fsbn 136332 of
136332-136363 (wd0 bn 9839592; cn 10412 tn 4 sn 0), retrying
wd0e: aborted command, interface CRC error reading fsbn 136332 of
136332-136363 (wd0 bn 9839592; cn 10412 tn 4 sn 0), retrying
wd0: soft error (corrected)
wd0a: aborted command, interface CRC error reading fsbn 135892 of
135892-135923 (wd0 bn 138727; cn 146 tn 12 sn 1), retrying
wd0: soft error (corrected)
wd0a: aborted command, interface CRC error reading fsbn 135604 of
135604-135635 (wd0 bn 138439; cn 146 tn 7 sn 28), retrying
wd0: soft error (corrected)
wd0a: aborted command, interface CRC error reading fsbn 135892 of
135892-135923 (wd0 bn 138727; cn 146 tn 12 sn 1), retrying
wd0a: aborted command, interface CRC error reading fsbn 135892 of
135892-135923 (wd0 bn 138727; cn 146 tn 12 sn 1), retrying
wd0: transfer error, downgrading to Ultra-DMA mode 1
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 1
wd0a: aborted command, interface CRC error reading fsbn 135892 of
135892-135923 (wd0 bn 138727; cn 146 tn 12 sn 1), retrying
wd0: transfer error, downgrading to Ultra-DMA mode 0
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 0
wd0a: aborted command, interface CRC error reading fsbn 135892 of
135892-135923 (wd0 bn 138727; cn 146 tn 12 sn 1), retrying
wd0: soft error (corrected)


--
We spend the first twelve months of our children's lives teaching
them to walk and talk and the next twelve telling them to sit down and
shut up.


Re: 4.5-beta wacky HD-interface?

by Fred Crowson :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Jasper Valentijn wrote:
</snipped>
 > wd0e: aborted command, interface CRC error reading fsbn 136332 of
 > 136332-136363 (wd0 bn 9839592; cn 10412 tn 4 sn 0), retrying
 > wd0e: aborted command, interface CRC error reading fsbn 136332 of
 > 136332-136363 (wd0 bn 9839592; cn 10412 tn 4 sn 0), retrying
 > wd0: soft error (corrected)
 > wd0a: aborted command, interface CRC error reading fsbn 135892 of
 > 135892-135923 (wd0 bn 138727; cn 146 tn 12 sn 1), retrying
 > wd0: soft error (corrected)
 > wd0a: aborted command, interface CRC error reading fsbn 135604 of
 > 135604-135635 (wd0 bn 138439; cn 146 tn 7 sn 28), retrying
 > wd0: soft error (corrected)
 > wd0a: aborted command, interface CRC error reading fsbn 135892 of
 > 135892-135923 (wd0 bn 138727; cn 146 tn 12 sn 1), retrying
 > wd0a: aborted command, interface CRC error reading fsbn 135892 of
 > 135892-135923 (wd0 bn 138727; cn 146 tn 12 sn 1), retrying
 > wd0: transfer error, downgrading to Ultra-DMA mode 1
 > wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 1
 > wd0a: aborted command, interface CRC error reading fsbn 135892 of
 > 135892-135923 (wd0 bn 138727; cn 146 tn 12 sn 1), retrying
 > wd0: transfer error, downgrading to Ultra-DMA mode 0
 > wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 0
 > wd0a: aborted command, interface CRC error reading fsbn 135892 of
 > 135892-135923 (wd0 bn 138727; cn 146 tn 12 sn 1), retrying
 > wd0: soft error (corrected)
 >
Hi Jasper,

I wouldn't trust that disk - its on its way out.

I've not tried 4.5-beta on my macppc yet, but I've seen similar errors
on disks just before they died....

HTH

Fred


Re: 4.5-beta wacky HD-interface?

by Mark Kettenis :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> Date: Wed, 4 Mar 2009 13:47:38 +0100
> From: Jasper Valentijn <jasper.valentijn@...>
>
> root on wd0a swap on wd0b dump on wd0b
> WARNING: / was not properly unmounted
> wd0e: aborted command, interface CRC error reading fsbn 136332 of
> 136332-136363 (wd0 bn 9839592; cn 10412 tn 4 sn 0), retrying
> wd0e: aborted command, interface CRC error reading fsbn 136332 of
> 136332-136363 (wd0 bn 9839592; cn 10412 tn 4 sn 0), retrying
> wd0: soft error (corrected)
> wd0a: aborted command, interface CRC error reading fsbn 135892 of
> 135892-135923 (wd0 bn 138727; cn 146 tn 12 sn 1), retrying
> wd0: soft error (corrected)
> wd0a: aborted command, interface CRC error reading fsbn 135604 of
> 135604-135635 (wd0 bn 138439; cn 146 tn 7 sn 28), retrying
> wd0: soft error (corrected)
> wd0a: aborted command, interface CRC error reading fsbn 135892 of
> 135892-135923 (wd0 bn 138727; cn 146 tn 12 sn 1), retrying
> wd0a: aborted command, interface CRC error reading fsbn 135892 of
> 135892-135923 (wd0 bn 138727; cn 146 tn 12 sn 1), retrying
> wd0: transfer error, downgrading to Ultra-DMA mode 1
> wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 1
> wd0a: aborted command, interface CRC error reading fsbn 135892 of
> 135892-135923 (wd0 bn 138727; cn 146 tn 12 sn 1), retrying
> wd0: transfer error, downgrading to Ultra-DMA mode 0
> wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 0
> wd0a: aborted command, interface CRC error reading fsbn 135892 of
> 135892-135923 (wd0 bn 138727; cn 146 tn 12 sn 1), retrying
> wd0: soft error (corrected)

If you only see these problems upon boot, then this is basically the
driver attempting to use Ultra-DMA, finding that it doesn't work and
downgrading until it finds a mode that does work.  The problem may be
with the driver where it incorrectly thinks your hardware supports
Ultra-DMA.  Or it could be a hardware problem.  This might happen for
example when you connect a UDMA-capable drive using an old 40-pin
cable.

If you also see these messages after running for a while, it's
probably a sign that your disk is dying.


Re: 4.5-beta wacky HD-interface?

by Jasper Valentijn :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

2009/3/4, Mark Kettenis <mark.kettenis@...>:

> > Date: Wed, 4 Mar 2009 13:47:38 +0100
>  > From: Jasper Valentijn <jasper.valentijn@...>
>
> >
>  > root on wd0a swap on wd0b dump on wd0b
>  > WARNING: / was not properly unmounted
>  > wd0e: aborted command, interface CRC error reading fsbn 136332 of
>  > 136332-136363 (wd0 bn 9839592; cn 10412 tn 4 sn 0), retrying
>  > wd0e: aborted command, interface CRC error reading fsbn 136332 of
>  > 136332-136363 (wd0 bn 9839592; cn 10412 tn 4 sn 0), retrying
>  > wd0: soft error (corrected)
>  > wd0a: aborted command, interface CRC error reading fsbn 135892 of
>  > 135892-135923 (wd0 bn 138727; cn 146 tn 12 sn 1), retrying
>  > wd0: soft error (corrected)
>  > wd0a: aborted command, interface CRC error reading fsbn 135604 of
>  > 135604-135635 (wd0 bn 138439; cn 146 tn 7 sn 28), retrying
>  > wd0: soft error (corrected)
>  > wd0a: aborted command, interface CRC error reading fsbn 135892 of
>  > 135892-135923 (wd0 bn 138727; cn 146 tn 12 sn 1), retrying
>  > wd0a: aborted command, interface CRC error reading fsbn 135892 of
>  > 135892-135923 (wd0 bn 138727; cn 146 tn 12 sn 1), retrying
>  > wd0: transfer error, downgrading to Ultra-DMA mode 1
>  > wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 1
>  > wd0a: aborted command, interface CRC error reading fsbn 135892 of
>  > 135892-135923 (wd0 bn 138727; cn 146 tn 12 sn 1), retrying
>  > wd0: transfer error, downgrading to Ultra-DMA mode 0
>  > wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 0
>  > wd0a: aborted command, interface CRC error reading fsbn 135892 of
>  > 135892-135923 (wd0 bn 138727; cn 146 tn 12 sn 1), retrying
>  > wd0: soft error (corrected)
>
>

>
>  If you also see these messages after running for a while, it's
>  probably a sign that your disk is dying.


Then this must be the case.

It's an old salvaged machine.

I'll replace the disk and see how it runs then.

Because what I forgot to mention in the ts was that at some poit it
locks up completly concerning disk access. It's pingable but ssh
freezes before login.

Thanks all for responding.

Jasper

--
We spend the first twelve months of our children's lives teaching
them to walk and talk and the next twelve telling them to sit down and
shut up.