Re: [gentoo-user] Re: replacement for ddclient?

2023-06-09 Thread Robin Atwood
On Mon, 5 Jun 2023 03:11:57 - (UTC)
Grant Edwards  wrote:

> They have a nicely documented API, and the server does support HTTPS,
> so it may be time to write my own DDNS client daemon.

Doesn't your router have a Dynamic DNS function? I stopped using
ddclient years ago because my D-Link router does the updates. It is in
a much better position to know when it is necessary!

Robin
-- 











[gentoo-user] Re: mailing list problem: changing subscription type

2022-05-29 Thread Robin H. Johnson
(Replying as listowner, but I'm also on the nomail version of
gentoo-user, please CC to gentoo-user+ow...@lists.gentoo.org or to me
directly for most mail)

On Mon, May 30, 2022 at 07:35:20AM +0530, Madhu wrote:
> I had subscribed to gentoo-user on 2022-05-25, and posted a message on
> that date.
> 
> I then wished to change my subscription to no-mail delivery. The
> instructions I received after sending a message to
> gentoo-user+h...@lists.gentoo.org indicated I could do this by sending
> a message to gentoo-user+subscribe-nom...@lists.gentoo.org, which I
> did. and I got a response saying
> 
> "Thank you for confirming your subscription. You have now been added to the
> no-mail version of the list."
> 
> However the email address is still receiving messages from the
> list. Apparently my email is subscribed on two lists - the mail
> version and the non-mail version, and there doesn't seem to be any way
> to unsubscribe only from the mail-version while remaining on the
> latter.
...
> Could I request the list owner to make sure I remain subscribed to the
> the list while not receiving copies in the mail?
I don't see any requests to unsubscribe from the regular version of the
list.

The regular/digest/nomail subscriptions are entirely independent.

Just subscribing to the nomail version of the list does not impact your
other subscriptions at all.

Did some part of the documentation make you think it would impact the
subscription?

Regardless, how do you feel the documentation could improve to make it
clear that they are separate.

-- 
Robin Hugh Johnson
Gentoo Linux: Dev, Infra Lead, Foundation Treasurer
E-Mail   : robb...@gentoo.org
GnuPG FP : 11ACBA4F 4778E3F6 E4EDF38E B27B944E 34884E85
GnuPG FP : 7D0B3CEB E9B85B1F 825BCECF EE05E6F6 A48F6136


signature.asc
Description: PGP signature


[gentoo-user] Initial console messages garbled [REPOST]

2020-06-28 Thread Robin Atwood
Since as Dale and others have pointed out, I posted my first message on
this subject by using an existing message as a template which doesn't
work because it gets added to the existing thread. So here goes
again. (I have also just noticed some replies that I had missed for the
same reason: lesson learned! Rich's response looks very useful.)

I posted about this on the Gentoo forums (see [1]) but didn't get any
response so I'll try my luck here! The post explains everything but.
briefly, normally when I boot a kernel I initially get some messages
in a large clunky font, and then the frame-buffer module loads and
everything is hi-res and fills the entire monitor. On my new box the
first messages are video-static until the frame-buffer takes over. I
have an error in a new root partition I have built and need to read
those messages! What of all the numerous parameters in various places
should I try tweaking?

Thanks
Robin

1. http://forums.gentoo.org/viewtopic-t-1114668-highlight-.html

> From: "Sid Spry" 
> To: gentoo-user@lists.gentoo.org
> Subject: Re: [gentoo-user] Initial console messages garbled
> Date: Sun, 28 Jun 2020 11:03:12 -0500
> Reply-to: gentoo-user@lists.gentoo.org
> User-Agent:
> Cyrus-JMAP/3.3.0-dev0-543-gda70334-fm-20200618.004-gda703345
> X-Mailer: MessagingEngine.com Webmail Interface
> 
> > On Thu, Jun 25, 2020 at 2:55 AM Robin Atwood 
> > wrote: 
> > >
> > > On Wed, 24 Jun 2020 13:31:30 -0400
> > > tedheadster  wrote:
> > >  
> > > > Robin,
> > > >  are you comfortable just going with a bare-bones console and
> > > > build a new kernel where you _disable_ CONFIG_FB? That might do
> > > > it.
> > > >
> > > > Alternately, you can hook up a serial cable to another computer
> > > > and set "console=ttyS0,115200n8".  
> > >
> > > I will try that, if it works it will at least give me a chance to
> > > look at the error messages.
> > >
> > > I don't think I have any serial cables!
> > >  
> >   
> 
> Well, you may need to buy a cable one way or another if your issue is
> very early in the boot process, typically qualified as "before the
> console comes up." Netconsole may help you though.
> 
> Most motherboards used to have potentially unpopulated serial port
> headers on them. Those seen to be disappearing.
> 
> The replacement is
> https://www.kernel.org/doc/html/v5.4/driver-api/usb/usb3-debug-port.html.
> Most (all?) desktop xHCI controllers support a device mode that is
> essentially a very high speed CBC ACM serial port. This is especially
> useful for debugging laptops.
> 
> You do need to either make or buy the special A to A cable.


> From: Rich Freeman 
> To: gentoo-user@lists.gentoo.org
> Subject: Re: [gentoo-user] Initial console messages garbled
> Date: Sun, 28 Jun 2020 10:51:26 -0400
> Reply-to: gentoo-user@lists.gentoo.org
> 
> On Thu, Jun 25, 2020 at 2:55 AM Robin Atwood  wrote:
> >
> > On Wed, 24 Jun 2020 13:31:30 -0400
> > tedheadster  wrote:
> >  
> > > Robin,
> > >  are you comfortable just going with a bare-bones console and
> > > build a new kernel where you _disable_ CONFIG_FB? That might do
> > > it.
> > >
> > > Alternately, you can hook up a serial cable to another computer
> > > and set "console=ttyS0,115200n8".  
> >
> > I will try that, if it works it will at least give me a chance to
> > look at the error messages.
> >
> > I don't think I have any serial cables!
> >  
> 
> While serial consoles are one solution, I'd take a look at network
> consoles.  They're FAR easier to manage on commodity hardware.  All
> you really need is another host on the network that can run netcat.
> 
> I stick this in my /etc/grub/default - or otherwise get it onto the
> command line in the bootloader:
> netconsole=@/,@192.168.1.1
> 
> That tells the kernel to send all console output over UDP to
> 192.168.1.1:.  If you have multiple interfaces/etc you might need
> to expand that command line a bit.  I have no idea how it comes up
> with the sending IP - if you care about that you can specify it.  I'm
> guessing it doesn't run DHCP - but this is just plain UDP so it is
> one-way and there is no need for acks to get back to the sender.
> 
> On the destination host I run:
> nc -u -l -p 
> 
> (nc is provided by the netcat package - a very basic tool that should
> be available everywhere - probably on non-linux operating systems
> also)
> 
> Start up the reception part before you try booting the host you're
> troubleshooting, because it is just going to send packets 

Re: [gentoo-user] Initial console messages garbled

2020-06-28 Thread Robin Atwood
On Thu, 25 Jun 2020 13:55:18 +0700
> > Robin,
> >  are you comfortable just going with a bare-bones console and build
> > a new kernel where you _disable_ CONFIG_FB? That might do it.
> > 
> > Alternately, you can hook up a serial cable to another computer and
> > set "console=ttyS0,115200n8".  
> 
> I will try that, if it works it will at least give me a chance to look
> at the error messages.

I couldn't disable CONFIG_FB in the kernel, only select "module" or
"built-in" mode. I guess there is another parameter which needs
disabling. Researching that, I discovered you can disable frame-buffer
on the kernel command line. Also, that there might be an option in the
BIOS to set but I checked that and found nothing. So I rebooted and
used Grub to edit the kernel parameters and set "VGA=NORMAL NOMODESET".
This resulted in the usual initial garbage which was not cured by
loading the frame-buffer module. So disabling frame-buffer support made
things worse, which is rather what I was expecting. :(

Given the almost total lack of response to my post, I guess I am stuck
with this problem.

Thanks
Robin
-- 











Re: [gentoo-user] Initial console messages garbled

2020-06-25 Thread Robin Atwood
On Wed, 24 Jun 2020 13:31:30 -0400
tedheadster  wrote:

> Robin,
>  are you comfortable just going with a bare-bones console and build a
> new kernel where you _disable_ CONFIG_FB? That might do it.
> 
> Alternately, you can hook up a serial cable to another computer and
> set "console=ttyS0,115200n8".

I will try that, if it works it will at least give me a chance to look
at the error messages.

I don't think I have any serial cables!

Thanks
Robin
-- 











Re: [gentoo-user] Initial console messages garbled

2020-06-25 Thread Robin Atwood
On Wed, 24 Jun 2020 12:54:32 -0400
Jack  wrote:
> I can't answer your question, but I can suggest that you start a new  
> thread with a new message, not replying to an old message, even if
> you do change the subject.  Many email readers thread discussions
> using internal message headers, not just subject, so it increases the
> chance your message may not be seen by someone who can answer.
> 
> Jack

Thanks for pointing that out, it was the easiest way to post!

Robin
-- 











[gentoo-user] Initial console messages garbled

2020-06-24 Thread Robin Atwood
I posted about this on the Gentoo forums (see [1]) but didn't get any
response so I'll try my luck here! The post explains everything but.
briefly, normally when I boot a kernel I initially get some messages
in a large clunky font, and then the frame-buffer module loads and
everything is hi-res and fills the entire monitor. On my new box the
first messages are video-static until the frame-buffer takes over. I
have an error in a new root partition I have built and need to read
those messages! What of all the numerous parameters in various places
should I try tweaking?

Thanks
Robin

1. http://forums.gentoo.org/viewtopic-t-1114668-highlight-.html

-- 
--
Robin Atwood.
--











Re: [gentoo-user] Upgrading to Qt 5.12.4 makes some applications invisible

2019-07-12 Thread Robin Atwood
On Mon, 8 Jul 2019 02:41:01 +0300
Nikos Chantziaras  wrote:

> Qt was upgraded from 5.12.3 to 5.12.4 and as a result some
> applications (Clementine and qBittorrent) become invisible when you
> minimize them and then restore them. They only become visible again
> when you resize their window, and resizing the window is very slow.
> 
> This does not affect most applications. Dolphin, Kate/Kwrite, System 
> Settings, SMPlayer, etc, all work fine.
> 
> Rebuilding Clementine and qBittorrent didn't fix it. Rebuilding 
> kde-frameworks and kde-plasma didn't fix it.
> 
> Have anyone else encountered this?

Yes, I can confirm this behaviour with Clementine. I thought it was
more Plasma video instability, I'm glad it's not!

Robin
-- 
------
Robin Atwood.

"Ship me somewheres east of Suez, where the best is like the worst,
 Where there ain't no Ten Commandments an' a man can raise a thirst"
 from "Mandalay" by Rudyard Kipling
--









-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.




Re: [gentoo-user] Fdisk reports new HD as 10MiB

2019-07-06 Thread Robin Atwood
On Sat, 6 Jul 2019 09:11:22 +1000
Adam Carter  wrote:

> >
> > OK panic over! I had shelled into the wrong system! The mystery is
> > what I was trying to copy to, the machine only has one HD.
> >
> 
> lsblk is nice
> 
> $ lsblk
> NAMEMAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
> sda   8:00 931.5G  0 disk
> └─sda18:10 931.5G  0 part /var
> nvme0n1 259:00   477G  0 disk
> ├─nvme0n1p1 259:10 1G  0 part
> └─nvme0n1p2 259:2    0   476G  0 part /

lsblk *is* nice, thanks!

Robin
-- 
--
Robin Atwood.

"Ship me somewheres east of Suez, where the best is like the worst,
 Where there ain't no Ten Commandments an' a man can raise a thirst"
 from "Mandalay" by Rudyard Kipling
--









-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.




Re: [gentoo-user] Fdisk reports new HD as 10MiB

2019-07-06 Thread Robin Atwood
On Sat, 06 Jul 2019 11:14:38 +1000
Paul Colquhoun  wrote:

> > OK panic over! I had shelled into the wrong system! The mystery is
> > what I was trying to copy to, the machine only has one HD.  
> 
> 
> It would probably just have created a normal file called /dev/sdb
> which would have grown till it filled the empty space on the
> partition.

Yes, that's what it did, though it didn't fill the partition up. Phew,
that's a relief, I was worrying I had overwritten the BIOS or
something! 

Thanks
Robin
-- 
--
Robin Atwood.

"Ship me somewheres east of Suez, where the best is like the worst,
 Where there ain't no Ten Commandments an' a man can raise a thirst"
 from "Mandalay" by Rudyard Kipling
--









-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.




Re: [gentoo-user] Fdisk reports new HD as 10MiB

2019-07-05 Thread Robin Atwood
On Fri, 05 Jul 2019 15:47:04 +0100
Mick  wrote:

> On Friday, 5 July 2019 15:44:46 BST Robin Atwood wrote:
> 
> > OK panic over! I had shelled into the wrong system! The mystery is
> > what I was trying to copy to, the machine only has one HD.  
> 
> Cool, I hope you didn't overwrite useful data and you keep
> backups.  ;-)
> 

Me too, and yes!

-- 
--
Robin Atwood.

"Ship me somewheres east of Suez, where the best is like the worst,
 Where there ain't no Ten Commandments an' a man can raise a thirst"
 from "Mandalay" by Rudyard Kipling
--









-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.




Re: [gentoo-user] Fdisk reports new HD as 10MiB

2019-07-05 Thread Robin Atwood
On Fri, 05 Jul 2019 15:34:18 +0100
Mick  wrote:

> On Friday, 5 July 2019 15:30:06 BST Robin Atwood wrote:
> 
> > Thanks Vladimir, that sounds promising. Can you recommend any GPT
> > programs (this is new to me)? However the dd utility failed when I
> > tried to copy my old HD to the new one.
> > 
> > # dd if=/dev/sda of=/dev/sdb bs=64K conv=noerror,sync
> > dd: error writing '/dev/sdb': No space left on device
> > 160+0 records in
> > 159+0 records out
> > 10481664 bytes (10 MB, 10 MiB) copied, 0.132944 s, 78.8 MB/s
> > 
> > Cheers
> > Robin  
> 
> You can use gptfdisk, parted/gparted, etc.
> 
> To check the size as well as additional information you can use
> smartmontools and run:
> 
> smartctl -i /dev/sda
> 
> It may also be worth checking if later firmware is available to
> address any issues with it, like reporting the wrong size with some
> tools.
> 
> However, the dd command failure sounds suspicious - as I understand
> it dd should not fail unless the disk has run out of space.

OK panic over! I had shelled into the wrong system! The mystery is what
I was trying to copy to, the machine only has one HD.

Thanks
Robin
-- 
--
Robin Atwood.

"Ship me somewheres east of Suez, where the best is like the worst,
 Where there ain't no Ten Commandments an' a man can raise a thirst"
 from "Mandalay" by Rudyard Kipling
--









-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.




Re: [gentoo-user] Fdisk reports new HD as 10MiB

2019-07-05 Thread Robin Atwood
On Fri, 5 Jul 2019 19:31:39 +0500
Vladimir Romanov  wrote:

> Well, dd should work well in any case. May be your drive is broken
> really?
> 
> пт, 5 июл. 2019 г., 19:30 Robin Atwood :
> 
> > On Fri, 5 Jul 2019 19:14:35 +0500
> > Vladimir Romanov  wrote:
> >
> > > Fdisk can not work with drives larger than 2TB. Your drive may be
> > > slightly (10 mb) larger than that, so the result. For such disks
> > > you need not Fdisk, but GPT programs.
> > >
> > > пт, 5 июл. 2019 г., 19:12 Robin Atwood :
> > >
> > > > I just bought a new "2TB" Western Digital hard drive. Imagine my
> > > > surprise when fdisk reports it is only 10MiB in capacity! Is
> > > > there anything I can do to rectify this (of a technical
> > > > nature)? I live in Bangkok so it is not unlikely the guy in the
> > > > little shop where I bought it sold me a load of junk. But the
> > > > device is in warranty until 2022 and looks convincing (I
> > > > checked the serial number on the WD web site). Of course I can
> > > > go to the WD service centre and get the HD exchanged but I
> > > > thought I would see if there were any technical wheezes first.
> >
> > Thanks Vladimir, that sounds promising. Can you recommend any GPT
> > programs (this is new to me)? However the dd utility failed when I
> > tried to copy my old HD to the new one.
> >
> > # dd if=/dev/sda of=/dev/sdb bs=64K conv=noerror,sync
> > dd: error writing '/dev/sdb': No space left on device
> > 160+0 records in
> > 159+0 records out
> > 10481664 bytes (10 MB, 10 MiB) copied, 0.132944 s, 78.8 MB/s

It looks like it. :(

Robin
-- 
--
Robin Atwood.

"Ship me somewheres east of Suez, where the best is like the worst,
 Where there ain't no Ten Commandments an' a man can raise a thirst"
 from "Mandalay" by Rudyard Kipling
--









-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.




Re: [gentoo-user] Fdisk reports new HD as 10MiB

2019-07-05 Thread Robin Atwood
On Fri, 5 Jul 2019 19:14:35 +0500
Vladimir Romanov  wrote:

> Fdisk can not work with drives larger than 2TB. Your drive may be
> slightly (10 mb) larger than that, so the result. For such disks you
> need not Fdisk, but GPT programs.
> 
> пт, 5 июл. 2019 г., 19:12 Robin Atwood :
> 
> > I just bought a new "2TB" Western Digital hard drive. Imagine my
> > surprise when fdisk reports it is only 10MiB in capacity! Is there
> > anything I can do to rectify this (of a technical nature)? I live in
> > Bangkok so it is not unlikely the guy in the little shop where I
> > bought it sold me a load of junk. But the device is in warranty
> > until 2022 and looks convincing (I checked the serial number on the
> > WD web site). Of course I can go to the WD service centre and get
> > the HD exchanged but I thought I would see if there were any
> > technical wheezes first.

Thanks Vladimir, that sounds promising. Can you recommend any GPT
programs (this is new to me)? However the dd utility failed when I
tried to copy my old HD to the new one. 

# dd if=/dev/sda of=/dev/sdb bs=64K conv=noerror,sync  
dd: error writing '/dev/sdb': No space left on device
160+0 records in
159+0 records out
10481664 bytes (10 MB, 10 MiB) copied, 0.132944 s, 78.8 MB/s

Cheers
Robin
-- 
--
Robin Atwood.

"Ship me somewheres east of Suez, where the best is like the worst,
 Where there ain't no Ten Commandments an' a man can raise a thirst"
 from "Mandalay" by Rudyard Kipling
--









-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.




[gentoo-user] Fdisk reports new HD as 10MiB

2019-07-05 Thread Robin Atwood
I just bought a new "2TB" Western Digital hard drive. Imagine my
surprise when fdisk reports it is only 10MiB in capacity! Is there
anything I can do to rectify this (of a technical nature)? I live in
Bangkok so it is not unlikely the guy in the little shop where I bought
it sold me a load of junk. But the device is in warranty until 2022
and looks convincing (I checked the serial number on the WD web
site). Of course I can go to the WD service centre and get the HD
exchanged but I thought I would see if there were any technical
wheezes first.   

Thanks
Robin
-- 
--
Robin Atwood.

"Ship me somewheres east of Suez, where the best is like the worst,
 Where there ain't no Ten Commandments an' a man can raise a thirst"
 from "Mandalay" by Rudyard Kipling
--









-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.




Re: [gentoo-user] /sys/fs/cgroup/unified/ missing

2017-09-19 Thread Robin Atwood
[This post is directed at Mike Gilbert. I am not receiving Gentoo list 
messages for some reason, I found his reply in the archives!]

>OpenRC only gained support for the "unified" cgroup hierarchy within
>the last week or so in version 0.31.

Thanks for the hint. I have that version of openrc installed. Openrc-0.31.1 is 
now available so I installed that and the problem went away. 

Cheers
Robin
-- 
------
Robin Atwood.

"Ship me somewheres east of Suez, where the best is like the worst,
 Where there ain't no Ten Commandments an' a man can raise a thirst"
 from "Mandalay" by Rudyard Kipling
--









-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



[gentoo-user] /sys/fs/cgroup/unified/ missing

2017-09-18 Thread Robin Atwood
I just logged off KF5 after an extensive update and XDM would not restart, I 
got a message about /sys/fs/cgroup/unified/ did not exist (which it doesn't). 
The /sys/fs/cgroup/ directory is there, it's the "unified" sub-directory 
that's missing. I have not rebooted for a long time so I did that and still 
got the messages. Fortunately the system still comes up. I must have missed a 
config update somewhere I guess but I cannot find any useful hits when I 
search. Any idea what I am missing? 

Thanks
Robin
-- 
--
Robin Atwood.

"Ship me somewheres east of Suez, where the best is like the worst,
 Where there ain't no Ten Commandments an' a man can raise a thirst"
 from "Mandalay" by Rudyard Kipling
--









-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



Re: [gentoo-user] Something started muting the sound

2017-08-14 Thread Robin Atwood
On Monday 14 August 2017, Mick wrote:
> On Monday 14 Aug 2017 19:31:48 Robin Atwood wrote:
> > That's very interesting and would explain a lot except that I don't have
> > a dock! So does anybody have an idea as to why the TP has decided it's
> > been docked when it hasn't? There are not currently any other output
> > devices to select (AFAICT).
> 
> It could be a hardware problem.  Check the docking port has not been
> unlocked accidentally for some reason, no debris is shorting its
> connectors and that the BIOS menu does not report it being docked.  I
> think the audio output device symptom is controlled by ACPI, but before
> blaming bugs in ACPI I'd start by looking at the hardware in the first
> instance.

The docking slot is clear, there is nothing in the BIOS about docking and 
acpitool doesn't report anything about the docking state. The Dock option is 
on in the ACPI section of the kernel config.

Robin

-- 
------
Robin Atwood.

"Ship me somewheres east of Suez, where the best is like the worst,
 Where there ain't no Ten Commandments an' a man can raise a thirst"
 from "Mandalay" by Rudyard Kipling
--









-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



Re: [gentoo-user] Something started muting the sound

2017-08-14 Thread Robin Atwood
On Monday 14 August 2017, Mick wrote:
> On Sunday 13 Aug 2017 20:27:12 Robin Atwood wrote:
> > On Saturday 12 August 2017, Alexander Kapshuk wrote:
> > However, grepping dmesg was interesting:
> > 
> > # grep HDA /var/log/dmesg
> > [   10.981754] input: HDA Digital PCBeep as
> > /devices/pci:00/:00:1b.0/sound/card0/hdaudioC0D0/inp
> > ut9
> > [   10.981963] input: HDA Intel MID Mic as
> > /devices/pci:00/:00:1b.0/sound/card0/input10
> > [   10.982033] input: HDA Intel MID Dock Mic as
> > /devices/pci:00/:00:1b.0/sound/card0/input11
> > [   10.982102] input: HDA Intel MID Dock Headphone as
> > /devices/pci:00/:00:1b.0/sound/card0/input
> > 12
> > [   10.982171] input: HDA Intel MID Headphone as
> > /devices/pci:00/:00:1b.0/sound/card0/input13
> 
> The above shows you have your laptop docked.  When docked the on board
> speakers are usually disconnected.
> 
> It's been a very long time since I docked a laptop and my memory is not
> very reliable, but I recall fixing a similar problem by selecting a
> different output device.  I don't know if you can do this from alsamixer,
> but you should be able to do it from pulseaudio, or from whatever GUI your
> desktop provides for managing audio devices.  Switch over from
> headphones/docking station to speakers and you should be OK.

That's very interesting and would explain a lot except that I don't have a 
dock! So does anybody have an idea as to why the TP has decided it's been 
docked when it hasn't? There are not currently any other output devices to 
select (AFAICT).

Thanks
Robin

-- 
--
Robin Atwood.

"Ship me somewheres east of Suez, where the best is like the worst,
 Where there ain't no Ten Commandments an' a man can raise a thirst"
 from "Mandalay" by Rudyard Kipling
--









-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



Re: [gentoo-user] Something started muting the sound

2017-08-13 Thread Robin Atwood
On Saturday 12 August 2017, Alexander Kapshuk wrote:
> On Sat, Aug 12, 2017 at 4:49 PM, Robin Atwood <ro...@binro.org> wrote:
> What's the output of these command lines?
> (1). lspci -vnn | sed '/Audio/,/driver/!d'
> 
> (2). grep -Ei '^[^#]*(snd|hda)' linux/.config
> 
> (3). rc-update show | grep alsa
> 
> (4). grep HDA /var/log/dmesg

The output was what you would expect, lots info about HDA drivers and 
hardware:

lspci -vnn | sed '/Audio/,/driver/!d' 
00:1b.0 Audio device [0403]: Intel Corporation 5 Series/3400 Series Chipset 
High Definition Audio [8086:
3b56] (rev 06) 
   Subsystem: Lenovo 5 Series/3400 Series Chipset High Definition Audio 
[17aa:215e] 
   Flags: bus master, fast devsel, latency 0, IRQ 28 
   Memory at f242 (64-bit, non-prefetchable) [size=16K] 
   Capabilities: [50] Power Management version 2 
   Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit+ 
   Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00 
   Kernel driver in use: snd_hda_intel 
01:00.1 Audio device [0403]: NVIDIA Corporation High Definition Audio 
Controller [10de:0be3] (rev a1) 
   Subsystem: Lenovo High Definition Audio Controller [17aa:218f] 
   Flags: bus master, fast devsel, latency 0, IRQ 29 
   Memory at cdefc000 (32-bit, non-prefetchable) [size=16K] 
   Capabilities: [60] Power Management version 3 
   Capabilities: [68] MSI: Enable+ Count=1/1 Maskable- 64bit+ 
   Capabilities: [78] Express Endpoint, MSI 00 
   Kernel driver in use: snd_hda_intel


However, grepping dmesg was interesting:

# grep HDA /var/log/dmesg 
[   10.981754] input: HDA Digital PCBeep as 
/devices/pci:00/:00:1b.0/sound/card0/hdaudioC0D0/inp
ut9 
[   10.981963] input: HDA Intel MID Mic as 
/devices/pci:00/:00:1b.0/sound/card0/input10 
[   10.982033] input: HDA Intel MID Dock Mic as 
/devices/pci:00/:00:1b.0/sound/card0/input11 
[   10.982102] input: HDA Intel MID Dock Headphone as 
/devices/pci:00/:00:1b.0/sound/card0/input
12 
[   10.982171] input: HDA Intel MID Headphone as 
/devices/pci:00/:00:1b.0/sound/card0/input13

No output about the speakers. On another system (that works) I see:

[   20.712891] input: HDA Intel Rear Mic as 
/devices/pci:00/:00:1b.0/sound/card0/input5 
[   20.712984] input: HDA Intel Front Mic as 
/devices/pci:00/:00:1b.0/sound/card0/input6 
[   20.713097] input: HDA Intel Line as 
/devices/pci:00/:00:1b.0/sound/card0/input7 
[   20.713185] input: HDA Intel Line Out as 
/devices/pci:00/:00:1b.0/sound/card0/input8

I think Line Out is a speaker. So why the difference?

Thanks
Robin
-- 
------
Robin Atwood.

"Ship me somewheres east of Suez, where the best is like the worst,
 Where there ain't no Ten Commandments an' a man can raise a thirst"
 from "Mandalay" by Rudyard Kipling
--









-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



Re: [gentoo-user] Something started muting the sound

2017-08-12 Thread Robin Atwood
On Saturday 12 August 2017, Mick wrote:
> On Saturday 12 Aug 2017 20:49:48 Robin Atwood wrote:
> Which device does alsamixer or pulseaudio show as being active?  I found on
> some PCs that HDMI is now set as the default audio device and I had to
> change the configuration to make analogue sound devices active again.

Mick, thanks for the suggestion but alsamixer still shows: 
Card: HDA Intel MID  │
Chip: Conexant CX20585

and is in fact the only device.

Robin
-- 
------
Robin Atwood.

"Ship me somewheres east of Suez, where the best is like the worst,
 Where there ain't no Ten Commandments an' a man can raise a thirst"
 from "Mandalay" by Rudyard Kipling
--









-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



[gentoo-user] Something started muting the sound

2017-08-12 Thread Robin Atwood
I have a Thinkpad T410 where, after I installed Gentoo on it, everything "just 
worked (TM)". The sound is via the bog-standard Intel chips on the mobo and 
uses the hda_intel drivers. I didn't use the TP for a long time, just 
periodically updating Gentoo, but when I eventually did try to use it the 
sound was muted. This means I shut down the X server to remove complications 
from the desktop and from the console aplay doesn't produce any sound. 
Everything looks normal, driver modules loaded, alsamixer shows the usual 
output, channels all active. I booted to a windows partition and the sound 
works, so the hardware is OK. The very weird thing is if I put the TP to sleep 
with acpitool and wake it up again, the sound works for about 60 seconds and 
then dies. There is nothing in the message log at all when this happens. I 
upgraded the kernel but that didn't help.

This problem has been dragging on for some years and I am contemplating a 
complete re-install from scratch. But before I do that does anyone have any 
idea what I could try?

TIA
Robin

-- 
--
Robin Atwood.

"Ship me somewheres east of Suez, where the best is like the worst,
 Where there ain't no Ten Commandments an' a man can raise a thirst"
 from "Mandalay" by Rudyard Kipling
--









-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



Re: [gentoo-user] After KDE5 install massive depclean list

2017-02-15 Thread Robin Atwood
On Wednesday 15 February 2017, Alan McKinnon wrote:
> On 15/02/2017 15:14, Robin Atwood wrote:
> > Having finally got a stable KDE5 system I did an emerge depclean and got
> > 288 candidates! I am not sure which packages I need to keep and which
> > can go. I assume any package like kde-apps/kxxx-4.14* can go unless you
> > actually want it, but I am unclear about packages like
> > kde-apps/plasma-apps-15.12.3 which are slotted as 4 but have upgrades to
> > 16.08.3. Do I still need these?
> 
> For the most part, no.
> 
> Almost every kde4 package (libs, apps, plugins, and more) got updated
> for KDE% and many were pkgmv'ed around to new categories. So 288 sounds
> like the right ballpark from memory.
> 
> I found that the kde ebuild maintainers did a really good job with this,
> and virtually every upgrade went smooth for me. The KDE4 apps I still
> have (amarok, k3b, etc) have their DEPENDs correct so depclean tends to
> be correct as is, including the plasma SLOTs.
> 
> If your world file is in good condition I recommend you let portage
> clean what it wants to. In the unlikely evnt the devs missed something,
> you can always emerge a missing package or two back.

Thanks, Alan. I have added a few packages to world and will let emerge go 
ahead!

Cheers
Robin

-- 
--
Robin Atwood.

"Ship me somewheres east of Suez, where the best is like the worst,
 Where there ain't no Ten Commandments an' a man can raise a thirst"
 from "Mandalay" by Rudyard Kipling
--









-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



[gentoo-user] After KDE5 install massive depclean list

2017-02-15 Thread Robin Atwood
Having finally got a stable KDE5 system I did an emerge depclean and got 288 
candidates! I am not sure which packages I need to keep and which can go. I 
assume any package like kde-apps/kxxx-4.14* can go unless you actually want 
it, but I am unclear about packages like kde-apps/plasma-apps-15.12.3 which 
are slotted as 4 but have upgrades to 16.08.3. Do I still need these?

Thanks
Robin
-- 
--
Robin Atwood.

"Ship me somewheres east of Suez, where the best is like the worst,
 Where there ain't no Ten Commandments an' a man can raise a thirst"
 from "Mandalay" by Rudyard Kipling
--









-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



Re: [gentoo-user] KDE5: no desktop

2017-01-09 Thread Robin Atwood
On Sunday 08 January 2017, Fernando Rodriguez wrote:
> Try to login as a new user (or move your home directory out of the
> way). If it works start selectively deleting dot files/directories
> from your home directory. Start with .cache, .kde4 and everything that
> starts with a k in .config and .local and go from there. I had the
> exact same problem when I upgraded one of my laptops and that's how I
> fixed it. Also delete anything in /var/cache and any files belonging
> to your uses in /tmp and /run.
> 
> You can also try switching to a VT and kill plasmashell and if it
> doesn't restart automatically start it with the DISPLAY environment
> variable properly set.
> 
> Also look at the system logs, .xsession-errors, xorg logs, etc for
> clues. You can also run kdebugdialog5 from another DE to enable a lot
> of kde debug output to the system logs.
> 

I said above that I created a new user and got exactly same problem, so that 
pretty much excludes old files as a possibility.

Thanks
Robin

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



Re: [gentoo-user] KDE5: no desktop

2017-01-08 Thread Robin Atwood
On Sunday 08 January 2017, Peter Humphrey wrote:
> On Saturday, 7 January 2017 22:03:53 GMT Robin Atwood wrote:
> > I finally grasped the nettle and did the Plasma 5 upgrade. The first
> > machine went OK eventually (apart from the week spent resolving
> > blockers), so I thought the second would be much smoother. And so it was,
> > until I logged on. I got the splash screen, a bouncing ball as something
> > started and then a black screen relieved only by a cursor and a couple of
> > apps in the autostart list. kwin-x11, plasmashell, ksmserver are all
> > running, it seems like something got omitted in the install. Does anyone
> > know which binary starts the window manager and taskbar, etc? I did the
> > usual things like create a new user, rename .kde4, to no avail.
> 
> While you were sorting out the blockers, did you make USE changes? The
> problem may lie there somewhere. What does 'emerge -pe world' give you? Any
> errors?
> 
> Although I'm still wrestling with KMail, I had no trouble with KDE itself.
> Well, apart from being unable to right-click on the desktop to change the
> behaviour of the mouse wheel, which infuriates me when the pointer strays
> outside the window I'm concentrating on. But I gave up trying to sort out
> the blockers you mention and built a new system; it may still be worth you
> considering that.

I only removed the qt4 flag. Emerge -pw world just wants to replace a lot of 
packages - no errors.

Thanks
Robin
-- 
--
Robin Atwood.

"Ship me somewheres east of Suez, where the best is like the worst,
 Where there ain't no Ten Commandments an' a man can raise a thirst"
 from "Mandalay" by Rudyard Kipling
--









-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



Re: [gentoo-user] KDE5: no desktop

2017-01-08 Thread Robin Atwood
On Saturday 07 January 2017, J. Roeleveld wrote:
> 
> Did you install plasma-meta?
> Or did you specify some yourself?
> 
> Also. Did you select the plasma desktop profile?
> 
> If either or both of these are answered with 'no', the bit you are missing
> might just be in there somewhere.


I followed the KDE5 Plasma upgrade guide. I selected the plasma profile and 
installed plasma-meta. After which, I did an update/world. 

Robin

-- 
------
Robin Atwood.

"Ship me somewheres east of Suez, where the best is like the worst,
 Where there ain't no Ten Commandments an' a man can raise a thirst"
 from "Mandalay" by Rudyard Kipling
--









-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



Re: [gentoo-user] KDE5: no desktop

2017-01-07 Thread Robin Atwood
On Saturday 07 January 2017, Dale wrote:
> When I did my upgrade a long time ago, I had a similar issue.  There is
> a menu to select which part of KDE you want to login to.  I can't recall
> the names or even which one is the correct one for sure but think it is
> the one with plasma in it.  I think the default is some other one which
> didn't work for me at least, wayland comes to mind for some reason.
> Anyway, on the login screen, check that drop down and try a different
> one.  It may not be the problem but at least it would eliminate it.  On
> mine, it is in the upper left but yours could be different.  It's the
> same place you would select Gnome or some other desktop if you have them
> installed.
> 
> May not help but worth a try I guess.  ;-)
> 
> Dale
> 
> :-)  :-)

