Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Jan 2002 02:02:00 -0800
From:      Ryan Clancey <rclancey-freebsd@dfmm.org>
To:        freebsd-hardware@freebsd.org
Subject:   cd/dvd drive problems
Message-ID:  <20020107020200.A28216@dfmm.org>

next in thread | raw e-mail | index | archive | help
i have a freebsd-4.4 box that refuses to play nice with atapi devices.  two 
cdroms have failed to rip audio tracks, a cdr/rw failed to rip audio and 
failed to write write a disc (fixate failed in burncd) and now i can't get 
a dvd drive to do css key exchange.  in each case, the kernel reports the 
following error:

acd0: [COMMAND] command timeout - resetting
ata1: resetting devices .. done

this message gets repeated over and over, until the program trying to access 
the device gives up.  (if i kill the offending program, the system keeps 
trying on it's own, blocking all other processes, effectively hanging the 
machine.)

each of these devices works on a different freebsd-4.4 machine, and the hard 
disks all seem to work fine.  the only major difference between the two 
machines, is the problem machine has four drives attached to two promise ide 
cards.  (the boot disk and the atapi drives are connected to the on board 
ide controllers.)  however, i've tried diconnecting the promise-controlled 
drives to no avail.

so, does anyone out there have any suggestions on fixing this?  is it a 
hardware problem, a kernel configuration problem, or a bug?  sorry if this has
already been addressed on the mailing lists, but i couldn't find anything
that seemed relevant and helpful.

-ryan clancey

-------------------------------------------------------------------------------
dmesg from boot -v follows:

Copyright (c) 1992-2001 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.4-STABLE #0: Mon Oct 29 22:02:15 PST 2001
    root@fattire.craplab.home:/usr/obj/usr/src/sys/FILESERV
Calibrating clock(s) ... TSC clock: 866643123 Hz, i8254 clock: 1193106 Hz
CLK_USE_I8254_CALIBRATION not specified - using default frequency
Timecounter "i8254"  frequency 1193182 Hz
CLK_USE_TSC_CALIBRATION not specified - using old calibration method
Timecounter "TSC"  frequency 866703972 Hz
CPU: Pentium III/Pentium III Xeon/Celeron (866.70-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x686  Stepping = 6
  Features=0x387f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,PN,MMX,FXSR,SSE>
real memory  = 268369920 (262080K bytes)
Physical memory chunk(s):
0x00001000 - 0x0009efff, 647168 bytes (158 pages)
0x003d4000 - 0x0ffe7fff, 264323072 bytes (64532 pages)
avail memory = 257171456 (251144K bytes)
bios32: Found BIOS32 Service Directory header at 0xc00fafd0
bios32: Entry = 0xfb440 (c00fb440)  Rev = 0  Len = 1
pcibios: PCI BIOS entry at 0xb470
pnpbios: Found PnP BIOS data at 0xc00fbe60
pnpbios: Entry = f0000:be90  Rev = 1.0
Other BIOS signatures found:
ACPI: 000f6fa0
Preloaded elf kernel "kernel" at 0xc03ad000.
netsmb_dev: loaded
Pentium Pro MTRR support enabled
md0: Malloc disk
Creating DISK md0
Math emulator present
pci_open(1):    mode 1 addr port (0x0cf8) is 0x80000060
pci_open(1a):   mode1res=0x80000000 (0x80000000)
pci_cfgcheck:   device 0 [class=060000] [hdr=00] is there (id=06911106)
Using $PIR table, 7 entries at 0xc00fdce0
pcib-: pcib0 exists, using next available unit number
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Host to PCI bridge> on motherboard
found-> vendor=0x1106, dev=0x0691, revid=0xc4
    class=06-00-00, hdrtype=0x00, mfdev=0
    subordinatebus=0    secondarybus=0
    map[10]: type 1, range 32, base d8000000, size 26
found-> vendor=0x1106, dev=0x8598, revid=0x00
    class=06-04-00, hdrtype=0x01, mfdev=0
    subordinatebus=1    secondarybus=1
found-> vendor=0x1106, dev=0x0686, revid=0x40
    class=06-01-00, hdrtype=0x00, mfdev=1
    subordinatebus=0    secondarybus=0
found-> vendor=0x1106, dev=0x0571, revid=0x06
    class=01-01-8a, hdrtype=0x00, mfdev=0
    subordinatebus=0    secondarybus=0
    map[20]: type 1, range 32, base 0000a000, size  4
found-> vendor=0x1106, dev=0x3038, revid=0x16
    class=0c-03-00, hdrtype=0x00, mfdev=0
    subordinatebus=0    secondarybus=0
    intpin=d, irq=11
    map[20]: type 1, range 32, base 0000a400, size  5
found-> vendor=0x1106, dev=0x3038, revid=0x16
    class=0c-03-00, hdrtype=0x00, mfdev=0
    subordinatebus=0    secondarybus=0
    intpin=d, irq=11
    map[20]: type 1, range 32, base 0000a800, size  5
found-> vendor=0x1106, dev=0x3057, revid=0x40
    class=06-00-00, hdrtype=0x00, mfdev=0
    subordinatebus=0    secondarybus=0
found-> vendor=0x1106, dev=0x3058, revid=0x50
    class=04-01-00, hdrtype=0x00, mfdev=0
    subordinatebus=0    secondarybus=0
    intpin=c, irq=10
    map[10]: type 1, range 32, base 0000ac00, size  8
    map[14]: type 1, range 32, base 0000b000, size  2
    map[18]: type 1, range 32, base 0000b400, size  2
found-> vendor=0x105a, dev=0x4d30, revid=0x02
    class=01-80-00, hdrtype=0x00, mfdev=0
    subordinatebus=0    secondarybus=0
    intpin=a, irq=11
    map[10]: type 1, range 32, base 0000b800, size  3
    map[14]: type 1, range 32, base 0000bc00, size  2
    map[18]: type 1, range 32, base 0000c000, size  3
    map[1c]: type 1, range 32, base 0000c400, size  2
    map[20]: type 1, range 32, base 0000c800, size  6
    map[24]: type 1, range 32, base dd000000, size 17
found-> vendor=0x100b, dev=0x0020, revid=0x00
    class=02-00-00, hdrtype=0x00, mfdev=0
    subordinatebus=0    secondarybus=0
    intpin=a, irq=10
    map[10]: type 1, range 32, base 0000cc00, size  8
    map[14]: type 1, range 32, base dd040000, size 12
found-> vendor=0x1274, dev=0x5880, revid=0x02
    class=04-01-00, hdrtype=0x00, mfdev=0
    subordinatebus=0    secondarybus=0
    intpin=a, irq=5
    map[10]: type 1, range 32, base 0000d000, size  6
found-> vendor=0x105a, dev=0x4d38, revid=0x01
    class=01-80-00, hdrtype=0x00, mfdev=0
    subordinatebus=0    secondarybus=0
    intpin=a, irq=11
    map[10]: type 1, range 32, base 0000d400, size  3
    map[14]: type 1, range 32, base 0000d800, size  2
    map[18]: type 1, range 32, base 0000dc00, size  3
    map[1c]: type 1, range 32, base 0000e000, size  2
    map[20]: type 1, range 32, base 0000e400, size  6
    map[24]: type 1, range 32, base dd020000, size 17
pci0: <PCI bus> on pcib0
pcib2: <VIA 82C598MVP (Apollo MVP3) PCI-PCI (AGP) bridge> at device 1.0 on pci0
found-> vendor=0x5333, dev=0x8a13, revid=0x02
    class=03-00-00, hdrtype=0x00, mfdev=0
    subordinatebus=0    secondarybus=0
    map[10]: type 1, range 32, base d0000000, size 26
pci1: <PCI bus> on pcib2
pci1: <S3 Trio3D/2X graphics accelerator> (vendor=0x5333, dev=0x8a13) at 0.0
isab0: <VIA 82C686 PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <VIA 82C686 ATA100 controller> port 0xa000-0xa00f at device 7.1 on pci0
ata0: iobase=0x01f0 altiobase=0x03f6 bmaddr=0xa000
ata0: mask=03 status0=50 status1=00
ata0: mask=03 ostat0=50 ostat2=00
ata0-master: ATAPI probe a=00 b=00
ata0-slave: ATAPI probe a=00 b=00
ata0: mask=03 status0=50 status1=00
ata0-master: ATA probe a=01 b=a5
ata0: devices=01
ata0: at 0x1f0 irq 14 on atapci0
ata1: iobase=0x0170 altiobase=0x0376 bmaddr=0xa008
ata1: mask=01 status0=51 status1=ff
ata1: mask=01 ostat0=51 ostat2=ff
ata1-master: ATAPI probe a=14 b=eb
ata1: mask=01 status0=00 status1=ff
ata1: devices=04
ata1: at 0x170 irq 15 on atapci0
uhci0: <VIA 83C572 USB controller> port 0xa400-0xa41f irq 11 at device 7.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
uhci1: <VIA 83C572 USB controller> port 0xa800-0xa81f irq 11 at device 7.3 on pci0
    using shared irq11.
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
pcm0: <VIA VT82C686A> port 0xb400-0xb403,0xb000-0xb003,0xac00-0xacff irq 10 at device 7.5 on pci0
pcm0: ac97 codec id 0x414c4326
pcm0: ac97 codec features 5 bit master volume, Realtek 3D Stereo Enhancement
pcm0: ac97 primary codec extended features AMAP
pcm: setmap f85a000, 1000; 0xc17e6000 -> f85a000
pcm: setmap f87c000, 1000; 0xc17e8000 -> f87c000
atapci1: <Promise ATA100 controller> port 0xc800-0xc83f,0xc400-0xc403,0xc000-0xc007,0xbc00-0xbc03,0xb800-0xb807 mem 0xdd000000-0xdd01ffff irq 11 at device 9.0 on pci0
ata-: ata2 exists, using next available unit number
ata2: iobase=0xb800 altiobase=0xbc02 bmaddr=0xc800
ata2: mask=03 status0=50 status1=00
ata2: mask=03 ostat0=50 ostat2=00
ata2-master: ATAPI probe a=00 b=00
ata2-slave: ATAPI probe a=00 b=00
ata2: mask=03 status0=50 status1=00
ata2-master: ATA probe a=01 b=a5
ata2: devices=01
ata2: at 0xb800 on atapci1
ata3: iobase=0xc000 altiobase=0xc402 bmaddr=0xc808
ata3: mask=03 status0=50 status1=00
ata3: mask=03 ostat0=50 ostat2=00
ata3-master: ATAPI probe a=00 b=00
ata3-slave: ATAPI probe a=00 b=00
ata3: mask=03 status0=50 status1=00
ata3-master: ATA probe a=01 b=a5
ata3: devices=01
ata3: at 0xc000 on atapci1
sis0: <NatSemi DP83815 10/100BaseTX> port 0xcc00-0xccff mem 0xdd040000-0xdd040fff irq 10 at device 11.0 on pci0
    using shared irq10.
sis0: Ethernet address: 00:02:e3:15:32:3a
miibus0: <MII bus> on sis0
ukphy0: <Generic IEEE 802.3u media interface> on miibus0
ukphy0: OUI 0x080017, model 0x0002, rev. 1
ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
bpf: sis0 attached
pcm1: <Creative CT5880-C> port 0xd000-0xd03f irq 5 at device 13.0 on pci0
pcm1: ac97 codec id 0x83847609 (SigmaTel STAC9721/9723)
pcm1: ac97 codec features 18 bit DAC, 18 bit ADC, 5 bit master volume, SigmaTel 3D Enhancement
pcm1: ac97 primary codec extended features AMAP
pcm: setmap f864000, 1000; 0xc17f0000 -> f864000
pcm: setmap f846000, 1000; 0xc17f2000 -> f846000
atapci2: <Promise ATA66 controller> port 0xe400-0xe43f,0xe000-0xe003,0xdc00-0xdc07,0xd800-0xd803,0xd400-0xd407 mem 0xdd020000-0xdd03ffff irq 11 at device 17.0 on pci0
ata-: ata2 exists, using next available unit number
ata-: ata2 exists, using next available unit number
ata4: iobase=0xd400 altiobase=0xd802 bmaddr=0xe400
ata4: mask=03 status0=50 status1=00
ata4: mask=03 ostat0=50 ostat2=00
ata4-master: ATAPI probe a=00 b=00
ata4-slave: ATAPI probe a=00 b=00
ata4: mask=03 status0=50 status1=00
ata4-master: ATA probe a=01 b=a5
ata4: devices=01
ata4: at 0xd400 on atapci2
ata5: iobase=0xdc00 altiobase=0xe002 bmaddr=0xe408
ata5: mask=03 status0=50 status1=00
ata5: mask=03 ostat0=50 ostat2=00
ata5-master: ATAPI probe a=00 b=00
ata5-slave: ATAPI probe a=00 b=00
ata5: mask=03 status0=50 status1=00
ata5-master: ATA probe a=01 b=a5
ata5: devices=01
ata5: at 0xdc00 on atapci2
pci-: pci1 exists, using next available unit number
pcib1: <Host to PCI bridge> on motherboard
pci2: <PCI bus> on pcib1
ata-: ata0 exists, using next available unit number
ata-: ata1 exists, using next available unit number
Trying Read_Port at 203
Trying Read_Port at 243
Trying Read_Port at 283
Trying Read_Port at 2c3
Trying Read_Port at 303
Trying Read_Port at 343
Trying Read_Port at 383
Trying Read_Port at 3c3
isa_probe_children: disabling PnP devices
isa_probe_children: probing non-PnP devices
orm0: <Option ROMs> at iomem 0xc0000-0xc7fff,0xc8000-0xc9fff,0xca000-0xcb7ff 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
ata6 failed to probe at port 0x1f0 irq 14 on isa0
ata7 failed to probe at port 0x170 irq 15 on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
atkbd: the current kbd controller command byte 0047
atkbd: keyboard ID 0x41ab (2)
kbd0 at atkbd0
kbd0: atkbd0, AT 101/102 (2), config:0x1, flags:0x3d0000
psm0: current command byte:0047
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model Generic PS/2 mouse, device ID 0-00, 2 buttons
psm0: config:00000000, flags:00000000, packet size:3
psm0: syncmask:c0, syncbits:00
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
fb0: vga0, vga, type:VGA (5), flags:0x7007f
fb0: port:0x3c0-0x3df, crtc:0x3d4, mem:0xa0000 0x20000
fb0: init mode:24, bios mode:3, current mode:24
fb0: window:0xc00b8000 size:32k gran:32k, buf:0 size:32k
VGA parameters upon power-up
50 18 10 00 00 00 03 00 02 67 5f 4f 50 82 55 81
bf 1f 00 4f 0e 0f 00 00 07 80 9c 8e 8f 28 1f 96
b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c
3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff
VGA parameters in BIOS for mode 24
50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 55 81
bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96
b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c
3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff
EGA/VGA parameters to be used for mode 24
50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 55 81
bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96
b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c
3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sc0: fb0, kbd0, terminal emulator: sc (syscons terminal)
sio0: irq maps: 0x1 0x11 0x1 0x1
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1: irq maps: 0x1 0x9 0x1 0x1
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
sio2: not probed (disabled)
sio3: not probed (disabled)
ppc0: parallel port found at 0x378
ppc0: using extended I/O port range
ppc0: EPP SPP
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode
plip0: <PLIP network interface> on ppbus0
bpf: lp0 attached
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
isa_probe_children: probing PnP devices
BIOS Geometries:
 0:03fffe3f 0..1023=1024 cylinders, 0..254=255 heads, 1..63=63 sectors
 1:03fefe3f 0..1022=1023 cylinders, 0..254=255 heads, 1..63=63 sectors
 2:03fefe3f 0..1022=1023 cylinders, 0..254=255 heads, 1..63=63 sectors
 3:03fefe3f 0..1022=1023 cylinders, 0..254=255 heads, 1..63=63 sectors
 4:03fefe3f 0..1022=1023 cylinders, 0..254=255 heads, 1..63=63 sectors
 0 accounted for
Device configuration finished.
bpf: lo0 attached
bpf: ppp0 attached
new masks: bio 68c840, tty 6314ba, net 6714ba
bpf: sl0 attached
bpf: faith0 attached
ata0-master: success setting UDMA4 on VIA chip
Creating DISK ad0
ad0: <ST310212A/3.02> ATA-5 disk at ata0-master
ad0: 9768MB (20005650 sectors), 19846 cyls, 16 heads, 63 S/T, 512 B/S
ad0: 16 secs/int, 1 depth queue, UDMA66
ad0: piomode=4 dmamode=2 udmamode=4 cblid=1
ad0: 9768MB <ST310212A> [19846/16/63] at ata0-master UDMA66
ata2-master: success setting UDMA5 on Promise chip
Creating DISK ad4
ad4: <WDC WD800BB-32BSA0/12.08C12> ATA-5 disk at ata2-master
ad4: 76319MB (156301488 sectors), 155061 cyls, 16 heads, 63 S/T, 512 B/S
ad4: 16 secs/int, 1 depth queue, UDMA100
ad4: piomode=4 dmamode=2 udmamode=5 cblid=1
Promise check1 failed
ad4: 76319MB <WDC WD800BB-32BSA0> [155061/16/63] at ata2-master UDMA100
ata3-master: success setting UDMA5 on Promise chip
Creating DISK ad6
ad6: <WDC WD800BB-32BSA0/12.08C12> ATA-5 disk at ata3-master
ad6: 76319MB (156301488 sectors), 155061 cyls, 16 heads, 63 S/T, 512 B/S
ad6: 16 secs/int, 1 depth queue, UDMA100
ad6: piomode=4 dmamode=2 udmamode=5 cblid=1
Promise check1 failed
ad6: 76319MB <WDC WD800BB-32BSA0> [155061/16/63] at ata3-master UDMA100
ata4-master: success setting UDMA4 on Promise chip
Creating DISK ad8
ad8: <WDC WD800BB-32BSA0/12.08C12> ATA-5 disk at ata4-master
ad8: 76319MB (156301488 sectors), 155061 cyls, 16 heads, 63 S/T, 512 B/S
ad8: 16 secs/int, 1 depth queue, UDMA66
ad8: piomode=4 dmamode=2 udmamode=5 cblid=1
Promise check1 failed
ad8: 76319MB <WDC WD800BB-32BSA0> [155061/16/63] at ata4-master UDMA66
ata5-master: success setting UDMA4 on Promise chip
Creating DISK ad10
ad10: <WDC WD800BB-32BSA0/12.08C12> ATA-5 disk at ata5-master
ad10: 76319MB (156301488 sectors), 155061 cyls, 16 heads, 63 S/T, 512 B/S
ad10: 16 secs/int, 1 depth queue, UDMA66
ad10: piomode=4 dmamode=2 udmamode=5 cblid=1
Promise check1 failed
ad10: 76319MB <WDC WD800BB-32BSA0> [155061/16/63] at ata5-master UDMA66
ata1-master: piomode=-1 dmamode=-1 udmamode=2 dmaflag=1
ata1-master: success setting PIO0 on generic chip
acd0: <ATAPI DVD-ROM/2,12> DVD-ROM drive at ata1 as master
acd0: read 7562KB/s (16029KB/s), 512KB buffer, PIO0
acd0: Reads: CD-R, CD-RW, CD-DA stream, DVD-ROM, DVD-R, packet
acd0: Audio: play, 255 volume levels
acd0: Mechanism: ejectable tray
acd0: Medium: 120mm data disc loaded, unlocked
Mounting root from ufs:/dev/ad0s1a
ad0s1: type 0xa5, start 63, end = 20000924, size 20000862 : OK
start_init: trying /sbin/init
ad4s1: type 0xa5, start 63, end = 156296384, size 156296322 : OK
<repeated>
ad6s1: type 0xa5, start 63, end = 156296384, size 156296322 : OK
<repeated>
ad8s1: type 0xa5, start 63, end = 156296384, size 156296322 : OK
<repeated>
ad10s1: type 0xa5, start 63, end = 156296384, size 156296322 : OK
<repeated>
Linux-ELF exec handler installed
splash: image decoder found: logo_saver


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hardware" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020107020200.A28216>