Hi all,

on 4.3 GENERIC.MP (dmesg bellow), this is my disk:

        wd0 at pciide1 channel 0 drive 0: <WDC WD2500YS-01SHB1>
        wd0: 16-sector PIO, LBA48, 239371MB, 490232639 sectors
        wd0(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 5

Now, atactl tells me that the disk can do ATA-7 (aka UDMA6):

        # atactl wd0 identify 
        [...]
        Device supports the following standards:
        ATA-1 ATA-2 ATA-3 ATA-4 ATA-5 ATA-6 ATA-7 
        [...]

The flags for the wd device are 0x0 in the kernel, which
(as man wd says) means

        The special setting 0x0000 means ``use whatever the drive
        claims to support''.

Hence my first question: why does wd0 only use Ultra-DMA mode 5
(as per dmesg) when it is capable of Ulra-DMA mode 6 (as per atactl)?

Also, if I set the wd flags explicitly to 0x0eac (= 1110 1010 1100),
it still user only Ultra-DMA mode 5 (instead ow 110 = 6 as specified).
Why is that?

Also, how do people specify Ultra-DMA mode 7? The setting of 0x1111
has the special meaning of disabling Ultra-DMA altogether (man wd says).

        Thanks for any clues

                Jan


OpenBSD 4.3-stable (GENERIC.MP) #0: Mon Sep  8 11:50:48 CEST 2008
    [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC.MP
cpu0: Intel(R) Core(TM)2 Duo CPU E8200 @ 2.66GHz ("GenuineIntel" 686-class) 
2.67 GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,CX16,xTPR
real mem  = 2145873920 (2046MB)
avail mem = 2066874368 (1971MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 11/16/07, BIOS32 rev. 0 @ 0xfb3f0, SMBIOS 
rev. 2.4 @ 0xf0100 (40 entries)
bios0: vendor Award Software International, Inc. version "F10" date 11/16/2007
bios0: Gigabyte Technology Co., Ltd. P35-DS3
acpi at bios0 function 0x0 not configured
pcibios0 at bios0: rev 3.0 @ 0xf0000/0xdb94
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfda70/288 (16 entries)
pcibios0: PCI Exclusive IRQs: 3 5 6 9 10 11
pcibios0: PCI Interrupt Router at 000:31:0 ("Intel 82801GH LPC" rev 0x00)
pcibios0: PCI bus #5 is the last bus
bios0: ROM list: 0xc0000/0xce00
mainbus0: Intel MP Specification (Version 1.4)
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 333MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Core(TM)2 Duo CPU E8200 @ 2.66GHz ("GenuineIntel" 686-class) 
2.67 GHz
cpu1: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,CX16,xTPR
mainbus0: bus 0 is type PCI   
mainbus0: bus 1 is type PCI   
mainbus0: bus 2 is type PCI   
mainbus0: bus 3 is type PCI   
mainbus0: bus 4 is type PCI   
mainbus0: bus 5 is type PCI   
mainbus0: bus 6 is type ISA   
ioapic0 at mainbus0: apid 4 pa 0xfec00000, version 20, 24 pins
ioapic0: misconfigured as apic 0, remapped to apid 4
cpu0: unknown Enhanced SpeedStep CPU, msr 0x061a082006000820
cpu0: using only highest and lowest power states
cpu0: Enhanced SpeedStep 800 MHz (1212 mV): speeds: 800, 600 MHz
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "Intel 82G33 Host" rev 0x02
ppb0 at pci0 dev 1 function 0 "Intel 82G33 PCIE" rev 0x02: apic 4 int 16 (irq 
10)
pci_intr_map: bus 0 dev 1 func 0 pin 2; line 3
pci_intr_map: no MP mapping found
pci_intr_map: bus 0 dev 1 func 0 pin 3; line 9
pci_intr_map: no MP mapping found
pci_intr_map: bus 0 dev 1 func 0 pin 4; line 11
pci_intr_map: no MP mapping found
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 "NVIDIA GeForce 8600 GT" rev 0xa1
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
uhci0 at pci0 dev 26 function 0 "Intel 82801I USB" rev 0x02: apic 4 int 16 (irq 
10)
uhci1 at pci0 dev 26 function 1 "Intel 82801I USB" rev 0x02: apic 4 int 21 (irq 
6)
uhci2 at pci0 dev 26 function 2 "Intel 82801I USB" rev 0x02: apic 4 int 18 (irq 
9)
ehci0 at pci0 dev 26 function 7 "Intel 82801I USB" rev 0x02: apic 4 int 18 (irq 
9)
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
azalia0 at pci0 dev 27 function 0 "Intel 82801I HD Audio" rev 0x02: apic 4 int 
22 (irq 5)
azalia0: codec[s]: Realtek/0x0885
audio0 at azalia0
ppb1 at pci0 dev 28 function 0 "Intel 82801I PCIE" rev 0x02: apic 4 int 16 (irq 
10)
pci_intr_map: bus 0 dev 28 func 0 pin 2; line 3
pci_intr_map: no MP mapping found
pci_intr_map: bus 0 dev 28 func 0 pin 3; line 9
pci_intr_map: no MP mapping found
pci2 at ppb1 bus 2
ppb2 at pci0 dev 28 function 3 "Intel 82801I PCIE" rev 0x02: apic 4 int 19 (irq 
11)
pci_intr_map: bus 0 dev 28 func 3 pin 2; line 3
pci_intr_map: no MP mapping found
pci_intr_map: bus 0 dev 28 func 3 pin 3; line 9
pci_intr_map: no MP mapping found
pci3 at ppb2 bus 3
jmb0 at pci3 dev 0 function 0 "JMicron JMB363 IDE/SATA" rev 0x02
ahci0 at jmb0: apic 4 int 19 (irq 11), AHCI 1.0
scsibus0 at ahci0: 32 targets
pciide0 at jmb0: DMA, channel 0 wired to native-PCI, channel 1 wired to 
native-PCI
pciide0: using apic 4 int 19 (irq 11) for native-PCI interrupt
atapiscsi0 at pciide0 channel 0 drive 0
scsibus1 at atapiscsi0: 2 targets
cd0 at scsibus1 targ 0 lun 0: <HL-DT-ST, DVD-RAM GSA-H55L, 1.05> SCSI0 5/cdrom 
removable
cd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 4
pciide0: channel 1 disabled (no drives)
ppb3 at pci0 dev 28 function 4 "Intel 82801I PCIE" rev 0x02: apic 4 int 16 (irq 
10)
pci_intr_map: bus 0 dev 28 func 4 pin 2; line 3
pci_intr_map: no MP mapping found
pci_intr_map: bus 0 dev 28 func 4 pin 3; line 9
pci_intr_map: no MP mapping found
pci4 at ppb3 bus 4
re0 at pci4 dev 0 function 0 "Realtek 8168" rev 0x01: RTL8168 2 (0x3800), apic 
4 int 16 (irq 10), address 00:1d:7d:a9:a0:48
rgephy0 at re0 phy 7: RTL8169S/8110S PHY, rev. 2
uhci3 at pci0 dev 29 function 0 "Intel 82801I USB" rev 0x02: apic 4 int 23 (irq 
3)
uhci4 at pci0 dev 29 function 1 "Intel 82801I USB" rev 0x02: apic 4 int 19 (irq 
11)
uhci5 at pci0 dev 29 function 2 "Intel 82801I USB" rev 0x02: apic 4 int 18 (irq 
9)
ehci1 at pci0 dev 29 function 7 "Intel 82801I USB" rev 0x02: apic 4 int 23 (irq 
3)
usb1 at ehci1: USB revision 2.0
uhub1 at usb1 "Intel EHCI root hub" rev 2.00/1.00 addr 1
ppb4 at pci0 dev 30 function 0 "Intel 82801BA Hub-to-PCI" rev 0x92
pci5 at ppb4 bus 5
ichpcib0 at pci0 dev 31 function 0 "Intel 82801IB LPC" rev 0x02: PM disabled
pciide1 at pci0 dev 31 function 2 "Intel 82801I SATA" rev 0x02: DMA, channel 0 
configured to native-PCI, channel 1 configured to native-PCI
pciide1: using apic 4 int 19 (irq 0) for native-PCI interrupt
wd0 at pciide1 channel 0 drive 0: <WDC WD2500YS-01SHB1>
wd0: 16-sector PIO, LBA48, 239371MB, 490232639 sectors
wd0(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 5
ichiic0 at pci0 dev 31 function 3 "Intel 82801I SMBus" rev 0x02: apic 4 int 18 
(irq 9)
iic0 at ichiic0
iic0: addr 0x4e 03=3e 04=3e 12=ff 13=0f 26=03 28=83 29=12 2a=12 2b=28 words 
00=0000 01=0000 02=003e 03=3e3e 04=3e00 05=0000 06=0000 07=0000 08=0000 09=0000 
0a=0000 0b=0000 0c=0000 0d=0000 0e=0000 0f=0000
spdmem0 at iic0 addr 0x50: 1GB DDR2 SDRAM non-parity PC2-5300CL5
spdmem1 at iic0 addr 0x52: 1GB DDR2 SDRAM non-parity PC2-5300CL5
pciide2 at pci0 dev 31 function 5 "Intel 82801I SATA" rev 0x02: DMA, channel 0 
wired to native-PCI, channel 1 wired to native-PCI
pciide2: using apic 4 int 19 (irq 11) for native-PCI interrupt
usb2 at uhci0: USB revision 1.0
uhub2 at usb2 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb3 at uhci1: USB revision 1.0
uhub3 at usb3 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb4 at uhci2: USB revision 1.0
uhub4 at usb4 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb5 at uhci3: USB revision 1.0
uhub5 at usb5 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb6 at uhci4: USB revision 1.0
uhub6 at usb6 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb7 at uhci5: USB revision 1.0
uhub7 at usb7 "Intel UHCI root hub" rev 1.00/1.00 addr 1
isa0 at ichpcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
it0 at isa0 port 0x290/8: IT8718F rev 0x04
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
mtrr: Pentium Pro MTRR support
uhidev0 at uhub7 port 1 configuration 1 interface 0 "Logitech HID compliant 
keyboard" rev 1.10/1.80 addr 2
uhidev0: iclass 3/1
ukbd0 at uhidev0: 8 modifier keys, 6 key codes
wskbd1 at ukbd0 mux 1
wskbd1: connecting to wsdisplay0
uhidev1 at uhub7 port 1 configuration 1 interface 1 "Logitech HID compliant 
keyboard" rev 1.10/1.80 addr 2
uhidev1: iclass 3/0, 2 report ids
uhid0 at uhidev1 reportid 1: input=2, output=0, feature=0
uhid1 at uhidev1 reportid 2: input=1, output=0, feature=0
uhidev2 at uhub7 port 2 configuration 1 interface 0 "Logitech USB-PS/2 Optical 
Mouse" rev 2.00/20.00 addr 3
uhidev2: iclass 3/1
ums0 at uhidev2: 3 buttons and Z dir.
wsmouse0 at ums0 mux 0
softraid0 at root
root on wd0a swap on wd0b dump on wd0b

Reply via email to