Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Jun 2002 18:41:24 -0700
From:      "Ayman Zarka." <az@freebsd.identd.net>
To:        "FreeBSD Questions." <freebsd-questions@FreeBSD.ORG>
Subject:   Iomega IDE ZIP 250MB.
Message-ID:  <20020604184124.2577d98f.az@freebsd.identd.net>

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

I'm trying to figure out the right kernel options for my IOMEGA IDE
ZIP 250 (internal drive).

After gathering information from 200+ emails from the mailing and
search the: http://www.freebsd.org/FAQ/hardware.html#ZIP-SUPPORT
http://www.freebsd.org/FAQ/disks.html#DISKLABEL

I did the following without adding any new stuff to my kernel and I
got the idea am in the right direction before I add any device or
option:

without booting with the zip disk inside the drive I was getting in my
dmesg: afd0: 0MB <IOMEGA ZIP 250 ATAPI> [0/64/32] at ata3-slave PIO3

But when leaving the disk inside and reboot I can see:
afd0: 250MB <IOMEGA ZIP 250 ATAPI> [0/64/32] at ata3-slave PIO3
or:
/va/log/messages:
Jun  4 17:05:11 freebsd /kernel: afd0: 239MB <IOMEGA ZIP 250 ATAPI> 
[239/64/32] at ata3-slave PIO3

So I rebooted with the disk inside and went to /stand/sysinstall 
Configure --> Fdisk afd0 --> A ( use entire disk ) , W ( write changes
) and standard ( no boot manager )

I got the message: wrote FDISK partition information out successfully
(100%)

Label --> creat  489440 blocks  ( 238MB) are free.
and FS /backup   and I got 0 MB free.

Disk: afd0      Partition name: afd0s1  Free: 0 blocks (0MB)
Part      Mount          Size Newfs   Part      Mount          Size
Newfs----      -----          ---- -----   ----      -----         
---- ----- afd0s1e   /backup       238MB UFS+S Y

so far so good.

in my /etc/fstab I have:
/dev/afd0               /zip            ufs     rw,noauto       0     
 0


Of course when I try to mount it I see the zip lights on for 15 sec.
then I get freebsd# mount /zip
mount: /dev/afd0: Input/output error

freebsd# dmesg | tail
afd0: 239MB <IOMEGA ZIP 250 ATAPI> [239/64/32] at ata3-slave PIO3
Mounting root from ufs:/dev/ad0s1a
afd0: READ_BIG command timeout - resetting


So now I knew am doing it right so I grabed the options of the mailing
list/ handbook and added them but didn't work, so I started playing
with these options and try to build my my kernel with and without one
of the following but unfortunately I couldn't get a successful build.
and it was giving:

#IOMEGA ZIP Drive 250 MB Options:
controller      scbus0                #
device          da0			#
device          vp0                     # IOMEGA IDE ZIP Drive 250MB
options         VP0_DEBUG     # ZIP/ZIP+ debug


config: line 267: Obsolete keyword 'controller' found - use 'device'

So I changed it to device it gave:

Warning: device "vp" is unknown

and so on I played with them many times.

I already have these in my kernel before:

# SCSI peripherals
device          scbus           # SCSI bus (required)
device          da               # Direct Access (disks)


My question is:

1) What proper device/options/controller should I add in my kernel to
be able to mount my zip drive? 


2) Why the dmesg showing 250MB  and when going with the
/stand/sysinstall process I end up with 238MB  instead of 250MB is
there a way to get FreeBSD identify or make me use the missing 17 MB ?


Thanks in advance, and have a good day.

-- 
- Ayman Zarka.


-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1.0.6 (FreeBSD)
Comment: For info see http://www.gnupg.org

mQGiBDy5PK4RBADbeYGQsxqby0Mg2NDXV3BzDR6fE5pws+01FFjuhpuIYwRq1N8Q
QQrc8mrDyXxOBMBf5kwarfYa452tZXCy/la71N6f+kEWp0YsafBKRCQSKjMcGfb+
AyiTKcWCXb4YiS0xgCCfrh9QNvZKQaGtG2jHOfeRm8wy/l5DesKz+WqfCwCgyRXR
c5m3YXKEI3a8repPgrxl4XUEAK+suS/tUctfLr5RCdKxHkRewrZAAOnOImTZUbIZ
HlaPNHf6c40qVCF4O8WZTK/0F9lOiyzQOaL30ShPjwjxU/lUKdhI7nyDsl9pjdYZ
okU/xPNFGfA+ugMjzEqJ5amlbb6pYJncjpHLaDIHAUsjiSUtKoCLMnxliV8ONsU8
3ZzPA/47ZL2f3F3kD4irNdSmYIE9Uyg12Ml6LsIPGZsjrYwVJu4a9TjaSYzfrXh9
At7OuzdxTldwHCbqsOqc/wLVpCY1tNFuLTUJfQ73HA649l+XbdmUbm7tJQEf64E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ribe: 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?20020604184124.2577d98f.az>