From owner-freebsd-arm@freebsd.org Thu May 18 13:50:38 2017 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 738D7D73452; Thu, 18 May 2017 13:50:38 +0000 (UTC) (envelope-from hlh@restart.be) Received: from tignes.restart.be (tignes.restart.be [5.135.182.190]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "tignes.restart.be", Issuer "CA master" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 0FC4F1EA6; Thu, 18 May 2017 13:50:37 +0000 (UTC) (envelope-from hlh@restart.be) X-Comment: SPF check N/A for local connections - client-ip=2001:41d0:8:bdbe:1:1::; helo=restart.be; envelope-from=hlh@restart.be; receiver=freebsd-arm@freebsd.org DKIM-Filter: OpenDKIM Filter v2.10.3 tignes.restart.be 3wTCHv1H6Mzrrf DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=restart.be; s=tignes; t=1495115435; bh=dWb8lEUihI18ZghJxEf+uxlbcSCeW+FId8tuKerYg5Q=; h=Subject:From:To:Cc:References:Date:In-Reply-To; z=Subject:=20Re:=20DTB=20provided=20by=20loader.efi=20from=20head=2 0-r317181=20on=20pine64=20smashed=0D=0A=20by=20zfs.ko=20?|From:=20 Henri=20Hennebert=20|To:=20freebsd-arm=20|Cc:=20freebsd-current=20|References:=20<818a6074-7d4b-a87e-d89e-ce1f4a30ff3c@restart.b e>=0D=0A=20<6877ef26-1c40-7883-70c4-5fbb37c4b3db@restart.be>|Date: =20Thu,=2018=20May=202017=2015:50:33=20+0200|In-Reply-To:=20<6877e f26-1c40-7883-70c4-5fbb37c4b3db@restart.be>; b=KaaSb2HYdqFoc1eYjVUHwN45uF3bD4uJroJRFk27Z6354C9mzI//ZWxBLJnnp7hVW LkXhyjXYh2KykO2tMQwk/SJN/gq/loe+6PYJXFsL9LDgy8VqxmJ3JBlEU1BF98+Tx2 3R5zmLba+umW/HJUIFs0dXyji9CcrOpoMexFfAMiHJOcRNYTI3gb+GmWZ31xNy6+a9 hf5hk8NqdvitBSIg1NUfDfYK87ByiU2iTOiS3uhKtc7+sQvJrbNFacD/XI4AiT9P62 dsCxjsu42/HIuepDpXMSNy7a4g7FlfLfi2A+FV2308wAEtf6sUHwTsAAIJEYH1qUGU sj75G5z0hmuLw== Received: from restart.be (avoriaz.restart.be [IPv6:2001:41d0:8:bdbe:1:1::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.restart.be", Issuer "CA master" (verified OK)) by tignes.restart.be (Postfix) with ESMTPS id 3wTCHv1H6Mzrrf; Thu, 18 May 2017 15:50:34 +0200 (CEST) Received: from chamonix.restart.bel (chamonix.restart.bel [IPv6:2001:41d0:8:bdbe:1:9:0:0]) (authenticated bits=0) by restart.be (8.15.2/8.15.2) with ESMTPSA id v4IDoXiO079953 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); Thu, 18 May 2017 15:50:33 +0200 (CEST) (envelope-from hlh@restart.be) Subject: Re: DTB provided by loader.efi from head -r317181 on pine64 smashed by zfs.ko ? From: Henri Hennebert To: freebsd-arm Cc: freebsd-current References: <818a6074-7d4b-a87e-d89e-ce1f4a30ff3c@restart.be> <6877ef26-1c40-7883-70c4-5fbb37c4b3db@restart.be> Message-ID: <0ace532e-aca6-6144-f467-832dc04ba80b@restart.be> Date: Thu, 18 May 2017 15:50:33 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.1.0 MIME-Version: 1.0 In-Reply-To: <6877ef26-1c40-7883-70c4-5fbb37c4b3db@restart.be> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: fr-classic Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 May 2017 13:50:38 -0000 On 05/14/2017 19:46, Henri Hennebert wrote: > On 05/09/2017 12:07, Henri Hennebert wrote: >> Hello, >> >> I build current -r317181 with crochet for my PINE64. >> >> the kernel can boot with loader.conf.local: >> >> geom_mirror_load="YES" >> >> If I add to loader.conf.local: >> >> zfs_load="YES" >> >> or if I strike the space bar during loader.efi and I load zfs manually: >> >> OK load zfs If I load opensolaris manually, I can mount My root filesystem from zfs OK load opensolaris /boot/kernel/opensolaris.ko text=0x19d8 text=0xda0 data=0x10178+0x125b8 syms=[0x8+0x1020+0x8+0x8ca] OK boot -s Booting... Using DTB provided by EFI at 0x49000000. KDB: debugger backends: ddb KDB: current backend: ddb Copyright (c) 1992-2017 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-CURRENT #0 r317181M: Sun May 14 14:01:52 CEST 2017 root@norquay.restart.bel:/usr/obj/usr/src/sys/NORQUAY arm64 FreeBSD clang version 4.0.0 (tags/RELEASE_400/final 297347) (based on LLVM 4.0.0) VT: init without driver. Starting CPU 1 (1) Starting CPU 2 (2) Starting CPU 3 (3) FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs random: unblocking device. random: entropy device external interface kbd0 at kbdmux0 ofwbus0: aw_ccu0: on ofwbus0 clk_fixed0: on aw_ccu0 clk_fixed1: on aw_ccu0 aw_pll0: mem 0x1c20000-0x1c20003 on aw_ccu0 aw_pll1: mem 0x1c20028-0x1c2002b on aw_ccu0 clk_fixed2: on aw_ccu0 aw_pll2: mem 0x1c2002c-0x1c2002f on aw_ccu0 aw_cpuclk0: mem 0x1c20050-0x1c20053 on aw_ccu0 aw_axiclk0: mem 0x1c20050-0x1c20053 on aw_ccu0 aw_ahbclk0: mem 0x1c20054-0x1c20057 on aw_ccu0 aw_ahbclk1: mem 0x1c2005c-0x1c2005f on aw_ccu0 aw_apbclk0: mem 0x1c20054-0x1c20057 on aw_ccu0 aw_apbclk1: mem 0x1c20058-0x1c2005b on aw_ccu0 aw_gate0: mem 0x1c20060-0x1c20073 on aw_ccu0 aw_modclk0: mem 0x1c20088-0x1c2008b on aw_ccu0 aw_modclk1: mem 0x1c2008c-0x1c2008f on aw_ccu0 aw_modclk2: mem 0x1c20090-0x1c20093 on aw_ccu0 aw_pll3: mem 0x1c20044-0x1c20047 on aw_ccu0 aw_usbclk0: mem 0x1c200cc-0x1c200cf on aw_ccu0 aw_thsclk0: mem 0x1c20074-0x1c20077 on aw_ccu0 simplebus0: on ofwbus0 aw_reset0: mem 0x1c202c0-0x1c202cb on simplebus0 aw_reset1: mem 0x1c202d0-0x1c202d3 on simplebus0 aw_reset2: mem 0x1c202d8-0x1c202db on simplebus0 regfix0: on simplebus0 psci0: on ofwbus0 aw_sid0: mem 0x1c14000-0x1c143ff on simplebus0 awusbphy0: mem 0x1c19400-0x1c19423,0x1c1a800-0x1c1a803,0x1c1b800-0x1c1b803 on simplebus0 gic0: mem 0x1c81000-0x1c81fff,0x1c82000-0x1c83fff,0x1c84000-0x1c85fff,0x1c86000-0x1c87fff irq 0 0 gic0: pn 0x2, arch 0x2, rev 0x1, implementer 0x43b irqs 224 gpio0: mem 0x1c20800-0x1c20bff irq 8,9,10 on simplebus0 gpiobus0: on gpio0 aw_nmi0: mem 0x1f00c0c-0x1f00c43 irq 23 on simplebus0 generic_timer0: irq 1,2,3,4 on ofwbus0 Timecounter "ARM MPCore Timecounter" frequency 24000000 Hz quality 1000 Event timer "ARM MPCore Eventtimer" frequency 24000000 Hz quality 1000 rtc0: mem 0x1f00000-0x1f00053 irq 16,17 on simplebus0 cpulist0: on ofwbus0 cpu0: on cpulist0 cpufreq_dt0: on cpu0 cpufreq_dt0: no regulator for cpu@0 device_attach: cpufreq_dt0 attach returned 6 cpu1: on cpulist0 cpu2: on cpulist0 cpu3: on cpulist0 a10_mmc0: mem 0x1c0f000-0x1c0ffff irq 5 on simplebus0 mmc0: on a10_mmc0 gpioc0: on gpio0 uart0: <16750 or compatible> mem 0x1c28000-0x1c283ff irq 11 on simplebus0 uart0: console (115384,n,8,1) awg0: mem 0x1c30000-0x1c300ff,0x1c00030-0x1c00033 irq 21 on simplebus0 miibus0: on awg0 rgephy0: PHY 0 on miibus0 rgephy0: none, 10baseT, 10baseT-FDX, 10baseT-FDX-flow, 100baseTX, 100baseTX-FDX, 100baseTX-FDX-flow, 1000baseT, 1000baseT-master, w rgephy1: PHY 1 on miibus0 rgephy1: none, 10baseT, 10baseT-FDX, 10baseT-FDX-flow, 100baseTX, 100baseTX-FDX, 100baseTX-FDX-flow, 1000baseT, 1000baseT-master, w awg0: Ethernet address: 02:ba:4c:17:07:8b aw_wdog0: mem 0x1c20ca0-0x1c20cbf irq 22 on simplebus0 aw_thermal0: mem 0x1c25000-0x1c253ff irq 25 on simplebus0 ohci0: mem 0x1c1a400-0x1c1a4ff irq 26 on simplebus0 usbus0 on ohci0 ehci0: mem 0x1c1a000-0x1c1a0ff irq 27 on simplebus0 usbus1: EHCI version 1.0 usbus1 on ehci0 ohci1: mem 0x1c1b400-0x1c1b4ff irq 28 on simplebus0 usbus2 on ohci1 ehci1: mem 0x1c1b000-0x1c1b0ff irq 29 on simplebus0 usbus3: EHCI version 1.0 usbus3 on ehci1 cryptosoft0: cpufreq_dt0: on cpu0 cpufreq_dt0: no regulator for cpu@0 device_attach: cpufreq_dt0 attach returned 6 ZFS filesystem version: 5 ZFS storage pool version: features support (5000) ZFS is running before the root filesystem is mounted! Henri >> ... >> OK boot > With a slimmed down kernel config, I can load zfs.ko and boot the kernel > BUT opensolaris is not loaded and I get at kernel boot: > > OK load zfs > /boot/kernel/zfs.ko text=0x9d980 text=0xe0480 data=0x214c8+0x9eb78 > syms=[0x8+0x1d6a0+0x8+0x187bd] > OK boot > Booting... > KDB: debugger backends: ddb > KDB: current backend: ddb > Copyright (c) 1992-2017 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-CURRENT #0 r317181M: Sun May 14 14:01:52 CEST 2017 > root@norquay.restart.bel:/usr/obj/usr/src/sys/NORQUAY arm64 > FreeBSD clang version 4.0.0 (tags/RELEASE_400/final 297347) (based on > LLVM 4.0.0) > VT: init without driver. > KLD file zfs.ko is missing dependencies > Starting CPU 1 (1) > Starting CPU 2 (2) > Starting CPU 3 (3) > FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs > random: unblocking device. > > > note the message: > KLD file zfs.ko is missing dependencies > >> >> the kernel don't boot and the console stay with the last line: >> >> Using DTB provided by EFI at 0x49000000. >> >> Moreover the opensolaris.ko is not loader. >> >> Maybe DTB is smashed by zfs.ko >> >> Any idea ? >> >> Henri >> >> PS with r312006M from RaspBSD all is OK and I can user zfs as root >> filesystem. >> _______________________________________________ >> 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" >> > _______________________________________________ > 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" >