2.2.x on Alpha? Who wants to test this?
Subsystems (3)
Jan-Benedict Glaw
maintainerHi!
Are *you* currently using a 2.2.x kernel on a Alpha with SRM firmware? If so, I'd kindly like to ask you to test a backport of my srm_env.o (used to access SRM environment variables). If you give it a try, please report success, no success and ksymoopsed Oopses to me:-)
Here's the patch. It still has some warnings about not-used functions (init/exit function, #define'd here to init_module and cleanup_module), but seems I don't see the point... Could someone please enlighten me on this?
MfG, JBG
Documentation/Configure.help +21 -0
@@ -15138,6 +15138,27 @@ boards supported by this driver, and for further information on the use of this driver. +SRM environment access through procfs +CONFIG_SRM_ENV + If you enable this option, a subdirectory inside /proc called + /proc/srm_environment will give you access to the all important + SRM environment variables (those which have a name) and also + to all others (by their internal number). + + SRM is something like a BIOS for Alpha machines. There are some + other such BIOSes, like AlphaBIOS, which this driver cannot + support (hey, that's not SRM!). + + Despite the fact that this driver doesn't work on all Alphas (but + only on those which have SRM as their firmware), it's save to + build it even if your particular machine doesn't know about SRM + (or if you intend to compile a generic kernel). It will simply + not create those subdirectory in /proc (and give you some warning, + of course). + + This driver is also available as a module and will be called + srm_env.o then. + Compaq Smart Array support CONFIG_BLK_CPQ_CISS_DA This is the driver for Compaq Smart Array 5xxx controllers.
arch/alpha/config.in +4 -1
@@ -165,7 +165,7 @@ -o "$CONFIG_ALPHA_TAKARA" = "y" -o "$CONFIG_ALPHA_EB164" = "y" \ -o "$CONFIG_ALPHA_ALCOR" = "y" -o "$CONFIG_ALPHA_MIATA" = "y" \ -o "$CONFIG_ALPHA_LX164" = "y" -o "$CONFIG_ALPHA_SX164" = "y" \ - -o "$CONFIG_ALPHA_NAUTILUS" = "y" ] + -o "$CONFIG_ALPHA_NAUTILUS" = "y" -o "$CONFIG_ALPHA_NONAME" = "y" ] then bool 'Use SRM as bootloader' CONFIG_ALPHA_SRM # if [ "$CONFIG_EXPERIMENTAL" = "y" ]; then
@@ -209,6 +209,9 @@ tristate 'Kernel support for JAVA binaries (obsolete)' CONFIG_BINFMT_JAVA fi tristate 'Kernel support for Linux/Intel ELF binaries' CONFIG_BINFMT_EM86 +if [ "$CONFIG_ALPHA_SRM" = "y" ]; then + tristate 'SRM environment access through procfs' CONFIG_ALPHA_SRM_ENV +fi tristate 'Parallel port support' CONFIG_PARPORT if [ "$CONFIG_PARPORT" != "n" ]; then dep_tristate ' PC-style hardware' CONFIG_PARPORT_PC $CONFIG_PARPORT
arch/alpha/kernel/Makefile +3 -0
@@ -17,6 +17,9 @@ bios32.o ptrace.o time.o fpreg.o OX_OBJS := alpha_ksyms.o +ifdef CONFIG_ALPHA_SRM_ENV +M_OBJS := srm_env.o +endif ifdef CONFIG_ALPHA_GENERIC
arch/alpha/kernel/srm_env.c +384 -0
384 lines not on this page · raw message
Signature · 6 lines
- Eine Freie Meinung in einem Freien Kopf für - einen Freien Staat voll Freier Bürger Gegen Zensur im Internet Jan-Benedict Glaw . [email protected] . +49-172-7608481 -- New APT-Proxy written in shell script -- http://lug-owl.de/~jbglaw/software/ap2/
Quoted 6 lines · Jan-Benedict Glaw
Hi!
Are *you* currently using a 2.2.x kernel on a Alpha with SRM firmware? If so, I'd kindly like to ask you to test a backport of my srm_env.o (used to access SRM environment variables). If you give it a try, please report success, no success and ksymoopsed Oopses to me:-)
did you test it ? or this is theoreticaly patch ?
Krzysiek Taraszka ([email protected])