Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Jun 2004 10:42:03 -0400 (EDT)
From:      Robert Watson <rwatson@freebsd.org>
To:        grover@ceribus.net
Cc:        freebsd-current@freebsd.org
Subject:   Re: Stack backtrace
Message-ID:  <Pine.NEB.3.96L.1040619104022.91351A-100000@fledge.watson.org>
In-Reply-To: <63579.192.168.200.200.1087616265.squirrel@192.168.200.200>

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

On Fri, 18 Jun 2004 grover@ceribus.net wrote:

> It seems I jumped the gun on having tcp backtrace fixed. Heres what I'm
> seeing now. Also when using nfs or probably any high speed networking it
> makes the console scroll with this stuff. 

These are all the same NFS nit; I have an initial patch for a fix, but it
is actually against -CURRENT from late 2003 that was never merged, so I
need to update and test it.  I'll try to do that this weekend.  Still not
likely the cause of the corruption you're seeing, though.

Robert N M Watson             FreeBSD Core Team, TrustedBSD Projects
robert@fledge.watson.org      Senior Research Scientist, McAfee Research


> 
> This is freshly rebuilt using generic kernel configuration. Not using a
> make.conf. Fresh buildworld and installworld. Heres small part of my dmesg
> so you know what sys I have.
> 
> FreeBSD 5.2-CURRENT #0: Fri Jun 18 19:32:27 PDT 2004
>     root@hellhoundxxt:/usr/obj/usr/src/sys/TEST
> WARNING: WITNESS option enabled, expect reduced performance.
> Preloaded elf kernel "/boot/kernel/kernel" at 0xc09f7000.
> Preloaded elf module "/boot/kernel/acpi.ko" at 0xc09f726c.
> Timecounter "i8254" frequency 1193182 Hz quality 0
> CPU: AMD Duron(tm) Processor (1194.92-MHz 686-class CPU)
>   Origin = "AuthenticAMD"  Id = 0x671  Stepping = 1
>   Features=0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
>   AMD Features=0xc0480000<MP,AMIE,DSP,3DNow!>
> real memory  = 536805376 (511 MB)
> avail memory = 515616768 (491 MB)
> 
> ------------------------------------------------------------
> 
> malloc(M_WAITOK) of "Mbuf", forcing M_NOWAIT with the following
> non-sleepable locks held:
> exclusive sleep mutex inp (udpinp) r = 0 (0xc1caac84) locked @
> /usr/src/sys/netinet/udp_usrreq.c:402
> Stack backtrace:
> backtrace(1,c1cb3000,c1021b00,0,d4265b2c) at backtrace+0x12
> witness_warn(5,0,c07e3872,c07c8e95) at witness_warn+0x18e
> uma_zalloc_arg(c1021b00,d4265b44,2) at uma_zalloc_arg+0x38
> nfs_realign(d4265b84,28,c08c6ac0,0,c07da427) at nfs_realign+0x92
> nfsrv_rcv(c1ca9c58,c1c9fd80,1) at nfsrv_rcv+0x23d
> sowakeup(c1ca9c58,c1ca9ca8) at sowakeup+0x71
> udp_append(c1caabf4,c1ce500e,c1cb3000,1c,0) at udp_append+0x11f
> udp_input(c1cb3000,14,0,14,e1c8a8c0) at udp_input+0x511
> ip_input(c1cb3000) at ip_input+0x832
> netisr_processqueue(c08ba6f8,c1980c00,c19b3200,d4265d1c,c05da98c) at
> netisr_processqueue+0x6e
> swi_net(0) at swi_net+0x85
> ithread_loop(c19b3200,d4265d48,c19b3200,c05da858,0) at ithread_loop+0x134
> fork_exit(c05da858,c19b3200,d4265d48) at fork_exit+0x98
> fork_trampoline() at fork_trampoline+0x8
> --- trap 0x1, eip = 0, esp = 0xd4265d7c, ebp = 0 ---
> malloc(M_WAITOK) of "Mbuf", forcing M_NOWAIT with the following
> non-sleepable locks held:
> exclusive sleep mutex inp (udpinp) r = 0 (0xc1caac84) locked @
> /usr/src/sys/netinet/udp_usrreq.c:402
> Stack backtrace:
> backtrace(1,c1cb4e00,c1021b00,0,d4265b2c) at backtrace+0x12
> witness_warn(5,0,c07e3872,c07c8e95) at witness_warn+0x18e
> uma_zalloc_arg(c1021b00,d4265b44,2) at uma_zalloc_arg+0x38
> nfs_realign(d4265b84,28,c08c6ac0,0,c07da427) at nfs_realign+0x92
> nfsrv_rcv(c1ca9c58,c1c9fd80,1) at nfsrv_rcv+0x23d
> sowakeup(c1ca9c58,c1ca9ca8) at sowakeup+0x71
> udp_append(c1caabf4,c1cf580e,c1cb4e00,1c,0) at udp_append+0x11f
> udp_input(c1cb4e00,14,0,14,e1c8a8c0) at udp_input+0x511
> ip_input(c1cb4e00) at ip_input+0x832
> netisr_processqueue(c08ba6f8,c1980c00,c19b3200,d4265d1c,c05da98c) at
> netisr_processqueue+0x6e
> swi_net(0) at swi_net+0x85
> ithread_loop(c19b3200,d4265d48,c19b3200,c05da858,0) at ithread_loop+0x134
> fork_exit(c05da858,c19b3200,d4265d48) at fork_exit+0x98
> fork_trampoline() at fork_trampoline+0x8
> --- trap 0x1, eip = 0, esp = 0xd4265d7c, ebp = 0 ---
> malloc(M_WAITOK) of "Mbuf", forcing M_NOWAIT with the following
> non-sleepable locks held:
> exclusive sleep mutex inp (udpinp) r = 0 (0xc1caac84) locked @
> /usr/src/sys/netinet/udp_usrreq.c:402
> Stack backtrace:
> backtrace(1,c1cb3300,c1021b00,0,d4265b2c) at backtrace+0x12
> witness_warn(5,0,c07e3872,c07c8e95) at witness_warn+0x18e
> uma_zalloc_arg(c1021b00,d4265b44,2) at uma_zalloc_arg+0x38
> nfs_realign(d4265b84,28,c08c6ac0,0,c07da427) at nfs_realign+0x92
> nfsrv_rcv(c1ca9c58,c1c9fd80,1) at nfsrv_rcv+0x23d
> sowakeup(c1ca9c58,c1ca9ca8) at sowakeup+0x71
> udp_append(c1caabf4,c1ce380e,c1cb3300,1c,0) at udp_append+0x11f
> udp_input(c1cb3300,14,0,14,e1c8a8c0) at udp_input+0x511
> ip_input(c1cb3300) at ip_input+0x832
> netisr_processqueue(c08ba6f8,c1980c00,c19b3200,d4265d1c,c05da98c) at
> netisr_processqueue+0x6e
> swi_net(0) at swi_net+0x85
> ithread_loop(c19b3200,d4265d48,c19b3200,c05da858,0) at ithread_loop+0x134
> fork_exit(c05da858,c19b3200,d4265d48) at fork_exit+0x98
> fork_trampoline() at fork_trampoline+0x8
> --- trap 0x1, eip = 0, esp = 0xd4265d7c, ebp = 0 ---
> _______________________________________________
> freebsd-current@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
> 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.3.96L.1040619104022.91351A-100000>