Mailing List Archive

max loopback devices
I can't seem to increase the # beyond 8 ...

i'm just using stock xen0 and xenU, here is my grub line:


title Xen 2.0 / XenLinux 2.6.10
kernel /xen.gz dom0_mem=256000
module /vmlinuz-2.6.10-xen0 root=/dev/md1 max_loop=32 console=tty0 ro

from all i can figure this should make it 32 ... anyone point me in the
right direction?

thanks again!


_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users
Re: max loopback devices [ In reply to ]
Max number of loop devices is configurable in the kernel config: you'll need
to recompile dom0's kernel to support more than 8 devices (the default).

Cheers,
Mark

On Wednesday 11 May 2005 21:45, andrew mathes wrote:
> I can't seem to increase the # beyond 8 ...
>
> i'm just using stock xen0 and xenU, here is my grub line:
>
>
> title Xen 2.0 / XenLinux 2.6.10
> kernel /xen.gz dom0_mem=256000
> module /vmlinuz-2.6.10-xen0 root=/dev/md1 max_loop=32 console=tty0 ro
>
> from all i can figure this should make it 32 ... anyone point me in the
> right direction?
>
> thanks again!
>
>
> _______________________________________________
> Xen-users mailing list
> Xen-users@lists.xensource.com
> http://lists.xensource.com/xen-users

_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users
Re: max loopback devices [ In reply to ]
In the future check the FAQ first, here is my grub line:
kernel /xen-3.0-debug-untested.gz dom0_mem=524288 max_loop=255
com1=9600,8n1 cdb=com1 console=com1 hz=1000

On 5/11/05, andrew mathes <amathes@backnine.org> wrote:
> I can't seem to increase the # beyond 8 ...
>
> i'm just using stock xen0 and xenU, here is my grub line:
>
> title Xen 2.0 / XenLinux 2.6.10
> kernel /xen.gz dom0_mem=256000
> module /vmlinuz-2.6.10-xen0 root=/dev/md1 max_loop=32 console=tty0 ro
>
> from all i can figure this should make it 32 ... anyone point me in the
> right direction?
>
> thanks again!
>
> _______________________________________________
> Xen-users mailing list
> Xen-users@lists.xensource.com
> http://lists.xensource.com/xen-users
>

_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users
Re: max loopback devices [ In reply to ]
i have consuled the FAQ ... i had max_loop in the first line previously
...

wasn't clear to me which line it should go in, regardless ... still 8
loopback devices

On Wed, 11 May 2005, Kip Macy wrote:

> In the future check the FAQ first, here is my grub line:
> kernel /xen-3.0-debug-untested.gz dom0_mem=524288 max_loop=255
> com1=9600,8n1 cdb=com1 console=com1 hz=1000
>
> On 5/11/05, andrew mathes <amathes@backnine.org> wrote:
>> I can't seem to increase the # beyond 8 ...
>>
>> i'm just using stock xen0 and xenU, here is my grub line:
>>
>> title Xen 2.0 / XenLinux 2.6.10
>> kernel /xen.gz dom0_mem=256000
>> module /vmlinuz-2.6.10-xen0 root=/dev/md1 max_loop=32 console=tty0 ro
>>
>> from all i can figure this should make it 32 ... anyone point me in the
>> right direction?
>>
>> thanks again!
>>
>> _______________________________________________
>> Xen-users mailing list
>> Xen-users@lists.xensource.com
>> http://lists.xensource.com/xen-users
>>
>

_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users
Re: max loopback devices [ In reply to ]
Sorry, my bad.

-Kip

On 5/11/05, andrew mathes <amathes@backnine.org> wrote:
> i have consuled the FAQ ... i had max_loop in the first line previously
> ...
>
> wasn't clear to me which line it should go in, regardless ... still 8
> loopback devices
>
> On Wed, 11 May 2005, Kip Macy wrote:
>
> > In the future check the FAQ first, here is my grub line:
> > kernel /xen-3.0-debug-untested.gz dom0_mem=524288 max_loop=255
> > com1=9600,8n1 cdb=com1 console=com1 hz=1000
> >
> > On 5/11/05, andrew mathes <amathes@backnine.org> wrote:
> >> I can't seem to increase the # beyond 8 ...
> >>
> >> i'm just using stock xen0 and xenU, here is my grub line:
> >>
> >> title Xen 2.0 / XenLinux 2.6.10
> >> kernel /xen.gz dom0_mem=256000
> >> module /vmlinuz-2.6.10-xen0 root=/dev/md1 max_loop=32 console=tty0 ro
> >>
> >> from all i can figure this should make it 32 ... anyone point me in the
> >> right direction?
> >>
> >> thanks again!
> >>
> >> _______________________________________________
> >> Xen-users mailing list
> >> Xen-users@lists.xensource.com
> >> http://lists.xensource.com/xen-users
> >>
> >
>
> _______________________________________________
> Xen-users mailing list
> Xen-users@lists.xensource.com
> http://lists.xensource.com/xen-users
>

