PDA

View Full Version : [ubuntu] 9.10 - very slow boot



kapetr
November 11th, 2009, 04:52 PM
Hello,

after upgrade from 9.04 to 9.10 the boot is 2x slower.

By 9.04 the boot has take +- 45s, and now it is +- 1m 35s ?!
[except of typing password - of course ;-)]

How is it possible ?
I did not done any SW changes, ..., nothing.

BTW- the boot screen unnecessary switch 2x from graphical mode to text and back (in 9.04 if I remember not !) - and - this kernel in 9.10 should know kernel-mode-setting - or not ? Also It should not happen at all ?!

What's wrong ?

kapetr

cjbarrow
November 11th, 2009, 09:46 PM
Same problem here, have been running 64bit version since Alpha 2 and everything fine then some one advised that I change to 32bit.
Once I did this on my laptop I started to suffer a slow boot time of several minutes. I have an SSD disk and would normally expect a very fast boot. Seems to boot ok if I have a wired connection. It takes ages to get to the logon screen, once I put in my password credentials it again takes a long time before the desktop comes up.

Have the same issue on my daughters desktop PC so not an isolated case.

Seen several posts where other people have the same problem, there is supposed to be a proposed fix so I selected to get these updates. I can confirm it did not work for me.

Interested to note though, that if I use a wired connection the PC boots in under 20 seconds.

So back to 64bit and see if that works ok, just have to put up with the work workarounds to get flash running etc

kapetr
November 13th, 2009, 01:18 PM
Unfortunately I use 32 bit version and I'm on wired network.
...

kapetr

leonardo_neo
November 14th, 2009, 08:22 PM
Just to acknowledge, I too am experiencing the slow boot. I don't know if it is some bug or not, but it is definitely much slower than Jaunty.

elitenoobboy
November 17th, 2009, 07:26 AM
Really makes me wonder about all of these reviews touting the "fast" boot times of karmic...

yesint
November 20th, 2009, 11:39 AM
Try this:
https://bugs.edge.launchpad.net/ubuntu/+source/ureadahead/+bug/432089/comments/20

leonardo_neo
November 20th, 2009, 06:38 PM
Try this:
https://bugs.edge.launchpad.net/ubuntu/+source/ureadahead/+bug/432089/comments/20

Thanks for the information. :)

Please excuse my ignorance, but why this fix is not delivered by package updates?

florus
November 20th, 2009, 07:00 PM
Thanks for the information. :)

Please excuse my ignorance, but why this fix is not delivered by package updates?

Perhaps it doesn't always improve matters. Please post your experience when you have tried it.

oldfred
November 20th, 2009, 07:23 PM
If your grub is loading slowly, there is a bug in grub2 for multidrive configurations. They are fixing it but the workaround is that the grub must be in the same drive as the boot partition.

then run:
sudo dpkg-reconfigure grub-pc

https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/420933

yesint
November 22nd, 2009, 11:44 AM
Perhaps it doesn't always improve matters. Please post your experience when you have tried it.

For me it works very well. It fixes annoying thing that something is loading after appearance of the desktop and makes the boot faster by ~5 s. It becomes approximately the same as it was in 9.04

brad1138
January 17th, 2010, 07:58 PM
I had about a 10 sec delay loading grub (9.04 had <1 sec). I have XP installed on Primary 40 gig ide drive, Ubuntu installed on Secondary 40 gig ide drive and a 500 GB Sata drive for storage. Bios was booting the Primary drive.

I ran "sudo dpkg-reconfigure grub-pc" and told it to install grub on both ide drives. Then changed BIOS to boot from secondary drive and now the grub loads in under 1 second.

Thanks

De Baimbo
February 9th, 2010, 11:20 PM
If your grub is loading slowly, there is a bug in grub2 for multidrive configurations. They are fixing it but the workaround is that the grub must be in the same drive as the boot partition.

then run:
sudo dpkg-reconfigure grub-pc

https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/420933

I think we don't have grub2 but grub since we upgraded from 9.04 and did not do a fresh install. Correct me if I'm wrong.
I have upgraded few days ago and I have the same annoying issue. Has anyone fixed it?

