[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: I/O to ZIP drive temporarily locks up machine



There are those who would have you believe that Krzys Majewski wrote:
> On 20 Oct 2000, Krzys Majewski wrote:
> > I don't know how to say  this properly.. when backing up files from my
> > IDE  hard  drive  to  my  parallel  port  ZIP100  drive,  the  machine
> > occasionally  blocks: it's like  everything freezes  for about  half a
> > minute before I can do anything  again. This only happens when the ZIP
> > drive is  running (not  sure if  it's R or  W or  both). This  is with
> > kernel 2.2.17,  using the  imm driver  as a module.  I've set  all the
> > default "safe"  options for  the driver, like  "slow and  reliable" or
> > whatnot.  Is this a  kernel bug?  IMM driver  bug? User  bug? Feature?
> > Help? chris
> > 
> 
> I got a great response to this from someone who suggested enabling ECP
> in the BIOS and assigning a DMA.  I did the first (BIOS now says:
> "ECP+EPP
> ECP Mode use DMA 3
> EPP Mode Select  EPP1.7")
> but don't know how to do the second.  Reading
> /usr/src/linux/Documentation/parport.txt 
> didn't help. 
> 
> 11:24:02<~>$ cat /proc/parport/0/hardware 
> base:   0x378
> irq:    none
> dma:    none
> modes:  SPP,ECP,ECPEPP,ECPPS2
> 
> Notice the lack of DMA.  How to fix this? I'm getting lots of
> errors on the ZIP drive now, e.g. 
> 
> localhost kernel: SCSI disk error : host 1 channel 0 id 6 lun 0 return code = 27010000
> localhost kernel: scsidisk I/O error: dev 08:04, sector 32345
> localhost kernel: file_cluster badly computed!!! 2248 <> 3784
> 
> and more. I can occasionally read/write the ZIP drive but basically it
> is unuseable in this state. 
> 


In your modules.conf, put a line something like:

options parport_pc irq=7 io=0x378 dma=3

but put the values that you are actually using (the io and irq are
probably the same, the dma is probably set in your CMOS).



Reply to: