Re: [PARPORT] NetMos parallel port lost after unplugging of another PCI card

From: Robert Heller (heller@deepsoft.com)
Date: Mon Aug 04 2003 - 18:48:33 EDT

  • Next message: Norbert Preining: "Re: [PARPORT] NetMos parallel port lost after unplugging of another PCI card"

      Norbert Preining <preining@logic.at>,
      In a message on Mon, 4 Aug 2003 23:18:51 +0200, wrote :

    NP> Hello friends!
    NP>
    NP> Maybe my previous email was lost, but I am still searching for any
    NP> solution to my problem. No changes till now, with none of the new
    NP> kernels I tried:

    Just for an experiment, try configuring your BIOS to 'reserve' IRQ 12
    for a (non-existent) 'legacy ISA' device. That is, what happens when
    you effectively force the BIOS to assign IRQ 5 to the NetMos card? Do
    things start working again? It *sounds* like there is some sort of
    'bug' in the parport driver that causes it to get confused when it sees
    an IRQ of 12 associated with a parallel port. Or something like that.

    NP>
    NP> On Mon, 21 Jul 2003, Norbert Preining wrote:
    NP> > I have the following problem:
    NP> >
    NP> > I have:
    NP> > 00:0c.0 Serial controller: NetMos Technology 222N-2 I/O Card (2S+1P) (rev 01) (prog-if 02 [16550])
    NP> > Subsystem: LSI Logic / Symbios Logic: Unknown device 0012
    NP> > Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
    NP> > Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
    NP> > Interrupt: pin A routed to IRQ 12
    NP> > Region 0: I/O ports at b800 [size=8]
    NP> > Region 1: I/O ports at bc00 [size=8]
    NP> > Region 2: I/O ports at c000 [size=8]
    NP> > Region 3: I/O ports at c400 [size=8]
    NP> > Region 4: I/O ports at c800 [size=8]
    NP> > Region 5: I/O ports at cc00 [size=16]
    NP> >
    NP> > I have:
    NP> > options parport_pc irq=7,none dma=3,none io=0x0378,0xc400 io_hi=0x0778,0
    NP> > options lp parport=1
    NP> >
    NP> > It was all working.
    NP> >
    NP> > The serial port where here:
    NP> > /dev/ttyS2, UART: 16550A, Port: 0xbc00, IRQ: 5
    NP> > /dev/ttyS3, UART: 16550A, Port: 0xc000, IRQ: 5
    NP> >
    NP> >
    NP> > Then I took out a networking card and the IRQ of the NetMos card changed
    NP> > to 12 (see above, before it was 5).
    NP> >
    NP> > Now the serial ports are:
    NP> > /dev/ttyS2, UART: 16550A, Port: 0xbc00, IRQ: 12
    NP> > /dev/ttyS3, UART: 16550A, Port: 0xc000, IRQ: 12
    NP> > and working. But when I load the parport(_pc) modules with the above
    NP> > parameters I get this in the syslog:
    NP> >
    NP> > parport0: PC-style at 0x378 (0x778), irq 7, dma 3 [PCSPP,TRISTATE,COMPAT,ECP,DMA]
    NP> > parport 0xc400 (WARNING): CTR: wrote 0x0c, read 0x0d
    NP> > parport 0xc400 (WARNING): DATA: wrote 0xaa, read 0x00
    NP> > parport 0xc400: You gave this address, but there is probably no parallel port there!
    NP> > parport1: PC-style at 0xc400 [PCSPP,TRISTATE,EPP]
    NP> >
    NP> > Can you tell me where my parport is lost?
    NP> >
    NP> > Thanks a lot for any hint and tips!
    NP> >
    NP> > I am using debian/sid, linux-2.4.22-pre7.
    NP>
    NP> Best wishes
    NP>
    NP> Norbert
    NP>
    NP> -------------------------------------------------------------------------------
    NP> Norbert Preining <preining AT logic DOT at> Technische Universitšt Wien
    NP> gpg DSA: 0x09C5B094 fp: 14DF 2E6C 0307 BE6D AD76 A9C0 D2BF 4AA3 09C5 B094
    NP> -------------------------------------------------------------------------------
    NP> BEALINGS
    NP> The unsavoury parts of a moat which a knight has to pour out of his
    NP> armour after being the victim of an araglin (q.v.). In medieval
    NP> Flanders, soup made from bealins was a very slightly sought-after
    NP> delicacy.
    NP> --- Douglas Adams, The Meaning of Liff
    NP>
    NP> -- To unsubscribe, send mail to: linux-parport-request@torque.net --
    NP> -- with the single word "unsubscribe" in the body of the message. --
    NP>
    NP>

                                         \/
    Robert Heller ||InterNet: heller@cs.umass.edu
    http://vis-www.cs.umass.edu/~heller || heller@deepsoft.com
    http://www.deepsoft.com /\FidoNet: 1:321/153

                                                                       

    -- To unsubscribe, send mail to: linux-parport-request@torque.net --
    -- with the single word "unsubscribe" in the body of the message. --



    This archive was generated by hypermail 2b29 : Mon Aug 04 2003 - 18:50:42 EDT