Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Dec 2011 07:44:28 -0600
From:      Chuck Burns <break19@gmail.com>
To:        "Andrey V. Elsukov" <ae@freebsd.org>
Cc:        freebsd-net@freebsd.org, Adrian Chadd <adrian@freebsd.org>
Subject:   Re: [urtw] Wifi link dying randomly. reboot required to reconnect.
Message-ID:  <CAE2yjrrdoD2tuiVcKM4x686b3OZMVOYj6BBA8rU%2BSJ_Qt1VGRA@mail.gmail.com>
In-Reply-To: <4EDCA970.4050109@FreeBSD.org>
References:  <201110042008.48915.break19@gmail.com> <201110071816.17335.break19@gmail.com> <CAJ-Vmok3m4jZ3CKwVajDdo-8wfN0niocNdjWcQWawof6QyZ0aw@mail.gmail.com> <201110071936.50071.break19@gmail.com> <CAJ-Vmo=tng00vkd91jhodaiJtnZCktUyKEhqCMik3zcJFuS4eg@mail.gmail.com> <CAE2yjroY%2BA3g6%2BVVP6ZeEDArVyjj0KVZCMK4mgg2MXQZnwvjZg@mail.gmail.com> <1322792905.1975.3.camel@esl.kevlo.org> <4ED846C1.5040109@gmail.com> <4EDC32F5.3020205@gmail.com> <CAJ-Vmo=BF3nbAZcYQKHpoAkYjHM09LozXCLB0yxkDO5HdFo8_g@mail.gmail.com> <4EDCA970.4050109@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
freebeast dumped core - see /var/crash/vmcore.0
Sun Dec =A04 14:58:49 CST 2011
FreeBSD freebeast 10.0-CURRENT FreeBSD 10.0-CURRENT #4 r228221: Sat
Dec =A03 09:10:37 CST 2011
toor@freebeast:/usr/obj/usr/src/sys/GENERIC =A0amd64
panic:
GNU gdb 6.1.1 [FreeBSD]Copyright 2004 Free Software Foundation,
Inc.GDB is free software, covered by the GNU General Public License,
and you arewelcome to change it and/or distribute copies of it under
certain conditions.Type "show copying" to see the conditions.There is
absolutely no warranty for GDB. =A0Type "show warranty" for details.This
GDB was configured as "amd64-marcel-freebsd"...
Unread portion of the kernel message buffer:Fatal trap 9: general
protection fault while in kernel modecpuid =3D 1; apic id =3D
01instruction pointer =A0 =A0 =3D 0x20:0xffffffff8092f692stack pointer
=A0 =A0 =3D 0x28:0xffffff808fc149c0frame pointer =A0 =A0 =A0 =A0 =A0 =3D
0x28:0xffffff808fc149e0code segment =A0 =A0 =A0 =A0 =A0 =A0=3D base 0x0, li=
mit
0xfffff, type 0x1b=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =3D DPL 0=
, pres 1, long 1,
def32 0, gran 1processor eflags =A0 =A0 =A0 =A0=3D interrupt enabled, resum=
e,
IOPL =3D 0current process =A0 =A0 =A0 =A0 =3D 15 (usbus2)

Fatal trap 9: general protection fault while in kernel modecpuid =3D 1;
apic id =3D 01instruction pointer     =3D 0x20:0xffffffff8092f692
stack pointer           =3D 0x28:0xffffff808fc149c0
frame pointer           =3D 0x28:0xffffff808fc149e0
code segment            =3D base 0x0, limit 0xfffff, type 0x1b
                        =3D DPL 0, pres 1, long 1, def32 0, gran 1
processor eflags        =3D interrupt enabled, resume, IOPL =3D 0
current process         =3D 15 (usbus2)


Fatal trap 9: general protection fault while in kernel mode
cpuid =3D 1; apic id =3D 01
instruction pointer     =3D 0x20:0xffffffff8092f692
stack pointer           =3D 0x28:0xffffff808fc149c0
frame pointer           =3D 0x28:0xffffff808fc149e0
code segment            =3D base 0x0, limit 0xfffff, type 0x1b
                        =3D DPL 0, pres 1, long 1, def32 0, gran 1
processor eflags        =3D interrupt enabled, resume, IOPL =3D 0
current process         =3D 15 (usbus2)


Fatal trap 9: general protection fault while in kernel mode
cpuid =3D 1; apic id =3D 01
instruction pointer     =3D 0x20:0xffffffff8092f692
stack pointer           =3D 0x28:0xffffff808fc149c0
frame pointer           =3D 0x28:0xffffff808fc149e0
code segment            =3D base 0x0, limit 0xfffff, type 0x1b
                        =3D DPL 0, pres 1, long 1, def32 0, gran 1
processor eflags        =3D interrupt enabled, resume, IOPL =3D 0
current process         =3D 15 (usbus2)


