Re: [PATCH] boobytrap 2 for 2.2.15pre5

From: Martin Emmerich (me@grmbl.muc.de)
Date: Fri Feb 04 2000 - 14:56:09 EST


In article <200002010821.JAA02312@grmbl.muc.de>,
I wrote:
> In article
> <Pine.LNX.4.10.10001281558130.25452-100000@mirkwood.dummy.home>
> (Newsgroup muc.lists.linux-kernel) riel@nl.linux.org (Rik van
> Riel) writes:
>
> > The attached boobytrap2 patch adds checks for that situation
> > and won't barf when something like that happens. This should
> > reduce the number of false positives and the number of error
> > messages (making it more convinient for people to test the patches).
>
> I still got one message (grmbl is a dual Pentium II SMP machine):
>
> # fgrep non-running /var/log/messages
> Jan 29 11:50:31 grmbl kernel: handle_mm_fault called by non-running (1) task from c01113ee!
>
> Obviously the call takes place in do_page_fault
>
> # fgrep c0111 /boot/System.map
> c0111004 t set_pte_phys
> c011104c T set_fixmap
> c0111080 T free_initmem
> c01110e8 T si_meminfo
> c0111168 T __verify_write
> c01112cc T do_page_fault
> c011165c t remap_area_pages
> c01118e0 T __ioremap
> c0111980 T iounmap
> c011199c T search_exception_table
> c0111a0c T flush_signals
> c0111a6c T flush_signal_handlers
> c0111aa8 T dequeue_signal
> c0111c14 t ignored_signal
> c0111c7c T send_sig_info
> c0111f7c T force_sig_info

The problem seems to be related to ipppd hangup:

Feb 1 00:11:24 grmbl kernel: ippp0: dialing 1 0123456789...
Feb 1 00:11:25 grmbl ipppd[127]: Local number: 7654321, Remote number: 0123456789, Type: outgoing
Feb 1 00:11:25 grmbl ipppd[127]: PHASE_WAIT -> PHASE_ESTABLISHED, ifunit: 0, linkunit: 0, fd: 7
Feb 1 00:11:25 grmbl kernel: isdn_net: ippp0 connected
Feb 1 00:11:25 grmbl kernel: isdn_net: chargetime of ippp0 now 22196202
Feb 1 00:11:26 grmbl ipppd[127]: Remote message: Login Succeeded
Feb 1 00:11:26 grmbl ipppd[127]: MPPP negotiation, He: Yes We: Yes
Feb 1 00:11:26 grmbl ipppd[127]: CCP enabled! Trying CCP.
Feb 1 00:11:26 grmbl ipppd[127]: CCP: got ccp-unit 0 for link 0 (protocol: 0x80fd)
Feb 1 00:11:26 grmbl ipppd[127]: ccp_resetci!
Feb 1 00:11:26 grmbl ipppd[127]: local IP address aaa.bbb.ccc.ddd
Feb 1 00:11:26 grmbl ipppd[127]: remote IP address aaa.bbb.ccc.xxx
Feb 1 00:11:26 grmbl ipppd[127]: ppp not replacing existing default route to ippp0[193.149.49.12]
Feb 1 00:12:13 grmbl ipppd[127]: Modem hangup
Feb 1 00:12:13 grmbl kernel: isdn_net: Hupflags of ippp0 are 5
Feb 1 00:12:13 grmbl ipppd[127]: Connection terminated.
Feb 1 00:12:13 grmbl kernel: isdn_net: local hangup ippp0
Feb 1 00:12:13 grmbl ipppd[127]: taking down PHASE_DEAD link 0, linkunit: 0
Feb 1 00:12:13 grmbl kernel: ippp0: Chargesum is 0
Feb 1 00:12:13 grmbl ipppd[127]: closing fd 7 from unit 0
Feb 1 00:12:13 grmbl ipppd[127]: link 0 closed , linkunit: 0
Feb 1 00:12:13 grmbl ipppd[127]: reinit_unit: 0
Feb 1 00:12:13 grmbl ipppd[127]: Connect[0]: /dev/ippp0, fd: 7
Feb 1 00:12:13 grmbl kernel: ippp, open, slot: 0, minor: 0, state: 0000
Feb 1 00:12:13 grmbl kernel: ippp_ccp: allocated reset data structure d1a9a800
Feb 1 00:12:13 grmbl kernel: ippp_ccp: freeing reset data structure ced53000
Feb 1 00:12:15 grmbl kernel: handle_mm_fault called by non-running (1) task from c01113ee!
Feb 1 00:12:17 grmbl kernel: ippp0: dialing 1 0123456789...
Feb 1 00:12:18 grmbl ipppd[127]: Local number: 7654321, Remote number: 0123456789, Type: outgoing
Feb 1 00:12:18 grmbl ipppd[127]: PHASE_WAIT -> PHASE_ESTABLISHED, ifunit: 0, linkunit: 0, fd: 7
Feb 1 00:12:18 grmbl kernel: isdn_net: ippp0 connected
Feb 1 00:12:18 grmbl kernel: isdn_net: chargetime of ippp0 now 22201504
Feb 1 00:12:19 grmbl ipppd[127]: Remote message: Login Succeeded
Feb 1 00:12:19 grmbl ipppd[127]: MPPP negotiation, He: Yes We: Yes
Feb 1 00:12:19 grmbl ipppd[127]: CCP enabled! Trying CCP.
Feb 1 00:12:19 grmbl ipppd[127]: CCP: got ccp-unit 0 for link 0 (protocol: 0x80fd)
Feb 1 00:12:19 grmbl ipppd[127]: ccp_resetci!
Feb 1 00:12:19 grmbl ipppd[127]: local IP address aaa.bbb.ccc.ddd
Feb 1 00:12:19 grmbl ipppd[127]: remote IP address aaa.bbb.ccc.xxx
Feb 1 00:12:19 grmbl ipppd[127]: ppp not replacing existing default route to ippp0[193.149.49.12]
Feb 1 00:13:06 grmbl ipppd[127]: Modem hangup
Feb 1 00:13:06 grmbl ipppd[127]: Connection terminated.
Feb 1 00:13:06 grmbl ipppd[127]: taking down PHASE_DEAD link 0, linkunit: 0
Feb 1 00:13:06 grmbl ipppd[127]: closing fd 7 from unit 0
Feb 1 00:13:06 grmbl ipppd[127]: link 0 closed , linkunit: 0
Feb 1 00:13:06 grmbl ipppd[127]: reinit_unit: 0
Feb 1 00:13:06 grmbl ipppd[127]: Connect[0]: /dev/ippp0, fd: 7
Feb 1 00:13:06 grmbl kernel: isdn_net: Hupflags of ippp0 are 5
Feb 1 00:13:06 grmbl kernel: isdn_net: local hangup ippp0
Feb 1 00:13:06 grmbl kernel: ippp0: Chargesum is 0
Feb 1 00:13:06 grmbl kernel: ippp, open, slot: 2, minor: 0, state: 0000
Feb 1 00:13:06 grmbl kernel: ippp_ccp: allocated reset data structure d1a11000
Feb 1 00:13:06 grmbl kernel: ippp_ccp: freeing reset data structure d1a9a800
Feb 1 00:21:12 grmbl kernel: handle_mm_fault called by non-running (1) task from c01113ee!
Feb 1 00:21:14 grmbl kernel: ippp0: dialing 1 0123456789...
Feb 1 00:21:15 grmbl ipppd[127]: Local number: 7654321, Remote number: 0123456789, Type: outgoing
Feb 1 00:21:15 grmbl ipppd[127]: PHASE_WAIT -> PHASE_ESTABLISHED, ifunit: 0, linkunit: 0, fd: 7
Feb 1 00:21:15 grmbl kernel: isdn_net: ippp0 connected
Feb 1 00:21:15 grmbl kernel: isdn_net: chargetime of ippp0 now 22255215
Feb 1 00:21:15 grmbl ipppd[127]: Remote message: Login Succeeded
Feb 1 00:21:15 grmbl ipppd[127]: MPPP negotiation, He: Yes We: Yes
Feb 1 00:21:15 grmbl ipppd[127]: CCP enabled! Trying CCP.
Feb 1 00:21:15 grmbl ipppd[127]: CCP: got ccp-unit 0 for link 0 (protocol: 0x80fd)
Feb 1 00:21:15 grmbl ipppd[127]: ccp_resetci!
Feb 1 00:21:16 grmbl ipppd[127]: local IP address aaa.bbb.ccc.ddd
Feb 1 00:21:16 grmbl ipppd[127]: remote IP address aaa.bbb.ccc.xxx
Feb 1 00:21:16 grmbl ipppd[127]: ppp not replacing existing default route to ippp0[193.149.49.12]
Feb 1 00:21:51 grmbl kernel: handle_mm_fault called by non-running (1) task from c01113ee!
Feb 1 00:25:30 grmbl kernel: isdn_net: Hupflags of ippp0 are 5
Feb 1 00:25:30 grmbl kernel: isdn_net: local hangup ippp0
Feb 1 00:25:30 grmbl kernel: ippp0: Chargesum is 0
Feb 1 00:25:30 grmbl ipppd[127]: Modem hangup
Feb 1 00:25:30 grmbl ipppd[127]: Connection terminated.
Feb 1 00:25:30 grmbl ipppd[127]: taking down PHASE_DEAD link 0, linkunit: 0
Feb 1 00:25:30 grmbl ipppd[127]: closing fd 7 from unit 0
Feb 1 00:25:30 grmbl ipppd[127]: link 0 closed , linkunit: 0
Feb 1 00:25:30 grmbl ipppd[127]: reinit_unit: 0
Feb 1 00:25:30 grmbl ipppd[127]: Connect[0]: /dev/ippp0, fd: 7
Feb 1 00:25:30 grmbl kernel: ippp, open, slot: 0, minor: 0, state: 0000
Feb 1 00:25:30 grmbl kernel: ippp_ccp: allocated reset data structure d27ff000
Feb 1 00:25:30 grmbl kernel: ippp_ccp: freeing reset data structure d1a11000

