lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1458d9610701081327sb9de173qc5b7d99558ed22ae@mail.gmail.com>
Date:	Mon, 8 Jan 2007 16:27:32 -0500
From:	"Sumit Narayan" <talk2sumit@...il.com>
To:	"Linux Kernel" <linux-kernel@...r.kernel.org>
Subject: [BUG] sleeping function called from invalid context at kernel/sched.c

Hi,

I am trying to do file write operations in a thread (filewrite())
initiated from a jprobe (fs_vfs_write()) set on kernel function
(vfs_write()). Although the write operation succeed, I get this on my
log:

BUG: sleeping function called from invalid context at kernel/sched.c:3678
in_atomic():0, irqs_disabled():1
 [<c011a65b>] __might_sleep+0xa5/0xab
 [<c0343a00>] wait_for_completion+0x1a/0xc9
 [<c0118480>] __wake_up+0x32/0x43
 [<c012b33a>] __queue_work+0x42/0x4f
 [<c012e0f7>] kthread_create+0x9b/0xd3
 [<c012e00a>] keventd_create_kthread+0x0/0x52
 [<f8a560d4>] filewrite+0x0/0xaf [fsTrace]
 [<c03464b9>] do_page_fault+0x31f/0x5c5
 [<f8a561da>] fs_vfs_write+0x57/0x9e [fsTrace]
 [<f8a560d4>] filewrite+0x0/0xaf [fsTrace]
 [<c015f396>] sys_write+0x41/0x67
 [<c01034d1>] sysenter_past_esp+0x56/0x79
 =======================

$ uname -a
Linux cluster3 2.6.19.1 #1 SMP Thu Dec 21 14:03:57 EST 2006 i686
athlon i386 GNU/Linux

I remember seeing something similar here on LKML, but am unable to
trace it right now. Any idea what's going wrong?

Thanks,
Sumit
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