Bug#663433: udev: does not load acpiphp on ThinkPad T520 although it is needed for ExpressCard hotplugging

2012-03-12 Thread Bjørn Mork
Ben Hutchings b...@decadent.org.uk writes:

 We should build in whichever hotplug drivers can't be auto-loaded.

Even if it's known to break some hardware, as Greg KH confirmes in
http://www.spinics.net/lists/linux-pci/msg11140.html
?


Bjørn



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#663433: udev: does not load acpiphp on ThinkPad T520 although it is needed for ExpressCard hotplugging

2012-03-12 Thread Ben Hutchings
On Mon, 2012-03-12 at 09:31 +0100, Bjørn Mork wrote:
 Ben Hutchings b...@decadent.org.uk writes:
 
  We should build in whichever hotplug drivers can't be auto-loaded.
 
 Even if it's known to break some hardware, as Greg KH confirmes in
 http://www.spinics.net/lists/linux-pci/msg11140.html
 ?

This is terrible... there must be some way we can DTRT as it's just not
acceptable to require users to configure this.  I was under the
impression that RH had built-in acpiphp and pciehp now... Matthew?

Ben.

-- 
Ben Hutchings
Life would be so much easier if we could look at the source code.


signature.asc
Description: This is a digitally signed message part


Bug#663433: udev: does not load acpiphp on ThinkPad T520 although it is needed for ExpressCard hotplugging

2012-03-12 Thread Matthew Garrett
On Mon, Mar 12, 2012 at 03:30:24PM +, Ben Hutchings wrote:

 This is terrible... there must be some way we can DTRT as it's just not
 acceptable to require users to configure this.  I was under the
 impression that RH had built-in acpiphp and pciehp now... Matthew?

Any hardware that's broken by acpiphp is also broken by Windows. I've 
seen no evidence that anything exists in the real world that would be 
broken merely by loading this driver.

-- 
Matthew Garrett | mj...@srcf.ucam.org



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#663433: udev: does not load acpiphp on ThinkPad T520 although it is needed for ExpressCard hotplugging

2012-03-11 Thread Martin Steigerwald
Package: udev
Version: 175-3.1
Severity: normal

Dear Maintainer,

hotplugging of ExpressCards like my Silicon Image based Delock eSATA
controller does not work. The card is only detected when I insert
it before booting.

It is:

merkaba:~ lspci -nn | grep Sili
05:00.0 Mass storage controller [0180]: Silicon Image, Inc. SiI 3531 
[SATALink/SATARaid] Serial ATA Controller [1095:3531] (rev 01)

I suspect the Express Card slot is just connected to one of these
PCI express ports:

merkaba:~ lspci -nn | grep -i express
00:1c.0 PCI bridge [0604]: Intel Corporation 6 Series/C200 Series Chipset 
Family PCI Express Root Port 1 [8086:1c10] (rev b4)
00:1c.1 PCI bridge [0604]: Intel Corporation 6 Series/C200 Series Chipset 
Family PCI Express Root Port 2 [8086:1c12] (rev b4)
00:1c.3 PCI bridge [0604]: Intel Corporation 6 Series/C200 Series Chipset 
Family PCI Express Root Port 4 [8086:1c16] (rev b4)
00:1c.4 PCI bridge [0604]: Intel Corporation 6 Series/C200 Series Chipset 
Family PCI Express Root Port 5 [8086:1c18] (rev b4)
00:1f.0 ISA bridge [0601]: Intel Corporation QM67 Express Chipset Family LPC 
Controller [8086:1c4f] (rev 04)


When I put something like

# [Bug 35812] New: hotplug of Express Card eSATA controller in ThinkPad T520
# does not work
# https://bugzilla.kernel.org/show_bug.cgi?id=35812
acpiphp

in /etc/modules and rebuild initramfs hotplugging of ExpressCard´s works
as expected.

