[PARPORT] CDRW400 and pg driver

From: David Hugh-Jones (hughjonesd@yahoo.co.uk)
Date: Mon Jan 13 2003 - 21:43:33 EST

  • Next message: Jude DaShiell: "Re: [PARPORT] CDRW400 and pg driver"

    Hi all

    I have a standard Suse 8.0 installation on a Toshiba Portege 7020CT, and
    a Philips CDRW400 with a parallel port, which I am trying to get working
    so that I can do bad things to the copyright of innocent artists.

    After reading through the HOWTOs, I realised I needed to load some
    kernel modules. I can load paride fine, and on26 (which was mentioned by
    a French guy as apparently working with this product). However, when I
    try

    modprobe pg

    I get

    linux:/home/dash2 # modprobe pg
    /lib/modules/2.4.18-4GB/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.18-4GB/kernel/drivers/block/paride/pg.o: insmod
    /lib/modules/2.4.18-4GB/kernel/drivers/block/paride/pg.o failed
    /lib/modules/2.4.18-4GB/kernel/drivers/block/paride/pg.o: insmod pg
    failed

    And in fact I get a similar message with all the pcd, pf, pd and pg
    drivers.

    Does anyone know what the problem might be? I have checked the parallel
    cable and it seems fine.

    Output of dmesg follows, and some kernel messages below. Thanks very
    much, dave

    inux version 2.4.18-4GB (root@Pentium.suse.de) (gcc version 2.95.3
    20010315 (Su
    SE)) #1 Wed May 29 15:47:24 UTC 2002
    BIOS-provided physical RAM map:
     BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
     BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
     BIOS-e820: 00000000000e8000 - 00000000000ec000 (reserved)
     BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
     BIOS-e820: 0000000000100000 - 000000000bfe0000 (usable)
     BIOS-e820: 000000000bfe0000 - 000000000bff0000 (ACPI data)
     BIOS-e820: 000000000bff0000 - 000000000c000000 (reserved)
     BIOS-e820: 00000000100a0000 - 00000000100b6e00 (reserved)
     BIOS-e820: 00000000100b6e00 - 00000000100b7000 (ACPI NVS)
     BIOS-e820: 00000000100b7000 - 0000000010100000 (reserved)
     BIOS-e820: 00000000fff80000 - 0000000100000000 (reserved)
    Scanning bios EBDA for MXT signature
    191MB LOWMEM available.
    On node 0 totalpages: 49120
    zone(0): 4096 pages.
    zone(1): 45024 pages.
    zone(2): 0 pages.
    Building zonelist for node : 0
    Kernel command line: auto BOOT_IMAGE=linux ro root=302
    Initializing CPU#0
    Detected 366.603 MHz processor.
    Console: colour dummy device 80x25
    Calibrating delay loop... 730.72 BogoMIPS
    Memory: 190588k/196480k available (1405k kernel code, 5504k reserved,
    421k data,
     120k init, 0k highmem)
    Dentry cache hash table entries: 32768 (order: 6, 262144 bytes)
    Inode cache hash table entries: 16384 (order: 5, 131072 bytes)
    Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
    Buffer-cache hash table entries: 8192 (order: 3, 32768 bytes)
    Page-cache hash table entries: 65536 (order: 6, 262144 bytes)
    CPU: Before vendor init, caps: 0183f9ff 00000000 00000000, vendor = 0
    CPU: L1 I cache: 16K, L1 D cache: 16K
    CPU: L2 cache: 256K
    CPU: After vendor init, caps: 0183f9ff 00000000 00000000 00000000
    Intel machine check architecture supported.
    Intel machine check reporting enabled on CPU#0.
    CPU: After generic, caps: 0183f9ff 00000000 00000000 00000000
    CPU: Common caps: 0183f9ff 00000000 00000000 00000000
    CPU: Intel Mobile Pentium II stepping 0a
    Enabling fast FPU save and restore... done.
    Checking 'hlt' instruction... OK.
    POSIX conformance testing by UNIFIX
    mtrr: v1.40 (20010327) Richard Gooch (rgooch@atnf.csiro.au)
    mtrr: detected mtrr type: Intel
    PCI: PCI BIOS revision 2.10 entry at 0xfedce, last bus=21
    PCI: Using configuration type 1
    PCI: Probing PCI hardware
    PCI: Using IRQ router PIIX [8086/7110] at 00:05.0
    PCI: Cannot allocate resource region 4 of device 00:05.1
    Limiting direct PCI/PCI transfers.
    Linux NET4.0 for Linux 2.4
    Based upon Swansea University Computer Society NET3.039
    Initializing RT netlink socket
    apm: BIOS version 1.2 Flags 0x02 (Driver version 1.16)
    mxt_scan_bios: enter
    Starting kswapd
    kinoded started
    VFS: Diskquotas version dquot_6.5.0 initialized
    ACPI: APM is already active, exiting
    vesafb: framebuffer at 0xdf000000, mapped to 0xcc80d000, size 2496k
    vesafb: mode is 640x480x16, linelength=1280, pages=3
    vesafb: protected mode interface info at c000:9da0
    vesafb: scrolling: redraw
    vesafb: directcolor: size=0:5:6:5, shift=0:11:5:0
    Looking for splash picture... no good signature found.
    Console: switching to colour frame buffer device 80x30
    fb0: VESA VGA frame buffer device
    pty: 256 Unix98 ptys configured
    Serial driver version 5.05c (2001-07-08) with HUB-6 MANY_PORTS MULTIPORT
    SHARE_I
    RQ SERIAL_PCI enabled
    ttyS00 at 0x03f8 (irq = 4) is a 16550A
    Real Time Clock Driver v1.10e
    Uniform Multi-Platform E-IDE driver Revision: 6.31
    ide: Assuming 33MHz system bus speed for PIO modes; override with
    idebus=xx
    PIIX4: IDE controller on PCI bus 00 dev 29
    PIIX4: chipset revision 1
    PIIX4: not 100% native mode: will probe irqs later
        ide0: BM-DMA at 0x1000-0x1007, BIOS settings: hda:DMA, hdb:pio
        ide1: BM-DMA at 0x1008-0x100f, BIOS settings: hdc:pio, hdd:pio
    hda: TOSHIBA MK6412MAT, ATA DISK drive
    ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
    blk: queue c0322e64, I/O limit 4095Mb (mask 0xffffffff)
    hda: 12685680 sectors (6495 MB), CHS=789/255/63, UDMA(33)
    ide-floppy driver 0.99.newide
    Partition check:
     hda: hda1 hda2
    Floppy drive(s): fd0 is 1.44M
    FDC 0 is an 8272A
    RAMDISK driver initialized: 16 RAM disks of 64000K size 1024 blocksize
    loop: loaded (max 16 devices)
    Cronyx Ltd, Synchronous PPP and CISCO HDLC (c) 1994
    Linux port (c) 1998 Building Number Three Ltd & Jan "Yenya" Kasprzak.
    ide-floppy driver 0.99.newide
    CSI subsystem driver Revision: 1.00
    kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
    kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
    md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
    md: Autodetecting RAID arrays.
    md: autorun ...
    md: ... autorun DONE.
    NET4: Linux TCP/IP 1.0 for NET4.0
    IP Protocols: ICMP, UDP, TCP, IGMP
    IP: routing cache hash table of 1024 buckets, 8Kbytes
    TCP: Hash tables configured (established 16384 bind 16384)
    Linux IP multicast router 0.06 plus PIM-SM
    NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
    RAMDISK: Compressed image found at block 0
    Freeing initrd memory: 872k freed
    VFS: Mounted root (ext2 filesystem).
    Journalled Block Device driver loaded
    kjournald starting. Commit interval 5 seconds
    EXT3 FS 2.4-0.9.17, 10 Jan 2002 on ide0(3,2), internal journal
    EXT3-fs: mounted filesystem with ordered data mode.
    VFS: Mounted root (ext3 filesystem) readonly.
    Trying to move old root to /initrd ... failed
    Unmounting old root
    Trying to free ramdisk memory ... okay
    Freeing unused kernel memory: 120k freed
    md: Autodetecting RAID arrays.
    md: autorun ...
    md: ... autorun DONE.
    Adding Swap: 200772k swap-space (priority 42)
    EXT3 FS 2.4-0.9.17, 10 Jan 2002 on ide0(3,2), internal journal
    usb.c: registered new driver usbdevfs
    usb.c: registered new driver hub
    usb-uhci.c: $Revision: 1.275 $ time 16:12:56 May 29 2002
    usb-uhci.c: High bandwidth mode enabled
    PCI: Found IRQ 11 for device 00:05.2
    PCI: Sharing IRQ 11 with 00:0c.0
    PCI: Sharing IRQ 11 with 00:0d.0
    usb-uhci.c: USB UHCI at I/O 0xffe0, IRQ 11
    usb-uhci.c: Detected 2 ports
    usb.c: new USB bus registered, assigned bus number 1
    hub.c: USB hub found
    hub.c: 2 ports detected
    usb-uhci.c: v1.275:USB Universal Host Controller Interface driver
    isapnp: Scanning for PnP cards...
    isapnp: No Plug & Play device found
    Linux Kernel Card Services 3.1.22
      options: [pci] [cardbus] [pm]
    Intel PCIC probe:
      Intel i82365sl B step ISA-to-PCMCIA at port 0x3e0 ofs 0x00, 2 sockets
        host opts [0]: none
        host opts [1]: none
        ISA irqs (scanned) = 4,5,7,10,15 polling interval = 1000 ms
    cs: IO port probe 0x0c00-0x0cff: clean.
    cs: IO port probe 0x0816-0x08ff: clean.
    cs: IO port probe 0x0800-0x080f: clean.
    cs: IO port probe 0x0100-0x04ff: excluding 0x170-0x177 0x370-0x37f
    0x4d0-0x4d7
    cs: IO port probe 0x0a00-0x0aff: clean.
    cs: memory probe 0x0d0000-0x0dffff: clean.
    hermes.c: 5 Apr 2002 David Gibson <hermes@gibson.dropbear.id.au>
    orinoco.c 0.11b (David Gibson <hermes@gibson.dropbear.id.au> and others)
    orinoco_cs.c 0.11b (David Gibson <hermes@gibson.dropbear.id.au> and
    others)
    eth0: Station identity 001f:0001:0006:0010
    eth0: Looks like a Lucent/Agere firmware version 6.16
    eth0: Ad-hoc demo mode supported
    eth0: IEEE standard IBSS ad-hoc mode supported
    eth0: WEP supported, 104-bit key
    eth0: MAC address 00:02:2D:2B:BE:43
    eth0: Station name "HERMES I"
    eth0: ready
    eth0: index 0x01: Vcc 5.0, irq 5, io 0x0100-0x013f
    PCI: Found IRQ 11 for device 00:0c.0
    PCI: Sharing IRQ 11 with 00:05.2
    PCI: Sharing IRQ 11 with 00:0d.0
    es1968: clocking to 48000
    IPv6 v0.8 for NET4.0
    IPv6 over IPv4 tunneling driver
    eth0: no IPv6 routers present
    paride: version 1.06 installed (parport)
    pg: pg version 1.02, major 97
    pg0: Autoprobe failed
    pg: No ATAPI device detected
    paride: version 1.06 installed (parport)
    pg: pg version 1.02, major 97
    pg0: Autoprobe failed
    pg: No ATAPI device detected
    paride: version 1.06 installed (parport)
    pg: pg version 1.02, major 97
    pg0: Autoprobe failed
    pg: No ATAPI device detected
    paride: version 1.06 installed (parport)
    pg: pg version 1.02, major 97
    pg0: Autoprobe failed
    pg: No ATAPI device detected

    and here are the kernel messages logged by syslog:

    Jan 14 02:28:11 linux kernel: paride: version 1.06 installed (parport)
    Jan 14 02:28:11 linux kernel: pg: pg version 1.02, major 97
    Jan 14 02:28:11 linux kernel: pg0: Autoprobe failed
    Jan 14 02:28:11 linux kernel: pg: No ATAPI device detected
    Jan 14 02:28:11 linux kernel: paride: version 1.06 installed (parport)
    Jan 14 02:28:11 linux kernel: pg: pg version 1.02, major 97
    Jan 14 02:28:11 linux kernel: pg0: Autoprobe failed
    Jan 14 02:28:11 linux kernel: pg: No ATAPI device detected
    Jan 14 02:28:11 linux kernel: paride: version 1.06 installed (parport)
    Jan 14 02:28:11 linux kernel: pg: pg version 1.02, major 97
    Jan 14 02:28:12 linux kernel: pg0: Autoprobe failed
    Jan 14 02:28:12 linux kernel: pg: No ATAPI device detected
    Jan 14 02:28:12 linux kernel: paride: version 1.06 installed (parport)
    Jan 14 02:28:12 linux kernel: pg: pg version 1.02, major 97
    Jan 14 02:28:12 linux kernel: pg0: Autoprobe failed
    Jan 14 02:28:12 linux kernel: pg: No ATAPI device detected

    Note that previous kernel logs, when the CDRW wasn't plugged in, don't
    mention pg. So at least something seems to be going right.

    __________________________________________________
    Do You Yahoo!?
    Everything you'll ever need on one web page
    from News and Sport to Email and Music Charts
    http://uk.my.yahoo.com

    -- 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 Jan 13 2003 - 21:45:54 EST