From owner-freebsd-arm@freebsd.org Tue Jan 16 13:19:26 2018 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 C72F4EC2EA5 for ; Tue, 16 Jan 2018 13:19:26 +0000 (UTC) (envelope-from unto.foru13@gmail.com) Received: from mail-wm0-x22c.google.com (mail-wm0-x22c.google.com [IPv6:2a00:1450:400c:c09::22c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 45A397912A; Tue, 16 Jan 2018 13:19:26 +0000 (UTC) (envelope-from unto.foru13@gmail.com) Received: by mail-wm0-x22c.google.com with SMTP id x4so17103244wmc.0; Tue, 16 Jan 2018 05:19:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=FXnZv09bOkYIcgtbnzIF90Cn9oLfmGmwUUfexjJxRnU=; b=ZRZR7h+O9qiewkO/AMown7qq/2z/CQdx0P6Z09/UUfBbEzQJ/lRvDKl520DLFK8jcg RmkLr63KHxpUaw+36FWDFkohQyBRMxFnLU529Bey53bNluZC7txY9d9Jgn7eXTuFGwvM cVYmPqIYOiOfxmz5zHGVOhcBZwzZD7T7UfEJq9ZPuQWfp3sAOgS/ZN1pDN0IsKmOxSel iiknJuFzQn4ITzp0POX8Q3LItGDu1FwoBuUW212Pnl/JnavlETCAr3B9Uwxf+ql6aSZS 8+s3FAywHSIVO8vX8CDjbiukUqcetA0hXZUepclMd9E1aSK64vByQs1mNfLtUrh0xLOK dY+w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=FXnZv09bOkYIcgtbnzIF90Cn9oLfmGmwUUfexjJxRnU=; b=i0WfLHEK/cWSsWaBFDeBaQ2UaV31i2o+CVlaVABRkhvncqLsJvEsOSWfRkdbr0IkEH Y0oI4W2+A0vH3UejBdkjAJdyUZIS86tU2N2rcGzPBqKMCw3DsUg0JOXLT1a35a7SBtIU McoL1dlNlea25dopwFWScHmk1BfjMndCQwag00BJ2oihzcM1GJxLuySgOCtINqXhNXFo gp1kRQXFijW6YTxzjVZi+5Idc7hGu7k9109Q40JxZu5PszSLvxsHW00ang8sFPgNyoPD cShvZuKnvHBxqxjMyKUbtji7F3VI2Qs5GNj0PC7jGvFtTKJQjbXd3pW06Pm06CjT0T8Y LHaw== X-Gm-Message-State: AKwxytfO9+Se1azpaDGZqwpHHUsEJqXB7OXrRJeAjy/2QG7iLxZbyfKs 0aRIf7c77McLnCEcYwmtd3gn1KwyYX8aZJJv4Nexj85T X-Google-Smtp-Source: ACJfBov1XCJ1F8AOxY9OydnWCKhFuPotlDzconz3N2RWQ/eIhOLhgtE9ejQShBmlCg7wXE6sARH4P50HIHI1T7+MoTI= X-Received: by 10.80.213.82 with SMTP id f18mr12977201edj.255.1516108764217; Tue, 16 Jan 2018 05:19:24 -0800 (PST) MIME-Version: 1.0 Received: by 10.80.222.139 with HTTP; Tue, 16 Jan 2018 05:19:23 -0800 (PST) In-Reply-To: References: <8DD425C1-FEF4-4BC0-9A80-916B50620896@dsl-only.net> From: =?UTF-8?B?6Zi/6YeR?= Date: Tue, 16 Jan 2018 21:19:23 +0800 Message-ID: Subject: Re: Orange pi one ,receive panic: bad pte2 To: Kyle Evans Cc: "freebsd-arm@freebsd.org" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Jan 2018 13:19:26 -0000 OKOK below is booting message. U-Boot SPL 2017.07 (Oct 20 2017 - 12:55:15) DRAM: 512 MiB Trying to boot from MMC1 U-Boot 2017.07 (Oct 20 2017 - 12:55:15 +0000) Allwinner Technology CPU: Allwinner H3 (SUN8I 1680) Model: Xunlong Orange Pi One DRAM: 512 MiB MMC: SUNXI SD/MMC: 0 In: serial Out: serial Err: serial Net: phy interface0 eth0: ethernet@1c30000 starting USB... USB0: USB EHCI 1.00 USB1: USB OHCI 1.0 scanning bus 0 for devices... 1 USB Device(s) found scanning usb for storage devices... 0 Storage Device(s) found Hit any key to stop autoboot: 0 switch to partitions #0, OK mmc0 is current device Scanning mmc 0:1... Found FreeBSD U-Boot Loader (bin) reading ubldr.bin 232932 bytes read in 33 ms (6.7 MiB/s) ## Starting application at 0x42000000 ... Consoles: U-Boot console Compatible U-Boot API signature found @0x59f4c490 FreeBSD/armv6 U-Boot loader, Revision 1.2 (Mon Jan 15 04:39:27 CST 2018 root@VirtualBox pi) DRAM: 512MB MMC Device 1 not found MMC Device 2 not found MMC Device 3 not found Number of U-Boot devices: 1 U-Boot env: loaderdev not set, will probe all devices. Found U-Boot device: disk Probing all disk devices... Checking unit=3D0 slice=3D partition=3D... good. Booting from disk0s2a: /boot/kernel/kernel data=3D0x862c1c+0x1dd3e4 syms=3D[0x4+0x979b0+0x4+0xdca9= d] Hit [Enter] to boot immediately, or any other key for command prompt. Booting [/boot/kernel/kernel]... /boot/dtb/u-boot.dtb size=3D0x2f09 Loaded DTB from file 'u-boot.dtb'. Kernel entry at 0x42200100... Kernel args: (null) 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-CURRENT #0 r327807: Sun Jan 14 03:22:38 CST 2018 root@VirtualBox pi:/opt/head_327807_obj/obj/opt/head_327807/arm.armv6/sys/GENERIC arm FreeBSD clang version 5.0.1 (tags/RELEASE_501/final 320880) (based on LLVM 5.0.1) WARNING: WITNESS option enabled, expect reduced performance. VT: init without driver. module_register: cannot register simplebus/ahci from kernel; already loaded from kernel Module simplebus/ahci failed to register: 17 module_register: cannot register simplebus/ehci from kernel; already loaded from kernel Module simplebus/ehci failed to register: 17 module_register: cannot register simplebus/pcib from kernel; already loaded from kernel Module simplebus/pcib failed to register: 17 module_register: cannot register simplebus/ehci from kernel; already loaded from kernel Module simplebus/ehci failed to register: 17 CPU: ARM Cortex-A7 r0p5 (ECO: 0x00000000) CPU Features: Multiprocessing, Thumb2, Security, Virtualization, Generic Timer, VMSAv7, PXN, LPAE, Coherent Walk Optional instructions: SDIV/UDIV, UMULL, SMULL, SIMD(ext) LoUU:2 LoC:3 LoUIS:2 Cache level 1: 32KB/64B 4-way data cache WB Read-Alloc Write-Alloc 32KB/32B 2-way instruction cache Read-Alloc Cache level 2: 512KB/64B 8-way unified cache WB Read-Alloc Write-Alloc real memory =3D 536870912 (512 MB) avail memory =3D 508055552 (484 MB) FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs arc4random: no preloaded entropy cache random: entropy device external interface kbd0 at kbdmux0 ofwbus0: aw_ccu0: on ofwbus0 clk_fixed0: on aw_ccu0 clk_fixed1: on aw_ccu0 clk_fixed2: on aw_ccu0 aw_gate0: mem 0x1f01428-0x1f0142b on aw_ccu0 aw_modclk0: mem 0x1f01454-0x1f01457 on aw_ccu0 simplebus0: on ofwbus0 aw_ccung0: mem 0x1c20000-0x1c203ff on simplebus0 aw_reset0: mem 0x1f014b0-0x1f014b3 on simplebus0 regfix0: on ofwbus0 regfix1: on ofwbus0 regfix2: on ofwbus0 awusbphy0: mem 0x1c19400-0x1c1942b,0x1c1a800-0x1c1a803,0x1c1b800-0x1c1b803,0x1c1c800-0x1c1= c803,0x1c1d800-0x1c1d803 on simplebus0 gic0: mem 0x1c81000-0x1c81fff,0x1c82000-0x1c82fff,0x1c84000-0x1c85fff,0x1c86000-0x1c8= 7fff irq 24 on simplebus0 gic0: pn 0x1, arch 0x2, rev 0x1, implementer 0x43b irqs 160 gpio0: mem 0x1c20800-0x1c20bff irq 14,15 on simplebus0 gpiobus0: on gpio0 gpio1: mem 0x1f02c00-0x1f02fff irq 28 on simplebus0 gpiobus1: on gpio1 generic_timer0: irq 0,1,2,3 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 25,26 on simplebus0 rtc0: registered as a time-of-day clock, resolution 1.000000s syscon_generic0: mem 0x1c00000-0x1c00033 on simplebus0 cpulist0: on ofwbus0 cpu0: on cpulist0 cpu1: on cpulist0 cpu2: on cpulist0 cpu3: on cpulist0 a31dmac0: mem 0x1c02000-0x1c02fff irq 4 on simplebus0 aw_mmc0: mem 0x1c0f000-0x1c0ffff irq 5 on simplebus0 mmc0: on aw_mmc0 ehci0: mem 0x1c1b000-0x1c1b0ff irq 8 on simplebus0 usbus0: EHCI version 1.0 usbus0 on ehci0 ohci0: mem 0x1c1b400-0x1c1b4ff irq 9 on simplebus= 0 usbus1 on ohci0 gpioc0: on gpio0 aw_wdog0: mem 0x1c20ca0-0x1c20cbf irq 18 on simplebus0 uart0: <16750 or compatible> mem 0x1c28000-0x1c283ff irq 19 on simplebus0 uart0: console (115384,n,8,1) uart1: mem 0x1c28400-0x1c287ff irq 20 on simplebus0 awg0: mem 0x1c30000-0x1c30103,0x1c00030-0x1c00033 irq 23 on simplebus0 awg0: cannot get tx clock miibus0: on awg0 ukphy0: PHY 0 on miibus0 ukphy0: none, 10baseT-FDX, 100baseTX ukphy1: PHY 1 on miibus0 ukphy1: none, 10baseT-FDX, 100baseTX awg0: Ethernet address: 02:81:ae:83:0f:fa gpioc1: on gpio1 gpioled0: on ofwbus0 cryptosoft0: Timecounters tick every 1.000 msec usbus0: 480Mbps High Speed USB v2.0 usbus1: 12Mbps Full Speed USB v1.0 ugen0.1: at usbus0 uhub0: on usbus= 0 ugen1.1: at usbus1 uhub1: on usbus1 mmcsd0: 16GB at mmc0 50.0MHz/4bit/65535-block Release APs WARNING: WITNESS option enabled, expect reduced performance. arc4random: no preloaded entropy cache Trying to mount root from ufs:/dev/mmcsd0s2a [rw]... uhub1: 1 port with 1 removable, self powered arc4random: no preloaded entropy cache uhub0: 1 port with 1 removable, self powered arc4random: no preloaded entropy cache /etc/rc: WARNING: hostid: unable to figure out a UUID from DMI data, generating a new one Setting hostuuid: 6c68013f-fac6-11e7-a689-d969c7db3a6e. Setting hostid: 0xa8b75395. No suitable dump device was found. Starting file system checks: Mounting local filesystems:. ELF ldconfig path: /lib /usr/lib /usr/lib/compat random: unblocking device. Soft Float compatibility ldconfig path: Setting hostname: head_pi. Setting up harvesting: [UMA],[FS_ATIME],SWI,INTERRUPT,NET_NG,NET_ETHER,NET_TUN,MOUSE,KEYBOARD,ATTA= CH,CACHED Feeding entropy: . Starting Network: lo0 awg0. lo0: flags=3D8049 metric 0 mtu 16384 options=3D600003 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0xawg0: link state changed to DOWN awg0: link state changed to UP 2 inet 127.0.0.1 netmask 0xff000000 groups: lo nd6 options=3D21 awg0: flags=3D8802 metric 0 mtu 1500 options=3D8000b ether 02:81:ae:83:0f:fa media: Ethernet none (none ) status: active nd6 options=3D29 Starting devd. Starting Network: awg0. awg0: flags=3D8802 metric 0 mtu 1500 options=3D8000b ether 02:81:ae:83:0f:fa media: Ethernet none (none ) status: active nd6 options=3D29 add host 127.0.0.1: gateway lo0 fib 0: route already in table add host ::1: gateway lo0 fib 0: route already in table add net fe80::: gateway ::1 add net ff02::: gateway ::1 add net ::ffff:0.0.0.0: gateway ::1 add net ::0.0.0.0: gateway ::1 Generating host.conf. Creating and/or trimming log files. Starting syslogd. Clearing /tmp (X related). Updating motd:. Mounting late filesystems:. Starting sendmail_submit. Starting sendmail_msp_queue. Starting cron. Starting background file system checks in 60 seconds. Tue Jan 16 14:06:53 UTC 2018 FreeBSD/arm (head_pi) (ttyu0) login: 2018-01-16 9:52 GMT+08:00 Kyle Evans : > On Mon, Jan 15, 2018 at 7:30 PM, =E9=98=BF=E9=87=91 wrote: > > Thanks Mark,head -r327485 is good > > no more pte2 errors(I also change another sd card test). > > I have network ,and can make ports in orange pi one. > > I will live with -r327485. > > > > just remind ,I try new revision 327807,will got network error . > > > > awg0: mem 0x1c30000-0x1c30103,0x1c00030- > 0x1c00033 > > irq 23 on simplebus0 > > awg0: cannot get tx clock > > miibus0: on awg0 > > > > What does the rest of your dmesg reveal? Did it try to attach a > syscon_generic sometime before there for some reason? > > Thanks, > > Kyle Evans >