Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 04 Jul 1998 13:05:18 -0400
From:      Drew Derbyshire <software@kew.com>
To:        questions@FreeBSD.ORG
Subject:   ZIP disks and kernel errors
Message-ID:  <359E60CE.285B7C63@kew.com>

next in thread | raw e-mail | index | archive | help
I'm trying to initialize a new pile of zip disks; the ZIP drive is the only
SCSI device on a 1542 under FreeBSD 2.2.6:

Jul  4 12:31:07 pandora /kernel: aha0 waiting for scsi devices to settle
Jul  4 12:31:07 pandora /kernel: (aha0:5:0): "IOMEGA ZIP 100 N*32" type 0
removable SCSI 2
Jul  4 12:31:07 pandora /kernel: sd0(aha0:5:0): Direct-Access
Jul  4 12:31:07 pandora /kernel: sd0(aha0:5:0): ILLEGAL REQUEST asc:24,0
Invalid field in CDB
Jul  4 12:31:08 pandora /kernel: sd0 could not mode sense (4). Using
ficticious geometry
Jul  4 12:31:08 pandora /kernel: 96MB (196608 512 byte sectors)            

I have run fdisk on the disk with the following results:

Information from DOS bootblock is:
1: <UNUSED>
2: <UNUSED>
3: <UNUSED>
4: sysid 165,(FreeBSD/NetBSD/386BSD)
    start 32, size 196576 (95 Meg), flag 0
        beg: cyl 0/ sector 1/ head 1;
        end: cyl 95/ sector 32/ head 63  

This matches a standard Windows 95 format of the disk except for the partition
sysid.

I then attempt disk label:

disklabel -r -w sd0 zip100 zip003 

where zip100 is the disktab entry Justin posted sometime ago:

zip100|Iomega Zip 100: \
        :ty=winchester:dt=SCSI:se#512:nt#64:ns#32:nc#96:rm#3600:\
        :pa#196576:oa#0:ba#4096:fa#512:ta=4.2BSD: \
        :pc#196576:oc#0: 

disklabel: ioctl DIOCSDINFO: No space left on device     

And the following message appears in the log:

Jul  4 13:01:37 pandora /kernel: sd0: cannot find label (no disk label)
Jul  4 13:01:37 pandora /kernel: sd0s4: cannot find label (no disk label)

Well, OF COURSE there is no disk label, I'm trying to write the stupid thing. 
What gives?

-ahd-
-- 
Drew Derbyshire         UUPC/extended e-mail:  software@kew.com
                                   Telephone:  617-279-9812

 Nuke 'em till they glow and shoot 'em in dark

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?359E60CE.285B7C63>