Expected results: udev loads acpiphp on the ThinkPad T520 and other
laptops with ExpressCard support. According to an article in c`t
Linux kompakt 1/2012 also quite some other business laptops are
affected by this.

I reported it upstream on kernel.org back then, but maybe it is more
of a userspace, of a udev issue, cause when the module is loaded
hot plugging of Express Cards does work as expected.

Thanks,
Martin

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (120, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages udev depends on:
ii  debconf [debconf-2.0]  1.5.41
ii  libc6  2.13-27
ii  libselinux12.1.9-2
ii  libudev0   175-3.1
ii  lsb-base   3.2+Debian30
ii  util-linux 2.20.1-4

Versions of packages udev recommends:
ii  pciutils  1:3.1.8-2
ii  usbutils  1:005-2

udev suggests no packages.

-- debconf information:
  udev/new_kernel_needed: false
  udev/title/upgrade:
  udev/reboot_needed:
  udev/sysfs_deprecated_incompatibility:



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#663433: udev: does not load acpiphp on ThinkPad T520 although it is needed for ExpressCard hotplugging

2012-03-11 Thread Marco d'Itri
reassign 663433 linux-2.6
thanks

On Mar 11, Martin Steigerwald mar...@lichtvoll.de wrote:

 I reported it upstream on kernel.org back then, but maybe it is more
 of a userspace, of a udev issue, cause when the module is loaded
 hot plugging of Express Cards does work as expected.
The module does not provide any aliases for autoloading.

-- 
ciao,
Marco


signature.asc
Description: Digital signature


Bug#663433: udev: does not load acpiphp on ThinkPad T520 although it is needed for ExpressCard hotplugging

2012-03-11 Thread Martin Steigerwald
Am Sonntag, 11. März 2012 schrieb Marco d'Itri:
 reassign 663433 linux-2.6
 thanks
 
 On Mar 11, Martin Steigerwald mar...@lichtvoll.de wrote:
  I reported it upstream on kernel.org back then, but maybe it is more
  of a userspace, of a udev issue, cause when the module is loaded
  hot plugging of Express Cards does work as expected.
 
 The module does not provide any aliases for autoloading.

Thanks for that ultra quick answer. I am willing to reopen the bug report 
at kernel.org if something should be changed upstream and I precisely 
understand what it is.

So please advice. Is it sufficient for ask for module aliases being added 
upstream? If I know how I can provide the necessary info for my ThinkPad 
T520.

Thanks and have a nice sunday,
-- 
Martin 'Helios' Steigerwald - http://www.Lichtvoll.de
GPG: 03B0 0D6C 0040 0710 4AFA  B82F 991B EAAC A599 84C7



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#663433: udev: does not load acpiphp on ThinkPad T520 although it is needed for ExpressCard hotplugging

2012-03-11 Thread Marco d'Itri
On Mar 11, Martin Steigerwald mar...@lichtvoll.de wrote:

 So please advice. Is it sufficient for ask for module aliases being added 
 upstream? If I know how I can provide the necessary info for my ThinkPad 
 T520.
I am not familiar with ExpressCard, so I do not know exactly what is 
needed.

-- 
ciao,
Marco


signature.asc
Description: Digital signature


Bug#663433: udev: does not load acpiphp on ThinkPad T520 although it is needed for ExpressCard hotplugging

2012-03-11 Thread Martin Steigerwald
Am Sonntag, 11. März 2012 schrieb Marco d'Itri:
 On Mar 11, Martin Steigerwald mar...@lichtvoll.de wrote:
  So please advice. Is it sufficient for ask for module aliases being
  added upstream? If I know how I can provide the necessary info for
  my ThinkPad T520.
 
 I am not familiar with ExpressCard, so I do not know exactly what is
 needed.

No problem. Maybe someone from the Debian kernel team knows. If not I can 
also ask upstream.

Sorry for not dropping cont...@bugs.debian.org.

Thanks,
-- 
Martin 'Helios' Steigerwald - http://www.Lichtvoll.de
GPG: 03B0 0D6C 0040 0710 4AFA  B82F 991B EAAC A599 84C7



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#663433: udev: does not load acpiphp on ThinkPad T520 although it is needed for ExpressCard hotplugging

2012-03-11 Thread Bjørn Mork
Martin Steigerwald mar...@lichtvoll.de writes:

 Am Sonntag, 11. März 2012 schrieb Marco d'Itri:
 On Mar 11, Martin Steigerwald mar...@lichtvoll.de wrote:
  So please advice. Is it sufficient for ask for module aliases being
  added upstream? If I know how I can provide the necessary info for
  my ThinkPad T520.
 
 I am not familiar with ExpressCard, so I do not know exactly what is
 needed.

 No problem. Maybe someone from the Debian kernel team knows. If not I can 
 also ask upstream.

The issue has already been discussed among the upstream experts. See e.g.
http://www.spinics.net/lists/linux-pci/msg11140.html
for an explanation why autoloading acpiphp on all machines historically
has been impossible.

Don't know if anything ever came out of this though:
http://www.spinics.net/lists/linux-pci/msg11148.html

If not, then I guess a distribution could add an init script which
checked DMI dates and loaded acpiphp by default on all modern machines.
It's a pity that users have to research this themselves to get
ExpressCard slots working.


Bjørn



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#663433: udev: does not load acpiphp on ThinkPad T520 although it is needed for ExpressCard hotplugging

2012-03-11 Thread Ben Hutchings
On Sun, 2012-03-11 at 23:00 +0100, Bjørn Mork wrote:
 Martin Steigerwald mar...@lichtvoll.de writes:
 
  Am Sonntag, 11. März 2012 schrieb Marco d'Itri:
  On Mar 11, Martin Steigerwald mar...@lichtvoll.de wrote:
   So please advice. Is it sufficient for ask for module aliases being
   added upstream? If I know how I can provide the necessary info for
   my ThinkPad T520.
  
  I am not familiar with ExpressCard, so I do not know exactly what is
  needed.
 
  No problem. Maybe someone from the Debian kernel team knows. If not I can 
  also ask upstream.
 
 The issue has already been discussed among the upstream experts. See e.g.
 http://www.spinics.net/lists/linux-pci/msg11140.html
 for an explanation why autoloading acpiphp on all machines historically
 has been impossible.
 
 Don't know if anything ever came out of this though:
 http://www.spinics.net/lists/linux-pci/msg11148.html
 
 If not, then I guess a distribution could add an init script which
 checked DMI dates and loaded acpiphp by default on all modern machines.
 It's a pity that users have to research this themselves to get
 ExpressCard slots working.

We should build in whichever hotplug drivers can't be auto-loaded.

Ben.

-- 
Ben Hutchings
For every action, there is an equal and opposite criticism. - Harrison


signature.asc
Description: This is a digitally signed message part