Fatal trap 9: general protection fault while in kernel mode
cpuid =3D 1; apic id =3D 01
instruction pointer     =3D 0x20:0xffffffff8092f692
stack pointer           =3D 0x28:0xffffff808fc149c0
frame pointer           =3D 0x28:0xffffff808fc149e0
code segment            =3D base 0x0, limit 0xfffff, type 0x1b
                        =3D DPL 0, pres 1, long 1, def32 0, gran 1
processor eflags        =3D interrupt enabled, resume, IOPL =3D 0
current process         =3D 15 (usbus2)


Fatal trap 9: general protection fault while in kernel mode
cpuid =3D 1; apic id =3D 01
instruction pointer     =3D 0x20:0xffffffff8092f692
stack pointer           =3D 0x28:0xffffff808fc149c0
frame pointer           =3D 0x28:0xffffff808fc149e0
code segment            =3D base 0x0, limit 0xfffff, type 0x1b
                        =3D DPL 0, pres 1, long 1, def32 0, gran 1
processor eflags        =3D interrupt enabled, resume, IOPL =3D 0
current process         =3D 15 (usbus2)

Reading symbols from /boot/kernel/vesa.ko...Reading symbols from
/boot/kernel/vesa.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/vesa.ko
Reading symbols from /boot/kernel/zfs.ko...Reading symbols from
/boot/kernel/zfs.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/zfs.ko
Reading symbols from /boot/kernel/opensolaris.ko...Reading symbols
from /boot/kernel/opensolaris.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/opensolaris.ko
Reading symbols from /boot/kernel/amdtemp.ko...Reading symbols from
/boot/kernel/amdtemp.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/amdtemp.ko
Reading symbols from /boot/kernel/linprocfs.ko...Reading symbols from
/boot/kernel/linprocfs.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/linprocfs.ko
Reading symbols from /boot/kernel/linux.ko...Reading symbols from
/boot/kernel/linux.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/linux.ko
Reading symbols from /boot/modules/nvidia.ko...done.
Loaded symbols for /boot/modules/nvidia.ko
#0  doadump (textdump=3D0) at /usr/src/sys/kern/kern_shutdown.c:261
261             if (textdump && textdump_pending) {
(kgdb) #0  doadump (textdump=3D0) at /usr/src/sys/kern/kern_shutdown.c:261
#1  0xffffffff802f5ea0 in db_dump (dummy=3DVariable "dummy" is not availabl=
e.
)
    at /usr/src/sys/ddb/db_command.c:537
#2  0xffffffff802f5491 in db_command (last_cmdp=3D0xffffffff81105ae0,
cmd_table=3DVariable "cmd_table" is not available.

) at /usr/src/sys/ddb/db_command.c:448
#3  0xffffffff802f56e0 in db_command_loop ()
    at /usr/src/sys/ddb/db_command.c:501
#4  0xffffffff802f7849 in db_trap (type=3DVariable "type" is not available.
) at /usr/src/sys/ddb/db_main.c:229
#5  0xffffffff8086f191 in kdb_trap (type=3D9, code=3D0, tf=3D0xffffff808fc1=
4910)
    at /usr/src/sys/kern/subr_kdb.c:625
#6  0xffffffff80b233fd in trap_fatal (frame=3D0xffffff808fc14910,
eva=3DVariable "eva" is not available.
)
    at /usr/src/sys/amd64/amd64/trap.c:814
#7  0xffffffff80b238ac in trap (frame=3D0xffffff808fc14910)
    at /usr/src/sys/amd64/amd64/trap.c:617
#8  0xffffffff80b0dc0f in calltrap ()
    at /usr/src/sys/amd64/amd64/exception.S:228
#9  0xffffffff8092f692 in node_free (ni=3D0xffffff8003565000)
    at ieee80211_ratectl.h:84
#10 0xffffffff8071634b in urtw_free_data_list (sc=3DVariable "sc" is not
available.
)
    at /usr/src/sys/dev/usb/wlan/if_urtw.c:989
#11 0xffffffff8071bf75 in urtw_detach (dev=3D0xfffffe0005b22a00)
    at /usr/src/sys/dev/usb/wlan/if_urtw.c:957
#12 0xffffffff80868d54 in device_detach (dev=3D0xfffffe0005b22a00)
    at device_if.h:214
#13 0xffffffff806df6a8 in usb_detach_device (udev=3D0xfffffe0005b19000,
    iface_index=3D32 ' ', flag=3DVariable "flag" is not available.
) at /usr/src/sys/dev/usb/usb_device.c:1062
#14 0xffffffff806dffc4 in usb_unconfigure (udev=3D0xfffffe0005b19000,
flag=3DVariable "flag" is not available.
)
    at /usr/src/sys/dev/usb/usb_device.c:455
#15 0xffffffff806e02a6 in usb_free_device (udev=3D0xfffffe0005b19000,
flag=3DVariable "flag" is not available.
)
    at /usr/src/sys/dev/usb/usb_device.c:2089
#16 0xffffffff806e86fe in uhub_explore (udev=3D0xfffffe0005b17000)
    at /usr/src/sys/dev/usb/usb_hub.c:356
