Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] Gentoo on Asus Tinker
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
pacl
n00b
n00b


Joined: 24 Jan 2016
Posts: 38

PostPosted: Tue Oct 23, 2018 1:33 pm    Post subject: [Solved] Gentoo on Asus Tinker Reply with quote

Hello,

I just installed Gentoo on the Asus Tinker by following the instructions on this guide:
http://geekhouse.online/?p=41

I was able to boot Gentoo, but there is a very huge Problem:
The proc filesystem is not mounted.
Even with the appropriate settings in /etc/fstab.

One thing I noticed is, that the reformatting (mkfs.ext4) of the rootfs vanishes the kernel modules.

Mounting the procfs manually is resulting in:
Code:
mount: only root can use "--types" option (effective UID is 1003)

which is really strange, since I'm root:
Code:
localhost ~ # id
uid=0(root) gid=0(root) groups=0(root),1(bin),2(daemon),3(sys),4(adm),6(disk),10(wheel),11(floppy),26(tape),27(video)


Does anyone know what to do?

Best,
pacl
_________________
It is so beautiful to be detached from the "System"


Last edited by pacl on Fri Oct 26, 2018 8:42 am; edited 2 times in total
Back to top
View user's profile Send private message
pacl
n00b
n00b


Joined: 24 Jan 2016
Posts: 38

PostPosted: Wed Oct 24, 2018 10:45 am    Post subject: OpenRC startup Reply with quote

The first messages from the OpenRC startup

  • Mounting /proc ...
    mount: only root can use "--options" option (effective UID is 1003)
    mount: only root can use "--no-mtab" option (effective UID is 1003)
  • getmntinfo: No such file or directory
  • Mounting /run ...
    mount: only root can use "--options" option (effective UID is 1003)
  • Unable to mount tmpfs on /run
  • Can't continue

_________________
It is so beautiful to be detached from the "System"
Back to top
View user's profile Send private message
pacl
n00b
n00b


Joined: 24 Jan 2016
Posts: 38

PostPosted: Wed Oct 24, 2018 10:51 am    Post subject: .config Reply with quote

I compiled a new kernel, based on the debian kernel sources (branch linux4.4-rk3288):
https://github.com/TinkerBoard/debian_kernel/

and with the miniarm-rk3288_defconfig:
http://paste.ubuntu.com/p/H5xQgQ5WVh/
_________________
It is so beautiful to be detached from the "System"
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54216
Location: 56N 3W

PostPosted: Thu Oct 25, 2018 4:55 pm    Post subject: Reply with quote

pacl,

A few things. First to get the best response from the forum, do not respont in you new topic until someone else has replied. Instead, edit your original post to add more information. This keeps your topic in the "unanswered posts" search, which many potential helpers use to find topics to respond to.

I have not used u-boot in a year or two but it sounds more like a kernel issue. OpenRC should mount /proc very early in the startup process.
Entries in fstab may be too late.

Now some more questions
How did you make your kernel?
Do you use an initrd and if so, how did you make that?

When you reformat root, the kernel modules are removed because they are stored in /lib/modules/`uname -r`/
You should preserve /lib/modules/ when you reformat root.
The are stored there by the
Code:
make modules_install
command.
Its sufficient to rerun that command in you complete kernel tree to recreate /lib/modules/`uname -r`/ for that particular kernel.

(effective UID is 1003) tells that the user is control at that time is not root.
This might be a hint that you do use an initrd and built it elsewhere as a regular user with that userID, so that is how it runs, or somehow bits of /sbin are owned by userID 1003. That could happen if you untarred the stage3 as that user, not root.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
pacl
n00b
n00b


Joined: 24 Jan 2016
Posts: 38

PostPosted: Fri Oct 26, 2018 8:42 am    Post subject: Reply with quote

Quote:
That could happen if you untarred the stage3 as that user, not root

That was it and now it's running fine.

Thank you so much, best
pacl
_________________
It is so beautiful to be detached from the "System"
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum