SiI 3124 support

Tim Darby t+dfbsd at timdarby.net
Sat Jan 30 23:40:37 PST 2010


On Sat, Jan 30, 2010 at 11:35 AM, Matthew Dillon <dillon at 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 at ocotillo.timdarby.com:/usr/obj/usr/src/sys/MYKERNELTSC clock: 1794110512 Hz, i8254 clock: 1193137 HzCPU: 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 kbdmux0Pentium Pro MTRR support enabledfildesc_drvinit() building stdin, stdout, stderr: 
md0: Malloc diskACPI: 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 00040ACPI: APIC 0x2ff40300 00054 (v1 A M I  OEMAPIC  09000210 MSFT 00000097)npx0: <math processor> on motherboard
npx0: INT 16 interfaceUsing XMM optimized bcopy/copyin/copyoutacpi0: <A M I OEMRSDT> on motherboardacpi0: 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 acpi0cpu0: <ACPI CPU> on acpi0cpu_cst0: <ACPI CPU C-State> on cpu0acpi_button0: <Sleep Button> on acpi0
sio0: configured irq 4 not in bitmap of probed irqs 0sio0 port 0x3f8-0x3ff irq 4 on acpi0sio0: type 16550Appc0 port 0x378-0x37f irq 7 on acpi0ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode
ppbus0: <Parallel port bus> on ppc0plip0: <PLIP network interface> on ppbus0lpt0: <Printer> on ppbus0lpt0: Interrupt-driven portppi0: <Parallel I/O> on ppbus0
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0kbd0 at atkbd0psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model IntelliMouse, device ID 3pcib0: <Host to PCI bridge> pcibus 0 on motherboardpir0: <PCI Interrupt Routing Table: 8 Entries> on motherboardpci0: <PCI bus> on pcib0
agp0: <Intel 82845 host to AGP bridge> mem 0xf8000000-0xfbffffff at device 0.0 on pci0pcib1: <PCI-PCI bridge> at device 1.0 on pci0pci1: <PCI bus> on pcib1vgapci0: <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 pci0usb0: <Intel 82801DB (ICH4) USB controller USB-A> on uhci0usb0: USB revision 1.0
uhub0: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb0uhub0: 2 ports with 2 removable, self powereduhci1: <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 uhci1usb1: USB revision 1.0uhub1: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb1uhub1: 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 pci0usb2: <Intel 82801DB (ICH4) USB controller USB-C> on uhci2usb2: USB revision 1.0
uhub2: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb2uhub2: 2 ports with 2 removable, self poweredpci0: <serial bus, USB> (vendor 0x8086, dev 0x24cd) at device 29.7 irq 9
pcib2: <PCIBIOS PCI-PCI bridge> at device 30.0 on pci0pci2: <PCI bus> on pcib2sili0: <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,SPMsili0.0.15: PM softresetsili0.0: reiniting port after error reent=0 expired=00000000sili0.0.15: PM softreset done error 5sili0. 0: Found DISK "SAMSUNG SP2004C VM100-33" serial="S07GJ10Y523211"
sili0.0: tags=32/31 satacap=0706 satafea=004c NCQ=YES capacity=190782.21MBsili0.0: f85=7469 f86=3c01 f87=4023 WC=enabled RA=enabled SEC=freezingsili0.1: No device detectedsili0.2: No device detected
sili0.3: No device detectedem0: <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 pci2em0: MAC address: 00:07:e9:0a:5a:1f
isab0: <PCI-ISA bridge> at device 31.0 on pci0isa0: <ISA bus> on isab0atapci0: <Intel ICH4 UDMA100 controller> port 0xffa0-0xffaf,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 31.1 on pci0
ata0: <ATA channel 0> on atapci0ad0: 38166MB <Seagate ST340014A 3.06> at ata0-master UDMA100ata1: <ATA channel 1> on atapci0acd0: DVDROM <LITEON DVD-ROM LTD163/GDHF> at ata1-master UDMA33
pci0: <serial bus, SMBus> (vendor 0x8086, dev 0x24c3) at device 31.3 irq 11pci0: <multimedia, audio> (vendor 0x8086, dev 0x24c5) at device 31.5 irq 11pmtimer0 on isa0fdc0: ready for input in output
fdc0: cmd 3 failed at out byte 1 of 3vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0sc0: <System console> at flags 0x100 on isa0sc0: VGA <16 virtual consoles, flags=0x300>
sio2: can't drain, serial port might not exist, disablingppc1: cannot reserve I/O port rangeip: MPSAFEarp: MPSAFECAM: Configuring 6 bussesCAM: finished configuring all busses (0 left)
da0 at sili0 bus 0 target 0 lun 0da0: <SATA SAMSUNG SP2004C VM10> Fixed Direct Access SCSI-4 device da0: Serial Number S07GJ10Y523211da0: 300.000MB/s transfersda0: 190782MB (390721968 512 byte sectors: 255H 63S/T 24321C)
cd0 at ata1 bus 0 target 0 lun 0cd0: <LITEON DVD-ROM LTD163 GDHF> Removable CD-ROM SCSI-0 device cd0: 33.000MB/s transferscd0: cd present [256858 x 2048 byte records]
Mounting root from hammer:serno/3JX139HT.s1dtryroot serno/3JX139HT.s1dMounting devfs




More information about the Users mailing list