Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Jul 2012 08:55:49 GMT
From:      alexander <alexander.4mail@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/169991: [if_run] [vimage] panic after device plugged in
Message-ID:  <201207190855.q6J8tn0e079134@red.freebsd.org>
Resent-Message-ID: <201207190900.q6J90QvE011638@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         169991
>Category:       misc
>Synopsis:       [if_run] [vimage] panic after device plugged in
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jul 19 09:00:26 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     alexander
>Release:        9.0-STABLE
>Organization:
>Environment:
FreeBSD host 9.0-STABLE FreeBSD 9.0-STABLE #0 r237995M: Wed Jul 11 17:33:53 MSK 2012     root@try2getme:/usr/obj/usr/src/sys/LEN_T420i_VIMAGE_DEBUG  amd64
>Description:
Kernel compiled with VIMAGE panics after if_run compatible device plugged in.

Trace (from doadump):

#1  0xffffffff803230ac in db_fncall (dummy1=Variable "dummy1" is not available.
)
    at /usr/src/sys/ddb/db_command.c:573
#2  0xffffffff803233e1 in db_command (last_cmdp=0xffffffff80e2de00, cmd_table=Variable "cmd_table" is not available.

) at /usr/src/sys/ddb/db_command.c:449
#3  0xffffffff80323630 in db_command_loop ()
    at /usr/src/sys/ddb/db_command.c:502
#4  0xffffffff80325769 in db_trap (type=Variable "type" is not available.
) at /usr/src/sys/ddb/db_main.c:231
#5  0xffffffff807663a8 in kdb_trap (type=12, code=0, tf=0xffffff819d4aa6d0)
    at /usr/src/sys/kern/subr_kdb.c:649
#6  0xffffffff809d2b1d in trap_fatal (frame=0xffffff819d4aa6d0, eva=Variable "eva" is not available.
)
    at /usr/src/sys/amd64/amd64/trap.c:852
#7  0xffffffff809d2e4d in trap_pfault (frame=0xffffff819d4aa6d0, usermode=0)
    at /usr/src/sys/amd64/amd64/trap.c:773
#8  0xffffffff809d346e in trap (frame=0xffffff819d4aa6d0)
    at /usr/src/sys/amd64/amd64/trap.c:456
#9  0xffffffff809bd9ff in calltrap ()
    at /usr/src/sys/amd64/amd64/exception.S:228
#10 0xffffffff807e3d45 in ifindex_alloc_locked (idxp=0xffffff819d4aa7ce)
    at /usr/src/sys/net/if.c:276
#11 0xffffffff807e8ba1 in if_alloc (type=71 'G') at /usr/src/sys/net/if.c:432
#12 0xffffffff805e27af in run_attach (self=Variable "self" is not available.
)
    at /usr/src/sys/dev/usb/wlan/if_run.c:605
#13 0xffffffff8075f602 in device_attach (dev=0xfffffe0008af0600)
    at device_if.h:180
#14 0xffffffff805b9109 in usb_probe_and_attach (udev=0xfffffe0008534000,
    iface_index=Variable "iface_index" is not available.
) at /usr/src/sys/dev/usb/usb_device.c:1198
#15 0xffffffff805c160e in uhub_explore (udev=0xfffffe0004066000)
    at /usr/src/sys/dev/usb/usb_hub.c:270
#16 0xffffffff805c1634 in uhub_explore (udev=0xfffffe0006db6000)
    at /usr/src/sys/dev/usb/usb_hub.c:284
#17 0xffffffff805ac089 in usb_bus_explore (pm=Variable "pm" is not available.
)
    at /usr/src/sys/dev/usb/controller/usb_controller.c:359
#18 0xffffffff805c5663 in usb_process (arg=Variable "arg" is not available.
)
    at /usr/src/sys/dev/usb/usb_process.c:170
#19 0xffffffff806fe20f in fork_exit (
    callout=0xffffffff805c5590 <usb_process>, arg=0xffffff8001b9bdb0,
    frame=0xffffff819d4aab00) at /usr/src/sys/kern/kern_fork.c:992
