DragonFly BSD
DragonFly users List (threaded) for 2010-01
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: SiI 3124 support


From: Tim Darby <t+dfbsd@xxxxxxxxxxxx>
Date: Sun, 31 Jan 2010 00:36:01 -0700

On Sat, Jan 30, 2010 at 11:35 AM, Matthew Dillon <dillon@apollo.backplane.com> wrote:

:Cool, it "just works".  I tried it today using a Rosewill RC-217 4-port SATA
:PCI card.  I was able to create a Hammer volume and copy files to it.
: Attached is the dmesg:
:
:Thanks,
:Tim

   Heh.  Actually it didn't quite work.  The ATA driver picked it up.
   The ATA driver does have support for the 3124 but it isn't as advanced
   as the SILI driver.  You won't get hotswap or NCQ, for example.  If
   you want to experiment please try adding the PCI ID entry to the SILI
   driver and see if it can probe it.  If it can it will take precedence
   over the ATA probe of the same device.

                                               -Matt


Ok, does this look better? :-)  The entry I added is:

                .ad_vendor = PCI_VENDOR_SII,
                .ad_product = 0x3124,
                .ad_nports = 4,
                .ad_attach = sili_pci_attach,
                .ad_detach = sili_pci_detach,
                .name = "Rosewill-3124-SATA"

Tim

Copyright (c) 2003-2009 The DragonFly Project.
Copyright (c) 1992-2003 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.
DragonFly v2.4.1.40.ga038d-RELEASE #0: Sat Jan 30 14:55:29 MST 2010
    root@ocotillo.timdarby.com:/usr/obj/usr/src/sys/MYKERNEL
TSC clock: 1794110512 Hz, i8254 clock: 1193137 Hz
CPU: Intel(R) Pentium(R) 4 CPU 1.80GHz (1794.19-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0xf24  Stepping = 4
  Features=0x3febfbff<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>
real memory  = 804519936 (785664K bytes)
avail memory = 766943232 (748968K bytes)
kbd1 at kbdmux0
Pentium Pro MTRR support enabled
fildesc_drvinit() building stdin, stdout, stderr: 
md0: Malloc disk
ACPI: RSDP 0xf6cc0 00014 (v0 ACPIAM)
ACPI: RSDT 0x2ff40000 0002C (v1 A M I  OEMRSDT  09000210 MSFT 00000097)
ACPI: FACP 0x2ff40200 00081 (v2 A M I  OEMFACP  09000210 MSFT 00000097)
ACPI: DSDT 0x2ff40400 039D5 (v1   DELL DIM 4500 0000010A MSFT 0100000D)
ACPI: FACS 0x2ff50000 00040
ACPI: APIC 0x2ff40300 00054 (v1 A M I  OEMAPIC  09000210 MSFT 00000097)
npx0: <math processor> on motherboard
npx0: INT 16 interface
Using XMM optimized bcopy/copyin/copyout
acpi0: <A M I OEMRSDT> on motherboard
acpi0: Power Button (fixed)
Warning: ACPI is disabling APM's device.  You can't run both
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0
cpu0: <ACPI CPU> on acpi0
cpu_cst0: <ACPI CPU C-State> on cpu0
acpi_button0: <Sleep Button> on acpi0
sio0: configured irq 4 not in bitmap of probed irqs 0
sio0 port 0x3f8-0x3ff irq 4 on acpi0
sio0: type 16550A
ppc0 port 0x378-0x37f irq 7 on acpi0
ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode
ppbus0: <Parallel port bus> on ppc0
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model IntelliMouse, device ID 3
pcib0: <Host to PCI bridge> pcibus 0 on motherboard
pir0: <PCI Interrupt Routing Table: 8 Entries> on motherboard
pci0: <PCI bus> on pcib0
agp0: <Intel 82845 host to AGP bridge> mem 0xf8000000-0xfbffffff at device 0.0 on pci0
pcib1: <PCI-PCI bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
vgapci0: <VGA-compatible display> port 0xc800-0xc8ff mem 0xff7fc000-0xff7fffff,0xf0000000-0xf3ffffff irq 11 at device 0.0 on pci1
uhci0: <Intel 82801DB (ICH4) USB controller USB-A> port 0xe800-0xe81f irq 11 at device 29.0 on pci0
usb0: <Intel 82801DB (ICH4) USB controller USB-A> 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: <Intel 82801DB (ICH4) USB controller USB-B> port 0xe880-0xe89f irq 3 at device 29.1 on pci0
usb1: <Intel 82801DB (ICH4) USB controller USB-B> 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: <Intel 82801DB (ICH4) USB controller USB-C> port 0xec00-0xec1f irq 5 at device 29.2 on pci0
usb2: <Intel 82801DB (ICH4) USB controller USB-C> 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
pci0: <serial bus, USB> (vendor 0x8086, dev 0x24cd) at device 29.7 irq 9
pcib2: <PCIBIOS PCI-PCI bridge> at device 30.0 on pci0
pci2: <PCI bus> on pcib2
sili0: <Rosewill-3124-SATA> port 0xdc00-0xdc0f mem 0xff9f0000-0xff9f7fff,0xff9ffc00-0xff9ffc7f irq 10 at device 1.0 on pci2
sili0: ports=4 tags=31, cap=NCQ,FBSS,SPM
sili0.0.15: PM softreset
sili0.0: reiniting port after error reent=0 expired=00000000
sili0.0.15: PM softreset done error 5
sili0. 0: Found DISK "SAMSUNG SP2004C VM100-33" serial="S07GJ10Y523211"
sili0.0: tags=32/31 satacap=0706 satafea=004c NCQ=YES capacity=190782.21MB
sili0.0: f85=7469 f86=3c01 f87=4023 WC=enabled RA=enabled SEC=freezing
sili0.1: No device detected
sili0.2: No device detected
sili0.3: No device detected
em0: <Intel(R) PRO/1000 Network Connection 82540EM 6.9.6> port 0xd880-0xd8bf mem 0xff9a0000-0xff9bffff,0xff9c0000-0xff9dffff irq 11 at device 12.0 on pci2
em0: MAC address: 00:07:e9:0a:5a:1f
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel ICH4 UDMA100 controller> port 0xffa0-0xffaf,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 31.1 on pci0
ata0: <ATA channel 0> on atapci0
ad0: 38166MB <Seagate ST340014A 3.06> at ata0-master UDMA100
ata1: <ATA channel 1> on atapci0
acd0: DVDROM <LITEON DVD-ROM LTD163/GDHF> at ata1-master UDMA33
pci0: <serial bus, SMBus> (vendor 0x8086, dev 0x24c3) at device 31.3 irq 11
pci0: <multimedia, audio> (vendor 0x8086, dev 0x24c5) at device 31.5 irq 11
pmtimer0 on isa0
fdc0: ready for input in output
fdc0: cmd 3 failed at out byte 1 of 3
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio2: can't drain, serial port might not exist, disabling
ppc1: cannot reserve I/O port range
ip: MPSAFE
arp: MPSAFE
CAM: Configuring 6 busses
CAM: finished configuring all busses (0 left)
da0 at sili0 bus 0 target 0 lun 0
da0: <SATA SAMSUNG SP2004C VM10> Fixed Direct Access SCSI-4 device 
da0: Serial Number S07GJ10Y523211
da0: 300.000MB/s transfers
da0: 190782MB (390721968 512 byte sectors: 255H 63S/T 24321C)
cd0 at ata1 bus 0 target 0 lun 0
cd0: <LITEON DVD-ROM LTD163 GDHF> Removable CD-ROM SCSI-0 device 
cd0: 33.000MB/s transfers
cd0: cd present [256858 x 2048 byte records]
Mounting root from hammer:serno/3JX139HT.s1d
tryroot serno/3JX139HT.s1d
Mounting devfs



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]