Thanks, Dale, but I have tried all the session settings. Plasma is the one for 
standard KDE5 and that's the one that gets the black desktop.

Robin
-- 
------
Robin Atwood.

"Ship me somewheres east of Suez, where the best is like the worst,
 Where there ain't no Ten Commandments an' a man can raise a thirst"
 from "Mandalay" by Rudyard Kipling
--









-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



[gentoo-user] KDE5: no desktop

2017-01-07 Thread Robin Atwood
I finally grasped the nettle and did the Plasma 5 upgrade. The first machine 
went OK eventually (apart from the week spent resolving blockers), so I 
thought the second would be much smoother. And so it was, until I logged on. I 
got the splash screen, a bouncing ball as something started and then a black 
screen relieved only by a cursor and a couple of apps in the autostart list. 
kwin-x11, plasmashell, ksmserver are all running, it seems like something got 
omitted in the install. Does anyone know which binary starts the window 
manager and taskbar, etc? I did the usual things like create a new user, 
rename .kde4, to no avail. 

I have already posted on the Gentoo forums but didn't get much help. You can 
see the post with the sddm log here: 
https://forums.gentoo.org/viewtopic-t-1057060.html. Hopefully the vast 
intellects of the Gentoo list will have an 
idea! My current workaround is to install lxqt as the desktop; it works pretty 
well, if a bit rough around the edges.

Cheers
Robin
-- 
--
Robin Atwood.

"Ship me somewheres east of Suez, where the best is like the worst,
 Where there ain't no Ten Commandments an' a man can raise a thirst"
 from "Mandalay" by Rudyard Kipling
--









-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



Re: [gentoo-user] Update blocked by kdebase-startkde:4

2016-09-21 Thread Robin Atwood
On Tuesday 20 September 2016, konsolebox wrote:
> On Sun, Sep 18, 2016 at 10:55 PM, Robin Atwood <ro...@binro.org> wrote:
> > 
> > Anybody got any idea what the problem with kde-sunset is?
> 
> Custom repositories listed in /etc/portage/repos.conf/ are
> synchronized with `emerge --sync`.  `kde-sunset` is not in layman.

Thanks, that did the trick. Still get the update/world error but never mind. 

Robin
-- 
--
Robin Atwood.

"Ship me somewheres east of Suez, where the best is like the worst,
 Where there ain't no Ten Commandments an' a man can raise a thirst"
 from "Mandalay" by Rudyard Kipling
--









-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



Re: [gentoo-user] Update blocked by kdebase-startkde:4

2016-09-18 Thread Robin Atwood
On Saturday 17 September 2016, Alan McKinnon wrote:
> On 17/09/2016 15:26, Robin Atwood wrote:
> > On Monday 15 August 2016, Robin Atwood wrote:
> >> On Sunday 14 August 2016, Daniel Frey wrote:
> >> > On 08/14/2016 05:12 AM, Robin Atwood wrote:
> >> > > 'layman -L' finds no kde-sunset.
> >> > 
> >> > I had that problem too, it's not listed there.
> >> > 
> >> > 
> >> > 
> >> > If you want to use it, create /etc/portage/repos.conf/kde-sunset.conf
> >> > 
> >> > with these contents:
> >> > 
> >> > 
> >> > 
> >> > [kde-sunset]
> >> > 
> >> > auto-sync = yes
> >> > 
> >> > location = /var/local/overlays/kde-sunset
> >> > 
> >> > masters = gentoo
> >> > 
> >> > sync-type = git
> >> > 
> >> > sync-uri = https://anongit.gentoo.org/git/proj/kde-sunset.git
> >> > 
> >> > 
> >> > 
> >> > Dan
> >> 
> >> Dan-
> > 
> > I tried it and got:
> > 
> > 
> > 
> > # layman -s kde-sunset
> > 
> > 
> > 
> > * Fetching remote list...
> > 
> > * Fetch Ok
> > 
> > 
> > 
> > * Syncing selected overlay(s)...
> > 
> > Traceback (most recent call last):
> > 
> > File "/usr/lib64/python3.4/site-packages/layman/api.py", line 394, in
> > sync
> > 
> > odb = db.select(ovl)
> > 
> > File "/usr/lib64/python3.4/site-packages/layman/dbbase.py", line 260, in
> > select
> > 
> > raise UnknownOverlayException(overlay)
> > 
> > layman.dbbase.UnknownOverlayException: Exception: Overlay "kde-sunset"
> > does not exist.

Anybody got any idea what the problem with kde-sunset is?

Thanks
Robin
-- 
--
Robin Atwood.

"Ship me somewheres east of Suez, where the best is like the worst,
 Where there ain't no Ten Commandments an' a man can raise a thirst"
 from "Mandalay" by Rudyard Kipling
--









-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



Re: [gentoo-user] Update blocked by kdebase-startkde:4

2016-09-17 Thread Robin Atwood
On Saturday 17 September 2016, Alan McKinnon wrote:
> What a peculiar odd thing to say. You might want to revisit your word
> choice there. 

Perhaps you're right. Unfortunately I don't have the time currently to fight 
with ebuilds so I will declare my system, in IBM's immortal expression, 
"functionally stabilised"! It does everything I need it to so updates are not 
really necessary. I looked into the KDE5 upgrade recently and what I read did 
not inspire me with confidence.

Robin

-- 
------
Robin Atwood.

"Ship me somewheres east of Suez, where the best is like the worst,
 Where there ain't no Ten Commandments an' a man can raise a thirst"
 from "Mandalay" by Rudyard Kipling
--









-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



Re: [gentoo-user] Update blocked by kdebase-startkde:4

2016-09-17 Thread Robin Atwood
On Monday 15 August 2016, Robin Atwood wrote:
> On Sunday 14 August 2016, Daniel Frey wrote:
> > On 08/14/2016 05:12 AM, Robin Atwood wrote:
> > > 'layman -L' finds no kde-sunset.
> > 
> > I had that problem too, it's not listed there.
> > 
> > If you want to use it, create /etc/portage/repos.conf/kde-sunset.conf
> > with these contents:
> > 
> > [kde-sunset]
> > auto-sync = yes
> > location = /var/local/overlays/kde-sunset
> > masters = gentoo
> > sync-type = git
> > sync-uri = https://anongit.gentoo.org/git/proj/kde-sunset.git
> > 
> > Dan
> 
> Dan-

I tried it and got:

# layman -s kde-sunset

 * Fetching remote list...
 * Fetch Ok

 * Syncing selected overlay(s)...
Traceback (most recent call last):
  File "/usr/lib64/python3.4/site-packages/layman/api.py", line 394, in sync
odb = db.select(ovl)
  File "/usr/lib64/python3.4/site-packages/layman/dbbase.py", line 260, in 
select
raise UnknownOverlayException(overlay)
layman.dbbase.UnknownOverlayException: Exception: Overlay "kde-sunset" does 
not exist.

This is becoming a problem because now I also get when updating Gentoo:

# emerge -uDv @world

These are the packages that would be merged, in order:

Calculating dependencies... done!

!!! All ebuilds that could satisfy "kde-plasma/kactivitymanagerd:5" have been 
masked.
!!! One of the following masked packages is required to complete your request:
- kde-plasma/kactivitymanagerd-5.7.5::gentoo (masked by: package.mask, ~amd64 
keyword)
- kde-plasma/kactivitymanagerd-5.7.4::gentoo (masked by: package.mask, ~amd64 
keyword)
- kde-plasma/kactivitymanagerd-5.6.5::gentoo (masked by: package.mask)

(dependency required by "kde-base/kactivities-4.13.3-r2::gentoo" [installed])
(dependency required by "kde-apps/okular-16.04.3::gentoo[kde]" [ebuild])
(dependency required by "@selected" [set])
(dependency required by "@world" [argument])

looking at the kactivities ebuild I see:

RDEPEND="
kde-plasma/kactivitymanagerd:5
"

So KDE4 users are no longer allowed to update Gentoo?

TIA
Robin

-- 
--
Robin Atwood.

"Ship me somewheres east of Suez, where the best is like the worst,
 Where there ain't no Ten Commandments an' a man can raise a thirst"
 from "Mandalay" by Rudyard Kipling
--









-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



Re: [gentoo-user] Update blocked by kdebase-startkde:4

2016-08-14 Thread Robin Atwood
On Sunday 14 August 2016, Daniel Frey wrote:
> On 08/14/2016 05:12 AM, Robin Atwood wrote:
> > 'layman -L' finds no kde-sunset.
> 
> I had that problem too, it's not listed there.
> 
> If you want to use it, create /etc/portage/repos.conf/kde-sunset.conf
> with these contents:
> 
> [kde-sunset]
> auto-sync = yes
> location = /var/local/overlays/kde-sunset
> masters = gentoo
> sync-type = git
> sync-uri = https://anongit.gentoo.org/git/proj/kde-sunset.git
> 
> Dan

Dan-
Thanks, I will try that.

Robin

-- 
--
Robin Atwood.

"Ship me somewheres east of Suez, where the best is like the worst,
 Where there ain't no Ten Commandments an' a man can raise a thirst"
 from "Mandalay" by Rudyard Kipling
--









-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



Re: [gentoo-user] Update blocked by kdebase-startkde:4

