Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Aug 2007 21:28:43 +0000
From:      Mario Lobo <mario.lobo@ipad.com.br>
To:        Wojciech Puchar <wojtek@wojtek.tensor.gdynia.pl>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: IDE ultraDMA problem
Message-ID:  <200708092128.44029.mario.lobo@ipad.com.br>
In-Reply-To: <20070808235626.I64840@wojtek.tensor.gdynia.pl>
References:  <200708081330.32485.mario.lobo@ipad.com.br> <200708081803.21691.mario.lobo@ipad.com.br> <20070808235626.I64840@wojtek.tensor.gdynia.pl>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
--Boundary-00=_Mc4uGYqjRDpOPs3
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

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
**********************************************************



--Boundary-00=_Mc4uGYqjRDpOPs3
Content-Type: text/plain;
  charset="iso-8859-1";
  name="IDE.txt"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
	filename="IDE.txt"

# lobo/root [18:08:03]
[~]>dmesg=20
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.
=46reeBSD is a registered trademark of The FreeBSD Foundation.
=46reeBSD 6.2-STABLE #21: Sat Aug  4 14:48:20 BRT 2007
    root@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 =3D "GenuineIntel"  Id =3D 0xf64  Stepping =3D 4
  Features=3D0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PG=
E,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
  Features2=3D0xe4bd<SSE3,RSVD2,MON,DS_CPL,VMX,EST,CNTX-ID,CX16,<b14>,<b15>>
  AMD Features=3D0x20100000<NX,LM>
  AMD Features2=3D0x1<LAHF>
  Cores per package: 2
real memory  =3D 1072562176 (1022 MB)
avail memory =3D 1032024064 (984 MB)
=46reeBSD/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 acp=
i0
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-0xd8f=
f 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, 1000ba=
seT-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 acp=
i0
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=3D0x300>
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=3D0x24 ascq=3D0x00 sks=3D0x40 0=
x00 0x01
acd0: FAILURE - INQUIRY ILLEGAL REQUEST asc=3D0x24 ascq=3D0x00 sks=3D0x40 0=
x00 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
=2D------------------------------------------------------------------------=
=2D----------
# lobo/root [18:08:03]
[~]>pciconf -lv
hostb0@pci0:0:0:        class=3D0x060000 card=3D0x81ce1043 chip=3D0x0327110=
6 rev=3D0x00 hdr=3D0x00
    vendor     =3D 'VIA Technologies Inc'
    class      =3D bridge
    subclass   =3D HOST-PCI
hostb1@pci0:0:1:        class=3D0x060000 card=3D0x00000000 chip=3D0x1327110=
6 rev=3D0x00 hdr=3D0x00
    vendor     =3D 'VIA Technologies Inc'
    class      =3D bridge
    subclass   =3D HOST-PCI
hostb2@pci0:0:2:        class=3D0x060000 card=3D0x00000000 chip=3D0x2327110=
6 rev=3D0x00 hdr=3D0x00
    vendor     =3D 'VIA Technologies Inc'
    class      =3D bridge
    subclass   =3D HOST-PCI
hostb3@pci0:0:3:        class=3D0x060000 card=3D0x00000000 chip=3D0x3327110=
6 rev=3D0x00 hdr=3D0x00
    vendor     =3D 'VIA Technologies Inc'
    class      =3D bridge
    subclass   =3D HOST-PCI
hostb4@pci0:0:4:        class=3D0x060000 card=3D0x00000000 chip=3D0x4327110=
6 rev=3D0x00 hdr=3D0x00
    vendor     =3D 'VIA Technologies Inc'
    class      =3D bridge
    subclass   =3D HOST-PCI
ioapic0@pci0:0:5:       class=3D0x080020 card=3D0x00000000 chip=3D0x5327110=
6 rev=3D0x00 hdr=3D0x00
    vendor     =3D 'VIA Technologies Inc'
    class      =3D base peripheral
    subclass   =3D interrupt controller
hostb5@pci0:0:6:        class=3D0x060000 card=3D0x00000000 chip=3D0x6327110=
6 rev=3D0x00 hdr=3D0x00
    vendor     =3D 'VIA Technologies Inc'
    class      =3D bridge
    subclass   =3D HOST-PCI
hostb6@pci0:0:7:        class=3D0x060000 card=3D0x00000000 chip=3D0x7327110=
6 rev=3D0x00 hdr=3D0x00
    vendor     =3D 'VIA Technologies Inc'
    class      =3D bridge
    subclass   =3D HOST-PCI
pcib1@pci0:1:0: class=3D0x060400 card=3D0x00000000 chip=3D0xb1981106 rev=3D=
0x00 hdr=3D0x01
    vendor     =3D 'VIA Technologies Inc'
    device     =3D 'ProSavageDDR P4X600 CPU to AGP Bridge'
    class      =3D bridge
    subclass   =3D PCI-PCI
pcib2@pci0:2:0: class=3D0x060400 card=3D0xc3231106 chip=3D0xa3271106 rev=3D=
0x00 hdr=3D0x01
    vendor     =3D 'VIA Technologies Inc'
    class      =3D bridge
    subclass   =3D PCI-PCI

