Satyam Sharma wrote:
On 6/26/07, gshan <[EMAIL PROTECTED]> wrote:
I mean kernel thread could sleep, but tasklet can't. If so, it meet my
requirements.
That's not really a justification to convert a tasklet to a kernel
thread.
I suspect the simplest solution to your problem would be to simply
On 6/26/07, gshan <[EMAIL PROTECTED]> wrote:
I mean kernel thread could sleep, but tasklet can't. If so, it meet my
requirements.
That's not really a justification to convert a tasklet to a kernel thread.
I suspect the simplest solution to your problem would be to simply
replace that semaphore
Satyam Sharma wrote:
On 6/26/07, gshan <[EMAIL PROTECTED]> wrote:
Thanks, Satyam. So I can replace the tasklet with kernel thread?
That depends on what you want to do ...
[ BTW: I should correct a typo in my original reply -- I should've said
"scheduling while atomic", and not "scheduling whi
On 6/26/07, gshan <[EMAIL PROTECTED]> wrote:
Thanks, Satyam. So I can replace the tasklet with kernel thread?
That depends on what you want to do ...
[ BTW: I should correct a typo in my original reply -- I should've said
"scheduling while atomic", and not "scheduling while interrupts disabled
Satyam Sharma wrote:
Hi Gavin,
On 6/26/07, gshan <[EMAIL PROTECTED]> wrote:
Here is the all output I have:
# ifconfig mgt0 10.0.51.27
BUG: scheduling while atomic: exe/0x0101/752
Yup, you can't sleep in taskets, they're atomic.
caller is schedule+0x4c/0xe4
Call trace:
[c02dc4dc] __sch
Hi Gavin,
On 6/26/07, gshan <[EMAIL PROTECTED]> wrote:
Here is the all output I have:
# ifconfig mgt0 10.0.51.27
BUG: scheduling while atomic: exe/0x0101/752
Yup, you can't sleep in taskets, they're atomic.
caller is schedule+0x4c/0xe4
Call trace:
[c02dc4dc] __schedule+0x654/0x788
[c0
Here is the all output I have:
# ifconfig mgt0 10.0.51.27
BUG: scheduling while atomic: exe/0x0101/752
caller is schedule+0x4c/0xe4
Call trace:
[c02dc4dc] __schedule+0x654/0x788
[c02dc6f4] schedule+0x4c/0xe4
[c02dbe24] __compat_down+0xc8/0x12c
[c0226b60] mv_sw_read_reg+0x178/0x17c
[c02296fc]
Hi Gavin,
On 6/26/07, gshan <[EMAIL PROTECTED]> wrote:
Anybody has suggestions on this crash?
[c02dc4dc] __schedule+0x654/0x788
[c02dc6f4] schedule+0x4c/0xe4
[c02dbe24] __compat_down+0xc8/0x12c
[c0226b60] mv_sw_read_reg+0x178/0x17c
[c02296fc] mvSwIntrTasklet+0x128/0x744
[c0020afc] tasklet_
The code is written by myself. 2 questions:
1) tasklet couldn't sleep?
2) It is because the tasklet take a semaphore?
Thanks,
Gavin
Alexey Dobriyan wrote:
On 6/26/07, gshan <[EMAIL PROTECTED]> wrote:
Anybody has suggestions on this crash?
talk to whoever supplied the following into your ker
On 6/26/07, gshan <[EMAIL PROTECTED]> wrote:
Anybody has suggestions on this crash?
talk to whoever supplied the following into your kernel:
[c02dc4dc] __schedule+0x654/0x788
[c02dc6f4] schedule+0x4c/0xe4
[c02dbe24] __compat_down+0xc8/0x12c
[c0226b60] mv_sw_read_reg+0x178/0x17c
this
[
Anybody has suggestions on this crash?
[c02dc4dc] __schedule+0x654/0x788
[c02dc6f4] schedule+0x4c/0xe4
[c02dbe24] __compat_down+0xc8/0x12c
[c0226b60] mv_sw_read_reg+0x178/0x17c
[c02296fc] mvSwIntrTasklet+0x128/0x744
[c0020afc] tasklet_action+0x7c/0xec
[c00204f4] ___do_softirq+0x80/0x11c
[c00205cc
11 matches
Mail list logo