On Fri, 2008-02-08 at 11:43 -0200, Carlos A. M. dos Santos wrote:
> <snip>
> Yes, it happens in my notebook (HP NX6320).

Sorry to jump into this thread, as it is slightly off-topic - I have a
HP NC6320 (so not quite exact same model, but specs seem extremely close
- mine is a core duo, not core 2 duo, but chipset, graphics, screen size
is identical), and cannot get my DVD drive to operate in DMA mode. I
track RELENG_7, last updated 3rd Feb.

I have: 

acd0: DVDR <MATSHITADVD-RAM UJ-840S/1.11> at ata0-master PIO4

on a 

atapci0: <Intel ICH7 UDMA100 controller> port
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x60a0-0x60af irq 16 at device 31.1
on pci0
ata0: <ATA channel 0> on atapci0
ata0: [ITHREAD]
ata1: <ATA channel 1> on atapci0
ata1: [ITHREAD]

with settings of

hw.ata.wc: 1
hw.ata.atapi_dma: 1
hw.ata.ata_dma: 1

atacontrol says this about the DVD drive:

> # atacontrol info ata0; atacontrol cap acd0
Master: acd0 <MATSHITADVD-RAM UJ-840S/1.11> ATA/ATAPI revision 6
Slave:       no device present

Protocol              ATA/ATAPI revision 6
device model          MATSHITADVD-RAM UJ-840S
serial number         
firmware revision     1.11
cylinders             0
heads                 0
sectors/track         0
lba supported         
lba48 not supported       
dma supported
overlap not supported

Feature                      Support  Enable    Value           Vendor
write cache                    no       no
read ahead                     no       no
Tagged Command Queuing (TCQ)   no       no      0/0x00
SMART                          no       no
microcode download             no       no
security                       no       no
power management               no       no
advanced power management      no       no      0/0x00
automatic acoustic management  no       no      0/0x00  0/0x00

> # atacontrol mode acd0
current mode = PIO4

If I try to turn on DMA, I just get WDMA2, which just doesn't cut it:

> # atacontrol mode acd0 udma5
current mode = WDMA2

This occurs if I try to set mode udma[2-6]

It doesn't bother me too much, as I rarely use the CD drive in this
laptop, but if you have similar hardware and can set UDMA modes on your
DVD, I'd be interested. (I've also attached an (aged) verbose boot log
if anyone else is interested.. (actually, the verbose boot was ancient,
March 2007, so I've attached a recent, non-verbose, log - ask if you
need more!))

Cheers

Tom


