Dave,

what does dmesg say.. it normally has more info on what exactly is wrong
with the module..

#> modprobe ppp_generic FATAL: Error inserting ppp_generic (/lib/modules/2.6.5-1.358smp/kernel/drivers/net/ppp_generic.ko): Invalid module format

  #> dmesg | tail -1
  ppp_generic: version magic '2.6.5-1.358smp SMP 586 REGPARM 4KSTACKS gcc-3.3'
  should be '2.6.5-1.358smp SMP 686 REGPARM 4KSTACKS gcc-3.3'

Hmmm, so we've got a disagreement about what sort of Pentium we are, the module is for a 585 but the hardware's definitely a 686.

  #> uname -r -v -m -p
  2.6.5-1.358smp #1 SMP Sat May 8 09:25:36 EDT 2004 i686 i686

Here's what rpm reports about the kernel and relevant modules....

  #> rpm -q -i -l kernel-smp |
  egrep '(Name|Version|Release|Summary|vmlinuz-2|ppp_generic.ko)'
  Name        : kernel-smp       Relocations: (not relocatable)
  Version     : 2.6.5                 Vendor: Red Hat, Inc.
  Release     : 1.358             Build Date: Sat 08 May 2004 23:48:48 EST
  Summary     : The Linux kernel compiled for SMP machines.
  /boot/vmlinuz-2.6.5-1.358smp
  /lib/modules/2.6.5-1.358smp/kernel/drivers/net/ppp_generic.ko

Huh!? So now I'm confused. The package says kernel-smp, so am I right in thinking that this smp kernel will work on any x86 multi-processor hardware, but the ppp_generic module is hard-wired to be only for a 586? So this module will only load on a i586, seems hard to believe such a fundamental issue could be in the kernel packages this late in the game,

Where do I go from here?

Thanks

Pete

P.S

I'll put my money on different compiler :-)

Bzzzzaat! :-) Well couldn't resist. But thanks for the dmesg tip, I think I've reached the stage where I'm forgetting things about Linux faster than I'm learning about all the new stuff. Dkms, wonerful stuff :-) but a whole new learning exercise. :-(






--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to