[Patch]:New patch for dhcp and nfsroot.

hugang (linuxbest@soul.com.cn)
Sat, 15 Sep 2001 13:23:59 +0800


This is a multi-part message in MIME format.

--Multipart_Sat__15_Sep_2001_13:23:59_+0800_08bd1670
Content-Type: text/plain; charset=GB2312
Content-Transfer-Encoding: 8bit

On Fri, 14 Sep 2001 15:06:55 -0700 (PDT)
"John D. Kim" <johnkim@aslab.com> wrote:
>Hmmm... I've tried the patch with 2.4.8, 2.4.8-ac12, and 2.4.9-ac8. All
>three says "couldn't find the kernel version the module was compiled for"
>when insmod tries to load the ipconfig module. I've also tried different
>versions of insmod(2.4.0, 2.4.2, and 2.4.8). I have not yet tried your
>kernel yet since I'm working with pcmcia devices, but I'll give it a try
>as well, just to see if ipconfig would load or not.
>
>Anyone else here have a clue?
>

Sorry .I check the ipconfig.c .I loss some things. Try the 2.4.9nfsroot.patch
1:Your must compile the nfs and nfsroot in kernel.

-- 
Best Regard!
礼!
----------------------------------------------------
hugang : 胡刚 	GNU/Linux User
email  : gang_hu@soul.com.cn linuxbest@soul.com.cn
Tel    : +861068425741/2/3/4
Web    : http://www.soul.com.cn

Beijing Soul technology Co.Ltd. 北京众志和达科技有限公司 ----------------------------------------------------

--Multipart_Sat__15_Sep_2001_13:23:59_+0800_08bd1670 Content-Type: application/octet-stream; name="2.4.9.nfsroot.patch" Content-Disposition: attachment; filename="2.4.9.nfsroot.patch" Content-Transfer-Encoding: base64

ZGlmZiAtdSAtciBsaW51eC9mcy9Db25maWcuaW4gbGludXgtbmZzcm9vdC9mcy9Db25maWcuaW4K LS0tIGxpbnV4L2ZzL0NvbmZpZy5pbglUdWUgSnVsICAzIDA1OjAzOjA0IDIwMDEKKysrIGxpbnV4 LW5mc3Jvb3QvZnMvQ29uZmlnLmluCVNhdCBTZXAgMTUgMTM6MDY6MjkgMjAwMQpAQCAtODAsNyAr ODAsNyBAQAogICAgZGVwX3RyaXN0YXRlICdDb2RhIGZpbGUgc3lzdGVtIHN1cHBvcnQgKGFkdmFu Y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SAx OworI2VuZGlmCisgIGlwX2F1dG9fY29uZmlnKCk7CisgIHJldHVybiAwOworfQogX19zZXR1cCgi aXA9IiwgaXBfYXV0b19jb25maWdfc2V0dXApOwogX19zZXR1cCgibmZzYWRkcnM9IiwgbmZzYWRk cnNfY29uZmlnX3NldHVwKTsK

--Multipart_Sat__15_Sep_2001_13:23:59_+0800_08bd1670-- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/