ATA still broken, but now differently
Kirk Strauser
kirk at strauser.com
Sat Jan 17 15:43:12 PST 2004
Well, Thursday's world seems to have broken ATA in a new and interesting
way. Before updating world in mid-September, my drive ran perfectly in
UDMA66 mode. Since that time, the system is absolutely guaranteed to freeze
if I run in any mode higher than BIOSPIO. Before two days ago, that meant
getting errors like:
ad0: TIMEOUT - WRITE_DMA retrying (2 reties left)
ata0: resetting devices
ad0: FAILURE - already active DMA on this device
ad0: setting up DMA failed
before infinite, unbreakable hangs. As of today, when running in any DMA
mode and exercising the ATA system, I get an endless stream of messages:
swap pager: indefinite wait buffer
and I can only break out of the error cycle with a reset.
For the record, I've checked the cabling multiple times. "smartctl" gives
good results. The machine runs perfectly under FreeBSD 4.9 or versions of
5.x prior to mid-September.
Any thoughts before I file (another) PR?
Hardware:
ASUS P3V4X motherboard, PIII/933 CPU
atapci0: VIA 82C596B UDMA66 controller
ata0: WD1200JB-00DUA3
dmesg:
Copyright (c) 1992-2004 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 5.2-CURRENT #0: Thu Jan 15 19:24:07 CST 2004
root at kanga.honeypot.net:/usr/obj/usr/src/sys/KANGA
Preloaded elf kernel "/boot/kernel/kernel" at 0xc0a32000.
Preloaded elf module "/boot/kernel/linprocfs.ko" at 0xc0a321f4.
Preloaded elf module "/boot/kernel/linux.ko" at 0xc0a322a4.
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel Pentium III (936.74-MHz 686-class CPU)
Origin = "GenuineIntel" Id = 0x683 Stepping = 3
Features=0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
real memory = 805289984 (767 MB)
avail memory = 778240000 (742 MB)
Pentium Pro MTRR support enabled
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcibios: BIOS version 2.10
Using $PIR table, 8 entries at 0xc00f0e60
pcib0: <Host to PCI bridge> at pcibus 0 on motherboard
pci0: <PCI bus> on pcib0
pci_cfgintr: 0:4 INTD BIOS irq 9
pci_cfgintr: 0:9 INTA BIOS irq 9
pci_cfgintr: 0:11 INTA BIOS irq 10
pci_cfgintr: 0:12 INTA BIOS irq 11
agp0: <VIA 82C691 (Apollo Pro) host to PCI bridge> mem 0xe7800000-0xe7ffffff at device 0.0 on pci0
pcib1: <PCI-PCI bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
isab0: <PCI-ISA bridge> at device 4.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <VIA 82C596B UDMA66 controller> port 0xd800-0xd80f at device 4.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata0: [MPSAFE]
ata1: at 0x170 irq 15 on atapci0
ata1: [MPSAFE]
uhci0: <VIA 83C572 USB controller> port 0xd400-0xd41f irq 9 at device 4.2 on pci0
usb0: <VIA 83C572 USB controller> on uhci0
usb0: USB revision 1.0
uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
ulpt0: HewLett Packard HP LaserJet 1200, rev 1.10/1.00, addr 2, iclass 7/1
ulpt0: using bi-directional mode
viapropm0: SMBus I/O base at 0xe800
viapropm0: <VIA VT82C596A Power Management Unit> port 0xe800-0xe80f at device 4.3 on pci0
viapropm0: SMBus revision code 0x0
smbus0: <System Management Bus> on viapropm0
smb0: <SMBus generic I/O> on smbus0
fxp0: <Intel 82559 Pro/100 Ethernet> port 0xd000-0xd03f mem 0xd6800000-0xd68fffff,0xd7000000-0xd7000fff irq 9 at device 9.0 on pci0
fxp0: Ethernet address 00:d0:b7:0e:3a:4a
miibus0: <MII bus> on fxp0
inphy0: <i82555 10/100 media interface> on miibus0
inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
sym0: <875> port 0xb800-0xb8ff mem 0xd5800000-0xd5800fff,0xd6000000-0xd60000ff irq 10 at device 11.0 on pci0
sym0: Tekram NVRAM, ID 7, Fast-20, SE, parity checking
pci0: <display, VGA> at device 12.0 (no driver attached)
orm0: <Option ROMs> at iomem 0xd0000-0xd0fff,0xcc000-0xcffff,0xc0000-0xcafff on isa0
pmtimer0 on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x64,0x60 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
fdc0: <Enhanced floppy controller (i82077, NE72065 or clone)> at port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
ppc0: <Parallel port> at port 0x378-0x37f on isa0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/9 bytes threshold
ppbus0: <Parallel port bus> on ppc0
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Polled port
ppi0: <Parallel I/O> on ppbus0
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
sio2 at port 0x3e8-0x3ef irq 5 on isa0
sio2: type 16450
sio3: configured irq 9 not in bitmap of probed irqs 0
sio3: port may not be enabled
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
unknown: <PNP0401> can't assign resources (port)
unknown: <PNP0501> can't assign resources (port)
unknown: <PNP0501> can't assign resources (port)
unknown: <PNP0700> can't assign resources (port)
unknown: <PNP0c01> can't assign resources (memory)
unknown: <PNP0100> can't assign resources (irq)
unknown: <PNP0303> can't assign resources (port)
Timecounter "TSC" frequency 936742965 Hz quality 800
Timecounters tick every 1.000 msec
GEOM: create disk ad0 dp=0xc5e11b60
ad0: 114473MB <WDC WD1200JB-00DUA3> [232581/16/63] at ata0-master PIO4
Waiting 15 seconds for SCSI devices to settle
(probe1:sym0:0:1:0): phase change 6-7 6 at 0032db8c resid=4.
(probe2:sym0:0:2:0): phase change 6-2 6 at 0032dd8c resid=5.
sa0 at sym0 bus 0 target 6 lun 0
sa0: <SEAGATE DAT 9SP40-000 9100> Removable Sequential Access SCSI-3 device
sa0: 40.000MB/s transfers (20.000MHz, offset 16, 16bit)
GEOM: create disk cd0 dp=0xc5e04600
GEOM: create disk da0 dp=0xc5e1b850
(cd0:sym0:0:2:0): phase change 6-2 6 at 0032dd8c resid=5.
cd0 at sym0 bus 0 target 2 lun 0
cd0: <RICOH RO-1420C 1.61> Removable CD-ROM SCSI-2 device
cd0: 3.300MB/s transfers
cd0: Attempt to query device size failed: NOT READY, Medium not present
da0 at sym0 bus 0 target 1 lun 0
da0: <IOMEGA ZIP 100 J.03> Removable Direct Access SCSI-2 device
da0: 3.300MB/s transfers
da0: Attempt to query device size failed: NOT READY, Medium not present
(cd0:sym0:0:2:0): phase change 6-2 6 at 0032dd8c resid=5.
(cd0:sym0:0:2:0): phase change 6-2 6 at 0032dd8c resid=5.
(cd0:sym0:0:2:0): phase change 6-2 6 at 0032dd8c resid=5.
(cd0:sym0:0:2:0): phase change 6-2 6 at 0032dd8c resid=5.
(da0:sym0:0:1:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0
(da0:sym0:0:1:0): CAM Status: SCSI Status Error
(da0:sym0:0:1:0): SCSI Status: Check Condition
(da0:sym0:0:1:0): NOT READY asc:3a,0
(da0:sym0:0:1:0): Medium not present
(da0:sym0:0:1:0): Unretryable error
Opened disk da0 -> 6
(da0:sym0:0:1:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0
(da0:sym0:0:1:0): CAM Status: SCSI Status Error
(da0:sym0:0:1:0): SCSI Status: Check Condition
(da0:sym0:0:1:0): NOT READY asc:3a,0
(da0:sym0:0:1:0): Medium not present
(da0:sym0:0:1:0): Unretryable error
Opened disk da0 -> 6
Mounting root from ufs:/dev/ad0s1a
WARNING: / was not properly dismounted
WARNING: /home was not properly dismounted
WARNING: /tmp was not properly dismounted
WARNING: /usr was not properly dismounted
/usr: mount pending error: blocks 24 files 2
WARNING: /usr/export was not properly dismounted
WARNING: /usr/share was not properly dismounted
WARNING: /var was not properly dismounted
/var: mount pending error: blocks 4 files 1
WARNING: /var/amanda was not properly dismounted
/var/amanda: superblock summary recomputed
WARNING: /var/jail was not properly dismounted
--
Kirk Strauser
"94 outdated ports on the box,
94 outdated ports.
Portupgrade one, an hour 'til done,
82 outdated ports on the box."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 188 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040117/935a5fcd/attachment.bin
More information about the freebsd-current
mailing list