[Momonga-devel.ja:00914] kernel-2.4.20-1m
- From: Kazuhiko <kazuhiko@xxxxxxxxxx>
- Date: Sun, 01 Dec 2002 01:15:01 +0900
かずひこです。
pkgs/kernel の KERNEL_2_4_20 ブランチを、先日リリースされた 2.4.20 にアッ
プデートしました。ちょっと自信がないところがあるので、できるだけ詳しく報
告しておきます。
* Sat Nov 30 2002 Kazuhiko <kazuhiko@xxxxxxxxxx>
- (2.4.20-1m)
- linux-2.4.20
- update usagisnap to 20021130
- update newacpi to 20021126-rc3
- revise hidden patch
- revise swsusp patch
usagi, newacpi はそれぞれ現時点で最新のパッチにしました。
swsusp パッチと hidden パッチは、reject された部分を手パッチしました。
具体的には、hidden-2.4.19pre5-1.diff では
- if (arp->ar_op == __constant_htons(ARPOP_REQUEST) &&
- inet_addr_type(tip) == RTN_LOCAL)
となっていた部分を
- if (arp->ar_op == htons(ARPOP_REQUEST) &&
- inet_addr_type(tip) == RTN_LOCAL)
みたいにしました。合ってる?
また、xfs パッチは、
ftp://oss.sgi.com/projects/xfs/download/patches/2.4.20
から
xfs-2.4.20-split-only
xfs-2.4.20-split-kernel
xfs-2.4.20-split-quota32
xfs-2.4.20-split-acl
xfs-2.4.20-split-dmapi
を cat したものを基本にしていますが、swsusp パッチの関係で一カ所 reject
しました。オリジナルでは
--- 20.1/include/linux/sched.h Tue, 13 Aug 2002 10:08:43 +1000 kaos (linux-2.4/g/b/10_sched.h 1.6.1.5.1.19 644)
+++ 20.4/include/linux/sched.h Wed, 27 Nov 2002 11:40:29 +1100 kaos (linux-2.4/g/b/10_sched.h 1.6.1.5.1.12.1.3 644)
@@ -435,6 +435,7 @@ struct task_struct {
#define PF_MEMDIE 0x00001000 /* Killed for out-of-memory */
#define PF_FREE_PAGES 0x00002000 /* per process page freeing */
#define PF_NOIO 0x00004000 /* avoid generating further I/O */
+#define PF_FSTRANS 0x00008000 /* inside a filesystem transaction */
#define PF_USEDFPU 0x00100000 /* task used FPU this quantum (SMP) */
となっている部分を
--- 20.1/include/linux/sched.h Tue, 13 Aug 2002 10:08:43 +1000 kaos (linux-2.4/g/b/10_sched.h 1.6.1.5.1.19 644)
+++ 20.4/include/linux/sched.h Wed, 27 Nov 2002 11:40:29 +1100 kaos (linux-2.4/g/b/10_sched.h 1.6.1.5.1.12.1.3 644)
@@ -438,6 +438,7 @@
#define PF_FROZEN 0x00008000 /* frozen for system suspend */
#define PF_FREEZE 0x00010000 /* this task should be frozen for suspend */
#define PF_IOTHREAD 0x00020000 /* this thread is needed for doing I/O to swap */
+#define PF_FSTRANS 0x00040000 /* inside a filesystem transaction */
#define PF_USEDFPU 0x00100000 /* task used FPU this quantum (SMP) */
にしました。
要するに PF_FSTRANS を追加定義するのですが、その値 0x00008000 がすでに
swsusp パッチによって使われていたのでなんとなく 0x0004000 にしています。
合ってる?
kernel-*.config は、i586 および ppc で、make config が通ることを確認して
います。i586 up では、ブートすることを確認しています。smp な方からのレポー
トをお待ちしています。参考までに私の環境でビルドしたバイナリを下記の URI
に置いておきます (まだ転送中...)。
http://www.momonga-linux.org/test/kernel/
よろしくお願いします。
--
かずひこ@...
http://www.fdiary.net/~kazuhiko/diary/ http://www.momonga-linux.org/
http://openlab.jp/edict/ http://openlab.jp/efont/
http://www.gk-kyoto.com/ http://www.univehicle.net/