mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Matthew Wilcox <willy@debian.org>
To: William Lee Irwin III <wli@holomorphy.com>,
	Matthew Wilcox <willy@debian.org>,
	linux-kernel@vger.kernel.org
Cc: jsimmons@transvirtual.com
Subject: Re: 2.5.26 broken on headless boxes
Date: Thu, 18 Jul 2002 21:32:08 +0100	[thread overview]
Message-ID: <20020718213208.P13352@parcelfarce.linux.theplanet.co.uk> (raw)
In-Reply-To: <20020718201857.GS1096@holomorphy.com>; from wli@holomorphy.com on Thu, Jul 18, 2002 at 01:18:57PM -0700

On Thu, Jul 18, 2002 at 01:18:57PM -0700, William Lee Irwin III wrote:
> On Thu, Jul 18, 2002 at 02:29:46PM +0100, Matthew Wilcox wrote:
> >>>EIP; c01b7695 <visual_init+85/e0>   <=====
> >>>edx; f7906600 <END_OF_CODE+37502e5c/????>
> >>>edi; c03dcc00 <vc_cons+0/fc>
> >>>esp; c3d45e7c <END_OF_CODE+39426d8/????>
> > Trace; c01b7773 <vc_allocate+83/140>
> > Trace; c01baa25 <con_open+19/88>
> > Trace; c01ac08c <tty_open+20c/394>
> > Trace; c0145a83 <link_path_walk+683/874>
> > Trace; c0144ed7 <permission+27/2c>
> > Trace; c0146373 <may_open+5f/2ac>
> > Trace; c013c33a <chrdev_open+66/98>
> > Trace; c013b001 <dentry_open+e1/1b0>
> > Trace; c013af16 <filp_open+52/5c>
> > Trace; c013b307 <sys_open+37/74>
> > Trace; c0108893 <syscall_call+7/b>
> 
> This is the 4th one of these I've seen in the last two days. Any chance
> of being able to compile with -g and get an addr2line on the EIP? I've
> tried to reproduce it myself, but haven't gotten it to happen yet.

seems fairly obvious what's happening with a couple of printks...

    printk("visual_init: sw = %p, conswitchp = %p, currcons = %d, init = %d\n",
                    sw, conswitchp, currcons, init);

gets me the interesting fact that sw & conswitchp are both NULL.
later on, we call:
    sw->con_init(vc_cons[currcons].d, init);
which seems like it would be the exact cause, no?

now whether putting a:

	if (!sw)
		return;

call into visual_init or whether we should determine earlier never to
call visual_init, I don't know.  The people who know about the console
have been conspicuously silent so far...

-- 
Revolutions do not require corporate support.

  reply	other threads:[~2002-07-18 20:29 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-17 15:55 Matthew Wilcox
2002-07-18  1:06 ` William Lee Irwin III
2002-07-18  9:48   ` Re[3]: " Tobias Rittweiler
2002-07-18 10:46     ` William Lee Irwin III
2002-07-18 12:29       ` Re[2]: " Tobias Rittweiler
2002-07-18 20:17         ` William Lee Irwin III
2002-07-18 13:29   ` Matthew Wilcox
2002-07-18 20:18     ` William Lee Irwin III
2002-07-18 20:32       ` Matthew Wilcox [this message]
2002-07-18 20:37         ` William Lee Irwin III
     [not found] <20020717165538.D13352@parcelfarce.linux.theplanet.co.uk.suse.lists.linux.kernel>
2002-07-18 12:45 ` Andi Kleen
2002-07-18 23:07   ` James Simmons
2002-07-19  9:45     ` Andi Kleen
2002-07-18 21:04 Petr Vandrovec
2002-07-18 21:18 ` Matthew Wilcox
2002-07-18 21:42 Petr Vandrovec
2002-07-18 21:45 ` Matthew Wilcox
2002-07-18 22:16 Petr Vandrovec
2002-07-18 22:20 ` Arnaldo Carvalho de Melo
2002-07-18 23:01 ` James Simmons

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20020718213208.P13352@parcelfarce.linux.theplanet.co.uk \
    --to=willy@debian.org \
    --cc=jsimmons@transvirtual.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=wli@holomorphy.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome