Help with Iomega/vpo0/zip device on parallel port

Help with Iomega/vpo0/zip device on parallel port

Post by Lewis Bear » Tue, 23 Feb 1999 04:00:00



All,

I am running freebsd 3.1-RELEASE. I have recompiled my kernel with
the devices I need, including "controller scbus0" "device da0" and
"controller vpo0 at ppbus?". When I boot, everything works fine, and
my dmesg shows the Iomega vpo0 on the ppbus 0 in nibble mode. The
drive even whirrs a little when I boot.

However, I am totally stumped on how to access the device. I assumed
I would just do something akin to "mount -t msdos /dev/vpo0 /mnt"
or perhaps just "mount /dev/vpo0 /mnt" but there is no /dev/vpo0,
and the MAKEDEV has no mention of it, and the man pages on vpo0
and the ppbus didn't give any examples. I have also never had freebsd
installed on any machine with scsi (although I'm not sure if the
parallel to scsi interface for the zip would behave like a scsi
device or not). Therefore, if there is some scheme involving scsi
or parallel port mounting/referencing, then it is new to me.

Can anyone give me pointers? I have a desire to read and write to/from
the zip in both the freebsd 165 filesystem and the fat32/win98/msdos-style
file system style.

At the bottom, I include my kernel configuration file, in case it matters.

Tips and pointers to readmes and resources appreciated. Outright
answers also appreciated.

Thanks,

Lewis

machine         "i386"
cpu             "I386_CPU"
cpu             "I486_CPU"
cpu             "I586_CPU"
cpu             "I686_CPU"
ident           VALKYRIE
maxusers        100

config          kernel  root on wd0

options         MAXMEM=131072
options         MATH_EMULATE            #Support for x87 emulation
options         INET                    #InterNETworking
options         SYSVSHM
options         SYSVMSG
options         FFS                     #Berkeley Fast Filesystem
options         FFS_ROOT                #FFS usable as root device [keep this!]
options         MFS                     #Memory Filesystem
options         MFS_ROOT                #MFS usable as root device, "MFS" req'ed
options         NFS                     #Network Filesystem
options         NFS_ROOT                #NFS usable as root device, "NFS" req'ed
options         MSDOSFS                 #MSDOS Filesystem
options         "CD9660"              #ISO 9660 Filesystem
options         "CD9660_ROOT"         #CD-ROM usable as root. "CD9660" req'ed
options         PROCFS                  #Process filesystem
options         "COMPAT_43"           #Compatible with BSD 4.3 [KEEP THIS!]
options         SCSI_DELAY=15000        #Be pessimistic about Joe SCSI device
options         UCONSOLE                #Allow users to grab the console
options         FAILSAFE                #Be conservative
options         USERCONFIG              #boot -c editor
options         VISUAL_USERCONFIG       #visual boot -c editor
options         ATAPI           #Enable ATAPI support for IDE bus
options         ATAPI_STATIC    #Don't do it as an LKM
options         XSERVER                 # support for X server

controller      isa0
controller      eisa0
controller      pci0

controller      fdc0    at isa? port "IO_FD1" bio irq 6 drq 2
disk            fd0     at fdc0 drive 0
disk            fd1     at fdc0 drive 1

options         "CMD640"      # work around CMD640 chip deficiency
controller      wdc0    at isa? port "IO_WD1" bio irq 14
disk            wd0     at wdc0 drive 0
disk            wd1     at wdc0 drive 1

controller      wdc1    at isa? port "IO_WD2" bio irq 15
disk            wd2     at wdc1 drive 0
disk            wd3     at wdc1 drive 1

device          acd0            #IDE CD-ROM
device          wfd0            #IDE Floppy (e.g. LS-120)

controller      atkbdc0 at isa? port IO_KBD tty
device          atkbd0  at isa? tty irq 1
device          psm0    at isa? tty irq 12

device          vga0    at isa? port ? conflicts

pseudo-device   splash

device          sc0     at isa? tty

device          npx0    at isa? port IO_NPX irq 13

