Re: Starting NetBSD/mips64 kernel up and Userland Questions

"Naruaki.Etomi" <[email protected]>
Newsgroups gmane.os.netbsd.ports.mips.devel
Message-ID <CANkyS8V0TJjBhHqhw7sBON0swstEV28c2dSOsPVpXz0hCiLP_Q@mail.gmail.com>
Hello,
Thank you everyone.

---------------------------------------------------------------------------------------
Dear Thorpe,

>Our 64-bit MIPS platforms use n32 binaries because, as I recall,
>it was determined to perform better.
I understood.

I built mips64 userland and tried it!

[  11.4114064] WARNING: clock lost 8764 days
[  11.4595812] WARNING: using filesystem time
[  11.5088293] WARNING: CHECK AND RESET THE DATE!
[  11.6822271] panic: init died (signal 0, exit 1)
[  11.7426656] cpu0: Begin traceback...
[  11.7876988] pid -2136376384 not found
[  11.8316821] cpu0: End traceback...
[  11.8725321] kernel: breakpoint trap
Stopped in pid 1.1 (init) at    ffffffff80073b2c:       jr      ra
                bdslot: nop
db> tr
0xffffffff80a97be0: 0+ffffffff80073b2c (0,ff00,0,ffffffff807c9380) ra 0 sz 0
User-level: pid 1.1

Well, things are not going well.
Do you have any advice on where to investigate?

---------------------------------------------------------------------------------------
Dear Michael,

It has been a long time since I last contacted you.

>Nice! Now I really need to get a new power supply for my O2...

I know the feeling.
My power supply too broke and replace.

>We default to N32 userlands on all mips64 - as in 64bit registers etc.
>enabled but 32bit address space.
>Not sure they work properly, but gcc -mabi=64 ... is probably what
>you're looking for.

Thank you for your advice!

>Please commit, even if it only partially works, so other people can
>work on it as well ( mostly referring to myself, I have an Octane
>here... )

I understood.
Clean up my patch.

---------------------------------------------------------------------------------------
Dear Maya,

>We can't run dynamically linked n64 binaries, I doubt anyone fixed PR
>52857.

Thank you for your advice!

-- 
Naruaki Etomi
[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.