Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Jan 2018 09:30:47 +0800
From:      =?UTF-8?B?6Zi/6YeR?= <unto.foru13@gmail.com>
To:        Mark Millard <markmi@dsl-only.net>, Emmanuel Vadot <manu@bidouilliste.com>, freebsd-arm@freebsd.org
Subject:   Re: Orange pi one ,receive panic: bad pte2
Message-ID:  <CAKpwDm0bt77Z3xr5_d7Os%2BR8dVjjSH4gy99wmchOWg3oG6TrRQ@mail.gmail.com>
In-Reply-To: <8DD425C1-FEF4-4BC0-9A80-916B50620896@dsl-only.net>
References:  <CAKpwDm1==KqBMsyKQ5Q2tdoyYP6JMFizS6ASZt3L4X2oQVky6Q@mail.gmail.com> <8DD425C1-FEF4-4BC0-9A80-916B50620896@dsl-only.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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: <Allwinner Gigabit Ethernet> mem 0x1c30000-0x1c30103,0x1c00030-0x1c00=
033
irq 23 on simplebus0
awg0: cannot get tx clock
miibus0: <MII bus> on awg0

after login=3D>

#ifconfig
awg0: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 150=
0
        options=3D8000b<RXCSUM,TXCSUM,VLAN_MTU,LINKSTATE>
        ether 02:81:19:f7:db:58
        inet 192.168.78.76 netmask 0xffffff00 broadcast 192.168.78.255
        media: Ethernet none (none <hw-loopback>)
        status: active
        nd6 options=3D29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>

can't ping other device.


besides,
https://github.com/evadot/u-boot/tree/freebsd
git describe --tags
v2017.11-815-gca833ca957

Error: You must add new CONFIG options using Kconfig
The following new ad-hoc CONFIG options were detected:
CONFIG_SYS_USB_EVENT_POLL_VIA_INT_QUEUE

Please add these via Kconfig instead. Find a suitable Kconfig
file and add a 'config' or 'menuconfig' option.
gmake: *** [Makefile:870: all] Error 1

I mess to edit blow ,will compile ok.
In /u-boot/common/Kconfig
config SYS_USB_EVENT_POLL_VIA_INT_QUEUE
       bool " usb test"
       default 1


2018-01-08 9:48 GMT+08:00 Mark Millard <markmi@dsl-only.net>:

> On 2018-Jan-7, at 5:20 PM, =E9=98=BF=E9=87=91 <unto.foru13 at gmail.com> =
wrote:
>
> > when I access SD files a lot (ex: find files,make port),I often got
> errors
> > =3D> panic: bad pte2,
> > I thought maybe is my SD card problem,so I mount root file (/) to USB
> disk.
> > the problem remain same.
> > How could I fix this??
> >
> >
> > my board is Orange pi one
> >
> > FreeBSD 12.0-CURRENT #0 r326307M: Wed Jan  3 07:17:09 CST 2018
> >    root@VirtualBox pi:/opt/head_obj/obj/opt/head/arm.armv6/sys/GENERIC
> arm
> > FreeBSD clang version 5.0.0 (tags/RELEASE_500/final 312559) (based on
> LLVM
> > 5.0.0svn)
> >
> . . .
>
> I saw such back on such old versions as well. For example:
>
> https://lists.freebsd.org/pipermail/freebsd-hackers/
> 2017-December/051942.html
>
> is is report for the RPi2B V1.1 . -r326726 showed the "bad pte2"
> problem. But your example does not involve exec_elf32_imgact .
> (My examples might not have run into all cases of failure.)
>
> head -r327485 has not done such for me. Also, by then head
> had a fix for a boot-sometimes-hangs issue introduced in
> -r326347 . (There still can be hangups when plugging in USB
> drives after booting, at least on Pine64+ 2GBs.)
>
> =3D=3D=3D
> Mark Millard
> markmi at dsl-only.net
>
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAKpwDm0bt77Z3xr5_d7Os%2BR8dVjjSH4gy99wmchOWg3oG6TrRQ>