Click to See Complete Forum and Search --> : problem with ZIP drive


pierre_dove
03-17-2005, 06:01 PM
Hello
I have recently installed the Debian-Sarge Linux (16th of March).
Everything seems to work well exept that I can not get access to my internal Iomega zip drive.
I have created directory /mnt/zip/
and entered the following line in the /etc/fstab file:
/dev/sda4 /mnt/zip vfat rw,user,noauto 0 0


lines in the /var/log/dmesg file which I guess can give hits:
.
.
hdd: IOMEGA ZIP 250 ATAPI, ATAPI FLOPPY drive
.
.
hdd: attached ide-scsi driver.
scsi0 : SCSI host adapter emulation for IDE ATAPI devices
Vendor: IOMEGA Model: ZIP 250 Rev: 51.G
Type: Direct-Access ANSI SCSI revision: 00
es1371: version v0.32 time 06:26:51 Sep 3 2004
.
.


When I try to mount the zip drive (after inserting a FAT-formatted zip-disc) by typing

mount /mnt/zip/

the terminal window get stuck and the command prompt does not reappear.
Something happens with the ZIP drive (a lamp is lit and I can hear some sound from it)
The only way I can stop the activity is to reboot the computer.
(If I change the entry in the fstab file to hdd4 I get an error message asking if I
mean to mount the SCSI emulated device instead).
The zip drive works under windows and has worked with 3 different versions of Red Hat Linux
(in that case the entry in fstab was hdd4)
What is wrong?
Is it a problem with the Sarge version or have I done something foolish?
Is there something more that has to be installed?
Thanks!

techwise
03-18-2005, 12:18 AM
in sda4 the 4 would signify the 4th partition on the first scsi device.

give sda1 a try. not sure why that zip disk would be partitioned.

mike

pierre_dove
03-18-2005, 04:47 AM
I tried to change /dev/sda4 to /dev/sda1 but the reaction was identical
(the reason I used partion 4 was that I read somewhere that zip drives are
always preformatted that way)
I have also tried to to change /dev/sda4 to /dev/sdb4 with the same reaction.

When I reboot the system to stop the activity in the zip drive I can read on the console the following error message several times:

ide-scsi: The scsi wants to sen more data than expected - discarding data
ide-scsi:[[ 28 0 0 0 0 0 0 0 8 0 0 0 ]
]
ide-scsi: expected 4096 got 4608 limit 4096
hdd: lost interrupt



Why can not this device be treated as hdd4 (as in the Red Hats I had installed previously)?
Does anyone has a suggestion on what to do to find out what is wrong?
Thanks!

janet loves bill
03-18-2005, 05:21 AM
My Slackware AND LFS boxes see my 250 zip as
/dev/sda4
and I have the imm driver compiiled as a module in the kernel...........I put this line in /etc/rc.d/rc.local so the driver loads at boot...........

/sbin/modprobe imm

I dont use the ppa driver as it causes problems with
parallel port...........as this is how my zip connects .......

pierre_dove
03-18-2005, 08:30 AM
I cant find the imm module for the Debian system.
However, I found the jazip package, which I have installed without problems.
I still get the same behaviour though.
By reading some FAQs I have started to think that I need
to turn on kernel support for "SCSI emulation", "SCSI Support", and "SCSI Generic Support". and turn off "IDE/ATAPI Floppy Support" (see http://www.scripps.edu/~jsmith/jazip/jaZip-FAQ.html#G3 )
I think in my system the SCSE emulation is on but how do I turn off the
"IDE/ATAPI Floppy Support" ?
Do I have to recompile the kernel or can I use the modeprobe command?

If I type
modprobe -c
I do not get anything which I can recognize as "IDE/ATAPI Floppy Support" .

If I have to recompile the kernel, where can I find information on how to do that?

Thanks!

ph34r
03-18-2005, 09:43 AM
Like your output told you, it is at hdd4 not sd?4, don't know why you are using scsi emulation for it.

pierre_dove
03-18-2005, 12:06 PM
If I use hdd4 i e add

/dev/sda4 /mnt/zip vfat rw,user,noauto 0 0

to /etc/fstab

and write

$ mount /mnt/zip/

I get the following error message:

mount: wrong fs type, bad option, bad superblock on /dev/hdd4,
or too many mounted file systems
(could this be the IDE device where you in fact use
ide-scsi so that sr0 or sda or so is needed?)

and I get no action at all from the zip drive
I have also got the impression (which may be wrogn) that under debian the IDE ATAPI device is drived under SCSI emulation (see e g http://www.scripps.edu/~jsmith/jazip/jaZip-FAQ.html#G3 )

So at least I get some action from the zip drive using the sda4 approach

ph34r
03-18-2005, 12:21 PM
Originally posted by pierre_dove
If I use hdd4 i e add

/dev/sda4 /mnt/zip vfat rw,user,noauto 0 0

to /etc/fstab


If you add /dev/sda4 then you aren't using hdd4. Check your output from the first message - it is telling you that it found the zip drive at hdd4...

pierre_dove
03-18-2005, 05:46 PM
Oh sorry
I included wrong line in last message

What I actually added to the /etc/fstab file was

/dev/hdd4 /mnt/zip vfat rw,user,noauto 0 0

and the output was (as I included in last message ) :
mount: wrong fs type, bad option, bad superblock on /dev/hdd4,
or too many mounted file systems
(could this be the IDE device where you in fact use
ide-scsi so that sr0 or sda or so is needed?)


So hdd4 does not work

pierre_dove
04-01-2005, 10:28 AM
The problem is solved.
I upgraded to kernel 2.6.8 and now it works
(as hdd4), the system does not attemt to use scsi emulation now.
Thanks