From: Aivils <ai...@un...> - 2004-04-29 06:22:18
|
On Thursday 29 April 2004 08:37, Rusty Russell wrote: > On Thu, 2004-04-29 at 14:51, Zoltan Boszormenyi wrote: > > Arne Georg Gleditsch =EDrta: > > > * Zoltan Boszormenyi > > >=20 > > >>do your Num/Caps/Scroll Lock leds work? The keys themselves do > > >>but the led states aren't changing. (2.6.6-rc2-mm1-ruby) > > >=20 > > >=20 > > > Ah, no, they don't. Not surprising, perhaps, since set_leds was > > > calling tasklet_schedule before the tasklet lists were assigned to > >=20 > > I don't really get this. This is in linux-2.6.5/init/main.c : > >=20 > > -------------from line 477 ------------- > > init_timers(); > > softirq_init(); >=20 > But this needs spawn_ksoftirqd, which isn't called here. >=20 > Looks like the right fix is to remove the BUG_ON()s in cpu_callback, > or wrap them in "if (system_state =3D=3D SYSTEM_RUNNING)". Thanks You very match for Your deep and wide support. linuxconsole.sf.net project have his own terminal emulation code, which seems right now is slightly outdated. Our bug is calling set_leds() to early. I will try to find right place for set_leds() and live alone linus-tree 2.6.5 ,because here set_leds() removed from reset_terminal since APR-2002 :) So BUG_ON() kernel/softirq.c line 412 notify us about early call of tasklet_schedule() and You have the right. Aivils Stoss |