Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Apr 2013 14:02:33 -0700 (PDT)
From:      Pedro Giffuni <pfg@freebsd.org>
To:        Mark Johnston <markjdb@gmail.com>, Navdeep Parhar <np@FreeBSD.org>
Cc:        FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Re: DTrace gone quiet?
Message-ID:  <1366146153.65175.YahooMailNeo@web162106.mail.bf1.yahoo.com>
In-Reply-To: <20130416205403.GA1409@gloom.sandvine.com>
References:  <516DAD14.9020307@FreeBSD.org> <20130416205403.GA1409@gloom.sandvine.com>

next in thread | previous in thread | raw e-mail | index | archive | help

Hello;

Yes, I was indeed going to post that the culprit is this change from Illumos:

3026 libdtrace should set LD_NOLAZYLOAD=1 to help the pid provider


It is an upstream hack for the Solaris ld that they bundled among
many changes.

I will see how to revert only the part that gives problems.

Sorry for the inconvenience,

Pedro.



>________________________________
> Da: Mark Johnston 
>...
>
>Reverting r249367 and rebuilding libdtrace+the kernel fixes the problem
>for me.
>
>-Mark
>
>
>
From owner-freebsd-current@FreeBSD.ORG  Tue Apr 16 22:44:49 2013
Return-Path: <owner-freebsd-current@FreeBSD.ORG>
Delivered-To: current@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 by hub.freebsd.org (Postfix) with ESMTP id 87ADB81D;
 Tue, 16 Apr 2013 22:44:49 +0000 (UTC)
 (envelope-from Cy.Schubert@komquats.com)
Received: from smtp-out-02.shaw.ca (smtp-out-02.shaw.ca [64.59.136.138])
 by mx1.freebsd.org (Postfix) with ESMTP id 497851CB7;
 Tue, 16 Apr 2013 22:44:49 +0000 (UTC)
X-Cloudmark-SP-Filtered: true
X-Cloudmark-SP-Result: v=1.1 cv?4U5fHrZLLPCzJ96ldNbjtja1zQ0ih230F6vdsLr5s c=1 sm=1
 a=QrugwKR0C_UA:10 a=wAGQQ9Az6v0A:10 a=BLceEmwcHowA:10 a=ICAaq7hcmGcA:10
 a=8nJEP1OIZ-IA:10 a=IbtKDeXwb2+SRU442/pi3A==:17 a=vaJtXVxTAAAA:8
 a=BWvPGDcYAAAA:8 a=6I5d2MoRAAAA:8 a=sq_fSE3xARbxezGG6UEA:9
 a=wPNLvfGTeEIA:10 a=V7tsTZBp22UA:10 a=SV7veod9ZcQA:10
 a=HpAAvcLHHh0Zw7uRqdWCyQ==:117
Received: from unknown (HELO spqr.komquats.com) ([96.50.7.119])
 by smtp-out-02.shaw.ca with ESMTP; 16 Apr 2013 16:45:46 -0600
Received: from slippy.cwsent.com (slippy8 [10.2.2.6])
 by spqr.komquats.com (Postfix) with ESMTP id A0D3580;
 Tue, 16 Apr 2013 15:44:46 -0700 (PDT)
Received: from slippy (localhost [127.0.0.1])
 by slippy.cwsent.com (8.14.6/8.14.6) with ESMTP id r3GMiiNc004099;
 Tue, 16 Apr 2013 15:44:45 -0700 (PDT)
 (envelope-from Cy.Schubert@komquats.com)
Message-Id: <201304162244.r3GMiiNc004099@slippy.cwsent.com>
X-Mailer: exmh version 2.8.0 04/21/2012 with nmh-1.5
From: Cy Schubert <Cy.Schubert@komquats.com>
X-os: FreeBSD
X-Sender: cy@cwsent.com
X-URL: http://www.komquats.com/
To: "Ilya A. Arkhipov" <rum1cro@yandex.ru>
Subject: Re: Stack Overflow in GEOM
In-Reply-To: Message from "Ilya A. Arkhipov" <rum1cro@yandex.ru>
 of "Tue, 16 Apr 2013 22:01:16 +0400." <1257671366135276@web6f.yandex.ru>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
Date: Tue, 16 Apr 2013 15:44:44 -0700
Cc: geom@freebsd.org, current@freebsd.org, ivoras@freebsd.org
X-BeenThere: freebsd-current@freebsd.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: Cy Schubert <Cy.Schubert@komquats.com>
List-Id: Discussions about the use of FreeBSD-current
 <freebsd-current.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-current>,
 <mailto:freebsd-current-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-current>;
List-Post: <mailto:freebsd-current@freebsd.org>
List-Help: <mailto:freebsd-current-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-current>,
 <mailto:freebsd-current-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Tue, 16 Apr 2013 22:44:49 -0000

