All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Svedberg <thsv@am.chalmers.se>
To: eric.valette@free.fr
Cc: akpm@osdl.org, Linux Kernel Mailing List <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 20:40:43 +0100	[thread overview]
Message-ID: <406335BB.1050601@am.chalmers.se> (raw)
In-Reply-To: <40630BC0.2090807@free.fr>

Eric Valette wrote:
> Thomas Svedberg wrote:
> 
>> I have these hangs as well, just tried 2.6.5-rc2-mm3 and they are 
>> still there.
>> However setting video=radeonfb:off as boot parameter solves the 
>> problem, if this can be of any help.
>> More info on request.
> 
> 
> Yes because the console-screen.sh shell script checks for /dev/fb. Could 
> you try the patceh suggested by Andrew in this thread (I'm not sure it 
> is in mm3). I attached it for your convenience.

I must have missed it, an yes it fixes the problem.
(I tried it on top of -mm3)

/Thomas

> 
> ------------------------------------------------------------------------
> 
> 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();
>  }
> 
> _
> 
> 


.......................................................................
  Thomas Svedberg
  Department of Applied Mechanics
  Chalmers University of Technology

  Address: S-412 96 Göteborg, SWEDEN
  E-mail : thsv@bigfoot.com, thsv@am.chalmers.se
  Phone  : +46 31 772 1522
  Fax    : +46 31 772 3827
.......................................................................

      reply	other threads:[~2004-03-25 19:41 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
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 [this message]

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=406335BB.1050601@am.chalmers.se \
    --to=thsv@am.chalmers.se \
    --cc=akpm@osdl.org \
    --cc=eric.valette@free.fr \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.