[hardy] splash screen disappears after a few seconds

Bug #205990 reported by ktulu77
140
This bug affects 11 people
Affects Status Importance Assigned to Milestone
usplash (Ubuntu)
Invalid
Medium
Unassigned
Nominated for Intrepid by Jeffery Davis

Bug Description

Binary package hint: usplash

I'm using Kubuntu 8.04 64bit.

The splash screen "KUBNTU" disappears when It is writed "Reading files needed to boot".
Perhaps it is because I'm using ReiserFS ?

Update:

This is sometime caused by different values in /etc/initramfs-tools/conf.d/resume and the real UUID of the swap partition given by "sudo blkid"

Actual Solution :

1. Make sure you have the initramfs-tools update
2. sudo blkid
3. Check that swap line UUID from /etc/fstab matches swap UUID from step 2, if not change fstab.
4. Check that the UUID in /etc/initramfs-tools/conf.d/resume matches the swap UUID from step 2, if not change resume file.
5. sudo update-initramfs -u
6. Restart

Revision history for this message
Saivann Carignan (oxmosys) wrote :

Thanks for your bug report. Can you describe your issue with more details? Example :

Does your computer boot correctly or it stops booting at "reading files needed to boot"?
Do you get any error messages?
Does this happen with only one computer?

Changed in usplash:
assignee: nobody → saivann
status: New → Incomplete
Revision history for this message
ktulu77 (ktulu-highwaytoacdc) wrote : Re: [Bug 205990] Re: splash sreeen disappear

No I have not any messages error, it starts up correcty all is fine.
It is just that the splash disappear. I cannot test on other computer sorry.

2008/3/26, Saïvann Carignan <email address hidden>:
>
> Thanks for your bug report. Can you describe your issue with more
> details? Example :
>
> Does your computer boot correctly or it stops booting at "reading files
> needed to boot"?
> Do you get any error messages?
> Does this happen with only one computer?
>
> ** Changed in: usplash (Ubuntu)
> Assignee: (unassigned) => Saïvann Carignan (saivann)
> Status: New => Incomplete
>
>
> --
> splash sreeen disappear
> https://bugs.launchpad.net/bugs/205990
> You received this bug notification because you are a direct subscriber
> of the bug.
>

Revision history for this message
Saivann Carignan (oxmosys) wrote : Re: [kubuntu | hardy] splash screen disappears

Thanks for your fast answer. That sounds strange, perhaps can your attach the files created in your home folder when you copy these commands in a terminal?

dmesg > ~/dmesg.log
uname -a > ~/uname.log
lspci -nnvv > ~/lspci.log
cat /etc/usplash.conf > ~/usplash.conf
cat /boot/grub/menu.lst > ~/menu.lst

Revision history for this message
ktulu77 (ktulu-highwaytoacdc) wrote :

Here they are !
I remember know that at one moment it says that a filesystem is mounted readonly, but there is a lot of messages before this one so I don't think it is the problem.

Revision history for this message
Saivann Carignan (oxmosys) wrote :

Thanks for providing these informations. I suspect that this bug has something to do with ubuntu kernel so I add this bug in linux to get comments from linux bug triager. Also, I suggest that you install all updates, there are recent updates that fix issues with recent nvidia cards and amd64. If you find more informations about that particular issue or that the problem disappear after the installation of some update, please keep the bug report updated. I attach all your log files separately to help bug triager. Thanks!

Changed in usplash:
assignee: saivann → nobody
status: Incomplete → New
Revision history for this message
Saivann Carignan (oxmosys) wrote :
Revision history for this message
Saivann Carignan (oxmosys) wrote :
Revision history for this message
Saivann Carignan (oxmosys) wrote :
Revision history for this message
Saivann Carignan (oxmosys) wrote :
Revision history for this message
Saivann Carignan (oxmosys) wrote :
description: updated
description: updated
Revision history for this message
Igor Cota (igor-cota) wrote : Re: [hardy] splash screen disappears

Same bug, using EXT3...

Revision history for this message
RobinJ (robinacjohnston) wrote :

Using x64 March 31 2008 daily alpha CD ISO I get the same feature on an Intel DQ965GF based system. When booting from install CD usplash works fine, but after typical install onto whole of serial HD usplash starts OK, but drops out to text when switching to progress bar with first displayed message being 'Reading files needed for boot...' By the way, it is using Intel 965 Video chipset, usplash.conf if unconfigured, no vga in menu.lst. No changes made after typical install. Wierd part it that when shutting down, it works fine. Tried it on a Dell M90 and Dell M6300 Laptop and both of these work fine. They use NVidia chipset. Happy to help with any other useful feedback/testing....

Changed in usplash:
importance: Undecided → Low
status: New → Confirmed
importance: Low → Medium
Revision history for this message
XmIsTeR (xmisterhu) wrote :

Same thing here.
Hardy beta 32bit with the latest updates.
NVIDIA Geforce 8600GTS
AMD64 X2 5600+
Usplash disappears at Reading files needed to boot.

Revision history for this message
Igor Cota (igor-cota) wrote :

It seems that usplash actually segfaults and exits with "error 6" when booting, you can see it if you remove "quiet" from your boot.lst. It's the first thing written after the splash disappears...

description: updated
Revision history for this message
XmIsTeR (xmisterhu) wrote :

I booted up with the debug kernel parameter, and now I'm attaching the logs, maybe it helps a bit.

Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

Hi woot,

You mention when you remove the 'quiet' boot option you see that usplash segfaults. Would you be able to take a digital photo of your screen when the segfault occurs and attach it to this bug report. I'm just curious if anything else shows up that may help with the debugging.

Can anyone else boot with the "quiet" option removed and confirm they witness the segfault?

Thanks.

Changed in linux:
status: New → Incomplete
Revision history for this message
ktulu77 (ktulu-highwaytoacdc) wrote :

I have tried without quiet and splash options and I don't see any segfault ...

Revision history for this message
Igor Cota (igor-cota) wrote :

Hi Leann,

This is the photo of the two lines i get before when I boot without the "quiet" option. With "quiet", the first line is "reading files needed to boot" as desribed.

Revision history for this message
Igor Cota (igor-cota) wrote :

Correction; three lines i get before "reading files..."

Revision history for this message
Saivann Carignan (oxmosys) wrote :

w00t : Thanks for these informations! Can you try to reproduce this bug by starting usplash manually inside one tty and provide debug logs for usplash? All you need to do is to :

1. Switch to one of your ttys once the computer successfully booted.
2. Type this : sudo usplash -c -v >/tmp/usplash.log 2>&1
3. Go back to your graphical session and attach /tmp/usplash.log to that bug report (if it is not empty).

Revision history for this message
Igor Cota (igor-cota) wrote :

Hi Saïvann,

Every time I do as you've instructed, i get usplash with an empty progress bar (doing nothing) that runs for something like 10 seconds and the usplash.log is unfortuanately always empty!

Revision history for this message
Martin Polden (martin-polden) wrote :

I'm experiencing the same thing. Usplash disappears right before 'Reading files needed to boot' and I get text output instead.
Running Ubuntu 8.04 beta 32bit with the latest updates as of 06.04.2008. Also using the nvidia-glx-new driver.

Revision history for this message
Takahani (simon-esneault) wrote :

Hi,

Also experiencing this, but only on my home computer (hardy 32 bit, Athon 2000+, nvidia 4200 ti). At work (hardy 64 bit, Bi-Xeon, nvidia quadro fx 4500), no pb, with nearly exactly the same installation. I can see the two/three lines above too
I'll try reproduce the bug as you said.

Revision history for this message
Strash (strash) wrote :

Hi,

Same problem for me on my laptop : Hardy 32bits, EXT3 file system, last upgrades.

I can add that during the short part of the booting process where the usplash can be seen, the progress bar is not progressive but just displaying that the computer is working (little orange bar going from left to right).

Revision history for this message
XmIsTeR (xmisterhu) wrote :

Yep.
It's disappearing just before the progressive bar would start.

Revision history for this message
Saivann Carignan (oxmosys) wrote :

Can someone follow these instructions to get relevant debugging outputs from usplash?

1. Switch to another tty with CTRL + ALT + F6
2. Start usplash in debug mode with this command : sudo usplash -c -v >/tmp/usplash.log 2>&1
3. Wait few seconds.
4. Go back to your graphical environment and attach the /tmp/usplash.log file (if it is not empty, of course).

Revision history for this message
Takahani (simon-esneault) wrote :

This procedure gives me an empty usplash.log

Is the syntax exact exact ? I wrote this : sudo usplash -c -v >/tmp/usplash.log 2>&1 without any change

Revision history for this message
XmIsTeR (xmisterhu) wrote :

Yeah, it gives an emtpy file.
But isn't there a script file somewhere, what we can edit to start usplash in debug mode at the boot process?

Revision history for this message
Saivann Carignan (oxmosys) wrote :

The command was exact, thanks for trying, apparently that it launches successfully outside of the boot process..

XmIsTeR : Would be very interesting, I don't know about this..

Revision history for this message
Leszek (bigl-aff) wrote :

Usplash diappears after few seconds also for me - ATI Radeon 9550 card, Hardy beta 32bit desktop with all updates. It was working perfectly in Gutsy. When I try "sudo usplash -c -v >/tmp/usplash.log 2>&1" on console after booting it ends after about 15 seconds and leaves my on tty8 but it was started from tty1.

Revision history for this message
michaelobst (m-obst) wrote :

I have the same problem on inspiron 6000 notebook with integrated intel graphics. Curiously when I ran one of the older kernels there was no problem, 2.6.24-13 I think but then I did an update initramfs and they were all broken again.

Revision history for this message
wieman01 (wieman01) wrote :

Same problem here. I am on Kubuntu Hardy Beta. Got a GeForce FX 5900XT, kernel 2.6.24-15-generic. Boot splash would not come up, I can change resolution just fine, but no splash at all.

Anything I can provide?

Revision history for this message
Peter Meiser (meiser79) wrote :

Thanks to Scott James Remnant's patience on IRC, I was able to collect a backtrace.

His statements:
<Keybuk> "usplash segfault in bogl_tcfb_put" and attach the trace
<Keybuk> it looks to me like it's gone out of the bounds of the framebuffer

Revision history for this message
Scott James Remnant (Canonical) (canonical-scott) wrote :

Definitely not a kernel bug.

Changed in linux:
status: Incomplete → Invalid
Revision history for this message
Peter Meiser (meiser79) wrote :

ok, some more infos requested by Scott:

My notebook is a ThinkPad R52 with a Mobility Radeon X300 graphics card. I'm running on i386 with the 2.6.24-16-generic kernel and a framebuffer console (vga=791).
But the segfault also happens without framebuffer console.

Please find attached the output of:
update-alternatives --display usplash-artwork.so
dpkg-query -W usplash usplash-theme-ubuntu
cat /etc/usplash.conf

Changed in usplash:
status: Confirmed → Triaged
Revision history for this message
wieman01 (wieman01) wrote :

A solution was posted here... worked for me:

http://ubuntuforums.org/showthread.php?t=746132

Basically what you do is:

1. Make sure you have the initramfs-tools update
2. sudo blkid
3. Check that swap line UUID from /etc/fstab matches swap UUID from step 2, if not change fstab.
4. Check that the UUID in /etc/initramfs-tools/conf.d/resume matches the swap UUID from step 2, if not change resume file.
5. Restart

Thanks to analystscouch for this.

Revision history for this message
Saivann Carignan (oxmosys) wrote :

Can someone test the solution of wieman01?

Revision history for this message
wieman01 (wieman01) wrote :

Sorry, my previous post was incomplete. Here we go again:

Basically what you do is:

1. Make sure you have the initramfs-tools update
2. sudo blkid
3. Check that swap line UUID from /etc/fstab matches swap UUID from step 2, if not change fstab.
4. Check that the UUID in /etc/initramfs-tools/conf.d/resume matches the swap UUID from step 2, if not change resume file.
5. Restart
6. sudo update-initramfs -u

Thanks to analystscouch for this.

Revision history for this message
wieman01 (wieman01) wrote :

Oh, man, how embarrassing... got the sequence wrong this time and I don't know how to edit my posts... Feel free to remove the previous ones:

http://ubuntuforums.org/showthread.php?t=746132

Basically what you do is:

1. Make sure you have the initramfs-tools update
2. sudo blkid
3. Check that swap line UUID from /etc/fstab matches swap UUID from step 2, if not change fstab.
4. Check that the UUID in /etc/initramfs-tools/conf.d/resume matches the swap UUID from step 2, if not change resume file.
5. sudo update-initramfs -u
6. Restart

Thanks to analystscouch for this.

Revision history for this message
Mathijs Dumon (zandmathijsje) wrote :

I've tested this solution and it solved all my problems!

Thanks wieman01 for bringing this to our attention!

greetz,
Mathijs

Revision history for this message
Mahesh Asolkar (asolkar) wrote :

That fix worked for me too. Although I had to reinstall the Nvidia driver that I had installed with nvidia's installer (not from Ubuntu restricted repository).

For those who do not want to deal with such complications, is there going to be a fix pushed via update?

UUID of swap in my /etc/fstab was correct. I am still wondering how an incorrect UUID went into /etc/initramfs-tools/conf.d/resume file. Was it something that I did?

Changed in linux:
status: Invalid → New
Revision history for this message
Martin Pitt (pitti) wrote : Re: [Bug 205990] Re: [hardy] splash screen disappears after a few seconds

Did you guys actually have an invalid UUID in the original file? Or
none at all (i. e. it just had "resume=")?

Revision history for this message
323232 (323232) wrote :

had a different uuid in ----resume. Usplash still not working (only a fes seconds after boot)

description: updated
Changed in initramfs-tools:
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
Mahesh Asolkar (asolkar) wrote :

I had an invalid UUID in the /etc/initramfs-tools/conf.d/resume file. I don't think it matched any existing partitions on my disk. Hence I was wondering where it came from.

Revision history for this message
Saivann Carignan (oxmosys) wrote :

Did you install from Hardy beta, daily build or upgraded from Gutsy?

Revision history for this message
Saivann Carignan (oxmosys) wrote :

Also do you have multiple linux distributions installed on the same computer?

Revision history for this message
Mahesh Asolkar (asolkar) wrote :

I upgraded from Gutsy sometime in Jan or Feb. This is the only Linux distribution on my system.

I did install Windows XP sometime before the usplash problems started. But the usplash problems were not noticed immediately after that. So I could not really associate the usplash problems with XP installation.

Revision history for this message
Saivann Carignan (oxmosys) wrote :

Woopie and people that gets a segfault : Your issue seems to be different than the initial issue which did not have segfault. To make sure that your bug get fixed, can you open a new bug report in usplash and attach your debugging files there?

Revision history for this message
wieman01 (wieman01) wrote :

I also had an invalid UUID in "/etc/initramfs-tools/conf.d/resume". This fixed it.

By the way, the bug occurred after upgrading from Kubuntu Gutsy. No other OS on my computer. My USplash used to segfault as well until a couple of days ago, apparently one of the updates fixed it.

Revision history for this message
Martin Polden (martin-polden) wrote :

I had an invalid UUID in /etc/initramfs-tools/conf.d/resume too. Changing it to the correct one fixed it on Ubuntu 8.04 (including all updates as of 15.04.2008).

Revision history for this message
Saivann Carignan (oxmosys) wrote :

I was not able to reproduce this bug by upgrading to hardy from a clean gutsy installation.

Revision history for this message
wieman01 (wieman01) wrote :

Saïvann Carignan,

Probably because you did so just now. That's after the recent update... so probably new users aren't affected any longer. Good news that is.

This is why we call it a BETA version. :-)

Revision history for this message
Roger Downing (roger-downing) wrote : Re: [Bug 205990] Re: [hardy] splash screen disappears after a few seconds

Using a Toshiba Satellite Pro P100 and running Kubuntu Hardy beta upgraded
from Kubuntu Gutsy and kept up to date on a daily basis.
I tried the above fix and I still do not have usplash working as expected. I
get the initial side-to-side movement of the progress bar but it disappears
once the "Reading files required for boot" stage is reached.
I also tried running it manually and never saw the progress bar appear in
another terminal at all.

Cheers,

Roger

Revision history for this message
Saivann Carignan (oxmosys) wrote :

Roger Downing : Can you attach the file created by this command in a terminal? dmesg > dmesg.log . I wonder if you get a segfault in usplash like Whoopie. Also be sure that you followed the appropriate steps from wieman01 that I copied in the bug description.

Revision history for this message
wieman01 (wieman01) wrote :

@Roger Downing:

What happens when you do:

sudo mv /usr/share/initramfs-tools/scripts/local-premount/resume /var/tmp
sudo update-initramfs -u

Just something I saw in the same thread on Ubuntuforums.

Revision history for this message
professordes (d-a-johnston) wrote :

My 10 cents worth:

I was puzzling why my bootsplash had vanished on some (but not all) machines upgraded to the Hardy beta when I found this thread. The suggested fix works for me:

>Basically what you do is:
>1. Make sure you have the initramfs-tools update
>2. sudo blkid
>3. Check that swap line UUID from /etc/fstab matches swap UUID from step 2, if not change fstab.
>4. Check that the UUID in /etc/initramfs-tools/conf.d/resume matches the swap UUID from step 2, if not change resume file.
>5. sudo update-initramfs -u
>6. Restart
>Thanks to analystscouch for this.

On all the machines concerned the UUID in /etc/fstab and /etc/initramfs-tools/conf.d/resume was indeed wrong.

The observation is that on all these machines I had also installed 64 bit Ubuntu after the original 32 bit install and told it to use the same swap partition. Presumably the 64 bit install had assigned a new UUID to the swap partition but it hadn't had any side-effects until the upgrade.

Revision history for this message
323232 (323232) wrote :

Box was upgraded from gutsy to hardy.
Followed instructions above
bug still there

description: updated
Revision history for this message
Roger Downing (roger-downing) wrote :
  • unnamed Edit (1.0 KiB, text/html; charset=ISO-8859-1)
  • dmesg.log Edit (33.4 KiB, application/octet-stream; name=dmesg.log)

Hi,
Requested file attached. A quick scan by me didn't see any segfaults, but
perhaps there is information in here that will help you.

Thanks,

Roger

On 16/04/2008, Saïvann Carignan <email address hidden> wrote:
>
> Roger Downing : Can you attach the file created by this command in a
> terminal? dmesg > dmesg.log . I wonder if you get a segfault in usplash
> like Whoopie. Also be sure that you followed the appropriate steps from
> wieman01 that I copied in the bug description.
>
>
> --
> [hardy] splash screen disappears after a few seconds
> https://bugs.launchpad.net/bugs/205990
> You received this bug notification because you are a direct subscriber
> of the bug.
>

Revision history for this message
Roger Downing (roger-downing) wrote :
  • unnamed Edit (1013 bytes, text/html; charset=ISO-8859-1)

This worked! I now see the correct loading progress bar almost until the DM
starts up (there is 1 or 2 seconds where I can see some final bootup
messages).

Thanks!

Roger

On 16/04/2008, wieman01 <email address hidden> wrote:
>
> @Roger Downing:
>
> What happens when you do:
>
> sudo mv /usr/share/initramfs-tools/scripts/local-premount/resume /var/tmp
> sudo update-initramfs -u
>
> Just something I saw in the same thread on Ubuntuforums.
>
>
> --
> [hardy] splash screen disappears after a few seconds
> https://bugs.launchpad.net/bugs/205990
> You received this bug notification because you are a direct subscriber
> of the bug.
>

Revision history for this message
323232 (323232) wrote :

as above stated: the trick did not work for me.
untill...
I am working with kernel 2.6.24-15-generic. Not with 2.6.24-16-generic.
The reason is that 2.6.24-16-generic does not recognoze my atheros wirell on my laptop. See Bug #216263.
I started some experiments booting with Bug #216263. The experiments did not work boot the bootsplash was as it should.
The problem is still there when i am Booting with kernel 15 (and i must -> when i want to connect to the internet.

Revision history for this message
323232 (323232) wrote :

did a reinstall of the linux generic 2.6.24.26 packages -> atheros problem solved and usplash working as it should!

Revision history for this message
ktulu77 (ktulu-highwaytoacdc) wrote :

in my resume file, I have juste RESUME=/dev/sdb5.
can someone give me an example of this file so I can fix the bug ?
thank you.

Revision history for this message
Leszek (bigl-aff) wrote :

My resume file is as follows (just this single line):

RESUME=UUID=0b25c5d3-9c13-4049-be61-c872d46adc21

Revision history for this message
Leszek (bigl-aff) wrote :

Confirmed - fix with UUID in /etc/fstab and resume file works for me. Thanks! :)

Revision history for this message
ktulu77 (ktulu-highwaytoacdc) wrote :

ok thanks !
I have changed my resume file and now all is ok it works !
I have just one or two lines before kdm starts but I think it is another problem.

Revision history for this message
Claus Lensbøl (cmol) wrote :

Updated from gutsy today, and got this bug, tried the solution above, still doesn't work.
Have xp on my laptop to.

What was it about installing the linux generic 2.6.24.26 package again? And how if it matters?

Revision history for this message
Claus Lensbøl (cmol) wrote :

By the way, both of the UUID were wrong. And the usplash.log returns that it's testing my screen res, and will work with 1024 by 768.

Revision history for this message
Claus Lensbøl (cmol) wrote :

And got no segfault.

I'm lost? Help?

Revision history for this message
sagar (sagarkkadam) wrote :

Thanks it solved my problem too ..
I had both the files wrong !. Probably because I changed the swap partitions (?)

Revision history for this message
Neil Woolford (neil-neilwoolford) wrote :

I had this problem with an upgrade to Hardy Heron, but only with the latest kernel. Reverting kernel to the previous one worked fine.

The fix given at the top of this bug worked for me; the UUID for the swap file was correct in /etc/fstab but wrong in /etc/initramfs-tools/conf.d/resume. Editing this file to the right value and then updating initramfs has cured the problem.

