Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Matthew X. Economou <econommx@rose-hulman.edu>
Subject: Re: Thanks, and a couple more questions
Date: 10 Mar 1997 18:16:45 -0500	[thread overview]
Message-ID: <257ca3f3cb3a555a39cbdd0cb8662178.axp-list@archive.invalid> (raw)

>>>>> "MJ" == Michal Jaegermann <michal@ellpspace.math.ualberta.ca> writes:

    MJ> It is true that modules on Alpha require a bit of an extra
    MJ> fuss and that some kerneld tool are not provided in a
    MJ> "regular" distribution (and I never tried to make kerneld work
    MJ> myself and I am not sure what is its current status on Alpha)
    MJ> but this is far cry from "do not work".

Er...um...I retrieved modutils-2.1.23.tar.gz from FUNET a bit ago and
compiled it against an unmodified 2.1.23 kernel (just changed the
ARCH= line in the top-level Makefile to "alpha" and did a 'make
symlinks').  kerneld, depmod, modprobe, genksyms, et al, work just
fine with the modular 2.0.29 kernel I've been running since Saturday.

I ran into a few hangups with the 2.0.29 kernel itself (four modules,
	- fs/binfmt_aout.ou (start_thread)
	- fs/isofs.o (strncat)
	- fs/nfs.o (__kernel_thread)
	- net/slhc.o (ip_fast_csum)
complained about unresolved symbols [symbols in parenthesis]), and the
following patch to kernel/ksyms.c did the trick.  I haven't had time
to catch up my reading on linux-kernel to see if this is an actual
bug, so my problem may be a fubar on my part.

--- linux/kernel/ksyms.c.mxe	Sun Mar  9 17:47:06 1997
+++ linux/kernel/ksyms.c	Sat Mar  8 14:44:27 1997
@@ -47,6 +47,11 @@
 #include <linux/swap.h>
 #include <linux/ctype.h>
 
+/* temporary fixups??? */
+#include <asm/processor.h>
+#include <asm/checksum.h>
+extern long __kernel_thread(unsigned long, int (*)(void *), void *);
+
 extern unsigned char aux_device_present, kbd_read_mask;
 
 #ifdef CONFIG_PCI
@@ -357,6 +362,12 @@
 	/* binfmt_aout */
 	X(get_write_access),
 	X(put_write_access),
+
+	/* temporary fixups??? */
+	X(start_thread),
+	X(ip_fast_csum),
+	X(strncat),
+	X(__kernel_thread),
 
 	/********************************************************
 	 * Do not add anything below this line,

I'll catch up on linux-kernel tonight and report the bug (and fix)
tomorrow, if need be.

HTH!

-- 
Matthew X. Economou - Finger/WWW for public key. - Geek of Computer Science(!)
econommx@rose-hulman.edu - http://www.rose-hulman.edu/~econommx - Random quote:
"Please stop that, or I shall have to hurt you." --Pinky and the Brain

--
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

             reply	other threads:[~1997-03-10 23:16 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-03-10 23:16 Matthew X. Economou [this message]
  -- strict thread matches above, loose matches on Subject: below --
1997-03-06 17:40 Thanks, and a couple more questions Brian E.W. Wood
1997-03-06  9:11 Stephen Williams
1997-03-06  5:34 Peter Mardahl
1997-03-06 17:09 ` Michal Jaegermann
1997-03-06  5:01 Edwin Koshimoto
read-only archive

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