Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Oct 2002 12:55:02 -0400
From:      Keith Mitchell <kmitch@guru.org>
To:        freebsd-stable@freebsd.org
Subject:   ATA problems in 4.7-RC
Message-ID:  <20021003165502.GA2402@weenix.guru.org>

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

--9amGYk9869ThD9tj
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

I just purchased a new WD 180GB ATA-100 disk drive for my FreeBSD machine
and am having problems getting the drive working correctly.  Originally
I had this drive attached to the onboard IDE controller on my MB
(Asus TUSLC-2) but had problems so I installed the promise ATA100TX2
controller card that came with the system.  This made the problems not
show up as often, but they are definately still there.

I am running RELENG_4 from 9/23 and it identifies itself as 4.7-RC.  The
problems I am seeing are READ timeout error messages followed by an
error message saying that the identifies to the drive timed out.  At this
point in time the activity LED to the controller card is lit solidly and
either the system is frozen or it is still responding but all I/Os fail
with input/output errors.  Eventually the system will reboot but when this
happens it often doesn't find the drive anymore and I have to power cycle
the computer to get things going again.

Currently this drive is the ONLY drive attached to the promise controller
and it is configured as an only drive (no slave present) via jumpers.

I've tried this same drive in my mac (behind an Oxford 911 firewire bridge)
and it seems to work ok over there.

Attached is the output from 'dmesg' and 'atacontrol cap' for the device.

-- 
Keith Mitchell
Email: kmitch@guru.org				PGP key available upon request

--9amGYk9869ThD9tj
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="atainfo.txt"

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.7-RC #3: Mon Sep 23 20:04:13 EDT 2002
    kmitch@weenix.guru.org:/pub/obj/pub/src/sys/WEENIX
Timecounter "i8254"  frequency 1193182 Hz
Timecounter "TSC"  frequency 1139036059 Hz
CPU: Pentium III/Pentium III Xeon/Celeron (1139.04-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x6b1  Stepping = 1
  Features=0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
real memory  = 536784896 (524204K bytes)
avail memory = 518459392 (506308K bytes)
Preloaded elf kernel "kernel" at 0xc039e000.
Pentium Pro MTRR support enabled
md0: Malloc disk
Using $PIR table, 11 entries at 0xc00f13a0
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
pcib1: <Intel 82801BA/BAM (ICH2) PCI-PCI (AGP) bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <NVidia Riva TNT2 graphics accelerator> at 0.0 irq 11
pcib2: <Intel 82801BA/BAM (ICH2) Hub to PCI bridge> at device 30.0 on pci0
pci2: <PCI bus> on pcib2
atapci0: <Promise TX2 ATA100 controller> port 0xb400-0xb40f,0xb800-0xb803,0xd000-0xd007,0xd400-0xd403,0xd800-0xd807 mem 0xf3800000-0xf3803fff irq 9 at device 10.0 on pci2
ata2: at 0xd800 on atapci0
ata3: at 0xd000 on atapci0
pcib3: <DEC 21152 PCI-PCI bridge> at device 11.0 on pci2
pci3: <PCI bus> on pcib3
ahc_pci0: <Adaptec 3940 Ultra SCSI adapter> port 0xa800-0xa8ff mem 0xf3000000-0xf3000fff irq 9 at device 4.0 on pci3
aic7880: Ultra Wide Channel A, SCSI Id=7, 16/253 SCBs
ahc_pci1: <Adaptec 3940 Ultra SCSI adapter> port 0xa400-0xa4ff mem 0xf2800000-0xf2800fff irq 6 at device 5.0 on pci3
aic7880: Ultra Wide Channel B, SCSI Id=7, 16/253 SCBs
pcib4: <DEC 21052 PCI-PCI bridge> at device 12.0 on pci2
pci4: <PCI bus> on pcib4
de0: <Digital 21140A Fast Ethernet> port 0x9800-0x987f mem 0xf2000000-0xf200007f irq 6 at device 4.0 on pci4
de0: SMC 9332BDT 21140A [10-100Mb/s] pass 2.0
de0: address 00:00:c0:c9:5a:f2
de1: <Digital 21140A Fast Ethernet> port 0x9400-0x947f mem 0xf1800000-0xf180007f irq 9 at device 5.0 on pci4
de1: SMC 9332BDT 21140A [10-100Mb/s] pass 2.0
de1: address 00:00:c0:c8:5a:f2
isab0: <Intel 82801BA/BAM (ICH2) PCI to LPC bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci1: <Intel ICH2 ATA100 controller> port 0x8800-0x880f at device 31.1 on pci0
ata0: at 0x1f0 irq 14 on atapci1
ata1: at 0x170 irq 15 on atapci1
uhci0: <Intel 82801BA/BAM (ICH2) USB controller USB-A> port 0x8400-0x841f irq 5 at device 31.2 on pci0
usb0: <Intel 82801BA/BAM (ICH2) USB controller USB-A> 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
ichsmb0: <Intel 82801BA (ICH2) SMBus controller> port 0xe800-0xe80f irq 10 at device 31.3 on pci0
smbus0: <System Management Bus> on ichsmb0
smb0: <SMBus general purpose I/O> on smbus0
uhci1: <Intel 82801BA/BAM (ICH2) USB controller USB-B> port 0x8000-0x801f irq 9 at device 31.4 on pci0
usb1: <Intel 82801BA/BAM (ICH2) USB controller USB-B> on uhci1
usb1: USB revision 1.0
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
orm0: <Option ROMs> at iomem 0xcc000-0xce7ff,0xd0000-0xd07ff on isa0
fdc0: cannot reserve interrupt line
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: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/9 bytes threshold
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
IP packet filtering initialized, divert disabled, rule-based forwarding enabled, default to deny, unlimited logging
ad4: 171705MB <WDC WD1800BB-00DAA0> [348861/16/63] at ata2-master UDMA100
afd0: 120MB <LS-120 VER5 00 UHD Floppy> [963/8/32] at ata1-master PIO3
acd0: DVD-ROM <HITACHI DVD-ROM GD-2500> at ata1-slave PIO4
Waiting 15 seconds for SCSI devices to settle
de0: enabling Full Duplex 100baseTX port
de1: autosense failed: cable problem?
sa0 at ahc0 bus 0 target 4 lun 0
sa0: <ARCHIVE Python 28388-XXX 5.AC> Removable Sequential Access SCSI-2 device 
sa0: 7.812MB/s transfers (7.812MHz, offset 15)
Mounting root from ufs:/dev/ad4s1a
de0: abnormal interrupt: transmit underflow (raising TX threshold to 96|256)


sysctl -a | grep ata:

hw.ata.ata_dma: 1
hw.ata.wc: 1
hw.ata.tags: 0
hw.ata.atapi_dma: 0


atacontrol cap 2 0:

ATA channel 2, Master, device ad4:

ATA/ATAPI revision    6
device model          WDC WD1800BB-00DAA0
serial number         WD-WMACK1027562
firmware revision     63.13F63
cylinders             16383
heads                 16
sectors/track         63
lba supported         268435455 sectors
lba48 supported         351651888 sectors
dma supported
overlap not supported

Feature                      Support  Enable    Value   Vendor
write cache                    yes	yes
read ahead                     yes	yes
dma queued                     no	no	0/00
SMART                          yes	yes
microcode download             yes	yes
security                       yes	yes
power management               yes	yes
advanced power management      no	no	0/00
automatic acoustic management  yes	no	254/FE	128/80

kernel messages that actually got logged:

Oct  3 09:05:21 weenix /kernel: ad4: READ command timeout tag=0 serv=0 - resetting
Oct  3 09:05:23 weenix /kernel: ata2: resetting devices .. ata2-slave: ATA identify retries exceeded

--9amGYk9869ThD9tj--

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?20021003165502.GA2402>