atapci0@pci0:15:0:      class=3D0x01018a card=3D0x81cf1043 chip=3D0x5337110=
6 rev=3D0x07 hdr=3D0x00
    vendor     =3D 'VIA Technologies Inc'
    class      =3D mass storage
    subclass   =3D ATA

uhci0@pci0:16:0:        class=3D0x0c0300 card=3D0x81cf1043 chip=3D0x3038110=
6 rev=3D0xa0 hdr=3D0x00
    vendor     =3D 'VIA Technologies Inc'
    device     =3D 'VT82xxxxx UHCI USB 1.1 Controller (All VIA Chipsets)'
    class      =3D serial bus
    subclass   =3D USB
uhci1@pci0:16:1:        class=3D0x0c0300 card=3D0x81cf1043 chip=3D0x3038110=
6 rev=3D0xa0 hdr=3D0x00
    vendor     =3D 'VIA Technologies Inc'
    device     =3D 'VT82xxxxx UHCI USB 1.1 Controller (All VIA Chipsets)'
    class      =3D serial bus
    subclass   =3D USB
uhci2@pci0:16:2:        class=3D0x0c0300 card=3D0x81cf1043 chip=3D0x3038110=
6 rev=3D0xa0 hdr=3D0x00
    vendor     =3D 'VIA Technologies Inc'
    device     =3D 'VT82xxxxx UHCI USB 1.1 Controller (All VIA Chipsets)'
    class      =3D serial bus
    subclass   =3D USB
uhci3@pci0:16:3:        class=3D0x0c0300 card=3D0x81cf1043 chip=3D0x3038110=
6 rev=3D0xa0 hdr=3D0x00
    vendor     =3D 'VIA Technologies Inc'
    device     =3D 'VT82xxxxx UHCI USB 1.1 Controller (All VIA Chipsets)'
    class      =3D serial bus
    subclass   =3D USB
ehci0@pci0:16:4:        class=3D0x0c0320 card=3D0x81cf1043 chip=3D0x3104110=
6 rev=3D0x86 hdr=3D0x00
    vendor     =3D 'VIA Technologies Inc'
    device     =3D 'VT6202 USB 2.0 Enhanced Host Controller'
    class      =3D serial bus
    subclass   =3D USB
isab0@pci0:17:0:        class=3D0x060100 card=3D0x81cf1043 chip=3D0x3337110=
6 rev=3D0x00 hdr=3D0x00
    vendor     =3D 'VIA Technologies Inc'
    class      =3D bridge
    subclass   =3D PCI-ISA
hostb7@pci0:17:7:       class=3D0x060000 card=3D0x337e1106 chip=3D0x287e110=
6 rev=3D0x00 hdr=3D0x00
    vendor     =3D 'VIA Technologies Inc'
    class      =3D bridge
    subclass   =3D HOST-PCI
hostb8@pci0:19:0:       class=3D0x060000 card=3D0x00000000 chip=3D0x337b110=
6 rev=3D0x00 hdr=3D0x00
    vendor     =3D 'VIA Technologies Inc'
    class      =3D bridge
    subclass   =3D HOST-PCI
pcib3@pci0:19:1:        class=3D0x060401 card=3D0x337a1106 chip=3D0x337a110=
6 rev=3D0x00 hdr=3D0x01
    vendor     =3D 'VIA Technologies Inc'
    class      =3D bridge
    subclass   =3D PCI-PCI
nvidia0@pci2:0:0:       class=3D0x030000 card=3D0x22341682 chip=3D0x016a10d=
e rev=3D0xa1 hdr=3D0x00
    vendor     =3D 'NVIDIA Corporation'
    class      =3D display
    subclass   =3D VGA
none0@pci4:3:0: class=3D0x048000 card=3D0x0020ecc0 chip=3D0x18011057 rev=3D=
0x02 hdr=3D0x00
    vendor     =3D 'Motorola'
    device     =3D 'DSP56301 24-bit Digital Signal Processor'
    class      =3D multimedia
pcm0@pci4:5:0:  class=3D0x040100 card=3D0x011113f6 chip=3D0x011113f6 rev=3D=
0x10 hdr=3D0x00
    vendor     =3D 'C-Media Electronics Inc.'
    device     =3D 'CMI8738/PCI C3DX It=B4s uses YMF744-B-V remarked chip'
    class      =3D multimedia
    subclass   =3D audio
re0@pci4:7:0:   class=3D0x020000 card=3D0x816710ec chip=3D0x816710ec rev=3D=
0x10 hdr=3D0x00
    vendor     =3D 'Realtek Semiconductor'
    class      =3D network
    subclass   =3D ethernet
=2D------------------------------------------------------------------------=
=2D----------
# 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
=2D------------------------------------------------------------------------=
=2D----------
# 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

=46eature                      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
=2D------------------------------------------------------------------------=
=2D----------
# 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

=46eature                      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
=2D------------------------------------------------------------------------=
=2D----------
# 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

=46eature                      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
=2D------------------------------------------------------------------------=
=2D----------
# 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

=46eature                      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



--Boundary-00=_Mc4uGYqjRDpOPs3--



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?200708092128.44029.mario.lobo>