_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users
Re: max loopback devices [ In reply to ]
Le mercredi 11 mai 2005 à 13:45 -0700, andrew mathes a écrit :
> I can't seem to increase the # beyond 8 ...

if you have compiled loop device directly in kernel, then max number of
device should be specified via grub command line

_but_ if you have compiled it as modules, then you got to passe
max_loop=x as argument to the modprobe command

ie: # modprobe loop max_loop=32

you may also need to create more device node, check your /dev/loop*

or, maybe the modules is autloaded during boot time, with num of device
set to 8 ( default value ). you should configure your autoloader to pass
max_loop=x to it

hopes this helps

cheers
--
mlist <mlist@opendoor.fr>
opendoor.fr


_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users
Re: max loopback devices [ In reply to ]
i just wanted to verify ... is this REALLY your kernel boot line, and do
you have more than 8 loopback devices running?

because it only worked for me having max_loop on the 2nd line, otherwise
it wouldn't let me do it.

and if you don't have more than 8 loopback devices running, the snootiness
isn't appreciated, especially if you're not 100% sure that you're right.

so my fault if yours is actually working in the configuration you have
there, but the attitude is still unnecessary.

so for anyone else ... try it on the vmlinuz line as well

have a nice day

On Wed, 11 May 2005, Kip Macy wrote:

> In the future check the FAQ first, here is my grub line:
> kernel /xen-3.0-debug-untested.gz dom0_mem=524288 max_loop=255
> com1=9600,8n1 cdb=com1 console=com1 hz=1000
>
> On 5/11/05, andrew mathes <amathes@backnine.org> wrote:
>> I can't seem to increase the # beyond 8 ...
>>
>> i'm just using stock xen0 and xenU, here is my grub line:
>>
>> title Xen 2.0 / XenLinux 2.6.10
>> kernel /xen.gz dom0_mem=256000
>> module /vmlinuz-2.6.10-xen0 root=/dev/md1 max_loop=32 console=tty0 ro
>>
>> from all i can figure this should make it 32 ... anyone point me in the
>> right direction?
>>
>> thanks again!
>>
>> _______________________________________________
>> Xen-users mailing list
>> Xen-users@lists.xensource.com
>> http://lists.xensource.com/xen-users
>>
>
> _______________________________________________
> Xen-users mailing list
> Xen-users@lists.xensource.com
> http://lists.xensource.com/xen-users
>

_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users
Re: max loopback devices [ In reply to ]
On 5/20/05, andrew mathes <amathes@backnine.org> wrote:
> i just wanted to verify ... is this REALLY your kernel boot line, and do
> you have more than 8 loopback devices running?
>
> because it only worked for me having max_loop on the 2nd line, otherwise
> it wouldn't let me do it.
>
> and if you don't have more than 8 loopback devices running, the snootiness
> isn't appreciated, especially if you're not 100% sure that you're right.
>
> so my fault if yours is actually working in the configuration you have
> there, but the attitude is still unnecessary.
>
> so for anyone else ... try it on the vmlinuz line as well
>
> have a nice day
>
> On Wed, 11 May 2005, Kip Macy wrote:
>
> > In the future check the FAQ first, here is my grub line:
> > kernel /xen-3.0-debug-untested.gz dom0_mem=524288 max_loop=255
> > com1=9600,8n1 cdb=com1 console=com1 hz=1000
> >
> > On 5/11/05, andrew mathes <amathes@backnine.org> wrote:
> >> I can't seem to increase the # beyond 8 ...
> >>
> >> i'm just using stock xen0 and xenU, here is my grub line:
> >>
> >> title Xen 2.0 / XenLinux 2.6.10
> >> kernel /xen.gz dom0_mem=256000
> >> module /vmlinuz-2.6.10-xen0 root=/dev/md1 max_loop=32 console=tty0 ro
> >>
> >> from all i can figure this should make it 32 ... anyone point me in the
> >> right direction?
> >>
> >> thanks again!
> >>
> >> _______________________________________________
> >> Xen-users mailing list
> >> Xen-users@lists.xensource.com
> >> http://lists.xensource.com/xen-users
> >>
> >
> > _______________________________________________
> > Xen-users mailing list
> > Xen-users@lists.xensource.com
> > http://lists.xensource.com/xen-users
> >
>
> _______________________________________________
> Xen-users mailing list
> Xen-users@lists.xensource.com
> http://lists.xensource.com/xen-users
>