2016-08-14 Thread Robin Atwood
On Sunday 14 August 2016, Peter Humphrey wrote:
> On Saturday 13 Aug 2016 22:54:19 Robin Atwood wrote:
> > On Saturday 13 August 2016, Peter Humphrey wrote:
> > > On Saturday 13 Aug 2016 20:56:50 Robin Atwood wrote:
> > > > And the next problem:
> > > > 
> > > > !!! All ebuilds that could satisfy
> > > > "kde-plasma/plasma-workspace-wallpapers:5" have been masked.
> > > > !!! One of the following masked packages is required to complete your
> > > > request: - kde-plasma/plasma-workspace-wallpapers-5.7.3::gentoo
> > > > (masked
> > > > by: package.mask, ~amd64 keyword)
> > > > - kde-plasma/plasma-workspace-wallpapers-5.6.5::gentoo (masked by:
> > > > package.mask)
> > > > 
> > > > (dependency required by "kde-base/kdebase-startkde-4.11.22-
> > > > r2::gentoo[wallpapers]" [installed])
> > > > (dependency required by "@selected" [set])
> > > > (dependency required by "@world" [argument])
> > > > 
> > > > Why does kdebase-startkde:4 want plasma-workspace-wallpapers:5? has
> > > > anyone solved this yet?
> > > 
> > > I don't know, but the ebuild calls version 5 explicitly.
> > > 
> > > What happens if you add USE=-wallpapers to startkde in package.use?
> > 
> > I wondered about that but thought I might end up with no wallpapers. :(
> 
> Well, either you can try it to see what happens, maybe putting it back
> afterwards, or you can remove that line from the ebuild - again,
> temporarily. Or try the kde-sunset overlay as Dan suggests.
> 
> It's becoming steadily harder to stick with KDE-4 in Gentoo. I gave up a
> few weeks ago, once I'd found a desktop arrangement to suit me.

Using -wallpapers worked and I still have wallpapers. 'layman -L' finds no 
kde-sunset. I suppose I will at some stage have to install KDE5 on a laptop; 
will KMail 4.4 still work?

Cheers
Robin

-- 
--
Robin Atwood.

"Ship me somewheres east of Suez, where the best is like the worst,
 Where there ain't no Ten Commandments an' a man can raise a thirst"
 from "Mandalay" by Rudyard Kipling
--









-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



Re: [gentoo-user] Update blocked by kdebase-startkde:4

2016-08-13 Thread Robin Atwood
On Saturday 13 August 2016, Peter Humphrey wrote:
> On Saturday 13 Aug 2016 20:56:50 Robin Atwood wrote:
> > And the next problem:
> > 
> > !!! All ebuilds that could satisfy
> > "kde-plasma/plasma-workspace-wallpapers:5" have been masked.
> > !!! One of the following masked packages is required to complete your
> > request: - kde-plasma/plasma-workspace-wallpapers-5.7.3::gentoo (masked
> > by: package.mask, ~amd64 keyword)
> > - kde-plasma/plasma-workspace-wallpapers-5.6.5::gentoo (masked by:
> > package.mask)
> > 
> > (dependency required by "kde-base/kdebase-startkde-4.11.22-
> > r2::gentoo[wallpapers]" [installed])
> > (dependency required by "@selected" [set])
> > (dependency required by "@world" [argument])
> > 
> > Why does kdebase-startkde:4 want plasma-workspace-wallpapers:5? has
> > anyone solved this yet?
> 
> I don't know, but the ebuild calls version 5 explicitly.
> 
> What happens if you add USE=-wallpapers to startkde in package.use?

I wondered about that but thought I might end up with no wallpapers. :(

Robin

-- 
--
Robin Atwood.

"Ship me somewheres east of Suez, where the best is like the worst,
 Where there ain't no Ten Commandments an' a man can raise a thirst"
 from "Mandalay" by Rudyard Kipling
--









-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



Re: [gentoo-user] Update blocked by kdebase-startkde:4

2016-08-13 Thread Robin Atwood
On Friday 15 July 2016, Robin Atwood wrote:
> On Tuesday 12 July 2016, Andrés Becerra Sandoval wrote:
> > 2016-07-09 8:52 GMT-05:00 Robin Atwood <ro...@binro.org>:
> > > Attempting to update/world this weekend I get:
> > > 
> > > 
> > > 
> > > 
> > > 
> > > # emerge -uDv @world
> > > 
> > > 
> > > 
> > > These are the packages that would be merged, in order:
> > > 
> > > 
> > > 
> > > Calculating dependencies... done!
> > > 
> > > 
> > > 
> > > !!! All ebuilds that could satisfy "kde-apps/kdebase-runtime-meta:5"
> > > have been masked.
> > > 
> > > !!! One of the following masked packages is required to complete your
> > > request:
> > > 
> > > - kde-apps/kdebase-runtime-meta-16.04.2::gentoo (masked by:
> > > package.mask, ~amd64 keyword)
> > > 
> > > - kde-apps/kdebase-runtime-meta-15.12.3::gentoo (masked by:
> > > package.mask)
> > > 
> > > 
> > > 
> > > (dependency required by "kde-base/kdebase-startkde-4.11.22-r1::gentoo"
> > > [ebuild])
> > > 
> > > (dependency required by "@selected" [set])
> > > 
> > > (dependency required by "@world" [argument])
> > > 
> > > 
> > > 
> > > I have all of KDE:5 masked since I think installing it sounds too
> > > risky. Checking the kdebase-startkde-4.11.22-r1 ebuild it has a
> > > dependency on kde-apps/kdebase-runtime-meta:5. Is this a mistake? Has
> > > anyone found a solution to this?
> > 
> > ​Robin,
> > 
> > My ugly hack on this to keep on kde4 withouth pulling frameworks 5:
> > 
> > 1) use a local overlay
> > 2) locate kactivitymanagerd-4.13.3-r1.ebuild (in
> > /var/db/pkg/kde-plasma/kactivitymanagerd-4.13.3-r1)
> > 3) put the kactivitymanagerd-4.13.3-r1.ebuild into ​
> > /usr/local/portage/kde-plasma/kactivitymanagerd/
> > ​4) add  a ​
> > SLOT="5"
> > ​ line to the ebuild
> > 5) add a unmask ​line
> > =kde-plasma/kactivitymanagerd-4.13.3-r1
> > ​ to /et​c/package.unmask
> > 
> > ​I need 5) because I mask ​all kde-plasma/* packages
> 
> Andrés-
> That did the trick! Thanks very much. Until the next time... :(

And the next problem:

!!! All ebuilds that could satisfy "kde-plasma/plasma-workspace-wallpapers:5" 
have been masked.
!!! One of the following masked packages is required to complete your request:
- kde-plasma/plasma-workspace-wallpapers-5.7.3::gentoo (masked by: 
package.mask, ~amd64 keyword)
- kde-plasma/plasma-workspace-wallpapers-5.6.5::gentoo (masked by: 
package.mask)

(dependency required by "kde-base/kdebase-startkde-4.11.22-
r2::gentoo[wallpapers]" [installed])
(dependency required by "@selected" [set])
(dependency required by "@world" [argument])

Why does kdebase-startkde:4 want plasma-workspace-wallpapers:5? has anyone 
solved this yet?

Thanks
Robin
-- 
--
Robin Atwood.

"Ship me somewheres east of Suez, where the best is like the worst,
 Where there ain't no Ten Commandments an' a man can raise a thirst"
 from "Mandalay" by Rudyard Kipling
--









-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



Re: [gentoo-user] Update blocked by kdebase-startkde:4

2016-07-15 Thread Robin Atwood
On Tuesday 12 July 2016, Andrés Becerra Sandoval wrote:
> 2016-07-09 8:52 GMT-05:00 Robin Atwood <ro...@binro.org>:
> > Attempting to update/world this weekend I get:
> > 
> > 
> > 
> > 
> > 
> > # emerge -uDv @world
> > 
> > 
> > 
> > These are the packages that would be merged, in order:
> > 
> > 
> > 
> > Calculating dependencies... done!
> > 
> > 
> > 
> > !!! All ebuilds that could satisfy "kde-apps/kdebase-runtime-meta:5" have
> > been masked.
> > 
> > !!! One of the following masked packages is required to complete your
> > request:
> > 
> > - kde-apps/kdebase-runtime-meta-16.04.2::gentoo (masked by: package.mask,
> > ~amd64 keyword)
> > 
> > - kde-apps/kdebase-runtime-meta-15.12.3::gentoo (masked by: package.mask)
> > 
> > 
> > 
> > (dependency required by "kde-base/kdebase-startkde-4.11.22-r1::gentoo"
> > [ebuild])
> > 
> > (dependency required by "@selected" [set])
> > 
> > (dependency required by "@world" [argument])
> > 
> > 
> > 
> > I have all of KDE:5 masked since I think installing it sounds too risky.
> > Checking the kdebase-startkde-4.11.22-r1 ebuild it has a dependency on
> > kde-apps/kdebase-runtime-meta:5. Is this a mistake? Has anyone found a
> > solution to this?
> 
> ​Robin,
> 
> My ugly hack on this to keep on kde4 withouth pulling frameworks 5:
> 
> 1) use a local overlay
> 2) locate kactivitymanagerd-4.13.3-r1.ebuild (in
> /var/db/pkg/kde-plasma/kactivitymanagerd-4.13.3-r1)
> 3) put the kactivitymanagerd-4.13.3-r1.ebuild into ​
> /usr/local/portage/kde-plasma/kactivitymanagerd/
> ​4) add  a ​
> SLOT="5"
> ​ line to the ebuild
> 5) add a unmask ​line
> =kde-plasma/kactivitymanagerd-4.13.3-r1
> ​ to /et​c/package.unmask
> 
> ​I need 5) because I mask ​all kde-plasma/* packages

Andrés-
That did the trick! Thanks very much. Until the next time... :(

Cheers
Robin
-- 
--
Robin Atwood.

"Ship me somewheres east of Suez, where the best is like the worst,
 Where there ain't no Ten Commandments an' a man can raise a thirst"
 from "Mandalay" by Rudyard Kipling
--









-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



Re: [gentoo-user] Re: Update blocked by kdebase-startkde:4

2016-07-10 Thread Robin Atwood
On Sunday 10 July 2016, Peter Humphrey wrote:
> On Saturday 09 Jul 2016 23:22:49 I wrote:
> > On Sunday 10 Jul 2016 04:08:36 Michael Palimaka wrote:
> --->8
> 
> > > This change is correct - we're in the process of cleaning up some old
> > > ebuilds at the moment.
> > > 
> > > In this case kde-apps/kdebase-runtime-meta:5 doesn't imply anything
> > > KF5-based - it has just been ported to use a newer eclass. It still
> > > just pulls in the old KDE4-based kde-runtime packages.
> 
> I don't think that's entirely true; see below.
> 
> > That's good news. Now, how does one allow that package to be installed
> > while keeping the rest of KF5 masked?
> > 
> > # cat /etc/portage/package.mask
> > kde-plasma/*
> > kde-frameworks/*:5
> > kde-apps/*:5
> > kde-misc/*:5
> > 
> > >=kde-apps/kde4-l10n-16.04.1
> > 
> > We seem to need an analogue of CONFIG_PROTECT and CONFIG_PROTECT_MASK, in
> > which we could mask all kde-apps/*:5 while allowing
> > kde-apps/kdebase-runtime-meta:5 to be installed. Can that be done? I hope
> > there's an easier way than masking all 122 apps separately.
> 
> In fact I tried the separate masking. It led on to having to treat
> kde-plasma and kde-frameworks similarly, and before I knew it I was
> unmasking a load of packages that don't belong in a KDE-4 system.
> 
> What to try next?

Indeed. The situation seems to be that Gentoo is not upgradable unless KDE5 is 
installed. :(

Robin

-- 
--
Robin Atwood.

"Ship me somewheres east of Suez, where the best is like the worst,
 Where there ain't no Ten Commandments an' a man can raise a thirst"
 from "Mandalay" by Rudyard Kipling
--









-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



[gentoo-user] Update blocked by kdebase-startkde:4

2016-07-09 Thread Robin Atwood
Attempting to update/world this weekend I get:


# emerge -uDv @world

These are the packages that would be merged, in order:

Calculating dependencies... done!

!!! All ebuilds that could satisfy "kde-apps/kdebase-runtime-meta:5" have been 
masked.
!!! One of the following masked packages is required to complete your request:
- kde-apps/kdebase-runtime-meta-16.04.2::gentoo (masked by: package.mask, 
~amd64 keyword)
- kde-apps/kdebase-runtime-meta-15.12.3::gentoo (masked by: package.mask)

(dependency required by "kde-base/kdebase-startkde-4.11.22-r1::gentoo" 
[ebuild])
(dependency required by "@selected" [set])
(dependency required by "@world" [argument])

I have all of KDE:5 masked since I think installing it sounds too risky. 
Checking the kdebase-startkde-4.11.22-r1 ebuild it has a dependency on kde-
apps/kdebase-runtime-meta:5. Is this a mistake? Has anyone found a solution to 
this?

Thanks
Robin
-- 
------
Robin Atwood.

"Ship me somewheres east of Suez, where the best is like the worst,
 Where there ain't no Ten Commandments an' a man can raise a thirst"
 from "Mandalay" by Rudyard Kipling
--









-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



[gentoo-user] Gentoo Foundation seeks new US CPA

2016-03-27 Thread Robin H. Johnson
The Gentoo Foundation is reaching out the community, in the hopes that
there is a Linux-using CPA that could be professionally engaged.

We are in need of the following services:
- Handle US IRS filings:
  - Form 990-EZ (past tax year)
  - Form 990 (present tax year)
- Review prior IRS filings
- Review book-keeping from Treasurer handover
- Work on 501(c) progress

Please contact us at trust...@gentoo.org.

-- 
Robin Hugh Johnson
Gentoo Linux: Developer, Infrastructure Lead, Foundation Trustee
E-Mail : robb...@gentoo.org
GnuPG FP   : 11ACBA4F 4778E3F6 E4EDF38E B27B944E 34884E85


signature.asc
Description: Digital signature


Re: [gentoo-user] Akonadi gets MySQL errors after upgrade

2014-04-16 Thread Robin Atwood
On Tue, 15 Apr 2014 19:17:01 +0100
Mick michaelkintz...@gmail.com wrote:
 
 When I update mysql I run:
 
 mysqlcheck --all-databases --check-upgrade -u root -p
 
 Not sure if it will help your case, but I'm throwing it out there
 just in case.  You may need to point it to wherever your akonadi db
 may stored.

Thanks, but it made no difference. I had already run myisamchk and got
no errors.

Robin



[gentoo-user] Akonadi gets MySQL errors after upgrade

2014-04-15 Thread Robin Atwood
After the latest KDE upgrade to 4.12.4 I logged on and Akonadi won't
start. It is still at 4.4.11.1 and normally runs faultlessly. Now I get

$ akonadictl start
Starting Akonadi Server... 
   done. 
Connecting to deprecated signal
QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
search paths:  (., /usr/local/sbin,
/usr/local/bin, /sbin, /usr/sbin, ., /sbin, /usr/sbin, .,
/usr/local/sbin, /usr/local/bin, /sbin, /usr/sbin,
/usr/local/bin, /usr/bin, /bin, /opt/bin,
/usr/x86_64-pc-linux-gnu/gcc-bin/4.8.2, /usr/games/bin,
/var/spool/fax/bin, /home/robin/bin, /usr/local/bin,
/usr/local/sbin, /usr/games/bin, /usr/sbin, /usr/local/sbin,
/usr/local/libexec, /usr/libexec, /opt/mysql/libexec,
/opt/local/lib/mysql5/bin, /opt/mysql/sbin) 
Found mysql_install_db:   
Found mysqlcheck:  /usr/bin/mysqlcheck
QSqlDatabasePrivate::removeDatabase: connection 'initConnection' is
still in use, all queries will cease to work. 
Database akonadi opened
using driver QMYSQL 
DbInitializer::run() 
checking table
SchemaVersionTable checking table  ResourceTable checking table
CollectionTable checking table  MimeTypeTable checking table
PimItemTable checking table  FlagTable checking table
PartTypeTable checking table  PartTable checking table
CollectionAttributeTable checking table  TagTable checking table
TagAttributeTable checking table  TagRemoteIdResourceRelationTable

CREATE TABLE TagRemoteIdResourceRelationTable (tagId BIGINT NOT NULL,
resourceId BIGINT NOT NULL, remoteId VARBINARY(255) NOT NULL, FOREIGN
KEY (tagId) REFERENCES TagTable(id) ON UPDATE CASCADE ON DELETE
CASCADE, FOREIGN KEY (resourceId) REFERENCES ResourceTable(id) ON
UPDATE CASCADE ON DELETE CASCADE)  COLLATE=utf8_general_ci DEFAULT
CHARSET=utf8  

Sql error: Can't create table
'akonadi.TagRemoteIdResourceRelationTable' (errno: 150) QMYSQL: Unable
to execute query Query: CREATE TABLE TagRemoteIdResourceRelationTable
(tagId BIGINT NOT NULL, resourceId BIGINT NOT NULL, remoteId
VARBINARY(255) NOT NULL, FOREIGN KEY (tagId) REFERENCES TagTable(id) ON
UPDATE CASCADE ON DELETE CASCADE, FOREIGN KEY (resourceId) REFERENCES
ResourceTable(id) ON UPDATE CASCADE ON DELETE CASCADE)
COLLATE=utf8_general_ci DEFAULT CHARSET=utf8 Unable to initialize
database.



So it looks like an SQL problem. I have run myisamchk on
the /var/lib/mysql/akonadi and found no problems. How do I reinitialise
the various databases from scratch? 

Incidentally, I upgraded a similar system at the same time and its
akonadi still runs fine.

TIA
Robin



Re: [gentoo-user] rfcomm0 interface missing

2013-11-23 Thread Robin Atwood
On Monday 18 November 2013, Mick wrote:
 After more than a year I tried to tether my mobile to my laptop to connect
 to GPRS using kppp.  I noticed that kppp hangs and I have to kill it,
 while it hangs with Modem Ready.  I can query the modem successfully
 using kppp, and it responds to ATI initialisation commands, so now I am
 trying to understand what is wrong with it and why the connection does not
 complete.
 
 ifconfig -a does not show rfcomm0, but this may be because it never
 completes the connection to my mobile phone provider's network, so the ppp
 link is not established.
 
 I can see that the rfcomm device is being created:
 
 # ls -la /dev/rfcomm*
 crw-rw 1 root uucp 216, 0 Nov 17 15:51 /dev/rfcomm0
 
 and it does try to connect until it freezes showing Modem Ready, but I am
 getting no more errors to know what to do next.
 
 I was thinking that this may be related to the udev NIC renaming change
 that happened within the last year.  However, I never had any udev rules
 to manage rfcomm and from what I recall vaguely when the udev update came,
 I had no problem connecting  (but memory may be failing me after all this
 time).  It could of course be related to my mobile phone providers
 settings - I haven't changed these for a long time and looking on the
 Internet I can't find if they are any different now.
 
 How should I troubleshoot this further?
 
 Could someone please hold my hand to set up ppp so that I can avoid kppp
 and its freezing behaviour?

Have you started the rfcomm service? I remember having trouble until I did 
that.

HTH
Robin

-- 
--
Robin Atwood.

Ship me somewheres east of Suez, where the best is like the worst,
 Where there ain't no Ten Commandments an' a man can raise a thirst
 from Mandalay by Rudyard Kipling
--










Re: [gentoo-user] Acer Aspire One D255

2013-06-06 Thread Robin Atwood
On Thursday 06 June 2013, Mick wrote:
 On Thursday 06 Jun 2013 12:52:54 Silvio Siefke wrote:
  /etc/init.d/net.eth0 start
  Bringing up interface eth0
  ERROR: interface eth0 does not exist
  Ensure that you have loaded the correct kernel module for your hardware
  ERROR: net.eth0 failed to start
 
 As has already been mentioned, udev may have used a different naming scheme
 for your card, so eth0 may not work.
 
  Controller (rev 02) 01:00.0 Ethernet controller: Qualcomm Atheros AR8152
  v1.1 Fast Ethernet (rev c1)
 
 I think you need module atl1c for this NIC - but you'll need to google for
 more info.
 
  02:00.0 Network controller: Intel Corporation Centrino Wireless-N 1000
 
 [Condor Peak]
 
 I think you need module iwlwifi for this card and the correct firmware:
 
   http://wireless.kernel.org/en/users/Drivers/iwlwifi

There is a very useful site to identify drivers: http://kmuto.jp/debian/hcl/. 
Just paste in the output of lspci -n and it does the rest!

HTH
-Robin

-- 
--
Robin Atwood.

Ship me somewheres east of Suez, where the best is like the worst,
 Where there ain't no Ten Commandments an' a man can raise a thirst
 from Mandalay by Rudyard Kipling
--










Re: [gentoo-user] KDE 4.10 and plasma crashing

2013-02-10 Thread Robin Atwood
On Sunday 10 Feb 2013, Neil Bothwick wrote:
 On Sat, 09 Feb 2013 10:25:25 -0600, Dale wrote:
   Of course I have backups, although a quick run of demerge got it back
   for me. But rolling back KDE, with the attendant hassles of messed up
   configs, only sidesteps the bug , which relates to qr-core not KDE.
  
  I didn't have any config problems at all.  I did have to update but its
  the same thing I have to do when I do a upgrade.
 
 It's not the same. KDE has an inbuilt system for handling upgrades, one
 that does any config file conversions that may be needed without the
 applications needing to worry about it. But it only handles upgrades, not
 downgrades. After downgrading, my Activities were messed up.
 
 Of course, the best thing about tackling the problem at, or at least
 nearer, the source is that I won't have to upgrade KDE again when it's
 fixed ;-)

The issue is now moot, if you sync and upgrade you will get a new qt-core and 
plasma-workspace which work happily when compiled with -O2. :)

-Robin
-- 
--
Robin Atwood.

Ship me somewheres east of Suez, where the best is like the worst,
 Where there ain't no Ten Commandments an' a man can raise a thirst
 from Mandalay by Rudyard Kipling
--











Re: [gentoo-user] Questions about systemd logging

2013-01-12 Thread Robin Atwood
On Friday 11 January 2013, Canek Peláez Valdés wrote:
 On Thu, Jan 10, 2013 at 10:46 AM, Robin Atwood
 
 robin.atw...@attglobal.net wrote:
  On Thursday 10 January 2013, Canek Peláez Valdés wrote:
  On Wed, Jan 9, 2013 at 5:12 AM, Robin Atwood
  robin.atw...@attglobal.net
  
  wrote:
 
 Stupid question, the syslog-ng.service is running correctly? What does
 the following command say:
 
 systemctl status syslog-ng.service

Syslog-ng is running fine, I get all my normal logging, just none from 
systemd. If I can get I don't have to mess around with journalctl.

-Robin

-- 
--
Robin Atwood.

Ship me somewheres east of Suez, where the best is like the worst,
 Where there ain't no Ten Commandments an' a man can raise a thirst
 from Mandalay by Rudyard Kipling
--










Re: [Bulk] Re: [gentoo-user] Questions about systemd logging

2013-01-12 Thread Robin Atwood
On Friday 11 January 2013, Kevin Chadwick wrote:
 On Thu, 10 Jan 2013 23:46:29 +0700
 
 Robin Atwood robin.atw...@attglobal.net wrote:
  Thanks for the tips, now I can get more output to tty1 if I want. I
  still can't get any systemd messages to syslog-ng, however. A bit of
  a mystery.
 
 This may be way off as I expect systemd to never shape up to a point
 that I will use it, but with a bit of luck this may point you in the
 right direction. On Arch systemd avoiders had to change their
 syslog-ng.conf to the following to get their logging back.
 
 source src {
   unix-dgram(/dev/log);
   internal();
   file(/proc/kmsg);
 };

I already have that! It's the systemd source that seems to have run dry.

Cheers
-Robin
-- 
--
Robin Atwood.

Ship me somewheres east of Suez, where the best is like the worst,
 Where there ain't no Ten Commandments an' a man can raise a thirst
 from Mandalay by Rudyard Kipling
--










Re: [gentoo-user] Questions about systemd logging

2013-01-10 Thread Robin Atwood
On Thursday 10 January 2013, Canek Peláez Valdés wrote:
 On Wed, Jan 9, 2013 at 5:12 AM, Robin Atwood robin.atw...@attglobal.net 
wrote:
  I have temporarily shelved my problem with mounting since my work-around
  seems adequate. But I have some questions about logging. Journald works
  fine but what am I supposed to see on the main console?
 
 What do you mean by main console? tty1? tty12? /dev/console?
 
  All I can see is a few
  kernel messages which cease after the lvm service completes. There are no
  service starting messages and no login prompt appears. The other ttys
  have a banner and prompt as usual.
 
 systemd by default only spawns 1 (one) tty, tty1:
 
 $ ls /etc/systemd/system/getty.target.wants/
 getty@tty1.service
 
 That's the only login prompt spawned by default. The other virtual
 consoles get spawned automatically if you switch to them. In other
 words, if you never switch to the virtual console 2, there is no login
 prompt there. It will appear until you switch to it. systemd should
 switch to tty1 and launch getty@tty1.service automatically when the
 getty.target is reached in the boot process.
 
 I'm not really sure what the problem is; if you are concerned by the
 [ OK ] messages when booting, it is possible that systemd is so fast
 that you have no chance to see them (that happens in my laptop with a
 solid state harddrive). Also, if you have a splash (like plymouth),
 the whole point of the splash is that you don't see said messages. You
 can see a copy of the boot log in /var/log/boot.log; that it's what
 you are supposed to see when booting, but if you have a splash you
 won't, or maybe it will be so fast that you will miss it.
 
  Secondly I want to merge the journal into syslog-ng for post-processing.
  I have the correct syslog-ng service defined and syslog-ng.conf has been
  modified to use /run/systemd/journald/syslog as a source unix-stream.
  But I see no systemd messages appearing. In the Gentoo package all the
  journald.conf statements are commented out, which ones are necessary to
  do what I want. I have tried the logging_to_syslog/kmsg options but to
  no effect, but there are many!
 
 I switched from syslog-ng to rsyslog around three years ago, and
 exclusively to the journal some months ago, so this is from memory:
 
 1. You need to link your syslog service unit to
 /etc/systemd/system/syslog.service; for example:
 
 /etc/systemd/system/syslog.service -
 /usr/lib/systemd/system/syslog-ng.service
 
 2. You need to set LogTarget=syslog (or LogTarget=syslog-or-kmsg) in
 /etc/systemd/system.conf. You are configuring *systemd* to use a third
 party syslog; you don't need to configure the journal itself.
 
 man 5 systemd.conf
 man 1 systemd
 
 If I recall correctly, that's it. systemd automatically will buffer
 the early boot messages until your preferred syslog service start, and
 from that point on it will send the logs to it immediately.

Thanks for the tips, now I can get more output to tty1 if I want. I still 
can't get any systemd messages to syslog-ng, however. A bit of a mystery. 

Cheers
-Robin
-- 
--
Robin Atwood.

Ship me somewheres east of Suez, where the best is like the worst,
 Where there ain't no Ten Commandments an' a man can raise a thirst
 from Mandalay by Rudyard Kipling
--










[gentoo-user] Questions about systemd logging

2013-01-09 Thread Robin Atwood
I have temporarily shelved my problem with mounting since my work-around seems 
adequate. But I have some questions about logging. Journald works fine but 
what am I supposed to see on the main console? All I can see is a few kernel 
messages which cease after the lvm service completes. There are no service 
starting messages and no login prompt appears. The other ttys have a banner 
and prompt as usual.

Secondly I want to merge the journal into syslog-ng for post-processing. I 
have the correct syslog-ng service defined and syslog-ng.conf has been 
modified to use /run/systemd/journald/syslog as a source unix-stream. But I 
see no systemd messages appearing. In the Gentoo package all the journald.conf 
statements are commented out, which ones are necessary to do what I want. I 
have tried the logging_to_syslog/kmsg options but to no effect, but there 
are many!

TIA
-Robin
-- 
--
Robin Atwood.

Ship me somewheres east of Suez, where the best is like the worst,
 Where there ain't no Ten Commandments an' a man can raise a thirst
 from Mandalay by Rudyard Kipling
--










Re: [gentoo-user] Processes hang - system dies

2013-01-08 Thread Robin Atwood
On Tuesday 08 January 2013, Adam Carter wrote:
 On Sun, Jan 6, 2013 at 1:05 AM, Robin Atwood 
robin.atw...@attglobal.netwrote:
  **
  
  I have a very severe problem after a recent disk replacement. After a few
 
  days running, all new processes just hang. The kernel reports:
 My guess is disk failing or kernel bug. Install smartmontools and see if
 smartctl -H devicename returns anything interesting.
 
 What kernel are you using? Try 3.7.1 if you're not already using that.

That's my feeling too, since smartd is reporting sectors failing by the dozen. 
However the smartctl -H test gave me a clean bill of health. The kernel is 
3.6.8, I have already upgraded with no improvement.

Cheers
-Robin
-- 
--
Robin Atwood.

Ship me somewheres east of Suez, where the best is like the worst,
 Where there ain't no Ten Commandments an' a man can raise a thirst
 from Mandalay by Rudyard Kipling
--










Re: [gentoo-user] Systemd and lvm

2013-01-06 Thread Robin Atwood
On Sunday 06 January 2013, Canek Peláez Valdés wrote:
 On Sat, Jan 5, 2013 at 7:36 AM, Robin Atwood robin.atw...@attglobal.net 
wrote:
  On Friday 04 Jan 2013, Canek Peláez Valdés wrote:
  On Fri, Jan 4, 2013 at 10:11 AM, Robin Atwood
  
  robin.atw...@attglobal.net wrote:
   Having observed all the ranting, I thought I would try systemd on a
   laptop. It actually seems to work quite well and it is a lot faster.
   However I am having trouble getting my LVM partitions mounted. I
   installed the LVM service unit from the Gentoo Wiki but it never
   completes, timing-out on a job that mounts /var. The VG is actually
   created by an initramfs and when systemd dumps you out to the
   emergency shell you can use lvs to see the volumes, /dev/mapper has
   all the correct devices and dmsetup ls shows the LVs. In fact,
   everything appears as it should, the partitions just don't get
   mounted. I circumvented this by putting mount -a in the lvm.service
   unit, which then completes and the mount jobs time-out. Everything
   seems to be OK but it is a bit of a kludge. One thing I notice is:
   
   
   
   # udevadm info -p /dev/mapper/vg00-rootfs -q all
   
   syspath not found
   
   
   
   Udev seems not to know about the LVs. Any ideas?
  
  How did you create your initramfs? Have you tried dracut, with
  DRACUT_MODULES=lvm?
  
  Regards.
  
  I always use genkernel with LVM=YES in genkernel.conf. There is a thread
  about the udev issue at
  http://forums.gentoo.org/viewtopic-p-6837888.html . I tried the
  suggested work-around but it made no difference, I must still use mount
  - a.
 
 I've never used genkernel. You could try dracut; its mandatory
 dependencies are minimal, and it's actually designed to create an
 initramfs, not like genkernel, where the functionality was added as an
 afterthought.
 
 Another option is to roll your own initramfs, like the first responder
 in the forums thread.
 
 Good luck.

Maybe I will try dracut but I suspect the problem lies with systemd.

-Robin
-- 
--
Robin Atwood.

Ship me somewheres east of Suez, where the best is like the worst,
 Where there ain't no Ten Commandments an' a man can raise a thirst
 from Mandalay by Rudyard Kipling
--










Re: [gentoo-user] Systemd and lvm

2013-01-05 Thread Robin Atwood
On Friday 04 Jan 2013, Canek Peláez Valdés wrote:
 On Fri, Jan 4, 2013 at 10:11 AM, Robin Atwood
 
 robin.atw...@attglobal.net wrote:
  Having observed all the ranting, I thought I would try systemd on a
  laptop. It actually seems to work quite well and it is a lot faster.
  However I am having trouble getting my LVM partitions mounted. I
  installed the LVM service unit from the Gentoo Wiki but it never
  completes, timing-out on a job that mounts /var. The VG is actually
  created by an initramfs and when systemd dumps you out to the emergency
  shell you can use lvs to see the volumes, /dev/mapper has all the
  correct devices and dmsetup ls shows the LVs. In fact, everything
  appears as it should, the partitions just don't get mounted. I
  circumvented this by putting mount -a in the lvm.service unit, which
  then completes and the mount jobs time-out. Everything seems to be OK
  but it is a bit of a kludge. One thing I notice is:
  
  
  
  # udevadm info -p /dev/mapper/vg00-rootfs -q all
  
  syspath not found
  
  
  
  Udev seems not to know about the LVs. Any ideas?
 
 How did you create your initramfs? Have you tried dracut, with
 DRACUT_MODULES=lvm?
 
 Regards.

I always use genkernel with LVM=YES in genkernel.conf. There is a thread about 
the udev issue at http://forums.gentoo.org/viewtopic-p-6837888.html . I tried 
the suggested work-around but it made no difference, I must still use mount -
a.

-Robin
-- 
--
Robin Atwood.

Ship me somewheres east of Suez, where the best is like the worst,
 Where there ain't no Ten Commandments an' a man can raise a thirst
 from Mandalay by Rudyard Kipling
--











[gentoo-user] Processes hang - system dies

2013-01-05 Thread Robin Atwood
 commands just hang, only 
Alt-Sysrq-B does anything. I would be grateful for any suggestions!

TIA
-Robin
-- 
--
Robin Atwood.

Ship me somewheres east of Suez, where the best is like the worst,
 Where there ain't no Ten Commandments an' a man can raise a thirst
 from Mandalay by Rudyard Kipling
--










[gentoo-user] Systemd and lvm

2013-01-04 Thread Robin Atwood
Having observed all the ranting, I thought I would try systemd on a laptop. It 
actually seems to work quite well and it is a lot faster. However I am having 
trouble getting my LVM partitions mounted. I installed the LVM service unit 
from the Gentoo Wiki but it never completes, timing-out on a job that mounts 
/var. The VG is actually created by an initramfs and when systemd dumps you 
out to the emergency shell you can use lvs to see the volumes, /dev/mapper has 
all the correct devices and dmsetup ls shows the LVs. In fact, everything 
appears as it should, the partitions just don't get mounted. I circumvented 
this by putting mount -a in the lvm.service unit, which then completes and 
the mount jobs time-out. Everything seems to be OK but it is a bit of a 
kludge. One thing I notice is:

# udevadm info -p /dev/mapper/vg00-rootfs -q all
syspath not found

Udev seems not to know about the LVs. Any ideas?

TIA
-Robin
-- 
--
Robin Atwood.

Ship me somewheres east of Suez, where the best is like the worst,
 Where there ain't no Ten Commandments an' a man can raise a thirst
 from Mandalay by Rudyard Kipling
--










Re: [gentoo-user] Heads Up - mesa-9.0 needs media-libs/glu in addition

2012-10-10 Thread Robin Atwood
On Tuesday 09 October 2012, Helmut Jarausch wrote:

 upgrading from mesa-9.0_pre20120918 to mesa-9.0 broke some package,
 among them ati-drivers.
 They have remove glu. Installing media-libs/glu in addition now (never
 needed it before) restores the essential
 /usr/include/GL/glu.h file.


I found the same problem with KDE. media-libs/glu should become a dependency!

-Robin
-- 
--
Robin Atwood.

Ship me somewheres east of Suez, where the best is like the worst,
 Where there ain't no Ten Commandments an' a man can raise a thirst
 from Mandalay by Rudyard Kipling
--











Re: [gentoo-user] Anybody have kdebluetooth working?

2012-02-28 Thread Robin Atwood
On Tuesday 28 Feb 2012, James Broadhead wrote:
 On 27 February 2012 23:29, Robin Atwood robin.atw...@attglobal.net wrote:
  I am glad we had this little chat! I always pass my kernel configs from
  release to release, so I went and checked the bluetooth section, and lo,
  it looks like it got reorganised some time after version 3.0.0 and lots
  of options were no longer checked. Fixed that and now bluetooth works: I
  can transfer files and browse the phones storage.
  
  Thanks for giving me a nudge. :)
 
 Are you aware of make oldconfig, which will interactively walk you
 through the changes to the config layout?

Of course, but I am lazy and usually you get away with it. ;)

-Robin
-- 
--
Robin Atwood.

Ship me somewheres east of Suez, where the best is like the worst,
 Where there ain't no Ten Commandments an' a man can raise a thirst
 from Mandalay by Rudyard Kipling
--











Re: [gentoo-user] Anybody have kdebluetooth working?

2012-02-27 Thread Robin Atwood
On Monday 27 Feb 2012, Mick wrote:
 On 26 February 2012 15:12, Robin Atwood robin.atw...@attglobal.net wrote:
  On Sunday 26 Feb 2012, Mick wrote:
  if your run:
  
  # sdptool browse your_device_MAC_address
  
  it will list a number of services that the device supports after you
  connect it to your PC.
  
  Although I could not browse any files using Dophin or obexftp, I was
  able to send and receive files using obex push.
  
  I tried the browse but got Protocol not supported. :(
 
 Hmm ... odd!
 
 Have you compiled all the necessary BT drivers in your kernel/as
 modules?  Are they loaded?

I am glad we had this little chat! I always pass my kernel configs from 
release to release, so I went and checked the bluetooth section, and lo, it 
looks like it got reorganised some time after version 3.0.0 and lots of 
options were no longer checked. Fixed that and now bluetooth works: I can 
transfer files and browse the phones storage. 

Thanks for giving me a nudge. :)
-Robin
-- 
--
Robin Atwood.

Ship me somewheres east of Suez, where the best is like the worst,
 Where there ain't no Ten Commandments an' a man can raise a thirst
 from Mandalay by Rudyard Kipling
--









-- 
--
Robin Atwood.

Ship me somewheres east of Suez, where the best is like the worst,
 Where there ain't no Ten Commandments an' a man can raise a thirst
 from Mandalay by Rudyard Kipling
--











Re: [gentoo-user] Anybody have kdebluetooth working?

2012-02-26 Thread Robin Atwood
On Sunday 26 Feb 2012, Mick wrote:
 On Friday 24 Feb 2012 11:46:33 Mick wrote:
  On Thursday 23 Feb 2012 12:47:00 James Broadhead wrote:
   On 23 February 2012 12:39, Robin Atwood robin.atw...@attglobal.net
 
 wrote:
I have just tried to send a file from my phone to my laptop running
KDE 4.8.0 and it fails; the two devices never bind. When I set up
the laptop it was running KDE 4.6.3 and bluetooth worked fine. The
BlueZ libraries have changed substantially since, I think. Using
'hcitool inq' works fine, it's the KDE dialogs which sit there
searching endlessly. Any recommended settings for /etc/bluetooth/*?
Doc is a bit hard to come by.

TIA
-Robin
   
   Not exactly on-topic, but I recently got my bluetooth headset working
   without any major hassle using net-wireless/gnome-bluetooth by
   - Building the appropriate communications-types modules
   - Starting the bluetooth init script
   - Running bluetooth-wizard to pair and bluetooth-applet to
   connect/disconnect
  
  I'm using net-wireless/bluedevil-1.2.2 and I do not have any such
  problems. However, I'm not using the whole KDE desktop and I'm still on
  KDEPIM 4.4.11.1
 
 I had a go at browsing the filesystem on my Blackberry.  It won't work.
 
 obexftp fails in each case to list the contents on the BB internal flash. 
 When looking under Known Devices on the Bluedevil applet on the desktop,
 it says:
 
 No supported services found
 
 which make me think that the way this BB is set up, it won't share its fs
 with a PC.
 
 if your run:
 
 # sdptool browse your_device_MAC_address
 
 it will list a number of services that the device supports after you
 connect it to your PC.
 
 Although I could not browse any files using Dophin or obexftp, I was able
 to send and receive files using obex push.

I tried the browse but got Protocol not supported. :(

-Robin
-- 
--
Robin Atwood.

Ship me somewheres east of Suez, where the best is like the worst,
 Where there ain't no Ten Commandments an' a man can raise a thirst
 from Mandalay by Rudyard Kipling
--











[gentoo-user] Anybody have kdebluetooth working?

2012-02-23 Thread Robin Atwood
I have just tried to send a file from my phone to my laptop running KDE 4.8.0 
and it fails; the two devices never bind. When I set up the laptop it was 
running KDE 4.6.3 and bluetooth worked fine. The BlueZ libraries have changed 
substantially since, I think. Using 'hcitool inq' works fine, it's the KDE 
dialogs which sit there searching endlessly. Any recommended settings for 
/etc/bluetooth/*? Doc is a bit hard to come by.

TIA
-Robin
-- 
--
Robin Atwood.

Ship me somewheres east of Suez, where the best is like the worst,
 Where there ain't no Ten Commandments an' a man can raise a thirst
 from Mandalay by Rudyard Kipling
--











Re: [gentoo-user] KDE and HARD lock ups.

2011-07-07 Thread Robin Atwood
On Thursday 07 Jul 2011, Dale wrote:

 Well, I'm going to send this then open Konsole.  See if it locks up again.

There was a fairly well documented problem, on the Gentoo fora at least, with 
the nvidia drivers, Xorg-server-1.10, KDE 4.6 and Konsole. I had it on several 
machines that locked up as soon as you resized konsole. The solution was to 
fall-back to Xorg 1.9 server and drivers. However, with the latest Xorg 
drivers and nvidia drivers, the problem is solved:

[I] x11-base/xorg-drivers (1.11@01/07/11): Meta package containing deps on all 
xorg drivers
[I] x11-base/xorg-server (1.10.2@25/06/11): X.Org X servers
[I] x11-drivers/nvidia-drivers (275.09.07@25/06/11): NVIDIA X11 driver and GLX 
libraries

I am running kernel 2.6.39-r2 but i don't believe that is critical.

HTH
-Robin
-- 
--
Robin Atwood.

Ship me somewheres east of Suez, where the best is like the worst,
 Where there ain't no Ten Commandments an' a man can raise a thirst
 from Mandalay by Rudyard Kipling
--









-- 
--
Robin Atwood.
mobile: +91 9986 037121
--














Re: [gentoo-user] [OT] Re: Do we have to build gcc with fortran now?

2011-06-23 Thread Robin Atwood
On Thursday 23 Jun 2011, Alan McKinnon wrote:
 On Thursday 23 June 2011 19:16:08 Neil Bothwick did opine thusly:
  On Thu, 23 Jun 2011 19:23:58 +0200, pk wrote:
   It refuses to die because it's still very useful in certain
   niche areas (hpc, numerical computing etc.) where modern
   languages doesn't cut it... :-)
  
  Or so the Fortran programmers with jobs to protect will tell you...
  
  You'll be telling us there's still a place for Cobol next :-O
 
 Of course there's a place for Cobol, a classic one is in the bank my
 gf does data warehousing at.
 
 There's not a single soul in the entire bank that is willing to sign
 off on a project to replace the Cobol that has run
 justfinethanksverymuch for 25+ years

It's the latest thing! http://visualcobol.microfocus.com/

-Robin
-- 















Re: [gentoo-user] Any bought a laptop that Just Works?

2011-04-03 Thread Robin Atwood
On Wednesday 30 March 2011, Robin Atwood wrote:
 I am in the market for a new laptop and would be interested if anyone else
 on the list had recently bought a laptop in which all the hardware worked
 out of the box with Linux. I am most concerned about WiFi/audio/webcam,
 the finer points of hibernation are of lesser concern. Currently I have a
 Linux Certified machine but I want to avoid shipping costs to the UK.

Thanks to everyone who replied. The overwhelming choice seems to be a ThinkPad 
so I have just ordered a T510 with a Core i7, 4GB of 1033 RAM and a 1600x900 
screen Now I can't wait for it to be delivered. :)

Hopefully this thread will be useful to other users.
Cheers
-Robin.
-- 
--
Robin Atwood.

Ship me somewheres east of Suez, where the best is like the worst,
 Where there ain't no Ten Commandments an' a man can raise a thirst
 from Mandalay by Rudyard Kipling
--










[gentoo-user] Any bought a laptop that Just Works?

2011-03-30 Thread Robin Atwood
I am in the market for a new laptop and would be interested if anyone else on 
the list had recently bought a laptop in which all the hardware worked out of 
the box with Linux. I am most concerned about WiFi/audio/webcam, the finer 
points of hibernation are of lesser concern. Currently I have a Linux 
Certified machine but I want to avoid shipping costs to the UK.



TIA
-Robin
-- 
--
Robin Atwood.



Ship me somewheres east of Suez, where the best is like the worst,
 Where there ain't no Ten Commandments an' a man can raise a thirst
 from Mandalay by Rudyard Kipling
--



























-- 
--
Robin Atwood.

Ship me somewheres east of Suez, where the best is like the worst,
 Where there ain't no Ten Commandments an' a man can raise a thirst
 from Mandalay by Rudyard Kipling
--










Re: [gentoo-user] Re: Radeon KMS driver - what benefits?

2010-11-23 Thread Robin Atwood
On Tuesday 23 November 2010, Nikos Chantziaras wrote:
 On 11/23/2010 02:20 AM, Robin Atwood wrote:
  On Tuesday 23 November 2010, Nikos Chantziaras wrote:
  On 11/22/2010 09:40 PM, Robin Atwood wrote:
  On Tuesday 23 November 2010, Nikos Chantziaras wrote:
  On 11/22/2010 07:02 PM, Robin Atwood wrote:
  I have just gone through the steps to use the Radeon KMS driver on my
  old laptop which has an RV350 [Mobility Radeon 9600 M10]. Everything
  seems to work all right and I get the right render string from
  glxinfo. However, I thought it might enable compositing to work on
  the KDE4 desktop but there is no change. What's more, glxgears used
  to give about 2200 FPS but now it's 50! So have I been wasting my
  time?
  
  You have to enable compositing yourself in System Settings.
  
  Of course, but it didn't take.
  
  KMS means you're using DRI2 now, which results in a VSync'ed OpenGL
  rendering.  Though I'd expect 60FPS because of VSync, not 50 :-P
  
  One other thing you should do is to enable the gallium USE flag and
  
  re-emerge Mesa.  Then switch to the Gallium driver using:
   eselect mesa r300 gallium
  
  Because that driver is the recommended one for your hardware (R300).
  The classic driver should be avoided.
  
  Thanks, I would try that, but...
  
  # emerge -av media-libs/mesa
  
  These are the packages that would be merged, in order:
  
  Calculating dependencies... done!
  [ebuild U ] x11-libs/libX11-1.4.0 [1.3.6] USE=-doc -ipv6
  -static-libs - test (-xcb%*) 2,036 kB
  [ebuild   R   ] media-libs/mesa-7.8.2  USE=nptl pic xcb -debug
  (-gallium) - motif (-selinux) VIDEO_CARDS=radeon -intel -mach64 -mga
  -nouveau -r128 - savage -sis -svga -tdfx -via 0 kB
  
  I set gallium in /etc/make.conf but (-gallium) means the flag is
  turned off in a profile somewhere?
  
  Oh, you're not on ~arch.  I assumed to much.  I don't know how that
  works on old versions of the drivers and Mesa, or whether Gallium3D was
  any good with old versions of Mesa.  I can only confirm that it works on
  recent versions.
  
  For your KDE problem, try adding/changing these in your
  
  ~/.kde4/share/config/kwinrc:
  [Compositing]
  Backend=OpenGL
  CheckIsSafe=false
  DisableChecks=true
  Enabled=true
  GLDirect=true
  GLTextureFilter=1
  GLVSync=false
  OpenGLIsUnsafe=false
  
  When I try to enable compositing KDE gives a message that it's not
  possible. Setting Disable checks also gives an error message. So I
  cannot see any actual benefit.
 
 Try the whole thing I posted, because some of the settings do *not* have
 a GUI button and can only be enabled/disabled by editing kwinrc.

Nah, the desktop failed to load. I am now trying mesa-7.9 from the x11 
overlay.

-Robin
-- 
--
Robin Atwood.

Ship me somewheres east of Suez, where the best is like the worst,
 Where there ain't no Ten Commandments an' a man can raise a thirst
 from Mandalay by Rudyard Kipling
--











Re: [gentoo-user] Re: Radeon KMS driver - what benefits?

2010-11-23 Thread Robin Atwood
On Tuesday 23 November 2010, Robin Atwood wrote:
 On Tuesday 23 November 2010, Nikos Chantziaras wrote:
  On 11/23/2010 02:20 AM, Robin Atwood wrote:
   On Tuesday 23 November 2010, Nikos Chantziaras wrote:
   On 11/22/2010 09:40 PM, Robin Atwood wrote:
   On Tuesday 23 November 2010, Nikos Chantziaras wrote:
   On 11/22/2010 07:02 PM, Robin Atwood wrote:
   I have just gone through the steps to use the Radeon KMS driver on
   my old laptop which has an RV350 [Mobility Radeon 9600 M10].
   Everything seems to work all right and I get the right render
   string from glxinfo. However, I thought it might enable
   compositing to work on the KDE4 desktop but there is no change.
   What's more, glxgears used to give about 2200 FPS but now it's 50!
   So have I been wasting my time?
   
   You have to enable compositing yourself in System Settings.
   
   Of course, but it didn't take.
   
   KMS means you're using DRI2 now, which results in a VSync'ed OpenGL
   rendering.  Though I'd expect 60FPS because of VSync, not 50 :-P
   
   One other thing you should do is to enable the gallium USE flag
   and
   
   re-emerge Mesa.  Then switch to the Gallium driver using:
eselect mesa r300 gallium
   
   Because that driver is the recommended one for your hardware (R300).
   The classic driver should be avoided.
   
   Thanks, I would try that, but...
   
   # emerge -av media-libs/mesa
   
   These are the packages that would be merged, in order:
   
   Calculating dependencies... done!
   [ebuild U ] x11-libs/libX11-1.4.0 [1.3.6] USE=-doc -ipv6
   -static-libs - test (-xcb%*) 2,036 kB
   [ebuild   R   ] media-libs/mesa-7.8.2  USE=nptl pic xcb -debug
   (-gallium) - motif (-selinux) VIDEO_CARDS=radeon -intel -mach64
   -mga -nouveau -r128 - savage -sis -svga -tdfx -via 0 kB
   
   I set gallium in /etc/make.conf but (-gallium) means the flag is
   turned off in a profile somewhere?
   
   Oh, you're not on ~arch.  I assumed to much.  I don't know how that
   works on old versions of the drivers and Mesa, or whether Gallium3D
   was any good with old versions of Mesa.  I can only confirm that it
   works on recent versions.
   
   For your KDE problem, try adding/changing these in your
   
   ~/.kde4/share/config/kwinrc:
   [Compositing]
   Backend=OpenGL
   CheckIsSafe=false
   DisableChecks=true
   Enabled=true
   GLDirect=true
   GLTextureFilter=1
   GLVSync=false
   OpenGLIsUnsafe=false
   
   When I try to enable compositing KDE gives a message that it's not
   possible. Setting Disable checks also gives an error message. So I
   cannot see any actual benefit.
  
  Try the whole thing I posted, because some of the settings do *not* have
  a GUI button and can only be enabled/disabled by editing kwinrc.
 
 Nah, the desktop failed to load. I am now trying mesa-7.9 from the x11
 overlay.

Mesa 7.9 allows you to use eselect to set the gallium driver but it *still* 
doesn't make any difference. OTOH, it doesn't seem to do any harm so I will 
leave the new driver in place in the hope that in the future it will improve. 
;)

-Robin
-- 
--
Robin Atwood.

Ship me somewheres east of Suez, where the best is like the worst,
 Where there ain't no Ten Commandments an' a man can raise a thirst
 from Mandalay by Rudyard Kipling
--











[gentoo-user] Radeon KMS driver - what benefits?

2010-11-22 Thread Robin Atwood
I have just gone through the steps to use the Radeon KMS driver on my old 
laptop which has an RV350 [Mobility Radeon 9600 M10]. Everything seems to work 
all right and I get the right render string from glxinfo. However, I thought 
it might enable compositing to work on the KDE4 desktop but there is no 
change. What's more, glxgears used to give about 2200 FPS but now it's 50! So 
have I been wasting my time?

TIA
-Robin
-- 
--
Robin Atwood.

Ship me somewheres east of Suez, where the best is like the worst,
 Where there ain't no Ten Commandments an' a man can raise a thirst
 from Mandalay by Rudyard Kipling
--











Re: [gentoo-user] Re: Radeon KMS driver - what benefits?

2010-11-22 Thread Robin Atwood
On Tuesday 23 November 2010, Nikos Chantziaras wrote:
 On 11/22/2010 07:02 PM, Robin Atwood wrote:
  I have just gone through the steps to use the Radeon KMS driver on my old
  laptop which has an RV350 [Mobility Radeon 9600 M10]. Everything seems to
  work all right and I get the right render string from glxinfo.
  However, I thought it might enable compositing to work on the KDE4
  desktop but there is no change. What's more, glxgears used to give about
  2200 FPS but now it's 50! So have I been wasting my time?
 
 You have to enable compositing yourself in System Settings.

Of course, but it didn't take.

 KMS means you're using DRI2 now, which results in a VSync'ed OpenGL
 rendering.  Though I'd expect 60FPS because of VSync, not 50 :-P
 
 One other thing you should do is to enable the gallium USE flag and
 re-emerge Mesa.  Then switch to the Gallium driver using:
 
eselect mesa r300 gallium
 
 Because that driver is the recommended one for your hardware (R300).
 The classic driver should be avoided.

Thanks, I would try that, but...

# emerge -av media-libs/mesa

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild U ] x11-libs/libX11-1.4.0 [1.3.6] USE=-doc -ipv6 -static-libs -
test (-xcb%*) 2,036 kB
[ebuild   R   ] media-libs/mesa-7.8.2  USE=nptl pic xcb -debug (-gallium) -
motif (-selinux) VIDEO_CARDS=radeon -intel -mach64 -mga -nouveau -r128 -
savage -sis -svga -tdfx -via 0 kB  

I set gallium in /etc/make.conf but (-gallium) means the flag is turned off 
in a profile somewhere?

-Robin
-- 
--
Robin Atwood.

Ship me somewheres east of Suez, where the best is like the worst,
 Where there ain't no Ten Commandments an' a man can raise a thirst
 from Mandalay by Rudyard Kipling
--











Re: [gentoo-user] Radeon KMS driver - what benefits?

2010-11-22 Thread Robin Atwood
On Tuesday 23 November 2010, Mick wrote:
 On 22 November 2010 17:02, Robin Atwood robin.atw...@attglobal.net wrote:
  I have just gone through the steps to use the Radeon KMS driver on my old
  laptop which has an RV350 [Mobility Radeon 9600 M10]. Everything seems to
  work all right and I get the right render string from glxinfo.
  However, I thought it might enable compositing to work on the KDE4
  desktop but there is no change. What's more, glxgears used to give about
  2200 FPS but now it's 50! So have I been wasting my time?
 
 Which xorg-server version are you using?

x11-base/xorg-server-1.9.2.901 - everything is current.

-Robin
-- 
--
Robin Atwood.

Ship me somewheres east of Suez, where the best is like the worst,
 Where there ain't no Ten Commandments an' a man can raise a thirst
 from Mandalay by Rudyard Kipling
--











Re: [gentoo-user] Re: Radeon KMS driver - what benefits?

2010-11-22 Thread Robin Atwood
On Tuesday 23 November 2010, Nikos Chantziaras wrote:
 On 11/22/2010 09:40 PM, Robin Atwood wrote:
  On Tuesday 23 November 2010, Nikos Chantziaras wrote:
  On 11/22/2010 07:02 PM, Robin Atwood wrote:
  I have just gone through the steps to use the Radeon KMS driver on my
  old laptop which has an RV350 [Mobility Radeon 9600 M10]. Everything
  seems to work all right and I get the right render string from
  glxinfo. However, I thought it might enable compositing to work on the
  KDE4 desktop but there is no change. What's more, glxgears used to
  give about 2200 FPS but now it's 50! So have I been wasting my time?
  
  You have to enable compositing yourself in System Settings.
  
  Of course, but it didn't take.
  
  KMS means you're using DRI2 now, which results in a VSync'ed OpenGL
  rendering.  Though I'd expect 60FPS because of VSync, not 50 :-P
  
  One other thing you should do is to enable the gallium USE flag and
  
  re-emerge Mesa.  Then switch to the Gallium driver using:
  eselect mesa r300 gallium
  
  Because that driver is the recommended one for your hardware (R300).
  The classic driver should be avoided.
  
  Thanks, I would try that, but...
  
  # emerge -av media-libs/mesa
  
  These are the packages that would be merged, in order:
  
  Calculating dependencies... done!
  [ebuild U ] x11-libs/libX11-1.4.0 [1.3.6] USE=-doc -ipv6
  -static-libs - test (-xcb%*) 2,036 kB
  [ebuild   R   ] media-libs/mesa-7.8.2  USE=nptl pic xcb -debug
  (-gallium) - motif (-selinux) VIDEO_CARDS=radeon -intel -mach64 -mga
  -nouveau -r128 - savage -sis -svga -tdfx -via 0 kB
  
  I set gallium in /etc/make.conf but (-gallium) means the flag is turned
  off in a profile somewhere?
 
 Oh, you're not on ~arch.  I assumed to much.  I don't know how that
 works on old versions of the drivers and Mesa, or whether Gallium3D was
 any good with old versions of Mesa.  I can only confirm that it works on
 recent versions.
 
 For your KDE problem, try adding/changing these in your
 ~/.kde4/share/config/kwinrc:
 
[Compositing]
Backend=OpenGL
CheckIsSafe=false
DisableChecks=true
Enabled=true
GLDirect=true
GLTextureFilter=1
GLVSync=false
OpenGLIsUnsafe=false

When I try to enable compositing KDE gives a message that it's not possible. 
Setting Disable checks also gives an error message. So I cannot see any 
actual benefit.

Thanks for the tips!
-Robin
-- 
--
Robin Atwood.

Ship me somewheres east of Suez, where the best is like the worst,
 Where there ain't no Ten Commandments an' a man can raise a thirst
 from Mandalay by Rudyard Kipling
--











Re: [gentoo-user] How to exclude a directory from rsync

2010-11-16 Thread Robin Atwood
On Tuesday 16 November 2010, Mick wrote:

Try:

'rsync -a -l -v --exclude */System Volume Information
-e ssh -c blowfish -l root /mnt/User_WinXP/
10.10.10.25:/home/httpd/backup'

From man rsync
Note that if you don’t specify --backup-dir, (1) the --omit-dir-times option 
will be implied, and (2) if --delete is also in effect (without --delete-
excluded), rsync will add a protect filter-rule for the backup suffix to the 
end of all your existing excludes (e.g. -f P *~). This will prevent 
previously backed-up files from being deleted. Note that if you are supplying 
your own filter rules, you may need to manually insert your own 
exclude/protect rule somewhere higher up in the list so that it has a high 
enough priority to be effective (e.g., if your rules specify a trailing 
inclusion/exclusion of ’*’, the auto-added rule would never be reached).

HTH
-Robin
-- 
--
Robin Atwood.

Ship me somewheres east of Suez, where the best is like the worst,
 Where there ain't no Ten Commandments an' a man can raise a thirst
 from Mandalay by Rudyard Kipling
--











Re: [gentoo-user] Re: Upgrading from FX-5200 to a GeForce 6200 512MB

2010-11-11 Thread Robin Atwood
On Thursday 11 November 2010, Dale wrote:

 I just checked again, it is still working.  I'm liking that I can watch
 a video whenever I want instead of when it decides to work.  ;-)

I also have good news to report. I upgraded to Qt 4.7.0 and my xserver is a 
reformed character! It sits and chugs away at 1.0% CPU like it used to with 
Qt/KDE 3.5. No other graphics related packages were updated at the same time, 
so it's definitely Qt which made the difference.

HTH
-Robin
-- 
--
Robin Atwood.

Ship me somewheres east of Suez, where the best is like the worst,
 Where there ain't no Ten Commandments an' a man can raise a thirst
 from Mandalay by Rudyard Kipling
--











Re: [gentoo-user] Re: Upgrading from FX-5200 to a GeForce 6200 512MB

2010-11-08 Thread Robin Atwood
On Monday 08 November 2010, Dale wrote:
 Robin Atwood wrote:
  On Saturday 06 November 2010, Dale wrote:
  Dale wrote:
  
  
  This is getting weird.  I haven't rebooted in a few weeks now.  I tried
  to watch a video a bit ago and it was slow again.  It was down to about
  2 or 3 frames per second.  It is awful.  If I go tell it to switch to
  opengl, it gets fast again but after a while it will go back to being
  really slow.  Why do I have to keep telling it to use nvidia's opengl
  when it says it is using it and I have switched to a few times?  If it
  is using it, why does it slow down until I tell it to switch?
  
  I did do a huge KDE upgrade the other day.  I don't recall seeing
  anything else X related being updated but I could have missed something
  in that LONG list.  I did do a baselayout upgrade and portage itself has
  been upgraded a few times.
  
  Any ideas on why this thing keeps doing this?  Would a reboot even help
  in this situation?
  
  When it gets very slow start up top and see what's using the CPU. My bet
  is the Xserver. I have a GeForce 9400 GT 512MB and the xserver will
  happily use 90% while nothing much is happening. Start a KDE4 app which
  constantly updates (ktorrent, kps are good 3rd party examples) and the
  xserver goes crazy.
  
  HTH
  -Robin
 
 Nope, it wasn't that here.  This is what top says:
 
