Hi!
I have just compiled a 2.6.23-rc8 using the config from my 2.6.22 as a basis
and I came out with a not working (almost black) vga text console.
This is what I'm getting on my logs:
Console: colour dummy device 80x25
console [tty0] enabled
Instead of the old:
Console: colour VGA+ 80x25
The options related to the console on my config are these:
CONFIG_VT=y
CONFIG_VT_CONSOLE=y
CONFIG_HW_CONSOLE=y
CONFIG_SERIAL_8250=y
CONFIG_SERIAL_8250_CONSOLE=y
CONFIG_SERIAL_CORE=y
CONFIG_SERIAL_CORE_CONSOLE=y
CONFIG_VGA_CONSOLE=y
CONFIG_VIDEO_SELECT=y
CONFIG_DUMMY_CONSOLE=y
The machine is a AMD x64 X2 Athlon with a NForce 4 chipset, vga is a ATI
radeon and I have also set:
CONFIG_DRM=m
CONFIG_DRM_RADEON=m
I have tried with and without CONFIG_VIDEO_SELECT and
CONFIG_VIDEO_OUTPUT_CONTROL with the same results. BTW: when X starts the
display is Ok.
If you want me to do any tests or need more info just tell me.
Regards...
--
Manty/BestiaTester -> http://manty.net
Santiago Garcia Mantinan wrote:
> Hi!
>
> I have just compiled a 2.6.23-rc8 using the config from my 2.6.22 as a basis
> and I came out with a not working (almost black) vga text console.
>
> This is what I'm getting on my logs:
>
> Console: colour dummy device 80x25
> console [tty0] enabled
>
> Instead of the old:
>
> Console: colour VGA+ 80x25
>
> The options related to the console on my config are these:
>
> CONFIG_VT=y
> CONFIG_VT_CONSOLE=y
> CONFIG_HW_CONSOLE=y
> CONFIG_SERIAL_8250=y
> CONFIG_SERIAL_8250_CONSOLE=y
> CONFIG_SERIAL_CORE=y
> CONFIG_SERIAL_CORE_CONSOLE=y
> CONFIG_VGA_CONSOLE=y
> CONFIG_VIDEO_SELECT=y
> CONFIG_DUMMY_CONSOLE=y
>
> The machine is a AMD x64 X2 Athlon with a NForce 4 chipset, vga is a ATI
> radeon and I have also set:
>
> CONFIG_DRM=m
> CONFIG_DRM_RADEON=m
>
> I have tried with and without CONFIG_VIDEO_SELECT and
> CONFIG_VIDEO_OUTPUT_CONTROL with the same results. BTW: when X starts the
> display is Ok.
>
> If you want me to do any tests or need more info just tell me.
>
Please send me your .config as well as /etc/grub.conf and the output of
/proc/cmdline.
It would also be useful if you could do the following:
- remove __initdata from the boot_params line in
arch/i386/kernel/setup.c or x86_boot_params in arch/x86_64/kernel/setup.c.
- Compile the kernel with CONFIG_DEBUG_INFO=y
- With the new kernel running, do:
gdb vmlinux /proc/kcore
p/x &boot_params [for x86-64, p/x &x86_boot_params]
dump binary memory bootparams.bin <address> <address>+4096
-hpa
On Fri, 2007-09-28 at 22:03 +0200, Santiago Garcia Mantinan wrote:
> Hi!
>
> I have just compiled a 2.6.23-rc8 using the config from my 2.6.22 as a basis
> and I came out with a not working (almost black) vga text console.
>
> This is what I'm getting on my logs:
>
> Console: colour dummy device 80x25
> console [tty0] enabled
>
> Instead of the old:
>
> Console: colour VGA+ 80x25
>
> The options related to the console on my config are these:
>
> CONFIG_VT=y
> CONFIG_VT_CONSOLE=y
> CONFIG_HW_CONSOLE=y
> CONFIG_SERIAL_8250=y
> CONFIG_SERIAL_8250_CONSOLE=y
> CONFIG_SERIAL_CORE=y
> CONFIG_SERIAL_CORE_CONSOLE=y
> CONFIG_VGA_CONSOLE=y
> CONFIG_VIDEO_SELECT=y
> CONFIG_DUMMY_CONSOLE=y
>
> The machine is a AMD x64 X2 Athlon with a NForce 4 chipset, vga is a ATI
> radeon and I have also set:
>
> CONFIG_DRM=m
> CONFIG_DRM_RADEON=m
>
> I have tried with and without CONFIG_VIDEO_SELECT and
> CONFIG_VIDEO_OUTPUT_CONTROL with the same results. BTW: when X starts the
> display is Ok.
>
> If you want me to do any tests or need more info just tell me.
Also insert this in drivers/video/console/vgacon.c as the first
statement of vgacon_startup()
printk("vgacon: ORIG_VIDEO_ISVGA %x ORIG_VIDEO_MODE %x ORIG_VIDEO_LINES
%x ORIG_VIDEO_COLS %x\n", ORIG_VIDEO_ISVGA, ORIG_VIDEO_MODE,
ORIG_VIDEO_LINES, ORIG_VIDEO_COLS);
Tony
> Please send me your .config as well as /etc/grub.conf and the output of
> /proc/cmdline.
I suppose you mean my grub's menu.lst, after looking at it I've done some
more tests and identified the posible cause.
This would be my grub menu.lst:
default 0
fallback 2
timeout 2
color cyan/blue white/blue
title Debian GNU/Linux, kernel 2.6.23-rc8
root (hd0,2)
kernel /boot/vmlinuz-2.6.23-rc8 root=/dev/md1 vga=0x307 ro
savedefault
I didn't remember I had the vga=0x307 there, it comes from my FB times and
it remained there as in 2.6.22 it didn't cause any weird behaviour. I have
removed it and now the vga comes up Ok.
Current cmdline after removing the vga=0x307:
root=/dev/md1 ro
I'm attaching my .config, the one that had the problem with the vga=0x307
appended on 2.6.23-RC8.
If you still want all the other stuff just ask for it.
Regards...
--
Manty/BestiaTester -> http://manty.net