Thread: [cbm4linux-users] module loading problem
Brought to you by:
cbm4linux
From: Mikko <mik...@ra...> - 2003-01-13 00:10:49
|
Hi!=20 Could someone help me with my problem, please! When I try to load cbm module with insmod i get "init_module: Device or=20 resource busy"? Seems like port is reserved??? I have Mandrake Linux 9.0 and XM1541 cable. I tried file transfers in DOS= with=20 Star Commander and I had no trouble transfering my disks to images. But I= =20 wouldn't like to boot to DOS just do some file transfers. Thanks for any help!!! Mikko. ps. I've attached here some console outputs: [root@client-a155 cbm4linux-0.3.1]# /sbin/modprobe parport [root@client-a155 cbm4linux-0.3.1]# /sbin/insmod cbm lp=3D0 Using /lib/modules/2.4.19-16mdk/misc/cbm.o /lib/modules/2.4.19-16mdk/misc/cbm.o: init_module: Device or resource bus= y Hint: insmod errors can be caused by incorrect module parameters, includi= ng=20 invalid IO or IRQ parameters. You may find more information in syslog or the output from dmesg cat var/log/messages: =2E.. Jan 13 00:05:12 client-a155 kernel: cbm_init: could not register with par= allel=20 port dmesg: =2E.. parport0: PC-style at 0x378, irq 7 [PCSPP,TRISTATE,EPP] lp0: using parport0 (interrupt-driven). =2E.. Jan 13 00:03:09 client-a155 kernel: parport0: PC-style at 0x378, irq 7=20 [PCSPP,TRISTATE,EPP] =2E.. parport0: cannot grant exclusive access for device cbm cbm_init: could not register with parallel port [root@client-a155 mk]# cat /proc/sys/dev/parport/parport0/devices/active=20 none /etc/modules.conf: probeall scsi_hostadapter ide-scsi probeall usb-interface usb-uhci alias eth0 8139too alias sound-slot-0 via82cxxx_audio alias /dev/nvidia* NVdriver #alias char-major-40 pt_drv #cbm4linux alias parport_lowlevel parport_pc options parport_pc io=3D0x378 irq=3D7 #skanneri #pre-install pt_drv modprobe -k parport #options pt_drv lampoff=3D180 warmup=3D15 port=3D0x378 lOffonEnd=3D0 mov=3D= 0 slowIO=3D1 [root@client-a155 cbm4linux-0.3.1]# lsmod=20 Module Size Used by Tainted: P =20 sr_mod 15096 0 (autoclean) (unused) floppy 49340 0 (autoclean) agpgart 31840 3 (autoclean) NVdriver 1065920 10 (autoclean) lp 6720 0 parport_pc 21672 1 parport 23936 1 [lp parport_pc] via82cxxx_audio 19036 0 uart401 6628 0 [via82cxxx_audio] ac97_codec 9928 0 [via82cxxx_audio] sound 55732 0 [via82cxxx_audio uart401] soundcore 3780 0 [via82cxxx_audio sound] af_packet 13000 1 (autoclean) 8139too 14472 1 (autoclean) mii 1152 0 (autoclean) [8139too] nls_iso8859-15 3356 2 (autoclean) nls_cp850 3580 2 (autoclean) vfat 9588 2 (autoclean) fat 31864 0 (autoclean) [vfat] supermount 14340 3 (autoclean) ide-cd 28712 0 cdrom 26848 0 [sr_mod ide-cd] ide-scsi 8212 0 scsi_mod 90372 2 [sr_mod ide-scsi] mod_quickcam 37968 0 videodev 5792 1 [mod_quickcam] usb-uhci 21676 0 (unused) usbcore 58304 1 [mod_quickcam usb-uhci] rtc 6560 0 (autoclean) ext3 74004 3 jbd 38452 3 [ext3] |
From: Kees J. <ke...@dd...> - 2003-01-13 06:41:56
|
On Monday 13 January 2003 01:07 am, Mikko Kein=E4nen wrote: > Hi! > Using /lib/modules/2.4.19-16mdk/misc/cbm.o > /lib/modules/2.4.19-16mdk/misc/cbm.o: init_module: Device or resource b= usy > Hint: insmod errors can be caused by incorrect module parameters, inclu= ding > invalid IO or IRQ parameters. > You may find more information in syslog or the output from dmesg Hi, for me to make it work i need to specify the io port and interrupt at the= =20 command line (or in modules.conf) options parport_pc io=3D0x378 irq=3D7 after that I do a=20 modprobe parport_pc modprobe cbm maybe you need to do the same also I my bios I have set my parport to use the irq en no ecp. I hope this helps. |
From: Marc 'B. R. <ma...@ri...> - 2003-01-13 09:51:15
|
On Monday January 13 2003 01:07, Mikko Kein=E4nen wrote: > Could someone help me with my problem, please! > When I try to load cbm module with insmod i get "init_module: Device or > resource busy"? Seems like port is reserved??? Most likely another module is using the port already. > [root@client-a155 cbm4linux-0.3.1]# lsmod > [...] > lp 6720 0 > parport_pc 21672 1 > parport 23936 1 [lp parport_pc] And it seems it's 'lp' (the "line printer" driver). Try 'rmmod lp' bevor=20 loading the cbm module. Ciao, =09Marc 'BlackJack' Rintsch |
From: Mikko <mik...@ra...> - 2003-01-13 14:04:40
|
Viestiss=E4 Monday 13 January 2003 11:51, Marc 'BlackJack' Rintsch kirjoi= tti: > On Monday January 13 2003 01:07, Mikko Kein=E4nen wrote: > > Could someone help me with my problem, please! > > When I try to load cbm module with insmod i get "init_module: Device = or > > resource busy"? Seems like port is reserved??? > > Most likely another module is using the port already. > > > [root@client-a155 cbm4linux-0.3.1]# lsmod > > [...] > > lp 6720 0 > > parport_pc 21672 1 > > parport 23936 1 [lp parport_pc] > > And it seems it's 'lp' (the "line printer" driver). Try 'rmmod lp' bevo= r > loading the cbm module. > > Ciao, > =09Marc 'BlackJack' Rintsch Thanks a lot. It (cbm module) loaded right away after I removed lp module= =2E=20 Seems like I have other problems ... but I have no time to test right now= =2E Thanks a lot both of you who helped me out with this thing!!! Mikko. |