Ask a Question related to Linux Setup, Configuration & Administration, Design and Development.
-
Anthony #1
No video after kernel compilation
Every time I try to compile the linux kernel, I get a blank screen on
reboot.
I've always followed these directions:
[url]http://www.tldp.org/HOWTO/Kernel-HOWTO/quick_steps.html[/url]
So after doing the compilation and rebooting, it gives me the lilo
prompt, and I choose my new kernel there. Lilo does the
print-lots-of-dots thing as usual, but right after that, the screen
goes blank. The hard disk is still cranking away, though, for 30
seconds or a minute, as if it's working properly, just with no video.
This has happened to me every time I've tried to compile a kernel, on
2 completely different systems, trying kernels 2.4.18 and 2.4.22 on
both. One system has onboard video (Via/CastleRock?), and the other
has an nVidia geForce4 64MB PCI card.
So with the exact same result on 2 completely different systems, I
figure it must be something that I'm doing wrong. Can anyone shed any
light on this?
Thanks,
Anthony
[url]http://nodivisions.com/[/url]
Anthony Guest
-
compilation with kernel 2.6
I'm trying to compile mysql normal on a Slackware 10.2. If I use kernel 2.4, all works fine, but with kernel 2.6.14 all seems to work fine in the... -
Linux Kernel Version and Perl Compilation
Currently I am looking at a new hosting provider and already hit one strike where the Perl version they had listed on their "Packages" page differed... -
kernel compilation question
Now that I'm fully moved over to Debian :-), I'm looking at start tinkering with kernel compilation. I would "assume" I'd need the kernel-source... -
kernel-source versus kernel-patch
Hi, The description of the kernel-source-2.4.21 package says "Linux kernel source for version 2.4.21 with Debian patches". But, there is another... -
How to apply no-debianized kernel patch to debianized kernel-source?
Hello everybody I (like many others in the last few days) have a problem with kernel 2.4.21. I have downloaded the kernel-source-2.4.21 deb, and... -
mjt #2
Re: No video after kernel compilation
Anthony wrote:
.... are you booting to a GUI runlevel (most likely '5')?> So with the exact same result on 2 completely different systems, I
> figure it must be something that I'm doing wrong. Can anyone shed any
> light on this?
if so, do a CTRL-ALT-BACKSPACE to kill the server and
get to a prompt. alternatively, you could CTRL-ALT-F1
to get to the terminal. check your log files in
/var/log, such as XFree86.0.log and messages for clues
..
--
/// Michael J. Tobler: motorcyclist, surfer, skydiver, \\\
\\\ and author: "Inside Linux", "C++ HowTo", "C++ Unleashed" ///
Andrea: Unhappy the land that has no heroes.
Galileo: No, unhappy the land that _____ needs heroes.
mjt Guest
-
Andreas Janssen #3
Re: No video after kernel compilation
Hello
Anthony (<orders@nodivisions.com>) wrote:
Maybe your lilo.conf is set to use some framebuffer graphics mode but> Every time I try to compile the linux kernel, I get a blank screen on
> reboot.
>
> I've always followed these directions:
> [url]http://www.tldp.org/HOWTO/Kernel-HOWTO/quick_steps.html[/url]
>
> So after doing the compilation and rebooting, it gives me the lilo
> prompt, and I choose my new kernel there. Lilo does the
> print-lots-of-dots thing as usual, but right after that, the screen
> goes blank. The hard disk is still cranking away, though, for 30
> seconds or a minute, as if it's working properly, just with no video.
your Kernel is compiled without the necessary drivers. Check your
/etc/lilo.conf for the vga parameter. Try booting with "vga=normal".
best regards
Andreas Janssen
--
Andreas Janssen
[email]andreas.janssen@bigfoot.com[/email]
PGP-Key-ID: 0xDC801674
Registered Linux User #267976
Andreas Janssen Guest
-
Anthony #4
Re: No video after kernel compilation
mjt <mjtobler@removethis_consultant.com> wrote in message news:<PAC7b.926$Od6.106@newssvr22.news.prodigy.com >...
No, I'm not, I'm booting to a shell prompt (X isn't even installed on this system).> ... are you booting to a GUI runlevel (most likely '5')?
> if so, do a CTRL-ALT-BACKSPACE to kill the server and
> get to a prompt. alternatively, you could CTRL-ALT-F1
> to get to the terminal. check your log files in
> /var/log, such as XFree86.0.log and messages for clues.
Anthony Guest
-
Anthony #5
Re: No video after kernel compilation
Andreas Janssen <andreas.janssen@bigfoot.com> wrote in message news:<bjn14l$c5f$06$1@news.t-online.com>...
Well, it never fails; after googling and googling and finding no> Maybe your lilo.conf is set to use some framebuffer graphics mode but
> your Kernel is compiled without the necessary drivers. Check your
> /etc/lilo.conf for the vga parameter. Try booting with "vga=normal".
solution, I posted a message here. About 3 seconds after hitting the
"Post" button, I came upon the solution, and it's the one you
mentioned. I had vga=773; changing that to vga=normal allowed me to
get some (super low-res) video.
So, after reading these two pages:
[url]http://www.linuxquestions.org/questions/archive/1/2003/01/2/40632[/url]
[url]http://www.linuxquestions.org/questions/archive/1/2003/01/3/42125[/url]
....I looked for those settings, but on the 2.4.22 kernel that I just
downloaded, they don't all exist. I do have CONFIG_VGA_CONSOLE and
CONFIG_VIDEO_SELECT, but not CONFIG_FB_VESA. When I run make
menuconfig, I don't have "Frame-buffer support" under "Console
drivers," I only have "VGA text console" and "Video mode selection
support" there, and both of those are enabled (built-in, not modules).
I manually edited my .config file, and found that there are a whole
bunch of CONFIG_FB_x, CONFIG_FBCON_x, and CONFIG_FONT_x that are
present in config-ide-2.4.18, but not in the default config file that
I got after running make menuconfig for the 2.4.22 kernel. I tried
manually pasting the ones that looked relevant after running make
menuconfig, but then make bzImage failed with errors related to the
stuff I pasted in.
From what I can tell, without those options, I can't get a 1024x768
resolution at boot-time. When I set vga=ask and choose "scan", it
comes back with 0-9 and a-b options, all of which are rather ugly, and
all of which set the monitor to 600-something or 700-something for the
horizontal resolution (according to the monitor's OSD, which displays
the res).
So... how can I enable a nice 1024x768 video mode at boot time with
this kernel? I had it under 2.4.18. I am using an LCD display (and
was under 2.4.18 too); does that make any difference? It's this one:
[url]http://shop.store.yahoo.com/iecomputers/hyimq17b17si.html[/url]
....but I didn't/don't think you need to use any special
settings/drivers for an LCD as opposed to a CRT.
Thanks,
Anthony
[url]http://nodivisions.com/[/url]
Anthony Guest
-
Andreas Janssen #6
Re: No video after kernel compilation
Hello
Anthony (<orders@nodivisions.com>) wrote:
> Andreas Janssen <andreas.janssen@bigfoot.com> wrote in message
> news:<bjn14l$c5f$06$1@news.t-online.com>...>> Maybe your lilo.conf is set to use some framebuffer graphics mode but
>> your Kernel is compiled without the necessary drivers. Check your
>> /etc/lilo.conf for the vga parameter. Try booting with "vga=normal".> [works with vga=normal]I think you must go to> So, after reading these two pages:
> [url]http://www.linuxquestions.org/questions/archive/1/2003/01/2/40632[/url]
> [url]http://www.linuxquestions.org/questions/archive/1/2003/01/3/42125[/url]
>
> ...I looked for those settings, but on the 2.4.22 kernel that I just
> downloaded, they don't all exist. I do have CONFIG_VGA_CONSOLE and
> CONFIG_VIDEO_SELECT, but not CONFIG_FB_VESA. When I run make
> menuconfig, I don't have "Frame-buffer support" under "Console
> drivers," I only have "VGA text console" and "Video mode selection
> support" there, and both of those are enabled (built-in, not modules).
"Code maturity level options"
and activate
"Prompt for development and/or incomplete code/drivers"
to have these options available, as they are marked "experimental".
best regards
Andreas Janssen
--
Andreas Janssen
[email]andreas.janssen@bigfoot.com[/email]
PGP-Key-ID: 0xDC801674
Registered Linux User #267976
Andreas Janssen Guest
-
Anthony #7
Re: No video after kernel compilation
Andreas Janssen <andreas.janssen@bigfoot.com> wrote in message news:<bjo5dp$lno$07$1@news.t-online.com>...
Aha! There they are. Thank you!>> > ...I looked for those settings, but on the 2.4.22 kernel that I just
> > downloaded, they don't all exist. I do have CONFIG_VGA_CONSOLE and
> > CONFIG_VIDEO_SELECT, but not CONFIG_FB_VESA. When I run make
> > menuconfig, I don't have "Frame-buffer support" under "Console
> > drivers," I only have "VGA text console" and "Video mode selection
> > support" there, and both of those are enabled (built-in, not modules).
> I think you must go to
>
> "Code maturity level options"
>
> and activate
>
> "Prompt for development and/or incomplete code/drivers"
>
> to have these options available, as they are marked "experimental".
-Anthony
Anthony Guest
-
mjt #8
Re: No video after kernel compilation
Anthony wrote:
..... sounds as if you have something wacked out in the> mjt <mjtobler@removethis_consultant.com> wrote in message>>> ... are you booting to a GUI runlevel (most likely '5')?
>> if so, do a CTRL-ALT-BACKSPACE to kill the server and
>> get to a prompt. alternatively, you could CTRL-ALT-F1
>> to get to the terminal. check your log files in
>> /var/log, such as XFree86.0.log and messages for clues.
> No, I'm not, I'm booting to a shell prompt (X isn't even installed on this
> system).
kernel configuration - have you checked the settings?
can you switch to another virtual terminal and get
any sort of output?
..
--
/// Michael J. Tobler: motorcyclist, surfer, skydiver, \\\
\\\ and author: "Inside Linux", "C++ HowTo", "C++ Unleashed" ///
\\\ [url]http://pages.sbcglobal.net/mtobler/mjt_linux_page.html[/url] ///
I think pop music has done more for oral intercourse than anything
else that has ever happened, and vice versa. -- Frank Zappa
mjt Guest



Reply With Quote