Hi,

I checked the FAQ, and, in item 4.4 it says:

"By default, Linux only allows up to 8 loop-back
devices to be active. You can increase this number
by setting max_loop=32 (etc) on the domain 0
kernel command line in Grub."

I understand the domain 0 kernel command line
in GRUB should be the one after "kernel" and
titled "module" that is responsible for starting
the dom0 kernel.

If I am wrong, may be the FAQ should be rephrased
in order to make that more clear to others. Pehraps
an example should help.

--
Bye,
Fernando Maior
LPIC/1 31908

_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users
Re: max loopback devices [ In reply to ]
I fail to understand your attitude - I apologized 2 minutes after your
initial response. Why are you dragging this out?

-Kip

On 5/20/05, andrew mathes <amathes@backnine.org> wrote:
> i just wanted to verify ... is this REALLY your kernel boot line, and do
> you have more than 8 loopback devices running?
>
> because it only worked for me having max_loop on the 2nd line, otherwise
> it wouldn't let me do it.
>
> and if you don't have more than 8 loopback devices running, the snootiness
> isn't appreciated, especially if you're not 100% sure that you're right.
>
> so my fault if yours is actually working in the configuration you have
> there, but the attitude is still unnecessary.
>
> so for anyone else ... try it on the vmlinuz line as well
>
> have a nice day
>
> On Wed, 11 May 2005, Kip Macy wrote:
>
> > In the future check the FAQ first, here is my grub line:
> > kernel /xen-3.0-debug-untested.gz dom0_mem=524288 max_loop=255
> > com1=9600,8n1 cdb=com1 console=com1 hz=1000
> >
> > On 5/11/05, andrew mathes <amathes@backnine.org> wrote:
> >> I can't seem to increase the # beyond 8 ...
> >>
> >> i'm just using stock xen0 and xenU, here is my grub line:
> >>
> >> title Xen 2.0 / XenLinux 2.6.10
> >> kernel /xen.gz dom0_mem=256000
> >> module /vmlinuz-2.6.10-xen0 root=/dev/md1 max_loop=32 console=tty0 ro
> >>
> >> from all i can figure this should make it 32 ... anyone point me in the
> >> right direction?
> >>
> >> thanks again!
> >>
> >> _______________________________________________
> >> Xen-users mailing list
> >> Xen-users@lists.xensource.com
> >> http://lists.xensource.com/xen-users
> >>
> >
> > _______________________________________________
> > Xen-users mailing list
> > Xen-users@lists.xensource.com
> > http://lists.xensource.com/xen-users
> >
>

_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users
Re: max loopback devices [ In reply to ]
On 5/21/05, Kip Macy <kip.macy@gmail.com> wrote:
> I fail to understand your attitude - I apologized 2 minutes after your
> initial response. Why are you dragging this out?
>
> -Kip
>
> On 5/20/05, andrew mathes <amathes@backnine.org> wrote:
> > i just wanted to verify ... is this REALLY your kernel boot line, and do
> > you have more than 8 loopback devices running?
> >
> > because it only worked for me having max_loop on the 2nd line, otherwise
> > it wouldn't let me do it.
> >
> > and if you don't have more than 8 loopback devices running, the snootiness
> > isn't appreciated, especially if you're not 100% sure that you're right.
> >
> > so my fault if yours is actually working in the configuration you have
> > there, but the attitude is still unnecessary.
> >
> > so for anyone else ... try it on the vmlinuz line as well
> >
> > have a nice day
> >
> > On Wed, 11 May 2005, Kip Macy wrote:
> >
> > > In the future check the FAQ first, here is my grub line:
> > > kernel /xen-3.0-debug-untested.gz dom0_mem=524288 max_loop=255
> > > com1=9600,8n1 cdb=com1 console=com1 hz=1000
> > >
> > > On 5/11/05, andrew mathes <amathes@backnine.org> wrote:
> > >> I can't seem to increase the # beyond 8 ...
> > >>
> > >> i'm just using stock xen0 and xenU, here is my grub line:
> > >>
> > >> title Xen 2.0 / XenLinux 2.6.10
> > >> kernel /xen.gz dom0_mem=256000
> > >> module /vmlinuz-2.6.10-xen0 root=/dev/md1 max_loop=32 console=tty0 ro
> > >>
> > >> from all i can figure this should make it 32 ... anyone point me in the
> > >> right direction?
> > >>
> > >> thanks again!
> > >>
> > >> _______________________________________________
> > >> Xen-users mailing list
> > >> Xen-users@lists.xensource.com
> > >> http://lists.xensource.com/xen-users
> > >>
> > >
> > > _______________________________________________
> > > Xen-users mailing list
> > > Xen-users@lists.xensource.com
> > > http://lists.xensource.com/xen-users
> > >
> >
>
> _______________________________________________
> Xen-users mailing list
> Xen-users@lists.xensource.com
> http://lists.xensource.com/xen-users
>

