[PARPORT] /lib/modules/2.2.3/misc/parport_pc.o: init_module: Device or resource busy


Thomas Ruth (truth@ichaos.com)
Fri, 12 Mar 1999 16:41:10 -0700


Hi,

I am having great trouble getting the printer to work on my system. This
module loaded great earlier today and actually printed something. Then
it was autounloaded from the cron job that runs rmmod -a. Now, I get the
error in the Subject line every time it tries to load the module. I
don't know what or how it gets busy, but a reboot fixes the problem
normally. I don't want to have to reboot everytime I want to print
something new. Can you help me?

The parport_probe doesn't seem to find anything when this occurs, but it
does the first time around. The first time only, it spit these messages
out syslog:

Mar 12 13:24:39 Tiamat kernel: parport0: PC-style at 0x378 [SPP,PS2,EPP]

Mar 12 13:24:39 Tiamat kernel: parport0: no IEEE-1284 device present.
Mar 12 13:24:39 Tiamat kernel: lp0: using parport0 (polling).

Now it does this:

Mar 12 16:37:01 Tiamat kernel: lp: driver loaded but no devices found

The same appears in dmesg.

Thanks for any help you can provide,

Tom

----------------

Here are some files:

/etc/conf.modules:

alias eth0 3c59x

alias net-pf-17 af_packet

alias char-major-14 mad16
post-install sb /sbin/modprobe -k mad16
post-install mad16 /sbin/modprobe -k uart_401
post-install mad16 /sbin/modprobe -k adlib_card
post-install mad16 /sbin/modprobe -k opl3
options sb mad16=1
options mad16 irq=7 dma=0 dma16=1 io=0x530 mpu_io=0x330 mpu_irq=9
joystick=1 cdtype=0
options opl3 io=0x388
options sound dmabuf=1

alias parport_lowlevel parport_pc
options parport_pc io=0x378 irq=auto
-----------------------------------------------------------------------
/proc/interrupts:

           CPU0
  0: 13767047 XT-PIC timer
  1: 656 XT-PIC keyboard
  2: 0 XT-PIC cascade
  3: 9 XT-PIC serial
  4: 7254668 XT-PIC serial
  5: 4450191 XT-PIC busmouse
  8: 0 XT-PIC rtc
 10: 396308 XT-PIC aic7xxx
 13: 1 XT-PIC fpu
 15: 1841099 XT-PIC eth0
NMI: 0

---------------------------------------------------
/proc/ioports:

0000-001f : dma1
0020-003f : pic1
0040-005f : timer
0060-006f : keyboard
0070-007f : rtc
0080-008f : dma page reg
00a0-00bf : pic2
00c0-00df : dma2
00f0-00ff : fpu
023c-023f : busmouse
02f8-02ff : serial(auto)
03c0-03df : vga+
03f8-03ff : serial(set)
6000-601f : eth0
6100-61be : aic7xxx

-----------------------------------------------------------
/proc/dma:

 4: cascade

--------------------------------------------------------------
and output from lsmod after starting lpd:

parport_probe 2884 0 (autoclean) (unused)
lp 4988 0 (autoclean) (unused)
parport 7028 0 (autoclean) [parport_probe lp]
nfs 29976 1 (autoclean)
lockd 30856 1 (autoclean) [nfs]
sunrpc 52324 1 (autoclean) [nfs lockd]
af_packet 5836 2 (autoclean)
rarp 2608 1 (autoclean)
appletalk 17152 14 (autoclean)
busmouse 1688 1 (autoclean)
bsd_comp 3632 2 (autoclean)
ppp 18316 4 (autoclean) [bsd_comp]
slhc 4392 2 (autoclean) [ppp]
3c59x 18824 1 (autoclean)
serial 18356 2 (autoclean)

----------------------------------------------------

-- 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 2.0b3 on Fri 12 Mar 1999 - 18:42:44 EST