| 
  • Earn a $50 Amazon gift card for testing a new product from the makers of PBworks. Click here to apply.

  • If you are citizen of an European Union member nation, you may not use this service unless you are at least 16 years old.

View
 

FreeBSD

Page history last edited by Wesha 9 years, 7 months ago

FreeBSD 8.0-RELEASE

 

This release added support for the SiI 3132 eSATA on board controller chip.

The below is from the release notes. SEE http://www.freebsd.org/releases/8.0R/relnotes-detailed.html

 

2.2.4 Disks and Storage

The FreeBSD CAM SCSI subsystem ( cam(4)) now includes experimental support for ATA/SATA/AHCI-compliant devices. This is disabled by default. To enable this, adding the following kernel options to your kernel configuration file and rebuild the kernel:

device    ahci
device    siis

          Or add the following to /boot/loader.conf :

     ahci_load="YES"
siis_load="YES"

The current implementation supports AHCI-compliant controllers and SiliconImage SiI3124/SiI3132/SiI3531 controllers. The device node of an ATA drive is ada and an ATAPI drive is cd.

 

External eSATA Disk Enclosure

Rosewill RSV-S4-X 4 Bay SATA to eSATA (Port Multiplier)

SEE http://www.rosewill.com/products/s_1503/productDetail.htm

SEE http://www.newegg.com/Product/Product.aspx?Item=N82E16816132029&cm_re=rosewill_sata_enclosure-_-16-132-029-_-Product (Cost $100 dollars plus shipping when on sale.)

 

OS Drive

The OS drive is a 2.5 40Gig laptop drive with a 2.5 to 3.5 EIDE adaptor. (The DOM card was removed). The drive was mounted with Velcro tape on the left side bottom of the case. See ad0 in dmesg below.

 

Serial Console Setup

RS232 port information on the SS4200. SEE http://ss4200.pbworks.com/Console-Access-via-RS232

 

Configuring FreeBSD. SEE http://www.freebsd.org/doc/handbook/serialconsole-setup.html

Run below command

echo 'console="comconsole"' >> /boot/loader.conf

Edit File /etc/ttys

# Serial terminals

ttyu0   "/usr/libexec/getty std.9600"   vt100   on secure

Reboot

 

Dmesg Output

Copyright (c) 1992-2009 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 8.0-RELEASE-p2 #0: Sun Jan 17 03:32:44 UTC 2010

    root@srvr1:/usr/src/sys/i386/compile/SRVR1

Timecounter "i8254" frequency 1193182 Hz quality 0

CPU: Intel(R) Celeron(R) CPU          420  @ 1.60GHz (1600.01-MHz 686-class CPU)

  Origin = "GenuineIntel"  Id = 0x10661  Stepping = 1

  Features=0xafebfbff<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,TM,PBE>

  Features2=0xe31d<SSE3,DTES64,MON,DS_CPL,TM2,SSSE3,CX16,xTPR,PDCM>

  AMD Features=0x20100000<NX,LM>

  AMD Features2=0x1<LAHF>

  TSC: P-state invariant

real memory  = 536870912 (512 MB)

avail memory = 502325248 (479 MB)

ACPI APIC Table: <121907 APIC1340>

ioapic0 <Version 2.0> irqs 0-23 on motherboard

kbd1 at kbdmux0

acpi0: <121907 XSDT1340> on motherboard

acpi0: [ITHREAD]

acpi0: Power Button (fixed)

acpi0: reservation of 0, a0000 (3) failed

acpi0: reservation of 100000, 1f700000 (3) failed

Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000

acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0

pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0

pci0: <ACPI PCI bus> on pcib0

vgapci0: <VGA-compatible display> port 0xec00-0xec07 mem 0xffa80000-0xffafffff,0xe0000000-0xefffffff,0xffa40000-0xffa7ffff irq 16 at device 2.0 on pci0

agp0: <Intel 82945G (945G GMCH) SVGA controller> on vgapci0

agp0: detected 7932k stolen memory

agp0: aperture size is 256M

pcib1: <ACPI PCI-PCI bridge> irq 16 at device 28.0 on pci0

pci1: <ACPI PCI bus> on pcib1

em0: <Intel(R) PRO/1000 Network Connection 6.9.14> port 0xbc00-0xbc1f mem 0xff6e0000-0xff6fffff irq 16 at device 0.0 on pci1

em0: Using MSI interrupt

em0: [FILTER]

em0: Ethernet address: 00:15:17:32:08:d8

pcib2: <ACPI PCI-PCI bridge> irq 18 at device 28.2 on pci0

pci2: <ACPI PCI bus> on pcib2

siis0: <SiI3132 SATA2 controller> port 0xcc00-0xcc7f mem 0xff8ffc00-0xff8ffc7f,0xff8f8000-0xff8fbfff irq 18 at device 0.0 on pci2

siis0: [ITHREAD]

siisch0: <SIIS channel> at channel 0 on siis0

siisch0: [ITHREAD]

siisch1: <SIIS channel> at channel 1 on siis0

siisch1: [ITHREAD]

uhci0: <Intel 82801G (ICH7) USB controller USB-A> port 0xe000-0xe01f irq 23 at device 29.0 on pci0

uhci0: [ITHREAD]

uhci0: LegSup = 0x0f30

usbus0: <Intel 82801G (ICH7) USB controller USB-A> on uhci0

uhci1: <Intel 82801G (ICH7) USB controller USB-B> port 0xdc00-0xdc1f irq 19 at device 29.1 on pci0

uhci1: [ITHREAD]

uhci1: LegSup = 0x0f30

usbus1: <Intel 82801G (ICH7) USB controller USB-B> on uhci1

uhci2: <Intel 82801G (ICH7) USB controller USB-C> port 0xd880-0xd89f irq 18 at device 29.2 on pci0

uhci2: [ITHREAD]

uhci2: LegSup = 0x0f30

usbus2: <Intel 82801G (ICH7) USB controller USB-C> on uhci2

uhci3: <Intel 82801G (ICH7) USB controller USB-D> port 0xd800-0xd81f irq 16 at device 29.3 on pci0

uhci3: [ITHREAD]

uhci3: LegSup = 0x0f30

usbus3: <Intel 82801G (ICH7) USB controller USB-D> on uhci3

ehci0: <Intel 82801GB/R (ICH7) USB 2.0 controller> mem 0xffa3f800-0xffa3fbff irq 23 at device 29.7 on pci0

ehci0: [ITHREAD]

usbus4: EHCI version 1.0

usbus4: <Intel 82801GB/R (ICH7) USB 2.0 controller> on ehci0

pcib3: <ACPI PCI-PCI bridge> at device 30.0 on pci0

pci3: <ACPI PCI bus> on pcib3

isab0: <PCI-ISA bridge> at device 31.0 on pci0

isa0: <ISA bus> on isab0

ahci0: <AHCI controller> port 0xe880-0xe887,0xe800-0xe803,0xe480-0xe487,0xe400-0xe403,0xe080-0xe08f mem 0xffa3fc00-0xffa3ffff irq 19 at device 31.2 on pci0

ahci0: [ITHREAD]

ahci0: AHCI v1.10 with 4 3Gbps ports, Port Multiplier not supported

ahcich0: <AHCI channel> at channel 0 on ahci0

ahcich0: [ITHREAD]

ahcich1: <AHCI channel> at channel 1 on ahci0

ahcich1: [ITHREAD]

ahcich2: <AHCI channel> at channel 2 on ahci0

ahcich2: [ITHREAD]

ahcich3: <AHCI channel> at channel 3 on ahci0

ahcich3: [ITHREAD]

pci0: <serial bus, SMBus> at device 31.3 (no driver attached)

acpi_button0: <Power Button> on acpi0

atrtc0: <AT realtime clock> port 0x70-0x71 irq 8 on acpi0

uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0

uart0: [FILTER]

uart0: console (9600,n,8,1)

cpu0: <ACPI CPU> on acpi0

p4tcc0: <CPU Frequency Thermal Control> on cpu0

pmtimer0 on isa0

sc0: <System console> at flags 0x100 on isa0

sc0: VGA <16 virtual consoles, flags=0x100>

vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0

ata0 at port 0x1f0-0x1f7,0x3f6 irq 14 on isa0

ata0: [ITHREAD]

ata1 at port 0x170-0x177,0x376 irq 15 on isa0

ata1: [ITHREAD]

atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0

atkbd0: <AT Keyboard> irq 1 on atkbdc0

kbd0 at atkbd0

atkbd0: [GIANT-LOCKED]

atkbd0: [ITHREAD]

ppc0: parallel port not found.

Timecounter "TSC" frequency 1600005480 Hz quality 800

Timecounters tick every 1.000 msec

Waiting 5 seconds for SCSI devices to settle

usbus0: 12Mbps Full Speed USB v1.0

usbus1: 12Mbps Full Speed USB v1.0

usbus2: 12Mbps Full Speed USB v1.0

usbus3: 12Mbps Full Speed USB v1.0

usbus4: 480Mbps High Speed USB v2.0

ad0: 38154MB <HITACHI DK23EB-40B 00K0A0B4> at ata0-master PIO4

ugen0.1: <Intel> at usbus0

uhub0: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus0

ugen1.1: <Intel> at usbus1

uhub1: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus1

ugen2.1: <Intel> at usbus2

uhub2: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus2

ugen3.1: <Intel> at usbus3

uhub3: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus3

ugen4.1: <Intel> at usbus4

uhub4: <Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus4

uhub0: 2 ports with 2 removable, self powered

uhub1: 2 ports with 2 removable, self powered

uhub2: 2 ports with 2 removable, self powered

uhub3: 2 ports with 2 removable, self powered

uhub4: 8 ports with 8 removable, self powered

(aprobe1:siisch1:0:15:0): SIGNATURE: 9669

PM Product ID: 37261095

PM Revision: 00001706

PM ports: 5

PM RESET 0 0000 1

PM RESET 1 0000 1

PM RESET 2 0000 1

PM RESET 3 0000 1

PM RESET 4 0000 1

