*BSD News Article 6042


Return to BSD News archive

Newsgroups: comp.unix.bsd
Path: sserve!manuel!munnari.oz.au!uunet!mcsun!chsun!hslrswi!aut!nbladt
From: nbladt@autelca.ascom.ch (Norbert Bladt)
Subject: Re: device 0/0 0/1
Message-ID: <1992Oct5.074331.4949@autelca.ascom.ch>
Keywords: as0 sd0 boot swap root device
Organization: Ascom Autelca AG, Guemligen, Switzerland
References: <1992Oct3.184145.15436@Urmel.Informatik.RWTH-Aachen.DE>
Date: Mon, 5 Oct 1992 07:43:31 GMT
Lines: 55

kuku@acds.physik.rwth-aachen.de (Christoph Kukulies) writes:


>I'm running 386bsd on a ah1542b with as0a as root, as0b swap, as0h /usr.
>Yesterday I installed Julian Elischers (thank you, Julian), scsibeta2.1
>release because my DAT tape (DEC TLZ04) was never recognized by the as
>driver. With the above SCSI driver it is recognized.

>But I have a strange behaviour when booting. I always get 
>no swap space present (yet)   and  later: 
>savecore: device not configured as0b.

>I could not figure out where this string occurs in the kernel code. I did a 
It does not occur in the kernel. This message is from one of the programs
which are started during boot, e.g., in /etc/rc.
This program's name is (didn't you guess it from the error message):
	savecore
I had exactly this problem and solved it by looking at three things:
	1. If you had a line containing
		... root on as0 swap on as0
	   in your config file (e.g. SCSITEST), you should change that
	   to
		... root on sd0 swap on sd0
	2. Look at the "swap386bsd.c" file in your configuration directory
	   This should include something like "sd0".
	
	3. Do a "disklabel -r sd0".
	   If it doesn't show something like
		b: ....   swap ...
	   then this could be another cause of your problem. You have to fix it.
	   I won't recommend writing a new disklabel here, because after my
	   bad experience with disklabel I am very careful using it.
	   Do not misunderstand this statement. The actions "disklabel"
	   did to my harddisk were all caused by me !


>strings 386bsd and the only string 'as' was in wdswfdwtas (or something like )
>which I located in autoconf.c. The new driver is using sd0 instead of as0.
>I'm not using wd0 (wdc0) in my config file. Should I? Presently I don't 
>know whether my system is using swap space at all. Following the messages
>it does not but I did a lot of kernel builds etc. on the system without
>problems. I'd rather solve this problem than continue to live with it.
Yes. I guess that your system is using swap space. However the "savecore"
program couldn't find the device, that's it.

>Any help/comments etc. are much appreciated.
Hope it did.
I am sorry, I can't be more specific, but I have the system at home
and I am at work, now.

Norbert.
-- 
Norbert Bladt, Ascom Autelca AG, Worbstr. 201, CH-3073 Guemligen, Switzerland
Phone: +41 31 999 65 52			FAX: +41 31 999 65 44
Mail: nbladt@autelca.ascom.ch   UUCP: ..!uunet!mcsun!chsun!hslrswi!aut!nbladt