* Re: Modules in 2.0.29
[not found] <Pine.LNX.3.95.970219121930.2930A-100000@balintrc.gardens.udayton.edu>
@ 1997-02-19 18:24 ` Andreas Johansson
1997-02-20 7:14 ` Wintermute
1 sibling, 0 replies; 9+ messages in thread
From: Andreas Johansson @ 1997-02-19 18:24 UTC (permalink / raw)
On Wed, 19 Feb 1997, Woodstock wrote:
> On Wed, 19 Feb 1997, Daniel Gruner wrote:
>
> > > !root:/lib/modules/2.0.29/net# insmod dummy.o
> > > insmod: module is 21450 bytes long (expected 12009)
> > > insmod: forgot to specify -dc when linking dummy.o?
> > > Anyone have a clue as to what I'm doing wrong? Thanks.
> > You must strip the modules. It is about time somebody made that part of
> > the official Makefile.
>
> stripping them with --strip-debug gives the same error (as was recommended
> earlier in the list)
> just a plain: strip sound.o gives me this error:
>
> !root:/usr/src/linux/drivers/sound# insmod sound.o
> sound.o: File in wrong format
>
> ARRRGHHH!
When I had this problem I was using strip -x (meaning --discard-all) when
compiling modules. I don't know if this will help, but you can atleast
try it.
With kernel >= 2.1.18 the module system has changed and this is not a
problem anymore. However, binutils and the module tools need to be
updated.
--
<-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=->
: E-mail: ajo@wopr.campus.luth.se :
: S-mail: Andreas Johansson, Karhusvagen 5 6:618, 977 54 Lulea, SWEDEN :
: Have you had your dose of 261.62 BogoMIPS today? - Run Alpha! :
<-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=->
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 9+ messages in thread* Re: Modules in 2.0.29
[not found] <Pine.LNX.3.95.970219121930.2930A-100000@balintrc.gardens.udayton.edu>
1997-02-19 18:24 ` Modules in 2.0.29 Andreas Johansson
@ 1997-02-20 7:14 ` Wintermute
1 sibling, 0 replies; 9+ messages in thread
From: Wintermute @ 1997-02-20 7:14 UTC (permalink / raw)
On Wed, 19 Feb 1997, Woodstock wrote:
> On Wed, 19 Feb 1997, Daniel Gruner wrote:
>
> > > !root:/lib/modules/2.0.29/net# insmod dummy.o
> > > insmod: module is 21450 bytes long (expected 12009)
> > > insmod: forgot to specify -dc when linking dummy.o?
> > > Anyone have a clue as to what I'm doing wrong? Thanks.
> > You must strip the modules. It is about time somebody made that part of
I got all of my modules (under 2.0.29) to work by using 'strip -x' except
for sound.o. It strips it but then tells me that the new stripped module
is also the wrong size. Do I need to strip out some other symbols?
Sorry, I'm not very familiar with dynamic libraries and such.
One other thing. Does anyone know what other modules isofs depends on?
It won't load because it can't find some symbols. Since there is no
modprobe with bfd-modutils (is one in the works?) I can't tell.
Thanks
-Brendan
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Modules in 2.0.29
@ 1997-02-20 21:59 Art Werschulz
0 siblings, 0 replies; 9+ messages in thread
From: Art Werschulz @ 1997-02-20 21:59 UTC (permalink / raw)
Hi.
> > ------------------------------------------------------------------
> > ____________________________
> > /
> > / | ----- ----- |
> > / | / | | |
> > \ / | / |----\ |----|
> > \ / | | | | |
> > \/ | | \----/ |
> >
> >--
>
> So, which question is this supposed to answer ??
It's the answer to Life, the Universe, and Everything.
--
Art Werschulz (8-{)} "Metaphors be with you." -- bumper sticker
GCS/M (GAT): d? -p+ c++ l u+(-) e--- m* s n+ h f g+ w+ t++ r- y?
Internet: agw@dsm.fordham.edu <a href="http://dsm.fordham.edu/~agw/">WWW</a>
ATTnet: Fordham U. (212) 636-6325, Columbia U. (212) 939-7061
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 9+ messages in thread* Re: Modules in 2.0.29
@ 1997-02-20 21:48 geerten kuiper
0 siblings, 0 replies; 9+ messages in thread
From: geerten kuiper @ 1997-02-20 21:48 UTC (permalink / raw)
>
>woody@beer.com http://131.238.95.31/woody - Woody
>balint@udayton.edu SysAdmin of WoodyNet!
> ------------------------------------------------------------------
> ____________________________
> /
> / | ----- ----- |
> / | / | | |
> \ / | / |----\ |----|
> \ / | | | | |
> \/ | | \----/ |
>
>--
So, which question is this supposed to answer ??
Geerten.
Geerten Kuiper | "It is customary to append a signature or
Corn. Houtmanstraat 113 | .sig to a mail message, usually containing
2593 RG Den Haag | information on the author, along with a
Nederland | joke or a motto."
| Olaf Kirch
| LINUX Network Administrators Guide
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 9+ messages in thread[parent not found: <Pine.LNX.3.95.970220020430.10003A-100000@chrome.wintermute.org>]
* Re: Modules in 2.0.29
[not found] <Pine.LNX.3.95.970220020430.10003A-100000@chrome.wintermute.org>
@ 1997-02-20 12:35 ` Woodstock
0 siblings, 0 replies; 9+ messages in thread
From: Woodstock @ 1997-02-20 12:35 UTC (permalink / raw)
Hey! It's da 'Mute!!!!!!! ;)
On Thu, 20 Feb 1997, Wintermute wrote:
> > > > !root:/lib/modules/2.0.29/net# insmod dummy.o
> > > > insmod: module is 21450 bytes long (expected 12009)
> > > > insmod: forgot to specify -dc when linking dummy.o?
> > > > Anyone have a clue as to what I'm doing wrong? Thanks.
> > > You must strip the modules. It is about time somebody made that part of
>
> I got all of my modules (under 2.0.29) to work by using 'strip -x' except
> for sound.o. It strips it but then tells me that the new stripped module
> is also the wrong size. Do I need to strip out some other symbols?
> Sorry, I'm not very familiar with dynamic libraries and such.
Yawlp... I _just_ figgered this one out, too. seems ye gotta hack the
Makefile in the sound directory. look for the "ld" line and add the "-dc"
like it asks ye to. Here's my line:
sound.o: local.h $(FIXEDOBJS) sound.a
-rm -f sound.o
$(LD) -dc -r -o sound.o $(FIXEDOBJS) sound.a
Hope that works! Now if I can only get rid of that whine on my UDB, I'd
be set!!!!
woody@beer.com http://131.238.95.31/woody - Woody
balint@udayton.edu SysAdmin of WoodyNet!
------------------------------------------------------------------
____________________________
/
/ | ----- ----- |
/ | / | | |
\ / | / |----\ |----|
\ / | | | | |
\/ | | \----/ |
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 9+ messages in thread
[parent not found: <Pine.LNX.3.95L01at.970219192137.7190A-100000@wopr.campus.luth.se>]
* Re: Modules in 2.0.29
[not found] <Pine.LNX.3.95L01at.970219192137.7190A-100000@wopr.campus.luth.se>
@ 1997-02-19 20:04 ` Woodstock
0 siblings, 0 replies; 9+ messages in thread
From: Woodstock @ 1997-02-19 20:04 UTC (permalink / raw)
On Wed, 19 Feb 1997, Andreas Johansson wrote:
> > !root:/usr/src/linux/drivers/sound# insmod sound.o
> > sound.o: File in wrong format
> >
> When I had this problem I was using strip -x (meaning --discard-all) when
> compiling modules. I don't know if this will help, but you can atleast
> try it.
Thanks! strip -x worked wonders!!!!
woody@beer.com http://131.238.95.31/woody - Woody
balint@udayton.edu SysAdmin of WoodyNet!
------------------------------------------------------------------
Pictures at an exhibition - Played as he stood in his trance
Staring at his inhibitions
All the time believing that it now came down to nothing but this Chance...
Father can you hear me?
This is not how it was meant to be... - Savatage "Chance"
"The wisdom of a fool won't set you free." - New Order
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Modules in 2.0.29
@ 1997-02-19 17:20 Woodstock
0 siblings, 0 replies; 9+ messages in thread
From: Woodstock @ 1997-02-19 17:20 UTC (permalink / raw)
On Wed, 19 Feb 1997, Daniel Gruner wrote:
> > !root:/lib/modules/2.0.29/net# insmod dummy.o
> > insmod: module is 21450 bytes long (expected 12009)
> > insmod: forgot to specify -dc when linking dummy.o?
> > Anyone have a clue as to what I'm doing wrong? Thanks.
> You must strip the modules. It is about time somebody made that part of
> the official Makefile.
stripping them with --strip-debug gives the same error (as was recommended
earlier in the list)
just a plain: strip sound.o gives me this error:
!root:/usr/src/linux/drivers/sound# insmod sound.o
sound.o: File in wrong format
ARRRGHHH!
woody@beer.com http://131.238.95.31/woody - Woody
balint@udayton.edu SysAdmin of WoodyNet!
------------------------------------------------------------------
"The wisdom of a fool won't set you free." - New Order
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 9+ messages in thread[parent not found: <Pine.LNX.3.95.970219091922.2362A-100000@balintrc.gardens.udayton.edu>]
* Re: Modules in 2.0.29
[not found] <Pine.LNX.3.95.970219091922.2362A-100000@balintrc.gardens.udayton.edu>
@ 1997-02-19 15:21 ` Daniel Gruner
0 siblings, 0 replies; 9+ messages in thread
From: Daniel Gruner @ 1997-02-19 15:21 UTC (permalink / raw)
>
> Ok... I finally got 2.0.29 to work... now I'm having trouble inserting
> modules. I have modules 2.0.0. Here are the errors I get:
>
> !root:/lib/modules/2.0.29/net# insmod dummy.o
> insmod: module is 21450 bytes long (expected 12009)
> insmod: forgot to specify -dc when linking dummy.o?
>
> Anyone have a clue as to what I'm doing wrong? Thanks.
You must strip the modules. It is about time somebody made that part of
the official Makefile.
Daniel
--
Dr. Daniel Gruner dgruner@tikva.chem.utoronto.ca
Dept. of Chemistry phone: (416)-978-8689
University of Toronto fax: (416)-978-5325
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 9+ messages in thread
* Modules in 2.0.29
@ 1997-02-19 14:20 Woodstock
0 siblings, 0 replies; 9+ messages in thread
From: Woodstock @ 1997-02-19 14:20 UTC (permalink / raw)
Ok... I finally got 2.0.29 to work... now I'm having trouble inserting
modules. I have modules 2.0.0. Here are the errors I get:
!root:/lib/modules/2.0.29/net# insmod dummy.o
insmod: module is 21450 bytes long (expected 12009)
insmod: forgot to specify -dc when linking dummy.o?
Anyone have a clue as to what I'm doing wrong? Thanks.
woody@beer.com http://131.238.95.31/woody - Woody
balint@udayton.edu SysAdmin of WoodyNet!
------------------------------------------------------------------
"The wisdom of a fool won't set you free." - New Order
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~1997-02-20 21:59 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <Pine.LNX.3.95.970219121930.2930A-100000@balintrc.gardens.udayton.edu>
1997-02-19 18:24 ` Modules in 2.0.29 Andreas Johansson
1997-02-20 7:14 ` Wintermute
1997-02-20 21:59 Art Werschulz
-- strict thread matches above, loose matches on Subject: below --
1997-02-20 21:48 geerten kuiper
[not found] <Pine.LNX.3.95.970220020430.10003A-100000@chrome.wintermute.org>
1997-02-20 12:35 ` Woodstock
[not found] <Pine.LNX.3.95L01at.970219192137.7190A-100000@wopr.campus.luth.se>
1997-02-19 20:04 ` Woodstock
1997-02-19 17:20 Woodstock
[not found] <Pine.LNX.3.95.970219091922.2362A-100000@balintrc.gardens.udayton.edu>
1997-02-19 15:21 ` Daniel Gruner
1997-02-19 14:20 Woodstock
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox