From owner-freebsd-ppc@freebsd.org Fri Jan 24 15:06:12 2020 Return-Path: Delivered-To: freebsd-ppc@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 579601F2DE1 for ; Fri, 24 Jan 2020 15:06:12 +0000 (UTC) (envelope-from bacon4000@gmail.com) Received: from mail-yb1-xb44.google.com (mail-yb1-xb44.google.com [IPv6:2607:f8b0:4864:20::b44]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4842XM5dLyz48Z0 for ; Fri, 24 Jan 2020 15:06:11 +0000 (UTC) (envelope-from bacon4000@gmail.com) Received: by mail-yb1-xb44.google.com with SMTP id l197so1040030ybf.7 for ; Fri, 24 Jan 2020 07:06:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding:content-language; bh=oNAn4W4G2bdT3yj3hrKyNyGHikTZ4eQirofAtpve7g4=; b=LQRRYETdoEWivCAmVk1GHz36ZFSzf3SD4XmBZXSAGT2J+BLbNmQh8UpFbunq9jYdO5 J5kr9NXsJS1/Fwg9Nq+pgAxdjhYjaqyeUpkwC3ZsF06vWJeHa8w45HOWgldk2u5ooMj3 qODFLAZbwoq49uaArbGFYTxNZ7teVmsNciAVySrSjq14RbmVK7LaSo0XmwmQaEZdcpTN HynF0synFutFJGvKzE4fyLXh0BP8SSWAy4Et0f2NKgstTevh5cLc+2/1YM6qln4wZj+x M5P4gFSsEXcprFZaAOcq/AWrBZfCJ8G1MlYPuL6x7CiG7+hdXSwjccpwltNusH08TxrB ZYyg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=oNAn4W4G2bdT3yj3hrKyNyGHikTZ4eQirofAtpve7g4=; b=YAeN76HR1sbmlJIfbvFxFKH0jTPansei/iWNC0mlRH05GivjLbNh30BLqr/LU52otP LIMNps3Schjje4f1QerU8A9t6ZoGQHmPJWD5ODg3c8Qk+xg7UHmS4Ft0qy4bEbTiS2MP KsR/iGh1zxr85LGveq04AnwNf1rSONM7sVuigbUmtQVywB4bdNubGGxCfZA83oCq+HLU X9eya9tPYRUgrIFuYagVqEzxcX9hiAPrd6JhQfakULZVwEbpswGcVXf2utBtkz4Qzd9u Jcd/EaEd5q2ersyTb7uyDTt6RhsFXQ6YStiqQJqsiiojWTuTVg2OmNTMwz8BqqYwnY9E peoA== X-Gm-Message-State: APjAAAW5zjm6NvXGmvOVA2BM0R5jljNarEMHZC6wY19UKWCQKHnKrDsN JJeNHwZE7zVmwdBljMjXMUmENqKe X-Google-Smtp-Source: APXvYqwONnP7yTL7nAMAIFthft2lHDPgOtSez/fKpo4taJcncbXpShFvuM2uxR3MUGiU6UcmKqea6g== X-Received: by 2002:a25:1f09:: with SMTP id f9mr2826198ybf.322.1579878370204; Fri, 24 Jan 2020 07:06:10 -0800 (PST) Received: from coral.acadix.biz (2603-6000-a446-9100-0223-24ff-fe37-c4d7.res6.spectrum.com. [2603:6000:a446:9100:223:24ff:fe37:c4d7]) by smtp.gmail.com with ESMTPSA id w128sm2363272ywf.72.2020.01.24.07.06.09 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 24 Jan 2020 07:06:09 -0800 (PST) Subject: Re: panic: data storage interrupt trap when building world on PowerMac G5 To: freebsd-ppc@freebsd.org References: <7722F637-2C3D-4199-B2C9-F0616B0A5AE1@freebsd.org> <20200123134114.75d9c771@titan.knownspace> <4652291B-6D2B-4D21-9F01-576913DF0B54@macmic.franken.de> From: Jason Bacon Message-ID: Date: Fri, 24 Jan 2020 09:06:08 -0600 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Content-Language: en-US X-Rspamd-Queue-Id: 4842XM5dLyz48Z0 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=LQRRYETd; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of bacon4000@gmail.com designates 2607:f8b0:4864:20::b44 as permitted sender) smtp.mailfrom=bacon4000@gmail.com X-Spamd-Result: default: False [-3.00 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; FROM_EQ_ENVFROM(0.00)[]; IP_SCORE(0.00)[ip: (1.96), ipnet: 2607:f8b0::/32(-2.06), asn: 15169(-1.80), country: US(-0.05)]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-ppc@freebsd.org]; IP_SCORE_FREEMAIL(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; RCVD_IN_DNSWL_NONE(0.00)[4.4.b.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; RCVD_TLS_ALL(0.00)[] X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Jan 2020 15:06:12 -0000 Sort of a shot in the dark, but did you verify that your filesystems are = clean? UFS2 has an issue where the filesystem doesn't always get cleaned=20 completely on boot.=C2=A0 Repair using the journal can miss incorrect=20 reference counts if I remember correctly.=C2=A0 This can cause panics aft= er a=20 sudden outage like a power failure that leave the FS in a dirty state. Try booting to single-user mode and running "fsck -fy" on each FS.=C2=A0 = If=20 any of them report errors, this may have been your problem. =C2=A0=C2=A0=C2=A0 JB On 2020-01-24 06:36, Michael Tuexen wrote: >> On 24. Jan 2020, at 13:27, Francis Little wrote:= >> >> I'm not getting panics, I get similar errors to this: > I see. Thanks for providing the information. > I haven't seen such problems (neither userland nor kernelland) on Power= 9. > > Best regards > Michael >> cc: error: unable to execute command: Abort trap (core dumped) >> cc: error: clang frontend command failed due to signal (use -v to see = invocation) >> FreeBSD clang version 9.0.1 (git@github.com:llvm/llvm-project.git c1a0= a213378a458fbea1a5c77b315c7dce08fd05) (based on LLVM 9.0.1) >> Target: powerpc64-unknown-freebsd13.0 >> Thread model: posix >> InstalledDir: /usr/bin >> cc: note: diagnostic msg: PLEASE submit a bug report to https://bugs.f= reebsd.org/submit/ and include the crash backtrace, preprocessed source, = and associated run script. >> cc: note: diagnostic msg: >> ******************** >> >> PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: >> Preprocessed source(s) and associated run script(s) are located at: >> cc: note: diagnostic msg: /tmp/addsf3-67691f.c >> cc: note: diagnostic msg: /tmp/addsf3-67691f.sh >> cc: note: diagnostic msg: >> >> ******************** >> *** [addsf3.o] Error code 254 >> >> make[4]: stopped in /usr/src/lib/libcompiler_rt >> 1 error >> >> make[4]: stopped in /usr/src/lib/libcompiler_rt >> *** [lib/libcompiler_rt__PL] Error code 2 >> >> make[3]: stopped in /usr/src >> 1 error >> >> make[3]: stopped in /usr/src >> *** [libraries] Error code 2 >> >> make[2]: stopped in /usr/src >> 1 error >> >> make[2]: stopped in /usr/src >> *** [_libraries] Error code 2 >> >> make[1]: stopped in /usr/src >> 1 error >> >> make[1]: stopped in /usr/src >> *** [buildworld] Error code 2 >> >> make: stopped in /usr/src >> >> make: stopped in /usr/src >> >> On Thu, 23 Jan 2020 at 21:21, Michael Tuexen wrote: >>> On 23. Jan 2020, at 22:09, Francis Little wrote= : >>> >>> Hi, >>> >>> Same here, with smp enabled, fans go full speed every 60 sec, probing= >>> sysctl calms them for a min. >>> >>> buf*daemons time out shutting down and buildworlds fail. >> Could you specify how buildworlds fail? Is the system panic'ing like m= ine? >> On a Power9 system, buildworld works without a problem. But the system= has >> much more memory. >> >> Best regards >> Michael >>> Regards >>> >>> >>> >>> On Thu, 23 Jan 2020 at 19:41, Justin Hibbits w= rote: >>> >>>> On Thu, 23 Jan 2020 12:32:03 +0100 >>>> Michael Tuexen wrote: >>>> >>>>> Dear all, >>>>> >>>>> when trying to build world on a G5 with SMP disabled >>>>> (kern.smp.disabled=3D1 in /boot/loader.conf), I get the following p= anic: >>>>> >>>>> http://bsd14.fh-muenster.de/crash.jpeg >>>>> >>>>> It looks like this happens when memory is getting low (top was >>>>> running until the machine panics). The machine runs the kernel from= >>>>> r356950. >>>>> >>>>> Any idea what is going wrong? >>>>> >>>>> Best regards >>>>> Michael >>>> That fault address looks very suspicious. Reading it as hex encodin= g >>>> of ASCII we get " user ad". >>>> >>>> Is there a reason you still have kern.smp.disabled=3D1? I fixed the= bug >>>> for that (at least in head) back around May, or at least *a* bug for= it. >>>> >>>> - Justin >>>> _______________________________________________ >>>> freebsd-ppc@freebsd.org mailing list >>>> https://lists.freebsd.org/mailman/listinfo/freebsd-ppc >>>> To unsubscribe, send any mail to "freebsd-ppc-unsubscribe@freebsd.or= g" >>>> >>> _______________________________________________ >>> freebsd-ppc@freebsd.org mailing list >>> https://lists.freebsd.org/mailman/listinfo/freebsd-ppc >>> To unsubscribe, send any mail to "freebsd-ppc-unsubscribe@freebsd.org= " > _______________________________________________ > freebsd-ppc@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-ppc > To unsubscribe, send any mail to "freebsd-ppc-unsubscribe@freebsd.org" --=20 Earth is a beta site.