mountall crashed with SIGSEGV in main() without initramfs
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mountall (Ubuntu) |
Fix Released
|
High
|
Steve Langasek | ||
Lucid |
Fix Released
|
High
|
Steve Langasek |
Bug Description
Binary package hint: mountall
I'm booting a system without a ramdisk, using 2.6.32-
[ 0.808201] VFS: Mounted root (ext3 filesystem) readonly on device 8:0.
[ 0.809808] devtmpfs: mounted
[ 0.810402] Freeing unused kernel memory: 568k freed
[ 0.818208] Write protecting the kernel text: 4736k
[ 0.824659] Write protecting the kernel read-only data: 1924k
init: ureadahead main process (51) terminated with status 3
mountall: Could not connect to Plymouth
init: mountall main process (52) killed by SEGV signal
General error mounting filesystems.
A maintenance shell will now be started.
CONTROL-D will terminate this shell and reboot the system.
Give root password for maintenance
I'm able to get past the immediate mountall failure if I boot with init=/bin/bash and then do something like:
mount -t proc /proc /proc
exec /sbin/init
That ends up booting, but then / is read-only.
I'm attaching an apport report file that I generated by booting with init=/bin/bash, then:
mount -t proc /proc /proc
mount -t tmpfs none /var/crash
mount -t tmpfs none /var/log
echo "|/usr/
umount /proc/
ulimit -c unlimited
exec /sbin/init
mountall dies, and init gives a maintainence prompt. I extracted the apport crash from /var/crash.
It looks as if mountall is relying on some of the mounts or setup that is done in an initramfs.
ProblemType: Crash
Architecture: i386
Date: Tue Jan 5 03:23:09 2010
DistroRelease: Ubuntu 10.04
ExecutablePath: /sbin/mountall
Package: mountall 2.3
ProcCmdline: mountall --daemon
ProcEnviron: PATH=(custom, no user)
ProcVersionSign
SegvAnalysis:
Segfault happened at: 0xb7782a43: mov 0x4(%edx),%esi
PC (0xb7782a43) ok
source "0x4(%edx)" (0x00000004) not located in a known VMA region (needed readable region)!
destination "%esi" ok
SegvReason: reading NULL VMA
Signal: 11
SourcePackage: mountall
StacktraceTop:
?? () from /sbin/mountall
?? () from /sbin/mountall
?? () from /sbin/mountall
main () from /sbin/mountall
Tags: lucid
Title: mountall crashed with SIGSEGV in main()
Uname: Linux 2.6.32-
UserGroups:
Related branches
- Scott James Remnant (Canonical): Pending requested
- Diff: 0 lines
summary: |
- mountall crashed with SIGSEGV in main() + mountall crashed with SIGSEGV in main() without initramdisk |
summary: |
- mountall crashed with SIGSEGV in main() without initramdisk + mountall crashed with SIGSEGV in main() without initramfs |
visibility: | private → public |
tags: | added: ec2-images |
Changed in mountall (Ubuntu): | |
importance: | Medium → High |
Changed in mountall (Ubuntu): | |
status: | New → Confirmed |
Changed in mountall (Ubuntu Lucid): | |
milestone: | none → lucid-alpha-2 |
Changed in mountall (Ubuntu Lucid): | |
assignee: | nobody → Steve Langasek (vorlon) |
StacktraceTop: 0xb778ecb4 "/proc") at mountall.c:424
find_mount (mountpoint=
mount_proc () at mountall.c:666
parse_filesystems () at mountall.c:838
main (argc=2, argv=0xbfb17aa4) at mountall.c:2969