[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: preparation for the alpha



[Tollef Fog Heen]
> lspci output would be good as well.

I made a small udeb to store debug info on a floppy.  Unfortunately
this did not work as busybox tar is unable to create archives.  This
udeb was going to copy all the content of /var/log/ into the archive,
and run the following script to fetch HW information:

#!/bin/sh -e
#
# Report the detected HW

if [ -x /sbin/discover ] ; then
        /sbin/discover -f "info: $0: discover: %m;%S;%D;%V;%M;%d\n" all || true
else
        echo "error: $0: Unable to find /sbin/discover"
fi

if [ -x /sbin/lspci ] ; then
        (
                /sbin/lspci -v -t || true
                /sbin/lspci -n || true
                /sbin/lspci -v || true
        )| sed "s%^%info: $0: lspci: %"
else
        echo "error: $0: Unable to find /sbin/lspci"
fi

if [ -x /sbin/lsmod ] ; then
        /sbin/lsmod | sed "s%^%info: $0: lsmod: %"
else
        echo "error: $0: Unable to find /sbin/lsmod"
fi

Check out skolelinux-reportbug-udeb in APT source 'deb
ftp://ftp.skolelinux.no/skolelinux/ woody local'.  The source is in
Skolelinux CVS,
<URL:http://developer.skolelinux.no/cgi-bin/viewcvs.cgi/skolelinux/src/base-config-skolelinux/>.



Reply to: