I checked that out and tried a few experiments. "hwinfo --vbe" showed some promising info:
Code: Select all
Mode 0x0345: 1600x1200 (+1600), 8 bits
Mode 0x0346: 1600x1200 (+3200), 16 bits
Code: Select all
Mode 0x0345: 1600x1200 (+1600), 8 bits
Mode 0x0346: 1600x1200 (+3200), 16 bits
Code: Select all
uvesafb: Getting VBE info block failed (eax=0x4f00, err=1)
uvesafb: vbe_init() failed with -22
uvesafb: probe of uvesafb.0 failed with error -22
If you are using Reiser4 that's the problem.wxqc11h wrote:i cannot build klibc (x86_64)
do you have any ideas ?defconfig has changed, please remove or edit .config
make: *** [.config] Błąd 1
*
* ERROR: dev-libs/klibc-1.5.7-r2 failed.
* Call stack:
* ebuild.sh, line 1701: Called dyn_compile
* ebuild.sh, line 1039: Called qa_call 'src_compile'
* ebuild.sh, line 44: Called src_compile
* klibc-1.5.7-r2.ebuild, line 143: Called die
* The specific snippet of code:
* emake \
* EXTRA_KLIBCAFLAGS="-Wa,--noexecstack" \
* EXTRA_KLIBCLDFLAGS="-z,noexecstack" \
* HOSTCC="${HOSTCC}" CC="${CC}" \
* INSTALLDIR="/usr/${libdir}/klibc" \
* KLIBCARCH=${KLIBCARCH} \
* KLIBCASMARCH=${KLIBCASMARCH} \
* SHLIBDIR="/${libdir}" \
* libdir="/usr/${libdir}" \
* mandir="/usr/share/man" \
* ${myargs} || die "Compile failed!"
* The die message:
* Compile failed!
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/mnt/zbiornik/.portos/tmp/portage/dev-libs/klibc-1.5.7-r2/temp/build.log'.
*
defconfig has changed, please remove or edit .config ????
Code: Select all
sysctl table check failed: /kernel/fbcondecor .1.77 Unknown sysctl binary path
Pid: 1, comm: swapper Not tainted 2.6.24-rc3-zen4 #1
Call Trace:
[<ffffffff8024ba70>] set_fail+0x3f/0x47
[<ffffffff8024bf1e>] sysctl_check_table+0x4a6/0x4f3
[<ffffffff8024ba22>] sysctl_check_lookup+0xc1/0xd0
[<ffffffff8024bf34>] sysctl_check_table+0x4bc/0x4f3
[<ffffffff805ccbc0>] sysctl_init+0x1e/0x22
[<ffffffff805be636>] kernel_init+0x171/0x2dd
[<ffffffff8048c11a>] _spin_unlock_irq+0x15/0x30
[<ffffffff8022ffb3>] finish_task_switch+0x2b/0xc2
[<ffffffff8020cde8>] child_rip+0xa/0x12
[<ffffffff805be4c5>] kernel_init+0x0/0x2dd
[<ffffffff8020cdde>] child_rip+0x0/0x12
...
Linux agpgart interface v0.102
uvesafb: NVIDIA Corporation, G73 Board - p501h0 , Chip Rev , OEM: NVIDIA, VBE v3.0
uvesafb: VBIOS/hardware doesn't support DDC transfers
uvesafb: no monitor limits have been set, default refresh rate will be used
uvesafb: scrolling: redraw
Console: switching to colour frame buffer device 80x30
uvesafb: framebuffer at 0xd0000000, mapped to 0xffffc20010100000, using 10240k, total 262144k
fb0: VESA VGA frame buffer device
vga16fb: initializing
vga16fb: mapped to 0xffff8100000a0000
fb1: VGA16 VGA frame buffer deviceCode: Select all
title=Gentoo Linux (2.6.24-rc3-zen4)
root (hd0,2)
kernel /kernel-genkernel-x86_64-2.6.24-rc3-zen4 real_root=/dev/sda6 irqpoll udev video=uvesafb:1280x1024-32:mtrr:3,ywrap splash=silent,theme:gentoo-burn CONSOLE=/dev/tty1 quiet fbcon=scrollback:128K
initrd /initramfs-genkernel-x86_64-2.6.24-rc3-zen4Code: Select all
640x400-8, 0x0100
640x480-8, 0x0101
800x600-8, 0x0103
1024x768-8, 0x0105
1280x1024-8, 0x0107
320x200-16, 0x010e
320x200-32, 0x010f
640x480-16, 0x0111
640x480-32, 0x0112
800x600-16, 0x0114
800x600-32, 0x0115
1024x768-16, 0x0117
1024x768-32, 0x0118
1280x1024-16, 0x011a
1280x1024-32, 0x011b
320x200-8, 0x0130
320x400-8, 0x0131
320x400-16, 0x0132
320x400-32, 0x0133
320x240-8, 0x0134
320x240-16, 0x0135
320x240-32, 0x0136
640x400-16, 0x013d
640x400-32, 0x013e
Yes it is setEngywuck wrote:@eMxyzptlk : is CONFIG_VM86 set to Y in your .config ? I had the same problem and it helped for me.
Code: Select all
$ grep CONFIG_VM86 /usr/src/linux/.config
CONFIG_VM86=y
$ grep UVESA /usr/src/linux/.config
CONFIG_FB_UVESA=y
Code: Select all
title=Gentoo Linux (2.6.23-tuxonice-r4)
root (hd0,0)
kernel (hd0,0)/kernel-genkernel-x86-2.6.23-tuxonice-r4 dolvm crypt_root=/dev/sda2 lvm2root=/dev/mapper/root real_root=/dev/system/slash video=uvesafb:ywrap,mtrr:3,1024x768-32 splash=silent,theme:KillBillTux-Grey fbcon=scrollback:128k console=tty1 resume2=swap:/dev/system/swap quiet
initrd (hd0,0)/initramfs-genkernel-x86-2.6.23-tuxonice-r4
Code: Select all
$ grep OVERLAY /etc/genkernel.conf
CMD_INITRAMFS_OVERLAY=/usr/share/v86d
Code: Select all
$ cat /proc/fb0/modes
1280x800-8
1280x800-16
1280x800-32
1024x768-8
1024x768-16
1024x768-32
640x480-32
800x600-16
800x600-32
640x480-8
800x600-8
640x480-16