#17 0xffffffff806d3a30 in usb_bus_explore (pm=3DVariable "pm" is not availa=
ble.
)
    at /usr/src/sys/dev/usb/controller/usb_controller.c:259
#18 0xffffffff806ec2e3 in usb_process (arg=3DVariable "arg" is not availabl=
e.
)
    at /usr/src/sys/dev/usb/usb_process.c:174
#19 0xffffffff8080c7b5 in fork_exit (
    callout=3D0xffffffff806ec220 <usb_process>, arg=3D0xffffff8000764db0,
    frame=3D0xffffff808fc14c50) at /usr/src/sys/kern/kern_fork.c:995
#20 0xffffffff80b0e13e in fork_trampoline ()
    at /usr/src/sys/amd64/amd64/exception.S:602
#21 0x0000000000000000 in ?? ()
#22 0x0000000000000000 in ?? ()
#23 0x0000000000000001 in ?? ()
#24 0x0000000000000000 in ?? ()
#25 0x0000000000000000 in ?? ()
#26 0x0000000000000000 in ?? ()
#27 0x0000000000000000 in ?? ()
#28 0x0000000000000000 in ?? ()
#29 0x0000000000000000 in ?? ()
#30 0x0000000000000000 in ?? ()
#31 0x0000000000000000 in ?? ()
#32 0x0000000000000000 in ?? ()
#33 0x0000000000000000 in ?? ()
#34 0x0000000000000000 in ?? ()
#35 0x0000000000000000 in ?? ()
#36 0x0000000000000000 in ?? ()
#37 0x0000000000000000 in ?? ()
#38 0x0000000000000000 in ?? ()
#39 0x0000000000000000 in ?? ()
#40 0x0000000000000000 in ?? ()
#41 0x0000000000000000 in ?? ()
#42 0x0000000000000000 in ?? ()
#43 0x0000000000000000 in ?? ()
#44 0x0000000000000000 in ?? ()
#45 0xffffffff8115ba40 in tdq_cpu ()
#46 0x0000000000000000 in ?? ()
#47 0xffffffff8115ba00 in tdq_cpu ()
#48 0xfffffe00026d18c0 in ?? ()
#49 0xffffff808fc142b0 in ?? ()
#50 0xffffff808fc14258 in ?? ()
#51 0xfffffe0005805460 in ?? ()
#52 0xffffffff80861e9b in sched_switch (td=3D0xffffff8000764db0,
    newtd=3D0xffffffff806ec220, flags=3DVariable "flags" is not available.
) at /usr/src/sys/kern/sched_ule.c:1853
Previous frame inner to this frame (corrupt stack?)
(kgdb)

------------------------------------------------------------------------
ipcs -a

Message Queues:
T           ID          KEY MODE        OWNER    GROUP    CREATOR
CGROUP                 CBYTES                 QNUM
QBYTES        LSPID        LRPID STIME    RTIME    CTIME

Shared Memory:
T           ID          KEY MODE        OWNER    GROUP    CREATOR
CGROUP         NATTCH        SEGSZ         CPID         LPID ATIME
DTIME    CTIME
m       131073            0 --rw------- break19  break19  break19
break19             2       393216        30956         8510  7:32:49
7:45:24  7:32:49

Semaphores:
T           ID          KEY MODE        OWNER    GROUP    CREATOR
CGROUP          NSEMS OTIME    CTIME
s       196608   1953729362 --rw------- break19  break19  break19
break19             1 22:49:26 22:46:45


------------------------------------------------------------------------
ipcs -T

msginfo:
        msgmax:        16384    (max characters in a message)
        msgmni:           40    (# of message queues)
        msgmnb:         2048    (max characters in a message queue)
        msgtql:           40    (max # of messages in system)
        msgssz:            8    (size of a message segment)
        msgseg:         2048    (# of message segments in system)

shminfo:
        shmmax:    536870912    (max shared memory segment size)
        shmmin:            1    (min shared memory segment size)
        shmmni:          192    (max number of shared memory identifiers)
        shmseg:          128    (max shared memory segments per process)
        shmall:       131072    (max amount of shared memory in pages)

seminfo:
        semmni:           50    (# of semaphore identifiers)
        semmns:          340    (# of semaphores in system)
        semmnu:          150    (# of undo structures in system)
        semmsl:          340    (max # of semaphores per id)
        semopm:          100    (max # of operations per semop call)
        semume:           50    (max # of undo entries per process)
        semusz:          632    (size in bytes of undo structure)
        semvmx:        32767    (semaphore maximum value)
        semaem:        16384    (adjust on exit max value)

------------------------------------------------------------------------
Hope that is enough info.


2011/12/5 Andrey V. Elsukov <ae@freebsd.org>:
> On 05.12.2011 9:29, Adrian Chadd wrote:
>> Hi,
>>
>> Can you please just fire up kgdb and get a backtrace from the core?
>
> There should be core.X.txt file, usually it already has a backtrace.
>
> --
> WBR, Andrey V. Elsukov



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAE2yjrrdoD2tuiVcKM4x686b3OZMVOYj6BBA8rU%2BSJ_Qt1VGRA>