Bug#218632: srm_env module required by partitioner on Alpha
Steve Langasek <firstname.lastname@example.org> writes:
> On Sun, Nov 02, 2003 at 01:54:02PM +0100, Goswin von Brederlow wrote:
> > Thorsten Sauter <email@example.com> writes:
> > > | alpha.sh from partitioner relies on the srm_env module. Please add it
> > > | to some core modules udeb.
> > > no idea about alpha machines, but what about the comment line in
> > > alpa.sh?
> > > > # Load srm_env.o if we can; this should fail on ARC-based systems.
> > > > (modprobe srm_env || true) 2> /dev/null
> > Thats why the possibly failure to load the module is hidden. All non
> > srm based systems should fail to load this and the script shouldn't
> > stop.
> > This part should actually be moved into arch-detect I think.
> Is it needed for anything else?
You mean srm_env? Yes, it's used to get the system language setting by
> Can partitioner depend on arch-detect being run first? Can you
> depend on the user not having manually unloaded the module from the
> second console after arch-detect runs ;P, or will arch-detect be
> able to pass this information to partitioner in some other way?
I have no clue. It would be sensible if this information would be
generally available somewhere. We could also detect it by grepping for
"system serial number.*MILO" in /proc/cpuinfo, though.