ATAng no PIO fallback?

From: Anish Mistry <mistry.7_at_osu.edu>
Date: Tue, 26 Aug 2003 22:27:27 -0400
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

After removing atapicam from my kernel, so no panics on boot I decided to see 
it DMA was fixed for my CD/DVD combo drive.  I changed the 
hw.ata.atapi_dma="0"
to hw.ata.atapi_dma="1" in my /boot/loader.conf.  After a reboot I tried to 
access my cdrom drive, and got the following error messages, which is very 
similar to the messages when trying to dma before ATAng:
Aug 26 22:09:34 littleguy kernel: acd0: WARNING - READ_CD recovered from 
missing interrupt
Aug 26 22:09:34 littleguy kernel: acd0: WARNING - READ_CD UDMA ICRC error 
(retrying request)

The problem is that before with DMA enabled it would try dma a few times fail, 
and then fall back to PIO, whcih though annoying still left the drive in a 
useable condition.  Where as now the drive just stays stuck and unusable.

- --- dmesg ---
Copyright (c) 1992-2003 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.1-CURRENT #9: Tue Aug 26 21:12:34 EDT 2003
    amistry_at_littleguy.am-productions.biz:/usr/obj/usr/src/sys/LITTLEGUY
Preloaded elf kernel "/boot/kernel/kernel" at 0xc0415000.
Preloaded elf module "/boot/kernel/acpi.ko" at 0xc0415244.
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Transmeta(tm) Crusoe(tm) Processor TM5800 (816.37-MHz 586-class CPU)
  Origin = "GenuineTMx86"  Id = 0x543
real memory  = 251527168 (239 MB)
avail memory = 239788032 (228 MB)
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <FUJ    PAULING2> on motherboard
pcibios: BIOS version 2.10
Using $PIR table, 9 entries at 0xc00fdf30
acpi0: power button is handled as a fixed feature programming model.
Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0xff08-0xff0b on acpi0
acpi_cpu0: <CPU> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
pcib0: slot 2 INTA is routed to irq 11
pcib0: slot 4 INTA is routed to irq 9
pcib0: slot 12 INTA is routed to irq 9
pcib0: slot 16 INTA is routed to irq 9
pcib0: slot 19 INTA is routed to irq 9
pcib0: slot 20 INTA is routed to irq 9
pci0: <memory, RAM> at device 0.1 (no driver attached)
pci0: <memory, RAM> at device 0.2 (no driver attached)
pci0: <serial bus, USB> at device 2.0 (no driver attached)
pci0: <multimedia, audio> at device 4.0 (no driver attached)
pci0: <bridge, PCI-unknown> at device 6.0 (no driver attached)
isab0: <PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
pci0: <bridge, PCI-CardBus> at device 12.0 (no driver attached)
atapci0: <AcerLabs Aladdin UDMA66 controller> port 0x1400-0x140f at device 
15.0 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
rl0: <RealTek 8139 10/100BaseTX, rev. C> port 0x8000-0x80ff mem 
0xfc102000-0xfc1020ff irq 9 at device 16.0 on pci0
rl0: Ethernet address: 00:e0:00:ae:45:08
miibus0: <MII bus> on rl0
rlphy0: <RealTek internal media interface> on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
pci0: <serial bus, FireWire> at device 19.0 (no driver attached)
pci0: <display, VGA> at device 20.0 (no driver attached)
acpi_button0: <Power Button> on acpi0
acpi_acad0: <AC adapter> on acpi0
acpi_cmbat0: <Control method Battery> on acpi0
acpi_cmbat1: <Control method Battery> on acpi0
acpi_lid0: <Control Method Lid Switch> on acpi0
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model Generic PS/2 mouse, device ID 0
acpi_ec0: <embedded controller: GPE 0> port 0x66,0x62 on acpi0
orm0: <Option ROMs> at iomem 0xd0000-0xd0fff,0xc0000-0xcffff on isa0
pmtimer0 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
Timecounter "TSC" frequency 816368614 Hz quality 800
Timecounters tick every 10.000 msec
acpi_cpu0: set speed to 100.0%
acpi_cpu: throttling enabled, 8 steps (100% to 12.5%), currently 100.0%
acpi_acad0: acline initialization start
acpi_acad0: On Line
acpi_acad0: acline initialization done, tried 1 times
acpi_cmbat0: battery initialization start
acpi_cmbat0: battery initialization done, tried 1 times
acpi_cmbat1: battery initialization start
ad0: 19077MB <TOSHIBA MK2018GAP> [38760/16/63] at ata0-master UDMA66
acd0: CDRW <TOSHIBA DVD-ROM SD-R2212> at ata1-master UDMA33
Mounting root from ufs:/dev/ad0s2a
acpi_cmbat1: battery initialization failed, giving up
acd0: WARNING - READ_CD recovered from missing interrupt
acd0: WARNING - READ_CD UDMA ICRC error (retrying request)
- --- pciconfi -lv ---
hostb0_at_pci0:0:0:	class=0x060000 card=0x110e10cf chip=0x03951279 rev=0x02 
hdr=0x00
    vendor   = 'Transmeta Corp.'
    device   = 'LongRun Northbridge'
    class    = bridge
    subclass = HOST-PCI
