kern/60699: DVD Multidrive udma mode autosensed wrong

Jason Bacon bacon at smithers.neuro.mcw.edu
Mon Sep 6 11:31:17 PDT 2004


Yes, the problem still exists on 5.2.1, but as before only with the 9572
model as far as I know.  We have some earlier model drives that detect
correctly.

I've noticed some improvements from 5.1 to 5.2.1, namely an intermittent
problem reading from DVDRAMs has been fixed, and it is no longer necessary
to enable ATAPICAM and use cd0 instead of acd0.

I attached the boot messages from one of the systems with this drive.
You can see that it is detected as UDMA66, which does not work.  All
attempted operations result in I/O errors.  UDMA33 seems to work for this
drive, but I've found that WDMA works better with certain CDROM drives on
the same channel.

Let me know if there is anything I can do to help.

Thanks,

	Jason

-----------------------------------------------------------------------
"Why be a man when you can be a success?"
                -- Bertold Brecht
-----------------------------------------------------------------------

On Mon, 6 Sep 2004, Tilman Linneweh wrote:

> Synopsis: DVD Multidrive udma mode autosensed wrong
>
> State-Changed-From-To: open->feedback
> State-Changed-By: arved
> State-Changed-When: Mon Sep 6 14:19:17 GMT 2004
> State-Changed-Why:
> Is this still a problem with recent versions of 5.x ?
>
> http://www.freebsd.org/cgi/query-pr.cgi?pr=60699
>
-------------- next part --------------
Copyright (c) 1992-2004 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.2.1-RELEASE #2: Sat Jul 31 13:16:36 CDT 2004
    bacon at bombadil.cellbio.mcw.edu:/usr/obj/usr/src/sys/bombadil
Preloaded elf kernel "/boot/kernel/kernel" at 0xc0aa6000.
Preloaded elf module "/boot/kernel/acpi.ko" at 0xc0aa6244.
ACPI APIC Table: <ASUS   CUV4X-D >
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel Pentium III (803.61-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x686  Stepping = 6
  Features=0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
real memory  = 1073725440 (1023 MB)
avail memory = 1033543680 (985 MB)
ioapic0 <Version 1.1> irqs 0-23 on motherboard
Pentium Pro MTRR support enabled
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <ASUS   CUV4X-D > on motherboard
pcibios: BIOS version 2.10
Using $PIR table, 7 entries at 0xc00f12d0
acpi0: Power Button (fixed)
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0xe408-0xe40b on acpi0
acpi_cpu0: <CPU> port 0x530-0x537 on acpi0
acpi_cpu1: <CPU> port 0x530-0x537 on acpi0
device_probe_and_attach: acpi_cpu1 attach returned 6
acpi_button0: <Power Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
pcib0: slot 4 INTD is routed to irq 5
pcib0: slot 4 INTD is routed to irq 5
agp0: <VIA 82C691 (Apollo Pro) host to PCI bridge> mem 0xfc000000-0xfdffffff at device 0.0 on pci0
pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0
pci1: <ACPI PCI bus> on pcib1
pci1: <display, VGA> at device 0.0 (no driver attached)
isab0: <PCI-ISA bridge> at device 4.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <VIA 82C686B UDMA100 controller> port 0xd800-0xd80f at device 4.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata0: [MPSAFE]
ata1: at 0x170 irq 15 on atapci0
ata1: [MPSAFE]
uhci0: <VIA 83C572 USB controller> port 0xd400-0xd41f irq 5 at device 4.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 0xd000-0xd01f irq 5 at device 4.3 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
dc0: <82c169 PNIC 10/100BaseTX> port 0xb800-0xb8ff mem 0xf8000000-0xf80000ff irq 17 at device 11.0 on pci0
dc0: Ethernet address: 00:02:e3:06:9d:a2
miibus0: <MII bus> on dc0
bmtphy0: <BCM5201 10/100baseTX PHY> on miibus0
bmtphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
pcm0: <Creative CT5880-C> port 0xb400-0xb43f irq 16 at device 12.0 on pci0
pcm0: <SigmaTel STAC9721/23 AC97 Codec>
fdc0: <Enhanced floppy controller (i82077, NE72065 or clone)> port 0x3f7,0x3f2-0x3f5 irq 6 drq 2 on acpi0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
ppc0 port 0x778-0x77b,0x378-0x37f irq 7 drq 3 on acpi0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/8 bytes threshold
ppbus0: <Parallel port bus> on ppc0
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
sio0 port 0x3f8-0x3ff irq 4 on acpi0
sio0: type 16550A
sio1 port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
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 IntelliMouse, device ID 3
acpi_cpu1: <CPU> port 0x530-0x537 on acpi0
device_probe_and_attach: acpi_cpu1 attach returned 6
orm0: <Option ROM> at iomem 0xc0000-0xc7fff 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 803612273 Hz quality 800
Timecounters tick every 10.000 msec
GEOM: create disk ad0 dp=0xc6a43760
ad0: 73308MB <IBM-DTLA-307075> [148945/16/63] at ata0-master UDMA100
acd0: CDROM <FX4830T> at ata1-master UDMA33
acd1: DVDR <MATSHITADVD-RAM SW-9572> at ata1-slave UDMA66
GEOM: create disk da0 dp=0xc6b8a050
GEOM: create disk cd0 dp=0xc699a600
da0 at ata1 bus 0 target 0 lun 0
da0: <  > Fixed Direct Access SCSI-0 device 
da0: 33.000MB/s transfers
da0: Attempt to query device size failed: ILLEGAL REQUEST, Invalid field in CDB
cd0 at ata1 bus 0 target 1 lun 0
cd0: <MATSHITA DVD-RAM SW-9572 F100> Removable CD-ROM SCSI-0 device 
cd0: 66.000MB/s transfers
cd0: Attempt to query device size failed: NOT READY, Medium not present
(da0:ata1:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 
(da0:ata1:0:0:0): CAM Status: SCSI Status Error
(da0:ata1:0:0:0): SCSI Status: Check Condition
(da0:ata1:0:0:0): ILLEGAL REQUEST asc:24,0
(da0:ata1:0:0:0): Invalid field in CDB
(da0:ata1:0:0:0): Unretryable error
Opened disk da0 -> 22
(da0:ata1:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 
(da0:ata1:0:0:0): CAM Status: SCSI Status Error
(da0:ata1:0:0:0): SCSI Status: Check Condition
(da0:ata1:0:0:0): ILLEGAL REQUEST asc:24,0
(da0:ata1:0:0:0): Invalid field in CDB
(da0:ata1:0:0:0): Unretryable error
Opened disk da0 -> 22
Mounting root from ufs:/dev/ad0s1a
dc0: failed to force tx and rx to idle state
dc0: failed to force tx and rx to idle state


More information about the freebsd-bugs mailing list