Date: Tue, 22 Jan 2002 08:40:18 -0700 From: "Fenrir" <fenrir@where.org> To: <freebsd-alpha@FreeBSD.ORG> Subject: Re: alpha/33841: ifconfig causes unaligned accesses on Alpha Message-ID: <01d001c1a35b$18e189b0$877ba8c0@ICSLAP38> References: <20020122141403.A11773@i2.informatik.rwth-aachen.de> <20020122145652.G71841@cicely8.cicely.de>
next in thread | previous in thread | raw e-mail | index | archive | help
I may have communicated this wrong.. My snmpd doesn't crash (dump core) but the connection dies.. It looks something like this: enterprises.ucdavis.memory.memIndex.0 = 0 enterprises.ucdavis.memory.memErrorName.0 = swap enterprises.ucdavis.memory.memTotalSwap.0 = 1572608 enterprises.ucdavis.memory.memAvailSwap.0 = 1572608 enterprises.ucdavis.memory.memTotalReal.0 = 682136 enterprises.ucdavis.memory.memAvailReal.0 = 293272 enterprises.ucdavis.memory.memTotalFree.0 = 293656 Timeout: No Response from xxx.xxx.xxx.xxx This happens when doing an snmpwalk both locally and from remote. I ran snmpd in debug but the output is huge.. Would this output help anyone? I can see if I can sort through the log file and trim it to only the point of the error if someone would like. I am normally running snmpd with the option "-p 162@xxx.xxx.xxx.xxx" I'm not much of a programmer, so I dont know how much I can help, but if anyone wants me to test something (that doesn't result in the machine crashing) I will help out as much as I can. Rob ----- Original Message ----- From: "Bernd Walter" <ticso@cicely8.cicely.de> To: "Volker Stolz" <stolz@hyperion.informatik.rwth-aachen.de> Cc: <freebsd-alpha@FreeBSD.ORG> Sent: Tuesday, January 22, 2002 6:56 AM Subject: Re: alpha/33841: ifconfig causes unaligned accesses on Alpha > On Tue, Jan 22, 2002 at 02:14:03PM +0100, Volker Stolz wrote: > > Fenrir wrote: > > >sysctl -w machdep.unaligned_print=0 > > >machdep.unaligned_print: 1 -> 0 > > > > >This has fixed the problem with the unaligned access. (But my snmpd still > > >dies at the same spot.. seems it was unrelated.. ohwell!) > > > > This just disables the messages, but doesn't fix the problem. > > I guess that snmpd is suffering indeed at the same spot because it > > walks the list of network devices as ifconfig does. On my machine, this > > fails only for ppp0, but I really cannot understand why a struct can be > > unaligned in the middle of it. All necessary padding/whatever should have > > been automagically done by the compiler. > > It's more than one struct concatenated via sysctl. > One of them is not n * 8 in length. > But the unaligned access gets fixed so it's only a big performance > problem. > If your snmpd dies you should have a core dump and at least a > stacktrace to show. > > I will setup a testbox at the end of this week and will fix the > ifconfig issue unless someone else did. > > -- > B.Walter COSMO-Project http://www.cosmo-project.de > ticso@cicely.de Usergroup info@cosmo-project.de > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-alpha" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?01d001c1a35b$18e189b0$877ba8c0>
