[Bug 845925] Re: Ubuntu loads slow (lightdm shows after 3-5 minutes after power on) and without progress bar

Steve Langasek steve.langasek at canonical.com
Fri Sep 16 18:48:20 UTC 2011


I can't see any problems in the plymouth jobs that would account for
such a delay.  In the worst case, I suspect that it's a problem with the
nvidia drivers themselves.  If you remove the drivers, does the problem
go away?

The expected path here with binary-only drivers is:

 - plymouth starts on system startup
 - mountall starts
 - udev starts
 - udevtrigger runs to replay all kernel events seen before udev startup
  - udevtrigger finishes the replay and then calls 'udevadm settle', to be sure all events are fully processed before continuing
 - udev-fallback-graphics sees that udevtrigger has finished (before any kernel-level graphics devices have been seen, since we're using the binary drivers there won't be any)
  - since there's no other graphics driver, it tries to modprobe vesafb as a fallback
 - after modprobing vesafb, the plymouth splash screen will be started.  If the filesystem is done mounting at this point, lightdm will be started in parallel and immediately stop plymouth.

I do notice that the /proc/modules from your system does not show vesafb
loaded, so possibly it takes modprobe a long time to return from this
attempt to load the module?  You could test this by commenting out the
'script' section of /etc/init/udev-fallback-graphics.conf on your
system.

The other possible slowdown would be when udevtrigger is running, but I
don't see why this would take very long.  The udev log on the bug shows
some late events (70 seconds after boot), but they're related to tpm and
shouldn't have slowed down udevtrigger AFAICS.

Subscribing Andy Whitcroft, who has a much better understanding of the
kernel side of boot-time video than I do.  Andy, do you have any ideas
what might be slowing us up here?

** Package changed: plymouth (Ubuntu) => udev (Ubuntu)

** Changed in: udev (Ubuntu)
       Status: New => Incomplete

** Changed in: udev (Ubuntu)
   Importance: Undecided => Medium

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to udev in Ubuntu.
https://bugs.launchpad.net/bugs/845925

Title:
  Ubuntu loads slow (lightdm shows after 3-5 minutes after power on) and
  without progress bar

Status in “udev” package in Ubuntu:
  Incomplete

Bug description:
  I see only black screen with alone terminal's cursor in top left
  corner (in 11.04 it was a violet screen without any :( ). And loads
  slow.

  ProblemType: Bug
  DistroRelease: Ubuntu 11.10
  Package: plymouth 0.8.2-2ubuntu25
  ProcVersionSignature: Ubuntu 3.0.0-10.16-generic 3.0.4
  Uname: Linux 3.0.0-10-generic i686
  NonfreeKernelModules: nvidia
  Architecture: i386
  Date: Fri Sep  9 22:03:18 2011
  DefaultPlymouth: /lib/plymouth/themes/ubuntu-logo/ubuntu-logo.plymouth
  InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Beta i386 (20110901)
  MachineType: LG Electronics R500-U.CP21R1
  PccardctlIdent:
   Socket 0:
     no product info available
  PccardctlStatus:
   Socket 0:
     no card
  ProcCmdLine: BOOT_IMAGE=/vmlinuz-3.0.0-10-generic root=UUID=d1297443-a1be-403d-8941-167ab2a1acfa ro quiet splash vt.handoff=7
  ProcEnviron:
   PATH=(custom, no user)
   LANG=uk_UA.UTF-8
   SHELL=/bin/bash
  ProcFB:
   
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.0.0-10-generic root=UUID=d1297443-a1be-403d-8941-167ab2a1acfa ro quiet splash vt.handoff=7
  SourcePackage: plymouth
  TextPlymouth: /lib/plymouth/themes/ubuntu-text/ubuntu-text.plymouth
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 08/29/2007
  dmi.bios.vendor: Phoenix Technologies LTD
  dmi.bios.version: COLSSF10
  dmi.board.name: COLUMBIA
  dmi.board.vendor: LG Electronics
  dmi.board.version: Not Applicable
  dmi.chassis.asset.tag: No Asset Tag
  dmi.chassis.type: 10
  dmi.chassis.vendor: LG Electronics
  dmi.chassis.version: N/A
  dmi.modalias: dmi:bvnPhoenixTechnologiesLTD:bvrCOLSSF10:bd08/29/2007:svnLGElectronics:pnR500-U.CP21R1:pvrNotApplicable:rvnLGElectronics:rnCOLUMBIA:rvrNotApplicable:cvnLGElectronics:ct10:cvrN/A:
  dmi.product.name: R500-U.CP21R1
  dmi.product.version: Not Applicable
  dmi.sys.vendor: LG Electronics

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/udev/+bug/845925/+subscriptions




More information about the foundations-bugs mailing list