V/AT inode bug fix

T. William Wells bill at twwells.com
Fri Dec 8 07:59:54 AEST 1989


The following article is based on information provided by Bob
Thrush, rd at aii.com or uunet!tarpit!rd. The uuencoded alloc.o came
from him. Should you have problems with this, you can send e-mail
to him or me (bill at twwells.com).

--

There is a bug in the System V kernel that can result in your
system apparently running out of inodes, even though you have
plenty of them. Running fsck after this bug bites returns your
inodes to you, though the bug will likely strike again. This bug
most frequently strikes when you are processing news batches.

--

Here's what you do in order to fix the bug for some versions of
Microport V/AT. It is rumored that this will work for versions
from 1.3.8 to 2.4.

First, cd to /usr/linkkit.

If there happens to be a file alloc.o, save it somewhere. (This
shouldn't happen, and if it does, you should know why there is an
alloc.o there.)

Issue the command "ar xv lib1 alloc.o"

This should result in a creating a file alloc.o of 5248 bytes.

Next, enter "what alloc.o". This should output:

	alloc.c Microport Rev Id 1.3.8  10/22/86

If either the file size is wrong, or the version stamp differs,
you lose. This fix does not apply to you.

Next, run uudecode on this article. It will give you a new
alloc.o.

Then enter the command "ar rv lib1 alloc.o".

Finally, rebuild your kernel. The bug should never occur again.

