From owner-freebsd-arm@freebsd.org Wed Oct 3 13:19:34 2018 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5ED5B10C2D70 for ; Wed, 3 Oct 2018 13:19:34 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-it1-x12d.google.com (mail-it1-x12d.google.com [IPv6:2607:f8b0:4864:20::12d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id EBD267A2E4 for ; Wed, 3 Oct 2018 13:19:33 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-it1-x12d.google.com with SMTP id c23-v6so8216080itd.5 for ; Wed, 03 Oct 2018 06:19:33 -0700 (PDT) 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 :cc; bh=QpfM/ciI2YaJB02hhgf8gsmRuWn3YvSm0YmMW5mgVvA=; b=fba2LH/J+EzQ+taJmkjqLHwKHELyGAZhBuCGMD90VGB/Qv8BHwDjK+rvGHWqthrKOg AfERjW/wUhdv7a2Abn5C/r3HEnOJhc/GrH91BogEocwWq378G98SZwfTkhiv0ADvr7m/ Kp1yYtOA3fNUJ2kZYHnXQQQv81poNwABB9ovovfZEvlipkPD233udGwh93wdoyLJbgxk KIXHTT3ZuF5tsHgbGHZWPd1JZWdgveMi7orPdJ5I8U+KWk7RiFvHWqHuxGHgB1q/tEsT Pi2HRj3AWRJZ4nMhKu5/ftz5ce5XEO/K1bnTRrl5CuouVJxAjRwlAEMnUjRrP2Wt04XZ 9MOg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=QpfM/ciI2YaJB02hhgf8gsmRuWn3YvSm0YmMW5mgVvA=; b=Xk72AchWHR//V7G2tS+xyAfMZK8boi/h8dZlC+0zgYJikTfDew7hUYGc2+VCB+xXt4 stKyO9riPKDON6jFVoPedudifd1yNBkgRKWSzoZGS2OvCWAbIjTRedHLnvGsHnWu0Kqp FzDr0onvIf7zEk2wNVTuch/z5JgykHx+cD/ROX3rHfXarOMnLut5qbMPGKzP/syxUvMJ xD6ym+RX3z3RJXJUvAzgkdLVwvqKKgBjfyda2HDlkKagDOPJc+ygd6WUbi2mcGezTMYQ yfF0YMMZx4JvtzfchcjhDGyQHfer2clbvSg/JzcHZXTuLUFAJNdLNORNetb/1hclybbt I+AA== X-Gm-Message-State: ABuFfogO4jEDkuT0IZu/XpyXe7z63UWCZ/0B8RwSMU/oeGz9YGHnTQTi iywOlA4FiTgQDbhH1cADHJnwO7c+W5HBPTfw9mo1ig== X-Google-Smtp-Source: ACcGV61KhnA9dhE2yGsYp7UrBCbEVHnPdTFfFCiqa/ohNdPehpL2UzBLPfSpUr/omtIyNV/IhJS7hhZltEJed/mKPPk= X-Received: by 2002:a24:ac5:: with SMTP id 188-v6mr1167058itw.39.1538572772954; Wed, 03 Oct 2018 06:19:32 -0700 (PDT) MIME-Version: 1.0 References: <1535556653.33841.29.camel@freebsd.org> <20180831175007.GU45503@funkthat.com> <14A39642-0BF6-4005-A4E1-C95384EAD0AB@yahoo.com> In-Reply-To: <14A39642-0BF6-4005-A4E1-C95384EAD0AB@yahoo.com> From: Warner Losh Date: Wed, 3 Oct 2018 07:19:21 -0600 Message-ID: Subject: Re: FYI: head -r338341 on Pine64+ 2GB early "KLD file umodem.ko is missing dependencies" but later manual kldload works To: Mark Millard Cc: John-Mark Gurney , freebsd-arm@freebsd.org, Ian Lepore Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.27 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Oct 2018 13:19:34 -0000 Is loader.hints built in between the two attempts? Warner On Tue, Oct 2, 2018, 9:50 PM Mark Millard via freebsd-arm < freebsd-arm@freebsd.org> wrote: > On 2018-Aug-31, at 10:50 AM, John-Mark Gurney wrote: > > Ian Lepore wrote this message on Wed, Aug 29, 2018 at 09:30 -0600: > > On Tue, 2018-08-28 at 22:53 -0700, Mark Millard via freebsd-arm wrote: > >> Loading kernel... > >> /boot/kernel/kernel text=0x8d4607 data=0x176e78+0x79d254 > >> syms=[0x8+0x11f670+0x8+0x112dd8] > >> Loading configured modules... > >> /boot/entropy size=0x1000 > >> /boot/kernel/umodem.ko text=0x2168 text=0x1410 data=0x102d0+0xfd40 > >> syms=[0x8+0xf30+0x8+0xb73] > >> Using DTB provided by EFI at 0x47ff9000. > >> Loading DTB overlays: 'sun50i-a64-sid,sun50i-a64-ths,sun50i-a64- > >> timer' > >> /boot/dtb/overlays/sun50i-a64-sid.dtbo size=0x1fd > >> /boot/dtb/overlays/sun50i-a64-ths.dtbo size=0x3e8 > >> /boot/dtb/overlays/sun50i-a64-timer.dtbo size=0x175 > >> applying DTB overlay '/boot/dtb/overlays/sun50i-a64-sid.dtbo' > >> applying DTB overlay '/boot/dtb/overlays/sun50i-a64-ths.dtbo' > >> applying DTB overlay '/boot/dtb/overlays/sun50i-a64-timer.dtbo' > >> EHCI failed to shut down host controller. > >> ---<>--- > >> KDB: debugger backends: ddb > >> KDB: current backend: ddb > >> Copyright (c) 1992-2018 The FreeBSD Project. > >> Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, > >> 1994 > >> The Regents of the University of California. All rights > >> reserved. > >> FreeBSD is a registered trademark of The FreeBSD Foundation. > >> FreeBSD 12.0-ALPHA3 r338341M arm64 > >> FreeBSD clang version 6.0.1 (tags/RELEASE_601/final 335540) (based on > >> LLVM 6.0.1) > >> VT: init without driver. > >> KLD file umodem.ko is missing dependencies > >> . . . > >> > . . . > >> But after login: > >> > >> # kldstat > >> Id Refs Address Size Name > >> 1 1 0xffff000000000000 141bba8 kernel > >> # kldload umodem.ko > >> # kldstat > >> Id Refs Address Size Name > >> 1 6 0xffff000000000000 141bba8 kernel > >> 2 1 0xffff00005d000000 41000 umodem.ko > >> 3 1 0xffff00005d041000 41000 ucom.ko > > I finally have access to the BPI-M3 (armv7/cortexA7) again and > I updated it from something in the range -r333??? . The BPI-M3 > did not have this problem: > > QUOTE > Loading kernel... > /boot/kernel/kernel text=0x889d68 data=0xad8e0+0x1f79a0 > syms=[0x4+0xa6630+0x4+0x108bbf] > Loading configured modules... > /boot/kernel/umodem.ko text=0x1550 text=0xf30 data=0x1080+0xf84 > syms=[0x4+0xe90+0x4+0xa7e] > loading required module 'ucom' > /boot/kernel/ucom.ko text=0x174c text=0x2a30 data=0x1080+0x17b8 > syms=[0x4+0x13e0+0x4+0xbac] > /boot/entropy size=0x1000 > > Hit [Enter] to boot immediately, or any other key for command prompt. > END QUOTE > > The problem with loading ucom as a required module while loading > the kernel seems to be aarch64 specific in some way. The same > range of text for the Pine64+ 2GB (aarch64/cortexA53) shows no > reference to ucom.ko : > > QUOTE > Loading kernel... > /boot/kernel/kernel text=0x8d5063 data=0x1770f8+0x79d454 > syms=[0x8+0x11f790+0x8+0x112f2c] > Loading configured modules... > /boot/entropy size=0x1000 > /boot/kernel/umodem.ko text=0x2168 text=0x1410 data=0x102d0+0xfd40 > syms=[0x8+0xf30+0x8+0xb73] > > Hit [Enter] to boot immediately, or any other key for command prompt. > END QUOTE > > The builds for the above are both based on -r339076 (cross builds from > the same amd64 host using the same /usr/src/ tree content as the host). > > > === > Mark Millard > marklmi at yahoo.com > ( dsl-only.net went > away in early 2018-Mar) > > _______________________________________________ > freebsd-arm@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" >