See bugzilla:Netolish wrote:I still cannot build v86d.
Error: " You need to compile klibc against a kernel tree patched with uvesafb"
I don't think you read properly.Netolish wrote:Thank for advice but in gentoo-sources-2.6.23-r1 this patch is allready included
Is there any way we could do that, apart from waiting for upstream to fix it or deploying our own portage overlay?neiljw wrote:I don't think you read properly.Netolish wrote:Thank for advice but in gentoo-sources-2.6.23-r1 this patch is allready includedThe fault is in klibc which uses it's own vanilla sources. They are what need patching.
Code: Select all
~ $ objdump -d ./habbit_mind
90 xchg %rax, %rax
EB FD jmp $-3The easiest way would be to use an earlier version of klibc for the purpose of compiling v86d. Once it's compiled and installed, you can return to klibc-2.5.7-r1 if you wish.Habbit wrote:Is there any way we could do that, apart from waiting for upstream to fix it or deploying our own portage overlay?neiljw wrote:I don't think you read properly.Netolish wrote:Thank for advice but in gentoo-sources-2.6.23-r1 this patch is allready includedThe fault is in klibc which uses it's own vanilla sources. They are what need patching.
Code: Select all
[ 45.717114] uvesafb: (C) 1988-2003, ATI Technologies Inc. R48001.00, R48001.00, 01.00, OEM: ATI ATOMBIOS(C) 1988-2003, ATI Technologies Inc. R48001.00, VBE v3.0
[ 45.722731] uvesafb: VBIOS/hardware supports DDC2 transfers
[ 45.849854] uvesafb: monitor limits: vf = 75 Hz, hf = 83 kHz, clk = 150 MHz
[ 45.849986] uvesafb: scrolling: redraw
[ 45.853308] uvesafb: mode switch failed (eax=0x34f, err=0). Trying again with default timings.
[ 46.180019] Switched to high resolution mode on CPU 0
[ 46.264014] uvesafb: mode switch failed (eax=0x34f, err=0). Trying again with default timings.
[ 46.918671] Console: switching to colour frame buffer device 128x48
[ 46.918708] uvesafb: mode switch failed (eax=0x34f, err=0). Trying again with default timings.
[ 47.573394] uvesafb: framebuffer at 0xe0000000, mapped to 0xffffc20010100000, using 16384k, total 16384k
[ 47.573397] fb0: VESA VGA frame buffer deviceCode: Select all
root (hd0,0)
kernel /kernel-gentoo-last root=/dev/sdb6 video=uvesafb:1024x768-32
initrd /gentoo-initramfs.gzCode: Select all
~ $ objdump -d ./habbit_mind
90 xchg %rax, %rax
EB FD jmp $-3Code: 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
Code: Select all
#
# Graphics Support
#
CONFIG_FB=y
CONFIG_FIRMWARE_EDID=y
...
#
# Frame buffere hardware drivers
#
CONFIG_FB_UVESA=m
...
#
# Console display driver support
#
CONFIG_VIDEO_SELECT=y
CONFIG_FRAMEBUFFER_CONSOLE=y
CONFIG_FB_CON_DECOR=y
Yep klibc compiled against patched and compiled kernel, which then allowed me to compiled v86d properly. Also copied the v86d binary into my initramfs. Didn't use the provided initramfs though. I'll try that later today to see if that changes anything.neiljw wrote:Have you followed Spock's HowTo? Have you installed v86d?
The way I do it is to load v86d in the kernel.justcme wrote:Yep klibc compiled against patched and compiled kernel, which then allowed me to compiled v86d properly. Also copied the v86d binary into my initramfs. Didn't use the provided initramfs though. I'll try that later today to see if that changes anything.neiljw wrote:Have you followed Spock's HowTo? Have you installed v86d?
Apart from that I can't think of anything else I've deviated from.
What do you mean by "load v86d in the kernel"? How would I go about doing that?neiljw wrote:The way I do it is to load v86d in the kernel.justcme wrote:Yep klibc compiled against patched and compiled kernel, which then allowed me to compiled v86d properly. Also copied the v86d binary into my initramfs. Didn't use the provided initramfs though. I'll try that later today to see if that changes anything.neiljw wrote:Have you followed Spock's HowTo? Have you installed v86d?
Apart from that I can't think of anything else I've deviated from.
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'.
*
Code: Select all
CRC-CCITT functions (CRC_CCITT) [N/m/y/?] n
CRC16 functions (CRC16) [N/m/y/?] n
CRC ITU-T V.41 functions (CRC_ITU_T) [N/m/y/?] n
CRC32 functions (CRC32) [Y/?] y
CRC7 functions (CRC7) [N/m/y/?] n
CRC32c (Castagnoli, et al) Cyclic Redundancy-Check (LIBCRC32C) [N/m/y/?] n
#
# configuration written to .config
#
scripts/kconfig/conf -s arch/x86/Kconfig.i386
CHK include/linux/version.h
UPD include/linux/version.h
CHK include/linux/utsrelease.h
UPD include/linux/utsrelease.h
SYMLINK include/asm -> include/asm-x86
CC arch/x86/kernel/asm-offsets.s
GEN include/asm-x86/asm-offsets.h
CALL scripts/checksyscalls.sh
defconfig has changed, please remove or edit .config
make: *** [.config] Fehler 1
*
* ERROR: dev-libs/klibc-1.5.7-r2 failed.
* Call stack:
* ebuild.sh, line 1762: Called dyn_compile
* ebuild.sh, line 891: Called qa_call 'src_compile'
* ebuild.sh, line 35: Called src_compile
* environment, line 2144: 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} || diefunc "$FUNCNAME" "$LINENO" "$?" "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 '/var/tmp/portage/dev-libs/klibc-1.5.7-r2/temp/build.log'.
*
Some have:uzz75 wrote:I can use good video=uvesafb:1680x1050-32 but i have problem with F2 key.
it don't work, if i want to see the init status i need to press ALT+F1 and after it's impossible to came back to splash.
Some one have the same problem ?
Code: Select all
ronmon@maxx $ dmesg | grep uvesafb
uvesafb: NVIDIA Corporation, G70 Board - p317h2 , Chip Rev , OEM: NVIDIA, VBE v3.0
uvesafb: VBIOS/hardware supports DDC2 transfers
uvesafb: monitor limits: vf = 75 Hz, hf = 81 kHz, clk = 170 MHz
uvesafb: scrolling: redraw
uvesafb: framebuffer at 0xd0000000, mapped to 0xffffc20010100000, using 10240k, total 262144k