Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Now back to tulip.c
@ 1999-01-12 23:05 Ron Farrer
  1999-01-12 23:10 ` mlarocque
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Ron Farrer @ 1999-01-12 23:05 UTC (permalink / raw)
  To: axp-list


Well using pkzip on a Win95 machine and spanning the 2.0.35 patched kernel
source from gatekeeper to 5 disks. Copying each disk to /tmp/temp3 as
lk1.zip, lk2.zip and so on. Doing 'cat lk1.zip lk2.zip lk3.zip lk4.zip
lk5.zip > lk.zip' then 'zip -F lk.zip' and lastly 'unzip lk.zip' I was
able to copy the kernel source to my noname.

I then compiled the kernel as normal and booted it. No more kernel panics,
errors or getting stuck at VFS: mounting root FS etc.

Now I can finally get back to the network card. Well I followed the
instructions at the end of tulip.c file and then did 'insmod tulip.o' and
the dirty little bugger tells me:
"
tulip.o: Kernel-module version mismatch
	tulip.o was compiled for kernel version 2.0.34
	while this kernel is version 2.0.35.
"

Can anyone tell how to correct this?

TIA,

Ron Farrer


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

* Re: Now back to tulip.c
  1999-01-12 23:05 Now back to tulip.c Ron Farrer
@ 1999-01-12 23:10 ` mlarocque
  1999-01-12 23:18   ` Ron Farrer
  1999-01-12 23:12 ` B. James Phillippe
  1999-01-13 17:24 ` Now back to tulip.c --follow-up Ron Farrer
  2 siblings, 1 reply; 7+ messages in thread
From: mlarocque @ 1999-01-12 23:10 UTC (permalink / raw)
  To: axp-list

On Tue, 12 Jan 1999, Ron Farrer wrote:

> 
> Well using pkzip on a Win95 machine and spanning the 2.0.35 patched kernel
> source from gatekeeper to 5 disks. Copying each disk to /tmp/temp3 as
> lk1.zip, lk2.zip and so on. Doing 'cat lk1.zip lk2.zip lk3.zip lk4.zip
> lk5.zip > lk.zip' then 'zip -F lk.zip' and lastly 'unzip lk.zip' I was
> able to copy the kernel source to my noname.
> 
> I then compiled the kernel as normal and booted it. No more kernel panics,
> errors or getting stuck at VFS: mounting root FS etc.
> 
> Now I can finally get back to the network card. Well I followed the
> instructions at the end of tulip.c file and then did 'insmod tulip.o' and
> the dirty little bugger tells me:
> "
> tulip.o: Kernel-module version mismatch
> 	tulip.o was compiled for kernel version 2.0.34
> 	while this kernel is version 2.0.35.
> "
> 
> Can anyone tell how to correct this?

Sounds like you forgot to:

   make modules;make modules_install

when you rebuilt the source.



Carpe viam,
Mike

<*> Michael Larocque - mlarocque@home.com <*>
      http://members.home.net/mlarocque
An idle CPU is a terrible thing to waste - www.distributed.net


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

* Re: Now back to tulip.c
  1999-01-12 23:05 Now back to tulip.c Ron Farrer
  1999-01-12 23:10 ` mlarocque
@ 1999-01-12 23:12 ` B. James Phillippe
  1999-01-13 17:24 ` Now back to tulip.c --follow-up Ron Farrer
  2 siblings, 0 replies; 7+ messages in thread
From: B. James Phillippe @ 1999-01-12 23:12 UTC (permalink / raw)
  To: axp-list

On Tue, 12 Jan 1999, Ron Farrer wrote:

> Now I can finally get back to the network card. Well I followed the
> instructions at the end of tulip.c file and then did 'insmod tulip.o' and
> the dirty little bugger tells me:
> "
> tulip.o: Kernel-module version mismatch
> 	tulip.o was compiled for kernel version 2.0.34
> 	while this kernel is version 2.0.35.
> "
> 
> Can anyone tell how to correct this?