oldfred
February 10th, 2010, 12:27 AM
Is grub slow giving a menu or is it the boot process. Have you checked your log files to see what may be slow or have errors?
system/administration/log file viewer

Look at kern and dmesg

De Baimbo
February 10th, 2010, 11:33 PM
this is where it hangs:

dmesg



...
[ 3.920033] type=1505 audit(1265843029.424:8): operation="profile_load" pid=400 name=/usr/bin/evince-thumbnailer
[ 3.946765] type=1505 audit(1265843029.448:9): operation="profile_load" pid=402 name=/usr/lib/cups/backend/cups-pdf
[ 3.947131] type=1505 audit(1265843029.448:10): operation="profile_load" pid=402 name=/usr/sbin/cupsd
[ 7.421510] usb-storage: device scan complete
[ 7.422075] scsi 4:0:0:0: Direct-Access Generic USB SD Reader 1.00 PQ: 0 ANSI: 0
[ 7.422953] scsi 4:0:0:1: Direct-Access Generic USB CF Reader 1.01 PQ: 0 ANSI: 0
[ 7.423444] scsi 4:0:0:2: Direct-Access Generic USB SM Reader 1.02 PQ: 0 ANSI: 0
[ 7.423943] scsi 4:0:0:3: Direct-Access Generic USB MS Reader 1.03 PQ: 0 ANSI: 0
[ 7.424348] sd 4:0:0:0: Attached scsi generic sg4 type 0
[ 7.424427] sd 4:0:0:1: Attached scsi generic sg5 type 0
[ 7.424502] sd 4:0:0:2: Attached scsi generic sg6 type 0
[ 7.424577] sd 4:0:0:3: Attached scsi generic sg7 type 0
[ 7.428312] sd 4:0:0:0: [sdc] Attached SCSI removable disk
[ 7.429315] sd 4:0:0:1: [sdd] Attached SCSI removable disk
[ 7.430062] sd 4:0:0:2: [sde] Attached SCSI removable disk
[ 7.430683] sd 4:0:0:3: [sdf] Attached SCSI removable disk
[ 60.204286] Adding 6032368k swap on /dev/sda5. Priority:-1 extents:1 across:6032368k
[ 60.219487] udev: starting version 147
[ 60.275654] uli526x: ULi M5261/M5263 net driver, version 0.9.3 (2005-7-29)
[ 60.275699] alloc irq_desc for 17 on node -1
[ 60.275701] alloc kstat_irqs on node -1
[ 60.275710] uli526x 0000:00:11.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
[ 60.336452] lp: driver loaded but no devices found
[ 60.443516] parport_pc 00:05: reported by Plug and Play ACPI
[ 60.443566] parport0: PC-style at 0x378, irq 7 [PCSPP,TRISTATE]
[ 60.548370] lp0: using parport0 (interrupt-driven).
[ 60.580748] EXT3 FS on sda1, internal journal
...


You can see it waits almost a minute between those two lines, but why?

oldfred
February 11th, 2010, 05:31 PM
I do not know enough to help but these are from mine dmesg.I though it may be the swap but one boot had udev before swap?

Feb 7 19:54:07 fred-laptop kernel: [ 4.368782] type=1505 audit(1265572421.651:9): operation="profile_load" pid=434 name=/usr/lib/cups/backend/cups-pdf
Feb 7 19:54:07 fred-laptop kernel: [ 27.130797] Adding 3068372k swap on /dev/sda6. Priority:-1 extents:1 across:3068372k
Feb 7 19:54:07 fred-laptop kernel: [ 27.134412] udev: starting version 147

Feb 8 09:15:55 fred-laptop kernel: [ 4.210379] type=1505 audit(1265620530.501:9): operation="profile_load" pid=448 name=/usr/lib/cups/backend/cups-pdf
Feb 8 09:15:55 fred-laptop kernel: [ 27.063703] udev: starting version 147
Feb 8 09:15:55 fred-laptop kernel: [ 27.072398] Adding 3068372k swap on /dev/sda6. Priority:-1 extents:1 across:3068372k