[ltp] Boot delay caused by lp module
Tue, 21 Jul 2009 01:59:17 +0200
Am 20.07.2009 20:53, schrieb Daniel Castro:
> Hi All,
> Hope someone can help. I just installed 9.04 on a T61p, everything
> worked fine for a while but suddenly I was getting 3 minute delays at
> startup. After digging into the logs I found that:
> [ 13.910198] synaptics was reset on resume, see synaptics_resume_reset
> if you have trouble on resume
> [ 15.371139] psmouse serio2: ID: 10 00 64<6>IBM TrackPoint firmware:
> 0x0e, buttons: 3/3
> [ 19.084301] input: TPPS/2 IBM TrackPoint as
> *[ 189.238041] lp0: using parport0 (interrupt-driven).*
> [ 189.302500] Adding 1927760k swap on /dev/sda6. Priority:-1 extents:1
> [ 198.914676] EXT3-fs warning: maximal mount count reached, running
> e2fsck is recommended
> [ 198.914861] EXT3 FS on sda5, internal journal
> [ 200.088590] type=1505 audit(1248115283.366:2):
> operation="profile_load" name="/usr/share/gdm/guest-session/Xsession"
> ault" pid=2503
> So it looks like lp module is hanging there because it can't find a
> hardware device, of course, it's a laptop, it has no parallel port.
> This issue is very similar to the one reported at
> So I see two ways of fixing this, to blacklist the modules or to build a
> custom kernel.
> The first one does not work. I have created a file
> /etc/modprobe.d/blacklist_custom.conf with:
> blacklist lp
> blacklist parport
> blacklist ppdev
> And then ran:
> sudo dpkg-reconfigure linux-image-$(uname -r)
> sudo update-initramfs -u
> But after rebooting it is still loading the modules.
> The second option of building a custom kernel, well I'm not very
> familiar with that and find it a bit scary. I would prefer to go back to
> 8.10 before doing this.
> Does anyone know how I can fix this?
> Daniel Castro, M.Sc.
> +353 083-318-2058
> email@example.com <mailto:firstname.lastname@example.org>
> email@example.com <mailto:firstname.lastname@example.org>
maybe deleting instead of blacklisting the modules would help, then the
can't be loaded anymore, but i don't know what that might break