[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How coldplug works



On Tuesday, 23 August 2005 09:57, Marco d'Itri wrote:
> On Aug 23, Isaac Clerencia <isaac@debian.org> wrote:
> > I've just tried it and it has worked really great, except it has not
> > loaded mousedev module. Everything else has worked, and it's incredible
> > fast (at
>
> It's supposed to, do you mind investigating? Do not delete the
> generated events, etc. Try manually running the init script a second
> time too.
> I noticed that on my system the first time it's run the ehci_hcd is not
> loaded, but I have not yet found why.

Running the script manually for a second time didn't worked.
The system runs Debian Sid with coldplug 0.0, udev 0.068-2 and kernel 
2.6.12-1-686 from Sid. It's a Thinkpad T42 laptop, with a Touchpad (which 
uses psmouse module), an USB mouse (which uses mousedev) and a Radeon card.

I attach the list of modules loaded with coldplug and hotplug, and a diff 
between the ordered lists.

The main differences are that coldplug enables de framebuffer by loading 
"radeonfb" while hotplug only uses "radeon", and that coldplug doesn't load 
neither psmouse nor mousedev. Both load successfully the e1000 driver 
(ethernet card) and ipw2200 driver (wireless card).

Best regards

-- 
Isaac Clerencia at Warp Networks, http://www.warp.es
Work: <isaac@warp.es>   | Debian: <isaac@debian.org>

Attachment: pgpDK9MhxOQg0.pgp
Description: PGP signature

Module                  Size  Used by
radeon                 80576  0 
drm                    68340  1 radeon
rfcomm                 41052  3 
l2cap                  25604  5 rfcomm
bluetooth              50148  4 rfcomm,l2cap
ipv6                  262880  12 
parport_pc             36772  1 
lp                     12228  0 
parport                37128  2 parport_pc,lp
thermal                13288  0 
fan                     4580  0 
button                  6480  0 
processor              22100  1 thermal
ac                      4676  0 
battery                 9412  0 
pcmcia                 27176  4 
usbhid                 36576  0 
af_packet              22248  0 
shpchp                 99716  0 
pci_hotplug            28628  1 shpchp
tpm_atmel               4864  0 
intel_agp              24156  1 
agpgart                35688  2 drm,intel_agp
snd_intel8x0m          19588  0 
snd_ac97_codec         84120  1 snd_intel8x0m
snd_pcm                93608  2 snd_intel8x0m,snd_ac97_codec
i2c_i801                8780  0 
radeonfb               94208  1 
snd_timer              24676  1 snd_pcm
snd                    56580  4 snd_intel8x0m,snd_ac97_codec,snd_pcm,snd_timer
snd_page_alloc          9956  2 snd_intel8x0m,snd_pcm
i2c_algo_bit            9640  1 radeonfb
i2c_core               21840  3 i2c_i801,radeonfb,i2c_algo_bit
tpm_nsc                 6656  0 
tpm                    10496  2 tpm_atmel,tpm_nsc
yenta_socket           23592  2 
rsrc_nonstatic         13792  1 yenta_socket
pcmcia_core            52084  3 pcmcia,yenta_socket,rsrc_nonstatic
ehci_hcd               35432  0 
uhci_hcd               32208  0 
usbcore               122588  4 usbhid,ehci_hcd,uhci_hcd
i810_audio             37076  0 
ac97_codec             20172  1 i810_audio
soundcore               9760  2 snd,i810_audio
ipw2200               186984  0 
firmware_class         10208  1 ipw2200
ieee80211              52100  1 ipw2200
ieee80211_crypt         5988  2 ipw2200,ieee80211
e1000                 106740  0 
dm_mod                 60796  0 
ide_cd                 43236  0 
cdrom                  40672  1 ide_cd
ext3                  142120  7 
jbd                    56984  1 ext3
mbcache                 9316  1 ext3
ide_disk               18752  9 
ide_generic             1216  0 [permanent]
via82cxxx              13884  0 [permanent]
trm290                  4260  0 [permanent]
triflex                 3712  0 [permanent]
slc90e66                5728  0 [permanent]
sis5513                16552  0 [permanent]
siimage                12480  0 [permanent]
serverworks             9096  0 [permanent]
sc1200                  7360  0 [permanent]
rz1000                  2464  0 [permanent]
piix                   10372  0 [permanent]
pdc202xx_old           11232  0 [permanent]
opti621                 4388  0 [permanent]
ns87415                 4296  0 [permanent]
hpt366                 20448  0 [permanent]
hpt34x                  5184  0 [permanent]
generic                 3840  0 [permanent]
cy82c693                4740  0 [permanent]
cs5530                  5376  0 [permanent]
cs5520                  4608  0 [permanent]
cmd64x                 11964  0 [permanent]
atiixp                  5936  0 [permanent]
amd74xx                14428  0 [permanent]
alim15x3               12332  0 [permanent]
aec62xx                 7392  0 [permanent]
pdc202xx_new            9312  0 [permanent]
ide_core              130708  28 ide_cd,ide_disk,ide_generic,via82cxxx,trm290,triflex,slc90e66,sis5513,siimage,serverworks,sc1200,rz1000,piix,pdc202xx_old,opti621,ns87415,hpt366,hpt34x,generic,cy82c693,cs5530,cs5520,cmd64x,atiixp,amd74xx,alim15x3,aec62xx,pdc202xx_new
unix                   28016  42 
fbcon                  40000  71 
tileblit                2272  1 fbcon
font                    8224  1 fbcon
bitblit                 5984  1 fbcon
vesafb                  8024  0 
cfbcopyarea             3936  2 radeonfb,vesafb
cfbimgblt               2880  2 radeonfb,vesafb
cfbfillrect             4192  2 radeonfb,vesafb
softcursor              2240  2 radeonfb,vesafb
capability              4648  0 
commoncap               6976  1 capability
--- coldplug.modules.sort	2005-08-23 19:06:35.000000000 +0200
+++ hotplug.modules.sort	2005-08-23 19:06:41.000000000 +0200
@@ -1,7 +1,7 @@
 ac                      4676  0 
 ac97_codec             20172  1 i810_audio
 aec62xx                 7392  0 [permanent]
-af_packet              22248  0 
+af_packet              22248  2 
 agpgart                35688  2 drm,intel_agp
 alim15x3               12332  0 [permanent]
 amd74xx                14428  0 [permanent]
@@ -12,28 +12,30 @@
 button                  6480  0 
 capability              4648  0 
 cdrom                  40672  1 ide_cd
-cfbcopyarea             3936  2 radeonfb,vesafb
-cfbfillrect             4192  2 radeonfb,vesafb
-cfbimgblt               2880  2 radeonfb,vesafb
+cfbcopyarea             3936  1 vesafb
+cfbfillrect             4192  1 vesafb
+cfbimgblt               2880  1 vesafb
 cmd64x                 11964  0 [permanent]
 commoncap               6976  1 capability
+crc_ccitt               1984  1 irda
 cs5520                  4608  0 [permanent]
 cs5530                  5376  0 [permanent]
 cy82c693                4740  0 [permanent]
 dm_mod                 60796  0 
-drm                    68340  1 radeon
+drm                    68340  2 radeon
 e1000                 106740  0 
 ehci_hcd               35432  0 
+evdev                   9792  0 
 ext3                  142120  7 
 fan                     4580  0 
-fbcon                  40000  71 
+fbcon                  40000  0 
 firmware_class         10208  1 ipw2200
+floppy                 60244  0 
 font                    8224  1 fbcon
 generic                 3840  0 [permanent]
 hpt34x                  5184  0 [permanent]
 hpt366                 20448  0 [permanent]
-i2c_algo_bit            9640  1 radeonfb
-i2c_core               21840  3 i2c_i801,radeonfb,i2c_algo_bit
+i2c_core               21840  1 i2c_i801
 i2c_i801                8780  0 
 i810_audio             37076  0 
 ide_cd                 43236  0 
@@ -45,50 +47,59 @@
 intel_agp              24156  1 
 ipv6                  262880  12 
 ipw2200               186984  0 
+irda                  201532  2 irtty_sir,sir_dev
+irtty_sir               8544  0 
 jbd                    56984  1 ext3
+joydev                 10208  0 
 l2cap                  25604  5 rfcomm
 lp                     12228  0 
 mbcache                 9316  1 ext3
 Module                  Size  Used by
+mousedev               11840  0 
 ns87415                 4296  0 [permanent]
 opti621                 4388  0 [permanent]
-parport                37128  2 parport_pc,lp
+parport                37128  2 lp,parport_pc
 parport_pc             36772  1 
 pci_hotplug            28628  1 shpchp
 pcmcia                 27176  4 
 pcmcia_core            52084  3 pcmcia,yenta_socket,rsrc_nonstatic
+pcspkr                  3364  0 
 pdc202xx_new            9312  0 [permanent]
 pdc202xx_old           11232  0 [permanent]
 piix                   10372  0 [permanent]
 processor              22100  1 thermal
-radeon                 80576  0 
-radeonfb               94208  1 
+psmouse                31396  0 
+radeon                 80576  1 
 rfcomm                 41052  3 
 rsrc_nonstatic         13792  1 yenta_socket
+rtc                    12408  0 
 rz1000                  2464  0 [permanent]
 sc1200                  7360  0 [permanent]
 serverworks             9096  0 [permanent]
 shpchp                 99716  0 
 siimage                12480  0 [permanent]
+sir_dev                18828  1 irtty_sir
 sis5513                16552  0 [permanent]
 slc90e66                5728  0 [permanent]
-snd                    56580  4 snd_intel8x0m,snd_ac97_codec,snd_pcm,snd_timer
-snd_ac97_codec         84120  1 snd_intel8x0m
+snd                    56580  5 snd_intel8x0m,snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer
+snd_ac97_codec         84120  2 snd_intel8x0m,snd_intel8x0
+snd_intel8x0           34112  0 
 snd_intel8x0m          19588  0 
-snd_page_alloc          9956  2 snd_intel8x0m,snd_pcm
-snd_pcm                93608  2 snd_intel8x0m,snd_ac97_codec
+snd_page_alloc          9956  3 snd_intel8x0m,snd_intel8x0,snd_pcm
+snd_pcm                93608  3 snd_intel8x0m,snd_intel8x0,snd_ac97_codec
 snd_timer              24676  1 snd_pcm
-softcursor              2240  2 radeonfb,vesafb
+softcursor              2240  1 vesafb
 soundcore               9760  2 snd,i810_audio
 thermal                13288  0 
 tileblit                2272  1 fbcon
-tpm                    10496  2 tpm_atmel,tpm_nsc
+tpm                    10496  2 tpm_nsc,tpm_atmel
 tpm_atmel               4864  0 
 tpm_nsc                 6656  0 
 triflex                 3712  0 [permanent]
 trm290                  4260  0 [permanent]
+tsdev                   7872  0 
 uhci_hcd               32208  0 
-unix                   28016  42 
+unix                   28016  126 
 usbcore               122588  4 usbhid,ehci_hcd,uhci_hcd
 usbhid                 36576  0 
 vesafb                  8024  0 
Module                  Size  Used by
radeon                 80576  1 
drm                    68340  2 radeon
rfcomm                 41052  3 
l2cap                  25604  5 rfcomm
bluetooth              50148  4 rfcomm,l2cap
ipv6                  262880  12 
lp                     12228  0 
thermal                13288  0 
fan                     4580  0 
button                  6480  0 
processor              22100  1 thermal
ac                      4676  0 
battery                 9412  0 
pcmcia                 27176  4 
af_packet              22248  2 
joydev                 10208  0 
tsdev                   7872  0 
mousedev               11840  0 
evdev                   9792  0 
irtty_sir               8544  0 
sir_dev                18828  1 irtty_sir
irda                  201532  2 irtty_sir,sir_dev
crc_ccitt               1984  1 irda
parport_pc             36772  1 
parport                37128  2 lp,parport_pc
floppy                 60244  0 
psmouse                31396  0 
rtc                    12408  0 
pcspkr                  3364  0 
yenta_socket           23592  2 
rsrc_nonstatic         13792  1 yenta_socket
pcmcia_core            52084  3 pcmcia,yenta_socket,rsrc_nonstatic
snd_intel8x0m          19588  0 
snd_intel8x0           34112  0 
snd_ac97_codec         84120  2 snd_intel8x0m,snd_intel8x0
snd_pcm                93608  3 snd_intel8x0m,snd_intel8x0,snd_ac97_codec
snd_timer              24676  1 snd_pcm
snd                    56580  5 snd_intel8x0m,snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer
snd_page_alloc          9956  3 snd_intel8x0m,snd_intel8x0,snd_pcm
i2c_i801                8780  0 
i2c_core               21840  1 i2c_i801
tpm_nsc                 6656  0 
tpm_atmel               4864  0 
tpm                    10496  2 tpm_nsc,tpm_atmel
usbhid                 36576  0 
shpchp                 99716  0 
pci_hotplug            28628  1 shpchp
intel_agp              24156  1 
agpgart                35688  2 drm,intel_agp
ehci_hcd               35432  0 
uhci_hcd               32208  0 
usbcore               122588  4 usbhid,ehci_hcd,uhci_hcd
i810_audio             37076  0 
ac97_codec             20172  1 i810_audio
soundcore               9760  2 snd,i810_audio
ipw2200               186984  0 
firmware_class         10208  1 ipw2200
ieee80211              52100  1 ipw2200
ieee80211_crypt         5988  2 ipw2200,ieee80211
e1000                 106740  0 
dm_mod                 60796  0 
ide_cd                 43236  0 
cdrom                  40672  1 ide_cd
ext3                  142120  7 
jbd                    56984  1 ext3
mbcache                 9316  1 ext3
ide_disk               18752  9 
ide_generic             1216  0 [permanent]
via82cxxx              13884  0 [permanent]
trm290                  4260  0 [permanent]
triflex                 3712  0 [permanent]
slc90e66                5728  0 [permanent]
sis5513                16552  0 [permanent]
siimage                12480  0 [permanent]
serverworks             9096  0 [permanent]
sc1200                  7360  0 [permanent]
rz1000                  2464  0 [permanent]
piix                   10372  0 [permanent]
pdc202xx_old           11232  0 [permanent]
opti621                 4388  0 [permanent]
ns87415                 4296  0 [permanent]
hpt366                 20448  0 [permanent]
hpt34x                  5184  0 [permanent]
generic                 3840  0 [permanent]
cy82c693                4740  0 [permanent]
cs5530                  5376  0 [permanent]
cs5520                  4608  0 [permanent]
cmd64x                 11964  0 [permanent]
atiixp                  5936  0 [permanent]
amd74xx                14428  0 [permanent]
alim15x3               12332  0 [permanent]
aec62xx                 7392  0 [permanent]
pdc202xx_new            9312  0 [permanent]
ide_core              130708  28 ide_cd,ide_disk,ide_generic,via82cxxx,trm290,triflex,slc90e66,sis5513,siimage,serverworks,sc1200,rz1000,piix,pdc202xx_old,opti621,ns87415,hpt366,hpt34x,generic,cy82c693,cs5530,cs5520,cmd64x,atiixp,amd74xx,alim15x3,aec62xx,pdc202xx_new
unix                   28016  126 
fbcon                  40000  0 
tileblit                2272  1 fbcon
font                    8224  1 fbcon
bitblit                 5984  1 fbcon
vesafb                  8024  0 
cfbcopyarea             3936  1 vesafb
cfbimgblt               2880  1 vesafb
cfbfillrect             4192  1 vesafb
softcursor              2240  1 vesafb
capability              4648  0 
commoncap               6976  1 capability

Reply to: