Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Dec 1996 11:28:21 +0100 (MET)
From:      Christoph Kukulies <kuku@gilberto.physik.rwth-aachen.de>
To:        freebsd-hackers@freefall.FreeBSD.org
Subject:   ccd - partitioning
Message-ID:  <199612111028.LAA20003@gilberto.physik.rwth-aachen.de>

next in thread | raw e-mail | index | archive | help
I still have no luck getting ccd working here with 2 SCSI disks and
two controllers .

I partitioned several times with various options. Presently the picture is
like this:

Disk name:      sd0                                    FDISK Partition Editor
DISK Geometry:  3067 cyls/64 heads/32 sectors

     Offset       Size        End     Name    PType     Desc  Subtype    Flags

           0         32         31        -        6   unused        0
          32    6281184    6281215    sd0s1        3  freebsd      165  C>
     6281216        640    6281855        -        6   unused        0  >     






The following commands are supported (in upper or lower case):

A = Use Entire Disk    B = Bad Block Scan     C = Create Partition
D = Delete Partition   G = Set Drive Geometry S = Set Bootable
U = Undo All Changes   Q = Finish             W = Write Changes


Use F1 or ? to get more help, arrow keys to select.


Dito for sd1.

# /dev/rsd1c:
type: SCSI
disk: sd1s1
label: 
flags:
bytes/sector: 512
sectors/track: 32
tracks/cylinder: 64
sectors/cylinder: 2048
cylinders: 3066
sectors/unit: 6281184
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0           # milliseconds
track-to-track seek: 0  # milliseconds
drivedata: 0 

8 partitions:
#        size   offset    fstype   [fsize bsize bps/cpg]
  c:  6281184        0    unused        0     0         # (Cyl.    0 - 3066*)
  e:  6281184        0    unused        0     0         # (Cyl.    0 - 3066*)
# 
# /dev/rsd0c:
type: SCSI
disk: sd0s1
label: 
flags:
bytes/sector: 512
sectors/track: 32
tracks/cylinder: 64
sectors/cylinder: 2048
cylinders: 3066
sectors/unit: 6281184
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0           # milliseconds
track-to-track seek: 0  # milliseconds
drivedata: 0 

8 partitions:
#        size   offset    fstype   [fsize bsize bps/cpg]
  c:  6281184        0    unused        0     0         # (Cyl.    0 - 3066*)
  e:  6281184        0    unused        0     0         # (Cyl.    0 - 3066*)
# 

#
# /etc/ccd.conf
# Configuration file for concatenated disk devices
#
# ccd           ileave  flags   component devices
ccd0            16      none    /dev/sd0e /dev/sd1e


# ccdconfig -C
ccdconfig: ioctl (CCDIOCSET): /dev/ccd0c: Inappropriate file type or format
^^^^^^^^^^^^^^^^^ This remains the key problem  ^^^^^^^^^^^^^^^^^

I tried with or without tabs, with linefeed at the end. No luck.

I did this all with a 2.2-ALPHA install. The kernel being 3.0, 
hope the latter not being a problem.

# 
fdisk sd0
******* Working on device /dev/rsd0 *******
parameters extracted from in-core disklabel are:
cylinders=3067 heads=64 sectors/track=32 (2048 blks/cyl)

 Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=3067 heads=64 sectors/track=32 (2048 blks/cyl)

Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 0 is:
sysid 165,(FreeBSD/NetBSD/386BSD)
    start 32, size 6281184 (3066 Meg), flag 80
        beg: cyl 0/ sector 1/ head 1;
        end: cyl 1023/ sector 32/ head 63
The data for partition 1 is:
<UNUSED>
The data for partition 2 is:
<UNUSED>
The data for partition 3 is:
<UNUSED>
# 
# fdisk sd1
******* Working on device /dev/rsd1 *******
parameters extracted from in-core disklabel are:
cylinders=3067 heads=64 sectors/track=32 (2048 blks/cyl)

 Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=3067 heads=64 sectors/track=32 (2048 blks/cyl)

Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 0 is:
sysid 165,(FreeBSD/NetBSD/386BSD)
    start 32, size 6281184 (3066 Meg), flag 80
        beg: cyl 0/ sector 1/ head 1;
        end: cyl 1023/ sector 32/ head 63
The data for partition 1 is:
<UNUSED>
The data for partition 2 is:
<UNUSED>
The data for partition 3 is:
<UNUSED>
# 

# dmesg
Copyright (c) 1992-1996 FreeBSD Inc.
Copyright (c) 1982, 1986, 1989, 1991, 1993
        The Regents of the University of California.  All rights reserved.

FreeBSD 3.0-CURRENT #0: Sun Dec  8 16:23:36 MET 1996
    kuku@bach.physik.rwth-aachen.de:/usr/src/sys/compile/DUKE
Calibrating clock(s) relative to mc146818A clock ... i586 clock: 100248720 Hz, i8254 clock: 1193437 Hz
CPU: AMD Unknown (100.23-MHz 586-class CPU)
  Origin = "AuthenticAMD"  Id = 0x511
real memory  = 33554432 (32768K bytes)
avail memory = 30928896 (30204K bytes)
Probing for devices on PCI bus 0:
chip0 <generic PCI bridge (vendor=8086 device=7030 subclass=0)> rev 2 on pci0:0
chip1 <Intel 82371SB PCI-ISA bridge> rev 1 on pci0:7:0
chip2 <Intel 82371SB IDE interface> rev 0 on pci0:7:1
ncr0 <ncr 53c810 scsi> rev 17 int a irq 11 on pci0:8
ncr0 waiting for scsi devices to settle
(ncr0:0:0): "QUANTUM FIREBALL_TM3200S 300N" type 0 fixed SCSI 2
sd0(ncr0:0:0): Direct-Access 
sd0(ncr0:0:0): FAST SCSI-2 100ns (10 Mb/sec) offset 8.
3067MB (6281856 512 byte sectors)
ncr1 <ncr 53c810 scsi> rev 17 int a irq 10 on pci0:11
ncr1 waiting for scsi devices to settle
(ncr1:0:0): "QUANTUM FIREBALL_TM3200S 300N" type 0 fixed SCSI 2
sd1(ncr1:0:0): Direct-Access 
sd1(ncr1:0:0): FAST SCSI-2 100ns (10 Mb/sec) offset 8.
3067MB (6281856 512 byte sectors)
Probing for devices on the ISA bus:
sc0 at 0x60-0x6f irq 1 on motherboard
sc0: MDA/hercules <16 virtual consoles, flags=0x0>
ed0 at 0x280-0x29f irq 5 maddr 0xd8000 msize 8192 on isa
ed0: address 00:00:c0:bd:8a:16, type WD8003E (8 bit) 
sio0 at 0x3f8-0x3ff irq 4 on isa
sio0: type 16550A
sio1 at 0x2f8-0x2ff irq 3 on isa
sio1: type 16550A
lpt0 at 0x3bc-0x3c3 irq 7 on isa
lpt0: Interrupt-driven port
lp0: TCP/IP capable interface
fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
fdc0: NEC 765
fd0: 1.44MB 3.5in
wdc0 at 0x1f0-0x1f7 irq 14 on isa
wd0: 124MB (254592 sectors), 936 cyls, 16 heads, 17 S/T, 512 B/S
npx0 on motherboard
npx0: INT 16 interface
ccd0-3: Concatenated disk drivers
# 
# ls -l /dev/*ccd*
brw-r-----  1 root  wheel   21,   0 Dec  9 01:02 /dev/ccd0a
brw-r-----  1 root  wheel   21,   1 Dec  9 01:02 /dev/ccd0b
brw-r-----  1 root  wheel   21,   2 Dec  9 01:02 /dev/ccd0c
brw-r-----  1 root  wheel   21,   3 Dec  9 01:02 /dev/ccd0d
brw-r-----  1 root  wheel   21,   4 Dec  9 01:02 /dev/ccd0e
brw-r-----  1 root  wheel   21,   5 Dec  9 01:02 /dev/ccd0f
brw-r-----  1 root  wheel   21,   6 Dec  9 01:02 /dev/ccd0g
brw-r-----  1 root  wheel   21,   7 Dec  9 01:02 /dev/ccd0h
crw-------  1 root  wheel   74, 0x20000000 Dec 11 04:47 /dev/rccd0.ctl
crw-r-----  1 root  wheel   74,   0 Dec  9 01:02 /dev/rccd0a
crw-r-----  1 root  wheel   74,   1 Dec  9 01:02 /dev/rccd0b
crw-r-----  1 root  wheel   74,   2 Dec  9 01:02 /dev/rccd0c
crw-r-----  1 root  wheel   74,   3 Dec  9 01:02 /dev/rccd0d
crw-r-----  1 root  wheel   74,   4 Dec  9 01:02 /dev/rccd0e
crw-r-----  1 root  wheel   74,   5 Dec  9 01:02 /dev/rccd0f
crw-r-----  1 root  wheel   74,   6 Dec  9 01:02 /dev/rccd0g
crw-r-----  1 root  wheel   74,   7 Dec  9 01:02 /dev/rccd0h
# 


Is there something special to partitioning?


--Chris Christoph P. U. Kukulies kuku@gil.physik.rwth-aachen.de



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