device          apm0    at isa? disable flags 0x31 # Advanced Power Management

device          sio0    at isa? port "IO_COM1" flags 0x10 tty irq 4
device          sio1    at isa? port "IO_COM2" tty irq 3
device          sio2    at isa? disable port "IO_COM3" tty irq 5
device          sio3    at isa? disable port "IO_COM4" tty irq 9

controller      scbus0
device          da0

device          ppc0    at isa? port? net irq 7
controller      ppbus0
device          nlpt0   at ppbus?
device          plip0   at ppbus?
device          ppi0    at ppbus?
controller      vpo0    at ppbus?

device pcm0 at isa? port ? tty irq 10 drq 1 flags 0x0

device fxp0

pseudo-device   loop
pseudo-device   ether
pseudo-device   sl      1
pseudo-device   ppp     1
pseudo-device   tun     1
pseudo-device   pty     16
pseudo-device   gzip            # Exec gzipped a.out's

--

 But on eliminating every other reason For our sad demise, They logged the
 only explanation left, This species has amused itself to death!  No tears
 to cry, No feelings left, This species has amused itself to death. -Waters

 
 
 

Help with Iomega/vpo0/zip device on parallel port

Post by Mark S. Reichma » Tue, 23 Feb 1999 04:00:00


# Device                Mountpoint      FStype  Options         Dump  
Pass#
/dev/wd0s2b             none            swap    sw              0      
0
/dev/wd0s2a             /               ufs     rw              1      
1
/dev/wd0s2e             /var            ufs     rw              2      
2
/dev/wd0s2f             /usr            ufs     rw              2      
2
proc                    /proc           procfs  rw              0      
0
/dev/wcd0c              /cdrom          cd9660  ro,noauto       0      
0
/dev/wd0s1              /dos/c          msdos   rw              0      
0
/dev/wd1s1              /dos/d          msdos   rw              0      
0
/dev/sd0s4              /dos/zip        msdos   rw              0      
0

Look at the last line of my fstab....
Try....

$ mount -t msdos /dev/sd0s4 /mnt

I ofcourse created a dos dir with a zip subdir...

Lewis Beard wrote:

> All,

> I am running freebsd 3.1-RELEASE. I have recompiled my kernel with
> the devices I need, including "controller scbus0" "device da0" and
> "controller vpo0 at ppbus?". When I boot, everything works fine, and
> my dmesg shows the Iomega vpo0 on the ppbus 0 in nibble mode. The
> drive even whirrs a little when I boot.

> However, I am totally stumped on how to access the device. I assumed
> I would just do something akin to "mount -t msdos /dev/vpo0 /mnt"
> or perhaps just "mount /dev/vpo0 /mnt" but there is no /dev/vpo0,
> and the MAKEDEV has no mention of it, and the man pages on vpo0
> and the ppbus didn't give any examples. I have also never had freebsd
> installed on any machine with scsi (although I'm not sure if the
> parallel to scsi interface for the zip would behave like a scsi
> device or not). Therefore, if there is some scheme involving scsi
> or parallel port mounting/referencing, then it is new to me.

> Can anyone give me pointers? I have a desire to read and write to/from
> the zip in both the freebsd 165 filesystem and the fat32/win98/msdos-style
> file system style.

> At the bottom, I include my kernel configuration file, in case it matters.

> Tips and pointers to readmes and resources appreciated. Outright
> answers also appreciated.

> Thanks,

> Lewis

> machine         "i386"
> cpu             "I386_CPU"
> cpu             "I486_CPU"
> cpu             "I586_CPU"
> cpu             "I686_CPU"
> ident           VALKYRIE
> maxusers        100

> config          kernel  root on wd0

