[PARPORT] "Operation not permitted" message when installing kernel modules

From: Dr. Muhammad Masroor Ali (masroor@cse.buet.edu)
Date: Sat Apr 06 2002 - 11:25:56 EST

  • Next message: Dr. Muhammad Masroor Ali: "[PARPORT] "Operation not permitted" when loading modules."

    Hi All,
    It is not that my drive (HP 7200) is bad. I have been using
    it for more than a year under Mandrake 7.1, recently I
    switched to RedHat and this mysterious problems starte
    occurring. In Mandrake, I used the following sequrnce of
    commands to install the modules,

    /sbin/modprobe paride
    /sbin/modprobe epat
    /sbin/modprobe pg
    /sbin/modprobe pcd

    And it worked like a charm. Now under RH, the last command
    generates the following message,

    /lib/modules/2.4.2-2/kernel/drivers/block/paride/pg.o:
    init_module: Operation not permitted
    Hint: insmod errors can be caused by incorrect module
    parameters, including invalid IO or IRQ parameters
    /lib/modules/2.4.2-2/kernel/drivers/block/paride/pg.o:
    insmod /lib/modules/2.4.2-2/kernel/drivers/block/paride/pg.o
    failed
    /lib/modules/2.4.2-2/kernel/drivers/block/paride/pg.o:
    insmod pg failed

    I have tried switching the sequence of the last two
    commands, with messages in the same line. I feel really
    frustated. Could any kind soul please tell me what is wrong.

    Output from dmesg follows:
    Linux version 2.4.2-2 (root@porky.devel.redhat.com) (gcc
    version 2.96 20000731 (Red Hat Linux 7.1 2.96-79)) #1 Sun
    Apr 8 19:37:14 EDT 2001
    BIOS-provided physical RAM map:
     BIOS-e801: 000000000009f000 @ 0000000000000000 (usable)
     BIOS-e801: 0000000003f00000 @ 0000000000100000 (usable)
    On node 0 totalpages: 16384
    zone(0): 4096 pages.
    zone DMA has max 32 cached pages.
    zone(1): 12288 pages.
    zone Normal has max 96 cached pages.
    zone(2): 0 pages.
    zone HighMem has max 1 cached pages.
    Kernel command line: auto BOOT_IMAGE=Linux ro root=34b
    BOOT_FILE=/boot/vmlinuz-2.4.2-2
    Initializing CPU#0
    Detected 149.693 MHz processor.
    Console: colour VGA+ 80x25
    Calibrating delay loop... 298.18 BogoMIPS
    Memory: 62052k/65536k available (1363k kernel code, 3096k
    reserved, 92k data, 232k init, 0k highmem)
    Dentry-cache hash table entries: 8192 (order: 4, 65536
    bytes)
    Buffer-cache hash table entries: 4096 (order: 2, 16384
    bytes)
    Page-cache hash table entries: 16384 (order: 5, 131072
    bytes)
    Inode-cache hash table entries: 4096 (order: 3, 32768 bytes)

    VFS: Diskquotas version dquot_6.5.0 initialized
    CPU: Before vendor init, caps: 000001bf 00000000 00000000,
    vendor = 0
    Intel Pentium with F0 0F bug - workaround enabled.
    CPU: After vendor init, caps: 000001bf 00000000 00000000
    00000000
    CPU: After generic, caps: 000001bf 00000000 00000000
    00000000
    CPU: Common caps: 000001bf 00000000 00000000 00000000
    CPU: Intel Pentium 75 - 200 stepping 0c
    Checking 'hlt' instruction... OK.
    POSIX conformance testing by UNIFIX
    mtrr: v1.37 (20001109) Richard Gooch (rgooch@atnf.csiro.au)
    mtrr: detected mtrr type: none
    PCI: PCI BIOS revision 2.10 entry at 0xfd9ac, last bus=0
    PCI: Using configuration type 1
    PCI: Probing PCI hardware
    Limiting direct PCI/PCI transfers.
    Activating ISA DMA hang workarounds.
    isapnp: Scanning for PnP cards...
    isapnp: No Plug & Play device found
    Linux NET4.0 for Linux 2.4
    Based upon Swansea University Computer Society NET3.039
    Initializing RT netlink socket
    apm: BIOS not found.
    Starting kswapd v1.8
    pty: 256 Unix98 ptys configured
    block: queued sectors max/low 41117kB/13705kB, 128 slots per
    queue
    RAMDISK driver initialized: 16 RAM disks of 4096K size 1024
    blocksize
    Uniform Multi-Platform E-IDE driver Revision: 6.31
    ide: Assuming 33MHz system bus speed for PIO modes; override
    with idebus=xx
    PIIX3: IDE controller on PCI bus 00 dev 41
    PIIX3: chipset revision 0
    PIIX3: not 100% native mode: will probe irqs later
        ide0: BM-DMA at 0xfe80-0xfe87, BIOS settings: hda:DMA,
    hdb:DMA
        ide1: BM-DMA at 0xfe88-0xfe8f, BIOS settings: hdc:DMA,
    hdd:DMA
    hda: IBM-DAQA-32160, ATA DISK drive
    hdb: QUANTUM FIREBALLlct20 40, ATA DISK drive
    hdc: IBM-DAQA-32700, ATA DISK drive
    hdd: MATSHITA CR-583, ATAPI CD/DVD-ROM drive
    ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
    ide1 at 0x170-0x177,0x376 on irq 15
    hda: 4233600 sectors (2168 MB) w/96KiB Cache,
    CHS=525/128/63, DMA
    hdb: 78177792 sectors (40027 MB) w/418KiB Cache,
    CHS=4866/255/63, (U)DMA
    hdc: 4999680 sectors (2560 MB) w/96KiB Cache,
    CHS=4960/16/63, DMA
    Partition check:
     hda: hda1
     hdb: hdb1 hdb2 < hdb5 hdb6 hdb7 hdb8 hdb9 hdb10 hdb11 hdb12
    hdb13 hdb14 >
     hdc: [PTBL] [620/128/63] hdc1 hdc2 < hdc5 hdc6 > hdc3
    Floppy drive(s): fd0 is 1.44M
    FDC 0 is a post-1991 82077
    Serial driver version 5.02 (2000-08-09) with MANY_PORTS
    MULTIPORT SHARE_IRQ SERIAL_PCI ISAPNP enabled
    ttyS01 at 0x02f8 (irq = 3) is a 16550A
    Real Time Clock Driver v1.10d
    md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
    md.c: sizeof(mdp_super_t) = 4096
    autodetecting RAID arrays
    autorun ...
    ... autorun DONE.
    NET4: Linux TCP/IP 1.0 for NET4.0
    IP Protocols: ICMP, UDP, TCP, IGMP
    IP: routing cache hash table of 512 buckets, 4Kbytes
    TCP: Hash tables configured (established 4096 bind 4096)
    Linux IP multicast router 0.06 plus PIM-SM
    NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
    VFS: Mounted root (ext2 filesystem) readonly.
    Freeing unused kernel memory: 232k freed
    Adding Swap: 1052216k swap-space (priority -1)
    Winbond Super-IO detection, now testing ports
    3F0,370,250,4E,2E ...
    SMSC Super-IO detection, now testing Ports 2F0, 370 ..
    0x378: FIFO is 16 bytes
    0x378: writeIntrThreshold is 8
    0x378: readIntrThreshold is 8
    0x378: PWord is 8 bits
    0x378: Interrupts are ISA-Pulses
    0x378: possible IRQ conflict!
    0x378: ECP port cfgA=0x10 cfgB=0x0b
    0x378: ECP settings irq=7 dma=3
    parport0: PC-style at 0x378 (0x778)
    [PCSPP,TRISTATE,COMPAT,ECP]
    parport0: irq 7 detected
    parport0: cpp_mux: aa55f00f52ad51(00)
    parport0: Found 1 daisy-chained devices
    ip_conntrack (512 buckets, 4096 max)
    hdd: ATAPI 8X CD-ROM drive, 128kB Cache, DMA
    Uniform CD-ROM driver Revision: 3.12
    es1371: version v0.27 time 19:49:34 Apr 8 2001
    es1371: found chip, vendor id 0x1274 device id 0x1371
    revision 0x06
    es1371: found es1371 rev 6 at io 0x1200 irq 11
    es1371: features: joystick 0x0
    ac97_codec: AC97 Audio codec, id: 0x8384:0x7609 (SigmaTel
    STAC9721/23)
    paride: version 1.05 installed
    pcd: pcd version 1.07, major 46, nice 0
    pcd0: Autoprobe failed
    pcd: No CD-ROM drive found
    PPP generic driver version 2.4.1
    NET4: Linux IPX 0.46 for NET4.0
    IPX Portions Copyright (c) 1995 Caldera, Inc.
    IPX Portions Copyright (c) 2000, 2001 Conectiva, Inc.
    NET4: AppleTalk 0.18a for Linux NET4.0
    PPP BSD Compression module registered
    PPP Deflate Compression module registered
    es1371: unloading
    Uniform CD-ROM driver unloaded
    hdd: ATAPI 8X CD-ROM drive, 128kB Cache, DMA
    Uniform CD-ROM driver Revision: 3.12
    paride: version 1.05 installed
    paride: epat registered as protocol 0
    pcd: pcd version 1.07, major 46, nice 0
    pcd0: epat 1.01, Shuttle EPAT chip c6 at 0x378, mode 2
    (8-bit), delay 1
    pcd0: Slave: CD-Writer+ 7200
    pcd0: mode sense capabilities completion: alt=0x51 stat=0x51
    err=0x60 loop=0 phase=3
    pcd0: mode sense capabilities: Sense key: 6, ASC: 29, ASQ: 0

    pg: pg version 1.02, major 97
    pg0: Autoprobe failed
    pg: No ATAPI device detected
    ISO 9660 Extensions: RRIP_1991A
    SCSI subsystem driver Revision: 1.00
    NET4: Linux IPX 0.46 for NET4.0
    IPX Portions Copyright (c) 1995 Caldera, Inc.
    IPX Portions Copyright (c) 2000, 2001 Conectiva, Inc.
    NET4: AppleTalk 0.18a for Linux NET4.0
    PPP BSD Compression module registered
    PPP Deflate Compression module registered
    pg: pg version 1.02, major 97
    pg0: epat: port 0x3bc, mode 0, ccr ff, test=(255,255,510)
    pg0: epat: port 0x3bc, mode 1, ccr ff, test=(255,255,510)
    pg0: epat: port 0x3bc, mode 2, ccr ff, test=(255,255,510)
    pg0: epat: port 0x278, mode 0, ccr ff, test=(255,255,510)
    pg0: epat: port 0x278, mode 1, ccr ff, test=(255,255,510)
    pg0: epat: port 0x278, mode 2, ccr ff, test=(255,255,510)
    pg0: epat: port 0x278, mode 3, ccr ff, test=(255,255,510)
    pg0: epat: port 0x278, mode 4, ccr ff, test=(255,255,510)
    pg0: epat: port 0x278, mode 5, ccr ff, test=(255,255,510)
    pg0: epat: port 0x268, mode 0, ccr ff, test=(255,255,510)
    pg0: epat: port 0x268, mode 1, ccr ff, test=(255,255,510)
    pg0: epat: port 0x268, mode 2, ccr ff, test=(255,255,510)
    pg0: epat: port 0x268, mode 3, ccr ff, test=(255,255,510)
    pg0: epat: port 0x268, mode 4, ccr ff, test=(255,255,510)
    pg0: Autoprobe failed
    pg: No ATAPI device detected
    hdd: ATAPI 8X CD-ROM drive, 128kB Cache, DMA
    pg: pg version 1.02, major 97
    pg0: Autoprobe failed
    pg: No ATAPI device detected
    NET4: Linux IPX 0.46 for NET4.0
    IPX Portions Copyright (c) 1995 Caldera, Inc.
    IPX Portions Copyright (c) 2000, 2001 Conectiva, Inc.
    NET4: AppleTalk 0.18a for Linux NET4.0
    PPP BSD Compression module registered
    PPP Deflate Compression module registered

    -- 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 : Sat Apr 06 2002 - 11:37:52 EST