From owner-freebsd-sparc64@FreeBSD.ORG Tue May 15 11:15:08 2007 Return-Path: X-Original-To: freebsd-sparc64@freebsd.org Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2A98A16A404 for ; Tue, 15 May 2007 11:15:08 +0000 (UTC) (envelope-from kes-kes@yandex.ru) Received: from camay.yandex.ru (camay.yandex.ru [213.180.200.33]) by mx1.freebsd.org (Postfix) with ESMTP id A954913C469 for ; Tue, 15 May 2007 11:15:07 +0000 (UTC) (envelope-from kes-kes@yandex.ru) Received: from YAMAIL (camay.yandex.ru) by mail.yandex.ru id ; Tue, 15 May 2007 15:01:41 +0400 Received: from [82.207.127.66] ([82.207.127.66]) by mail.yandex.ru with HTTP; Tue, 15 May 2007 15:01:38 +0400 (MSD) Date: Tue, 15 May 2007 15:01:38 +0400 (MSD) From: "KES" Sender: kes-kes@yandex.ru Message-Id: <46499312.00000A.19312@camay.yandex.ru> MIME-Version: 1.0 X-Mailer: Yamail [ http://yandex.ru ] Errors-To: kes-kes@yandex.ru To: freebsd-sparc64@freebsd.org X-MsgDayCount: 8 X-BornDate: 1149537600 X-Source-Ip: 82.207.127.66 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Server rebooting after connecting to mpd daemon X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: kes-kes@yandex.ru List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 May 2007 11:15:08 -0000 Here my mailing with authour of mpd My mpd Version is: [root@sparc /usr/home/aldec]# mpd4 -v Version 4.1 (root@sparc.aldec.com.pl 14:10 29-Mar-2007) I have ran mpd4 and try to connect from WinXP SP2. [root@sparc /]# mpd4 > /vpntest after server fail [root@sparc /]# cat /vpntest Multi-link PPP daemon for FreeBSD process 1378 started, version 4.1 (root@sparc.aldec.com.pl 14:10 29-Mar-2007) Label 'startup' not found [pptp0] using interface ng0 [pptp1] using interface ng1 PPTP connection from 192.168.0.1 4765 pptp0: attached to connection with 192.168.0.1 4765 [pptp0] Accepting PPTP connection [pptp0] opening link "pptp0"... [pptp0] link: OPEN event [pptp0] LCP: Open event [pptp0] LCP: state change Initial --> Starting [pptp0] LCP: LayerStart [pptp0] attaching to peer's outgoing call [pptp0] link: UP event [pptp0] link: origination is remote [pptp0] LCP: Up event [pptp0] LCP: state change Starting --> Req-Sent [pptp0] LCP: SendConfigReq #1 ACFCOMP PROTOCOMP MRU 1500 MAGICNUM c62da0c6 AUTHPROTO CHAP MSOFTv2 pptp0-0: ignoring SetLinkInfo [pptp0] LCP: rec'd Configure Request #0 link 0 (Req-Sent) MRU 1400 MAGICNUM 619e59e8 PROTOCOMP ACFCOMP CALLBACK Not supported [pptp0] LCP: SendConfigRej #0 CALLBACK [pptp0] LCP: rec'd Configure Request #1 link 0 (Req-Sent) MRU 1400 MAGICNUM 619e59e8 PROTOCOMP ACFCOMP [pptp0] LCP: SendConfigAck #1 MRU 1400 MAGICNUM 619e59e8 PROTOCOMP ACFCOMP [pptp0] LCP: state change Req-Sent --> Ack-Sent [root@sparc /] cat /var/log/dmesg.today panic: trap: memory address not aligned Uptime: 1d5h46m18s Cannot dump. No dump device defined. Automatic reboot in 15 seconds - press a key on the console to abort Rebooting... Copyright (c) 1992-2007 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 6.2-STABLE #1: Tue Apr 3 08:42:50 EEST 2007 root@sparc.aldec.com.pl:/usr/obj/usr/src/sys/KES_KERN_SUN_v6 module_register: module ng_mppc already exists! Module ng_mppc failed to register: 17 Timecounter "tick" frequency 360000000 Hz quality 1000 ............. >KES wrote: >> Hi. >> My machine is: >> FreeBSD 6.2-STABLE #1: Tue Apr 3 08:42:50 EEST 2007 >> >> Timecounter "tick" frequency 360000000 Hz quality 1000 >> real memory = 201326592 (192 MB) >> avail memory = 178716672 (170 MB) >> cpu0: Sun Microsystems UltraSparc-IIi Processor (360.00 MHz CPU) > >MPD version? I've tested 4.1 on same arch and it works fine for me. > >> Connecting to mpd causing server to REBOOT >> mpd.links >> ------------------- >> pptp0: >> set link type pptp >> >> mpd.conf >> ------------------- >> default: >> load pptp0 >> pptp0: >> new -i ng00 pptp0 pptp0 >> load pptp_standart >> pptp_standart: >> set iface disable on-demand >> set bundle disable multilink >> set link no pap >> set link enable chap >> set link keep-alive 60 180 >> set ipcp yes vjcomp >> #XXXX and YYYY -- my IP addresses >> set ipcp dns 1.2.3.4 >> set ipcp dns 5.6.7.8 >> set iface disable proxy-arp >> set pptp enable incoming >> set pptp disable originate >> set link yes acfcomp protocomp >> log +auth > >Try looking at the console. The problem can be caused not directly by >mpd. What exactly says kernel when failing? SECOND MAIL >KES wrote: >> My mpd Version is: >> [root@sparc /usr/home/aldec]# mpd4 -v >> Version 4.1 (root@sparc.aldec.com.pl 14:10 29-Mar-2007) > >> [root@sparc /] cat /var/log/dmesg.today >> panic: trap: memory address not aligned > >This is your pain. Some netgraph modules should be rewrited because they > do address memory the way sparc don't adore. At least I'm sure that >ng_netflow is unusable on sparc. > >Try recompiling kernel without most NETGRAPH modules. You actually need >only this 2 lines in your kernel config for mpd to work: > >options NETGRAPH >options NETGRAPH_ETHER > >All other modules would be loaded automatically. I have recompiled kernel. Server still rebooting. But mpd seems fail earlier #cat /vpntest Multi-link PPP daemon for FreeBSD process 1044 started, version 4.1 (root@sparc.aldec.com.pl 14:10 29-Mar-2007) Label 'startup' not found [pptp0] using interface ng0 [pptp1] using interface ng1