All of lore.kernel.org
 help / color / mirror / Atom feed
From: Eric Valette <eric.valette@free.fr>
To: Thomas Svedberg <thsv@am.chalmers.se>
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 17:41:36 +0100	[thread overview]
Message-ID: <40630BC0.2090807@free.fr> (raw)
In-Reply-To: <406302A9.8030805@am.chalmers.se>

[-- Attachment #1: Type: text/plain, Size: 443 bytes --]

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.

-- eric



[-- Attachment #2: console-devfs.patch --]
[-- Type: text/x-patch, Size: 817 bytes --]

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

_



  reply	other threads:[~2004-03-25 16: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 [this message]
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=40630BC0.2090807@free.fr \
    --to=eric.valette@free.fr \
    --cc=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=thsv@am.chalmers.se \
    /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.