PID USER  PR  NI  VIRT  RES  SHR S %CPU %MEMTIME+  COMMAND
 17995 root  20   0 45360  15m 3360 R 89.6  0.7   0:35.72 glxgears
 32113 dale  20   0  305m 162m  27m S  3.3  8.0  17:56.38 seamonkey-bin
 31796 root  20   0  187m  76m  30m S  2.0  3.8  21:51.94 X
 31914 dale  20   0  286m  47m  24m S  1.7  2.3  18:04.02 kwin
 
 It was glxgears that was taking up the most CPU time but I think the
 rest of it was processing the video.  Thing is, nothing has been updated
 and I have not even logged out of KDE since it was working this
 morning.  So, without me doing a single thing, it has stopped working as
 it should.  It's like the card is being bypassed as far as it using its
 own CPU to process the picture.
 
 Oh, look at this miserable mess:
 
 2 frames in 8.5 seconds =  0.236 FPS
 2 frames in 8.7 seconds =  0.230 FPS
 2 frames in 8.3 seconds =  0.241 FPS
 2 frames in 8.1 seconds =  0.246 FPS
 2 frames in 8.1 seconds =  0.247 FPS
 2 frames in 8.1 seconds =  0.247 FPS
 2 frames in 8.3 seconds =  0.241 FPS
 
 Trust me, to see those little wheels turn that slow is really boring.
 
 Going back to single user and switch this again.  I have noticed that
 telling it to switch to nvidia's opengl while in single user mode does
 seem to last longer.  Going to re-emerge the drivers to while I am at
 it.  Can't hurt anything.
 
 Still open to ideas cause this is weird.

AFAIK, all eselect opengl does is set up some symlinks so you use NVidia 
libraries and not Mesa ones. You might want to poke around and check last 
access dates.

HTH
-Robin
-- 
--
Robin Atwood.

Ship me somewheres east of Suez, where the best is like the worst,
 Where there ain't no Ten Commandments an' a man can raise a thirst
 from Mandalay by Rudyard Kipling
--











Re: [gentoo-user] Re: Upgrading from FX-5200 to a GeForce 6200 512MB

2010-11-07 Thread Robin Atwood
On Monday 08 November 2010, walt wrote:
 On 11/06/2010 01:06 PM, Robin Atwood wrote:
  ,,,I have a GeForce 9400 GT 512MB and the xserver will happily use
  90% while nothing much is happening. Start a KDE4 app which constantly
  updates (ktorrent, kps are good 3rd party examples) and the xserver goes
  crazy.
 
 That sounds to me like a bug somewhere.  Do you have the fancy kde user
 interface enabled?  (Can't remember what it's called.)

Compositing is turned on but turning it off doesn't help.

-Robin
-- 
--
Robin Atwood.

Ship me somewheres east of Suez, where the best is like the worst,
 Where there ain't no Ten Commandments an' a man can raise a thirst
 from Mandalay by Rudyard Kipling
--











Re: [gentoo-user] Re: Upgrading from FX-5200 to a GeForce 6200 512MB

2010-11-06 Thread Robin Atwood
On Saturday 06 November 2010, Dale wrote:
 Dale wrote:

 This is getting weird.  I haven't rebooted in a few weeks now.  I tried
 to watch a video a bit ago and it was slow again.  It was down to about
 2 or 3 frames per second.  It is awful.  If I go tell it to switch to
 opengl, it gets fast again but after a while it will go back to being
 really slow.  Why do I have to keep telling it to use nvidia's opengl
 when it says it is using it and I have switched to a few times?  If it
 is using it, why does it slow down until I tell it to switch?
 
 I did do a huge KDE upgrade the other day.  I don't recall seeing
 anything else X related being updated but I could have missed something
 in that LONG list.  I did do a baselayout upgrade and portage itself has
 been upgraded a few times.
 
 Any ideas on why this thing keeps doing this?  Would a reboot even help
 in this situation?

When it gets very slow start up top and see what's using the CPU. My bet is 
the Xserver. I have a GeForce 9400 GT 512MB and the xserver will happily use 
90% while nothing much is happening. Start a KDE4 app which constantly updates 
(ktorrent, kps are good 3rd party examples) and the xserver goes crazy.

HTH
-Robin
-- 
--
Robin Atwood.

Ship me somewheres east of Suez, where the best is like the worst,
 Where there ain't no Ten Commandments an' a man can raise a thirst
 from Mandalay by Rudyard Kipling
--











Re: [gentoo-user] Setup for two graphical logins on one machine

2010-11-04 Thread Robin Atwood
On Thursday 04 November 2010, Albert Hopkins wrote:
 On Wed, 2010-11-03 at 12:53 +0100, Markus Oehme wrote:
  Hi everybody,
  
  I've got a somewhat exotic wish: I want to have two graphical logins on
  my box. Currently I'm using /etc/init.d/xdm to start slim which in turn
  starts an XFce session after login. All of this happens on vt7
  (reachable via ctrl-alt-f7). Now I wish for a second graphical login on
  vt8.
  What I currently hope for is a way to tell /etc/init.d/xdm to start two
  instances of slim, one on vt7 and one on vt8. Bonus points if the second
  instance of slim starts a fluxbox session instead of an XFce session upon
  login. Do you think this is possible?

AFAIK, you must poke around in /etc/X11/ where the xserver config files are. 
XAccess seems to ring a bell! I have kdm here which does it all in one big 
kdmrc file, so I can't tell you exactly.

HTH
-Robin
-- 
--
Robin Atwood.

Ship me somewheres east of Suez, where the best is like the worst,
 Where there ain't no Ten Commandments an' a man can raise a thirst
 from Mandalay by Rudyard Kipling
--











Re: [gentoo-user] Filesize does not match recorded size

2010-10-25 Thread Robin Atwood
On Monday 25 October 2010, Joseph wrote:
 I'm trying to reinstall asterisk-1.4.22.1 but I get:
 
 ('Filesize does not match recorded size', 20776689, 11602819)
 !!! Fetched file: asterisk-1.4.22.1.tar.gz VERIFY FAILED!
 !!! Reason: Filesize does not match recorded size
 !!! Got:  20776689
 !!! Expected: 11602819
 Refetching... File renamed to
 '/usr/portage/distfiles/asterisk-1.4.22.1.tar.gz._checksum_failure_.eNAPDH
 '
 
 The asterisk in portage stable is 1.2 (too old), unstable 1.6 does not work
 with some providers for me so I'm trying sticking with 1.4 I had this
 problem in the past and I did solve it by:
 
 cd /usr/local/portage/layman/voip/net-misc/asterisk/
 ebuild --force asterisk-1.4.22.1.ebuild manifest
 
 but it is not working now?
 Any suggestion?

Try downloading a good copy of asterisk-1.4.22.1.tar.gz to your 
/usr/portage/distfiles and then

  cd /usr/local/portage/layman/voip/net-misc/asterisk/
  ebuild asterisk-1.4.22.1.ebuild digest

which should get the tarball and the ebuild in sync.

HTH
-Robin
-- 
--
Robin Atwood.

Ship me somewheres east of Suez, where the best is like the worst,
 Where there ain't no Ten Commandments an' a man can raise a thirst
 from Mandalay by Rudyard Kipling
--











Re: [gentoo-user] Gentoo in chroot on s390

2010-09-30 Thread Robin Atwood
On Thursday 30 September 2010, Enrico Weigelt wrote:
 Hi folks,
 
 
 I've got some RHEL instance on an z/VM (s390) and like to get
 Gentoo running in chroot. Did anyone already do that ?
 Or any HOWTO ?

Me, some time ago. :) Have a look at 
http://www.binro.org/gentoo-2008.6-s390x-unofficial.tar.bz2

Unpack it and follow the README. If you already have a RHEL image running it's 
much easier because you do not need the starter system: just format new DASD, 
unpack the stage 3 onto them and chroot.

Have fun!
-Robin
-- 
--
Robin Atwood.

Ship me somewheres east of Suez, where the best is like the worst,
 Where there ain't no Ten Commandments an' a man can raise a thirst
 from Mandalay by Rudyard Kipling
--











Re: [gentoo-user] Re: X programs as root

2010-09-26 Thread Robin Atwood
On Sunday 26 September 2010, Dale wrote:
 Dale wrote:
  It appears that maybe portage got the order wrong or something was
  amiss with KDE.  I re-emerged the following:
  
  kdebase-menu
  kdebase-menu-icons
  kmenuedit
  kdesu
  
  After that, it works again.  So, either something was built in the
  wrong order or KDE had some issue with something.  Oh, no config files
  to update after that either.
  
  Don't know what fixed it exactly but at least it works again.  Maybe
  the OP should try rebuilding some packages too?  May help, may not.
  
  Dale
  
  :-)  :-)
 
 I spoke to soon I guess.  I was gone for a while so I cut my puter off.
 Now, the programs don't work as root again even after recompiling those
 packages again.
 
 This is weird.  Works one time then stops again.

I always run several apps under kdesu and sometimes they don't start. Once I 
did an strace and found it hanging opening /var/tmp/kdecache-user; deleting 
all those solved the problem. 

HTH
-Robin
-- 
--
Robin Atwood.

Ship me somewheres east of Suez, where the best is like the worst,
 Where there ain't no Ten Commandments an' a man can raise a thirst
 from Mandalay by Rudyard Kipling
--











[gentoo-user] Blocks migrating from KDE 4.4.3 to 4.5.1

2010-09-03 Thread Robin Atwood
I decided to attempt the upgrade to KDE 4.5.1 now it's out. Upgrading Qt to 
4.6.3 got rid of most of the blocks but I am left with a problem with 
kdepimlib. It looks like various kdenetwork packages are dragging in 
kdepimlib-4.5.1 which is incompatible with keeping KDEPIM at 4.4. Anyone else 
seen this and (hopefully) have a solution?


* Error: The above package list contains packages which cannot be
 * installed at the same time on the same system.

  ('installed', '/', 'kde-base/kdepimlibs-4.4.3', 'nomerge') pulled in by
=kde-base/kdepimlibs-4.4.3[akonadi,-kdeprefix,-aqua] required by 
('installed', '/', 'kde-base/kmail-4.4.3', 'nomerge')
=kde-base/kdepimlibs-4.4.3[akonadi,-kdeprefix,-aqua] required by 
('installed', '/', 'kde-base/kdepim-runtime-4.4.3', 'nomerge')
=kde-base/kdepimlibs-4.4.3[akonadi,-kdeprefix,-aqua] required by 
('installed', '/', 'kde-base/akonadi-4.4.3', 'nomerge')
(and 4 more)

  ('ebuild', '/', 'kde-base/kdepimlibs-4.5.1', 'merge') pulled in by
=kde-base/kdepimlibs-4.5.1[-kdeprefix,-aqua] required by ('ebuild', '/', 
'kde-base/kopete-4.5.1', 'merge')
=kde-base/kdepimlibs-4.4.3[-kdeprefix,-aqua] required by ('installed', 
'/', 'kde-base/knode-4.4.3', 'nomerge')
=kde-base/kdepimlibs-4.5.1[semantic-desktop,-kdeprefix,-aqua] required by 
('ebuild', '/', 'kde-base/kdeplasma-addons-4.5.1', 'merge')
(and 23 more)

TIA
-Robin
-- 
--
Robin Atwood.

Ship me somewheres east of Suez, where the best is like the worst,
 Where there ain't no Ten Commandments an' a man can raise a thirst
 from Mandalay by Rudyard Kipling
--











Re: [gentoo-user] Blocks migrating from KDE 4.4.3 to 4.5.1

2010-09-03 Thread Robin Atwood
On Friday 03 September 2010, Alan McKinnon wrote:
 Apparently, though unproven, at 15:54 on Friday 03 September 2010, Robin
 
 Atwood did opine thusly:
  I decided to attempt the upgrade to KDE 4.5.1 now it's out. Upgrading Qt
  to 4.6.3 got rid of most of the blocks but I am left with a problem with
  kdepimlib. It looks like various kdenetwork packages are dragging in
  kdepimlib-4.5.1 which is incompatible with keeping KDEPIM at 4.4. Anyone
  else seen this and (hopefully) have a solution?
 
 Are you installing from portage or from the overlay?

From the kde overlay. It's not in portage yet, is it?

Cheers
-Robin
-- 
--
Robin Atwood, Bangkok, Thailand.
tel/fax: +66 2252 1438  
mobile: +66 851 322487
MSN:ro...@binro.org
Skype:  abend922
Yahoo:  abend922
--














Re: [gentoo-user] Blocks migrating from KDE 4.4.3 to 4.5.1

2010-09-03 Thread Robin Atwood
On Friday 03 September 2010, Alan McKinnon wrote:
 Apparently, though unproven, at 16:14 on Friday 03 September 2010, Robin
 
 Atwood did opine thusly:
  On Friday 03 September 2010, Alan McKinnon wrote:
   Apparently, though unproven, at 15:54 on Friday 03 September 2010,
   Robin
   
   Atwood did opine thusly:
I decided to attempt the upgrade to KDE 4.5.1 now it's out. Upgrading
Qt to 4.6.3 got rid of most of the blocks but I am left with a
problem with kdepimlib. It looks like various kdenetwork packages
are dragging in kdepimlib-4.5.1 which is incompatible with keeping
KDEPIM at 4.4. Anyone else seen this and (hopefully) have a
solution?
   
   Are you installing from portage or from the overlay?
  
  From the kde overlay. It's not in portage yet, is it?
 
 There's an blog entry on the front page at www.gentoo.org about 4.5.1, it
 seems to imply that it will go into portage with kdepimlibs pegged at 4.4.
 But it's wasn't in portage yet as of this morning

I looked at the blog entry and at https://bugs.kde.org/show_bug.cgi?id=230247 
which it cites and the bug implies that you need kdepimlibs-4.5.*. So maybe 
the solution is to unemerge kdepimlibs-4.4.* and then rebuild KDEPIM-4.4 
against kdepimlibs-4.5.1. 

 You have kopete and other ebuilds pulling in =kdepimlib-4.5.1 so hard
 masking the later version won't work. I can only think of two approaches:
 
 1. move the kde ebuilds to your private overlay and edit the DEPENDS for
 the offending packages,
 2. wait till 4.5.* hits portage
 
 I faced the same decision and went with #2. It's lousy collection of
 choices, perhaps someone else has a better plan.

I am sure I saw some posts here where people claimed to have installed 4.5.0 
from the overlay. Maybe they have some input? Otherwise I will go with choice 
2!

-Robin
-- 
--
Robin Atwood.

Ship me somewheres east of Suez, where the best is like the worst,
 Where there ain't no Ten Commandments an' a man can raise a thirst
 from Mandalay by Rudyard Kipling
--











Re: [gentoo-user] ebuild with local source?

