Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Dec 1996 23:10:42 +0100 (MET)
From:      J Wunsch <j@uriah.heep.sax.de>
To:        kewleoh@hotmail.com (Michael Chapman)
Cc:        bugs@freebsd.org
Subject:   Re: Unable to make new root filesystem on /dev/rwd01! - Command returned status 36
Message-ID:  <199612072210.XAA23325@uriah.heep.sax.de>
In-Reply-To: <32A73C4E.12BF@hotmail.com> from Michael Chapman at "Dec 5, 96 04:19:10 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
As Michael Chapman wrote:

> Unable to make new root filesystem on /dev/rwd01!
> Command returned status 36
> 
> What does it mean, and what can I do to correct it?

This is from the ancient mkfs.c (which actually violates the BSD style
guide...  exit points should not be `numbered').

/*
 * write a block to the file system
 */
wtfs(bno, size, bf)
        daddr_t bno;
        int size;
        char *bf;
{
...
        n = write(fso, bf, size);
        if (n != size) {
                printf("write error: %ld\n", bno);
                perror("wtfs");
                exit(36);
        }
}

So it looks the `write' system call fails for some reason.  I guess
it's an unrecovered hardware write error.  Maybe the second screen
(Alt-F2) will tell you more.

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)



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