Re: [gentoo-user] Re: Kernel boot messages are no longer displayed

2014-05-25 Thread Greg Turner
The essence of your problem is: you need a working console during your boot
sequence if you want to see anything.  For an X86 'puter the main two ways
to get that are: the VGA console, and the framebuffer console
(CONFIG_VGA_CONSOLE, almost always works in a pinch unless you boot from
EFI, in which case it probably doesn't work at all).

A working framebuffer console needs a working framebuffer.  The glue that
says (as best I understand it): hey, Mr. kernel, please don't just leave
that framebuffer of mine just lying around doing nothing, let's use it as a
console is CONFIG_FRAMEBUFFER_CONSOLE.

Furthermore, CONFIG_EARLY_PRINTK is required if you want the really early
junk to whiz by illegibly at the beginning of your boot sequence (the stuff
that looks about like the output of dmesg|head -n 500)

If you compiled your framebuffer as a module, it also won't load until that
module does.  Which means, either until udev starts (and successfully loads
the module) or until it gets loaded by some other means, i.e., by script
code in an initrd/initramfs.

The's a migration, in linuxville, underway now, from the old-school
userspace modesetting paradigm (where graphic card configuration sorta
worked like Windows 95: the drivers were hyper-privileged user-land
programs running amok) to the newer, shinier kernel modesetting paradigm,
which finally brings linux, let's say, into a Windows NT 3.5 sort-of
epoch (i.e.: working drivers, at least, finally, in the kernel, where they
belong -- but, God help you, if you start hot-plugging stuff or want to use
suspend, that stuff all broke).  There has been some pain and upheaval.
 Recipes that used to work have been breaking and you just have to read
your logs and some wikis and figure it out, sometimes, the old fashioned
way.

If you run radeon, well, read the wiki, most of the advice in there is
correct and necessary to get a working accelerated system these days --
disabling KMS will break your xorg and your framebuffer entirely!  also be
/sure/ CONFIG_FB_RADEON and CONFIG_DRM_RADEON_UMS are both OFF (that's the
/opposite/ of on!!  I mean it!!!) and CONFIG_DRM_RADEON is on (preferably
compiled into the kernel).  Finally: if you you are using fglrx...  well,
frankly, your drivers are a sinking ship, bail now while you are still
breathing.  I'm not up to speed on the latest nvidia trouble but, read the
wiki is probably the best advice.


On Sat, May 24, 2014 at 8:19 PM, Hilco Wijbenga hilco.wijbe...@gmail.comwrote:

 On 24 May 2014 16:53, walt w41...@gmail.com wrote:
  On 05/24/2014 01:20 PM, Hilco Wijbenga wrote:
  Since kernel 3.12.13 (3.12.13-gentoo), the kernel boot messages have
  disappeared, i.e. they are no longer displayed at boot time. All I get
  is a line like Loading kernel 3.12.13. (I just upgraded to
  3.12.20-gentoo, so now it's something like Loading kernel 3.12.20.)
 
  I have no idea why. I checked my grub config and it does not add a
  quiet argument. I see nothing in /etc/rc.conf about quiet (or
  verbose). And X86_VERBOSE_BOOTUP is set to 'y'. I also looked for
  quiet, boot, and messages (while running make xconfig) and
  nothing untoward showed up.
 
  How do I get back to a normal and sane boot process?
 
  What is the next thing you see after Loading kernel 3.12.20 ?

 Nothing. There is a pause of a dozen seconds or so and then the login
 panel appears.

 By the way, I checked again and it says Loading Linux 3.12.20-gentoo
 ... (just to be complete and precise).

  What was the last kernel that booted normally?  Does it still boot
  normally?

 I don't quite remember. :-( Probably whatever kernel came before
 3.12.13 but I don't have any leftover configs or anything like that. I
 ran the sys-kernel/aufs-sources (to be able to use Docker) so it might
 have been one of those but I doubt it.

  The kernel config files for each kernel are installed as
  /boot/config-3.12.nn so you can compare them to see what changed.

 Well, not by default... :-) In any case, I have deleted it all. It
 didn't seem a difficult thing to fix and whenever I had logged in
 other stuff happened that made me forget about the boot messages. :-)
 It's just today I decided to google for it. Surprisingly, nobody is
 complaining about this so it must be something specific to my
 environment. I just have no clue what. I certainly did nothing (on
 purpose) to get rid of boot messages.




Re: [gentoo-user] about to give up on systemd and gnome

2014-05-25 Thread Tom Wijsman
On Sat, 24 May 2014 15:29:34 -0400
cov...@ccs.covici.com wrote:

 OK, here is what is happening -- if I do a startx  in any console
 where I am logged in, I get a gnome session on that tty (wish it was
 on the unused one), and I seem to be good  to go.  However when I try
 to use gdm, I no longer get the oh no stuff, but it seems I get a
 list of some of my userids, but I can't do anything, I can up arrow
 to one of them, but hitting enter does nothing.  Also, tab does
 nothing, nor do left/right arrow keys and strangely enough, my name
 is not among the listed ids.
 
 Here is a log segment from start to stop of gdm.
 
 https://covici.com/owncloud/public.php?service=filest=3bae607fe4d5043b325b6339e3672c84
 
 I hope someone can make sense of this because after this happened my
 regular ttys won't scroll once they get to the last line and the only
 way to solve this problem is to reboot the system.

This might be PAM related:

gdm-session-worker[4972]: 7GdmSessionWorker: initializing PAM;
service=gdm-password username=krnotley seat=seat0
gdm-session-worker[4972]: 7GdmSessionWorker: Set PAM environment
variable: 'XDG_SEAT=seat0'
gdm-session-worker[4972]: 7GdmSessionWorker: 1 new messages
received from PAM
gdm-session-worker[4972]: 7GdmSessionWorker: received pam message
of type 1 with payload 'Password: '
gdm-password][4972]: pam_unix(gdm-password:auth): conversation
failed
gdm-password][4972]: pam_unix(gdm-password:auth): auth could
not identify password for [krnotley]
gdm-password][4972]: gkr-pam: no password is available for user
gdm-password][4972]: gkr-pam: no password is available for user
gdm-session-worker[4972]: 7GdmSessionWorker: PAM conversation
returning 19: Conversation error
gdm-session-worker[4972]: 7GdmSessionWorker: uninitializing PAM

A failing conversation here looks odd to me; so, maybe this krontley
user is bugged (preventing others from being listed?) or PAM itself
isn't working properly at all?

Check the following link which can be a possible solution to this:

https://wiki.gentoo.org/wiki/Systemd#systemd-logind_.26_pam_systemd

Other than that I see gnome-settings-daemon failing as it exits with
code 1, but with no clear warning or error; from experience with that,
that could be a reason to display or usage problems. A way to debug
this could be to restart it in the shell to catch more output, if any;
but I'm more suspicious about PAM so try to get PAM fixed first.

It could just as well be failing because you shutdown GDM; it might be
more clear if you capture a log where you don't shutdown GDM, as then
the last messages would be much more related to the problem at hand.

-- 
With kind regards,

Tom Wijsman (TomWij)
Gentoo Developer

E-mail address  : tom...@gentoo.org
GPG Public Key  : 6D34E57D
GPG Fingerprint : C165 AF18 AB4C 400B C3D2  ABF0 95B2 1FCD 6D34 E57D


signature.asc
Description: PGP signature


Re: [gentoo-user] about to give up on systemd and gnome

2014-05-25 Thread Marc Stürmer

Am 23.05.2014 21:50, schrieb cov...@ccs.covici.com:


I am open to suggestions here, and I have a log segment I can put
somewhere to illustrage the oh no problem, but I am getting tired of
the mess and if I can find something which works with orca I will do
that instead.


Gentoo is all about havinge the freedom of choice, Larry the cow said.

If GNOME and systemd is not going to work for you at all, you can still 
switch back to OpenRC and e.g. try the MATE desktop environment instead, 
which is init-system agnostic and does not depend on systemd. It works 
fine with and without it.




Re: [gentoo-user] btrfs and sparse VM image files

2014-05-25 Thread Marc Stürmer

Am 19.05.2014 13:01, schrieb Neil Bothwick:


The page you linked to does not actually state that. There are plenty of
hints and sideways references but little concrete information about what
is safe with the current release - hence my question.


Oh it does, just take a look at that section:

-
Files with a lot of random writes can become heavily fragmented (1+ 
extents) causing trashing on HDDs and excessive multi-second spikes of 
CPU load on systems with an SSD or large amount a RAM.


* On servers and workstations this affects databases and virtual
 ^^^
machine images.
^^^

* The nodatacow mount option may be of use here, with associated gotchas.
-

So they still do not recommend putting virtual machine images on a Btrfs 
(if you want it in productional use, that is).




Re: [gentoo-user] about to give up on systemd and gnome

