Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Oct 2015 18:21:17 +0200
From:      Piotr Kubaj <pkubaj@riseup.net>
To:        Adrian Chadd <adrian@freebsd.org>
Cc:        freebsd-mips@freebsd.org
Subject:   Re: Kernel config for TPLink TL WDR3600
Message-ID:  <56193AFD.90201@riseup.net>
In-Reply-To: <CAJ-VmomPM40c0GS=Dmb-%2B%2BTVHFD195XuW3XYsVpQnxSC=SE_CQ@mail.gmail.com>
References:  <CAJ-VmokxzBVVASyWNQnPTn%2B3GPH6DKSq67S5nHK9tuEydV6oTg@mail.gmail.com> <5614D073.9060706@riseup.net> <5614E36E.6000803@grosbein.net> <CAJ-Vmo=z7PgS8o5Bq-35QSorDPdj=rpac82Lq6a_bekrCkfdVA@mail.gmail.com> <5615F57E.1010405@riseup.net> <5615F697.6080700@riseup.net> <CAJ-VmomPM40c0GS=Dmb-%2B%2BTVHFD195XuW3XYsVpQnxSC=SE_CQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--2bLxtrmxdILAfvpiLCNOlu1eNSu154Ned
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

On 10/08/2015 17:47, Adrian Chadd wrote:
> I'll go try reflashing my tl-wr1043nd v1 today.
>=20
> Which instrucitons are you following?
>=20
>=20
> a
>=20
>=20
> On 7 October 2015 at 21:52, Piotr Kubaj <pkubaj@riseup.net> wrote:
>> On 10/08/2015 06:47, Piotr Kubaj wrote:
>>> On 10/07/2015 20:08, Adrian Chadd wrote:
>>>> Hi,
>>>>
>>>> Just run -HEAD, or be prepared to MFC everything in the mips code an=
d
>>>> wifi stack/drivers to stable/10.
>>>>
>>>> -HEAD works fine. You should just try it. :)
>>>>
>>>>
>>>>
>>>> -adrian
>>>>
>>>>
>>>> On 7 October 2015 at 02:18, Eugene Grosbein <eugen@grosbein.net> wro=
te:
>>>>> On 07.10.2015 14:57, Piotr Kubaj wrote:
>>>>>> @eugen
>>>>>> You could just copy//WDR3600's kernel config to sys/misc/conf in s=
table/10. It's quite possible that it will work.
>>>>>
>>>>> I made diff between stable/10 and head for MIPS-related source file=
s
>>>>> and there are lots of non-trivial (for me) changes in head.
>>>>>
>>>>> I will create virtual machine with VBox and build head there
>>>>> as I do not run head on my desktop but 10.2
>>>>>
>>>>>
>>> I've tried to upgrade my 1043nd to HEAD but it caused me just problem=
s :P
>>>
>>>
>>> Is this error known?
>>>
>>>
>>> start_init: trying /sbin/init
>>> rtl8366rb0port0: link state changed to UP
>>> init died (signal 0, exit 1)
>>> panic: Going nowhere without my init!
>>> KDB: enter: panic
>>> [ thread pid 1 tid 100001 ]
>>> Stopped at      kdb_enter+0x4c: lui     at,0x804b
>>> db> bt
>>> Tracing pid 1 tid 100001 td 0x8064b000
>>> db_trace_thread+30 (?,?,?,?) ra c736b8a000000018 sp 0 sz 0
>>> 80088bf4+114 (0,?,ffffffff,?) ra c736b8b800000020 sp 100000000 sz 1
>>> 80088000+388 (?,?,?,?) ra c736b8d8000000a8 sp 0 sz 0
>>> db_command_loop+70 (?,?,?,?) ra c736b98000000018 sp 0 sz 0
>>> 8008ab08+f4 (?,?,?,?) ra c736b998000001a8 sp 0 sz 0
>>> kdb_trap+110 (?,?,?,?) ra c736bb4000000030 sp 0 sz 0
>>> trap+c7c (?,?,?,?) ra c736bb70000000c0 sp 0 sz 0
>>> MipsKernGenException+134 (0,0,0,0) ra c736bc30000000c8 sp 100000001 s=
z 1
>>> kdb_enter+4c (?,?,?,?) ra c736bcf800000018 sp 0 sz 0
>>> vpanic+ec (?,?,?,?) ra c736bd1000000020 sp 0 sz 0
>>> panic+20 (?,0,0,0) ra c736bd3000000020 sp 1 sz 1
>>> exit1+6c (?,?,?,?) ra c736bd5000000058 sp 0 sz 0
>>> sys_sys_exit+14 (?,?,?,?) ra c736bda800000018 sp 0 sz 0
>>> trap+7a8 (?,?,?,?) ra c736bdc0000000c0 sp 0 sz 0
>>> MipsUserGenException+10c (?,?,?,4093bea0) ra c736be8000000000 sp 0 sz=
 0
