LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   You passed an undefined mode number (https://www.linuxquestions.org/questions/linux-newbie-8/you-passed-an-undefined-mode-number-124877/)

priest_judas 12-11-2003 07:30 AM

You passed an undefined mode number
 
You passed an undefined mode number

Press <RETURN> to see video modes available, <SPACE> to continue or wait
30 secs



sorry for bothering you all with this question again... Iīve already read many threads with this subject and have already done everything I read, but nothing seems to work here with my slackware 9.1 ._.

I tryed pico /etc/lilo.conf

and changed to vga=771, and then to vga=773, and then to vga=788, and then to vga=ask, and then to vga=normal.... but when I try "startx" my monitor gets strange... some green and blue lines appear...

note: with vga=normal the "You passed an ..." didnīt show up, but the startx continued all messed ._.

I donīt really know whatīs happening... red hat and mandrake didnīt give me this error of "undefined mode etc...", so it proves my computer can work well with linux

knoppix gave me this "undefined mode etc..." in the beggining of the boot too, but I chose zero and then everything went well... I checked knoppinxīs lilo.conf and found a vga=normal in there... but in my slack, it doesnīt seem to work :(

I have an Intel 810 onboard video card... and knoppix detect something like this about my monitor: 30-54 Khz and 50-120 Khz....

what should I do??? óō

trickykid 12-11-2003 07:51 AM

Probably got the hsync and vsync modes wrong. I'd suggest getting the exact modes it can handle and either edit your XF86Config file or just reconfiguring with xf86config. Especially since your getting blue and green lines, etc on your screen.

Also, the first problem, I have the same video card using Slackware 9.0 on one of my machines and I can't get the framebuffering to work at all in any mode, have to use vga=normal for some reason myself, nothing else works. I guess the card just really doesn't like framebuffering in the console, etc.

priest_judas 12-11-2003 08:00 AM

how can i get to know my hsync and vsync modes? and how can I reconfigure using xf86config? Iīm a total newbie ._.

trickykid 12-11-2003 10:22 AM

Quote:

Originally posted by priest_judas
how can i get to know my hsync and vsync modes? and how can I reconfigure using xf86config? Iīm a total newbie ._.
Check manufacturer specs, manual, online, etc? Then as root just run xf86config and it will prompt for information, etc.
When you get to choose your hsync and vsync, you can select to input your own ranges, etc.

Check this discussion out: http://www.linuxquestions.org/questi...ticle&artid=16

oxleyk 01-04-2004 04:42 PM

I don't think the question was answered here, at least not my version of it. At bootup I get the same "undefined mode number" error and I'm given the option to choose one or scan for additional ones. After scanning, I choose 132 columns x 60 lines, or something close to that, and Linux continues to boot and everything else is happy.

Does this indicate a LILO setting and NOT XF86Config?

How can I set the default mode at startup so that this doesn't happen?

Thanks,
Kent

finegan 01-04-2004 06:14 PM

Its a LILO problem. Whatever distro you are using tried to kick on framebuffering by default and your monitor or vid card can't handle the res it was put to. If you just want the problem to go away and don't really care about pretty resolutions on the ttys, then just change whatever the current lilo vga setting is to read:

vga=normal

And then just re-run /sbin/lilo.

It'll boot 80x25, but at least it'll get rid of that prompt so you can auto-boot again.

Cheers,

Finegan

oxleyk 10-15-2004 09:09 AM

I am revisiting this after several days of researching and trying to get my computer to boot to 132x60 resolution. This does not appear to be a framebuffer issue since, after trying it both ways, I currently have FB support turned off in the kernel. I have a built-in Intel i810e video system which, as I understand, does not support VESA.

At bootup I get the undefined modes message and then I scan for options and choose "b 0123 132x60," the resolution changes and the boot continues. How do I set this option without having to scan? None of the VGA= options work, I've tried them.

With FB support turned on, I get the same undefined modes message but when I choose 132x60 the resolution is set to 80x30, which I don't want. (Again, the VGA= options don't work.) The line "probe of vesafb0 failed with error -6" appears in dmesg.

I know this is an insignificant problem, but it's annoying that I can't get it to work the way I want and doesn't seem to work the way it should.

Kent

finegan 10-15-2004 02:33 PM

I've got a machine around with an onboard i810 and vesa working on it... if there's a difference between that and an i810e I've not heard of it, but there are a lot of chipsets out there.

I always just compile VESA directly into the kernel, haven't ever bothered with trying it as a module. If you were to, I'm certain you would have to put it in an initrd as it has to load at boot.

Just to check that all the kernel options are the same for vesa:

Quote:

[*] VGA text console x x
x x[*] Video mode selection support x x
x x < > MDA text console (dual-headed) (EXPERIMENTAL) x x
x x Frame-buffer support --->
The important one there being VGA of course, but also Video mode selection support.

Then under Framebuffer:

Quote:

[*] Support for frame buffer devices (EXPERIMENTAL) x x
x x< > nVidia Riva support (EXPERIMENTAL) x x
x x< > Cirrus Logic support (EXPERIMENTAL) x x
x x< > Permedia2 support (EXPERIMENTAL) x x
x x< > Permedia3 support (EXPERIMENTAL) x x
x x< > Cyber2000 support x x
x x[*] VESA VGA graphics console x x
x x< > VGA 16-color graphics console x x
x x< > Hercules mono graphics console (EXPERIMENTAL)
And none of the card specific ones...

I also tend to drop in:
[*] Advanced low level driver options

And the defaults that come with it.

The same is true for 2.6.

Also, apparently lilo supports passing a straight svga video mode to the kernel (or, no kidding, you can compile it in!). I would try to explain it, but really I would just being badly regurgitating what I just read in:

/usr/src/linux/Documentation/svga.txt

It seems that there's a weird mode schema for regular svga modes that's somewhat unlike framebuffer... Regardless, I'm pretty certain you'll need video mode selection in there no matter what.

Cheers,

Finegan

oxleyk 10-18-2004 09:09 AM

It's amazing what you can learn by reading the documentation, but I'm new enough to Linux that I don't always know where it is. I found the file intel810fb.txt in /usr/src/linux-2.6.8.1/Documentation/fb which explains how to boot into graphics mode my putting an "append=" line in lilo.conf and now my computer boots into 1024x768!

I'm still trying to find out how to boot in text mode at 132x60 (sigh).

Kent

finegan 10-20-2004 01:30 PM

According to what I've found...

vga=0xA

At least, it seems that should work.

Cheers,

Finegan

oxleyk 12-21-2004 08:58 AM

A follow-up---

I recently switched to Fedora Core 3 and I discovered that after scanning for the available modes, I normally choose "a 0123 132x60," the 0123 (hexadecimal) is what I need to use for "vga=xxx" but it must be converted to decimal, in this case vga=291.

KCalc has a converter function.

I don't know why it took so long to find that answer.

acop 02-08-2005 02:42 PM

Quote:

Originally posted by oxleyk
It's amazing what you can learn by reading the documentation, but I'm new enough to Linux that I don't always know where it is. I found Inteli810fb.txt in /usr/src/linux-2.6.8.1/Documentation/fb which explains how to boot into graphics mode my putting an "append=" line in lilo.conf and now my computer boots into 1024x768!

I'm still trying to find out how to boot in text mode at 132x60 (sigh).

Kent

I don't have that file.. Could anyone tell me where to find that Inteli810fb.txt?

oxleyk 02-08-2005 05:16 PM

Sorry! That's a typo on my part. The file is intel810.txt

Kent


All times are GMT -5. The time now is 10:23 PM.