[Mageia-dev] [RFC] new ldetect, using libkmod

Colin Guthrie mageia at colin.guthr.ie
Mon Jan 9 14:37:37 CET 2012


'Twas brillig, and Thierry Vignaud at 06/01/12 10:56 did gyre and gimble:
> Hi
> 
> I've uploaded in core/updates_testing a new ldetect, using libkmod instead
> of libmodprobe. I've also fixed several memleaks.
> There you'll find a drakxtools rebuild for this new libldetect.
> 
> This result in:
> - faster lspcidrake
> - using quite less RAM ; eg on my test machine:
>   o harddrake2 uses 106M of resident memory instead of 127
>   o mcc utilise uses 47M of resident memory instead of 48M
> 
> Output of lspcidrake should be the same as before modulo for some ISA bridges.
> Please report any significant change.
> 
> How to test:
>   lspcidrake > /tmp/pci1
>   urpmi.update 'Core Updates Testing'
>   urpmi --media='Core Updates Testing' ldetect
>   lspcidrake > /tmp/pci2
>   diff -u /tmp/pci[12]

My diff:

[root at jimmy ~]# diff -u /tmp/pci[12]
--- /tmp/pci1	2012-01-09 11:26:05.114996239 +0000
+++ /tmp/pci2	2012-01-09 13:33:27.295455837 +0000
@@ -6,7 +6,7 @@
 iwl4965         : Intel Corporation|PRO/Wireless 4965 AG or AGN
[Kedron] Network Connection [NETWORK_OTHER] (rev: 61)
 i2c_i801        : Intel Corporation|N10/ICH 7 Family SMBus Controller
[SERIAL_SMBUS] (rev: 01)
 ata_piix        : Intel Corporation|82801GBM/GHM (ICH7-M Family) SATA
Controller [IDE mode] [STORAGE_IDE] (rev: 01)
-iTCO_wdt        : Intel Corporation|82801GBM (ICH7-M) LPC Interface
Bridge [BRIDGE_ISA] (rev: 01)
+leds_ss4200     : Intel Corporation|82801GBM (ICH7-M) LPC Interface
Bridge [BRIDGE_ISA] (rev: 01)
 unknown         : Intel Corporation|82801 Mobile PCI Bridge
[BRIDGE_PCI] (rev: e1)
 ehci_hcd        : Intel Corporation|N10/ICH 7 Family USB2 EHCI
Controller [SERIAL_USB] (rev: 01)
 uhci_hcd        : Intel Corporation|N10/ICH 7 Family USB UHCI
Controller #4 [SERIAL_USB] (rev: 01)


So I think a small regression (tho it is in BRIDGE_ISA as you mentioned).

Not sure I want the leds_ss4200 driver here :D

Col

-- 

Colin Guthrie
colin(at)mageia.org
http://colin.guthr.ie/

Day Job:
  Tribalogic Limited http://www.tribalogic.net/
Open Source:
  Mageia Contributor http://www.mageia.org/
  PulseAudio Hacker http://www.pulseaudio.org/
  Trac Hacker http://trac.edgewall.org/


More information about the Mageia-dev mailing list