From owner-freebsd-current Sat May 5 4:56:37 2001 Delivered-To: freebsd-current@freebsd.org Received: from bremen.shuttle.de (bremen.shuttle.de [194.95.249.251]) by hub.freebsd.org (Postfix) with ESMTP id 1D4CA37B423; Sat, 5 May 2001 04:56:32 -0700 (PDT) (envelope-from schweikh@schweikhardt.net) Received: by bremen.shuttle.de (Postfix, from userid 10) id 932C417D80; Sat, 5 May 2001 13:56:30 +0200 (CEST) Received: (from schweikh@localhost) by hal9000.schweikhardt.net (8.11.3/8.11.3) id f45BqWQ52612; Sat, 5 May 2001 13:52:32 +0200 (CEST) (envelope-from schweikh) Date: Sat, 5 May 2001 13:52:32 +0200 From: Jens Schweikhardt To: Alexander Leidinger Cc: freebsd-current@FreeBSD.ORG, hm@FreeBSD.ORG Subject: Re: isdn stops working when load increases Message-ID: <20010505135231.C14786@schweikhardt.net> References: <20010503211736.E1024@schweikhardt.net> <200105040953.f449rgh44495@Magelan.Leidinger.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200105040953.f449rgh44495@Magelan.Leidinger.net>; from Alexander@Leidinger.net on Fri, May 04, 2001 at 11:53:41AM +0200 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Alexander et al, # > 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 *De*creasing gives it higher priority, according to rtprio(1). # 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". 5.6.7.8 (modified for the purpose of this mail :-) # 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---. Ah, so that's how it's done properly. # 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 ... # ---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) Yup, that was me :-) Can you provide a patch against -current and also a patch adding isdn_screenflags to /etc/defaults/rc.conf and rc.conf(5)? It's important to document all the knobs there. Should be easy. Regards, Jens -- Jens Schweikhardt http://www.schweikhardt.net/ SIGSIG -- signature too long (core dumped) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message