USB 3.0 PCI Express Card - does it work?

Status
Not open for further replies.

sdspieg

Contributor
Joined
Aug 6, 2012
Messages
168
I have a USB 3.0 PCI Express Card that I wanted to use to hook up an external USB HDD to my newly built NAS-system (with FreeNAS 8.3 beta2 on) to transfer files to my NAS storage. Does anybody know how to make that work? Right now I only see the two internal HDDs that are in FreeNAS as zfs/mirror and the USB stikc from which I run FreeNAS
Code:
[root@freenas ~]# camcontrol devlist                                            
<ST3000DM001-9YN166 CC4B>          at scbus0 target 0 lun 0 (pass0,ada0)        
<ST3000DM001-9YN166 CC4B>          at scbus2 target 0 lun 0 (pass1,ada1)        
< USB Flash Memory 1.00>           at scbus6 target 0 lun 0 (pass2,da0)  


But I do not see the drive that is connected to that PCI-card.

My dmesg.boot has a line saying "pci3: <serial bus, USB> at device 0.0 (no driver attached)" - could that be the culprit? And if so, is there anything that can be done about it?


Code:
Copyright (c) 1992-2012 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.3-RELEASE-p4 #2 r240088M: Tue Sep  4 06:56:00 PDT 2012
    root@build.ixsystems.com:/build/home/jpaetzel/8.3.0/os-base/amd64/build/home/jpaetzel/8.3.0/FreeBSD/src/sys/FREENAS.amd64 amd64
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: AMD Athlon(tm) II X2 250 Processor (3013.55-MHz K8-class CPU)
  Origin = "AuthenticAMD"  Id = 0x100f63  Family = 10  Model = 6  Stepping = 3
  Features=0x178bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT>
  Features2=0x802009<SSE3,MON,CX16,POPCNT>
  AMD Features=0xee500800<SYSCALL,NX,MMX+,FFXSR,Page1GB,RDTSCP,LM,3DNow!+,3DNow!>
  AMD Features2=0x837ff<LAHF,CMP,SVM,ExtAPIC,CR8,ABM,SSE4A,MAS,Prefetch,OSVW,IBS,SKINIT,WDT,NodeId>
  TSC: P-state invariant
