i386/58458: ATAPI-CDROM DMA Support on ALi Aladdin V Chipset is brocken

Rolf Witt rowi at peanuts.homeunix.org
Thu Oct 23 10:30:24 PDT 2003

>Number:         58458
>Category:       i386
>Synopsis:       ATAPI-CDROM DMA Support on ALi Aladdin V Chipset is brocken
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-i386
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Oct 23 10:30:20 PDT 2003
>Originator:     Rolf Witt
>Release:        FreeBSD 4.9-RC i386
System: FreeBSD peanuts.homeunix.org 4.9-RC FreeBSD 4.9-RC #1: Thu Oct 23 14:24:55 CEST 2003 rowi at peanuts.homeunix.org:/usr/obj/usr/src/sys/PEANUTS i386

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 4.9-RC #1: Thu Oct 23 14:24:55 CEST 2003
    rowi at peanuts.homeunix.org:/usr/obj/usr/src/sys/PEANUTS
Timecounter "i8254"  frequency 1193182 Hz
Timecounter "TSC"  frequency 400911232 Hz
CPU: AMD-K6(tm) 3D+ Processor (400.91-MHz 586-class CPU)
  Origin = "AuthenticAMD"  Id = 0x591  Stepping = 1
  AMD Features=0x80000800<SYSCALL,3DNow!>
real memory  = 268369920 (262080K bytes)
avail memory = 256765952 (250748K bytes)
Preloaded elf kernel "kernel" at 0xc0449000.
VESA: v2.0, 8192k memory, flags:0x1, mode table:0xc00c69c9 (c00069c9)
VESA: Matrox Graphics Inc.
K6-family MTRR support enabled (2 registers)
md0: Malloc disk
Using $PIR table, 8 entries at 0xc00fdef0
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <AcerLabs M1541 (Aladdin-V) PCI host bridge> on motherboard
pci0: <PCI bus> on pcib0
agp0: <Ali M1541 host to AGP bridge> mem 0xe0000000-0xe3ffffff at device 0.0 on pci0
pcib1: <AcerLabs M5243 PCI-PCI bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
drm0: <Matrox G200 (AGP)> mem 0xe5000000-0xe57fffff,0xe4000000-0xe4003fff,0xe8000000-0xe8ffffff irq 10 at device 0.0 on pci1
info: [drm] AGP at 0xe0000000 64MB
info: [drm] Initialized mga 3.1.0 20021029 on minor 0
pci0: <AcerLabs M5237 (Aladdin-V) USB controller> at 2.0 irq 11
isab0: <AcerLabs M1533 portable PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
ahc0: <Adaptec 2940 Ultra SCSI adapter> port 0xc000-0xc0ff mem 0xec002000-0xec002fff irq 10 at device 8.0 on pci0
aic7880: Ultra Single Channel A, SCSI Id=7, 16/253 SCBs
ifpi0: <AVM Fritz!Card PCI> port 0xc400-0xc41f mem 0xec000000-0xec00001f irq 5 at device 9.0 on pci0
ifpi0: ISAC 2085 Version A1/A2 or 2086/2186 Version 1.1 (IOM-2)
ifpi0: passive stack unit 0
xl0: <3Com 3c905C-TX Fast Etherlink XL> port 0xc800-0xc87f mem 0xec001000-0xec00107f irq 9 at device 10.0 on pci0
xl0: Ethernet address: 00:01:02:a6:59:59
miibus0: <MII bus> on xl0
xlphy0: <3c905C 10/100 internal PHY> on miibus0
xlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
xl1: <3Com 3c905C-TX Fast Etherlink XL> port 0xcc00-0xcc7f mem 0xec003000-0xec00307f irq 9 at device 11.0 on pci0
xl1: Ethernet address: 00:01:02:b6:53:81
miibus1: <MII bus> on xl1
xlphy1: <3c905C 10/100 internal PHY> on miibus1
xlphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
pcm0: <ESS Solo-1E> port 0xe000-0xe003,0xdc00-0xdc03,0xd800-0xd80f,0xd400-0xd40f,0xd000-0xd03f irq 10 at device 12.0 on pci0
atapci0: <AcerLabs Aladdin ATA66 controller> port 0xf000-0xf00f irq 0 at device 15.0 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
orm0: <Option ROMs> at iomem 0xc0000-0xc7fff,0xc8000-0xc87ff on isa0
pmtimer0 on isa0
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
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 Generic PS/2 mouse, device ID 0
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 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
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/1 bytes threshold
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
i4btel: 2 ISDN telephony interface device(s) attached
i4brbch: 4 raw B channel access device(s) attached
DUMMYNET initialized (011031)
IP packet filtering initialized, divert enabled, rule-based forwarding enabled, default to accept, logging limited to 100 packets/entry by default
i4bipr: 4 IP over raw HDLC ISDN device(s) attached (VJ header compression)
i4bctl: ISDN system control port attached
i4btrc: 4 ISDN trace device(s) attached
i4bisppp: 4 ISDN SyncPPP device(s) attached
i4b: ISDN call control device attached
ad0: 6197MB <IBM-DHEA-36481> [12592/16/63] at ata0-master UDMA33
ad1: 1222MB <QUANTUM FIREBALL1280A> [2484/16/63] at ata0-slave WDMA2
acd0: DVD-ROM <Pioneer DVD-ROM ATAPIModel DVD-104S 0206> at ata1-master PIO4
Mounting root from ufs:/dev/ad0s1a
da0 at ahc0 bus 0 target 0 lun 0
da0: <SyQuest SQ5200C A24> Removable Direct Access SCSI-2 device 
da0: 5.000MB/s transfers (5.000MHz, offset 15)
da0: 190MB (390696 512 byte sectors: 64H 32S/T 190C)
cd1 at ata1 bus 0 target 0 lun 0
cd1: <PIONEER DVD-ROM DVD-104 2.06> Removable CD-ROM SCSI-0 device 
cd1: 16.000MB/s transfers
cd1: Attempt to query device size failed: NOT READY, Medium not present
cd0 at ahc0 bus 0 target 1 lun 0
cd0: <TOSHIBA CD-ROM XM-6401TA 1002> 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
ohci0: <AcerLabs M5237 (Aladdin-V) USB controller> mem 0xec004000-0xec004fff irq 11 at device 2.0 on pci0
usb0: OHCI version 1.0, legacy support
usb0: <AcerLabs M5237 (Aladdin-V) USB controller> on ohci0
usb0: USB revision 1.0
uhub0: AcerLabs OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
acd0: READ_BIG - NO SENSE asc=0x00 ascq=0x00 error=0x00
acd0: READ_BIG - NO SENSE asc=0x00 ascq=0x00 error=0x00
cd9660: Joliet Extension (Level 1)

Buildworld with Sources from 22.10.2003

If DMA on IDE-Channel 1 Device 0 aktiv, the DVD-ROM Drive no more works.
Only PIO works. I have testet this with 2 Drive (both have UDMA33 ability).
On Pre 4.8 Releases it still functioned. 


atacontrol mode 1 UDMA33 BIOSDMA
mount_cd9660 /dev/acd0c /cdrom




More information about the freebsd-i386 mailing list