Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Mar 2009 12:40:53 +0300
From:      Vladimir Grebenschikov <vova@fbsd.ru>
To:        current@freebsd.org
Cc:        freebsd-net <net@freebsd.org>
Subject:   IGMP+WiFi panic on recent kernel - in igmp_fasttimo()
Message-ID:  <1236937253.2282.0.camel@localhost>

next in thread | raw e-mail | index | archive | help
Hi=20

Recent 8-CURRENT

Fatal trap 12: page fault while in kernel mode
fault virtual address	=3D 0x14
fault code		=3D supervisor read, page not present
instruction pointer	=3D 0x20:0xc05f7251
stack pointer	        =3D 0x28:0xc4a8db8c
frame pointer	        =3D 0x28:0xc4a8dc24
code segment		=3D base 0x0, limit 0xfffff, type 0x1b
			=3D DPL 0, pres 1, def32 1, gran 1
processor eflags	=3D interrupt enabled, resume, IOPL =3D 0
current process		=3D 11 (swi4: clock)

...


#0  doadump () at pcpu.h:246
246	pcpu.h: No such file or directory.
	in pcpu.h
(kgdb) bt
#0  doadump () at pcpu.h:246
#1  0xc0478399 in db_fncall (dummy1=3D0, dummy2=3D0, dummy3=3D-1065953936,=20
    dummy4=3D0xc4a8d930 "p=D7=AC=EF=BF=BD,\004") at /usr/src/sys/ddb/db_com=
mand.c:548
#2  0xc0478791 in db_command (last_cmdp=3D0xc075709c, cmd_table=3D0x0, dopa=
ger=3D1)
    at /usr/src/sys/ddb/db_command.c:445
#3  0xc04788ea in db_command_loop () at /usr/src/sys/ddb/db_command.c:498
#4  0xc047a72d in db_trap (type=3D12, code=3D0) at /usr/src/sys/ddb/db_main=
.c:229
#5  0xc05798a4 in kdb_trap (type=3D12, code=3D0, tf=3D0xc4a8db4c)
    at /usr/src/sys/kern/subr_kdb.c:534
#6  0xc06bb70f in trap_fatal (frame=3D0xc4a8db4c, eva=3D20)
    at /usr/src/sys/i386/i386/trap.c:917
#7  0xc06bb9b0 in trap_pfault (frame=3D0xc4a8db4c, usermode=3D0, eva=3D20)
    at /usr/src/sys/i386/i386/trap.c:839
#8  0xc06bc312 in trap (frame=3D0xc4a8db4c) at /usr/src/sys/i386/i386/trap.=
c:521
#9  0xc06a331b in calltrap () at /usr/src/sys/i386/i386/exception.s:165
#10 0xc05f7251 in igmp_fasttimo () at /usr/src/sys/netinet/igmp.c:1817
#11 0xc0598e29 in pffasttimo (arg=3D0x0) at /usr/src/sys/kern/uipc_domain.c=
:498
#12 0xc0562cbc in softclock (arg=3D0xc076ddc0)
    at /usr/src/sys/kern/kern_timeout.c:411
#13 0xc053021b in intr_event_execute_handlers (p=3D0xc4c61a90, ie=3D0xc4c9c=
200)
    at /usr/src/sys/kern/kern_intr.c:1134
#14 0xc05315ca in ithread_loop (arg=3D0xc4c472f0)
    at /usr/src/sys/kern/kern_intr.c:1147
---Type <return> to continue, or q <return> to quit---=20
#15 0xc052db70 in fork_exit (callout=3D0xc0531560 <ithread_loop>,=20
    arg=3D0xc4c472f0, frame=3D0xc4a8dd38) at /usr/src/sys/kern/kern_fork.c:=
821
#16 0xc06a3390 in fork_trampoline () at /usr/src/sys/i386/i386/exception.s:=
270
(kgdb) fr 10
#10 0xc05f7251 in igmp_fasttimo () at /usr/src/sys/netinet/igmp.c:1817
1817		if (inm->inm_timer =3D=3D 0) {
(kgdb)

This happens when I've configured IP-TV on DSL rounter, and though TV shoul=
d go to another port (ethernet)
FreeBSD kernel now crashes while try to get connected through WiFi.

If I try to connect through wired port to same broadcast domain - everythin=
g in ok.

Wireless card:
ath0: <Atheros 5212> mem 0xedf00000-0xedf0ffff irq 17 at device 0.0 on pci3
ath0: [ITHREAD]
ath0: AR5413 mac 10.3 RF5424 phy 6.1

key_mgmt=3DWPA-PSK with wpa_supplicant

crash is 100% reproducible

With older kernel (4 mar 2009)  everything working as expected.

--=20
Vladimir B. Grebenschikov
Project Manager, Automation
Parallels Inc. vova@parallels.com
--=20
Vladimir B. Grebenschikov
vova@fbsd.ru



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1236937253.2282.0.camel>