IDE ultraDMA problem
Mario Lobo
mario.lobo at ipad.com.br
Thu Aug 9 14:28:54 PDT 2007
On Wednesday 08 August 2007 22:00, you wrote:
>
> use some FAST WM without unneeded things (eg. icewm) just to run your
> music program.
Point taken !
>
> please show me dmesg lines about your disk and controller, when running
> with DMA.
>
> possibly IDE driver needs patching.
>
The attached IDE.txt contains not only dmesg output but also the
output from:
pciconf -lv
atacontrol list
and
atacontrol cap <device>
as resquested by Sten Daniel Soersdal
>
> are you sure YOUR HDs? or all HDs doesn't work right with freebsd.
>
Mine do. They have ALWAYS worked right with FreeBSD. Like I said my previous
board had them working at ultraDMA 100.
--
**********************************************************
//| //| Mario Lobo
// |// | http://www.ipad.com.br
// // ||||||| FreeBSD since 2.2.8 - 100% Rwindows-free
**********************************************************
-------------- next part --------------
# lobo/root [18:08:03]
[~]>dmesg
Copyright (c) 1992-2007 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 6.2-STABLE #21: Sat Aug 4 14:48:20 BRT 2007
root at lobo:/usr/src/sys/i386/compile/LOBO
ACPI APIC Table: <AWARD ASUSACPI>
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Pentium(R) D CPU 3.20GHz (3199.66-MHz 686-class CPU)
Origin = "GenuineIntel" Id = 0xf64 Stepping = 4
Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
Features2=0xe4bd<SSE3,RSVD2,MON,DS_CPL,VMX,EST,CNTX-ID,CX16,<b14>,<b15>>
AMD Features=0x20100000<NX,LM>
AMD Features2=0x1<LAHF>
Cores per package: 2
real memory = 1072562176 (1022 MB)
avail memory = 1032024064 (984 MB)
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
cpu0 (BSP): APIC ID: 0
cpu1 (AP): APIC ID: 1
ioapic0: Changing APIC ID to 4
ioapic0 <Version 0.3> irqs 0-23 on motherboard
ioapic1 <Version 0.3> irqs 24-47 on motherboard
kbd1 at kbdmux0
ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
acpi0: <AWARD ASUSACPI> on motherboard
acpi_hpet0: <High Precision Event Timer> iomem 0xfe800000-0xfe8003ff on acpi0
Timecounter "HPET" frequency 14318180 Hz quality 2000
acpi0: Power Button (fixed)
acpi0: reservation of fe800000, 100 (3) failed
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0
cpu0: <ACPI CPU> on acpi0
cpu1: <ACPI CPU> on acpi0
acpi_button0: <Power Button> on acpi0
acpi_button1: <Sleep Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
pcib1: <PCI-PCI bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pcib2: <ACPI PCI-PCI bridge> irq 27 at device 2.0 on pci0
pci2: <ACPI PCI bus> on pcib2
nvidia0: <GeForce 7100 GS> mem 0xdc000000-0xdcffffff,0xc0000000-0xcfffffff,0xdd000000-0xddffffff irq 24 at device 0.0 on pci2
nvidia0: [GIANT-LOCKED]
atapci0: <GENERIC ATA controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xfc00-0xfc0f at device 15.0 on pci0
ata0: <ATA channel 0> on atapci0
ata1: <ATA channel 1> on atapci0
uhci0: <VIA 83C572 USB controller> port 0xf800-0xf81f at device 16.0 on pci0
uhci0: [GIANT-LOCKED]
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 0xf400-0xf41f at device 16.1 on pci0
uhci1: [GIANT-LOCKED]
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
uhci2: <VIA 83C572 USB controller> port 0xf000-0xf01f at device 16.2 on pci0
uhci2: [GIANT-LOCKED]
usb2: <VIA 83C572 USB controller> on uhci2
usb2: USB revision 1.0
uhub2: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
uhci3: <VIA 83C572 USB controller> port 0xec00-0xec1f at device 16.3 on pci0
uhci3: [GIANT-LOCKED]
usb3: <VIA 83C572 USB controller> on uhci3
usb3: USB revision 1.0
uhub3: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub3: 2 ports with 2 removable, self powered
ehci0: <VIA VT6202 USB 2.0 controller> mem 0xdffff000-0xdffff0ff at device 16.4 on pci0
ehci0: [GIANT-LOCKED]
usb4: EHCI version 1.0
usb4: companion controllers, 2 ports each: usb0 usb1 usb2 usb3
usb4: <VIA VT6202 USB 2.0 controller> on ehci0
usb4: USB revision 2.0
uhub4: VIA EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub4: 8 ports with 8 removable, self powered
isab0: <PCI-ISA bridge> at device 17.0 on pci0
isa0: <ISA bus> on isab0
pcib3: <ACPI PCI-PCI bridge> at device 19.1 on pci0
pci4: <ACPI PCI bus> on pcib3
pci4: <multimedia> at device 3.0 (no driver attached)
pcm0: <CMedia CMI8738> port 0xdc00-0xdcff irq 19 at device 5.0 on pci4
re0: <RealTek 8169SC/8110SC Single-chip Gigabit Ethernet> port 0xd800-0xd8ff mem 0xdfeff000-0xdfeff0ff irq 20 at device 7.0 on pci4
miibus0: <MII bus> on re0
rgephy0: <RTL8169S/8110S media interface> on miibus0
rgephy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
re0: Ethernet address: 00:1a:92:91:29:d4
re0: [FAST]
pcib4: <ACPI Host-PCI bridge> on acpi0
pci128: <ACPI PCI bus> on pcib4
acpi_tz0: <Thermal Zone> on acpi0
fdc0: <floppy drive controller> port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0
fdc0: [FAST]
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
sio0: configured irq 4 not in bitmap of probed irqs 0
sio0: port may not be enabled
sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
sio0: type 16550A
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
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
uscanner0: Hewlett-Packard HP ScanJet 2200C, rev 1.10/1.00, addr 2
ums0: vendor 0x1241 product 0x1166, rev 1.10/2.70, addr 3, iclass 3/1
ums0: 5 buttons and Z dir.
Timecounters tick every 1.000 msec
ad0: 114498MB <SAMSUNG SP1203N TL100-23> at ata0-master PIO4
ad1: 117246MB <Maxtor 6Y120L0 YAR41VW0> at ata0-slave PIO4
ad2: 76351MB <SAMSUNG SP0802N TK100-23> at ata1-master PIO4
acd0: DVDR <HL-DT-ST DVDRAM GSA-4160B/A304> at ata1-slave PIO4
acd0: FAILURE - INQUIRY ILLEGAL REQUEST asc=0x24 ascq=0x00 sks=0x40 0x00 0x01
acd0: FAILURE - INQUIRY ILLEGAL REQUEST asc=0x24 ascq=0x00 sks=0x40 0x00 0x01
SMP: AP CPU #1 Launched!
cd0 at ata1 bus 0 target 1 lun 0
cd0: <HL-DT-ST DVDRAM GSA-4160B A304> Removable CD-ROM SCSI-0 device
cd0: 16.000MB/s transfers
------------------------------------------------------------------------------------
# lobo/root [18:08:03]
[~]>pciconf -lv
hostb0 at pci0:0:0: class=0x060000 card=0x81ce1043 chip=0x03271106 rev=0x00 hdr=0x00
vendor = 'VIA Technologies Inc'
class = bridge
subclass = HOST-PCI
hostb1 at pci0:0:1: class=0x060000 card=0x00000000 chip=0x13271106 rev=0x00 hdr=0x00
vendor = 'VIA Technologies Inc'
class = bridge
subclass = HOST-PCI
hostb2 at pci0:0:2: class=0x060000 card=0x00000000 chip=0x23271106 rev=0x00 hdr=0x00
vendor = 'VIA Technologies Inc'
class = bridge
subclass = HOST-PCI
hostb3 at pci0:0:3: class=0x060000 card=0x00000000 chip=0x33271106 rev=0x00 hdr=0x00
vendor = 'VIA Technologies Inc'
class = bridge
subclass = HOST-PCI
hostb4 at pci0:0:4: class=0x060000 card=0x00000000 chip=0x43271106 rev=0x00 hdr=0x00
vendor = 'VIA Technologies Inc'
class = bridge
subclass = HOST-PCI
ioapic0 at pci0:0:5: class=0x080020 card=0x00000000 chip=0x53271106 rev=0x00 hdr=0x00
vendor = 'VIA Technologies Inc'
class = base peripheral
subclass = interrupt controller
hostb5 at pci0:0:6: class=0x060000 card=0x00000000 chip=0x63271106 rev=0x00 hdr=0x00
vendor = 'VIA Technologies Inc'
class = bridge
subclass = HOST-PCI
hostb6 at pci0:0:7: class=0x060000 card=0x00000000 chip=0x73271106 rev=0x00 hdr=0x00
vendor = 'VIA Technologies Inc'
class = bridge
subclass = HOST-PCI
pcib1 at pci0:1:0: class=0x060400 card=0x00000000 chip=0xb1981106 rev=0x00 hdr=0x01
vendor = 'VIA Technologies Inc'
device = 'ProSavageDDR P4X600 CPU to AGP Bridge'
class = bridge
subclass = PCI-PCI
pcib2 at pci0:2:0: class=0x060400 card=0xc3231106 chip=0xa3271106 rev=0x00 hdr=0x01
vendor = 'VIA Technologies Inc'
class = bridge
subclass = PCI-PCI
atapci0 at pci0:15:0: class=0x01018a card=0x81cf1043 chip=0x53371106 rev=0x07 hdr=0x00
vendor = 'VIA Technologies Inc'
class = mass storage
subclass = ATA
uhci0 at pci0:16:0: class=0x0c0300 card=0x81cf1043 chip=0x30381106 rev=0xa0 hdr=0x00
vendor = 'VIA Technologies Inc'
device = 'VT82xxxxx UHCI USB 1.1 Controller (All VIA Chipsets)'
class = serial bus
subclass = USB
uhci1 at pci0:16:1: class=0x0c0300 card=0x81cf1043 chip=0x30381106 rev=0xa0 hdr=0x00
vendor = 'VIA Technologies Inc'
device = 'VT82xxxxx UHCI USB 1.1 Controller (All VIA Chipsets)'
class = serial bus
subclass = USB
uhci2 at pci0:16:2: class=0x0c0300 card=0x81cf1043 chip=0x30381106 rev=0xa0 hdr=0x00
vendor = 'VIA Technologies Inc'
device = 'VT82xxxxx UHCI USB 1.1 Controller (All VIA Chipsets)'
class = serial bus
subclass = USB
uhci3 at pci0:16:3: class=0x0c0300 card=0x81cf1043 chip=0x30381106 rev=0xa0 hdr=0x00
vendor = 'VIA Technologies Inc'
device = 'VT82xxxxx UHCI USB 1.1 Controller (All VIA Chipsets)'
class = serial bus
subclass = USB
ehci0 at pci0:16:4: class=0x0c0320 card=0x81cf1043 chip=0x31041106 rev=0x86 hdr=0x00
vendor = 'VIA Technologies Inc'
device = 'VT6202 USB 2.0 Enhanced Host Controller'
class = serial bus
subclass = USB
isab0 at pci0:17:0: class=0x060100 card=0x81cf1043 chip=0x33371106 rev=0x00 hdr=0x00
vendor = 'VIA Technologies Inc'
class = bridge
subclass = PCI-ISA
hostb7 at pci0:17:7: class=0x060000 card=0x337e1106 chip=0x287e1106 rev=0x00 hdr=0x00
vendor = 'VIA Technologies Inc'
class = bridge
subclass = HOST-PCI
hostb8 at pci0:19:0: class=0x060000 card=0x00000000 chip=0x337b1106 rev=0x00 hdr=0x00
vendor = 'VIA Technologies Inc'
class = bridge
subclass = HOST-PCI
pcib3 at pci0:19:1: class=0x060401 card=0x337a1106 chip=0x337a1106 rev=0x00 hdr=0x01
vendor = 'VIA Technologies Inc'
class = bridge
subclass = PCI-PCI
nvidia0 at pci2:0:0: class=0x030000 card=0x22341682 chip=0x016a10de rev=0xa1 hdr=0x00
vendor = 'NVIDIA Corporation'
class = display
subclass = VGA
none0 at pci4:3:0: class=0x048000 card=0x0020ecc0 chip=0x18011057 rev=0x02 hdr=0x00
vendor = 'Motorola'
device = 'DSP56301 24-bit Digital Signal Processor'
class = multimedia
pcm0 at pci4:5:0: class=0x040100 card=0x011113f6 chip=0x011113f6 rev=0x10 hdr=0x00
vendor = 'C-Media Electronics Inc.'
device = 'CMI8738/PCI C3DX It´s uses YMF744-B-V remarked chip'
class = multimedia
subclass = audio
re0 at pci4:7:0: class=0x020000 card=0x816710ec chip=0x816710ec rev=0x10 hdr=0x00
vendor = 'Realtek Semiconductor'
class = network
subclass = ethernet
------------------------------------------------------------------------------------
# lobo/root [18:08:03]
[~]>atacontrol list
ATA channel 0:
Master: ad0 <SAMSUNG SP1203N/TL100-23> ATA/ATAPI revision 7
Slave: ad1 <Maxtor 6Y120L0/YAR41VW0> ATA/ATAPI revision 7
ATA channel 1:
Master: ad2 <SAMSUNG SP0802N/TK100-23> ATA/ATAPI revision 7
Slave: acd0 <HL-DT-ST DVDRAM GSA-4160B/A304> ATA/ATAPI revision 5
------------------------------------------------------------------------------------
# lobo/root [18:08:03]
[~]>atacontrol cap ad0
Protocol ATA/ATAPI revision 7
device model SAMSUNG SP1203N
serial number 0752J1FW943928
firmware revision TL100-23
cylinders 16383
heads 16
sectors/track 63
lba supported 234493056 sectors
lba48 supported 234493056 sectors
dma supported
overlap not supported
Feature Support Enable Value Vendor
write cache yes yes
read ahead yes yes
Tagged Command Queuing (TCQ) no no 0/0x00
SMART yes no
microcode download yes yes
security yes no
power management yes yes
advanced power management no no 0/0x00
automatic acoustic management yes no 0/0x00 254/0xFE
------------------------------------------------------------------------------------
# lobo/root [18:08:03]
[~]>atacontrol cap ad1
Protocol ATA/ATAPI revision 7
device model Maxtor 6Y120L0
serial number Y41PW1VE
firmware revision YAR41VW0
cylinders 16383
heads 16
sectors/track 63
lba supported 240121728 sectors
lba48 not supported
dma supported
overlap not supported
Feature Support Enable Value Vendor
write cache yes yes
read ahead yes yes
Tagged Command Queuing (TCQ) no no 0/0x00
SMART yes no
microcode download yes yes
security yes no
power management yes yes
advanced power management yes no 0/0x00
automatic acoustic management yes no 0/0x00 192/0xC0
------------------------------------------------------------------------------------
# lobo/root [18:08:03]
[~]>atacontrol cap ad2
Protocol ATA/ATAPI revision 7
device model SAMSUNG SP0802N
serial number 0637J1FW598953
firmware revision TK100-23
cylinders 16383
heads 16
sectors/track 63
lba supported 156368016 sectors
lba48 supported 156368016 sectors
dma supported
overlap not supported
Feature Support Enable Value Vendor
write cache yes yes
read ahead yes yes
Tagged Command Queuing (TCQ) no no 0/0x00
SMART yes no
microcode download yes yes
security yes no
power management yes yes
advanced power management no no 0/0x00
automatic acoustic management yes no 0/0x00 254/0xFE
------------------------------------------------------------------------------------
# lobo/root [18:08:03]
[~]>atacontrol cap acd0
Protocol ATA/ATAPI revision 5
device model HL-DT-ST DVDRAM GSA-4160B
serial number K7G498E1619
firmware revision A304
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 yes no
advanced power management no no 0/0x00
automatic acoustic management no no 0/0x00 0/0x00
More information about the freebsd-questions
mailing list