On Thu, 22 Sep 2005, Christopher Friesen wrote: > Sonny Rao wrote: > > > I think your loglevel is too low, set it to seven (using sysrq if > > necessary) and try again. > > I thought the following __handle_sysrq() code would take care of that: > > spin_lock_irqsave(&sysrq_key_table_lock, flags); > orig_log_level = console_loglevel; > console_loglevel = 7; > printk(KERN_INFO "SysRq : "); Some code below there is suspicious. Maybe you could modify some of it... (cut-and-paste, may have whitespace damage:) if (!check_mask || sysrq_enabled == 1 || (sysrq_enabled & op_p->enable_mask)) { printk ("%s\n", op_p->action_msg); console_loglevel = orig_log_level; op_p->handler(key, pt_regs, tty); } swap those last 2 lines and see what happens... -- ~Randy - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- [PATCH/RFC] sysrq: updating console_loglevel
- From: "Randy.Dunlap" <[email protected]>
- [PATCH/RFC] sysrq: updating console_loglevel
- References:
- Re: dentry_cache using up all my zone normal memory -- also seen on 2.6.14-rc2
- From: "Christopher Friesen" <[email protected]>
- Re: dentry_cache using up all my zone normal memory -- also seen on 2.6.14-rc2
- From: Roland Dreier <[email protected]>
- Re: dentry_cache using up all my zone normal memory -- also seen on 2.6.14-rc2
- From: Al Viro <[email protected]>
- Re: dentry_cache using up all my zone normal memory -- also seen on 2.6.14-rc2
- From: "Christopher Friesen" <[email protected]>
- Re: dentry_cache using up all my zone normal memory -- also seen on 2.6.14-rc2
- From: Al Viro <[email protected]>
- Re: dentry_cache using up all my zone normal memory -- also seen on 2.6.14-rc2
- From: "Christopher Friesen" <[email protected]>
- Re: dentry_cache using up all my zone normal memory -- also seen on 2.6.14-rc2
- From: Dipankar Sarma <[email protected]>
- Re: dentry_cache using up all my zone normal memory -- also seen on 2.6.14-rc2
- From: "Christopher Friesen" <[email protected]>
- Re: dentry_cache using up all my zone normal memory -- also seen on 2.6.14-rc2
- From: Dipankar Sarma <[email protected]>
- Re: dentry_cache using up all my zone normal memory -- also seen on 2.6.14-rc2
- From: "Christopher Friesen" <[email protected]>
- Re: dentry_cache using up all my zone normal memory -- also seen on 2.6.14-rc2
- From: Sonny Rao <[email protected]>
- Re: dentry_cache using up all my zone normal memory -- also seen on 2.6.14-rc2
- From: "Christopher Friesen" <[email protected]>
- Re: dentry_cache using up all my zone normal memory -- also seen on 2.6.14-rc2
- Prev by Date: RE: ip_contrack refuses to load if built UP as a module on IA64
- Next by Date: Re: dentry_cache using up all my zone normal memory -- also seen on 2.6.14-rc2
- Previous by thread: Re: dentry_cache using up all my zone normal memory -- also seen on 2.6.14-rc2
- Next by thread: [PATCH/RFC] sysrq: updating console_loglevel
- Index(es):