Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Dec 2005 10:13:44 +0100 (CET)
From:      Goran Gajic <ggajic@afrodita.rcub.bg.ac.yu>
To:        John Baldwin <jhb@freebsd.org>
Cc:        freebsd-current@freebsd.org
Subject:   Re: skype-1.2.0.18-static for linux and FreeBSD 7.0 CURRENT
Message-ID:  <Pine.LNX.4.63.0512161010280.11682@afrodita.rcub.bg.ac.yu>
In-Reply-To: <200512151356.41550.jhb@freebsd.org>
References:  <Pine.LNX.4.63.0512151648170.12379@afrodita.rcub.bg.ac.yu> <200512151356.41550.jhb@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 15 Dec 2005, John Baldwin wrote:

>
> If you are in X this is probably a panic (currently the kernel doesn't create
> a coredump while you are in X which is a bug).  Can you hook up a serial
> console and use that to get the panic message?
>
>


Yes, here is capture from minicom:

drm0: <ATI Radeon RV280 9200 SE> port 0xc000-0xc0ff mem 0xe8000000-0xefffffff,0xff8f0000-0xff8fffff irq 16 at device 0.0 on pci1
info: [drm] AGP at 0xf8000000 64MB
info: [drm] Initialized radeon 1.19.0 20050911
info: [drm] Loading R200 Microcode
lock order reversal:
  1st 0xc366e21c vnode interlock (vnode interlock) @ kern/vfs_vnops.c:791
  2nd 0xc3b8fb44 process lock (process lock) @ i386/i386/trap.c:742
KDB: stack backtrace:
kdb_backtrace(0,ffffffff,c0975450,c0975900,c0927544) at kdb_backtrace+0x29
witness_checkorder(c3b8fb44,9,c08be5a5,2e6) at witness_checkorder+0x580
_mtx_lock_flags(c3b8fb44,0,c08be59c,2e6,c3b91780) at _mtx_lock_flags+0x5b
trap_pfault(dbc9da28,0,3) at trap_pfault+0xb2
trap(dbc90008,c0680028,c09b0028,c3b91780,dbc9da84) at trap+0x3cd
calltrap() at calltrap+0x5
--- trap 0xc, eip = 0xc081799c, esp = 0xdbc9da68, ebp = 0xdbc9da70 ---
stack_save(dbc9da84) at stack_save+0x1c
lockmgr(c366e1ac,3002,c366e21c,c3b91780,dbc9db0c) at lockmgr+0x51
vop_stdlock(dbc9db50,c093b180,dbc9db50,dbc9db1c,c07a9204) at vop_stdlock+0x21
VOP_LOCK_APV(c093b6c0,dbc9db50,dbc9db30,c083c513,dbc9db50) at VOP_LOCK_APV+0x87
ffs_lock(dbc9db50,1002,c366e154,dbc9db6c,c06cdd5c) at ffs_lock+0x10
VOP_LOCK_APV(c093b180,dbc9db50) at VOP_LOCK_APV+0x87
vn_lock(c366e154,1002,c3b91780,0,0) at vn_lock+0xac
vn_read(c3aba6c0,dbc9dc60,c3c7dd80,0,c3b91780) at vn_read+0xd7
dofileread(c3b91780,a,c3aba6c0,dbc9dc60,ffffffff) at dofileread+0x85
kern_readv(c3b91780,a,dbc9dc60,befff8ac,8) at kern_readv+0x36
read(c3b91780,dbc9dd04,c,c3b91780,dbc9dd30) at read+0x45
syscall(8f3003b,8f3003b,bfbf003b,befff92c,906256c) at syscall+0x27e
Xint0x80_syscall() at Xint0x80_syscall+0x1f
--- syscall (3, Linux ELF, read), eip = 0x28feec3b, esp = 0xbefff860, ebp = 0xffffffff ---


Fatal trap 12: page fault while in kernel mode
fault virtual address	= 0x3
fault code		= supervisor read, page not present
instruction pointer	= 0x20:0xc0816f04
stack pointer	        = 0x28:0xdbc9d804
frame pointer	        = 0x28:0xdbc9d83c
code segment		= base 0x0, limit 0xfffff, type 0x1b
 			= DPL 0, pres 1, def32 1, gran 1
