LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 05-25-2004, 03:24 PM   #1
MikeyCarter
Member
 
Registered: Feb 2003
Location: Orangeville
Distribution: Fedora
Posts: 492

Rep: Reputation: 31
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?
 
Old 05-25-2004, 06:04 PM   #2
fsbooks
Member
 
Registered: Jan 2002
Location: Missoula. Montana, USA
Distribution: Slackware (various)
Posts: 464

Rep: Reputation: 52
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.
 
Old 05-25-2004, 09:24 PM   #3
MikeyCarter
Member
 
Registered: Feb 2003
Location: Orangeville
Distribution: Fedora
Posts: 492

Original Poster
Rep: Reputation: 31
Latest Kernel (2.6.5-1.358) and latest Win4Lin 5.0
 
Old 05-26-2004, 01:52 PM   #4
fsbooks
Member
 
Registered: Jan 2002
Location: Missoula. Montana, USA
Distribution: Slackware (various)
Posts: 464

Rep: Reputation: 52
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 :-)!
 
Old 05-26-2004, 02:03 PM   #5
MikeyCarter
Member
 
Registered: Feb 2003
Location: Orangeville
Distribution: Fedora
Posts: 492

Original Poster
Rep: Reputation: 31
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
 
Old 05-29-2004, 06:44 AM   #6
EOvermeer
LQ Newbie
 
Registered: May 2003
Posts: 4

Rep: Reputation: 0
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
 
Old 06-24-2004, 08:40 PM   #7
knedlyk
LQ Newbie
 
Registered: Jun 2004
Posts: 4

Rep: Reputation: 0
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

Last edited by knedlyk; 06-24-2004 at 10:46 PM.
 
Old 06-25-2004, 09:13 AM   #8
knedlyk
LQ Newbie
 
Registered: Jun 2004
Posts: 4

Rep: Reputation: 0
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.

Last edited by knedlyk; 06-25-2004 at 10:41 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Fedora Patched kernel for Win4Lin ekp Fedora 2 03-28-2005 07:17 AM
Fedora 2 ...Win4lin patches ekp Fedora 0 09-20-2004 07:16 AM
Fedora Core 2 and Lexmark Printer (FC2) goldennuggets Linux - Hardware 0 09-12-2004 08:19 PM
FC2 + Win4Lin 5.0 dialup problem Network Device Control AND KPPP hosed alizard Fedora - Installation 0 08-17-2004 01:05 AM
fedora core 2 (FC2) freezes while running. Cannot boot into KDE it freezes mraswan Fedora 0 05-25-2004 07:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 11:21 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration