LKM for Linux/alpha

Derek Atkins (warlord@MIT.EDU)
09 May 1997 15:21:29 -0400


Hi,

I'm trying to port Linux-AFS to Linux/Alpha. I don't follow
this list, so please respond personally. I've finally got AFS
compiling, but I can't seem to insmod it into the kernel like
I can on other Linux platforms. When I try to use /sbin/insmod
I get:

> [root@rcc5 dkload]# /sbin/insmod -f libafs.o
> /sbin/insmod: module is 617240 bytes long (expected 605514)
> /sbin/insmod: forgot to specify -dc when linking libafs.o?

However, I _did_ compile the library using -dc:

> ld -r -dc -o libafs.o `cat Lib_order`

I find this weird, when the size of the module is different than
both of these values:

> [root@rcc5 dkload]# ls -l libafs.o
> total 1056
> -rw-r--r-- 1 warlord mit 1071991 May 9 14:45 libafs.o

Is there some special Linux/alpha magic that I need to know to get
LKM support to work? Why is Linux/alpha any different than other
Linux platforms? I'd appreciate any useful help on this matter!

Thanks in advance!

-derek

-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/      PP-ASEL      N1NWH
       warlord@MIT.EDU                        PGP key available