[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] Problem to get more than 8 loopback deviceses.



On Tue, 13 Nov 2007, Tomasz Chmielewski wrote:

> >
> >> localhost:/dev# grep loop /var/log/dmesg
> >> Kernel command line: root=/dev/sda1 ro console=tty0 max_loop=128
> >> loop: loaded (max 8 devices)
> >
>
> Adding netloop.nloopbacks=16 should help.
>
> For grub for example, this would look like below:
>
> title Xen
>    kernel /boot/xen-3.1.gz dom0_mem=256M
>    module /boot/vmlinuz-2.6.18-xen root=/dev/md1 netloop.nloopbacks=16
> xencons=off
>    module /boot/initrd-2.6.18-xen.img

I did not test it.
Grub: "module ....max_loop=16" was always sufficient.

It does not seem to be Xen-problem:

-------------------------
  - lt. [1] max_loop setzen

# echo "options loop max_loop=16" >> /etc/modules.conf
# rmmod loop
# modprobe loop
loop: loaded (max 8 devices)

    -> option wird ignoriert!

-------------------------
  - test modprobe+option

# modprobe loop max_loop=16
loop: loaded (max 16 devices)

    - na geht doch...

-------------------------

# modinfo loop
filename:       /lib/modules/2.6.16.29-xen0/kernel/drivers/block/loop.ko
license:        GPL
alias:          block-major-7-*
vermagic:       2.6.16.29-xen0 PENTIUMIII gcc-3.3
depends:
parm:           max_loop:Maximum number of loop devices (1-256) (int)

# apt-cache show modutils | grep Version
Version: 2.4.26-1.2

# xm dmesg | egrep "version|ChangeSet"
 Xen version 3.0-unstable (root@xxxxxx) (gcc version 3.3.5
(Debian 1:
3.3.5-13)) Fri Dec  8 08:11:00 CET 2006
 Latest ChangeSet: Wed Sep 27 14:30:36 2006 +0100 11633:000aa9510e55

# uname -r
2.6.16.29-xen0

  - Yes. very old...


It is not for me a problem. Article for information only...

--
Torsten lehmann
LauNOC


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.