Copyright (c) 1992-2008 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 7.0-PRERELEASE #6: Mon Feb  4 12:43:15 GMT 2008
    [EMAIL 
PROTECTED]:/data2/FreeBSD/RELENG_7/obj/data2/FreeBSD/RELENG_7/src/sys/ZOOT
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Genuine Intel(R) CPU           T2500  @ 2.00GHz (1995.02-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x6e8  Stepping = 8
  
Features=0xbfe9fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
  Features2=0xc1a9<SSE3,MON,VMX,EST,TM2,xTPR,PDCM>
  AMD Features=0x100000<NX>
  Cores per package: 2
real memory  = 1065156608 (1015 MB)
avail memory = 1028657152 (981 MB)
ACPI APIC Table: <HP     30AA    >
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
ioapic0: Changing APIC ID to 1
ioapic0 <Version 2.0> irqs 0-23 on motherboard
kbd1 at kbdmux0
ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
hptrr: HPT RocketRAID controller driver v1.1 (Feb  4 2008 12:42:55)
cryptosoft0: <software crypto> on motherboard
acpi0: <HP 30AA> on motherboard
acpi0: [ITHREAD]
acpi0: Power Button (fixed)
acpi0: reservation of 0, a0000 (3) failed
acpi0: reservation of 100000, 3f700000 (3) failed
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0
acpi_ec0: <Embedded Controller: GPE 0x16> port 0x62,0x66 on acpi0
cpu0: <ACPI CPU> on acpi0
est0: <Enhanced SpeedStep Frequency Control> on cpu0
p4tcc0: <CPU Frequency Thermal Control> on cpu0
cpu1: <ACPI CPU> on acpi0
est1: <Enhanced SpeedStep Frequency Control> on cpu1
p4tcc1: <CPU Frequency Thermal Control> on cpu1
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
vgapci0: <VGA-compatible display> port 0x6000-0x6007 mem 
0xe8400000-0xe847ffff,0xd0000000-0xdfffffff,0xe8480000-0xe84bffff irq 16 at 
device 2.0 on pci0
agp0: <Intel 82945GM (945GM GMCH) SVGA controller> on vgapci0
agp0: detected 7932k stolen memory
agp0: aperture size is 256M
drm0: <Intel i945GM> on vgapci0
info: [drm] AGP at 0xd0000000 256MB
info: [drm] Initialized i915 1.5.0 20060119
vgapci1: <VGA-compatible display> mem 0xe8500000-0xe857ffff at device 2.1 on 
pci0
pci0: <multimedia> at device 27.0 (no driver attached)
pcib1: <ACPI PCI-PCI bridge> irq 16 at device 28.0 on pci0
pci8: <ACPI PCI bus> on pcib1
pci8: <network> at device 0.0 (no driver attached)
pcib2: <ACPI PCI-PCI bridge> irq 18 at device 28.2 on pci0
pci24: <ACPI PCI bus> on pcib2
pcib3: <ACPI PCI-PCI bridge> irq 19 at device 28.3 on pci0
pci32: <ACPI PCI bus> on pcib3
uhci0: <UHCI (generic) USB controller> port 0x6020-0x603f irq 20 at device 29.0 
on pci0
uhci0: [GIANT-LOCKED]
uhci0: [ITHREAD]
usb0: <UHCI (generic) USB controller> on uhci0
usb0: USB revision 1.0
uhub0: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb0
uhub0: 2 ports with 2 removable, self powered
uhci1: <UHCI (generic) USB controller> port 0x6040-0x605f irq 21 at device 29.1 
on pci0
uhci1: [GIANT-LOCKED]
uhci1: [ITHREAD]
usb1: <UHCI (generic) USB controller> on uhci1
usb1: USB revision 1.0
uhub1: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb1
uhub1: 2 ports with 2 removable, self powered
uhci2: <UHCI (generic) USB controller> port 0x6060-0x607f irq 18 at device 29.2 
on pci0
uhci2: [GIANT-LOCKED]
uhci2: [ITHREAD]
usb2: <UHCI (generic) USB controller> on uhci2
usb2: USB revision 1.0
uhub2: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb2
uhub2: 2 ports with 2 removable, self powered
uhci3: <UHCI (generic) USB controller> port 0x6080-0x609f irq 19 at device 29.3 
on pci0
uhci3: [GIANT-LOCKED]
uhci3: [ITHREAD]
usb3: <UHCI (generic) USB controller> on uhci3
usb3: USB revision 1.0
uhub3: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb3
uhub3: 2 ports with 2 removable, self powered
ehci0: <Intel 82801GB/R (ICH7) USB 2.0 controller> mem 0xe8584000-0xe85843ff 
irq 20 at device 29.7 on pci0
ehci0: [GIANT-LOCKED]
ehci0: [ITHREAD]
usb4: EHCI version 1.0
usb4: companion controllers, 2 ports each: usb0 usb1 usb2 usb3
usb4: <Intel 82801GB/R (ICH7) USB 2.0 controller> on ehci0
usb4: USB revision 2.0
uhub4: <Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1> on usb4
uhub4: 8 ports with 8 removable, self powered
uhub5: <vendor 0x0424 product 0x2503, class 9/0, rev 2.00/0.01, addr 2> on uhub4
uhub5: multiple transaction translators
uhub5: 3 ports with 0 removable, self powered
ugen0: <Broadcom Corp HP Integrated Module, class 224/1, rev 2.00/1.00, addr 3> 
on uhub5
ugen1: <vendor 0x08ff Fingerprint Sensor, class 255/255, rev 1.10/6.21, addr 4> 
on uhub5
umass0: <LaCie LaCie Hard Drive USB, class 0/0, rev 2.00/0.00, addr 5> on uhub4
pcib4: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pci2: <ACPI PCI bus> on pcib4
cbb0: <PCI-CardBus Bridge> mem 0xe8100000-0xe8100fff irq 18 at device 6.0 on 
pci2
cardbus0: <CardBus bus> on cbb0
pccard0: <16-bit PCCard bus> on cbb0
cbb0: [ITHREAD]
fwohci0: <1394 Open Host Controller Interface> mem 
0xe8101000-0xe81017ff,0xe8104000-0xe8107fff irq 19 at device 6.1 on pci2
fwohci0: [FILTER]
fwohci0: OHCI version 1.10 (ROM=0)
fwohci0: No. of Isochronous channels is 4.
fwohci0: EUI64 00:02:3f:99:29:f9:2b:0c
fwohci0: Phy 1394a available S400, 3 ports.
fwohci0: Link S400, max_rec 2048 bytes.
firewire0: <IEEE1394(FireWire) bus> on fwohci0
dcons_crom0: <dcons configuration ROM> on firewire0
dcons_crom0: bus_addr 0xc3bd60
fwe0: <Ethernet over FireWire> on firewire0
if_fwe0: Fake Ethernet address: 02:02:3f:f9:2b:0c
fwe0: Ethernet address: 02:02:3f:f9:2b:0c
fwip0: <IP over FireWire> on firewire0
fwip0: Firewire address: 00:02:3f:99:29:f9:2b:0c @ 0xfffe00000000, S400, maxrec 
2048
sbp0: <SBP-2/SCSI over FireWire> on firewire0
fwohci0: Initiate bus reset
fwohci0: BUS reset
fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode
pci2: <mass storage> at device 6.2 (no driver attached)
pci2: <base peripheral> at device 6.3 (no driver attached)
bge0: <Broadcom NetXtreme Gigabit Ethernet Controller, ASIC rev. 0x3003> mem 
0xe8110000-0xe811ffff irq 16 at device 14.0 on pci2
miibus0: <MII bus> on bge0
brgphy0: <BCM5705 10/100/1000baseTX PHY> PHY 1 on miibus0
brgphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 
1000baseT-FDX, auto
bge0: Ethernet address: 00:15:60:c7:fa:6e
bge0: [ITHREAD]
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel ICH7 UDMA100 controller> port 
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x60a0-0x60af irq 16 at device 31.1 on pci0
ata0: <ATA channel 0> on atapci0
ata0: [ITHREAD]
ata1: <ATA channel 1> on atapci0
ata1: [ITHREAD]
atapci1: <Intel AHCI controller> port 
0x13f0-0x13f7,0x15f4-0x15f7,0x1370-0x1377,0x1574-0x1577,0x60d0-0x60df mem 
0xe8585000-0xe85853ff irq 17 at device 31.2 on pci0
atapci1: [ITHREAD]
atapci1: AHCI Version 01.10 controller with 4 ports detected
ata2: <ATA channel 0> on atapci1
ata2: [ITHREAD]
ata3: <ATA channel 1> on atapci1
ata3: port not implemented
ata3: [ITHREAD]
ata4: <ATA channel 2> on atapci1
ata4: port not implemented
ata4: [ITHREAD]
ata5: <ATA channel 3> on atapci1
ata5: port not implemented
ata5: [ITHREAD]
battery0: <ACPI Control Method Battery> on acpi0
battery1: <ACPI Control Method Battery> on acpi0
acpi_acad0: <AC Adapter> on acpi0
acpi_button0: <Sleep Button> on acpi0
acpi_lid0: <Control Method Lid Switch> on acpi0
acpi_tz0: <Thermal Zone> on acpi0
acpi_tz1: <Thermal Zone> on acpi0
acpi_tz2: <Thermal Zone> on acpi0
acpi_tz3: <Thermal Zone> on acpi0
acpi_tz4: <Thermal Zone> on acpi0
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
atkbd0: [ITHREAD]
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: [ITHREAD]
psm0: model IntelliMouse, device ID 3
sio0: <Standard PC COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
sio0: type 16550A, console
sio0: [FILTER]
pmtimer0 on isa0
orm0: <ISA Option ROM> at iomem 0xc0000-0xcffff pnpid ORM0000 on isa0
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/8 bytes threshold
ppbus0: <Parallel port bus> on ppc0
ppbus0: [ITHREAD]
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
ppc0: [GIANT-LOCKED]
ppc0: [ITHREAD]
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
ums0: <Logitech USB-PS/2 Optical Mouse, class 0/0, rev 2.00/22.00, addr 2> on 
uhub1
ums0: 8 buttons and Z dir.
ukbd0: <vendor 0x0d3d USBPS2, class 0/0, rev 1.10/0.01, addr 2> on uhub2
kbd2 at ukbd0
ums1: <vendor 0x0d3d USBPS2, class 0/0, rev 1.10/0.01, addr 2> on uhub2
ums1: 5 buttons and Z dir.
Timecounters tick every 1.000 msec
hptrr: no controller detected.
firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me)
firewire0: bus manager 0 (me)
acd0: DVDR <MATSHITADVD-RAM UJ-840S/1.11> at ata0-master PIO4
ad4: 95396MB <FUJITSU MHV2100BH 892C> at ata2-master SATA150
GEOM_LABEL: Label for provider ad4s2 is msdosfs/ .
acd0: FAILURE - INQUIRY ILLEGAL REQUEST asc=0x24 ascq=0x00 
acd0: FAILURE - INQUIRY ILLEGAL REQUEST asc=0x24 ascq=0x00 
SMP: AP CPU #1 Launched!
da0 at umass-sim0 bus 0 target 0 lun 0
da0: <SAMSUNG SP2514N VF10> Fixed Direct Access SCSI-2 device 
da0: 40.000MB/s transfers
da0: 238475MB (488397168 512 byte sectors: 255H 63S/T 30401C)
cd0 at ata0 bus 0 target 0 lun 0
cd0: <MATSHITA DVD-RAM UJ-840S 1.11> Removable CD-ROM SCSI-0 device 
cd0: 16.000MB/s transfers
cd0: Attempt to query device size failed: NOT READY, Medium not present
Trying to mount root from ufs:/dev/ad4s3a
[EMAIL PROTECTED]:0:0:0:        class=0x060000 card=0x30aa103c chip=0x27a08086 
rev=0x03 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '955XM/945GM/PM/GMS/940GML Express Processor to DRAM 
Controller'
    class      = bridge
    subclass   = HOST-PCI
