[debian-non-standard] segmentation faults and bus errors - abandoned all hope

Tomasz Orłowski t.orlowski at wsisiz.edu.pl
Sat Feb 23 17:12:23 CET 2008


Hi

Guys I'm really jealous of your successful boots of Debian on 500wP :(
I've really tried many things during past weeks (mainly hints from
https://dev.openwrt.org/ticket/2035) and I still got lots of
segmentation faults and bus errors.
I was using image form wpkg.org and my own kernel builds based on r6850,
r9442, r10390.....
With all of those kernels I can successfully boot my box for only about
3 of 10 attempts. Sometimes everything is ok, but mainly I get bus
errors :o/
1h ago I've tried most fresh revision 10571 and result is the same.
Sometimes it boots sometimes not.

Below I'm posting successful and some unsuccessful boots of my 500wP
captured from serial console. Errors always start at thebeginning of
init scripts. If first udevd came up, everything will be fine in the
remaining part of boot process.

Do you have any thoughts?

Thanks in advance
Tomasz (with nervous breakdown)


fragment from successful boot
--------------------------------------------------------------------
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
Freeing unused kernel memory: 124k freed
Algorithmics/MIPS FPU Emulator v1.5
INIT: version 2.86 booting
Starting the hotplug events dispatcher: udevd.
Synthesizing the initial hotplug events...done.
Waiting for /dev to be fully populated...done.
--------------------------------------------------------------------


same fragment of boot but with errors nr1
--------------------------------------------------------------------
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
Freeing unused kernel memory: 124k freed
Algorithmics/MIPS FPU Emulator v1.5
INIT: version 2.86 booting
/lib/init/mount-functions.sh: line 34:   175 Bus error              
mount -n -t $FSTYPE $5 $OPTS $DEVNAME $MTPT
/lib/init/mount-functions.sh: line 34:   179 Bus error              
mount -n -t $FSTYPE $5 $OPTS $DEVNAME $MTPT
/lib/init/mount-functions.sh: line 34:   184 Bus error              
mount -n -t $FSTYPE $5 $OPTS $DEVNAME $MTPT
/lib/init/mount-functions.sh: line 34:   188 Bus error              
mount -n -t $FSTYPE $5 $OPTS $DEVNAME $MTPT
/etc/rcS.d/S03udev: line 23:   201 Bus error               mount -n
--bind /dev /lib/udev/devices
* Files under mount point '/dev/shm' will be hidden.
/lib/init/mount-functions.sh: line 34:   213 Bus error              
mount -n -t $FSTYPE $5 $OPTS $DEVNAME $MTPT
/lib/init/mount-functions.sh: line 34:   217 Bus error              
mount -n -t $FSTYPE $5 $OPTS $DEVNAME $MTPT
--------------------------------------------------------------------


same fragment of boot but with errors nr2
--------------------------------------------------------------------
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
Freeing unused kernel memory: 124k freed
Algorithmics/MIPS FPU Emulator v1.5
INIT: version 2.86 booting
/etc/init.d/rc: line 77:   153 Bus error               $@
/etc/init.d/rc: line 77:   169 Bus error               $@
/etc/init.d/rc: line 77:   172 Bus error               $@
/etc/rcS.d/S03udev: line 60:   207 Done                    grep '^[^#]'
/etc/udev/links.conf
       208 Bus error               | while read type name arg1; do
    [ "$type" -a "$name" -a ! -e "/dev/$name" -a ! -L "/dev/$name" ] ||
continue; case "$type" in
        L)
            ln -s $arg1 /dev/$name
        ;;
        D)
            mkdir -p /dev/$name
        ;;
        M)
            mknod -m 600 /dev/$name $arg1
        ;;
        *)
            log_warning_msg "links.conf: unparseable line ($type $name
$arg1)"
        ;;
    esac; if [ -x /sbin/restorecon ]; then
        /sbin/restorecon /dev/$name >/dev/null 2>/dev/null;
    fi;
done
/etc/init.d/rc: line 77:   195 Bus error               $@
/etc/init.d/rc: line 77:   227 Bus error               $@
/etc/init.d/rc: line 77:   240 Bus error               $@
/etc/rcS.d/S10checkroot.sh: line 24:   249 Bus error               ( [
"$PASS" != 0 ] && [ "$PASS" != "" ] )
/etc/rcS.d/S10checkroot.sh: line 24:   250 Bus error               ( [
"$FSTYPE" = "nfs" ] || [ "$FSTYPE" = "nfs4" ] )
--------------------------------------------------------------------


same fragment of boot but with errors nr3
--------------------------------------------------------------------
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
Freeing unused kernel memory: 124k freed
Algorithmics/MIPS FPU Emulator v1.5
INIT: version 2.86 booting
/etc/rcS.d/S02mountkernfs.sh: line 22:   180 Bus error              
grep -E -qs "sysfs\$" /proc/filesystems
/lib/init/mount-functions.sh: line 34:   182 Bus error              
grep -E -qs "$1\$" /proc/filesystems
/lib/init/mount-functions.sh: line 34:   183 Bus error              
grep -E -qs "$2\$" /proc/filesystems
* Filesystem types 'usbfs' and 'usbdevfs' are not supported. Skipping mount.
/etc/rcS.d/S03udev: line 154:   196 Bus error               grep -q
'[[:space:]]tmpfs$' /proc/filesystems
* udev requires tmpfs support, not started.
 failed!
* Files under mount point '/dev/shm' will be hidden.
/lib/init/mount-functions.sh: line 34:   219 Bus error              
grep -E -qs "$1\$" /proc/filesystems
/lib/init/mount-functions.sh: line 34:   220 Bus error              
grep -E -qs "$2\$" /proc/filesystems
* Filesystem type 'devpts' is not supported. Skipping mount.
/lib/init/vars.sh: line 10:   229 Bus error               egrep -qw
'quiet' /proc/cmdline
/lib/init/vars.sh: line 10:   234 Bus error               egrep -qw
'quiet' /proc/cmdline
--------------------------------------------------------------------




More information about the debian-non-standard mailing list