# ipppd -version
ipppd i2.2.10 (isdn4linux version of pppd by MH) started
$Id: lcp.c,v 1.9 1998/09/23 08:10:25 paul Exp $
$Id: ipcp.c,v 1.6 1999/06/21 13:28:45 hipp Exp $
$Id: ipxcp.c,v 1.4 1998/03/08 13:01:35 hipp Exp $
$Id: ccp.c,v 1.13 1999/09/20 09:05:10 hipp Exp $
$Id: magic.c,v 1.3 1997/05/19 10:16:11 hipp Exp $
$Id: chap.c,v 1.5 1998/05/05 08:51:19 hipp Exp $
$Id: upap.c,v 1.5 1998/04/29 14:29:50 hipp Exp $
$Id: main.c,v 1.16 1999/06/21 13:28:49 hipp Exp $
$Id: options.c,v 1.15 1999/08/09 12:54:32 paul Exp $
$Id: fsm.c,v 1.4 1998/03/08 13:01:32 hipp Exp $
$Id: cbcp.c,v 1.5 1998/03/08 13:01:30 hipp Exp $
$Id: sys-linux.c,v 1.23 1999/10/25 12:17:29 keil Exp $
$Id: chap_ms.c,v 1.3 1997/05/19 10:15:41 hipp Exp $

-- 
Martin Emmerich
me@grmbl.muc.de

"Wherever you go, there you are." (Buckaroo Banzai)

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Feb 07 2000 - 21:00:11 EST