Daniel Pittman | 3 Sep 2007 08:38
Gravatar

OpenVZ CentOS 5 kernel (2.6.18-8.1.8.el5.028stab039.1) and squashfs

G'day.  I am wanting to mount squashfs files from a local image file
within a VE.

The RHEL 5 kernel tree ships with the squashfs module but I don't seem
to be able to access that from within the VE.  

Is it actually possible to mount squashfs within the VE?

If so what magic do I need to do so that becomes possible?

Regards,
        Daniel
--

-- 
Daniel Pittman <daniel@...>           Phone: 03 9621 2377
Level 4, 10 Queen St, Melbourne             Web: http://www.cyber.com.au
Cybersource: Australia's Leading Linux and Open Source Solutions Company
Albert Czarnecki | 6 Sep 2007 08:36
Picon

Kernel 2.6.22-6 and patch-ovz002.1-combined.gz

Hi

I trying compiling kernel 2.6.22-6 and patch patch-ovz002.1-combined.gz

<http://download.openvz.org/kernel/branches/2.6.22/2.6.22-ovz002.1/patches//patch-ovz002.1-combined.gz> 
but I having some error

 CC [M]  kernel/cpt/cpt_dump.o
kernel/cpt/cpt_dump.c: In function 'check_process_external':
kernel/cpt/cpt_dump.c:129: error: 'struct pid' has no member named 'ns'
kernel/cpt/cpt_dump.c:131: error: 'struct pid' has no member named 'ns'
kernel/cpt/cpt_dump.c:133: error: 'struct pid' has no member named 'ns'
kernel/cpt/cpt_dump.c:171:31: error: macro "find_task_by_pid_ns" 
requires 2 arguments, but only 1 given
kernel/cpt/cpt_dump.c: In function 'vps_stop_tasks':
kernel/cpt/cpt_dump.c:171: error: 'find_task_by_pid_ns' undeclared 
(first use in this function)
kernel/cpt/cpt_dump.c:171: error: (Each undeclared identifier is 
reported only once
kernel/cpt/cpt_dump.c:171: error: for each function it appears in.)
kernel/cpt/cpt_dump.c:184: warning: implicit declaration of function 
'virt_pid'
kernel/cpt/cpt_dump.c:199: warning: implicit declaration of function 
'process_vgroup'
kernel/cpt/cpt_dump.c:205: warning: implicit declaration of function 
'process_vsession'
kernel/cpt/cpt_dump.c:592:30: error: macro "find_task_by_pid_ns" 
requires 2 arguments, but only 1 given
kernel/cpt/cpt_dump.c: In function 'vps_collect_tasks':
kernel/cpt/cpt_dump.c:592: error: 'find_task_by_pid_ns' undeclared 
(Continue reading)

Kir Kolyshkin | 6 Sep 2007 11:17
Favicon

Re: Kernel 2.6.22-6 and patch-ovz002.1-combined.gz

2.6.22 ovz kernel is in early alpha, and chechpointing functionality is
not yet fully ported. For now, you have to deselect it if you want to
try compiling that kernel.

Also note the latest 2.6.22 patches can be found in git.openvz.org.

Albert Czarnecki wrote:
> Hi
>
> I trying compiling kernel 2.6.22-6 and patch
> patch-ovz002.1-combined.gz
> <http://download.openvz.org/kernel/branches/2.6.22/2.6.22-ovz002.1/patches//patch-ovz002.1-combined.gz>
> but I having some error
>
> CC [M]  kernel/cpt/cpt_dump.o
> kernel/cpt/cpt_dump.c: In function 'check_process_external':
> kernel/cpt/cpt_dump.c:129: error: 'struct pid' has no member named 'ns'
> kernel/cpt/cpt_dump.c:131: error: 'struct pid' has no member named 'ns'
> kernel/cpt/cpt_dump.c:133: error: 'struct pid' has no member named 'ns'
> kernel/cpt/cpt_dump.c:171:31: error: macro "find_task_by_pid_ns"
> requires 2 arguments, but only 1 given
> kernel/cpt/cpt_dump.c: In function 'vps_stop_tasks':
> kernel/cpt/cpt_dump.c:171: error: 'find_task_by_pid_ns' undeclared
> (first use in this function)
> kernel/cpt/cpt_dump.c:171: error: (Each undeclared identifier is
> reported only once
> kernel/cpt/cpt_dump.c:171: error: for each function it appears in.)
> kernel/cpt/cpt_dump.c:184: warning: implicit declaration of function
> 'virt_pid'
> kernel/cpt/cpt_dump.c:199: warning: implicit declaration of function
(Continue reading)

Albert Czarnecki | 6 Sep 2007 14:04
Picon

linux-2.6.22 from git.openvz.org

Hi

Now I trying compiling kernel from git.openvz.org but I have some error

 Building modules, stage 2.
  MODPOST 933 modules
WARNING: "wrmsr_on_cpu" 
[arch/i386/kernel/cpu/cpufreq/speedstep-centrino.ko] undefined!
WARNING: "rdmsr_on_cpu" 
[arch/i386/kernel/cpu/cpufreq/speedstep-centrino.ko] undefined!
WARNING: "wrmsr_on_cpu" [arch/i386/kernel/cpu/cpufreq/p4-clockmod.ko] 
undefined!
WARNING: "rdmsr_on_cpu" [arch/i386/kernel/cpu/cpufreq/p4-clockmod.ko] 
undefined!
make[2]: *** [__modpost] Błąd 1
make[1]: *** [modules] Błąd 2
make[1]: Opuszczenie katalogu `/usr/src/linux-2.6.20-openvz'
make: *** [debian/stamp-build-kernel] Błąd 2

Any ideas?

Albert
Kir Kolyshkin | 6 Sep 2007 15:31
Favicon

Re: linux-2.6.22 from git.openvz.org

Plz file a bug for that (to bugzilla.openvz.org), and attach your .config.

Albert Czarnecki wrote:
> Hi
>
> Now I trying compiling kernel from git.openvz.org but I have some error
>
> Building modules, stage 2.
>  MODPOST 933 modules
> WARNING: "wrmsr_on_cpu"
> [arch/i386/kernel/cpu/cpufreq/speedstep-centrino.ko] undefined!
> WARNING: "rdmsr_on_cpu"
> [arch/i386/kernel/cpu/cpufreq/speedstep-centrino.ko] undefined!
> WARNING: "wrmsr_on_cpu" [arch/i386/kernel/cpu/cpufreq/p4-clockmod.ko]
> undefined!
> WARNING: "rdmsr_on_cpu" [arch/i386/kernel/cpu/cpufreq/p4-clockmod.ko]
> undefined!
> make[2]: *** [__modpost] Błąd 1
> make[1]: *** [modules] Błąd 2
> make[1]: Opuszczenie katalogu `/usr/src/linux-2.6.20-openvz'
> make: *** [debian/stamp-build-kernel] Błąd 2
>
>
> Any ideas?
>
> Albert
> _______________________________________________
> Users mailing list
> Users@...
> https://openvz.org/mailman/listinfo/users
(Continue reading)

albert | 11 Sep 2007 20:27
Picon

linux-2.6.22-openvz from git.openvz.org

Hi

kernel compiling problem, kernel from git.openvz.org

  CC      drivers/net/veth.o