Make sure your kernel build process includes this:

make modules modules_install

That should fix your problem.  For future reference, insmod takes an "-f"
argument to force loading even when version symbols mis-match.  Quite
useful for testing.

Good luck,
-bp
--
B. James Phillippe	. bryan@terran.org
Linux Engineer/Admin	. http://www.terran.org/~bryan
Member since 1.1.59	. finger:bryan@earth.terran.org


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

* Re: Now back to tulip.c
  1999-01-12 23:10 ` mlarocque
@ 1999-01-12 23:18   ` Ron Farrer
  1999-01-13  0:37     ` mlarocque
  0 siblings, 1 reply; 7+ messages in thread
From: Ron Farrer @ 1999-01-12 23:18 UTC (permalink / raw)
  To: axp-list


On Tue, 12 Jan 1999 mlarocque@home.com wrote:

> On Tue, 12 Jan 1999, Ron Farrer wrote:
> 
> > 
> > Well using pkzip on a Win95 machine and spanning the 2.0.35 patched kernel
> > source from gatekeeper to 5 disks. Copying each disk to /tmp/temp3 as
> > lk1.zip, lk2.zip and so on. Doing 'cat lk1.zip lk2.zip lk3.zip lk4.zip
> > lk5.zip > lk.zip' then 'zip -F lk.zip' and lastly 'unzip lk.zip' I was
> > able to copy the kernel source to my noname.
> > 
> > I then compiled the kernel as normal and booted it. No more kernel panics,
> > errors or getting stuck at VFS: mounting root FS etc.
> > 
> > Now I can finally get back to the network card. Well I followed the
> > instructions at the end of tulip.c file and then did 'insmod tulip.o' and
> > the dirty little bugger tells me:
> > "
> > tulip.o: Kernel-module version mismatch
> > 	tulip.o was compiled for kernel version 2.0.34
> > 	while this kernel is version 2.0.35.
> > "
> > 
> > Can anyone tell how to correct this?
> 
> Sounds like you forgot to:
> 
>    make modules;make modules_install
> 
> when you rebuilt the source.

The 2.0.35 kernel source?? I did 'make config' (obviously), 'make dep ;
make clean', 'make boot', 'make modules', and 'make modules_install'. Is
this what your referring to?

Ron

> 
> 
> 
> Carpe viam,
> Mike
> 
> <*> Michael Larocque - mlarocque@home.com <*>
>       http://members.home.net/mlarocque
> An idle CPU is a terrible thing to waste - www.distributed.net
> 
> -- 
> 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] 7+ messages in thread

* Re: Now back to tulip.c
  1999-01-12 23:18   ` Ron Farrer
@ 1999-01-13  0:37     ` mlarocque
  1999-01-13  1:26       ` Ron Farrer
  0 siblings, 1 reply; 7+ messages in thread
From: mlarocque @ 1999-01-13  0:37 UTC (permalink / raw)
  To: axp-list

On Tue, 12 Jan 1999, Ron Farrer wrote:

> 
> On Tue, 12 Jan 1999 mlarocque@home.com wrote:

<snip> 

> > Sounds like you forgot to:
> > 
> >    make modules;make modules_install
> > 
> > when you rebuilt the source.
> 
> The 2.0.35 kernel source?? I did 'make config' (obviously), 'make dep ;
> make clean', 'make boot', 'make modules', and 'make modules_install'. Is
> this what your referring to?

Yup. Are you _sure_ that you did the 'make modules;make
modules_install' ? If so, you should have a /lib/modules/2.0.35
directory which contains a modules.dep and one or more directories
containing the .o module files.


Carpe viam,
Mike

<*> Michael Larocque - mlarocque@home.com <*>
      http://members.home.net/mlarocque
An idle CPU is a terrible thing to waste - www.distributed.net


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