> options         MAXMEM=131072
> options         MATH_EMULATE            #Support for x87 emulation
> options         INET                    #InterNETworking
> options         SYSVSHM
> options         SYSVMSG
> options         FFS                     #Berkeley Fast Filesystem
> options         FFS_ROOT                #FFS usable as root device [keep this!]
> options         MFS                     #Memory Filesystem
> options         MFS_ROOT                #MFS usable as root device, "MFS" req'ed
> options         NFS                     #Network Filesystem
> options         NFS_ROOT                #NFS usable as root device, "NFS" req'ed
> options         MSDOSFS                 #MSDOS Filesystem
> options         "CD9660"                #ISO 9660 Filesystem
> options         "CD9660_ROOT"           #CD-ROM usable as root. "CD9660" req'ed
> options         PROCFS                  #Process filesystem
> options         "COMPAT_43"             #Compatible with BSD 4.3 [KEEP THIS!]
> options         SCSI_DELAY=15000        #Be pessimistic about Joe SCSI device
> options         UCONSOLE                #Allow users to grab the console
> options         FAILSAFE                #Be conservative
> options         USERCONFIG              #boot -c editor
> options         VISUAL_USERCONFIG       #visual boot -c editor
> options         ATAPI           #Enable ATAPI support for IDE bus
> options         ATAPI_STATIC    #Don't do it as an LKM
> options         XSERVER                 # support for X server

> controller      isa0
> controller      eisa0
> controller      pci0

> controller      fdc0    at isa? port "IO_FD1" bio irq 6 drq 2
> disk            fd0     at fdc0 drive 0
> disk            fd1     at fdc0 drive 1

> options         "CMD640"        # work around CMD640 chip deficiency
> controller      wdc0    at isa? port "IO_WD1" bio irq 14
> disk            wd0     at wdc0 drive 0
> disk            wd1     at wdc0 drive 1

> controller      wdc1    at isa? port "IO_WD2" bio irq 15
> disk            wd2     at wdc1 drive 0
> disk            wd3     at wdc1 drive 1

> device          acd0            #IDE CD-ROM
> device          wfd0            #IDE Floppy (e.g. LS-120)

> controller      atkbdc0 at isa? port IO_KBD tty
> device          atkbd0  at isa? tty irq 1
> device          psm0    at isa? tty irq 12

> device          vga0    at isa? port ? conflicts

> pseudo-device   splash

> device          sc0     at isa? tty

> device          npx0    at isa? port IO_NPX irq 13

> device          apm0    at isa? disable flags 0x31 # Advanced Power Management

> device          sio0    at isa? port "IO_COM1" flags 0x10 tty irq 4
> device          sio1    at isa? port "IO_COM2" tty irq 3
> device          sio2    at isa? disable port "IO_COM3" tty irq 5
> device          sio3    at isa? disable port "IO_COM4" tty irq 9

> controller      scbus0
> device          da0

> device          ppc0    at isa? port? net irq 7
> controller      ppbus0
> device          nlpt0   at ppbus?
> device          plip0   at ppbus?
> device          ppi0    at ppbus?
> controller      vpo0    at ppbus?

> device pcm0 at isa? port ? tty irq 10 drq 1 flags 0x0

> device fxp0

> pseudo-device   loop
> pseudo-device   ether
> pseudo-device   sl      1
> pseudo-device   ppp     1
> pseudo-device   tun     1
> pseudo-device   pty     16
> pseudo-device   gzip            # Exec gzipped a.out's

> --
> Lewis Beard, #1369, Gonzo Dining Society, http://lwb.org, le...@netdoor.com
>  But on eliminating every other reason For our sad demise, They logged the
>  only explanation left, This species has amused itself to death!  No tears
>  to cry, No feelings left, This species has amused itself to death. -Waters

--

                    \|/
                   (@ @)
  +----------oOO----(_)------------------+
  |   Mark S. Reichman        FreeBSD    |
  |    m...@borg.com        Got source?  |
  |                                      |
  |      May the source be with you!     |
  |                                      |
  +------------------------oOO-----------+
                  |__|__|
                   || ||
                  ooO Ooo

 
 
 

Help with Iomega/vpo0/zip device on parallel port

Post by Uwe Kuhlman » Sun, 07 Mar 1999 04:00:00



