public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Brandon Low <lostlogic@gentoo.org>
To: Andrew Morton <akpm@osdl.org>
Cc: linux-kernel@vger.kernel.org
Subject: Re: 2.6.5-rc2-mm2 still does not boot but it progress : seems to be console font related
Date: Thu, 25 Mar 2004 10:17:39 -0600	[thread overview]
Message-ID: <20040325161739.GC999@lostlogicx.com> (raw)
In-Reply-To: <20040324095236.68cb1deb.akpm@osdl.org>

I was having a similar problem, and with nothing else on the system
changed, applying the patch fixed it.  Was freezing at "freeing unused
kernel memory" without the patch.

Thanks,

Brandon

On Wed, 03/24/04 at 09:52:36 -0800, Andrew Morton wrote:
> Eric Valette <eric.valette@free.fr> wrote:
> >
> > I have compiled a completely clean, unpatched (I mean except of course 
> >  rc2-mm2) and I can still not manage to finish booting. However, this 
> >  time, I get a little bit further AND system seems to hang exactly at the 
> >  same place each time (which was not the case with rc2-mm1). In fact I 
> >  managed to have the same behavior after removing the initramfs patches 
> >  from rc2-mm1 and fixing some other things using bk snapshots diffs (SCSI 
> >  st driver).
> > 
> >  It hangs when executing :
> >  /etc/init.d/console-screen.sh after displaying:
> > 
> >  Setting up general console font..
> > 
> >  Attached is a shell trace of a working session on
> >  2.6.5-rc1-mm2. It basically does (twice wonder why!) a loop of :
> > 
> > 
> >  /usr/bin/consolechars --tty=/dev/vc/[X] -f lat0-16
> > 
> >  I also traced the set of system calls /usr/bin/consolechars does via ptrace.
> > 
> >  Of course, the same shell script, same binaries and same settings works 
> >  for 2.6.5-rc1-mm2
> 
> Are you using devfs?  If so, please try the below patch (I don't see why,
> but..)
> 
> Can a sysrq-T or sysrq-P trace be generated when it has died?  You may need
> to alter your initscripts so they do not stick a zero in
> /proc/sys/kernel/sysrq.
> 
> ---
> 
>  25-akpm/drivers/char/vt.c |    7 ++++++-
>  1 files changed, 6 insertions(+), 1 deletion(-)
> 
> diff -puN drivers/char/vt.c~a drivers/char/vt.c
> --- 25/drivers/char/vt.c~a	2004-03-24 09:49:10.285591688 -0800
> +++ 25-akpm/drivers/char/vt.c	2004-03-24 09:50:54.355770616 -0800
> @@ -2471,10 +2471,13 @@ static int con_open(struct tty_struct *t
>  				tty->winsize.ws_row = video_num_lines;
>  				tty->winsize.ws_col = video_num_columns;
>  			}
> +			release_console_sem();
>  			vcs_make_devfs(tty);
> +			goto out;
>  		}
>  	}
>  	release_console_sem();
> +out:
>  	return ret;
>  }
>  
> @@ -2484,11 +2487,13 @@ static void con_close(struct tty_struct 
>  	if (tty && tty->count == 1) {
>  		struct vt_struct *vt;
>  
> -		vcs_remove_devfs(tty);
>  		vt = tty->driver_data;
>  		if (vt)
>  			vc_cons[vt->vc_num].d->vc_tty = NULL;
>  		tty->driver_data = 0;
> +		release_console_sem();
> +		vcs_remove_devfs(tty);
> +		return;
>  	}
>  	release_console_sem();
>  }
> 
> _
> 
> 
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/

  parent reply	other threads:[~2004-03-25 16:25 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-24 11:36 2.6.5-rc2-mm2 still does not boot but it progress : seems to be console font related Eric Valette
2004-03-24 14:56 ` Joseph Pingenot
2004-03-24 17:52 ` Andrew Morton
2004-03-25 14:52   ` Eric Valette
2004-03-25 16:17   ` Brandon Low [this message]
2004-03-25 17:20     ` Andrew Morton
2004-03-25 16:02 ` Thomas Svedberg
2004-03-25 16:41   ` Eric Valette
2004-03-25 19:40     ` Thomas Svedberg

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=20040325161739.GC999@lostlogicx.com \
    --to=lostlogic@gentoo.org \
    --cc=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    /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