[EMAIL PROTECTED]:0:2:0:        class=0x030000 card=0x30aa103c chip=0x27a28086 
rev=0x03 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'Mobile Integrated Graphics Controller'
    class      = display
    subclass   = VGA
[EMAIL PROTECTED]:0:2:1:        class=0x038000 card=0x30aa103c chip=0x27a68086 
rev=0x03 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'Mobile Integrated Graphics Controller'
    class      = display
[EMAIL PROTECTED]:0:27:0:       class=0x040300 card=0x30aa103c chip=0x27d88086 
rev=0x01 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801G (ICH7 Family) High Definition Audio'
    class      = multimedia
[EMAIL PROTECTED]:0:28:0:       class=0x060400 card=0x00000000 chip=0x27d08086 
rev=0x01 hdr=0x01
    vendor     = 'Intel Corporation'
    device     = '82801G (ICH7 Family) PCI Express Root Port'
    class      = bridge
    subclass   = PCI-PCI
[EMAIL PROTECTED]:0:28:2:       class=0x060400 card=0x00000000 chip=0x27d48086 
rev=0x01 hdr=0x01
    vendor     = 'Intel Corporation'
    device     = '82801G (ICH7 Family) PCI Express Root Port'
    class      = bridge
    subclass   = PCI-PCI
