Gentoo Archives: gentoo-user

From: Dale <rdalek1967@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] LVM2 compile error. Clock_gettime
Date: Sun, 30 Jun 2013 02:45:58
Message-Id: 51CF9BD9.6030209@gmail.com
In Reply to: Re: [gentoo-user] LVM2 compile error. Clock_gettime by Bruce Hill
1 Bruce Hill wrote:
2 > On Sat, Jun 29, 2013 at 04:53:47AM -0500, Dale wrote:
3 >> Now that you mention it, it may have been when the separate /usr init
4 >> thingy was going on that I had to add it. That could be it. Well, if I
5 >> have to upgrade before they have a fix, I'll give it a shot and see what
6 >> happens. I suspect it will be fixed at some point and most likely in
7 >> the next update anyway.
8 >>
9 >> Dale
10 > You need to get over that "it will be fixed at some point", and believe it
11 > when every one tells you that separate /usr without an initrd is working fine
12 > with present stable udev. Here's proof on a wee fileserver, which has neavuh
13 > had an initrd and always had a separate /usr:
14 >
15 > mingdao@server ~ $ eix sys-fs/udev
16 > [I] sys-fs/udev
17 > Available versions: 197-r8^t 200^t 204^t **9999^t {{acl doc +firmware-loader gudev hwdb introspection keymap +kmod +openrc selinux static-libs}}
18 > Installed versions: 204^t(02:40:22 PM 06/26/2013)(acl firmware-loader kmod openrc -doc -gudev -hwdb -introspection -keymap -selinux -static-libs)
19 > Homepage: http://www.freedesktop.org/wiki/Software/systemd
20 > Description: Linux dynamic and persistent device naming support (aka userspace devfs)
21 >
22 > [I] sys-fs/udev-init-scripts
23 > Available versions: 23^t 25^t 26^t **9999^t
24 > Installed versions: 26^t(02:40:36 PM 06/26/2013)
25 > Homepage: http://www.gentoo.org
26 > Description: udev startup scripts for openrc
27 >
28 > Found 2 matches.
29 > mingdao@server ~ $ df -hT
30 > Filesystem Type Size Used Avail Use% Mounted on
31 > rootfs rootfs 2.0G 109M 1.9G 6% /
32 > /dev/root xfs 2.0G 109M 1.9G 6% /
33 > devtmpfs devtmpfs 3.0G 4.0K 3.0G 1% /dev
34 > tmpfs tmpfs 3.0G 592K 3.0G 1% /run
35 > shm tmpfs 3.0G 0 3.0G 0% /dev/shm
36 > /dev/mapper/system-var xfs 10G 717M 9.3G 8% /var
37 > /dev/mapper/system-usr xfs 10G 4.4G 5.7G 44% /usr
38 > /dev/mapper/system-home xfs 6.0G 5.8G 251M 96% /home
39 > /dev/mapper/storage-photos xfs 500G 19G 482G 4% /photos
40 > /dev/mapper/storage-backups xfs 500G 262G 239G 53% /backups
41 > /dev/mapper/storage-offload fuseblk 300G 234G 67G 78% /offload
42 > /dev/mapper/storage-peter xfs 25G 1.7G 24G 7% /peter
43 > /dev/mapper/storage-jeremiah xfs 10G 3.6G 6.5G 36% /jeremiah
44 > mingdao@server ~ $ ls -l /boot/
45 > total 25156
46 > lrwxrwxrwx 1 root root 17 Jan 10 13:26 System.map -> System.map-3.4.24
47 > -rw-r--r-- 1 root root 2205716 Jan 10 13:25 System.map-3.4.24
48 > -rw-r--r-- 1 root root 1812882 Sep 6 2012 System.map-3.4.9-gentoo
49 > -rw-r--r-- 1 root root 1823240 Aug 9 2012 System.map-3.5.0
50 > -rw-r--r-- 1 root root 1823619 Aug 16 2012 System.map-3.5.2
51 > lrwxrwxrwx 1 root root 23 Dec 28 2012 System.map.old -> System.map-3.4.9-gentoo
52 > -rw-r--r-- 1 root root 512 Feb 21 2012 boot.0800
53 > -rw-r--r-- 1 root root 512 Feb 21 2012 boot.0810
54 > -rw-r--r-- 1 root root 512 Feb 21 2012 boot.0820
55 > -rw-r--r-- 1 root root 512 Feb 21 2012 boot.0830
56 > lrwxrwxrwx 1 root root 13 Jan 10 13:26 config -> config-3.4.24
57 > -rw-r--r-- 1 root root 62528 Jan 10 13:25 config-3.4.24
58 > -rw-r--r-- 1 root root 63522 Sep 6 2012 config-3.4.9-gentoo
59 > -rw-r--r-- 1 root root 64644 Aug 9 2012 config-3.5.0
60 > -rw-r--r-- 1 root root 64644 Aug 16 2012 config-3.5.2
61 > lrwxrwxrwx 1 root root 19 Dec 28 2012 config.old -> config-3.4.9-gentoo
62 > lrwxrwxrwx 1 root root 14 Jan 10 13:25 vmlinuz -> vmlinuz-3.4.24
63 > -rw-r--r-- 1 root root 4671120 Jan 10 13:24 vmlinuz-3.4.24
64 > -rw-r--r-- 1 root root 4349568 Sep 6 2012 vmlinuz-3.4.9-gentoo
65 > -rw-r--r-- 1 root root 4388464 Aug 9 2012 vmlinuz-3.5.0
66 > -rw-r--r-- 1 root root 4390672 Aug 16 2012 vmlinuz-3.5.2
67 > lrwxrwxrwx 1 root root 20 Dec 28 2012 vmlinuz.old -> vmlinuz-3.4.9-gentoo
68 > mingdao@server ~ $ cat /etc/lilo.conf
69 > # Faster, but won't work on all systems:
70 > compact
71 > # Should work for most systems, and do not have the sector limit:
72 > lba32
73 > default = Gentoo
74 > # MBR to install LILO to:
75 > boot = /dev/md0
76 > raid-extra-boot = mbr-only
77 > map = /boot/.map
78 >
79 > install = /boot/boot-menu.b # Note that for lilo-22.5.5 or later you
80 > # do not need boot-{text,menu,bmp}.b in
81 > # /boot, as they are linked into the lilo
82 > # binary.
83 >
84 > menu-scheme=Wb
85 > prompt
86 > # If you always want to see the prompt with a 15 second timeout:
87 > timeout=50
88 > append="panic=10 nomce dolvm domdadm rootfstype=xfs"
89 >
90 > #
91 > # End LILO global section
92 > #
93 >
94 > #
95 > # Linux bootable partition config begins
96 > #
97 > image = /boot/vmlinuz
98 > root = /dev/md0
99 > label = Gentoo
100 > read-only # Partitions should be mounted read-only for checking
101 > image = /boot/vmlinuz.old
102 > root = /dev/md0
103 > label = Gentoo-def
104 > read-only # Partitions should be mounted read-only for checking
105 > #
106 > # Linux bootable partition config ends
107 > #
108 >
109 > mingdao@server ~ $
110 >
111 >
112 > Get over it and go back to udev :-)
113 >
114 > Bruce
115
116
117 Thing is, I don't want to switch then have someone mess things up and
118 have to go back and switch again. As it is, lvm is working fine. It
119 was just a failed recompile during a emerge -e world, nothing major like
120 a failed upgrade or anything. I posted to see what the problem is so I
121 could report it. Since it is reported already, I'm fine with waiting.
122 I'm not going to get anything new even after it compiles.
123
124 Also, Lennart messed up udev and as long as I can stay away from it, I
125 plan too. If someone posts that he sees the error in going the way he
126 was, then I'll revisit it then. I just don't want to be switching back
127 and forth when it is not really needed. I also don't want systemd stuff
128 here either since I don't use it.
129
130 I might also add, it fails in the same way with plain udev. Even if I
131 switch back to udev, it will still fail. It really comes down to a
132 error from a upgraded gcc from my recollection. From what I recall, I
133 could just switch to a older gcc and compile with it.
134
135 Dale
136
137 :-) :-)
138
139 --
140 I am only responsible for what I said ... Not for what you understood or how you interpreted my words!