Re: Hangs with Adaptec 29320

2007-06-24 Thread Andrea Venturoli

Hello.
Any one can make anything out of this crash dump?
It's an SMP amd64 6.2 box with a RAID-5 SCSI controller and a couple GiB 
of RAM. We are also using GELI.


 bye  Thanks
av.


--

# kgdb kernel.debug /var/crash/vmcore.1
[GDB will not be able to debug user-mode threads: /usr/lib/libthread_db.so: Undefined 
symbol ps_pglobal_lookup]
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 are
welcome 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.  Type show warranty for details.
This GDB was configured as amd64-marcel-freebsd.

Unread portion of the kernel message buffer:
0s1e

0xff004ecf5510: tag ufs, type VREG
usecount 1, writecount 0, refcount 9 mountedhere 0
flags ()
v_object 0xff002a70d000 ref 0 pages 515
 lock type ufs: EXCL (count 1) by thread 0xff007a85d720 (pid 31) with 1 
pending#0 0x802252b6 at lockmgr+0x5f6
#1 0x80302068 at ffs_lock+0x58
#2 0x80384fc1 at VOP_LOCK_APV+0x81
#3 0x802a78bb at vn_lock+0x6b
#4 0x8029ba00 at vget+0x90
#5 0x80329cb9 at vm_pageout+0x1309
#6 0x8021a30b at fork_exit+0xbb
#7 0x803358ee at fork_trampoline+0xe

ino 118134, on dev amrd0s1e

0xff000ba75510: tag ufs, type VREG
usecount 1, writecount 1, refcount 3 mountedhere 0
flags ()
v_object 0xff0043d80380 ref 0 pages 9
 lock type ufs: EXCL (count 1) by thread 0xff0079b9b980 (pid 447)#0 
0x802252b6 at lockmgr+0x5f6
#1 0x80302068 at ffs_lock+0x58
#2 0x80384fc1 at VOP_LOCK_APV+0x81
#3 0x802a78bb at vn_lock+0x6b
#4 0x802a3cfb at fsync+0xab
#5 0x8034a731 at syscall+0x4d1
#6 0x80335728 at Xfast_syscall+0xa8

ino 188422, on dev amrd0s1e

0xff0008358510: tag ufs, type VREG
usecount 1, writecount 1, refcount 3 mountedhere 0
flags ()
v_object 0xff0064290e00 ref 0 pages 3
 lock type ufs: EXCL (count 1) by thread 0xff001de6cbe0 (pid 3365)#0 
0x802252b6 at lockmgr+0x5f6
#1 0x80302068 at ffs_lock+0x58
#2 0x80384fc1 at VOP_LOCK_APV+0x81
#3 0x802a78bb at vn_lock+0x6b
#4 0x802a3cfb at fsync+0xab
#5 0x8034a731 at syscall+0x4d1
#6 0x80335728 at Xfast_syscall+0xa8

ino 117876, on dev amrd0s1e

0xff0011565a20: tag ufs, type VREG
usecount 1, writecount 1, refcount 3 mountedhere 0
flags ()
v_object 0xff002c970e00 ref 0 pages 3
 lock type ufs: EXCL (count 1) by thread 0xff00496e3000 (pid 3367)#0 
0x802252b6 at lockmgr+0x5f6
#1 0x80302068 at ffs_lock+0x58
#2 0x80384fc1 at VOP_LOCK_APV+0x81
#3 0x802a78bb at vn_lock+0x6b
#4 0x802a3cfb at fsync+0xab
#5 0x8034a731 at syscall+0x4d1
#6 0x80335728 at Xfast_syscall+0xa8

ino 118135, on dev amrd0s1e

0xff0036d66a20: tag ufs, type VREG
usecount 1, writecount 1, refcount 3 mountedhere 0
flags ()
v_object 0xff001d4a21c0 ref 0 pages 3
 lock type ufs: EXCL (count 1) by thread 0xff0046644980 (pid 3368)#0 
