Gentoo Archives: gentoo-user

From: James <wireless@×××××××××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: module woes
Date: Wed, 05 Feb 2014 18:18:28
Message-Id: loom.20140205T190927-891@post.gmane.org
In Reply to: Re: [gentoo-user] module woes by Alan McKinnon
1 Alan McKinnon <alan.mckinnon <at> gmail.com> writes:
2
3
4 > > What did I miss, besides the permissions?
5
6 > Do you have some MAC system like SELinux configured?
7 NO. It this openbox system I've been hacking on.....
8
9 > Necessary
10 > filesystems like /proc or /dev omitted in that problematic kernel?
11
12 fstab (dirt simple):
13 /dev/sda1 /boot ext2 defaults,noatime 0 2
14 /dev/sda2 none swap sw 0 0
15 /dev/sda3 / ext4 defaults,noatime 0 1
16 /dev/sda4 /usr/local ext4 defaults,noatime 0 1
17 /dev/cdrom /mnt/cdrom auto noauto,user 0 0
18 shm /dev/shm tmpfs nodev,nosuid,noexec 0 0
19 none /proc proc defaults 0 0
20
21
22 > I can't think of anything else that could interfere with root's ability
23 > to do what root does.
24
25 OK, the 3 /lib/module/<kernel> dir permissions have me stumped
26 as to why/how they could get different perms:
27
28 drwxr-xr-x 4 root root 4.0K Jan 16 16:13 3.10.25-gentoo
29 drwxr-xr-x 3 root root 4.0K Jan 28 14:52 3.13.0-gentoo-r1
30 drwx------ 3 root root 4.0K Feb 4 09:17 3.13.1-gentoo
31
32 chmod 755 3.13.1-gentoo (that's fixed)
33
34 cd 3.13.1-gentoo/
35
36 lrwxrwxrwx 1 root root 28 Feb 2 04:37 build -> /usr/src/linux-3.13.1-gentoo
37 drwx------ 4 root root 4.0K Feb 4 09:17 kernel
38 -rw------- 1 root root 34K Feb 4 09:17 modules.alias
39 -rw------- 1 root root 28K Feb 4 09:17 modules.alias.bin
40 -rw------- 1 root root 11K Feb 4 09:17 modules.builtin
41 -rw------- 1 root root 14K Feb 4 09:17 modules.builtin.bin
42 -rw------- 1 root root 1.1K Feb 4 09:17 modules.dep
43 -rw------- 1 root root 1.9K Feb 4 09:17 modules.dep.bin
44 -rw------- 1 root root 52 Feb 4 09:17 modules.devname
45 -rw------- 1 root root 577 Feb 4 09:17 modules.order
46 -rw------- 1 root root 131 Feb 4 09:17 modules.softdep
47 -rw------- 1 root root 16K Feb 4 09:17 modules.symbols
48 -rw------- 1 root root 19K Feb 4 09:17 modules.symbols.bin
49 lrwxrwxrwx 1 root root 28 Feb 4 09:17 source -> /usr/src/linux-3.13.1-gentoo
50
51 chmod 644 ./mod* (now that's fixed.........
52 lrwxrwxrwx 1 root root 28 Feb 2 04:37 build -> /usr/src/linux-3.13.1-gentoo
53 drwx------ 4 root root 4.0K Feb 4 09:17 kernel
54 -rw-r--r-- 1 root root 34K Feb 4 09:17 modules.alias
55 -rw-r--r-- 1 root root 28K Feb 4 09:17 modules.alias.bin
56 -rw-r--r-- 1 root root 11K Feb 4 09:17 modules.builtin
57 -rw-r--r-- 1 root root 14K Feb 4 09:17 modules.builtin.bin
58 -rw-r--r-- 1 root root 1.1K Feb 4 09:17 modules.dep
59 -rw-r--r-- 1 root root 1.9K Feb 4 09:17 modules.dep.bin
60 -rw-r--r-- 1 root root 52 Feb 4 09:17 modules.devname
61 -rw-r--r-- 1 root root 577 Feb 4 09:17 modules.order
62 -rw-r--r-- 1 root root 131 Feb 4 09:17 modules.softdep
63 -rw-r--r-- 1 root root 16K Feb 4 09:17 modules.symbols
64 -rw-r--r-- 1 root root 19K Feb 4 09:17 modules.symbols.bin
65 lrwxrwxrwx 1 root root 28 Feb 4 09:17 source -> /usr/src/linux-3.13.1-gentoo
66
67
68 and viola, still the problem exists. All and I can think of
69 is something in how the kernels are build (grub2)...?
70
71 I even pulled the make oldconfig script redid every thing and
72 I have the same problem.
73
74 I'm scratcing my head on this, as google offers little useful, that
75 I can find...........
76
77 ???
78
79
80 James