2014-05-25 Thread covici
Tom Wijsman tom...@gentoo.org wrote:

 On Sat, 24 May 2014 15:29:34 -0400
 cov...@ccs.covici.com wrote:
 
  OK, here is what is happening -- if I do a startx  in any console
  where I am logged in, I get a gnome session on that tty (wish it was
  on the unused one), and I seem to be good  to go.  However when I try
  to use gdm, I no longer get the oh no stuff, but it seems I get a
  list of some of my userids, but I can't do anything, I can up arrow
  to one of them, but hitting enter does nothing.  Also, tab does
  nothing, nor do left/right arrow keys and strangely enough, my name
  is not among the listed ids.
  
  Here is a log segment from start to stop of gdm.
  
  https://covici.com/owncloud/public.php?service=filest=3bae607fe4d5043b325b6339e3672c84
  
  I hope someone can make sense of this because after this happened my
  regular ttys won't scroll once they get to the last line and the only
  way to solve this problem is to reboot the system.
 
 This might be PAM related:
 
 gdm-session-worker[4972]: 7GdmSessionWorker: initializing PAM;
 service=gdm-password username=krnotley seat=seat0
 gdm-session-worker[4972]: 7GdmSessionWorker: Set PAM environment
 variable: 'XDG_SEAT=seat0'
 gdm-session-worker[4972]: 7GdmSessionWorker: 1 new messages
 received from PAM
 gdm-session-worker[4972]: 7GdmSessionWorker: received pam message
 of type 1 with payload 'Password: '
 gdm-password][4972]: pam_unix(gdm-password:auth): conversation
 failed
 gdm-password][4972]: pam_unix(gdm-password:auth): auth could
 not identify password for [krnotley]
 gdm-password][4972]: gkr-pam: no password is available for user
 gdm-password][4972]: gkr-pam: no password is available for user
 gdm-session-worker[4972]: 7GdmSessionWorker: PAM conversation
 returning 19: Conversation error
 gdm-session-worker[4972]: 7GdmSessionWorker: uninitializing PAM
 
 A failing conversation here looks odd to me; so, maybe this krontley
 user is bugged (preventing others from being listed?) or PAM itself
 isn't working properly at all?
 
 Check the following link which can be a possible solution to this:
 
 https://wiki.gentoo.org/wiki/Systemd#systemd-logind_.26_pam_systemd
 
 Other than that I see gnome-settings-daemon failing as it exits with
 code 1, but with no clear warning or error; from experience with that,
 that could be a reason to display or usage problems. A way to debug
 this could be to restart it in the shell to catch more output, if any;
 but I'm more suspicious about PAM so try to get PAM fixed first.
 
 It could just as well be failing because you shutdown GDM; it might be
 more clear if you capture a log where you don't shutdown GDM, as then
 the last messages would be much more related to the problem at hand.

OK, it looks like I have the recomended item in the system-auth in
/etc/pam.d.  

But c because I am not very familiar with gdm, can you give me a key
sequence after gdm is launched to emter my user id and password?  I saw
no place to do this at all, just this strange list of some of my ids.
What I can do is to start gdm, not hit any keys and then send you the
log segment for that and see if it looks OK to you and then we can go
further.


-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici
 cov...@ccs.covici.com



Re: [gentoo-user] about to give up on systemd and gnome

2014-05-25 Thread covici
Tom Wijsman tom...@gentoo.org wrote:

 On Sat, 24 May 2014 15:29:34 -0400
 cov...@ccs.covici.com wrote:
 
  OK, here is what is happening -- if I do a startx  in any console
  where I am logged in, I get a gnome session on that tty (wish it was
  on the unused one), and I seem to be good  to go.  However when I try
  to use gdm, I no longer get the oh no stuff, but it seems I get a
  list of some of my userids, but I can't do anything, I can up arrow
  to one of them, but hitting enter does nothing.  Also, tab does
  nothing, nor do left/right arrow keys and strangely enough, my name
  is not among the listed ids.
  
  Here is a log segment from start to stop of gdm.
  
  https://covici.com/owncloud/public.php?service=filest=3bae607fe4d5043b325b6339e3672c84
  
  I hope someone can make sense of this because after this happened my
  regular ttys won't scroll once they get to the last line and the only
  way to solve this problem is to reboot the system.
 
 This might be PAM related:
 
 gdm-session-worker[4972]: 7GdmSessionWorker: initializing PAM;
 service=gdm-password username=krnotley seat=seat0
 gdm-session-worker[4972]: 7GdmSessionWorker: Set PAM environment
 variable: 'XDG_SEAT=seat0'
 gdm-session-worker[4972]: 7GdmSessionWorker: 1 new messages
 received from PAM
 gdm-session-worker[4972]: 7GdmSessionWorker: received pam message
 of type 1 with payload 'Password: '
 gdm-password][4972]: pam_unix(gdm-password:auth): conversation
 failed
 gdm-password][4972]: pam_unix(gdm-password:auth): auth could
 not identify password for [krnotley]
 gdm-password][4972]: gkr-pam: no password is available for user
 gdm-password][4972]: gkr-pam: no password is available for user
 gdm-session-worker[4972]: 7GdmSessionWorker: PAM conversation
 returning 19: Conversation error
 gdm-session-worker[4972]: 7GdmSessionWorker: uninitializing PAM
 
 A failing conversation here looks odd to me; so, maybe this krontley
 user is bugged (preventing others from being listed?) or PAM itself
 isn't working properly at all?
 
 Check the following link which can be a possible solution to this:
 
 https://wiki.gentoo.org/wiki/Systemd#systemd-logind_.26_pam_systemd
 
 Other than that I see gnome-settings-daemon failing as it exits with
 code 1, but with no clear warning or error; from experience with that,
 that could be a reason to display or usage problems. A way to debug
 this could be to restart it in the shell to catch more output, if any;
 but I'm more suspicious about PAM so try to get PAM fixed first.
 
 It could just as well be failing because you shutdown GDM; it might be
 more clear if you capture a log where you don't shutdown GDM, as then
 the last messages would be much more related to the problem at hand.
OK, here is a link to the messages without me doing anything in gdm at
all, just starting it.

https://covici.com/owncloud/public.php?service=filest=85cffe78261eacc915379ff5d5449d18

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici
 cov...@ccs.covici.com



Re: [gentoo-user] about to give up on systemd and gnome

2014-05-25 Thread Tom Wijsman
On Sun, 25 May 2014 05:38:08 -0400
cov...@ccs.covici.com wrote:

 OK, here is a link to the messages without me doing anything in gdm at
 all, just starting it.
 
 https://covici.com/owncloud/public.php?service=filest=85cffe78261eacc915379ff5d5449d18

There are some warnings and errors in this one, but I'm not quite sure
which one could be the problem; you can get them with a grep:

grep -i '\(warning\|error\)' gnome-3.12.1-error2.txt | grep -v Xorg

1. The GetAll() and ServiceUnknown erros are often not problematic.

2. Unable to register client with session manager I get too; so, not a
problem.

3. There is Gvc-WARNING **: Failed to connect context: OK but that is
GNOME volume control if I understood correctly; so, also not a problem.

4. The Polkit Error No permission to trigger offline updates might be
more concerning; though, it should just affect the update part.

5. JS ERROR: could not get remote objects for service
org.gnome.SettingsDaemon.Smartcard I think is due to a missing USE
flag option for the gnome-settings-daemon package; I think that's
supposed to work, so, I also don't see this as a problem.

6. Unit dbus-org.freedesktop.NetworkManager.service failed to load is
also something non-fatal; so, also not a problem.

TL;DR: One of these could be it, or not at all; I think the problem
you're having right now doesn't manifest itself as a warning or error,
but instead as an input / graphical problem.

Can you try a different version of GNOME? A newer might have fixed it.

If you need instructions on how to switch between specific version,
feel free to let me know. I'll try to figure out the sequence to switch
between users later today, when I can reboot my system.

-- 
With kind regards,

Tom Wijsman (TomWij)
Gentoo Developer

E-mail address  : tom...@gentoo.org
GPG Public Key  : 6D34E57D
GPG Fingerprint : C165 AF18 AB4C 400B C3D2  ABF0 95B2 1FCD 6D34 E57D


signature.asc
Description: PGP signature


Re: [gentoo-user] about to give up on systemd and gnome

2014-05-25 Thread covici
Tom Wijsman tom...@gentoo.org wrote:

 On Sun, 25 May 2014 05:38:08 -0400
 cov...@ccs.covici.com wrote:
 
  OK, here is a link to the messages without me doing anything in gdm at
  all, just starting it.
  
  https://covici.com/owncloud/public.php?service=filest=85cffe78261eacc915379ff5d5449d18
 
 There are some warnings and errors in this one, but I'm not quite sure
 which one could be the problem; you can get them with a grep:
 
 grep -i '\(warning\|error\)' gnome-3.12.1-error2.txt | grep -v Xorg
 
 1. The GetAll() and ServiceUnknown erros are often not problematic.
 
 2. Unable to register client with session manager I get too; so, not a
 problem.
 
 3. There is Gvc-WARNING **: Failed to connect context: OK but that is
 GNOME volume control if I understood correctly; so, also not a problem.
 
 4. The Polkit Error No permission to trigger offline updates might be
 more concerning; though, it should just affect the update part.
 
 5. JS ERROR: could not get remote objects for service
 org.gnome.SettingsDaemon.Smartcard I think is due to a missing USE
 flag option for the gnome-settings-daemon package; I think that's
 supposed to work, so, I also don't see this as a problem.
 
 6. Unit dbus-org.freedesktop.NetworkManager.service failed to load is
 also something non-fatal; so, also not a problem.
 
 TL;DR: One of these could be it, or not at all; I think the problem
 you're having right now doesn't manifest itself as a warning or error,
 but instead as an input / graphical problem.
 
 Can you try a different version of GNOME? A newer might have fixed it.
 
 If you need instructions on how to switch between specific version,
 feel free to let me know. I'll try to figure out the sequence to switch
 between users later today, when I can reboot my system.

You have been a big help -- I think I do have something running here, if
I could get orca to talk I would probably be good to go, but the
recomended keystroke super-alt-s does not work.hmmm, I was just
poking and indeed orca is starting from gdm, but it seems not to have
the correct options.  The only thing I see is
/usr/share/gdm/greeter/autostart/orca-autostart.desktop but that one
does have the correct options, but orca  definitely has no speech, so I
think my problem will be solved if I can get orca to start talking
correctly.  Now once I login orca does start talking, so its only with
the gdm that it does not work, so we are very nearly there.


-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici
 cov...@ccs.covici.com



Re: [gentoo-user] Kernel boot messages are no longer displayed

2014-05-25 Thread Wang Xuerui
2014-05-25 4:20 GMT+08:00 Hilco Wijbenga hilco.wijbe...@gmail.com:
 Hi all,

 Since kernel 3.12.13 (3.12.13-gentoo), the kernel boot messages have
 disappeared, i.e. they are no longer displayed at boot time. All I get
 is a line like Loading kernel 3.12.13. (I just upgraded to
 3.12.20-gentoo, so now it's something like Loading kernel 3.12.20.)

 I have no idea why. I checked my grub config and it does not add a
 quiet argument. I see nothing in /etc/rc.conf about quiet (or
 verbose). And X86_VERBOSE_BOOTUP is set to 'y'. I also looked for
 quiet, boot, and messages (while running make xconfig) and
 nothing untoward showed up.

 How do I get back to a normal and sane boot process?

Hi, I also experienced this change earlier this year, and it seems the
old behavior can be restored by setting loglevel=7 in kernel cmdline.
Actually, not printing that much message can lead to a small
performance gain, as some console drivers tend to not be very fast;
but you certainly can have the messages if you want.

Hope that helps~



Re: [gentoo-user] about to give up on systemd and gnome

2014-05-25 Thread covici
Tom Wijsman tom...@gentoo.org wrote:

 On Sun, 25 May 2014 05:38:08 -0400
 cov...@ccs.covici.com wrote:
 
  OK, here is a link to the messages without me doing anything in gdm at
  all, just starting it.
  
  https://covici.com/owncloud/public.php?service=filest=85cffe78261eacc915379ff5d5449d18
 
 There are some warnings and errors in this one, but I'm not quite sure
 which one could be the problem; you can get them with a grep:
 
 grep -i '\(warning\|error\)' gnome-3.12.1-error2.txt | grep -v Xorg
 
 1. The GetAll() and ServiceUnknown erros are often not problematic.
 
 2. Unable to register client with session manager I get too; so, not a
 problem.
 
 3. There is Gvc-WARNING **: Failed to connect context: OK but that is
 GNOME volume control if I understood correctly; so, also not a problem.
 
 4. The Polkit Error No permission to trigger offline updates might be
 more concerning; though, it should just affect the update part.
 
 5. JS ERROR: could not get remote objects for service
 org.gnome.SettingsDaemon.Smartcard I think is due to a missing USE
 flag option for the gnome-settings-daemon package; I think that's
 supposed to work, so, I also don't see this as a problem.
 
 6. Unit dbus-org.freedesktop.NetworkManager.service failed to load is
 also something non-fatal; so, also not a problem.
 
 TL;DR: One of these could be it, or not at all; I think the problem
 you're having right now doesn't manifest itself as a warning or error,
 but instead as an input / graphical problem.
 
 Can you try a different version of GNOME? A newer might have fixed it.
 
 If you need instructions on how to switch between specific version,
 feel free to let me know. I'll try to figure out the sequence to switch
 between users later today, when I can reboot my system.
 
 -- 
 With kind regards,
 
 Tom Wijsman (TomWij)
 Gentoo Developer
 
 E-mail address  : tom...@gentoo.org

More information, I am not sure if the autostart stuff works at all for
orca, but definitely if I hit super-alt-s it does start, but speech is
not there, but I can see the process, but I will play some more.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici
 cov...@ccs.covici.com



Re: [gentoo-user] about to give up on systemd and gnome

2014-05-25 Thread Tom Wijsman
On Sun, 25 May 2014 08:02:49 -0400
cov...@ccs.covici.com wrote:

 More information, I am not sure if the autostart stuff works at all
 for orca, but definitely if I hit super-alt-s it does start, but
 speech is not there, but I can see the process, but I will play some
 more.

Not sure if it needs it; but you might need app-accessibility/festival
for this to work, as well as set up the daemon (systemctl start/enable).

IIRC there are segfaults about that in your log; they are there by
default, since festival is an optional run-time dependency, but GNOME
tries to initialize it regardless of whether you have it or not.

(Festival is a Text to Speech engine)

-- 
With kind regards,

Tom Wijsman (TomWij)
Gentoo Developer

E-mail address  : tom...@gentoo.org
GPG Public Key  : 6D34E57D
GPG Fingerprint : C165 AF18 AB4C 400B C3D2  ABF0 95B2 1FCD 6D34 E57D


signature.asc
Description: PGP signature


Re: [gentoo-user] about to give up on systemd and gnome

2014-05-25 Thread covici
Tom Wijsman tom...@gentoo.org wrote:

 On Sun, 25 May 2014 08:02:49 -0400
 cov...@ccs.covici.com wrote:
 
  More information, I am not sure if the autostart stuff works at all
  for orca, but definitely if I hit super-alt-s it does start, but
  speech is not there, but I can see the process, but I will play some
  more.
 
 Not sure if it needs it; but you might need app-accessibility/festival
 for this to work, as well as set up the daemon (systemctl start/enable).
 
 IIRC there are segfaults about that in your log; they are there by
 default, since festival is an optional run-time dependency, but GNOME
 tries to initialize it regardless of whether you have it or not.
 
 (Festival is a Text to Speech engine)

Orca no longer uses festival, it uses speech-dispatcher.  I may have
festival installed, but it may be old or something.  My problem seems to
be that  orca speech does not work while starting from gdm, but works
from a regular gnome session using my regular user.  I think we are down
to something like that now.  I will check on the orca list and see if
they can tell me anything as well.



-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici
 cov...@ccs.covici.com



Re: [gentoo-user] Kernel boot messages are no longer displayed

2014-05-25 Thread Michael Orlitzky
On 05/24/2014 04:20 PM, Hilco Wijbenga wrote:
 Hi all,
 
 Since kernel 3.12.13 (3.12.13-gentoo), the kernel boot messages have
 disappeared, i.e. they are no longer displayed at boot time. All I get
 is a line like Loading kernel 3.12.13. (I just upgraded to
 3.12.20-gentoo, so now it's something like Loading kernel 3.12.20.)
 

What version was the previous kernel? These two options appeared
recently and are capable of clobbering your console:

  * Mark VGA/VBE/EFI FB as generic system framebuffer (X86_SYSFB)
  * Simple framebuffer support (FB_SIMPLE)

The first time I set them incorrectly, I got a blank screen until XFCE
popped up.




Re: [gentoo-user] OT: PNG MIMI type

2014-05-25 Thread wabenbau
Am Montag, 19.05.2014 um 13:52
schrieb Frank Steinmetzger war...@gmx.de:

 On Sat, May 17, 2014 at 04:43:31PM +0200, waben...@gmail.com wrote:
 
  My classes have a optical power of about 4-dioptre and I need a
  special class for screen reading. I'm using XFCE as WM and these
  are my settings:
 
 OT, but SCNR: ;-)
 
 Did you just expose yourself as an apple user, or why does your Claws
 think that PNGs are of MIME image/x-apple-ios-png?

Damned, now everybody knows that I'm an Apple fanboy.

Just a joke. Fact is that I don't like apple at all. I really don't have
a clue why claws comes up with this idea.




[gentoo-user] Opus: using and tagging

2014-05-25 Thread Frank Steinmetzger
Hey peeps

I was wondering whether any of you has made any experience with the Opus
media format yet. It’s the new wonder audio codec with superb quality
even at very low bitrates.

I converted a 200 MB podcast MP3 from 128 kbps stereo to 24 kbps mono
with astounding results. But because I converted it via decoding to WAV
over a pipe, it is not tagged. Opus-tools only intalls an encoder,
decoder and info tool, but no metadata modifier.

Thus my main interest right now is to find a way to tag opus files.
Kid3, my main tagger, claims to support it, but it doesn’t show the
.opus file I created. A friend of mine said Opus uses ogg as container,
but renaming to .ogg only gave me an invalid format error.

I have the opus gstreamer plugin installed, but Clementine doesn’t
recognise the .opus file yet, it seems. The second concern is, of
course, using opus. Fortunately cmus, my current primary media player,
will support it in its upcoming version 2.6. So right now, the only way
I can listen to opus is through mplayer.
-- 
Gruß | Greetings | Qapla’
Please do not share anything from, with or about me on any social network.

Everyone wants your best. Don’t let them take it from you.


signature.asc
Description: Digital signature


[gentoo-user] php database character set

2014-05-25 Thread Joseph
My php database, address book is set to (according to phpmyadmin): 
Collation: utf8_general_ci


but some French customers have a problem entering their accented characters eg:
Bâtiment f22

I was even try to edit the database and enter it by cut and paste and it will 
not save it.

--
Joseph



Re: [gentoo-user] Kernel boot messages are no longer displayed

2014-05-25 Thread Hilco Wijbenga
On 25 May 2014 08:12, Michael Orlitzky m...@gentoo.org wrote:
 On 05/24/2014 04:20 PM, Hilco Wijbenga wrote:
 Hi all,

 Since kernel 3.12.13 (3.12.13-gentoo), the kernel boot messages have
 disappeared, i.e. they are no longer displayed at boot time. All I get
 is a line like Loading kernel 3.12.13. (I just upgraded to
 3.12.20-gentoo, so now it's something like Loading kernel 3.12.20.)


 What version was the previous kernel? These two options appeared
 recently and are capable of clobbering your console:

   * Mark VGA/VBE/EFI FB as generic system framebuffer (X86_SYSFB)
   * Simple framebuffer support (FB_SIMPLE)

 The first time I set them incorrectly, I got a blank screen until XFCE
 popped up.

Ka-ching! X86_SYSFB was indeed set and after I enabled FB_SIMPLE,
everything went back to normal. Thanks Michael!



[gentoo-user] Smart Label Printe SLP 650

2014-05-25 Thread Joseph

Is anybody using Smart Label Printer SLP-650 with Gentoo?

The cup driver recognized the printer and install it but it is not printing 
anything, I'm getting:

SII_SLP650  SII SLP650  office  SII SLP650/SLP650SE, 1.8
Idle - File 
/Library/Printers/SII/rastertosiislp.app/Contents/MacOS/rastertosiislp not available: 
No such file or directory

--
Joseph



Re: [gentoo-user] php database character set

2014-05-25 Thread Michael Orlitzky
On 05/25/2014 05:38 PM, Joseph wrote:
 My php database, address book is set to (according to phpmyadmin): 
 Collation: utf8_general_ci
 

The collation determines e.g. how strings are sorted, but that doesn't
mean the database supports utf-8 (although MySQL should by default these
days).

Try adding,

  [client]
  default-character-set = utf8

  [mysqld]
  character-set-server = utf8

to your /etc/mysql/my.cnf.

Then, in mysql, run,

  show create database $your_database;

This will show you the default character set, like,

   /*!40100 DEFAULT CHARACTER SET utf8 */

If it says utf8 and you've got those lines in my.cnf, you're in good
shape, and your console test (at least) should work. Getting PHP to play
along is another adventure, but take it one step at a time.




Re: [gentoo-user] php database character set

2014-05-25 Thread Joseph

On 05/25/14 19:32, Michael Orlitzky wrote:

On 05/25/2014 05:38 PM, Joseph wrote:

My php database, address book is set to (according to phpmyadmin):
Collation: utf8_general_ci



The collation determines e.g. how strings are sorted, but that doesn't
mean the database supports utf-8 (although MySQL should by default these
days).

Try adding,

 [client]
 default-character-set = utf8

 [mysqld]
 character-set-server = utf8

to your /etc/mysql/my.cnf.

Then, in mysql, run,

 show create database $your_database;

This will show you the default character set, like,

  /*!40100 DEFAULT CHARACTER SET utf8 */

If it says utf8 and you've got those lines in my.cnf, you're in good
shape, and your console test (at least) should work. Getting PHP to play
along is another adventure, but take it one step at a time.


In  /etc/mysql/my.cnf
I have them as default

[client]
default-character-set = utf8

[mysqld]
character-set-server = utf8


--
Joseph



Re: [gentoo-user] php database character set

2014-05-25 Thread Michael Orlitzky
On 05/25/2014 08:06 PM, Joseph wrote:
 On 05/25/14 19:32, Michael Orlitzky wrote:

 Then, in mysql, run,

  show create database $your_database;

 This will show you the default character set, like,

   /*!40100 DEFAULT CHARACTER SET utf8 */

 If it says utf8 and you've got those lines in my.cnf, you're in good
 shape, and your console test (at least) should work. Getting PHP to play
 along is another adventure, but take it one step at a time.
 
 In  /etc/mysql/my.cnf
 I have them as default
 
 [client]
 default-character-set = utf8
 
 [mysqld]
 character-set-server = utf8
 

What about the output of show create database $your_database;?
Depending on how the database was created, it could still have another
character set.





Re: [gentoo-user] Smart Label Printe SLP 650

2014-05-25 Thread Joseph

On 05/25/14 16:47, Joseph wrote:

Is anybody using Smart Label Printer SLP-650 with Gentoo?

The cup driver recognized the printer and install it but it is not printing 
anything, I'm getting:

SII_SLP650  SII SLP650  office  SII SLP650/SLP650SE, 1.8
Idle - File 
/Library/Printers/SII/rastertosiislp.app/Contents/MacOS/rastertosiislp not available: 
No such file or directory


This error comes from ppd driver that came with the printer.
...
*APPrinterIconPath: 
/Library/Printers/SII/rastertosiislp.app/Contents/Resources/DriverIcons/slp650.icns
*cupsVersion: 1.5
*cupsModelNumber: 294
*cupsManualCopies: False
*cupsFilter: application/vnd.cups-raster 0 
/Library/Printers/SII/rastertosiislp.app/Contents/MacOS/rastertosiislp
*cupsLanguages: en
*OpenUI *PageSize/Media Size: PickOne*APPrinterIconPath: 
/Library/Printers/SII/rastertosiislp.app/Contents/Resources/DriverIcons/slp650.icns
*cupsVersion: 1.5
*cupsModelNumber: 294
*cupsManualCopies: False
*cupsFilter: application/vnd.cups-raster 0 
/Library/Printers/SII/rastertosiislp.app/Contents/MacOS/rastertosiislp
*cupsLanguages: en
*OpenUI *PageSize/Media Size: PickOne
...

--
Joseph



Re: [gentoo-user] php database character set

2014-05-25 Thread Joseph

On 05/25/14 21:04, Michael Orlitzky wrote:

On 05/25/2014 08:06 PM, Joseph wrote:

On 05/25/14 19:32, Michael Orlitzky wrote:


Then, in mysql, run,

 show create database $your_database;

This will show you the default character set, like,

  /*!40100 DEFAULT CHARACTER SET utf8 */

If it says utf8 and you've got those lines in my.cnf, you're in good
shape, and your console test (at least) should work. Getting PHP to play
along is another adventure, but take it one step at a time.


In  /etc/mysql/my.cnf
I have them as default

[client]
default-character-set = utf8

[mysqld]
character-set-server = utf8



What about the output of show create database $your_database;?
Depending on how the database was created, it could still have another
character set.


I was trying to run this command in phpmyadmin:
show create database $temp;

I'm getting an error message.
--
Joseph



Re: [gentoo-user] php database character set

2014-05-25 Thread Michael Orlitzky
On 05/25/2014 10:43 PM, Joseph wrote:

 What about the output of show create database $your_database;?
 Depending on how the database was created, it could still have another
 character set.
 
 I was trying to run this command in phpmyadmin:
 show create database $temp;
 
 I'm getting an error message.
 

Oh, lose the dollar sign. It's common to prepend a dollar sign to a name
to signify that it's a variable. It borrows from shell, perl, PHP, etc.
which all do something similar for variables. It's ugly and redundant
there, but email is actually one place where I think it makes sense.




Re: [gentoo-user] php database character set

2014-05-25 Thread Joseph

On 05/25/14 23:00, Michael Orlitzky wrote:

On 05/25/2014 10:43 PM, Joseph wrote:


What about the output of show create database $your_database;?
Depending on how the database was created, it could still have another
character set.


I was trying to run this command in phpmyadmin:
show create database $temp;

I'm getting an error message.



Oh, lose the dollar sign. It's common to prepend a dollar sign to a name
to signify that it's a variable. It borrows from shell, perl, PHP, etc.
which all do something similar for variables. It's ugly and redundant
there, but email is actually one place where I think it makes sense.


Yes, it worked, and I get:
CREATE DATABASE `catalog_sys` /*!40100 DEFAULT CHARACTER SET utf8 */

so it looks OK I think.

--
Joseph



Re: [gentoo-user] php database character set

2014-05-25 Thread Michael Orlitzky
On 05/25/2014 11:36 PM, Joseph wrote:
 
 Yes, it worked, and I get:
 CREATE DATABASE `catalog_sys` /*!40100 DEFAULT CHARACTER SET utf8 */
 
 so it looks OK I think.
 

Yeah, looks good. Here's what I'm using as a test case. Your columns
aren't regular 'char' types, are they?

  mysql CREATE DATABASE utf8_test;
  Query OK, 1 row affected (0.02 sec)

  mysql CREATE TABLE dummy ( name varchar(255) NOT NULL );
  Query OK, 0 rows affected (0.05 sec)

  mysql INSERT INTO dummy ( name ) VALUES ( 'Bâtiment' );
  Query OK, 1 row affected (0.00 sec)

  mysql SELECT * FROM dummy;
  +---+
  | name  |
  +---+
  | Bâtiment  |
  +---+
  1 row in set (0.00 sec)

Are you running your tests from the command line, or through phpMyAdmin?
If it's the latter, it could be PHP's fault and not MySQL's.

Related: I don't think this has anything to do with your current issue,
but just as a PSA, utf8 in mysql doesn't support all of unicode:

  http://mathiasbynens.be/notes/mysql-utf8mb4




[gentoo-user] Re: fstab cleanup

2014-05-25 Thread Nikos Chantziaras

On 21/05/14 13:32, Stefan G. Weichinger wrote:


Do I still need these lines .. especially with a modern
systemd/gnome3-environment?

tmpfs   /dev/shmtmpfs
nodev,nosuid,noexec 0 0

/dev/cdrw   /media/cdrecorder   auto
user,exec,noauto,managed 0 0


You can safely delete both. A /dev/shm mount is created automatically, 
and /media/cdrecorder is not used by anything.





[gentoo-user] Re: Only 4 of 8 GB usable

2014-05-25 Thread Nikos Chantziaras

On 22/05/14 00:37, Alex Schuster wrote:

So I installed another 4 GiB RAM into a Gentoo amd64 system that had 4 GiB
already. But it still sees only 4 GiB, not 8 GiB:

leela ~ # uname -a
Linux leela 3.6.11-gentoo #3 SMP Mon Feb 4 15:37:48 CET 2013 x86_64 AMD
A6-3500 APU with Radeon(tm) HD Graphics AuthenticAMD GNU/Linux


Emerge sys-apps/memtest86+ and boot it (it should create a Grub entry). 
How much memory does it see/test?


Are there any memory settings in your BIOS? (Possibly related to GPU 
memory.)