> # Device                Mountpoint      FStype  Options         Dump
> Pass#
> /dev/wd0s2b             none            swap    sw              0
> 0
> /dev/wd0s2a             /               ufs     rw              1
> 1
> /dev/wd0s2e             /var            ufs     rw              2
> 2
> /dev/wd0s2f             /usr            ufs     rw              2
> 2
> proc                    /proc           procfs  rw              0
> 0
> /dev/wcd0c              /cdrom          cd9660  ro,noauto       0
> 0
> /dev/wd0s1              /dos/c          msdos   rw              0
> 0
> /dev/wd1s1              /dos/d          msdos   rw              0
> 0
> /dev/sd0s4              /dos/zip        msdos   rw              0
> 0

> Look at the last line of my fstab....
> Try....

> $ mount -t msdos /dev/sd0s4 /mnt

I did exactly what he wrote but the command  $mount -t msdos /dev/sd0 /mnt/zip fails
with
$ mount: improper argument. The SCSI adapter is ok since I can read from my
MAC-formatted ZIPs with hfsutils.
Is there something special with the msdos-formatted ZIPs. Is it better to format
after buying?

Uwe Kuhlmann


 
 
 

Help with Iomega/vpo0/zip device on parallel port

Post by Bob Willc » Mon, 08 Mar 1999 04:00:00





>> [snip]

> I did exactly what he wrote but the command  $mount -t msdos /dev/sd0 /mnt/zip fails
> with
> $ mount: improper argument. The SCSI adapter is ok since I can read from my
> MAC-formatted ZIPs with hfsutils.
> Is there something special with the msdos-formatted ZIPs. Is it better to format
> after buying?

Well, I always reformat my Zip (and Jaz) disks into FFS format.  :-)

--
Bob Willcox             The man who follows the crowd will usually get no

Austin, TX              likely to find himself in places no one has ever
                        been.            -- Alan Ashley-Pitt

 
 
 

Help with Iomega/vpo0/zip device on parallel port

Post by Mark S. Reichma » Mon, 08 Mar 1999 04:00:00


Hi.. Its me..

You didnt type it right. You left off something.  Try this again.

$ mount -t /dev/sd0s4 /mnt

FreeBSD now uses da instead of sd for SCSI disks.  So its
better use the following line.

$ mount -t /dev/da0s4 /mnt

I have read where the msdos formatted parellel zip disks
require slice 4.  You left it off in your example.
So..  Try it.. Let me know how it works...



> > # Device                Mountpoint      FStype  Options         Dump
> > Pass#
> > /dev/wd0s2b             none            swap    sw              0
> > 0
> > /dev/wd0s2a             /               ufs     rw              1
> > 1
> > /dev/wd0s2e             /var            ufs     rw              2
> > 2
> > /dev/wd0s2f             /usr            ufs     rw              2
> > 2
> > proc                    /proc           procfs  rw              0
> > 0
> > /dev/wcd0c              /cdrom          cd9660  ro,noauto       0
> > 0
> > /dev/wd0s1              /dos/c          msdos   rw              0
> > 0
> > /dev/wd1s1              /dos/d          msdos   rw              0
> > 0
> > /dev/sd0s4              /dos/zip        msdos   rw              0
> > 0

> > Look at the last line of my fstab....
> > Try....

> > $ mount -t msdos /dev/sd0s4 /mnt

> I did exactly what he wrote but the command  $mount -t msdos /dev/sd0 /mnt/zip fails
> with
> $ mount: improper argument. The SCSI adapter is ok since I can read from my
> MAC-formatted ZIPs with hfsutils.
> Is there something special with the msdos-formatted ZIPs. Is it better to format
> after buying?

> Uwe Kuhlmann



--
                    \|/

  +----------oOO----(_)------------------+
  |   Mark S. Reichman        FreeBSD    |

  +------------------------oOO-----------+
                  |__|__|
                   || ||
                  ooO Ooo
 
 
 

Help with Iomega/vpo0/zip device on parallel port

Post by Mark S. Reichma » Mon, 08 Mar 1999 04:00:00


