* Re: modules on RedHat 4.0 axp (was Re: Serial port trouble...)
@ 1997-01-08 4:04 Daniel Gruner
0 siblings, 0 replies; 3+ messages in thread
From: Daniel Gruner @ 1997-01-08 4:04 UTC (permalink / raw)
>
> Michal Jaegerman wrote:
> >
> > > I recall
> > > seeing a message saying that modules are not really supported on the
> > > alpha versions of linux, and that one must build monolithic kernels.
> >
> > This is not correct. But doing 'strip --strip-debug' on module
> > object files is a good idea. :-)
> >
> > --mj
>
> This actually works! The insmod command used to complain that it
> could not load the desired modules. Now it works properly. I will
> make this command part of the "install_modules" section of the kernel
> Makefile from now on. Would the guardians of the code please take
> note?
>
> Daniel
>
Here is the corrected section of the Makefile:
.
.
.
modules_install:
@( \
MODLIB=/lib/modules/$(VERSION).$(PATCHLEVEL).$(SUBLEVEL); \
cd modules; \
MODULES=""; \
inst_mod() { These="`cat $$1`"; MODULES="$$MODULES $$These"; \
mkdir -p $$MODLIB/$$2; cp -p $$These $$MODLIB/$$2; \
strip --strip-debug $$MODLIB/$$2/*; \
echo Installing modules under $$MODLIB/$$2; \
}; \
\
if [ -f BLOCK_MODULES ]; then inst_mod BLOCK_MODULES block; fi; \
if [ -f NET_MODULES ]; then inst_mod NET_MODULES net; fi; \
if [ -f IPV4_MODULES ]; then inst_mod IPV4_MODULES ipv4; fi; \
if [ -f SCSI_MODULES ]; then inst_mod SCSI_MODULES scsi; fi; \
if [ -f FS_MODULES ]; then inst_mod FS_MODULES fs; fi; \
if [ -f CDROM_MODULES ]; then inst_mod CDROM_MODULES cdrom; fi; \
\
ls *.o > .allmods; \
echo $$MODULES | tr ' ' '\n' | sort | comm -23 .allmods - > .misc; \
if [ -s .misc ]; then inst_mod .misc misc; fi; \
rm -f .misc .allmods; \
)
.
.
.
Or in diff format:
diff Makefile{,.alpha.orig}
285d284
< strip --strip-debug $$MODLIB/$$2/*; \
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] 3+ messages in thread* Re: modules on RedHat 4.0 axp (was Re: Serial port trouble...)
@ 1997-01-09 7:05 Richard Henderson
0 siblings, 0 replies; 3+ messages in thread
From: Richard Henderson @ 1997-01-09 7:05 UTC (permalink / raw)
> This actually works! The insmod command used to complain that it
> could not load the desired modules. Now it works properly. I will
> make this command part of the "install_modules" section of the kernel
> Makefile from now on. Would the guardians of the code please take
> note?
The guardians of the code rewrote module support for the Alpha.
I ran out of time for testing under 2.0.x before USENIX, but
ftp://ftp.redhat.com/pub/alphabits/modutils-970104.tar.gz
contains a snapshot of the work relative to 2.1.20. It must be
built on 2.1.20, due to the addition of a system call number,
but it _should_ run under 2.0.x.
If someone would like to test, that'd be wonderful, but otherwise
I'll look into it next week.
r~
--
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] 3+ messages in thread
* Re: Serial port trouble (was Re: Problems installing 4.0 on Alpha)
@ 1997-01-06 16:55 Michal Jaegermann
1997-01-08 3:55 ` modules on RedHat 4.0 axp (was Re: Serial port trouble...) Daniel Gruner
0 siblings, 1 reply; 3+ messages in thread
From: Michal Jaegermann @ 1997-01-06 16:55 UTC (permalink / raw)
> I recall
> seeing a message saying that modules are not really supported on the
> alpha versions of linux, and that one must build monolithic kernels.
This is not correct. But doing 'strip --strip-debug' on module
object files is a good idea. :-)
--mj
--
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] 3+ messages in thread
* modules on RedHat 4.0 axp (was Re: Serial port trouble...)
1997-01-06 16:55 Serial port trouble (was Re: Problems installing 4.0 on Alpha) Michal Jaegermann
@ 1997-01-08 3:55 ` Daniel Gruner
0 siblings, 0 replies; 3+ messages in thread
From: Daniel Gruner @ 1997-01-08 3:55 UTC (permalink / raw)
Michal Jaegerman wrote:
>
> > I recall
> > seeing a message saying that modules are not really supported on the
> > alpha versions of linux, and that one must build monolithic kernels.
>
> This is not correct. But doing 'strip --strip-debug' on module
> object files is a good idea. :-)
>
> --mj
This actually works! The insmod command used to complain that it
could not load the desired modules. Now it works properly. I will
make this command part of the "install_modules" section of the kernel
Makefile from now on. Would the guardians of the code please take
note?
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] 3+ messages in thread
end of thread, other threads:[~1997-01-09 7:05 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-01-08 4:04 modules on RedHat 4.0 axp (was Re: Serial port trouble...) Daniel Gruner
-- strict thread matches above, loose matches on Subject: below --
1997-01-09 7:05 Richard Henderson
1997-01-06 16:55 Serial port trouble (was Re: Problems installing 4.0 on Alpha) Michal Jaegermann
1997-01-08 3:55 ` modules on RedHat 4.0 axp (was Re: Serial port trouble...) Daniel Gruner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox