View previous topic :: View next topic |
Author |
Message |
jfmxl n00b
Joined: 19 Aug 2015 Posts: 37
|
Posted: Sat Aug 22, 2015 12:55 am Post subject: |
|
|
What I remembered existing but didn't actually remember was
Code: | find /etc -name '._cfg????_*'
/etc/portage/._cfg0000_package.accept_keywords
/etc/conf.d/._cfg0000_xdm |
maybe etc-update is more like ...
Code: | find /etc -name '._cfg????_*' -exec rm {} \; |
?
Looks scary to me. They're only 2 files. I removed 'em by hand.
I guess I could just run |
|
Back to top |
|
|
Tony0945 Watchman
Joined: 25 Jul 2006 Posts: 5127 Location: Illinois, USA
|
Posted: Sat Aug 22, 2015 1:33 am Post subject: |
|
|
Actually, I think you wanted to keep the changes. etc-update gives you a menu and a diff I never looked at the code.
When diffs are complex, I often run etc-update just get the tmp file name, then run "meld" to see the changes in context and choose the ones I want to keep. I'd like the program to check if X is running and launch meld by menu, but I'm really a tyro at bash. |
|
Back to top |
|
|
jfmxl n00b
Joined: 19 Aug 2015 Posts: 37
|
Posted: Sat Aug 22, 2015 2:25 am Post subject: |
|
|
Well that's very interesting. I feel like a bull in a china shop. And I'm paying the bill. |
|
Back to top |
|
|
jfmxl n00b
Joined: 19 Aug 2015 Posts: 37
|
Posted: Sat Aug 22, 2015 2:49 am Post subject: |
|
|
Meanwhile ... back at my original problem ...
Quote: | Unfortunately, it seems something did go wrong, so we need to see one [log] for media-libs/mesa. |
So I should
Code: | emerge --ask media-libs/mesa |
one more time?
I can do that ... like this ...
Code: | wgetpaste -n jfmxl -c emerge --ask media-libs/mesa |
...right? The bull awaits the nod from the torreador. |
|
Back to top |
|
|
jfmxl n00b
Joined: 19 Aug 2015 Posts: 37
|
Posted: Sat Aug 22, 2015 3:53 am Post subject: |
|
|
Well I thought I'd try ...
Code: | wsgen jfl # wgetpaste -n jfmxl -c emerge media-libs/mesa -i
/usr/bin/wgetpaste: media-libs/mesa No such file found. |
... so I ran ...
Code: | emerge --ask media-libs/mesa |
... thinking to copy the output ... but it overflowed the buffer of my terminal.
So I ran ...
Code: | startx -- -keeptty -nolisten tcp > ~/.xsession-errors 2>&1 |
... and then ...
Code: | cat ~/.xsession-errors |
xauth: file /home/jfl/.serverauth.20109 does not exist
X.Org X Server 1.16.4
Release Date: 2014-12-20
X Protocol Version 11, Revision 0
Build Operating System: Linux 4.0.5-gentoo x86_64 Gentoo
Current Operating System: Linux wsgen 4.0.5-gentoo #7 SMP Thu Aug 20 13:45:45 ICT 2015 x86_64
Kernel command line: BOOT_IMAGE=/vmlinuz-4.0.5-gentoo root=UUID=3018dffe-7bbe-4c4b-a2b6-fbff57e8dda8 ro
Build Date: 19 August 2015 05:41:32PM
Current version of pixman: 0.32.6
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Sat Aug 22 10:45:08 2015
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(II) [KMS] Kernel modesetting enabled.
xfce4-session: No GPG agent found
(xfwm4:20174): xfwm4-WARNING **: Error opening /dev/dri/card0: Permission denied
** (xfdesktop:20178): WARNING **: Thumbnailer failed calling GetFlavors
(xfdesktop:20178): GVFS-RemoteVolumeMonitor-WARNING **: remote volume monitor with dbus name org.gtk.Private.UDisks2VolumeMonitor is not supported
(xfsettingsd:20186): libupower-glib-WARNING **: Couldn't connect to proxy: Could not connect: No such file or directory
(polkit-gnome-authentication-agent-1:20180): polkit-gnome-1-WARNING **: Error getting authority: Error initializing authority: Could not connect: No such file or directory
(xfce4-session:20168): GLib-WARNING **: GError set over the top of a previous GError or uninitialized memory.
This indicates a bug in someone's code. You must ensure an error is NULL before it's set.
The overwriting error message was: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
(xfce4-session:20168): Gtk-CRITICAL **: IA__gtk_widget_set_visible: assertion 'GTK_IS_WIDGET (widget)' failed
(xfce4-session:20168): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
xinit: connection to X server lost
waiting for X server to shut down xscreensaver: 10:45:33: SIGHUP received: restarting...
xscreensaver: 10:45:33: running as jfl/jfl (1000/1000)
xscreensaver: 10:45:33: Can't open display: :0.0
xscreensaver: 10:45:33: running as jfl/jfl (1000/1000)
xscreensaver: 10:45:33: Errors at startup are usually authorization problems.
But you're not logging in as root (good!) so something
else must be wrong. Did you read the manual and the FAQ?
http://www.jwz.org/xscreensaver/faq.html
http://www.jwz.org/xscreensaver/man.html
(EE) Server terminated successfully (0). Closing log file.
If anyone has any advice on how to ...
Code: | emerge media-libs/mesa |
... I'm open to suggestions.
Anyone have any experience with funtoo? That looks like it might be my answer. |
|
Back to top |
|
|
jfmxl n00b
Joined: 19 Aug 2015 Posts: 37
|
Posted: Sat Aug 22, 2015 3:56 am Post subject: |
|
|
That's advice on how to run ...
Code: | wgetpaste -n jfmxl -c emerge media-libs/mesa -i |
|
|
Back to top |
|
|
desultory Bodhisattva
Joined: 04 Nov 2005 Posts: 9410
|
Posted: Sat Aug 22, 2015 4:29 am Post subject: |
|
|
jfmxl wrote: | find / -name \*[Mm][Ee][Ss][Aa]\* | grep log | Just a quick tip not entirely apropos the main subject at hand: find -iname '*mesa*' -path '*log*' produces the same results, is clearer, and quicker to type. |
|
Back to top |
|
|
jfmxl n00b
Joined: 19 Aug 2015 Posts: 37
|
Posted: Sat Aug 22, 2015 6:19 am Post subject: |
|
|
Tried to ...
Code: | emerge --ask www-client/firefox |
Would you like to add these changes to your config files? [Yes/No]
Autounmask changes successfully written.
* IMPORTANT: config file '/etc/portage/package.use/iputils' needs updating.
* See the CONFIGURATION FILES section of the emerge
* man page to learn how to update config files.
So I tried ...
Scanning Configuration files...
The following is the list of files which need updating, each
configuration file is followed by a list of possible replacement files.
1) /etc/portage/package.use/iputils (1)
Please select a file to edit by entering the corresponding number.
(don't use -3, -5, -7 or -9 if you're unsure what to do)
(-1 to exit) (-3 to auto merge all files)
(-5 to auto-merge AND not use 'mv -i')
(-7 to discard all updates)
(-9 to discard all updates AND not use 'rm -i'): -1
Exiting: User termination!
NOTE: 1 updates remaining
Reading ...
Makes me feel like the butt of a cruel joke. I feel like Franz Kaka at the Castle. |
|
Back to top |
|
|
jfmxl n00b
Joined: 19 Aug 2015 Posts: 37
|
Posted: Sat Aug 22, 2015 8:21 am Post subject: |
|
|
There's an 'f' in Kafka ...
Code: | find /etc -name "._cfg????*"
/etc/portage/package.use/._cfg0000_iputils
meld
bash: meld: command not found
emerge -ask meld
[ Results for search key : meld ]
Searching...
* dev-python/meld3
Latest version available: 1.0.0
Latest version installed: [ Not Installed ]
Size of files: 36 KiB
Homepage: https://github.com/supervisor/meld3 http://pypi.python.org/pypi/meld3
Description: meld3 is an HTML/XML templating engine
License: ZPL
* dev-util/meld
Latest version available: 3.12.3
Latest version installed: [ Not Installed ]
Size of files: 453 KiB
Homepage: http://meldmerge.org/
Description: A graphical diff and merge tool
License: GPL-2+
[ Applications found : 2 ]
emerge -ask dev-util/meld
[ Results for search key : dev-util/meld ]
Searching...
[ Applications found : 0 ] |
|
|
Back to top |
|
|
VoidMage Watchman
Joined: 14 Oct 2006 Posts: 6196
|
Posted: Sat Aug 22, 2015 11:02 am Post subject: |
|
|
Persist and you shall overcome....well, at least in most of the cases.
Anyway, equery is from app-portage/gentolkit, a go-to gentoo toolset (even if it's only theoretically maintained). Another option is app-portage/portage-utils (those tools have different names/syntax; sometime they work better, sometimes not). Again, a matter of taste.
Just a thought: if you're on openrc, is dbus service running (rc-status) ? Personally, I put in on default, but you might even try for earlier.
If you're on systemd, that's obviously moot, as that one doesn't work without dbus.
Oh, and a little thing: on openrc you might need consolekit - that thing is a bit annoying, but otherwise much group tweaking is necessary. |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54304 Location: 56N 3W
|
Posted: Sat Aug 22, 2015 11:18 am Post subject: |
|
|
jfmxl,
Code: | find /etc -name "._cfg????*"
/etc/portage/package.use/._cfg0000_iputils |
tells that your system needs a USE flag change for the iputils package.
Its wort determining if you want do to the changes on iputils alone, or if it would be beter system wide.
If its system wide, it goes in make.conf, not /etc/portage/package.use/
In turn, that begs the question of your profile setting. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
jfmxl n00b
Joined: 19 Aug 2015 Posts: 37
|
Posted: Sat Aug 22, 2015 11:06 pm Post subject: VoidMage |
|
|
OK, I ran ...
Code: | emerge --ask app-portage/gentoolkit |
... and
Code: | wgetpaste -n jfmxl -c 'equery f media-libs/mesa' -i
Your paste can be seen here: https://bpaste.net/show/ffecb62db029 |
The single-quotes in 'equery f media-libs/mesa' did the trick ... so maybe I can re-emerge mesa-libs/media whatever it was if still required.
Code: | rc-status
* Caching service dependencies ... [ ok ]
Runlevel: default
syslog-ng [ started ]
sshd [ started ]
net.enp1s0 [ started ]
netmount [ started ]
cronie [ started ]
ntpd [ started ]
local [ started ]
Dynamic Runlevel: hotplugged
Dynamic Runlevel: needed
Dynamic Runlevel: manual |
I also ran ...
Code: | emerge --ask consolekit |
|
|
Back to top |
|
|
jfmxl n00b
Joined: 19 Aug 2015 Posts: 37
|
Posted: Sat Aug 22, 2015 11:24 pm Post subject: NeddySeagoon |
|
|
OK, contents of /etc/portage/portage.use/iputils ...
Code: | net-misc/iputils -caps -filecaps |
... and contents of /etc/portage/portage.use/._cfg0000_iputils
Code: | net-misc/iputils -caps -filecaps
# required by www-client/firefox-38.1.1::gentoo
# required by www-client/firefox (argument)
>=dev-lang/python-2.7.9-r1:2.7 sqlite |
So, what I do is ...
Code: | etc-update
Scanning Configuration files...
The following is the list of files which need updating, each
configuration file is followed by a list of possible replacement files.
1) /etc/portage/package.use/iputils (1)
Please select a file to edit by entering the corresponding number.
(don't use -3, -5, -7 or -9 if you're unsure what to do)
(-1 to exit) (-3 to auto merge all files)
(-5 to auto-merge AND not use 'mv -i')
(-7 to discard all updates)
(-9 to discard all updates AND not use 'rm -i'): |
... choose 3 ?
Or what is this business about USE flags and /etc/portage/make.conf ?
My profile setting was the one that ended in 'desktop' or 'workststation', without the gnome|kde appended.
Thanks to everyone who's given me advice. As you can see, I need all I can get. |
|
Back to top |
|
|
jfmxl n00b
Joined: 19 Aug 2015 Posts: 37
|
Posted: Sun Aug 23, 2015 4:24 am Post subject: |
|
|
I figured that out ... theres only the 1) file to edit so choosing it or not you get it if you do not choose -1, as I had done previous, but just hit enter or 1.
Then comes the permuted choices and I chose to merge the diffs - what ever number that was, not 3 - and ended up choosing the new file over the old.
So now I should be able to emerge firefox ... and I'll give it a try. Takes way longer to compile than a mere kernel, I'm told. It's off and running ... |
|
Back to top |
|
|
VoidMage Watchman
Joined: 14 Oct 2006 Posts: 6196
|
Posted: Sun Aug 23, 2015 7:53 am Post subject: |
|
|
Well, it seems /usr/lib64/dri/radeonsi_dri.so exists...- verify it really does (same with /usr/lib64/mesa/radeonsi_dri.so symlink).
Add dbus to default runlevel. Make sure it started.
(xfce might be starting it on its own, but it's better to be explicit here )
Pastebin new xorg log. |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54304 Location: 56N 3W
|
Posted: Sun Aug 23, 2015 10:18 am Post subject: |
|
|
jfmxl,
emerge --info: | Portage 2.2.20.1 (python 3.4.1-final-0, default/linux/amd64/13.0/desktop, gcc-4.8.4, glibc-2.20-r2, 4.0.5-gentoo x86_64) |
Shows your profile to be default/linux/amd64/13.0/desktop which is a good choice.
Further down your USE= shows all the system wide USE flags from your profile and from your make.conf. They all look reasonable too.
There is nothing right/wrong here. Its your setup for making your distro your way.
/etc/portage/portage.use/._cfg0000_iputils: | net-misc/iputils -caps -filecaps
# required by www-client/firefox-38.1.1::gentoo
# required by www-client/firefox (argument)
>=dev-lang/python-2.7.9-r1:2.7 sqlite |
This is a temporary file, not yet part of your settings.
It says that you need dev-lang/python-2.7.9-r1 or later, in slot 2.7, emerged with sqlite support to have iputils installed.
This is the minimum change you need. If you decide that sqlite is a verygoodthing, you can add support for it globally instead of just for >=dev-lang/python-2.7.9-r1
To do that you would add sqlite to the USE in make.conf
To check out what would happen, you can look at the output of Code: | USE=sqlite emerge -uDNpv @world | The -p is very imortant.
Packages with the green sqlite* in the output, accept the sqlite USE flag and will be rebuilt if you make it global.
Actually running an emerge with command line USE flags is a bad thing as partage will have no knowledge of them for your next emerge. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
jfmxl n00b
Joined: 19 Aug 2015 Posts: 37
|
Posted: Sun Aug 23, 2015 10:21 am Post subject: I think i'm out of the woods with x & xfce ... |
|
|
I think i'm out of the woods with x & xfce ...
Code: | rc-update add dbus default
* service dbus added to runlevel default |
...
Code: | wgetpaste -n jfmxl -c cat /var/log/Xorg.0.log -i
Your paste can be seen here: https://bpaste.net/show/fec42547a519 |
I haven't actually looked at that log ... if it works I'm happy. I will read it now, though. It's actually much easier reading at pastebin.
Yes, things are going pretty well now, thanks to you and to NeddySeagoon and Andy P. and Tony09-45 and all others.
Firefox and Thunderbird ... which seems to call itself early bird now? at least it still answers to thunderbird when you emerge it.
I have java and i2p and jEdit ... it's getting to feel like home on wsgen, although wsdeb still has all the goods.
I can get from wsdeb to here but not from wsgen to there ... I think its the bridge I installed for qemu/kvm on wsdeb ... so I'm emerging qemu here and will duplicate the bridge configuration ... if I can discover the gentoo equivalent of debian's /etc/network/interfaces. Then get nfs up between the two machines so I can access all the stuff left behind on two drives in wsdeb.
But I am feeling much better. I even emerged layman ... but its version 2.0 and all the docs talk about version 2.2 and 2.3 so I'll have to figure out how to update an installed ... package, I guess.
Thanks again, you all, for all your help. If you see anything alarming in the last log feel free to let me know And I'm still not clear on the difference between portage.use and make.conf use ... but firefox did emerge ... and thunderbird took longer to compile, about an hour versus an hour and a half. If I have more trouble ... that is when i have more trouble, I'll start new threads
When I'm feelin' real good with gentoo here I'll go back and gentoofy wsdeb and be systemd free ! Then I'll look into vdev as a replacement for udev.
Thanks again for all the fish, but especially for the fishing lesson. |
|
Back to top |
|
|
jfmxl n00b
Joined: 19 Aug 2015 Posts: 37
|
Posted: Sun Aug 23, 2015 10:45 am Post subject: Actually ... |
|
|
Actually ...
Code: | 714 [ 6623.876] (EE) RADEON(0): [DRI2] DRI2SwapComplete: bad drawable |
... might be trouble. I have no idea ... my fingers are crossed. |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54304 Location: 56N 3W
|
Posted: Sun Aug 23, 2015 10:53 am Post subject: |
|
|
jfmxl,
Your log looks OK. There is one more check. Look in dmesg for any messages about firmware failing to load.
Radeon works without firmware, so Xorg.0.log will be OK, but there will be no 3D hardware acceleration.
I use xfce without dbus here but I'm an oddball :)
The only program I have that complains is Virtualbox-bin. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
jfmxl n00b
Joined: 19 Aug 2015 Posts: 37
|
Posted: Sun Aug 23, 2015 12:59 pm Post subject: I see 5 errors : 811, 812, 813 ... 830, 831. |
|
|
Code: | wgetpaste -n jfmxl -c dmesg -i
Your paste can be seen here: https://bpaste.net/show/f07a8b570e77 |
I see 5 errors : 811, 812, 813 ... 830, 831.
Don't know how serious they are ... we're up and runnin'.
What about the selinx ? I'd like to get rid of that after I've read a bit on pax and ... grsecurity is it ? |
|
Back to top |
|
|
jfmxl n00b
Joined: 19 Aug 2015 Posts: 37
|
Posted: Sun Aug 23, 2015 1:11 pm Post subject: Neddy Seagoon |
|
|
Void Mage wanted the output from
Code: | emerge -akt media-libs/mesa |
No danger running that multiple times, is there ?
Code: | wgetpaste -n jfmxl -c emerge --ask media-libs/mesa -i |
wouldn't run for me last time. Maybe
Code: | wgetpaste -n jfmxl -c 'emerge media-libs/mesa' -i |
? There is a lot of output from that one. |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54304 Location: 56N 3W
|
Posted: Sun Aug 23, 2015 1:38 pm Post subject: |
|
|
jfmxl,
dmesg: | [ 3.311106] [drm] Loading kaveri Microcode | Is your firmware loading.
You don't have selinux unless you explicitly set it up. You may have kernel support for it but its not doing anything without all the userspace support.
xfsettingsd is not used unless you are using the xfs filesystem.
If you use xfs, you need a UPS and current backups. Its very intolerant of unclean shutdowns as it it keeps a lot of info in RAM that needs to be commited to disc.
That vanishes on power fail and leaves the filesystem in a bit of a mess. The UPS allows a controlled shutdown. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
|