Hi,

Thanks for that tip.

I followed your instructions and it looks like it is using the pcieport module

root@Devil:~ # ll /sys/class/block/sdb
lrwxrwxrwx 1 root root 0 Mar  3 06:24 /sys/class/block/sdb -> ../../devices/pci0000:00/0000:00:17.0/0000:01:00.0/00b

root@Devil:~ # lspci -v
...

00:17.0 PCI bridge: Intel Corporation Atom Processor E6xx PCI Express Port 1 (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0
        Bus: primary=00, secondary=01, subordinate=02, sec-latency=0
        I/O behind bridge: 00001000-00001fff
        Memory behind bridge: a0000000-a0ffffff
        Prefetchable memory behind bridge: 80000000-801fffff
        Capabilities: [40] Express Root Port (Slot-), MSI 00
        Capabilities: [90] Subsystem: Gammagraphx, Inc. (or missing ID) Device 0000
        Capabilities: [a0] Power Management version 2
        Kernel driver in use: pcieport

Although doing a lsmod, I don't see that module loaded,

root@Devil:~ # lsmod
Module                  Size  Used by
ipv6                  274019  12
dm_mod                 66521  0
md_mod                100338  0
i2c_isch                3124  0
i2c_core               18870  1 i2c_isch
ahci                   19843  1
libahci                19102  1 ahci
libata                163311  2 ahci,libahci
uas                     8089  0
e1000e                138681  0
pch_gbe                32970  0
pch_phub                6506  0
mii                     3787  1 pch_gbe
lpc_sch                 2464  0
shpchp                 25273  0
pci_hotplug            22206  1 shpchp
cn                      3905  0
loop                   67443  2





On 02/23/2012 08:06 PM, Serge Leschinsky wrote:
Hi Martin,

On 02/23/2012 06:05 PM, Martin Glazer wrote:

Here is the output of fdisk -l (the USB device is seen as /dev/sda)
...
Any other thoughts?
find the PCI address for the device

example:

root@hyper:/sys/class/block # ls -l /sys/class/block/sdb
lrwxrwxrwx 1 root root 0 Feb 22 18:09 /sys/class/block/sdb -> 
../../devices/pci0000:00/0000:00:1a.7/usb1/1-1/1-1:1.0/host0/target0:0:0/0:0:0:0/block/sdb

(address is 00:1a.7)

then find what modules the PCI device uses.

example:
00:1a.7 USB controller: Intel Corporation 82801JI (ICH10 Family) USB2 EHCI 
Controller #2 (prog-if 20 [EHCI])
         Subsystem: Super Micro Computer Inc Device 0006
         Flags: bus master, medium devsel, latency 0, IRQ 18
         Memory at fbeda000 (32-bit, non-prefetchable) [size=1K]
         Capabilities: [50] Power Management version 2
         Capabilities: [58] Debug port: BAR=1 offset=00a0
         Capabilities: [98] PCI Advanced Features
         Kernel driver in use: ehci_hcd

(kernel driver is ehci_hcd).


If it doesn't work for some reason, just post "lspci -v | grep "Kernel driver in 
use:" I'll try to find what driver is absent in initrd.


Serge