Possible bug in m_split() when splitting M_EXT mbufs

2013-01-10 Thread Jacques Fourie
Hi, Could someone please verify if m_split as in svn rev 245286 is doing the right thing in the scenario where a mbuf chain is split with len0 falling on a mbuf boundary and the mbuf in question being a M_EXT mbuf? Consider the following example where m0 is a mbuf chain consisting of 2 M_EXT mbufs

Inconsistent TCP state in tcp_do_segment()

2013-01-10 Thread Jacques Fourie
Hi, I've been using the kernel socket API and noticed that every once in a while the data received at the remote end of a TCP connection doesn't match the data sent locally using sosend(). I tracked it down to the piece of code in tcp_do_segment() starting at line 2665: (svn rev 245286)

RE: kern/174749: Unexpected change of default route

2013-01-10 Thread Vadim Urazaev
Do some body know how can we debug kernel memory corruption on live system? We need to find out which function/subsystem is cause of this mess. Or maybe is there some way to lock particular memory area, where default gateway lies and watch which subsystem will cause system crash? __

Re: SATA disk disappears

2013-01-10 Thread Warren Block
On Fri, 11 Jan 2013, Wojciech Puchar wrote: got this on dell poweredge T110 server with 4 disks, including two 3TB drives (ada2,ada3): ahcich2: Timeout on slot 8 port 0 ahcich2: is cs 1e00 ss 1f00 rs 1f00 tfd 40 serr cmd c817 ahcich2: AHCI reset: device no

SATA disk disappears

2013-01-10 Thread Wojciech Puchar
got this on dell poweredge T110 server with 4 disks, including two 3TB drives (ada2,ada3): ahcich2: Timeout on slot 8 port 0 ahcich2: is cs 1e00 ss 1f00 rs 1f00 tfd 40 serr cmd c817 ahcich2: AHCI reset: device not ready after 31000ms (tfd = 0080) (ada2:a

Re: malloc+utrace, tracking memory leaks in a running program.

2013-01-10 Thread Konstantin Belousov
On Thu, Jan 10, 2013 at 01:29:38PM -0500, Alfred Perlstein wrote: > On 1/10/13 1:05 PM, Konstantin Belousov wrote: > > On Thu, Jan 10, 2013 at 10:16:46AM -0500, Alfred Perlstein wrote: > >> On 1/10/13 2:38 AM, Konstantin Belousov wrote: > >>> On Thu, Jan 10, 2013 at 01:56:48AM -0500, Alfred Perlste

__builtin_frame_address broken with self created stack?

2013-01-10 Thread Kevin Day
I'm working on a project that uses State Threads (ports/devel/st). For the unaware, it's a kinda neat library that implements totally userland threads with setjmp/longjmp, manually creating stacks and moving the stack pointer around. It works well, except for one problem, attempting to get a b

Re: malloc+utrace, tracking memory leaks in a running program.

2013-01-10 Thread Alfred Perlstein
On 1/10/13 1:05 PM, Konstantin Belousov wrote: On Thu, Jan 10, 2013 at 10:16:46AM -0500, Alfred Perlstein wrote: On 1/10/13 2:38 AM, Konstantin Belousov wrote: On Thu, Jan 10, 2013 at 01:56:48AM -0500, Alfred Perlstein wrote: Here are more convenient links that give diffs against FreeBSD and j

Re: malloc+utrace, tracking memory leaks in a running program.

2013-01-10 Thread Konstantin Belousov
On Thu, Jan 10, 2013 at 10:16:46AM -0500, Alfred Perlstein wrote: > On 1/10/13 2:38 AM, Konstantin Belousov wrote: > > On Thu, Jan 10, 2013 at 01:56:48AM -0500, Alfred Perlstein wrote: > >> Here are more convenient links that give diffs against FreeBSD and > >> jemalloc for the proposed changes: >

Re: malloc+utrace, tracking memory leaks in a running program.

2013-01-10 Thread Alfred Perlstein
On 1/10/13 2:38 AM, Konstantin Belousov wrote: On Thu, Jan 10, 2013 at 01:56:48AM -0500, Alfred Perlstein wrote: Here are more convenient links that give diffs against FreeBSD and jemalloc for the proposed changes: FreeBSD: https://github.com/alfredperlstein/freebsd/compare/13e7228d5b83c8fcfc63

FreeBSD Hp Proliant DL580 g7 & IBM 3650 installation problem

2013-01-10 Thread Emre Çamalan
Hi, I have got a big computer which has got at least 4 core "Hp Proliant DL580 g7" server. And it has got HP p410i smart array RAID card. I tried to install FreeBSD 8.2, 8.3 9.1 from DVD and bootonly cd but after passed menu screen I got an error. Please show me the way for solution. I at