UDMA Hardrive automatically switches to PIO :(

UDMA Hardrive automatically switches to PIO :(

Post by -=DCOG= » Thu, 17 May 2001 18:35:28



Hi guys i'm experiencing this really weird problem I've included the before
and after dmesg's to illustrate what's going on.

All I did was add a 2nd Harddrive (IBM 27Gig) to by FreeBSD box, I didn't
toggle any settings in the bios, just plugged in HD and rebooted.

Here is exactly what I'm seeing upon startup:

ad0: 12416MB <QUANTUM FIREBALL CX13.0A> [25228/16/63] at ata0-master UDMA33
ad2: 26105MB <IBM-DPTA-372730> [53040/16/63] at ata1-master UDMA33
acd0: CDROM <FX400> at ata0-slave using PIO3
Mounting root from ufs:/dev/ad0s1a
ad0s1a: UDMA ICRC error reading fsbn 1620799 of 810368-810495 (ad0s1 bn
1620799; cn 100 tn 226 sn 61) retrying
ad0s1a: UDMA ICRC error reading fsbn 1718847 of 859392-859519 (ad0s1 bn
1718847; cn 106 tn 253 sn 18) retrying
ad0s1a: UDMA ICRC error reading fsbn 1719679 of 859808-859935 (ad0s1 bn
1719679; cn 107 tn 11 sn 31) retrying
ad0s1a: UDMA ICRC error reading fsbn 1719679 of 859808-859935 (ad0s1 bn
1719679; cn 107 tn 11 sn 31) retrying
ad0s1a: UDMA ICRC error reading fsbn 1719679 of 859808-859935 (ad0s1 bn
1719679; cn 107 tn 11 sn 31) retrying
ad0s1a: UDMA ICRC error reading fsbn 1717759 of 858848-858975 (ad0s1 bn
1717759; cn 106 tn 236 sn 1) retrying
ad0s1a: UDMA ICRC error reading fsbn 1717759 of 858848-858975 (ad0s1 bn
1717759; cn 106 tn 236 sn 1) retrying
ad0s1a: UDMA ICRC error reading fsbn 1720607 of 860272-860371 (ad0s1 bn
1720607; cn 107 tn 26 sn 14) retrying
ad0s1a: UDMA ICRC error reading fsbn 1720607 of 860272-860371 (ad0s1 bn
1720607; cn 107 tn 26 sn 14) retrying
ad0s1a: UDMA ICRC error reading fsbn 1720607 of 860272-860371 (ad0s1 bn
1720607; cn 107 tn 26 sn 14) retrying
ad0s1a: UDMA ICRC error reading fsbn 1720607 of 860272-860371 (ad0s1 bn
1720607; cn 107 tn 26 sn 14) falling back to PIO mode

The Before dmesg:
===================================
Copyright (c) 1992-2001 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        The Regents of the University of California. All rights reserved.
FreeBSD 4.3-RELEASE #0: Fri May 11 14:19:42 PDT 2001
    r...@MURS.ok.shawcable.net:/usr/src/sys/compile/MYKERNEL
Timecounter "i8254"  frequency 1193182 Hz
Timecounter "TSC"  frequency 551253559 Hz
CPU: AMD-K6(tm)-III Processor (551.25-MHz 586-class CPU)
  Origin = "AuthenticAMD"  Id = 0x5d0  Stepping = 0
  Features=0x8021bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,PGE,MMX>
  AMD Features=0xc0000800<SYSCALL,DSP,3DNow!>
real memory  = 67108864 (65536K bytes)
config> q
avail memory = 62758912 (61288K bytes)
Preloaded elf kernel "kernel" at 0xc0294000.
Preloaded userconfig_script "/boot/kernel.conf" at 0xc029409c.
K6-family MTRR support enabled (2 registers)
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 device 1.0 on
pci0
pci1: <PCI bus> on pcib2
pci1: <NVidia Riva Vanta TNT2 graphics accelerator> at 0.0 irq 11
isab0: <VIA 82C586 PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <VIA 82C586 ATA33 controller> port 0xe000-0xe00f at device 7.1 on
pci0
ata0: at 0x1f0 irq 14 on atapci0
rl0: <Accton MPX 5030/5038 10/100BaseTX> port 0xe800-0xe8ff mem
0xe7001000-0xe70010ff irq 10 at device 11.0 on pci0
rl0: Ethernet address: 00:e0:29:89:1d:0f
miibus0: <MII bus> on rl0
rlphy0: <RealTek internal media interface> on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
xl0: <3Com 3c900B-TPO Etherlink XL> port 0xec00-0xec7f mem
0xe7000000-0xe700007f irq 12 at device 12.0 on pci0
xl0: Ethernet address: 00:50:04:85:b4:1f
xl0: selecting 10baseT transceiver, half duplex
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> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
IP packet filtering initialized, divert enabled, rule-based forwarding
disabled, default to accept, logging limited to 10 packets/entry by default
ata0-master: DMA limited to UDMA33, non-ATA66 compliant cable
ad0: 12416MB <QUANTUM FIREBALL CX13.0A> [25228/16/63] at ata0-master UDMA33
acd0: CDROM <FX400> at ata0-slave using PIO3
Mounting root from ufs:/dev/ad0s1a
================================

And the After dmesg:
================================
Copyright (c) 1992-2001 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        The Regents of the University of California. All rights reserved.
FreeBSD 4.3-RELEASE #0: Fri May 11 14:19:42 PDT 2001
    r...@MURS.ok.shawcable.net:/usr/src/sys/compile/MYKERNEL
Timecounter "i8254"  frequency 1193182 Hz
Timecounter "TSC"  frequency 551253654 Hz
CPU: AMD-K6(tm)-III Processor (551.25-MHz 586-class CPU)
  Origin = "AuthenticAMD"  Id = 0x5d0  Stepping = 0
  Features=0x8021bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,PGE,MMX>
  AMD Features=0xc0000800<SYSCALL,DSP,3DNow!>
real memory  = 67108864 (65536K bytes)
config> q
avail memory = 62758912 (61288K bytes)
Preloaded elf kernel "kernel" at 0xc0294000.
Preloaded userconfig_script "/boot/kernel.conf" at 0xc029409c.
K6-family MTRR support enabled (2 registers)
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 device 1.0 on
pci0
pci1: <PCI bus> on pcib2
pci1: <NVidia Riva Vanta TNT2 graphics accelerator> at 0.0 irq 11
isab0: <VIA 82C586 PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <VIA 82C586 ATA33 controller> port 0xe000-0xe00f at device 7.1 on
pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
rl0: <Accton MPX 5030/5038 10/100BaseTX> port 0xe800-0xe8ff mem
0xe7001000-0xe70010ff irq 10 at device 11.0 on pci0
rl0: Ethernet address: 00:e0:29:89:1d:0f
miibus0: <MII bus> on rl0
rlphy0: <RealTek internal media interface> on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
xl0: <3Com 3c900B-TPO Etherlink XL> port 0xec00-0xec7f mem
0xe7000000-0xe700007f irq 12 at device 12.0 on pci0
xl0: Ethernet address: 00:50:04:85:b4:1f
xl0: selecting 10baseT transceiver, half duplex
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> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
IP packet filtering initialized, divert enabled, rule-based forwarding
disabled, default to accept, logging limited to 10 packets/entry by default
ata0-master: DMA limited to UDMA33, non-ATA66 compliant cable
ad0: 12416MB <QUANTUM FIREBALL CX13.0A> [25228/16/63] at ata0-master UDMA33
ad2: 26105MB <IBM-DPTA-372730> [53040/16/63] at ata1-master UDMA33
acd0: CDROM <FX400> at ata0-slave using PIO3
Mounting root from ufs:/dev/ad0s1a
ad0s1a: UDMA ICRC error reading fsbn 1620799 of 810368-810495 (ad0s1 bn
1620799; cn 100 tn 226 sn 61) retrying
ad0s1a: UDMA ICRC error reading fsbn 1718847 of 859392-859519 (ad0s1 bn
1718847; cn 106 tn 253 sn 18) retrying
ad0s1a: UDMA ICRC error reading fsbn 1719679 of 859808-859935 (ad0s1 bn
1719679; cn 107 tn 11 sn 31) retrying
ad0s1a: UDMA ICRC error reading fsbn 1719679 of 859808-859935 (ad0s1 bn
1719679; cn 107 tn 11 sn 31) retrying
ad0s1a: UDMA ICRC error reading fsbn 1719679 of 859808-859935 (ad0s1 bn
1719679; cn 107 tn 11 sn 31) retrying
ad0s1a: UDMA ICRC error reading fsbn 1717759 of 858848-858975 (ad0s1 bn
1717759; cn 106 tn 236 sn 1) retrying
ad0s1a: UDMA ICRC error reading fsbn 1717759 of 858848-858975 (ad0s1 bn
1717759; cn 106 tn 236 sn 1) retrying
ad0s1a: UDMA ICRC error reading fsbn 1720607 of 860272-860371 (ad0s1 bn
1720607; cn 107 tn 26 sn 14) retrying
ad0s1a: UDMA ICRC error reading fsbn 1720607 of 860272-860371 (ad0s1 bn
1720607; cn 107 tn 26 sn 14) retrying
ad0s1a: UDMA ICRC error reading fsbn 1720607 of 860272-860371 (ad0s1 bn
1720607; cn 107 tn 26 sn 14) retrying
ad0s1a: UDMA ICRC error reading fsbn 1720607 of 860272-860371 (ad0s1 bn
1720607; cn 107 tn 26 sn 14) falling back to PIO mode
=======================================

 
 
 

UDMA Hardrive automatically switches to PIO :(

Post by -=DCOG= » Thu, 17 May 2001 19:45:31


^bump^

"-=DCOG=-" <dcgam...@home.com> wrote in message

news:ARrM6.239952$166.4859589@news1.rdc1.bc.home.com...
> Hi guys i'm experiencing this really weird problem I've included the
before
> and after dmesg's to illustrate what's going on.

> All I did was add a 2nd Harddrive (IBM 27Gig) to by FreeBSD box, I didn't
> toggle any settings in the bios, just plugged in HD and rebooted.

> Here is exactly what I'm seeing upon startup:

> ad0: 12416MB <QUANTUM FIREBALL CX13.0A> [25228/16/63] at ata0-master
UDMA33
> ad2: 26105MB <IBM-DPTA-372730> [53040/16/63] at ata1-master UDMA33
> acd0: CDROM <FX400> at ata0-slave using PIO3
> Mounting root from ufs:/dev/ad0s1a
> ad0s1a: UDMA ICRC error reading fsbn 1620799 of 810368-810495 (ad0s1 bn
> 1620799; cn 100 tn 226 sn 61) retrying
> ad0s1a: UDMA ICRC error reading fsbn 1718847 of 859392-859519 (ad0s1 bn
> 1718847; cn 106 tn 253 sn 18) retrying
> ad0s1a: UDMA ICRC error reading fsbn 1719679 of 859808-859935 (ad0s1 bn
> 1719679; cn 107 tn 11 sn 31) retrying
> ad0s1a: UDMA ICRC error reading fsbn 1719679 of 859808-859935 (ad0s1 bn
> 1719679; cn 107 tn 11 sn 31) retrying
> ad0s1a: UDMA ICRC error reading fsbn 1719679 of 859808-859935 (ad0s1 bn
> 1719679; cn 107 tn 11 sn 31) retrying
> ad0s1a: UDMA ICRC error reading fsbn 1717759 of 858848-858975 (ad0s1 bn
> 1717759; cn 106 tn 236 sn 1) retrying
> ad0s1a: UDMA ICRC error reading fsbn 1717759 of 858848-858975 (ad0s1 bn
> 1717759; cn 106 tn 236 sn 1) retrying
> ad0s1a: UDMA ICRC error reading fsbn 1720607 of 860272-860371 (ad0s1 bn
> 1720607; cn 107 tn 26 sn 14) retrying
> ad0s1a: UDMA ICRC error reading fsbn 1720607 of 860272-860371 (ad0s1 bn
> 1720607; cn 107 tn 26 sn 14) retrying
> ad0s1a: UDMA ICRC error reading fsbn 1720607 of 860272-860371 (ad0s1 bn
> 1720607; cn 107 tn 26 sn 14) retrying
> ad0s1a: UDMA ICRC error reading fsbn 1720607 of 860272-860371 (ad0s1 bn
> 1720607; cn 107 tn 26 sn 14) falling back to PIO mode

> The Before dmesg:
> ===================================
> Copyright (c) 1992-2001 The FreeBSD Project.
> Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
>         The Regents of the University of California. All rights reserved.
> FreeBSD 4.3-RELEASE #0: Fri May 11 14:19:42 PDT 2001
>     r...@MURS.ok.shawcable.net:/usr/src/sys/compile/MYKERNEL
> Timecounter "i8254"  frequency 1193182 Hz
> Timecounter "TSC"  frequency 551253559 Hz
> CPU: AMD-K6(tm)-III Processor (551.25-MHz 586-class CPU)
>   Origin = "AuthenticAMD"  Id = 0x5d0  Stepping = 0
>   Features=0x8021bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,PGE,MMX>
>   AMD Features=0xc0000800<SYSCALL,DSP,3DNow!>
> real memory  = 67108864 (65536K bytes)
> config> q
> avail memory = 62758912 (61288K bytes)
> Preloaded elf kernel "kernel" at 0xc0294000.
> Preloaded userconfig_script "/boot/kernel.conf" at 0xc029409c.
> K6-family MTRR support enabled (2 registers)
> 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 device 1.0 on
> pci0
> pci1: <PCI bus> on pcib2
> pci1: <NVidia Riva Vanta TNT2 graphics accelerator> at 0.0 irq 11
> isab0: <VIA 82C586 PCI-ISA bridge> at device 7.0 on pci0
> isa0: <ISA bus> on isab0
> atapci0: <VIA 82C586 ATA33 controller> port 0xe000-0xe00f at device 7.1 on
> pci0
> ata0: at 0x1f0 irq 14 on atapci0
> rl0: <Accton MPX 5030/5038 10/100BaseTX> port 0xe800-0xe8ff mem
> 0xe7001000-0xe70010ff irq 10 at device 11.0 on pci0
> rl0: Ethernet address: 00:e0:29:89:1d:0f
> miibus0: <MII bus> on rl0
> rlphy0: <RealTek internal media interface> on miibus0
> rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
> xl0: <3Com 3c900B-TPO Etherlink XL> port 0xec00-0xec7f mem
> 0xe7000000-0xe700007f irq 12 at device 12.0 on pci0
> xl0: Ethernet address: 00:50:04:85:b4:1f
> xl0: selecting 10baseT transceiver, half duplex
> 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> flags 0x1 irq 1 on atkbdc0
> kbd0 at atkbd0
> vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
> sc0: <System console> at flags 0x100 on isa0
> sc0: VGA <16 virtual consoles, flags=0x300>
> sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
> sio0: type 16550A
> IP packet filtering initialized, divert enabled, rule-based forwarding
> disabled, default to accept, logging limited to 10 packets/entry by
default
> ata0-master: DMA limited to UDMA33, non-ATA66 compliant cable
> ad0: 12416MB <QUANTUM FIREBALL CX13.0A> [25228/16/63] at ata0-master
UDMA33
> acd0: CDROM <FX400> at ata0-slave using PIO3
> Mounting root from ufs:/dev/ad0s1a
> ================================

> And the After dmesg:
> ================================
> Copyright (c) 1992-2001 The FreeBSD Project.
> Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
>         The Regents of the University of California. All rights reserved.
> FreeBSD 4.3-RELEASE #0: Fri May 11 14:19:42 PDT 2001
>     r...@MURS.ok.shawcable.net:/usr/src/sys/compile/MYKERNEL
> Timecounter "i8254"  frequency 1193182 Hz
> Timecounter "TSC"  frequency 551253654 Hz
> CPU: AMD-K6(tm)-III Processor (551.25-MHz 586-class CPU)
>   Origin = "AuthenticAMD"  Id = 0x5d0  Stepping = 0
>   Features=0x8021bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,PGE,MMX>
>   AMD Features=0xc0000800<SYSCALL,DSP,3DNow!>
> real memory  = 67108864 (65536K bytes)
> config> q
> avail memory = 62758912 (61288K bytes)
> Preloaded elf kernel "kernel" at 0xc0294000.
> Preloaded userconfig_script "/boot/kernel.conf" at 0xc029409c.
> K6-family MTRR support enabled (2 registers)
> 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 device 1.0 on
> pci0
> pci1: <PCI bus> on pcib2
> pci1: <NVidia Riva Vanta TNT2 graphics accelerator> at 0.0 irq 11
> isab0: <VIA 82C586 PCI-ISA bridge> at device 7.0 on pci0
> isa0: <ISA bus> on isab0
> atapci0: <VIA 82C586 ATA33 controller> port 0xe000-0xe00f at device 7.1 on
> pci0
> ata0: at 0x1f0 irq 14 on atapci0
> ata1: at 0x170 irq 15 on atapci0
> rl0: <Accton MPX 5030/5038 10/100BaseTX> port 0xe800-0xe8ff mem
> 0xe7001000-0xe70010ff irq 10 at device 11.0 on pci0
> rl0: Ethernet address: 00:e0:29:89:1d:0f
> miibus0: <MII bus> on rl0
> rlphy0: <RealTek internal media interface> on miibus0
> rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
> xl0: <3Com 3c900B-TPO Etherlink XL> port 0xec00-0xec7f mem
> 0xe7000000-0xe700007f irq 12 at device 12.0 on pci0
> xl0: Ethernet address: 00:50:04:85:b4:1f
> xl0: selecting 10baseT transceiver, half duplex
> 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> flags 0x1 irq 1 on atkbdc0
> kbd0 at atkbd0
> vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
> sc0: <System console> at flags 0x100 on isa0
> sc0: VGA <16 virtual consoles, flags=0x300>
> sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
> sio0: type 16550A
> IP packet filtering initialized, divert enabled, rule-based forwarding
> disabled, default to accept, logging limited to 10 packets/entry by
default
> ata0-master: DMA limited to UDMA33, non-ATA66 compliant cable
> ad0: 12416MB <QUANTUM FIREBALL CX13.0A> [25228/16/63] at ata0-master
UDMA33
> ad2: 26105MB <IBM-DPTA-372730> [53040/16/63] at ata1-master UDMA33
> acd0: CDROM <FX400> at ata0-slave using PIO3
> Mounting root from ufs:/dev/ad0s1a
> ad0s1a: UDMA ICRC error reading fsbn 1620799 of 810368-810495 (ad0s1 bn
> 1620799; cn 100 tn 226 sn 61) retrying
> ad0s1a: UDMA ICRC error reading fsbn 1718847 of 859392-859519 (ad0s1 bn
> 1718847; cn 106 tn 253 sn 18) retrying
> ad0s1a: UDMA ICRC error reading fsbn 1719679 of 859808-859935 (ad0s1 bn
> 1719679; cn 107 tn 11 sn 31) retrying
> ad0s1a: UDMA ICRC error reading fsbn 1719679 of 859808-859935 (ad0s1 bn
> 1719679; cn 107 tn 11 sn 31) retrying
> ad0s1a: UDMA ICRC error reading fsbn 1719679 of 859808-859935 (ad0s1 bn
> 1719679; cn 107 tn 11 sn 31) retrying
> ad0s1a: UDMA ICRC error reading fsbn 1717759 of 858848-858975 (ad0s1 bn
> 1717759; cn 106 tn 236 sn 1) retrying
> ad0s1a: UDMA ICRC error reading fsbn 1717759 of 858848-858975 (ad0s1 bn
> 1717759; cn 106 tn 236 sn 1) retrying
> ad0s1a: UDMA ICRC error reading fsbn 1720607 of 860272-860371 (ad0s1 bn
> 1720607; cn 107 tn 26 sn 14) retrying
> ad0s1a: UDMA ICRC error reading fsbn 1720607 of 860272-860371 (ad0s1 bn
> 1720607; cn 107 tn 26 sn 14) retrying
> ad0s1a: UDMA ICRC error reading fsbn 1720607 of 860272-860371 (ad0s1 bn
> 1720607; cn 107 tn 26 sn 14) retrying
> ad0s1a: UDMA ICRC error reading fsbn 1720607 of 860272-860371 (ad0s1 bn
> 1720607; cn 107 tn 26 sn 14) falling back to PIO mode
> =======================================


 
 
 

UDMA Hardrive automatically switches to PIO :(

Post by Anatoliy Dmytriye » Thu, 17 May 2001 21:02:00


maybe you have bad cable for your hard drive or your cable don't support
UDMA mode.

On Wed, May 16, 2001 at 09:35:28AM +0000, -=DCOG=- wrote:
> Hi guys i'm experiencing this really weird problem I've included the before
> and after dmesg's to illustrate what's going on.

> All I did was add a 2nd Harddrive (IBM 27Gig) to by FreeBSD box, I didn't
> toggle any settings in the bios, just plugged in HD and rebooted.

> Here is exactly what I'm seeing upon startup:

> ad0: 12416MB <QUANTUM FIREBALL CX13.0A> [25228/16/63] at ata0-master UDMA33
> ad2: 26105MB <IBM-DPTA-372730> [53040/16/63] at ata1-master UDMA33
> acd0: CDROM <FX400> at ata0-slave using PIO3
> Mounting root from ufs:/dev/ad0s1a
> ad0s1a: UDMA ICRC error reading fsbn 1620799 of 810368-810495 (ad0s1 bn
> 1620799; cn 100 tn 226 sn 61) retrying
> ad0s1a: UDMA ICRC error reading fsbn 1718847 of 859392-859519 (ad0s1 bn
> 1718847; cn 106 tn 253 sn 18) retrying
> ad0s1a: UDMA ICRC error reading fsbn 1719679 of 859808-859935 (ad0s1 bn
> 1719679; cn 107 tn 11 sn 31) retrying
> ad0s1a: UDMA ICRC error reading fsbn 1719679 of 859808-859935 (ad0s1 bn
> 1719679; cn 107 tn 11 sn 31) retrying
> ad0s1a: UDMA ICRC error reading fsbn 1719679 of 859808-859935 (ad0s1 bn
> 1719679; cn 107 tn 11 sn 31) retrying
> ad0s1a: UDMA ICRC error reading fsbn 1717759 of 858848-858975 (ad0s1 bn
> 1717759; cn 106 tn 236 sn 1) retrying
> ad0s1a: UDMA ICRC error reading fsbn 1717759 of 858848-858975 (ad0s1 bn
> 1717759; cn 106 tn 236 sn 1) retrying
> ad0s1a: UDMA ICRC error reading fsbn 1720607 of 860272-860371 (ad0s1 bn
> 1720607; cn 107 tn 26 sn 14) retrying
> ad0s1a: UDMA ICRC error reading fsbn 1720607 of 860272-860371 (ad0s1 bn
> 1720607; cn 107 tn 26 sn 14) retrying
> ad0s1a: UDMA ICRC error reading fsbn 1720607 of 860272-860371 (ad0s1 bn
> 1720607; cn 107 tn 26 sn 14) retrying
> ad0s1a: UDMA ICRC error reading fsbn 1720607 of 860272-860371 (ad0s1 bn
> 1720607; cn 107 tn 26 sn 14) falling back to PIO mode

> The Before dmesg:
> ===================================
> Copyright (c) 1992-2001 The FreeBSD Project.
> Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
>         The Regents of the University of California. All rights reserved.
> FreeBSD 4.3-RELEASE #0: Fri May 11 14:19:42 PDT 2001
>     r...@MURS.ok.shawcable.net:/usr/src/sys/compile/MYKERNEL
> Timecounter "i8254"  frequency 1193182 Hz
> Timecounter "TSC"  frequency 551253559 Hz
> CPU: AMD-K6(tm)-III Processor (551.25-MHz 586-class CPU)
>   Origin = "AuthenticAMD"  Id = 0x5d0  Stepping = 0
>   Features=0x8021bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,PGE,MMX>
>   AMD Features=0xc0000800<SYSCALL,DSP,3DNow!>
> real memory  = 67108864 (65536K bytes)
> config> q
> avail memory = 62758912 (61288K bytes)
> Preloaded elf kernel "kernel" at 0xc0294000.
> Preloaded userconfig_script "/boot/kernel.conf" at 0xc029409c.
> K6-family MTRR support enabled (2 registers)
> 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 device 1.0 on
> pci0
> pci1: <PCI bus> on pcib2
> pci1: <NVidia Riva Vanta TNT2 graphics accelerator> at 0.0 irq 11
> isab0: <VIA 82C586 PCI-ISA bridge> at device 7.0 on pci0
> isa0: <ISA bus> on isab0
> atapci0: <VIA 82C586 ATA33 controller> port 0xe000-0xe00f at device 7.1 on
> pci0
> ata0: at 0x1f0 irq 14 on atapci0
> rl0: <Accton MPX 5030/5038 10/100BaseTX> port 0xe800-0xe8ff mem
> 0xe7001000-0xe70010ff irq 10 at device 11.0 on pci0
> rl0: Ethernet address: 00:e0:29:89:1d:0f
> miibus0: <MII bus> on rl0
> rlphy0: <RealTek internal media interface> on miibus0
> rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
> xl0: <3Com 3c900B-TPO Etherlink XL> port 0xec00-0xec7f mem
> 0xe7000000-0xe700007f irq 12 at device 12.0 on pci0
> xl0: Ethernet address: 00:50:04:85:b4:1f
> xl0: selecting 10baseT transceiver, half duplex
> 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> flags 0x1 irq 1 on atkbdc0
> kbd0 at atkbd0
> vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
> sc0: <System console> at flags 0x100 on isa0
> sc0: VGA <16 virtual consoles, flags=0x300>
> sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
> sio0: type 16550A
> IP packet filtering initialized, divert enabled, rule-based forwarding
> disabled, default to accept, logging limited to 10 packets/entry by default
> ata0-master: DMA limited to UDMA33, non-ATA66 compliant cable
> ad0: 12416MB <QUANTUM FIREBALL CX13.0A> [25228/16/63] at ata0-master UDMA33
> acd0: CDROM <FX400> at ata0-slave using PIO3
> Mounting root from ufs:/dev/ad0s1a
> ================================

> And the After dmesg:
> ================================
> Copyright (c) 1992-2001 The FreeBSD Project.
> Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
>         The Regents of the University of California. All rights reserved.
> FreeBSD 4.3-RELEASE #0: Fri May 11 14:19:42 PDT 2001
>     r...@MURS.ok.shawcable.net:/usr/src/sys/compile/MYKERNEL
> Timecounter "i8254"  frequency 1193182 Hz
> Timecounter "TSC"  frequency 551253654 Hz
> CPU: AMD-K6(tm)-III Processor (551.25-MHz 586-class CPU)
>   Origin = "AuthenticAMD"  Id = 0x5d0  Stepping = 0
>   Features=0x8021bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,PGE,MMX>
>   AMD Features=0xc0000800<SYSCALL,DSP,3DNow!>
> real memory  = 67108864 (65536K bytes)
> config> q
> avail memory = 62758912 (61288K bytes)
> Preloaded elf kernel "kernel" at 0xc0294000.
> Preloaded userconfig_script "/boot/kernel.conf" at 0xc029409c.
> K6-family MTRR support enabled (2 registers)
> 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 device 1.0 on
> pci0
> pci1: <PCI bus> on pcib2
> pci1: <NVidia Riva Vanta TNT2 graphics accelerator> at 0.0 irq 11
> isab0: <VIA 82C586 PCI-ISA bridge> at device 7.0 on pci0
> isa0: <ISA bus> on isab0
> atapci0: <VIA 82C586 ATA33 controller> port 0xe000-0xe00f at device 7.1 on
> pci0
> ata0: at 0x1f0 irq 14 on atapci0
> ata1: at 0x170 irq 15 on atapci0
> rl0: <Accton MPX 5030/5038 10/100BaseTX> port 0xe800-0xe8ff mem
> 0xe7001000-0xe70010ff irq 10 at device 11.0 on pci0
> rl0: Ethernet address: 00:e0:29:89:1d:0f
> miibus0: <MII bus> on rl0
> rlphy0: <RealTek internal media interface> on miibus0
> rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
> xl0: <3Com 3c900B-TPO Etherlink XL> port 0xec00-0xec7f mem
> 0xe7000000-0xe700007f irq 12 at device 12.0 on pci0
> xl0: Ethernet address: 00:50:04:85:b4:1f
> xl0: selecting 10baseT transceiver, half duplex
> 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> flags 0x1 irq 1 on atkbdc0
> kbd0 at atkbd0
> vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
> sc0: <System console> at flags 0x100 on isa0
> sc0: VGA <16 virtual consoles, flags=0x300>
> sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
> sio0: type 16550A
> IP packet filtering initialized, divert enabled, rule-based forwarding
> disabled, default to accept, logging limited to 10 packets/entry by default
> ata0-master: DMA limited to UDMA33, non-ATA66 compliant cable
> ad0: 12416MB <QUANTUM FIREBALL CX13.0A> [25228/16/63] at ata0-master UDMA33
> ad2: 26105MB <IBM-DPTA-372730> [53040/16/63] at ata1-master UDMA33
> acd0: CDROM <FX400> at ata0-slave using PIO3
> Mounting root from ufs:/dev/ad0s1a
> ad0s1a: UDMA ICRC error reading fsbn 1620799 of 810368-810495 (ad0s1 bn
> 1620799; cn 100 tn 226 sn 61) retrying
> ad0s1a: UDMA ICRC error reading fsbn 1718847 of 859392-859519 (ad0s1 bn
> 1718847; cn 106 tn 253 sn 18) retrying
> ad0s1a: UDMA ICRC error reading fsbn 1719679 of 859808-859935 (ad0s1 bn
> 1719679; cn 107 tn 11 sn 31) retrying
> ad0s1a: UDMA ICRC error reading fsbn 1719679 of 859808-859935 (ad0s1 bn
> 1719679; cn 107 tn 11 sn 31) retrying
> ad0s1a: UDMA ICRC error reading fsbn 1719679 of 859808-859935 (ad0s1 bn
> 1719679; cn 107 tn 11 sn 31) retrying
> ad0s1a: UDMA ICRC error reading fsbn 1717759 of 858848-858975 (ad0s1 bn
> 1717759; cn 106 tn 236 sn 1) retrying
> ad0s1a: UDMA ICRC error reading fsbn 1717759 of 858848-858975 (ad0s1 bn
> 1717759; cn 106 tn 236 sn 1) retrying
> ad0s1a: UDMA ICRC error reading fsbn 1720607 of 860272-860371 (ad0s1 bn
> 1720607; cn 107 tn 26 sn 14) retrying
> ad0s1a: UDMA ICRC error reading fsbn 1720607 of 860272-860371 (ad0s1 bn
> 1720607; cn 107 tn 26 sn 14) retrying
> ad0s1a: UDMA ICRC error reading fsbn 1720607 of 860272-860371 (ad0s1 bn
> 1720607; cn 107 tn 26 sn 14) retrying
> ad0s1a: UDMA ICRC error reading fsbn 1720607 of 860272-860371 (ad0s1 bn
> 1720607; cn 107 tn 26 sn 14) falling back to PIO mode
> =======================================

--
Anatoliy Dmytriyev <to...@plab.ku.dk>
http://tolid.eu.org
 
 
 

UDMA Hardrive automatically switches to PIO :(

Post by Norbert Pap » Fri, 18 May 2001 00:32:58




Quote:> Hi guys i'm experiencing this really weird problem I've included the before
> and after dmesg's to illustrate what's going on.

> All I did was add a 2nd Harddrive (IBM 27Gig) to by FreeBSD box, I didn't
> toggle any settings in the bios, just plugged in HD and rebooted.

> Here is exactly what I'm seeing upon startup:

> ad0: 12416MB <QUANTUM FIREBALL CX13.0A> [25228/16/63] at ata0-master UDMA33
> ad2: 26105MB <IBM-DPTA-372730> [53040/16/63] at ata1-master UDMA33
> acd0: CDROM <FX400> at ata0-slave using PIO3

I notice that you have your old HD and CDROM on one controller and
the new HD on your second controller.  I was always under the
impression that it is not advisable to mix HDs and CDROMs on the
same controller.  (Could somebody who understands why please comment
or repudiate this statement).  If you don't mind opening your box
up again, put both HDs on one controller and your CDROM on the
other.  Don't forget about the master-slave switches ;-).

BTW, I very recently did something very similar to what you are
attempting to do.  I did not have to change any BIOS settings ...

Regards,

-- Norbert.

 
 
 

UDMA Hardrive automatically switches to PIO :(

Post by David Horwi » Fri, 18 May 2001 01:21:38






>> Hi guys i'm experiencing this really weird problem I've included the before
>> and after dmesg's to illustrate what's going on.

>> All I did was add a 2nd Harddrive (IBM 27Gig) to by FreeBSD box, I didn't
>> toggle any settings in the bios, just plugged in HD and rebooted.

>> Here is exactly what I'm seeing upon startup:

>> ad0: 12416MB <QUANTUM FIREBALL CX13.0A> [25228/16/63] at ata0-master UDMA33
>> ad2: 26105MB <IBM-DPTA-372730> [53040/16/63] at ata1-master UDMA33
>> acd0: CDROM <FX400> at ata0-slave using PIO3

        I recently tried connecting a 80GB ATA100 Maxtor to my system, and
observed the same sort of behavior after receiving a number of write errors.
I believe the ATA driver resorts to PIO as an error recovery method (I'm
using FBSD 4.2Release).
        The solution, in my case, was to purchase a ATA100 controller. The
Maxtor is apparently very choosy about who it will talk to, and it didn't
like my on-board PIIX4 ATA33 controller, even after I began using an 80
conductor ATA66 cable (although that improved things, it didn't eliminate the
communication errors). Only adding the ATA100 controller fixed the problem.
        NB: In my case, the Maxtor was the only device on the ATA bus.

                                David Horwitt
                                Scripps Institution of Oceanography

 
 
 

UDMA Hardrive automatically switches to PIO :(

Post by -=DCOG= » Fri, 18 May 2001 02:57:45


"If you don't mind opening your box
up again, put both HDs on one controller and your CDROM on the
other.  Don't forget about the master-slave switches ;-)."

That's actually not a good idea. The way IDE works is that it can only talk
to one device on the same IDE channel at the same time.
So if you put both HD's on the same cable and do an operation on each
harddrive you'd have to wait for the first operation to finish in order for
the second to begin.

It's the same thing when people put both their burners and their cdrom on
the same cable and then try to do "cdrom to cdr" burning, it works but is
very slow and ill-advised.

As far as it being a bad cable, it can't be since I didn't touch the cabling
and even if it was a bad cable why would it still work? If it was a bad
cable it would be my hunch that neither the cdrom or 13gb hd on IDE0 would
work.

 
 
 

UDMA Hardrive automatically switches to PIO :(

Post by Steve O'Hara-Smit » Fri, 18 May 2001 04:33:26


On Wed, 16 May 2001 17:57:45 GMT


> "If you don't mind opening your box
> up again, put both HDs on one controller and your CDROM on the
> other.  Don't forget about the master-slave switches ;-)."

> That's actually not a good idea. The way IDE works is that it can only talk
> to one device on the same IDE channel at the same time.

        This is a good point, but mixing 66 and 33 on the same cable doesn't
work also sometimes an iffy ATAPI device will effectively disable UDMA on the
same cable. These and other assorted oddities mean that sometimes the ideal
is not attainable and it is better to stick like with like.

--
On the wire a nanosecond is about the length of an *.

 
 
 

UDMA Hardrive automatically switches to PIO :(

Post by -=DCOG= » Fri, 18 May 2001 09:54:49


I solved the problem by putting the 13Gig Quantum on it's own on IDE0 and
putting the CDROM and 27Gig IBM on IDE1.

Thanks for the suggestions guys :)

 
 
 

1. Hard Drive settings - PIO 33Mhz UDMA etc.

I'm setting up a P4 with RH9 and want to ensure the machine is running
nice and fast.  Anyway, in the /var/log/messages I see:

May  7 01:42:48 localhost kernel: ide: Assuming 33MHz system bus speed
for PIO modes; override with idebus=xx

So I test out the HD performance:


/dev/md0:
Timing buffer-cache reads:   128 MB in  0.29 seconds =441.38 MB/sec
Timing buffered disk reads:  64 MB in  1.40 seconds = 45.71 MB/sec

Not sure if these numbers match the performance I should be achieving,
so I ran:

hdparm -c 1 -d 1 -i -k 1 /dev/hda (and for b and c)

So far no noticeable change.  Drive info:
80GB Western Digital 7200rpm w/8Mb cache on board.

class: HD
bus: IDE
detached: 0
device: hda
driver: ignore
desc: "WDC WD800JB-00CRA1"
physical: 38309/16/255
logical: 9729/255/63

According to the specs for the Motherboard:
Intel 845GE chipset
Support 100/133/166 Mhz FSB
2 channel Ultra ATA/100 Bus Master IDE controller
Support PIO, Bus Master and Ultra ATA66/100 operation modes

Now I've seen postings on the 33Mhz issue, but so far they don't seem
to be clear on whether or not this is correct, or why....

Anyone have any suggestions or performance comparisons?  Is this on
track?

2. Intel webcam

3. HDD setup - UDMA or PIO?

4. Anyone having problems with wget in RedHat 7.0?

5. Talk refused to talk:(:(:(:(

6. Elsa Winner 3000-L: Why SVGA and not S3V?

7. HDD setup - UDMA or PIO?

8. Earthmate GPS USB + Redhat Linux 8.0

9. PIO 3 and PIO 4

10. my trashed hard drive. :( :( :(

11. How to automatically switch csh to ksh and source .profile?

12. How do I tell "sh" to automatically switch to bash

13. Dumb mgetty question - Will it switch between data and fax automatically?