2010-08-24 Thread Robin Atwood
On Tuesday 24 August 2010, Helmut Jarausch wrote:
 Hi,
 
 I'd like to create an ebuild (in my local overlay) which refers to a
 local distribution file.
 
 I've tried
 
 SRC_URI=file::///usr/local/Src/MyPack.tar.bz2
 
 but file:// doesn't seem to be supported.
 
 Is there any alternative?
 
 Thanks for a hint,
 Helmut.
 
 (I'm using portage-2.2._rc68)

ln -s /usr/local/Src/MyPack.tar.bz2 /usr/portage/distfiles maybe?

HTH
-Robin
-- 
--
Robin Atwood.

Ship me somewheres east of Suez, where the best is like the worst,
 Where there ain't no Ten Commandments an' a man can raise a thirst
 from Mandalay by Rudyard Kipling
--











Re: [gentoo-user] ebuild with local source?

2010-08-24 Thread Robin Atwood
On Tuesday 24 August 2010, Helmut Jarausch wrote:
 On 08/24/10 13:45:05, Robin Atwood wrote:
  On Tuesday 24 August 2010, Helmut Jarausch wrote:
   Hi,
   
   I'd like to create an ebuild (in my local overlay) which refers to
  
  a
  
   local distribution file.
   
   I've tried
   
   SRC_URI=file::///usr/local/Src/MyPack.tar.bz2
   
   but file:// doesn't seem to be supported.
   
   Is there any alternative?
   
   Thanks for a hint,
   Helmut.
   
   (I'm using portage-2.2._rc68)
  
  ln -s /usr/local/Src/MyPack.tar.bz2 /usr/portage/distfiles maybe?
 
 Thanks, but isn't that erased when I resync next time?

No. Syncing doesn't touch the distfiles. I use this technique all the time.

-Robin
-- 
--
Robin Atwood.

Ship me somewheres east of Suez, where the best is like the worst,
 Where there ain't no Ten Commandments an' a man can raise a thirst
 from Mandalay by Rudyard Kipling
--











[gentoo-user] Lost some favicons

2010-07-23 Thread Robin Atwood
The other day Konqueror got very confused and I had to delete all of its 
caches in /tmp and /var/tmp. That cured the problem but all the favicons on my 
tool bar turned into question marks. This was mostly solved by visiting the 
sites and letting the icon refresh, or using Update Favicon in the bookmarks 
dialogue. However, a couple are stubbornly stuck as ?. Does anyone know how 
to reset this? Removing ~/.kde4/share/apps/konqueror/faviconrc made no 
difference.

TIA
-Robin
-- 
--
Robin Atwood.

Ship me somewheres east of Suez, where the best is like the worst,
 Where there ain't no Ten Commandments an' a man can raise a thirst
 from Mandalay by Rudyard Kipling
--











Re: [gentoo-user] VM experiences and faqs?

2010-06-28 Thread Robin Atwood
On Monday 28 June 2010, waltd...@waltdnes.org wrote:
   I have a 4-core Intel i3 (/proc/cpuinfo dump below) running 64 bit
 Gentoo.  I want to try hosting 32-bit Gentoo and also OS/2 Warp 4 on it.
 What are people's experiences with different VM environments?  Google
 searching turns up a lot of out-of-date blogs/wikis.  My CPU...

I installed OS/2 Warp 4 with KVM and it just worked (TM)! It is also 
incredibly fast (on a Core2 Duo).

HTH
-Robin
-- 
--
Robin Atwood.

Ship me somewheres east of Suez, where the best is like the worst,
 Where there ain't no Ten Commandments an' a man can raise a thirst
 from Mandalay by Rudyard Kipling
--











Re: [gentoo-user] Cannot start Slapd (OpenLDAP)

2010-05-22 Thread Robin Atwood
On Saturday 22 May 2010, Christopher Kurtis Koeber wrote:
 Hello,
 
 I am trying to start OpenLDAP (I am following this guide
 http://www.gentoo.org/doc/en/ldap-howto.xml here) but the service fails
 to start. I get the double exclamations like this:
 
 
 Code:
 
 
 
  * Starting ldap-server ...  [ !! ]
 
 
 
 When I go to /var/log/messages nothing is logged there. Anything I can do
 to fix this?

Take a look at /var/log/ldaplog!

HTH
-Robin
-- 
--
Robin Atwood.

Ship me somewheres east of Suez, where the best is like the worst,
 Where there ain't no Ten Commandments an' a man can raise a thirst
 from Mandalay by Rudyard Kipling
--











Re: [gentoo-user] Cannot start Slapd (OpenLDAP)

2010-05-22 Thread Robin Atwood
On Saturday 22 May 2010, Christopher Kurtis Koeber wrote:
 When I go to /var/log/messages nothing is logged there. Anything I can do
 to fix this?

Oh wait, /var/log/ldaplog is my customisation of syslog-ng. But slapd messages 
should be written with facility local4. Trying it with the --debug option on 
the command line.

-Robin
-- 
--
Robin Atwood.

Ship me somewheres east of Suez, where the best is like the worst,
 Where there ain't no Ten Commandments an' a man can raise a thirst
 from Mandalay by Rudyard Kipling
--











Re: [gentoo-user] STARTTLS verification problem

2010-04-10 Thread Robin Atwood
On Saturday 10 April 2010, Eray Aslan wrote:
 On 10.04.2010 11:08, Mick wrote:
  Apr  9 21:45:47 my_box sendmail[4013]: STARTTLS=client,
  relay=smtp.comcast.net, version=TLSv1/SSLv3, verify=FAIL, cipher=DHE-RSA-
  AES256-SHA, bits=256/256
  
  Any idea why this is happening?
 
 Nothing to worry about.  It just means you do not trust the certificate
 issuer for smtp.comcast.net.  For smtp delivery, this is perfectly fine.
  See below:
 
 $ openssl s_client -connect smtp.comcast.net:25 -starttls smtp
 [...]
 SSL-Session:
 [...]
 Verify return code: 20 (unable to get local issuer certificate)
 
 versus when I tell it to trust some CAs (including verisign) on the
 local machine:
 
 openssl s_client -connect smtp.comcast.net:25 -starttls smtp -CApath
 /etc/ssl/certs/
 [...]
 SSL-Session:
 [...]
 Verify return code: 0 (ok)

That's very interesting, I have puzzled about STARTTLS stuff for years! How do 
I make sendmail trust the CAs? At the moment my sendmail.mc looks like:

define(`CERT_DIR',`/etc/mail/certs')
define(`confCACERT_PATH',`CERT_DIR')
define(`confCACERT',`CERT_DIR/cacert.pem')
define(`confSERVER_CERT',`CERT_DIR/cert.pem')
define(`confSERVER_KEY',`CERT_DIR/key.pem')
define(`confCLIENT_CERT',`CERT_DIR/cert.pem')
define(`confCLIENT_KEY',`CERT_DIR/key.pem')

where I made the certs with the TinyCA package.

TIA
-Robin
-- 
--
Robin Atwood.

Ship me somewheres east of Suez, where the best is like the worst,
 Where there ain't no Ten Commandments an' a man can raise a thirst
 from Mandalay by Rudyard Kipling
--











Re: [gentoo-user] STARTTLS verification problem

2010-04-10 Thread Robin Atwood
On Saturday 10 April 2010, Mick wrote:
 On Saturday 10 April 2010 16:32:37 Eray Aslan wrote:
  On 10.04.2010 18:12, Robin Atwood wrote:
   That's very interesting, I have puzzled about STARTTLS stuff for years!
   How do I make sendmail trust the CAs?
  
  This is neither necessary nor recommended for TLS.
 
 Why would that be?
 
   define(`CERT_DIR',`/etc/mail/certs')
   define(`confCACERT_PATH',`CERT_DIR')
   define(`confCACERT',`CERT_DIR/cacert.pem')
   define(`confSERVER_CERT',`CERT_DIR/cert.pem')
   define(`confSERVER_KEY',`CERT_DIR/key.pem')
   define(`confCLIENT_CERT',`CERT_DIR/cert.pem')
   define(`confCLIENT_KEY',`CERT_DIR/key.pem')
  
  These 3 files (cacert.pem, cert.pem, key.pem) are for your own server.
  It has been awhile since I used sendmail, but adding CA certificates to
  CACERT_PATH should make sendmail trust them.
  
  Again, this is contrary to best practices.  Do not trust third party
  CA certificates unnecessarily.  It might come back and bite you.
 
 Can you please explain this?

I am curious too!

-Robin
-- 
--
Robin Atwood.

Ship me somewheres east of Suez, where the best is like the worst,
 Where there ain't no Ten Commandments an' a man can raise a thirst
 from Mandalay by Rudyard Kipling
--











Re: [gentoo-user] ttyS0 permission

2010-03-28 Thread Robin Atwood
On Sunday 28 March 2010, Joseph wrote:
 How to change permission on /dev/ttyS0 ?
 Which program controls it owner and permission?
 Is it possible to change it with hylafax?
 
 Currently I have:
 crw--- 1 uucp uucp 4, 64 Mar 19 13:46 /dev/ttyS0
 
 And I wan it to be:
 crw-rw-rw- 1 uucp uucp 4, 64 Mar 19 13:46 /dev/ttyS0
 
 I've tried adding a rule to 50-udev.rules in /dev
 but /udev is not running and when I try to restart it I get:
 
 The udev init-script is written for baselayout-2
 Please do not use it with baselayout-1

This is set by parameter DeviceMode: 0660 in file 
/var/spool/fax/etc/config.ttyS0. You are asked in the setup script.

HTH
-Robin
-- 
--
Robin Atwood.

Ship me somewheres east of Suez, where the best is like the worst,
 Where there ain't no Ten Commandments an' a man can raise a thirst
 from Mandalay by Rudyard Kipling
--











Re: [gentoo-user] ttyS0 permission

2010-03-28 Thread Robin Atwood
On Monday 29 March 2010, Joseph wrote:
 On 03/28/10 23:48, Robin Atwood wrote:
 On Sunday 28 March 2010, Joseph wrote:
  How to change permission on /dev/ttyS0 ?
  Which program controls it owner and permission?
  Is it possible to change it with hylafax?
  
  Currently I have:
  crw--- 1 uucp uucp 4, 64 Mar 19 13:46 /dev/ttyS0
  
  And I wan it to be:
  crw-rw-rw- 1 uucp uucp 4, 64 Mar 19 13:46 /dev/ttyS0
  
  I've tried adding a rule to 50-udev.rules in /dev
  but /udev is not running and when I try to restart it I get:
  
  The udev init-script is written for baselayout-2
  Please do not use it with baselayout-1
 
 This is set by parameter DeviceMode: 0660 in file
 /var/spool/fax/etc/config.ttyS0. You are asked in the setup script.
 
 HTH
 -Robin
 
 Yes, you are correct.
 I was able to find it as well:
 http://wiki.contribs.org/HylaFax
 
 I had a problem make it dial-up work in Windows XP running in VirtualBox
 when hylafax is running. I had to disable faxgetty ttyS0 in inittab or
 Windows XP dial-up will not work.
 
 But wvdial works OK when Hylafax is ON.

Presumably VirtualBox does not follow the Unix locking protocol:
http://tldp.org/LDP/nag2/x-087-2-serial.devices.html

HTH
-Robin
-- 
--
Robin Atwood.

Ship me somewheres east of Suez, where the best is like the worst,
 Where there ain't no Ten Commandments an' a man can raise a thirst
 from Mandalay by Rudyard Kipling
--











Re: [gentoo-user] Can't hear anything. :-(

2010-02-16 Thread Robin Atwood
On Tuesday 16 February 2010, Alan Mackenzie wrote:
 Hi, gentoo,
 
 I'm trying to get sound to sound on my new Gentoo box, following the
 Gentoo Linux ALSA Guide.  Everything seems to be working fine, except
 no sound is coming out of my loudspeakers.
 
 I've checked the obvious things: the speakers are plugged in, switched
 on and connected to the appropriate socket on my motherboard (the light
 green one).
 
 I have drivers for my motherboard's sound chips compiled into my kernel,
 and they are correctly identified by alsamixer.  With alsamixer I've
 unmuted various things and turned up the volume.
 
 madplay appears to play an mp3 file I have.  Just that no actual sound
 comes out.
 
 One other strange thing: the titles under the volume bars in alsamixer
 are very different from the ones in the document: Instead of Master /
 Headphone / Tone / Bass / Treble / 3D Contr / PCM, I've got  Master /
 Headphon / Front / Front Mi / Surround / Center / LFE / Side / Line /
 Mic / Mic Boos / S/PDIF / S/PDIF D / Beep.  Why is this?  In
 particular, I'm missing the PCM volume bar which the documentation
 says is so important to unmute.
 
 What am I missing here?
 
 Thanks in advance!

I had a similar problem with an Audigy (CA0106) card. If depends if you have 
analogue or digital speakers. If they are analog the S/PDIF slider must be 
*muted* or there is no sound. This is counter-intuitive since one's first 
action with Alsa is to unmute everything!

HTH
-Robin
-- 
--
Robin Atwood.

Ship me somewheres east of Suez, where the best is like the worst,
 Where there ain't no Ten Commandments an' a man can raise a thirst
 from Mandalay by Rudyard Kipling
--











[gentoo-user] KDE 4.4: window tabbing?

2010-02-13 Thread Robin Atwood
Has anyone got the much vaunted window-tabbing of KDE 4.4 working? I have set 
my middle mouse button to Start window tab drag but when I try it nothing 
happens. Searching, I found references to a window menu option Move window to 
group but I don't have that. I don't think there is a USE option I have 
missed. Anybody have better luck?

TIA
-Robin
-- 
--
Robin Atwood.

Ship me somewheres east of Suez, where the best is like the worst,
 Where there ain't no Ten Commandments an' a man can raise a thirst
 from Mandalay by Rudyard Kipling
--











Re: [gentoo-user] KDE 4.4: window tabbing?

2010-02-13 Thread Robin Atwood
On Saturday 13 February 2010, Volker Armin Hemmann wrote:
 On Samstag 13 Februar 2010, Robin Atwood wrote:
  Has anyone got the much vaunted window-tabbing of KDE 4.4 working? I have
  set my middle mouse button to Start window tab drag but when I try it
  nothing happens. Searching, I found references to a window menu option
  Move window to group but I don't have that. I don't think there is a
  USE option I have missed. Anybody have better luck?
 
 I have set the middle mouse button to nothing and window tabbing works
 great.

So what do you do? Do you have the new window menu option?

-Robin
-- 
--
Robin Atwood.

Ship me somewheres east of Suez, where the best is like the worst,
 Where there ain't no Ten Commandments an' a man can raise a thirst
 from Mandalay by Rudyard Kipling
--











Re: [gentoo-user] KDE 4.4: window tabbing?

2010-02-13 Thread Robin Atwood
On Sunday 14 February 2010, Frank Steinmetzger wrote:
 Am Samstag, 13. Februar 2010 schrieb Robin Atwood:
  Has anyone got the much vaunted window-tabbing of KDE 4.4 working? I have
  set my middle mouse button to Start window tab drag but when I try it
  nothing happens. Searching, I found references to a window menu option
  Move window to group but I don't have that. I don't think there is a
  USE option I have missed. Anybody have better luck?
 
 Do you use Oxygen or anything else as window decorator? I use crystal,
 where tabbing does not work. However, after I changed to Oxygen, it did.
 So the Decorator has to support it.

Thanks, that's the problem, I use Crystal. Changing to Oxygen makes it all 
work. Bummer, I don't much like Oxygen. ;)

Cheers
-Robin
-- 
--
Robin Atwood.

Ship me somewheres east of Suez, where the best is like the worst,
 Where there ain't no Ten Commandments an' a man can raise a thirst
 from Mandalay by Rudyard Kipling
--











Re: [gentoo-user] Trouble with weather plasmoids

2009-12-14 Thread Robin Atwood
On Monday 14 December 2009, Matthias Krebs wrote:
 Am Sonntag 13 Dezember 2009 16:44:49 schrieb sean:
  Robin Atwood wrote:
   Since the massive Qt 4.6.0/KDE 4.3.4 update I have noticed that the
   search widget for the various weather plasmoids always returns Cannot
   find 'London' or whatever. This is on two systems; anyone else notice
   this?
 
  Just tried it here, and had the same results as you wrote.
 
 This has been fixed upstream, but it's not in portage yet.
 
 http://forum.kde.org/viewtopic.php?f=67t=84388sid=db3072b20e6b7a1afaa29f2
 fe7c44d3c

There is a new version of yawp (0.3.2) which has the option of searching 
Accuweather and that works. 

HTH
-Robin
-- 
--
Robin Atwood.

Ship me somewheres east of Suez, where the best is like the worst,
 Where there ain't no Ten Commandments an' a man can raise a thirst
 from Mandalay by Rudyard Kipling
--











[gentoo-user] Trouble with weather plasmoids

2009-12-11 Thread Robin Atwood
Since the massive Qt 4.6.0/KDE 4.3.4 update I have noticed that the search 
widget for the various weather plasmoids always returns Cannot find 'London' 
or whatever. This is on two systems; anyone else notice this?

TIA
-Robin
-- 
--
Robin Atwood.

Ship me somewheres east of Suez, where the best is like the worst,
 Where there ain't no Ten Commandments an' a man can raise a thirst
 from Mandalay by Rudyard Kipling
--











Re: [gentoo-user] Looking for x86 or AMD64 disassembler

2009-12-06 Thread Robin Atwood
On Sunday 06 December 2009, David Relson wrote:
 
 Indeed, hexdump mbr would show me the bytes but I want to see the code
 as instructions.
 
 objdump works fine for ELF.  Being greedy, the ideal tool would handle
 all 3 formats.
 
 The immediate need is pure binary (like the MBR).  A couple of weeks
 ago I had to resort to an old DOS disassembler for a DOS executable.
 
 I'd be much happier with a straight Linux solution.

[I] dev-util/biew (5@28/12/08): A portable viewer of binary files, 
hexadecimal and disassembler modes.

HTH
-Robin
-- 
--
Robin Atwood.

Ship me somewheres east of Suez, where the best is like the worst,
 Where there ain't no Ten Commandments an' a man can raise a thirst
 from Mandalay by Rudyard Kipling
--











Re: [gentoo-user] [SOLVED] NFS poor performance, high system load

2009-11-25 Thread Robin Atwood
On Tuesday 24 November 2009, Hal Martin wrote:
 Roy Wright wrote:
  On Nov 23, 2009, at 8:11 PM, Hal Martin wrote:
  Hello all,
 
  Sorry if it seems like this is a repeat question, but I've gone through
  my Gentoo list for the past 2 years and none of the answers provided for
  previous threads on this seem to work for me. Here's the situation:
 
 
  /etc/exports:
  /mnt/daigo  192.168.0.31(rw,insecure)
  /etc/exports:
  /var/media
  192.168.80.0/24(async,no_subtree_check,rw,no_root_squash,insecure)
 
 That's fixed it! Thanks! I'm now getting ~50MB/s over NFS. System load
 is still up around 6, but I can live with that.

FWIW, I think it is the async option that makes the difference. It certainly 
fixed it for me when I had a similar problem.

-Robin
-- 
--
Robin Atwood.

Ship me somewheres east of Suez, where the best is like the worst,
 Where there ain't no Ten Commandments an' a man can raise a thirst
 from Mandalay by Rudyard Kipling
--











  1   2   3   >