ATA_DMA errors

Martin nakal at nurfuerspam.de
Sat Jun 25 09:26:48 GMT 2005


Johny Mattsson wrote:

> Basically, the problem seems to be related to using more than one
> channel on the IDE controller.

This isn't a solution to my problem. I only have one hard drive.
It's 120GB Seagate. We seem to have different problems, btw.

I also don't think, my problem is ATA-related. It shows effect
on ATA, but I don't see any modifications that have been done
to ATA on -STABLE between May 26 and May 30. It is something else
going on there.

Today at night the system was up and the security scan showed
"bad descriptors" and "bad block"-errors. This was the effect
of my last experiment with latest -STABLE. (I previously thought
that the file system was intact, but it's not true.)

I don't know why this is called "bad block". It confuses users
(at least me) making them think they have physically destroyed
hard disk areas, but this is not the case, as a simple dd shows.
And bad blocks will not appear after using a new kernel and
disappear when I reinstall an older one and use fsck.

Martin




Here my dmesg (kernel date: May 26th 00:00:00):
--------------------------------------------
Copyright (c) 1992-2005 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.4-STABLE #0: Mon Jun 20 21:44:05 CEST 2005
    nakal at klotz.local:/usr/obj/usr/src/sys/KLOTZ
ACPI APIC Table: <AMIINT VIA_K7  >
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: AMD Sempron(tm) 2200+ (1499.52-MHz 686-class CPU)
  Origin = "AuthenticAMD"  Id = 0x681  Stepping = 1

Features=0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CM
OV,PAT,PSE36,MMX,FXSR,SSE  AMD Features=0xc0480000<MP,AMIE,DSP,3DNow!>
real memory  = 536805376 (511 MB)
avail memory = 511455232 (487 MB)
ioapic0 <Version 0.3> irqs 0-23 on motherboard
netsmb_dev: loaded
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <AMIINT VIA_K7> on motherboard
acpi0: Power Button (fixed)
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0
cpu0: <ACPI CPU> on acpi0
acpi_button0: <Power Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
agp0: <VIA 8377 (Apollo KT400/KT400A/KT600) host to PCI bridge> mem
0xe0000000-0xe3ffffff at device 0.0 on pci0
pcib1: <PCI-PCI bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
nvidia0: <GeForce4 Ti 4200> mem
0xddc80000-0xddcfffff,0xd0000000-0xd7ffffff,0xde000000-0xdeffffff irq 16
at device 0.0 on pci1
xl0: <3Com 3c905-TX Fast Etherlink XL> port 0xec00-0xec3f irq 17 at
device 9.0 on pci0
miibus0: <MII bus> on xl0
nsphy0: <DP83840 10/100 media interface> on miibus0
nsphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
xl0: Ethernet address: 00:60:08:4e:42:3b
ath0: <Atheros 5212> mem 0xdffd0000-0xdffdffff irq 18 at device 10.0 on pci0
ath0: mac 5.9 phy 4.3 5ghz radio 4.6
ath0: Ethernet address: 00:0f:b5:28:de:4b
ath0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
ath0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps
24Mbps 36Mbps 48Mbps 54Mbps
bktr0: <BrookTree 878> mem 0xdddfe000-0xdddfefff irq 19 at device 11.0
on pci0
bktr0: Hauppauge Model 44804 C108
bktr0: Detected a MSP34255?-?31 at 0x80
bktr0: Hauppauge WinCast/TV, Philips PAL I tuner, msp3400c stereo.
pci0: <multimedia> at device 11.1 (no driver attached)
sym0: <875> port 0xe800-0xe8ff mem
0xdfffe000-0xdfffefff,0xdfffff00-0xdfffffff irq 17 at device 13.0 on pci0
sym0: Tekram NVRAM, ID 7, Fast-20, SE, parity checking
uhci0: <VIA 83C572 USB controller> port 0xdc00-0xdc1f irq 21 at device
16.0 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
uhci1: <VIA 83C572 USB controller> port 0xe000-0xe01f irq 21 at device
16.1 on pci0
usb1: <VIA 83C572 USB controller> on uhci1
usb1: USB revision 1.0
uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2: <VIA 83C572 USB controller> port 0xe400-0xe41f irq 21 at device
16.2 on pci0
usb2: <VIA 83C572 USB controller> on uhci2
usb2: USB revision 1.0
uhub2: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
pci0: <serial bus, USB> at device 16.3 (no driver attached)
isab0: <PCI-ISA bridge> at device 17.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <VIA 8235 UDMA133 controller> port
0xfc00-0xfc0f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 17.1 on pci0
ata0: channel #0 on atapci0
ata1: channel #1 on atapci0
pcm0: <VIA VT8235> port 0xd800-0xd8ff irq 22 at device 17.5 on pci0
pcm0: <Unknown AC97 Codec (id = 0x434d4983)>
vr0: <VIA VT6102 Rhine II 10/100BaseTX> port 0xd400-0xd4ff mem
0xdffffd00-0xdffffdff irq 23 at device 18.0 on pci0
miibus1: <MII bus> on vr0
ukphy0: <Generic IEEE 802.3u media interface> on miibus1
ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
vr0: Ethernet address: 00:0b:6a:a7:2a:a4
acpi_button1: <Sleep Button> on acpi0
fdc0: <floppy drive controller> port 0x3f7,0x3f4-0x3f5,0x3f2-0x3f3 irq 6
drq 2 on acpi0
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on
acpi0
sio0: type 16550A
ppc0: <ECP parallel printer port> port 0x778-0x77b,0x378-0x37f irq 7 drq
0 on acpi0
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
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
joy0: <Generic PnP Joystick> port 0x200-0x207 on acpi0
speaker0: <PC speaker> port 0x61 on acpi0
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
orm0: <ISA Option ROM> at iomem 0xc0000-0xcefff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
ums0: Logitech USB Receiver, rev 1.10/9.10, addr 2, iclass 3/1
ums0: 5 buttons and Z dir.
Timecounter "TSC" frequency 1499520245 Hz quality 800
Timecounters tick every 1.000 msec
ipfw2 initialized, divert enabled, rule-based forwarding enabled,
default to deny, logging unlimited
ad0: 114473MB <ST3120024A/3.33> [232581/16/63] at ata0-master UDMA100
cd2 at sym0 bus 0 target 5 lun 0
cd2: <PIONEER DVD-ROM DVD-303 1.10> Removable CD-ROM SCSI-2 device
cd2: 20.000MB/s transfers (20.000MHz, offset 8)
cd2: Attempt to query device size failed: NOT READY, Medium not present
cd1 at sym0 bus 0 target 4 lun 0
cd1: <TEAC CD-R58S 1.0H> Removable CD-ROM SCSI-2 device
cd1: 10.000MB/s transfers (10.000MHz, offset 15)
cd1: Attempt to query device size failed: NOT READY, Medium not present
cd0 at sym0 bus 0 target 3 lun 0
cd0: <PLEXTOR CD-ROM PX-40TS 1.10> Removable CD-ROM SCSI-2 device
cd0: 20.000MB/s transfers (20.000MHz, offset 15)
cd0: Attempt to query device size failed: NOT READY, Medium not present
- tray closed
Mounting root from ufs:/dev/ad0s3a


More information about the freebsd-stable mailing list