Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Apr 2000 23:58:33 -0500
From:      Troy <troyml@prodigy.net>
To:        stable@freebsd.org
Subject:   ad0: WRITE command timeout
Message-ID:  <38F7F6F9.AC29F4AA@prodigy.net>

next in thread | raw e-mail | index | archive | help
The subject line shows the error message that I have been having.  From
searching the newsgroups, archives, and the web I have discovered what
in my mind is a temporary fix, ie... sysctl -w hw.atamodes=pio,etc..... 
The drive I have in my system is a Samsung SV0844D, which is an UDMA66
drive, the controller is a PIIX4 which only supports UDMA33 and
supposedly is supported properly under FBSD.  I began receiving this
error after upgrading to 4-stable using cvs from the 3-stable line I was
using. Unfortunately it has caused some data corruption, but I think
I've caught most of that.  My question is, is there a way to fix it
without having to use pio modes and suffer that performance hit, or need
I just wait until the driver is fixed and when will that happen?
On a seperate note, since my switch to 4-stable some of my system
monitoring tools, ie.. top, vmstat, wmmon, etc have stopped functioning
properly, the output of top and vmstat are below, wiser individuals then
me hopefully will know where I went wrong.

<uname -a>
FreeBSD localhost.splitrock.net 4.0-STABLE FreeBSD 4.0-STABLE #3: Thu
Apr 13 22:50:41 CDT 2000    
root@localhost.splitrock.net:/usr/src/sys/compile/CUSTOM  i386
</uname -a>

<dmesg>
Copyright (c) 1992-2000 The FreeBSD Project.
Copyright (c) 1982, 1986, 1989, 1991, 1993
        The Regents of the University of California. All rights
reserved.
FreeBSD 4.0-STABLE #3: Thu Apr 13 22:50:41 CDT 2000
    root@localhost.splitrock.net:/usr/src/sys/compile/CUSTOM
Timecounter "i8254"  frequency 1193182 Hz
CPU: Pentium III/Pentium III Xeon (448.80-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x673  Stepping = 3
 
Features=0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,XMM>
real memory  = 66977792 (65408K bytes)
avail memory = 62627840 (61160K bytes)
Pentium Pro MTRR support enabled
md0: Malloc disk
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Intel 82443BX (440 BX) host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
pcib1: <Intel 82443BX (440 BX) PCI-PCI (AGP) bridge> at device 1.0 on
pci0
pci1: <PCI bus> on pcib1
pci1: <NVidia Riva TNT 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> port 0xffa0-0xffaf at device 7.1
on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
uhci0: <Intel 82371AB/EB (PIIX4) USB controller> port 0xef80-0xef9f irq
10 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
ugen0: Logitech Inc. product 0x040f, rev 1.00/1.01, addr 2
chip1: <Intel 82371AB Power management controller> port 0x440-0x44f at
device 7.3 on pci0
pcm0: <AudioPCI ES1371> port 0xef00-0xef3f irq 9 at device 12.0 on pci0
pci0: <unknown card> (vendor=0x127a, dev=0x2014) at 13.0 irq 11
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on
isa0
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
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> on isa0
sc0: VGA <16 virtual consoles, flags=0x200>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1: configured irq 3 not in bitmap of probed irqs 0
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/8 bytes threshold
ppbus0: IEEE1284 device found /NIBBLE/PS2/ECP
Probing for PnP devices on ppbus0:
ppbus0: <Lexmark International Lexmark OptraColor 40> PRINTER PCL 5
Emulation, PostScript Level 2 Emulation, NPAP, PJL
ppi0: <Parallel I/O> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ad0: 8063MB <SAMSUNG SV0844D> [16383/16/63] at ata0-master using UDMA33
acd0: DVD-ROM <DVS DVD-ROM DSR-600H 990909B0> at ata1-master using WDMA2
Mounting root from ufs:wd0s1a
ad0: WRITE command timeout - resetting
ata0: resetting devices .. done
ad0: WRITE command timeout - resetting
ata0: resetting devices .. done
</dmesg>

<top>
top: nlist failed
</top>

<vmstat>
vmstat: undefined symbols:
 _cp_time _kmemstatistics _bucket _zlist 
</vmstat>

Thanks for any and all assistance you can be with these issues.

Troy Lubbers


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?38F7F6F9.AC29F4AA>