Date: Tue, 9 Mar 2021 16:33:29 +0100 (CET) From: Ronald Klop <ronald-lists@klop.ws> To: Mitidzi Racerex <mitidzi@gmail.com> Cc: freebsd-current@freebsd.org Subject: Re: RC1 builds Message-ID: <1617658290.2.1615304009453@localhost> In-Reply-To: <CAMFdiNkaPvmtqtBHP169xeSJh8g4E5zfg-w7rJKd-wWSKH8coA@mail.gmail.com> References: <CAMFdiNkaPvmtqtBHP169xeSJh8g4E5zfg-w7rJKd-wWSKH8coA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
See https://lists.freebsd.org/pipermail/freebsd-stable/2021-March/093272.html Regards, Ronald. Van: Mitidzi Racerex <mitidzi@gmail.com> Datum: maandag, 8 maart 2021 11:33 Aan: freebsd-current@freebsd.org Onderwerp: RC1 builds > > Please give a link to RC1 builds. > _______________________________________________ > freebsd-current@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" > > > From owner-freebsd-current@freebsd.org Tue Mar 9 20:53:50 2021 Return-Path: <owner-freebsd-current@freebsd.org> Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 73F72570262 for <freebsd-current@mailman.nyi.freebsd.org>; Tue, 9 Mar 2021 20:53:50 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4Dw6rG0W97z3Ds0 for <freebsd-current@freebsd.org>; Tue, 9 Mar 2021 20:53:50 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mailman.nyi.freebsd.org (Postfix) id 0FBCC5705B4; Tue, 9 Mar 2021 20:53:50 +0000 (UTC) Delivered-To: current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 0F83A5702FB for <current@mailman.nyi.freebsd.org>; Tue, 9 Mar 2021 20:53:50 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-qk1-x72e.google.com (mail-qk1-x72e.google.com [IPv6:2607:f8b0:4864:20::72e]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Dw6rF6wPJz3DpW for <current@freebsd.org>; Tue, 9 Mar 2021 20:53:49 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-qk1-x72e.google.com with SMTP id z128so14535714qkc.12 for <current@freebsd.org>; Tue, 09 Mar 2021 12:53:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=Da7SGM7X4M/aM1ebKbexNa9txbDMk8TEgp4djoil0XQ=; b=dL6yb7QJM3m0xpNX1p2e+wHxV9FipRp8RuwuOlH1TRQQ8smlzz389tIsmvLSPsJbCQ 2q3wuLLiCBYHNh3aA2OmnpiisufrWKD+wwkmeGl1HLxPofznBPqk0/3/h2QRutJUadUV zgOZnT+HeY2W6OKNOj+phHdCj72krC8tbrxjCr/1p8Ro0OJC4MpLGurrX57tFkyyTtMb T6iZDX6cbnPWw/uk1kpYtj4Xrt3/EydzLC4h6ynuGKnTOLd3ljfTQKLn0mP6+/2S4WF0 ypvQ8qAjDd+GpzaEJKkJO00VQ6YB+bX5ud/OkTGKes9OU2987nt22t3mXf/ROG39wdP5 EL+g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=Da7SGM7X4M/aM1ebKbexNa9txbDMk8TEgp4djoil0XQ=; b=PtuYjTSEuUT5/UFitbIPupLy/AdWUFqUcYZzFTMxGP5Gxn4KWYBtiwCEaaLGYN0dvg Og+dIjjbRNj2DjJ6PCJpoPL6b/VPloWrNTB+VUWXiRX5o/bfbH56721ryuL+xfqHjl1y LGBHclYBAAWMfYf23/OgawsKjVuWwTGIT9zCfQl4zHYpDV6X5w7/5mWvJ0+ZLwEa+Xls yLw5Wdem+4dsD5mkqVl6l7VvJ+pOMfOVZM7frh/7WUfVmJlzMNCb+6t69J3lgemfVtyk UfGwkWUyCUMvqkLn3Usv+ZlbOawg17gGKK+vXmUyUAGtUZFybYdv4wRan10ksFFx54lj u/NQ== X-Gm-Message-State: AOAM530v+cIX9S2DxLqzjIKnuM74l7J1zWv5NTTHQXclbBrjg3UCcGXJ ahsS3EYmrkfmPh6yYSjhNtn51hT7evWLQN750Ycj0m2oNAamhwMs X-Google-Smtp-Source: ABdhPJyGo214IMMhFYwjzWtfULVjtkEuebTiPg87rYvpcT+YjFA3ZES9Pk7s1FZ/pjnVfhMisQ7oFb9NCcSB3XhYc+k= X-Received: by 2002:a37:a085:: with SMTP id j127mr26310801qke.206.1615323228563; Tue, 09 Mar 2021 12:53:48 -0800 (PST) MIME-Version: 1.0 References: <YEdlblQdBcjZkcf+@albert.catwhisker.org> In-Reply-To: <YEdlblQdBcjZkcf+@albert.catwhisker.org> From: Warner Losh <imp@bsdimp.com> Date: Tue, 9 Mar 2021 13:53:37 -0700 Message-ID: <CANCZdfqnMktE4uAU+OP8ZKyXzupTqPqr21fP1PDk1U+JDswhuw@mail.gmail.com> Subject: Re: "panic: malloc(M_WAITOK) with sleeping prohibited" at main-n245363-b3dac3913dc9 To: FreeBSD Current <current@freebsd.org> X-Rspamd-Queue-Id: 4Dw6rF6wPJz3DpW X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Discussions about the use of FreeBSD-current <freebsd-current.freebsd.org> List-Unsubscribe: <https://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: <https://lists.freebsd.org/mailman/listinfo/freebsd-current>, <mailto:freebsd-current-request@freebsd.org?subject=subscribe> X-List-Received-Date: Tue, 09 Mar 2021 20:53:50 -0000 On Tue, Mar 9, 2021 at 5:09 AM David Wolfskill <david@catwhisker.org> wrote: > Just did a source-based update from: > > FreeBSD 14.0-CURRENT #1205 main-n245338-221622ec0c8e: Mon Mar 8 03:49:58 > PST 2021 root@freebeast.catwhisker.org:/common/S4/obj/usr/src/amd64.amd64/sys/GENERIC > amd64 1400005 1400005 > > to: > > FreeBSD 14.0-CURRENT #1206 main-n245363-b3dac3913dc9: Tue Mar 9 03:55:00 > PST 2021 > root@freebeast.catwhisker.org:/common/S4/obj/usr/src/amd64.amd64/sys/GENERIC > amd64 > > [latter scraped from the console] > > and: > > ... > pass6 at umass-sim0 bus 0 scbus6 target 0 lun 0 > pass6: uhub3: 6 ports with 6 removable, self powered > <Generic- Compact Flash 1.00> Removable Direct Access SCSI device > pass6: Serial Number 20100818841300000 > pass6: 40.000MB/s transfersuhub4: 8 ports with 8 removable, self powered > > panic: malloc(M_WAITOK) with sleeping prohibited > cpuid = 0 > time = 22 > KDB: stack backtrace: > db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame > 0xfffffe00e157a4b0 > vpanic() at vpanic+0x181/frame 0xfffffe00e157a500 > panic() at panic+0x43/frame 0xfffffe00e157a560 > malloc_dbg() at malloc_dbg+0xd4/frame 0xfffffe00e157a580 > malloc() at malloc+0x34/frame 0xfffffe00e157a5e0 > disk_alloc() at disk_alloc+0x1c/frame 0xfffffe00e157a600 > daregister() at daregister+0x3f4/frame 0xfffffe00e157a880 > cam_periph_alloc() at cam_periph_alloc+0x57b/frame 0xfffffe00e157a950 > daasync() at daasync+0x2c2/frame 0xfffffe00e157a9c0 > xpt_async_process_dev() at xpt_async_process_dev+0x152/frame > 0xfffffe00e157aa10 > xpt_async_process() at xpt_async_process+0x334/frame 0xfffffe00e157ab20 > xpt_done_process() at xpt_done_process+0x3a3/frame 0xfffffe00e157ab60 > xpt_done_td() at xpt_done_td+0xf5/frame 0xfffffe00e157abb0 > fork_exit() at fork_exit+0x80/frame 0xfffffe00e157abf0 > fork_trampoline() at fork_trampoline+0xe/frame 0xfffffe00e157abf0 > --- trap 0, rip = 0, rsp = 0, rbp = 0 --- > KDB: enter: panic > [ thread pid 17 tid 100095 ] > Stopped at kdb_enter+0x37: movq $0,0x128b97e(%rip) > db> > The following reviews should fix this. It introduces a no-wait variant for disk_alloc(), provides a way to free allocated, but not created, disks and changes CAM to use the new routines and take some care for not leaking when an allocation fails. https://reviews.freebsd.org/D29161 https://reviews.freebsd.org/D29162 https://reviews.freebsd.org/D29163 Maybe you can try it? I got similar tracebacks when I booted w/o these changes, but not a peep with them... Warner > > I can afford to leave it that way for a bit, in case anyone has > suggestions for poking at it to get more information. I expect to > be attempting the same upgrade on a couple of laptops -- after they > finish building firefox. > > Peace, > david > -- > David H. Wolfskill david@catwhisker.org > It is supremely disingenuous to claim a lack of jurisdiction, then > proceed to participate in a decision on the same matter. > > See https://www.catwhisker.org/~david/publickey.gpg for my public key. >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1617658290.2.1615304009453>