Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Jun 2002 11:35:47 -0400 (EDT)
From:      Eric Gatenby <eric@gatenby.org>
To:        freebsd-stable@FreeBSD.ORG
Subject:   Re: Large IDE Hard drives
Message-ID:  <Pine.LNX.4.43.0206211116190.18924-100000@project-w.com>
In-Reply-To: <Pine.LNX.4.43.0206131106100.29190-100000@project-w.com>

next in thread | previous in thread | raw e-mail | index | archive | help

Hi,

I got several responses to this question. Basically, the responses said the
problems could be:
	1. Power Supply not supplying constant and stable power
	2. Tag Queueing may be enabled
	3. The ATA66 Controller may be garbage

On one suggestion, I used atacontrol to set the drive to UDMA33. That
caused the problems to completely go away on the HPT366.

Later, I bought a new controller (Highpoint RocketRAID 404/HTP374) and
another 80G drive. I installed the new controller and both new drives.
Everything runs perfectly at full speed... no problems yet.

So, in summary, it appears that the HPT366 controller on the Abit BP6
doesn't run well under 4.6-STABLE. It must not be a power supply problem,
because adding another drive as well as a new PCI card would have made the
problem worse. Tag Queueing is and was disabled, so that could not have been
it.

Thanks for all the help!

--Eric

On Thu, 13 Jun 2002, Eric Gatenby wrote:

