Question about unifiedkernel.ko

Discuss Linux Unified Kernel project in English

版主: Jeff91, linooxlee, Dekar

Question about unifiedkernel.ko

帖子d3v1ous 于 2010-06-27 4:51

Hello,

i have sucessfully patched kernel with longene-0.3.0-linux-2.6.34.diff. I'm using linux-2.6.34. My distro is Ubuntu 10.04 LTS and im using kernel-pkg to build deb package and install my kernel.

Everything is fine, but i can't understand what you mean with this:

Enter the top directory of Longene module, and compile:

# make


What is the top directory of longene module? Im now here:

代码: 全选
root@d3v1ous-desktop:/usr/src/linux-2.6.34# ls
arch                          crypto         include  lib                              modules.builtin  samples     usr
AUTHORS                       debian         init     longene-0.3.0-linux-2.6.34.diff  modules.order    scripts     virt
block                         Documentation  INSTALL  MAINTAINERS                      Module.symvers   security    vmlinux
config-2.6.32-22-generic-pae  drivers        ipc      Makefile                         net              sound       vmlinux.o
COPYING                       firmware       Kbuild   mm                               README           System.map  wine-1.0-longene
CREDITS                       fs             kernel   module                           REPORTING-BUGS   tools
root@d3v1ous-desktop:/usr/src/linux-2.6.34#


I have jumped to wine-1.0-longene and use follow commands:

代码: 全选
./configure
make depend && make
make install


But i read this is for Wine application. My problem is kernel module. I just don't know how to build it.

Can somebody help me? Thanks
d3v1ous
 
帖子: 10
注册: 2010-06-27 4:41

Re: Question about unifiedkernel.ko

帖子linooxlee 于 2010-06-27 10:51

After you unpack longene-0.3.0-linux-2.6.34.tar.bz2 which you download from longene.org, you can find a folder named "module". Enter into the folder and you are at the top directory of longene module now.
linooxlee
 
帖子: 181
注册: 2008-10-09 14:49

Re: Question about unifiedkernel.ko

帖子d3v1ous 于 2010-06-27 14:34

Thanks you, i have success with the module, now it is loaded. Next step is trying to open some executables:

代码: 全选
wine: could not exec wine-pthread


This is the error what i received. Google say, wine bug. What you think? Can i fix it?
d3v1ous
 
帖子: 10
注册: 2010-06-27 4:41

Re: Question about unifiedkernel.ko

帖子d3v1ous 于 2010-06-27 17:06

If i try to start from wine-pthread i receive this error:

代码: 全选
d3v1ous@d3v1ous-desktop:~$ wine-pthread Desktop/TeamViewer_Setup.exe
wine: failed to initialize: /usr/local/lib/wine/ntdll.dll.so: undefined symbol: __wine_process_init
d3v1ous
 
帖子: 10
注册: 2010-06-27 4:41

Re: Question about unifiedkernel.ko

帖子linooxlee 于 2010-06-27 17:22

Non-root user support. The issue will be resolved in sort term. http://www.longene.org/en/todo_list.php

You have to run apps as root user.
linooxlee
 
帖子: 181
注册: 2008-10-09 14:49

Re: Question about unifiedkernel.ko

帖子d3v1ous 于 2010-06-27 17:32

I don't think so

same error as root user:

代码: 全选
root@d3v1ous-desktop:~# wine-pthread /media/Data/Games/CS/hl.exe
wine: failed to initialize: /usr/local/lib/wine/ntdll.dll.so: undefined symbol: __wine_process_init
root@d3v1ous-desktop:~#
d3v1ous
 
帖子: 10
注册: 2010-06-27 4:41

Re: Question about unifiedkernel.ko

帖子byebye 于 2010-06-28 9:52

run app like:
./helloworld.exe
头像
byebye
 
帖子: 504
注册: 2008-10-09 10:10

Re: Question about unifiedkernel.ko

帖子zxbeef 于 2010-06-28 9:52

d3v1ous 写道:I don't think so

same error as root user:

代码: 全选
root@d3v1ous-desktop:~# wine-pthread /media/Data/Games/CS/hl.exe
wine: failed to initialize: /usr/local/lib/wine/ntdll.dll.so: undefined symbol: __wine_process_init
root@d3v1ous-desktop:~#

run the application like this:
代码: 全选
# ./media/Data/Games/CS/hl.exe
zxbeef
 
帖子: 487
注册: 2009-03-04 14:33

Re: Question about unifiedkernel.ko

帖子d3v1ous 于 2010-06-29 4:22

代码: 全选
root@d3v1ous-desktop:~# ./media/Data/Games/CS/hl.exe
bash: ./media/Data/Games/CS/hl.exe: No such file or directory
root@d3v1ous-desktop:~# cd /media/Data/Games/CS/
root@d3v1ous-desktop:/media/Data/Games/CS# ./hl.exe
run-detectors: unable to find an interpreter for ./hl.exe
root@d3v1ous-desktop:/media/Data/Games/CS#
d3v1ous
 
帖子: 10
注册: 2010-06-27 4:41

Re: Question about unifiedkernel.ko

帖子byebye 于 2010-06-29 9:20

run
uname -r
lsmod | grep unifiedkernel
wine --version

it should be:
2.6.34-longene
unifiedkernel
wine-1.0-longene
头像
byebye
 
帖子: 504
注册: 2008-10-09 10:10

下一页

回到 English

在线用户

正在浏览此版面的用户:没有注册用户 和 1 位游客