You are not logged in.
Hello everyone,
I have a weird problem and I don't seem to find any solution by myself. Let me give you some background info on what I plan to do.
I purchased an express card to eSata/USB 3.0 adapter and want to make it work on my laptops. Precisely, it is this card: http://www.amazon.de/Notebook-Express-C … B007F8TXZ8
1: Lenovo X200s (1,6GHz) running Ubuntu 14.04 amd64
2: Lenovo X200s (1,6GHz) running Debian 7 amd64
3: Lenovo X200T (1,6GHz) running ArchLinux amd64
The card does work fine only on the Ubuntu machine. I would like to make it run on the two other ones as well. I thought I might get help here getting it to work on machine 3 and then transfer the results to machine 2. What really matters to me is eSata, btw, I do not even have a USB 3.0 device to test with.
First of all, here's what happens when I plug the card into machine 1:
user@1-ubuntu:~$ uname -r
3.13.0-39-generic
user@1-ubuntu:~$ dmesg | tail -n 44 # that's where it begins
[ 1953.576472] pciehp 0000:00:1c.3:pcie04: Card present on Slot(3)
[ 1953.728077] pci 0000:05:00.0: [1b21:1042] type 00 class 0x0c0330
[ 1953.728119] pci 0000:05:00.0: reg 0x10: [mem 0x00000000-0x00007fff 64bit]
[ 1953.728304] pci 0000:05:00.0: PME# supported from D3hot
[ 1953.736062] pci 0000:05:00.0: BAR 0: assigned [mem 0xf0000000-0xf0007fff 64bit]
[ 1953.736087] pcieport 0000:00:1c.3: PCI bridge to [bus 05-0c]
[ 1953.736092] pcieport 0000:00:1c.3: bridge window [io 0x2000-0x2fff]
[ 1953.736098] pcieport 0000:00:1c.3: bridge window [mem 0xf0000000-0xf1ffffff]
[ 1953.736104] pcieport 0000:00:1c.3: bridge window [mem 0xf2900000-0xf29fffff 64bit pref]
[ 1953.736133] pci 0000:05:00.0: no hotplug settings from platform
[ 1953.736143] pci 0000:05:00.0: enabling device (0000 -> 0002)
[ 1953.736398] xhci_hcd 0000:05:00.0: xHCI Host Controller
[ 1953.736406] xhci_hcd 0000:05:00.0: new USB bus registered, assigned bus number 9
[ 1953.743621] xhci_hcd 0000:05:00.0: irq 46 for MSI/MSI-X
[ 1953.743629] xhci_hcd 0000:05:00.0: irq 49 for MSI/MSI-X
[ 1953.743635] xhci_hcd 0000:05:00.0: irq 50 for MSI/MSI-X
[ 1953.743784] usb usb9: New USB device found, idVendor=1d6b, idProduct=0002
[ 1953.743788] usb usb9: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1953.743791] usb usb9: Product: xHCI Host Controller
[ 1953.743794] usb usb9: Manufacturer: Linux 3.13.0-39-generic xhci_hcd
[ 1953.743796] usb usb9: SerialNumber: 0000:05:00.0
[ 1953.743973] hub 9-0:1.0: USB hub found
[ 1953.743990] hub 9-0:1.0: 2 ports detected
[ 1953.744147] xhci_hcd 0000:05:00.0: xHCI Host Controller
[ 1953.744153] xhci_hcd 0000:05:00.0: new USB bus registered, assigned bus number 10
[ 1953.744218] usb usb10: New USB device found, idVendor=1d6b, idProduct=0003
[ 1953.744221] usb usb10: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1953.744224] usb usb10: Product: xHCI Host Controller
[ 1953.744227] usb usb10: Manufacturer: Linux 3.13.0-39-generic xhci_hcd
[ 1953.744229] usb usb10: SerialNumber: 0000:05:00.0
[ 1953.744366] hub 10-0:1.0: USB hub found
[ 1953.744383] hub 10-0:1.0: 2 ports detected
[ 1954.447851] usb 10-1: new SuperSpeed USB device number 2 using xhci_hcd
[ 1954.460505] usb 10-1: Parent hub missing LPM exit latency info. Power management will be impacted.
[ 1954.461215] usb 10-1: New USB device found, idVendor=174c, idProduct=5106
[ 1954.461219] usb 10-1: New USB device strings: Mfr=2, Product=3, SerialNumber=1
[ 1954.461222] usb 10-1: Product: AS2105
[ 1954.461225] usb 10-1: Manufacturer: ASMedia
[ 1954.461228] usb 10-1: SerialNumber: 00000000000000000000
[ 1954.463146] usb-storage 10-1:1.0: USB Mass Storage device detected
[ 1954.463279] scsi7 : usb-storage 10-1:1.0
[ 1955.460385] scsi 7:0:0:0: Direct-Access ASMT 2105 0 PQ: 0 ANSI: 5
[ 1955.465099] sd 7:0:0:0: Attached scsi generic sg1 type 0
[ 1955.466483] sd 7:0:0:0: [sdb] Attached SCSI removable disk
I wouldn't know of any attached disks, and neither does it show up. Note that it is only the card I plugged in, no hard drive attached to it.
hburg1234@packrehsel:~$ lspci -k
00:00.0 Host bridge: Intel Corporation Mobile 4 Series Chipset Memory Controller Hub (rev 07)
Subsystem: Lenovo Device 20e0
Kernel driver in use: agpgart-intel
00:02.0 VGA compatible controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)
Subsystem: Lenovo Device 20e4
Kernel driver in use: i915
00:02.1 Display controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)
Subsystem: Lenovo Device 20e4
00:03.0 Communication controller: Intel Corporation Mobile 4 Series Chipset MEI Controller (rev 07)
Subsystem: Lenovo Device 20e6
Kernel driver in use: mei_me
00:03.3 Serial controller: Intel Corporation Mobile 4 Series Chipset AMT SOL Redirection (rev 07)
Subsystem: Lenovo Device 20ec
Kernel driver in use: serial
00:19.0 Ethernet controller: Intel Corporation 82567LM Gigabit Network Connection (rev 03)
Subsystem: Lenovo Device 20ee
Kernel driver in use: e1000e
00:1a.0 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 (rev 03)
Subsystem: Lenovo Device 20f0
Kernel driver in use: uhci_hcd
00:1a.1 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 (rev 03)
Subsystem: Lenovo Device 20f0
Kernel driver in use: uhci_hcd
00:1a.2 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6 (rev 03)
Subsystem: Lenovo Device 20f0
Kernel driver in use: uhci_hcd
00:1a.7 USB controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 (rev 03)
Subsystem: Lenovo Device 20f1
Kernel driver in use: ehci-pci
00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03)
Subsystem: Lenovo Device 20f2
Kernel driver in use: snd_hda_intel
00:1c.0 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 (rev 03)
Kernel driver in use: pcieport
00:1c.1 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 2 (rev 03)
Kernel driver in use: pcieport
00:1c.3 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 4 (rev 03)
Kernel driver in use: pcieport
00:1d.0 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 03)
Subsystem: Lenovo Device 20f0
Kernel driver in use: uhci_hcd
00:1d.1 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 03)
Subsystem: Lenovo Device 20f0
Kernel driver in use: uhci_hcd
00:1d.2 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 03)
Subsystem: Lenovo Device 20f0
Kernel driver in use: uhci_hcd
00:1d.7 USB controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 03)
Subsystem: Lenovo Device 20f1
Kernel driver in use: ehci-pci
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 93)
00:1f.0 ISA bridge: Intel Corporation ICH9M-E LPC Interface Controller (rev 03)
Subsystem: Lenovo Device 20f5
Kernel driver in use: lpc_ich
00:1f.2 SATA controller: Intel Corporation 82801IBM/IEM (ICH9M/ICH9M-E) 4 port SATA Controller [AHCI mode] (rev 03)
Subsystem: Lenovo Device 20f8
Kernel driver in use: ahci
00:1f.3 SMBus: Intel Corporation 82801I (ICH9 Family) SMBus Controller (rev 03)
Subsystem: Lenovo Device 20f9
03:00.0 Network controller: Intel Corporation PRO/Wireless 5100 AGN [Shiloh] Network Connection
Subsystem: Intel Corporation WiFi Link 5100 AGN
Kernel driver in use: iwlwifi
05:00.0 USB controller: ASMedia Technology Inc. ASM1042 SuperSpeed USB Host Controller
Subsystem: Device 174c:2104
Kernel driver in use: xhci_hcd
The last one seems to be important to me, so here's a verbose output on that one.
user@1-ubuntu:~$ lspci -v | tail -n 8
05:00.0 USB controller: ASMedia Technology Inc. ASM1042 SuperSpeed USB Host Controller (prog-if 30 [XHCI])
Subsystem: Device 174c:2104
Physical Slot: 3
Flags: bus master, fast devsel, latency 0, IRQ 19
Memory at f0000000 (64-bit, non-prefetchable) [size=32K]
Capabilities: <access denied>
Kernel driver in use: xhci_hcd
user@1-ubuntu:~$ sudo udevadm monitor -k
monitor will print the received events for:
KERNEL - the kernel uevent
KERNEL[2585.956558] add /devices/pci0000:00/0000:00:1c.3/0000:05:00.0 (pci)
KERNEL[2585.972086] add /devices/pci0000:00/0000:00:1c.3/0000:05:00.0/usb9 (usb)
KERNEL[2585.972116] add /devices/pci0000:00/0000:00:1c.3/0000:05:00.0/usb9/9-0:1.0 (usb)
KERNEL[2585.975736] add /devices/pci0000:00/0000:00:1c.3/0000:05:00.0/usb10 (usb)
KERNEL[2585.975763] add /devices/pci0000:00/0000:00:1c.3/0000:05:00.0/usb10/10-0:1.0 (usb)
KERNEL[2586.689218] add /devices/pci0000:00/0000:00:1c.3/0000:05:00.0/usb10/10-1 (usb)
KERNEL[2586.690935] add /devices/pci0000:00/0000:00:1c.3/0000:05:00.0/usb10/10-1/10-1:1.0 (usb)
KERNEL[2586.695723] add /devices/pci0000:00/0000:00:1c.3/0000:05:00.0/usb10/10-1/10-1:1.0/host9 (scsi)
KERNEL[2586.695757] add /devices/pci0000:00/0000:00:1c.3/0000:05:00.0/usb10/10-1/10-1:1.0/host9/scsi_host/host9 (scsi_host)
KERNEL[2587.692633] add /devices/pci0000:00/0000:00:1c.3/0000:05:00.0/usb10/10-1/10-1:1.0/host9/target9:0:0 (scsi)
KERNEL[2587.692667] add /devices/pci0000:00/0000:00:1c.3/0000:05:00.0/usb10/10-1/10-1:1.0/host9/target9:0:0/9:0:0:0 (scsi)
KERNEL[2587.692691] add /devices/pci0000:00/0000:00:1c.3/0000:05:00.0/usb10/10-1/10-1:1.0/host9/target9:0:0/9:0:0:0/scsi_disk/9:0:0:0 (scsi_disk)
KERNEL[2587.692708] add /devices/pci0000:00/0000:00:1c.3/0000:05:00.0/usb10/10-1/10-1:1.0/host9/target9:0:0/9:0:0:0/scsi_device/9:0:0:0 (scsi_device)
KERNEL[2587.692824] add /devices/pci0000:00/0000:00:1c.3/0000:05:00.0/usb10/10-1/10-1:1.0/host9/target9:0:0/9:0:0:0/scsi_generic/sg1 (scsi_generic)
KERNEL[2587.692898] add /devices/pci0000:00/0000:00:1c.3/0000:05:00.0/usb10/10-1/10-1:1.0/host9/target9:0:0/9:0:0:0/bsg/9:0:0:0 (bsg)
KERNEL[2587.699636] add /devices/virtual/bdi/8:16 (bdi)
KERNEL[2587.699771] add /devices/pci0000:00/0000:00:1c.3/0000:05:00.0/usb10/10-1/10-1:1.0/host9/target9:0:0/9:0:0:0/block/sdb (block)
KERNEL[2587.703694] change /devices/pci0000:00/0000:00:1c.3/0000:05:00.0/usb10/10-1/10-1:1.0/host9/target9:0:0/9:0:0:0/block/sdb (block)
KERNEL[2587.709178] change /devices/pci0000:00/0000:00:1c.3/0000:05:00.0/usb10/10-1/10-1:1.0/host9/target9:0:0/9:0:0:0/block/sdb (block)
Apart from the supposedly found block device (can't judge) I am not sure if there is anything that is really eSata specific and not USB 3.0 related.
So far what I think I can tell from the output is that the modules
pciehp pci pcieport
seem to be dealing with the express card as such whereas
xhci_hcd
takes care of USB 3.0. I cannot see any clear reference to the eSata connector, which might not be surprising if the bus is just passed through (again: not sure).
For completeness' sake here comes the output of
user@1-ubuntu:~$ lsmod | tee before
Module Size Used by
ctr 13049 1
ccm 17773 1
pci_stub 12622 1
vboxpci 23194 0
vboxnetadp 25670 0
vboxnetflt 27613 0
vboxdrv 339502 3 vboxnetadp,vboxnetflt,vboxpci
cuse 13445 3
dm_crypt 23177 1
btusb 32412 0
cdc_ether 14351 0
usbnet 43913 1 cdc_ether
cdc_acm 28803 0
mii 13934 1 usbnet
cdc_wdm 19053 0
rfcomm 69160 8
bnep 19624 2
bluetooth 391136 22 bnep,btusb,rfcomm
binfmt_misc 17468 1
coretemp 13435 0
kvm_intel 143148 0
kvm 451729 1 kvm_intel
thinkpad_acpi 81013 0
nvram 14411 1 thinkpad_acpi
serio_raw 13462 0
arc4 12608 2
snd_seq_midi 13324 0
snd_seq_midi_event 14899 1 snd_seq_midi
snd_hda_codec_conexant 57441 1
iwldvm 232285 0
snd_hda_intel 56451 3
mac80211 630653 1 iwldvm
snd_hda_codec 192906 2 snd_hda_codec_conexant,snd_hda_intel
snd_hwdep 13602 1 snd_hda_codec
snd_rawmidi 30144 1 snd_seq_midi
lpc_ich 21080 0
iwlwifi 169932 1 iwldvm
snd_seq 61560 2 snd_seq_midi_event,snd_seq_midi
snd_pcm 102099 2 snd_hda_codec,snd_hda_intel
mei_me 18627 0
cfg80211 484040 3 iwlwifi,mac80211,iwldvm
snd_page_alloc 18710 2 snd_pcm,snd_hda_intel
mei 82276 1 mei_me
snd_seq_device 14497 3 snd_seq,snd_rawmidi,snd_seq_midi
snd_timer 29482 2 snd_pcm,snd_seq
snd 69322 17 snd_hwdep,snd_timer,snd_hda_codec_conexant,snd_pcm,snd_seq,snd_rawmidi,snd_hda_codec,snd_hda_intel,thinkpad_acpi,snd_seq_device,snd_seq_midi
soundcore 12680 1 snd
parport_pc 32701 0
ppdev 17671 0
mac_hid 13205 0
tp_smapi 28367 0
thinkpad_ec 14449 1 tp_smapi
lp 17759 0
parport 42348 3 lp,ppdev,parport_pc
i915 783961 2
psmouse 106714 0
ahci 25819 3
libahci 32716 1 ahci
i2c_algo_bit 13413 1 i915
e1000e 254433 0
drm_kms_helper 55071 1 i915
drm 303102 3 i915,drm_kms_helper
ptp 18933 1 e1000e
pps_core 19382 1 ptp
video 19476 1 i915
wmi 19177 0
and a list of the newly loaded modules:
user@1-ubuntu:~$ diff before <(lsmod)
1a2
> usb_storage 62209 0
Now, on my Arch machine the situation is as follows when the card is plugged in:
user@3-arch:~$ uname -r
3.17.2-1-ARCH
user@3-arch:~$ sudo udevadm monitor -k
monitor will print the received events for:
KERNEL - the kernel uevent
user@3-arch:~$ lsmod
Module Size Used by
sr_mod 21903 0
cdrom 47479 1 sr_mod
hid_generic 12393 0
usbhid 48603 0
hid 102220 2 hid_generic,usbhid
cdc_ether 12564 0
usbnet 34978 1 cdc_ether
cdc_acm 30362 0
cdc_wdm 17427 0
mii 12675 1 usbnet
ctr 12927 0
ccm 17534 0
fuse 87410 3
joydev 17063 0
wacom_w8001 12706 0
serport 12842 1
mousedev 17272 0
iTCO_wdt 12831 0
iTCO_vendor_support 12649 1 iTCO_wdt
coretemp 12820 0
kvm 417429 0
pcspkr 12595 0
psmouse 107214 0
evdev 21544 20
mac_hid 12633 0
serio_raw 12849 0
i2c_i801 16965 0
snd_hda_codec_conexant 21835 1
snd_hda_codec_generic 63126 1 snd_hda_codec_conexant
arc4 12536 2
iwldvm 184847 0
mac80211 604456 1 iwldvm
i915 905750 2
lpc_ich 20768 0
iwlwifi 156837 1 iwldvm
snd_hda_intel 26387 0
snd_hda_controller 26938 1 snd_hda_intel
cfg80211 445286 3 iwlwifi,mac80211,iwldvm
thinkpad_acpi 69074 0
e1000e 215686 0
snd_hda_codec 108536 4 snd_hda_codec_conexant,snd_hda_codec_generic,snd_hda_intel,snd_hda_controller
drm_kms_helper 80934 1 i915
shpchp 35210 0
snd_hwdep 17244 1 snd_hda_codec
snd_pcm 88487 3 snd_hda_codec,snd_hda_intel,snd_hda_controller
ptp 17692 1 e1000e
pps_core 17225 1 ptp
snd_timer 26614 1 snd_pcm
wmi 17339 0
drm 259106 4 i915,drm_kms_helper
nvram 13034 1 thinkpad_acpi
thermal 17559 0
snd 73436 8 snd_hwdep,snd_timer,snd_hda_codec_conexant,snd_pcm,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel,thinkpad_acpi
soundcore 13031 2 snd,snd_hda_codec
led_class 12859 2 iwldvm,thinkpad_acpi
rfkill 18867 3 cfg80211,thinkpad_acpi
ac 12715 0
hwmon 12930 2 coretemp,thinkpad_acpi
acpi_cpufreq 17218 1
battery 17452 0
i2c_algo_bit 12744 1 i915
mei_me 17900 0
tpm_tis 17182 0
i2c_core 50152 5 drm,i915,i2c_i801,drm_kms_helper,i2c_algo_bit
tpm 31467 1 tpm_tis
mei 75079 1 mei_me
intel_agp 17432 0
intel_gtt 17848 3 i915,intel_agp
video 18043 1 i915
processor 27777 3 acpi_cpufreq
button 12953 1 i915
sch_fq_codel 17343 6
tp_smapi 27621 0
thinkpad_ec 12813 1 tp_smapi
ext4 497696 3
crc16 12343 1 ext4
mbcache 17171 1 ext4
jbd2 86417 1 ext4
sha256_ssse3 25692 2
sha256_generic 16804 1 sha256_ssse3
ecb 12737 0
cbc 12696 1
algif_skcipher 17051 0
af_alg 12988 1 algif_skcipher
dm_crypt 22551 1
dm_mod 93490 15 dm_crypt
sd_mod 44398 3
crct10dif_generic 12581 1
crc_t10dif 12431 1 sd_mod
crct10dif_common 12356 2 crct10dif_generic,crc_t10dif
atkbd 22254 0
libps2 12739 2 atkbd,psmouse
ata_generic 12490 0
ahci 33291 2
libahci 27158 1 ahci
pata_acpi 12771 0
uhci_hcd 43507 0
ehci_pci 12512 0
ehci_hcd 69939 1 ehci_pci
libata 181518 4 ahci,pata_acpi,libahci,ata_generic
usbcore 199381 9 uhci_hcd,ehci_hcd,ehci_pci,usbhid,usbnet,cdc_acm,cdc_wdm,cdc_ether
usb_common 12440 1 usbcore
scsi_mod 147543 3 libata,sd_mod,sr_mod
i8042 18002 1 libps2
serio 18282 9 serio_raw,atkbd,i8042,serport,wacom_w8001,psmouse
Sticking to my suspicion that this might just be a USB related issue and eSata might still work due to some sort of passthrough, I attached the very eSata drive that I could mount on Ubuntu. It did not work.
I then researched and found this blog post: http://okomestudio.net/biboroku/?p=1360
So I downloaded the pkgbuild for the arch linux core kernel and checked the config. It matched the recommendations.
Another hint I found was to unload acpiphp and force-reload it. However, this tip does not seem to apply to the arch kernel:
[user@3-arch:~$ sudo rmmod acpiphp
rmmod: ERROR: Module acpiphp is builtin.
Anyone any idea on how to make the card work?
Thank you!
Last edited by archery1234 (2014-11-15 10:46:35)
Offline
For anyone else seeking help on that: Card slot was deactivated in 2/3 Bioses.
Offline