[Users] ok

Soldatov Dmitry dvorkin at tvcom.ru
Thu Oct 19 07:12:51 EDT 2006


but i need to have a quick solution. if i'd have more time - i would bay 
a support, but i have not time at all now.
i'm sorry for flooding. may be i'm wrong... sorry.
let's see what i'm doing...
root at hosting stab2]# ls -1
kernel-2.6.9-023stab030-i686.config.ovz
kernel-2.6.9-023stab030-i686-enterprise.config.ovz
kernel-2.6.9-023stab030-i686-entnosplit.config.ovz
kernel-2.6.9-023stab030-i686-smp.config.ovz
kernel-2.6.9-023stab030-ia64.config.ovz
kernel-2.6.9-023stab030-x86_64.config.ovz
kernel-2.6.9-023stab030-x86_64-smp.config.ovz
kernel-ovz.spec
ovzkernel-2.6.9-023stab030.1.i686.rpm
ovzkernel-2.6.9-023stab030.1.src.rpm
ovzkernel-2.6.9-023stab030.1.x86_64.rpm
ovzkernel-enterprise-2.6.9-023stab030.1.i686.rpm
ovzkernel-smp-2.6.9-023stab030.1.i686.rpm
ovzkernel-smp-2.6.9-023stab030.1.x86_64.rpm
patch-023stab030-combined.gz

[root at hosting stab2]# /usr/share/mc/extfs/rpm run 
/root/work/OpenVZ/kernel/stab2/ovzkernel-2.6.9-023stab030.1.src.rpm INSTALL
Installing 
""'/root/work/OpenVZ/kernel/stab2/ovzkernel-2.6.9-023stab030.1.src.rpm'""
   1:ovzkernel              ########################################### 
[100%]

cd to /usr/src/RPM/SPECS, then
[root at hosting SPECS]# rpmbuild -ba ./kernel-ovz.spec
(...a lot of messages about patching, making...)
+ echo BUILDING A KERNEL FOR x86_64...
BUILDING A KERNEL FOR x86_64...
+ make -s mrproper
+ cp configs/kernel-2.6.9-023stab030-x86_64.config.ovz .config
...
+ make ARCH=x86_64 -s nonint_oldconfig
+ make ARCH=x86_64 -s nonint_oldconfig
+ make -s include/linux/version.h
  CHK     include/linux/version.h
  UPD     include/linux/version.h
+ make ARCH=x86_64 -s -j4 bzImage
  CHK     include/linux/version.h
  SYMLINK include/asm -> include/asm-x86_64
  SPLIT   include/linux/autoconf.h -> include/config/*
  CHK     include/asm-x86_64/offset.h
  UPD     include/asm-x86_64/offset.h
arch/x86_64/kernel/process.c:57: warning: conflicting types for built-in 
function ‘execve’
In file included from include/linux/security.h:34,
                 from init/main.c:36:
include/linux/skbuff.h: In function ‘skb_add_data’:
include/linux/skbuff.h:1023: warning: pointer targets in passing 
argument 2 of ‘csum_partial_copy_from_user’ differ in signedness
In file included from include/linux/unistd.h:9,
                 from init/main.c:45:
include/asm/unistd.h: At top level:
include/asm/unistd.h:766: warning: conflicting types for built-in 
function ‘execve’
init/main.c: In function ‘maxcpus’:
init/main.c:163: warning: pointer targets in passing argument 2 of 
‘get_option’differ in signedness
  CHK     include/linux/compile.h
  UPD     include/linux/compile.h
In file included from include/linux/security.h:34,
                 from init/do_mounts.c:8:
include/linux/skbuff.h: In function ‘skb_add_data’:
include/linux/skbuff.h:1023: warning: pointer targets in passing 
argument 2 of ‘csum_partial_copy_from_user’ differ in signedness
arch/x86_64/kernel/signal.c: In function ‘sys_rt_sigreturn’:
arch/x86_64/kernel/signal.c:174: warning: pointer targets in passing 
argument 3of ‘restore_sigcontext’ differ in signedness
In file included from include/linux/if_ether.h:107,
                 from include/linux/netdevice.h:29,
                 from include/net/sock.h:48,
                 from arch/x86_64/ia32/sys_ia32.c:73:
include/linux/skbuff.h: In function ‘skb_add_data’:
include/linux/skbuff.h:1023: warning: pointer targets in passing 
argument 2 of ‘csum_partial_copy_from_user’ differ in signedness
init/do_mounts_rd.c: In function ‘identify_ramdisk_image’:
init/do_mounts_rd.c:73: warning: pointer targets in passing argument 2 
of ‘sys_read’ differ in signedness
init/do_mounts_rd.c:108: warning: pointer targets in passing argument 2 
of ‘sys_read’ differ in signedness
init/do_mounts_rd.c: In function ‘fill_inbuf’:
init/do_mounts_rd.c:351: warning: pointer targets in passing argument 2 
of ‘sys_read’ differ in signedness
init/do_mounts_rd.c: In function ‘flush_window’:
init/do_mounts_rd.c:372: warning: pointer targets in passing argument 2 
of ‘sys_write’ differ in signedness
In file included from include/linux/unistd.h:9,
                 from init/do_mounts_initrd.c:2:
include/asm/unistd.h:766: warning: conflicting types for built-in 
function ‘execve’
arch/x86_64/kernel/traps.c: In function ‘printk_address’:
arch/x86_64/kernel/traps.c:107: warning: ‘return’ with a value, in 
function returning void
In file included from include/linux/if_ether.h:107,
                 from include/linux/netdevice.h:29,
                 from include/linux/if_bridge.h:105,
                 from fs/compat_ioctl.c:24,
                 from arch/x86_64/ia32/ia32_ioctl.c:14:
include/linux/skbuff.h: In function ‘skb_add_data’:
include/linux/skbuff.h:1023: warning: pointer targets in passing 
argument 2 of ‘csum_partial_copy_from_user’ differ in signedness
In file included from fs/compat_ioctl.c:71,
                 from arch/x86_64/ia32/ia32_ioctl.c:14:
include/linux/i2c.h: At top level:
include/linux/i2c.h:58: error: array type has incomplete element type
include/linux/i2c.h:205: error: array type has incomplete element type
In file included from include/linux/security.h:34,
                 from arch/x86_64/kernel/ptrace.c:18:
include/linux/skbuff.h: In function ‘skb_add_data’:
include/linux/skbuff.h:1023: warning: pointer targets in passing 
argument 2 of ‘csum_partial_copy_from_user’ differ in signedness
make[1]: *** [arch/x86_64/ia32/ia32_ioctl.o] Error 1
make: *** [arch/x86_64/ia32] Error 2
make: *** Waiting for unfinished jobs....

[root at hosting SPECS]# gcc --version
gcc (GCC) 4.0.1 (4.0.1-5mdk for Mandriva Linux release 2006.0)

is is Mandriva PowerPack 2006


Dmitry Mishin wrote:

>>ovzkernel-023stab030.1-smp.img is better - it trying to start, but can't
>>find my AIC9410 (RadHat adp94xx driver).
>>i'm trying to rebuild it (from src.rpm) with my own driver, but there
>>too many warnings and error in compilation, that i can't fix by
>>myself... :( did you checked it before uploading to openvz.org?
>>    
>>
>As you can see, we also provide .x86_64 rpms. So, somehow we've built them.
>If you couldn't do something, this is not a reason to think, that nodody 
>could. If you think, that there is something really wrong, please, fill the 
>bug at bugzilla.openvz.org with all necessary info how to reproduce it.
>And, please, stop flooding with small and senseless letters.
>
>  
>
>>my arch is x86_64, i have SMP with dual-core Xeons
>>
>>Soldatov Dmitry wrote:
>>    
>>
>>>adp94xx included in latest development version is not working. i have
>>>AIC9410 SAS/SATA working (with my own changes) in my own build of the
>>>Mandriva 2.6.16 kernel, but fEdora's patch for adp94xx can't find my
>>>root filesystem and mount any devices.
>>>
>>>Thorsten Schifferdecker wrote:
>>>      
>>>
>>>>Hi,
>>>>
>>>>Soldatov Dmitry schrieb:
>>>>        
>>>>
>>>>>i'm trying to use ovzkernel-2.6.8-022stab078.21.src.rpm and
>>>>>ovzkernel-smp-2.6.8-022stab078.21.x86_64.rpm, but they going to some
>>>>>Frame Buffer video mode and simply reboots just after the GRUB
>>>>>invocation... I tryed to invoke with "vga=ask", but it don't helps.
>>>>>all Mandriva & Redora works good.
>>>>>can anybody say, what's going on?
>>>>>
>>>>>sorry for my english
>>>>>          
>>>>>
>>>>The ovz-kernel haven't enabled the Framebuffer DEVICE in their
>>>>kernel-config ...
>>>>
>>>>Show Framebuffer (CONFIG_FB) in the kernel-config of Mandriva and
>>>>Fedora :
>>>>
>>>># grep CONFIG_FB <kernel_config_of_mandriva_or_fedora>
>>>>
>>>>and enable it , like "make menuconfig" , in your ovzkernel-config and
>>>>reBuild your kernel!
>>>>
>>>>Regards,
>>>>Thorsten
>>>>_______________________________________________
>>>>Users mailing list
>>>>Users at openvz.org
>>>>https://openvz.org/mailman/listinfo/users
>>>>        
>>>>
>
>  
>


-- 
Солдатов Дмитрий
Ведущий специалист НИОКР
ОАО "ТелеNet"
Тел.: +7(4822)456784
E-mail: dvorkin at tvcom.ru



More information about the Users mailing list