>>> pid 1
>>>
>>>
>>>
>>>
>>>
>>> I'm not sure if that matters but I have 64 MB RAM, so I have changed
>>> AR71XX_REALMEM to 64*1024*1024.
>>>
>> I've noticed that higher in the logs there is:
>> MAP: No valid partition found at map/rootfs.uncompress
>>
Today I've updated my HEAD src (to r289115) and built another image and
it seems to work. Unfortunately, I didn't check what revision I was at
earlier.
I just want to ask about a few things in boot logs:
MAP: No valid partition found at map/rootfs.uncompress
hwpmc: SOFT/16/64/0x67<INT,USR,SYS,REA,WRI>
MIPS24K/2/32/0x1ff<INT,USR,SYS,EDG,THR,REA,WRI,INV,QUA>
Root mount waiting for: usbus0
uhub0: 1 port with 1 removable, self powered
random: harvesting attach, 8 bytes (4 bits) from uhub0
Trying to mount root from ufs:map/rootfs.uncompress []...
warning: no time-of-day clock registered, system time will not be set
accurately
start_init: trying /sbin/init
rtl8366rb0port1: link state changed to UP
Oct 10 16:01:31 init: login_getclass: unknown class 'daemon'
MAP: No valid partition found at md0
random: unblocking device.
MAP: No valid partition found at md0
MAP: No valid partition found at md1
MAP: No valid partition found at md1
MAP: No valid partition found at md2
MAP: No valid partition found at md2
*** Populating /var ..
*** Loading configuration files ..
*** Restoring from /dev/map/cfg ..
gunzip: unknown compression format
1+0 records in
1+0 records out
65536 bytes transferred in 0.168223 secs (389578 bytes/sec)
0 blocks
*** Completed.
*** setting up hostname
*** Load kernel modules
  .. bridgestp
kldload: can't load bridgestp: module already loaded or in kernel
  .. if_bridge
kldload: can't load if_bridge: No such file or directory
  .. random
kldload: can't load random: No such file or directory



Should there be those "No valid partition found"? Also, those "No such
file or directory" when loading kernel modules also worries me. I'm not
sure whether I had these errors before, but now it caught my attention.


--2bLxtrmxdILAfvpiLCNOlu1eNSu154Ned
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIcBAEBCgAGBQJWGTsDAAoJEC9nKukRsfY+RbUP/jYZA/z1CGaH7PT+xnYrO6qQ
2S8+KIWg3aYYWIVX3j29NX9JP2tGm6ux06ZWj9kA+J9M9beMCKzx05n8A2UEOfrC
wkS2UtKoLfuRLVDskBJ91OhUFUM+fwKgKMj0j9LwQz769Yk3tn/PUAsVjvmi/M3h
tvMADIkNM5MEicFaP7msSN7d8HiVc7sy6ATbXFTUPxDxhLlx05WnKhn/tclcRznO
HGST+ehdf+UVqV+pLd5RImWhjLLXRVQ4bC4YQ7a1ME3iBF9NvLCncVfpLd5HWGPq
C7yA8YU3mWkDEUxK5y4ry6yOOBOS5gDaMgIPw9MLcjnoXzD3Z3wG3Et+ngflRFUp
c/aH+vEJJtnT/OLi46uSXyK0w84JwGKN0U4CXRZWoLasopCGhibpnhZM3sxMRBJf
m/ne9FmGGIUzkPl6lhMlFWC1MOPS7VORmmaMZr2llit72l5HiW7x0pFcOmjD7CeG
ShMk6Rs5UjDwWDoKVWK8FjrCawQyv0I1JLCMEQTCFoesJVndO+I6WFrt0HABt+Lt
WSX1vXDPhIwVf6caUN/CVV4GfelmPVHaOrTRyMcqJi1bNq33Fl/eACXJUmboyBXp
6ri2NjotUulTOGfpBXY6+Dowg9H2EuXEfxPSlq4/vXSHyavQQYv53wvm6iKwMsK5
QLzX0NNlO/6Xbr+oysgO
=a/gp
-----END PGP SIGNATURE-----

--2bLxtrmxdILAfvpiLCNOlu1eNSu154Ned--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?56193AFD.90201>