*>Hi,
*>
*>I just added an 80G Western Digital HD into my freebsd-stable box,
*>which was recompiled on Tuesday. After I fdisk and disklabel it, I
*>repeatedly get these errors on the console when the disk is under any
*>load:
*>
*>ad6: READ command timeout tag=0 serv=0 - resetting
*>
*>After some time, the system locks up and a hard reset is required.
*>
*>The disk itself appears fine -- I've run it through the WD test tools and it
*>has passed. I've installed it into a WinXP system with the exact same
*>motherboard and HDD controller and ran tests, and it worked.
*>
*>The disk is a Western Digital 80G JB drive, with an 8M cache and a UDMA/133
*>interface. It is installed on a Highpoint HPT-366 UDMA/66 controller
*>integrated on my Abit BP6 motherboard. It is installed as the only device
*>(as master) on the second IDE port of the controller.
*>
*>What could be causing these errors and lockups? The problem existed befre I
*>recompiled on Tuesday. My previous build of 4.6-RC was done around May 3rd.
*>
*>Below is some hopefully useful info. If anything more is needed, or if I
*>should try anything, please let me know.
*>
*>> sysctl hw.ata
*>hw.ata.ata_dma: 1
*>hw.ata.wc: 1
*>hw.ata.tags: 0
*>hw.ata.atapi_dma: 0
*>
*>> dmesg
*>Copyright (c) 1992-2002 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.6-RC #1: Tue Jun 11 21:19:01 EDT 2002
*>    root@triassic.mesozoic.net:/usr/obj/usr/src/sys/MESOZOIC_SMP
*>Timecounter "i8254"  frequency 1193182 Hz
*>CPU: Pentium II/Pentium II Xeon/Celeron (400.91-MHz 686-class CPU)
*>  Origin = "GenuineIntel"  Id = 0x665  Stepping = 5
*>  Features=0x183fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR>
*>real memory  = 268369920 (262080K bytes)
*>avail memory = 256245760 (250240K bytes)
*>Programming 24 pins in IOAPIC #0
*>IOAPIC #0 intpin 2 -> irq 0
*>FreeBSD/SMP: Multiprocessor motherboard
*> cpu0 (BSP): apic id:  0, version: 0x00040011, at 0xfee00000
*> cpu1 (AP):  apic id:  1, version: 0x00040011, at 0xfee00000
*> io0 (APIC): apic id:  2, version: 0x00170011, at 0xfec00000
*>Preloaded elf kernel "kernel" at 0xc04c5000.
*>Pentium Pro MTRR support enabled
*>md0: Malloc disk
*>Using $PIR table, 8 entries at 0xc00fd7e0
*>npx0: <math processor> on motherboard
*>npx0: INT 16 interface
*>pcib0: <Intel 82443BX (440 BX) host to PCI bridge> on motherboard
*>IOAPIC #0 intpin 19 -> irq 2
*>IOAPIC #0 intpin 18 -> irq 10
*>pci0: <PCI bus> on pcib0
*>pcib1: <Intel 82443BX (440 BX) PCI-PCI (AGP) bridge> at device 1.0 on pci0
*>IOAPIC #0 intpin 16 -> irq 11
*>pci1: <PCI bus> on pcib1
*>pci1: <ATI Mach64-GB graphics accelerator> at 0.0 irq 11
*>isab0: <Intel 82371AB PCI to ISA bridge> at device 7.0 on pci0
*>isa0: <ISA bus> on isab0
*>atapci0: <Intel PIIX4 ATA33 controller> at device 7.1 on pci0
*>atapci0: ATA channel disabled by BIOS
*>uhci0: <Intel 82371AB/EB (PIIX4) USB controller> port 0xa000-0xa01f irq 2 at device 7.2 on pci0
*>usb0: <Intel 82371AB/EB (PIIX4) USB controller> on uhci0
*>usb0: USB revision 1.0
*>uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
*>uhub0: 2 ports with 2 removable, self powered
*>Timecounter "PIIX"  frequency 3579545 Hz
*>chip1: <Intel 82371AB Power management controller> port 0x5000-0x500f at device 7.3 on pci0
*>xl0: <3Com 3c905-TX Fast Etherlink XL> port 0xa400-0xa43f irq 10 at device 11.0 on pci0
*>xl0: Ethernet address: 00:60:08:1f:bf:f0
*>miibus0: <MII bus> on xl0
*>nsphy0: <DP83840 10/100 media interface> on miibus0
*>nsphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
*>rl0: <RealTek 8139 10/100BaseTX> port 0xa800-0xa8ff mem 0xd9000000-0xd90000ff irq 2 at device 17.0 on pci0
*>rl0: Ethernet address: 00:48:54:4b:f3:19
*>miibus1: <MII bus> on rl0
*>rlphy0: <RealTek internal media interface> on miibus1
*>rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
*>atapci1: <HighPoint HPT366 ATA66 controller> port 0xb400-0xb4ff,0xb000-0xb003,0xac00-0xac07 irq 10 at device 19.0 on pci0
*>ata2: at 0xac00 on atapci1
*>atapci2: <HighPoint HPT366 ATA66 controller> port 0xc000-0xc0ff,0xbc00-0xbc03,0xb800-0xb807 irq 10 at device 19.1 on pci0
*>ata3: at 0xb800 on atapci2
*>orm0: <Option ROMs> at iomem 0xc0000-0xc7fff,0xef000-0xeffff on isa0
*>fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
*>ata0 at port 0x1f0-0x1f7,0x3f6 irq 14 on isa0
*>ata1 at port 0x170-0x177,0x376 irq 15 on isa0
*>atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
*>atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
*>kbd0 at atkbd0
*>psm0: <PS/2 Mouse> irq 12 on atkbdc0
*>psm0: model IntelliMouse, device ID 3
*>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
*>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 (NIBBLE-only) in COMPATIBLE mode
*>plip0: <PLIP network interface> on ppbus0
*>lpt0: <Printer> on ppbus0
*>lpt0: Interrupt-driven port
*>ppi0: <Parallel I/O> on ppbus0
*>APIC_IO: Testing 8254 interrupt delivery
*>APIC_IO: routing 8254 via IOAPIC #0 intpin 2
*>ata3-slave: ATA identify retries exceeded
*>SMP: AP CPU #1 Launched!
*>ad4: 19470MB <IBM-DJNA-352030> [39560/16/63] at ata2-master UDMA66
*>ad6: 76319MB <WDC WD800JB-00CRA1> [155061/16/63] at ata3-master UDMA66
*>Mounting root from ufs:/dev/ad4s1a
*>
*>
*>

-- 
Eric Gatenby               |   eric@gatenby.org   |   AIM: egatenby
http://eric.gatenby.org/   |   PGP: 0x9EA39CC7    |

Hateful to me as the gates of Hades is that man who hides one thing in
his heart and speaks another.  - Homer



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.43.0206211116190.18924-100000>