https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=207431
Bug ID: 207431
Summary: Using scanimage triggers ata2: FAILURE - odd-sized DMA
transfer attempt
Product: Base System
Version: 10.2-RELEASE
Hardware: amd64
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: kern
Assignee: freebsd-bugs@FreeBSD.org
Reporter: charleszieg...@ieee.org
CC: freebsd-am...@freebsd.org
CC: freebsd-am...@freebsd.org
Using xsane, gscan2pdf, or scanimage triggers multiple "ata2: FAILURE -
odd-sized DMA transfer attempt 5 % 2".
Once this occurs saving data to the drive appears to work, but on reboot no
longer exist. The system is root-on-zfs.
Furthermore, if subsequent intensive disk activity is attempted then an "ata4:
already running!" is issued and the system becomes unusable. Once this occurs
writes to other devices like da* appear to be affected, which is why I was
unable to record this error.
The problem is repeatable.
root@Dad:/ # scanimage -L
device `hpaio:/net/HP_LaserJet_3200?ip=10.0.0.204' is a Hewlett-Packard
HP_LaserJet_3200 all-in-one
dmesg is
Copyright (c) 1992-2015 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 is a registered trademark of The FreeBSD Foundation.
FreeBSD 10.2-RELEASE-p9 #0: Thu Jan 14 01:32:46 UTC 2016
r...@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64
FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 208032) 20140512
VT: running with driver "vga".
module_register: module at91_mci/mmc already exists!
Module at91_mci/mmc failed to register: 17
module_register: module sdhci_bcm/mmc already exists!
Module sdhci_bcm/mmc failed to register: 17
module_register: module sdhci_fdt/mmc already exists!
Module sdhci_fdt/mmc failed to register: 17
module_register: module sdhci_imx/mmc already exists!
Module sdhci_imx/mmc failed to register: 17
module_register: module sdhci_pci/mmc already exists!
Module sdhci_pci/mmc failed to register: 17
module_register: module sdhci_ti/mmc already exists!
Module sdhci_ti/mmc failed to register: 17
module_register: module ti_mmchs/mmc already exists!
Module ti_mmchs/mmc failed to register: 17
module_register: module mmc/mmcsd already exists!
Module mmc/mmcsd failed to register: 17
CPU: Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz (2670.06-MHz K8-class CPU)
Origin="GenuineIntel" Id=0x106a5 Family=0x6 Model=0x1a Stepping=5
Features=0xbfebfbff
Features2=0x98e3bd
AMD Features=0x28100800
AMD Features2=0x1
VT-x: PAT,HLT,MTF,PAUSE,EPT,VPID
TSC: P-state invariant, performance statistics
real memory = 25769803776 (24576 MB)
avail memory = 24910798848 (23756 MB)
Event timer "LAPIC" quality 400
ACPI APIC Table: <091911 APIC1516>
FreeBSD/SMP: Multiprocessor System Detected: 8 CPUs
FreeBSD/SMP: 1 package(s) x 4 core(s) x 2 SMT threads
cpu0 (BSP): APIC ID: 0
cpu1 (AP): APIC ID: 1
cpu2 (AP): APIC ID: 2
cpu3 (AP): APIC ID: 3
cpu4 (AP): APIC ID: 4
cpu5 (AP): APIC ID: 5
cpu6 (AP): APIC ID: 6
cpu7 (AP): APIC ID: 7
ioapic0 irqs 0-23 on motherboard
ioapic1 irqs 24-47 on motherboard
random: initialized
module_register_init: MOD_LOAD (vesa, 0x80db8ea0, 0) error 19
kbd1 at kbdmux0
acpi0: <091911 RSDT1516> on motherboard
acpi0: Power Button (fixed)
cpu0: on acpi0
cpu1: on acpi0
cpu2: on acpi0
cpu3: on acpi0
cpu4: on acpi0
cpu5: on acpi0
cpu6: on acpi0
cpu7: on acpi0
attimer0: port 0x40-0x43 irq 0 on acpi0
Timecounter "i8254" frequency 1193182 Hz quality 0
Event timer "i8254" frequency 1193182 Hz quality 100
atrtc0: port 0x70-0x71 irq 8 on acpi0
Event timer "RTC" frequency 32768 Hz quality 0
hpet0: iomem 0xfed0-0xfed003ff on acpi0
Timecounter "HPET" frequency 14318180 Hz quality 950
Event timer "HPET" frequency 14318180 Hz quality 350
Event timer "HPET1" frequency 14318180 Hz quality 340
Event timer "HPET2" frequency 14318180 Hz quality 340
Event timer "HPET3" frequency 14318180 Hz quality 340
Timecounter "ACPI-fast" frequency 3579545 Hz quality 900
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0
pcib0: port 0xcf8-0xcff on acpi0
pci0: on pcib0
pcib1: at device 1.0 on pci0
pci1: on pcib1
pcib2: at device 3.0 on pci0
pci2: on pcib2
vgapci0: port 0xbc00-0xbc7f mem
0xfa00-0xfaff,0xd000-0xdfff,0xf800-0xf9ff irq 24 at
device 0.0 on pci2
nvidia0: on vgapci0
vgapci0: child nvidia0 requested pci_enable_io
vgapci0: child nvidia0 requested pci_enable_io
vgapci0: Boot video device
pcib3: at