From owner-freebsd-current Fri May 4 2:53:56 2001 Delivered-To: freebsd-current@freebsd.org Received: from mout0.freenet.de (mout0.freenet.de [194.97.50.131]) by hub.freebsd.org (Postfix) with ESMTP id 448CD37B422; Fri, 4 May 2001 02:53:51 -0700 (PDT) (envelope-from netchild@leidinger.net) Received: from [194.97.50.136] (helo=mx3.freenet.de) by mout0.freenet.de with esmtp (Exim 3.22 #1) id 14vcHW-0000X0-00; Fri, 04 May 2001 11:53:50 +0200 Received: from b85d3.pppool.de ([213.7.133.211] helo=Magelan.Leidinger.net) by mx3.freenet.de with esmtp (Exim 3.22 #1) id 14vcHV-0005xf-00; Fri, 04 May 2001 11:53:50 +0200 Received: from Leidinger.net (netchild@localhost [127.0.0.1]) by Magelan.Leidinger.net (8.11.3/8.11.3) with ESMTP id f449rgh44495; Fri, 4 May 2001 11:53:43 +0200 (CEST) (envelope-from netchild@Leidinger.net) Message-Id: <200105040953.f449rgh44495@Magelan.Leidinger.net> Date: Fri, 4 May 2001 11:53:41 +0200 (CEST) From: Alexander Leidinger Subject: Re: isdn stops working when load increases To: schweikh@schweikhardt.net Cc: freebsd-current@FreeBSD.ORG, hm@FreeBSD.ORG, ru@FreeBSD.ORG In-Reply-To: <20010503211736.E1024@schweikhardt.net> MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 3 Mai, Jens Schweikhardt wrote: > # > However, as soon as I do a find / or buildworld or some other > # > commands increasing the load significantly (about 1 or more), > # > isdnd seems to take a nap. No more packets transmitted. If I > # > suspend the running programs, isdnd awakes and continues. > # > Is anybody else observing the same behavior? > # > # Not with my Apr 29 kernel (no rtprio keyword in isdnd.rc), at least I > # didn't noticed it. > # > # BTW: What about dial-on-demand? > > Still ok. I have rtprio 25 (as from the isdnd.rc.sample, should I tune this? > Remove the line?) in my isdnd.rc and this at the end of /etc/rc.isdn: I think Hellmuth choosed a good value for rtprio, and I didn't think it solves your problem if you increase the value, but feel free to play a little bit with it (I think isdnd slowes down because of a lot of interrupts, and if I didn't have a wrong understanding of the system, rtprio didn't helps in this case). > echo 'removing previous isp0 config' > ifconfig isp0 delete -link1 down > echo 'setting sppp options' > ispppcontrol isp0 myauthproto=pap myauthname=xxxxxxxx myauthsecret=xxxxxxxx hisauthproto=none callin > echo 'configuring isp0' > ifconfig isp0 1.2.3.4 5.6.7.8 netmask 0xffffffff link1 2>/dev/null What's your defaultroute? I use "-interface isp1". BTW: I use /etc/start_if.isp1 to configure the interface, no need to modify rc.isdn, e.g.: ---snip--- (11) root@ttyp0 # less /etc/start_if.isp1 ifconfig isp1 link1 0.0.0.0 0.0.0.1 netmask 255.255.0.0 ispppcontrol isp1 $(cat /etc/isdn/connect-CBC.parameters) enable-vj ifconfig isp1 down ---snip---. While we're at it, maybe someone wants to commit something like this: ---snip--- --- /usr/src/etc/rc.isdn Sat Apr 28 14:49:22 2001 +++ /etc/rc.isdn Sun Apr 29 15:37:04 2001 @@ -38,6 +38,23 @@ [Yy][Ee][Ss]) echo -n 'ISDN subsystem setup:' + # Terminal type for fullscreen mode, default to syscons driver + # + if [ ! -n "${isdn_ttype}" ]; then + isdn_ttype=cons25 + fi + if [ -n "${isdn_screenflags}" ]; then + /usr/sbin/vidcontrol < ${isdn_fsdev} > ${isdn_fsdev} 2>&1 ${isdn_screenflags} + fi + + # Check for pcvt driver (VT100/VT220 emulator) + # + if [ -x /usr/sbin/ispcvt ]; then + if /usr/sbin/ispcvt; then + isdn_ttype=pcvt25 + fi + fi + case ${isdn_flags} in [Nn][Oo]) isdn_flags='' ---snip--- (I think the isdn_ttype part isn't needed anymore, someone committed something like this already, but the screenflags part is useful for me) Bye, Alexander. -- Loose bits sink chips. http://www.Leidinger.net Alexander @ Leidinger.net GPG fingerprint = C518 BC70 E67F 143F BE91 3365 79E2 9C60 B006 3FE7 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message