From owner-freebsd-questions Sat Oct 4 09:49:45 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id JAA23160 for questions-outgoing; Sat, 4 Oct 1997 09:49:45 -0700 (PDT) Received: from puma.cyberport.com (root@puma.cyberport.com [204.134.75.6]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id JAA23151 for ; Sat, 4 Oct 1997 09:49:40 -0700 (PDT) Received: from hippo.cyberport.com (cowan@hippo.cyberport.com [204.134.75.2]) by puma.cyberport.com (8.8.7/8.8.4) with SMTP id KAA10067; Sat, 4 Oct 1997 10:49:35 -0600 (MDT) Date: Sat, 4 Oct 1997 10:49:35 -0600 (MDT) From: Cowan Bowman To: Jaye Mathisen cc: questions@FreeBSD.ORG Subject: Re: /dev/rccd1c: CAN'T CHECK FILE SYSTEM In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Fri, 3 Oct 1997, Jaye Mathisen wrote: > > Some of the memory limits are too low in login.conf for the /etc/rc > settings. > > Raise them. > > A quick fix is to do: > > /bin/csh > unlimit > fsck drives > ^D a few times until it finished booting. I raised all the memory limits to infinity in login.conf for /etc/rc and still recieved the original error. Out of couriosity I rearanged the entries in my fstab file so it would check /dev/rccd1c before /dev/rccd0c, then finally /dev/rsd3a. ccd0 contains sd1a and sd2a. ccd1 contains sd4a and sd5a. The original fstab file was the following /dev/rsd0a / /dev/rsd0s2e /tmp /dev/rsd0s3b /swap /dev/rsd0s4e /usr /dev/ccd0 /news /dev/sd3a /alt /dev/ccd1 /alt.binaries The boot sequence in the original post by me at the bottom shows the error I would get with the above fstab settings. I changed the fstab to the following and recieved a slightly different error. /dev/rsd0a / /dev/rsd0s2e /tmp /dev/rsd0s3b /swap /dev/rsd0s4e /usr /dev/ccd1 /alt.binaries /dev/ccd0 /news /dev/sd3a /alt Here is a copy of the boot sequence with the fstab changes. Automatic Reboot in progress... /dev/rsd0a: clean, 41139 free (363 frags, 5097 blocks, 0.6% fragmentation) /dev/rsd0s2e: clean, 127054 free (14 frags, 15880 blocks, 0.0% fragmentation) /dev/rsd0s4e: clean, 1375393 free (8913 frags, 170810 blocks, 0.6% fragmentation) /dev/rccd1c: clean, 8214362 free (10 frags, 1026794 blocks, 0.0 fragmentation) cannot alloc 2979842 bytes for lncntp /dev/rccd0c: CAN'T CHECK FILE SYSTEM. /dev/rccd0c: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY. Automatic file system check failed... help! Enter pathname of shell or RETURN for sh: erase ^H, kill ^U, intr ^C # fsck -p /dev/rccd0c /dev/rccd0c: clean, 6139467 free (11 frags, 767432 blocks, 0.0% fragmentation) # exit ccdconfig: ioctl (CCDIOCSET): /dev/ccd0c: Device busy ccdconfig: ioctl (CCDIOCSET): /dev/ccd1c: Device busy Skipping disk checks ... [continues to boot through network and starting daemons.] END of Boot Sequence. It looks like as soon as it tries to fsck a second ccd device it get the error. All the memory limits in etc.conf have been raised to infinity. The system is a Pentium Pro 200 with 128 Megs of memory. If anyone has any further Ideas, I would appreciate your comments. It would be nice to get the system to boot without any manual intervention. Thanks, Cowan > > On Fri, 3 Oct 1997, Cowan Bowman wrote: > > > > > I get the following error when my system boots. > > > > [Boots mesages previous to these are OK] > > > > /dev/rccd0c:clean, 6139467 free (11 frags, 767432 blocks, 0.0% fragmentation) > > /dev/rsd3a:clean, 4069357 free (13 frags, 508668 blocks, 0.0% fragmentation) > > cannot alloc 1989121 bytes for statemap > > /dev/rccd1c: CAN'T CHECK FILE SYSTEM. > > /dev/rccd1c: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY. > > Automatic file system check failed... help! > > Enter pathname of shell or RETURN for sh: > > > > > > I hit enter to go into single user mode, run fsck manually, it checks out > > fine. I exit and it continues to boot without any problems. > > > > Anyone have any Ideas what is happening? > > If any more info is needed mail me and I'll reply with the info. > > > > Thanks, Cowan > > > ------------------------------------------------------------------------ Cowan L. Bowman | Cyberport Station System Administrator/Accounting | Four Corner's Finest Internet Access cowan@cyberport.com | http://www.cyberport.com | Voice: 505-324-6400 Fax: 505-324-6401