drivers/net/veth.c: In function 'veth_xmit':
drivers/net/veth.c:334: warning: implicit declaration of function 
'nf_conntrack_put'
drivers/net/veth.c:334: error: 'struct sk_buff' has no member named 'nfct'
drivers/net/veth.c:335: error: 'struct sk_buff' has no member named 'nfct'
make[3]: *** [drivers/net/veth.o] Błąd 1
make[2]: *** [drivers/net] Błąd 2
make[1]: *** [drivers] Błąd 2
make[1]: Opuszczenie katalogu `/opt/all/linux-2.6.22-openvz'
make: *** [debian/stamp-build-kernel] Błąd 2

Debian sys 4.0

Regards,

Albert Czarnecki
Jim Archer | 12 Sep 2007 07:46

Debian - Odd, hopefully minor, machine name / prompt issue

Hi All...

I just upgraded the kernel on my machine from:

actual:/home/jim/openvz/kernels# uname -a
Linux actual.registrationtek.com 2.6.18-openvz-12-1etch1-amd64 #1 SMP Fri 
May 4 23:37:24 MSD 2007 x86_64 GNU/Linux

To:

vps5000:~# uname -a
Linux vps5000.regtek.com 2.6.18-openvz-13-39.1d1-amd64 #1 SMP Mon Sep 3 
10:11:00 MSD 2007 x86_64 GNU/Linux

I did this because I have been having a memory consumption problem with 
Exim4 I was hoping to resolve.  I had been told that the Exim4 memory issue 
was a known issue and was fixed in later kernels.

Anyhow, I installed the new kernel using dpkg -i and it seems to install 
fine, with no warnings or errors.  It boots and runs fine, even iSCSI. 
But, the odd issue is that the machine name in the prompt is wrong.  As you 
can see from above, it went from:

actual#

To:

vps5000#

The name of the machine in /etc/hostname is actual and vps5000 is the 
(Continue reading)

Kir Kolyshkin | 12 Sep 2007 11:30
Favicon

Re: Debian - Odd, hopefully minor, machine name / prompt issue

Jim,

Can you run hostname on the host system and inside a couple of VEs? Do
they show the same or different hostnames?

Jim Archer wrote:
> Hi All...
>
> I just upgraded the kernel on my machine from:
>
> actual:/home/jim/openvz/kernels# uname -a
> Linux actual.registrationtek.com 2.6.18-openvz-12-1etch1-amd64 #1 SMP
> Fri May 4 23:37:24 MSD 2007 x86_64 GNU/Linux
>
> To:
>
> vps5000:~# uname -a
> Linux vps5000.regtek.com 2.6.18-openvz-13-39.1d1-amd64 #1 SMP Mon Sep
> 3 10:11:00 MSD 2007 x86_64 GNU/Linux
>
>
> I did this because I have been having a memory consumption problem
> with Exim4 I was hoping to resolve.  I had been told that the Exim4
> memory issue was a known issue and was fixed in later kernels.
>
> Anyhow, I installed the new kernel using dpkg -i and it seems to
> install fine, with no warnings or errors.  It boots and runs fine,
> even iSCSI. But, the odd issue is that the machine name in the prompt
> is wrong.  As you can see from above, it went from:
>
(Continue reading)

Fabio Di Bernardini | 12 Sep 2007 15:18
Picon
Picon
Favicon

Add template in contrib

I have created a template for CentoOS 4.5 with yum preinstalled i think
that it's useful on istallations without vzyum (debian or ubuntu).

How can i update and share it in http://openvz.org/download/template/cache/

--

-- 
Fabio Di Bernardini
Altraqua
Jim Archer | 12 Sep 2007 17:57

Re: Debian - Odd, hopefully minor, machine name / prompt issue

When logged into the main system:

vps5000:~# hostname
vps5000.regtek.com
vps5000:~# vzlist
      VEID      NPROC STATUS  IP_ADDR         HOSTNAME
       102         13 running 72.46.65.30     nsp4.registrationtek.com
       104         21 running 72.46.65.47     mail5.registrationtek.com
       105         22 running 72.46.65.48     whois.registrationtek.com
       106          4 running 72.46.65.54     gz.registrationtek.com
       107          7 running 72.46.65.34     squid.registrationtek.com
      1000          4 running 72.46.67.2      vps1000.regtek.com
      1001         39 running 72.46.67.3      vps1002.registrationtek.com
      1002         29 running 72.46.67.7      tocco.regtek.com
      1003         23 running 72.46.67.8      firstclass.regtek.com
      5000          4 running 72.46.65.254    vps5000.regtek.com
vps5000:~# vzctl enter 102
entered into VE 102
vps5000:/# hostname
vps5000.regtek.com
vps5000:/# exit
logout
exited from VE 102
vps5000:~# vzctl enter 104
entered into VE 104
vps5000:/# hostname
vps5000.regtek.com
vps5000:/# exit
logout
exited from VE 104
(Continue reading)


Gmane