Discussion:
Regarding creating a LXC container in fedora 17
(too old to reply)
Ajith Adapa
2013-05-14 06:28:53 UTC
Permalink
Hi,

Sorry for my basic question as I am new to LXC.

I would like to know the steps to create a LXC container using lxc in
fedora 17.

I have searched for the same in google but I am not able to find any useful
posts to do the same.

It would be more helpful if anyone can share the steps if they got any.

Regards,
Ajith
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20130514/2ad510eb/attachment.html>
David Parks
2013-05-14 06:45:20 UTC
Permalink
The basic place to get started is just lxc-create:



http://lxc.sourceforge.net/man/lxc-create.html



Try typing 'lxc-<tab,tab>' and check out all the lxc commands, the important
ones are:



. lxc-create -n your-container-name

. lxc-start -d -n your-container-name (-d = daemon, don't start the
console in your current terminal, it's better to start it in the background
and connect to the console because you can get out of the console then
without closing your terminal)

. lxc-console -n your-container-name (get connected to the console)



When you create your first container you'll just be creating the same build
of fedora that you're running in the host (that's usually what you want).
Note that it'll connect the networking of that container to the lxc-bridge
which acts as a NAT gateway (a router if you want to think of it in simple
terms). Meaning you'll have DHCP and an internal network IP assigned by
default. If you want to have an IP on your network assigned configure a
static IP and look up bridging for LXC.



