Not reached assertion failed in boredom_timeout

Bug #542378 reported by Simon Kitching
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
mountall (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: mountall

Booting the normal lucid kernel works fine.

Booting a custom 2.6.34-rc1 kernel *intermittently* causes the following:
  mountall:mountall.c:2726: Not reached assertion failed in boredom_timeout
  General error mounting filesystems
and a maintenance shell is started.

The grub2 config entry is:
menuentry "custom" --class gnu-linux --class gnu --class os {
  recordfail
  insmod ext2
  set root='(hd0,1)'
  search --no-floppy --fs-uuid --set 94c74d05-ecc5-4749-b39b-072193707516
  linux /bzImage-custom root=/dev/sda5 rootfstype=ext4 ro crashkernel=384M-2G:64M,2G-:128M quiet splash
}

mountall is version 2.8

ProblemType: Bug
Architecture: i386
Date: Sat Mar 20 15:57:29 2010
DistroRelease: Ubuntu 10.04
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Alpha i386 (20100224.1)
Package: mountall 2.8
ProcEnviron:
 PATH=(custom, user)
 LANG=en_NZ.utf8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.32-14.20-generic
SourcePackage: mountall
Uname: Linux 2.6.32-14-generic i686

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

This also happens with default Lucid kernel.

Ubuntu lucid sometimes cannot boot, this usually happens after install some new packages or after install some updates, so will this issue be related to package management in any way?
When the issue occurs, the playmouth boot splash is showed and never ends, if I hit enter, then splash goes away and this message appears:
"mountall: mountall.c:2726: Not reached assertion failed in boredom_timeout"
After this Ubuntu drops to a maintenance shell.

ProblemType: Bug
Architecture: i386
Date: Tue Mar 23 17:23:04 2010
DistroRelease: Ubuntu 10.04
InstallationMedia: Error: [Errno 13] Permiso denegado: '/var/log/installer/media-info'
NonfreeKernelModules: wl
Package: mountall 2.8
ProcEnviron:
 LANG=es_ES.utf8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.32-16.25-generic
SourcePackage: mountall
Uname: Linux 2.6.32-16-generic i686

Revision history for this message
Simon Kitching (skitching) wrote :

The bug related to eternal "waiting for / [SM]" appears to be a real problem then.

The message "mountall.c:2726: Not reached assertion failed" is unfortunately not helpful though. I've looked at mountall.c, and that message is simply because we both pressed <ENTER>, when the valid choices were "[SM]", ie S (skip) or M (maintenance shell). There appears to be a buglet here: either plymouth_prompt should not be allowing <ENTER>, or mountall.c should be handling it. But the message is unfortunately not telling us anything about why "/" is not available.

From mountall.c:

  message = NIH_MUST (nih_sprintf (NULL, _("Waiting for %s [SM]"),
       MOUNT_NAME (mnt)));

  answer = plymouth_prompt (NULL, message, "SsMm");
                if (answer is null or is S or is M) // real code removed for brevity..
                    ..
                else
   nih_assert_not_reached (); // <== the failure message seen above

Revision history for this message
xtract (apisonador) wrote :

It also happens me, when I last updated lucid.
Do you have a ntfs partition? This is the one that mountall.c can't mount in my case....

Revision history for this message
Simon Kitching (skitching) wrote :

No, I have no ntfs partition. The one I can't mount is '/', of type ext4 (see grub.cfg entry above).

What I have noticed is that if I get the 'waiting for / [SM]' message, and select M then ctrl-d, booting continues correctly.

This suggests to me that the filesystem ('/' in my case) did in fact mount correctly, and it is just that mountall or plymouth never noticed.

This makes sense; both mountall and plymouth are new. This bug is also intermittent for me, which suggests a race condition. Mounting drives is old and established code, so a race condition is unlikely. The new code for *detecting* that the mount has happened, however, could well be racy. (warning: pure speculation)

Revision history for this message
xtract (apisonador) wrote : Re: [Bug 542378] Re: Not reached assertion failed in boredom_timeout

I have this problem in every time I turn on my pc, and I have realised that
my two hdd are called hde and hdf. And hdf isn't mounted, I have to use
ntfs-config.

I can continue using ubuntu, but it's annoying....

Revision history for this message
Dmitry Melnikov (dmitryme) wrote :

I have the same problem on Lucid beta. My seconds drive don't want to be mounted with the same error.
Very annoying.

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.