I don't know how the UUIDs got out of step; the system was repartitioned using the gparted live CD immediately before the upgrade from 7.10 to 8.04, but the swap partition wasn't changed at that point; also, reverting to the previous kernel version worked fine (presumably the associated ramfs image still held a correct UUID?).

Thanks for the solution anyway. I have little doubt that resume will now work (should I ever choose to try it...)

Revision history for this message
Hans van den Bogert (hbogert) wrote :

wow thanks to this thread I actually realised I don't have any swap set :P

Revision history for this message
Marcus Granado (mrc-gran) wrote :

This bug was nagging me after I installed an encrypted cswap partition with cryptsetup
(similarly to https://help.ubuntu.com/community/EncryptedFilesystemHowto3#head-1b6a9c96dc5706575dae9a86a09e15df06dbb97a)
. For some reason, I had the resume file unknowingly. In this case, the cswap UUID is randomly different after each reboot, and therefore the file /etc/initramfs-tools/conf.d/resume containing the UUID is never the expected one after the next boot. To make the splash screen show up again during boot, I just deleted the resume file, and ran an update-initramfs -u.

Revision history for this message
Diego F. Rodríguez (diegorodriguezv) wrote :

wieman01 solution worked.

I installed hardy AMD64, dualboot with winXP. I don't know how the wrong UUID got there.

When I removed quiet from /boot/grub/menu.lst kernel line I was able to see something like: "usplash[1257] segfault <blah, blah, blah> error 6"

Revision history for this message
dorpm (dorpmueller) wrote :

I confirm that this worked for me:

> 1. Make sure you have the initramfs-tools update
> 2. sudo blkid
> 3. Check that swap line UUID from /etc/fstab matches swap UUID from step 2, if not change fstab.
> 4. Check that the UUID in /etc/initramfs-tools/conf.d/resume matches the swap UUID from step 2, if not change resume file.
> 5. sudo update-initramfs -u
> 6. Restart

After upgrading from Gutsy the UUID in /etc/initramfs-tools/conf.d/resume was wrong.

Florian

Revision history for this message
Joachim R. (jro) wrote :

With Hardy 64bits : checking UUID in /etc/fstab and /etc/initramfs-tools/conf.d/resume didn't help.

The only way I found to avoid usplash beeing interruped by text "reading files needed to boot" is removing the "quiet" option, so those text lines are now showing under the usplash.

---> So the "Actual solution" isn't "the actual" solution but "a possible solution for some people" !

Revision history for this message
Ezra Morris (ezramorris) wrote :

I've put the blkid/fstab/resume fix on Brainstorm: http://brainstorm.ubuntu.com/idea/9202/

Revision history for this message
DFreeze (dfreeze) wrote :

Same problem here, and the blkid/fstab/resume fix also did it for me. Both UUID's were wrong. I have an upgraded Hardy (upgraded after Hardy Final arrived).

Revision history for this message
Rafael Belmonte (eaglescreen) wrote :

Hello, i have the same problem with one Ubuntu Desktop 8.04 upgraded from 7.10 and also with another isntallation of Kubuntu Desktop 8.04 also upgraded from 7.10.
Usplash graphic disappears much time before gdm is started, by this half boot sequence is in text mode.
This bug is not present in Ubuntu or Kubuntu 8.04 with fresh installation.
I am not using reiserfs.

Revision history for this message
Ezra Morris (ezramorris) wrote :

@EagleScreen:
Did you try the suggested solution?

Revision history for this message
Rafael Belmonte (eaglescreen) wrote :

Hi again, the suggested solution worked for me.
Initially, i had an Ubuntu 8.04 LTS installed with fresh install from Live CD, in which this bug was not present.
I copied the root partition / in to an image file using partimage, and when I restored the image from image file to disk partition, this usplash problem started to happen.
I had wrong UUID of swap in both, fstab and resume files.

Revision history for this message
brad (bradlambeth) wrote :

What if I have a swap file instead of a swap partition? Should I just clear the resume file? My fstab is already fixed.

Revision history for this message
caljohnsmith (cal-john-smith) wrote :

I just did an upgrade from Gutsy to Hardy only a few days ago, and I was surprised when I ended up with the same problem as this bug report. I'm on a 32-bit machine, so it's not just a 64-bit architecture problem it seems. BUT, here's the important part that led to fixing my problem: not only did I have to change /etc/fstab and /etc/initramfs-tools/conf.d/resume to have the new, correct UUID, but I also had to change my /etc/uswsusp.conf to have the correct UUID for the swap partition. Without correcting my /etc/uswsusp.conf file, I kept getting the following error when I ran the update-initramfs command:

cryptsetup: WARNING: found more than one resume device candidate:
                     UUID=2936acdb-0d42-4dfc-b8c1-9df9f0627028
                     UUID=e01cf0e2-3ae1-42f0-a07f-c5167cba8ae5

The first UUID was the old, incorrect UUID, and the second UUID is the correct one. I should mention that I never resized, moved or modified my swap partition in any way that I'm aware of prior to my Hardy upgrade, so I'm wondering how did I end up with this problem when upgrading? How could all three of those files have been incorrect (fstab, uswsusp.conf, resume)?

Revision history for this message
Joachim R. (jro) wrote :

caljohnsmith, I have no /etc/uswsusp.conf file, what is the content of this file ?
As my /etc/fstab and /etc/initramfs-tools/conf.d/resume files are OK, I want try setting a /etc/uswsusp.conf in order to see if it fixes the problem for me to.

Revision history for this message
caljohnsmith (cal-john-smith) wrote :

Syrion: You will only have a uswsusp.conf file if you have the "uswsusp" package installed. I'm not sure if the package comes by default with Ubuntu or not, but if you don't have it, then you probably don't need it if you aren't having problems suspending or hibernating your computer. If you do have the package installed but no /etc/uswsusp.conf file, you might try "sudo dpkg-reconfigure uswsusp" or just simply reinstalling the package. If your fstab and resume files have the correct UUIDs, did you do the "sudo update-initramfs -u" to make sure your initrd boot file gets the changes? If you did but still have the splash screen problem, then maybe you have a different bug.

Revision history for this message
Joachim R. (jro) wrote :

caljohnsmith, yeah I did sudo "update-initramfs -u". I know the usual commands to run when the UUID of swap changed.
As my suspend to ram / hibernate functions are not working, I'll try uswsusp. Strange it is not included in the Ubuntu normal install...

Revision history for this message
Joachim R. (jro) wrote :

I have just installed uswsusp and its conf file is OK. Now S3 (suspend to ram) is OK, but after another "update-initramfs -u", the splash is still interrupted by text (kernel 2.6.24-19 now).
I don't know if hibernation will work as the "image size" given in uswsusp.conf = swap space - actual ram equals = 5.8 - 4 = 1.8Go
I think to have a correct hibernation, I'll need a 2x4Go swap, but I don't know what to do whith the interrupted splash (except removing quiet option)

Revision history for this message
caljohnsmith (cal-john-smith) wrote :

Syrion: You may also want to try installing a previous version of the kernel and give it a try. I had some serious issues with the 2.6.24-19 kernel on my machine for some reason, but going back to the 2.6.24-16 fixed some of my problems. Just an idea.

Revision history for this message
Joachim R. (jro) wrote :

caljohnsmith : nope, I have the problem with each kernel since 2.6.24-16 ...

Revision history for this message
Salik Rafiq (chameeyass) wrote :

I have this problem too. I am using Hardy 8.04 - 2.6.24-19 (it also happened in -16). UUID all match fine.
BUT I have edited init to add sleep 10 in premount and mount stages. Since I did that the splash disappears
when "Reading files needed to boot".

I suspect a problem with the image created by update-initramfs and not with usplash...though I'm not and expert and perhaps a signal is sent to usplash to kill it.

I can't find anything in my logs about it however. Will hunt around and see what I can find.

Revision history for this message
Thomas McKay (tom-mckay1) wrote :

wieman01's solution worked for me.

Thank you to everybody working to make ubuntu better!

Revision history for this message
Cristian Klein (cristiklein) wrote :

Thanks. Also works with Ubuntu Hardy 8.04 i386.

Revision history for this message
Michael Kogan (michael-kogan) wrote :

Thanks, also had this problem on 8.04 x64 and the solution has worked.

Revision history for this message
Olivier Cortès (olive) wrote :

Hi,

I confirm that this bug can occur on latest Intrepid.
I resized my swap, and obviously it changed its UUID. I didn't think I had to update anything more than fstab…
But I came across the same problem as in this bug : usplash quits just before “reading files needed to boot” message appears on text console.
Using the suggested workaround/fix (blkid → fstab/resume files → rebuild initramfs → reboot) works great and totally solves my problem. USPLASH IS BACK ! YAY !!

But it seems usplash is not hardened on latest intrepid than on hardy, regarding to this swap UUID problem.

I think that /etc/…/resume should be kept empty (or non-existent) if there is only one swap device referenced in fstab, and the one from fstab should be taken if “resume” file is empty or non-existent.

… when redondant/duplicate configuration data leads to problems…

regards,

Revision history for this message
shafin (mahdee-jameel) wrote :

I'm also having this problem in intrepid. I migrated my HDD to a new one, and changed the swap partition size, now, my new swap partition is not even loaded at startup. And running blkid gives me no uuid for my new swap partition, it says /dev/sda7: TYPE="swap" and nothing more.

Revision history for this message
Ezra Morris (ezramorris) wrote :

@shafin:
have you tried re-formatting your swap partition?

Revision history for this message
Alex Maguran (amaguran) wrote :

The "splash" problem showed up after I have switched the swap from a partition to a file. I have tried updating fstab and resume using the UUID associated to the swap file.
Then, I have cleared resume file, but still, the problem was not fixed.

Do you have other suggestions?
Thanks.

Revision history for this message
Ezra Morris (ezramorris) wrote :

@Alex:
Is it possible that usplash attempts to load before any partitions are mounted? In this case the file would not 'exist' when usplash tried to load.

Revision history for this message
Alex Maguran (amaguran) wrote :

@Ezra:
I don't think this is the case. If this would be true then the usplash would not be shown at all, right? The last messages displayed during the indeterminate progress indicator were:
- waiting for root file system
- waiting for resume device
This seems to take longer than in the past. Each message is displayed between 5 and 8 seconds. Then, the usplash is "replaced" by the "text mode". It continues with "Reading files needed to boot...".

I have attached "my" files corresponding to the commands listed by Saivann.

Thanks.

Revision history for this message
Ezra Morris (ezramorris) wrote :

@Alex:
Isn't this the same case when the resume and fstab files are wrong? Unless I'm mistaken, even when you change your RAM to a different partition, (ie. when it can't find it from resume and fstab), the pulsating bar still shows up, but then disappears for the (what would have been) sequential stage.

Revision history for this message
Ezra Morris (ezramorris) wrote :

@Alex:
Yes, I have checked.
Basically, usplash loads fine (pulsating), but the problem occurs when the system is looking for a 'system resume file'. It cannot find the partition listed in fstab and resume, therefore cannot check for a 'resume file', and drops to a terminal.

So, in your case, the partition holding the swap file is not yet mounted, therefore it is impossible for the system to look for a 'resume file' inside the swap file, and the same problem occurs.

Revision history for this message
Jithin Emmanuel (jithin1987) wrote :

I had this issue after I was moving my partition around. I increased the sizes of my / and swap partion after removing some of existing partition which changed UUID of swap after performing the solution mentioned my splash screen is back

Revision history for this message
loko (arph) wrote :

In my case, the fixes above don't work. This is because i have a encrypted swap with /dev/mapper/swap. The problem is, that the UUID of the swap partition is changeing every reboot. So it ist not possible to solves this problem.

because it is changeing i have in fstab: /dev/mapper/swap

But unfortunately this is not accepted by usplash, so the splash-screen goes away at "Reading files needed to boot".

I hope this will be fixed in a way, that is also considering the fact that with encrypted swap there is no static UUID possible.

Revision history for this message
Jeffery Davis (heavensblade23) wrote :

Workaround for encrypted swap: Use a passphrase instead of using /dev/random as a key. Follow the above instructions.

Any downsides to this, other than slightly less security?

Revision history for this message
Alex Maguran (amaguran) wrote :

@Ezra:
Sorry for the late response. My swap file is mounted under /mnt:
...
    /mnt/3200Mb.swap none swap sw 0 0
...
Is there something I can do?
Thanks.

Revision history for this message
Ezra Morris (ezramorris) wrote :

@Alex:
As I said before:
---------------------------
So, in your case, the partition holding the swap file is not yet mounted, therefore it is impossible for the system to look for a 'resume file' inside the swap file, and the same problem occurs.
---------------------------
IE. because it can't access the swap listed in the resume file, it drops to text boot.

I would <always> advise using a separate partition for swap, anyway.

Note: when I said 'resume file' here, I meant stuff in swap holding information about resuming from hibernation, rather than /etc/*/*/resume

Revision history for this message
Alex Maguran (amaguran) wrote :

@Ezra:
Thanks for the explanation. Still, this sounds to me like a bug. Missing of resume information should be handled "gracefully" and continue normal boot - until http://brainstorm.ubuntu.com/idea/8092/ is implemented.

Revision history for this message
loko (arph) wrote :

Jeffery Davis,

except your suggested workaround, is there any progress about this bug?
Using a passphrase instead of /dev/urandom is possible but it's not an acceptable solution.
Also, what i do not understand, why /dev/mapper/swap is also not working?

I understand that if i use /dev/urandom for the swap-partition, the UUID of this partition changes at every boot.
But /dev/mapper/swap is always the same. Why disappears the progress bar, even i have /dev/mapper/swap in /etc/fstab?

Revision history for this message
loko (arph) wrote :

I just got it fixed now. I found on another website the tip that the resume-file in /etc/initramfs-tools/conf.d is not working together with encrypted swap (swap encrypted with /dev/urandom).

The author of the tip wrote: "delete or comment out (#) the "RESUME=" line. Otherwise the splash screen (usplash) will show the console while boot i.e. the splash won't show the full booting time."

So i did, and now bootsplash does not disappear anymore.

Revision history for this message
rudy (rudyfella2000) wrote :

I have experienced the same problem after resizing some partitions. The proposed fix worked for me.

Changed in usplash:
status: Triaged → Confirmed
Revision history for this message
Forest Bond (forest-bond) wrote :

My /etc/initramfs-tools/conf.d/resume contained "RESUME=/dev/sdb5", but my swap partition was /dev/sda5. I changed the file to /dev/disk/by-uuid/{correct UUID} and things are now working correctly.

Revision history for this message
Forest Bond (forest-bond) wrote :

Let me add that I am on Intrepid, to which I upgraded from Hardy. I upgraded prior to final release, though.

It might be nice if update-initramfs made some effort to correct the contents of /etc/initramfs-tools/conf.d/resume. I know that update-initramfs is probably not the ultimate cause if the incorrect value, but that would at least fix it after the fact.

Would this be a policy violation?

Revision history for this message
Melk79 (smelkus) wrote :

I also ran into this bug on Hardy and it persisted after upgrading to Intrepid. The problem began for me after an unfortunate situation caused by using ext2fs on MS Vista to access some videos from my Ubuntu ext3 partition. At some point, I think Vista either slept or hibernated which caused my ext3 partition and swap partition to be labeled read-only. After some fsck's/fixes and after swapoff and mkswap on /dev/sda5 to restore use of my Ubuntu partition, this bug started occurring. The fix offered by wieman01 through analystscouch solved this problem for me as well.

Revision history for this message
Bernard Decock (decockbernard) wrote :

I didn't have any problems with the splash screen in Hardy but after adding new partitions and doing a fresh install of Intrepid, the splash screen disappears after the OS-selection made in the grub (I'm running Ubuntu Intrepid on /dev/sda1,
Kubuntu on /dev/sda2, have a swap-space on /dev/sda5 and WinXP on a older disc /dev/sb1).

I checked uuid's mentionned. In both cases the file /etc/initramfs-tools/conf.d/resume has the right UUID of the swap-partition (as one can see in ls -alh /dev/disk/by-uuid or cat /etc/fstab).

After "Starting up, please loading" I get a dark screen and a warning from my monitor (Out of range Vf: 86.7 Hf 46.4K).
I tried to add a vga-option after ro quiet splash, but only the option vga=769 removes the monitor-warning, but the screen
stays dark. If I set vga=794 (as it should be - my monitor has a 1280x1024 resolution), the monitor-warning pops up.

The file /etc/usplash.conf has the right settings (xres = 1280, yres = 1024). After a few seconds (splashscreen has ended?) I get the brown screen and the gnome pops up without any problems. This is very odd as with the live-cd I do get the
splash screen (even at shutting down). Dmesg does not reveal any particular problem regaring the screen-resolution
unless this sentence is an indication of the problem? : "Console: colour VGA+ 80*25". Any ideas how to get the splash screen back? (or to make it visible)

Revision history for this message
Joachim R. (jro) wrote :

I also have a correct UUID in /etc/initramfs-tools/conf.d/resume on a computer that was working perfectly with Hardy. Since Intrepid upgrade, no uspash on shutdown, no usplash on startup !

Revision history for this message
Pavol Babinčák (scrool) wrote :

When I had in /boot/grub/menu.lst for kernel resume=/dev/hda5 (where hda5 is my swap partition) usplash segfaults like described above - when it is trying to access swap partition for resume:
usplash[1104]: segfault at b768d580 ip b7ef6bb6 sp bf862e40 error 6 in libusplash.so.0[b7ed2000+28000]

Removing resume kernel parameter helped. Correct UUID value for RESUME in /etc/initramfs-tools/conf.d/resume is enough for resuming from hibernate.

usplash 0.5.25

Revision history for this message
Tim Fuchs (tim-fuchs) wrote :

I have a question about the workaround:

What do I do when I don't have a swap partition?

Revision history for this message
Ezra Morris (ezramorris) wrote :

Tim:
I *think* you clear the resume file.

Revision history for this message
Tim Fuchs (tim-fuchs) wrote :

And by clear you mean delete the file? Or clear its contents?

Right now my /etc/initramfs-tools/conf.d/resume consists only of the following line:

RESUME=UUID=01bd9fb0-8dd9-4b23-a12a-cc4feef1b300

This parition does not exist accoring to blkid:

/dev/sda1: SEC_TYPE="msdos" LABEL="DELLUTILITY" UUID="07D8-0208" TYPE="vfat"
/dev/sda2: UUID="F62CB6232CB5DEB5" LABEL="OS" TYPE="ntfs"
/dev/sda5: LABEL="MEDIADIRECT" UUID="82B9-FD10" TYPE="vfat"
/dev/sda6: UUID="e98b32ed-cc4b-4377-95a1-ac0bba254feb" TYPE="ext3"
/dev/sda7: UUID="8b05aa5d-dc7f-437e-aef5-dc8c19b7befa" SEC_TYPE="ext2" TYPE="ext3"
/dev/sda8: UUID="8b05aa5d-dc7f-437e-aef5-dc8c19b7befa" TYPE="ext3"

but it still is in my fstab:

UUID=01bd9fb0-8dd9-4b23-a12a-cc4feef1b300 none swap sw 0 0

Revision history for this message
Joel Berger (joel-a-berger) wrote :

I am having this issue as well. I prefer a swapfile, but I lose my usplash to get it.

From watching the boot process I tend to agree with Ezra that the disk is not yet mounted thus the swap cannot be found yet. However the swap does get mounted eventually because I can 'cat /proc/meminfo' and see the swap available.

My questions are, would there be any reason not to remove the swapfile from /etc/fstab and instead swapon /mnt/swap from rc.local? I know its clumsy but it might work.

Also does it matter that I call /mnt/swap from /etc/fstab rather than the UUID that gets printed during the creation as per https://help.ubuntu.com/community/SwapFaq#Example%20of%20making%20a%20swap%20file

Thanks

Revision history for this message
xq19space (tuxlux) wrote :

Thanks wieman01....your posting #39 saved me.

I cleaned my swap file using "Secure-Delete". After I rebooted I had no splash.

Your solution works:

1. Make sure you have the initramfs-tools update
2. sudo blkid
3. Check that swap line UUID from /etc/fstab matches swap UUID from step 2, if not change fstab.
4. Check that the UUID in /etc/initramfs-tools/conf.d/resume matches the swap UUID from step 2, if not change resume file.
5. sudo update-initramfs -u
6. Restart

Revision history for this message
LCID Fire (lcid-fire) wrote :

I switched from a swap partition to a swap file.
This problem showed up and I had to remove the UUID=... entry in /etc/initramfs-tools/conf.d/resume and run
sudo update-initramfs -u -k all
as described before.

Revision history for this message
Daniel Bonniot de Ruisselet (bonniot-users) wrote :

I had a RESUME=/dev/... in /etc/initramfs-tools/conf.d/resume
Changing it to RESUME=UUID=.... and running 'update-initramfs -u' fixed it.

It would help if, both during boot and update-initramfs rungs, a message was printed when theRESUME= line seems to be incorrect (wrong UUID or device name instead of UUID).

Revision history for this message
armag.info (fatal) wrote :

Actual Solution :

1. Make sure you have the initramfs-tools update
2. sudo blkid
3. Check that swap line UUID from /etc/fstab matches swap UUID from step 2, if not change fstab.
4. Check that the UUID in /etc/initramfs-tools/conf.d/resume matches the swap UUID from step 2, if not change resume file.
5. sudo update-initramfs -u
6. Restart

THIS WORKS!!!

I just copied my entire disk to another, bigger one with dd utility. Of cource I had all UUID messed up. And my bootscreen showed me the process instead of usplash. Thanks a lot!

Revision history for this message
Phillip Susi (psusi) wrote :

The usplash package has been superseded by plymouth and has been removed from the Ubuntu archive. Closing all related bugs.

Changed in usplash (Ubuntu):
status: Confirmed → Invalid
Phillip Susi (psusi)
no longer affects: initramfs-tools (Ubuntu)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.