From owner-freebsd-alpha Tue Jan 22 5:14:14 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from r220-1.rz.RWTH-Aachen.DE (r220-1.rz.RWTH-Aachen.DE [134.130.3.31]) by hub.freebsd.org (Postfix) with ESMTP id C673237B400 for ; Tue, 22 Jan 2002 05:14:10 -0800 (PST) Received: from r220-1.rz.RWTH-Aachen.DE (relay2.RWTH-Aachen.DE [134.130.3.1]) by r220-1.rz.RWTH-Aachen.DE (8.10.1/8.11.3-2) with ESMTP id g0MDE8q22343 for ; Tue, 22 Jan 2002 14:14:08 +0100 (MET) Received: from hyperion.informatik.rwth-aachen.de (hyperion.Informatik.RWTH-Aachen.DE [137.226.194.33]) by r220-1.rz.RWTH-Aachen.DE (8.10.1/8.11.3/6) with ESMTP id g0MDE7v22339 for ; Tue, 22 Jan 2002 14:14:07 +0100 (MET) Received: from margaux.informatik.rwth-aachen.de (margaux.Informatik.RWTH-Aachen.DE [137.226.194.72]) by hyperion.informatik.rwth-aachen.de (8.9.1b+Sun/8.9.1) with ESMTP id OAA05082 for ; Tue, 22 Jan 2002 14:12:42 +0100 (MET) Received: (from stolz@localhost) by margaux.informatik.rwth-aachen.de (8.9.1b+Sun/8.9.1-gb-2) id OAA11777 for freebsd-alpha@freebsd.org; Tue, 22 Jan 2002 14:14:03 +0100 (MET) Date: Tue, 22 Jan 2002 14:14:03 +0100 From: Volker Stolz To: freebsd-alpha@freebsd.org Subject: Re: alpha/33841: ifconfig causes unaligned accesses on Alpha Message-ID: <20020122141403.A11773@i2.informatik.rwth-aachen.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.17i Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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. -- Wonderful \hbox (0.80312pt too nice) in paragraph at lines 16--18 Volker Stolz * stolz@i2.informatik.rwth-aachen.de Please use PGP or S/MIME for correspondence! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message