[Click] Kernelmode and scheduling while atomic problem

Beyers Cronje bcronje at gmail.com
Wed Jun 20 14:48:29 EDT 2007


Hi Thor,

For interest sake can you mail me output to the following:

grep PREEMPT .config
grep DEBUG .config

Beyers

On 6/20/07, Torquato Bertani <torquato at gmail.com> wrote:
>
> Hi all, I'm trying to use click in kernelmode with kernel 2.6.19.2 but
> I always get this error: BUG: scheduling while atomic.
>
> In the mailing list I found something about a problem with preemptive
> kernel, I checked and in my kernel CONFIG_PREEMPT_NONE=y
>
> Anyone has any idea? Any suggestion about where I can look? I can't
> understand if it is a problem with my kernel or a problem of click. Or
> both.
>
> Here the simple config file, it doesn't really work, just for example:
> FromDevice(eth0, PROMISC true) -> Queue(100) -> ToDevice(ath0);
> FromDevice(ath0, PROMISC true) -> Queue(100) -> ToDevice(eth0);
>
> At the end a part o trace errors.
>
> Thanks
> Thor
>
> BUG: scheduling while atomic: kclick/0x00000100/716
> [<c02677df>] __sched_text_start+0x4f/0x4f1
> [<c8ab959d>] _ZN8ToDevice12queue_packetEP6Packet+0xdd/0x170 [click]
> [<c8ac3c20>] _ZN13FullNoteQueue4pullEi+0x0/0x130 [click]
> [<c8ab9b89>] _ZN8ToDevice8run_taskEP4Task+0x289/0x3b0 [click]
> [<c8a78623>] _ZN12RouterThread6driverEv+0x2a3/0x2e0 [click]
> [<c8b1234f>] _ZN6VectorIiE7reserveEi+0x3f/0x90 [click]
> [<c8b05bf4>] _Z16click_init_schedP12ErrorHandler+0xd54/0xe10 [click]
> [<c8b05b70>] _Z16click_init_schedP12ErrorHandler+0xcd0/0xe10 [click]
> [<c0102c17>] kernel_thread_helper+0x7/0x10
> =======================
> BUG: scheduling while atomic: kclick/0x00000100/716
> [<c02677df>] __sched_text_start+0x4f/0x4f1
> [<c8ac3c20>] _ZN13FullNoteQueue4pullEi+0x0/0x130 [click]
> [<c8ab9b89>] _ZN8ToDevice8run_taskEP4Task+0x289/0x3b0 [click]
> [<c8a78623>] _ZN12RouterThread6driverEv+0x2a3/0x2e0 [click]
> [<c8b1234f>] _ZN6VectorIiE7reserveEi+0x3f/0x90 [click]
> [<c8b05bf4>] _Z16click_init_schedP12ErrorHandler+0xd54/0xe10 [click]
> [<c8b05b70>] _Z16click_init_schedP12ErrorHandler+0xcd0/0xe10 [click]
> [<c0102c17>] kernel_thread_helper+0x7/0x10
> =======================
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click
>


More information about the click mailing list