From owner-freebsd-sparc64@FreeBSD.ORG Fri Dec 21 15:30:04 2007 Return-Path: Delivered-To: freebsd-sparc64@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C05C216A419 for ; Fri, 21 Dec 2007 15:30:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 8DAB313C457 for ; Fri, 21 Dec 2007 15:30:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id lBLFU2Xp060770 for ; Fri, 21 Dec 2007 15:30:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id lBLFU2ME060769; Fri, 21 Dec 2007 15:30:02 GMT (envelope-from gnats) Resent-Date: Fri, 21 Dec 2007 15:30:02 GMT Resent-Message-Id: <200712211530.lBLFU2ME060769@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-sparc64@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Alex Bakhtin Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 42C9016A418 for ; Fri, 21 Dec 2007 15:21:37 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 2194A13C4DD for ; Fri, 21 Dec 2007 15:21:37 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.2/8.14.2) with ESMTP id lBLFLBX2038053 for ; Fri, 21 Dec 2007 15:21:11 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.2/8.14.1/Submit) id lBLFLBkq038052; Fri, 21 Dec 2007 15:21:11 GMT (envelope-from nobody) Message-Id: <200712211521.lBLFLBkq038052@www.freebsd.org> Date: Fri, 21 Dec 2007 15:21:11 GMT From: Alex Bakhtin To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: sparc64/118932: 7.0-BETA4/sparc-64 kernel panic in rip_output X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Dec 2007 15:30:04 -0000 >Number: 118932 >Category: sparc64 >Synopsis: 7.0-BETA4/sparc-64 kernel panic in rip_output >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-sparc64 >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Dec 21 15:30:01 UTC 2007 >Closed-Date: >Last-Modified: >Originator: Alex Bakhtin >Release: 7.0-BETA4 >Organization: AMT Group >Environment: > uname -a FreeBSD amtkit-ey.lab.amt.ru 7.0-BETA4 FreeBSD 7.0-BETA4 #0: Fri Dec 21 11:40:30 UTC 2007 bakhtin@amtkit-ey.lab.amt.ru:/mnt/data/obj/usr/src/sys/DEBUG sparc64 > >Description: Kernel panic 'memory address not aligned' if some pptp traffic goes through mpd/netgraph interface. Dec 21 15:11:37 amtkit-ey su: bakhtin to root on /dev/ttyp0 panic: trap: memory address not aligned cpuid = 0 KDB: enter: panic [thread pid 14 tid 100002 ] Stopped at kdb_enter+0x68: ta %xcc, 1 db> bt Tracing pid 14 tid 100002 td 0xfffff800010816c0 panic() at panic+0x204 trap() at trap+0x4cc -- memory address not aligned sfar=0xfffff800012178de sfsr=0x4002d %o7=0xc0391e3c -- rip_output() at rip_output+0x1a4 rip_send() at rip_send+0x4c sosend_generic() at sosend_generic+0x5e4 sosend() at sosend+0x2c ng_ksocket_rcvdata() at ng_ksocket_rcvdata+0xb8 ng_apply_item() at ng_apply_item+0x1b8 ngintr() at ngintr+0x190 swi_net() at swi_net+0x148 ithread_loop() at ithread_loop+0x1c4 fork_exit() at fork_exit+0x88 fork_trampoline() at fork_trampoline+0x8 db> Have full core. hw is SUN Netra T1. >How-To-Repeat: Install 7.0-BETA4 from src to clean disk (never tried to reproduce this from binary-install, but I don't think that something would change). Install mpd from ports, configure it to use pptp interface with default route to it, connect mpd to pptp server (i'm using 6.2STABLE i386 with mpd also). The same configuration worked on 6.2-STABLE on the same HW without problems. >Fix: none >Release-Note: >Audit-Trail: >Unformatted: