usplash timeouts after 15s despite changing timeout to 30s

Bug #28357 reported by Trouilliez vincent
6
Affects Status Importance Assigned to Milestone
usplash (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

I spotted this udev upload today :

------------
udev (079-0ubuntu3) dapper; urgency=low
  * Wait time for SCSI devices should be 30 seconds, not 3 seconds.
    Accidentally broken while fixing usplash timeouts.
------------

...but in effect, somehow, usplash keeps timing out after only 15 seconds (as it
always did), not 3 nor 30.
My SCSI card takes just over 15 seconds (17 or so) to respond, bad luck ! ;-)

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

The udev script has this code:

                if type usplash_write >/dev/null 2>&1; then
                    usplash_write "TIMEOUT 30" || true
                fi

                slumber=300
                while [ ${slumber} -gt 0 -a ! -e "${ROOT}" ]; do
                    /bin/sleep 0.1
                    slumber=$(( ${slumber} - 1 ))
                done

                if type usplash_write >/dev/null 2>&1; then
                    usplash_write "TIMEOUT 15" || true
                fi

Apparently usplash still times out after 15s, despite the change to 30s before the loop.

Changed in udev:
assignee: keybuk → nobody
Revision history for this message
Scott James Remnant (Canonical) (canonical-scott) wrote :

Looks like busybox doesn't include type, heh

Changed in usplash:
assignee: nobody → keybuk
Revision history for this message
Scott James Remnant (Canonical) (canonical-scott) wrote :

Fixed in today's upload

Changed in udev:
status: Unconfirmed → Fix Released
Revision history for this message
Trouilliez vincent (vincent-trouilliez-modulonet) wrote :

Hi Scott,

Was very excited to try your fix, but it doesn't work, it still times out after 15 seconds :o(

Is there anything particular I should do to get this fix to work, other than simply upgrading udev with Synaptic as usual ?

Revision history for this message
Trouilliez vincent (vincent-trouilliez-modulonet) wrote :

I can see bags of error messages before usplash starts. I don't know if they are relevant to this problem, but I made a video clip to show it all:

http://perso.modulonet.fr/~troutrou/Linux/PICT0001.MOV

Revision history for this message
Trouilliez vincent (vincent-trouilliez-modulonet) wrote :

Oh, only minutes after I uploaded this movie, I noticed there was a new kernel available (2.6.15-17). I installed it and now all the weird messages that are visible on my video, are gone. The kernel now starts "cleanly" so to speak.
So sure enough, they have nothing to do with usplash insisting on timing out after 15s.
Back to the drawing board ;-)

BTW, can you re-open the bug please ? I can't find anything anywhere in Malone to let me change the status of the bug. I guess only the devs are allowed to change the status of a bug ??

Revision history for this message
Trouilliez vincent (vincent-trouilliez-modulonet) wrote :

Ah, justed found how to change the status.. just needed to click on it, he he...

Changed in udev:
status: Fix Released → In Progress
Revision history for this message
Scott James Remnant (Canonical) (canonical-scott) wrote :

Has to be a usplash bug then.

Changed in udev:
assignee: keybuk → nobody
status: In Progress → Unconfirmed
Revision history for this message
Trouilliez vincent (vincent-trouilliez-modulonet) wrote :

udev (079-0ubuntu20) dapper; urgency=low
   * Load ide-generic in all cases after loading PCI storage controller
     drivers. This reduces the complexity of the root filesystem mounting
     to just a single path for both IDE and everything else and opens up to
     using a UUID for everything.
   * Set a global usplash timeout for the entire initramfs script.
     Ubuntu: #35104.

I am glad to report that this recent udev upload today, fixes my problem !
I can now at last see usplash at boot, despite my slow to initialize SCSI card ! And even at shut-down as well now, sweet ! :o)

Bug closed :-)

Changed in usplash:
status: Unconfirmed → Fix Released
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.