LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   FC2 (Fedora Core 2) and Win4Lin (https://www.linuxquestions.org/questions/fedora-35/fc2-fedora-core-2-and-win4lin-185764/)

MikeyCarter 05-25-2004 03:24 PM

FC2 (Fedora Core 2) and Win4Lin
 
Does anyone have Win4lin working with the new FC2 (Fedora Core 2) Kernel?

I tried compiling it following win4lin's insructions but I get the following:

[root@blue-faerie patched-linux]# make dep clean bzImage modules 2>&1 | tee make.log
*** Warning: make dep is unnecessary now.
CLEAN init
CLEAN usr
CLEAN .tmp_versions
CLEAN include/asm-i386/asm_offsets.h
HOSTCC scripts/basic/fixdep
HOSTCC scripts/basic/split-include
HOSTCC scripts/basic/docproc
HOSTCC scripts/conmakehash
HOSTCC scripts/kallsyms
CC scripts/empty.o
HOSTCC scripts/mk_elfconfig
MKELF scripts/elfconfig.h
HOSTCC scripts/file2alias.o
HOSTCC scripts/modpost.o
HOSTCC scripts/sumversion.o
HOSTLD scripts/modpost
HOSTCC scripts/pnmtologo
HOSTCC scripts/bin2c
CC arch/i386/kernel/asm-offsets.s
CHK include/asm-i386/asm_offsets.h
UPD include/asm-i386/asm_offsets.h
CC init/main.o
CHK include/linux/compile.h
UPD include/linux/compile.h
CC init/version.o
CC init/do_mounts.o
CC init/do_mounts_rd.o
CC init/do_mounts_initrd.o
CC init/do_mounts_md.o
LD init/mounts.o
CC init/initramfs.o
LD init/built-in.o
HOSTCC usr/gen_init_cpio
CPIO usr/initramfs_data.cpio
GZIP usr/initramfs_data.cpio.gz
AS usr/initramfs_data.o
LD usr/built-in.o
CC arch/i386/kernel/process.o
CC arch/i386/kernel/semaphore.o
CC arch/i386/kernel/signal.o
AS arch/i386/kernel/entry.o
CC arch/i386/kernel/traps.o
CC arch/i386/kernel/irq.o
CC arch/i386/kernel/vm86.o
CC arch/i386/kernel/ptrace.o
CC arch/i386/kernel/i8259.o
CC arch/i386/kernel/ioport.o
CC arch/i386/kernel/ldt.o
CC arch/i386/kernel/setup.o
CC arch/i386/kernel/time.o
CC arch/i386/kernel/sys_i386.o
CC arch/i386/kernel/pci-dma.o
CC arch/i386/kernel/i386_ksyms.o
CC arch/i386/kernel/i387.o
CC arch/i386/kernel/dmi_scan.o
CC arch/i386/kernel/bootflag.o
CC arch/i386/kernel/doublefault.o
CC arch/i386/kernel/entry_trampoline.o
CC arch/i386/kernel/acpi/boot.o
CC arch/i386/kernel/acpi/sleep.o
AS arch/i386/kernel/acpi/wakeup.o
arch/i386/kernel/acpi/wakeup.S: Assembler messages:
arch/i386/kernel/acpi/wakeup.S:173: Error: attempt to move .org backwards
arch/i386/kernel/acpi/wakeup.S:176: Error: attempt to move .org backwards
arch/i386/kernel/acpi/wakeup.S:180: Error: attempt to move .org backwards
arch/i386/kernel/acpi/wakeup.o: Bad value
arch/i386/kernel/acpi/wakeup.S:306: FATAL: Can't write arch/i386/kernel/acpi/wakeup.o: Bad value
make[2]: *** [arch/i386/kernel/acpi/wakeup.o] Error 1
make[1]: *** [arch/i386/kernel/acpi] Error 2
make: *** [arch/i386/kernel] Error 2



Does anyone know how to fix or get around this?

fsbooks 05-25-2004 06:04 PM

I presume you are using a 2.6 kernel with FC2. Are you using win4lin version 5? I have read that version 4 does not work with the 2.6 kernel.

MikeyCarter 05-25-2004 09:24 PM

Latest Kernel (2.6.5-1.358) and latest Win4Lin 5.0

fsbooks 05-26-2004 01:52 PM

I'm still on 2.4 kernel, and win4lin 4. I am waiting to go to the 2.6 kernel until I can afford the win4lin upgrade to 5. I was just considering that you might be trying to use win4lin 4 with a 2.6 kernel. But at least we know that is not your problem :-)!

MikeyCarter 05-26-2004 02:03 PM

I don't even get as far as which win4lin I'm using. The problem is with the netraverse enabled kernel. They have a few pre-packaged 2.4 and 2.6.4 kernels. It rather use the kernel that is packaged with FC2 2.6.5

I tried compiling it manually this is where I'm getting the problems. I get errors in wakeup.S

EOvermeer 05-29-2004 06:44 AM

Same problem here with the wakeup.s error after changing the four HUNK FAILED patches exit.c, sched.c, thread_info.h and sched.h.

I thought my 4 manual patches are wrong but I checked them three times.

I have tried the FC 2.6.6-391 kernel and the default 2.6.5-1.358 kernel. Both kernels give compile errors.

The default 2.6.6 kernel from www.kernel.org is the only kernel without patch errors and compiles fine. But the Win4Lin installation crashed :(

Edwin

knedlyk 06-24-2004 08:40 PM

the same problem
 
I've got the same problem trying to apply patches manually using generic kernel form kernel.org. The problem was with wakeup.s. I also tried different compilers like gcc3.0.4 (taken from recommended by netraverse package netraverse-gcc) and gcc-3.3.3 and new one gcc3.4. Nothing can help.

If somebody is more or less succesful, please let me know!!!

Kernel compilation log while compling fedora core 2 kernel 2.6.7-1.141 (the same was with older kernel versions too)

arch/i386/kernel/acpi/wakeup.S: Assembler messages:
arch/i386/kernel/acpi/wakeup.S:173: Error: attempt to move .org backwards
arch/i386/kernel/acpi/wakeup.S:176: Error: attempt to move .org backwards
arch/i386/kernel/acpi/wakeup.S:180: Error: attempt to move .org backwards
arch/i386/kernel/acpi/wakeup.o: Bad value
arch/i386/kernel/acpi/wakeup.S:307: FATAL: Can't write arch/i386/kernel/acpi/wakeup.o: Bad value
make[2]: *** [arch/i386/kernel/acpi/wakeup.o] Error 1
make[1]: *** [arch/i386/kernel/acpi] Error 2
make: *** [arch/i386/kernel] Error 2

knedlyk 06-25-2004 09:13 AM

Solution?
 
Actually, I think I solved this problem.
I turned off in ACPI Sleep states (EXPERIMENTAL), ASUS/Medion Laptop Extras and Toshiba Laptop Extras. After that my compilation goes wlle without any significant errors. But I haven't tried new kernel yet.


All times are GMT -5. The time now is 06:47 AM.