Man,  now I typed it wrong.. Here..  This is better..

$ mount -t msdos /dev/da0s4 /mnt

I forgot to designate the filesystem. Jeeesh..!!!


> Hi.. Its me..

> You didnt type it right. You left off something.  Try this again.

> $ mount -t /dev/sd0s4 /mnt

> FreeBSD now uses da instead of sd for SCSI disks.  So its
> better use the following line.

> $ mount -t /dev/da0s4 /mnt

> I have read where the msdos formatted parellel zip disks
> require slice 4.  You left it off in your example.
> So..  Try it.. Let me know how it works...



> > > # Device                Mountpoint      FStype  Options         Dump
> > > Pass#
> > > /dev/wd0s2b             none            swap    sw              0
> > > 0
> > > /dev/wd0s2a             /               ufs     rw              1
> > > 1
> > > /dev/wd0s2e             /var            ufs     rw              2
> > > 2
> > > /dev/wd0s2f             /usr            ufs     rw              2
> > > 2
> > > proc                    /proc           procfs  rw              0
> > > 0
> > > /dev/wcd0c              /cdrom          cd9660  ro,noauto       0
> > > 0
> > > /dev/wd0s1              /dos/c          msdos   rw              0
> > > 0
> > > /dev/wd1s1              /dos/d          msdos   rw              0
> > > 0
> > > /dev/sd0s4              /dos/zip        msdos   rw              0
> > > 0

> > > Look at the last line of my fstab....
> > > Try....

> > > $ mount -t msdos /dev/sd0s4 /mnt

> > I did exactly what he wrote but the command  $mount -t msdos /dev/sd0 /mnt/zip fails
> > with
> > $ mount: improper argument. The SCSI adapter is ok since I can read from my
> > MAC-formatted ZIPs with hfsutils.
> > Is there something special with the msdos-formatted ZIPs. Is it better to format
> > after buying?

> > Uwe Kuhlmann


> --
>                     \|/

>   +----------oOO----(_)------------------+
>   |   Mark S. Reichman        FreeBSD    |

>   +------------------------oOO-----------+
>                   |__|__|
>                    || ||
>                   ooO Ooo

--
                    \|/

  +----------oOO----(_)------------------+
  |   Mark S. Reichman        FreeBSD    |

  +------------------------oOO-----------+
                  |__|__|
                   || ||
                  ooO Ooo
 
 
 

Help with Iomega/vpo0/zip device on parallel port

Post by drwh » Fri, 19 Mar 1999 04:00:00



Quote:> Hi.. Its me..

> You didnt type it right. You left off something.  Try this again.

> $ mount -t /dev/sd0s4 /mnt

> FreeBSD now uses da instead of sd for SCSI disks.  So its
> better use the following line.

> $ mount -t /dev/da0s4 /mnt

What exactly was the reason for the name change from the more popular
"sd" to "da"?  I'd imagine this has broken quite a few programs...

--
Fight email spam:  http://www.cauce.org/

 
 
 

1. Iomega Zip drive: parallel port linux device driver?

Subject pretty much says it all.  Does anyone know if someone is
working on a parallel port device driver for the Zip drive?  A friend
of mine has the SCSI version and that works very well with linux.
I am interested in a parallel port driver to make the drive more portable
(i.e. so I don't have to carry a SCSI card with me in case the computer
I'm visiting doesn't have one.)

TIA,

--

2. devices gone after 2.0.36

3. Looking for a driver for a Iomega Zip (parallel port)?

4. bad interpreter

5. Iomega Zip Plus SCSI/PARALLEL port

6. diff

7. Has anyone out there gotten a parallel port Iomega Zip to work?

8. Boot message "failed" resolved

9. Parallel port drivers for scanners, Iomega 2GB tape and Zip drives

10. Iomega ZIP Drive on Parallel - Port ... how ?

11. Iomega Zip Drive - Parallel Port

12. How to get Iomega Zip Parallel port under Linux/x?

13. Iomega Zip 250 parallel port drive.