Re: [PARPORT] 2.4.20-20.9 with a Colorado 8GBe drive - modprobe error

From: Robert Heller (heller@deepsoft.com)
Date: Wed Oct 01 2003 - 12:36:39 EDT

  • Next message: Martin Napoli: "[PARPORT] interrupt handler"

    In message <20031001155605.B41C330AE1D@appsrv1.nuvergence.com>, "Marc A. Leith"
     writes:
    >I'm using Red Hat Linux 9.0 Kernel 2.4.20-20.9 with a Colorado 8GBe drive, whe
    >n I manually load the modules like this:
    >
    >[root@BABCOM marc]# /sbin/insmod paride
    >Using /lib/modules/2.4.20-20.9/kernel/drivers/block/paride/paride.o
    >
    >[root@BABCOM marc]# /sbin/insmod epat
    >Using /lib/modules/2.4.20-20.9/kernel/drivers/block/paride/epat.o
    >
    >[root@BABCOM marc]# /sbin/insmod pt
    >Using /lib/modules/2.4.20-20.9/kernel/drivers/block/paride/pt.o
    >[root@BABCOM marc]#
    >
    >dmesg shows:
    > paride: version 1.06 installed (parport)
    > paride: epat registered as protocol 0
    > pt: pt version 1.04, major 96
    > pt0: Sharing parport0 at 0x378
    > pt0: epat 1.02, Shuttle EPAT chip c6 at 0x378, mode 2 (8-bit), delay 1
    >
    >and the drive seems to work okay.
    >
    >So I got clever and thought I rebuild the Kernel to include these modules.....
    >when I boot paride and epat seem to load okay BUT dmesg shows a series
    >of errors /sbin/modprobe -s -k parport_lowlevel, errno =2
    >and says exec failed.
    >
    >The drive is not then accessible.
    >
    >Here's the config file I used (or what I think the relevant sections are):
    >
    ># Parallel port support
    >
    >CONFIG_PARPORT=y
    >CONFIG_PARPORT_PC=m
    >CONFIG_PARPORT_PC_CML1=m
    >CONFIG_PARPORT_SERIAL=m

    Randomly guessing: If CONFIG_PARPORT is 'y', then one of
    CONFIG_PARPORT_PC/CONFIG_PARPORT_PC_CML1/CONFIG_PARPORT_SERIAL also
    needs to be set to 'y', probably CONFIG_PARPORT_PC.

    OTOH, what is wrong with leaving things as modules? There is not really
    much advantage to compiling things in. With the 'right stuff' in
    /etc/modules.conf, you can have the modules needed for your tape drive
    loaded as needed OR at boot time, whichever makes more sense.

    ># CONFIG_PARPORT_PC_FIFO is not set
    ># CONFIG_PARPORT_PC_SUPERIO is not set
    >CONFIG_PARPORT_PC_PCMCIA=m
    ># CONFIG_PARPORT_AMIGA is not set
    ># CONFIG_PARPORT_MFC3 is not set
    ># CONFIG_PARPORT_ATARI is not set
    ># CONFIG_PARPORT_GSC is not set
    ># CONFIG_PARPORT_SUNBPP is not set
    ># CONFIG_PARPORT_OTHER is not set
    >CONFIG_PARPORT_1284=y
    >
    >
    ># Block devices
    >
    >CONFIG_BLK_DEV_FD=y
    >CONFIG_BLK_DEV_XD=m
    >CONFIG_PARIDE=y
    >CONFIG_PARIDE_PARPORT=y
    >
    >
    >
    ># Parallel IDE high-level drivers
    >
    >CONFIG_PARIDE_PD=m
    >CONFIG_PARIDE_PCD=m
    >CONFIG_PARIDE_PF=m
    >CONFIG_PARIDE_PT=y
    >CONFIG_PARIDE_PG=m
    >
    >
    ># Parallel IDE protocol modules
    >
    >CONFIG_PARIDE_ATEN=m
    >CONFIG_PARIDE_BPCK=m
    >CONFIG_PARIDE_BPCK6=m
    >CONFIG_PARIDE_COMM=m
    >CONFIG_PARIDE_DSTR=m
    >CONFIG_PARIDE_FIT2=m
    >CONFIG_PARIDE_FIT3=m
    >CONFIG_PARIDE_EPAT=y
    >CONFIG_PARIDE_EPATC8=y
    >CONFIG_PARIDE_EPIA=m-docs-US.iso
    >CONFIG_PARIDE_FRIQ=m
    >CONFIG_PARIDE_FRPW=m
    >CONFIG_PARIDE_KBIC=m
    >CONFIG_PARIDE_KTTI=m
    >CONFIG_PARIDE_ON20=m
    >CONFIG_PARIDE_ON26=m
    >CONFIG_BLK_CPQ_DA=m
    >CONFIG_BLK_CPQ_CISS_DA=m
    >CONFIG_CISS_SCSI_TAPE=y
    >CONFIG_BLK_DEV_DAC960=m
    >
    >
    >
    >
    >Any help is appreciated, specially since my unix is rusty (after 3 years in a
    >Windows Development shop) and mostly OSF/1, DecUnix and TRU/64.
    >
    >Marc
    >
    >
    >
    >++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    >marc@mleith.net
    >++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    >Steele's Motto:
    >
    >Everyone needs to believe in something. I believe I'll have another beer.
    >++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    >
    >
    >
    >
    >-- To unsubscribe, send mail to: linux-parport-request@torque.net --
    >-- with the single word "unsubscribe" in the body of the message. --
                                         \/
    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 : Wed Oct 01 2003 - 12:37:32 EDT