begin 664 alloc.o
M4@$#`!J,+R3N$0``.```````A!`N=&5X=```````````````)`D``(P```"T
M"@```````+<````@````+F1A=&$````D"0``)`D```0!``"P"0``VA$`````
M```"````0````"YB<W,`````*`H``"@*``!<````````````````````````
M`(````#(#```_W8&FNH&8`!$1(E&^(E6^NL4:@J+1O@%F@'_=OI0F@````"#
MQ`;%=OCVA)H!_W7BQ7;X]T0&__]_`^GY`,5V^/],!HMT!L'F`@-V^(Y>^HM$
M"(M4"HE&_(E6_H/Z`'4)@W[\`'4#Z<T`_W8&_W;^_W;\_W;Z_W;XF at T#,`"#
MQ`J%P'6LQ7;X]T0&__]^`^F!`,5V^/Z$F@'_=O[_=OS_=@::`````(/$!HE&
M](E6]K@``([8]@95!/]U+\5V],5T%HL$Q7;XB40&:,@`BT;X!0@`_W;Z4,5V
M]/]T&(M$%D!`4)H`````@\0*_W;V_W;TF@````"#Q`3%=OC&A)H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L5V^(-\!C)_"L5V^(.\T`!D
M?B+_=@9HH`!H%PJ:`````(/$!L5V^,=$!@``Q7;XQX30````BT;XBU;ZR<N#
M1OP0N```CMBA$@"+%A0`.U;^<@=WASM&_'>":*``:"$*F@````"#Q`0SP#/2
MZ\[(#```N*``CMCV!C@*_W0#Z8,!_ at 8X"L<&0`H`8,=&^```QT;Z``#IP@#%
M=OB#/`%T`^FS`,5V^,5T"(M4&(M$%HE&](E6]L5V]/:$G`'_=0/IE`#%=O3V
MA)L!_W0#Z8<`Q7;T]H2:`?]U?<5V]/:$G0'_=7/%=O3&A)P!`+@``([8H0``
MBQ8"`,5V](F$G@&)E*`!Q7;XBT0"F;N@`([;HTP*B19."K@``([8Q at 95!`#'
M!G`$``+'!G($``#'!FX$``*+1O2C:@2+1O:C;`3&!E0$`<<&=`02`&B@`&@H
M"IH`````@\0$@T;X$+@``([8H1(`BQ84`#M6^G(-=@/I*/\[1OAV`^D at _\=&
M_```QT;^``#K5<5V_/9$$`%U2,5V_/=$$O__=#[%=OSV1!!&=#7%=OR`3!`!
MQ7;\_T02:```:```:```:```_W;^_W;\F@````"#Q`S_=O[_=OR:`````(/$
M!(-&_%RX``".V*$&`(L6"``[5OYR!W>8.T;\=Y-J_YH`````1$2XH`".V,8&
M.`H`R<LH"9``0"@C*6%L;&]C+F,)36EC<F]P;W)T(%)E=B!)9"`Q+C,N."`@
M,3`O,C(O.#8 at +2!R9'1H<G5S:"!F:7@@,R\R."\X.0!"860 at 9G)E92!C;W5N
M=`!N;R!S<&%C90!B860 at 8FQO8VL`5&AE('9A;FES:&EN9R!I;F]D92!P<F]B
M;&5M('=O=6QD(&AA=F4@;V-C=7)R960@;VX@;6%J*"5D*2QM:6XH)60I"@!4
M:&5R92!A8W1U86QL>2!W97)E("5D(&EN;V1E<R!A=F%I;&%B;&4L('1R>6EN
M9R!A9V%I;@H`3W5T(&]F(&EN;V1E<P!B860 at 8V]U;G0`;F\@9G,```@````0
M`````0`*````#`````D`(P```!@````!`"4````8````"0`_````$`````(`
M:P```!`````"`'T````0`````0!_````!@````D`DP```!`````"`*8````9
M`````0"H````&0````D`M````!H````)`+H````:`````0#G````&P````$`
MZ0```!L````)`/4````<`````0#W````'`````D`#P$``!T````!`!$!```=
M````"0`M`0``'@````D`,`$``!(````!`#,!```?`````0`U`0``'P````D`
M4@$``"`````)`%@!```@`````0!=`0``(0````$`7P$``"$````)`&<!```B
M````"0!J`0``$@````$`;0$``!\````!`&\!```?````"0!U`0``&@````D`
M>P$``!H````!`(X!```C`````0"0`0``(P````D`H@$``"0````!`*0!```D
M````"0#A`0``$`````$`XP$```P````)``0"```8`````0`&`@``&`````D`
M)0(``!`````!`"<"```&````"0`Q`@``$`````(`;`(``",````!`&X"```C
M````"0"A`@``&P````$`HP(``!L````)`+<"```E`````0"Y`@``)0````D`
MT0(``!T````!`-,"```=````"0`\`P``)@````D`/P,``!(````!`$(#```?
M`````0!$`P``'P````D`6@,``!`````!`%P#```,````"0!G`P``$`````(`
M=@,``!@````!`'@#```8````"0!^`P``$`````(`C`,``!`````"`*T#```0
M`````@"V`P``)P````$`N`,``"<````)`,\#```0`````@#U`P``&@````D`
M^@,``!H````!``,$```:````"0`(!```&@````$`(P0``!`````"`"8$```H
M````"0`I!```*`````$`+`0``"@````)`"\$```H`````0`X!```*0````$`
M. at 0``"D````)`$8$```J`````0!(!```*@````D`3 at 0``!`````"`'T$```0
M`````@")!```&0````$`BP0``!D````)`)<$```:````"0"=!```&@````$`
MJ00``!P````!`*L$```<````"0`1!0``'`````$`$P4``!P````)`#H%```0
M`````@!"!0``$`````(`5P4``!T````!`%D%```=````"0"_!0``*P````D`
MP at 4``!(````!`,4%```L`````0#'!0``+`````D`U`4``"T````)`-<%```2
M`````0#:!0``+`````$`W`4``"P````)`/4%```0`````@#X!0``$`````(`
M_ at 4``"X````)``$&```2`````0`$!@``'P````$`!@8``!\````)``P&```:
M````"0`2!@``&@````$`7 at 8``"@````)`&$&```H`````0!D!@``*`````D`
M9P8``"@````!`'`&```I`````0!R!@``*0````D`AP8``!`````!`(D&```,
M````"0#Q!@``+P````$`]@8``"\````)`#8'```P````"0`Y!P``$@````$`
M/`<``!\````!`#X'```?````"0!A!P``,0````D`9@<``#$````!`&H'```Q
M`````0!Y!P``,@````D`?`<``!(````!`'\'```S`````0"!!P``,P````D`
MD0<``#0````)`)<'```4`````0"=!P``$`````(`H0<``!0````!`*4'```4
M`````0"L!P``+P````$`L0<``"\````)`+0'```0`````@"_!P``$`````(`
MW@<``!`````"`.L'```0`````@`*"```*`````D`#P@``"@````!`!,(```H
M`````0`H"```-`````D`+0@``!0````!`#$(```4`````0`T"```&@````D`
M.@@``!H````!`#\(```:`````0!%"```&@````$`2P@``!H````!`%,(```:
M`````0!9"```&@````$`70@``!H````!`&((```:`````0!G"```-`````D`
M:@@``!0````!`&T(```U`````0!O"```-0````D`>0@``#$````)`'X(```Q
M`````0"""```,0````$`C`@``!`````"`)0(```0`````@"9"```-@````$`
MG@@``#8````)`,P(```H````"0#/"```*`````$`T@@``"@````)`-4(```H
M`````0#>"```*0````$`X`@``"D````)`.P(```J`````0#N"```*@````D`
M^`@``#$````)`/T(```Q`````0`!"0``,0````$`$@D``#<````!`!0)```W
M````"0`9"0``-`````D`'PD``!0````!`"0)```2`````0`F"0``%P````D`
M+F9I;&4`````````_O\``&<!86QL;V,N8P``````````````86QL;V,`````
M`````0!H``(!`````-D!````````!```````9G)E90````#9`0```0`D``(!
M`````#0!````````!@``````8F%D8FQO8VL-`P```0`D``(!`````$4`````
M````"```````:6%L;&]C``!2`P```0!H``(!`````"T#````````"@``````
M:69R964```!_!@```0`D``(!`````&L`````````#```````9V5T9G,```#J
M!@```0!H``(!`````*(`````````#@``````=7!D871E``",!P```0`D``(!
M`````)@!````````$```````+G1E>'0``````````0````,!)`D``+<`!P``
M````````````+F1A=&$````D"0```@````,!!`$```(`````````````````
M+F)S<P`````H"@```P````,!7```````````````````````=7!O<G1I9``D
M"0```@````,`+C$R```````H"0```@````,`<VQE97````````````````(`
M8G)E860```````````````(`=0````````````````````(`8F-O<'D`````
M``````````(`8G)E;'-E``````````````(`=V%K975P``````````````(`
M+C0S``````!L"0```@````,`<')D978```````````````(`:'H`````````
M``````````(`9&5L87D```````````````(`+C0V``````!["0```@````,`
M9V5T8FQK``````````````(`8VQR8G5F``````````````(`8G=R:71E````
M``````````(`+C4Y``````"$"0```@````,`:6=E=`````````````````(`
M=&EM90````````````````(`:75P9&%T``````````````(`:7!U=```````
M``````````(`+C at V``````"."0```@````,`<')I;G1F``````````````(`
M+C at W``````#2"0```@````,`+C at X```````)"@```@````,`;6]U;G0`````
M``````````(`+C$P-@`````7"@```@````,`=@````````````````````(`
M+C$P.``````A"@```@````,`<&%N:6,```````````````(`:6YO9&5X```H
M"@```P````,`=W)I=&5I``````````````(`:6YO9&4```````````````(`
28F9L=7-H``````````````(`
`
end

---
Bill                    { uunet | novavax | ankh | sunvice } !twwells!bill
bill at twwells.com



More information about the Comp.unix.microport mailing list