Hi Jeff,

Do you have any thought about what the problem might be?
Thanks a lot!

Jiaying

On Fri, Jul 4, 2008 at 9:06 AM, Jiaying Zhang <jiayingz@google.com> wrote:
The stack trace isn't very helpful. Here it is.

EIP: 0073:[<d84156c5>] CPU: 0 Not tainted ESP: 007b:0be3ea78 EFLAGS: 00210206
    Not tainted
EAX: 0be548d8 EBX: 08325b54 ECX: 08325b58 EDX: 0be548cc
ESI: 00000001 EDI: 080598c6 EBP: 0be3ea98 DS: 007b ES: 007b
08323b6c:  [<0806a718>] show_regs+0xc4/0xc9
08323b98:  [<080594b3>] segv+0x20e/0x226
08323c3c:  [<080592a0>] segv_handler+0x4f/0x54
08323c5c:  [<0806537b>] sig_handler_common+0x63/0x72
08323cd4:  [<080653b8>] sig_handler+0x2e/0x3e
08323cec:  [<080654dd>] handle_signal+0x4d/0x7a
08323d0c:  [<08066ebf>] hard_handler+0xf/0x14
08323d1c:  [<b7fff420>] 0xb7fff420

Kernel panic - not syncing: Kernel mode fault at addr 0xd84156c5, ip 0xd84156c5

EIP: 0073:[<40146334>] CPU: 0 Not tainted ESP: 007b:bfaf2378 EFLAGS: 00200246
    Not tainted
EAX: ffffffda EBX: 00000003 ECX: c134fd09 EDX: 08050368
ESI: 4002b7c0 EDI: 40029180 EBP: bfaf24c8 DS: 007b ES: 007b
08323ad8:  [<0806a718>] show_regs+0xc4/0xc9
08323b04:  [<080596ed>] panic_exit+0x23/0x39
08323b18:  [<080849d0>] notifier_call_chain+0x21/0x4d
08323b38:  [<08084a72>] __atomic_notifier_call_chain+0x17/0x19
08323b54:  [<08084a89>] atomic_notifier_call_chain+0x15/0x17
08323b70:  [<0807116f>] panic+0x4f/0xd1
08323b8c:  [<080594c1>] segv+0x21c/0x226
08323c3c:  [<080592a0>] segv_handler+0x4f/0x54
08323c5c:  [<0806537b>] sig_handler_common+0x63/0x72
08323cd4:  [<080653b8>] sig_handler+0x2e/0x3e
08323cec:  [<080654dd>] handle_signal+0x4d/0x7a
08323d0c:  [<08066ebf>] hard_handler+0xf/0x14
08323d1c:  [<b7fff420>] 0xb7fff420

Segmentation fault

Jiaying


On Thu, Jul 3, 2008 at 9:56 PM, Jeff Dike <jdike@addtoit.com> wrote:
On Thu, Jul 03, 2008 at 12:53:46AM -0700, Jiaying Zhang wrote:
> I found since 2.6.25 kernels, uml crashes when it calls down() on a
> semaphore with
> zero counter.

What's the stack trace?

Can you bisect it?

               Jeff

--
Work email - jdike at linux dot intel dot com