Re: Some problems with 2.1.x........

Jesse Thilo (Jesse.Thilo@pobox.com)
Sun, 19 Jan 1997 13:45:34 -0500 (EST)


--ELM853699534-27425-0_
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

> I can't get any kernel past 2.1.17 to compile.
> the make config gets stuck at a Sound Blaster address and never stops.

This problem could be caused by your version of expr. Try the
enclosed patch.

> on bootup, I get route forgot to specify route netmask.

IIRC, this is a warning message, not an error, correct? In any case,
your startup scripts should contain a call to /sbin/route:

/sbin/route add -net w.x.y.z

So just add your netmask:

/sbin/route add -net w.x.y.z netmask a.b.c.d

If you don't know what your netmask is, you could try running ifconfig
to deduce it.

--ELM853699534-27425-0_
Content-Type: text/plain; charset=ISO-8859-1
Content-Disposition: attachment; filename=pat
Content-Description: Configure/Menuconfig patch
Content-Transfer-Encoding: 7bit

--- linux/scripts/Configure.orig Fri May 31 06:46:27 1996
+++ linux/scripts/Configure Tue Jan 14 17:19:29 1997
@@ -288,7 +288,7 @@
def=${old:-$3}
while :; do
readln "$1 ($2) [$def] " "$def" "$old"
- if expr "$ans" : '0$\|-?[1-9][0-9]*$' > /dev/null; then
+ if expr "$ans" : '0$\|-\?[1-9][0-9]*$' > /dev/null; then
define_int "$2" "$ans"
break
else
@@ -319,7 +319,7 @@
while :; do
readln "$1 ($2) [$def] " "$def" "$old"
ans=${ans#*[x,X]}
- if expr "$ans" : '[0-9a-fA-F]+$' > /dev/null; then
+ if expr "$ans" : '[0-9a-fA-F]\+$' > /dev/null; then
define_hex "$2" "$ans"
break
else
--- linux/scripts/Menuconfig.orig Tue Oct 29 23:19:18 1996
+++ linux/scripts/Menuconfig Tue Jan 14 17:20:30 1997
@@ -400,7 +400,7 @@
answer="`cat MCdialog.out`"
answer="${answer:-$3}"

- if expr $answer : '0$\|-?[1-9][0-9]*$' >/dev/null
+ if expr $answer : '0$\|-\?[1-9][0-9]*$' >/dev/null
then
eval $2="$answer"
else
@@ -433,7 +433,7 @@
answer="${answer:-$3}"
answer="${answer##*[x,X]}"

- if expr $answer : '[0-9a-fA-F]+$' >/dev/null
+ if expr $answer : '[0-9a-fA-F]\+$' >/dev/null
then
eval $2="$answer"
else

--ELM853699534-27425-0_--