PM reset done

PM connect done

PM status: 0 - 00000123

PM status: 1 - 00000123

PM status: 2 - 00000113

PM status: 3 - 00000113

(aprobe2:ahcich0:0:0:0): SIGNATURE: 0000

(aprobe3:ahcich1:0:0:0): SIGNATURE: 0000

(aprobe4:ahcich2:0:0:0): SIGNATURE: 0000

(aprobe5:ahcich3:0:0:0): SIGNATURE: 0000

PM status: 4 - 00000000

(aprobe0:siisch1:0:0:0): SIGNATURE: 0000

(aprobe0:siisch1:0:1:0): SIGNATURE: 0000

(aprobe0:siisch1:0:2:0): SIGNATURE: 0000

(aprobe0:siisch1:0:3:0): SIGNATURE: 0000

ada0 at siisch1 bus 0 target 0 lun 0

ada0: <ST3500630AS 3.AAK> ATA/ATAPI-7 SATA 2.x device

ada0: 300.000MB/s transfers

ada0: 476940MB (976773168 512 byte sectors: 16H 63S/T 16383C)

ada0: Native Command Queueing enabled

ada1 at siisch1 bus 0 target 1 lun 0

ada1: <ST3500641AS 3.AAJ> ATA/ATAPI-7 SATA 2.x device

ada1: 300.000MB/s transfers

ada1: 476940MB (976773168 512 byte sectors: 16H 63S/T 16383C)

ada1: Native Command Queueing enabled

ada2 at siisch1 bus 0 target 2 lun 0

ada2: <HDS724040KLSA80 KFAOA46A> ATA/ATAPI-7 SATA 1.x device

ada2: 300.000MB/s transfers

ada2: 381554MB (781422768 512 byte sectors: 16H 63S/T 16383C)

ada3 at siisch1 bus 0 target 3 lun 0

ada3: <HDS724040KLSA80 KFAOAC6A> ATA/ATAPI-7 SATA 1.x device

ada3: 300.000MB/s transfers

ada3: 381554MB (781422768 512 byte sectors: 16H 63S/T 16383C)

ada4 at ahcich0 bus 0 target 0 lun 0

ada4: <ST31500341AS CC1H> ATA/ATAPI-8 SATA 2.x device

ada4: 300.000MB/s transfers

ada4: 1430799MB (2930277168 512 byte sectors: 16H 63S/T 16383C)

ada4: Native Command Queueing enabled

ada5 at ahcich1 bus 0 target 0 lun 0

ada5: <ST31500341AS SD1B> ATA/ATAPI-8 SATA 2.x device

ada5: 300.000MB/s transfers

ada5: 1430799MB (2930277168 512 byte sectors: 16H 63S/T 16383C)

ada5: Native Command Queueing enabled

ada6 at ahcich2 bus 0 target 0 lun 0

ada6: <ST31000340AS SD04> ATA/ATAPI-7 SATA 2.x device

ada6: 300.000MB/s transfers

ada6: 953869MB (1953525168 512 byte sectors: 16H 63S/T 16383C)

ada6: Native Command Queueing enabled

ada7 at ahcich3 bus 0 target 0 lun 0

ada7: <ST31000340AS SD1A> ATA/ATAPI-8 SATA 1.x device

ada7: 150.000MB/s transfers

ada7: 953869MB (1953525168 512 byte sectors: 16H 63S/T 16383C)

ada7: Native Command Queueing enabled

 

 

Comments (5)

efficacyman said

at 1:53 am on Jan 23, 2010

Are your drives on the external port multiplier(Rosewill RSV-S4-X 4 Bay SATA to eSATA) showing up correctly? I haven't been able to confirm if the BSD driver is now addressing drives behind the port multiplier correctly. If you are having success, that makes this setup oh so much more powerful. Would be nice to be able to run ZFS with a couple of online backups in case of disk failure.

RJB said

at 3:40 am on Jan 23, 2010

The drives are showing. See the dmesg output above and look for ada0 through ada3.

Gated said

at 11:41 pm on Feb 11, 2010

Do you experience power shut down issues with FreeBSD 8 release, which lot of people were experiencing in past releases?
Can confirm the issue with "shutdown -p now" not powering off the unit, but instead making it halt + rear-chassis-fans going slowly to max RPM has been resolved?

Thanks for your help.


Issue was discussed in detail at below thread.
http://forums.smallnetbuilder.com/showthread.php?t=1142&page=3


CyberLeo said

at 2:03 am on Feb 13, 2010

8.0-RELEASE-amd64 doesn't seem to have a problem with it; likely because the USB stack is quite different. In 7.x, disabling USB in the bios solved the power-off issues, but that isn't a very nice solution.

efficacyman said

at 1:04 am on Mar 17, 2010

Another alternative for external sata enclosure is the SANS DIGITAL TR4M 4 Bay SATA to eSATA - which also uses the same Silicon Image Sil 3132 eSATA controller. http://www.newegg.com/Product/Product.aspx?Item=N82E16816111029 - now on sale for $109.99 with promo code EMCYPZT23.

You don't have permission to comment on this page.