[EMAIL PROTECTED]:0:28:3:       class=0x060400 card=0x00000000 chip=0x27d68086 
rev=0x01 hdr=0x01
    vendor     = 'Intel Corporation'
    device     = '82801G (ICH7 Family) PCI Express Root Port'
    class      = bridge
    subclass   = PCI-PCI
[EMAIL PROTECTED]:0:29:0:       class=0x0c0300 card=0x30aa103c chip=0x27c88086 
rev=0x01 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801G (ICH7 Family) USB Universal Host Controller'
    class      = serial bus
    subclass   = USB
[EMAIL PROTECTED]:0:29:1:       class=0x0c0300 card=0x30aa103c chip=0x27c98086 
rev=0x01 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801G (ICH7 Family) USB Universal Host Controller'
    class      = serial bus
    subclass   = USB
[EMAIL PROTECTED]:0:29:2:       class=0x0c0300 card=0x30aa103c chip=0x27ca8086 
rev=0x01 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801G (ICH7 Family) USB Universal Host Controller'
    class      = serial bus
    subclass   = USB
[EMAIL PROTECTED]:0:29:3:       class=0x0c0300 card=0x30aa103c chip=0x27cb8086 
rev=0x01 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801G (ICH7 Family) USB Universal Host Controller'
    class      = serial bus
    subclass   = USB
