Subject: kern/24807: kernel panic with bogus isdnd.rc upon incoming call
To: None <>
From: None <>
List: netbsd-bugs
Date: 03/16/2004 17:29:46
>Number:         24807
>Category:       kern
>Synopsis:       kernel panic with bogus isdnd.rc upon incoming call
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Mar 16 16:30:00 UTC 2004
>Release:        NetBSD 1.6ZK
System: NetBSD 1.6ZK NetBSD 1.6ZK (SDN1) #0: Sun Mar 14 14:27:44 UTC 2004 i386
Architecture: i386
Machine: i386
Kernel is mainly based on GENERIC_ISDN. The ISDN card is Fritz!PCI V2 card. 
But this probably doesn't matter.
	If isdnd gets a bogus isdnd.rc with all "usrdevicename" fields 
	commented out, the kernel will panic upon an incoming telephone call.

#0  0x00000001 in ?? ()
#1  0xc02ce90b in cpu_reboot (howto=5021696, bootstr=0x0)
    at ../../../../arch/i386/i386/machdep.c:731
#2  0xc024803c in panic (
    fmt=0x1000 "U\211VWS\036\006\017\017\213E\bf\037")
    at ../../../../kern/subr_prf.c:242
#3  0xc02d64c1 in trap (frame=0xc04c9ca8)
    at ../../../../arch/i386/i386/trap.c:296
#4  0xc0102c63 in calltrap ()
#5  0xc02c0c00 in next_l3state (cd=0xc045a880, event=17)
    at ../../../../netisdn/i4b_l3fsm.c:260
#6  0xc02c29d7 in i4b_dl_data_ind (drv=0xc03c496d, m=0xc0b68a00)
    at ../../../../netisdn/i4b_l2if.c:265
#7  0xc02bea1b in i4b_rxd_i_frame (l2sc=0xc09e7838, drv=0xc09de9c0, 
    m=0xc0b68a00) at ../../../../netisdn/i4b_iframe.c:135
#8  0xc02bbaa9 in isdn_layer2_data_ind (l2sc=0x0, drv=0x0, m=0xc0b68a00)
    at ../../../../netisdn/i4b_l2.c:325
#9  0xc0176602 in isic_isacsx_irq (sc=0xc09e7800, ista=1)
    at ../../../../dev/ic/isacsx.c:211
#10 0xc030c540 in avma1pp2_intr (parm=0xc09e7800)
    at ../../../../dev/pci/ifpci2.c:921
#11 0xc0101d1c in Xintr_legacy9 ()
#11 0xc0101d1c in Xintr_legacy9 ()

	Comment out all "usrdevicename" files in isdnd.rc and make a
	telephone call on a number that is to be served by isdnd.
	Uncomment all usrdevicename fields.
 	Kernel built from sources of March 6th, userland is binary of March 4th.