From owner-freebsd-ppc@freebsd.org Fri Jan 24 20:29:26 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 A0D5B1FB2D9 for ; Fri, 24 Jan 2020 20:29:26 +0000 (UTC) (envelope-from oggy@farscape.co.uk) Received: from mail-lj1-x231.google.com (mail-lj1-x231.google.com [IPv6:2a00:1450:4864:20::231]) (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 4849jK3JhNz4WM4 for ; Fri, 24 Jan 2020 20:29:25 +0000 (UTC) (envelope-from oggy@farscape.co.uk) Received: by mail-lj1-x231.google.com with SMTP id a13so3952666ljm.10 for ; Fri, 24 Jan 2020 12:29:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=farscape-co-uk.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=pUpTxkTW4FvA6FDxJxy9tlZRNd3wGGMCNgW7e9VtKh8=; b=JXnaYmGjcxwt14gYbl4b9S/pnyBoJIA9s+d3nmz2bsi39xq0Hgy0guyE7MgawWpPS5 jsX8YJtUHzhIkP0/wlNlUaT5e0UG+6XCKWoJa3j/yzhOUDAhI4VDDSIDtweqofokHwUy Z3MLYLwdYLJS+29z/etb7X646JVjyGzuQtI+EAVINlh5Ayd9Fw+/1ur8YJvCGfhodQ1O e20eWn4lSzOmo+ZX5bGhY1jyEO5pvyDyVEA0GYI01V0Cs8NOZvJZ4DIUhu/y81Jwmts0 UU2Al5wdRnwM9He2EaSbw4E8I0ONYvenPmkyY1kV7dUWWmst5FRpVqVqOayeakZUVFCB 2V/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=pUpTxkTW4FvA6FDxJxy9tlZRNd3wGGMCNgW7e9VtKh8=; b=Zfd0s8fG2hEMmoCcw/N25jUcyLF77nH4J4VKstGQwTqehUi3Zk55QBBylKOUi63N85 paQVd4TvBfdGOzuZ48uaoqSGllNXiB7nz4BCMsZO+jV2lvlokd5qciqARBi4t2vF0ii9 +St34SUVMaaJsgv2EUuK8PueJ1FUmmELPWBjYsO4gUNQ9WzBR+tVeaqLErbBYrFvmxIg 4pnhvyNBfSBbzc6V6kSTbs20Go5XGDBhFhAzDiCp9TBakCRntwoQkETBTHX7DNTGGYm5 aKfxJNJA+3Yw1RFupamnVcYjJY5J1iT2OH9rZ7S6zg0vyve6Zc7G1v5/UJ64waK6XZZq Itfg== X-Gm-Message-State: APjAAAV+pyfCQQAOLHVcBoliYVT+Zu7IoFUvo3dfrVoocdfRS2EkgKkz lc488FrXDAE0DDn03Ea0vNvdTkFQq4229r/9moeCEg== X-Google-Smtp-Source: APXvYqysIH8munrtRS8nwOmMv9+Z30H9j4GTlMK3bV45uqtUkHEQ8effsF+MpFJ5BX8zN88nlm/TmaKsfacrLmQhMU4= X-Received: by 2002:a2e:b4e7:: with SMTP id s7mr3445622ljm.58.1579897762337; Fri, 24 Jan 2020 12:29:22 -0800 (PST) MIME-Version: 1.0 References: <7722F637-2C3D-4199-B2C9-F0616B0A5AE1@freebsd.org> <20200123134114.75d9c771@titan.knownspace> <4652291B-6D2B-4D21-9F01-576913DF0B54@macmic.franken.de> In-Reply-To: From: Francis Little Date: Fri, 24 Jan 2020 20:29:12 +0000 Message-ID: Subject: Re: panic: data storage interrupt trap when building world on PowerMac G5 To: Jason Bacon Cc: FreeBSD PowerPC ML X-Rspamd-Queue-Id: 4849jK3JhNz4WM4 X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=farscape-co-uk.20150623.gappssmtp.com header.s=20150623 header.b=JXnaYmGj; dmarc=none; spf=pass (mx1.freebsd.org: domain of oggy@farscape.co.uk designates 2a00:1450:4864:20::231 as permitted sender) smtp.mailfrom=oggy@farscape.co.uk X-Spamd-Result: default: False [-5.24 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[farscape-co-uk.20150623.gappssmtp.com:s=20150623]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-ppc@freebsd.org]; DMARC_NA(0.00)[farscape.co.uk]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[farscape-co-uk.20150623.gappssmtp.com:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[1.3.2.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.5.4.1.0.0.a.2.list.dnswl.org : 127.0.5.0]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; IP_SCORE(-2.74)[ip: (-9.30), ipnet: 2a00:1450::/32(-2.54), asn: 15169(-1.80), country: US(-0.05)]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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 20:29:26 -0000 So I got a panic data storage interrupt on mine also now. Tu rule out FS issues and wanted to increase swap a bit, I was reinstalling with: http://ftp.freebsd.org/pub/FreeBSD/snapshots/ISO-IMAGES/13.0/FreeBSD-13.0-CURRENT-powerpc-powerpc64-20200109-r356528-memstick.img The image is on a USB, installing to the internal SATA HD and SMP was enabled. Screen capture below! https://drive.google.com/file/d/135X3uu0hudDNxQY7ixu64dBSuyGFarrH/view Reinstalling with SMP off currently! On Fri, 24 Jan 2020 at 15:06, Jason Bacon wrote: > > 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 > completely on boot. Repair using the journal can miss incorrect > reference counts if I remember correctly. This can cause panics after a > 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. If > any of them report errors, this may have been your problem. > > 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 Power9. > > > > 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 > c1a0a213378a458fbea1a5c77b315c7dce08fd05) (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.freebsd.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 < > Michael.Tuexen@macmic.franken.de> 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 > mine? > >> 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 > wrote: > >>> > >>>> 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=1 in /boot/loader.conf), I get the following > panic: > >>>>> > >>>>> 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 encoding > >>>> of ASCII we get " user ad". > >>>> > >>>> Is there a reason you still have kern.smp.disabled=1? 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.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" > > _______________________________________________ > > 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" > > > -- > Earth is a beta site. > > > _______________________________________________ > 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" >