From owner-freebsd-alpha@FreeBSD.ORG Sun Feb 10 16:20:02 2008 Return-Path: Delivered-To: freebsd-alpha@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 947D216A419 for ; Sun, 10 Feb 2008 16:20:02 +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 827AC13C4D3 for ; Sun, 10 Feb 2008 16:20:02 +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 m1AGK2ih021958 for ; Sun, 10 Feb 2008 16:20:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m1AGK2di021957; Sun, 10 Feb 2008 16:20:02 GMT (envelope-from gnats) Date: Sun, 10 Feb 2008 16:20:02 GMT Message-Id: <200802101620.m1AGK2di021957@freefall.freebsd.org> To: freebsd-alpha@FreeBSD.org From: Volker Cc: Subject: Re: alpha/50868: fd0 floppy device is not mapped into /dev (XP1000) FreeBSD-5.0 X-BeenThere: freebsd-alpha@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Volker List-Id: Porting FreeBSD to the Alpha List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Feb 2008 16:20:02 -0000 The following reply was made to PR alpha/50868; it has been noted by GNATS. From: Volker To: bug-followup@FreeBSD.org, root@fi.infn.it Cc: Subject: Re: alpha/50868: fd0 floppy device is not mapped into /dev (XP1000) FreeBSD-5.0 Date: Sun, 10 Feb 2008 17:17:59 +0100 Original submitter did not followup for last 3.5 years. As Sten Spans stated it's fixed (or at least not reproduceable anymore) on alpha platforms. I recommend to close this one. From owner-freebsd-alpha@FreeBSD.ORG Mon Feb 11 04:08:12 2008 Return-Path: Delivered-To: freebsd-alpha@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 440F716A418 for ; Mon, 11 Feb 2008 04:08:12 +0000 (UTC) (envelope-from nathanw@uchicago.edu) Received: from relay03.uchicago.edu (relay03.uchicago.edu [128.135.12.77]) by mx1.freebsd.org (Postfix) with ESMTP id 0CB9013C455 for ; Mon, 11 Feb 2008 04:08:11 +0000 (UTC) (envelope-from nathanw@uchicago.edu) Received: from harper.uchicago.edu (harper.uchicago.edu [128.135.12.7]) by relay03.uchicago.edu (8.13.6.20060614/8.12.9) with ESMTP id m1B48BtJ022967; Sun, 10 Feb 2008 22:08:11 -0600 (CST) Received: from localhost (nathanw@localhost) by harper.uchicago.edu (8.12.10/8.12.10) with ESMTP id m1B48Bpn013552; Sun, 10 Feb 2008 22:08:11 -0600 (CST) X-Authentication-Warning: harper.uchicago.edu: nathanw owned process doing -bs Date: Sun, 10 Feb 2008 22:08:11 -0600 (CST) From: Nathan Whitehorn To: obrien@freebsd.org, freebsd-alpha@freebsd.org In-Reply-To: <47A335E6.9090209@uchicago.edu> Message-ID: References: <20080201053023.GC79823@dragon.NUXI.org> <47A335E6.9090209@uchicago.edu> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Subject: Re: No X server on Alpha? X-BeenThere: freebsd-alpha@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the Alpha List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Feb 2008 04:08:12 -0000 On Fri, 1 Feb 2008, Nathan Whitehorn wrote: > David O'Brien wrote: >> On Sat, Jan 19, 2008 at 09:42:05AM -0600, Nathan Whitehorn wrote: >>> After forcing xorg-server to link -lio, everyone works perfectly. I even >>> have Firefox (1.5) and pidgin running without issue. And with the recent >> >> Can you send a patch in to fix the port(s)? > > Unfortunately, my Alpha has some hardware issue and will no longer boot. It [snip] The issue was faulty RAM, and the machine now runs stably. Is a patch still needed? Also, a summary of bugs using my alpha as a workstation: 1. X.org doesn't compile because of the mentioned libio issue. 2. Occasional vector 670 machine checks associated with sio(4): unexpected machine check: mces = 0x1 vector = 0x670 param = 0xfffffc0000006068 pc = 0xfffffc0000847184 ra = 0xfffffc0000847160 curproc = 0xfffffc001f5677a0 pid = 11, comm = swi4: clock sio The manual says this has to do with cache or TLB errors, or writes to invalid I/O addresses. 3. pidgin hangs while trying to autodetect my IP address, but works if I tell it not to. Other than that, everything is stable and works fine (even Firefox, which has historically had problems on LP64 systems). Having the Pyxis DMA bug gone is really fantastic. Since this machine is way quieter than my x86, I'm going to use it as my primary machine for the near future -- I'm writing this email on it right now, in fact. -Nathan From owner-freebsd-alpha@FreeBSD.ORG Mon Feb 11 11:07:00 2008 Return-Path: Delivered-To: freebsd-alpha@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A5BF616A41A for ; Mon, 11 Feb 2008 11:07:00 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 8E3C013C4E7 for ; Mon, 11 Feb 2008 11:07:00 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m1BB700w007306 for ; Mon, 11 Feb 2008 11:07:00 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m1BB6xfB007302 for freebsd-alpha@FreeBSD.org; Mon, 11 Feb 2008 11:06:59 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 11 Feb 2008 11:06:59 GMT Message-Id: <200802111106.m1BB6xfB007302@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-alpha@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-alpha@FreeBSD.org X-BeenThere: freebsd-alpha@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the Alpha List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Feb 2008 11:07:00 -0000 Current FreeBSD problem reports Critical problems S Tracker Resp. Description -------------------------------------------------------------------------------- o alpha/75317 alpha [busdma] [patch] ATA DMA broken on PCalpha 1 problem total. Serious problems S Tracker Resp. Description -------------------------------------------------------------------------------- f alpha/59116 alpha [ntfs] mount_ntfs of a Windows 2000-formatted fs cause o alpha/61940 alpha [sysinstall] Can't disklabel new disk from FreeBSD/alp o alpha/61973 alpha Machine Check on boot-up of AlphaServer 2100A RM s alpha/67626 alpha X crashes an alpha machine, resulting reboot o alpha/85346 alpha PREEMPTION causes unstability in Alpha4000 SMP kernel o alpha/105134 alpha 'panic: lockmgr: thread ... not exclusive lock owner' 6 problems total. Non-critical problems S Tracker Resp. Description -------------------------------------------------------------------------------- o alpha/25284 alpha PC164 won't reboot with graphics console o alpha/38031 alpha osf1.ko not loaded during boot-time of linux-emu enabl o alpha/48676 alpha Changing the baud rate of serial consoles for Alpha sy o alpha/50868 alpha fd0 floppy device is not mapped into /dev (XP1000) Fre o alpha/66478 alpha unexpected machine check: panic for 4.9, 4.10, 5.2 or o alpha/67903 alpha hw.chipset.memory: 1099511627776 - thats way to much : 6 problems total. From owner-freebsd-alpha@FreeBSD.ORG Mon Feb 11 19:16:12 2008 Return-Path: Delivered-To: freebsd-alpha@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BEBAD16A418; Mon, 11 Feb 2008 19:16:12 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 9C7AA13C458; Mon, 11 Feb 2008 19:16:12 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from freefall.freebsd.org (jhb@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m1BJGCqD059309; Mon, 11 Feb 2008 19:16:12 GMT (envelope-from jhb@freefall.freebsd.org) Received: (from jhb@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m1BJGBYc059305; Mon, 11 Feb 2008 19:16:11 GMT (envelope-from jhb) Date: Mon, 11 Feb 2008 19:16:11 GMT Message-Id: <200802111916.m1BJGBYc059305@freefall.freebsd.org> To: root@fi.infn.it, jhb@FreeBSD.org, freebsd-alpha@FreeBSD.org From: jhb@FreeBSD.org Cc: Subject: Re: alpha/50868: fd0 floppy device is not mapped into /dev (XP1000) FreeBSD-5.0 X-BeenThere: freebsd-alpha@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the Alpha List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Feb 2008 19:16:12 -0000 Synopsis: fd0 floppy device is not mapped into /dev (XP1000) FreeBSD-5.0 State-Changed-From-To: open->closed State-Changed-By: jhb State-Changed-When: Mon Feb 11 19:15:28 UTC 2008 State-Changed-Why: Appears to be fixed in more recent releases. http://www.freebsd.org/cgi/query-pr.cgi?pr=50868 From owner-freebsd-alpha@FreeBSD.ORG Mon Feb 11 19:17:41 2008 Return-Path: Delivered-To: freebsd-alpha@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9CFAD16A475; Mon, 11 Feb 2008 19:17:41 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 7B81113C474; Mon, 11 Feb 2008 19:17:41 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from freefall.freebsd.org (jhb@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m1BJHftV059374; Mon, 11 Feb 2008 19:17:41 GMT (envelope-from jhb@freefall.freebsd.org) Received: (from jhb@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m1BJHevQ059370; Mon, 11 Feb 2008 19:17:40 GMT (envelope-from jhb) Date: Mon, 11 Feb 2008 19:17:40 GMT Message-Id: <200802111917.m1BJHevQ059370@freefall.freebsd.org> To: hadarai@bsd.ee, jhb@FreeBSD.org, freebsd-alpha@FreeBSD.org From: jhb@FreeBSD.org Cc: Subject: Re: alpha/75317: [busdma] [patch] ATA DMA broken on PCalpha X-BeenThere: freebsd-alpha@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the Alpha List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Feb 2008 19:17:41 -0000 Synopsis: [busdma] [patch] ATA DMA broken on PCalpha State-Changed-From-To: open->closed State-Changed-By: jhb State-Changed-When: Mon Feb 11 19:16:28 UTC 2008 State-Changed-Why: This is believed to be fixed in 6.3 based on at least one positive user report. http://www.freebsd.org/cgi/query-pr.cgi?pr=75317 From owner-freebsd-alpha@FreeBSD.ORG Wed Feb 13 11:59:18 2008 Return-Path: Delivered-To: freebsd-alpha@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5D06216A418 for ; Wed, 13 Feb 2008 11:59:18 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from diri.bris.ac.uk (diri.bris.ac.uk [137.222.10.112]) by mx1.freebsd.org (Postfix) with ESMTP id 23E5713C4E7 for ; Wed, 13 Feb 2008 11:59:18 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from seis.bris.ac.uk ([137.222.10.93]) by diri.bris.ac.uk with esmtp (Exim 4.67) (envelope-from ) id 1JPGGh-0000Eb-I5 for freebsd-alpha@freebsd.org; Wed, 13 Feb 2008 11:59:16 +0000 Received: from mech-aslap33.men.bris.ac.uk ([137.222.184.33]) by seis.bris.ac.uk with esmtp (Exim 4.67) (envelope-from ) id 1JPGGg-00075l-TB for freebsd-alpha@freebsd.org; Wed, 13 Feb 2008 11:59:15 +0000 Received: from mech-aslap33.men.bris.ac.uk (localhost [127.0.0.1]) by mech-aslap33.men.bris.ac.uk (8.14.2/8.14.2) with ESMTP id m1DBx1tm037384 for ; Wed, 13 Feb 2008 11:59:01 GMT (envelope-from mexas@bristol.ac.uk) Received: (from mexas@localhost) by mech-aslap33.men.bris.ac.uk (8.14.2/8.14.2/Submit) id m1DBx17G037383 for freebsd-alpha@freebsd.org; Wed, 13 Feb 2008 11:59:01 GMT (envelope-from mexas@bristol.ac.uk) X-Authentication-Warning: mech-aslap33.men.bris.ac.uk: mexas set sender to mexas@bristol.ac.uk using -f Date: Wed, 13 Feb 2008 11:59:01 +0000 From: Anton Shterenlikht To: freebsd-alpha@freebsd.org Message-ID: <20080213115901.GA37336@mech-aslap33.men.bris.ac.uk> Mail-Followup-To: freebsd-alpha@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i X-Spam-Score: -1.4 X-Spam-Level: - Subject: mailq takes 25 sec to respond X-BeenThere: freebsd-alpha@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the Alpha List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Feb 2008 11:59:18 -0000 Hello On my ds10l sendmail seem to work fine with the exception of very long wait time for mailq (sendmail -bp) - about 25 sec. On a much slower i386 running the same version of OS and of sendmail it takes less than a second. # uname -srm FreeBSD 6.3-STABLE alpha # sendmail -d0.1 Version 8.14.2 Compiled with: DNSMAP LOG MAP_REGEX MATCHGECOS MILTER MIME7TO8 MIME8TO7 NAMED_BIND NETINET NETINET6 NETUNIX NEWDB NIS PIPELINING SCANF TCPWRAPPERS USERDB XDEBUG The only software difference between my i386 and my alpha I can think of is that on alpha I run IPF: # grep "= 25" /etc/ipf.rules pass out on dc0 proto tcp from any to any port = 25 flags S/SA keep state Is slow response of mailq an indication of misconfiguration? Is it likely to be an alpha problem at all? many thanks -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 928 8233 Fax: +44 (0)117 929 4423 From owner-freebsd-alpha@FreeBSD.ORG Thu Feb 14 01:30:07 2008 Return-Path: Delivered-To: freebsd-alpha@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8E5D816A417 for ; Thu, 14 Feb 2008 01:30:07 +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 5BF0813C45E for ; Thu, 14 Feb 2008 01:30:05 +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 m1E1U5br018810 for ; Thu, 14 Feb 2008 01:30:05 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m1E1U42l018807; Thu, 14 Feb 2008 01:30:04 GMT (envelope-from gnats) Date: Thu, 14 Feb 2008 01:30:04 GMT Message-Id: <200802140130.m1E1U42l018807@freefall.freebsd.org> To: freebsd-alpha@FreeBSD.org From: Volker Cc: Subject: Re: alpha/66478: unexpected machine check: panic for 4.9, 4.10, 5.2 or dma error on 5.2.1 X-BeenThere: freebsd-alpha@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Volker List-Id: Porting FreeBSD to the Alpha List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Feb 2008 01:30:07 -0000 The following reply was made to PR alpha/66478; it has been noted by GNATS. From: Volker To: bug-followup@FreeBSD.org, jens@alph.ptch.nat.tu-bs.de Cc: Subject: Re: alpha/66478: unexpected machine check: panic for 4.9, 4.10, 5.2 or dma error on 5.2.1 Date: Thu, 14 Feb 2008 02:24:37 +0100 Jens, is your alpha problem still an issue or can we close this PR? From owner-freebsd-alpha@FreeBSD.ORG Fri Feb 15 16:08:19 2008 Return-Path: Delivered-To: freebsd-alpha@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6FB5616A417 for ; Fri, 15 Feb 2008 16:08:19 +0000 (UTC) (envelope-from mailnull@mips.inka.de) Received: from mail-in-01.arcor-online.net (mail-in-01.arcor-online.net [151.189.21.41]) by mx1.freebsd.org (Postfix) with ESMTP id C246213C4D1 for ; Fri, 15 Feb 2008 16:08:18 +0000 (UTC) (envelope-from mailnull@mips.inka.de) Received: from mail-in-04-z2.arcor-online.net (mail-in-04-z2.arcor-online.net [151.189.8.16]) by mail-in-01.arcor-online.net (Postfix) with ESMTP id 5A576104554 for ; Fri, 15 Feb 2008 17:08:17 +0100 (CET) Received: from mail-in-01.arcor-online.net (mail-in-01.arcor-online.net [151.189.21.41]) by mail-in-04-z2.arcor-online.net (Postfix) with ESMTP id 3C738ABB93 for ; Fri, 15 Feb 2008 17:08:17 +0100 (CET) Received: from kemoauc.mips.inka.de (dslb-088-067-247-181.pools.arcor-ip.net [88.67.247.181]) by mail-in-01.arcor-online.net (Postfix) with ESMTP id D82E410460D for ; Fri, 15 Feb 2008 17:08:16 +0100 (CET) Received: from kemoauc.mips.inka.de (localhost [127.0.0.1]) by kemoauc.mips.inka.de (8.13.8/8.13.8) with ESMTP id m1FG8GLe001268 for ; Fri, 15 Feb 2008 17:08:16 +0100 (CET) (envelope-from mailnull@kemoauc.mips.inka.de) Received: (from mailnull@localhost) by kemoauc.mips.inka.de (8.13.8/8.13.8/Submit) id m1FG8GcZ001267 for freebsd-alpha@freebsd.org; Fri, 15 Feb 2008 17:08:16 +0100 (CET) (envelope-from mailnull) From: naddy@mips.inka.de (Christian Weisgerber) Date: Fri, 15 Feb 2008 16:08:15 +0000 (UTC) Message-ID: Originator: naddy@mips.inka.de (Christian Weisgerber) To: freebsd-alpha@freebsd.org X-Virus-Scanned: ClamAV 0.92.1/5830/Fri Feb 15 14:07:34 2008 on mail-in-01.arcor-online.net X-Virus-Status: Clean Subject: rpc.statd: msync() failed X-BeenThere: freebsd-alpha@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the Alpha List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Feb 2008 16:08:19 -0000 $ uname -srm FreeBSD 5.5-STABLE alpha Whenever I boot the machine into multi-user mode, this error shows up: rpc.statd: msync() failed: Invalid argument I've finally bothered to ktrace the rpc.statd invocation and the problem remains mysterious. rpc.statd mmaps its status file, daemonizes, syslogs a startup messages, reads something from a UDP socket, msyncs the mmaped region--error! None of the documented reasons for msync(2) to fail with EINVAL apply. [...] 375 rpc.statd CALL open(0x1200032bc,0x2,0x160258b2a) 375 rpc.statd NAMI "/var/db/statd.status" 375 rpc.statd RET open 3 375 rpc.statd CALL mmap(0,0x10000000,0x3,0x1,0x3,0,0) 375 rpc.statd RET mmap 1613389824/0x1602a6000 375 rpc.statd CALL lseek(0x3,0,0,0x2) 375 rpc.statd RET lseek 256/0x100 375 rpc.statd CALL sigaction(0x1,0x11ffed68,0x11ffed48) 375 rpc.statd RET sigaction 0 375 rpc.statd CALL fork 375 rpc.statd RET fork 376/0x178 376 rpc.statd RET fork 0 375 rpc.statd CALL exit(0) 376 rpc.statd CALL setsid 376 rpc.statd RET setsid 376/0x178 376 rpc.statd CALL sigaction(0x1,0x11ffed48,0) 376 rpc.statd RET sigaction 0 376 rpc.statd CALL chdir(0x16025b956) 376 rpc.statd NAMI "/" 376 rpc.statd RET chdir 0 376 rpc.statd CALL open(0x160256c93,0x2,0) 376 rpc.statd NAMI "/dev/null" 376 rpc.statd RET open 8 376 rpc.statd CALL dup2(0x8,0) 376 rpc.statd RET dup2 0 376 rpc.statd CALL dup2(0x8,0x1) 376 rpc.statd RET dup2 1 376 rpc.statd CALL dup2(0x8,0x2) 376 rpc.statd RET dup2 2 376 rpc.statd CALL close(0x8) 376 rpc.statd RET close 0 376 rpc.statd CALL gettimeofday(0x11ffdfd8,0) 376 rpc.statd RET gettimeofday 0 376 rpc.statd CALL access(0x16025d455,0x4) 376 rpc.statd NAMI "/etc/localtime" 376 rpc.statd RET access 0 376 rpc.statd CALL open(0x16025d455,0,0x1) 376 rpc.statd NAMI "/etc/localtime" 376 rpc.statd RET open 8 376 rpc.statd CALL fstat(0x8,0x11ffb618) 376 rpc.statd RET fstat 0 376 rpc.statd CALL read(0x8,0x11ffbaa8,0x249c) 376 rpc.statd GIO fd 8 read 837 bytes [... TZ data omitted ...] 376 rpc.statd RET read 837/0x345 376 rpc.statd CALL close(0x8) 376 rpc.statd RET close 0 376 rpc.statd CALL socket(0x1,0x2,0) 376 rpc.statd RET socket 8 376 rpc.statd CALL fcntl(0x8,0x2,0x1) 376 rpc.statd RET fcntl 0 376 rpc.statd CALL connect(0x8,0x11ffdf78,0x6a) 376 rpc.statd NAMI "/var/run/logpriv" 376 rpc.statd RET connect 0 376 rpc.statd CALL sendto(0x8,0x11ffe048,0x27,0,0,0) 376 rpc.statd GIO fd 8 wrote 39 bytes "<30>Feb 15 16:25:31 rpc.statd: Starting" 376 rpc.statd RET sendto 39/0x27 376 rpc.statd CALL sigaction(0x14,0x11ffedb8,0) 376 rpc.statd RET sigaction 0 376 rpc.statd CALL select(0x8,0x11ffec78,0,0,0x11ffed78) 376 rpc.statd RET select 1 376 rpc.statd CALL recvfrom(0x4,0x120034000,0x2260,0,0x11ffe608,0x11ffe688) 376 rpc.statd GIO fd 4 read 64 bytes 0x0000 47ba b599 0000 0000 0000 0002 0001 86b8 |G...............| 0x0010 0000 0001 0000 0004 0000 0000 0000 0000 |................| 0x0020 0000 0000 0000 0000 0000 0007 4e46 5320 |............NFS | 0x0030 4e4c 4d00 0000 0000 0000 0000 0000 0000 |NLM.............| 376 rpc.statd RET recvfrom 64/0x40 376 rpc.statd CALL msync(0x1602a6000,0,0) 376 rpc.statd RET msync -1 errno 22 Invalid argument 376 rpc.statd CALL gettimeofday(0x11ffd868,0) 376 rpc.statd RET gettimeofday 0 376 rpc.statd CALL sendto(0x8,0x11ffd8d8,0x3f,0,0,0) 376 rpc.statd GIO fd 8 wrote 63 bytes "<27>Feb 15 16:25:32 rpc.statd: msync() failed: Invalid argument" 376 rpc.statd RET sendto 63/0x3f [...] -- Christian "naddy" Weisgerber naddy@mips.inka.de From owner-freebsd-alpha@FreeBSD.ORG Fri Feb 15 17:10:57 2008 Return-Path: Delivered-To: freebsd-alpha@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ACEAD16A41B for ; Fri, 15 Feb 2008 17:10:57 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from speedfactory.net (mail.speedfactory.net [66.23.216.219]) by mx1.freebsd.org (Postfix) with ESMTP id 2E13613C448 for ; Fri, 15 Feb 2008 17:10:56 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (unverified [66.23.211.162]) by speedfactory.net (SurgeMail 3.8s) with ESMTP id 232052286-1834499 for multiple; Fri, 15 Feb 2008 11:52:45 -0500 Received: from localhost.corp.yahoo.com (john@localhost [127.0.0.1]) (authenticated bits=0) by server.baldwin.cx (8.14.2/8.14.2) with ESMTP id m1FGsTJ5000734; Fri, 15 Feb 2008 11:54:33 -0500 (EST) (envelope-from jhb@freebsd.org) From: John Baldwin To: freebsd-alpha@freebsd.org Date: Fri, 15 Feb 2008 11:31:40 -0500 User-Agent: KMail/1.9.7 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200802151131.40995.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [127.0.0.1]); Fri, 15 Feb 2008 11:54:33 -0500 (EST) X-Virus-Scanned: ClamAV 0.91.2/5830/Fri Feb 15 08:07:34 2008 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=4.2 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on server.baldwin.cx Cc: Christian Weisgerber Subject: Re: rpc.statd: msync() failed X-BeenThere: freebsd-alpha@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the Alpha List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Feb 2008 17:10:57 -0000 On Friday 15 February 2008 11:08:15 am Christian Weisgerber wrote: > $ uname -srm > FreeBSD 5.5-STABLE alpha > > Whenever I boot the machine into multi-user mode, this error shows > up: > > rpc.statd: msync() failed: Invalid argument > > I've finally bothered to ktrace the rpc.statd invocation and the > problem remains mysterious. rpc.statd mmaps its status file, > daemonizes, syslogs a startup messages, reads something from a UDP > socket, msyncs the mmaped region--error! None of the documented > reasons for msync(2) to fail with EINVAL apply. > > [...] > 375 rpc.statd CALL open(0x1200032bc,0x2,0x160258b2a) > 375 rpc.statd NAMI "/var/db/statd.status" > 375 rpc.statd RET open 3 > 375 rpc.statd CALL mmap(0,0x10000000,0x3,0x1,0x3,0,0) > 375 rpc.statd RET mmap 1613389824/0x1602a6000 > 375 rpc.statd CALL lseek(0x3,0,0,0x2) > 375 rpc.statd RET lseek 256/0x100 > 375 rpc.statd CALL sigaction(0x1,0x11ffed68,0x11ffed48) > 375 rpc.statd RET sigaction 0 > 375 rpc.statd CALL fork > 375 rpc.statd RET fork 376/0x178 > 376 rpc.statd RET fork 0 > 375 rpc.statd CALL exit(0) > 376 rpc.statd CALL setsid > 376 rpc.statd RET setsid 376/0x178 > 376 rpc.statd CALL sigaction(0x1,0x11ffed48,0) > 376 rpc.statd RET sigaction 0 > 376 rpc.statd CALL chdir(0x16025b956) > 376 rpc.statd NAMI "/" > 376 rpc.statd RET chdir 0 > 376 rpc.statd CALL open(0x160256c93,0x2,0) > 376 rpc.statd NAMI "/dev/null" > 376 rpc.statd RET open 8 > 376 rpc.statd CALL dup2(0x8,0) > 376 rpc.statd RET dup2 0 > 376 rpc.statd CALL dup2(0x8,0x1) > 376 rpc.statd RET dup2 1 > 376 rpc.statd CALL dup2(0x8,0x2) > 376 rpc.statd RET dup2 2 > 376 rpc.statd CALL close(0x8) > 376 rpc.statd RET close 0 > 376 rpc.statd CALL gettimeofday(0x11ffdfd8,0) > 376 rpc.statd RET gettimeofday 0 > 376 rpc.statd CALL access(0x16025d455,0x4) > 376 rpc.statd NAMI "/etc/localtime" > 376 rpc.statd RET access 0 > 376 rpc.statd CALL open(0x16025d455,0,0x1) > 376 rpc.statd NAMI "/etc/localtime" > 376 rpc.statd RET open 8 > 376 rpc.statd CALL fstat(0x8,0x11ffb618) > 376 rpc.statd RET fstat 0 > 376 rpc.statd CALL read(0x8,0x11ffbaa8,0x249c) > 376 rpc.statd GIO fd 8 read 837 bytes > [... TZ data omitted ...] > 376 rpc.statd RET read 837/0x345 > 376 rpc.statd CALL close(0x8) > 376 rpc.statd RET close 0 > 376 rpc.statd CALL socket(0x1,0x2,0) > 376 rpc.statd RET socket 8 > 376 rpc.statd CALL fcntl(0x8,0x2,0x1) > 376 rpc.statd RET fcntl 0 > 376 rpc.statd CALL connect(0x8,0x11ffdf78,0x6a) > 376 rpc.statd NAMI "/var/run/logpriv" > 376 rpc.statd RET connect 0 > 376 rpc.statd CALL sendto(0x8,0x11ffe048,0x27,0,0,0) > 376 rpc.statd GIO fd 8 wrote 39 bytes > "<30>Feb 15 16:25:31 rpc.statd: Starting" > 376 rpc.statd RET sendto 39/0x27 > 376 rpc.statd CALL sigaction(0x14,0x11ffedb8,0) > 376 rpc.statd RET sigaction 0 > 376 rpc.statd CALL select(0x8,0x11ffec78,0,0,0x11ffed78) > 376 rpc.statd RET select 1 > 376 rpc.statd CALL recvfrom(0x4,0x120034000,0x2260,0,0x11ffe608,0x11ffe688) > 376 rpc.statd GIO fd 4 read 64 bytes > 0x0000 47ba b599 0000 0000 0000 0002 0001 86b8 |G...............| > 0x0010 0000 0001 0000 0004 0000 0000 0000 0000 |................| > 0x0020 0000 0000 0000 0000 0000 0007 4e46 5320 |............NFS | > 0x0030 4e4c 4d00 0000 0000 0000 0000 0000 0000 |NLM.............| > 376 rpc.statd RET recvfrom 64/0x40 > 376 rpc.statd CALL msync(0x1602a6000,0,0) > 376 rpc.statd RET msync -1 errno 22 Invalid argument > 376 rpc.statd CALL gettimeofday(0x11ffd868,0) > 376 rpc.statd RET gettimeofday 0 > 376 rpc.statd CALL sendto(0x8,0x11ffd8d8,0x3f,0,0,0) > 376 rpc.statd GIO fd 8 wrote 63 bytes > "<27>Feb 15 16:25:32 rpc.statd: msync() failed: Invalid argument" > 376 rpc.statd RET sendto 63/0x3f > [...] I would add some printfs to msync() to see which EINVAL case is being triggered and go from there. -- John Baldwin