All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] Re: What kernel and what options?
@ 2000-10-18 16:36 Clemens
  2000-10-18 17:47 ` bert
  0 siblings, 1 reply; 2+ messages in thread
From: Clemens @ 2000-10-18 16:36 UTC (permalink / raw)
  To: lartc

<PRE>Hi,

&gt;<i> On Wed, Oct 18, 2000 at 04:32:16PM +0200, Clemens Sibon wrote:
</I>&gt;<i> &gt; Hi all,
</I>&gt;<i> &gt;
</I>&gt;<i> &gt; I am trying to get bandwidth-shaping but I get errors when
</I>&gt;<i> &gt; I issue the &quot;tc
</I>&gt;<i> &gt; qdisc add dev eth0 root handle 10: cbq bandwidth 10Mbit
</I>&gt;<i> &gt; avpkt 1000&quot; command
</I>&gt;<i> &gt; (RTNETLINK answers: Invalid argument  error).
</I>&gt;<i> &gt;
</I>&gt;<i> &gt; I have enabled all QOS-options in the kernel (as modules)
</I>&gt;<i> &gt; and see a lot of
</I>&gt;<i> &gt; &quot;undefined symbols&quot; at boot-time. Should I get the
</I>&gt;<i> &gt; QOS-stuff hard-coded in
</I>&gt;<i> &gt; the kernel? Do I have to patch the kernel-sources (R.H.
</I>&gt;<i> &gt; 2.2.16-3 RPM)?
</I>&gt;<i>
</I>&gt;<i> No you don't have to patch the kernel, but I think you will
</I>&gt;<i> not be able to
</I>&gt;<i> insert QoS as a module into a kernel not prepared for this.
</I>&gt;<i> In other words,
</I>&gt;<i> you need to recompile your entire kernel and not just the modules.
</I>
I did a make dep, make, make modules and make modules_install.

&gt;<i>
</I>&gt;<i> Did you run depmod -a to recompile your module dependencies?
</I>
Nope, will check that tonight

&gt;<i> If you did so, send your kernel .config, and we'll see if you
</I>&gt;<i> are missing anything.
</I>
I hope the depmod -a will fix things. Normally I am very happy with the
standard kernels so I don't compile them a lot. Should check the
kernel-HOWTO a lot more often I guess :-)

&gt;<i> &gt; Meanwhile, I am even willing to get shaping going on other
</I>&gt;<i> &gt; platforms. I just
</I>&gt;<i> &gt; installed FreeBSD 4.1 but that requires quite a lot of time
</I>&gt;<i> &gt; too :-(((
</I>&gt;<i>
</I>&gt;<i> AFAIK, FreeBSD's softnet doesn't offer a lot of options that our CBQ
</I>&gt;<i> implementation does.
</I>
Yes it seems lots simpler with less possibilities. For some applications
though all the options are overkill and all one needs is to limit the
(overall) bandwidth to avoid large bills from providers not using flat-fee
pricing :-)

Anyway, thanks for the tip. I will keep you posted.

Clemens Sibon



</PRE>

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [LARTC] Re: What kernel and what options?
  2000-10-18 16:36 [LARTC] Re: What kernel and what options? Clemens
@ 2000-10-18 17:47 ` bert
  0 siblings, 0 replies; 2+ messages in thread
From: bert @ 2000-10-18 17:47 UTC (permalink / raw)
  To: lartc

<PRE>On Wed, Oct 18, 2000 at 06:36:36PM +0200, Clemens Sibon wrote:

&gt;<i> &gt; In other words,
</I>&gt;<i> &gt; you need to recompile your entire kernel and not just the modules.
</I>&gt;<i> 
</I>&gt;<i> I did a make dep, make, make modules and make modules_install.
</I>
Read the kernel-HOWTO, it takes more. You can check if you are running a
fresh kernel with 'uname -a':

 $ uname -a
 Linux hubert 2.4.0-test5 #1 Fri Aug 4 16:48:54 CEST 2000 i686 unknown

This means that my kernel was compiled on the 4th of August.

&gt;<i> I hope the depmod -a will fix things. Normally I am very happy with the
</I>&gt;<i> standard kernels so I don't compile them a lot. Should check the
</I>&gt;<i> kernel-HOWTO a lot more often I guess :-)
</I>
Be careful to keep a copy of your previous kernel! 

&gt;<i> &gt; AFAIK, FreeBSD's softnet doesn't offer a lot of options that our CBQ
</I>&gt;<i> &gt; implementation does.
</I>&gt;<i> 
</I>&gt;<i> Yes it seems lots simpler with less possibilities. For some applications
</I>&gt;<i> though all the options are overkill and all one needs is to limit the
</I>&gt;<i> (overall) bandwidth to avoid large bills from providers not using flat-fee
</I>&gt;<i> pricing :-)
</I>
Perhaps this will help you:

<A HREF="http://freshmeat.net/projects/cbq.init/?highlightËq">http://freshmeat.net/projects/cbq.init/?highlightËq</A>

Does most of the simple things for you.

&gt;<i> Anyway, thanks for the tip. I will keep you posted.
</I>
Great.

Regards,

bert hubert

-- 
PowerDNS                     Versatile DNS Services  
Trilab                       The Technology People   
'SYN! .. SYN|ACK! .. ACK!' - the mating call of the internet


</PRE>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2000-10-18 17:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-10-18 16:36 [LARTC] Re: What kernel and what options? Clemens
2000-10-18 17:47 ` bert

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.