[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [microblaze-uclinux] BUG: scheduling while atomic: (Kernel 2.6)



Hi Chun Yeow,

Yeoh Chun Yeow wrote:

After patching the entry.S, I don't see thje BUG: scheduling problem in my compiled kernel (without CONFIG_PREEMPT).

Great, that's one bug down, 2 to go :)

However, the ping results
contain "ping: recvfrom: Invalid argument". Any ideas?

Working on it right now - relates to restarting of system calls.

[snip]

If I build my kernel with CONFIG_PREEMPT, the following errors occur whenever I ping from my system:

# ping 172.16.6.174 <http://172.16.6.174>
PING 172.16.6.174 <http://172.16.6.174> ( 172.16.6.174 <http://172.16.6.174>): 56 data bytes 64 bytes from 172.16.6.174 <http://172.16.6.174>: icmp_seq=0 ttl=64 time=12.0 ms
ping: recvfrom: Invalid argument
64BUG: scheduling while atomic: ping/0x00000001/51

This looks like a different bug - CONFIG_PREEMPT hasn't had a lot of testing. Will add it to the queue!

Thanks

John
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/