DragonFly bugs List (threaded) for 2006-01
[
Date Prev][Date Next]
[
Thread Prev][Thread Next]
[
Date Index][
Thread Index]
Re: Problems with pppd
On Fri, Jan 27, 2006 at 01:00:05PM -0600, Eric J. Christeson wrote:
> I spent this past week updating my Dragonfly 1.2 box to 1.4 source
> downloaded on Jan. 20, 2006. I am using dialup with pppd. The
> upgrade went w/out problem except that I can't access the Internet.
> The ppp chat script seems to connect fine, but trying a ping causes
> ping to hang. It is only the ping process, the rest of the box is
> quite usable. The ping process will not respond to ^C or kill -9. If
> I attach gdb, gdb hangs also, but is killable. I have the kernel
> compiled with DDB, but I haven't figured out how to get anything
> interesting out of it yet.
Can you try the attached patch and re-compile the kernel?
Thanks.
Index: ppp_tty.c
===================================================================
RCS file: /home/source/dragonfly/cvs/src/sys/net/ppp_layer/ppp_tty.c,v
retrieving revision 1.15
diff -u -p -r1.15 ppp_tty.c
--- ppp_tty.c 14 Jan 2006 11:05:18 -0000 1.15
+++ ppp_tty.c 28 Jan 2006 05:05:44 -0000
@@ -322,7 +322,7 @@ pppread(struct tty *tp, struct uio *uio,
* Loop waiting for input, checking that nothing disasterous
* happens in the meantime.
*/
- crit_exit();
+ crit_enter();
for (;;) {
if (tp != (struct tty *) sc->sc_devp || tp->t_line != PPPDISC) {
crit_exit();
[
Date Prev][Date Next]
[
Thread Prev][Thread Next]
[
Date Index][
Thread Index]