Hi,

My ppp server now runs using Fedora Core 3 kernel 2.6.10-1.741_FC3
(which has ppp-2.4.2) by installing /usr/sbin/pppd from ppp-2.4.3.
However, there are still many error messages in /var/log/messages.

The following segments repeat many (about 50) times in a 2-minute ppp
session which otherwise appears to work normally.

Feb 4 07:51:35 host_foo kernel: Debug: sleeping function called from invalid context at include/asm/semaphore.h:131
Feb 4 07:51:35 host_foo kernel: in_atomic():1, irqs_disabled():0
Feb 4 07:51:35 host_foo kernel: [] __might_sleep+0x7b/0x85
Feb 4 07:51:35 host_foo kernel: [] rp_write+0x55/0x3c1 [rocket]
Feb 4 07:51:35 host_foo kernel: [] ppp_async_push+0xe3/0x252 [ppp_async]
Feb 4 07:51:35 host_foo kernel: [] ppp_async_send+0x2b/0x35 [ppp_async]
Feb 4 07:51:35 host_foo kernel: [] ppp_channel_push+0xd5/0x193 [ppp_generic]
Feb 4 07:51:35 host_foo kernel: [] ppp_write+0xe2/0xef [ppp_generic]Feb 4 07:51:35 host_foo kernel: [] vfs_write+0xb6/0xe2
Feb 4 07:51:35 host_foo kernel: [] sys_write+0x3c/0x62
Feb 4 07:51:35 host_foo kernel: [] syscall_call+0x7/0xb


Feb 4 07:51:39 host_foo kernel: Debug: sleeping function called from invalid context at include/asm/semaphore.h:131
Feb 4 07:51:39 host_foo kernel: in_atomic():1, irqs_disabled():0
Feb 4 07:51:39 host_foo kernel: [] __might_sleep+0x7b/0x85
Feb 4 07:51:39 host_foo kernel: [] rp_write+0x55/0x3c1 [rocket]
Feb 4 07:51:39 host_foo kernel: [] ppp_async_push+0xe3/0x252 [ppp_async]
Feb 4 07:51:39 host_foo kernel: [] ppp_async_send+0x2b/0x35 [ppp_async]
Feb 4 07:51:39 host_foo kernel: [] ppp_push+0xdc/0x1bf [ppp_generic]
Feb 4 07:51:39 host_foo kernel: [] ppp_send_frame+0x430/0x45c [ppp_generic]
Feb 4 07:51:39 host_foo kernel: [] ppp_xmit_process+0xb7/0x19f [ppp_generic]
Feb 4 07:51:39 host_foo kernel: [] ppp_start_xmit+0x1bc/0x1ed [ppp_generic]
Feb 4 07:51:39 host_foo kernel: [] qdisc_restart+0x1bb/0x484
Feb 4 07:51:39 host_foo kernel: [] dev_queue_xmit+0x15b/0x409
Feb 4 07:51:39 host_foo kernel: [] ip_finish_output2+0x11d/0x15a
Feb 4 07:51:39 host_foo kernel: [] nf_hook_slow+0x83/0xb3
Feb 4 07:51:39 host_foo kernel: [] ip_finish_output+0x191/0x199
Feb 4 07:51:39 host_foo kernel: [] ip_finish_output2+0x0/0x15a
Feb 4 07:51:39 host_foo kernel: [] ip_forward_finish+0x20/0x2d
Feb 4 07:51:39 host_foo kernel: [] nf_hook_slow+0x83/0xb3
Feb 4 07:51:39 host_foo kernel: [] ip_forward+0x1b8/0x207
Feb 4 07:51:39 host_foo kernel: [] ip_forward_finish+0x0/0x2d
Feb 4 07:51:39 host_foo kernel: [] ip_rcv_finish+0x197/0x1d4
Feb 4 07:51:39 host_foo kernel: [] nf_hook_slow+0x83/0xb3
Feb 4 07:51:39 host_foo kernel: [] ip_rcv+0x365/0x399
Feb 4 07:51:39 host_foo kernel: [] ip_rcv_finish+0x0/0x1d4
Feb 4 07:51:39 host_foo kernel: [] netif_receive_skb+0x1c8/0x1f5
Feb 4 07:51:39 host_foo kernel: [] process_backlog+0x6c/0xd9
Feb 4 07:51:39 host_foo kernel: [] net_rx_action+0x59/0xc1
Feb 4 07:51:39 host_foo kernel: [] __do_softirq+0x35/0x79
Feb 4 07:51:39 host_foo kernel: [] do_softirq+0x38/0x3f
Feb 4 07:51:39 host_foo kernel: =======================
Feb 4 07:51:39 host_foo kernel: [] do_IRQ+0x70/0x7a
Feb 4 07:51:39 host_foo kernel: [] common_interrupt+0x1a/0x20
Feb 4 07:51:39 host_foo kernel: [] default_idle+0x23/0x29
Feb 4 07:51:39 host_foo kernel: [] cpu_idle+0x1f/0x34
Feb 4 07:51:39 host_foo kernel: [] start_kernel+0x16b/0x16d

I'm using a RocketPort serial card, thus the rp_write[rocket] call.

In addition the session ends poorly:

Feb 4 07:53:55 host_foo pppd[16113]: tcflush failed: Bad file descriptor
Feb 4 07:53:56 host_foo pppd[16113]: tcsetattr: Invalid argument (line 1001)
Feb 4 07:53:56 host_foo pppd[16113]: Exit.

A complete set of logs is at:


Regards,
John
dunlap at apl dot washington dot edu