Yeah, same here. I followed the steps on spock's site, double checked everything, but I am still getting the kernel panic. It wouldn't be an incompatibility problem with the intel i810 would it?ChristianK92 wrote:I upgrade to gentoo-sources 2.6.23 (after emerge --sync).
I follow the instructions given on http://dev.gentoo.org/~spock/projects/uvesafb/
and get a kernel panic
Without initramfs : no kernel panic but i stay in 640x480

I have not a intel i810 nut a nVidia 8800 GTS.CloudBolt wrote:Yeah, same here. I followed the steps on spock's site, double checked everything, but I am still getting the kernel panic. It wouldn't be an incompatibility problem with the intel i810 would it?ChristianK92 wrote:I upgrade to gentoo-sources 2.6.23 (after emerge --sync).
I follow the instructions given on http://dev.gentoo.org/~spock/projects/uvesafb/
and get a kernel panic
Without initramfs : no kernel panic but i stay in 640x480
hmm I've tried compiling uvesafb as a module and modprobing it, but that gave the same segmentation fault. the only difference was it didn't crash my kernel because it was a module.ChristianK92 wrote:I have not a intel i810 nut a nVidia 8800 GTS.CloudBolt wrote:Yeah, same here. I followed the steps on spock's site, double checked everything, but I am still getting the kernel panic. It wouldn't be an incompatibility problem with the intel i810 would it?ChristianK92 wrote:I upgrade to gentoo-sources 2.6.23 (after emerge --sync).
I follow the instructions given on http://dev.gentoo.org/~spock/projects/uvesafb/
and get a kernel panic
Without initramfs : no kernel panic but i stay in 640x480
Any ideas what can be the problem? I've a ATI X1300 graphics card.video=uvesafb:1400x1050-32,mtrr:3,ywrap
There's a typo in your kernel line. Arguments to video should look like:gerardo wrote:I can't seem to get this working.
It always takes on a resolution of 640x480-8
What's wrong?
I find something strange in dmesg:Note: the vga16fb has nothing to do with it. It doesn't make a difference...Code: Select all
sysctl table check failed: /kernel/fbcondecor .1.77 Unknown sysctl binary path Pid: 1, comm: swapper Not tainted 2.6.24-rc3-zen4 #1 Call Trace: [<ffffffff8024ba70>] set_fail+0x3f/0x47 [<ffffffff8024bf1e>] sysctl_check_table+0x4a6/0x4f3 [<ffffffff8024ba22>] sysctl_check_lookup+0xc1/0xd0 [<ffffffff8024bf34>] sysctl_check_table+0x4bc/0x4f3 [<ffffffff805ccbc0>] sysctl_init+0x1e/0x22 [<ffffffff805be636>] kernel_init+0x171/0x2dd [<ffffffff8048c11a>] _spin_unlock_irq+0x15/0x30 [<ffffffff8022ffb3>] finish_task_switch+0x2b/0xc2 [<ffffffff8020cde8>] child_rip+0xa/0x12 [<ffffffff805be4c5>] kernel_init+0x0/0x2dd [<ffffffff8020cdde>] child_rip+0x0/0x12 ... Linux agpgart interface v0.102 uvesafb: NVIDIA Corporation, G73 Board - p501h0 , Chip Rev , OEM: NVIDIA, VBE v3.0 uvesafb: VBIOS/hardware doesn't support DDC transfers uvesafb: no monitor limits have been set, default refresh rate will be used uvesafb: scrolling: redraw Console: switching to colour frame buffer device 80x30 uvesafb: framebuffer at 0xd0000000, mapped to 0xffffc20010100000, using 10240k, total 262144k fb0: VESA VGA frame buffer device vga16fb: initializing vga16fb: mapped to 0xffff8100000a0000 fb1: VGA16 VGA frame buffer device
Here's my grub-section: (I tried with or without the initrd and with 1280x1024-16)Code: Select all
... kernel /kernel-genkernel-x86_64-2.6.24-rc3-zen4 real_root=/dev/sda6 irqpoll udev video=uvesafb:1280x1024-32:mtrr:3,ywrap splash=silent,theme:gentoo-burn CONSOLE=/dev/tty1 quiet fbcon=scrollback:128K ...
Code: Select all
video=uvesafb:1280x1024-32,mtrr:4,ywrap,ypanCode: Select all
# configure the kernel; in the "Device Drivers" section select:
Connector - unified userspace <-> kernelspace linker and
Graphics support ---> Userspace VESA VGA graphics support
(that's CONFIG_CONNECTOR=y and CONFIG_FB_UVESA=y)
# reconfigure your kernel; in the "General Setup" section select:
Initial RAM filesystem and RAM disk (initramfs/initrd) support
and use /usr/share/v86d/initramfs in Initramfs source file(s).
(that's CONFIG_INITRAMFS_SOURCE="/usr/share/v86d/initramfs") 
Code: Select all
$ dmesg | grep vesa
Kernel command line: root=/dev/sda1 rootdelay=6 video=uvesafb:1024x768-16@60,mtrr:3,ywrap
uvesafb: (C) 1988-2003, ATI Technologies Inc. M26-P01.00, M26-P01.00, 01.00, OEM: ATI ATOMBIOS(C) 1988-2003, ATI Technologies Inc. M26-P01.00, VBE v3.0
uvesafb: protected mode interface info at c000:ae6c
uvesafb: pmi: set display start = c00caefa, set palette = c00caf3a
uvesafb: VBIOS/hardware supports DDC2 transfers
uvesafb: monitor limits: vf = 60 Hz, hf = 49 kHz, clk = 68 MHz
uvesafb: scrolling: ywrap using protected mode interface, yres_virtual=1536
uvesafb: framebuffer at 0xc0000000, mapped to 0xf8880000, using 6144k, total 16384kCode: Select all
# cat /sys/bus/platform/drivers/uvesafb/uvesafb.0/vbe_modes
640x400-8, 0x0100
640x480-8, 0x0101
800x600-8, 0x0103
1024x768-8, 0x0105
640x480-15, 0x0110
640x480-16, 0x0111
640x480-32, 0x0112
800x600-15, 0x0113
800x600-16, 0x0114
800x600-32, 0x0115
1024x768-15, 0x0116
1024x768-16, 0x0117
1024x768-32, 0x0118
320x200-15, 0x010d
320x200-16, 0x010e
320x200-32, 0x010f
320x200-32, 0x0120
320x240-8, 0x0193
320x240-15, 0x0194
320x240-16, 0x0195
320x240-32, 0x0196
512x384-8, 0x01b3
512x384-15, 0x01b4
512x384-16, 0x01b5
512x384-32, 0x01b6
640x350-8, 0x01c3
640x350-15, 0x01c4
640x350-16, 0x01c5
640x350-32, 0x01c6
640x400-8, 0x0183
640x400-15, 0x0184
640x400-16, 0x0185
640x400-32, 0x0186
720x400-8, 0x0133
720x400-15, 0x0134
720x400-16, 0x0135
720x400-32, 0x0136
640x480-32, 0x0121
800x600-32, 0x0122
1024x768-32, 0x0123
640x400-8, 0x0183
640x400-15, 0x0184
640x400-16, 0x0185
640x400-32, 0x0186Code: Select all
Additionally, the following parameters may be provided. They all override the
EDID-provided values and BIOS defaults. Refer to your monitor's specs to get
the correct values for maxhf, maxvf and maxclk for your hardware.
maxhf:n Maximum horizontal frequency (in kHz).
maxvf:n Maximum vertical frequency (in Hz).
maxclk:n Maximum pixel clock (in MHz).Code: Select all
video=uvesafb:1024x768-32,mtrr:3,ywrap,maxvf:60
Code: Select all
$ dmesg | grep vesa
Kernel command line: root=/dev/sda1 rootdelay=6 video=uvesafb:1024x768-16,mtrr:3,ywrap
uvesafb: (C) 1988-2003, ATI Technologies Inc. M26-P01.00, M26-P01.00, 01.00, OEM: ATI ATOMBIOS(C) 1988-2003, ATI Technologies Inc. M26-P01.00, VBE v3.0
uvesafb: protected mode interface info at c000:ae6c
uvesafb: pmi: set display start = c00caefa, set palette = c00caf3a
uvesafb: VBIOS/hardware supports DDC2 transfers
uvesafb: monitor limits: vf = 60 Hz, hf = 49 kHz, clk = 68 MHz
uvesafb: scrolling: ywrap using protected mode interface, yres_virtual=3072
uvesafb: framebuffer at 0xc0000000, mapped to 0xf8880000, using 6144k, total 16384kCode: Select all
$ dmesg | grep vesa
Kernel command line: root=/dev/sda1 rootdelay=6 video=uvesafb:1280x800-16
uvesafb: (C) 1988-2003, ATI Technologies Inc. M26-P01.00, M26-P01.00, 01.00, OEM: ATI ATOMBIOS(C) 1988-2003, ATI Technologies Inc. M26-P01.00, VBE v3.0
uvesafb: protected mode interface info at c000:ae6c
uvesafb: pmi: set display start = c00caefa, set palette = c00caf3a
uvesafb: VBIOS/hardware supports DDC2 transfers
uvesafb: monitor limits: vf = 60 Hz, hf = 49 kHz, clk = 68 MHz
uvesafb: scrolling: ypan using protected mode interface, yres_virtual=9830
uvesafb: framebuffer at 0xc0000000, mapped to 0xf8880000, using 6144k, total 16384kCode: Select all
# Graphics support
CONFIG_BACKLIGHT_LCD_SUPPORT=y
CONFIG_LCD_CLASS_DEVICE=m
CONFIG_BACKLIGHT_CLASS_DEVICE=y
CONFIG_BACKLIGHT_PROGEAR=m
# Display device support
CONFIG_DISPLAY_SUPPORT=y
# Display hardware drivers
CONFIG_VGASTATE=m
CONFIG_VIDEO_OUTPUT_CONTROL=m
CONFIG_FB=y
CONFIG_FIRMWARE_EDID=y
CONFIG_FB_DDC=m
CONFIG_FB_CFB_FILLRECT=y
CONFIG_FB_CFB_COPYAREA=y
CONFIG_FB_CFB_IMAGEBLIT=y
CONFIG_FB_SYS_FILLRECT=m
CONFIG_FB_SYS_COPYAREA=m
CONFIG_FB_SYS_IMAGEBLIT=m
CONFIG_FB_SYS_FOPS=m
CONFIG_FB_DEFERRED_IO=y
CONFIG_FB_BACKLIGHT=y
CONFIG_FB_MODE_HELPERS=y
# Frame buffer hardware drivers
CONFIG_FB_VGA16=m
CONFIG_FB_UVESA=y
CONFIG_FB_RADEON=m
CONFIG_FB_RADEON_I2C=y
CONFIG_FB_RADEON_BACKLIGHT=y
# Console display driver support
CONFIG_VGA_CONSOLE=y
CONFIG_VGACON_SOFT_SCROLLBACK=y
CONFIG_VGACON_SOFT_SCROLLBACK_SIZE=256
CONFIG_VIDEO_SELECT=y
CONFIG_DUMMY_CONSOLE=y
CONFIG_FRAMEBUFFER_CONSOLE=y
CONFIG_FRAMEBUFFER_CONSOLE_ROTATION=y
CONFIG_FB_CON_DECOR=y
CONFIG_FONTS=y
CONFIG_FONT_8x8=y
CONFIG_FONT_8x16=y
CONFIG_FONT_6x11=y
CONFIG_FONT_7x14=y
CONFIG_FONT_PEARL_8x8=y
CONFIG_FONT_ACORN_8x8=y
CONFIG_FONT_MINI_4x6=y
CONFIG_FONT_SUN8x16=y
CONFIG_FONT_SUN12x22=y
CONFIG_FONT_10x18=y
Code: Select all
kernel /boot/kernel-2.6.23-gentoo-r3 root=/dev/sda2 video=uvesafb:1024x768-32,ywrap,mtrr:3Code: Select all
kernel /boot/kernel-2.6.23-gentoo-r3 root=/dev/sda2 video=uvesafb:1024x768-32,ywrap,mtrr:3 splash=silent,theme:livecd-2007.0 quiet CONSOLE=/dev/tty1
initrd /boot/fbsplash-livecd-2007.0-1024x768Code: Select all
grep -A2 -B2 vesa /var/log/dmesg
Code: Select all
Allocating PCI resources starting at 50000000 (gap: 40000000:a0000000)
Built 1 zonelists in Zone order. Total pages: 259715
Kernel command line: root=/dev/sda1 rootdelay=6 video=uvesafb:1280x800-16,mtrr:3,ywrap
mapped APIC to ffffb000 (fee00000)
mapped IOAPIC to ffffa000 (fec00000)
--
Hangcheck: starting hangcheck timer 0.9.0 (tick is 180 seconds, margin is 60 seconds).
Hangcheck: Using get_cycles().
uvesafb: (C) 1988-2003, ATI Technologies Inc. M26-P01.00, M26-P01.00, 01.00, OEM: ATI ATOMBIOS(C) 1988-2003, ATI Technologies Inc. M26-P01.00, VBE v3.0
uvesafb: protected mode interface info at c000:ae6c
uvesafb: pmi: set display start = c00caefa, set palette = c00caf3a
uvesafb: VBIOS/hardware supports DDC2 transfers
uvesafb: monitor limits: vf = 60 Hz, hf = 49 kHz, clk = 68 MHz
uvesafb: scrolling: ywrap using protected mode interface, yres_virtual=9830
uvesafb: mode switch failed (eax=0x34f, err=0). Trying again with default timings.
uvesafb: mode switch failed (eax=0x34f, err=0). Trying again with default timings.
Switched to high resolution mode on CPU 0
Console: switching to colour frame buffer device 80x30
uvesafb: mode switch failed (eax=0x34f, err=0). Trying again with default timings.
uvesafb: framebuffer at 0xc0000000, mapped to 0xf8880000, using 6144k, total 16384k
fb0: VESA VGA frame buffer device
ACPI: AC Adapter [ACAD] (on-line)