lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Fri, 29 Aug 2008 16:36:45 +0200
From:	""J.A. Magallón"" <jamagallon@....com>
To:	Linux-Kernel <linux-kernel@...r.kernel.org>
Subject: Unhiding devices in pci bus

Hi all...

I have an Aspire One, and the JMicron SD Card reader is hidden from  
sysfs
space, it only shows if I do an lspci -H1 (direct hardware access):
...
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express  
Port 1 (rev 02)
00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express  
Port 2 (rev 02)
00:1c.2 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express  
Port 3 (rev 02)
00:1c.3 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express  
Port 4 (rev 02)
...
04:00.0 System peripheral: JMicron Technologies, Inc. Device 2382
04:00.2 SD Host controller: JMicron Technologies, Inc. Device 2381
04:00.3 System peripheral: JMicron Technologies, Inc. Device 2383
04:00.4 System peripheral: JMicron Technologies, Inc. Device 2384

one:~# lspci -t
-[0000:00]-+-00.0
            +-02.0
            +-02.1
            +-1b.0
            +-1c.0-[0000:01]--
            +-1c.1-[0000:02]----00.0
            +-1c.2-[0000:03]----00.0
            +-1c.3-[0000:04]--
            +-1d.0
            +-1d.1
            +-1d.2
            +-1d.3
            +-1d.7
            +-1e.0-[0000:05]--
            +-1f.0
            +-1f.2
            \-1f.3

one:~# lspci -H1 -t
-[0000:00]-+-00.0
            +-02.0
            +-02.1
            +-1b.0
            +-1c.0-[0000:01]--
            +-1c.1-[0000:02]--
            +-1c.2-[0000:03]----00.0
            +-1c.3-[0000:04]--+-00.0
            |                 +-00.2
            |                 +-00.3
            |                 \-00.4
            +-1d.0
            +-1d.1
            +-1d.2
            +-1d.3
            +-1d.7
            +-1e.0-[0000:05]--
            +-1f.0
            +-1f.2
            \-1f.3

lspci -M:

...
00: Primary host bus
	1e.0 Bridge to 05-05
	1c.3 Bridge to 04-04
	1c.2 Bridge to 03-03
	1c.1 Bridge to 02-02
	1c.0 Bridge to 01-01
...

If I load the driver (sdhci), it does not detect anything. It looks like
it is hidden/hung after one of the pci bridges, how can I make this  
device
visible for the driver ?

Thanks.

--
J.A. Magallon <jamagallon()ono!com>     \               Software is  
like sex:
                                          \         It's better when  
it's free
Mandriva Linux release 2009.0 (Cooker) for i586
Linux 2.6.25-jam13 (gcc 4.3.1 20080515 (GCC) #1 SMP



--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