Kip,

That is not for you. I did not do it because of you, but
because, if the FAQ is wrong (and that should not be
considered a very weak possibility cause the software
is going a lot of changes, and may be you remember
a problem with the a feature of 3.0 that is in the
documentation for 2.0), the FAQ should be corrected.

The phrase used in the FAQ is NOT clear to me. "The
domain 0 kernel command line in Grub" is not clear
to me. And that is why I suggested an example, in
order to clarify the matters. May other people just
misunderstand that line, and I would not like that
happening.

If I was rude to you, I apologize, that was not and is
not what I mean. And will never be.

--
Bye,
Fernando Maior
LPIC/1 31908

_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users
Re: max loopback devices [ In reply to ]
I was responding to Andrew's comments not yours. And yes it looks like
something has changed with the loopback devices in more recent
versions of the linux kernel. max_loop=255 worked on 2.6.9 for an
earlier version of 2.0-testing. It appears that this option no longer
works. You might try taking a look at the loopback driver to see if
anything jumps out. I might have to take a look at this at some point
if it isn't fixed in the next month or so.

-kip

On 5/22/05, Fernando Maior <fernando.souto.maior@gmail.com> wrote:
> On 5/21/05, Kip Macy <kip.macy@gmail.com> wrote:
> > I fail to understand your attitude - I apologized 2 minutes after your
> > initial response. Why are you dragging this out?
> >
> > -Kip
> >
> > On 5/20/05, andrew mathes <amathes@backnine.org> wrote:
> > > i just wanted to verify ... is this REALLY your kernel boot line, and do
> > > you have more than 8 loopback devices running?
> > >
> > > because it only worked for me having max_loop on the 2nd line, otherwise
> > > it wouldn't let me do it.
> > >
> > > and if you don't have more than 8 loopback devices running, the snootiness
> > > isn't appreciated, especially if you're not 100% sure that you're right.
> > >
> > > so my fault if yours is actually working in the configuration you have
> > > there, but the attitude is still unnecessary.
> > >
> > > so for anyone else ... try it on the vmlinuz line as well
> > >
> > > have a nice day
> > >
> > > On Wed, 11 May 2005, Kip Macy wrote:
> > >
> > > > In the future check the FAQ first, here is my grub line:
> > > > kernel /xen-3.0-debug-untested.gz dom0_mem=524288 max_loop=255
> > > > com1=9600,8n1 cdb=com1 console=com1 hz=1000
> > > >
> > > > On 5/11/05, andrew mathes <amathes@backnine.org> wrote:
> > > >> I can't seem to increase the # beyond 8 ...
> > > >>
> > > >> i'm just using stock xen0 and xenU, here is my grub line:
> > > >>
> > > >> title Xen 2.0 / XenLinux 2.6.10
> > > >> kernel /xen.gz dom0_mem=256000
> > > >> module /vmlinuz-2.6.10-xen0 root=/dev/md1 max_loop=32 console=tty0 ro
> > > >>
> > > >> from all i can figure this should make it 32 ... anyone point me in the
> > > >> right direction?
> > > >>
> > > >> thanks again!
> > > >>
> > > >> _______________________________________________
> > > >> Xen-users mailing list
> > > >> Xen-users@lists.xensource.com
> > > >> http://lists.xensource.com/xen-users
> > > >>
> > > >
> > > > _______________________________________________
> > > > Xen-users mailing list
> > > > Xen-users@lists.xensource.com
> > > > http://lists.xensource.com/xen-users
> > > >
> > >
> >
> > _______________________________________________
> > Xen-users mailing list
> > Xen-users@lists.xensource.com
> > http://lists.xensource.com/xen-users
> >
>
> Kip,
>
> That is not for you. I did not do it because of you, but
> because, if the FAQ is wrong (and that should not be
> considered a very weak possibility cause the software
> is going a lot of changes, and may be you remember
> a problem with the a feature of 3.0 that is in the
> documentation for 2.0), the FAQ should be corrected.
>
> The phrase used in the FAQ is NOT clear to me. "The
> domain 0 kernel command line in Grub" is not clear
> to me. And that is why I suggested an example, in
> order to clarify the matters. May other people just
> misunderstand that line, and I would not like that
> happening.
>
> If I was rude to you, I apologize, that was not and is
> not what I mean. And will never be.
>
> --
> Bye,
> Fernando Maior
> LPIC/1 31908
>

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