0x802252b6 at lockmgr+0x5f6
#1 0x80302068 at ffs_lock+0x58
#2 0x80384fc1 at VOP_LOCK_APV+0x81
#3 0x802a78bb at vn_lock+0x6b
#4 0x802a3cfb at fsync+0xab
#5 0x8034a731 at syscall+0x4d1
#6 0x80335728 at Xfast_syscall+0xa8

ino 118141, on dev amrd0s1e

0xff000419c288: tag ufs, type VREG
usecount 1, writecount 1, refcount 3 mountedhere 0
flags ()
v_object 0xff0049701000 ref 0 pages 3
 lock type ufs: EXCL (count 1) by thread 0xff003264c000 (pid 3369)#0 
0x802252b6 at lockmgr+0x5f6
#1 0x80302068 at ffs_lock+0x58
#2 0x80384fc1 at VOP_LOCK_APV+0x81
#3 0x802a78bb at vn_lock+0x6b
#4 0x802a3cfb at fsync+0xab
#5 0x8034a731 at syscall+0x4d1
#6 0x80335728 at Xfast_syscall+0xa8

ino 118305, on dev amrd0s1e

0xff0077dc1000: tag ufs, type VREG
usecount 1, writecount 1, refcount 2 mountedhere 0
flags ()
v_object 0xff004478f8c0 ref 0 pages 1
 lock type ufs: EXCL (count 1) by thread 0xff0079b9d980 (pid 593)#0 
0x802252b6 at lockmgr+0x5f6
#1 0x80302068 at ffs_lock+0x58
#2 0x80384fc1 at VOP_LOCK_APV+0x81
#3 0x802a78bb at vn_lock+0x6b
#4 0x802a8ab6 at vn_write+0x156
#5 0x8025f667 at dofilewrite+0x87
#6 0x8025f931 at kern_writev+0x51
#7 0x8025fa2a at write+0x4a
#8 0x8034a731 at syscall+0x4d1
#9 0x80335728 at Xfast_syscall+0xa8

ino 212070, on dev amrd0s1e

0xff00082c5798: tag ufs, type VREG
usecount 1, writecount 0, refcount 11258 mountedhere 0
flags ()
 lock type ufs: EXCL (count 1) by 

Re: Hangs with Adaptec 29320

2007-06-24 Thread Andrea Venturoli

Andrea Venturoli ha scritto:

Sorry, the title is bogus, I shouldn't have replied here.
Just ignore this, I'm posting it again.

 bye  sorry
av.



Hello.
Any one can make anything out of this crash dump?
It's an SMP amd64 6.2 box with a RAID-5 SCSI controller and a couple GiB 
of RAM. We are also using GELI.


 bye  Thanks
av.


--

# kgdb kernel.debug /var/crash/vmcore.1
[GDB will not be able to debug user-mode threads: 
/usr/lib/libthread_db.so: Undefined symbol ps_pglobal_lookup]

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 are
welcome 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.  Type show warranty for 
details.

This GDB was configured as amd64-marcel-freebsd.

Unread portion of the kernel message buffer:
0s1e

0xff004ecf5510: tag ufs, type VREG
usecount 1, writecount 0, refcount 9 mountedhere 0
flags ()
v_object 0xff002a70d000 ref 0 pages 515
 lock type ufs: EXCL (count 1) by thread 0xff007a85d720 (pid 
31) with 1 pending#0 0x802252b6 at lockmgr+0x5f6

#1 0x80302068 at ffs_lock+0x58
#2 0x80384fc1 at VOP_LOCK_APV+0x81
#3 0x802a78bb at vn_lock+0x6b
#4 0x8029ba00 at vget+0x90
#5 0x80329cb9 at vm_pageout+0x1309
#6 0x8021a30b at fork_exit+0xbb
#7 0x803358ee at fork_trampoline+0xe

ino 118134, on dev amrd0s1e

0xff000ba75510: tag ufs, type VREG
usecount 1, writecount 1, refcount 3 mountedhere 0
flags ()
v_object 0xff0043d80380 ref 0 pages 9
 lock type ufs: EXCL (count 1) by thread 0xff0079b9b980 (pid 
447)#0 0x802252b6 at lockmgr+0x5f6

#1 0x80302068 at ffs_lock+0x58
#2 0x80384fc1 at VOP_LOCK_APV+0x81
#3 0x802a78bb at vn_lock+0x6b
#4 0x802a3cfb at fsync+0xab
#5 0x8034a731 at syscall+0x4d1
#6 0x80335728 at Xfast_syscall+0xa8

ino 188422, on dev amrd0s1e

0xff0008358510: tag ufs, type VREG
usecount 1, writecount 1, refcount 3 mountedhere 0
flags ()
v_object 0xff0064290e00 ref 0 pages 3
 lock type ufs: EXCL (count 1) by thread 0xff001de6cbe0 (pid 
3365)#0 0x802252b6 at lockmgr+0x5f6

#1 0x80302068 at ffs_lock+0x58
#2 0x80384fc1 at VOP_LOCK_APV+0x81
#3 0x802a78bb at vn_lock+0x6b
#4 0x802a3cfb at fsync+0xab
#5 0x8034a731 at syscall+0x4d1
#6 0x80335728 at Xfast_syscall+0xa8

ino 117876, on dev amrd0s1e

0xff0011565a20: tag ufs, type VREG
usecount 1, writecount 1, refcount 3 mountedhere 0
flags ()
v_object 0xff002c970e00 ref 0 pages 3
 lock type ufs: EXCL (count 1) by thread 0xff00496e3000 (pid 
3367)#0 0x802252b6 at lockmgr+0x5f6

#1 0x80302068 at ffs_lock+0x58
#2 0x80384fc1 at VOP_LOCK_APV+0x81
#3 0x802a78bb at vn_lock+0x6b
#4 0x802a3cfb at fsync+0xab
#5 0x8034a731 at syscall+0x4d1
#6 0x80335728 at Xfast_syscall+0xa8

ino 118135, on dev amrd0s1e

0xff0036d66a20: tag ufs, type VREG
usecount 1, writecount 1, refcount 3 mountedhere 0
flags ()
v_object 0xff001d4a21c0 ref 0 pages 3
 lock type ufs: EXCL (count 1) by thread 0xff0046644980 (pid 
3368)#0 0x802252b6 at lockmgr+0x5f6

#1 0x80302068 at ffs_lock+0x58
#2 0x80384fc1 at VOP_LOCK_APV+0x81
#3 0x802a78bb at vn_lock+0x6b
#4 0x802a3cfb at fsync+0xab
#5 0x8034a731 at syscall+0x4d1
#6 0x80335728 at Xfast_syscall+0xa8

ino 118141, on dev amrd0s1e

0xff000419c288: tag ufs, type VREG
usecount 1, writecount 1, refcount 3 mountedhere 0
flags ()
v_object 0xff0049701000 ref 0 pages 3
 lock type ufs: EXCL (count 1) by thread 0xff003264c000 (pid 
3369)#0 0x802252b6 at lockmgr+0x5f6

#1 0x80302068 at ffs_lock+0x58
#2 0x80384fc1 at VOP_LOCK_APV+0x81
#3 0x802a78bb at vn_lock+0x6b
#4 0x802a3cfb at fsync+0xab
#5 0x8034a731 at syscall+0x4d1
#6 0x80335728 at Xfast_syscall+0xa8

ino 118305, on dev amrd0s1e

0xff0077dc1000: tag ufs, type VREG
usecount 1, writecount 1, refcount 2 mountedhere 0
flags ()
v_object 0xff004478f8c0 ref 0 pages 1
 lock type ufs: EXCL (count 1) by thread 0xff0079b9d980 (pid 
593)#0 0x802252b6 at lockmgr+0x5f6

#1 0x80302068 at ffs_lock+0x58
#2 0x80384fc1 at VOP_LOCK_APV+0x81
#3 0x802a78bb at vn_lock+0x6b
#4 0x802a8ab6 at vn_write+0x156
#5 0x8025f667 at dofilewrite+0x87
#6 0x8025f931 at kern_writev+0x51
#7 0x8025fa2a at write+0x4a
#8 0x8034a731 at syscall+0x4d1
#9 0x80335728 at Xfast_syscall+0xa8

ino 212070, on