From owner-freebsd-ppc@FreeBSD.ORG Mon Oct 14 11:06:54 2013 Return-Path: Delivered-To: freebsd-ppc@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 02094534 for ; Mon, 14 Oct 2013 11:06:54 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id E33042C88 for ; Mon, 14 Oct 2013 11:06:53 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r9EB6rQL035308 for ; Mon, 14 Oct 2013 11:06:53 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r9EB6rbe035306 for freebsd-ppc@FreeBSD.org; Mon, 14 Oct 2013 11:06:53 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 14 Oct 2013 11:06:53 GMT Message-Id: <201310141106.r9EB6rbe035306@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-ppc@FreeBSD.org Subject: Current problem reports assigned to freebsd-ppc@FreeBSD.org X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Oct 2013 11:06:54 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o power/182908 ppc Unable to build debug binaries with clang on powerpc64 o power/181502 ppc /usr/include/stdint.h 9.2-RC1/powerpc does not compile o power/180593 ppc PowerMac G5 shuts down when building pcre o power/178038 ppc clang++ fails to produce a binary in powerpc64 o power/175151 ppc Loader fails to load modules on PPC64 o power/170340 ppc Enabling geom-mirror on 9.1-powerpc64 prevents the sys o power/164225 ppc Boot fails on IBM 7028-6E1 (heap memory claim failed) o power/161947 ppc multimedia/libdvdnav builds broken binaries on big end o power/149009 ppc sysinstall(8) on powerpc fails to install manpages, so o power/140241 ppc [kernel] [patch] Linker set problems on PowerPC EABI o power/135576 ppc gdb cannot debug threaded programs on ppc o power/133503 ppc [sound] Sound stutter after switching ttys o power/131548 ppc ofw_syscons no longer supports 32-bit framebuffer 13 problems total. From owner-freebsd-ppc@FreeBSD.ORG Mon Oct 14 19:30:01 2013 Return-Path: Delivered-To: freebsd-ppc@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 3A1AF9A9 for ; Mon, 14 Oct 2013 19:30:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 1624F211A for ; Mon, 14 Oct 2013 19:30:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r9EJU00v051122 for ; Mon, 14 Oct 2013 19:30:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r9EJU06I051121; Mon, 14 Oct 2013 19:30:00 GMT (envelope-from gnats) Resent-Date: Mon, 14 Oct 2013 19:30:00 GMT Resent-Message-Id: <201310141930.r9EJU06I051121@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ppc@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Julio Merino Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id C8C36964 for ; Mon, 14 Oct 2013 19:26:37 +0000 (UTC) (envelope-from julio@meroh.net) Received: from cdptpa-oedge-vip.email.rr.com (cdptpa-outbound-snat.email.rr.com [107.14.166.226]) by mx1.freebsd.org (Postfix) with ESMTP id 8D84020F6 for ; Mon, 14 Oct 2013 19:26:36 +0000 (UTC) Received: from [108.176.158.82] ([108.176.158.82:65342] helo=portal.meroh.net) by cdptpa-oedge03 (envelope-from ) (ecelerity 3.5.0.35861 r(Momo-dev:tip)) with ESMTP id 7A/31-01315-B654C525; Mon, 14 Oct 2013 19:26:36 +0000 Received: from mastodon.meroh.net (mastodon.meroh.net [192.168.1.12]) by portal.meroh.net (Postfix) with ESMTP id 25A11EFE67 for ; Mon, 14 Oct 2013 15:26:31 -0400 (EDT) Received: from mastodon.meroh.net (localhost [127.0.0.1]) by mastodon.meroh.net (8.14.7/8.14.7) with ESMTP id r9EJOvT0001621 for ; Mon, 14 Oct 2013 15:24:57 -0400 (EDT) (envelope-from jmmv@mastodon.meroh.net) Received: (from jmmv@localhost) by mastodon.meroh.net (8.14.7/8.14.7/Submit) id r9EJOvlU001620; Mon, 14 Oct 2013 15:24:57 -0400 (EDT) (envelope-from jmmv) Message-Id: <201310141924.r9EJOvlU001620@mastodon.meroh.net> Date: Mon, 14 Oct 2013 15:24:57 -0400 (EDT) From: Julio Merino To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.114 Subject: powerpc/182978: Kernel panic on boot on powerpc64 X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Julio Merino List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Oct 2013 19:30:01 -0000 >Number: 182978 >Category: powerpc >Synopsis: Kernel panic on boot on powerpc64 >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-ppc >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Oct 14 19:30:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Julio Merino >Release: FreeBSD 10.0-ALPHA5 powerpc >Organization: >Environment: System: FreeBSD mastodon.meroh.net 10.0-ALPHA5 FreeBSD 10.0-ALPHA5 #6 r256122M: Tue Oct 8 07:26:36 EDT 2013 jmmv@mastodon.meroh.net:/usr/obj/usr/src/sys/GENERIC64 powerpc >Description: After upgrading src to sources from Oct 10th, I cannot boot my powerpc64 machine any longer. The kernel panics during boot while, it seems, initializing the ATA device. Things work fine with the kernel details shown above (Oct 8th) but fail with a kernel from Oct 10th and also with a fresh kernel from today. The copy/pasted message I see is the following. Please excuse any typos as I had to get this from a very bad-quality picture I took from the screen right before the machine rebooted on its own... [...] ata0: mem 0x80204000-0x80207fff irq 167 at device 13.0 on pci6 fatal kernel trap: exception = 0x400 (instruction storage interrupt) virtual address = 0xee00000000000000 srr0 = 0xee00000000000000 srr1 = 0x9000000040001032 lr = 0x87dad4 curthread = 0xd1c8e0 pid = 0, comm = swapper [thread pid 0 tid 100000] Stopped at 0xee00000000000000: fatal kernel trap: exception = 0x300 (data storage interrupt) virtual address = 0xee00000000000000 dsisr = 0x40000000 srr0 = 0x8913b8 srr1 = 0x9000000040001032 lr = 0x14c510 curthread = 0xd1c8e0 pid = 0, comm = swapper panic: sta storage interrupt trap cpuid = 0 KDB: stack backtrace: 0xc0000000000025d0: at .kdb_backtrace+0x5c ...: at .panic ...: at .trap_fatal ...: at .trap ...: at .powerpc_interrupt ...: kernel DSI read trap @ 0xee00000000000000 by .db_disasm+0x1c: srr1= 0x9000000000001032 >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-ppc@FreeBSD.ORG Mon Oct 14 19:50:01 2013 Return-Path: Delivered-To: freebsd-ppc@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 8295A9A for ; Mon, 14 Oct 2013 19:50:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 6E2EC223E for ; Mon, 14 Oct 2013 19:50:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r9EJo1cK054575 for ; Mon, 14 Oct 2013 19:50:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r9EJo1Dh054574; Mon, 14 Oct 2013 19:50:01 GMT (envelope-from gnats) Date: Mon, 14 Oct 2013 19:50:01 GMT Message-Id: <201310141950.r9EJo1Dh054574@freefall.freebsd.org> To: freebsd-ppc@FreeBSD.org Cc: From: Andreas Tobler Subject: Re: powerpc/182978: Kernel panic on boot on powerpc64 X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Andreas Tobler List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Oct 2013 19:50:01 -0000 The following reply was made to PR powerpc/182978; it has been noted by GNATS. From: Andreas Tobler To: bug-followup@FreeBSD.org, julio@meroh.net Cc: Subject: Re: powerpc/182978: Kernel panic on boot on powerpc64 Date: Mon, 14 Oct 2013 21:42:13 +0200 Hi, the reason is from this commit r256304. We're working on it. Basically, ata_probe does not longer return 0 and ata_kauai and ata_macio fail now. This is due to the fact that these drivers do not handle properly the BUS_* return codes other than 0. For the time being you can try the below. Gruss, Andreas Index: powerpc/powermac/ata_kauai.c =================================================================== --- powerpc/powermac/ata_kauai.c (revision 256444) +++ powerpc/powermac/ata_kauai.c (working copy) @@ -199,7 +199,7 @@ u_int32_t devid; phandle_t node; const char *compatstring = NULL; - int i, found, rid; + int err, i, found, rid; found = 0; devid = pci_get_devid(dev); @@ -252,8 +252,11 @@ /* XXX: ATAPI DMA is unreliable. We should find out why. */ ch->flags |= ATA_NO_ATAPI_DMA; ata_generic_hw(dev); + err = ata_probe(dev); + if (err > 0) + return (err); - return (ata_probe(dev)); + return (0); } #if USE_DBDMA_IRQ From owner-freebsd-ppc@FreeBSD.ORG Mon Oct 14 22:02:30 2013 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 84EA6C4C; Mon, 14 Oct 2013 22:02:30 +0000 (UTC) (envelope-from chmeeedalf@gmail.com) Received: from mail-bk0-x22e.google.com (mail-bk0-x22e.google.com [IPv6:2a00:1450:4008:c01::22e]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id E9EA52B3C; Mon, 14 Oct 2013 22:02:29 +0000 (UTC) Received: by mail-bk0-f46.google.com with SMTP id 6so2785189bkj.5 for ; Mon, 14 Oct 2013 15:02:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=UipwY7Vn9b6pPxmHilgNg81ZVO4kH6dMx9hG/rYByTw=; b=S9G9C5+hc5AAIMdhCPF8mMbgc+cGXrPWI1bE+uBlVU2qOuPGygkCtN+MppFn0iLvxn UZRsIaZIc5BOBDgrK/ltPLLCuPNJ3HkfGYykq3n4UV/jLQ1UiW//Sw0r/nJTiyGH1SQG ejUstTxXc8LwWQlLojfWv2oMskLs0rFpR75RKA+80cUsjVpVgwuCnB2MNqgvb5brvUcV SljavlJd1lEuy8w0H7MqmGRFwclaqYs+X7oI/f4pGlGdWQ1z3D6O51+rQ5PuhU+Pvotm fjXJarvhc/rOKm+OS80LyAzGBYmalsoCBoFDCiQXd1q52n6mbOzVI4PQ2tx0q/YytGUP FhmQ== MIME-Version: 1.0 X-Received: by 10.205.65.78 with SMTP id xl14mr31989091bkb.1.1381788148129; Mon, 14 Oct 2013 15:02:28 -0700 (PDT) Sender: chmeeedalf@gmail.com Received: by 10.205.13.199 with HTTP; Mon, 14 Oct 2013 15:02:28 -0700 (PDT) In-Reply-To: <201310141950.r9EJo1Dh054574@freefall.freebsd.org> References: <201310141950.r9EJo1Dh054574@freefall.freebsd.org> Date: Mon, 14 Oct 2013 15:02:28 -0700 X-Google-Sender-Auth: TQw96hU8FqjbJTPKAJHvLzh4Ggc Message-ID: Subject: Re: powerpc/182978: Kernel panic on boot on powerpc64 From: Justin Hibbits To: Andreas Tobler Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: FreeBSD PowerPC ML X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Oct 2013 22:02:30 -0000 On Mon, Oct 14, 2013 at 12:50 PM, Andreas Tobler wrote: > The following reply was made to PR powerpc/182978; it has been noted by > GNATS. > > From: Andreas Tobler > To: bug-followup@FreeBSD.org, julio@meroh.net > Cc: > Subject: Re: powerpc/182978: Kernel panic on boot on powerpc64 > Date: Mon, 14 Oct 2013 21:42:13 +0200 > > Hi, > > the reason is from this commit r256304. > > We're working on it. > > Basically, ata_probe does not longer return 0 and ata_kauai and > ata_macio fail now. This is due to the fact that these drivers do not > handle properly the BUS_* return codes other than 0. > > For the time being you can try the below. > > Gruss, > Andreas > > Index: powerpc/powermac/ata_kauai.c > =================================================================== > --- powerpc/powermac/ata_kauai.c (revision 256444) > +++ powerpc/powermac/ata_kauai.c (working copy) > @@ -199,7 +199,7 @@ > u_int32_t devid; > phandle_t node; > const char *compatstring = NULL; > - int i, found, rid; > + int err, i, found, rid; > > found = 0; > devid = pci_get_devid(dev); > @@ -252,8 +252,11 @@ > /* XXX: ATAPI DMA is unreliable. We should find out why. */ > ch->flags |= ATA_NO_ATAPI_DMA; > ata_generic_hw(dev); > + err = ata_probe(dev); > + if (err > 0) > + return (err); > > - return (ata_probe(dev)); > + return (0); > } > > #if USE_DBDMA_IRQ > What do the drivers need in order to behave properly with BUS_PROBE_DEFAULT? I don't see any drivers for other chipsets that use BUS_PROBE_DEFAULT that do anything differently from these. - Justin From owner-freebsd-ppc@FreeBSD.ORG Tue Oct 15 03:40:01 2013 Return-Path: Delivered-To: freebsd-ppc@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id B196BC33 for ; Tue, 15 Oct 2013 03:40:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 9E6032C34 for ; Tue, 15 Oct 2013 03:40:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r9F3e1bw061889 for ; Tue, 15 Oct 2013 03:40:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r9F3e1IY061888; Tue, 15 Oct 2013 03:40:01 GMT (envelope-from gnats) Date: Tue, 15 Oct 2013 03:40:01 GMT Message-Id: <201310150340.r9F3e1IY061888@freefall.freebsd.org> To: freebsd-ppc@FreeBSD.org Cc: From: Julio Merino Subject: Re: powerpc/182978: Kernel panic on boot on powerpc64 X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Julio Merino List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Oct 2013 03:40:01 -0000 The following reply was made to PR powerpc/182978; it has been noted by GNATS. From: Julio Merino To: Andreas Tobler Cc: bug-followup@freebsd.org Subject: Re: powerpc/182978: Kernel panic on boot on powerpc64 Date: Mon, 14 Oct 2013 23:26:41 -0400 Great, thanks a lot for the quick reply. That patch fixed the boot for me. On Mon, Oct 14, 2013 at 3:42 PM, Andreas Tobler wrote: > Hi, > > the reason is from this commit r256304. > > We're working on it. > > Basically, ata_probe does not longer return 0 and ata_kauai and > ata_macio fail now. This is due to the fact that these drivers do not > handle properly the BUS_* return codes other than 0. > > For the time being you can try the below. > > Gruss, > Andreas > > Index: powerpc/powermac/ata_kauai.c > =================================================================== > --- powerpc/powermac/ata_kauai.c (revision 256444) > +++ powerpc/powermac/ata_kauai.c (working copy) > @@ -199,7 +199,7 @@ > u_int32_t devid; > phandle_t node; > const char *compatstring = NULL; > - int i, found, rid; > + int err, i, found, rid; > > found = 0; > devid = pci_get_devid(dev); > @@ -252,8 +252,11 @@ > /* XXX: ATAPI DMA is unreliable. We should find out why. */ > ch->flags |= ATA_NO_ATAPI_DMA; > ata_generic_hw(dev); > + err = ata_probe(dev); > + if (err > 0) > + return (err); > > - return (ata_probe(dev)); > + return (0); > } > > #if USE_DBDMA_IRQ -- Julio Merino / @jmmv From owner-freebsd-ppc@FreeBSD.ORG Tue Oct 15 16:46:08 2013 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 94FBD8EB for ; Tue, 15 Oct 2013 16:46:08 +0000 (UTC) (envelope-from chmeeedalf@gmail.com) Received: from mail-bk0-x22b.google.com (mail-bk0-x22b.google.com [IPv6:2a00:1450:4008:c01::22b]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 2FB9425D0 for ; Tue, 15 Oct 2013 16:46:08 +0000 (UTC) Received: by mail-bk0-f43.google.com with SMTP id mz13so3224937bkb.2 for ; Tue, 15 Oct 2013 09:46:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:message-id:subject:from:to:content-type; bh=aFOagv5SURhcrdhNRulA03/aYupKGT9OtzuO7QpQbsQ=; b=av7oe4RQktSHrVPQQ3HRAoLZ4ejPx8QGtZjBT45hwxk0YH4WIFxifRA7cHOCYK906u woiIVE99DxvoPTe4VylTMRfY/9wkAK7lZEMlECRc8hYJbjL3ydJvj7Pfw4PJjIRJGXPP oLzXi53hKUBnzsYR4fhrJZNHM99Vh+n7y0HVuDwLO7jHKNgEvCv6FFR+zcncwi5NRblk JtWLpUVkwuNxDaInuC7AIaz3Rza36MeUZ1/EQ4bewsoNtRRSRHzS7VkOF8q5fbAQToKP IAyIRvHSujB2aIuRnN8OLCPhyRkKgxJw7CoRdxPI9nxYMroT+lzaacu7GiLBuD0V6esk OSMQ== MIME-Version: 1.0 X-Received: by 10.205.14.197 with SMTP id pr5mr36646164bkb.6.1381855566442; Tue, 15 Oct 2013 09:46:06 -0700 (PDT) Sender: chmeeedalf@gmail.com Received: by 10.205.13.199 with HTTP; Tue, 15 Oct 2013 09:46:06 -0700 (PDT) Date: Tue, 15 Oct 2013 09:46:06 -0700 X-Google-Sender-Auth: cqkmqLPEc9ijjXQUddJFSCxwrlU Message-ID: Subject: DTrace/PowerPC From: Justin Hibbits To: FreeBSD PowerPC ML Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Oct 2013 16:46:08 -0000 This morning I committed the final major piece of DTrace for PowerPC, the fasttrap (user trapping) module. I haven't fully tested it, in fact I've barely tested it beyond build and logic analysis, and confirming it doesn't break anything. I've set a MFC to a month from now, so more testing can be done. Anyone who has a spare machine, please please please test. Not just Fasttrap, but FBT and the rest, and let me know the results. - Justin From owner-freebsd-ppc@FreeBSD.ORG Tue Oct 15 19:00:02 2013 Return-Path: Delivered-To: freebsd-ppc@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 92B5918E for ; Tue, 15 Oct 2013 19:00:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 713D02FAC for ; Tue, 15 Oct 2013 19:00:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r9FJ02kC021978 for ; Tue, 15 Oct 2013 19:00:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r9FJ02Io021977; Tue, 15 Oct 2013 19:00:02 GMT (envelope-from gnats) Date: Tue, 15 Oct 2013 19:00:02 GMT Message-Id: <201310151900.r9FJ02Io021977@freefall.freebsd.org> To: freebsd-ppc@FreeBSD.org Cc: From: dfilter@FreeBSD.ORG (dfilter service) Subject: Re: powerpc/182978: commit references a PR X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: dfilter service List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Oct 2013 19:00:02 -0000 The following reply was made to PR powerpc/182978; it has been noted by GNATS. From: dfilter@FreeBSD.ORG (dfilter service) To: bug-followup@FreeBSD.org Cc: Subject: Re: powerpc/182978: commit references a PR Date: Tue, 15 Oct 2013 18:59:40 +0000 (UTC) Author: andreast Date: Tue Oct 15 18:59:32 2013 New Revision: 256555 URL: http://svnweb.freebsd.org/changeset/base/256555 Log: Move the resource allocation from the ata_*_probe section to the ata_*_attach section. This prevents a boot crash on nearly all iMacs and PowerMacs/Books. The allocation in the probe section was working before because ata_probe was returning 0 which did not invoke a second DEVICE_PROBE. Now it returns a BUS_PROBE_DEFAULT which can invoke a second DEVICE_PROBE which results in a "failed to reserve resource" exit. PR: powerpc/182978 Discussed with: grehan@ MFC after: 1 Week Modified: head/sys/powerpc/powermac/ata_kauai.c head/sys/powerpc/powermac/ata_macio.c Modified: head/sys/powerpc/powermac/ata_kauai.c ============================================================================== --- head/sys/powerpc/powermac/ata_kauai.c Tue Oct 15 18:07:23 2013 (r256554) +++ head/sys/powerpc/powermac/ata_kauai.c Tue Oct 15 18:59:32 2013 (r256555) @@ -194,12 +194,11 @@ static const u_int udma_timing_shasta[] static int ata_kauai_probe(device_t dev) { - struct ata_channel *ch; struct ata_kauai_softc *sc; u_int32_t devid; phandle_t node; const char *compatstring = NULL; - int i, found, rid; + int i, found; found = 0; devid = pci_get_devid(dev); @@ -216,7 +215,6 @@ ata_kauai_probe(device_t dev) node = ofw_bus_get_node(dev); sc = device_get_softc(dev); bzero(sc, sizeof(struct ata_kauai_softc)); - ch = &sc->sc_ch.sc_ch; compatstring = ofw_bus_get_compat(dev); if (compatstring != NULL && strcmp(compatstring,"shasta-ata") == 0) @@ -227,32 +225,6 @@ ata_kauai_probe(device_t dev) (compatstring == NULL || strcmp(compatstring, "K2-UATA") != 0)) bus_set_resource(dev, SYS_RES_IRQ, 0, 39, 1); - rid = PCIR_BARS; - sc->sc_memr = bus_alloc_resource_any(dev, SYS_RES_MEMORY, &rid, - RF_ACTIVE); - if (sc->sc_memr == NULL) { - device_printf(dev, "could not allocate memory\n"); - return (ENXIO); - } - - /* - * Set up the resource vectors - */ - for (i = ATA_DATA; i <= ATA_COMMAND; i++) { - ch->r_io[i].res = sc->sc_memr; - ch->r_io[i].offset = i*ATA_KAUAI_REGGAP + ATA_KAUAI_REGOFFSET; - } - ch->r_io[ATA_CONTROL].res = sc->sc_memr; - ch->r_io[ATA_CONTROL].offset = ATA_KAUAI_ALTOFFSET; - ata_default_registers(dev); - - ch->unit = 0; - ch->flags |= ATA_USE_16BIT; - - /* XXX: ATAPI DMA is unreliable. We should find out why. */ - ch->flags |= ATA_NO_ATAPI_DMA; - ata_generic_hw(dev); - return (ata_probe(dev)); } @@ -272,12 +244,42 @@ static int ata_kauai_attach(device_t dev) { struct ata_kauai_softc *sc = device_get_softc(dev); + struct ata_channel *ch; + int i, rid; #if USE_DBDMA_IRQ int dbdma_irq_rid = 1; struct resource *dbdma_irq; void *cookie; #endif + ch = &sc->sc_ch.sc_ch; + + rid = PCIR_BARS; + sc->sc_memr = bus_alloc_resource_any(dev, SYS_RES_MEMORY, &rid, + RF_ACTIVE); + if (sc->sc_memr == NULL) { + device_printf(dev, "could not allocate memory\n"); + return (ENXIO); + } + + /* + * Set up the resource vectors + */ + for (i = ATA_DATA; i <= ATA_COMMAND; i++) { + ch->r_io[i].res = sc->sc_memr; + ch->r_io[i].offset = i*ATA_KAUAI_REGGAP + ATA_KAUAI_REGOFFSET; + } + ch->r_io[ATA_CONTROL].res = sc->sc_memr; + ch->r_io[ATA_CONTROL].offset = ATA_KAUAI_ALTOFFSET; + ata_default_registers(dev); + + ch->unit = 0; + ch->flags |= ATA_USE_16BIT; + + /* XXX: ATAPI DMA is unreliable. We should find out why. */ + ch->flags |= ATA_NO_ATAPI_DMA; + ata_generic_hw(dev); + pci_enable_busmaster(dev); /* Init DMA engine */ Modified: head/sys/powerpc/powermac/ata_macio.c ============================================================================== --- head/sys/powerpc/powermac/ata_macio.c Tue Oct 15 18:07:23 2013 (r256554) +++ head/sys/powerpc/powermac/ata_macio.c Tue Oct 15 18:59:32 2013 (r256555) @@ -152,8 +152,6 @@ ata_macio_probe(device_t dev) const char *type = ofw_bus_get_type(dev); const char *name = ofw_bus_get_name(dev); struct ata_macio_softc *sc; - struct ata_channel *ch; - int rid, i; if (strcmp(type, "ata") != 0 && strcmp(type, "ide") != 0) @@ -161,7 +159,6 @@ ata_macio_probe(device_t dev) sc = device_get_softc(dev); bzero(sc, sizeof(struct ata_macio_softc)); - ch = &sc->sc_ch.sc_ch; if (strcmp(name,"ata-4") == 0) { device_set_desc(dev,"Apple MacIO Ultra ATA Controller"); @@ -173,7 +170,23 @@ ata_macio_probe(device_t dev) sc->max_mode = ATA_WDMA2; } + return (ata_probe(dev)); +} + +static int +ata_macio_attach(device_t dev) +{ + struct ata_macio_softc *sc = device_get_softc(dev); + uint32_t timingreg; + struct ata_channel *ch; + int rid, i; + + /* + * Allocate resources + */ + rid = 0; + ch = &sc->sc_ch.sc_ch; sc->sc_mem = bus_alloc_resource_any(dev, SYS_RES_MEMORY, &rid, RF_ACTIVE); if (sc->sc_mem == NULL) { @@ -196,15 +209,6 @@ ata_macio_probe(device_t dev) ch->flags |= ATA_USE_16BIT | ATA_NO_ATAPI_DMA; ata_generic_hw(dev); - return (ata_probe(dev)); -} - -static int -ata_macio_attach(device_t dev) -{ - struct ata_macio_softc *sc = device_get_softc(dev); - uint32_t timingreg; - #if USE_DBDMA_IRQ int dbdma_irq_rid = 1; struct resource *dbdma_irq; _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org" From owner-freebsd-ppc@FreeBSD.ORG Tue Oct 15 20:08:37 2013 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 868ED17B; Tue, 15 Oct 2013 20:08:37 +0000 (UTC) (envelope-from bright@mu.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id 73EC624AC; Tue, 15 Oct 2013 20:08:37 +0000 (UTC) Received: from Alfreds-MacBook-Pro-9.local (c-76-21-10-192.hsd1.ca.comcast.net [76.21.10.192]) by elvis.mu.org (Postfix) with ESMTPSA id 2C6171A3C27; Tue, 15 Oct 2013 13:08:37 -0700 (PDT) Message-ID: <525DA0C5.9030108@mu.org> Date: Tue, 15 Oct 2013 13:08:37 -0700 From: Alfred Perlstein User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:24.0) Gecko/20100101 Thunderbird/24.0.1 MIME-Version: 1.0 To: Justin Hibbits , FreeBSD PowerPC ML Subject: Re: DTrace/PowerPC References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Oct 2013 20:08:37 -0000 On 10/15/13 9:46 AM, Justin Hibbits wrote: > This morning I committed the final major piece of DTrace for PowerPC, the > fasttrap (user trapping) module. I haven't fully tested it, in fact I've > barely tested it beyond build and logic analysis, and confirming it doesn't > break anything. I've set a MFC to a month from now, so more testing can be > done. > > Anyone who has a spare machine, please please please test. Not just > Fasttrap, but FBT and the rest, and let me know the results. > > - Justin > _______________________________________________ > freebsd-ppc@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ppc > To unsubscribe, send any mail to "freebsd-ppc-unsubscribe@freebsd.org" > Is there a generic "how to dtrace user/kernel apps" page these days I can crib from? -- Alfred Perlstein From owner-freebsd-ppc@FreeBSD.ORG Tue Oct 15 21:26:27 2013 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id C80A22E1 for ; Tue, 15 Oct 2013 21:26:27 +0000 (UTC) (envelope-from chmeeedalf@gmail.com) Received: from mail-bk0-x22f.google.com (mail-bk0-x22f.google.com [IPv6:2a00:1450:4008:c01::22f]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 6046E29CA for ; Tue, 15 Oct 2013 21:26:27 +0000 (UTC) Received: by mail-bk0-f47.google.com with SMTP id mx12so3350155bkb.6 for ; Tue, 15 Oct 2013 14:26:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=/9UE6jOw2fXoVZYV+s/HdgxEAjKFxlWme5Wpvjw8U9Y=; b=MmfD39I4esGV//klA/bfR+3br1RT52Zz9XUdDngl7Agy/lg7AFsYIwu9gDGrYdq0gr 7qtXoe+B3u///MWseFYcCB4YtnkQw8s2DuZvdGY7USs6opsbCDcH/NI65WhpoaOHp4zG H9iXGpgTR1tRb/YzNECF2fJRzUr4Eh/Y+/4XRiCP1KIVylBd974mpjH2gKGXyC8n+Lqc CpNWBBwUeCh4JSFlIA3JNaVBXHbEBd4+aYtjai+V1YSB891sRPtzFsKPM+mpQy665WS2 ljC1w2kA0gprKLa+rjcx75hl8At4RqGua92X66E/J0g9+ljrP9VCobkJaTRb19TjuzZa 08jg== MIME-Version: 1.0 X-Received: by 10.205.86.199 with SMTP id at7mr38057025bkc.9.1381872385570; Tue, 15 Oct 2013 14:26:25 -0700 (PDT) Sender: chmeeedalf@gmail.com Received: by 10.205.13.199 with HTTP; Tue, 15 Oct 2013 14:26:25 -0700 (PDT) In-Reply-To: <525DA0C5.9030108@mu.org> References: <525DA0C5.9030108@mu.org> Date: Tue, 15 Oct 2013 14:26:25 -0700 X-Google-Sender-Auth: 4J2Ws9Hjxzk7-8IE1Q7L6TD0xvU Message-ID: Subject: Re: DTrace/PowerPC From: Justin Hibbits To: Alfred Perlstein Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: FreeBSD PowerPC ML X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Oct 2013 21:26:27 -0000 On Tue, Oct 15, 2013 at 1:08 PM, Alfred Perlstein wrote: > On 10/15/13 9:46 AM, Justin Hibbits wrote: > >> This morning I committed the final major piece of DTrace for PowerPC, the >> fasttrap (user trapping) module. I haven't fully tested it, in fact I've >> barely tested it beyond build and logic analysis, and confirming it >> doesn't >> break anything. I've set a MFC to a month from now, so more testing can >> be >> done. >> >> Anyone who has a spare machine, please please please test. Not just >> Fasttrap, but FBT and the rest, and let me know the results. >> >> - Justin >> >> Is there a generic "how to dtrace user/kernel apps" page these days I > can crib from? > > -- > Alfred Perlstein > > No idea. Most of my tests consist of 'dtrace -l' and dtruss. A quick google turns up this: http://www.oracle.com/technetwork/server-storage/solaris/dtrace-tutorial-142317.htmlstraight from the source. - Justin From owner-freebsd-ppc@FreeBSD.ORG Wed Oct 16 08:15:25 2013 Return-Path: Delivered-To: powerpc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 30D70FB0; Wed, 16 Oct 2013 08:15:25 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id E9BA5296C; Wed, 16 Oct 2013 08:15:24 +0000 (UTC) Received: from freebsd-current.sentex.ca (localhost [127.0.0.1]) by freebsd-current.sentex.ca (8.14.5/8.14.5) with ESMTP id r9G85iD4087500; Wed, 16 Oct 2013 04:05:44 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-current.sentex.ca (8.14.5/8.14.5/Submit) id r9G85i8U087499; Wed, 16 Oct 2013 08:05:44 GMT (envelope-from tinderbox@freebsd.org) Date: Wed, 16 Oct 2013 08:05:44 GMT Message-Id: <201310160805.r9G85i8U087499@freebsd-current.sentex.ca> X-Authentication-Warning: freebsd-current.sentex.ca: tinderbox set sender to FreeBSD Tinderbox using -f Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Subject: [head tinderbox] failure on powerpc/powerpc Precedence: bulk X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.14 List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Oct 2013 08:15:25 -0000 TB --- 2013-10-16 04:39:11 - tinderbox 2.20 running on freebsd-current.sentex.ca TB --- 2013-10-16 04:39:11 - FreeBSD freebsd-current.sentex.ca 8.3-PRERELEASE FreeBSD 8.3-PRERELEASE #0: Mon Mar 26 13:54:12 EDT 2012 des@freebsd-current.sentex.ca:/usr/obj/usr/src/sys/GENERIC amd64 TB --- 2013-10-16 04:39:11 - starting HEAD tinderbox run for powerpc/powerpc TB --- 2013-10-16 04:39:11 - cleaning the object tree TB --- 2013-10-16 04:39:11 - /usr/local/bin/svn stat /src TB --- 2013-10-16 04:39:15 - At svn revision 256557 TB --- 2013-10-16 04:39:16 - building world TB --- 2013-10-16 04:39:16 - CROSS_BUILD_TESTING=YES TB --- 2013-10-16 04:39:16 - MAKEOBJDIRPREFIX=/obj TB --- 2013-10-16 04:39:16 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2013-10-16 04:39:16 - SRCCONF=/dev/null TB --- 2013-10-16 04:39:16 - TARGET=powerpc TB --- 2013-10-16 04:39:16 - TARGET_ARCH=powerpc TB --- 2013-10-16 04:39:16 - TZ=UTC TB --- 2013-10-16 04:39:16 - __MAKE_CONF=/dev/null TB --- 2013-10-16 04:39:16 - cd /src TB --- 2013-10-16 04:39:16 - /usr/bin/make -B buildworld >>> Building an up-to-date make(1) >>> World build started on Wed Oct 16 04:39:23 UTC 2013 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies >>> stage 4.4: building everything >>> World build completed on Wed Oct 16 07:22:30 UTC 2013 TB --- 2013-10-16 07:22:30 - generating LINT kernel config TB --- 2013-10-16 07:22:30 - cd /src/sys/powerpc/conf TB --- 2013-10-16 07:22:30 - /usr/bin/make -B LINT TB --- 2013-10-16 07:22:30 - cd /src/sys/powerpc/conf TB --- 2013-10-16 07:22:30 - /usr/sbin/config -m LINT TB --- 2013-10-16 07:22:30 - building LINT kernel TB --- 2013-10-16 07:22:30 - CROSS_BUILD_TESTING=YES TB --- 2013-10-16 07:22:30 - MAKEOBJDIRPREFIX=/obj TB --- 2013-10-16 07:22:30 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2013-10-16 07:22:30 - SRCCONF=/dev/null TB --- 2013-10-16 07:22:30 - TARGET=powerpc TB --- 2013-10-16 07:22:30 - TARGET_ARCH=powerpc TB --- 2013-10-16 07:22:30 - TZ=UTC TB --- 2013-10-16 07:22:30 - __MAKE_CONF=/dev/null TB --- 2013-10-16 07:22:30 - cd /src TB --- 2013-10-16 07:22:30 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Wed Oct 16 07:22:30 UTC 2013 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything >>> Kernel build for LINT completed on Wed Oct 16 07:42:09 UTC 2013 TB --- 2013-10-16 07:42:09 - cd /src/sys/powerpc/conf TB --- 2013-10-16 07:42:09 - /usr/sbin/config -m GENERIC TB --- 2013-10-16 07:42:09 - building GENERIC kernel TB --- 2013-10-16 07:42:09 - CROSS_BUILD_TESTING=YES TB --- 2013-10-16 07:42:09 - MAKEOBJDIRPREFIX=/obj TB --- 2013-10-16 07:42:09 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2013-10-16 07:42:09 - SRCCONF=/dev/null TB --- 2013-10-16 07:42:09 - TARGET=powerpc TB --- 2013-10-16 07:42:09 - TARGET_ARCH=powerpc TB --- 2013-10-16 07:42:09 - TZ=UTC TB --- 2013-10-16 07:42:09 - __MAKE_CONF=/dev/null TB --- 2013-10-16 07:42:09 - cd /src TB --- 2013-10-16 07:42:09 - /usr/bin/make -B buildkernel KERNCONF=GENERIC >>> Kernel build for GENERIC started on Wed Oct 16 07:42:09 UTC 2013 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything >>> Kernel build for GENERIC completed on Wed Oct 16 07:58:21 UTC 2013 TB --- 2013-10-16 07:58:21 - cd /src/sys/powerpc/conf TB --- 2013-10-16 07:58:21 - /usr/sbin/config -m GENERIC64 TB --- 2013-10-16 07:58:21 - skipping GENERIC64 kernel TB --- 2013-10-16 07:58:21 - cd /src/sys/powerpc/conf TB --- 2013-10-16 07:58:21 - /usr/sbin/config -m MPC85XX TB --- 2013-10-16 07:58:21 - building MPC85XX kernel TB --- 2013-10-16 07:58:21 - CROSS_BUILD_TESTING=YES TB --- 2013-10-16 07:58:21 - MAKEOBJDIRPREFIX=/obj TB --- 2013-10-16 07:58:21 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2013-10-16 07:58:21 - SRCCONF=/dev/null TB --- 2013-10-16 07:58:21 - TARGET=powerpc TB --- 2013-10-16 07:58:21 - TARGET_ARCH=powerpc TB --- 2013-10-16 07:58:21 - TZ=UTC TB --- 2013-10-16 07:58:21 - __MAKE_CONF=/dev/null TB --- 2013-10-16 07:58:21 - cd /src TB --- 2013-10-16 07:58:21 - /usr/bin/make -B buildkernel KERNCONF=MPC85XX >>> Kernel build for MPC85XX started on Wed Oct 16 07:58:21 UTC 2013 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything >>> Kernel build for MPC85XX completed on Wed Oct 16 08:01:20 UTC 2013 TB --- 2013-10-16 08:01:20 - cd /src/sys/powerpc/conf TB --- 2013-10-16 08:01:20 - /usr/sbin/config -m WII TB --- 2013-10-16 08:01:20 - building WII kernel TB --- 2013-10-16 08:01:20 - CROSS_BUILD_TESTING=YES TB --- 2013-10-16 08:01:20 - MAKEOBJDIRPREFIX=/obj TB --- 2013-10-16 08:01:20 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2013-10-16 08:01:20 - SRCCONF=/dev/null TB --- 2013-10-16 08:01:20 - TARGET=powerpc TB --- 2013-10-16 08:01:20 - TARGET_ARCH=powerpc TB --- 2013-10-16 08:01:20 - TZ=UTC TB --- 2013-10-16 08:01:20 - __MAKE_CONF=/dev/null TB --- 2013-10-16 08:01:20 - cd /src TB --- 2013-10-16 08:01:20 - /usr/bin/make -B buildkernel KERNCONF=WII >>> Kernel build for WII started on Wed Oct 16 08:01:20 UTC 2013 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything [...] cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -msoft-float -Wa,-many -fno-omit-frame-pointer -msoft-float -mno-altivec -ffreestanding -fstack-protector -Werror /src/sys/libkern/umoddi3.c cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -msoft-float -Wa,-many -fno-omit-frame-pointer -msoft-float -mno-altivec -ffreestanding -fstack-protector -Werror /src/sys/powerpc/aim/clock.c cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -msoft-float -Wa,-many -fno-omit-frame-pointer -msoft-float -mno-altivec -ffreestanding -fstack-protector -Werror /src/sys/powerpc/aim/copyinout.c cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -msoft-float -Wa,-many -fno-omit-frame-pointer -msoft-float -mno-altivec -ffreestanding -fstack-protector -Werror /src/sys/powerpc/aim/interrupt.c /src/sys/powerpc/aim/interrupt.c: In function 'powerpc_interrupt': /src/sys/powerpc/aim/interrupt.c:106: error: 'pmc_intr' undeclared (first use in this function) /src/sys/powerpc/aim/interrupt.c:106: error: (Each undeclared identifier is reported only once /src/sys/powerpc/aim/interrupt.c:106: error: for each function it appears in.) *** Error code 1 Stop. bmake[1]: stopped in /obj/powerpc.powerpc/src/sys/WII *** Error code 1 Stop. bmake: stopped in /src *** Error code 1 Stop in /src. TB --- 2013-10-16 08:05:44 - WARNING: /usr/bin/make returned exit code 1 TB --- 2013-10-16 08:05:44 - ERROR: failed to build WII kernel TB --- 2013-10-16 08:05:44 - 10488.03 user 1368.17 system 12392.55 real http://tinderbox.freebsd.org/tinderbox-head-build-HEAD-powerpc-powerpc.full From owner-freebsd-ppc@FreeBSD.ORG Thu Oct 17 00:00:01 2013 Return-Path: Delivered-To: freebsd-ppc@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 52EB1890 for ; Thu, 17 Oct 2013 00:00:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 2EE7823AC for ; Thu, 17 Oct 2013 00:00:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r9H001vk036394 for ; Thu, 17 Oct 2013 00:00:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r9H000ew036347; Thu, 17 Oct 2013 00:00:00 GMT (envelope-from gnats) Resent-Date: Thu, 17 Oct 2013 00:00:00 GMT Resent-Message-Id: <201310170000.r9H000ew036347@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ppc@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Julio Merino Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id B91C12D2 for ; Wed, 16 Oct 2013 23:51:04 +0000 (UTC) (envelope-from julio@meroh.net) Received: from cdptpa-oedge-vip.email.rr.com (cdptpa-outbound-snat.email.rr.com [107.14.166.225]) by mx1.freebsd.org (Postfix) with ESMTP id 799E02361 for ; Wed, 16 Oct 2013 23:51:04 +0000 (UTC) Received: from [108.176.158.82] ([108.176.158.82:65326] helo=portal.meroh.net) by cdptpa-oedge01 (envelope-from ) (ecelerity 3.5.0.35861 r(Momo-dev:tip)) with ESMTP id 01/7B-02506-0662F525; Wed, 16 Oct 2013 23:50:57 +0000 Received: from mastodon.meroh.net (mastodon.meroh.net [192.168.1.12]) by portal.meroh.net (Postfix) with ESMTP id 62C81EFE67 for ; Wed, 16 Oct 2013 19:50:47 -0400 (EDT) Received: from mastodon.meroh.net (localhost [127.0.0.1]) by mastodon.meroh.net (8.14.7/8.14.7) with ESMTP id r9GNnDMf012498 for ; Wed, 16 Oct 2013 19:49:13 -0400 (EDT) (envelope-from jmmv@mastodon.meroh.net) Received: (from jmmv@localhost) by mastodon.meroh.net (8.14.7/8.14.7/Submit) id r9GNnDud012497; Wed, 16 Oct 2013 19:49:13 -0400 (EDT) (envelope-from jmmv) Message-Id: <201310162349.r9GNnDud012497@mastodon.meroh.net> Date: Wed, 16 Oct 2013 19:49:13 -0400 (EDT) From: Julio Merino To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.114 Subject: powerpc/183040: Nested signal handling is broken X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Julio Merino List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Oct 2013 00:00:01 -0000 >Number: 183040 >Category: powerpc >Synopsis: Nested signal handling is broken >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ppc >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Oct 17 00:00:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Julio Merino >Release: FreeBSD 11.0-CURRENT powerpc >Organization: >Environment: System: FreeBSD mastodon.meroh.net 11.0-CURRENT FreeBSD 11.0-CURRENT #9 r256450M: Mon Oct 14 16:35:08 EDT 2013 jmmv@mastodon.meroh.net:/usr/obj/usr/src/sys/GENERIC64 powerpc Also affects FreeBSD 10.0 alphas. >Description: When programming a given signal twice in a nested manner, the unprogramming of the top-most signal handler does not properly restore the previous (non-default handler). In other words: program signal X program signal X deliver signal X to self -- custom handler runs unprogram signal X deliver signal X to self -- default handler runs or not delivered unprogram signal X Interestingly, things seem to work well for X = SIGTERM but not for X = SIGHUP nor X = SIGINT. I have not tested other signals. I have encountered this bug while running the kyua test suite on a powerpc64 machine (specifics detailed above) and noticing a couple of tests fail, which work well in other operating systems and in amd64. The test case below is derived form the code in kyua. Here is the output of the test program on an amd64 machine, which to my knowledge is working properly: SIGNAL 1 Programming at level 1 Programming at level 0 Signal 1 caught correctly Unprogramming at level 0 Signal 1 caught correctly Unprogramming at level 1 SIGNAL 2 Programming at level 1 Programming at level 0 Signal 2 caught correctly Unprogramming at level 0 Signal 2 caught correctly Unprogramming at level 1 SIGNAL 15 Programming at level 1 Programming at level 0 Signal 15 caught correctly Unprogramming at level 0 Signal 15 caught correctly Unprogramming at level 1 The same test program yields this on powerpc64: SIGNAL 1 Programming at level 1 Programming at level 0 Signal 1 caught correctly Unprogramming at level 0 a.out: Signal 1 not caught >How-To-Repeat: Build and run this test program: ----- #include #include #include #include #include #include static bool caught = false; static void handler(const int signo) { caught = true; } static void do_it(const int signo, const int level) { struct sigaction sa, old_sa; printf("Programming at level %d\n", level); sa.sa_handler = handler; sigemptyset(&sa.sa_mask); sa.sa_flags = SA_RESTART; if (sigaction(signo, &sa, &old_sa) == -1) err(EXIT_FAILURE, "sigaction program failed"); if (level > 0) do_it(signo, level - 1); caught = false; kill(getpid(), signo); if (caught) printf("Signal %d caught correctly\n", signo); else errx(EXIT_FAILURE, "Signal %d not caught\n", signo); if (sigaction(signo, &old_sa, NULL) == -1) err(EXIT_FAILURE, "sigaction unprogram failed"); printf("Unprogramming at level %d\n", level); } static void try_one_signal(const int signo, const int level) { printf("SIGNAL %d\n", signo); do_it(signo, level); printf("\n"); } int main(void) { try_one_signal(SIGHUP, 1); try_one_signal(SIGINT, 1); try_one_signal(SIGTERM, 1); return EXIT_SUCCESS; } ----- >Fix: >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-ppc@FreeBSD.ORG Thu Oct 17 07:32:04 2013 Return-Path: Delivered-To: ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 7A178F9A for ; Thu, 17 Oct 2013 07:32:04 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from kib.kiev.ua (kib.kiev.ua [IPv6:2001:470:d5e7:1::1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 13FB0294D for ; Thu, 17 Oct 2013 07:32:03 +0000 (UTC) Received: from tom.home (kostik@localhost [127.0.0.1]) by kib.kiev.ua (8.14.7/8.14.7) with ESMTP id r9H7Vwhm033726; Thu, 17 Oct 2013 10:31:58 +0300 (EEST) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.8.3 kib.kiev.ua r9H7Vwhm033726 Received: (from kostik@localhost) by tom.home (8.14.7/8.14.7/Submit) id r9H7Vwpx033725; Thu, 17 Oct 2013 10:31:58 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Thu, 17 Oct 2013 10:31:58 +0300 From: Konstantin Belousov To: Julio Merino Subject: Re: powerpc/183040: Nested signal handling is broken Message-ID: <20131017073158.GB3865@kib.kiev.ua> References: <201310162349.r9GNnDud012497@mastodon.meroh.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="/w6WUUxYkubDgwa5" Content-Disposition: inline In-Reply-To: <201310162349.r9GNnDud012497@mastodon.meroh.net> User-Agent: Mutt/1.5.21 (2010-09-15) X-Spam-Status: No, score=-2.0 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED autolearn=no version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on tom.home Cc: ppc@freebsd.org X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Oct 2013 07:32:04 -0000 --/w6WUUxYkubDgwa5 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Oct 16, 2013 at 07:49:13PM -0400, Julio Merino wrote: >=20 > >Number: 183040 > >Category: powerpc > >Synopsis: Nested signal handling is broken > >Confidential: no > >Severity: serious > >Priority: medium > >Responsible: freebsd-ppc > >State: open > >Quarter: =20 > >Keywords: =20 > >Date-Required: > >Class: sw-bug > >Submitter-Id: current-users > >Arrival-Date: Thu Oct 17 00:00:00 UTC 2013 > >Closed-Date: > >Last-Modified: > >Originator: Julio Merino > >Release: FreeBSD 11.0-CURRENT powerpc > >Organization: > >Environment: > System: FreeBSD mastodon.meroh.net 11.0-CURRENT FreeBSD 11.0-CURRENT #9 r= 256450M: Mon Oct 14 16:35:08 EDT 2013 jmmv@mastodon.meroh.net:/usr/obj/usr/= src/sys/GENERIC64 powerpc >=20 > Also affects FreeBSD 10.0 alphas. >=20 > =09 > >Description: > When programming a given signal twice in a nested manner, the > unprogramming of the top-most signal handler does not properly > restore the previous (non-default handler). In other words: >=20 > program signal X > program signal X > deliver signal X to self -- custom handler runs > unprogram signal X > deliver signal X to self -- default handler runs or not delivered > unprogram signal X >=20 > Interestingly, things seem to work well for X =3D SIGTERM but not > for X =3D SIGHUP nor X =3D SIGINT. I have not tested other signals. >=20 > I have encountered this bug while running the kyua test suite > on a powerpc64 machine (specifics detailed above) and noticing > a couple of tests fail, which work well in other operating > systems and in amd64. The test case below is derived form the > code in kyua. >=20 > Here is the output of the test program on an amd64 machine, > which to my knowledge is working properly: >=20 > SIGNAL 1 > Programming at level 1 > Programming at level 0 > Signal 1 caught correctly > Unprogramming at level 0 > Signal 1 caught correctly > Unprogramming at level 1 >=20 > SIGNAL 2 > Programming at level 1 > Programming at level 0 > Signal 2 caught correctly > Unprogramming at level 0 > Signal 2 caught correctly > Unprogramming at level 1 >=20 > SIGNAL 15 > Programming at level 1 > Programming at level 0 > Signal 15 caught correctly > Unprogramming at level 0 > Signal 15 caught correctly > Unprogramming at level 1 >=20 > The same test program yields this on powerpc64: >=20 > SIGNAL 1 > Programming at level 1 > Programming at level 0 > Signal 1 caught correctly > Unprogramming at level 0 > a.out: Signal 1 not caught >=20 > >How-To-Repeat: > Build and run this test program: >=20 > ----- > #include > #include > #include > #include > #include > #include >=20 > static bool caught =3D false; >=20 > static void > handler(const int signo) > { > caught =3D true; > } >=20 > static void > do_it(const int signo, const int level) > { > struct sigaction sa, old_sa; >=20 > printf("Programming at level %d\n", level); >=20 > sa.sa_handler =3D handler; > sigemptyset(&sa.sa_mask); > sa.sa_flags =3D SA_RESTART; >=20 > if (sigaction(signo, &sa, &old_sa) =3D=3D -1) > err(EXIT_FAILURE, "sigaction program failed"); >=20 > if (level > 0) > do_it(signo, level - 1); >=20 > caught =3D false; > kill(getpid(), signo); > if (caught) > printf("Signal %d caught correctly\n", signo); > else > errx(EXIT_FAILURE, "Signal %d not caught\n", signo); >=20 > if (sigaction(signo, &old_sa, NULL) =3D=3D -1) > err(EXIT_FAILURE, "sigaction unprogram failed"); >=20 > printf("Unprogramming at level %d\n", level); > } >=20 > static void > try_one_signal(const int signo, const int level) > { > printf("SIGNAL %d\n", signo); > do_it(signo, level); > printf("\n"); > } >=20 > int > main(void) > { > try_one_signal(SIGHUP, 1); > try_one_signal(SIGINT, 1); > try_one_signal(SIGTERM, 1); > return EXIT_SUCCESS; > } What you could do, is to localize the point where the breakage occur. Add a function like this: static void print_sig_disposition(int signo) { struct sigaction sa; sigaction(signo, NULL, &sa); printf("sig %d handler %p\n", signo, sa.sa_handler); } and sprinkle a calls to it often enough, to see where the reset of the disposition happens. Insert the call to the function into the signal handler as well. --/w6WUUxYkubDgwa5 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (FreeBSD) iQIcBAEBAgAGBQJSX5JtAAoJEJDCuSvBvK1BaWoP/07mgLfpnYMMnQ0BbmjVwFYX emwYOT3SCtHzr2wXqAVZTg598cj9y4raf7IZO+w71ywneJpeOG/Ymxw4eZE68sl5 lfV7oA/2jiPWQVxNCJ9XBscHr0m6e5Q+oQJqVL90zQfd/eJiyhrX8URuYbQsqZj2 BmSaF1z9PUXJJfXzlQsHe2zS0J+nHASt1YF81QAP/HWpzIhcQfs7dktzk2FqkBxR Q+jGdhj36pcLXjU4dVcGQV2AWknvkQMHP3oZZXhm6KBjfcQ/pFwJnc9NSu4IATZ8 D+ogmKHinBsoP8ZAwf0NK1hoOn2HKzfnAOeWfelIcOISypPI3tRMQDEGh3yzoGRy xFjV2y/NYSQ6gSDgAF7R+NSUcb1KEdTvmBaoeOFyxmLO27JkX/mlT7BJnZi7GDD0 tHn9CTi/G7mM0sXuCFD6Td+uJOG5nyrdq1eViiNjGVq4K4taqAfhwUlxG59uMILd Q3YehhXQNUCSrRm+YP2id9AqRsTYaZGdnRXv94l5rI7+AhKmKe2TClVf5Lk23jPx ShaIyBP6+S83onIrrqxICm4AYInN0KAmQuNt2QBphFNGuc52FK7LJEFJA6xQ0yQ7 /U4A2fnA1WHVmSu3xCJxOLrw9Pqby3uSNXhR7spITh9U4KNiFpLkKvF3DM8g0jhv kiwpaKfg4jceS+yBPIsy =NfKd -----END PGP SIGNATURE----- --/w6WUUxYkubDgwa5-- From owner-freebsd-ppc@FreeBSD.ORG Thu Oct 17 21:30:01 2013 Return-Path: Delivered-To: freebsd-ppc@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 7401C83F for ; Thu, 17 Oct 2013 21:30:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 3BD2C241B for ; Thu, 17 Oct 2013 21:30:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r9HLU1La002710 for ; Thu, 17 Oct 2013 21:30:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r9HLU1mw002709; Thu, 17 Oct 2013 21:30:01 GMT (envelope-from gnats) Resent-Date: Thu, 17 Oct 2013 21:30:01 GMT Resent-Message-Id: <201310172130.r9HLU1mw002709@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ppc@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, David Newman Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 74F51759 for ; Thu, 17 Oct 2013 21:26:38 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from oldred.freebsd.org (oldred.freebsd.org [8.8.178.121]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 62B8E23FA for ; Thu, 17 Oct 2013 21:26:38 +0000 (UTC) Received: from oldred.freebsd.org ([127.0.1.6]) by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id r9HLQcLa066875 for ; Thu, 17 Oct 2013 21:26:38 GMT (envelope-from nobody@oldred.freebsd.org) Received: (from nobody@localhost) by oldred.freebsd.org (8.14.5/8.14.5/Submit) id r9HLQcPk066872; Thu, 17 Oct 2013 21:26:38 GMT (envelope-from nobody) Message-Id: <201310172126.r9HLQcPk066872@oldred.freebsd.org> Date: Thu, 17 Oct 2013 21:26:38 GMT From: David Newman To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: powerpc/183073: Bad links for lzip-1.14 port X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Oct 2013 21:30:01 -0000 >Number: 183073 >Category: powerpc >Synopsis: Bad links for lzip-1.14 port >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ppc >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Thu Oct 17 21:30:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: David Newman >Release: 9.1-RELEASE >Organization: Network Test >Environment: FreeBSD mail5.networktest.com 9.1-RELEASE-p7 FreeBSD 9.1-RELEASE-p7 #0: Mon Sep 9 21:34:37 UTC 2013 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 >Description: All links to the archivers/lzip-1.14 port are down. I emailed the port maintainer and ports@ a week ago, but have not heard back: http://www.opendevs.org/iwzku/freebsd-port-lzip-1-14.html The suggested workaround is to download the tar.gz file from a Fedora site. That file's sha256 digest is OK, and I was able to proceed with the upgrade. But this should just work in ports. >How-To-Repeat: cd /usr/ports/archives/lzip sudo make install clean >Fix: The suggested workaround is to download the tar.gz file from a Fedora site: http://pkgs.fedoraproject.org/repo/pkgs/lzip/lzip-1.14.tar.gz/39a4b06952ee45274525dc0582cdd651/lzip-1.14.tar.gz That file's sha256 digest is OK, and I was able to proceed with the upgrade. But this should just work in ports. >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-ppc@FreeBSD.ORG Thu Oct 17 21:40:02 2013 Return-Path: Delivered-To: freebsd-ppc@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id ADAB9DC7 for ; Thu, 17 Oct 2013 21:40:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 816B524CC for ; Thu, 17 Oct 2013 21:40:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r9HLe2LB004690 for ; Thu, 17 Oct 2013 21:40:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r9HLe2mF004689; Thu, 17 Oct 2013 21:40:02 GMT (envelope-from gnats) Date: Thu, 17 Oct 2013 21:40:02 GMT Message-Id: <201310172140.r9HLe2mF004689@freefall.freebsd.org> To: freebsd-ppc@FreeBSD.org Cc: From: David Newman Subject: Re: powerpc/183073: Bad links for lzip-1.14 port X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: David Newman List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Oct 2013 21:40:02 -0000 The following reply was made to PR powerpc/183073; it has been noted by GNATS. From: David Newman To: bug-followup@FreeBSD.org, dnewman@networktest.com Cc: Subject: Re: powerpc/183073: Bad links for lzip-1.14 port Date: Thu, 17 Oct 2013 14:33:07 -0700 Sorry, I made a mistake when filing this PR. It belongs in ports, not powerpc. dn From owner-freebsd-ppc@FreeBSD.ORG Fri Oct 18 20:08:00 2013 Return-Path: Delivered-To: ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 7C5D1B84 for ; Fri, 18 Oct 2013 20:08:00 +0000 (UTC) (envelope-from julio@meroh.net) Received: from mail-la0-f54.google.com (mail-la0-f54.google.com [209.85.215.54]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 098F22B10 for ; Fri, 18 Oct 2013 20:07:59 +0000 (UTC) Received: by mail-la0-f54.google.com with SMTP id ea20so1132341lab.41 for ; Fri, 18 Oct 2013 13:07:51 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=51cFqyblMSs/bVvh79DNCCoMx7CKTR1f6jwqLV8wbtA=; b=OCQBHIAVVDNyn0nCoxmrxIBEY3etW433sSyWkGbYs+iu+WNo38v/fNISXXp0eiB7Wv QhwaY7VgXOy7I1AESdmaWhsD7ZJU1wDtCDZBBugp0g3UUaJ4tHWDaYcxDJHDA31jNnay E5KCTHiytZrbsynm/BYmpaa5uRnBgHT3wt57AtMjMUIGzGcVyn6S7ozbbGznkbK/rFj3 WMDmzfQfroqvqxENQDGnTN70dh/BK9+9CjeBa9bdkXzmEuAQN38a/Ex10AK7K6xzGAXt 4o2d0pZKJUfcNyJJYLdHcNkQahMtF5aaaNJijMRy/ChMMPYKEBSpVSCNZF0s4KhOstJA NaRg== X-Gm-Message-State: ALoCoQk67Wt8nUCfK6hs9v6LIAxPEfElVkI2V7645RbaATf4epy0Sbt+6UjkdO/dVjnp15NB+Jb+ X-Received: by 10.112.156.166 with SMTP id wf6mr3788140lbb.13.1382126870458; Fri, 18 Oct 2013 13:07:50 -0700 (PDT) MIME-Version: 1.0 Received: by 10.112.132.135 with HTTP; Fri, 18 Oct 2013 13:07:30 -0700 (PDT) X-Originating-IP: [108.176.158.82] In-Reply-To: <20131017073158.GB3865@kib.kiev.ua> References: <201310162349.r9GNnDud012497@mastodon.meroh.net> <20131017073158.GB3865@kib.kiev.ua> From: Julio Merino Date: Fri, 18 Oct 2013 16:07:30 -0400 Message-ID: Subject: Re: powerpc/183040: Nested signal handling is broken To: Konstantin Belousov Content-Type: text/plain; charset=ISO-8859-1 Cc: ppc@freebsd.org X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Oct 2013 20:08:00 -0000 On Thu, Oct 17, 2013 at 3:31 AM, Konstantin Belousov wrote: > What you could do, is to localize the point where the breakage occur. > Add a function like this: > > static void > print_sig_disposition(int signo) > { > struct sigaction sa; > sigaction(signo, NULL, &sa); > printf("sig %d handler %p\n", signo, sa.sa_handler); > } > > and sprinkle a calls to it often enough, to see where the reset of the > disposition happens. Insert the call to the function into the signal > handler as well. As far as I can tell, the sa_handler remains set all the time. It's correct before the call to kill(). -- Julio Merino / @jmmv From owner-freebsd-ppc@FreeBSD.ORG Sat Oct 19 06:27:50 2013 Return-Path: Delivered-To: powerpc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id AFF1B2B5; Sat, 19 Oct 2013 06:27:50 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 6B29528C8; Sat, 19 Oct 2013 06:27:49 +0000 (UTC) Received: from freebsd-current.sentex.ca (localhost [127.0.0.1]) by freebsd-current.sentex.ca (8.14.5/8.14.5) with ESMTP id r9J6Rn49071961; Sat, 19 Oct 2013 02:27:49 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-current.sentex.ca (8.14.5/8.14.5/Submit) id r9J6Rm2T071956; Sat, 19 Oct 2013 06:27:48 GMT (envelope-from tinderbox@freebsd.org) Date: Sat, 19 Oct 2013 06:27:48 GMT Message-Id: <201310190627.r9J6Rm2T071956@freebsd-current.sentex.ca> X-Authentication-Warning: freebsd-current.sentex.ca: tinderbox set sender to FreeBSD Tinderbox using -f Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Subject: [head tinderbox] failure on powerpc/powerpc Precedence: bulk X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.14 List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Oct 2013 06:27:50 -0000 TB --- 2013-10-19 03:35:27 - tinderbox 2.20 running on freebsd-current.sentex.ca TB --- 2013-10-19 03:35:27 - FreeBSD freebsd-current.sentex.ca 8.3-PRERELEASE FreeBSD 8.3-PRERELEASE #0: Mon Mar 26 13:54:12 EDT 2012 des@freebsd-current.sentex.ca:/usr/obj/usr/src/sys/GENERIC amd64 TB --- 2013-10-19 03:35:27 - starting HEAD tinderbox run for powerpc/powerpc TB --- 2013-10-19 03:35:27 - cleaning the object tree TB --- 2013-10-19 03:35:27 - /usr/local/bin/svn stat /src TB --- 2013-10-19 03:35:30 - At svn revision 256751 TB --- 2013-10-19 03:35:31 - building world TB --- 2013-10-19 03:35:31 - CROSS_BUILD_TESTING=YES TB --- 2013-10-19 03:35:31 - MAKEOBJDIRPREFIX=/obj TB --- 2013-10-19 03:35:31 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2013-10-19 03:35:31 - SRCCONF=/dev/null TB --- 2013-10-19 03:35:31 - TARGET=powerpc TB --- 2013-10-19 03:35:31 - TARGET_ARCH=powerpc TB --- 2013-10-19 03:35:31 - TZ=UTC TB --- 2013-10-19 03:35:31 - __MAKE_CONF=/dev/null TB --- 2013-10-19 03:35:31 - cd /src TB --- 2013-10-19 03:35:31 - /usr/bin/make -B buildworld >>> Building an up-to-date make(1) >>> World build started on Sat Oct 19 03:35:38 UTC 2013 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies >>> stage 4.4: building everything >>> World build completed on Sat Oct 19 06:19:41 UTC 2013 TB --- 2013-10-19 06:19:41 - generating LINT kernel config TB --- 2013-10-19 06:19:41 - cd /src/sys/powerpc/conf TB --- 2013-10-19 06:19:41 - /usr/bin/make -B LINT TB --- 2013-10-19 06:19:41 - cd /src/sys/powerpc/conf TB --- 2013-10-19 06:19:41 - /usr/sbin/config -m LINT TB --- 2013-10-19 06:19:41 - building LINT kernel TB --- 2013-10-19 06:19:41 - CROSS_BUILD_TESTING=YES TB --- 2013-10-19 06:19:41 - MAKEOBJDIRPREFIX=/obj TB --- 2013-10-19 06:19:41 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2013-10-19 06:19:41 - SRCCONF=/dev/null TB --- 2013-10-19 06:19:41 - TARGET=powerpc TB --- 2013-10-19 06:19:41 - TARGET_ARCH=powerpc TB --- 2013-10-19 06:19:41 - TZ=UTC TB --- 2013-10-19 06:19:41 - __MAKE_CONF=/dev/null TB --- 2013-10-19 06:19:41 - cd /src TB --- 2013-10-19 06:19:41 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Sat Oct 19 06:19:41 UTC 2013 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything [...] cc -c -O -pipe -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -msoft-float -Wa,-many -fno-omit-frame-pointer -msoft-float -mno-altivec -ffreestanding -fstack-protector -Werror /src/sys/geom/geom_vfs.c cc -c -O -pipe -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -msoft-float -Wa,-many -fno-omit-frame-pointer -msoft-float -mno-altivec -ffreestanding -fstack-protector -Werror /src/sys/geom/geom_vol_ffs.c cc -c -O -pipe -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -msoft-float -Wa,-many -fno-omit-frame-pointer -msoft-float -mno-altivec -ffreestanding -fstack-protector -Werror /src/sys/geom/journal/g_journal.c cc -c -O -pipe -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -msoft-float -Wa,-many -fno-omit-frame-pointer -msoft-float -mno-altivec -ffreestanding -fstack-protector -Werror /src/sys/geom/journal/g_journal_ufs.c cc -c -O -pipe -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -msoft-float -Wa,-many -fno-omit-frame-pointer -msoft-float -mno-altivec -ffreestanding -fstack-protector -Werror /src/sys/geom/label/g_label.c cc1: warnings being treated as errors /src/sys/geom/label/g_label.c: In function 'g_label_resize': /src/sys/geom/label/g_label.c:135: warning: null format string [-Wformat] *** Error code 1 Stop. bmake[1]: stopped in /obj/powerpc.powerpc/src/sys/LINT *** Error code 1 Stop. bmake: stopped in /src *** Error code 1 Stop in /src. TB --- 2013-10-19 06:27:48 - WARNING: /usr/bin/make returned exit code 1 TB --- 2013-10-19 06:27:48 - ERROR: failed to build LINT kernel TB --- 2013-10-19 06:27:48 - 8549.85 user 1177.57 system 10341.54 real http://tinderbox.freebsd.org/tinderbox-head-build-HEAD-powerpc-powerpc.full From owner-freebsd-ppc@FreeBSD.ORG Sat Oct 19 06:38:12 2013 Return-Path: Delivered-To: ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 567456F1 for ; Sat, 19 Oct 2013 06:38:12 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from kib.kiev.ua (kib.kiev.ua [IPv6:2001:470:d5e7:1::1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id BB938294D for ; Sat, 19 Oct 2013 06:38:11 +0000 (UTC) Received: from tom.home (kostik@localhost [127.0.0.1]) by kib.kiev.ua (8.14.7/8.14.7) with ESMTP id r9J6c2sh061494; Sat, 19 Oct 2013 09:38:02 +0300 (EEST) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.8.3 kib.kiev.ua r9J6c2sh061494 Received: (from kostik@localhost) by tom.home (8.14.7/8.14.7/Submit) id r9J6c1DY061493; Sat, 19 Oct 2013 09:38:01 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Sat, 19 Oct 2013 09:38:01 +0300 From: Konstantin Belousov To: Julio Merino Subject: Re: powerpc/183040: Nested signal handling is broken Message-ID: <20131019063801.GK3865@kib.kiev.ua> References: <201310162349.r9GNnDud012497@mastodon.meroh.net> <20131017073158.GB3865@kib.kiev.ua> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="RnxXMyWEPIZsopkG" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-Spam-Status: No, score=-2.0 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED autolearn=no version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on tom.home Cc: ppc@freebsd.org X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Oct 2013 06:38:12 -0000 --RnxXMyWEPIZsopkG Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Oct 18, 2013 at 04:07:30PM -0400, Julio Merino wrote: > On Thu, Oct 17, 2013 at 3:31 AM, Konstantin Belousov > wrote: > > What you could do, is to localize the point where the breakage occur. > > Add a function like this: > > > > static void > > print_sig_disposition(int signo) > > { > > struct sigaction sa; > > sigaction(signo, NULL, &sa); > > printf("sig %d handler %p\n", signo, sa.sa_handler); > > } > > > > and sprinkle a calls to it often enough, to see where the reset of the > > disposition happens. Insert the call to the function into the signal > > handler as well. >=20 > As far as I can tell, the sa_handler remains set all the time. It's > correct before the call to kill(). Please provide the modified test program and its exact output. --RnxXMyWEPIZsopkG Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (FreeBSD) iQIcBAEBAgAGBQJSYijIAAoJEJDCuSvBvK1BKPcP/3lBzQb52yLNxXTwPL2SqGS/ eY61Tf3WjkYrd6oryX2o5rgKKsiAsoxbHiVtytYuDV891ovNc1n8U4xiOStVFHsz ZXXc3mLyhi6tJBgHEPKqwkGaDhwlFraIOsXuYZpFdoz55REosCI9Q7Umy907/bIm 6S1o4/bcaIt1C/TXbSONN4hbM/vHx3II06n4UAclGfZR8urA+jTBaohu098QwC06 LmjRPoSdcCaljX2JLVrlZNGE4Hv58u6R0xg+FbbtcK30/VjSkUchYX+WFy2oxj0k gdtPJCv2OBVALS7X50IE8gzUYBPoX049dB2QLoG0vfx9HhytgJ+RN0+bVFb52bIX sddhUrThTV/3rb5i91KZjr/53XFYvwXHfXnTafu72NkIZsdQLcMPYTbMCAcozBTX Dc33tvI7Sd9olFi56RMULnKdFJB0vq03+lUaWNNGHJEsYkj5JhSgA7ZlwM/CE2X3 95P0tfEAmh3NpMYAhLCSWobujbP71LuSTLznfKSIqZnwc2wb0M7aLHbjizGGARuz zrCVLV6JjdmPpwpMKjQtaDNWYft486Qe2wzcC/15yfWrBCymlhRHRSZKqb6QJXQu iEptxVDl3HR1x4MB9qA4jAbSpwUlhKXSyowMippkNYe8TuUH/9JMqAnuNfi/d/L3 Z6EuOmVh3M6l7bhg1NUa =Nl1C -----END PGP SIGNATURE----- --RnxXMyWEPIZsopkG-- From owner-freebsd-ppc@FreeBSD.ORG Sat Oct 19 11:58:34 2013 Return-Path: Delivered-To: freebsd-ppc@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id AD28CE82; Sat, 19 Oct 2013 11:58:34 +0000 (UTC) (envelope-from danfe@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 83B7A26A7; Sat, 19 Oct 2013 11:58:34 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r9JBwYFR049779; Sat, 19 Oct 2013 11:58:34 GMT (envelope-from danfe@freefall.freebsd.org) Received: (from danfe@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r9JBwYFU049778; Sat, 19 Oct 2013 11:58:34 GMT (envelope-from danfe) Date: Sat, 19 Oct 2013 11:58:34 GMT Message-Id: <201310191158.r9JBwYFU049778@freefall.freebsd.org> To: danfe@FreeBSD.org, freebsd-ppc@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org From: danfe@FreeBSD.org Subject: Re: ports/183073: Bad links for lzip-1.14 port X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Oct 2013 11:58:34 -0000 Synopsis: Bad links for lzip-1.14 port Responsible-Changed-From-To: freebsd-ppc->freebsd-ports-bugs Responsible-Changed-By: danfe Responsible-Changed-When: Sat Oct 19 11:56:48 UTC 2013 Responsible-Changed-Why: Fix category and responsible party. http://www.freebsd.org/cgi/query-pr.cgi?pr=183073 From owner-freebsd-ppc@FreeBSD.ORG Sat Oct 19 18:15:04 2013 Return-Path: Delivered-To: powerpc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 939A5EEA; Sat, 19 Oct 2013 18:15:04 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 5A6D72966; Sat, 19 Oct 2013 18:15:04 +0000 (UTC) Received: from freebsd-current.sentex.ca (localhost [127.0.0.1]) by freebsd-current.sentex.ca (8.14.5/8.14.5) with ESMTP id r9JIF3aw041745; Sat, 19 Oct 2013 14:15:03 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-current.sentex.ca (8.14.5/8.14.5/Submit) id r9JIF2gD041734; Sat, 19 Oct 2013 18:15:02 GMT (envelope-from tinderbox@freebsd.org) Date: Sat, 19 Oct 2013 18:15:02 GMT Message-Id: <201310191815.r9JIF2gD041734@freebsd-current.sentex.ca> X-Authentication-Warning: freebsd-current.sentex.ca: tinderbox set sender to FreeBSD Tinderbox using -f Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Subject: [head tinderbox] failure on powerpc/powerpc Precedence: bulk X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.14 List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Oct 2013 18:15:04 -0000 TB --- 2013-10-19 15:22:09 - tinderbox 2.20 running on freebsd-current.sentex.ca TB --- 2013-10-19 15:22:09 - FreeBSD freebsd-current.sentex.ca 8.3-PRERELEASE FreeBSD 8.3-PRERELEASE #0: Mon Mar 26 13:54:12 EDT 2012 des@freebsd-current.sentex.ca:/usr/obj/usr/src/sys/GENERIC amd64 TB --- 2013-10-19 15:22:09 - starting HEAD tinderbox run for powerpc/powerpc TB --- 2013-10-19 15:22:09 - cleaning the object tree TB --- 2013-10-19 15:23:19 - /usr/local/bin/svn stat /src TB --- 2013-10-19 15:23:22 - At svn revision 256765 TB --- 2013-10-19 15:23:23 - building world TB --- 2013-10-19 15:23:23 - CROSS_BUILD_TESTING=YES TB --- 2013-10-19 15:23:23 - MAKEOBJDIRPREFIX=/obj TB --- 2013-10-19 15:23:23 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2013-10-19 15:23:23 - SRCCONF=/dev/null TB --- 2013-10-19 15:23:23 - TARGET=powerpc TB --- 2013-10-19 15:23:23 - TARGET_ARCH=powerpc TB --- 2013-10-19 15:23:23 - TZ=UTC TB --- 2013-10-19 15:23:23 - __MAKE_CONF=/dev/null TB --- 2013-10-19 15:23:23 - cd /src TB --- 2013-10-19 15:23:23 - /usr/bin/make -B buildworld >>> Building an up-to-date make(1) >>> World build started on Sat Oct 19 15:23:30 UTC 2013 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies >>> stage 4.4: building everything >>> World build completed on Sat Oct 19 18:07:00 UTC 2013 TB --- 2013-10-19 18:07:00 - generating LINT kernel config TB --- 2013-10-19 18:07:00 - cd /src/sys/powerpc/conf TB --- 2013-10-19 18:07:00 - /usr/bin/make -B LINT TB --- 2013-10-19 18:07:00 - cd /src/sys/powerpc/conf TB --- 2013-10-19 18:07:00 - /usr/sbin/config -m LINT TB --- 2013-10-19 18:07:00 - building LINT kernel TB --- 2013-10-19 18:07:00 - CROSS_BUILD_TESTING=YES TB --- 2013-10-19 18:07:00 - MAKEOBJDIRPREFIX=/obj TB --- 2013-10-19 18:07:00 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2013-10-19 18:07:00 - SRCCONF=/dev/null TB --- 2013-10-19 18:07:00 - TARGET=powerpc TB --- 2013-10-19 18:07:00 - TARGET_ARCH=powerpc TB --- 2013-10-19 18:07:00 - TZ=UTC TB --- 2013-10-19 18:07:00 - __MAKE_CONF=/dev/null TB --- 2013-10-19 18:07:00 - cd /src TB --- 2013-10-19 18:07:00 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Sat Oct 19 18:07:00 UTC 2013 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything [...] cc -c -O -pipe -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -msoft-float -Wa,-many -fno-omit-frame-pointer -msoft-float -mno-altivec -ffreestanding -fstack-protector -Werror /src/sys/geom/geom_vfs.c cc -c -O -pipe -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -msoft-float -Wa,-many -fno-omit-frame-pointer -msoft-float -mno-altivec -ffreestanding -fstack-protector -Werror /src/sys/geom/geom_vol_ffs.c cc -c -O -pipe -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -msoft-float -Wa,-many -fno-omit-frame-pointer -msoft-float -mno-altivec -ffreestanding -fstack-protector -Werror /src/sys/geom/journal/g_journal.c cc -c -O -pipe -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -msoft-float -Wa,-many -fno-omit-frame-pointer -msoft-float -mno-altivec -ffreestanding -fstack-protector -Werror /src/sys/geom/journal/g_journal_ufs.c cc -c -O -pipe -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -msoft-float -Wa,-many -fno-omit-frame-pointer -msoft-float -mno-altivec -ffreestanding -fstack-protector -Werror /src/sys/geom/label/g_label.c cc1: warnings being treated as errors /src/sys/geom/label/g_label.c: In function 'g_label_resize': /src/sys/geom/label/g_label.c:135: warning: null format string [-Wformat] *** Error code 1 Stop. bmake[1]: stopped in /obj/powerpc.powerpc/src/sys/LINT *** Error code 1 Stop. bmake: stopped in /src *** Error code 1 Stop in /src. TB --- 2013-10-19 18:15:02 - WARNING: /usr/bin/make returned exit code 1 TB --- 2013-10-19 18:15:02 - ERROR: failed to build LINT kernel TB --- 2013-10-19 18:15:02 - 8553.16 user 1185.34 system 10373.16 real http://tinderbox.freebsd.org/tinderbox-head-build-HEAD-powerpc-powerpc.full From owner-freebsd-ppc@FreeBSD.ORG Sat Oct 19 20:53:47 2013 Return-Path: Delivered-To: ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 0AD8E5BA for ; Sat, 19 Oct 2013 20:53:47 +0000 (UTC) (envelope-from julio@meroh.net) Received: from mail-la0-f48.google.com (mail-la0-f48.google.com [209.85.215.48]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 708282051 for ; Sat, 19 Oct 2013 20:53:45 +0000 (UTC) Received: by mail-la0-f48.google.com with SMTP id er20so1854962lab.7 for ; Sat, 19 Oct 2013 13:53:44 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=atRSOmPutye993bDx0iHo4PNxGN93Zh885WCvrRB/OQ=; b=bPkeSa560ZUAk5CDxdL+dnD/6uNKZxAlAl6j89GIt0NeLJn6+v1RW+io1XmKhwPKYo DRooHadqjE+5KlgDmgcGgfC5Yu7PDfZjwlj7UX0ATins6UH+AdF65OauRROX0qEWb7UZ dNvNdHs5Nol0gq6RubM50xd+Vu1/ZKW2s+mU4+Cc5v20xf7HI4s4MJoPA5myyOPt6zcp l9OmUClkGgNCs7Qyf80ZYkbezAlP4viS5lTaKb84Smhw39gd94zIeMJu8EszbFtk7cQu qhQUSSJAPOWpg+3GO3PyMtLJfwUFjKTurLmvjU3fgJWBX4uMBECSBGNE0A4lrezigTkL mb7g== X-Gm-Message-State: ALoCoQmSZXUw8EdAcsS/rgdDNERaEMzMo1Z77lUWrcgEdcoDpD7OXt8F1PgImmbfeGQ0qiqMwAt1 X-Received: by 10.112.200.100 with SMTP id jr4mr2815077lbc.36.1382216024246; Sat, 19 Oct 2013 13:53:44 -0700 (PDT) MIME-Version: 1.0 Received: by 10.112.132.135 with HTTP; Sat, 19 Oct 2013 13:53:23 -0700 (PDT) X-Originating-IP: [108.176.158.82] In-Reply-To: <20131019063801.GK3865@kib.kiev.ua> References: <201310162349.r9GNnDud012497@mastodon.meroh.net> <20131017073158.GB3865@kib.kiev.ua> <20131019063801.GK3865@kib.kiev.ua> From: Julio Merino Date: Sat, 19 Oct 2013 16:53:23 -0400 Message-ID: Subject: Re: powerpc/183040: Nested signal handling is broken To: Konstantin Belousov Content-Type: multipart/mixed; boundary=001a11c373e620f84604e91e3fb4 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: ppc@freebsd.org X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Oct 2013 20:53:47 -0000 --001a11c373e620f84604e91e3fb4 Content-Type: text/plain; charset=ISO-8859-1 On Sat, Oct 19, 2013 at 2:38 AM, Konstantin Belousov wrote: > Please provide the modified test program and its exact output. I'm not sure what you are looking for with this... but attached. -- Julio Merino / @jmmv --001a11c373e620f84604e91e3fb4 Content-Type: application/octet-stream; name="test.out" Content-Disposition: attachment; filename="test.out" Content-Transfer-Encoding: base64 X-Attachment-Id: f_hmzbps962 U0lHTkFMIDE1ClByb2dyYW1taW5nIGF0IGxldmVsIDEKQmVmb3JlIHByb2dyYW1taW5nOiBIYW5k bGVyIGlzIDB4MApBZnRlciBwcm9ncmFtbWluZzogSGFuZGxlciBpcyAweDEwMDExM2Q4CkJlZm9y ZSBzZW5kaW5nIHNpZ25hbDogSGFuZGxlciBpcyAweDEwMDExM2Q4CkluIHNpZ25hbCBoYW5kbGVy OiBIYW5kbGVyIGlzIDB4MTAwMTEzZDgKQWZ0ZXIgc2VuZGluZyBzaWduYWw6IEhhbmRsZXIgaXMg MHgxMDAxMTNkOAoqKiogU2lnbmFsIDE1IGNhdWdodCBjb3JyZWN0bHkKUHJvZ3JhbW1pbmcgYXQg bGV2ZWwgMApCZWZvcmUgcHJvZ3JhbW1pbmc6IEhhbmRsZXIgaXMgMHgxMDAxMTNkOApBZnRlciBw cm9ncmFtbWluZzogSGFuZGxlciBpcyAweDEwMDExM2Q4CkJlZm9yZSBzZW5kaW5nIHNpZ25hbDog SGFuZGxlciBpcyAweDEwMDExM2Q4CkluIHNpZ25hbCBoYW5kbGVyOiBIYW5kbGVyIGlzIDB4MTAw MTEzZDgKQWZ0ZXIgc2VuZGluZyBzaWduYWw6IEhhbmRsZXIgaXMgMHgxMDAxMTNkOAoqKiogU2ln bmFsIDE1IGNhdWdodCBjb3JyZWN0bHkKVW5wcm9ncmFtbWluZyBhdCBsZXZlbCAwCkJlZm9yZSB1 bnByb2dyYW1taW5nOiBIYW5kbGVyIGlzIDB4MTAwMTEzZDgKQWZ0ZXIgdW5wcm9ncmFtbWluZzog SGFuZGxlciBpcyAweDEwMDExM2Q4ClVucHJvZ3JhbW1pbmcgYXQgbGV2ZWwgMQpCZWZvcmUgdW5w cm9ncmFtbWluZzogSGFuZGxlciBpcyAweDEwMDExM2Q4CkFmdGVyIHVucHJvZ3JhbW1pbmc6IEhh bmRsZXIgaXMgMHgwCgpTSUdOQUwgMQpQcm9ncmFtbWluZyBhdCBsZXZlbCAxCkJlZm9yZSBwcm9n cmFtbWluZzogSGFuZGxlciBpcyAweDAKQWZ0ZXIgcHJvZ3JhbW1pbmc6IEhhbmRsZXIgaXMgMHgx MDAxMTNkOApCZWZvcmUgc2VuZGluZyBzaWduYWw6IEhhbmRsZXIgaXMgMHgxMDAxMTNkOApBZnRl ciBzZW5kaW5nIHNpZ25hbDogSGFuZGxlciBpcyAweDEwMDExM2Q4CioqKiBTaWduYWwgMSBub3Qg Y2F1Z2h0ClByb2dyYW1taW5nIGF0IGxldmVsIDAKQmVmb3JlIHByb2dyYW1taW5nOiBIYW5kbGVy IGlzIDB4MTAwMTEzZDgKQWZ0ZXIgcHJvZ3JhbW1pbmc6IEhhbmRsZXIgaXMgMHgxMDAxMTNkOApC ZWZvcmUgc2VuZGluZyBzaWduYWw6IEhhbmRsZXIgaXMgMHgxMDAxMTNkOApBZnRlciBzZW5kaW5n IHNpZ25hbDogSGFuZGxlciBpcyAweDEwMDExM2Q4CioqKiBTaWduYWwgMSBub3QgY2F1Z2h0ClVu cHJvZ3JhbW1pbmcgYXQgbGV2ZWwgMApCZWZvcmUgdW5wcm9ncmFtbWluZzogSGFuZGxlciBpcyAw eDEwMDExM2Q4CkFmdGVyIHVucHJvZ3JhbW1pbmc6IEhhbmRsZXIgaXMgMHgxMDAxMTNkOApVbnBy b2dyYW1taW5nIGF0IGxldmVsIDEKQmVmb3JlIHVucHJvZ3JhbW1pbmc6IEhhbmRsZXIgaXMgMHgx MDAxMTNkOApBZnRlciB1bnByb2dyYW1taW5nOiBIYW5kbGVyIGlzIDB4MAoKU0lHTkFMIDIKUHJv Z3JhbW1pbmcgYXQgbGV2ZWwgMQpCZWZvcmUgcHJvZ3JhbW1pbmc6IEhhbmRsZXIgaXMgMHgwCkFm dGVyIHByb2dyYW1taW5nOiBIYW5kbGVyIGlzIDB4MTAwMTEzZDgKQmVmb3JlIHNlbmRpbmcgc2ln bmFsOiBIYW5kbGVyIGlzIDB4MTAwMTEzZDgKQWZ0ZXIgc2VuZGluZyBzaWduYWw6IEhhbmRsZXIg aXMgMHgxMDAxMTNkOAoqKiogU2lnbmFsIDIgbm90IGNhdWdodApQcm9ncmFtbWluZyBhdCBsZXZl bCAwCkJlZm9yZSBwcm9ncmFtbWluZzogSGFuZGxlciBpcyAweDEwMDExM2Q4CkFmdGVyIHByb2dy YW1taW5nOiBIYW5kbGVyIGlzIDB4MTAwMTEzZDgKQmVmb3JlIHNlbmRpbmcgc2lnbmFsOiBIYW5k bGVyIGlzIDB4MTAwMTEzZDgKQWZ0ZXIgc2VuZGluZyBzaWduYWw6IEhhbmRsZXIgaXMgMHgxMDAx MTNkOAoqKiogU2lnbmFsIDIgbm90IGNhdWdodApVbnByb2dyYW1taW5nIGF0IGxldmVsIDAKQmVm b3JlIHVucHJvZ3JhbW1pbmc6IEhhbmRsZXIgaXMgMHgxMDAxMTNkOApBZnRlciB1bnByb2dyYW1t aW5nOiBIYW5kbGVyIGlzIDB4MTAwMTEzZDgKVW5wcm9ncmFtbWluZyBhdCBsZXZlbCAxCkJlZm9y ZSB1bnByb2dyYW1taW5nOiBIYW5kbGVyIGlzIDB4MTAwMTEzZDgKQWZ0ZXIgdW5wcm9ncmFtbWlu ZzogSGFuZGxlciBpcyAweDAKCg== --001a11c373e620f84604e91e3fb4--