Subject: Re: looking for VIA/NVIDIA sata testers
To: Manuel Bouyer <bouyer@antioche.eu.org>
From: =?UTF-8?Q?C=C3=A9sar_Catri=C3=A1n_Carre=C3=B1o?= <ccatrian@eml.cc>
List: current-users
Date: 10/26/2006 12:28:45
--Signature=_Thu__26_Oct_2006_12_28_46_-0300_=9bbMaQaxK3FDl/K
Content-Type: text/plain; charset=UTF-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
On Wed, 25 Oct 2006 23:20:53 +0200
Manuel Bouyer <bouyer@antioche.eu.org> wrote:
> Hi,
> attached is a patch that makes viaide(4) use SATA registers do probe
> drives, and also correct a few things for the VIA VT6421, and
> adds the VT8237A to the table. Unfortunably I don't have any way
> to test this. So if you have a Via or Nvidia system with SATA drive,
> please give it a try if you can. If no drive is found please set
> atadebug_mask to 0xff and send the boot messages.
> There is also a distribution built with these changes, for convenience
> (there are floppy and iso image here):
> ftp://ftp-asim.lip6.fr/outgoing/bouyer/i386/
>
> Thanks !
>
> --
> Manuel Bouyer <bouyer@antioche.eu.org>
> NetBSD: 26 ans d'experience feront toujours la difference
> --
>
Hi Manuel,
I had to add pdcsata(4) to my kernel config to make it link.
The dmesg is inserted below.
Regards
--
César Catrián Carreño
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
The NetBSD Foundation, Inc. All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California. All rights reserved.
NetBSD 4.99.3 (Basado en GENERIC: 1.781) #0: Thu Oct 26 12:04:36 CLST 2006
cetrox@core.cjc.cl:/home/cetrox/src/netbsd-current/src/sys/arch/i386/compile/SAT
total memory = 511 MB
avail memory = 498 MB
timecounter: Timecounters tick every 10.000 msec
timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
BIOS32 rev. 0 found at 0xf0010
PCI BIOS rev. 2.1 found at 0xf0031
pcibios: config mechanism [1][x], special cycles [x][x], last bus 2
PCI IRQ Routing Table rev. 1.0 found at 0xf52d0, size 224 bytes (12 entries)
PCI Interrupt Router at 000:01:0 (vendor 0x10de product 0x00e0 compatible)
mainbus0 (root)
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: AMD Unknown K7 (Athlon) (686-class), 1808.89 MHz, id 0xf4a
cpu0: features e7dbfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
cpu0: features e7dbfbff<PGE,MCA,CMOV,PAT,PSE36,MPC,NOX,MMXX,MMX>
cpu0: features e7dbfbff<FXSR,SSE,SSE2,LONG,3DNOW2,3DNOW>
cpu0: "AMD Athlon(tm) 64 Processor 2800+"
cpu0: I-cache 64 KB 64B/line 2-way, D-cache 64 KB 64B/line 2-way
cpu0: L2 cache 512 KB 64B/line 16-way
cpu0: ITLB 32 4 KB entries fully associative, 8 4 MB entries fully associative
cpu0: DTLB 32 4 KB entries fully associative, 8 4 MB entries fully associative
cpu0: AMD Power Management features: f<TTP,VID,FID,TS>
cpu0: AMD Cool`n'Quiet Technology 1800 MHz
cpu0: available frequencies (Mhz): 1000 1800
cpu0: calibrating local timer
cpu0: apic clock running at 200 MHz
cpu0: 8 page colors
ioapic0 at mainbus0 apid 1 (I/O APIC)
ioapic0: pa 0xfec00000, version 11, 24 pins
acpi0 at mainbus0: Advanced Configuration and Power Interface
acpi0: using Intel ACPI CA subsystem version 20060217
acpi0: X/RSDT: OemId <A M I ,OEMRSDT ,08000523>, AslId <MSFT,00000097>
acpi0: SCI interrupting at int 9
acpi0: fixed-feature power button present
timecounter: Timecounter "ACPI-Fast" frequency 3579545 Hz quality 1000
ACPI-Fast 24-bit timer
ACPI Object Type 'Processor' (0x0c) at acpi0 not configured
acpi: activated PNP0C0F
acpi: activated PNP0C0F
acpi: activated PNP0C0F
acpi: activated PNP0C0F
acpi: activated PNP0C0F
acpi: activated PNP0C0F
PNP0A03 at acpi0 not configured
PNP0000 at acpi0 not configured
PNP0200 at acpi0 not configured
PNP0100 at acpi0 not configured
PNP0B00 at acpi0 not configured
PNP0800 at acpi0 not configured
PNP0C04 at acpi0 not configured
PNP0700 at acpi0 not configured
PNP0401 at acpi0 not configured
PNPB006 at acpi0 not configured
PNP0C02 at acpi0 not configured
PNP0C02 at acpi0 not configured
PNP0303 at acpi0 not configured
PNP0F03 at acpi0 not configured
PNP0C02 at acpi0 not configured
PNPB02F at acpi0 not configured
PNP0501 at acpi0 not configured
ACPI Object Type 'Power' (0x0b) at acpi0 not configured
PNP0C01 at acpi0 not configured
acpibut0 at acpi0 (PNP0C0C-170): ACPI Power Button
PNP0C0F at acpi0 not configured
PNP0C0F at acpi0 not configured
PNP0C0F at acpi0 not configured
PNP0C0F at acpi0 not configured
PNP0C0F at acpi0 not configured
PNP0C0F at acpi0 not configured
PNP0C0F at acpi0 not configured
PNP0C0F at acpi0 not configured
PNP0C0F at acpi0 not configured
PNP0C0F at acpi0 not configured
PNP0C0F at acpi0 not configured
PNP0C0F at acpi0 not configured
PNP0C0F at acpi0 not configured
PNP0C0F at acpi0 not configured
PNP0C0F at acpi0 not configured
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
pchb0 at pci0 dev 0 function 0
pchb0: vendor 0x10de product 0x00e1 (rev. 0xa1)
agp at pchb0 not configured
pcib0 at pci0 dev 1 function 0
pcib0: vendor 0x10de product 0x00e0 (rev. 0xa2)
vendor 0x10de product 0x00e4 (SMBus serial bus, revision 0xa1) at pci0 dev 1 function 1 not configured
ohci0 at pci0 dev 2 function 0: vendor 0x10de product 0x00e7 (rev. 0xa1)
LUS0: Picked IRQ 20 with weight 0
ohci0: interrupting at ioapic0 pin 20 (irq 3)
ohci0: OHCI version 1.0, legacy support
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: vendor 0x10de OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 4 ports with 4 removable, self powered
ohci1 at pci0 dev 2 function 1: vendor 0x10de product 0x00e7 (rev. 0xa1)
LUS1: Picked IRQ 21 with weight 0
ohci1: interrupting at ioapic0 pin 21 (irq 9)
ohci1: OHCI version 1.0, legacy support
usb1 at ohci1: USB revision 1.0
uhub1 at usb1
uhub1: vendor 0x10de OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 4 ports with 4 removable, self powered
ehci0 at pci0 dev 2 function 2: vendor 0x10de product 0x00e8 (rev. 0xa2)
LUS2: Picked IRQ 22 with weight 0
ehci0: interrupting at ioapic0 pin 22 (irq 10)
ehci0: BIOS has given up ownership
ehci0: EHCI version 1.0
ehci0: companion controllers, 4 ports each: ohci0 ohci1
usb2 at ehci0: USB revision 2.0
uhub2 at usb2
uhub2: vendor 0x10de EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub2: 8 ports with 8 removable, self powered
nfe0 at pci0 dev 5 function 0LKLN: Picked IRQ 20 with weight 1
: ioapic0 pin 20 (irq 11), address 00:15:f2:09:e2:da
ukphy0 at nfe0 phy 1: Generic IEEE 802.3u media interface
ukphy0: OUI 0x0009c3, model 0x0005, rev. 4
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
auich0 at pci0 dev 6 function 0: nForce3 250 MCP-T AC-97 Audio
LAUI: Picked IRQ 21 with weight 1
auich0: interrupting at ioapic0 pin 21 (irq 9)
auich0: ac97: Avance Logic ALC850 codec; no 3D stereo
auich0: ac97: ext id 9c6<AC97_23,LDAC,SDAC,CDAC,SPDIF,DRA>
viaide0 at pci0 dev 8 function 0
viaide0: NVIDIA nForce3 250 IDE Controller (rev. 0xa2)
viaide0: bus-master DMA support present
viaide0: primary channel configured to compatibility mode
viaide0: primary channel interrupting at ioapic0 pin 14 (irq 14)
atabus0 at viaide0 channel 0
viaide0: secondary channel configured to compatibility mode
viaide0: secondary channel interrupting at ioapic0 pin 15 (irq 15)
atabus1 at viaide0 channel 1
viaide1 at pci0 dev 10 function 0
viaide1: NVIDIA nForce3 250 Serial ATA Controller (rev. 0xa2)
viaide1: bus-master DMA support present
viaide1: primary channel wired to native-PCI mode
LTID: Picked IRQ 22 with weight 1
viaide1: using ioapic0 pin 22 (irq 10) for native-PCI interrupt
atabus2 at viaide1 channel 0
viaide1: secondary channel wired to native-PCI mode
atabus3 at viaide1 channel 1
ppb0 at pci0 dev 11 function 0: vendor 0x10de product 0x00e2 (rev. 0xa2)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
vga0 at pci1 dev 0 function 0: vendor 0x10de product 0x0185 (rev. 0xc1)
wsdisplay0 at vga0 kbdmux 1: console (80x25, vt100 emulation)
wsmux1: connecting to wsdisplay0
ppb1 at pci0 dev 14 function 0: vendor 0x10de product 0x00ed (rev. 0xa2)
pci2 at ppb1 bus 2
pci2: i/o space, memory space enabled
rtk0 at pci2 dev 7 function 0: Realtek 8139 10/100BaseTX
LNKB: Picked IRQ 16 with weight 0
rtk0: interrupting at ioapic0 pin 16 (irq 11)
rtk0: Ethernet address 00:e0:4c:bc:08:3c
rlphy0 at rtk0 phy 7: Realtek internal PHY
rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
pchb1 at pci0 dev 24 function 0
pchb1: vendor 0x1022 product 0x1100 (rev. 0x00)
pchb2 at pci0 dev 24 function 1
pchb2: vendor 0x1022 product 0x1101 (rev. 0x00)
pchb3 at pci0 dev 24 function 2
pchb3: vendor 0x1022 product 0x1102 (rev. 0x00)
pchb4 at pci0 dev 24 function 3
pchb4: vendor 0x1022 product 0x1103 (rev. 0x00)
isa0 at pcib0
lpt0 at isa0 port 0x378-0x37b irq 7
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
pckbc0 at isa0 port 0x60-0x64
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
attimer0 at isa0 port 0x40-0x43: AT Timer
pcppi0 at isa0 port 0x61
sysbeep0 at pcppi0
isapnp0 at isa0 port 0x279: ISA Plug 'n Play device support
npx0 at isa0 port 0xf0-0xff
npx0: using exception 16
pcppi0: attached to attimer0
isapnp0: no ISA Plug 'n Play devices found
ioapic0: enabling
timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
audio0 at auich0: full duplex, independent
atapibus0 at atabus0: 2 targets
cd0 at atapibus0 drive 0: <ASUS DVD-E616A, , 1.03> cdrom removable
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
cd1 at atapibus0 drive 1: <HL-DT-ST DVDRAM GSA-4167B, 77720B79C2B5, DL11> cdrom removable
cd1: 32-bit data port
cd1: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
cd0(viaide0:0:0): using PIO mode 4, Ultra-DMA mode 5 (Ultra/100) (using DMA)
cd1(viaide0:0:1): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA)
viaide1: port 0: device present, speed: 1.5Gb/s
wd0 at atabus2 drive 0: <ST380817AS>
wd0: drive supports 16-sector PIO transfers, LBA48 addressing
wd0: 76319 MB, 155061 cyl, 16 head, 63 sec, 512 bytes/sect x 156301488 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133)
wd0(viaide1:0:0): using PIO mode 4, Ultra-DMA mode 6 (Ultra/133) (using DMA)
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
uhidev0 at uhub0 port 1 configuration 1 interface 0
uhidev0: vendor 0x0810 Twin USB Joystick, rev 1.00/1.06, addr 2, iclass 3/0
uhidev0: 2 report ids
uhid0 at uhidev0 reportid 1: input=7, output=4, feature=0
uhid1 at uhidev0 reportid 2: input=7, output=4, feature=0
wsdisplay0: screen 1 added (80x25, vt100 emulation)
wsdisplay0: screen 2 added (80x25, vt100 emulation)
wsdisplay0: screen 3 added (80x25, vt100 emulation)
wsdisplay0: screen 4 added (80x25, vt100 emulation)
--Signature=_Thu__26_Oct_2006_12_28_46_-0300_=9bbMaQaxK3FDl/K
Content-Type: application/pgp-signature
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (NetBSD)
iD8DBQFFQNQv0CA0DpFTlnERAp4DAKC2fPQ6iwuR5zXn65LbLIkFhx3njACgnIu7
hthSjKrzvo7zZm2djOtVc+I=
=oTdn
-----END PGP SIGNATURE-----
--Signature=_Thu__26_Oct_2006_12_28_46_-0300_=9bbMaQaxK3FDl/K--