Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Apr 1998 09:09:19 +0200
From:      Ercole Dario <Dario.Ercole@CSELT.IT>
To:        FreeBSD-questions@FreeBSD.ORG
Subject:   Problems with HP magneto-optical SCSI disk on od0
Message-ID:  <EECB401D8EB3D111B26800805FC130FC0FDBE1@xrr1.cselt.stet.it>

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

I am running FreeBSD 2.2.5 on HP Vectra, with Adapted 152x SCSI
controller (actually, a Jaz Jet with Adapted chipset).

I need to mount a magneto-optical SCSI disk, HP SureStore 2600fx, aka
C1113F, with 1024-byte blocks media. I rebuilt the kernel including the
"od0" device, and apparently the system recognizes the drive.

Here is the relevant part of the "dmesg" output:
	
---------------------------------------------------------------------
	FreeBSD 2.2.5-RELEASE #0: Fri Apr  3 12:08:27 CEST 1998
	CPU: Pentium (166.09-MHz 586-class CPU)
	real memory  = 67108864 (65536K bytes)
	avail memory = 62529536 (61064K bytes)

	aic0 at 0x340-0x35f irq 11 on isa
	aic0 waiting for scsi devices to settle
	(aic0:3:0): "HP C1113F 2.46" type 7 removable SCSI 2
	od0(aic0:3:0): Optical 1243MB (1273011 1024 byte sectors)

	ccd0-3: Concatenated disk drivers
	---------------------------------------------------------

When I try to "fdisk od0", I get the following output:

	---------------------------------------------------------
	******* Working on device /dev/rod0 *******
	parameters extracted from in-core disklabel are:
	cylinders=621 heads=64 sectors/track=32 (2048 blks/cyl)
	
	parameters to be used for BIOS calculations are:
	cylinders=621 heads=64 sectors/track=32 (2048 blks/cyl)
	
	Media sector size is 1024
	Warning: BIOS sector numbering starts with sector 1
	Information from DOS bootblock is:
	The data for partition 1 is:
	sysid 165,(FreeBSD/NetBSD/386BSD)
	    start 1, size 1271807 (1241 Meg), flag 80
	        beg: cyl 0/ sector 2/ head 0;
	        end: cyl 620/ sector 32/ head 63
	The data for partition 2 is:
	<UNUSED>
	The data for partition 3 is:
	<UNUSED>
	The data for partition 4 is:
	<UNUSED>
	-------------------------------------------------------

and the following error message:

	------------------------------------------------------
	od0: oops not queued
	od0: cannot find label (no disk label)
	od0s1: cannot find label (no disk label)
	------------------------------------------------------

As I have no entry for this device in /etc/dsisktab, I use 
"disklabel -r -w od0 auto", that gives the followin message:

	------------------------------------------------------
	disklabel: ioctl DIOCSDINFO: No space left on device
	od0: cannot find label (no disk label)
	od0s1: cannot find label (no disk label)
	------------------------------------------------------

The drive has a switch to configure it as "magneto-optical" or "direct
access"; I configured it as "magneto-optical", as the "direct access"
option allows me to see it as sd0, but the machine hangs when I try to
write to the disk.

Can anybody help me, please ?

Thanks.

-- Dario

[This message has already been posted to "freebsd-scsi", without luck,
so I am re-posting it here, hoping for some help.]

================================================================
Dario ERCOLE - CSELT S.p.a.                   | I'm Winston Wolf,
Via Reiss Romoli 274, 10148 Torino (Italy)    | I solve problems
Tel: +39 11 228 5051 - Fax: +39 11 228 5685   |
e-mail: ercole@cselt.it                       | [Pulp Fiction]



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



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