real memory  = 8589934592 (8192 MB)
avail memory = 8246448128 (7864 MB)
ACPI APIC Table: <032312 APIC1805>
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
FreeBSD/SMP: 1 package(s) x 2 core(s)
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
WARNING: VIMAGE (virtualized network stack) is a highly experimental feature.
ACPI Warning: Optional field Pm2ControlBlock has zero address or length: 0x0000000000000000/0x1 (20101013/tbfadt-655)
ioapic0 <Version 2.1> irqs 0-23 on motherboard
kbd1 at kbdmux0
hpt27xx: RocketRAID 27xx controller driver v1.0 (Sep  4 2012 06:55:49)
cryptosoft0: <software crypto> on motherboard
aesni0: No AESNI support.
acpi0: <032312 XSDT1805> on motherboard
acpi0: [ITHREAD]
acpi0: Power Button (fixed)
acpi0: reservation of fee00000, 1000 (3) failed
acpi0: reservation of ffb80000, 80000 (3) failed
acpi0: reservation of fec10000, 20 (3) failed
acpi0: reservation of fed40000, 5000 (3) failed
acpi0: reservation of 0, a0000 (3) failed
acpi0: reservation of 100000, d7e00000 (3) failed
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <32-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0
cpu0: <ACPI CPU> on acpi0
cpu1: <ACPI CPU> on acpi0
acpi_hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff on acpi0
Timecounter "HPET" frequency 14318180 Hz quality 900
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
pcib1: <ACPI PCI-PCI bridge> irq 18 at device 2.0 on pci0
pci1: <ACPI PCI bus> on pcib1
vgapci0: <VGA-compatible display> mem 0xf8000000-0xfbffffff,0xd8000000-0xdfffffff,0xfd000000-0xfdffffff irq 18 at device 0.0 on pci1
pcib2: <ACPI PCI-PCI bridge> irq 16 at device 4.0 on pci0
pci2: <ACPI PCI bus> on pcib2
re0: <RealTek 8168/8111 B/C/CP/D/DP/E/F PCIe Gigabit Ethernet> port 0xe800-0xe8ff mem 0xf6fff000-0xf6ffffff,0xf6ff8000-0xf6ffbfff irq 16 at device 0.0 on pci2
re0: Using 1 MSI-X message
re0: ASPM disabled
re0: Chip rev. 0x2c800000
re0: MAC rev. 0x00000000
miibus0: <MII bus> on re0
rgephy0: <RTL8169S/8110S/8211B media interface> PHY 1 on miibus0
rgephy0:  none, 10baseT, 10baseT-FDX, 10baseT-FDX-flow, 100baseTX, 100baseTX-FDX, 100baseTX-FDX-flow, 1000baseT, 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, 1000baseT-FDX-flow, 1000baseT-FDX-flow-master, auto, auto-flow
re0: Ethernet address: 30:85:a9:43:b0:e3
re0: [ITHREAD]
pcib3: <ACPI PCI-PCI bridge> irq 18 at device 10.0 on pci0
pci3: <ACPI PCI bus> on pcib3
pci3: <serial bus, USB> at device 0.0 (no driver attached)
ahci0: <ATI IXP700 AHCI SATA controller> port 0xd000-0xd007,0xc000-0xc003,0xb000-0xb007,0xa000-0xa003,0x9000-0x900f mem 0xf7fffc00-0xf7ffffff irq 22 at device 17.0 on pci0
ahci0: [ITHREAD]
ahci0: AHCI v1.10 with 4 3Gbps ports, Port Multiplier 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]
ohci0: <OHCI (generic) USB controller> mem 0xf7ffe000-0xf7ffefff irq 16 at device 18.0 on pci0
ohci0: [ITHREAD]
usbus0: <OHCI (generic) USB controller> on ohci0
ohci1: <OHCI (generic) USB controller> mem 0xf7ffd000-0xf7ffdfff irq 16 at device 18.1 on pci0
ohci1: [ITHREAD]
usbus1: <OHCI (generic) USB controller> on ohci1
ehci0: <EHCI (generic) USB 2.0 controller> mem 0xf7fff800-0xf7fff8ff irq 17 at device 18.2 on pci0
ehci0: [ITHREAD]
usbus2: EHCI version 1.0
usbus2: <EHCI (generic) USB 2.0 controller> on ehci0
ohci2: <OHCI (generic) USB controller> mem 0xf7ffc000-0xf7ffcfff irq 18 at device 19.0 on pci0
ohci2: [ITHREAD]
usbus3: <OHCI (generic) USB controller> on ohci2
ohci3: <OHCI (generic) USB controller> mem 0xf7ffb000-0xf7ffbfff irq 18 at device 19.1 on pci0
ohci3: [ITHREAD]
usbus4: <OHCI (generic) USB controller> on ohci3
ehci1: <EHCI (generic) USB 2.0 controller> mem 0xf7fff400-0xf7fff4ff irq 19 at device 19.2 on pci0
ehci1: [ITHREAD]
usbus5: EHCI version 1.0
usbus5: <EHCI (generic) USB 2.0 controller> on ehci1
pci0: <serial bus, SMBus> at device 20.0 (no driver attached)
atapci0: <ATI IXP700/800 UDMA133 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xff00-0xff0f at device 20.1 on pci0
ata0: <ATA channel> at channel 0 on atapci0
ata0: [ITHREAD]
ata1: <ATA channel> at channel 1 on atapci0
ata1: [ITHREAD]
pci0: <multimedia, HDA> at device 20.2 (no driver attached)
isab0: <PCI-ISA bridge> at device 20.3 on pci0
isa0: <ISA bus> on isab0
pcib4: <ACPI PCI-PCI bridge> at device 20.4 on pci0
pci4: <ACPI PCI bus> on pcib4
ohci4: <OHCI (generic) USB controller> mem 0xf7ffa000-0xf7ffafff irq 18 at device 20.5 on pci0
ohci4: [ITHREAD]
usbus6: <OHCI (generic) USB controller> on ohci4
amdtemp0: <AMD K8 Thermal Sensors> on hostb4
acpi_button0: <Power Button> on acpi0
atrtc0: <AT realtime clock> port 0x70-0x71 irq 8 on acpi0
ppc0: <Parallel port> port 0x378-0x37f irq 7 on acpi0
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
ppc0: [ITHREAD]
ppbus0: <Parallel port bus> on ppc0
lpt0: <Printer> on ppbus0
lpt0: [ITHREAD]
lpt0: Interrupt-driven port
acpi_hpet1: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff on acpi0
device_attach: acpi_hpet1 attach returned 12
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
atkbd0: [ITHREAD]
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: [ITHREAD]
psm0: model IntelliMouse, device ID 3
uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
uart0: [FILTER]
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
acpi_throttle0: <ACPI CPU Throttling> on cpu0
hwpstate0: <Cool`n'Quiet 2.0> on cpu0
fuse4bsd: version 0.3.9-pre1, FUSE ABI 7.8
Timecounters tick every 1.000 msec
hpt27xx: no controller detected.
usbus0: 12Mbps Full Speed USB v1.0
usbus1: 12Mbps Full Speed USB v1.0
usbus2: 480Mbps High Speed USB v2.0
usbus3: 12Mbps Full Speed USB v1.0
usbus4: 12Mbps Full Speed USB v1.0
usbus5: 480Mbps High Speed USB v2.0
usbus6: 12Mbps Full Speed USB v1.0
ugen0.1: <ATI> at usbus0
uhub0: <ATI OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus0
ugen1.1: <ATI> at usbus1
uhub1: <ATI OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus1
ugen2.1: <ATI> at usbus2
uhub2: <ATI EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus2
ugen3.1: <ATI> at usbus3
uhub3: <ATI OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus3
ugen4.1: <ATI> at usbus4
uhub4: <ATI OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus4
ugen5.1: <ATI> at usbus5
uhub5: <ATI EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus5
ugen6.1: <ATI> at usbus6
uhub6: <ATI OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus6
uhub6: 2 ports with 2 removable, self powered
uhub0: 3 ports with 3 removable, self powered
uhub1: 3 ports with 3 removable, self powered
uhub3: 3 ports with 3 removable, self powered
uhub4: 3 ports with 3 removable, self powered
uhub2: 6 ports with 6 removable, self powered
uhub5: 6 ports with 6 removable, self powered
ugen2.2: <vendor 0x0930> at usbus2
umass0: <vendor 0x0930 USB Flash Memory, class 0/0, rev 2.00/1.00, addr 2> on usbus2
ada0 at ahcich0 bus 0 scbus0 target 0 lun 0
ada0: <ST3000DM001-9YN166 CC4B> ATA-8 SATA 3.x device
ada0: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes)
ada0: Command Queueing enabled
ada0: 2861588MB (5860533168 512 byte sectors: 16H 63S/T 16383C)
ada1 at ahcich2 bus 0 scbus2 target 0 lun 0
ada1: <ST3000DM001-9YN166 CC4B> ATA-8 SATA 3.x device
ada1: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes)
ada1: Command Queueing enabled
ada1: 2861588MB (5860533168 512 byte sectors: 16H 63S/T 16383C)
SMP: AP CPU #1 Launched!
da0 at umass-sim0 bus 0 scbus6 target 0 lun 0
da0: < USB Flash Memory 1.00> Removable Direct Access SCSI-2 device 
da0: 40.000MB/s transfers
da0: 1909MB (3911616 512 byte sectors: 255H 63S/T 243C)
GEOM: da0s1: geometry does not match label (16h,63s != 255h,63s).
Trying to mount root from ufs:/dev/ufs/FreeNASs1a
ZFS filesystem version 5
ZFS storage pool version 28
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,526
USB 3.0 is supported but not enabled by default. Consult the manual to enable support.
 

sdspieg

Contributor
Joined
Aug 6, 2012
Messages
168
Ok. Thanks. I did enable support:
System|Tunable|Add Tunable
xhci_load
YES
USB 3.0 support

And here's the result:
Code:
[root@freenas ~]# camcontrol devlist                                            
<ST3000DM001-9YN166 CC4B>          at scbus0 target 0 lun 0 (pass0,ada0)        
<ST3000DM001-9YN166 CC4B>          at scbus2 target 0 lun 0 (pass1,ada1)        
<HitachiG ST 0000>                 at scbus6 target 0 lun 0 (pass2,da0)         
< USB Flash Memory 1.00>           at scbus7 target 0 lun 0 (pass3,da1)


Success! Now I have to figure out how to start copying stuff. This is fun.

On a negative note: I once again 'lost' minidnla and sickbeard after rebooting. That is: they are still there, but they're turned 'off' now, and can't be turned on again.
Code:
Sep  9 12:54:38 freenas manage.py: [plugins.utils:71] Couldn't retrieve http://192.168.1.6/plugins/minidlna/_s/status: No JSON object could be decoded: line 1 column 0 (char 0)

Strange that it's always those two, and only those two that act up.
 

sdspieg

Contributor
Joined
Aug 6, 2012
Messages
168
Oh and noobsauce80 - I'm sorry we noobs are SO predictable... I bet you also foresaw THIS right:
Code:
[root@freenas ~]# mkdir /mnt/usb                                                
[root@freenas ~]# mount -t ntfs /dev/da1s1 /mnt/usb                             
Error opening partition device: Operation not permitted.                        
Failed to startup volume: Operation not permitted.                              
Failed to mount '/dev/da1s1': Operation not permitted.                          
The NTFS partition is hibernated. Please resume Windows and turned it           
off properly, so mounting could be done safely.                                 
Mount failed.   


Any more suggestions?
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,526
I forsee... "user error" per my crystal ball :P

Actually I think that means that the file system was not properly detached. My guess is you unplugged the disk from the windows machine without a proper shutdown. The easiest way to fix the problem would be to plug the disk into a windows machine and then properly detach the drive or shutdown the windows machine.

You may be able to do a read only mount of the drive to but I don't know what the exact command would be.
 

sdspieg

Contributor
Joined
Aug 6, 2012
Messages
168
Thanks! Does anybody else know? I've tried all sorts of things on the Windows side (the microsoft kb on this; just shutting down the whole pc with the drive connected), but I still keep getting the same message. PLease note that I just want to write FROM that drive, so if anybody knew how to mount that drive read-only, that might also do the trick!
 

vaibhavyagnik

Dabbler
Joined
Aug 26, 2011
Messages
38
run a disk cleanup on that disk. then remove it safely. This will sort out any errors in the filesystem that are preventing freenas from mounting it.
 

mikeintexas

Dabbler
Joined
Mar 11, 2013
Messages
14
I know this necros the thread, but I just wanted to say thanks for this thread. I was about to post the exact same question (verbatim, pretty much) as the original poster, but found this thread. Question answered. Thanks!
 
Status
Not open for further replies.
Top