Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Jul 1996 11:59:30 +1000 (EST)
From:      Gavin Cameron <gavin@ormond.unimelb.edu.au>
To:        chat@freebsd.org
Subject:   Troubles with ccd in 2.1.5
Message-ID:  <199607280159.LAA06597@gateway.ormond.unimelb.edu.au>

next in thread | raw e-mail | index | archive | help
Hi,

I'm having massive problems getting ccd to run on my 2.1.5 machine. When I try
to ccdconfig -C with the ccd.conf file below and the 2 ~1Gig SCSI drives
( disklabels also shown below ). I end up panicing my machine with the message:
	vm_bounce_alloc: b_bufsize(0x0) < b_bcount(0x200) !!
	panic: vm_bounce_alloc

A trace in the debugger shows the following:
	_panic
	_vm_bounce_alloc
	_sd_strategy
	_scsi_strategy
	_sdstrategy
	_spec_strategy
	_ccdstart
	_ccdstrategy
	_correct_readdisklabel
	_ccdgetdisklabel
	_ccdioctl
	_vn_ioctl
	_ioctl
	_syscall
	_Xsyscall

Can someone see anything wrong with what I am trying to do?

Also, how many cylinders should I leave unused at the start of the disk if
I'm using ccd?

Many thanks in advance
Gavin

# ccd.conf
#ccd	ileave	flags		components
ccd0	16	none		/dev/sd0e /dev/sd1e

disklabel of sd0
# /dev/rsd0c:
type: SCSI
disk: sd0s1
label: 
flags:
bytes/sector: 512
sectors/track: 1
tracks/cylinder: 1
sectors/cylinder: 1
cylinders: 2074880
sectors/unit: 2074880
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:  2074880        0    unused        0     0       	# (Cyl.    0 - 2074879)
  e:  2074780      100    4.2BSD        0     0     0 	# (Cyl.  100 - 2074879)

disklabel of sd1
# /dev/rsd1c:
type: SCSI
disk: sd1s1
label: 
flags:
bytes/sector: 512
sectors/track: 1
tracks/cylinder: 1
sectors/cylinder: 1
cylinders: 2134305
sectors/unit: 2134305
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:  2134305        0    unused        0     0       	# (Cyl.    0 - 2134304)
  e:  2134205      100    4.2BSD        0     0     0 	# (Cyl.  100 - 2134304)

-- 
[]-------------------------------------+--------------------------------------[]
|  Gavin Cameron                       |             Ormond College            |
|  Ph    : +61 3 9344 1201             |      The University of Melbourne      |
|  Fax   : +61 3 9344 1111             |          Parkville,  Victoria         |
|  Email : gavin@ormond.unimelb.edu.au |            Australia,  3053           |
[]-------------------------------------+--------------------------------------[]



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