In message <1257671366135276@web6f.yandex.ru>, "Ilya A. Arkhipov" writes:
> 16.04.2013, 21:56, "Cy Schubert" <Cy.Schubert@komquats.com>:
> > Has anyone see this before? Just updated my CURRENT partitions on my
> > testbed and laptop. The laptop just boots but I've managed to capture this
> > on my testbed (attached to a serial port on another system).
> >
> > This is HEAD from yesterday (Apr 15) morning (PDT). The partition being
> > booted is ada0s1d. On my laptop it's ada0s3a. KSTACK_PAGES is 4. Is there a
> > way to quickly display that kern.kstack_pages from DDB?
> >
> > ada0 at ata0 bus 0 scbus0 target 0 lun 0
> > ada0: <SAMSUNG SP0802N TK100-24> ATA-7 device
> > ada0: 100.000MB/s transfers (UDMA5, PIO 8192bytes)
> > ada0: 76351MB (156368016 512 byte sectors: 16H 63S/T 16383C)
> > ada0: Previously was known as ad0
> > ada1 at ata0 bus 0 scbus0 target 1 lun 0
> > ada1: <Maxtor 6Y120P0 YAR41BW0> ATA-7 device
> > ada1: 133.000MB/s transfers (UDMA6, PIO 8192bytes)
> > ada1: 117246MB (240121728 512 byte sectors: 16H 63S/T 16383C)
> > ada1: Previously was known as ad1
> > ada2 at ata2 bus 0 scbus2 target 0 lun 0
> > ada2: <WDC WD5000AAKS-00D2B0 12.01C02> ATA-8 SATA 2.x device
> > ada2: 300.000MB/s transfers (SATA 2.x, UDMA5, PIO 8192bytes)
> > ada2: 476940MB (976773168 512 byte sectors: 16H 63S/T 16383C)
> > ada2: Previously was known as ad4
> > ada3 at ata3 bus 0 scbus3 target 0 lun 0
> > ada3: <WDC WD3200KS-00PFB0 21.00M21> ATA-7 SATA 2.x device
> > ada3: 300.000MB/s transfers (SATA 2.x, UDMA5, PIO 8192bytes)
> > ada3: 305245MB (625142448 512 byte sectors: 16H 63S/T 16383C)
> > ada3: Previously was known as ad6
> > SMP: AP CPU #1 Launched!
> > panic: stack overflow detected; backtrace may be corrupted
> > cpuid = 1
> > KDB: enter: panic
> > [ thread pid 13 tid 100009 ]
> > Stopped at ššššškdb_enter+0x3d: movl ššš$0,kdb_why
> > db> bt
> > Tracing pid 13 tid 100009 td 0x872d6000
> > kdb_enter(80ca7886,80ca7886,80ca9523,86edcae0,1,...) at
> > kdb_enter+0x3d/frame 0x86edca98
> > panic(80ca9523,86edcb70,80713dd2,86edcbd8,86edcafc,...) at
> > panic+0x141/frame 0x86edcad4
> > __stack_chk_init(86edcbd8,86edcafc,86edcaf8,86edcafc,64,...) at
> > __stack_chk_init/frame 0x86edcae0
> > g_label_disk_ident_taste(87b7dc80,86edcbd8,80,0,0,...) at
> > g_label_disk_ident_taste+0x102/frame 0x86edcb70
> > g_label_taste(80d26b88,872ff500,0,872ff480,872d6000,...) at
> > g_label_taste+0x3ca/frame 0x86edcc6c
> > g_new_provider_event(872ff500,0,25c,80c9798e,0,...) at
> > g_new_provider_event+0xb1/frame 0x86edcc88
> > g_run_events(0,86edcd08,222db60d,83725616,b10094f2,...) at
> > g_run_events+0x19f/frame 0x86edccc4
> > fork_exit(8070d140,0,86edcd08) at fork_exit+0xa3/frame 0x86edccf4
> > fork_trampoline() at fork_trampoline+0x8/frame 0x86edccf4
> > --- trap 0, eip = 0, esp = 0x86edcd40, ebp = 0 ---
> > db>
> >
> > I've been poking at this off and on last night. Any ideas?
> >
> > --
> > Cheers,
> > Cy Schubert <Cy.Schubert@komquats.com>
> > FreeBSD UNIX: š<cy@FreeBSD.org> ššWeb: šhttp://www.FreeBSD.org
> >
> > _______________________________________________
> > freebsd-current@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-current
> > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
> 
> Hi,
> 
> It should be related with: http://docs.freebsd.org/cgi/getmsg.cgi?fetch=30160
> 3+0+current/svn-src-head
> 
> Author: ivoras
> Date: Mon Apr 15 16:09:24 2013
> New Revision: 249508
> URL: http://svnweb.freebsd.org/changeset/base/249508
> 
> Log:
>   Introduce glabel labels based on GEOM ident attributes. In this initial
>   implementation, error on the side of conservatism and only create labels
>   for GEOMs of classes DISK and MULTIPATH.
> 
>   Discussed with: trasz
>   Approved by: silence from freebsd-geom@

You were correct. Backing out r249508 in my tree resolves the panic on both 
hosts.


-- 
Cheers,
Cy Schubert <Cy.Schubert@komquats.com>
FreeBSD UNIX:  <cy@FreeBSD.org>   Web:  http://www.FreeBSD.org





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1366146153.65175.YahooMailNeo>