processor eflags	= interrupt enabled, resume, IOPL = 0
current process		= 570 (skype)
[thread pid 570 tid 100082 ]
Stopped at      db_read_bytes+0x30:     movb    0(%edx),%al
db> ps
   pid   proc     uid  ppid  pgrp  flag   stat  wmesg    wchan  cmd
   570 c3b8fadc 1001   545   544 0000002 [CPU 0] skype
   569 c3b93458 1001   545   544 0000002 [SLPQ nanslp 0xc0967d84][SLP] skype
   568 c3b93684 1001   545   544 0000002 [SLPQ pause 0xc3b936b8][SLP] skype
   545 c3b938b0 1001   544   544 0000002 [SLPQ select 0xc09b1ad0][SLP] skype
   544 c3b93000 1001   540   544 0004003 [SLPQ nanslp 0xc0967d84][SLP] skype
   540 c3b8f684 1001   539   540 0004002 [SLPQ pause 0xc3b8f6b8][SLP] tcsh
   539 c3b8f8b0 1001     1   539 0004100 [SLPQ select 0xc09b1ad0][SLP] xterm-static
   537 c3b8f22c 1001   536   537 0004002 [SLPQ select 0xc09b1ad0][SLP] mwm
   536 c3b8f458 1001   532   536 0004002 [SLPQ pause 0xc3b8f48c][SLP] tcsh
   532 c3b8fd08 1001   523   532 0004100 [SLPQ select 0xc09b1ad0][SLP] xterm-static
   523 c33de8b0    0   520   520 0000000 [SLPQ wait 0xc33de8b0][SLP] kdm
   522 c3abfd08    0   520   522 0004000 [SLPQ select 0xc09b1ad0][SLP] Xorg
   520 c3abb000    0     1   520 0000001 [SLPQ select 0xc09b1ad0][SLP] kdm
   518 c353a684    0   492    49 0004000 [LOCK lockbuilder mtxpool c3405a00] fsck_ufs
   507 c3abb22c    0   495   507 0004002 [SLPQ ttyin 0xc3408410][SLP] csh
   504 c3abb458    0   494   504 0004002 [SLPQ ttyin 0xc3408c10][SLP] csh
   503 c3abb684    0     1     1 0004000 [SLPQ ttydcd 0xc3407000][SLP] getty
   502 c3abb8b0    0     1   502 0004002 [SLPQ ttyin 0xc3406410][SLP] getty
   501 c3abbadc    0     1   501 0004002 [SLPQ ttyin 0xc341d810][SLP] getty
   500 c3abbd08    0     1   500 0004002 [SLPQ ttyin 0xc341c810][SLP] getty
   499 c3abf000    0     1   499 0004002 [SLPQ ttyin 0xc341c010][SLP] getty
   498 c3abf22c    0     1   498 0004002 [SLPQ ttyin 0xc33fbc10][SLP] getty
   497 c3abf458    0     1   497 0004002 [SLPQ ttyin 0xc341d010][SLP] getty
   496 c3abf684    0     1   496 0004002 [SLPQ ttyin 0xc3407810][SLP] getty
   495 c3abf8b0    0     1   495 0004102 [SLPQ wait 0xc3abf8b0][SLP] login
   494 c3abfadc    0     1   494 0004102 [SLPQ wait 0xc3abfadc][SLP] login
   492 c358b458    0   489    49 0004002 [SLPQ wait 0xc358b458][SLP] fsck
   490 c353a8b0    0     1    49 0004002 [SLPQ piperd 0xc356e7d0][SLP] logger
   489 c358b8b0    0     1    49 0000002 [SLPQ wait 0xc358b8b0][SLP] sh
   460 c353a22c    0     1   460 0000000 [SLPQ select 0xc09b1ad0][SLP] moused
   431 c358b000    0     1   431 0000000 [SLPQ nanslp 0xc0967d84][SLP] cron
   419 c353ad08   25     1   419 0000100 [SLPQ pause 0xc353ad3c][SLP] sendmail
   415 c358bd08    0     1   415 0000100 [SLPQ select 0xc09b1ad0][SLP] sendmail
   409 c353aadc    0     1   409 0000100 [SLPQ select 0xc09b1ad0][SLP] sshd
   365 c33de684    0     0     0 0000204 [IWAIT] irq17: pcm0
   352 c358b22c    0     1   352 0000000 [SLPQ select 0xc09b1ad0][SLP] usbd
   275 c358badc    0     1   275 0000000 [LOCK buf queue lock c3405e80] syslogd
   245 c358b684    0     1   245 0000000 [SLPQ select 0xc09b1ad0][SLP] devd
   136 c353a458    0     1   136 0000000 [SLPQ pause 0xc353a48c][SLP] adjkerntz
    48 c33deadc    0     0     0 0000204 [SLPQ - 0xd96ffd04][SLP] schedcpu
    47 c33ded08    0     0     0 0000204 [SLPQ - 0xc09b992c][SLP] nfsiod 3
    46 c3539000    0     0     0 0000204 [SLPQ - 0xc09b9928][SLP] nfsiod 2
    45 c353922c    0     0     0 0000204 [SLPQ - 0xc09b9924][SLP] nfsiod 1
    44 c3539458    0     0     0 0000204 [SLPQ - 0xc09b9920][SLP] nfsiod 0
    43 c3539684    0     0     0 0000204 [SLPQ vlruwt 0xc3539684][SLP] vnlru
    42 c35398b0    0     0     0 0000204 [SLPQ syncer 0xc0967aac][SLP] syncer
    41 c3539adc    0     0     0 0000204 [SLPQ psleep 0xc09b1f4c][SLP] bufdaemon
    40 c3539d08    0     0     0 000020c [SLPQ pgzero 0xc09bfc60][SLP] pagezero
    39 c353a000    0     0     0 0000204 [SLPQ psleep 0xc09bf7c8][SLP] vmdaemon
    38 c3389d08    0     0     0 0000204 [SLPQ psleep 0xc09bf788][SLP] pagedaemon
    37 c33dd000    0     0     0 0000204 [IWAIT] swi0: sio
    36 c33dd22c    0     0     0 0000204 [IWAIT] irq12: psm0
    35 c33dd458    0     0     0 0000204 [IWAIT] irq1: atkbd0
    34 c33dd684    0     0     0 0000204 [IWAIT] irq7: ppc0
    33 c33dd8b0    0     0     0 0000204 [SLPQ - 0xc33f283c][SLP] fdc0
    32 c33ddadc    0     0     0 0000204 [IWAIT] irq15: ata1
    31 c33ddd08    0     0     0 0000204 [IWAIT] irq14: ata0
    30 c33de000    0     0     0 0000204 [IWAIT] irq22: rl0
    29 c33de22c    0     0     0 0000204 [SLPQ usbevt 0xc3375a10][SLP] usb4
    28 c33de458    0     0     0 0000204 [IWAIT] irq23: ehci0
    27 c3302684    0     0     0 0000204 [SLPQ usbevt 0xc33c3210][SLP] usb3
    26 c33028b0    0     0     0 0000204 [SLPQ usbevt 0xc33b7210][SLP] usb2
    25 c3302adc    0     0     0 0000204 [IWAIT] irq18: uhci2
    24 c3302d08    0     0     0 0000204 [SLPQ usbevt 0xc33bd210][SLP] usb1
    23 c3389000    0     0     0 0000204 [IWAIT] irq19: uhci1
    22 c338922c    0     0     0 0000204 [SLPQ usbtsk 0xc0965004][SLP] usbtask
    21 c3389458    0     0     0 0000204 [SLPQ usbevt 0xc3382210][SLP] usb0
    20 c3389684    0     0     0 0000204 [IWAIT] irq16: uhci0 uhci+
    19 c33898b0    0     0     0 0000204 [IWAIT] irq9: acpi0
    18 c3389adc    0     0     0 0000204 [IWAIT] swi6: task queue
     9 c329c22c    0     0     0 0000204 [SLPQ - 0xc33584c0][SLP] acpi_task2
     8 c329c458    0     0     0 0000204 [SLPQ - 0xc33584c0][SLP] acpi_task1
     7 c329c684    0     0     0 0000204 [SLPQ - 0xc33584c0][SLP] acpi_task0
     6 c329c8b0    0     0     0 0000204 [SLPQ - 0xc3358500][SLP] kqueue taskq
    17 c329cadc    0     0     0 0000204 [IWAIT] swi2: cambio
    16 c329cd08    0     0     0 0000204 [IWAIT] swi5: Fast taskq
     5 c3302000    0     0     0 0000204 [SLPQ - 0xc3358700][SLP] thread taskq
    15 c330222c    0     0     0 0000204 [IWAIT] swi6: Giant taskq
    14 c3302458    0     0     0 0000204 [SLPQ - 0xc0962c20][SLP] yarrow
     4 c3297000    0     0     0 0000204 [SLPQ - 0xc09657a0][SLP] g_down
     3 c329722c    0     0     0 0000204 [SLPQ - 0xc096579c][SLP] g_up
     2 c3297458    0     0     0 0000204 [SLPQ - 0xc0965794][SLP] g_event
    13 c3297684    0     0     0 0000204 [IWAIT] swi1: net
    12 c32978b0    0     0     0 0000204 [IWAIT] swi3: vm
    11 c3297adc    0     0     0 000020c [IWAIT] swi4: clock sio
    10 c3297d08    0     0     0 000020c [Can run] idle
     1 c329c000    0     0     1 0004200 [SLPQ wait 0xc329c000][SLP] init
     0 c09658a0    0     0     0 0000200 [IWAIT] swapper
db> sh locks
exclusive sleep mutex vnode interlock r = 0 (0xc366e21c) locked @ kern/vfs_vnops.c:791
db>


Regards,
gg.



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