2001-11-09 18:38:30

by Nick Papadonis

[permalink] [raw]
Subject: 2.4.13 pcd problems?

Is anyone having similar problems with pcd using Kernel v2.4.13? I'm trying
to get my BackPack 6 working. I don't think I should be passing any
other parameters to pcd.

Any insight much appreciated.

- Nick

$ 540 /home/nick -> modprobe paride
$ 541 /home/nick -> modprobe bpck6
$ 542 /home/nick -> modprobe pcd
/lib/modules/2.4.13/kernel/drivers/block/paride/pcd.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.13/kernel/drivers/block/paride/pcd.o: insmod /lib/modules/2.4.13/kernel/drivers/block/paride/pcd.o failed
/lib/modules/2.4.13/kernel/drivers/block/paride/pcd.o: insmod pcd failed


I get the following:
$ 539 /home/nick -> lsmod
Module Size Used by
i810_audio 18032 0 (autoclean)
ac97_codec 9376 0 (autoclean) [i810_audio]
soundcore 3984 3 (autoclean) [i810_audio]
i810 65248 1
agpgart 17312 7 (autoclean)
autofs 9504 0 (autoclean) (unused)
e100 60720 1
usb-uhci 22176 0 (unused)
usbcore 51744 1 [usb-uhci]

--
Nick


2001-11-10 00:10:53

by Mikael Pettersson

[permalink] [raw]
Subject: Re: 2.4.13 pcd problems?

On 09 Nov 2001 13:38:05 -0500, Nick Papadonis wrote:
>Is anyone having similar problems with pcd using Kernel v2.4.13? I'm trying
>to get my BackPack 6 working. I don't think I should be passing any
>other parameters to pcd.
>
>Any insight much appreciated.
>
>- Nick
>
>$ 540 /home/nick -> modprobe paride
>$ 541 /home/nick -> modprobe bpck6
>$ 542 /home/nick -> modprobe pcd
>/lib/modules/2.4.13/kernel/drivers/block/paride/pcd.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.13/kernel/drivers/block/paride/pcd.o: insmod /lib/modules/2.4.13/kernel/drivers/block/paride/pcd.o failed
>/lib/modules/2.4.13/kernel/drivers/block/paride/pcd.o: insmod pcd failed

A dmesg log would have been appropriate here.
Two things to check/test:
1. Configure the parport as EPP or PS2 in the BIOS, not ECP.
2. Tell Linux the IO address _and_ IRQ of your parport.

I have the following in /etc/modules.conf in an old box, and
its Freecom parport CD-ROM works fine in 2.4.current.

alias parport_serial off
alias parport_lowlevel off
above parport parport_pc
options parport_pc io=0x378 irq=7
above paride frpw
alias block-major-46 pcd