Subject:
Re: Unresolved Symbols
From:
John Carroll ####@####.####
Date:
4 Jan 2001 17:35:53 -0000
Message-Id: <Pine.LNX.4.21.0101041202450.1150-100000@groveton.com>
On Wed, 3 Jan 2001, G. Jaeger wrote:
> On Mon, 1 Jan 2001 15:30:42 -0500 (EST), John Carroll wrote:
>
> >
> >A couple of months ago I compiled sane and pt_drv under RH linux 6.2 for
> >the OpticPro 9636T and never got it working, though the scanner
> >works fine under Win95. There are apparently lots of problems with the
> >way I've set things up. Maybe somebody seeing these error messages can point
> >me in the right direction.
> >
> >First, on bootup I get error messages telling me about "unresolved
> >symbols" in /lib/modules/2.2.14-5.0/pt_drv.o and in
> >/lib/modules/misc/pt_drv.o.
> >
> >When I try "make load" I get the following:
> >
> >/lib/modules/2.2.14-5.0/misc/pt_drv.o init_module: Device or resource busy
> >
> >/lib modules/2.2.14-5.0/misc/pt_drv.o
> >insmod: /lib/modules/2.2.14-5.0/misc/pt_drv.o: insmod
> >/lib/modules/misc/pt_drv.o failed
> >make: *** [load] Error 1
> >
> >Apparently because I have an old BIOS, I also get a message that
> >/etc/conf.modules is more recent than /lib/modules/2.2.14-5.0/modules.dep
> >However, when I do "touch" modules.dep, that gets rid of that error
> >message.
> >
> >Any suggestions much appreciated.
> >
> >John Carroll
> >
> Hi John,
>
> well first of all it doesn't matter if you have a old BIOS or not.
> Each time you change the /etc/conf.modules file, you have to call
> depmod
> then everything is fine.
> Next thing: unresolved symbols
> Can you tell us which symbols are missing?
> Can you also please tell us which SANE-version and which driver-version
> you're using?
>
> Gerhard
Hi Gerhard,
Thanks for your help. For what it's worth, the SANE-version is 1.0.3 and
the driver version is 0.36-36 . I still get the message about "unresolved
symbols" and I have no idea how to determine which symbols are
missing.
Now the EMBARRASSING part. The message:
"Device or resource busy" went away when I noticed the scanner was
unplugged and plugged it in. After that I was able to load the module and
use "scanimage" to scan a photo. However, at this point it scans only the
area where transparencies are placed to be scanned. So far Gimp hasn't
been able to find the scanner, so I guess when I get that sorted out, I'll
be able to adjust the image area, etc. Since the "unresolved
modules" messages persist, I've appended the messages I get in
/var/log/messages that appear related to the scanner. Maybe they'll throw
some light on the "unresolved symbols question." Meanwhile, the scanner
seems to work after a fashion whatever the symbols problem may be. Thanks
for your help, and especially for the driver.
John
-------Modules material from /var/log/messages--------
4 10:45:21 groveton depmod: depmod:
Jan 4 10:45:22 groveton depmod: *** Unresolved symbols in
/lib/modules/2.2.14-5.0/misc/pt_drv.o
Jan 4 10:45:22 groveton depmod: depmod:
Jan 4 10:45:22 groveton depmod: *** Unresolved symbols in
/lib/modules/misc/pt_drv.o
**********************************************************
Jan 4 10:53:04 groveton modprobe: Note: /etc/conf.modules is
more recent than /lib/modules/2.2.14-5.0/modules.dep
Jan 4 10:53:29 groveton insmod: Note: /etc/conf.modules is more
recent than /lib/modules/2.2.14-5.0/modules.dep
Jan 4 10:53:29 groveton kernel: PPP Deflate Compression module
registered
Jan 4 10:53:29 groveton insmod: Note: /etc/conf.modules is more
recent than /lib/modules/2.2.14-5.0/modules.dep
Jan 4 10:56:27 groveton kernel: parport0: PC-style at 0x378
(0x778) [SPP,ECP,ECPEPP,ECPPS2]
Jan 4 10:56:27 groveton kernel: parport1: PC-style at 0x278
[SPP]
Jan 4 10:56:28 groveton kernel: pt_drv : driver version =
0.36-36
Jan 4 10:56:28 groveton kernel: parport0: PC-style at 0x378
(0x778) [SPP,ECP,ECPEPP,ECPPS2]
Jan 4 10:56:28 groveton kernel: parport1: PC-style at 0x278
[SPP]
Jan 4 10:56:28 groveton kernel: pt_drv : driver version =
0.36-36
Jan 4 10:57:09 groveton kernel: parport0: PC-style at 0x378
(0x778) [SPP,ECP,ECPEPP,ECPPS2]
Jan 4 10:57:09 groveton kernel: parport1: PC-style at 0x278
[SPP]
Jan 4 10:57:10 groveton kernel: pt_drv : driver version =
0.36-36
Jan 4 10:57:10 groveton kernel: parport0: PC-style at 0x378
(0x778) [SPP,ECP,ECPEPP,ECPPS2]
Jan 4 10:57:10 groveton kernel: parport1: PC-style at 0x278
[SPP]
Jan 4 10:57:10 groveton kernel: pt_drv : driver version =
0.36-36
***************************************************
Jan 4 10:57:57 groveton kernel: parport0: PC-style at 0x378
(0x778) [SPP,ECP,ECPEPP,ECPPS2]
Jan 4 10:57:57 groveton kernel: parport1: PC-style at 0x278
[SPP]
Jan 4 10:57:57 groveton kernel: pt_drv : driver version =
0.36-36
Jan 4 10:57:57 groveton kernel: parport0: PC-style at 0x378
(0x778) [SPP,ECP,ECPEPP,ECPPS2]
Jan 4 10:57:57 groveton kernel: parport1: PC-style at 0x278
[SPP]
Jan 4 10:57:58 groveton kernel: pt_drv : driver version =
0.36-36
Jan 4 10:58:57 groveton PAM_pwdb[751]: (login) session opened
for user jjc by LOGIN(uid=0)
Jan 4 10:59:18 groveton modprobe: modprobe: Can't locate module
char-major-81
Jan 4 10:59:19 groveton modprobe: modprobe: Can't locate module
char-major-81
Jan 4 10:59:20 groveton modprobe: modprobe: Can't locate module
char-major-40
Jan 4 10:59:52 groveton kernel: parport0: PC-style at 0x378
(0x778) [SPP,ECP,ECPEPP,ECPPS2]
Jan 4 10:59:52 groveton kernel: parport1: PC-style at 0x278
[SPP]
Jan 4 10:59:52 groveton kernel: pt_drv : driver version =
0.36-36
Jan 4 10:59:52 groveton kernel: pt_drv0: 9636T/12000T found on
port 0x0378
Jan 4 10:59:52 groveton kernel: pt_drv0: Lamp-Timer set to 180
seconds.
Jan 4 10:59:52 groveton kernel: pt_drv0: WarmUp period set to 30
seconds.
Jan 4 10:59:52 groveton kernel: pt_drv0: Lamp untouched on
driver unload.
Jan 4 11:00:08 groveton modprobe: modprobe: Can't locate module
char-major-81
Jan 4 11:01:03 groveton last message repeated 2 times
Jan 4 11:02:05 groveton last message repeated 4 times