[EMAIL PROTECTED]:0:29:7:       class=0x0c0320 card=0x30aa103c chip=0x27cc8086 
rev=0x01 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801G (ICH7 Family) USB 2.0 Enhanced Host Controller'
    class      = serial bus
    subclass   = USB
[EMAIL PROTECTED]:0:30:0:       class=0x060401 card=0x30aa103c chip=0x24488086 
rev=0xe1 hdr=0x01
    vendor     = 'Intel Corporation'
    device     = '82801BAM/CAM/DBM (ICH2-M/3-M/4-M) Hub Interface to PCI Bridge'
    class      = bridge
    subclass   = PCI-PCI
[EMAIL PROTECTED]:0:31:0:       class=0x060100 card=0x30aa103c chip=0x27b98086 
rev=0x01 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801GBM (ICH7-M) LPC Interface Controller'
    class      = bridge
    subclass   = PCI-ISA
[EMAIL PROTECTED]:0:31:1:       class=0x01018a card=0x30aa103c chip=0x27df8086 
rev=0x01 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801G (ICH7 Family) Ultra ATA Storage Controller'
    class      = mass storage
    subclass   = ATA
[EMAIL PROTECTED]:0:31:2:       class=0x010601 card=0x30aa103c chip=0x27c58086 
rev=0x01 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801GB Mobile I/O Controller Hub SATA cc=AHCI'
    class      = mass storage
[EMAIL PROTECTED]:8:0:0:        class=0x028000 card=0x135c103c chip=0x42228086 
rev=0x02 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '3945ABG Intel 3945ABG Wireless LAN controller'
    class      = network
[EMAIL PROTECTED]:2:6:0:        class=0x060700 card=0x30aa103c chip=0x8039104c 
rev=0x00 hdr=0x02
    vendor     = 'Texas Instruments (TI)'
    device     = 'PCIxx12 Cardbus Controller'
    class      = bridge
    subclass   = PCI-CardBus
[EMAIL PROTECTED]:2:6:1:        class=0x0c0010 card=0x30aa103c chip=0x803a104c 
rev=0x00 hdr=0x00
    vendor     = 'Texas Instruments (TI)'
    device     = 'PCIxx12 OHCI IEEE 1394 Host Controller'
    class      = serial bus
    subclass   = FireWire
[EMAIL PROTECTED]:2:6:2:        class=0x018000 card=0x30aa103c chip=0x803b104c 
rev=0x00 hdr=0x00
    vendor     = 'Texas Instruments (TI)'
    device     = 'PCIxx12 Integrated Flash Media Controller'
    class      = mass storage
[EMAIL PROTECTED]:2:6:3:        class=0x080500 card=0x30aa103c chip=0x803c104c 
rev=0x00 hdr=0x00
    vendor     = 'Texas Instruments (TI)'
    device     = 'PCIxx12 SDA Host Controller'
    class      = base peripheral
[EMAIL PROTECTED]:2:14:0:       class=0x020000 card=0x30aa103c chip=0x169c14e4 
rev=0x03 hdr=0x00
    vendor     = 'Broadcom Corporation'
    device     = 'fhjfhjghj Broadcom Gigabit Ethernet BCM570x NetXtreme'
    class      = network
    subclass   = ethernet

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to