From owner-freebsd-questions Sat May 10 03:51:38 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id DAA01383 for questions-outgoing; Sat, 10 May 1997 03:51:38 -0700 (PDT) Received: from chunga.apana.org.au (chunga.kt.apana.org.au [202.12.89.57]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id DAA01305 for ; Sat, 10 May 1997 03:49:56 -0700 (PDT) Received: (from davo@localhost) by chunga.apana.org.au (8.8.5/8.6.12) id UAA29055 for freebsd-questions@freebsd.org; Sat, 10 May 1997 20:20:25 +0930 (CST) From: Dave Edwards Message-Id: <199705101050.UAA29055@chunga.apana.org.au> Subject: Trouble with SONY optical drive. To: freebsd-questions@freebsd.org Date: Sat, 10 May 1997 20:20:24 +0930 (CST) X-Mailer: ELM [version 2.4ME+ PL31 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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 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: ----------