I'm running NanoBSD (FreeBSD 8.2R) on a net5501.  It generally runs great, but 
every time I go to reboot it, I get an error and it doesn't reboot.  Same error 
for halt, reboot, and shutdown.

net5501# uname -a
FreeBSD net5501 8.2-RELEASE-p2 FreeBSD 8.2-RELEASE-p2 #0: Sat Jul 16 12:26:17 
EDT 2011     
[email protected]:/usr/obj/nanobsd.custom/i386/usr/src/sys/JEDWALL  i386
net5501# halt
/sbin/halt: Input/output error.
net5501# shutdown now
/sbin/shutdown: Input/output error.
net5501# reboot
/sbin/reboot: Input/output error.
net5501# 

On the console there is a bit more info:
login: vnode_pager_getpages: I/O read error
vnode_pager_getpages: I/O read error
vnode_pager_getpages: I/O read error

Fortunately I can reach out and touch it and give it a hard boot when necessary 
(new builds, generally), but I'd like to fix it.  The NanoBSD configuration 
file I use is included below.  

-Jed


NANO_NAME=custom
NANO_SRC=/usr/src
NANO_KERNEL=JEDWALL
NANO_ARCH=i386
NANO_IMAGES=2
JEDWALL_DIR=/home/clear/jedwall

CONF_BUILD='
NO_KLDLOAD=YES
NO_NETGRAPH=YES
NO_PAM=YES
'

CONF_INSTALL='
NO_ACPI=YES
NO_BLUETOOTH=YES
NO_CVS=YES
NO_FORTRAN=YES
NO_HTML=YES
NO_LPR=YES
NO_SENDMAIL=YES
NO_SHAREDOCS=YES
NO_EXAMPLES=YES
NO_CALENDAR=YES
NO_MISC=YES
'
#NO_INSTALLLIB=YES
#NO_MAN=YES
#NO_SHARE=YES

CONF_WORLD='
NO_MODULES=YES
NO_KERBEROS=YES
NO_GAMES=YES
NO_RESCUE=YES
NO_LOCALES=YES
NO_SYSCONS=YES
NO_INFO=YES
'
#

FlashDevice SanDisk 1G

cust_nobeastie() (
    touch ${NANO_WORLDDIR}/boot/loader.conf
    echo "beastie_disable=\"YES\"" >> ${NANO_WORLDDIR}/boot/loader.conf
)

install_packages () (
        mkdir -p ${NANO_WORLDDIR}/packages
        cp ${JEDWALL_DIR}/pkg/* ${NANO_WORLDDIR}/packages
        chroot ${NANO_WORLDDIR} sh -c 'cd packages; pkg_add -v *;cd ..;'
        rm -rf ${NANO_WORLDDIR}/packages
        rm -f ${NANO_WORLDDIR}/usr/local/etc/thttpd.conf
        ln -s /etc/www/thttpd.conf ${NANO_WORLDDIR}/usr/local/etc/thttpd.conf
)

install_jedwall_files () (
        cp -Rp ${JEDWALL_DIR}/Files/etc/ssh ${NANO_WORLDDIR}/etc/ssh
        cp -RL ${JEDWALL_DIR}/Files/* ${NANO_WORLDDIR}
        cp /etc/master.passwd ${NANO_WORLDDIR}/etc
        pwd_mkdb -p -d ${NANO_WORLDDIR}/etc ${NANO_WORLDDIR}/etc/master.passwd
        ln -s /var/named/etc/namedb ${NANO_WORLDDIR}/etc/namedb
)
customize_cmd cust_comconsole
customize_cmd cust_install_files
#customize_cmd cust_allow_ssh_root
customize_cmd cust_nobeastie
customize_cmd install_packages
customize_cmd install_jedwall_files


_______________________________________________
Soekris-tech mailing list
[email protected]
http://lists.soekris.com/mailman/listinfo/soekris-tech

Reply via email to