I have a wierdness with my gentoo box which appeared recently after some fs-whoes on my root partition.
The troubles with the ext3 fs are solved and usually I would have expected gentoo to boot nicely again
but instead this happens at boot-up:
(please see the attached init-boot.log)
... then the normal startup continues ...
remarks: ----------------------------------
* for this bootup I've created /var/lib/init.d/started via a mkdir -p /var/lib/init.d/started command
in /etc/init.d/hostname, otherwise the init process would loop forever, checking the rootfs again and again.
* /etc/conf.d/rc contains: svcdir="/var/lib/init.d svcmount="no" svcfstype="tmpfs" (same settings as in) /sbin/functions.sh
* /var is not a seperate partition, it's directory on /
* I have also tried wit explicit use of svcmount="yes"
* I have also re-emerged, baselayout and coreutils
* system uses actual ~x86 and 2.6.0-test9-gentoo from gentoo-dev
* error occurred after troubles with file-system that were fixed
after bootup & login:
----------------------------------
* the $svcdir is mounted to tmpfs although $svcmount is set to "no"
and local filesystems are missing in mount-table although mounted (see init-log) and accessible
redchili root # df -h
Filesystem Size Used Avail Use% Mounted on
/dev/hde2 19G 13G 5.6G 69% /
tmpfs 19G 13G 5.6G 69% /var/lib/init.d
none 379M 0 379M 0% /dev/shm
redchili root # mount
/dev/hde2 on / type ext3 (rw,noatime)
none on /proc type proc (rw)
none on /dev type devfs (rw)
tmpfs on /var/lib/init.d type tmpfs (rw,mode=0644,size=2048k)
none on /dev/shm type tmpfs (rw)
automount(pid6029) on /mnt/auto type autofs (rw,fd=5,pgrp=6029,minproto=2,maxproto=4)
redchili root #
questions:
----------------------------------
* I guess the reason for the looping of the init is the not creating of /var/lib/init.d ($svcdir),
but I can't explain why it's not created by the rc-scripts
* why is there still a complaint
ln: creating symbolic link `/var/lib/init.d/started/checkroot' to `/etc/init.d/checkroot': No such file or directory
although I explicitly create /var/lib/init.d/started in the hostname script, and the root-fs is mounted read/write?
* in short: how to solve this?
kind regards, Reinhard
-- Reinhard Brandstaedter [EMAIL PROTECTED] GPG: 0x033B81DB - Student of Computer Science - J.K. University of Linz - - <ICQ: 73059068> <Mobile: +43 699 12419541> - - http://adelaide.dnsalias.net -
Gentoo Linux; http://www.gentoo.org/ Copyright 2001-2003 Gentoo Technologies, Inc.; Distributed under the GPL
* Mounting proc at /proc...
[ ok ]
* Mounting sysfs at /sys...
[ ok ]
* Mounting devfs at /dev...
[ ok ]
* Mounting devpts at /dev/pts...
[ ok ]
* Starting devfsd...
Started device management daemon v1.3.25 for /dev
[ ok ]
* Activating (possible) swap...
[ ok ]
* Remounting root filesystem read-only (if necessary)...
[ ok ]
* Checking root filesystem...
fsck 1.34 (25-Jul-2003)
/dev/hde2: clean, 356575/2501856 files, 3291399/5000058 blocks
[ ok ]
* Remounting root filesystem read/write...
[ ok ]
* Setting hostname to redchili...
[ ok ]
* Calculating module dependencies...
[ ok ]
* Checking all filesystems...
fsck 1.34 (25-Jul-2003)
/dev/hde1: clean, 35/24480 files, 14541/97744 blocks
[ ok ]
* Mounting local filesystems...
[ ok ]
* Mounting USB device filesystem (usbfs)...
[ ok ]
* Activating (possibly) more swap...
[ ok ]
* Caching service dependencies...
[ ok ]
ln: creating symbolic link `/var/lib/init.d/started/checkroot' to
`/etc/init.d/checkroot': No such file or directory
ln: creating symbolic link `/var/lib/init.d/started/hostname' to
`/etc/init.d/hostname': No such file or directory
ln: creating symbolic link `/var/lib/init.d/started/modules' to `/etc/init.d/modules':
No such file or directory
ln: creating symbolic link `/var/lib/init.d/started/checkfs' to `/etc/init.d/checkfs':
No such file or directory
ln: creating symbolic link `/var/lib/init.d/started/localmount' to
`/etc/init.d/localmount': No such file or directory
mv: cannot stat `/var/lib/init.d/softscripts': No such file or directory
ln: creating symbolic link `/var/lib/init.d/started/checkroot' to
`/etc/init.d/checkroot': No such file or directory
* Remounting root filesystem read-only (if necessary)...
[ ok ]
* Checking root filesystem...
fsck 1.34 (25-Jul-2003)
/dev/hde2: clean, 356575/2501856 files, 3291399/5000058 blocks
[ ok ]
* Remounting root filesystem read/write...
[ ok ]
ln: creating symbolic link `/var/lib/init.d/started/hostname' to
`/etc/init.d/hostname': No such file or directory
ln: creating symbolic link `/var/lib/init.d/started/checkroot' to
`/etc/init.d/checkroot': No such file or directory
* Remounting root filesystem read-only (if necessary)...
[ ok ]
* Checking root filesystem...
fsck 1.34 (25-Jul-2003)
/dev/hde2: clean, 356575/2501856 files, 3291399/5000058 blocks
[ ok ]
* Remounting root filesystem read/write...
[ ok ]
* Setting hostname to redchili...
[ ok ]
* Remounting root filesystem read-only (if necessary)...
[ ok ]
* Checking root filesystem...
fsck 1.34 (25-Jul-2003)
/dev/hde2: clean, 356578/2501856 files, 3291400/5000058 blocks
[ ok ]
* Remounting root filesystem read/write...
[ ok ]
* Setting hostname to redchili...
[ ok ]
* Calculating module dependencies...
[ ok ]
* Checking all filesystems...
fsck 1.34 (25-Jul-2003)
/dev/hde1: clean, 35/24480 files, 14541/97744 blocks
[ ok ]
* Mounting local filesystems...
mount: /dev/hde3 already mounted or /data busy
mount: /dev/hdf1 already mounted or /home busy
mount: /dev/hdf2 already mounted or /data/storage busy
* Some local filesystem failed to mount
[ !! ]
* Activating (possibly) more swap...
[ ok ]
* Setting system clock to hardware clock [Local Time]...
[ ok ]
* Configuring kernel parameters...
[ ok ]
-- [EMAIL PROTECTED] mailing list