#20 0xffffffff809bdf2e 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 0x0000000000000001 in ?? ()
#46 0xffffffff80e6c940 in tdq_cpu ()
#47 0xfffffe0004345470 in ?? ()
#48 0x0000000000000000 in ?? ()
#49 0xffffff819d4aa560 in ?? ()
#50 0xffffff819d4aa508 in ?? ()
#51 0xfffffe0002d32000 in ?? ()
#52 0xffffffff80758c3e in sched_switch (td=0x0, newtd=0xffffff8001b9bdb0,
    flags=Variable "flags" is not available.
) at /usr/src/sys/kern/sched_ule.c:1921
Previous frame inner to this frame (corrupt stack?)

Kernel config:

options CONFIG_AUTOGENERATED
ident   IDENT   
machine amd64   
cpu     HAMMER
makeoptions     DEBUG=-g
options USB_DEBUG
options AH_SUPPORT_AR5416
options IEEE80211_SUPPORT_MESH
options IEEE80211_AMPDU_AGE
options IEEE80211_DEBUG
options SC_KERNEL_CONS_REV_ATTR=(FG_BLACK|BG_RED)
options SC_KERNEL_CONS_ATTR=(FG_RED|BG_BLACK)
options VGA_WIDTH90
options SC_PIXEL_MODE
options VESA
options AHD_REG_PRETTY_PRINT
options AHC_REG_PRETTY_PRINT
options ATA_STATIC_ID
options ATA_CAM
options SMP
options VIMAGE
options RCTL
options RACCT
options DDB
options KDB_TRACE
options KDB
options INCLUDE_CONFIG_FILE
options MAC
options AUDIT
options HWPMC_HOOKS
options KBD_INSTALL_CDEV
options PRINTF_BUFR_SIZE=128
options _KPOSIX_PRIORITY_SCHEDULING
options SYSVSEM
options SYSVMSG
options SYSVSHM
options STACK
options KTRACE
options SCSI_DELAY=5000
options GEOM_LABEL
options GEOM_RAID
options GEOM_PART_GPT
options PSEUDOFS
options PROCFS
options CD9660
options MSDOSFS
options NFSLOCKD
options NFSD
options NFSCL
options MD_ROOT
options UFS_GJOURNAL
options UFS_DIRHASH
options UFS_ACL
options SOFTUPDATES
options FFS
options SCTP
options INET6
options INET
options PREEMPTION
options SCHED_ULE
options NEW_PCIB
options GEOM_PART_MBR
options GEOM_PART_EBR_COMPAT
options GEOM_PART_EBR
options GEOM_PART_BSD
device  isa
device  mem
device  io
device  uart_ns8250
device  cpufreq
device  acpi
device  pci
device  fdc
device  ahci
device  ata
device  mvs
device  siis
device  ahc
device  ahd
device  esp
device  hptiop
device  isp
device  mpt
device  mps
device  sym
device  trm
device  adv
device  adw
device  aic
device  bt
device  isci
device  scbus
device  ch
device  da
device  sa
device  cd
device  pass
device  ses
device  ctl
device  atkbdc
device  atkbd
device  psm
device  kbdmux
device  vga
device  splash
device  sc
device  agp
device  cbb
device  pccard
device  cardbus
device  uart
device  ppc
device  ppbus
device  lpt
device  plip
device  ppi
device  puc
device  em
device  miibus
device  wlan
device  wlan_wep
device  wlan_ccmp
device  wlan_tkip
device  wlan_amrr
device  an
device  ath
device  ath_pci
device  ath_hal
device  ath_rate_sample
device  ipw
device  iwi
device  iwn
device  malo
device  mwl
device  ral
device  wi
device  wpi
device  loop
device  random
device  ether
device  vlan
device  tun
device  pty
device  md
device  gif
device  faith
device  firmware
device  bpf
device  uhci
device  ohci
device  ehci
device  xhci
device  usb
device  uhid
device  ukbd
device  ulpt
device  umass
device  ums
device  u3g
device  uark
device  ubsa
device  uftdi
device  uipaq
device  uplcom
device  uslcom
device  uvisor
device  uvscom
device  aue
device  axe
device  cdce
device  cue
device  kue
device  rue
device  udav
device  rum
device  run
device  uath
device  upgt
device  ural
device  urtw
device  zyd
device  sound
device  snd_hda
device  snd_uaudio

>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



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