none0_at_pci0:0:1:	class=0x050000 card=0x110e10cf chip=0x03961279 rev=0x00 
hdr=0x00
    vendor   = 'Transmeta Corp.'
    device   = 'SDRAM Controller'
    class    = memory
    subclass = RAM
none1_at_pci0:0:2:	class=0x050000 card=0x110e10cf chip=0x03971279 rev=0x00 
hdr=0x00
    vendor   = 'Transmeta Corp.'
    device   = 'BIOS scratchpad'
    class    = memory
    subclass = RAM
none2_at_pci0:2:0:	class=0x0c0310 card=0x10a210cf chip=0x523710b9 rev=0x03 
hdr=0x00
    vendor   = 'Acer Labs Incorporated (ALi)'
    device   = 'ALI M5237 USB Host Controller'
    class    = serial bus
    subclass = USB
none3_at_pci0:4:0:	class=0x040100 card=0x112f10cf chip=0x545110b9 rev=0x01 
hdr=0x00
    vendor   = 'Acer Labs Incorporated (ALi)'
    device   = 'ALI M5451 PCI AC-Link Controller Audio Device'
    class    = multimedia
    subclass = audio
none4_at_pci0:6:0:	class=0x068000 card=0x10a310cf chip=0x710110b9 rev=0x00 
hdr=0x00
    vendor   = 'Acer Labs Incorporated (ALi)'
    device   = 'ALI M7101 Power Management Controller'
    class    = bridge
    subclass = PCI-unknown
isab0_at_pci0:7:0:	class=0x060100 card=0x153310b9 chip=0x153310b9 rev=0x00 
hdr=0x00
    vendor   = 'Acer Labs Incorporated (ALi)'
    device   = 'ALI M1533 Aladdin IV ISA Bridge'
    class    = bridge
    subclass = PCI-ISA
none5_at_pci0:12:0:	class=0x060700 card=0x10c610cf chip=0xac50104c rev=0x01 
hdr=0x02
    vendor   = 'Texas Instruments (TI)'
    device   = 'PCI1410 PC card cardBus Controller'
    class    = bridge
    subclass = PCI-CardBus
atapci0_at_pci0:15:0:	class=0x0101fa card=0x10a410cf chip=0x522910b9 rev=0xc3 
hdr=0x00
    vendor   = 'Acer Labs Incorporated (ALi)'
    device   = 'M1543 Southbridge EIDE Controller'
    class    = mass storage
    subclass = ATA
rl0_at_pci0:16:0:	class=0x020000 card=0x111c10cf chip=0x813910ec rev=0x10 
hdr=0x00
    vendor   = 'Realtek Semiconductor'
    device   = 'RT8139 (A/B/C/8130) Fast Ethernet Adapter'
    class    = network
    subclass = ethernet
none6_at_pci0:19:0:	class=0x0c0010 card=0x116210cf chip=0x8026104c rev=0x00 
hdr=0x00
    vendor   = 'Texas Instruments (TI)'
    device   = 'TSB43AB21 1394a-2000 OHCI PHY/link-layer Controller'
    class    = serial bus
    subclass = FireWire
none7_at_pci0:20:0:	class=0x030000 card=0x114f10cf chip=0x4c521002 rev=0x64 
hdr=0x00
    vendor   = 'ATI Technologies'
    device   = 'Rage P/M Mobility PCI'
    class    = display
    subclass = VGA


- -- 
Anish Mistry
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (FreeBSD)

iD8DBQE/TBccxqA5ziudZT0RApGDAJ0fT/IrsH6kt11xsIebakKsxciQvgCgiiMA
4Cn6FIVuTKVkrUbrjnRrPZo=
=1Jb7
-----END PGP SIGNATURE-----
Received on Tue Aug 26 2003 - 17:27:24 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:20 UTC