* Re: Now back to tulip.c
  1999-01-13  0:37     ` mlarocque
@ 1999-01-13  1:26       ` Ron Farrer
  0 siblings, 0 replies; 7+ messages in thread
From: Ron Farrer @ 1999-01-13  1:26 UTC (permalink / raw)
  To: axp-list


On Tue, 12 Jan 1999 mlarocque@home.com wrote:

> On Tue, 12 Jan 1999, Ron Farrer wrote:
> 
> > 
> > On Tue, 12 Jan 1999 mlarocque@home.com wrote:
> 
> <snip> 
> 
> > > Sounds like you forgot to:
> > > 
> > >    make modules;make modules_install
> > > 
> > > when you rebuilt the source.
> > 
> > The 2.0.35 kernel source?? I did 'make config' (obviously), 'make dep ;
> > make clean', 'make boot', 'make modules', and 'make modules_install'. Is
> > this what your referring to?
> 
> Yup. Are you _sure_ that you did the 'make modules;make
> modules_install' ? If so, you should have a /lib/modules/2.0.35
> directory which contains a modules.dep and one or more directories
> containing the .o module files.

Yes, I am sure. Yep, it's there --> /lib/modules/2.0.35 - No modules.dep
though... But it does have several dirs in it (ipv4, misc and net). Each
dir has some .o files in it.

More ideas?

Ron
> 
> 
> Carpe viam,
> Mike
> 
> <*> Michael Larocque - mlarocque@home.com <*>
>       http://members.home.net/mlarocque
> An idle CPU is a terrible thing to waste - www.distributed.net
> 
> -- 
> 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] 7+ messages in thread

* Now back to tulip.c --follow-up
  1999-01-12 23:05 Now back to tulip.c Ron Farrer
  1999-01-12 23:10 ` mlarocque
  1999-01-12 23:12 ` B. James Phillippe
@ 1999-01-13 17:24 ` Ron Farrer
  2 siblings, 0 replies; 7+ messages in thread
From: Ron Farrer @ 1999-01-13 17:24 UTC (permalink / raw)
  To: axp-list


I've got it all working now, thanks to all who dropped me a line. From
several suggestions I made a non modulized kernel that works great!
Network card (Linksys EtherFast 10/100) seems to be working fine, too.

Thanks everybody!

Ron

On Tue, 12 Jan 1999, Ron Farrer wrote:

> 
> Well using pkzip on a Win95 machine and spanning the 2.0.35 patched kernel
> source from gatekeeper to 5 disks. Copying each disk to /tmp/temp3 as
> lk1.zip, lk2.zip and so on. Doing 'cat lk1.zip lk2.zip lk3.zip lk4.zip
> lk5.zip > lk.zip' then 'zip -F lk.zip' and lastly 'unzip lk.zip' I was
> able to copy the kernel source to my noname.
> 
> I then compiled the kernel as normal and booted it. No more kernel panics,
> errors or getting stuck at VFS: mounting root FS etc.
> 
> Now I can finally get back to the network card. Well I followed the
> instructions at the end of tulip.c file and then did 'insmod tulip.o' and
> the dirty little bugger tells me:
> "
> tulip.o: Kernel-module version mismatch
> 	tulip.o was compiled for kernel version 2.0.34
> 	while this kernel is version 2.0.35.
> "
> 
> Can anyone tell how to correct this?
> 
> TIA,
> 
> Ron Farrer
> 
> -- 
> 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] 7+ messages in thread

end of thread, other threads:[~1999-01-13 17:47 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-01-12 23:05 Now back to tulip.c Ron Farrer
1999-01-12 23:10 ` mlarocque
1999-01-12 23:18   ` Ron Farrer
1999-01-13  0:37     ` mlarocque
1999-01-13  1:26       ` Ron Farrer
1999-01-12 23:12 ` B. James Phillippe
1999-01-13 17:24 ` Now back to tulip.c --follow-up Ron Farrer

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