*BSD News Article 17402


Return to BSD News archive

Newsgroups: comp.os.386bsd.questions
Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!agate!howland.reston.ans.net!paladin.american.edu!news.univie.ac.at!edvz.sbg.ac.at!cosy.sbg.ac.at!news
From: peter@wiesel (Peter Burgstaller)
Subject: New Problems with Disklabel!
Message-ID: <C91A0x.J43@cosy.sbg.ac.at>
Sender: news@cosy.sbg.ac.at
Nntp-Posting-Host: wiesel
Organization: University of Salzburg / Austria
References: <MHW.93Jun21022501@vegas.cs.brown.edu>
Date: Tue, 22 Jun 1993 17:31:45 GMT
Lines: 83

Hi folks!

I just read the News about using disklabel on a 2nd SCSI-device.
After doing as suggested by Mark Weaver I could manage to install
the disklabel on a 1.5GB Dec dsp3160 which the kernel recoginzes
on boot time.
The partition table of my new SCSI device is:
disklabel -r sd1
# /dev/rsd1d:
type: SCSI
disk: dsp3160
label: 
flags:
bytes/sector: 512
sectors/track: 54
tracks/cylinder: 16
sectors/cylinder: 864
cylinders: 2607
rpm: 5403
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0           # milliseconds
track-to-track seek: 0  # milliseconds
drivedata: 0 

5 partitions:
#        size   offset    fstype   [fsize bsize   cpg]
b:   103680        0      swap                        # (Cyl.    0 - 119)
c:  2252448        0    unused        0     0         # (Cyl.    0 - 2606)
d:  1036800   103680    4.2BSD      512  4096     0   # (Cyl.  120 - 1319)
e:  1111968  1140480    4.2BSD      512  4096     0   # (Cyl. 1320 - 2606)


So far so good. I did a newfs /dev/sd1d and /dev/sd1e. Fine too.
I added /dev/sd1b (and tried it with /dev/as1b too) to /etc/fstab
to include swap:

/dev/sd1b (tried as1b again)		none		swap sw 0 0

My kernel config looks like:

config          "386bsd"        root on as0 swap on as0 and as1

# I tried here root on sd0 ... on as0 swap on as0 sd1, as0 swap on as0 and  
as1

controller      isa0
controller      wd0     at isa? port "IO_WD1" bio irq 14 vector wdintr
disk            wd0     at wd0 drive 0
disk            wd1     at wd0 drive 1

controller      fd0     at isa? port "IO_FD1" bio irq 6 drq 2 vector  
fdintr
disk            fd0     at fd0 drive 0
disk            fd1     at fd0 drive 1

controller      aha0    at isa? port "IO_AHA0" bio irq 11 drq 5 vector  
ahaintr
disk            as0     at aha0 drive 0
disk            as1     at aha0 drive 1

controller      scbus0

device          sd0
device          sd1
device          sd2
device          sd3

I always get 
sd1: no disklabel
sd1: device is not configure

- Can anybody help ??

- Peter

--
/--------------------------------------------------------\
| Peter Burgstaller| Student of Computerscience		 |
| (peter@cosy.sbg.ac.at)| in Salzburg, Austria (Europe)	 |
| "So Long, and Thanks for All the Fish" (Douglas Adams) |
\--------------------------------------------------------/