[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <4306ae870804100027k39164941t595f5459c8fa382b@mail.gmail.com>
Date: Thu, 10 Apr 2008 15:27:18 +0800
From: "Gang He" <hegang.linux@...il.com>
To: linux-kernel@...r.kernel.org
Cc: jlieskov@...hat.com
Subject: OOPS: found a fatal bug in Redhat Enterprise Server 3 Update 9 <2.4.21-50.EL> on x86_64, who can help to fix it
Hi all,
I found a fatal bug in Redhat Enterprise Server 3 Update 9
<2.4.21-50.EL> on x86_64 when I used "wait_queue_head_t" data
structure, the same program works very well on i386, but porting it to
x86_64 will bring Linux kernel crash, who can help to take a look at
it, thanks.
all source code are as follows:
ghe.c - kernel module source file
mk.sh - command lines to compile all source files
read.c - read operation
write.c - write operation
rhel3u9-64bit.txt - oops output
Reproduce bug:
1) run "./mk.sh" to compile all source files
2) run "insmod ghe.o" to insert kernel module to kernel
3) run "mknod /dev/ghe xxx" to create char device file
4) run "./devread" to read data from /dev/ghe
5) run "./devwrite" to write data to /dev/ghe, bug will take place.
Thanks
Gang
Download attachment "ghe.c" of type "application/octet-stream" (4908 bytes)
Download attachment "mk.sh" of type "application/x-sh" (140 bytes)
Download attachment "read.c" of type "application/octet-stream" (524 bytes)
Download attachment "write.c" of type "application/octet-stream" (567 bytes)
View attachment "rhel3u9-64bit.txt" of type "text/plain" (2459 bytes)
Powered by blists - more mailing lists