Boot delayed when parallel printer driver loads

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post please read this

Boot delayed when parallel printer driver loads

Postby vbmazter on Sat Jul 04, 2009 6:48 am

Dear all,

just installed Mint 7 on my IBM Thinkpad. Except for one thing everything works well:
When I boot the machine, it hangs for about 170 seconds when it registers the internal Trackpoint. After that, the boot continues very fast.
Seems like there is a problem with my trackpoint. I already tried to remove my USB mouse in case this confuses the kernel somehow, but this had no effect.

Anyway, the interesting part if the boot messages is shown here:
Code: Select all
...
[   14.633512] synaptics was reset on resume, see synaptics_resume_reset if you have trouble on resume
[   14.720139] iwl3945: Radio Frequency Kill Switch is On:
[   14.720140] Kill switch must be turned off for wireless networking to work.
[   16.106280] psmouse serio2: ID: 10 00 64<6>IBM TrackPoint firmware: 0x0e, buttons: 3/3
[   19.823500] input: TPPS/2 IBM TrackPoint as /devices/platform/i8042/serio1/serio2/input/input10
[  193.698806] lp: driver loaded but no devices found
[  193.761279] Adding 1518068k swap on /dev/sda5.  Priority:-1 extents:1 across:1518068k
[  194.172360] EXT3 FS on sda7, internal journal
[  195.721894] kjournald starting.  Commit interval 5 seconds
[  195.722135] EXT3 FS on sda8, internal journal
[  195.722140] EXT3-fs: mounted filesystem with ordered data mode.
[  195.739638] kjournald starting.  Commit interval 5 seconds
...


I also generated a bootchart, but I have to admit that I'n not able to correlate that with my dmesg output; but maybe this helps somehow.
For me that is very annoying, because if one would subtract that 'delay', the system would boot very fast.

Anyone else with that problem? What could I do?

Thanks,
Regards,
vbmazter
Attachments
libertad-Gloria-20090704-1.png
bootchart
libertad-Gloria-20090704-1.png (109.7 KiB) Viewed 872 times
Last edited by vbmazter on Sun Jul 12, 2009 7:02 am, edited 1 time in total.
vbmazter
Level 1
Level 1
 
Posts: 3
Joined: Sat Jul 04, 2009 6:37 am

Linux Mint is funded by ads and donations.
 

Re: Boot delayed at trackpoint registration

Postby lagagnon on Sat Jul 04, 2009 12:15 pm

Can't really help you but what happens if you disable the trackpoint in BIOS?
User avatar
lagagnon
Level 7
Level 7
 
Posts: 1888
Joined: Wed Jun 17, 2009 7:38 pm
Location: an island in the Pacific...

Re: Boot delayed at trackpoint registration

Postby vbmazter on Sun Jul 12, 2009 6:55 am

Hi,

sorry it took me so long, just had no time.
I disabled the trackpoint in BIOS, but surprisingly the delay still is there. Looks like it is not the trackpoint, but the parallel printer driver:

Code: Select all
[   14.860154] iwl3945: Radio Frequency Kill Switch is On:
[   14.860156] Kill switch must be turned off for wireless networking to work.
[  193.547605] lp: driver loaded but no devices found
[  193.612012] Adding 1518068k swap on /dev/sda5.  Priority:-1 extents:1 across:1518068k
[  194.007288] EXT3 FS on sda7, internal journal
[  195.545855] kjournald starting.  Commit interval 5 seconds
[  195.546093] EXT3 FS on sda8, internal journal
[  195.546098] EXT3-fs: mounted filesystem with ordered data mode.


Which is a bit confusing, because I don't even have a parallel port. How can i figure out what takes so long? Should I disable the driver somehow?

I changed the title of that thread.

Thanks,
vbmazter
vbmazter
Level 1
Level 1
 
Posts: 3
Joined: Sat Jul 04, 2009 6:37 am

Re: Boot delayed when parallel printer driver loads

Postby lunatico on Mon Jul 20, 2009 12:02 pm

Hi vbmazter!

Did you ever figured this one out? I'm having the same problem...
User avatar
lunatico
Level 2
Level 2
 
Posts: 98
Joined: Mon Jul 20, 2009 12:00 pm

Re: Boot delayed when parallel printer driver loads

Postby DrHu on Mon Jul 20, 2009 5:48 pm

Thinkpad bios
http://www-307.ibm.com/pc/support/site. ... AST-3JWKJX
--you don't mention the Thinkpad model #: different versions have different hardware..

Sure, if you think it might be the parallel port or serial port, just disable them in the bios of the notebook..
http://ubuntuforums.org/showthread.php?t=680762
post #3
--yes turn of the splash, so you can see the boot sequence on the screen, gives you a console view of the load/boot; you should be able to see which item is taking the longer times..

You can also, and be careful here, checking the names and descriptions
  • Remove applications you don't use
    --Bluetooth, if you have no bluetooth devices
  • Some Services
    --you can install rcconf, and alter the startup of various services on boot
Last edited by DrHu on Tue Jul 21, 2009 5:12 am, edited 1 time in total.
User avatar
DrHu
Level 16
Level 16
 
Posts: 6714
Joined: Wed Jun 17, 2009 8:20 pm

Re: Boot delayed when parallel printer driver loads

Postby lunatico on Tue Jul 21, 2009 4:40 am

DrHu wrote:--you don't mention the Thinkpad model #: different versions have different hardware..


Mine it's a T61p (6457-AN9)

DrHu wrote:Sure, if you think it might be the parallel port or serial port, just disable them in the bios of the notebook..


Did this and it's still hanging...

DrHu wrote:--yes turn of the splash, so you can see the boot sequence on the screen, or enter ctrl alt F1, while booting for the same result, gives you a console view of the load/boot; you should be able to see which item is taking the longer times..


My dmesg shows:

[ 12.772751] Synaptics Touchpad, model: 1, fw: 6.2, id: 0x81a0b1, caps: 0xa04791/0x300000
[ 12.772756] serio: Synaptics pass-through port at isa0060/serio1/input0
[ 12.815851] input: SynPS/2 Synaptics TouchPad as /devices/platform/i8042/serio1/input/input11
[ 13.998214] synaptics was reset on resume, see synaptics_resume_reset if you have trouble on resume
[ 15.449476] psmouse serio2: ID: 10 00 64<6>IBM TrackPoint firmware: 0x0e, buttons: 3/3
[ 19.157434] input: TPPS/2 IBM TrackPoint as /devices/platform/i8042/serio1/serio2/input/input12
[ 189.350305] Adding 1927760k swap on /dev/sda6. Priority:-1 extents:1 across:1927760k

[ 189.887903] EXT3 FS on sda5, internal journal
[ 191.082509] type=1505 audit(1248165096.339:2): operation="profile_load" name="/usr/share/gdm/guest-session/Xsession" name2="default" pid=2364

So this means that turning off parallel on the bios did changed something. So what does this mean, is it 19.157434 or 189.350305 giving me trouble?
User avatar
lunatico
Level 2
Level 2
 
Posts: 98
Joined: Mon Jul 20, 2009 12:00 pm

Re: Boot delayed when parallel printer driver loads

Postby DrHu on Tue Jul 21, 2009 5:24 am

lunatico wrote:My dmesg shows:

your query of your dmesg, something changed..
--first post msg..
[ 19.823500] input: TPPS/2 IBM TrackPoint as /devices/platform/i8042/serio1/serio2/input/input10
[ 193.761279]Adding 1518068k swap on /dev/sda5. Priority:-1 extents:1 across:1518068k
--last post msg..
[ 19.157434] input: TPPS/2 IBM TrackPoint as /devices/platform/i8042/serio1/serio2/input/input12
[ 189.350305] Adding 1927760k swap on /dev/sda6. Priority:-1 extents:1 across:1927760k
very little difference
Well between the boots, the swap drive has moved ??, and increased in size--> a more significant change
And if the trackpad works, nothing to be concerned about, an insignificant change..

That is not as good as watching the data as the system boots to see which is the slowest device to be enabled/activated, whether it is a wireless or network card searching for a connection, or a hard drive that is full and slow to boot, or some device that sticks and is enabled later in the Linux OS boot

You also usually have the option in the bios of letting the bios decide how to active/enable/control the system or using Plug & play mode and letting the Linux OS try to fix any problems uit detects on the system, while devices are started
lunatico wrote:So this means that turning off parallel on the bios did changed something..
[ 189.350305] Adding 1927760k swap on /dev/sda6. Priority:-1 extents:1 across:1927760k

I have no idea what it changed

Adding 1927760k ..
That swap size looks a little large..

Is App Armour initialized in your dmesg display..
http://serverfault.com/questions/3393/w ... s-in-dmesg
dmesg, mine..
    Security Framework initialized
    [ ] SELinux: Disabled at boot.
    [ ] AppArmor: AppArmor initialized
    ...
    AppArmor: AppArmor Filesystem Enabled
User avatar
DrHu
Level 16
Level 16
 
Posts: 6714
Joined: Wed Jun 17, 2009 8:20 pm

Re: Boot delayed when parallel printer driver loads

Postby DrHu on Tue Jul 21, 2009 5:57 am

User avatar
DrHu
Level 16
Level 16
 
Posts: 6714
Joined: Wed Jun 17, 2009 8:20 pm

Re: Boot delayed when parallel printer driver loads

Postby lunatico on Tue Jul 21, 2009 7:08 am

DrHu wrote:Adding 1927760k ..
That swap size looks a little large..


No idea what's going on with the swap size and locaion.... sda6 is the right place anyway.... I haven't done any changes.

DrHu wrote:Is App Armour initialized in your dmesg display..


Yes it is.

[ 0.004000] AppArmor: AppArmor initialized
.....
[ 0.492049] AppArmor: AppArmor Filesystem Enabled
User avatar
lunatico
Level 2
Level 2
 
Posts: 98
Joined: Mon Jul 20, 2009 12:00 pm

Re: Boot delayed when parallel printer driver loads

Postby vbmazter on Thu Aug 06, 2009 4:16 pm

Hi at all,

in the meantime, I tried a few things. First I wanted to figure out more exactly what bootviz is showing. If I'm interpreting the output correctly, udev causes the delay. But - of course - it's an underlying function what might block.

So I turned on udev's debug output (look in /etc/udev/udev.conf ...it's described there).

Surprise: The delay is visible in the udev log, too (/var/log/udev, look at the time stamps)!:
Code: Select all
UDEV  [1249588933.636774] add      /devices/platform/i8042/serio1/serio2/input/input11/event11 (input)
UDEV_LOG=7
ACTION=add
DEVPATH=/devices/platform/i8042/serio1/serio2/input/input11/event11
SUBSYSTEM=input
SEQNUM=1732
ID_CLASS=mouse
ID_SERIAL=noserial
ID_PATH=platform-i8042-serio-2
DEVNAME=/dev/input/event11
MAJOR=13
MINOR=75
DEVLINKS=/dev/char/13:75 /dev/input/by-path/platform-i8042-serio-2-event-mouse

UDEV  [1249589108.896666] add      /devices/pci0000:00/0000:00:1e.0/0000:15:00.0/0000:16:00.0/i2c-adapter/i2c-0 (i2c-adapter)
UDEV_LOG=7
ACTION=add
DEVPATH=/devices/pci0000:00/0000:00:1e.0/0000:15:00.0/0000:16:00.0/i2c-adapter/i2c-0
SUBSYSTEM=i2c-adapter
SEQNUM=1725


So either the delay is in serio2, or its in that funny "i2c-adaptor" (anyway...where do I have such a device?! Maybe something internal on the mainboard, I guess). Eww...that adaptor...just to mention...has "pci" as parent. So maybe someone could tell me what it does.

Then I tried to add some rules to /etc/udev/rules.d/, in order to ignore both devices. Testing with udevadm I was told, that I2c and serio will be ignored. So, highly motivated, I did another reboot.

NO SUCCESS.

Know what? Udev still adds the devices, but just ignores the events. What implies, that the "answering" of one of the devices causes that delay. Unfortunately I have no options in my BIOS to disable both (what seems normal to me).

Someone might state that I did useless things here. In that case, I would appreciate any suggestions which might help.

Thanks,
vbmazter
vbmazter
Level 1
Level 1
 
Posts: 3
Joined: Sat Jul 04, 2009 6:37 am

Linux Mint is funded by ads and donations.
 

Return to Installation & Boot

Who is online

Users browsing this forum: No registered users and 16 guests