Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Aug 2009 14:02:22 -0600
From:      Tim Judd <tajudd@gmail.com>
To:        jalmberg@identry.com
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Boot failure
Message-ID:  <ade45ae90908071302g46301a49q60663d33d993b812@mail.gmail.com>
In-Reply-To: <4d4e09680908070808k38d2e4b0ke28c6c420deaa433@mail.gmail.com>
References:  <4d4e09680908061012q6ea8aeacm875c556eaea7a54f@mail.gmail.com> <4A7B1B41.7090507@unsane.co.uk> <4d4e09680908061733v21602321x252a7111a7648ad6@mail.gmail.com> <4A7C074C.9060303@unsane.co.uk> <4d4e09680908070731u546d6dfck6c9b9b1d66e1e6fa@mail.gmail.com> <991123400908070746t7f9ed6ddy77450aec98885618@mail.gmail.com> <4d4e09680908070808k38d2e4b0ke28c6c420deaa433@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 8/7/09, Identry <identry@gmail.com> wrote:
>> If you did not touch the kernel, there is no need to boot GENERIC! Plus
>> you
>> have said that this box is running PF, which is not in the GENERIC kernel!
>> Personally, I am interested in knowing why the system does not mount the
>> root partition on its own when you can do it by hand and it does not
>> complain.
>
> Me too.
>
>> Did you by any chance change anyting in /etc/fstab?
>
> No, this has never changed since original install.
>


Non-printable-character (NPC)

NPCs may be a culprit for a file that used to work, now doesn't.  Or a
inode oddity.

I've been following this thread but haven't chipped in because of
timing (you driving to the datacenter).

Here's what I'd consider:
  # mv /etc/fstab /etc/old-fstab

and recreate a fstab from hand.  Example:

/dev/mfid0s1a / ufs rw 1 1

If you dumpfs the other bsd partitions, you can see "last mounted on".
 That might reflect the live-cd mountpoints, but it might help.
Reconstruct the fstab.  The existing one, which may have NPC or some
other corruption is still there, inode hasn't changed.  we did create
a new file (hence, new inode) and know we don't have a NPC in it.


I doubt controller or disk problems, since a livecd can mount it.  a
fsck -y on a clean filesystem won't report anything.

HTH, good luck.


>> What entries you do have in /etc/sysctl.conf?
>
> None. It is just the default file with some comments, but no uncommented
> lines.
>
>> Please try "fsck -y" option first although I am not quite optimistic about
>> it, given that mounting by hand works so far.
>
> Okay.
>
>> If I were to upgrade, I'd go to 6.4-STABLE first and wait there while
>> thinking about the next move.
>
> Right... I'm going to try getting this machine up first, before
> fussing with upgrades.
>
>> What does your /etc/rc.conf contain?
> $ cat rc.conf
> #$Id: rc.conf,v 1.4 2008/03/31 23:44:10 root Exp root $
>
> # -- sysinstall generated deltas -- # Sat Dec  1 16:23:45 2007
> # Created: Sat Dec  1 16:23:45 2007
> # Enable network daemons for user convenience.
> # Please make all changes to this file, not to /etc/defaults/rc.conf.
> # This file now contains just the overrides from /etc/defaults/rc.conf.
> defaultrouter="66.111.0.193"
> hostname="on.identry.com"
> keyrate="fast"
> moused_enable="YES"
> monit_enable="YES"
> ntpd_enable="YES"
> ntpd_program="/usr/sbin/ntpd"
> ntpd_config="/etc/ntp.conf"
> ntpd_sync_on_start="YES"
> ntpd_flags="-p /var/run/ntpd.pid"
> saver="green"
> pf_enable="YES"
> pf_rules="/etc/pf.conf"
> pf_flags=""                     # additional flags for pfctl startup
> pflog_enable="YES"
> pflog_logfile="/var/log/pflog"
> pflog_flags=""                  # additional flags for pflogd startup
> sshd_enable="YES"
> #inetd_enable="YES"
> usbd_enable="YES"
> mysql_enable="YES"
> apache22_enable="YES"
> apache22_flags="-DSSL"
> apache22_http_accept_enable="YES"
> sendmail_enable="NONE"
> spamd_enable="YES"
> spamd_flags="-v -x -u vpopmail"
> courier_authdaemond_enable="YES"
> courier_imap_imapd_enable="YES"
> courier_imap_imapdssl_enable="YES"
> courier_imap_imapd_ssl_enable="YES"
> courier_imap_pop3d_enable="YES"
> courier_imap_pop3dssl_enable="YES"
> courier_imap_pop3d_ssl_enable="YES"
> clamav_clamd_enable="YES"
> clamav_freshclam_enable="YES"
> svscan_enable="YES"
> snmpd_enable="NO"
> pureftpd_enable="YES"
> autossh_enable="YES"
> mongrel_cluster_enable="YES"
> mongrel_cluster_config="/usr/local/etc/mongrel_cluster"
>
> # added by xorg-libraries port
> local_startup="/usr/local/etc/rc.d"
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ade45ae90908071302g46301a49q60663d33d993b812>