Take heed of the config file (in the container-name's directory), this is
where your LXC configuration is, you can set the hostname and such there.
You also have an fstab file in that same directory which is for any mounts
you want done (by default mounts are disallowed in the container for
security reasons, that's a setting).



That's probably enough to make you dangerous and get your first container
running. Good luck.



David





From: Ajith Adapa [mailto:ajith.adapa at gmail.com]
Sent: Tuesday, May 14, 2013 1:29 PM
To: lxc-users at lists.sourceforge.net
Subject: [Lxc-users] Regarding creating a LXC container in fedora 17



Hi,

Sorry for my basic question as I am new to LXC.

I would like to know the steps to create a LXC container using lxc in fedora
17.

I have searched for the same in google but I am not able to find any useful
posts to do the same.

It would be more helpful if anyone can share the steps if they got any.



Regards,
Ajith

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20130514/d591f206/attachment.html>
Fajar A. Nugraha
2013-05-14 06:54:04 UTC
Permalink
That?s probably enough to make you dangerous and get your first container
running. Good luck.
**
... that is, if you're not using F17 or any other systemd-based distro as
container.

Looking at https://ask.fedoraproject.org/answers/15335/revisions/ it should
be possible though, with some efforts.
--
Fajar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20130514/c32a0144/attachment.html>
Michael H. Warfield
2013-05-14 21:10:00 UTC
Permalink
Post by Ajith Adapa
Hi,
Sorry for my basic question as I am new to LXC.
I would like to know the steps to create a LXC container using lxc in
fedora 17.
I have searched for the same in google but I am not able to find any useful
posts to do the same.
It would be more helpful if anyone can share the steps if they got any.
Reference other messages about lxc-create.

Fedora 17 has lxc 0.7.5 in the repos, which is NOT going to work.
You're going to run into multiple problems which, basically, you will
not be able to resolve thanks to systemd (init) running in the host and
systemd running in the container. Fundamentally 0.7.5 is not compatible
with systemd. You will need at least 0.9.0 (current) to get this to
work.

The Fedora template is not (yet) fully updated to support systemd in a
container. After creating the container with lxc-create, you have to
edit the container config in /var/lib/lxc/{Container}/config and add an
entry as follows:

lxc.autodev = 1

Steps:

What I would recommend as steps on Fedora 17...

Download lxc-0.9.0 here:

http://lxc.sourceforge.net/download/lxc/lxc-0.9.0.tar.gz

You should have rpm-build and friends installed via yum on your system.
Build the lxc rpms by running rpmbuild (as any user) as follows:

rpmbuild -ta lxc-0.9.0

Resolve any dependencies until it builds and gives you a cluster of rpms
under ~/rpmbuild/RPMS/{arch}/.

Everything here down should now be done as root...

Install the lxc and lxc-libs rpm files using "yum localupdate" (file
names will be printed near the end of the rpmbuild command run above).

[Optional - install the lxc-devel package as well.]

It should looks sometime like this:

yum localupdate ~user/rpmbuild/RPMS/x86_64/lxc-libs-0.9.0-1.fc17.x86_64.rpm ~user/rpmbuild/RPMS/x86_64/lxc-0.9.0-1.fc17.x86_64.rpm

Doing this with rpmbuild and yum will properly update the existing
binary packages and documentation while retaining your ability to update
and maintain once it hits the official repos.

Now create your container...

lxc-create -t fedora -n Fedora17 -R 17

(The -R 17 is the default if you're on Fedora 17 and you can leave it
off.)

That should run and create your container.

Now edit the container.

vi /var/lib/lxc/Fedora17/config

And add this line in the file somewhere (if it doesn't already exist):

lxc.autodev = 1

You should now be able to start the container:

"lxc-start -n Fedora17"


I still need to submit the patches for the Fedora template for the
autodev support and the ARM / Raspberry Pi support. They'll eventually
get in there. :-P
Post by Ajith Adapa
Regards,
Ajith
Regards,
Mike
--
Michael H. Warfield (AI4NB) | (770) 985-6132 | mhw at WittsEnd.com
/\/\|=mhw=|\/\/ | (678) 463-0932 | http://www.wittsend.com/mhw/
NIC whois: MHW9 | An optimist believes we live in the best of all
PGP Key: 0x674627FF | possible worlds. A pessimist is sure of it!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 482 bytes
Desc: This is a digitally signed message part
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20130514/d7bbc124/attachment.pgp>
Thomas Moschny
2013-05-15 08:31:55 UTC
Permalink
Post by Michael H. Warfield
What I would recommend as steps on Fedora 17...
http://lxc.sourceforge.net/download/lxc/lxc-0.9.0.tar.gz
You should have rpm-build and friends installed via yum on your system.
You could also try using the pre-built packages I put here:
http://thm.fedorapeople.org/lxc/ .

Regards,
Thomas
Michael H. Warfield
2013-05-15 13:47:25 UTC
Permalink
Post by Thomas Moschny
Post by Michael H. Warfield
What I would recommend as steps on Fedora 17...
http://lxc.sourceforge.net/download/lxc/lxc-0.9.0.tar.gz
You should have rpm-build and friends installed via yum on your system.
http://thm.fedorapeople.org/lxc/ .
Nice! I wasn't aware of them. Many thanks.
Post by Thomas Moschny
Regards,
Thomas
Regards,
Mike
--
Michael H. Warfield (AI4NB) | (770) 985-6132 | mhw at WittsEnd.com
/\/\|=mhw=|\/\/ | (678) 463-0932 | http://www.wittsend.com/mhw/
NIC whois: MHW9 | An optimist believes we live in the best of all
PGP Key: 0x674627FF | possible worlds. A pessimist is sure of it!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 482 bytes
Desc: This is a digitally signed message part
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20130515/47d55e63/attachment.pgp>
Ajith Adapa
2013-05-16 14:39:05 UTC
Permalink
Thanks @thomas and @michael.

I will try the RPMs and steps provided to start a container.

Regards,
Ajith
Post by Thomas Moschny
Post by Michael H. Warfield
What I would recommend as steps on Fedora 17...
http://lxc.sourceforge.net/download/lxc/lxc-0.9.0.tar.gz
You should have rpm-build and friends installed via yum on your system.
http://thm.fedorapeople.org/lxc/ .
Regards,
Thomas
------------------------------------------------------------------------------
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
_______________________________________________
Lxc-users mailing list
Lxc-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20130516/3d01caa2/attachment.html>
Ajith Adapa
2013-05-18 07:05:13 UTC
Permalink
Hi,

I have installed all the rpms created by @thomas and followed @michael
steps to start a lxc container.

I have a doubt.

1. When I give lxc-create command I came across huge download of various
files.
As per my understanding rootfs is created for new container (where can i
get the steps for it ? ).

But I see below log. Is there any issue ?

Copy /var/cache/lxc/fedora/i686/17/rootfs to /var/lib/lxc/TEST/TEST/rootfs
...
Copying rootfs to /var/lib/lxc/TEST/TEST/rootfs ...setting root passwd to
root
installing fedora-release package
warning: Failed to read auxiliary vector, /proc not mounted?
warning: Failed to read auxiliary vector, /proc not mounted?
warning: Failed to read auxiliary vector, /proc not mounted?
warning: Failed to read auxiliary vector, /proc not mounted?
warning: Failed to read auxiliary vector, /proc not mounted?
warning: Failed to read auxiliary vector, /proc not mounted?
warning: Failed to read auxiliary vector, /proc not mounted?
warning: Failed to read auxiliary vector, /proc not mounted?
Package fedora-release-17-2.noarch already installed and latest version
Nothing to do
container rootfs and config created
'fedora' template installed
'TEST' created


2.I see a SOFT LOCK issue with latest version kernel shown below.

# uname -a
Linux blr 3.8.8-100.fc17.i686 #1 SMP Wed Apr 17 17:26:59 UTC 2013 i686 i686
i386 GNU/Linux


[1098069.351017] SELinux: initialized (dev binfmt_misc, type binfmt_misc),
uses genfs_contexts
[1281973.370052] BUG: soft lockup - CPU#0 stuck for 23s! [kworker/0:1:2201]
[1281973.370052] Modules linked in: binfmt_misc lockd sunrpc snd_intel8x0
snd_ac97_codec ac97_bus snd_seq snd_seq_device snd_pcm i2c_piix4 i2c_core
microcode virtio_balloon snd_page_alloc snd_timer snd soundcore virtio_net
uinput virtio_blk
[1281973.370052] Pid: 2201, comm: kworker/0:1 Not tainted
3.8.8-100.fc17.i686 #1 Bochs Bochs
[1281973.370052] EIP: 0060:[<c068b17a>] EFLAGS: 00000206 CPU: 0
[1281973.370052] EIP is at iowrite16+0x1a/0x40
[1281973.370052] EAX: 00000001 EBX: f69b3000 ECX: 0001c050 EDX: 0000c050
[1281973.370052] ESI: e9d9b600 EDI: 00000000 EBP: f5009b90 ESP: f5009b8c
[1281973.370052] DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068
[1281973.370052] CR0: 8005003b CR2: 09cae530 CR3: 345e0000 CR4: 000006d0
[1281973.370052] DR0: 00000000 DR1: 00000000 DR2: 00000000 DR3: 00000000
[1281973.370052] DR6: ffff0ff0 DR7: 00000400
[1281973.370052] Process kworker/0:1 (pid: 2201, ti=f5008000 task=f6830cb0
task.ti=f4bb2000)
[1281973.370052] Stack:
[1281973.370052] c07107cd f5009b9c c070ffb9 f4a17a00 f5009bcc f7c36f2b
00000000 e9d9b600
[1281973.370052] 00000020 00000000 e9d9b600 00000000 f69b2000 00000000
f4b5a740 00000036
[1281973.370052] f5009c00 c088ea5e e9d9b600 00000000 f7c384c0 f6822600
f69b2000 00000000
[1281973.370052] Call Trace:
[1281973.370052] [<c07107cd>] ? vp_notify+0x1d/0x20
[1281973.370052] [<c070ffb9>] virtqueue_kick+0x19/0x20
[1281973.370052] [<f7c36f2b>] start_xmit+0x14b/0x370 [virtio_net]
[1281973.370052] [<c088ea5e>] dev_hard_start_xmit+0x24e/0x4c0
[1281973.370052] [<c08a793f>] sch_direct_xmit+0xaf/0x180
[1281973.370052] [<c088f01e>] dev_queue_xmit+0x12e/0x370
[1281973.370052] [<c08bf670>] ? ip_fragment+0x870/0x870
[1281973.370052] [<c08bf88e>] ip_finish_output+0x21e/0x3b0
[1281973.370052] [<c08bf670>] ? ip_fragment+0x870/0x870
[1281973.370052] [<c08c0354>] ip_output+0x84/0xd0
[1281973.370052] [<c08bf670>] ? ip_fragment+0x870/0x870
[1281973.370052] [<c08bfb00>] ip_local_out+0x20/0x30
[1281973.370052] [<c08bfc3f>] ip_queue_xmit+0x12f/0x3b0
[1281973.370052] [<c08d62fb>] tcp_transmit_skb+0x3cb/0x850
[1281973.370052] [<c097a440>] ? apic_timer_interrupt+0x34/0x3c
[1281973.370052] [<c08d8b50>] tcp_send_ack+0xd0/0x120
[1281973.370052] [<c08cc096>] __tcp_ack_snd_check+0x56/0x90
[1281973.370052] [<c08d3038>] tcp_rcv_established+0x1c8/0x890
[1281973.370052] [<c08dc8f3>] tcp_v4_do_rcv+0x223/0x3e0
[1281973.370052] [<c06233f4>] ? security_sock_rcv_skb+0x14/0x20
[1281973.370052] [<c08de39c>] tcp_v4_rcv+0x53c/0x770
[1281973.370052] [<c08bb110>] ? ip_rcv_finish+0x320/0x320
[1281973.370052] [<c08bb1c2>] ip_local_deliver_finish+0xb2/0x260
[1281973.370052] [<c08bb4ac>] ip_local_deliver+0x3c/0x80
[1281973.370052] [<c08bb110>] ? ip_rcv_finish+0x320/0x320
[1281973.370052] [<c08bae50>] ip_rcv_finish+0x60/0x320
[1281973.370052] [<c043009c>] ? pvclock_clocksource_read+0x9c/0x130
[1281973.370052] [<c08bb73c>] ip_rcv+0x24c/0x370
[1281973.370052] [<c088d5db>] __netif_receive_skb+0x5bb/0x740
[1281973.370052] [<c088d8ce>] netif_receive_skb+0x2e/0x90
[1281973.370052] [<f7c36a49>] virtnet_poll+0x449/0x6a0 [virtio_net]
[1281973.370052] [<c044d6aa>] ? run_timer_softirq+0x1a/0x210
[1281973.370052] [<c088decd>] net_rx_action+0x11d/0x1f0
[1281973.370052] [<c044695b>] __do_softirq+0xab/0x1c0
[1281973.370052] [<c04468b0>] ? local_bh_enable_ip+0x90/0x90
[1281973.370052] <IRQ>
[1281973.370052] [<c0446bdd>] ? irq_exit+0x9d/0xb0
[1281973.370052] [<c04258ee>] ? smp_apic_timer_interrupt+0x5e/0x90
[1281973.370052] [<c097a440>] ? apic_timer_interrupt+0x34/0x3c
[1281973.370052] [<c044007b>] ? console_start+0xb/0x20
[1281973.370052] [<c0979bbf>] ? _raw_spin_unlock_irqrestore+0xf/0x20
[1281973.370052] [<c07918d6>] ? ata_scsi_queuecmd+0x96/0x250
[1281973.370052] [<c076ad18>] ? scsi_dispatch_cmd+0xb8/0x260
[1281973.370052] [<c066007b>] ? queue_store_random+0x4b/0x70
[1281973.370052] [<c07711b3>] ? scsi_request_fn+0x2c3/0x4b0
[1281973.370052] [<c042f2b7>] ? kvm_clock_read+0x17/0x20
[1281973.370052] [<c0409448>] ? sched_clock+0x8/0x10
[1281973.370052] [<c065cace>] ? __blk_run_queue+0x2e/0x40
[1281973.370052] [<c066214a>] ? blk_execute_rq_nowait+0x6a/0xd0
[1281973.370052] [<c066221d>] ? blk_execute_rq+0x6d/0xe0
[1281973.370052] [<c06620b0>] ? __raw_spin_unlock_irq+0x10/0x10
[1281973.370052] [<c0446ba7>] ? irq_exit+0x67/0xb0
[1281973.370052] [<c04258ee>] ? smp_apic_timer_interrupt+0x5e/0x90
[1281973.370052] [<c097a440>] ? apic_timer_interrupt+0x34/0x3c
[1281973.370052] [<c076ffa0>] ? scsi_execute+0xb0/0x140
[1281973.370052] [<c0771429>] ? scsi_execute_req+0x89/0x100
[1281973.370052] [<c077f3d5>] ? sr_check_events+0xb5/0x2e0
[1281973.370052] [<c07a64cd>] ? cdrom_check_events+0x1d/0x40
[1281973.370052] [<c077f856>] ? sr_block_check_events+0x16/0x20
[1281973.370052] [<c06663c5>] ? disk_check_events+0x45/0xf0
[1281973.370052] [<c0666485>] ? disk_events_workfn+0x15/0x20
[1281973.370052] [<c045788e>] ? process_one_work+0x12e/0x3d0
[1281973.370052] [<c097a440>] ? apic_timer_interrupt+0x34/0x3c
[1281973.370052] [<c0459939>] ? worker_thread+0x119/0x3b0
[1281973.370052] [<c0459820>] ? flush_delayed_work+0x50/0x50
[1281973.370052] [<c045e2a4>] ? kthread+0x94/0xa0
[1281973.370052] [<c0980ef7>] ? ret_from_kernel_thread+0x1b/0x28
[1281973.370052] [<c045e210>] ? kthread_create_on_node+0xc0/0xc0
[1281973.370052] Code: 5d c3 8d b4 26 00 00 00 00 89 02 c3 90 8d 74 26 00
81 fa ff ff 03 00 89 d1 77 2e 81 fa 00 00 01 00 76 0e 81 e2 ff ff 00 00 66
ef <c3> 90 8d 74 26 00 55 ba 2c 5a b2 c0 89 e5 89 c8 e8 01 ff ff ff
[1281991.139165] ata2: lost interrupt (Status 0x58)
[1281991.148055] ata2: drained 12 bytes to clear DRQ
[1281991.165039] ata2.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6
frozen
[1281991.172924] sr 1:0:0:0: CDB:
[1281991.172932] Get event status notification: 4a 01 00 00 10 00 00 00 08
00
[1281991.497342] ata2.00: cmd a0/00:00:00:08:00/00:00:00:00:00/a0 tag 0 pio
16392 in
[1281991.497342] res 40/00:02:00:04:00/00:00:00:00:00/a0 Emask 0x4
(timeout)
[1281991.523767] ata2.00: status: { DRDY }
[1281991.616161] ata2: soft resetting link
[1281998.232648] ata2.01: qc timeout (cmd 0xec)
[1281998.238559] ata2.01: failed to IDENTIFY (I/O error, err_mask=0x4)
[1281998.247432] ata2: soft resetting link
[1281998.575468] ata2.01: NODEV after polling detection
[1281998.698009] ata2.00: configured for MWDMA2
[1281998.714460] ata2: EH complete

3. Last but not least after sometime my host kernel crashed as a result
need to restart the VPC.

Regards,
Ajith
Post by Ajith Adapa
I will try the RPMs and steps provided to start a container.
Regards,
Ajith
Post by Thomas Moschny
Post by Michael H. Warfield
What I would recommend as steps on Fedora 17...
http://lxc.sourceforge.net/download/lxc/lxc-0.9.0.tar.gz
You should have rpm-build and friends installed via yum on your system.
http://thm.fedorapeople.org/lxc/ .
Regards,
Thomas
------------------------------------------------------------------------------
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
_______________________________________________
Lxc-users mailing list
Lxc-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20130518/991afee7/attachment.html>
Michael H. Warfield
2013-05-18 12:25:31 UTC
Permalink
Hello,
Post by Ajith Adapa
Hi,
steps to start a lxc container.
I have a doubt.
1. When I give lxc-create command I came across huge download of various
files.
As per my understanding rootfs is created for new container (where can i
get the steps for it ? ).
Steps for what? It's in /var/lib/lxc/{Container}/rootfs/
Post by Ajith Adapa
But I see below log. Is there any issue ?
Copy /var/cache/lxc/fedora/i686/17/rootfs to /var/lib/lxc/TEST/TEST/rootfs
...
Copying rootfs to /var/lib/lxc/TEST/TEST/rootfs ...setting root passwd to
root
installing fedora-release package
warning: Failed to read auxiliary vector, /proc not mounted?
warning: Failed to read auxiliary vector, /proc not mounted?
warning: Failed to read auxiliary vector, /proc not mounted?
warning: Failed to read auxiliary vector, /proc not mounted?
warning: Failed to read auxiliary vector, /proc not mounted?
warning: Failed to read auxiliary vector, /proc not mounted?
warning: Failed to read auxiliary vector, /proc not mounted?
warning: Failed to read auxiliary vector, /proc not mounted?
The warnings are perfectly normal and harmless. I ran into this with
recent versions of yum and researched it. It's because /proc is not
mounted in the container itself when the container is being created.
You can ignore them.
Post by Ajith Adapa
Package fedora-release-17-2.noarch already installed and latest version
Nothing to do
Again, normal.
Post by Ajith Adapa
container rootfs and config created
'fedora' template installed
'TEST' created
Looks like your container was created. I don't see a problem.
Post by Ajith Adapa
2.I see a SOFT LOCK issue with latest version kernel shown below.
# uname -a
Linux blr 3.8.8-100.fc17.i686 #1 SMP Wed Apr 17 17:26:59 UTC 2013 i686 i686
i386 GNU/Linux
[1098069.351017] SELinux: initialized (dev binfmt_misc, type binfmt_misc),
uses genfs_contexts
[1281973.370052] BUG: soft lockup - CPU#0 stuck for 23s! [kworker/0:1:2201]
I've seen that on my Dell 610's but they haven't caused any real
failures. Not quite sure what that is.
Post by Ajith Adapa
[1281973.370052] Modules linked in: binfmt_misc lockd sunrpc snd_intel8x0
snd_ac97_codec ac97_bus snd_seq snd_seq_device snd_pcm i2c_piix4 i2c_core
microcode virtio_balloon snd_page_alloc snd_timer snd soundcore virtio_net
uinput virtio_blk
[1281973.370052] Pid: 2201, comm: kworker/0:1 Not tainted
3.8.8-100.fc17.i686 #1 Bochs Bochs
[1281973.370052] EIP: 0060:[<c068b17a>] EFLAGS: 00000206 CPU: 0
[1281973.370052] EIP is at iowrite16+0x1a/0x40
[1281973.370052] EAX: 00000001 EBX: f69b3000 ECX: 0001c050 EDX: 0000c050
[1281973.370052] ESI: e9d9b600 EDI: 00000000 EBP: f5009b90 ESP: f5009b8c
[1281973.370052] DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068
[1281973.370052] CR0: 8005003b CR2: 09cae530 CR3: 345e0000 CR4: 000006d0
[1281973.370052] DR0: 00000000 DR1: 00000000 DR2: 00000000 DR3: 00000000
[1281973.370052] DR6: ffff0ff0 DR7: 00000400
[1281973.370052] Process kworker/0:1 (pid: 2201, ti=f5008000 task=f6830cb0
task.ti=f4bb2000)
[1281973.370052] c07107cd f5009b9c c070ffb9 f4a17a00 f5009bcc f7c36f2b
00000000 e9d9b600
[1281973.370052] 00000020 00000000 e9d9b600 00000000 f69b2000 00000000
f4b5a740 00000036
[1281973.370052] f5009c00 c088ea5e e9d9b600 00000000 f7c384c0 f6822600
f69b2000 00000000
[1281973.370052] [<c07107cd>] ? vp_notify+0x1d/0x20
[1281973.370052] [<c070ffb9>] virtqueue_kick+0x19/0x20
[1281973.370052] [<f7c36f2b>] start_xmit+0x14b/0x370 [virtio_net]
[1281973.370052] [<c088ea5e>] dev_hard_start_xmit+0x24e/0x4c0
[1281973.370052] [<c08a793f>] sch_direct_xmit+0xaf/0x180
[1281973.370052] [<c088f01e>] dev_queue_xmit+0x12e/0x370
[1281973.370052] [<c08bf670>] ? ip_fragment+0x870/0x870
[1281973.370052] [<c08bf88e>] ip_finish_output+0x21e/0x3b0
[1281973.370052] [<c08bf670>] ? ip_fragment+0x870/0x870
[1281973.370052] [<c08c0354>] ip_output+0x84/0xd0
[1281973.370052] [<c08bf670>] ? ip_fragment+0x870/0x870
[1281973.370052] [<c08bfb00>] ip_local_out+0x20/0x30
[1281973.370052] [<c08bfc3f>] ip_queue_xmit+0x12f/0x3b0
[1281973.370052] [<c08d62fb>] tcp_transmit_skb+0x3cb/0x850
[1281973.370052] [<c097a440>] ? apic_timer_interrupt+0x34/0x3c
[1281973.370052] [<c08d8b50>] tcp_send_ack+0xd0/0x120
[1281973.370052] [<c08cc096>] __tcp_ack_snd_check+0x56/0x90
[1281973.370052] [<c08d3038>] tcp_rcv_established+0x1c8/0x890
[1281973.370052] [<c08dc8f3>] tcp_v4_do_rcv+0x223/0x3e0
[1281973.370052] [<c06233f4>] ? security_sock_rcv_skb+0x14/0x20
[1281973.370052] [<c08de39c>] tcp_v4_rcv+0x53c/0x770
[1281973.370052] [<c08bb110>] ? ip_rcv_finish+0x320/0x320
[1281973.370052] [<c08bb1c2>] ip_local_deliver_finish+0xb2/0x260
[1281973.370052] [<c08bb4ac>] ip_local_deliver+0x3c/0x80
[1281973.370052] [<c08bb110>] ? ip_rcv_finish+0x320/0x320
[1281973.370052] [<c08bae50>] ip_rcv_finish+0x60/0x320
[1281973.370052] [<c043009c>] ? pvclock_clocksource_read+0x9c/0x130
[1281973.370052] [<c08bb73c>] ip_rcv+0x24c/0x370
[1281973.370052] [<c088d5db>] __netif_receive_skb+0x5bb/0x740
[1281973.370052] [<c088d8ce>] netif_receive_skb+0x2e/0x90
[1281973.370052] [<f7c36a49>] virtnet_poll+0x449/0x6a0 [virtio_net]
[1281973.370052] [<c044d6aa>] ? run_timer_softirq+0x1a/0x210
[1281973.370052] [<c088decd>] net_rx_action+0x11d/0x1f0
[1281973.370052] [<c044695b>] __do_softirq+0xab/0x1c0
[1281973.370052] [<c04468b0>] ? local_bh_enable_ip+0x90/0x90
[1281973.370052] <IRQ>
[1281973.370052] [<c0446bdd>] ? irq_exit+0x9d/0xb0
[1281973.370052] [<c04258ee>] ? smp_apic_timer_interrupt+0x5e/0x90
[1281973.370052] [<c097a440>] ? apic_timer_interrupt+0x34/0x3c
[1281973.370052] [<c044007b>] ? console_start+0xb/0x20
[1281973.370052] [<c0979bbf>] ? _raw_spin_unlock_irqrestore+0xf/0x20
[1281973.370052] [<c07918d6>] ? ata_scsi_queuecmd+0x96/0x250
[1281973.370052] [<c076ad18>] ? scsi_dispatch_cmd+0xb8/0x260
[1281973.370052] [<c066007b>] ? queue_store_random+0x4b/0x70
[1281973.370052] [<c07711b3>] ? scsi_request_fn+0x2c3/0x4b0
[1281973.370052] [<c042f2b7>] ? kvm_clock_read+0x17/0x20
[1281973.370052] [<c0409448>] ? sched_clock+0x8/0x10
[1281973.370052] [<c065cace>] ? __blk_run_queue+0x2e/0x40
[1281973.370052] [<c066214a>] ? blk_execute_rq_nowait+0x6a/0xd0
[1281973.370052] [<c066221d>] ? blk_execute_rq+0x6d/0xe0
[1281973.370052] [<c06620b0>] ? __raw_spin_unlock_irq+0x10/0x10
[1281973.370052] [<c0446ba7>] ? irq_exit+0x67/0xb0
[1281973.370052] [<c04258ee>] ? smp_apic_timer_interrupt+0x5e/0x90
[1281973.370052] [<c097a440>] ? apic_timer_interrupt+0x34/0x3c
[1281973.370052] [<c076ffa0>] ? scsi_execute+0xb0/0x140
[1281973.370052] [<c0771429>] ? scsi_execute_req+0x89/0x100
[1281973.370052] [<c077f3d5>] ? sr_check_events+0xb5/0x2e0
[1281973.370052] [<c07a64cd>] ? cdrom_check_events+0x1d/0x40
[1281973.370052] [<c077f856>] ? sr_block_check_events+0x16/0x20
[1281973.370052] [<c06663c5>] ? disk_check_events+0x45/0xf0
[1281973.370052] [<c0666485>] ? disk_events_workfn+0x15/0x20
[1281973.370052] [<c045788e>] ? process_one_work+0x12e/0x3d0
[1281973.370052] [<c097a440>] ? apic_timer_interrupt+0x34/0x3c
[1281973.370052] [<c0459939>] ? worker_thread+0x119/0x3b0
[1281973.370052] [<c0459820>] ? flush_delayed_work+0x50/0x50
[1281973.370052] [<c045e2a4>] ? kthread+0x94/0xa0
[1281973.370052] [<c0980ef7>] ? ret_from_kernel_thread+0x1b/0x28
[1281973.370052] [<c045e210>] ? kthread_create_on_node+0xc0/0xc0
[1281973.370052] Code: 5d c3 8d b4 26 00 00 00 00 89 02 c3 90 8d 74 26 00
81 fa ff ff 03 00 89 d1 77 2e 81 fa 00 00 01 00 76 0e 81 e2 ff ff 00 00 66
ef <c3> 90 8d 74 26 00 55 ba 2c 5a b2 c0 89 e5 89 c8 e8 01 ff ff ff
[1281991.139165] ata2: lost interrupt (Status 0x58)
[1281991.148055] ata2: drained 12 bytes to clear DRQ
[1281991.165039] ata2.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6
frozen
[1281991.172932] Get event status notification: 4a 01 00 00 10 00 00 00 08
00
[1281991.497342] ata2.00: cmd a0/00:00:00:08:00/00:00:00:00:00/a0 tag 0 pio
16392 in
[1281991.497342] res 40/00:02:00:04:00/00:00:00:00:00/a0 Emask 0x4
(timeout)
[1281991.523767] ata2.00: status: { DRDY }
[1281991.616161] ata2: soft resetting link
[1281998.232648] ata2.01: qc timeout (cmd 0xec)
[1281998.238559] ata2.01: failed to IDENTIFY (I/O error, err_mask=0x4)
[1281998.247432] ata2: soft resetting link
[1281998.575468] ata2.01: NODEV after polling detection
[1281998.698009] ata2.00: configured for MWDMA2
[1281998.714460] ata2: EH complete
Not sure what the deal is with that ATA error. That's a hard drive lost
interrupt problem. Looks to be on your CD Rom drive? Looks like it
recovered.
Post by Ajith Adapa
3. Last but not least after sometime my host kernel crashed as a result
need to restart the VPC.
I don't understand what you are saying here. You're saying your kernel
crashed but I don't understand the "as a result of..." What did you do,
why did you do it, and what happened?
Post by Ajith Adapa
Regards,
Ajith
Regards,
Mike
Post by Ajith Adapa
Post by Ajith Adapa
I will try the RPMs and steps provided to start a container.
Regards,
Ajith
Post by Thomas Moschny
Post by Michael H. Warfield
What I would recommend as steps on Fedora 17...
http://lxc.sourceforge.net/download/lxc/lxc-0.9.0.tar.gz
You should have rpm-build and friends installed via yum on your system.
http://thm.fedorapeople.org/lxc/ .
Regards,
Thomas
------------------------------------------------------------------------------
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
_______________________________________________
Lxc-users mailing list
Lxc-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-users
------------------------------------------------------------------------------
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
_______________________________________________ Lxc-users mailing list Lxc-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-users
--
Michael H. Warfield (AI4NB) | (770) 985-6132 | mhw at WittsEnd.com
/\/\|=mhw=|\/\/ | (678) 463-0932 | http://www.wittsend.com/mhw/
NIC whois: MHW9 | An optimist believes we live in the best of all
PGP Key: 0x674627FF | possible worlds. A pessimist is sure of it!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 482 bytes
Desc: This is a digitally signed message part
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20130518/6821650c/attachment.pgp>
Ajith Adapa
2013-05-18 13:32:39 UTC
Permalink
Sorry for the confusion.

In case of issue 3, I felt host kernel crashed because of the soft lock
issue mentioned in Issue 2.That's the reason I was saying "as a result of
..". Ideally speaking I haven't done anything other than creating the
lxc-container at the time. Once I restarted the host machine after crash I
havent observed any issues.

Then I have started the container using below command and tried to connect
to its shell using lxc-console command but I ended up with below message.
Ideally I should see a prompt but its just hangs down there. <Ctl+a q>
works and nothing else.

[root at ipiblr ~]# lxc-start -n TEST -d
[root at ipiblr ~]# lxc-console -n TEST

Type <Ctrl+a q> to exit the console, <Ctrl+a Ctrl+a> to enter Ctrl+a itself

Regards,
Ajith
Post by Michael H. Warfield
Hello,
Post by Ajith Adapa
Hi,
steps to start a lxc container.
I have a doubt.
1. When I give lxc-create command I came across huge download of various
files.
As per my understanding rootfs is created for new container (where can i
get the steps for it ? ).
Steps for what? It's in /var/lib/lxc/{Container}/rootfs/
Post by Ajith Adapa
But I see below log. Is there any issue ?
Copy /var/cache/lxc/fedora/i686/17/rootfs to
/var/lib/lxc/TEST/TEST/rootfs
Post by Ajith Adapa
...
Copying rootfs to /var/lib/lxc/TEST/TEST/rootfs ...setting root passwd to
root
installing fedora-release package
warning: Failed to read auxiliary vector, /proc not mounted?
warning: Failed to read auxiliary vector, /proc not mounted?
warning: Failed to read auxiliary vector, /proc not mounted?
warning: Failed to read auxiliary vector, /proc not mounted?
warning: Failed to read auxiliary vector, /proc not mounted?
warning: Failed to read auxiliary vector, /proc not mounted?
warning: Failed to read auxiliary vector, /proc not mounted?
warning: Failed to read auxiliary vector, /proc not mounted?
The warnings are perfectly normal and harmless. I ran into this with
recent versions of yum and researched it. It's because /proc is not
mounted in the container itself when the container is being created.
You can ignore them.
Post by Ajith Adapa
Package fedora-release-17-2.noarch already installed and latest version
Nothing to do
Again, normal.
Post by Ajith Adapa
container rootfs and config created
'fedora' template installed
'TEST' created
Looks like your container was created. I don't see a problem.
Post by Ajith Adapa
2.I see a SOFT LOCK issue with latest version kernel shown below.
# uname -a
Linux blr 3.8.8-100.fc17.i686 #1 SMP Wed Apr 17 17:26:59 UTC 2013 i686
i686
Post by Ajith Adapa
i386 GNU/Linux
[1098069.351017] SELinux: initialized (dev binfmt_misc, type
binfmt_misc),
Post by Ajith Adapa
uses genfs_contexts
[1281973.370052] BUG: soft lockup - CPU#0 stuck for 23s!
[kworker/0:1:2201]
I've seen that on my Dell 610's but they haven't caused any real
failures. Not quite sure what that is.
Post by Ajith Adapa
[1281973.370052] Modules linked in: binfmt_misc lockd sunrpc snd_intel8x0
snd_ac97_codec ac97_bus snd_seq snd_seq_device snd_pcm i2c_piix4 i2c_core
microcode virtio_balloon snd_page_alloc snd_timer snd soundcore
virtio_net
Post by Ajith Adapa
uinput virtio_blk
[1281973.370052] Pid: 2201, comm: kworker/0:1 Not tainted
3.8.8-100.fc17.i686 #1 Bochs Bochs
[1281973.370052] EIP: 0060:[<c068b17a>] EFLAGS: 00000206 CPU: 0
[1281973.370052] EIP is at iowrite16+0x1a/0x40
[1281973.370052] EAX: 00000001 EBX: f69b3000 ECX: 0001c050 EDX: 0000c050
[1281973.370052] ESI: e9d9b600 EDI: 00000000 EBP: f5009b90 ESP: f5009b8c
[1281973.370052] DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068
[1281973.370052] CR0: 8005003b CR2: 09cae530 CR3: 345e0000 CR4: 000006d0
[1281973.370052] DR0: 00000000 DR1: 00000000 DR2: 00000000 DR3: 00000000
[1281973.370052] DR6: ffff0ff0 DR7: 00000400
[1281973.370052] Process kworker/0:1 (pid: 2201, ti=f5008000
task=f6830cb0
Post by Ajith Adapa
task.ti=f4bb2000)
[1281973.370052] c07107cd f5009b9c c070ffb9 f4a17a00 f5009bcc f7c36f2b
00000000 e9d9b600
[1281973.370052] 00000020 00000000 e9d9b600 00000000 f69b2000 00000000
f4b5a740 00000036
[1281973.370052] f5009c00 c088ea5e e9d9b600 00000000 f7c384c0 f6822600
f69b2000 00000000
[1281973.370052] [<c07107cd>] ? vp_notify+0x1d/0x20
[1281973.370052] [<c070ffb9>] virtqueue_kick+0x19/0x20
[1281973.370052] [<f7c36f2b>] start_xmit+0x14b/0x370 [virtio_net]
[1281973.370052] [<c088ea5e>] dev_hard_start_xmit+0x24e/0x4c0
[1281973.370052] [<c08a793f>] sch_direct_xmit+0xaf/0x180
[1281973.370052] [<c088f01e>] dev_queue_xmit+0x12e/0x370
[1281973.370052] [<c08bf670>] ? ip_fragment+0x870/0x870
[1281973.370052] [<c08bf88e>] ip_finish_output+0x21e/0x3b0
[1281973.370052] [<c08bf670>] ? ip_fragment+0x870/0x870
[1281973.370052] [<c08c0354>] ip_output+0x84/0xd0
[1281973.370052] [<c08bf670>] ? ip_fragment+0x870/0x870
[1281973.370052] [<c08bfb00>] ip_local_out+0x20/0x30
[1281973.370052] [<c08bfc3f>] ip_queue_xmit+0x12f/0x3b0
[1281973.370052] [<c08d62fb>] tcp_transmit_skb+0x3cb/0x850
[1281973.370052] [<c097a440>] ? apic_timer_interrupt+0x34/0x3c
[1281973.370052] [<c08d8b50>] tcp_send_ack+0xd0/0x120
[1281973.370052] [<c08cc096>] __tcp_ack_snd_check+0x56/0x90
[1281973.370052] [<c08d3038>] tcp_rcv_established+0x1c8/0x890
[1281973.370052] [<c08dc8f3>] tcp_v4_do_rcv+0x223/0x3e0
[1281973.370052] [<c06233f4>] ? security_sock_rcv_skb+0x14/0x20
[1281973.370052] [<c08de39c>] tcp_v4_rcv+0x53c/0x770
[1281973.370052] [<c08bb110>] ? ip_rcv_finish+0x320/0x320
[1281973.370052] [<c08bb1c2>] ip_local_deliver_finish+0xb2/0x260
[1281973.370052] [<c08bb4ac>] ip_local_deliver+0x3c/0x80
[1281973.370052] [<c08bb110>] ? ip_rcv_finish+0x320/0x320
[1281973.370052] [<c08bae50>] ip_rcv_finish+0x60/0x320
[1281973.370052] [<c043009c>] ? pvclock_clocksource_read+0x9c/0x130
[1281973.370052] [<c08bb73c>] ip_rcv+0x24c/0x370
[1281973.370052] [<c088d5db>] __netif_receive_skb+0x5bb/0x740
[1281973.370052] [<c088d8ce>] netif_receive_skb+0x2e/0x90
[1281973.370052] [<f7c36a49>] virtnet_poll+0x449/0x6a0 [virtio_net]
[1281973.370052] [<c044d6aa>] ? run_timer_softirq+0x1a/0x210
[1281973.370052] [<c088decd>] net_rx_action+0x11d/0x1f0
[1281973.370052] [<c044695b>] __do_softirq+0xab/0x1c0
[1281973.370052] [<c04468b0>] ? local_bh_enable_ip+0x90/0x90
[1281973.370052] <IRQ>
[1281973.370052] [<c0446bdd>] ? irq_exit+0x9d/0xb0
[1281973.370052] [<c04258ee>] ? smp_apic_timer_interrupt+0x5e/0x90
[1281973.370052] [<c097a440>] ? apic_timer_interrupt+0x34/0x3c
[1281973.370052] [<c044007b>] ? console_start+0xb/0x20
[1281973.370052] [<c0979bbf>] ? _raw_spin_unlock_irqrestore+0xf/0x20
[1281973.370052] [<c07918d6>] ? ata_scsi_queuecmd+0x96/0x250
[1281973.370052] [<c076ad18>] ? scsi_dispatch_cmd+0xb8/0x260
[1281973.370052] [<c066007b>] ? queue_store_random+0x4b/0x70
[1281973.370052] [<c07711b3>] ? scsi_request_fn+0x2c3/0x4b0
[1281973.370052] [<c042f2b7>] ? kvm_clock_read+0x17/0x20
[1281973.370052] [<c0409448>] ? sched_clock+0x8/0x10
[1281973.370052] [<c065cace>] ? __blk_run_queue+0x2e/0x40
[1281973.370052] [<c066214a>] ? blk_execute_rq_nowait+0x6a/0xd0
[1281973.370052] [<c066221d>] ? blk_execute_rq+0x6d/0xe0
[1281973.370052] [<c06620b0>] ? __raw_spin_unlock_irq+0x10/0x10
[1281973.370052] [<c0446ba7>] ? irq_exit+0x67/0xb0
[1281973.370052] [<c04258ee>] ? smp_apic_timer_interrupt+0x5e/0x90
[1281973.370052] [<c097a440>] ? apic_timer_interrupt+0x34/0x3c
[1281973.370052] [<c076ffa0>] ? scsi_execute+0xb0/0x140
[1281973.370052] [<c0771429>] ? scsi_execute_req+0x89/0x100
[1281973.370052] [<c077f3d5>] ? sr_check_events+0xb5/0x2e0
[1281973.370052] [<c07a64cd>] ? cdrom_check_events+0x1d/0x40
[1281973.370052] [<c077f856>] ? sr_block_check_events+0x16/0x20
[1281973.370052] [<c06663c5>] ? disk_check_events+0x45/0xf0
[1281973.370052] [<c0666485>] ? disk_events_workfn+0x15/0x20
[1281973.370052] [<c045788e>] ? process_one_work+0x12e/0x3d0
[1281973.370052] [<c097a440>] ? apic_timer_interrupt+0x34/0x3c
[1281973.370052] [<c0459939>] ? worker_thread+0x119/0x3b0
[1281973.370052] [<c0459820>] ? flush_delayed_work+0x50/0x50
[1281973.370052] [<c045e2a4>] ? kthread+0x94/0xa0
[1281973.370052] [<c0980ef7>] ? ret_from_kernel_thread+0x1b/0x28
[1281973.370052] [<c045e210>] ? kthread_create_on_node+0xc0/0xc0
[1281973.370052] Code: 5d c3 8d b4 26 00 00 00 00 89 02 c3 90 8d 74 26 00
81 fa ff ff 03 00 89 d1 77 2e 81 fa 00 00 01 00 76 0e 81 e2 ff ff 00 00
66
Post by Ajith Adapa
ef <c3> 90 8d 74 26 00 55 ba 2c 5a b2 c0 89 e5 89 c8 e8 01 ff ff ff
[1281991.139165] ata2: lost interrupt (Status 0x58)
[1281991.148055] ata2: drained 12 bytes to clear DRQ
[1281991.165039] ata2.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action
0x6
Post by Ajith Adapa
frozen
[1281991.172932] Get event status notification: 4a 01 00 00 10 00 00 00
08
Post by Ajith Adapa
00
[1281991.497342] ata2.00: cmd a0/00:00:00:08:00/00:00:00:00:00/a0 tag 0
pio
Post by Ajith Adapa
16392 in
[1281991.497342] res 40/00:02:00:04:00/00:00:00:00:00/a0 Emask
0x4
Post by Ajith Adapa
(timeout)
[1281991.523767] ata2.00: status: { DRDY }
[1281991.616161] ata2: soft resetting link
[1281998.232648] ata2.01: qc timeout (cmd 0xec)
[1281998.238559] ata2.01: failed to IDENTIFY (I/O error, err_mask=0x4)
[1281998.247432] ata2: soft resetting link
[1281998.575468] ata2.01: NODEV after polling detection
[1281998.698009] ata2.00: configured for MWDMA2
[1281998.714460] ata2: EH complete
Not sure what the deal is with that ATA error. That's a hard drive lost
interrupt problem. Looks to be on your CD Rom drive? Looks like it
recovered.
Post by Ajith Adapa
3. Last but not least after sometime my host kernel crashed as a result
need to restart the VPC.
I don't understand what you are saying here. You're saying your kernel
crashed but I don't understand the "as a result of..." What did you do,
why did you do it, and what happened?
Post by Ajith Adapa
Regards,
Ajith
Regards,
Mike
Post by Ajith Adapa
On Thu, May 16, 2013 at 8:09 PM, Ajith Adapa <ajith.adapa at gmail.com>
Post by Ajith Adapa
I will try the RPMs and steps provided to start a container.
Regards,
Ajith
On Wed, May 15, 2013 at 2:01 PM, Thomas Moschny <
Post by Thomas Moschny
Post by Michael H. Warfield
What I would recommend as steps on Fedora 17...
http://lxc.sourceforge.net/download/lxc/lxc-0.9.0.tar.gz
You should have rpm-build and friends installed via yum on your
system.
Post by Ajith Adapa
Post by Ajith Adapa
Post by Thomas Moschny
http://thm.fedorapeople.org/lxc/ .
Regards,
Thomas
------------------------------------------------------------------------------
Post by Ajith Adapa
Post by Ajith Adapa
Post by Thomas Moschny
AlienVault Unified Security Management (USM) platform delivers
complete
Post by Ajith Adapa
Post by Ajith Adapa
Post by Thomas Moschny
security visibility with the essential security capabilities. Easily
and
Post by Ajith Adapa
Post by Ajith Adapa
Post by Thomas Moschny
efficiently configure, manage, and operate all of your security
controls
Post by Ajith Adapa
Post by Ajith Adapa
Post by Thomas Moschny
from a single console and one unified framework. Download a free
trial.
Post by Ajith Adapa
Post by Ajith Adapa
Post by Thomas Moschny
http://p.sf.net/sfu/alienvault_d2d
_______________________________________________
Lxc-users mailing list
Lxc-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-users
------------------------------------------------------------------------------
Post by Ajith Adapa
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
_______________________________________________ Lxc-users mailing list
Lxc-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-users
--
Michael H. Warfield (AI4NB) | (770) 985-6132 | mhw at WittsEnd.com
/\/\|=mhw=|\/\/ | (678) 463-0932 |
http://www.wittsend.com/mhw/
NIC whois: MHW9 | An optimist believes we live in the best of all
PGP Key: 0x674627FF | possible worlds. A pessimist is sure of it!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20130518/0ef5fe20/attachment.html>
Michael H. Warfield
2013-05-18 13:58:26 UTC
Permalink
Post by Ajith Adapa
Sorry for the confusion.
In case of issue 3, I felt host kernel crashed because of the soft
lock issue mentioned in Issue 2.That's the reason I was saying "as a
result of ..". Ideally speaking I haven't done anything other than
creating the lxc-container at the time. Once I restarted the host
machine after crash I havent observed any issues.
Then I have started the container using below command and tried to
connect to its shell using lxc-console command but I ended up with
below message. Ideally I should see a prompt but its just hangs down
there. <Ctl+a q> works and nothing else.
[root at ipiblr ~]# lxc-start -n TEST -d
[root at ipiblr ~]# lxc-console -n TEST
Type <Ctrl+a q> to exit the console, <Ctrl+a Ctrl+a> to enter Ctrl+a itself
Oh, crap... I keep forgetting about that (because I don't use it).
That needs to be noted somewhere in the documentation.

That's yet another BAD decision on the part of the systemd crowd,
lxc-console is probably not going to work, at least for the time being.
They (systemd) intentionally, with documented malice a forethought,
disable gettys on the vtys in the container if systemd detects that it's
in a container. However, /dev/console in the container is still active
and is connected to lxc-start and I'm able to log in there but I have
never gotten lxc-console to work with a systemd container and I don't
know of anything I can do about it. You would need some way to force
the container to start gettys on the vtys.

Maybe, if I (or someone else) can figure out a way to do that (force the
gettys to start on the vtys), it could be integrated into the Fedora
template. My patches for the autodev stuff (plus other stuff) have now
been accepted and applied by Serge, so that's done. Maybe I can look
deeper into this morass now.

Regards,
Mike
Post by Ajith Adapa
Regards,
Ajith
On Sat, May 18, 2013 at 5:55 PM, Michael H. Warfield
Hello,
Post by Ajith Adapa
Hi,
steps to start a lxc container.
I have a doubt.
1. When I give lxc-create command I came across huge
download of various
Post by Ajith Adapa
files.
As per my understanding rootfs is created for new container
(where can i
Post by Ajith Adapa
get the steps for it ? ).
Steps for what? It's in /var/lib/lxc/{Container}/rootfs/
Post by Ajith Adapa
But I see below log. Is there any issue ?
Copy /var/cache/lxc/fedora/i686/17/rootfs
to /var/lib/lxc/TEST/TEST/rootfs
Post by Ajith Adapa
...
Copying rootfs to /var/lib/lxc/TEST/TEST/rootfs ...setting
root passwd to
Post by Ajith Adapa
root
installing fedora-release package
warning: Failed to read auxiliary vector, /proc not mounted?
warning: Failed to read auxiliary vector, /proc not mounted?
warning: Failed to read auxiliary vector, /proc not mounted?
warning: Failed to read auxiliary vector, /proc not mounted?
warning: Failed to read auxiliary vector, /proc not mounted?
warning: Failed to read auxiliary vector, /proc not mounted?
warning: Failed to read auxiliary vector, /proc not mounted?
warning: Failed to read auxiliary vector, /proc not mounted?
The warnings are perfectly normal and harmless. I ran into this with
recent versions of yum and researched it. It's because /proc is not
mounted in the container itself when the container is being created.
You can ignore them.
Post by Ajith Adapa
Package fedora-release-17-2.noarch already installed and
latest version
Post by Ajith Adapa
Nothing to do
Again, normal.
Post by Ajith Adapa
container rootfs and config created
'fedora' template installed
'TEST' created
Looks like your container was created. I don't see a problem.
Post by Ajith Adapa
2.I see a SOFT LOCK issue with latest version kernel shown
below.
Post by Ajith Adapa
# uname -a
Linux blr 3.8.8-100.fc17.i686 #1 SMP Wed Apr 17 17:26:59 UTC
2013 i686 i686
Post by Ajith Adapa
i386 GNU/Linux
[1098069.351017] SELinux: initialized (dev binfmt_misc, type
binfmt_misc),
Post by Ajith Adapa
uses genfs_contexts
[1281973.370052] BUG: soft lockup - CPU#0 stuck for 23s!
[kworker/0:1:2201]
I've seen that on my Dell 610's but they haven't caused any real
failures. Not quite sure what that is.
Post by Ajith Adapa
[1281973.370052] Modules linked in: binfmt_misc lockd sunrpc
snd_intel8x0
Post by Ajith Adapa
snd_ac97_codec ac97_bus snd_seq snd_seq_device snd_pcm
i2c_piix4 i2c_core
Post by Ajith Adapa
microcode virtio_balloon snd_page_alloc snd_timer snd
soundcore virtio_net
Post by Ajith Adapa
uinput virtio_blk
[1281973.370052] Pid: 2201, comm: kworker/0:1 Not tainted
3.8.8-100.fc17.i686 #1 Bochs Bochs
[1281973.370052] EIP: 0060:[<c068b17a>] EFLAGS: 00000206
CPU: 0
Post by Ajith Adapa
[1281973.370052] EIP is at iowrite16+0x1a/0x40
[1281973.370052] EAX: 00000001 EBX: f69b3000 ECX: 0001c050
EDX: 0000c050
Post by Ajith Adapa
[1281973.370052] ESI: e9d9b600 EDI: 00000000 EBP: f5009b90
ESP: f5009b8c
0068
Post by Ajith Adapa
[1281973.370052] CR0: 8005003b CR2: 09cae530 CR3: 345e0000
CR4: 000006d0
Post by Ajith Adapa
[1281973.370052] DR0: 00000000 DR1: 00000000 DR2: 00000000
DR3: 00000000
Post by Ajith Adapa
[1281973.370052] DR6: ffff0ff0 DR7: 00000400
[1281973.370052] Process kworker/0:1 (pid: 2201, ti=f5008000
task=f6830cb0
Post by Ajith Adapa
task.ti=f4bb2000)
[1281973.370052] c07107cd f5009b9c c070ffb9 f4a17a00
f5009bcc f7c36f2b
Post by Ajith Adapa
00000000 e9d9b600
[1281973.370052] 00000020 00000000 e9d9b600 00000000
f69b2000 00000000
Post by Ajith Adapa
f4b5a740 00000036
[1281973.370052] f5009c00 c088ea5e e9d9b600 00000000
f7c384c0 f6822600
Post by Ajith Adapa
f69b2000 00000000
[1281973.370052] [<c07107cd>] ? vp_notify+0x1d/0x20
[1281973.370052] [<c070ffb9>] virtqueue_kick+0x19/0x20
[1281973.370052] [<f7c36f2b>] start_xmit+0x14b/0x370
[virtio_net]
Post by Ajith Adapa
[1281973.370052] [<c088ea5e>] dev_hard_start_xmit
+0x24e/0x4c0
Post by Ajith Adapa
[1281973.370052] [<c08a793f>] sch_direct_xmit+0xaf/0x180
[1281973.370052] [<c088f01e>] dev_queue_xmit+0x12e/0x370
[1281973.370052] [<c08bf670>] ? ip_fragment+0x870/0x870
[1281973.370052] [<c08bf88e>] ip_finish_output+0x21e/0x3b0
[1281973.370052] [<c08bf670>] ? ip_fragment+0x870/0x870
[1281973.370052] [<c08c0354>] ip_output+0x84/0xd0
[1281973.370052] [<c08bf670>] ? ip_fragment+0x870/0x870
[1281973.370052] [<c08bfb00>] ip_local_out+0x20/0x30
[1281973.370052] [<c08bfc3f>] ip_queue_xmit+0x12f/0x3b0
[1281973.370052] [<c08d62fb>] tcp_transmit_skb+0x3cb/0x850
[1281973.370052] [<c097a440>] ? apic_timer_interrupt
+0x34/0x3c
Post by Ajith Adapa
[1281973.370052] [<c08d8b50>] tcp_send_ack+0xd0/0x120
[1281973.370052] [<c08cc096>] __tcp_ack_snd_check+0x56/0x90
[1281973.370052] [<c08d3038>] tcp_rcv_established
+0x1c8/0x890
Post by Ajith Adapa
[1281973.370052] [<c08dc8f3>] tcp_v4_do_rcv+0x223/0x3e0
[1281973.370052] [<c06233f4>] ? security_sock_rcv_skb
+0x14/0x20
Post by Ajith Adapa
[1281973.370052] [<c08de39c>] tcp_v4_rcv+0x53c/0x770
[1281973.370052] [<c08bb110>] ? ip_rcv_finish+0x320/0x320
[1281973.370052] [<c08bb1c2>] ip_local_deliver_finish
+0xb2/0x260
Post by Ajith Adapa
[1281973.370052] [<c08bb4ac>] ip_local_deliver+0x3c/0x80
[1281973.370052] [<c08bb110>] ? ip_rcv_finish+0x320/0x320
[1281973.370052] [<c08bae50>] ip_rcv_finish+0x60/0x320
[1281973.370052] [<c043009c>] ? pvclock_clocksource_read
+0x9c/0x130
Post by Ajith Adapa
[1281973.370052] [<c08bb73c>] ip_rcv+0x24c/0x370
[1281973.370052] [<c088d5db>] __netif_receive_skb
+0x5bb/0x740
Post by Ajith Adapa
[1281973.370052] [<c088d8ce>] netif_receive_skb+0x2e/0x90
[1281973.370052] [<f7c36a49>] virtnet_poll+0x449/0x6a0
[virtio_net]
Post by Ajith Adapa
[1281973.370052] [<c044d6aa>] ? run_timer_softirq
+0x1a/0x210
Post by Ajith Adapa
[1281973.370052] [<c088decd>] net_rx_action+0x11d/0x1f0
[1281973.370052] [<c044695b>] __do_softirq+0xab/0x1c0
[1281973.370052] [<c04468b0>] ? local_bh_enable_ip
+0x90/0x90
Post by Ajith Adapa
[1281973.370052] <IRQ>
[1281973.370052] [<c0446bdd>] ? irq_exit+0x9d/0xb0
[1281973.370052] [<c04258ee>] ? smp_apic_timer_interrupt
+0x5e/0x90
Post by Ajith Adapa
[1281973.370052] [<c097a440>] ? apic_timer_interrupt
+0x34/0x3c
Post by Ajith Adapa
[1281973.370052] [<c044007b>] ? console_start+0xb/0x20
[1281973.370052] [<c0979bbf>] ? _raw_spin_unlock_irqrestore
+0xf/0x20
Post by Ajith Adapa
[1281973.370052] [<c07918d6>] ? ata_scsi_queuecmd
+0x96/0x250
Post by Ajith Adapa
[1281973.370052] [<c076ad18>] ? scsi_dispatch_cmd
+0xb8/0x260
Post by Ajith Adapa
[1281973.370052] [<c066007b>] ? queue_store_random
+0x4b/0x70
Post by Ajith Adapa
[1281973.370052] [<c07711b3>] ? scsi_request_fn+0x2c3/0x4b0
[1281973.370052] [<c042f2b7>] ? kvm_clock_read+0x17/0x20
[1281973.370052] [<c0409448>] ? sched_clock+0x8/0x10
[1281973.370052] [<c065cace>] ? __blk_run_queue+0x2e/0x40
[1281973.370052] [<c066214a>] ? blk_execute_rq_nowait
+0x6a/0xd0
Post by Ajith Adapa
[1281973.370052] [<c066221d>] ? blk_execute_rq+0x6d/0xe0
[1281973.370052] [<c06620b0>] ? __raw_spin_unlock_irq
+0x10/0x10
Post by Ajith Adapa
[1281973.370052] [<c0446ba7>] ? irq_exit+0x67/0xb0
[1281973.370052] [<c04258ee>] ? smp_apic_timer_interrupt
+0x5e/0x90
Post by Ajith Adapa
[1281973.370052] [<c097a440>] ? apic_timer_interrupt
+0x34/0x3c
Post by Ajith Adapa
[1281973.370052] [<c076ffa0>] ? scsi_execute+0xb0/0x140
[1281973.370052] [<c0771429>] ? scsi_execute_req+0x89/0x100
[1281973.370052] [<c077f3d5>] ? sr_check_events+0xb5/0x2e0
[1281973.370052] [<c07a64cd>] ? cdrom_check_events
+0x1d/0x40
Post by Ajith Adapa
[1281973.370052] [<c077f856>] ? sr_block_check_events
+0x16/0x20
Post by Ajith Adapa
[1281973.370052] [<c06663c5>] ? disk_check_events+0x45/0xf0
[1281973.370052] [<c0666485>] ? disk_events_workfn
+0x15/0x20
Post by Ajith Adapa
[1281973.370052] [<c045788e>] ? process_one_work
+0x12e/0x3d0
Post by Ajith Adapa
[1281973.370052] [<c097a440>] ? apic_timer_interrupt
+0x34/0x3c
Post by Ajith Adapa
[1281973.370052] [<c0459939>] ? worker_thread+0x119/0x3b0
[1281973.370052] [<c0459820>] ? flush_delayed_work
+0x50/0x50
Post by Ajith Adapa
[1281973.370052] [<c045e2a4>] ? kthread+0x94/0xa0
[1281973.370052] [<c0980ef7>] ? ret_from_kernel_thread
+0x1b/0x28
Post by Ajith Adapa
[1281973.370052] [<c045e210>] ? kthread_create_on_node
+0xc0/0xc0
Post by Ajith Adapa
[1281973.370052] Code: 5d c3 8d b4 26 00 00 00 00 89 02 c3
90 8d 74 26 00
Post by Ajith Adapa
81 fa ff ff 03 00 89 d1 77 2e 81 fa 00 00 01 00 76 0e 81 e2
ff ff 00 00 66
Post by Ajith Adapa
ef <c3> 90 8d 74 26 00 55 ba 2c 5a b2 c0 89 e5 89 c8 e8 01
ff ff ff
Post by Ajith Adapa
[1281991.139165] ata2: lost interrupt (Status 0x58)
[1281991.148055] ata2: drained 12 bytes to clear DRQ
[1281991.165039] ata2.00: exception Emask 0x0 SAct 0x0 SErr
0x0 action 0x6
Post by Ajith Adapa
frozen
[1281991.172932] Get event status notification: 4a 01 00 00
10 00 00 00 08
Post by Ajith Adapa
00
[1281991.497342] ata2.00: cmd
a0/00:00:00:08:00/00:00:00:00:00/a0 tag 0 pio
Post by Ajith Adapa
16392 in
[1281991.497342] res
40/00:02:00:04:00/00:00:00:00:00/a0 Emask 0x4
Post by Ajith Adapa
(timeout)
[1281991.523767] ata2.00: status: { DRDY }
[1281991.616161] ata2: soft resetting link
[1281998.232648] ata2.01: qc timeout (cmd 0xec)
[1281998.238559] ata2.01: failed to IDENTIFY (I/O error,
err_mask=0x4)
Post by Ajith Adapa
[1281998.247432] ata2: soft resetting link
[1281998.575468] ata2.01: NODEV after polling detection
[1281998.698009] ata2.00: configured for MWDMA2
[1281998.714460] ata2: EH complete
Not sure what the deal is with that ATA error. That's a hard drive lost
interrupt problem. Looks to be on your CD Rom drive? Looks like it
recovered.
Post by Ajith Adapa
3. Last but not least after sometime my host kernel crashed
as a result
Post by Ajith Adapa
need to restart the VPC.
I don't understand what you are saying here. You're saying your kernel
crashed but I don't understand the "as a result of..." What did you do,
why did you do it, and what happened?
Post by Ajith Adapa
Regards,
Ajith
Regards,
Mike
Post by Ajith Adapa
On Thu, May 16, 2013 at 8:09 PM, Ajith Adapa
Post by Ajith Adapa
I will try the RPMs and steps provided to start a
container.
Post by Ajith Adapa
Post by Ajith Adapa
Regards,
Ajith
On Wed, May 15, 2013 at 2:01 PM, Thomas Moschny
Post by Thomas Moschny
Post by Michael H. Warfield
What I would recommend as steps on Fedora 17...
http://lxc.sourceforge.net/download/lxc/lxc-0.9.0.tar.gz
Post by Ajith Adapa
Post by Ajith Adapa
Post by Thomas Moschny
Post by Michael H. Warfield
You should have rpm-build and friends installed via yum
on your system.
Post by Ajith Adapa
Post by Ajith Adapa
Post by Thomas Moschny
Post by Michael H. Warfield
Build the lxc rpms by running rpmbuild (as any user) as
You could also try using the pre-built packages I put
http://thm.fedorapeople.org/lxc/ .
Regards,
Thomas
------------------------------------------------------------------------------
Post by Ajith Adapa
Post by Ajith Adapa
Post by Thomas Moschny
AlienVault Unified Security Management (USM) platform
delivers complete
Post by Ajith Adapa
Post by Ajith Adapa
Post by Thomas Moschny
security visibility with the essential security
capabilities. Easily and
Post by Ajith Adapa
Post by Ajith Adapa
Post by Thomas Moschny
efficiently configure, manage, and operate all of your
security controls
Post by Ajith Adapa
Post by Ajith Adapa
Post by Thomas Moschny
from a single console and one unified framework. Download
a free trial.
Post by Ajith Adapa
Post by Ajith Adapa
Post by Thomas Moschny
http://p.sf.net/sfu/alienvault_d2d
_______________________________________________
Lxc-users mailing list
Lxc-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-users
------------------------------------------------------------------------------
Post by Ajith Adapa
AlienVault Unified Security Management (USM) platform
delivers complete
Post by Ajith Adapa
security visibility with the essential security
capabilities. Easily and
Post by Ajith Adapa
efficiently configure, manage, and operate all of your
security controls
Post by Ajith Adapa
from a single console and one unified framework. Download a
free trial.
Post by Ajith Adapa
http://p.sf.net/sfu/alienvault_d2d
_______________________________________________ Lxc-users
mailing list Lxc-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-users
--
Michael H. Warfield (AI4NB) | (770) 985-6132 |
mhw at WittsEnd.com
/\/\|=mhw=|\/\/ | (678) 463-0932 |
http://www.wittsend.com/mhw/
NIC whois: MHW9 | An optimist believes we live in
the best of all
PGP Key: 0x674627FF | possible worlds. A pessimist is sure of it!
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
--
Michael H. Warfield (AI4NB) | (770) 985-6132 | mhw at WittsEnd.com
/\/\|=mhw=|\/\/ | (678) 463-0932 | http://www.wittsend.com/mhw/
NIC whois: MHW9 | An optimist believes we live in the best of all
PGP Key: 0x674627FF | possible worlds. A pessimist is sure of it!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 482 bytes
Desc: This is a digitally signed message part
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20130518/44e62a40/attachment.pgp>
Ajith Adapa
2013-05-18 14:11:06 UTC
Permalink
Hmm sounds one more road block for using lxc in fedora 17 because of
systemd.

Currently there is no place where there is a guide for starting up with LXC
for latest fedora versions. I think a page in fedoraproject would be of
great help with the known issues and steps using lxc under various fedora
versions.

I am really thinking to start using LXC containers in fedora 14. Build and
Boot it up with latest stable kernel version (Might be 3.4) and LXC version
(>0.9) and try out using LXC- containers :)
Post by Michael H. Warfield
Post by Ajith Adapa
Sorry for the confusion.
In case of issue 3, I felt host kernel crashed because of the soft
lock issue mentioned in Issue 2.That's the reason I was saying "as a
result of ..". Ideally speaking I haven't done anything other than
creating the lxc-container at the time. Once I restarted the host
machine after crash I havent observed any issues.
Then I have started the container using below command and tried to
connect to its shell using lxc-console command but I ended up with
below message. Ideally I should see a prompt but its just hangs down
there. <Ctl+a q> works and nothing else.
[root at ipiblr ~]# lxc-start -n TEST -d
[root at ipiblr ~]# lxc-console -n TEST
Type <Ctrl+a q> to exit the console, <Ctrl+a Ctrl+a> to enter Ctrl+a itself
Oh, crap... I keep forgetting about that (because I don't use it).
That needs to be noted somewhere in the documentation.
That's yet another BAD decision on the part of the systemd crowd,
lxc-console is probably not going to work, at least for the time being.
They (systemd) intentionally, with documented malice a forethought,
disable gettys on the vtys in the container if systemd detects that it's
in a container. However, /dev/console in the container is still active
and is connected to lxc-start and I'm able to log in there but I have
never gotten lxc-console to work with a systemd container and I don't
know of anything I can do about it. You would need some way to force
the container to start gettys on the vtys.
Maybe, if I (or someone else) can figure out a way to do that (force the
gettys to start on the vtys), it could be integrated into the Fedora
template. My patches for the autodev stuff (plus other stuff) have now
been accepted and applied by Serge, so that's done. Maybe I can look
deeper into this morass now.
Regards,
Mike
Post by Ajith Adapa
Regards,
Ajith
On Sat, May 18, 2013 at 5:55 PM, Michael H. Warfield
Hello,
Post by Ajith Adapa
Hi,
steps to start a lxc container.
I have a doubt.
1. When I give lxc-create command I came across huge
download of various
Post by Ajith Adapa
files.
As per my understanding rootfs is created for new container
(where can i
Post by Ajith Adapa
get the steps for it ? ).
Steps for what? It's in /var/lib/lxc/{Container}/rootfs/
Post by Ajith Adapa
But I see below log. Is there any issue ?
Copy /var/cache/lxc/fedora/i686/17/rootfs
to /var/lib/lxc/TEST/TEST/rootfs
Post by Ajith Adapa
...
Copying rootfs to /var/lib/lxc/TEST/TEST/rootfs ...setting
root passwd to
Post by Ajith Adapa
root
installing fedora-release package
warning: Failed to read auxiliary vector, /proc not mounted?
warning: Failed to read auxiliary vector, /proc not mounted?
warning: Failed to read auxiliary vector, /proc not mounted?
warning: Failed to read auxiliary vector, /proc not mounted?
warning: Failed to read auxiliary vector, /proc not mounted?
warning: Failed to read auxiliary vector, /proc not mounted?
warning: Failed to read auxiliary vector, /proc not mounted?
warning: Failed to read auxiliary vector, /proc not mounted?
The warnings are perfectly normal and harmless. I ran into this with
recent versions of yum and researched it. It's because /proc is not
mounted in the container itself when the container is being created.
You can ignore them.
Post by Ajith Adapa
Package fedora-release-17-2.noarch already installed and
latest version
Post by Ajith Adapa
Nothing to do
Again, normal.
Post by Ajith Adapa
container rootfs and config created
'fedora' template installed
'TEST' created
Looks like your container was created. I don't see a problem.
Post by Ajith Adapa
2.I see a SOFT LOCK issue with latest version kernel shown
below.
Post by Ajith Adapa
# uname -a
Linux blr 3.8.8-100.fc17.i686 #1 SMP Wed Apr 17 17:26:59 UTC
2013 i686 i686
Post by Ajith Adapa
i386 GNU/Linux
[1098069.351017] SELinux: initialized (dev binfmt_misc, type
binfmt_misc),
Post by Ajith Adapa
uses genfs_contexts
[1281973.370052] BUG: soft lockup - CPU#0 stuck for 23s!
[kworker/0:1:2201]
I've seen that on my Dell 610's but they haven't caused any real
failures. Not quite sure what that is.
Post by Ajith Adapa
[1281973.370052] Modules linked in: binfmt_misc lockd sunrpc
snd_intel8x0
Post by Ajith Adapa
snd_ac97_codec ac97_bus snd_seq snd_seq_device snd_pcm
i2c_piix4 i2c_core
Post by Ajith Adapa
microcode virtio_balloon snd_page_alloc snd_timer snd
soundcore virtio_net
Post by Ajith Adapa
uinput virtio_blk
[1281973.370052] Pid: 2201, comm: kworker/0:1 Not tainted
3.8.8-100.fc17.i686 #1 Bochs Bochs
[1281973.370052] EIP: 0060:[<c068b17a>] EFLAGS: 00000206
CPU: 0
Post by Ajith Adapa
[1281973.370052] EIP is at iowrite16+0x1a/0x40
[1281973.370052] EAX: 00000001 EBX: f69b3000 ECX: 0001c050
EDX: 0000c050
Post by Ajith Adapa
[1281973.370052] ESI: e9d9b600 EDI: 00000000 EBP: f5009b90
ESP: f5009b8c
0068
Post by Ajith Adapa
[1281973.370052] CR0: 8005003b CR2: 09cae530 CR3: 345e0000
CR4: 000006d0
Post by Ajith Adapa
[1281973.370052] DR0: 00000000 DR1: 00000000 DR2: 00000000
DR3: 00000000
Post by Ajith Adapa
[1281973.370052] DR6: ffff0ff0 DR7: 00000400
[1281973.370052] Process kworker/0:1 (pid: 2201, ti=f5008000
task=f6830cb0
Post by Ajith Adapa
task.ti=f4bb2000)
[1281973.370052] c07107cd f5009b9c c070ffb9 f4a17a00
f5009bcc f7c36f2b
Post by Ajith Adapa
00000000 e9d9b600
[1281973.370052] 00000020 00000000 e9d9b600 00000000
f69b2000 00000000
Post by Ajith Adapa
f4b5a740 00000036
[1281973.370052] f5009c00 c088ea5e e9d9b600 00000000
f7c384c0 f6822600
Post by Ajith Adapa
f69b2000 00000000
[1281973.370052] [<c07107cd>] ? vp_notify+0x1d/0x20
[1281973.370052] [<c070ffb9>] virtqueue_kick+0x19/0x20
[1281973.370052] [<f7c36f2b>] start_xmit+0x14b/0x370
[virtio_net]
Post by Ajith Adapa
[1281973.370052] [<c088ea5e>] dev_hard_start_xmit
+0x24e/0x4c0
Post by Ajith Adapa
[1281973.370052] [<c08a793f>] sch_direct_xmit+0xaf/0x180
[1281973.370052] [<c088f01e>] dev_queue_xmit+0x12e/0x370
[1281973.370052] [<c08bf670>] ? ip_fragment+0x870/0x870
[1281973.370052] [<c08bf88e>] ip_finish_output+0x21e/0x3b0
[1281973.370052] [<c08bf670>] ? ip_fragment+0x870/0x870
[1281973.370052] [<c08c0354>] ip_output+0x84/0xd0
[1281973.370052] [<c08bf670>] ? ip_fragment+0x870/0x870
[1281973.370052] [<c08bfb00>] ip_local_out+0x20/0x30
[1281973.370052] [<c08bfc3f>] ip_queue_xmit+0x12f/0x3b0
[1281973.370052] [<c08d62fb>] tcp_transmit_skb+0x3cb/0x850
[1281973.370052] [<c097a440>] ? apic_timer_interrupt
+0x34/0x3c
Post by Ajith Adapa
[1281973.370052] [<c08d8b50>] tcp_send_ack+0xd0/0x120
[1281973.370052] [<c08cc096>] __tcp_ack_snd_check+0x56/0x90
[1281973.370052] [<c08d3038>] tcp_rcv_established
+0x1c8/0x890
Post by Ajith Adapa
[1281973.370052] [<c08dc8f3>] tcp_v4_do_rcv+0x223/0x3e0
[1281973.370052] [<c06233f4>] ? security_sock_rcv_skb
+0x14/0x20
Post by Ajith Adapa
[1281973.370052] [<c08de39c>] tcp_v4_rcv+0x53c/0x770
[1281973.370052] [<c08bb110>] ? ip_rcv_finish+0x320/0x320
[1281973.370052] [<c08bb1c2>] ip_local_deliver_finish
+0xb2/0x260
Post by Ajith Adapa
[1281973.370052] [<c08bb4ac>] ip_local_deliver+0x3c/0x80
[1281973.370052] [<c08bb110>] ? ip_rcv_finish+0x320/0x320
[1281973.370052] [<c08bae50>] ip_rcv_finish+0x60/0x320
[1281973.370052] [<c043009c>] ? pvclock_clocksource_read
+0x9c/0x130
Post by Ajith Adapa
[1281973.370052] [<c08bb73c>] ip_rcv+0x24c/0x370
[1281973.370052] [<c088d5db>] __netif_receive_skb
+0x5bb/0x740
Post by Ajith Adapa
[1281973.370052] [<c088d8ce>] netif_receive_skb+0x2e/0x90
[1281973.370052] [<f7c36a49>] virtnet_poll+0x449/0x6a0
[virtio_net]
Post by Ajith Adapa
[1281973.370052] [<c044d6aa>] ? run_timer_softirq
+0x1a/0x210
Post by Ajith Adapa
[1281973.370052] [<c088decd>] net_rx_action+0x11d/0x1f0
[1281973.370052] [<c044695b>] __do_softirq+0xab/0x1c0
[1281973.370052] [<c04468b0>] ? local_bh_enable_ip
+0x90/0x90
Post by Ajith Adapa
[1281973.370052] <IRQ>
[1281973.370052] [<c0446bdd>] ? irq_exit+0x9d/0xb0
[1281973.370052] [<c04258ee>] ? smp_apic_timer_interrupt
+0x5e/0x90
Post by Ajith Adapa
[1281973.370052] [<c097a440>] ? apic_timer_interrupt
+0x34/0x3c
Post by Ajith Adapa
[1281973.370052] [<c044007b>] ? console_start+0xb/0x20
[1281973.370052] [<c0979bbf>] ? _raw_spin_unlock_irqrestore
+0xf/0x20
Post by Ajith Adapa
[1281973.370052] [<c07918d6>] ? ata_scsi_queuecmd
+0x96/0x250
Post by Ajith Adapa
[1281973.370052] [<c076ad18>] ? scsi_dispatch_cmd
+0xb8/0x260
Post by Ajith Adapa
[1281973.370052] [<c066007b>] ? queue_store_random
+0x4b/0x70
Post by Ajith Adapa
[1281973.370052] [<c07711b3>] ? scsi_request_fn+0x2c3/0x4b0
[1281973.370052] [<c042f2b7>] ? kvm_clock_read+0x17/0x20
[1281973.370052] [<c0409448>] ? sched_clock+0x8/0x10
[1281973.370052] [<c065cace>] ? __blk_run_queue+0x2e/0x40
[1281973.370052] [<c066214a>] ? blk_execute_rq_nowait
+0x6a/0xd0
Post by Ajith Adapa
[1281973.370052] [<c066221d>] ? blk_execute_rq+0x6d/0xe0
[1281973.370052] [<c06620b0>] ? __raw_spin_unlock_irq
+0x10/0x10
Post by Ajith Adapa
[1281973.370052] [<c0446ba7>] ? irq_exit+0x67/0xb0
[1281973.370052] [<c04258ee>] ? smp_apic_timer_interrupt
+0x5e/0x90
Post by Ajith Adapa
[1281973.370052] [<c097a440>] ? apic_timer_interrupt
+0x34/0x3c
Post by Ajith Adapa
[1281973.370052] [<c076ffa0>] ? scsi_execute+0xb0/0x140
[1281973.370052] [<c0771429>] ? scsi_execute_req+0x89/0x100
[1281973.370052] [<c077f3d5>] ? sr_check_events+0xb5/0x2e0
[1281973.370052] [<c07a64cd>] ? cdrom_check_events
+0x1d/0x40
Post by Ajith Adapa
[1281973.370052] [<c077f856>] ? sr_block_check_events
+0x16/0x20
Post by Ajith Adapa
[1281973.370052] [<c06663c5>] ? disk_check_events+0x45/0xf0
[1281973.370052] [<c0666485>] ? disk_events_workfn
+0x15/0x20
Post by Ajith Adapa
[1281973.370052] [<c045788e>] ? process_one_work
+0x12e/0x3d0
Post by Ajith Adapa
[1281973.370052] [<c097a440>] ? apic_timer_interrupt
+0x34/0x3c
Post by Ajith Adapa
[1281973.370052] [<c0459939>] ? worker_thread+0x119/0x3b0
[1281973.370052] [<c0459820>] ? flush_delayed_work
+0x50/0x50
Post by Ajith Adapa
[1281973.370052] [<c045e2a4>] ? kthread+0x94/0xa0
[1281973.370052] [<c0980ef7>] ? ret_from_kernel_thread
+0x1b/0x28
Post by Ajith Adapa
[1281973.370052] [<c045e210>] ? kthread_create_on_node
+0xc0/0xc0
Post by Ajith Adapa
[1281973.370052] Code: 5d c3 8d b4 26 00 00 00 00 89 02 c3
90 8d 74 26 00
Post by Ajith Adapa
81 fa ff ff 03 00 89 d1 77 2e 81 fa 00 00 01 00 76 0e 81 e2
ff ff 00 00 66
Post by Ajith Adapa
ef <c3> 90 8d 74 26 00 55 ba 2c 5a b2 c0 89 e5 89 c8 e8 01
ff ff ff
Post by Ajith Adapa
[1281991.139165] ata2: lost interrupt (Status 0x58)
[1281991.148055] ata2: drained 12 bytes to clear DRQ
[1281991.165039] ata2.00: exception Emask 0x0 SAct 0x0 SErr
0x0 action 0x6
Post by Ajith Adapa
frozen
[1281991.172932] Get event status notification: 4a 01 00 00
10 00 00 00 08
Post by Ajith Adapa
00
[1281991.497342] ata2.00: cmd
a0/00:00:00:08:00/00:00:00:00:00/a0 tag 0 pio
Post by Ajith Adapa
16392 in
[1281991.497342] res
40/00:02:00:04:00/00:00:00:00:00/a0 Emask 0x4
Post by Ajith Adapa
(timeout)
[1281991.523767] ata2.00: status: { DRDY }
[1281991.616161] ata2: soft resetting link
[1281998.232648] ata2.01: qc timeout (cmd 0xec)
[1281998.238559] ata2.01: failed to IDENTIFY (I/O error,
err_mask=0x4)
Post by Ajith Adapa
[1281998.247432] ata2: soft resetting link
[1281998.575468] ata2.01: NODEV after polling detection
[1281998.698009] ata2.00: configured for MWDMA2
[1281998.714460] ata2: EH complete
Not sure what the deal is with that ATA error. That's a hard
drive lost
interrupt problem. Looks to be on your CD Rom drive? Looks like it
recovered.
Post by Ajith Adapa
3. Last but not least after sometime my host kernel crashed
as a result
Post by Ajith Adapa
need to restart the VPC.
I don't understand what you are saying here. You're saying your kernel
crashed but I don't understand the "as a result of..." What
did you do,
why did you do it, and what happened?
Post by Ajith Adapa
Regards,
Ajith
Regards,
Mike
Post by Ajith Adapa
On Thu, May 16, 2013 at 8:09 PM, Ajith Adapa
Post by Ajith Adapa
I will try the RPMs and steps provided to start a
container.
Post by Ajith Adapa
Post by Ajith Adapa
Regards,
Ajith
On Wed, May 15, 2013 at 2:01 PM, Thomas Moschny
Post by Thomas Moschny
Post by Michael H. Warfield
What I would recommend as steps on Fedora 17...
http://lxc.sourceforge.net/download/lxc/lxc-0.9.0.tar.gz
Post by Ajith Adapa
Post by Ajith Adapa
Post by Thomas Moschny
Post by Michael H. Warfield
You should have rpm-build and friends installed via yum
on your system.
Post by Ajith Adapa
Post by Ajith Adapa
Post by Thomas Moschny
Post by Michael H. Warfield
Build the lxc rpms by running rpmbuild (as any user) as
You could also try using the pre-built packages I put
http://thm.fedorapeople.org/lxc/ .
Regards,
Thomas
------------------------------------------------------------------------------
Post by Ajith Adapa
Post by Ajith Adapa
Post by Ajith Adapa
Post by Thomas Moschny
AlienVault Unified Security Management (USM) platform
delivers complete
Post by Ajith Adapa
Post by Ajith Adapa
Post by Thomas Moschny
security visibility with the essential security
capabilities. Easily and
Post by Ajith Adapa
Post by Ajith Adapa
Post by Thomas Moschny
efficiently configure, manage, and operate all of your
security controls
Post by Ajith Adapa
Post by Ajith Adapa
Post by Thomas Moschny
from a single console and one unified framework. Download
a free trial.
Post by Ajith Adapa
Post by Ajith Adapa
Post by Thomas Moschny
http://p.sf.net/sfu/alienvault_d2d
_______________________________________________
Lxc-users mailing list
Lxc-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-users
------------------------------------------------------------------------------
Post by Ajith Adapa
Post by Ajith Adapa
AlienVault Unified Security Management (USM) platform
delivers complete
Post by Ajith Adapa
security visibility with the essential security
capabilities. Easily and
Post by Ajith Adapa
efficiently configure, manage, and operate all of your
security controls
Post by Ajith Adapa
from a single console and one unified framework. Download a
free trial.
Post by Ajith Adapa
http://p.sf.net/sfu/alienvault_d2d
_______________________________________________ Lxc-users
mailing list Lxc-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-users
--
Michael H. Warfield (AI4NB) | (770) 985-6132 |
mhw at WittsEnd.com
/\/\|=mhw=|\/\/ | (678) 463-0932 |
http://www.wittsend.com/mhw/
NIC whois: MHW9 | An optimist believes we live in
the best of all
PGP Key: 0x674627FF | possible worlds. A pessimist is
sure of it!
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
--
Michael H. Warfield (AI4NB) | (770) 985-6132 | mhw at WittsEnd.com
/\/\|=mhw=|\/\/ | (678) 463-0932 |
http://www.wittsend.com/mhw/
NIC whois: MHW9 | An optimist believes we live in the best of all
PGP Key: 0x674627FF | possible worlds. A pessimist is sure of it!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20130518/a303bf0c/attachment.html>
Michael H. Warfield
2013-05-18 18:19:50 UTC
Permalink
Post by Ajith Adapa
Hmm sounds one more road block for using lxc in fedora 17 because of
systemd.
It's not a roadblock. More like a mile long stretch of stingers (stop
spike strips / tire deflators). We're getting there. It's just one
more unnecessary puzzle to solve. Sigh...
Post by Ajith Adapa
Currently there is no place where there is a guide for starting up
with LXC for latest fedora versions. I think a page in fedoraproject
would be of great help with the known issues and steps using lxc under
various fedora versions.
First we get it working but, yeah, that would be incredibly nice and
then also add it to this project as well.
Post by Ajith Adapa
I am really thinking to start using LXC containers in fedora 14. Build
and Boot it up with latest stable kernel version (Might be 3.4) and
LXC version (>0.9) and try out using LXC- containers :)
On Sat, May 18, 2013 at 7:28 PM, Michael H. Warfield
Post by Ajith Adapa
Sorry for the confusion.
In case of issue 3, I felt host kernel crashed because of
the soft
Post by Ajith Adapa
lock issue mentioned in Issue 2.That's the reason I was
saying "as a
Post by Ajith Adapa
result of ..". Ideally speaking I haven't done anything
other than
Post by Ajith Adapa
creating the lxc-container at the time. Once I restarted the
host
Post by Ajith Adapa
machine after crash I havent observed any issues.
Then I have started the container using below command and
tried to
Post by Ajith Adapa
connect to its shell using lxc-console command but I ended
up with
Post by Ajith Adapa
below message. Ideally I should see a prompt but its just
hangs down
Post by Ajith Adapa
there. <Ctl+a q> works and nothing else.
[root at ipiblr ~]# lxc-start -n TEST -d
[root at ipiblr ~]# lxc-console -n TEST
Type <Ctrl+a q> to exit the console, <Ctrl+a Ctrl+a> to
enter Ctrl+a
Post by Ajith Adapa
itself
Oh, crap... I keep forgetting about that (because I don't use it).
That needs to be noted somewhere in the documentation.
That's yet another BAD decision on the part of the systemd crowd,
lxc-console is probably not going to work, at least for the time being.
They (systemd) intentionally, with documented malice a
forethought,
disable gettys on the vtys in the container if systemd detects that it's
in a container. However, /dev/console in the container is still active
and is connected to lxc-start and I'm able to log in there but I have
never gotten lxc-console to work with a systemd container and I don't
know of anything I can do about it. You would need some way to force
the container to start gettys on the vtys.
Maybe, if I (or someone else) can figure out a way to do that (force the
gettys to start on the vtys), it could be integrated into the Fedora
template. My patches for the autodev stuff (plus other stuff) have now
been accepted and applied by Serge, so that's done. Maybe I can look
deeper into this morass now.
Regards,
Mike
Post by Ajith Adapa
Regards,
Ajith
On Sat, May 18, 2013 at 5:55 PM, Michael H. Warfield
Hello,
On Sat, 2013-05-18 at 12:35 +0530, Ajith Adapa
Post by Ajith Adapa
Hi,
and
Post by Ajith Adapa
Post by Ajith Adapa
steps to start a lxc container.
I have a doubt.
1. When I give lxc-create command I came across
huge
Post by Ajith Adapa
download of various
Post by Ajith Adapa
files.
As per my understanding rootfs is created for new
container
Post by Ajith Adapa
(where can i
Post by Ajith Adapa
get the steps for it ? ).
Steps for what? It's
in /var/lib/lxc/{Container}/rootfs/
Post by Ajith Adapa
Post by Ajith Adapa
But I see below log. Is there any issue ?
Copy /var/cache/lxc/fedora/i686/17/rootfs
to /var/lib/lxc/TEST/TEST/rootfs
Post by Ajith Adapa
...
Copying rootfs
to /var/lib/lxc/TEST/TEST/rootfs ...setting
Post by Ajith Adapa
root passwd to
Post by Ajith Adapa
root
installing fedora-release package
warning: Failed to read auxiliary vector, /proc
not mounted?
Post by Ajith Adapa
Post by Ajith Adapa
warning: Failed to read auxiliary vector, /proc
not mounted?
Post by Ajith Adapa
Post by Ajith Adapa
warning: Failed to read auxiliary vector, /proc
not mounted?
Post by Ajith Adapa
Post by Ajith Adapa
warning: Failed to read auxiliary vector, /proc
not mounted?
Post by Ajith Adapa
Post by Ajith Adapa
warning: Failed to read auxiliary vector, /proc
not mounted?
Post by Ajith Adapa
Post by Ajith Adapa
warning: Failed to read auxiliary vector, /proc
not mounted?
Post by Ajith Adapa
Post by Ajith Adapa
warning: Failed to read auxiliary vector, /proc
not mounted?
Post by Ajith Adapa
Post by Ajith Adapa
warning: Failed to read auxiliary vector, /proc
not mounted?
Post by Ajith Adapa
The warnings are perfectly normal and harmless. I
ran into
Post by Ajith Adapa
this with
recent versions of yum and researched it. It's
because /proc
Post by Ajith Adapa
is not
mounted in the container itself when the container
is being
Post by Ajith Adapa
created.
You can ignore them.
Post by Ajith Adapa
Package fedora-release-17-2.noarch already
installed and
Post by Ajith Adapa
latest version
Post by Ajith Adapa
Nothing to do
Again, normal.
Post by Ajith Adapa
container rootfs and config created
'fedora' template installed
'TEST' created
Looks like your container was created. I don't see
a problem.
Post by Ajith Adapa
Post by Ajith Adapa
2.I see a SOFT LOCK issue with latest version
kernel shown
Post by Ajith Adapa
below.
Post by Ajith Adapa
# uname -a
Linux blr 3.8.8-100.fc17.i686 #1 SMP Wed Apr 17
17:26:59 UTC
Post by Ajith Adapa
2013 i686 i686
Post by Ajith Adapa
i386 GNU/Linux
[1098069.351017] SELinux: initialized (dev
binfmt_misc, type
Post by Ajith Adapa
binfmt_misc),
Post by Ajith Adapa
uses genfs_contexts
[1281973.370052] BUG: soft lockup - CPU#0 stuck
for 23s!
Post by Ajith Adapa
[kworker/0:1:2201]
I've seen that on my Dell 610's but they haven't
caused any
Post by Ajith Adapa
real
failures. Not quite sure what that is.
Post by Ajith Adapa
[1281973.370052] Modules linked in: binfmt_misc
lockd sunrpc
Post by Ajith Adapa
snd_intel8x0
Post by Ajith Adapa
snd_ac97_codec ac97_bus snd_seq snd_seq_device
snd_pcm
Post by Ajith Adapa
i2c_piix4 i2c_core
Post by Ajith Adapa
microcode virtio_balloon snd_page_alloc snd_timer
snd
Post by Ajith Adapa
soundcore virtio_net
Post by Ajith Adapa
uinput virtio_blk
[1281973.370052] Pid: 2201, comm: kworker/0:1 Not
tainted
Post by Ajith Adapa
Post by Ajith Adapa
3.8.8-100.fc17.i686 #1 Bochs Bochs
00000206
Post by Ajith Adapa
CPU: 0
Post by Ajith Adapa
[1281973.370052] EIP is at iowrite16+0x1a/0x40
0001c050
Post by Ajith Adapa
EDX: 0000c050
f5009b90
Post by Ajith Adapa
ESP: f5009b8c
0068
345e0000
Post by Ajith Adapa
CR4: 000006d0
00000000
Post by Ajith Adapa
DR3: 00000000
Post by Ajith Adapa
[1281973.370052] DR6: ffff0ff0 DR7: 00000400
[1281973.370052] Process kworker/0:1 (pid: 2201,
ti=f5008000
Post by Ajith Adapa
task=f6830cb0
Post by Ajith Adapa
task.ti=f4bb2000)
[1281973.370052] c07107cd f5009b9c c070ffb9
f4a17a00
Post by Ajith Adapa
f5009bcc f7c36f2b
Post by Ajith Adapa
00000000 e9d9b600
[1281973.370052] 00000020 00000000 e9d9b600
00000000
Post by Ajith Adapa
f69b2000 00000000
Post by Ajith Adapa
f4b5a740 00000036
[1281973.370052] f5009c00 c088ea5e e9d9b600
00000000
Post by Ajith Adapa
f7c384c0 f6822600
Post by Ajith Adapa
f69b2000 00000000
[1281973.370052] [<c07107cd>] ? vp_notify
+0x1d/0x20
Post by Ajith Adapa
Post by Ajith Adapa
[1281973.370052] [<c070ffb9>] virtqueue_kick
+0x19/0x20
Post by Ajith Adapa
Post by Ajith Adapa
[1281973.370052] [<f7c36f2b>] start_xmit
+0x14b/0x370
Post by Ajith Adapa
[virtio_net]
Post by Ajith Adapa
[1281973.370052] [<c088ea5e>] dev_hard_start_xmit
+0x24e/0x4c0
Post by Ajith Adapa
[1281973.370052] [<c08a793f>] sch_direct_xmit
+0xaf/0x180
Post by Ajith Adapa
Post by Ajith Adapa
[1281973.370052] [<c088f01e>] dev_queue_xmit
+0x12e/0x370
Post by Ajith Adapa
Post by Ajith Adapa
[1281973.370052] [<c08bf670>] ? ip_fragment
+0x870/0x870
Post by Ajith Adapa
Post by Ajith Adapa
[1281973.370052] [<c08bf88e>] ip_finish_output
+0x21e/0x3b0
Post by Ajith Adapa
Post by Ajith Adapa
[1281973.370052] [<c08bf670>] ? ip_fragment
+0x870/0x870
Post by Ajith Adapa
Post by Ajith Adapa
[1281973.370052] [<c08c0354>] ip_output+0x84/0xd0
[1281973.370052] [<c08bf670>] ? ip_fragment
+0x870/0x870
Post by Ajith Adapa
Post by Ajith Adapa
[1281973.370052] [<c08bfb00>] ip_local_out
+0x20/0x30
Post by Ajith Adapa
Post by Ajith Adapa
[1281973.370052] [<c08bfc3f>] ip_queue_xmit
+0x12f/0x3b0
Post by Ajith Adapa
Post by Ajith Adapa
[1281973.370052] [<c08d62fb>] tcp_transmit_skb
+0x3cb/0x850
Post by Ajith Adapa
Post by Ajith Adapa
[1281973.370052] [<c097a440>] ?
apic_timer_interrupt
Post by Ajith Adapa
+0x34/0x3c
Post by Ajith Adapa
[1281973.370052] [<c08d8b50>] tcp_send_ack
+0xd0/0x120
Post by Ajith Adapa
Post by Ajith Adapa
[1281973.370052] [<c08cc096>] __tcp_ack_snd_check
+0x56/0x90
Post by Ajith Adapa
Post by Ajith Adapa
[1281973.370052] [<c08d3038>] tcp_rcv_established
+0x1c8/0x890
Post by Ajith Adapa
[1281973.370052] [<c08dc8f3>] tcp_v4_do_rcv
+0x223/0x3e0
Post by Ajith Adapa
Post by Ajith Adapa
[1281973.370052] [<c06233f4>] ?
security_sock_rcv_skb
Post by Ajith Adapa
+0x14/0x20
Post by Ajith Adapa
[1281973.370052] [<c08de39c>] tcp_v4_rcv
+0x53c/0x770
Post by Ajith Adapa
Post by Ajith Adapa
[1281973.370052] [<c08bb110>] ? ip_rcv_finish
+0x320/0x320
Post by Ajith Adapa
Post by Ajith Adapa
[1281973.370052] [<c08bb1c2>]
ip_local_deliver_finish
Post by Ajith Adapa
+0xb2/0x260
Post by Ajith Adapa
[1281973.370052] [<c08bb4ac>] ip_local_deliver
+0x3c/0x80
Post by Ajith Adapa
Post by Ajith Adapa
[1281973.370052] [<c08bb110>] ? ip_rcv_finish
+0x320/0x320
Post by Ajith Adapa
Post by Ajith Adapa
[1281973.370052] [<c08bae50>] ip_rcv_finish
+0x60/0x320
Post by Ajith Adapa
Post by Ajith Adapa
[1281973.370052] [<c043009c>] ?
pvclock_clocksource_read
Post by Ajith Adapa
+0x9c/0x130
Post by Ajith Adapa
[1281973.370052] [<c08bb73c>] ip_rcv+0x24c/0x370
[1281973.370052] [<c088d5db>] __netif_receive_skb
+0x5bb/0x740
Post by Ajith Adapa
[1281973.370052] [<c088d8ce>] netif_receive_skb
+0x2e/0x90
Post by Ajith Adapa
Post by Ajith Adapa
[1281973.370052] [<f7c36a49>] virtnet_poll
+0x449/0x6a0
Post by Ajith Adapa
[virtio_net]
Post by Ajith Adapa
[1281973.370052] [<c044d6aa>] ? run_timer_softirq
+0x1a/0x210
Post by Ajith Adapa
[1281973.370052] [<c088decd>] net_rx_action
+0x11d/0x1f0
Post by Ajith Adapa
Post by Ajith Adapa
[1281973.370052] [<c044695b>] __do_softirq
+0xab/0x1c0
Post by Ajith Adapa
Post by Ajith Adapa
[1281973.370052] [<c04468b0>] ?
local_bh_enable_ip
Post by Ajith Adapa
+0x90/0x90
Post by Ajith Adapa
[1281973.370052] <IRQ>
[1281973.370052] [<c0446bdd>] ? irq_exit
+0x9d/0xb0
Post by Ajith Adapa
Post by Ajith Adapa
[1281973.370052] [<c04258ee>] ?
smp_apic_timer_interrupt
Post by Ajith Adapa
+0x5e/0x90
Post by Ajith Adapa
[1281973.370052] [<c097a440>] ?
apic_timer_interrupt
Post by Ajith Adapa
+0x34/0x3c
Post by Ajith Adapa
[1281973.370052] [<c044007b>] ? console_start
+0xb/0x20
Post by Ajith Adapa
Post by Ajith Adapa
[1281973.370052] [<c0979bbf>] ?
_raw_spin_unlock_irqrestore
Post by Ajith Adapa
+0xf/0x20
Post by Ajith Adapa
[1281973.370052] [<c07918d6>] ? ata_scsi_queuecmd
+0x96/0x250
Post by Ajith Adapa
[1281973.370052] [<c076ad18>] ? scsi_dispatch_cmd
+0xb8/0x260
Post by Ajith Adapa
[1281973.370052] [<c066007b>] ?
queue_store_random
Post by Ajith Adapa
+0x4b/0x70
Post by Ajith Adapa
[1281973.370052] [<c07711b3>] ? scsi_request_fn
+0x2c3/0x4b0
Post by Ajith Adapa
Post by Ajith Adapa
[1281973.370052] [<c042f2b7>] ? kvm_clock_read
+0x17/0x20
Post by Ajith Adapa
Post by Ajith Adapa
[1281973.370052] [<c0409448>] ? sched_clock
+0x8/0x10
Post by Ajith Adapa
Post by Ajith Adapa
[1281973.370052] [<c065cace>] ? __blk_run_queue
+0x2e/0x40
Post by Ajith Adapa
Post by Ajith Adapa
[1281973.370052] [<c066214a>] ?
blk_execute_rq_nowait
Post by Ajith Adapa
+0x6a/0xd0
Post by Ajith Adapa
[1281973.370052] [<c066221d>] ? blk_execute_rq
+0x6d/0xe0
Post by Ajith Adapa
Post by Ajith Adapa
[1281973.370052] [<c06620b0>] ?
__raw_spin_unlock_irq
Post by Ajith Adapa
+0x10/0x10
Post by Ajith Adapa
[1281973.370052] [<c0446ba7>] ? irq_exit
+0x67/0xb0
Post by Ajith Adapa
Post by Ajith Adapa
[1281973.370052] [<c04258ee>] ?
smp_apic_timer_interrupt
Post by Ajith Adapa
+0x5e/0x90
Post by Ajith Adapa
[1281973.370052] [<c097a440>] ?
apic_timer_interrupt
Post by Ajith Adapa
+0x34/0x3c
Post by Ajith Adapa
[1281973.370052] [<c076ffa0>] ? scsi_execute
+0xb0/0x140
Post by Ajith Adapa
Post by Ajith Adapa
[1281973.370052] [<c0771429>] ? scsi_execute_req
+0x89/0x100
Post by Ajith Adapa
Post by Ajith Adapa
[1281973.370052] [<c077f3d5>] ? sr_check_events
+0xb5/0x2e0
Post by Ajith Adapa
Post by Ajith Adapa
[1281973.370052] [<c07a64cd>] ?
cdrom_check_events
Post by Ajith Adapa
+0x1d/0x40
Post by Ajith Adapa
[1281973.370052] [<c077f856>] ?
sr_block_check_events
Post by Ajith Adapa
+0x16/0x20
Post by Ajith Adapa
[1281973.370052] [<c06663c5>] ? disk_check_events
+0x45/0xf0
Post by Ajith Adapa
Post by Ajith Adapa
[1281973.370052] [<c0666485>] ?
disk_events_workfn
Post by Ajith Adapa
+0x15/0x20
Post by Ajith Adapa
[1281973.370052] [<c045788e>] ? process_one_work
+0x12e/0x3d0
Post by Ajith Adapa
[1281973.370052] [<c097a440>] ?
apic_timer_interrupt
Post by Ajith Adapa
+0x34/0x3c
Post by Ajith Adapa
[1281973.370052] [<c0459939>] ? worker_thread
+0x119/0x3b0
Post by Ajith Adapa
Post by Ajith Adapa
[1281973.370052] [<c0459820>] ?
flush_delayed_work
Post by Ajith Adapa
+0x50/0x50
Post by Ajith Adapa
[1281973.370052] [<c045e2a4>] ? kthread+0x94/0xa0
[1281973.370052] [<c0980ef7>] ?
ret_from_kernel_thread
Post by Ajith Adapa
+0x1b/0x28
Post by Ajith Adapa
[1281973.370052] [<c045e210>] ?
kthread_create_on_node
Post by Ajith Adapa
+0xc0/0xc0
Post by Ajith Adapa
[1281973.370052] Code: 5d c3 8d b4 26 00 00 00 00
89 02 c3
Post by Ajith Adapa
90 8d 74 26 00
Post by Ajith Adapa
81 fa ff ff 03 00 89 d1 77 2e 81 fa 00 00 01 00 76
0e 81 e2
Post by Ajith Adapa
ff ff 00 00 66
Post by Ajith Adapa
ef <c3> 90 8d 74 26 00 55 ba 2c 5a b2 c0 89 e5 89
c8 e8 01
Post by Ajith Adapa
ff ff ff
Post by Ajith Adapa
[1281991.139165] ata2: lost interrupt (Status
0x58)
Post by Ajith Adapa
Post by Ajith Adapa
[1281991.148055] ata2: drained 12 bytes to clear
DRQ
Post by Ajith Adapa
Post by Ajith Adapa
[1281991.165039] ata2.00: exception Emask 0x0 SAct
0x0 SErr
Post by Ajith Adapa
0x0 action 0x6
Post by Ajith Adapa
frozen
[1281991.172932] Get event status notification: 4a
01 00 00
Post by Ajith Adapa
10 00 00 00 08
Post by Ajith Adapa
00
[1281991.497342] ata2.00: cmd
a0/00:00:00:08:00/00:00:00:00:00/a0 tag 0 pio
Post by Ajith Adapa
16392 in
[1281991.497342] res
40/00:02:00:04:00/00:00:00:00:00/a0 Emask 0x4
Post by Ajith Adapa
(timeout)
[1281991.523767] ata2.00: status: { DRDY }
[1281991.616161] ata2: soft resetting link
[1281998.232648] ata2.01: qc timeout (cmd 0xec)
[1281998.238559] ata2.01: failed to IDENTIFY (I/O
error,
Post by Ajith Adapa
err_mask=0x4)
Post by Ajith Adapa
[1281998.247432] ata2: soft resetting link
[1281998.575468] ata2.01: NODEV after polling
detection
Post by Ajith Adapa
Post by Ajith Adapa
[1281998.698009] ata2.00: configured for MWDMA2
[1281998.714460] ata2: EH complete
Not sure what the deal is with that ATA error.
That's a hard
Post by Ajith Adapa
drive lost
interrupt problem. Looks to be on your CD Rom
drive? Looks
Post by Ajith Adapa
like it
recovered.
Post by Ajith Adapa
3. Last but not least after sometime my host
kernel crashed
Post by Ajith Adapa
as a result
Post by Ajith Adapa
need to restart the VPC.
I don't understand what you are saying here. You're
saying
Post by Ajith Adapa
your kernel
crashed but I don't understand the "as a result
of..." What
Post by Ajith Adapa
did you do,
why did you do it, and what happened?
Post by Ajith Adapa
Regards,
Ajith
Regards,
Mike
Post by Ajith Adapa
On Thu, May 16, 2013 at 8:09 PM, Ajith Adapa
Post by Ajith Adapa
I will try the RPMs and steps provided to start
a
Post by Ajith Adapa
container.
Post by Ajith Adapa
Post by Ajith Adapa
Regards,
Ajith
On Wed, May 15, 2013 at 2:01 PM, Thomas Moschny
2013/5/14 Michael H. Warfield
Post by Michael H. Warfield
What I would recommend as steps on Fedora
17...
http://lxc.sourceforge.net/download/lxc/lxc-0.9.0.tar.gz
Post by Ajith Adapa
Post by Ajith Adapa
Post by Ajith Adapa
Post by Michael H. Warfield
You should have rpm-build and friends
installed via yum
Post by Ajith Adapa
on your system.
Post by Ajith Adapa
Post by Ajith Adapa
Post by Michael H. Warfield
Build the lxc rpms by running rpmbuild (as
any user) as
Post by Ajith Adapa
Post by Ajith Adapa
Post by Ajith Adapa
You could also try using the pre-built packages
I put
Post by Ajith Adapa
Post by Ajith Adapa
Post by Ajith Adapa
http://thm.fedorapeople.org/lxc/ .
Regards,
Thomas
------------------------------------------------------------------------------
Post by Ajith Adapa
Post by Ajith Adapa
Post by Ajith Adapa
AlienVault Unified Security Management (USM)
platform
Post by Ajith Adapa
delivers complete
Post by Ajith Adapa
Post by Ajith Adapa
security visibility with the essential security
capabilities. Easily and
Post by Ajith Adapa
Post by Ajith Adapa
efficiently configure, manage, and operate all
of your
Post by Ajith Adapa
security controls
Post by Ajith Adapa
Post by Ajith Adapa
from a single console and one unified
framework. Download
Post by Ajith Adapa
a free trial.
Post by Ajith Adapa
Post by Ajith Adapa
http://p.sf.net/sfu/alienvault_d2d
_______________________________________________
Lxc-users mailing list
Lxc-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-users
------------------------------------------------------------------------------
Post by Ajith Adapa
Post by Ajith Adapa
AlienVault Unified Security Management (USM)
platform
Post by Ajith Adapa
delivers complete
Post by Ajith Adapa
security visibility with the essential security
capabilities. Easily and
Post by Ajith Adapa
efficiently configure, manage, and operate all of
your
Post by Ajith Adapa
security controls
Post by Ajith Adapa
from a single console and one unified framework.
Download a
Post by Ajith Adapa
free trial.
Post by Ajith Adapa
http://p.sf.net/sfu/alienvault_d2d
_______________________________________________
Lxc-users
Post by Ajith Adapa
mailing list Lxc-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-users
Post by Ajith Adapa
--
Michael H. Warfield (AI4NB) | (770) 985-6132 |
mhw at WittsEnd.com
/\/\|=mhw=|\/\/ | (678) 463-0932 |
http://www.wittsend.com/mhw/
NIC whois: MHW9 | An optimist believes
we live in
Post by Ajith Adapa
the best of all
PGP Key: 0x674627FF | possible worlds. A
pessimist is
Post by Ajith Adapa
sure of it!
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
--
Michael H. Warfield (AI4NB) | (770) 985-6132 |
mhw at WittsEnd.com
/\/\|=mhw=|\/\/ | (678) 463-0932 |
http://www.wittsend.com/mhw/
NIC whois: MHW9 | An optimist believes we live in
the best of all
PGP Key: 0x674627FF | possible worlds. A pessimist is sure of it!
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
--
Michael H. Warfield (AI4NB) | (770) 985-6132 | mhw at WittsEnd.com
/\/\|=mhw=|\/\/ | (678) 463-0932 | http://www.wittsend.com/mhw/
NIC whois: MHW9 | An optimist believes we live in the best of all
PGP Key: 0x674627FF | possible worlds. A pessimist is sure of it!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 482 bytes
Desc: This is a digitally signed message part
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20130518/aa132c13/attachment.pgp>
Serge Hallyn
2013-05-18 23:06:01 UTC
Permalink
Post by Michael H. Warfield
Post by Ajith Adapa
Hmm sounds one more road block for using lxc in fedora 17 because of
systemd.
It's not a roadblock. More like a mile long stretch of stingers (stop
spike strips / tire deflators). We're getting there. It's just one
more unnecessary puzzle to solve. Sigh...
You should still be able to enter the container with lxc-attach, and
most of the time I just ssh.
jjs - mainphrame
2013-05-18 19:09:35 UTC
Permalink
Interesting. I didn't realize how spoiled I am and how easy I have it with
lxc on ubuntu!

Joe
Post by Michael H. Warfield
Post by Ajith Adapa
Hmm sounds one more road block for using lxc in fedora 17 because of
systemd.
It's not a roadblock. More like a mile long stretch of stingers (stop
spike strips / tire deflators). We're getting there. It's just one
more unnecessary puzzle to solve. Sigh...
Post by Ajith Adapa
Currently there is no place where there is a guide for starting up
with LXC for latest fedora versions. I think a page in fedoraproject
would be of great help with the known issues and steps using lxc under
various fedora versions.
First we get it working but, yeah, that would be incredibly nice and
then also add it to this project as well.
Post by Ajith Adapa
I am really thinking to start using LXC containers in fedora 14. Build
and Boot it up with latest stable kernel version (Might be 3.4) and
LXC version (>0.9) and try out using LXC- containers :)
On Sat, May 18, 2013 at 7:28 PM, Michael H. Warfield
Post by Ajith Adapa
Sorry for the confusion.
In case of issue 3, I felt host kernel crashed because of
the soft
Post by Ajith Adapa
lock issue mentioned in Issue 2.That's the reason I was
saying "as a
Post by Ajith Adapa
result of ..". Ideally speaking I haven't done anything
other than
Post by Ajith Adapa
creating the lxc-container at the time. Once I restarted the
host
Post by Ajith Adapa
machine after crash I havent observed any issues.
Then I have started the container using below command and
tried to
Post by Ajith Adapa
connect to its shell using lxc-console command but I ended
up with
Post by Ajith Adapa
below message. Ideally I should see a prompt but its just
hangs down
Post by Ajith Adapa
there. <Ctl+a q> works and nothing else.
[root at ipiblr ~]# lxc-start -n TEST -d
[root at ipiblr ~]# lxc-console -n TEST
Type <Ctrl+a q> to exit the console, <Ctrl+a Ctrl+a> to
enter Ctrl+a
Post by Ajith Adapa
itself
Oh, crap... I keep forgetting about that (because I don't use it).
That needs to be noted somewhere in the documentation.
That's yet another BAD decision on the part of the systemd crowd,
lxc-console is probably not going to work, at least for the time being.
They (systemd) intentionally, with documented malice a forethought,
disable gettys on the vtys in the container if systemd detects
that it's
in a container. However, /dev/console in the container is still active
and is connected to lxc-start and I'm able to log in there but I have
never gotten lxc-console to work with a systemd container and I don't
know of anything I can do about it. You would need some way to force
the container to start gettys on the vtys.
Maybe, if I (or someone else) can figure out a way to do that
(force the
gettys to start on the vtys), it could be integrated into the Fedora
template. My patches for the autodev stuff (plus other stuff) have now
been accepted and applied by Serge, so that's done. Maybe I can look
deeper into this morass now.
Regards,
Mike
Post by Ajith Adapa
Regards,
Ajith
On Sat, May 18, 2013 at 5:55 PM, Michael H. Warfield
Hello,
On Sat, 2013-05-18 at 12:35 +0530, Ajith Adapa
Post by Ajith Adapa
Hi,
and
Post by Ajith Adapa
Post by Ajith Adapa
steps to start a lxc container.
I have a doubt.
1. When I give lxc-create command I came across
huge
Post by Ajith Adapa
download of various
Post by Ajith Adapa
files.
As per my understanding rootfs is created for new
container
Post by Ajith Adapa
(where can i
Post by Ajith Adapa
get the steps for it ? ).
Steps for what? It's
in /var/lib/lxc/{Container}/rootfs/
Post by Ajith Adapa
Post by Ajith Adapa
But I see below log. Is there any issue ?
Copy /var/cache/lxc/fedora/i686/17/rootfs
to /var/lib/lxc/TEST/TEST/rootfs
Post by Ajith Adapa
...
Copying rootfs
to /var/lib/lxc/TEST/TEST/rootfs ...setting
Post by Ajith Adapa
root passwd to
Post by Ajith Adapa
root
installing fedora-release package
warning: Failed to read auxiliary vector, /proc
not mounted?
Post by Ajith Adapa
Post by Ajith Adapa
warning: Failed to read auxiliary vector, /proc
not mounted?
Post by Ajith Adapa
Post by Ajith Adapa
warning: Failed to read auxiliary vector, /proc
not mounted?
Post by Ajith Adapa
Post by Ajith Adapa
warning: Failed to read auxiliary vector, /proc
not mounted?
Post by Ajith Adapa
Post by Ajith Adapa
warning: Failed to read auxiliary vector, /proc
not mounted?
Post by Ajith Adapa
Post by Ajith Adapa
warning: Failed to read auxiliary vector, /proc
not mounted?
Post by Ajith Adapa
Post by Ajith Adapa
warning: Failed to read auxiliary vector, /proc
not mounted?
Post by Ajith Adapa
Post by Ajith Adapa
warning: Failed to read auxiliary vector, /proc
not mounted?
Post by Ajith Adapa
The warnings are perfectly normal and harmless. I
ran into
Post by Ajith Adapa
this with
recent versions of yum and researched it. It's
because /proc
Post by Ajith Adapa
is not
mounted in the container itself when the container
is being
Post by Ajith Adapa
created.
You can ignore them.
Post by Ajith Adapa
Package fedora-release-17-2.noarch already
installed and
Post by Ajith Adapa
latest version
Post by Ajith Adapa
Nothing to do
Again, normal.
Post by Ajith Adapa
container rootfs and config created
'fedora' template installed
'TEST' created
Looks like your container was created. I don't see
a problem.
Post by Ajith Adapa
Post by Ajith Adapa
2.I see a SOFT LOCK issue with latest version
kernel shown
Post by Ajith Adapa
below.
Post by Ajith Adapa
# uname -a
Linux blr 3.8.8-100.fc17.i686 #1 SMP Wed Apr 17
17:26:59 UTC
Post by Ajith Adapa
2013 i686 i686
Post by Ajith Adapa
i386 GNU/Linux
[1098069.351017] SELinux: initialized (dev
binfmt_misc, type
Post by Ajith Adapa
binfmt_misc),
Post by Ajith Adapa
uses genfs_contexts
[1281973.370052] BUG: soft lockup - CPU#0 stuck
for 23s!
Post by Ajith Adapa
[kworker/0:1:2201]
I've seen that on my Dell 610's but they haven't
caused any
Post by Ajith Adapa
real
failures. Not quite sure what that is.
Post by Ajith Adapa
[1281973.370052] Modules linked in: binfmt_misc
lockd sunrpc
Post by Ajith Adapa
snd_intel8x0
Post by Ajith Adapa
snd_ac97_codec ac97_bus snd_seq snd_seq_device
snd_pcm
Post by Ajith Adapa
i2c_piix4 i2c_core
Post by Ajith Adapa
microcode virtio_balloon snd_page_alloc snd_timer
snd
Post by Ajith Adapa
soundcore virtio_net
Post by Ajith Adapa
uinput virtio_blk
[1281973.370052] Pid: 2201, comm: kworker/0:1 Not
tainted
Post by Ajith Adapa
Post by Ajith Adapa
3.8.8-100.fc17.i686 #1 Bochs Bochs
00000206
Post by Ajith Adapa
CPU: 0
Post by Ajith Adapa
[1281973.370052] EIP is at iowrite16+0x1a/0x40
0001c050
Post by Ajith Adapa
EDX: 0000c050
f5009b90
Post by Ajith Adapa
ESP: f5009b8c
0068
345e0000
Post by Ajith Adapa
CR4: 000006d0
00000000
Post by Ajith Adapa
DR3: 00000000
Post by Ajith Adapa
[1281973.370052] DR6: ffff0ff0 DR7: 00000400
[1281973.370052] Process kworker/0:1 (pid: 2201,
ti=f5008000
Post by Ajith Adapa
task=f6830cb0
Post by Ajith Adapa
task.ti=f4bb2000)
[1281973.370052] c07107cd f5009b9c c070ffb9
f4a17a00
Post by Ajith Adapa
f5009bcc f7c36f2b
Post by Ajith Adapa
00000000 e9d9b600
[1281973.370052] 00000020 00000000 e9d9b600
00000000
Post by Ajith Adapa
f69b2000 00000000
Post by Ajith Adapa
f4b5a740 00000036
[1281973.370052] f5009c00 c088ea5e e9d9b600
00000000
Post by Ajith Adapa
f7c384c0 f6822600
Post by Ajith Adapa
f69b2000 00000000
[1281973.370052] [<c07107cd>] ? vp_notify
+0x1d/0x20
Post by Ajith Adapa
Post by Ajith Adapa
[1281973.370052] [<c070ffb9>] virtqueue_kick
+0x19/0x20
Post by Ajith Adapa
Post by Ajith Adapa
[1281973.370052] [<f7c36f2b>] start_xmit
+0x14b/0x370
Post by Ajith Adapa
[virtio_net]
Post by Ajith Adapa
[1281973.370052] [<c088ea5e>] dev_hard_start_xmit
+0x24e/0x4c0
Post by Ajith Adapa
[1281973.370052] [<c08a793f>] sch_direct_xmit
+0xaf/0x180
Post by Ajith Adapa
Post by Ajith Adapa
[1281973.370052] [<c088f01e>] dev_queue_xmit
+0x12e/0x370
Post by Ajith Adapa
Post by Ajith Adapa
[1281973.370052] [<c08bf670>] ? ip_fragment
+0x870/0x870
Post by Ajith Adapa
Post by Ajith Adapa
[1281973.370052] [<c08bf88e>] ip_finish_output
+0x21e/0x3b0
Post by Ajith Adapa
Post by Ajith Adapa
[1281973.370052] [<c08bf670>] ? ip_fragment
+0x870/0x870
Post by Ajith Adapa
Post by Ajith Adapa
[1281973.370052] [<c08c0354>] ip_output+0x84/0xd0
[1281973.370052] [<c08bf670>] ? ip_fragment
+0x870/0x870
Post by Ajith Adapa
Post by Ajith Adapa
[1281973.370052] [<c08bfb00>] ip_local_out
+0x20/0x30
Post by Ajith Adapa
Post by Ajith Adapa
[1281973.370052] [<c08bfc3f>] ip_queue_xmit
+0x12f/0x3b0
Post by Ajith Adapa
Post by Ajith Adapa
[1281973.370052] [<c08d62fb>] tcp_transmit_skb
+0x3cb/0x850
Post by Ajith Adapa
Post by Ajith Adapa
[1281973.370052] [<c097a440>] ?
apic_timer_interrupt
Post by Ajith Adapa
+0x34/0x3c
Post by Ajith Adapa
[1281973.370052] [<c08d8b50>] tcp_send_ack
+0xd0/0x120
Post by Ajith Adapa
Post by Ajith Adapa
[1281973.370052] [<c08cc096>] __tcp_ack_snd_check
+0x56/0x90
Post by Ajith Adapa
Post by Ajith Adapa
[1281973.370052] [<c08d3038>] tcp_rcv_established
+0x1c8/0x890
Post by Ajith Adapa
[1281973.370052] [<c08dc8f3>] tcp_v4_do_rcv
+0x223/0x3e0
Post by Ajith Adapa
Post by Ajith Adapa
[1281973.370052] [<c06233f4>] ?
security_sock_rcv_skb
Post by Ajith Adapa
+0x14/0x20
Post by Ajith Adapa
[1281973.370052] [<c08de39c>] tcp_v4_rcv
+0x53c/0x770
Post by Ajith Adapa
Post by Ajith Adapa
[1281973.370052] [<c08bb110>] ? ip_rcv_finish
+0x320/0x320
Post by Ajith Adapa
Post by Ajith Adapa
[1281973.370052] [<c08bb1c2>]
ip_local_deliver_finish
Post by Ajith Adapa
+0xb2/0x260
Post by Ajith Adapa
[1281973.370052] [<c08bb4ac>] ip_local_deliver
+0x3c/0x80
Post by Ajith Adapa
Post by Ajith Adapa
[1281973.370052] [<c08bb110>] ? ip_rcv_finish
+0x320/0x320
Post by Ajith Adapa
Post by Ajith Adapa
[1281973.370052] [<c08bae50>] ip_rcv_finish
+0x60/0x320
Post by Ajith Adapa
Post by Ajith Adapa
[1281973.370052] [<c043009c>] ?
pvclock_clocksource_read
Post by Ajith Adapa
+0x9c/0x130
Post by Ajith Adapa
[1281973.370052] [<c08bb73c>] ip_rcv+0x24c/0x370
[1281973.370052] [<c088d5db>] __netif_receive_skb
+0x5bb/0x740
Post by Ajith Adapa
[1281973.370052] [<c088d8ce>] netif_receive_skb
+0x2e/0x90
Post by Ajith Adapa
Post by Ajith Adapa
[1281973.370052] [<f7c36a49>] virtnet_poll
+0x449/0x6a0
Post by Ajith Adapa
[virtio_net]
Post by Ajith Adapa
[1281973.370052] [<c044d6aa>] ? run_timer_softirq
+0x1a/0x210
Post by Ajith Adapa
[1281973.370052] [<c088decd>] net_rx_action
+0x11d/0x1f0
Post by Ajith Adapa
Post by Ajith Adapa
[1281973.370052] [<c044695b>] __do_softirq
+0xab/0x1c0
Post by Ajith Adapa
Post by Ajith Adapa
[1281973.370052] [<c04468b0>] ?
local_bh_enable_ip
Post by Ajith Adapa
+0x90/0x90
Post by Ajith Adapa
[1281973.370052] <IRQ>
[1281973.370052] [<c0446bdd>] ? irq_exit
+0x9d/0xb0
Post by Ajith Adapa
Post by Ajith Adapa
[1281973.370052] [<c04258ee>] ?
smp_apic_timer_interrupt
Post by Ajith Adapa
+0x5e/0x90
Post by Ajith Adapa
[1281973.370052] [<c097a440>] ?
apic_timer_interrupt
Post by Ajith Adapa
+0x34/0x3c
Post by Ajith Adapa
[1281973.370052] [<c044007b>] ? console_start
+0xb/0x20
Post by Ajith Adapa
Post by Ajith Adapa
[1281973.370052] [<c0979bbf>] ?
_raw_spin_unlock_irqrestore
Post by Ajith Adapa
+0xf/0x20
Post by Ajith Adapa
[1281973.370052] [<c07918d6>] ? ata_scsi_queuecmd
+0x96/0x250
Post by Ajith Adapa
[1281973.370052] [<c076ad18>] ? scsi_dispatch_cmd
+0xb8/0x260
Post by Ajith Adapa
[1281973.370052] [<c066007b>] ?
queue_store_random
Post by Ajith Adapa
+0x4b/0x70
Post by Ajith Adapa
[1281973.370052] [<c07711b3>] ? scsi_request_fn
+0x2c3/0x4b0
Post by Ajith Adapa
Post by Ajith Adapa
[1281973.370052] [<c042f2b7>] ? kvm_clock_read
+0x17/0x20
Post by Ajith Adapa
Post by Ajith Adapa
[1281973.370052] [<c0409448>] ? sched_clock
+0x8/0x10
Post by Ajith Adapa
Post by Ajith Adapa
[1281973.370052] [<c065cace>] ? __blk_run_queue
+0x2e/0x40
Post by Ajith Adapa
Post by Ajith Adapa
[1281973.370052] [<c066214a>] ?
blk_execute_rq_nowait
Post by Ajith Adapa
+0x6a/0xd0
Post by Ajith Adapa
[1281973.370052] [<c066221d>] ? blk_execute_rq
+0x6d/0xe0
Post by Ajith Adapa
Post by Ajith Adapa
[1281973.370052] [<c06620b0>] ?
__raw_spin_unlock_irq
Post by Ajith Adapa
+0x10/0x10
Post by Ajith Adapa
[1281973.370052] [<c0446ba7>] ? irq_exit
+0x67/0xb0
Post by Ajith Adapa
Post by Ajith Adapa
[1281973.370052] [<c04258ee>] ?
smp_apic_timer_interrupt
Post by Ajith Adapa
+0x5e/0x90
Post by Ajith Adapa
[1281973.370052] [<c097a440>] ?
apic_timer_interrupt
Post by Ajith Adapa
+0x34/0x3c
Post by Ajith Adapa
[1281973.370052] [<c076ffa0>] ? scsi_execute
+0xb0/0x140
Post by Ajith Adapa
Post by Ajith Adapa
[1281973.370052] [<c0771429>] ? scsi_execute_req
+0x89/0x100
Post by Ajith Adapa
Post by Ajith Adapa
[1281973.370052] [<c077f3d5>] ? sr_check_events
+0xb5/0x2e0
Post by Ajith Adapa
Post by Ajith Adapa
[1281973.370052] [<c07a64cd>] ?
cdrom_check_events
Post by Ajith Adapa
+0x1d/0x40
Post by Ajith Adapa
[1281973.370052] [<c077f856>] ?
sr_block_check_events
Post by Ajith Adapa
+0x16/0x20
Post by Ajith Adapa
[1281973.370052] [<c06663c5>] ? disk_check_events
+0x45/0xf0
Post by Ajith Adapa
Post by Ajith Adapa
[1281973.370052] [<c0666485>] ?
disk_events_workfn
Post by Ajith Adapa
+0x15/0x20
Post by Ajith Adapa
[1281973.370052] [<c045788e>] ? process_one_work
+0x12e/0x3d0
Post by Ajith Adapa
[1281973.370052] [<c097a440>] ?
apic_timer_interrupt
Post by Ajith Adapa
+0x34/0x3c
Post by Ajith Adapa
[1281973.370052] [<c0459939>] ? worker_thread
+0x119/0x3b0
Post by Ajith Adapa
Post by Ajith Adapa
[1281973.370052] [<c0459820>] ?
flush_delayed_work
Post by Ajith Adapa
+0x50/0x50
Post by Ajith Adapa
[1281973.370052] [<c045e2a4>] ? kthread+0x94/0xa0
[1281973.370052] [<c0980ef7>] ?
ret_from_kernel_thread
Post by Ajith Adapa
+0x1b/0x28
Post by Ajith Adapa
[1281973.370052] [<c045e210>] ?
kthread_create_on_node
Post by Ajith Adapa
+0xc0/0xc0
Post by Ajith Adapa
[1281973.370052] Code: 5d c3 8d b4 26 00 00 00 00
89 02 c3
Post by Ajith Adapa
90 8d 74 26 00
Post by Ajith Adapa
81 fa ff ff 03 00 89 d1 77 2e 81 fa 00 00 01 00 76
0e 81 e2
Post by Ajith Adapa
ff ff 00 00 66
Post by Ajith Adapa
ef <c3> 90 8d 74 26 00 55 ba 2c 5a b2 c0 89 e5 89
c8 e8 01
Post by Ajith Adapa
ff ff ff
Post by Ajith Adapa
[1281991.139165] ata2: lost interrupt (Status
0x58)
Post by Ajith Adapa
Post by Ajith Adapa
[1281991.148055] ata2: drained 12 bytes to clear
DRQ
Post by Ajith Adapa
Post by Ajith Adapa
[1281991.165039] ata2.00: exception Emask 0x0 SAct
0x0 SErr
Post by Ajith Adapa
0x0 action 0x6
Post by Ajith Adapa
frozen
[1281991.172932] Get event status notification: 4a
01 00 00
Post by Ajith Adapa
10 00 00 00 08
Post by Ajith Adapa
00
[1281991.497342] ata2.00: cmd
a0/00:00:00:08:00/00:00:00:00:00/a0 tag 0 pio
Post by Ajith Adapa
16392 in
[1281991.497342] res
40/00:02:00:04:00/00:00:00:00:00/a0 Emask 0x4
Post by Ajith Adapa
(timeout)
[1281991.523767] ata2.00: status: { DRDY }
[1281991.616161] ata2: soft resetting link
[1281998.232648] ata2.01: qc timeout (cmd 0xec)
[1281998.238559] ata2.01: failed to IDENTIFY (I/O
error,
Post by Ajith Adapa
err_mask=0x4)
Post by Ajith Adapa
[1281998.247432] ata2: soft resetting link
[1281998.575468] ata2.01: NODEV after polling
detection
Post by Ajith Adapa
Post by Ajith Adapa
[1281998.698009] ata2.00: configured for MWDMA2
[1281998.714460] ata2: EH complete
Not sure what the deal is with that ATA error.
That's a hard
Post by Ajith Adapa
drive lost
interrupt problem. Looks to be on your CD Rom
drive? Looks
Post by Ajith Adapa
like it
recovered.
Post by Ajith Adapa
3. Last but not least after sometime my host
kernel crashed
Post by Ajith Adapa
as a result
Post by Ajith Adapa
need to restart the VPC.
I don't understand what you are saying here. You're
saying
Post by Ajith Adapa
your kernel
crashed but I don't understand the "as a result
of..." What
Post by Ajith Adapa
did you do,
why did you do it, and what happened?
Post by Ajith Adapa
Regards,
Ajith
Regards,
Mike
Post by Ajith Adapa
On Thu, May 16, 2013 at 8:09 PM, Ajith Adapa
Post by Ajith Adapa
I will try the RPMs and steps provided to start
a
Post by Ajith Adapa
container.
Post by Ajith Adapa
Post by Ajith Adapa
Regards,
Ajith
On Wed, May 15, 2013 at 2:01 PM, Thomas Moschny
2013/5/14 Michael H. Warfield
Post by Michael H. Warfield
What I would recommend as steps on Fedora
17...
http://lxc.sourceforge.net/download/lxc/lxc-0.9.0.tar.gz
Post by Ajith Adapa
Post by Ajith Adapa
Post by Ajith Adapa
Post by Michael H. Warfield
You should have rpm-build and friends
installed via yum
Post by Ajith Adapa
on your system.
Post by Ajith Adapa
Post by Ajith Adapa
Post by Michael H. Warfield
Build the lxc rpms by running rpmbuild (as
any user) as
Post by Ajith Adapa
Post by Ajith Adapa
Post by Ajith Adapa
You could also try using the pre-built packages
I put
Post by Ajith Adapa
Post by Ajith Adapa
Post by Ajith Adapa
http://thm.fedorapeople.org/lxc/ .
Regards,
Thomas
------------------------------------------------------------------------------
Post by Ajith Adapa
Post by Ajith Adapa
Post by Ajith Adapa
Post by Ajith Adapa
AlienVault Unified Security Management (USM)
platform
Post by Ajith Adapa
delivers complete
Post by Ajith Adapa
Post by Ajith Adapa
security visibility with the essential security
capabilities. Easily and
Post by Ajith Adapa
Post by Ajith Adapa
efficiently configure, manage, and operate all
of your
Post by Ajith Adapa
security controls
Post by Ajith Adapa
Post by Ajith Adapa
from a single console and one unified
framework. Download
Post by Ajith Adapa
a free trial.
Post by Ajith Adapa
Post by Ajith Adapa
http://p.sf.net/sfu/alienvault_d2d
_______________________________________________
Lxc-users mailing list
Lxc-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-users
------------------------------------------------------------------------------
Post by Ajith Adapa
Post by Ajith Adapa
Post by Ajith Adapa
AlienVault Unified Security Management (USM)
platform
Post by Ajith Adapa
delivers complete
Post by Ajith Adapa
security visibility with the essential security
capabilities. Easily and
Post by Ajith Adapa
efficiently configure, manage, and operate all of
your
Post by Ajith Adapa
security controls
Post by Ajith Adapa
from a single console and one unified framework.
Download a
Post by Ajith Adapa
free trial.
Post by Ajith Adapa
http://p.sf.net/sfu/alienvault_d2d
_______________________________________________
Lxc-users
Post by Ajith Adapa
mailing list Lxc-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-users
Post by Ajith Adapa
--
Michael H. Warfield (AI4NB) | (770) 985-6132 |
mhw at WittsEnd.com
/\/\|=mhw=|\/\/ | (678) 463-0932 |
http://www.wittsend.com/mhw/
NIC whois: MHW9 | An optimist believes
we live in
Post by Ajith Adapa
the best of all
PGP Key: 0x674627FF | possible worlds. A
pessimist is
Post by Ajith Adapa
sure of it!
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
--
Michael H. Warfield (AI4NB) | (770) 985-6132 |
mhw at WittsEnd.com
/\/\|=mhw=|\/\/ | (678) 463-0932 |
http://www.wittsend.com/mhw/
NIC whois: MHW9 | An optimist believes we live in
the best of all
PGP Key: 0x674627FF | possible worlds. A pessimist is
sure of it!
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
--
Michael H. Warfield (AI4NB) | (770) 985-6132 | mhw at WittsEnd.com
/\/\|=mhw=|\/\/ | (678) 463-0932 |
http://www.wittsend.com/mhw/
NIC whois: MHW9 | An optimist believes we live in the best of all
PGP Key: 0x674627FF | possible worlds. A pessimist is sure of it!
------------------------------------------------------------------------------
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
_______________________________________________
Lxc-users mailing list
Lxc-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20130518/6f696842/attachment.html>
Michael H. Warfield
2013-05-24 16:10:36 UTC
Permalink
Post by jjs - mainphrame
Interesting. I didn't realize how spoiled I am and how easy I have it with
lxc on ubuntu!
Don't get too too comfortable. I don't know if Ubuntu is transitioning
to systemd yet or not (or planning to or creating a new alternative) but
this was a talk tease from a talk delivered by my friend and co-guru
Mark Torres (formerly of Suse fame) to the Atlanta Unix Users Group a
couple of months ago...
--
Marc will be discussing some of the myths, uses and advantages of
this replacement of the Linux sysvinit package. Despite the best
efforts of many (and a never ending supply of mailing list
flames, holy water, silver bullets, wooden stakes, poisons and
evil looks) it is coming soon to a Linux Distro near you.
--
You may have to deal with the likes of systemd sooner or later (or some
other variant in similar concept). This is not something peculiar to
Fedora (OpenSuse, and Arch Linux both have systemd as will RHEL, CentOS,
Scientific Linux, etc...). By the time it gets to Ubuntu, though, I
suspect it will be much more stable.

Seems like Fedora adopted it early (very much like Ubuntu with Unity)
and Fedora has sort of been the proving ground for systemd (that's what
Fedora is for). Personally, I'm in the "holy water and wooden stakes"
category (and I have at least one flame war on the systemd list to back
me up) with regards to systemd but it is what it is. We've been dealing
with it as it evolves.

It's worth noting that I've decided that I will never get Fedora 15 or
Fedora 16 running in a container (they will work as a host, however) due
to incompatible versions of systemd. But F15 and F16 are EOL and thus
not worth any effort or stress. They (systemd) obviously found
solutions for the havoc they caused in those versions and we have
managed to get F17 and F18 working with the recent versions of systemd.
It's not Fedora, it's systemd that create these problems.

OTOH... Unity caused me to totally abandon Ubuntu. It totally broke
freenx and the NX support and try as I might, I could not get it to work
after trying for 2 or 3 releases of Ubuntu. Even though the freenx
package was still in the repos, several of the libraries upon which it
depended were gone or deprecated. I tried all the manual patches and
source compiles and nothing worked or created irreconcilable conflicts.
If I can't use NX to get graphic desktops in a container or on a remote
host system, Ubuntu became useless to me and I had to rip it out where I
had it. Even the laptops for my grandkids (which were running Ubuntu)
are now running on Fedora for that reason (so grandpa can have a remote
desktop on their laptop and do remote graphical administration).

Maybe they have since fixed it but they already lost me on that one
point alone. I do need to get some (at least one) containers running
Ubuntu running just so I can run Oregano (Electronics Schematic CAD
program with simulation capabilities) which I can not get to work on
Fedora 18 (Fedora 19 might work) due to some gtk3+ library issues. So
maybe I'll revisit Ubuntu again soon. I have successfully built an
Ubuntu container on a Fedora host. That's one of the nice things, that
I can cross build Ubuntu on a Fedora host. I think (but I haven't
tried) the reverse is true. If not, I may have to fix that in the
Fedora template. That's not true of many of the other templates. I
can't build an Arch Linux container on a Fedora host. That's something
the container owners have to address.

We've gotten it (systemd) working and functional (maybe not totally
"pretty") and now it's more a matter of getting the updated revs into
the downstream releases to make it just as easy. That's the way it
works. All the template maintainers (and I'm just a contributor) are
shooting at moving targets. What's in the git repo right now for the
Fedora template is pretty sweet (if I do say so myself) and will build
Fedora containers out of the box.

Which reminds me. The dudes that do the Fedora Remix for the Raspberry
Pi just renamed their distribution to Pidor (shades of Kubuntu, Edubuntu
and the other remixes of Ubuntu). That's going to break the lxc-fedora
template on the Raspberry Pi (yet again - pounding head on desk). Right
now, AFAICT, the ARM support for Ubuntu is only for ARM7 and up which
leaves out the RPi (ARM6). Oh well. It never ends.
Post by jjs - mainphrame
Joe
Regards,
Mike
Post by jjs - mainphrame
Post by Michael H. Warfield
Post by Ajith Adapa
Hmm sounds one more road block for using lxc in fedora 17 because of
systemd.
It's not a roadblock. More like a mile long stretch of stingers (stop
spike strips / tire deflators). We're getting there. It's just one
more unnecessary puzzle to solve. Sigh...
Post by Ajith Adapa
Currently there is no place where there is a guide for starting up
with LXC for latest fedora versions. I think a page in fedoraproject
would be of great help with the known issues and steps using lxc under
various fedora versions.
First we get it working but, yeah, that would be incredibly nice and
then also add it to this project as well.
Post by Ajith Adapa
I am really thinking to start using LXC containers in fedora 14. Build
and Boot it up with latest stable kernel version (Might be 3.4) and
LXC version (>0.9) and try out using LXC- containers :)
On Sat, May 18, 2013 at 7:28 PM, Michael H. Warfield
Post by Ajith Adapa
Sorry for the confusion.
In case of issue 3, I felt host kernel crashed because of
the soft
Post by Ajith Adapa
lock issue mentioned in Issue 2.That's the reason I was
saying "as a
Post by Ajith Adapa
result of ..". Ideally speaking I haven't done anything
other than
Post by Ajith Adapa
creating the lxc-container at the time. Once I restarted the
host
Post by Ajith Adapa
machine after crash I havent observed any issues.
Then I have started the container using below command and
tried to
Post by Ajith Adapa
connect to its shell using lxc-console command but I ended
up with
Post by Ajith Adapa
below message. Ideally I should see a prompt but its just
hangs down
Post by Ajith Adapa
there. <Ctl+a q> works and nothing else.
[root at ipiblr ~]# lxc-start -n TEST -d
[root at ipiblr ~]# lxc-console -n TEST
Type <Ctrl+a q> to exit the console, <Ctrl+a Ctrl+a> to
enter Ctrl+a
Post by Ajith Adapa
itself
Oh, crap... I keep forgetting about that (because I don't use it).
That needs to be noted somewhere in the documentation.
That's yet another BAD decision on the part of the systemd crowd,
lxc-console is probably not going to work, at least for the
time being.
They (systemd) intentionally, with documented malice a forethought,
disable gettys on the vtys in the container if systemd detects
that it's
in a container. However, /dev/console in the container is
still active
and is connected to lxc-start and I'm able to log in there but
I have
never gotten lxc-console to work with a systemd container and
I don't
know of anything I can do about it. You would need some way
to force
the container to start gettys on the vtys.
Maybe, if I (or someone else) can figure out a way to do that
(force the
gettys to start on the vtys), it could be integrated into the
Fedora
template. My patches for the autodev stuff (plus other stuff)
have now
been accepted and applied by Serge, so that's done. Maybe I
can look
deeper into this morass now.
Regards,
Mike
Post by Ajith Adapa
Regards,
Ajith
On Sat, May 18, 2013 at 5:55 PM, Michael H. Warfield
Hello,
On Sat, 2013-05-18 at 12:35 +0530, Ajith Adapa
Post by Ajith Adapa
Hi,
and
Post by Ajith Adapa
Post by Ajith Adapa
steps to start a lxc container.
I have a doubt.
1. When I give lxc-create command I came across
huge
Post by Ajith Adapa
download of various
Post by Ajith Adapa
files.
As per my understanding rootfs is created for new
container
Post by Ajith Adapa
(where can i
Post by Ajith Adapa
get the steps for it ? ).
Steps for what? It's
in /var/lib/lxc/{Container}/rootfs/
Post by Ajith Adapa
Post by Ajith Adapa
But I see below log. Is there any issue ?
Copy /var/cache/lxc/fedora/i686/17/rootfs
to /var/lib/lxc/TEST/TEST/rootfs
Post by Ajith Adapa
...
Copying rootfs
to /var/lib/lxc/TEST/TEST/rootfs ...setting
Post by Ajith Adapa
root passwd to
Post by Ajith Adapa
root
installing fedora-release package
warning: Failed to read auxiliary vector, /proc
not mounted?
Post by Ajith Adapa
Post by Ajith Adapa
warning: Failed to read auxiliary vector, /proc
not mounted?
Post by Ajith Adapa
Post by Ajith Adapa
warning: Failed to read auxiliary vector, /proc
not mounted?
Post by Ajith Adapa
Post by Ajith Adapa
warning: Failed to read auxiliary vector, /proc
not mounted?
Post by Ajith Adapa
Post by Ajith Adapa
warning: Failed to read auxiliary vector, /proc
not mounted?
Post by Ajith Adapa
Post by Ajith Adapa
warning: Failed to read auxiliary vector, /proc
not mounted?
Post by Ajith Adapa
Post by Ajith Adapa
warning: Failed to read auxiliary vector, /proc
not mounted?
Post by Ajith Adapa
Post by Ajith Adapa
warning: Failed to read auxiliary vector, /proc
not mounted?
Post by Ajith Adapa
The warnings are perfectly normal and harmless. I
ran into
Post by Ajith Adapa
this with
recent versions of yum and researched it. It's
because /proc
Post by Ajith Adapa
is not
mounted in the container itself when the container
is being
Post by Ajith Adapa
created.
You can ignore them.
Post by Ajith Adapa
Package fedora-release-17-2.noarch already
installed and
Post by Ajith Adapa
latest version
Post by Ajith Adapa
Nothing to do
Again, normal.
Post by Ajith Adapa
container rootfs and config created
'fedora' template installed
'TEST' created
Looks like your container was created. I don't see
a problem.
Post by Ajith Adapa
Post by Ajith Adapa
2.I see a SOFT LOCK issue with latest version
kernel shown
Post by Ajith Adapa
below.
Post by Ajith Adapa
# uname -a
Linux blr 3.8.8-100.fc17.i686 #1 SMP Wed Apr 17
17:26:59 UTC
Post by Ajith Adapa
2013 i686 i686
Post by Ajith Adapa
i386 GNU/Linux
[1098069.351017] SELinux: initialized (dev
binfmt_misc, type
Post by Ajith Adapa
binfmt_misc),
Post by Ajith Adapa
uses genfs_contexts
[1281973.370052] BUG: soft lockup - CPU#0 stuck
for 23s!
Post by Ajith Adapa
[kworker/0:1:2201]
I've seen that on my Dell 610's but they haven't
caused any
Post by Ajith Adapa
real
failures. Not quite sure what that is.
Post by Ajith Adapa
[1281973.370052] Modules linked in: binfmt_misc
lockd sunrpc
Post by Ajith Adapa
snd_intel8x0
Post by Ajith Adapa
snd_ac97_codec ac97_bus snd_seq snd_seq_device
snd_pcm
Post by Ajith Adapa
i2c_piix4 i2c_core
Post by Ajith Adapa
microcode virtio_balloon snd_page_alloc snd_timer
snd
Post by Ajith Adapa
soundcore virtio_net
Post by Ajith Adapa
uinput virtio_blk
[1281973.370052] Pid: 2201, comm: kworker/0:1 Not
tainted
Post by Ajith Adapa
Post by Ajith Adapa
3.8.8-100.fc17.i686 #1 Bochs Bochs
00000206
Post by Ajith Adapa
CPU: 0
Post by Ajith Adapa
[1281973.370052] EIP is at iowrite16+0x1a/0x40
0001c050
Post by Ajith Adapa
EDX: 0000c050
f5009b90
Post by Ajith Adapa
ESP: f5009b8c
0068
345e0000
Post by Ajith Adapa
CR4: 000006d0
00000000
Post by Ajith Adapa
DR3: 00000000
Post by Ajith Adapa
[1281973.370052] DR6: ffff0ff0 DR7: 00000400
[1281973.370052] Process kworker/0:1 (pid: 2201,
ti=f5008000
Post by Ajith Adapa
task=f6830cb0
Post by Ajith Adapa
task.ti=f4bb2000)
[1281973.370052] c07107cd f5009b9c c070ffb9
f4a17a00
Post by Ajith Adapa
f5009bcc f7c36f2b
Post by Ajith Adapa
00000000 e9d9b600
[1281973.370052] 00000020 00000000 e9d9b600
00000000
Post by Ajith Adapa
f69b2000 00000000
Post by Ajith Adapa
f4b5a740 00000036
[1281973.370052] f5009c00 c088ea5e e9d9b600
00000000
Post by Ajith Adapa
f7c384c0 f6822600
Post by Ajith Adapa
f69b2000 00000000
[1281973.370052] [<c07107cd>] ? vp_notify
+0x1d/0x20
Post by Ajith Adapa
Post by Ajith Adapa
[1281973.370052] [<c070ffb9>] virtqueue_kick
+0x19/0x20
Post by Ajith Adapa
Post by Ajith Adapa
[1281973.370052] [<f7c36f2b>] start_xmit
+0x14b/0x370
Post by Ajith Adapa
[virtio_net]
Post by Ajith Adapa
[1281973.370052] [<c088ea5e>] dev_hard_start_xmit
+0x24e/0x4c0
Post by Ajith Adapa
[1281973.370052] [<c08a793f>] sch_direct_xmit
+0xaf/0x180
Post by Ajith Adapa
Post by Ajith Adapa
[1281973.370052] [<c088f01e>] dev_queue_xmit
+0x12e/0x370
Post by Ajith Adapa
Post by Ajith Adapa
[1281973.370052] [<c08bf670>] ? ip_fragment
+0x870/0x870
Post by Ajith Adapa
Post by Ajith Adapa
[1281973.370052] [<c08bf88e>] ip_finish_output
+0x21e/0x3b0
Post by Ajith Adapa
Post by Ajith Adapa
[1281973.370052] [<c08bf670>] ? ip_fragment
+0x870/0x870
Post by Ajith Adapa
Post by Ajith Adapa
[1281973.370052] [<c08c0354>] ip_output+0x84/0xd0
[1281973.370052] [<c08bf670>] ? ip_fragment
+0x870/0x870
Post by Ajith Adapa
Post by Ajith Adapa
[1281973.370052] [<c08bfb00>] ip_local_out
+0x20/0x30
Post by Ajith Adapa
Post by Ajith Adapa
[1281973.370052] [<c08bfc3f>] ip_queue_xmit
+0x12f/0x3b0
Post by Ajith Adapa
Post by Ajith Adapa
[1281973.370052] [<c08d62fb>] tcp_transmit_skb
+0x3cb/0x850
Post by Ajith Adapa
Post by Ajith Adapa
[1281973.370052] [<c097a440>] ?
apic_timer_interrupt
Post by Ajith Adapa
+0x34/0x3c
Post by Ajith Adapa
[1281973.370052] [<c08d8b50>] tcp_send_ack
+0xd0/0x120
Post by Ajith Adapa
Post by Ajith Adapa
[1281973.370052] [<c08cc096>] __tcp_ack_snd_check
+0x56/0x90
Post by Ajith Adapa
Post by Ajith Adapa
[1281973.370052] [<c08d3038>] tcp_rcv_established
+0x1c8/0x890
Post by Ajith Adapa
[1281973.370052] [<c08dc8f3>] tcp_v4_do_rcv
+0x223/0x3e0
Post by Ajith Adapa
Post by Ajith Adapa
[1281973.370052] [<c06233f4>] ?
security_sock_rcv_skb
Post by Ajith Adapa
+0x14/0x20
Post by Ajith Adapa
[1281973.370052] [<c08de39c>] tcp_v4_rcv
+0x53c/0x770
Post by Ajith Adapa
Post by Ajith Adapa
[1281973.370052] [<c08bb110>] ? ip_rcv_finish
+0x320/0x320
Post by Ajith Adapa
Post by Ajith Adapa
[1281973.370052] [<c08bb1c2>]
ip_local_deliver_finish
Post by Ajith Adapa
+0xb2/0x260
Post by Ajith Adapa
[1281973.370052] [<c08bb4ac>] ip_local_deliver
+0x3c/0x80
Post by Ajith Adapa
Post by Ajith Adapa
[1281973.370052] [<c08bb110>] ? ip_rcv_finish
+0x320/0x320
Post by Ajith Adapa
Post by Ajith Adapa
[1281973.370052] [<c08bae50>] ip_rcv_finish
+0x60/0x320
Post by Ajith Adapa
Post by Ajith Adapa
[1281973.370052] [<c043009c>] ?
pvclock_clocksource_read
Post by Ajith Adapa
+0x9c/0x130
Post by Ajith Adapa
[1281973.370052] [<c08bb73c>] ip_rcv+0x24c/0x370
[1281973.370052] [<c088d5db>] __netif_receive_skb
+0x5bb/0x740
Post by Ajith Adapa
[1281973.370052] [<c088d8ce>] netif_receive_skb
+0x2e/0x90
Post by Ajith Adapa
Post by Ajith Adapa
[1281973.370052] [<f7c36a49>] virtnet_poll
+0x449/0x6a0
Post by Ajith Adapa
[virtio_net]
Post by Ajith Adapa
[1281973.370052] [<c044d6aa>] ? run_timer_softirq
+0x1a/0x210
Post by Ajith Adapa
[1281973.370052] [<c088decd>] net_rx_action
+0x11d/0x1f0
Post by Ajith Adapa
Post by Ajith Adapa
[1281973.370052] [<c044695b>] __do_softirq
+0xab/0x1c0
Post by Ajith Adapa
Post by Ajith Adapa
[1281973.370052] [<c04468b0>] ?
local_bh_enable_ip
Post by Ajith Adapa
+0x90/0x90
Post by Ajith Adapa
[1281973.370052] <IRQ>
[1281973.370052] [<c0446bdd>] ? irq_exit
+0x9d/0xb0
Post by Ajith Adapa
Post by Ajith Adapa
[1281973.370052] [<c04258ee>] ?
smp_apic_timer_interrupt
Post by Ajith Adapa
+0x5e/0x90
Post by Ajith Adapa
[1281973.370052] [<c097a440>] ?
apic_timer_interrupt
Post by Ajith Adapa
+0x34/0x3c
Post by Ajith Adapa
[1281973.370052] [<c044007b>] ? console_start
+0xb/0x20
Post by Ajith Adapa
Post by Ajith Adapa
[1281973.370052] [<c0979bbf>] ?
_raw_spin_unlock_irqrestore
Post by Ajith Adapa
+0xf/0x20
Post by Ajith Adapa
[1281973.370052] [<c07918d6>] ? ata_scsi_queuecmd
+0x96/0x250
Post by Ajith Adapa
[1281973.370052] [<c076ad18>] ? scsi_dispatch_cmd
+0xb8/0x260
Post by Ajith Adapa
[1281973.370052] [<c066007b>] ?
queue_store_random
Post by Ajith Adapa
+0x4b/0x70
Post by Ajith Adapa
[1281973.370052] [<c07711b3>] ? scsi_request_fn
+0x2c3/0x4b0
Post by Ajith Adapa
Post by Ajith Adapa
[1281973.370052] [<c042f2b7>] ? kvm_clock_read
+0x17/0x20
Post by Ajith Adapa
Post by Ajith Adapa
[1281973.370052] [<c0409448>] ? sched_clock
+0x8/0x10
Post by Ajith Adapa
Post by Ajith Adapa
[1281973.370052] [<c065cace>] ? __blk_run_queue
+0x2e/0x40
Post by Ajith Adapa
Post by Ajith Adapa
[1281973.370052] [<c066214a>] ?
blk_execute_rq_nowait
Post by Ajith Adapa
+0x6a/0xd0
Post by Ajith Adapa
[1281973.370052] [<c066221d>] ? blk_execute_rq
+0x6d/0xe0
Post by Ajith Adapa
Post by Ajith Adapa
[1281973.370052] [<c06620b0>] ?
__raw_spin_unlock_irq
Post by Ajith Adapa
+0x10/0x10
Post by Ajith Adapa
[1281973.370052] [<c0446ba7>] ? irq_exit
+0x67/0xb0
Post by Ajith Adapa
Post by Ajith Adapa
[1281973.370052] [<c04258ee>] ?
smp_apic_timer_interrupt
Post by Ajith Adapa
+0x5e/0x90
Post by Ajith Adapa
[1281973.370052] [<c097a440>] ?
apic_timer_interrupt
Post by Ajith Adapa
+0x34/0x3c
Post by Ajith Adapa
[1281973.370052] [<c076ffa0>] ? scsi_execute
+0xb0/0x140
Post by Ajith Adapa
Post by Ajith Adapa
[1281973.370052] [<c0771429>] ? scsi_execute_req
+0x89/0x100
Post by Ajith Adapa
Post by Ajith Adapa
[1281973.370052] [<c077f3d5>] ? sr_check_events
+0xb5/0x2e0
Post by Ajith Adapa
Post by Ajith Adapa
[1281973.370052] [<c07a64cd>] ?
cdrom_check_events
Post by Ajith Adapa
+0x1d/0x40
Post by Ajith Adapa
[1281973.370052] [<c077f856>] ?
sr_block_check_events
Post by Ajith Adapa
+0x16/0x20
Post by Ajith Adapa
[1281973.370052] [<c06663c5>] ? disk_check_events
+0x45/0xf0
Post by Ajith Adapa
Post by Ajith Adapa
[1281973.370052] [<c0666485>] ?
disk_events_workfn
Post by Ajith Adapa
+0x15/0x20
Post by Ajith Adapa
[1281973.370052] [<c045788e>] ? process_one_work
+0x12e/0x3d0
Post by Ajith Adapa
[1281973.370052] [<c097a440>] ?
apic_timer_interrupt
Post by Ajith Adapa
+0x34/0x3c
Post by Ajith Adapa
[1281973.370052] [<c0459939>] ? worker_thread
+0x119/0x3b0
Post by Ajith Adapa
Post by Ajith Adapa
[1281973.370052] [<c0459820>] ?
flush_delayed_work
Post by Ajith Adapa
+0x50/0x50
Post by Ajith Adapa
[1281973.370052] [<c045e2a4>] ? kthread+0x94/0xa0
[1281973.370052] [<c0980ef7>] ?
ret_from_kernel_thread
Post by Ajith Adapa
+0x1b/0x28
Post by Ajith Adapa
[1281973.370052] [<c045e210>] ?
kthread_create_on_node
Post by Ajith Adapa
+0xc0/0xc0
Post by Ajith Adapa
[1281973.370052] Code: 5d c3 8d b4 26 00 00 00 00
89 02 c3
Post by Ajith Adapa
90 8d 74 26 00
Post by Ajith Adapa
81 fa ff ff 03 00 89 d1 77 2e 81 fa 00 00 01 00 76
0e 81 e2
Post by Ajith Adapa
ff ff 00 00 66
Post by Ajith Adapa
ef <c3> 90 8d 74 26 00 55 ba 2c 5a b2 c0 89 e5 89
c8 e8 01
Post by Ajith Adapa
ff ff ff
Post by Ajith Adapa
[1281991.139165] ata2: lost interrupt (Status
0x58)
Post by Ajith Adapa
Post by Ajith Adapa
[1281991.148055] ata2: drained 12 bytes to clear
DRQ
Post by Ajith Adapa
Post by Ajith Adapa
[1281991.165039] ata2.00: exception Emask 0x0 SAct
0x0 SErr
Post by Ajith Adapa
0x0 action 0x6
Post by Ajith Adapa
frozen
[1281991.172932] Get event status notification: 4a
01 00 00
Post by Ajith Adapa
10 00 00 00 08
Post by Ajith Adapa
00
[1281991.497342] ata2.00: cmd
a0/00:00:00:08:00/00:00:00:00:00/a0 tag 0 pio
Post by Ajith Adapa
16392 in
[1281991.497342] res
40/00:02:00:04:00/00:00:00:00:00/a0 Emask 0x4
Post by Ajith Adapa
(timeout)
[1281991.523767] ata2.00: status: { DRDY }
[1281991.616161] ata2: soft resetting link
[1281998.232648] ata2.01: qc timeout (cmd 0xec)
[1281998.238559] ata2.01: failed to IDENTIFY (I/O
error,
Post by Ajith Adapa
err_mask=0x4)
Post by Ajith Adapa
[1281998.247432] ata2: soft resetting link
[1281998.575468] ata2.01: NODEV after polling
detection
Post by Ajith Adapa
Post by Ajith Adapa
[1281998.698009] ata2.00: configured for MWDMA2
[1281998.714460] ata2: EH complete
Not sure what the deal is with that ATA error.
That's a hard
Post by Ajith Adapa
drive lost
interrupt problem. Looks to be on your CD Rom
drive? Looks
Post by Ajith Adapa
like it
recovered.
Post by Ajith Adapa
3. Last but not least after sometime my host
kernel crashed
Post by Ajith Adapa
as a result
Post by Ajith Adapa
need to restart the VPC.
I don't understand what you are saying here. You're
saying
Post by Ajith Adapa
your kernel
crashed but I don't understand the "as a result
of..." What
Post by Ajith Adapa
did you do,
why did you do it, and what happened?
Post by Ajith Adapa
Regards,
Ajith
Regards,
Mike
Post by Ajith Adapa
On Thu, May 16, 2013 at 8:09 PM, Ajith Adapa
Post by Ajith Adapa
I will try the RPMs and steps provided to start
a
Post by Ajith Adapa
container.
Post by Ajith Adapa
Post by Ajith Adapa
Regards,
Ajith
On Wed, May 15, 2013 at 2:01 PM, Thomas Moschny
2013/5/14 Michael H. Warfield
Post by Michael H. Warfield
What I would recommend as steps on Fedora
17...
http://lxc.sourceforge.net/download/lxc/lxc-0.9.0.tar.gz
Post by Ajith Adapa
Post by Ajith Adapa
Post by Ajith Adapa
Post by Michael H. Warfield
You should have rpm-build and friends
installed via yum
Post by Ajith Adapa
on your system.
Post by Ajith Adapa
Post by Ajith Adapa
Post by Michael H. Warfield
Build the lxc rpms by running rpmbuild (as
any user) as
Post by Ajith Adapa
Post by Ajith Adapa
Post by Ajith Adapa
You could also try using the pre-built packages
I put
Post by Ajith Adapa
Post by Ajith Adapa
Post by Ajith Adapa
http://thm.fedorapeople.org/lxc/ .
Regards,
Thomas
------------------------------------------------------------------------------
Post by Ajith Adapa
Post by Ajith Adapa
Post by Ajith Adapa
Post by Ajith Adapa
AlienVault Unified Security Management (USM)
platform
Post by Ajith Adapa
delivers complete
Post by Ajith Adapa
Post by Ajith Adapa
security visibility with the essential security
capabilities. Easily and
Post by Ajith Adapa
Post by Ajith Adapa
efficiently configure, manage, and operate all
of your
Post by Ajith Adapa
security controls
Post by Ajith Adapa
Post by Ajith Adapa
from a single console and one unified
framework. Download
Post by Ajith Adapa
a free trial.
Post by Ajith Adapa
Post by Ajith Adapa
http://p.sf.net/sfu/alienvault_d2d
_______________________________________________
Lxc-users mailing list
Lxc-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-users
------------------------------------------------------------------------------
Post by Ajith Adapa
Post by Ajith Adapa
Post by Ajith Adapa
AlienVault Unified Security Management (USM)
platform
Post by Ajith Adapa
delivers complete
Post by Ajith Adapa
security visibility with the essential security
capabilities. Easily and
Post by Ajith Adapa
efficiently configure, manage, and operate all of
your
Post by Ajith Adapa
security controls
Post by Ajith Adapa
from a single console and one unified framework.
Download a
Post by Ajith Adapa
free trial.
Post by Ajith Adapa
http://p.sf.net/sfu/alienvault_d2d
_______________________________________________
Lxc-users
Post by Ajith Adapa
mailing list Lxc-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-users
Post by Ajith Adapa
--
Michael H. Warfield (AI4NB) | (770) 985-6132 |
mhw at WittsEnd.com
/\/\|=mhw=|\/\/ | (678) 463-0932 |
http://www.wittsend.com/mhw/
NIC whois: MHW9 | An optimist believes
we live in
Post by Ajith Adapa
the best of all
PGP Key: 0x674627FF | possible worlds. A
pessimist is
Post by Ajith Adapa
sure of it!
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
--
Michael H. Warfield (AI4NB) | (770) 985-6132 |
mhw at WittsEnd.com
/\/\|=mhw=|\/\/ | (678) 463-0932 |
http://www.wittsend.com/mhw/
NIC whois: MHW9 | An optimist believes we live in
the best of all
PGP Key: 0x674627FF | possible worlds. A pessimist is
sure of it!
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
--
Michael H. Warfield (AI4NB) | (770) 985-6132 | mhw at WittsEnd.com
/\/\|=mhw=|\/\/ | (678) 463-0932 |
http://www.wittsend.com/mhw/
NIC whois: MHW9 | An optimist believes we live in the best of all
PGP Key: 0x674627FF | possible worlds. A pessimist is sure of it!
------------------------------------------------------------------------------
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
_______________________________________________
Lxc-users mailing list
Lxc-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-users
------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
_______________________________________________
Lxc-users mailing list
Lxc-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-users
--
Michael H. Warfield (AI4NB) | (770) 985-6132 | mhw at WittsEnd.com
/\/\|=mhw=|\/\/ | (678) 463-0932 | http://www.wittsend.com/mhw/
NIC whois: MHW9 | An optimist believes we live in the best of all
PGP Key: 0x674627FF | possible worlds. A pessimist is sure of it!
Stéphane Graber
2013-05-24 16:22:55 UTC
Permalink
Post by Michael H. Warfield
Post by jjs - mainphrame
Interesting. I didn't realize how spoiled I am and how easy I have it with
lxc on ubuntu!
Don't get too too comfortable. I don't know if Ubuntu is transitioning
to systemd yet or not (or planning to or creating a new alternative) but
this was a talk tease from a talk delivered by my friend and co-guru
Mark Torres (formerly of Suse fame) to the Atlanta Unix Users Group a
couple of months ago...
Ubuntu has no plan to switch to systemd, upstart is actively developed
and maintained and has been proven to work extremely well with LXC
containers (the fact that I'm an upstream contributor of both upstart
and LXC may have helped there).

Ubuntu does provide some of the DBus systemd APIs however so that people
don't need to support two APIs and we also run some of the systemd
helpers like logind but the main init system is upstart and we have no
plan of changing that.
--
St?phane Graber
Ubuntu developer
http://www.ubuntu.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 901 bytes
Desc: OpenPGP digital signature
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20130524/c2e1b1a7/attachment.pgp>
Michael H. Warfield
2013-05-24 16:28:45 UTC
Permalink
Post by Stéphane Graber
Post by Michael H. Warfield
Post by jjs - mainphrame
Interesting. I didn't realize how spoiled I am and how easy I have it with
lxc on ubuntu!
Don't get too too comfortable. I don't know if Ubuntu is transitioning
to systemd yet or not (or planning to or creating a new alternative) but
this was a talk tease from a talk delivered by my friend and co-guru
Mark Torres (formerly of Suse fame) to the Atlanta Unix Users Group a
couple of months ago...
Ubuntu has no plan to switch to systemd, upstart is actively developed
and maintained and has been proven to work extremely well with LXC
containers (the fact that I'm an upstream contributor of both upstart
and LXC may have helped there).
Ubuntu does provide some of the DBus systemd APIs however so that people
don't need to support two APIs and we also run some of the systemd
helpers like logind but the main init system is upstart and we have no
plan of changing that.
Good to know. Very good to know. Thx.

Regards,
Mike
--
Michael H. Warfield (AI4NB) | (770) 985-6132 | mhw at WittsEnd.com
/\/\|=mhw=|\/\/ | (678) 463-0932 | http://www.wittsend.com/mhw/
NIC whois: MHW9 | An optimist believes we live in the best of all
PGP Key: 0x674627FF | possible worlds. A pessimist is sure of it!
jjs - mainphrame
2013-05-24 21:57:25 UTC
Permalink
Mike,

Excellent info, thanks for taking the time to expand on these points.
Forewarned is fore-armed.

BTW I've also looked at other distros since unity became the ubuntu
default, but have instead stayed with the ubuntu base system by using
kubuntu, and ubuntu gnome, both of which are a good fit for me and work
well despite the fact that my day job involves managing several rpm-based
distros in the data center.

JJ
Post by Michael H. Warfield
Post by jjs - mainphrame
Interesting. I didn't realize how spoiled I am and how easy I have it
with
Post by jjs - mainphrame
lxc on ubuntu!
Don't get too too comfortable. I don't know if Ubuntu is transitioning
to systemd yet or not (or planning to or creating a new alternative) but
this was a talk tease from a talk delivered by my friend and co-guru
Mark Torres (formerly of Suse fame) to the Atlanta Unix Users Group a
couple of months ago...
--
Marc will be discussing some of the myths, uses and advantages of
this replacement of the Linux sysvinit package. Despite the best
efforts of many (and a never ending supply of mailing list
flames, holy water, silver bullets, wooden stakes, poisons and
evil looks) it is coming soon to a Linux Distro near you.
--
You may have to deal with the likes of systemd sooner or later (or some
other variant in similar concept). This is not something peculiar to
Fedora (OpenSuse, and Arch Linux both have systemd as will RHEL, CentOS,
Scientific Linux, etc...). By the time it gets to Ubuntu, though, I
suspect it will be much more stable.
Seems like Fedora adopted it early (very much like Ubuntu with Unity)
and Fedora has sort of been the proving ground for systemd (that's what
Fedora is for). Personally, I'm in the "holy water and wooden stakes"
category (and I have at least one flame war on the systemd list to back
me up) with regards to systemd but it is what it is. We've been dealing
with it as it evolves.
It's worth noting that I've decided that I will never get Fedora 15 or
Fedora 16 running in a container (they will work as a host, however) due
to incompatible versions of systemd. But F15 and F16 are EOL and thus
not worth any effort or stress. They (systemd) obviously found
solutions for the havoc they caused in those versions and we have
managed to get F17 and F18 working with the recent versions of systemd.
It's not Fedora, it's systemd that create these problems.
OTOH... Unity caused me to totally abandon Ubuntu. It totally broke
freenx and the NX support and try as I might, I could not get it to work
after trying for 2 or 3 releases of Ubuntu. Even though the freenx
package was still in the repos, several of the libraries upon which it
depended were gone or deprecated. I tried all the manual patches and
source compiles and nothing worked or created irreconcilable conflicts.
If I can't use NX to get graphic desktops in a container or on a remote
host system, Ubuntu became useless to me and I had to rip it out where I
had it. Even the laptops for my grandkids (which were running Ubuntu)
are now running on Fedora for that reason (so grandpa can have a remote
desktop on their laptop and do remote graphical administration).
Maybe they have since fixed it but they already lost me on that one
point alone. I do need to get some (at least one) containers running
Ubuntu running just so I can run Oregano (Electronics Schematic CAD
program with simulation capabilities) which I can not get to work on
Fedora 18 (Fedora 19 might work) due to some gtk3+ library issues. So
maybe I'll revisit Ubuntu again soon. I have successfully built an
Ubuntu container on a Fedora host. That's one of the nice things, that
I can cross build Ubuntu on a Fedora host. I think (but I haven't
tried) the reverse is true. If not, I may have to fix that in the
Fedora template. That's not true of many of the other templates. I
can't build an Arch Linux container on a Fedora host. That's something
the container owners have to address.
We've gotten it (systemd) working and functional (maybe not totally
"pretty") and now it's more a matter of getting the updated revs into
the downstream releases to make it just as easy. That's the way it
works. All the template maintainers (and I'm just a contributor) are
shooting at moving targets. What's in the git repo right now for the
Fedora template is pretty sweet (if I do say so myself) and will build
Fedora containers out of the box.
Which reminds me. The dudes that do the Fedora Remix for the Raspberry
Pi just renamed their distribution to Pidor (shades of Kubuntu, Edubuntu
and the other remixes of Ubuntu). That's going to break the lxc-fedora
template on the Raspberry Pi (yet again - pounding head on desk). Right
now, AFAICT, the ARM support for Ubuntu is only for ARM7 and up which
leaves out the RPi (ARM6). Oh well. It never ends.
Post by jjs - mainphrame
Joe
Regards,
Mike
Post by jjs - mainphrame
On Sat, May 18, 2013 at 11:19 AM, Michael H. Warfield <mhw at wittsend.com
Post by Michael H. Warfield
Post by Ajith Adapa
Hmm sounds one more road block for using lxc in fedora 17 because of
systemd.
It's not a roadblock. More like a mile long stretch of stingers (stop
spike strips / tire deflators). We're getting there. It's just one
more unnecessary puzzle to solve. Sigh...
Post by Ajith Adapa
Currently there is no place where there is a guide for starting up
with LXC for latest fedora versions. I think a page in fedoraproject
would be of great help with the known issues and steps using lxc
under
Post by jjs - mainphrame
Post by Michael H. Warfield
Post by Ajith Adapa
various fedora versions.
First we get it working but, yeah, that would be incredibly nice and
then also add it to this project as well.
Post by Ajith Adapa
I am really thinking to start using LXC containers in fedora 14.
Build
Post by jjs - mainphrame
Post by Michael H. Warfield
Post by Ajith Adapa
and Boot it up with latest stable kernel version (Might be 3.4) and
LXC version (>0.9) and try out using LXC- containers :)
On Sat, May 18, 2013 at 7:28 PM, Michael H. Warfield
Post by Ajith Adapa
Sorry for the confusion.
In case of issue 3, I felt host kernel crashed because of
the soft
Post by Ajith Adapa
lock issue mentioned in Issue 2.That's the reason I was
saying "as a
Post by Ajith Adapa
result of ..". Ideally speaking I haven't done anything
other than
Post by Ajith Adapa
creating the lxc-container at the time. Once I restarted
the
Post by jjs - mainphrame
Post by Michael H. Warfield
Post by Ajith Adapa
host
Post by Ajith Adapa
machine after crash I havent observed any issues.
Then I have started the container using below command and
tried to
Post by Ajith Adapa
connect to its shell using lxc-console command but I ended
up with
Post by Ajith Adapa
below message. Ideally I should see a prompt but its just
hangs down
Post by Ajith Adapa
there. <Ctl+a q> works and nothing else.
[root at ipiblr ~]# lxc-start -n TEST -d
[root at ipiblr ~]# lxc-console -n TEST
Type <Ctrl+a q> to exit the console, <Ctrl+a Ctrl+a> to
enter Ctrl+a
Post by Ajith Adapa
itself
Oh, crap... I keep forgetting about that (because I don't
use
Post by jjs - mainphrame
Post by Michael H. Warfield
Post by Ajith Adapa
it).
That needs to be noted somewhere in the documentation.
That's yet another BAD decision on the part of the systemd
crowd,
lxc-console is probably not going to work, at least for the
time being.
They (systemd) intentionally, with documented malice a
forethought,
disable gettys on the vtys in the container if systemd
detects
Post by jjs - mainphrame
Post by Michael H. Warfield
Post by Ajith Adapa
that it's
in a container. However, /dev/console in the container is
still active
and is connected to lxc-start and I'm able to log in there
but
Post by jjs - mainphrame
Post by Michael H. Warfield
Post by Ajith Adapa
I have
never gotten lxc-console to work with a systemd container and
I don't
know of anything I can do about it. You would need some way
to force
the container to start gettys on the vtys.
Maybe, if I (or someone else) can figure out a way to do that
(force the
gettys to start on the vtys), it could be integrated into the
Fedora
template. My patches for the autodev stuff (plus other
stuff)
Post by jjs - mainphrame
Post by Michael H. Warfield
Post by Ajith Adapa
have now
been accepted and applied by Serge, so that's done. Maybe I
can look
deeper into this morass now.
Regards,
Mike
Post by Ajith Adapa
Regards,
Ajith
On Sat, May 18, 2013 at 5:55 PM, Michael H. Warfield
Hello,
On Sat, 2013-05-18 at 12:35 +0530, Ajith Adapa
Post by Ajith Adapa
Hi,
and
Post by Ajith Adapa
Post by Ajith Adapa
steps to start a lxc container.
I have a doubt.
1. When I give lxc-create command I came across
huge
Post by Ajith Adapa
download of various
Post by Ajith Adapa
files.
As per my understanding rootfs is created for new
container
Post by Ajith Adapa
(where can i
Post by Ajith Adapa
get the steps for it ? ).
Steps for what? It's
in /var/lib/lxc/{Container}/rootfs/
Post by Ajith Adapa
Post by Ajith Adapa
But I see below log. Is there any issue ?
Copy /var/cache/lxc/fedora/i686/17/rootfs
to /var/lib/lxc/TEST/TEST/rootfs
Post by Ajith Adapa
...
Copying rootfs
to /var/lib/lxc/TEST/TEST/rootfs ...setting
Post by Ajith Adapa
root passwd to
Post by Ajith Adapa
root
installing fedora-release package
warning: Failed to read auxiliary vector, /proc
not mounted?
Post by Ajith Adapa
Post by Ajith Adapa
warning: Failed to read auxiliary vector, /proc
not mounted?
Post by Ajith Adapa
Post by Ajith Adapa
warning: Failed to read auxiliary vector, /proc
not mounted?
Post by Ajith Adapa
Post by Ajith Adapa
warning: Failed to read auxiliary vector, /proc
not mounted?
Post by Ajith Adapa
Post by Ajith Adapa
warning: Failed to read auxiliary vector, /proc
not mounted?
Post by Ajith Adapa
Post by Ajith Adapa
warning: Failed to read auxiliary vector, /proc
not mounted?
Post by Ajith Adapa
Post by Ajith Adapa
warning: Failed to read auxiliary vector, /proc
not mounted?
Post by Ajith Adapa
Post by Ajith Adapa
warning: Failed to read auxiliary vector, /proc
not mounted?
Post by Ajith Adapa
The warnings are perfectly normal and harmless. I
ran into
Post by Ajith Adapa
this with
recent versions of yum and researched it. It's
because /proc
Post by Ajith Adapa
is not
mounted in the container itself when the container
is being
Post by Ajith Adapa
created.
You can ignore them.
Post by Ajith Adapa
Package fedora-release-17-2.noarch already
installed and
Post by Ajith Adapa
latest version
Post by Ajith Adapa
Nothing to do
Again, normal.
Post by Ajith Adapa
container rootfs and config created
'fedora' template installed
'TEST' created
Looks like your container was created. I don't see
a problem.
Post by Ajith Adapa
Post by Ajith Adapa
2.I see a SOFT LOCK issue with latest version
kernel shown
Post by Ajith Adapa
below.
Post by Ajith Adapa
# uname -a
Linux blr 3.8.8-100.fc17.i686 #1 SMP Wed Apr 17
17:26:59 UTC
Post by Ajith Adapa
2013 i686 i686
Post by Ajith Adapa
i386 GNU/Linux
[1098069.351017] SELinux: initialized (dev
binfmt_misc, type
Post by Ajith Adapa
binfmt_misc),
Post by Ajith Adapa
uses genfs_contexts
[1281973.370052] BUG: soft lockup - CPU#0 stuck
for 23s!
Post by Ajith Adapa
[kworker/0:1:2201]
I've seen that on my Dell 610's but they haven't
caused any
Post by Ajith Adapa
real
failures. Not quite sure what that is.
Post by Ajith Adapa
[1281973.370052] Modules linked in: binfmt_misc
lockd sunrpc
Post by Ajith Adapa
snd_intel8x0
Post by Ajith Adapa
snd_ac97_codec ac97_bus snd_seq snd_seq_device
snd_pcm
Post by Ajith Adapa
i2c_piix4 i2c_core
Post by Ajith Adapa
microcode virtio_balloon snd_page_alloc snd_timer
snd
Post by Ajith Adapa
soundcore virtio_net
Post by Ajith Adapa
uinput virtio_blk
[1281973.370052] Pid: 2201, comm: kworker/0:1 Not
tainted
Post by Ajith Adapa
Post by Ajith Adapa
3.8.8-100.fc17.i686 #1 Bochs Bochs
00000206
Post by Ajith Adapa
CPU: 0
Post by Ajith Adapa
[1281973.370052] EIP is at iowrite16+0x1a/0x40
0001c050
Post by Ajith Adapa
EDX: 0000c050
f5009b90
Post by Ajith Adapa
ESP: f5009b8c
0068
345e0000
Post by Ajith Adapa
CR4: 000006d0
00000000
Post by Ajith Adapa
DR3: 00000000
Post by Ajith Adapa
[1281973.370052] DR6: ffff0ff0 DR7: 00000400
[1281973.370052] Process kworker/0:1 (pid: 2201,
ti=f5008000
Post by Ajith Adapa
task=f6830cb0
Post by Ajith Adapa
task.ti=f4bb2000)
[1281973.370052] c07107cd f5009b9c c070ffb9
f4a17a00
Post by Ajith Adapa
f5009bcc f7c36f2b
Post by Ajith Adapa
00000000 e9d9b600
[1281973.370052] 00000020 00000000 e9d9b600
00000000
Post by Ajith Adapa
f69b2000 00000000
Post by Ajith Adapa
f4b5a740 00000036
[1281973.370052] f5009c00 c088ea5e e9d9b600
00000000
Post by Ajith Adapa
f7c384c0 f6822600
Post by Ajith Adapa
f69b2000 00000000
[1281973.370052] [<c07107cd>] ? vp_notify
+0x1d/0x20
Post by Ajith Adapa
Post by Ajith Adapa
[1281973.370052] [<c070ffb9>] virtqueue_kick
+0x19/0x20
Post by Ajith Adapa
Post by Ajith Adapa
[1281973.370052] [<f7c36f2b>] start_xmit
+0x14b/0x370
Post by Ajith Adapa
[virtio_net]
Post by Ajith Adapa
[1281973.370052] [<c088ea5e>]
dev_hard_start_xmit
Post by jjs - mainphrame
Post by Michael H. Warfield
Post by Ajith Adapa
Post by Ajith Adapa
+0x24e/0x4c0
Post by Ajith Adapa
[1281973.370052] [<c08a793f>] sch_direct_xmit
+0xaf/0x180
Post by Ajith Adapa
Post by Ajith Adapa
[1281973.370052] [<c088f01e>] dev_queue_xmit
+0x12e/0x370
Post by Ajith Adapa
Post by Ajith Adapa
[1281973.370052] [<c08bf670>] ? ip_fragment
+0x870/0x870
Post by Ajith Adapa
Post by Ajith Adapa
[1281973.370052] [<c08bf88e>] ip_finish_output
+0x21e/0x3b0
Post by Ajith Adapa
Post by Ajith Adapa
[1281973.370052] [<c08bf670>] ? ip_fragment
+0x870/0x870
Post by Ajith Adapa
Post by Ajith Adapa
[1281973.370052] [<c08c0354>]
ip_output+0x84/0xd0
Post by jjs - mainphrame
Post by Michael H. Warfield
Post by Ajith Adapa
Post by Ajith Adapa
Post by Ajith Adapa
[1281973.370052] [<c08bf670>] ? ip_fragment
+0x870/0x870
Post by Ajith Adapa
Post by Ajith Adapa
[1281973.370052] [<c08bfb00>] ip_local_out
+0x20/0x30
Post by Ajith Adapa
Post by Ajith Adapa
[1281973.370052] [<c08bfc3f>] ip_queue_xmit
+0x12f/0x3b0
Post by Ajith Adapa
Post by Ajith Adapa
[1281973.370052] [<c08d62fb>] tcp_transmit_skb
+0x3cb/0x850
Post by Ajith Adapa
Post by Ajith Adapa
[1281973.370052] [<c097a440>] ?
apic_timer_interrupt
Post by Ajith Adapa
+0x34/0x3c
Post by Ajith Adapa
[1281973.370052] [<c08d8b50>] tcp_send_ack
+0xd0/0x120
Post by Ajith Adapa
Post by Ajith Adapa
[1281973.370052] [<c08cc096>]
__tcp_ack_snd_check
Post by jjs - mainphrame
Post by Michael H. Warfield
Post by Ajith Adapa
+0x56/0x90
Post by Ajith Adapa
Post by Ajith Adapa
[1281973.370052] [<c08d3038>]
tcp_rcv_established
Post by jjs - mainphrame
Post by Michael H. Warfield
Post by Ajith Adapa
Post by Ajith Adapa
+0x1c8/0x890
Post by Ajith Adapa
[1281973.370052] [<c08dc8f3>] tcp_v4_do_rcv
+0x223/0x3e0
Post by Ajith Adapa
Post by Ajith Adapa
[1281973.370052] [<c06233f4>] ?
security_sock_rcv_skb
Post by Ajith Adapa
+0x14/0x20
Post by Ajith Adapa
[1281973.370052] [<c08de39c>] tcp_v4_rcv
+0x53c/0x770
Post by Ajith Adapa
Post by Ajith Adapa
[1281973.370052] [<c08bb110>] ? ip_rcv_finish
+0x320/0x320
Post by Ajith Adapa
Post by Ajith Adapa
[1281973.370052] [<c08bb1c2>]
ip_local_deliver_finish
Post by Ajith Adapa
+0xb2/0x260
Post by Ajith Adapa
[1281973.370052] [<c08bb4ac>] ip_local_deliver
+0x3c/0x80
Post by Ajith Adapa
Post by Ajith Adapa
[1281973.370052] [<c08bb110>] ? ip_rcv_finish
+0x320/0x320
Post by Ajith Adapa
Post by Ajith Adapa
[1281973.370052] [<c08bae50>] ip_rcv_finish
+0x60/0x320
Post by Ajith Adapa
Post by Ajith Adapa
[1281973.370052] [<c043009c>] ?
pvclock_clocksource_read
Post by Ajith Adapa
+0x9c/0x130
Post by Ajith Adapa
[1281973.370052] [<c08bb73c>] ip_rcv+0x24c/0x370
[1281973.370052] [<c088d5db>]
__netif_receive_skb
Post by jjs - mainphrame
Post by Michael H. Warfield
Post by Ajith Adapa
Post by Ajith Adapa
+0x5bb/0x740
Post by Ajith Adapa
[1281973.370052] [<c088d8ce>] netif_receive_skb
+0x2e/0x90
Post by Ajith Adapa
Post by Ajith Adapa
[1281973.370052] [<f7c36a49>] virtnet_poll
+0x449/0x6a0
Post by Ajith Adapa
[virtio_net]
Post by Ajith Adapa
[1281973.370052] [<c044d6aa>] ?
run_timer_softirq
Post by jjs - mainphrame
Post by Michael H. Warfield
Post by Ajith Adapa
Post by Ajith Adapa
+0x1a/0x210
Post by Ajith Adapa
[1281973.370052] [<c088decd>] net_rx_action
+0x11d/0x1f0
Post by Ajith Adapa
Post by Ajith Adapa
[1281973.370052] [<c044695b>] __do_softirq
+0xab/0x1c0
Post by Ajith Adapa
Post by Ajith Adapa
[1281973.370052] [<c04468b0>] ?
local_bh_enable_ip
Post by Ajith Adapa
+0x90/0x90
Post by Ajith Adapa
[1281973.370052] <IRQ>
[1281973.370052] [<c0446bdd>] ? irq_exit
+0x9d/0xb0
Post by Ajith Adapa
Post by Ajith Adapa
[1281973.370052] [<c04258ee>] ?
smp_apic_timer_interrupt
Post by Ajith Adapa
+0x5e/0x90
Post by Ajith Adapa
[1281973.370052] [<c097a440>] ?
apic_timer_interrupt
Post by Ajith Adapa
+0x34/0x3c
Post by Ajith Adapa
[1281973.370052] [<c044007b>] ? console_start
+0xb/0x20
Post by Ajith Adapa
Post by Ajith Adapa
[1281973.370052] [<c0979bbf>] ?
_raw_spin_unlock_irqrestore
Post by Ajith Adapa
+0xf/0x20
Post by Ajith Adapa
[1281973.370052] [<c07918d6>] ?
ata_scsi_queuecmd
Post by jjs - mainphrame
Post by Michael H. Warfield
Post by Ajith Adapa
Post by Ajith Adapa
+0x96/0x250
Post by Ajith Adapa
[1281973.370052] [<c076ad18>] ?
scsi_dispatch_cmd
Post by jjs - mainphrame
Post by Michael H. Warfield
Post by Ajith Adapa
Post by Ajith Adapa
+0xb8/0x260
Post by Ajith Adapa
[1281973.370052] [<c066007b>] ?
queue_store_random
Post by Ajith Adapa
+0x4b/0x70
Post by Ajith Adapa
[1281973.370052] [<c07711b3>] ? scsi_request_fn
+0x2c3/0x4b0
Post by Ajith Adapa
Post by Ajith Adapa
[1281973.370052] [<c042f2b7>] ? kvm_clock_read
+0x17/0x20
Post by Ajith Adapa
Post by Ajith Adapa
[1281973.370052] [<c0409448>] ? sched_clock
+0x8/0x10
Post by Ajith Adapa
Post by Ajith Adapa
[1281973.370052] [<c065cace>] ? __blk_run_queue
+0x2e/0x40
Post by Ajith Adapa
Post by Ajith Adapa
[1281973.370052] [<c066214a>] ?
blk_execute_rq_nowait
Post by Ajith Adapa
+0x6a/0xd0
Post by Ajith Adapa
[1281973.370052] [<c066221d>] ? blk_execute_rq
+0x6d/0xe0
Post by Ajith Adapa
Post by Ajith Adapa
[1281973.370052] [<c06620b0>] ?
__raw_spin_unlock_irq
Post by Ajith Adapa
+0x10/0x10
Post by Ajith Adapa
[1281973.370052] [<c0446ba7>] ? irq_exit
+0x67/0xb0
Post by Ajith Adapa
Post by Ajith Adapa
[1281973.370052] [<c04258ee>] ?
smp_apic_timer_interrupt
Post by Ajith Adapa
+0x5e/0x90
Post by Ajith Adapa
[1281973.370052] [<c097a440>] ?
apic_timer_interrupt
Post by Ajith Adapa
+0x34/0x3c
Post by Ajith Adapa
[1281973.370052] [<c076ffa0>] ? scsi_execute
+0xb0/0x140
Post by Ajith Adapa
Post by Ajith Adapa
[1281973.370052] [<c0771429>] ? scsi_execute_req
+0x89/0x100
Post by Ajith Adapa
Post by Ajith Adapa
[1281973.370052] [<c077f3d5>] ? sr_check_events
+0xb5/0x2e0
Post by Ajith Adapa
Post by Ajith Adapa
[1281973.370052] [<c07a64cd>] ?
cdrom_check_events
Post by Ajith Adapa
+0x1d/0x40
Post by Ajith Adapa
[1281973.370052] [<c077f856>] ?
sr_block_check_events
Post by Ajith Adapa
+0x16/0x20
Post by Ajith Adapa
[1281973.370052] [<c06663c5>] ?
disk_check_events
Post by jjs - mainphrame
Post by Michael H. Warfield
Post by Ajith Adapa
+0x45/0xf0
Post by Ajith Adapa
Post by Ajith Adapa
[1281973.370052] [<c0666485>] ?
disk_events_workfn
Post by Ajith Adapa
+0x15/0x20
Post by Ajith Adapa
[1281973.370052] [<c045788e>] ? process_one_work
+0x12e/0x3d0
Post by Ajith Adapa
[1281973.370052] [<c097a440>] ?
apic_timer_interrupt
Post by Ajith Adapa
+0x34/0x3c
Post by Ajith Adapa
[1281973.370052] [<c0459939>] ? worker_thread
+0x119/0x3b0
Post by Ajith Adapa
Post by Ajith Adapa
[1281973.370052] [<c0459820>] ?
flush_delayed_work
Post by Ajith Adapa
+0x50/0x50
Post by Ajith Adapa
[1281973.370052] [<c045e2a4>] ?
kthread+0x94/0xa0
Post by jjs - mainphrame
Post by Michael H. Warfield
Post by Ajith Adapa
Post by Ajith Adapa
Post by Ajith Adapa
[1281973.370052] [<c0980ef7>] ?
ret_from_kernel_thread
Post by Ajith Adapa
+0x1b/0x28
Post by Ajith Adapa
[1281973.370052] [<c045e210>] ?
kthread_create_on_node
Post by Ajith Adapa
+0xc0/0xc0
Post by Ajith Adapa
[1281973.370052] Code: 5d c3 8d b4 26 00 00 00 00
89 02 c3
Post by Ajith Adapa
90 8d 74 26 00
Post by Ajith Adapa
81 fa ff ff 03 00 89 d1 77 2e 81 fa 00 00 01 00
76
Post by jjs - mainphrame
Post by Michael H. Warfield
Post by Ajith Adapa
0e 81 e2
Post by Ajith Adapa
ff ff 00 00 66
Post by Ajith Adapa
ef <c3> 90 8d 74 26 00 55 ba 2c 5a b2 c0 89 e5 89
c8 e8 01
Post by Ajith Adapa
ff ff ff
Post by Ajith Adapa
[1281991.139165] ata2: lost interrupt (Status
0x58)
Post by Ajith Adapa
Post by Ajith Adapa
[1281991.148055] ata2: drained 12 bytes to clear
DRQ
Post by Ajith Adapa
Post by Ajith Adapa
[1281991.165039] ata2.00: exception Emask 0x0
SAct
Post by jjs - mainphrame
Post by Michael H. Warfield
Post by Ajith Adapa
0x0 SErr
Post by Ajith Adapa
0x0 action 0x6
Post by Ajith Adapa
frozen
4a
Post by jjs - mainphrame
Post by Michael H. Warfield
Post by Ajith Adapa
01 00 00
Post by Ajith Adapa
10 00 00 00 08
Post by Ajith Adapa
00
[1281991.497342] ata2.00: cmd
a0/00:00:00:08:00/00:00:00:00:00/a0 tag 0 pio
Post by Ajith Adapa
16392 in
[1281991.497342] res
40/00:02:00:04:00/00:00:00:00:00/a0 Emask 0x4
Post by Ajith Adapa
(timeout)
[1281991.523767] ata2.00: status: { DRDY }
[1281991.616161] ata2: soft resetting link
[1281998.232648] ata2.01: qc timeout (cmd 0xec)
[1281998.238559] ata2.01: failed to IDENTIFY (I/O
error,
Post by Ajith Adapa
err_mask=0x4)
Post by Ajith Adapa
[1281998.247432] ata2: soft resetting link
[1281998.575468] ata2.01: NODEV after polling
detection
Post by Ajith Adapa
Post by Ajith Adapa
[1281998.698009] ata2.00: configured for MWDMA2
[1281998.714460] ata2: EH complete
Not sure what the deal is with that ATA error.
That's a hard
Post by Ajith Adapa
drive lost
interrupt problem. Looks to be on your CD Rom
drive? Looks
Post by Ajith Adapa
like it
recovered.
Post by Ajith Adapa
3. Last but not least after sometime my host
kernel crashed
Post by Ajith Adapa
as a result
Post by Ajith Adapa
need to restart the VPC.
I don't understand what you are saying here.
You're
Post by jjs - mainphrame
Post by Michael H. Warfield
Post by Ajith Adapa
saying
Post by Ajith Adapa
your kernel
crashed but I don't understand the "as a result
of..." What
Post by Ajith Adapa
did you do,
why did you do it, and what happened?
Post by Ajith Adapa
Regards,
Ajith
Regards,
Mike
Post by Ajith Adapa
On Thu, May 16, 2013 at 8:09 PM, Ajith Adapa
Post by Ajith Adapa
I will try the RPMs and steps provided to start
a
Post by Ajith Adapa
container.
Post by Ajith Adapa
Post by Ajith Adapa
Regards,
Ajith
On Wed, May 15, 2013 at 2:01 PM, Thomas Moschny
2013/5/14 Michael H. Warfield
Post by Michael H. Warfield
What I would recommend as steps on Fedora
17...
http://lxc.sourceforge.net/download/lxc/lxc-0.9.0.tar.gz
Post by Ajith Adapa
Post by Ajith Adapa
Post by Ajith Adapa
Post by Michael H. Warfield
You should have rpm-build and friends
installed via yum
Post by Ajith Adapa
on your system.
Post by Ajith Adapa
Post by Ajith Adapa
Post by Michael H. Warfield
Build the lxc rpms by running rpmbuild (as
any user) as
Post by Ajith Adapa
Post by Ajith Adapa
Post by Ajith Adapa
You could also try using the pre-built
packages
Post by jjs - mainphrame
Post by Michael H. Warfield
Post by Ajith Adapa
I put
Post by Ajith Adapa
Post by Ajith Adapa
Post by Ajith Adapa
http://thm.fedorapeople.org/lxc/ .
Regards,
Thomas
------------------------------------------------------------------------------
Post by jjs - mainphrame
Post by Michael H. Warfield
Post by Ajith Adapa
Post by Ajith Adapa
Post by Ajith Adapa
Post by Ajith Adapa
AlienVault Unified Security Management (USM)
platform
Post by Ajith Adapa
delivers complete
Post by Ajith Adapa
Post by Ajith Adapa
security visibility with the essential
security
Post by jjs - mainphrame
Post by Michael H. Warfield
Post by Ajith Adapa
Post by Ajith Adapa
capabilities. Easily and
Post by Ajith Adapa
Post by Ajith Adapa
efficiently configure, manage, and operate all
of your
Post by Ajith Adapa
security controls
Post by Ajith Adapa
Post by Ajith Adapa
from a single console and one unified
framework. Download
Post by Ajith Adapa
a free trial.
Post by Ajith Adapa
Post by Ajith Adapa
http://p.sf.net/sfu/alienvault_d2d
_______________________________________________
Post by jjs - mainphrame
Post by Michael H. Warfield
Post by Ajith Adapa
Post by Ajith Adapa
Post by Ajith Adapa
Post by Ajith Adapa
Lxc-users mailing list
Lxc-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-users
------------------------------------------------------------------------------
Post by jjs - mainphrame
Post by Michael H. Warfield
Post by Ajith Adapa
Post by Ajith Adapa
Post by Ajith Adapa
AlienVault Unified Security Management (USM)
platform
Post by Ajith Adapa
delivers complete
Post by Ajith Adapa
security visibility with the essential security
capabilities. Easily and
Post by Ajith Adapa
efficiently configure, manage, and operate all of
your
Post by Ajith Adapa
security controls
Post by Ajith Adapa
from a single console and one unified framework.
Download a
Post by Ajith Adapa
free trial.
Post by Ajith Adapa
http://p.sf.net/sfu/alienvault_d2d
_______________________________________________
Lxc-users
Post by Ajith Adapa
mailing list Lxc-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-users
Post by Ajith Adapa
--
Michael H. Warfield (AI4NB) | (770) 985-6132 |
mhw at WittsEnd.com
/\/\|=mhw=|\/\/ | (678) 463-0932 |
http://www.wittsend.com/mhw/
NIC whois: MHW9 | An optimist believes
we live in
Post by Ajith Adapa
the best of all
PGP Key: 0x674627FF | possible worlds. A
pessimist is
Post by Ajith Adapa
sure of it!
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
--
Michael H. Warfield (AI4NB) | (770) 985-6132 |
mhw at WittsEnd.com
/\/\|=mhw=|\/\/ | (678) 463-0932 |
http://www.wittsend.com/mhw/
NIC whois: MHW9 | An optimist believes we live in
the best of all
PGP Key: 0x674627FF | possible worlds. A pessimist
is
Post by jjs - mainphrame
Post by Michael H. Warfield
Post by Ajith Adapa
sure of it!
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
--
Michael H. Warfield (AI4NB) | (770) 985-6132 | mhw at WittsEnd.com
/\/\|=mhw=|\/\/ | (678) 463-0932 |
http://www.wittsend.com/mhw/
NIC whois: MHW9 | An optimist believes we live in the best
of
Post by jjs - mainphrame
Post by Michael H. Warfield
all
PGP Key: 0x674627FF | possible worlds. A pessimist is sure of
it!
------------------------------------------------------------------------------
Post by jjs - mainphrame
Post by Michael H. Warfield
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily
and
Post by jjs - mainphrame
Post by Michael H. Warfield
efficiently configure, manage, and operate all of your security
controls
Post by jjs - mainphrame
Post by Michael H. Warfield
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
_______________________________________________
Lxc-users mailing list
Lxc-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-users
------------------------------------------------------------------------------
Post by jjs - mainphrame
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring
service
Post by jjs - mainphrame
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt!
http://p.sf.net/sfu/newrelic_d2d_may
Post by jjs - mainphrame
_______________________________________________
Lxc-users mailing list
Lxc-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-users
--
Michael H. Warfield (AI4NB) | (770) 985-6132 | mhw at WittsEnd.com
/\/\|=mhw=|\/\/ | (678) 463-0932 |
http://www.wittsend.com/mhw/
NIC whois: MHW9 | An optimist believes we live in the best of all
PGP Key: 0x674627FF | possible worlds. A pessimist is sure of it!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20130524/659a299d/attachment.html>
Michael H. Warfield
2013-05-18 18:45:31 UTC
Permalink
Post by Michael H. Warfield
Post by Ajith Adapa
Then I have started the container using below command and tried to
connect to its shell using lxc-console command but I ended up with
below message. Ideally I should see a prompt but its just hangs down
there. <Ctl+a q> works and nothing else.
[root at ipiblr ~]# lxc-start -n TEST -d
[root at ipiblr ~]# lxc-console -n TEST
Type <Ctrl+a q> to exit the console, <Ctrl+a Ctrl+a> to enter Ctrl+a itself
Oh, crap... I keep forgetting about that (because I don't use it).
That needs to be noted somewhere in the documentation.
That's yet another BAD decision on the part of the systemd crowd,
lxc-console is probably not going to work, at least for the time being.
They (systemd) intentionally, with documented malice a forethought,
disable gettys on the vtys in the container if systemd detects that it's
in a container. However, /dev/console in the container is still active
and is connected to lxc-start and I'm able to log in there but I have
never gotten lxc-console to work with a systemd container and I don't
know of anything I can do about it. You would need some way to force
the container to start gettys on the vtys.
Maybe, if I (or someone else) can figure out a way to do that (force the
gettys to start on the vtys), it could be integrated into the Fedora
template. My patches for the autodev stuff (plus other stuff) have now
been accepted and applied by Serge, so that's done. Maybe I can look
deeper into this morass now.
First of all, let me say thank you for your concise message upthread. It
renewed my interest in lxc and I managed to get a working container for the
first time. I will post a detailed HOWTO shortly.
I ran into the same lxc-console issue and managed to solve it by commenting
out ConditionPathExists line in
NICE! I'm going to look at that and see what I can do with it. That
gives me a thread to pick at. It should be possible to work that into
the Fedora template. We've already got systemd related code in there
and this would be nice addition.

Many thanks!

Regards,
Mike
first I had to start the container in foreground, login, comment out
aforementioned line and restart it in daemon mode. After that lxc-console
worked.
If I changed the systemd unit from the chroot itself, it didn't reflect
somehow. Also the line referred to /dev/tty0 but only /dev/tty and /dev/tty1
were available in the container.
I don't understand systemd enough to comment on the reasons of it working or
not-working. I just experimented around to get a working tty.
My environment is arch linux and the details are as follows.
kernel : 3.9.2-1
systemd : 204-1
lxc : 1:0.9.0-2
HTH
--
Regards
Shridhar
--
Michael H. Warfield (AI4NB) | (770) 985-6132 | mhw at WittsEnd.com
/\/\|=mhw=|\/\/ | (678) 463-0932 | http://www.wittsend.com/mhw/
NIC whois: MHW9 | An optimist believes we live in the best of all
PGP Key: 0x674627FF | possible worlds. A pessimist is sure of it!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 482 bytes
Desc: This is a digitally signed message part
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20130518/b86d5bd0/attachment.pgp>
Shridhar Daithankar
2013-05-18 18:32:47 UTC
Permalink
Post by Michael H. Warfield
Post by Ajith Adapa
Then I have started the container using below command and tried to
connect to its shell using lxc-console command but I ended up with
below message. Ideally I should see a prompt but its just hangs down
there. <Ctl+a q> works and nothing else.
[root at ipiblr ~]# lxc-start -n TEST -d
[root at ipiblr ~]# lxc-console -n TEST
Type <Ctrl+a q> to exit the console, <Ctrl+a Ctrl+a> to enter Ctrl+a itself
Oh, crap... I keep forgetting about that (because I don't use it).
That needs to be noted somewhere in the documentation.
That's yet another BAD decision on the part of the systemd crowd,
lxc-console is probably not going to work, at least for the time being.
They (systemd) intentionally, with documented malice a forethought,
disable gettys on the vtys in the container if systemd detects that it's
in a container. However, /dev/console in the container is still active
and is connected to lxc-start and I'm able to log in there but I have
never gotten lxc-console to work with a systemd container and I don't
know of anything I can do about it. You would need some way to force
the container to start gettys on the vtys.
Maybe, if I (or someone else) can figure out a way to do that (force the
gettys to start on the vtys), it could be integrated into the Fedora
template. My patches for the autodev stuff (plus other stuff) have now
been accepted and applied by Serge, so that's done. Maybe I can look
deeper into this morass now.
First of all, let me say thank you for your concise message upthread. It
renewed my interest in lxc and I managed to get a working container for the
first time. I will post a detailed HOWTO shortly.

I ran into the same lxc-console issue and managed to solve it by commenting
out ConditionPathExists line in
/etc/systemd/system/getty.target.wants/getty\@tty1.service

first I had to start the container in foreground, login, comment out
aforementioned line and restart it in daemon mode. After that lxc-console
worked.

If I changed the systemd unit from the chroot itself, it didn't reflect
somehow. Also the line referred to /dev/tty0 but only /dev/tty and /dev/tty1
were available in the container.

I don't understand systemd enough to comment on the reasons of it working or
not-working. I just experimented around to get a working tty.

My environment is arch linux and the details are as follows.

kernel : 3.9.2-1
systemd : 204-1
lxc : 1:0.9.0-2

HTH
--
Regards
Shridhar
Michael H. Warfield
2013-05-18 20:06:30 UTC
Permalink
Post by Michael H. Warfield
Post by Ajith Adapa
Then I have started the container using below command and tried to
connect to its shell using lxc-console command but I ended up with
below message. Ideally I should see a prompt but its just hangs down
there. <Ctl+a q> works and nothing else.
[root at ipiblr ~]# lxc-start -n TEST -d
[root at ipiblr ~]# lxc-console -n TEST
Type <Ctrl+a q> to exit the console, <Ctrl+a Ctrl+a> to enter Ctrl+a itself
Oh, crap... I keep forgetting about that (because I don't use it).
That needs to be noted somewhere in the documentation.
That's yet another BAD decision on the part of the systemd crowd,
lxc-console is probably not going to work, at least for the time being.
They (systemd) intentionally, with documented malice a forethought,
disable gettys on the vtys in the container if systemd detects that it's
in a container. However, /dev/console in the container is still active
and is connected to lxc-start and I'm able to log in there but I have
never gotten lxc-console to work with a systemd container and I don't
know of anything I can do about it. You would need some way to force
the container to start gettys on the vtys.
Maybe, if I (or someone else) can figure out a way to do that (force the
gettys to start on the vtys), it could be integrated into the Fedora
template. My patches for the autodev stuff (plus other stuff) have now
been accepted and applied by Serge, so that's done. Maybe I can look
deeper into this morass now.
First of all, let me say thank you for your concise message upthread. It
renewed my interest in lxc and I managed to get a working container for the
first time. I will post a detailed HOWTO shortly.
I ran into the same lxc-console issue and managed to solve it by commenting
out ConditionPathExists line in
first I had to start the container in foreground, login, comment out
aforementioned line and restart it in daemon mode. After that lxc-console
worked.
If I changed the systemd unit from the chroot itself, it didn't reflect
somehow. Also the line referred to /dev/tty0 but only /dev/tty and /dev/tty1
were available in the container.
I don't understand systemd enough to comment on the reasons of it working or
not-working. I just experimented around to get a working tty.
Oh, I understand why it's working and that's VERY interesting. I hadn't
dug into that realm of the systemd files as yet. They're using the mere
existence of /dev/tty0 as a logic switch to determine if they are going
to start a getty on %I (/dev/tty1 in this case). Which is yet another
case of them burying a magic cookie switch in the logic. They
conditionalize it on a hard coded /dev/tty0 but then start a getty
"/sbin/agetty --noclear %I 38400". the %I is the unit name. Cute.
Cheeky bastards.

So, it basically means that if we create a tty0 under autodev, that
should then enable any listed vty consoles we set up using systemd
links. That could be a key to making that work without modifying files
in the container but would require a (relatively minor but non trivial)
change to the lxc source code, as opposed to merely a template. I'll
run this up the flagpole on the -devel list and with Serge and get their
opinions. This is doable. I think I'll try this out in my sources
first and then post a request for comments over on -devel. The problem
is in the routine "setup_tty" in conf.c that's going to need some
massaging to make it 0 based instead of 1 based and adjust for the
additional tty count. :-/
My environment is arch linux and the details are as follows.
kernel : 3.9.2-1
systemd : 204-1
lxc : 1:0.9.0-2
HTH
--
Regards
Shridhar
--
Michael H. Warfield (AI4NB) | (770) 985-6132 | mhw at WittsEnd.com
/\/\|=mhw=|\/\/ | (678) 463-0932 | http://www.wittsend.com/mhw/
NIC whois: MHW9 | An optimist believes we live in the best of all
PGP Key: 0x674627FF | possible worlds. A pessimist is sure of it!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 482 bytes
Desc: This is a digitally signed message part
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20130518/4657feb2/attachment.pgp>
Shridhar Daithankar
2013-05-19 03:56:59 UTC
Permalink
Post by Michael H. Warfield
I ran into the same lxc-console issue and managed to solve it by commenting
out ConditionPathExists line in
first I had to start the container in foreground, login, comment out
aforementioned line and restart it in daemon mode. After that lxc-console
worked.
If I changed the systemd unit from the chroot itself, it didn't reflect
somehow. Also the line referred to /dev/tty0 but only /dev/tty and
/dev/tty1 were available in the container.
I don't understand systemd enough to comment on the reasons of it working
or not-working. I just experimented around to get a working tty.
Oh, I understand why it's working and that's VERY interesting. I hadn't
dug into that realm of the systemd files as yet. They're using the mere
existence of /dev/tty0 as a logic switch to determine if they are going
to start a getty on %I (/dev/tty1 in this case). Which is yet another
case of them burying a magic cookie switch in the logic. They
conditionalize it on a hard coded /dev/tty0 but then start a getty
"/sbin/agetty --noclear %I 38400". the %I is the unit name. Cute.
Cheeky bastards.
So, it basically means that if we create a tty0 under autodev, that
should then enable any listed vty consoles we set up using systemd
links. That could be a key to making that work without modifying files
in the container but would require a (relatively minor but non trivial)
change to the lxc source code, as opposed to merely a template. I'll
run this up the flagpole on the -devel list and with Serge and get their
opinions. This is doable. I think I'll try this out in my sources
first and then post a request for comments over on -devel. The problem
is in the routine "setup_tty" in conf.c that's going to need some
massaging to make it 0 based instead of 1 based and adjust for the
additional tty count. :-/
digging a bit deeper in this and quoting from

http://www.freedesktop.org/software/systemd/man/systemd-getty-generator.html
and http://0pointer.de/blog/projects/serial-console.html

It looks like systemd is generating that unit file on demand during boot(thats
why editing it before starting the container did not work for me) and it is
looking into /sys/class/tty/console/active which indeed reports tty0 inside a
container.

So the real question is how can lxc/kernel make the container report tty1
there so that systemd would work out of the box.

or.. as you have proposed, lxc could expose tty0.
--
Regards
Shridhar
Michael H. Warfield
2013-05-19 19:56:39 UTC
Permalink
Post by Shridhar Daithankar
Post by Michael H. Warfield
I ran into the same lxc-console issue and managed to solve it by commenting
out ConditionPathExists line in
first I had to start the container in foreground, login, comment out
aforementioned line and restart it in daemon mode. After that lxc-console
worked.
If I changed the systemd unit from the chroot itself, it didn't reflect
somehow. Also the line referred to /dev/tty0 but only /dev/tty and
/dev/tty1 were available in the container.
I don't understand systemd enough to comment on the reasons of it working
or not-working. I just experimented around to get a working tty.
Oh, I understand why it's working and that's VERY interesting. I hadn't
dug into that realm of the systemd files as yet. They're using the mere
existence of /dev/tty0 as a logic switch to determine if they are going
to start a getty on %I (/dev/tty1 in this case). Which is yet another
case of them burying a magic cookie switch in the logic. They
conditionalize it on a hard coded /dev/tty0 but then start a getty
"/sbin/agetty --noclear %I 38400". the %I is the unit name. Cute.
Cheeky bastards.
So, it basically means that if we create a tty0 under autodev, that
should then enable any listed vty consoles we set up using systemd
links. That could be a key to making that work without modifying files
in the container but would require a (relatively minor but non trivial)
change to the lxc source code, as opposed to merely a template. I'll
run this up the flagpole on the -devel list and with Serge and get their
opinions. This is doable. I think I'll try this out in my sources
first and then post a request for comments over on -devel. The problem
is in the routine "setup_tty" in conf.c that's going to need some
massaging to make it 0 based instead of 1 based and adjust for the
additional tty count. :-/
digging a bit deeper in this and quoting from
http://www.freedesktop.org/software/systemd/man/systemd-getty-generator.html
and http://0pointer.de/blog/projects/serial-console.html
It looks like systemd is generating that unit file on demand during boot(thats
why editing it before starting the container did not work for me) and it is
looking into /sys/class/tty/console/active which indeed reports tty0 inside a
container.
So the real question is how can lxc/kernel make the container report tty1
there so that systemd would work out of the box.
or.. as you have proposed, lxc could expose tty0.
Or, after reading that first document, another idea that comes to mind.
This is one that could be implemented in the lxc-fedora template. The
idea is based on the section near the bottom of that document titled
"Serial Terminals" and mentions "However, sometimes there's the need to
manually configure a serial getty..." That can be adapted and used with
getty at .service like this...

cp /lib/systemd/system/getty at .service /etc/systemd/system

Now edit /etc/systemd/system/getty at .service and delete or comment out
the ConditionPathExists=/dev/tty0 line.

Finally...

cd /etc/systemd/system/getty.target.wants/
ln -sf ../getty\@.service getty at tty1.service
ln -sf ../getty\@.service getty at tty2.service
ln -sf ../getty\@.service getty at tty3.service
ln -sf ../getty\@.service getty at tty4.service
... For the number of vty logins you want up to the number of ttys you
have specified in lxc.tty.

That overrides the getty at .service in /lib/systemd/system/

Tested out with a Fedora 17 container I have running hear now and it
works like a charm. You do end up with multiple agetty processes
running that way. I can then use lxc-console to connect to those
consoles. This would seem to be a cheap and dirty way to get it to
work.

Looks like we could try with some virtual console devices they mention
in that document as well but that recurses back to needing to modify
lxc-start and the autodev logic.
Post by Shridhar Daithankar
--
Regards
Shridhar
--
Michael H. Warfield (AI4NB) | (770) 985-6132 | mhw at WittsEnd.com
/\/\|=mhw=|\/\/ | (678) 463-0932 | http://www.wittsend.com/mhw/
NIC whois: MHW9 | An optimist believes we live in the best of all
PGP Key: 0x674627FF | possible worlds. A pessimist is sure of it!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 482 bytes
Desc: This is a digitally signed message part
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20130519/ff2d4f5f/attachment.pgp>
Shridhar Daithankar
2013-05-31 03:19:39 UTC
Permalink
First of all, let me say thank you for your concise message upthread. It
renewed my interest in lxc and I managed to get a working container for the
first time. I will post a detailed HOWTO shortly.
And I finally managed to complete it. Its posted at
http://www.ghodechhap.net/blog/?p=4

Hope people find it useful.
--
Regards
Shridhar
Fajar A. Nugraha
2013-05-31 03:44:54 UTC
Permalink
On Fri, May 31, 2013 at 10:19 AM, Shridhar Daithankar
Post by Shridhar Daithankar
First of all, let me say thank you for your concise message upthread. It
renewed my interest in lxc and I managed to get a working container for the
first time. I will post a detailed HOWTO shortly.
And I finally managed to complete it. Its posted at
http://www.ghodechhap.net/blog/?p=4
Thanks for writing the post.

One thing though, is the "edit /etc/ssh/sshd_config" part really
necessary? AFAIK ssh should listen to all available IP by default, and
the container will have separate IP address from the host (i.e. the
host doesn't use container's IP address, and vice versa), so it should
work even without manually binding ssh to an IP address.
--
Fajar
Shridhar Daithankar
2013-05-31 15:14:08 UTC
Permalink
Post by Fajar A. Nugraha
On Fri, May 31, 2013 at 10:19 AM, Shridhar Daithankar
Post by Shridhar Daithankar
And I finally managed to complete it. Its posted at
http://www.ghodechhap.net/blog/?p=4
Thanks for writing the post.
One thing though, is the "edit /etc/ssh/sshd_config" part really
necessary? AFAIK ssh should listen to all available IP by default, and
the container will have separate IP address from the host (i.e. the
host doesn't use container's IP address, and vice versa), so it should
work even without manually binding ssh to an IP address.
Its not strictly necessary. squid does not offer such a setting and I can run
two instances, one in host and one in container just fine.

I just find it to be logically cleaner..
--
Regards
Shridhar
Continue reading on narkive:
Loading...