* Re: Unresolved symbols in /lib/modules/2.4.28-pre2/xfree-drm/via_drv.o
2005-03-16 15:21 ` Martin MOKREJŠ
@ 2005-03-16 11:53 ` Marcelo Tosatti
2005-03-17 21:21 ` Martin MOKREJŠ
0 siblings, 1 reply; 5+ messages in thread
From: Marcelo Tosatti @ 2005-03-16 11:53 UTC (permalink / raw)
To: Martin MOKREJ??; +Cc: Arjan van de Ven, LKML
On Wed, Mar 16, 2005 at 04:21:12PM +0100, Martin MOKREJ? wrote:
> Arjan van de Ven wrote:
> >On Wed, 2005-03-16 at 16:03 +0100, Martin MOKREJ?? wrote:
> >
> >>Hi,
> >> does anyone still use 2.4 series kernel? ;)
>
> >># make dep; make bzImage; make modules
> >>[cut]
> >># make modules_install
> >>[cut]
> >>cd /lib/modules/2.4.30-pre3-bk2; \
> >>mkdir -p pcmcia; \
> >>find kernel -path '*/pcmcia/*' -name '*.o' | xargs -i -r ln -sf ../{}
> >>pcmcia
> >>if [ -r System.map ]; then /sbin/depmod -ae -F System.map
> >>2.4.30-pre3-bk2; fi
> >>depmod: *** Unresolved symbols in
> >>/lib/modules/2.4.28-pre2/xfree-drm/via_drv.o
> >
> >
> >this is not the module shipped by the kernel.org kernel...
>
> Right. Sorry that I didn't say it more clearly, but I'm installing
> 2.4.30-pre3-bk2 kernel.
> cd /usr/src/linux-2.4.30-pre3-bk2
> make dep
> make bzImage
> make modules
> make modules_install
>
> and then I hit the error about some totally unrelated kernel version in
> /lib/modules? :(
Martin,
Can you find out why is depmod trying to open /lib/modules/2.4.28-pre2/ ?
I've got no clue.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Unresolved symbols in /lib/modules/2.4.28-pre2/xfree-drm/via_drv.o
@ 2005-03-16 15:03 Martin MOKREJŠ
2005-03-16 15:16 ` Arjan van de Ven
0 siblings, 1 reply; 5+ messages in thread
From: Martin MOKREJŠ @ 2005-03-16 15:03 UTC (permalink / raw)
To: LKML
[-- Attachment #1: Type: text/plain, Size: 629 bytes --]
Hi,
does anyone still use 2.4 series kernel? ;)
# make dep; make bzImage; make modules
[cut]
# make modules_install
[cut]
cd /lib/modules/2.4.30-pre3-bk2; \
mkdir -p pcmcia; \
find kernel -path '*/pcmcia/*' -name '*.o' | xargs -i -r ln -sf ../{} pcmcia
if [ -r System.map ]; then /sbin/depmod -ae -F System.map 2.4.30-pre3-bk2; fi
depmod: *** Unresolved symbols in /lib/modules/2.4.28-pre2/xfree-drm/via_drv.o
depmod: via_fb_init
depmod: via_mem_free
depmod: viadrv_driver_register_fns
depmod: via_agp_init
depmod: via_mem_alloc
#
.config attached
Please cc: me in replies. ;)
Martin
[-- Attachment #2: .config.gz --]
[-- Type: application/x-tar, Size: 6265 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Unresolved symbols in /lib/modules/2.4.28-pre2/xfree-drm/via_drv.o
2005-03-16 15:03 Unresolved symbols in /lib/modules/2.4.28-pre2/xfree-drm/via_drv.o Martin MOKREJŠ
@ 2005-03-16 15:16 ` Arjan van de Ven
2005-03-16 15:21 ` Martin MOKREJŠ
0 siblings, 1 reply; 5+ messages in thread
From: Arjan van de Ven @ 2005-03-16 15:16 UTC (permalink / raw)
To: Martin MOKREJŠ; +Cc: LKML
On Wed, 2005-03-16 at 16:03 +0100, Martin MOKREJŠ wrote:
> Hi,
> does anyone still use 2.4 series kernel? ;)
> # make dep; make bzImage; make modules
> [cut]
> # make modules_install
> [cut]
> cd /lib/modules/2.4.30-pre3-bk2; \
> mkdir -p pcmcia; \
> find kernel -path '*/pcmcia/*' -name '*.o' | xargs -i -r ln -sf ../{} pcmcia
> if [ -r System.map ]; then /sbin/depmod -ae -F System.map 2.4.30-pre3-bk2; fi
> depmod: *** Unresolved symbols in /lib/modules/2.4.28-pre2/xfree-drm/via_drv.o
this is not the module shipped by the kernel.org kernel...
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Unresolved symbols in /lib/modules/2.4.28-pre2/xfree-drm/via_drv.o
2005-03-16 15:16 ` Arjan van de Ven
@ 2005-03-16 15:21 ` Martin MOKREJŠ
2005-03-16 11:53 ` Marcelo Tosatti
0 siblings, 1 reply; 5+ messages in thread
From: Martin MOKREJŠ @ 2005-03-16 15:21 UTC (permalink / raw)
To: Arjan van de Ven; +Cc: LKML
Arjan van de Ven wrote:
> On Wed, 2005-03-16 at 16:03 +0100, Martin MOKREJŠ wrote:
>
>>Hi,
>> does anyone still use 2.4 series kernel? ;)
>># make dep; make bzImage; make modules
>>[cut]
>># make modules_install
>>[cut]
>>cd /lib/modules/2.4.30-pre3-bk2; \
>>mkdir -p pcmcia; \
>>find kernel -path '*/pcmcia/*' -name '*.o' | xargs -i -r ln -sf ../{} pcmcia
>>if [ -r System.map ]; then /sbin/depmod -ae -F System.map 2.4.30-pre3-bk2; fi
>>depmod: *** Unresolved symbols in /lib/modules/2.4.28-pre2/xfree-drm/via_drv.o
>
>
> this is not the module shipped by the kernel.org kernel...
Right. Sorry that I didn't say it more clearly, but I'm installing 2.4.30-pre3-bk2 kernel.
cd /usr/src/linux-2.4.30-pre3-bk2
make dep
make bzImage
make modules
make modules_install
and then I hit the error about some totally unrelated kernel version in /lib/modules? :(
Martin
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Unresolved symbols in /lib/modules/2.4.28-pre2/xfree-drm/via_drv.o
2005-03-16 11:53 ` Marcelo Tosatti
@ 2005-03-17 21:21 ` Martin MOKREJŠ
0 siblings, 0 replies; 5+ messages in thread
From: Martin MOKREJŠ @ 2005-03-17 21:21 UTC (permalink / raw)
To: Marcelo Tosatti; +Cc: Arjan van de Ven, LKML
Marcelo Tosatti wrote:
> On Wed, Mar 16, 2005 at 04:21:12PM +0100, Martin MOKREJ? wrote:
>
>>Arjan van de Ven wrote:
>>
>>>On Wed, 2005-03-16 at 16:03 +0100, Martin MOKREJ?? wrote:
>>>
>>>
>>>>Hi,
>>>>does anyone still use 2.4 series kernel? ;)
>>
>>>># make dep; make bzImage; make modules
>>>>[cut]
>>>># make modules_install
>>>>[cut]
>>>>cd /lib/modules/2.4.30-pre3-bk2; \
>>>>mkdir -p pcmcia; \
>>>>find kernel -path '*/pcmcia/*' -name '*.o' | xargs -i -r ln -sf ../{}
>>>>pcmcia
>>>>if [ -r System.map ]; then /sbin/depmod -ae -F System.map
>>>>2.4.30-pre3-bk2; fi
>>>>depmod: *** Unresolved symbols in
>>>>/lib/modules/2.4.28-pre2/xfree-drm/via_drv.o
>>>
>>>
>>>this is not the module shipped by the kernel.org kernel...
>>
>>Right. Sorry that I didn't say it more clearly, but I'm installing
>>2.4.30-pre3-bk2 kernel.
>>cd /usr/src/linux-2.4.30-pre3-bk2
>>make dep
>>make bzImage
>>make modules
>>make modules_install
>>
>>and then I hit the error about some totally unrelated kernel version in
>>/lib/modules? :(
>
>
> Martin,
>
> Can you find out why is depmod trying to open /lib/modules/2.4.28-pre2/ ?
>
> I've got no clue.
Hi all,
unfortunately I was too fast deleting the problematic /lib/modules/2.4.28-pre2
directory. Here's the log of what I've done at about the time I hit the problem:
427 cd /usr/src
428 ls
429 uname -a
430 bzip2 -dc linux-2.4.29.tar.bz2 | tar xf -
431 cd linux-2.4.29
432 bzip2 -dc ~mmokrejs/tmp/patch-2.4.30-pre3.bz2 | patch -p1
433 bzip2 -dc ~mmokrejs/tmp/patch-2.4.30-pre3-bk2.bz2 | patch -p1
434 cp ../linux-2.4.30-pre1-bk5/.config .
435 cd ..
436 mv linux-2.4.29 linux-2.4.30-pre3-bk2
437 pwd
438 cd linux-2.4.30-pre3-bk2
439 make oldconfig
440 make dep; make bzIMage; make modules
441 make modules_install
442 make modules_install
443 ls
444 make bzImage
445 make modules
446 make modules_install
447 make bzImage
448 make modules
449 make modules_install
450 gzip .config
451 gzip -d .config.
452 gzip -d .config.gz
453 cp .config .config-ok
454 make menuconfig
455 make dep; make bzImage; make modules
456 make modules_install
457 make menuconfig
458 make dep; make bzImage; make modules
459 make modules_install
460 make menuconfig
461 make dep; make bzImage; make modules
462 make modules_install
463 make menuconfig
464 make dep; make bzImage; make modules
465 make modules_install
466 rm -rf /lib/modules/2.4.28-pre2
467 make modules_install
The step 466 "fixed" my problem. I have repeated all the steps as show in the history log,
but no luck to hit the problem again. I just guess the /lib/modules/2.4.28-pre2/xfree-drm/via_drv.o
file came from gentoo's xfree-drm package as at that time /usr/src/linux pointed to that kernel version.
The System.map (/usr/src/linux-2.4.28-pre2/System.map) maybe wasn't updated, as I think the modules
just get compiled against configured kernel src tree.
I did in the /usr/src/linux-2.4.30-pre3-bk2 tree (while rm -rf /lib/modules/2.4.28-pre2 already happened):
strace make modules_install 2>&1 | grep '2.4.28'
and go nothing interresting.
Also,
find . -type f | xargs grep 2.4.28
doesn't show anything of interrest.
# depmod --version
module-init-tools 3.1
--
Martin Mokrejs
Email: 'bW9rcmVqc21Acmlib3NvbWUubmF0dXIuY3VuaS5jeg==\n'.decode('base64')
GPG key is at http://www.natur.cuni.cz/~mmokrejs
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2005-03-18 11:00 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-16 15:03 Unresolved symbols in /lib/modules/2.4.28-pre2/xfree-drm/via_drv.o Martin MOKREJŠ
2005-03-16 15:16 ` Arjan van de Ven
2005-03-16 15:21 ` Martin MOKREJŠ
2005-03-16 11:53 ` Marcelo Tosatti
2005-03-17 21:21 ` Martin MOKREJŠ
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox