Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
* bttv modules
@ 2000-06-13  4:00 Reinhard Vock
  2000-06-13  4:00 ` Robert M. Riches Jr.
  0 siblings, 1 reply; 5+ messages in thread
From: Reinhard Vock @ 2000-06-13  4:00 UTC (permalink / raw)


HI

I upgraded my RH 6.1 kernel to v 2.2.15 just now, everything looks ok,
just the ol� Prob:
bttv.o: unresolved symbols

Could anyone let me know how one does determine what depmod is looking
for when it says things like that?

Thank you
Reinhard







^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: bttv modules
  2000-06-13  4:00 bttv modules Reinhard Vock
@ 2000-06-13  4:00 ` Robert M. Riches Jr.
  2000-06-14  4:00   ` Reinhard Vock
  0 siblings, 1 reply; 5+ messages in thread
From: Robert M. Riches Jr. @ 2000-06-13  4:00 UTC (permalink / raw)


On Tue, 13 Jun 2000 15:07:44 +0200, Reinhard Vock
    <reinhard.vock@lottery.co.at> wrote:
>HI
>
>I upgraded my RH 6.1 kernel to v 2.2.15 just now, everything looks ok,
>just the ol� Prob:
>bttv.o: unresolved symbols
>
>Could anyone let me know how one does determine what depmod is looking
>for when it says things like that?

Have you tried manually running modprobe and/or insmod?  When I
have tried these commands, they have informed me which symbols
were the problems.

Have you updated the modules with the 2.2.15 versions?  I'm using
kernel 2.2.13 and patched kernel source file kernel/ksyms.c to
export symbol init_mm, if I remember correctly.  I had to rebuild
both the kernel and the modules to get beyond the unresolved
symbol problem.

Good luck.

Robert Riches
richesr1@inetarena.com





^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: bttv modules
  2000-06-13  4:00 ` Robert M. Riches Jr.
@ 2000-06-14  4:00   ` Reinhard Vock
  2000-06-14  4:00     ` Robert M. Riches Jr.
  0 siblings, 1 reply; 5+ messages in thread
From: Reinhard Vock @ 2000-06-14  4:00 UTC (permalink / raw)


Hi!

after grepping through the output of <<nm bttv.o>> I found that the missing
sym is
init_mm.

The question now is how to tell the respective kernel part to activate this
sym..

Working on it, Rgds

Reinhard



"Robert M. Riches Jr." wrote:

> On Tue, 13 Jun 2000 15:07:44 +0200, Reinhard Vock
>     <reinhard.vock@lottery.co.at> wrote:
> >HI
> >
> >I upgraded my RH 6.1 kernel to v 2.2.15 just now, everything looks ok,
> >just the ol� Prob:
> >bttv.o: unresolved symbols
> >
> >Could anyone let me know how one does determine what depmod is looking
> >for when it says things like that?
>
> Have you tried manually running modprobe and/or insmod?  When I
> have tried these commands, they have informed me which symbols
> were the problems.
>
> Have you updated the modules with the 2.2.15 versions?  I'm using
> kernel 2.2.13 and patched kernel source file kernel/ksyms.c to
> export symbol init_mm, if I remember correctly.  I had to rebuild
> both the kernel and the modules to get beyond the unresolved
> symbol problem.
>
> Good luck.
>
> Robert Riches
> richesr1@inetarena.com




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: bttv modules
  2000-06-14  4:00   ` Reinhard Vock
@ 2000-06-14  4:00     ` Robert M. Riches Jr.
  2000-06-16  4:00       ` Reinhard Vock
  0 siblings, 1 reply; 5+ messages in thread
From: Robert M. Riches Jr. @ 2000-06-14  4:00 UTC (permalink / raw)


On Wed, 14 Jun 2000 10:28:03 +0200, Reinhard Vock
    <reinhard.vock@lottery.co.at> wrote:
>Hi!
>
>after grepping through the output of <<nm bttv.o>> I found that the missing
>sym is
>init_mm.
>
>The question now is how to tell the respective kernel part to activate this
>sym..

I reported this to the kernel maintainer mailing list, and Alan
Cox says this is fixed in 2.2.15.  For kernel 2.2.13, the
solution is to apply the context diff below to kernel/ksyms.c,
then recompile the kernel (make boot), boot from that kernel,
then rebuild and install the modules (make modules ; make modules
install).

*** usr-src-linux-kernel-ksyms.c	2000/05/26 23:17:34	1.2
--- usr-src-linux-kernel-ksyms.c	2000/05/26 23:18:35	1.3
***************
*** 416,418 ****
--- 416,421 ----
  
  /* init task, for moving kthread roots - ought to export a function ?? */
  EXPORT_SYMBOL(init_task_union);
+ 
+ /* Added by Rob Riches, 5/26/00.  Module bttv needs init_mm */
+ EXPORT_SYMBOL(init_mm);

Good luck,

Robert Riches
richesr1@inetarena.com





^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: bttv modules
  2000-06-14  4:00     ` Robert M. Riches Jr.
@ 2000-06-16  4:00       ` Reinhard Vock
  0 siblings, 0 replies; 5+ messages in thread
From: Reinhard Vock @ 2000-06-16  4:00 UTC (permalink / raw)


Ho Robert!

The crazy thing is that I just did it on 2.2.15...

nonetheless I will give it a shot at your solution.

Regards
Reinhard



"Robert M. Riches Jr." wrote:

> On Wed, 14 Jun 2000 10:28:03 +0200, Reinhard Vock
>     <reinhard.vock@lottery.co.at> wrote:
> >Hi!
> >
> >after grepping through the output of <<nm bttv.o>> I found that the missing
> >sym is
> >init_mm.
> >
> >The question now is how to tell the respective kernel part to activate this
> >sym..
>
> I reported this to the kernel maintainer mailing list, and Alan
> Cox says this is fixed in 2.2.15.  For kernel 2.2.13, the
> solution is to apply the context diff below to kernel/ksyms.c,
> then recompile the kernel (make boot), boot from that kernel,
> then rebuild and install the modules (make modules ; make modules
> install).
>
> *** usr-src-linux-kernel-ksyms.c        2000/05/26 23:17:34     1.2
> --- usr-src-linux-kernel-ksyms.c        2000/05/26 23:18:35     1.3
> ***************
> *** 416,418 ****
> --- 416,421 ----
>
>   /* init task, for moving kthread roots - ought to export a function ?? */
>   EXPORT_SYMBOL(init_task_union);
> +
> + /* Added by Rob Riches, 5/26/00.  Module bttv needs init_mm */
> + EXPORT_SYMBOL(init_mm);
>
> Good luck,
>
> Robert Riches
> richesr1@inetarena.com




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2000-06-16  4:00 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-06-13  4:00 bttv modules Reinhard Vock
2000-06-13  4:00 ` Robert M. Riches Jr.
2000-06-14  4:00   ` Reinhard Vock
2000-06-14  4:00     ` Robert M. Riches Jr.
2000-06-16  4:00       ` Reinhard Vock

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox