linux-2.6.11-rc3 and isdn mppp
Well, i have to setup ISDN here at home, and wanted to use both channels. I am able to add the second channel, but then the kernel (at least i think) starts to complain.
Quoted 46 lines
17:36:22 kraftwerk Badness in
local_bh_enableatkernel/softirq.c:14017:36:22 kraftwerk [<c011b201>]local_bh_enable+0x71/0x8017:36:22 kraftwerk [<c030c1a7>]isdn_ppp_xmit+0xe7/0x7d017:36:22 kraftwerk [<c02fe664>]isdn_net_xmit+0x184/0x1d017:36:22 kraftwerk [<e0f07928>]ip_nat_cheat_check+0x28/0x40[iptable_nat] 17:36:22 kraftwerk [<c02fea24>]isdn_net_start_xmit+0x284/0x2a017:36:22 kraftwerk [<c031b69b>]dev_queue_xmit_nit+0xeb/0xf017:36:22 kraftwerk [<e0f08004>]nat_packet+0x84/0xb0[iptable_nat] 17:36:22 kraftwerk [<c0325b50>]qdisc_restart+0x60/0x15017:36:22 kraftwerk [<c031b9f5>]dev_queue_xmit+0x165/0x1f017:36:22 kraftwerk [<c0320ba7>]neigh_connected_output+0x87/0xd017:36:22 kraftwerk [<c0331999>]ip_finish_output2+0xc9/0x1b017:36:22 kraftwerk [<c03318d0>]ip_finish_output2+0x0/0x1b017:36:22 kraftwerk [<c0324d22>]nf_hook_slow+0xb2/0xf017:36:22 kraftwerk [<c03318d0>]ip_finish_output2+0x0/0x1b017:36:22 kraftwerk [<c032dfc0>]ip_forward_finish+0x0/0x4017:36:22 kraftwerk [<c032f5fa>]ip_finish_output+0x1da/0x1e017:36:22 kraftwerk [<c03318d0>]ip_finish_output2+0x0/0x1b017:36:22 kraftwerk [<c032dfc0>]ip_forward_finish+0x0/0x4017:36:22 kraftwerk [<c032dfd9>]ip_forward_finish+0x19/0x4017:36:22 kraftwerk [<c0324d22>]nf_hook_slow+0xb2/0xf017:36:22 kraftwerk [<c032dfc0>]ip_forward_finish+0x0/0x4017:36:22 kraftwerk [<c032df3a>]ip_forward+0x17a/0x20017:36:22 kraftwerk [<c032dfc0>]ip_forward_finish+0x0/0x4017:36:22 kraftwerk [<c032ce60>]ip_rcv_finish+0x0/0x22017:36:22 kraftwerk [<c032cff9>]ip_rcv_finish+0x199/0x22017:36:22 kraftwerk [<c0324a22>]nf_iterate+0x72/0xb0
17:36:22 kraftwerk [<c032ce60>]ip_rcv_finish+0x0/0x22017:36:22 kraftwerk [<c0324d22>]nf_hook_slow+0xb2/0xf017:36:22 kraftwerk [<c032dfc0>]ip_forward_finish+0x0/0x4017:36:22 kraftwerk [<c032df3a>]ip_forward+0x17a/0x20017:36:22 kraftwerk [<c032dfc0>]ip_forward_finish+0x0/0x4017:36:22 kraftwerk [<c032ce60>]ip_rcv_finish+0x0/0x22017:36:22 kraftwerk [<c032cff9>]ip_rcv_finish+0x199/0x22017:36:22 kraftwerk [<c0324a22>]nf_iterate+0x72/0xb0
17:36:22 kraftwerk [<c032ce60>]ip_rcv_finish+0x0/0x22017:36:22 kraftwerk [<c0324d22>]nf_hook_slow+0xb2/0xf017:36:22 kraftwerk [<c032ce60>]ip_rcv_finish+0x0/0x22017:36:22 kraftwerk [<c032cca2>]ip_rcv+0x362/0x400
17:36:22 kraftwerk [<c032ce60>]ip_rcv_finish+0x0/0x22017:36:22 kraftwerk [<c031be59>]netif_receive_skb+0x119/0x17017:36:22 kraftwerk [<c0316552>]alloc_skb+0x32/0xd0
17:36:22 kraftwerk [<c02d71fd>]rtl8139_rx+0x18d/0x31017:36:22 kraftwerk [<c02d7521>]rtl8139_poll+0x41/0xc017:36:22 kraftwerk [<c031c001>]net_rx_action+0x61/0xe017:36:22 kraftwerk [<c011b179>]__do_softirq+0x79/0x90
Quoted 8 lines
17:36:22 kraftwerk [<
c01045c1>]do_softirq+0x41/0x5017:36:22 kraftwerk ======================= 17:36:22 kraftwerk [<c010449f>]do_IRQ+0x5f/0xa017:36:22 kraftwerk [<c0102cfe>]common_interrupt+0x1a/0x2017:36:22 kraftwerk [<c0100593>]default_idle+0x23/0x3017:36:22 kraftwerk [<c0100618>]cpu_idle+0x48/0x6017:36:22 kraftwerk [<c046a78d>]start_kernel+0x14d/0x19017:36:22 kraftwerk [<c046a380>]unknown_bootoption+0x0/0x1b0
I'm using the vanilla-2.6.11-rc3 sources with the following config:
Quoted 17 lines
CONFIG_PPP=yCONFIG_PPP_MULTILINK=yCONFIG_PPP_FILTER=y
#CONFIG_PPP_ASYNCis not setCONFIG_PPP_SYNC_TTY=yCONFIG_PPP_DEFLATE=yCONFIG_PPP_BSDCOMP=yCONFIG_PPPOE=y
# ISDN subsystemCONFIG_ISDN=y
# Old ISDN4LinuxCONFIG_ISDN_I4L=yCONFIG_ISDN_PPP=yCONFIG_ISDN_PPP_VJ=yCONFIG_ISDN_MPP=yCONFIG_IPPP_FILTER=yCONFIG_ISDN_PPP_BSDCOMP=y
Quoted 8 lines
#
CONFIG_ISDN_AUDIOis not set
# ISDN feature submodules
#CONFIG_ISDN_DRV_LOOPis not set
#CONFIG_ISDN_DIVERSIONis not set
# ISDN4Linux hardware driversCONFIG_ISDN_DRV_HISAX=m
#CONFIG_ISDN_DRV_TPAMis not set
#CONFIG_ISDN_CAPIis not set
The connection is been established with isdn4k-utils-3.2_p1.
And again this only happens if I add a second link to the master device!
Hope anybody could help me
With kind regards
Christian Heim
Quoted 7 lines · Christian Heim
Well, i have to setup ISDN here at home, and wanted to use both channels. I am able to add the second channel, but then the kernel (at least i think) starts to complain.
Quoted 3 lines
17:36:22 kraftwerk Badness in
local_bh_enableatkernel/softirq.c:14017:36:22 kraftwerk [<c011b201>]local_bh_enable+0x71/0x8017:36:22 kraftwerk [<c030c1a7>]isdn_ppp_xmit+0xe7/0x7d0
isdn_net_get_locked_lp is doing a local_bh_enable with hard IRQs disabled. This is not allowed.
The following patch fixes the problem by removing the unnecessary local_bh_enable while the hard IRQs are disabled.
Cheers,
Signature · 4 lines
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <[email protected]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt===== drivers/isdn/i4l/isdn_net.h 1.48 vs edited =====
drivers/isdn/i4l/isdn_net.h +4 -3
@@ -78,18 +78,19 @@spin_lock_irqsave (&nd->queue_lock, flags); lp = nd->queue;/* get lp on top of queue */ -spin_lock_bh (&nd->queue->xmit_lock); +spin_lock (&nd->queue->xmit_lock);while (isdn_net_lp_busy (nd->queue)) { -spin_unlock_bh (&nd->queue->xmit_lock); +spin_unlock (&nd->queue->xmit_lock); nd->queue = nd->queue->next;if (nd->queue == lp) {/* not found -- should never happen */ lp =NULL ; goto errout; } -spin_lock_bh (&nd->queue->xmit_lock); +spin_lock (&nd->queue->xmit_lock); } lp = nd->queue; nd->queue = nd->queue->next; +local_bh_disable (); errout:spin_unlock_irqrestore (&nd->queue_lock, flags);return lp;