Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 May 1997 20:20:24 +0930 (CST)
From:      Dave Edwards <davo@chunga.apana.org.au>
To:        freebsd-questions@freebsd.org
Subject:   Trouble with SONY optical drive.
Message-ID:  <199705101050.UAA29055@chunga.apana.org.au>

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

I've managed to pick up a SONY MO drive and having trouble
using it.  Can anyone help with this?

Scsi reports it as a SMO-E501-08 drive, 1024 byte sectors,
307MB, 9830 cyl, 1 head and 32 sectors per track.

I've compiled a kernel with the od device and the devices are in
/dev.  I can also put a disklabel on it but can't seem to get a
filesystem installed :(  Using newfs without a disk type gives an
error "can't read disklabel, disk type must be specified."  If I
construct a disktab entry (attached below), and put a label on
the disk, I get an error using newfs: 
"write error: 314536"
"wtfs: Invalid argument"

Using:
newfs -S 1024 -s 150000 -T SONY /dev/od0c

seems to work (maybe the media is only 150Mb) but when I try
to mount the disk, the mount point disapears :)

% cd /
% ls -ld mnt
drwxr-xr-x  2 root  wheel  512 Apr 17 18:08 mnt/

% mount /dev/od0c /mnt

% ls -ld mnt
ls: mnt: No such file or directory

<grin>

System is 2.2.1-RELEASE on a PCI board (486dx100) with 1542C
isa scsi adaptor.

I can't find anything of use in dejanews or the questions/hackers
lists..

I'll attach the output from disklabel -r below also.

TIA
dave
-- 
Dave Edwards  	           
davo@chunga.kt.apana.org.au || davo@sa.apana.org.au
Adelaide, South Australia                  
----   


%> disklabel -r od0
# /dev/rod0c:
type: unknown
disk: 
label: 
flags:
bytes/sector: 1024
sectors/track: 32
tracks/cylinder: 1
sectors/cylinder: 32
cylinders: 9830
sectors/unit: 314569
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0           # milliseconds
track-to-track seek: 0  # milliseconds
drivedata: 0 

3 partitions:
#        size   offset    fstype   [fsize bsize bps/cpg]
  c:   314569        0    unused        0     0         # (Cyl.
  0 - 9830*)

  -------------
  Disktab entry used for newfs

SONY|SMO-E501-08|MO SCSI DISK:\
  :ty=removable:dt=SCSI:ns#32:nt#1:nc#9830:se#1024:ts#1:rm#3600\
  :pc#314537:oc#0:
		  ----------





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