Re: [gentoo-user] KDE menu missing: not solved !

2009-06-11 Thread Mick
On Thursday 11 June 2009, Philip Webb wrote:
> 090611 Philip Webb wrote:
> > You can test this by restoring the settings in KDE,
> > then without rebooting check they're there in Fluxbox,
> > then reboot & see what has happened, presumably they wb lost again.
>
> Actually, there are  2  possibilities, at user login & at reboot,
> so both need checking separately.

I've rebooted twice with same kernel (gentoo-2.6.29-r5) and the settings seem 
to have stuck.  Not sure what I've done differently before to cause the 
settings to be lost.

Its worth mentioning that I have experienced a few kernel oops with this 
kernel and xorg, which I have not yet resolved and I am not sure if an 
ungraceful shutdown might have contributed to the kde settings being lost.  
Will keep an eye on it.
-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Atheros kernel driver and my wireless access point setup

2009-06-11 Thread Graham Murray
Norman Rieß  writes:

> What do you want to do with your accesspoint. You will need a bridge
> to a wired network if you want your ap attached to that wired
> network. This is quite usual though...
> Without a bridge to a wired network, only the wlan systems are
> connected and can not connect to your wired systems.

Would it not normally be better to route between the wireless and wired
networks, with appropriate firewall rules in place, rather than bridging
them?



Re: [gentoo-user] Re: Official Gentoo MythTV Install Guide: never installs mythtv

2009-06-11 Thread Mike Kazantsev
On Thu, 11 Jun 2009 21:35:36 -0700
Mark Knecht  wrote:

> >> If you need help or jsut want to ask questions about flags or
> >> operation write back.
> >
> > It's just that I would have sworn I'd seen a pretty complete
> > Gentoo MythTv HOWTO at some point, but I sure can't find it
> > now.  [I was primarily interested in hints for doing a
> > "backend-only" install.] Anyway, I was surprised there didn't
> > seem to be a HOWTO.  I've done some fairly obscure stuff on
> > Gentoo, and I think this is the first time I've wanted to do
> > something and haven't found a detail HOWTO document.
> 
> I think that was all lost when the Gentoo WIki got wiped out. I
> remember what you are talking about but I don't remember seeing it in
> the last year.

But old gentoo-wiki pages were recovered from google cache and
now reside at gentoo-wiki.info.

  http://www.gentoo-wiki.info/HOWTO_Setup_MythTV
  http://www.gentoo-wiki.info/Category:MythTV

-- 
Mike Kazantsev // fraggod.net


signature.asc
Description: PGP signature


Re: [gentoo-user] Re: Official Gentoo MythTV Install Guide: never installs mythtv

2009-06-11 Thread Mark Knecht
On Thu, Jun 11, 2009 at 8:14 PM, Grant Edwards wrote:
> On 2009-06-12, Mark Knecht  wrote:
>
 I'm about to have a go at replacing my dedicated Knoppmyth
 FE/BE box with a backend on my "general purpose" Gentoo
 desktop and a dedicated diskless frontend on an Intel Mac
 Mini.

 Towards that end I'm looking at the "Official Gentoo MythTV
 Install Guide" at

   http://dev.gentoo.org/~cardoe/mythtv/

 I don't see anywhere in the process that mythtv is actually
 installed.
>
>> That doc was last updated in 2005. It's woefully out of date.
>
> You're right -- I hadn't noticed the last modified date.
> Unfortunately, the Gentoo wiki page on MythTv has a pointer to
> that page right at the top.
>
>      http://en.gentoo-wiki.com/wiki/MythTV
>
>> Use the Gentoo specific info on the www.MythTV.org site and
>> you'll do fine.
>
> At the risk of seeming a bit dim... what Gentoo specific info?
>
> The page at http://www.mythtv.org/wiki/Linux_Distros#Gentoo has
> 4 links to Gentoo setup guides.  Three of them don't exist, and
> the fourth is the previously mentioned "official" install guide
> that hasn't been updated in 4 years and doesn't actually show
> mythtv being installed.

That's the wiki, not the documentation.

http://www.mythtv.org/docs/

http://www.mythtv.org/docs/mythtv-HOWTO-5.html#ss5.5

then under

http://www.mythtv.org/docs/mythtv-HOWTO-6.html


Gentoo

After installing MySQL you need to initialize the database by running
mysql_install_db as root.

and later...

Gentoo

$ su
# mysql < /usr/share/mythtv/database/mc.sql

Anyway, if you go through these docs I think there's enough for you to
get running, although the specific USE flags you might want are
probably not well documented here.

>
>> If you need help or jsut want to ask questions about flags or
>> operation write back.
>
> It's just that I would have sworn I'd seen a pretty complete
> Gentoo MythTv HOWTO at some point, but I sure can't find it
> now.  [I was primarily interested in hints for doing a
> "backend-only" install.] Anyway, I was surprised there didn't
> seem to be a HOWTO.  I've done some fairly obscure stuff on
> Gentoo, and I think this is the first time I've wanted to do
> something and haven't found a detail HOWTO document.

I think that was all lost when the Gentoo WIki got wiped out. I
remember what you are talking about but I don't remember seeing it in
the last year.

Hope this helps,
Mark



[gentoo-user] Re: Official Gentoo MythTV Install Guide: never installs mythtv

2009-06-11 Thread Grant Edwards
On 2009-06-12, Mark Knecht  wrote:

>>> I'm about to have a go at replacing my dedicated Knoppmyth
>>> FE/BE box with a backend on my "general purpose" Gentoo
>>> desktop and a dedicated diskless frontend on an Intel Mac
>>> Mini.
>>>
>>> Towards that end I'm looking at the "Official Gentoo MythTV
>>> Install Guide" at
>>>
>>>   http://dev.gentoo.org/~cardoe/mythtv/
>>>
>>> I don't see anywhere in the process that mythtv is actually
>>> installed.

> That doc was last updated in 2005. It's woefully out of date.

You're right -- I hadn't noticed the last modified date.
Unfortunately, the Gentoo wiki page on MythTv has a pointer to
that page right at the top.

  http://en.gentoo-wiki.com/wiki/MythTV

> Use the Gentoo specific info on the www.MythTV.org site and
> you'll do fine.

At the risk of seeming a bit dim... what Gentoo specific info?

The page at http://www.mythtv.org/wiki/Linux_Distros#Gentoo has
4 links to Gentoo setup guides.  Three of them don't exist, and
the fourth is the previously mentioned "official" install guide
that hasn't been updated in 4 years and doesn't actually show
mythtv being installed.

> If you need help or jsut want to ask questions about flags or
> operation write back.

It's just that I would have sworn I'd seen a pretty complete
Gentoo MythTv HOWTO at some point, but I sure can't find it
now.  [I was primarily interested in hints for doing a
"backend-only" install.] Anyway, I was surprised there didn't
seem to be a HOWTO.  I've done some fairly obscure stuff on
Gentoo, and I think this is the first time I've wanted to do
something and haven't found a detail HOWTO document.

-- 
Grant





Re: [gentoo-user] Re: Official Gentoo MythTV Install Guide: never installs mythtv

2009-06-11 Thread Mark Knecht
On Thu, Jun 11, 2009 at 7:03 PM, Grant Edwards wrote:
> On 2009-06-12, Grant Edwards  wrote:
>> I'm about to have a go at replacing my dedicated Knoppmyth
>> FE/BE box with a backend on my "general purpose" Gentoo desktop
>> and a dedicated diskless frontend on an Intel Mac Mini.
>>
>> Towards that end I'm looking at the "Official Gentoo MythTV
>> Install Guide" at
>>
>>   http://dev.gentoo.org/~cardoe/mythtv/
>>
>> I don't see anywhere in the process that mythtv is actually
>> installed.
>
> I just read through it again.  The only packages I see being
> installed are ntp and opengl-update.
>
> Something's missing...
>
> --
> Grant

That doc was last updated in 2005. It's woefully out of date.

Use the Gentoo specific info on the www.MythTV.org site and you'll do fine.

If you need help or jsut want to ask questions about flags or
operation write back.

good luck,,
Mark



Re: [gentoo-user] wireless access point setup - bridging vs. routing (Was: Atheros kernel driver)

2009-06-11 Thread Grant
 I've almost got this working, but I don't know what to include in the
 /etc/conf.d/hostapd INTERFACES variable since I don't have a br0
 device or configuration.  Do I need one?  If I leave INTERFACES empty
 and I don't start net.wlan0, I don't have a way to define the IP
 address for the AP, and shorewall's "loc" zone is empty because
 net.wlan0 hasn't started.
>>>
>>> What do you want to do with your accesspoint. You will need a bridge to a
>>> wired network if you want your ap attached to that wired network. This is
>>> quite usual though...
>>> Without a bridge to a wired network, only the wlan systems are connected
>>> and
>>> can not connect to your wired systems.
>>
>> That's no problem, I'm OK with keeping eth1 and wlan0 separate.  Right
>> now I just want to get wlan0 working.  Do you know how to do that?  I
>> can't start net.wlan0 because it chokes on master mode, so I don't
>> know how to specify an IP for the AP or how to fill shorewall's "loc"
>> zone as that is normally filled by net.wlan0.
>
> Hi there,
>
> I haven't used Shorewall, but for this you probably want to use bridging. I
> fear that may not be available in Shorewall's UI.
>
> I originally wrote ,
> but that was some years ago now. It has had many contributions since, but I
> have no idea if it's up to date.
>
> Anyway, using the "simple NAT-forwarding setup" described in that article
> (surely possible in Shorewall) the wireless laptop can access the internet
> and wired PCs on the LAN. However it is not possible for wired PCs to (say)
> browse to file shares on the laptop without port-forwarding - because you
> use a NAT, you have exactly the same problem as accessing your home-server
> from the office.
>
> Bridging brings the wireless clients *seamlessly* into the wired LAN - they
> behave exactly like the wired clients do. One can install Apache on the
> wireless laptop and immediately connect to it from a wired PC. This is how
> all standalone ADSL wireless routers (eg Netgear DG834G) operate.
>
> I can't be of much practical help, as I have for some time been using a Fon
> access-point, which is plugged into a network switch near my desk and which
> gives me NATted wifi. It works, but I sure do miss teleportd
> , which is crippled without
> bridging.
>
> Stroller.

Thanks Stroller.  I'm into bridging eth1 and wlan0, but the truth is I
don't even have an eth1 right now, although I plan to in the future.
When I get eth1 going I'll bridge em for sure.

- Grant



Re: [gentoo-user] Atheros kernel driver and my wireless access point setup

2009-06-11 Thread Grant
>>> What do you want to do with your accesspoint. You will need a bridge to a
>>> wired network if you want your ap attached to that wired network. This is
>>> quite usual though...
>>> Without a bridge to a wired network, only the wlan systems are connected
>>> and
>>> can not connect to your wired systems.
>>>
>>
>> That's no problem, I'm OK with keeping eth1 and wlan0 separate.  Right
>> now I just want to get wlan0 working.  Do you know how to do that?  I
>> can't start net.wlan0 because it chokes on master mode, so I don't
>> know how to specify an IP for the AP or how to fill shorewall's "loc"
>> zone as that is normally filled by net.wlan0.
>>
>> - Grant
>>
>>
>
> Leave INTERFACES blank. As you keep the networks seperated, hostapd does not
> depend on any other devices.
> wlan0 is initialized by hostapd. So you are good to go.
> The accesspoint itself, so to say the wlan part does not have any IP adress,
> at it is merely a connectionpoint for normal wlan systems. The IP adress to
> your device however is defined by the other nics. In your case eth1.

I don't have eth1 set up yet.  For now I just want eth0 on the WAN and
wlan0 on the LAN.  eth0 dhcp's from my ISP, but I need to specify a
local IP address for my LAN somewhere right?

> For the shorewall business, you have to tell, what you want to do with
> shorewall exactely.
> I dare say you have a wlan zone as your AP and a loc zone with eth1. As i am
> using bridging i can not tell you if and how shorewall responds.
> But if you want to keep eth1 an wlan0 seperate, what so you need shorewall
> for?

Since the AP system is also the router, I use shorewall for NAT, port
closing, port forwarding, and packet shaping.  shorewall gives an
empty loc zone error if I don't have net.wlan0 started because wlan0
is the only loc interface.

- Grant



[gentoo-user] Re: Official Gentoo MythTV Install Guide: never installs mythtv

2009-06-11 Thread Grant Edwards
On 2009-06-12, Grant Edwards  wrote:
> I'm about to have a go at replacing my dedicated Knoppmyth
> FE/BE box with a backend on my "general purpose" Gentoo desktop
> and a dedicated diskless frontend on an Intel Mac Mini.
>
> Towards that end I'm looking at the "Official Gentoo MythTV
> Install Guide" at 
>
>   http://dev.gentoo.org/~cardoe/mythtv/
>
> I don't see anywhere in the process that mythtv is actually
> installed.

I just read through it again.  The only packages I see being
installed are ntp and opengl-update.

Something's missing...

-- 
Grant




[gentoo-user] Official Gentoo MythTV Install Guide: never installs mythtv

2009-06-11 Thread Grant Edwards
I'm about to have a go at replacing my dedicated Knoppmyth
FE/BE box with a backend on my "general purpose" Gentoo desktop
and a dedicated diskless frontend on an Intel Mac Mini.

Towards that end I'm looking at the "Official Gentoo MythTV
Install Guide" at 

  http://dev.gentoo.org/~cardoe/mythtv/

I don't see anywhere in the process that mythtv is actually
installed.

Am I missing something?

Is that document "no longer operative"?  If so, it's
unfortunate that it's the first hit returned by Google for the
query gentoo http://www.google.com/search?q=gentoo+mythtv

[I think most of us great unwashed would presume a document
found on gentoo.org entitled the "official install guide" would
in fact be the official install guide...]

-- 
Grant Edwards   grante Yow! Are we laid back yet?
  at   
   visi.com




Re: [gentoo-user] Atheros kernel driver and my wireless access point setup

2009-06-11 Thread Norman Rieß



What do you want to do with your accesspoint. You will need a bridge to a
wired network if you want your ap attached to that wired network. This is
quite usual though...
Without a bridge to a wired network, only the wlan systems are connected and
can not connect to your wired systems.



That's no problem, I'm OK with keeping eth1 and wlan0 separate.  Right
now I just want to get wlan0 working.  Do you know how to do that?  I
can't start net.wlan0 because it chokes on master mode, so I don't
know how to specify an IP for the AP or how to fill shorewall's "loc"
zone as that is normally filled by net.wlan0.

- Grant

  
Leave INTERFACES blank. As you keep the networks seperated, hostapd does 
not depend on any other devices.

wlan0 is initialized by hostapd. So you are good to go.
The accesspoint itself, so to say the wlan part does not have any IP 
adress, at it is merely a connectionpoint for normal wlan systems. The 
IP adress to your device however is defined by the other nics. In your 
case eth1.
For the shorewall business, you have to tell, what you want to do with 
shorewall exactely.
I dare say you have a wlan zone as your AP and a loc zone with eth1. As 
i am using bridging i can not tell you if and how shorewall responds.
But if you want to keep eth1 an wlan0 seperate, what so you need 
shorewall for?




[gentoo-user] wireless access point setup - bridging vs. routing (Was: Atheros kernel driver)

2009-06-11 Thread Stroller


On 12 Jun 2009, at 00:38, Grant wrote:

...
I've almost got this working, but I don't know what to include in  
the

/etc/conf.d/hostapd INTERFACES variable since I don't have a br0
device or configuration.  Do I need one?  If I leave INTERFACES  
empty

and I don't start net.wlan0, I don't have a way to define the IP
address for the AP, and shorewall's "loc" zone is empty because
net.wlan0 hasn't started.


What do you want to do with your accesspoint. You will need a  
bridge to a
wired network if you want your ap attached to that wired network.  
This is

quite usual though...
Without a bridge to a wired network, only the wlan systems are  
connected and

can not connect to your wired systems.


That's no problem, I'm OK with keeping eth1 and wlan0 separate.  Right
now I just want to get wlan0 working.  Do you know how to do that?  I
can't start net.wlan0 because it chokes on master mode, so I don't
know how to specify an IP for the AP or how to fill shorewall's "loc"
zone as that is normally filled by net.wlan0.


Hi there,

I haven't used Shorewall, but for this you probably want to use  
bridging. I fear that may not be available in Shorewall's UI.


I originally wrote , but that was some years ago now. It has had many  
contributions since, but I have no idea if it's up to date.


Anyway, using the "simple NAT-forwarding setup" described in that  
article (surely possible in Shorewall) the wireless laptop can access  
the internet and wired PCs on the LAN. However it is not possible for  
wired PCs to (say) browse to file shares on the laptop without port- 
forwarding - because you use a NAT, you have exactly the same problem  
as accessing your home-server from the office.


Bridging brings the wireless clients *seamlessly* into the wired LAN -  
they behave exactly like the wired clients do. One can install Apache  
on the wireless laptop and immediately connect to it from a wired PC.  
This is how all standalone ADSL wireless routers (eg Netgear DG834G)  
operate.


I can't be of much practical help, as I have for some time been using  
a Fon access-point, which is plugged into a network switch near my  
desk and which gives me NATted wifi. It works, but I sure do miss  
teleportd , which is crippled  
without bridging.


Stroller.



Re: [gentoo-user] Atheros kernel driver and my wireless access point setup

2009-06-11 Thread Grant
>> Thanks for the clarification Norman :-)
>>
>> ok, I removed net.wlan0 so it doesn't start up anymore. My computer
>> booted
>> up and all the services are working the way they should, however I am
>> having a problem getting hostapd to start. Here is the error I get
>> when
>> I
>> tried to start up hostapd...
>>
>> penguin ~ # /etc/init.d/hostapd start
>> * Bringing up interface wlan0
>> *   Configuring wireless network for wlan0
>> *   Scanning for access points
>> *     no access points found
>> *   Failed to configure wireless for wlan0
>> * ERROR: net.wlan0 failed to start
>> * ERROR: cannot start hostapd as net.wlan0 would not start
>>
>> It's suppose to be an access point, not scanning for one so do you
>> have
>> any idea what I should do now?
>>
>>
>>
>>
>>
>
> Did you remove wlan0 from the /etc/conf.d/hostapd file?
>
>
>
>

 No, should I just leave it empty?
 INTERFACES=""

 What about /etc/hostapd/hostapd.conf?
 Do I leave it like this...
 interface=wlan0
 ...or remove that line too?



>>>
>>> INTERFACES should at least contain the bridge device. The wired NIC does
>>> not
>>> hurt either.
>>> In /etc/hostapd/hostapd.conf wlan0 is needed to tell hostapd which device
>>> it
>>> has to initialize, so leave it like this.
>>>
>>
>> I've almost got this working, but I don't know what to include in the
>> /etc/conf.d/hostapd INTERFACES variable since I don't have a br0
>> device or configuration.  Do I need one?  If I leave INTERFACES empty
>> and I don't start net.wlan0, I don't have a way to define the IP
>> address for the AP, and shorewall's "loc" zone is empty because
>> net.wlan0 hasn't started.
>>
>> - Grant
>>
>>
>
> What do you want to do with your accesspoint. You will need a bridge to a
> wired network if you want your ap attached to that wired network. This is
> quite usual though...
> Without a bridge to a wired network, only the wlan systems are connected and
> can not connect to your wired systems.

That's no problem, I'm OK with keeping eth1 and wlan0 separate.  Right
now I just want to get wlan0 working.  Do you know how to do that?  I
can't start net.wlan0 because it chokes on master mode, so I don't
know how to specify an IP for the AP or how to fill shorewall's "loc"
zone as that is normally filled by net.wlan0.

- Grant



Re: [gentoo-user] Atheros kernel driver and my wireless access point setup

2009-06-11 Thread Norman Rieß

Grant schrieb:

Thanks for the clarification Norman :-)

ok, I removed net.wlan0 so it doesn't start up anymore. My computer
booted
up and all the services are working the way they should, however I am
having a problem getting hostapd to start. Here is the error I get when
I
tried to start up hostapd...

penguin ~ # /etc/init.d/hostapd start
* Bringing up interface wlan0
*   Configuring wireless network for wlan0
*   Scanning for access points
* no access points found
*   Failed to configure wireless for wlan0
* ERROR: net.wlan0 failed to start
* ERROR: cannot start hostapd as net.wlan0 would not start

It's suppose to be an access point, not scanning for one so do you have
any idea what I should do now?




  

Did you remove wlan0 from the /etc/conf.d/hostapd file?





No, should I just leave it empty?
INTERFACES=""

What about /etc/hostapd/hostapd.conf?
Do I leave it like this...
interface=wlan0
...or remove that line too?


  

INTERFACES should at least contain the bridge device. The wired NIC does not
hurt either.
In /etc/hostapd/hostapd.conf wlan0 is needed to tell hostapd which device it
has to initialize, so leave it like this.



I've almost got this working, but I don't know what to include in the
/etc/conf.d/hostapd INTERFACES variable since I don't have a br0
device or configuration.  Do I need one?  If I leave INTERFACES empty
and I don't start net.wlan0, I don't have a way to define the IP
address for the AP, and shorewall's "loc" zone is empty because
net.wlan0 hasn't started.

- Grant

  
What do you want to do with your accesspoint. You will need a bridge to 
a wired network if you want your ap attached to that wired network. This 
is quite usual though...
Without a bridge to a wired network, only the wlan systems are connected 
and can not connect to your wired systems.




Re: [gentoo-user] Atheros kernel driver and my wireless access point setup

2009-06-11 Thread Grant
 Thanks for the clarification Norman :-)

 ok, I removed net.wlan0 so it doesn't start up anymore. My computer
 booted
 up and all the services are working the way they should, however I am
 having a problem getting hostapd to start. Here is the error I get when
 I
 tried to start up hostapd...

 penguin ~ # /etc/init.d/hostapd start
 * Bringing up interface wlan0
 *   Configuring wireless network for wlan0
 *   Scanning for access points
 *     no access points found
 *   Failed to configure wireless for wlan0
 * ERROR: net.wlan0 failed to start
 * ERROR: cannot start hostapd as net.wlan0 would not start

 It's suppose to be an access point, not scanning for one so do you have
 any idea what I should do now?




>>>
>>> Did you remove wlan0 from the /etc/conf.d/hostapd file?
>>>
>>>
>>>
>>
>> No, should I just leave it empty?
>> INTERFACES=""
>>
>> What about /etc/hostapd/hostapd.conf?
>> Do I leave it like this...
>> interface=wlan0
>> ...or remove that line too?
>>
>>
>
> INTERFACES should at least contain the bridge device. The wired NIC does not
> hurt either.
> In /etc/hostapd/hostapd.conf wlan0 is needed to tell hostapd which device it
> has to initialize, so leave it like this.

I've almost got this working, but I don't know what to include in the
/etc/conf.d/hostapd INTERFACES variable since I don't have a br0
device or configuration.  Do I need one?  If I leave INTERFACES empty
and I don't start net.wlan0, I don't have a way to define the IP
address for the AP, and shorewall's "loc" zone is empty because
net.wlan0 hasn't started.

- Grant



[gentoo-user] Re: [OT] ESATA drive changes the root device -- how to deal with it?

2009-06-11 Thread walt

walt wrote:

Okay, my root partition is on /dev/sda (normally), which is a sata
drive connected to the onboard sata controller.

The problem is that I also have a plug-in ESATA docking station, which
is not always powered on. When it *is* powered on, my kernel names the
disk /dev/sda, and that forces the root device to be named /dev/sdb
instead of sda. Crashing ensues during bootup...


Here's an interesting factoid -- somewhere between kernel 2.6.28 and
2.6.30, the system for naming scsi disks changed.  All I did was use
a newer kernel and the reversing device names went away.





Re: [gentoo-user] kernel config for eee w/Atom N270 CPU

2009-06-11 Thread Paul Hartman
On Thu, Jun 11, 2009 at 3:07 PM, Kelly Hirai wrote:
> the N270 is a single core with hyperthreading, which will apear as 2
> cpus (with the same core id) in dmesg.

Ah, I forgot about hyperthreading masquerading as multiple CPUs. In
that case, Maxim can safely disable SMP if he wants to. I don't know
if the theoretical speed gains of disabling SMP outweigh the
theoretical speed gains of enabling hyperthreading. I think it'll
probably be about the same either way.



Re: [gentoo-user] kernel config for eee w/Atom N270 CPU

2009-06-11 Thread Florian Philipp
Maxim Wexler schrieb:
> On 6/11/09, Paul Hartman  wrote:
>> On Thu, Jun 11, 2009 at 1:14 PM, Maxim Wexler wrote:
>>> Hi group,
>>>
>>> Been tracking down other's kern config for 900A w/ N270 Atom cpu and
>>> notice, so far, everyone goes for CONFIG_SMP=y. Why, particularly when
>>> most commenters stress keeping the kernel as slim as possible?
>>>
>>> In the  window we have 'If you have a system with only one CPU,
>>> like most personal computers, say N.' As far as I know the 900A has
>>> only one CPU, unless there is some sort of virtual one I haven't heard
>>> of yet.
>> Does the CPU have multiple cores? If so, that's probably why.
>>
> 
> hmm, when I %cat /proc/cpuinfo I get processor :0 at the top of a list
> of stuff then, just below that, processor :1 at the top of an
> identical list.
> 
> Are those two cores? I think CONFIG_MCORE2=y is recommended for the
> Atom. Does MCORE2 mean 'two cores' or 'core no.2'? The 
> window(under Symmetric multi-processor support) says nothing about
> 'cores'  Are 'cores' and 'cpus' the same thing in this context?
> 
> Well, this has taken me all morning and half the afternoon and I
> haven't even started 'Power management...' options yet. I'll just say
> 'yes' to SMP and carry on. Hopefully have the definitive answer  by
> midnight and I can make the darn kernel.
> 
> mw
> 
> mw
> 

The N270 (as well as any other 2xx Atom) has one core. However, it
supports HyperThreading which produces that second entry in /proc/cpuinfo.

For this, you need SMP as well as SMT (an option which you will only see
when SMP is enabled).



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] kernel config for eee w/Atom N270 CPU

2009-06-11 Thread Paul Hartman
On Thu, Jun 11, 2009 at 2:56 PM, Maxim Wexler wrote:
> On 6/11/09, Paul Hartman  wrote:
>> On Thu, Jun 11, 2009 at 1:14 PM, Maxim Wexler wrote:
>>> Hi group,
>>>
>>> Been tracking down other's kern config for 900A w/ N270 Atom cpu and
>>> notice, so far, everyone goes for CONFIG_SMP=y. Why, particularly when
>>> most commenters stress keeping the kernel as slim as possible?
>>>
>>> In the  window we have 'If you have a system with only one CPU,
>>> like most personal computers, say N.' As far as I know the 900A has
>>> only one CPU, unless there is some sort of virtual one I haven't heard
>>> of yet.
>>
>> Does the CPU have multiple cores? If so, that's probably why.
>>
>
> hmm, when I %cat /proc/cpuinfo I get processor :0 at the top of a list
> of stuff then, just below that, processor :1 at the top of an
> identical list.
>
> Are those two cores? I think CONFIG_MCORE2=y is recommended for the
> Atom. Does MCORE2 mean 'two cores' or 'core no.2'? The 
> window(under Symmetric multi-processor support) says nothing about
> 'cores'  Are 'cores' and 'cpus' the same thing in this context?
>
> Well, this has taken me all morning and half the afternoon and I
> haven't even started 'Power management...' options yet. I'll just say
> 'yes' to SMP and carry on. Hopefully have the definitive answer  by
> midnight and I can make the darn kernel.

That is correct, SMP is required to use the multi-core option.
Multi-Cores and SMP are not the same thing, but are "basically" the
same thing, so the same code handles both. It appears you do have a
dual-core CPU, so you should use SMP and the multi-core option in your
kernel config. Otherwise you'll only be using half of your processor's
ability.



Re: [gentoo-user] kernel config for eee w/Atom N270 CPU

2009-06-11 Thread Kelly Hirai
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

the N270 is a single core with hyperthreading, which will apear as 2
cpus (with the same core id) in dmesg.

k.


Paul Hartman wrote:
> On Thu, Jun 11, 2009 at 1:14 PM, Maxim Wexler wrote:
>> Hi group,
>>
>> Been tracking down other's kern config for 900A w/ N270 Atom cpu and
>> notice, so far, everyone goes for CONFIG_SMP=y. Why, particularly when
>> most commenters stress keeping the kernel as slim as possible?
>>
>> In the  window we have 'If you have a system with only one CPU,
>> like most personal computers, say N.' As far as I know the 900A has
>> only one CPU, unless there is some sort of virtual one I haven't heard
>> of yet.
> 
> Does the CPU have multiple cores? If so, that's probably why.
> 

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkoxY/IACgkQaI4xTzulgR/UogCcDhBPtPP53Jsmm0zz+B0L0g7l
LzYAoMtXWYfA60RpdFAOQHSJv9D5N1fV
=/RR8
-END PGP SIGNATURE-



Re: [gentoo-user] kernel config for eee w/Atom N270 CPU

2009-06-11 Thread Maxim Wexler
On 6/11/09, Paul Hartman  wrote:
> On Thu, Jun 11, 2009 at 1:14 PM, Maxim Wexler wrote:
>> Hi group,
>>
>> Been tracking down other's kern config for 900A w/ N270 Atom cpu and
>> notice, so far, everyone goes for CONFIG_SMP=y. Why, particularly when
>> most commenters stress keeping the kernel as slim as possible?
>>
>> In the  window we have 'If you have a system with only one CPU,
>> like most personal computers, say N.' As far as I know the 900A has
>> only one CPU, unless there is some sort of virtual one I haven't heard
>> of yet.
>
> Does the CPU have multiple cores? If so, that's probably why.
>

hmm, when I %cat /proc/cpuinfo I get processor :0 at the top of a list
of stuff then, just below that, processor :1 at the top of an
identical list.

Are those two cores? I think CONFIG_MCORE2=y is recommended for the
Atom. Does MCORE2 mean 'two cores' or 'core no.2'? The 
window(under Symmetric multi-processor support) says nothing about
'cores'  Are 'cores' and 'cpus' the same thing in this context?

Well, this has taken me all morning and half the afternoon and I
haven't even started 'Power management...' options yet. I'll just say
'yes' to SMP and carry on. Hopefully have the definitive answer  by
midnight and I can make the darn kernel.

mw

mw



[gentoo-user] Re: [OT] ESATA drive changes the root device -- how to deal with it?

2009-06-11 Thread walt

Stroller wrote:


On 11 Jun 2009, at 16:37, Volker Armin Hemmann wrote:

On Donnerstag 11 Juni 2009, walt wrote:

...
The problem is that I also have a plug-in ESATA docking station, which
is not always powered on. When it *is* powered on, my kernel names the
disk /dev/sda, and that forces the root device to be named /dev/sdb
instead of sda. Crashing ensues during bootup.
...
I've tried using a disk label in fstab instead of a device name, but the
problem is that the kernel mounts the wrong partition before it has a
chance to read fstab.
...

afaik you can use labels in grubtoo.


I believe you need an initrd/initramfs in order to do so.

See Neil Bothwick's first post:
http://www.mail-archive.com/gentoo-user@lists.gentoo.org/msg81584.html


That's a very interesting link, thanks.




Re: [gentoo-user] kernel config for eee w/Atom N270 CPU

2009-06-11 Thread Paul Hartman
On Thu, Jun 11, 2009 at 1:14 PM, Maxim Wexler wrote:
> Hi group,
>
> Been tracking down other's kern config for 900A w/ N270 Atom cpu and
> notice, so far, everyone goes for CONFIG_SMP=y. Why, particularly when
> most commenters stress keeping the kernel as slim as possible?
>
> In the  window we have 'If you have a system with only one CPU,
> like most personal computers, say N.' As far as I know the 900A has
> only one CPU, unless there is some sort of virtual one I haven't heard
> of yet.

Does the CPU have multiple cores? If so, that's probably why.



Re: [gentoo-user] Can I exclude a package from --depclean's consideration?

2009-06-11 Thread Paul Hartman
On Thu, Jun 11, 2009 at 11:45 AM, Mike Kazantsev wrote:
>> So, my question: Is there a way to tell depclean to never remove *any*
>> version of gentoo-sources?
>
> That's where portage-2.2 sets find another use.
> Just add following set to /usr/share/portage/config/sets.conf:
>
>  [kernels]
>  class = portage.sets.dbapi.OwnerSet
>  world-candidate = False
>  files = /usr/src
>
> And append "@kernels" line to /var/lib/portage/world_sets
> Now any installed (even with -1) kernel should be safe from ravenous
> depclean.

Perfect! It does exactly what I wanted. I created sets.conf in
/etc/portage/ as Boris pointed out.

Thank you very much for your help!



Re: [gentoo-user] Re: Can I exclude a package from --depclean's consideration?

2009-06-11 Thread Paul Hartman
On Thu, Jun 11, 2009 at 12:04 PM, Nikos Chantziaras wrote:
> On 06/11/2009 07:22 PM, Paul Hartman wrote:
>>
>> "emerge --depclean" always wants to remove all but the most recent
>> version of gentoo-sources. I read the manpage and can't figure out how
>> to exclude this package. The manpage states:
>>
>> "Packages that are part of the world set will always be kept."
>
> If you read the man page (man emerge) you'll arrive at:
>
>  emerge --noreplace =gentoo-sources-1.2.3-r4

That is what I'm already doing (recording version-specific atom in my
world file). I was trying to find a more generic way, that will
prevent me from the need to specify exact versions. Thanks :)



[gentoo-user] kernel config for eee w/Atom N270 CPU

2009-06-11 Thread Maxim Wexler
Hi group,

Been tracking down other's kern config for 900A w/ N270 Atom cpu and
notice, so far, everyone goes for CONFIG_SMP=y. Why, particularly when
most commenters stress keeping the kernel as slim as possible?

In the  window we have 'If you have a system with only one CPU,
like most personal computers, say N.' As far as I know the 900A has
only one CPU, unless there is some sort of virtual one I haven't heard
of yet.

Maxim



Re: [gentoo-user] [OT] ESATA drive changes the root device -- how to deal with it?

2009-06-11 Thread Stroller


On 11 Jun 2009, at 16:37, Volker Armin Hemmann wrote:

On Donnerstag 11 Juni 2009, walt wrote:

...
The problem is that I also have a plug-in ESATA docking station,  
which
is not always powered on.  When it *is* powered on, my kernel names  
the

disk /dev/sda, and that forces the root device to be named /dev/sdb
instead of sda.  Crashing ensues during bootup.
...
I've tried using a disk label in fstab instead of a device name,  
but the

problem is that the kernel mounts the wrong partition before it has a
chance to read fstab.
...

afaik you can use labels in grubtoo.


I believe  you need an initrd/initramfs in order to do so.

See Neil Bothwick's first post:
http://www.mail-archive.com/gentoo-user@lists.gentoo.org/msg81584.html

Stroller.



Re: [gentoo-user] Fonts and OpenOffice

2009-06-11 Thread Florian Philipp
Marco schrieb:
> On Thu, Jun 11, 2009 at 3:27 PM, Florian
> Philipp wrote:
>> Marco schrieb:
>>> Hi,
>>>
>>> I am using OpenOffice and am missing the Helvetica font. If I run fc-list:
>>>
[...]
>>>
>>> It seems that the Helvetica fonts are installed on my system.
>>> Nevertheless, they don't show up in OpenOffice. Any tips on how to use
>>> them in Oo?
>>>
>> At least on my system, Helvetica is a bitmap font. OOo doesn't seem to
>> put these in its font list.
> 
> Hi,
> 
> how can i see if a font is a bitmap or a truetype?
> 

Just look at it in a font viewer like media-gfx/gnome-specimen. A bitmap
font gets uglier when it gets bigger (e.g. you can identify single
pixels when they are scaled up).



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Can I exclude a package from --depclean's consideration?

2009-06-11 Thread Mike Kazantsev
On Thu, 11 Jun 2009 19:03:31 +0200
Boris Fersing  wrote:

> did you read the first lines of this file ?
> 
> # WARNING: default set configuration, DO NOT CHANGE.
> # If you want to change anything redefine the relevant section in
> # /etc/portage/sets.conf. Any changes to this file will be lost on the next
> # portage update, and configuration errors here might upset portage in
> # unexpected ways.

Guess it's some kind of mind-habit of avoiding uppercase text in the
head of important configuration files, sorry.

-- 
Mike Kazantsev // fraggod.net


signature.asc
Description: PGP signature


[gentoo-user] Re: Can I exclude a package from --depclean's consideration?

2009-06-11 Thread Nikos Chantziaras

On 06/11/2009 07:22 PM, Paul Hartman wrote:

"emerge --depclean" always wants to remove all but the most recent
version of gentoo-sources. I read the manpage and can't figure out how
to exclude this package. The manpage states:

"Packages that are part of the world set will always be kept."


If you read the man page (man emerge) you'll arrive at:

  emerge --noreplace =gentoo-sources-1.2.3-r4




Re: [gentoo-user] Can I exclude a package from --depclean's consideration?

2009-06-11 Thread Boris Fersing
On Thu, Jun 11, 2009 at 18:45, Mike Kazantsev wrote:
> On Thu, 11 Jun 2009 11:22:41 -0500
> Paul Hartman  wrote:
>
>> "emerge --depclean" always wants to remove all but the most recent
>> version of gentoo-sources. I read the manpage and can't figure out how
>> to exclude this package. The manpage states:
>>
>> "Packages that are part of the world set will always be kept."
>>
>> However, if I have sys-kernel/gentoo-sources in world, it still wants
>> to remove all but the most recent version of that package, which I
>> think is the correct behavior... just not what I desire.
>
> It's kinda case of "italian strike" - doing the job to the letter ;)
>
>
>> So, my question: Is there a way to tell depclean to never remove *any*
>> version of gentoo-sources?
>
> That's where portage-2.2 sets find another use.
> Just add following set to /usr/share/portage/config/sets.conf:
>
>  [kernels]
>  class = portage.sets.dbapi.OwnerSet
>  world-candidate = False
>  files = /usr/src

Hi,

did you read the first lines of this file ?

# WARNING: default set configuration, DO NOT CHANGE.
# If you want to change anything redefine the relevant section in
# /etc/portage/sets.conf. Any changes to this file will be lost on the next
# portage update, and configuration errors here might upset portage in
# unexpected ways.

Please make all the changes in /etc/portage/

regards,

Boris
>
> And append "@kernels" line to /var/lib/portage/world_sets
> Now any installed (even with -1) kernel should be safe from ravenous
> depclean.
>
>
> --
> Mike Kazantsev // fraggod.net
>



-- 
42



Re: [gentoo-user] Can I exclude a package from --depclean's consideration?

2009-06-11 Thread Mike Kazantsev
On Thu, 11 Jun 2009 11:22:41 -0500
Paul Hartman  wrote:

> "emerge --depclean" always wants to remove all but the most recent
> version of gentoo-sources. I read the manpage and can't figure out how
> to exclude this package. The manpage states:
> 
> "Packages that are part of the world set will always be kept."
> 
> However, if I have sys-kernel/gentoo-sources in world, it still wants
> to remove all but the most recent version of that package, which I
> think is the correct behavior... just not what I desire.

It's kinda case of "italian strike" - doing the job to the letter ;)


> So, my question: Is there a way to tell depclean to never remove *any*
> version of gentoo-sources?

That's where portage-2.2 sets find another use.
Just add following set to /usr/share/portage/config/sets.conf:

  [kernels]
  class = portage.sets.dbapi.OwnerSet
  world-candidate = False
  files = /usr/src

And append "@kernels" line to /var/lib/portage/world_sets
Now any installed (even with -1) kernel should be safe from ravenous
depclean.


-- 
Mike Kazantsev // fraggod.net


signature.asc
Description: PGP signature


Re: [gentoo-user] Lost free space on /

2009-06-11 Thread Mick
2009/6/11 Alexander Pilipovsky :
> bn and KH, exuse me if I send not a good question, I have no many experience
> yet :)

(try to avoid top-posts in this mailing list)

I think it has already been suggested:

Use logrotate to keep your logs down to a sensible size.

Also, you may want to empty ccache if you have it enabled.  ccache -C
will clear it out completely.  My /var/tmp is around 886M, half of
which is taken up by ccache at this moment in time.

HTH.
-- 
Regards,
Mick



[gentoo-user] Re: Fonts and OpenOffice

2009-06-11 Thread Nikos Chantziaras

On 06/11/2009 06:46 PM, Marco wrote:

how can i see if a font is a bitmap or a truetype?


If it offers all sizes instead of only a few ones, it's truetype.  If 
not, it's bitmap.


I don't think a truetype version of Helvetica is in any portage package. 
 You will have to grab the font from somewhere else and install it 
manually.  If you're using KDE, you can do that with its font installer.


There's a clone of Helvetica though in the media-fonts/liberation-fonts 
package.  It's recreation of Helvetica, Times and Courier with a "free" 
license.  I prefer the original though; it's easy to get it if you can 
use Google.





Re: [gentoo-user] KDE menu missing: not solved !

2009-06-11 Thread Philip Webb
090611 Philip Webb wrote:
> You can test this by restoring the settings in KDE,
> then without rebooting check they're there in Fluxbox,
> then reboot & see what has happened, presumably they wb lost again.

Actually, there are  2  possibilities, at user login & at reboot,
so both need checking separately.

-- 
,,
SUPPORT ___//___,   Philip Webb
ELECTRIC   /] [] [] [] [] []|   Cities Centre, University of Toronto
TRANSIT`-O--O---'   purslowatchassdotutorontodotca




Re: [gentoo-user] KDE menu missing: not solved !

2009-06-11 Thread Philip Webb
090611 Mick wrote:
> I spoke too soon.
> This morning same story ... Menus are not present and running
> There must be a more intelligent fix to this than me booting into KDE
> every time I want to use a KDE application ?
> What's up with your KDE menu Philip?
> Were you able to make the changes stick?

I checked Krusader on Fluxbox & no the changes haven't stuck !
At least we're tracking the beast down, but haven't cornered it yet.
Something must be getting changed when we reboot.

You can test this by restoring the settings in KDE,
then without rebooting check they're there in Fluxbox,
then reboot & see what has happened, presumably they wb lost again.

After that has been confirmed, we can look into the cause more closely.

Anyone else have suggestions ?

-- 
,,
SUPPORT ___//___,   Philip Webb
ELECTRIC   /] [] [] [] [] []|   Cities Centre, University of Toronto
TRANSIT`-O--O---'   purslowatchassdotutorontodotca




[gentoo-user] Can I exclude a package from --depclean's consideration?

2009-06-11 Thread Paul Hartman
"emerge --depclean" always wants to remove all but the most recent
version of gentoo-sources. I read the manpage and can't figure out how
to exclude this package. The manpage states:

"Packages that are part of the world set will always be kept."

However, if I have sys-kernel/gentoo-sources in world, it still wants
to remove all but the most recent version of that package, which I
think is the correct behavior... just not what I desire.

For now I am working around this by placing version-specific package
atoms into my world file, but I am just curious if there is a
different way of "masking" them from depclean -- one that does not
require me to manually edit my world file every time a new kernel
revision is installed.

So, my question: Is there a way to tell depclean to never remove *any*
version of gentoo-sources?

Thanks.



Re: [gentoo-user] Lost free space on /

2009-06-11 Thread Alexander Pilipovsky
bn and KH, exuse me if I send not a good question, I have no many
experience yet :)

bn wrote:
> KH ha scritto:
>
>   
>> I totaly do agree with you. There has been nothing indicated to give a
>> one out of one answer. In case someone is a noob, ( I am still one
>> because I don't no anything about how everything is working) what you
>> just wrote is the answer. Like what are your needs and what resurces do
>> you have?
>> Like I don't think it was something like "do my homework" but more like
>> "I don't even know what to look for".
>> 
>
> At least telling him what to look for would be useful. I for example
> still have no idea, and it's after reading this thread that I checked
> the size of my /var directory for the first time in 5 years.
>
>   
>> Often googling for something is leading to lists where absolutly no help
>> can be found because someone writes something like: "what can I do".
>> secend replays like: "do A". Frst: "cool this did it for me." In the end
>> nobody else can use this solution because it is just not EXACT.
>> 
>
> Isn't "do A if you are in situation X , because of Z" the right pattern?
>
> m.
>
>
>   

-- 
Alexander Pilipovsky aka Engraver



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Lost free space on /

2009-06-11 Thread bn
KH ha scritto:

> I totaly do agree with you. There has been nothing indicated to give a
> one out of one answer. In case someone is a noob, ( I am still one
> because I don't no anything about how everything is working) what you
> just wrote is the answer. Like what are your needs and what resurces do
> you have?
> Like I don't think it was something like "do my homework" but more like
> "I don't even know what to look for".

At least telling him what to look for would be useful. I for example
still have no idea, and it's after reading this thread that I checked
the size of my /var directory for the first time in 5 years.

> Often googling for something is leading to lists where absolutly no help
> can be found because someone writes something like: "what can I do".
> secend replays like: "do A". Frst: "cool this did it for me." In the end
> nobody else can use this solution because it is just not EXACT.

Isn't "do A if you are in situation X , because of Z" the right pattern?

m.



Re: [gentoo-user] Fonts and OpenOffice

2009-06-11 Thread Marco
On Thu, Jun 11, 2009 at 3:27 PM, Florian
Philipp wrote:
> Marco schrieb:
>> Hi,
>>
>> I am using OpenOffice and am missing the Helvetica font. If I run fc-list:
>>
>> ~ $ fc-list | grep -i helv
>> Helvetica:style=Oblique
>> Helvetica:style=Bold
>> Helvetica:style=Regular
>> Helvetica:style=Bold Oblique
>>
>> It seems that the Helvetica fonts are installed on my system.
>> Nevertheless, they don't show up in OpenOffice. Any tips on how to use
>> them in Oo?
>>
>
> At least on my system, Helvetica is a bitmap font. OOo doesn't seem to
> put these in its font list.

Hi,

how can i see if a font is a bitmap or a truetype?

--
Regards,
 Marco



Re: [gentoo-user] [OT] ESATA drive changes the root device -- how to deal with it?

2009-06-11 Thread Dirk Heinrichs
Am Donnerstag 11 Juni 2009 17:32:18 schrieb walt:
> I've tried using a disk label in fstab instead of a device name, but the
> problem is that the kernel mounts the wrong partition before it has a
> chance to read fstab.

fstab is the wrong place. It should be on the kernel command line (that thing 
you configure in your bootloader's config).

HTH...

Dirk


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] [OT] ESATA drive changes the root device -- how to deal with it?

2009-06-11 Thread Volker Armin Hemmann
On Donnerstag 11 Juni 2009, walt wrote:
> Okay, my root partition is on /dev/sda (normally), which is a sata
> drive connected to the onboard sata controller.
>
> The problem is that I also have a plug-in ESATA docking station, which
> is not always powered on.  When it *is* powered on, my kernel names the
> disk /dev/sda, and that forces the root device to be named /dev/sdb
> instead of sda.  Crashing ensues during bootup.
>
> The machine's BIOS doesn't even recognize the ESATA controller, so
> I can't fiddle with anything there.
>
> Anyone have any ideas how to get a kernel to mount the root partition
> based on the pci slot number or something equivalent?
>
> I've tried using a disk label in fstab instead of a device name, but the
> problem is that the kernel mounts the wrong partition before it has a
> chance to read fstab.
>
> I've also tried using rdev to set the root device to the disk's major
> and minor numbers but that fails because the kernel switches the minor
> device numbers along with the device names.
>
> Any clues would be much appreciated.

afaik you can use labels in grub too.



[gentoo-user] [OT] ESATA drive changes the root device -- how to deal with it?

2009-06-11 Thread walt

Okay, my root partition is on /dev/sda (normally), which is a sata
drive connected to the onboard sata controller.

The problem is that I also have a plug-in ESATA docking station, which
is not always powered on.  When it *is* powered on, my kernel names the
disk /dev/sda, and that forces the root device to be named /dev/sdb
instead of sda.  Crashing ensues during bootup.

The machine's BIOS doesn't even recognize the ESATA controller, so
I can't fiddle with anything there.

Anyone have any ideas how to get a kernel to mount the root partition
based on the pci slot number or something equivalent?

I've tried using a disk label in fstab instead of a device name, but the
problem is that the kernel mounts the wrong partition before it has a
chance to read fstab.

I've also tried using rdev to set the root device to the disk's major
and minor numbers but that fails because the kernel switches the minor
device numbers along with the device names.

Any clues would be much appreciated.





Re: [gentoo-user] Fonts and OpenOffice

2009-06-11 Thread Florian Philipp
Marco schrieb:
> Hi,
> 
> I am using OpenOffice and am missing the Helvetica font. If I run fc-list:
> 
> ~ $ fc-list | grep -i helv
> Helvetica:style=Oblique
> Helvetica:style=Bold
> Helvetica:style=Regular
> Helvetica:style=Bold Oblique
> 
> It seems that the Helvetica fonts are installed on my system.
> Nevertheless, they don't show up in OpenOffice. Any tips on how to use
> them in Oo?
> 

At least on my system, Helvetica is a bitmap font. OOo doesn't seem to
put these in its font list.



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] PyQt4-4.5 and pykde4-4.2.4 blockers

2009-06-11 Thread Paul Hartman
On Wed, Jun 10, 2009 at 2:25 PM, Alan McKinnon wrote:
> Today's sync includes PyQt4-4.5 which is blocked by pykde4-4.2.4 (incompatible
> and build issues). Apparently pykde4-4.3 will fix this, but meanwhile I need
> to get emerge world to run and complete.

It looks like this is all sorted out in the latest portage tree, as
pykde has been updated.



Re: [gentoo-user] Re: emerging procmail failure

2009-06-11 Thread Paul Hartman
On Thu, Jun 11, 2009 at 12:04 AM, Harry Putnam wrote:
> Paul Hartman  writes:
>
>> On Wed, Jun 10, 2009 at 3:03 PM, Harry Putnam wrote:
>>>
>>> Yes... except _OH CRAP_ I've forgotten whatever little tiny skill I once
>>> had to add a patch into the emerge process manually.
>>
>> man ebuild
>>
>> HTH :)
>
> Doesn't any manual patching have to be done in an overlay?  My own
> portage setup.  Then stepped thru with ebuild to get it accepted by
> emerge?
>
> I see no hits at all on either `overlay' or `layman' in man ebuild.
> There must be more to the story than just running ebuild commands. And
> expect the modified ebuild to be accepted by emerge.

Sorry, I was thinking you would apply the patch manually as a
one-off... which you could do by unpacking using the ebuild command,
applying patch, then compiling/merging it. If you want to make your
own ebuild then yes you'd most likely want to put it in an overlay.



[gentoo-user] Re: Lost free space on /

2009-06-11 Thread Nikos Chantziaras

On 06/11/2009 04:52 PM, Mike Kazantsev wrote:

On Thu, 11 Jun 2009 11:17:37 +0300
Nikos Chantziaras  wrote:


It's only there where's disk activity.  For example, if I have 4 or more
torrents downloading.  When that happens, typing "mc" (to start midnight
commander) needs about 4 seconds.  It's almost instant without LVM.

The speed impact on one of my servers (100+ shell users) was dramatic.
10 seconds for a simple "ls /" for example.


It's not like LVM is modelling the universe' operation on your CPU, but
that's where impact should be, while disk activity (and data written)
should be roughly the same, aside from possible fragmentation if you
(re)create lv's on a daily basis, so prehaps it's not the disk but the
cpu where's the real bottleneck is?


I know it's not the CPU since there's 'top' to check this.




Re: [gentoo-user] Re: Lost free space on /

2009-06-11 Thread Mike Kazantsev
On Thu, 11 Jun 2009 11:17:37 +0300
Nikos Chantziaras  wrote:

> It's only there where's disk activity.  For example, if I have 4 or more 
> torrents downloading.  When that happens, typing "mc" (to start midnight 
> commander) needs about 4 seconds.  It's almost instant without LVM.
> 
> The speed impact on one of my servers (100+ shell users) was dramatic. 
> 10 seconds for a simple "ls /" for example.

It's not like LVM is modelling the universe' operation on your CPU, but
that's where impact should be, while disk activity (and data written)
should be roughly the same, aside from possible fragmentation if you
(re)create lv's on a daily basis, so prehaps it's not the disk but the
cpu where's the real bottleneck is?

-- 
Mike Kazantsev // fraggod.net


signature.asc
Description: PGP signature


[gentoo-user] Fonts and OpenOffice

2009-06-11 Thread Marco
Hi,

I am using OpenOffice and am missing the Helvetica font. If I run fc-list:

~ $ fc-list | grep -i helv
Helvetica:style=Oblique
Helvetica:style=Bold
Helvetica:style=Regular
Helvetica:style=Bold Oblique

It seems that the Helvetica fonts are installed on my system.
Nevertheless, they don't show up in OpenOffice. Any tips on how to use
them in Oo?

Thanks!

--
Best regards,
 Marco



Re: [gentoo-user] KDE menu missing: solved

2009-06-11 Thread Mick
2009/6/9 Mick :
> 2009/6/9 Mick :
>> 2009/6/9 Philip Webb :
>>
>>> After the usual night's sleep to clear the cerebral tmp files
>>> I thought of starting the new day in KDE to try fixing things there.
>>> I swapped to my KDE version of  ~/.xinitrc  & then did 'startx'
>>> & yes the desktop menus & the panel menu had vanished.
>>> Then I started Krusader, got the 'open with' box for a text file
>>> & told it to open the file with Leafpad: it did some updating & obeyed.
>>> After that, the other default 'open with' apps worked as before
>>> & the KDE menus had been restored.  To get Apwal back with L-mouse
>>> I had to use the KDE Control Centre 'desktop behaviour' & re-apply it.
>>>
>>> So everything is back to normal & Krusader behaves properly on Fluxbox too.
>>
>> Thanks Phillip.
>>
>> Did you get any apps in the 'Open With' menu list?  Mine is empty.  To
>> get any application to open a file I have to type it manually (or
>> choose one from the cached drop down entries in the Open With panel).
>> I ran kate %U, but nothing much happened.  :(
>>
>> Will try to repeat all this in a KDE session just in case.
>>
>> Meanwhile, what does your /home//.config/menus/applications.menu
>> look like.  Mine is empty and comes up with the error shown below:
>>
>> $ kbuildsycoca --menutest
>> Warning: kbuildsycoca is unable to register with DCOP.
>> kbuildsycoca running...
>> kbuildsycoca running...
>> Reusing existing ksycoca
>> kbuildsycoca: WARNING: Parse error in
>> /home/michael/.config/menus/applications.menu, line 1, col 1:
>> unexpected end of file
>
> Fixed it!
>
> I had to delete /home/michael/.config/menus/applications.menu, then
> change my setup to login using kdm/KDE instead xdm/fluxbox and this
> time kbuildsycoca  worked.  Phew!  All my menus are back, Kleopatra
> works fine, and kcontrol has a list on the LH side.  Getting back to
> fluxbox works as normal again.
>
> Thanks for the pointer!  :)
>
> It seems that the elog message was implying that one must be using KDE
> as a DE rather than individual applications.

Blast!  I spoke too soon.

This morning same story ... Menus are not present and running

$ kfmclient openProfile webbrowsing   kbuildsycoca running...
kfmclient: ERROR: Couldn't start konqueror from konqueror.desktop:
Could not find service 'konqueror.desktop'.

brings up the same error.  :(

There must be a more intelligent fix to this than me booting into KDE
every time I want to use a KDE application ?

What's up with your KDE menu Phillip?  Were you able to make the changes stick?
-- 
Regards,
Mick



[gentoo-user] Re: Lost free space on /

2009-06-11 Thread Nikos Chantziaras

On 06/11/2009 10:40 AM, Dirk Heinrichs wrote:

Am Donnerstag 11 Juni 2009 09:33:46 schrieb Nikos Chantziaras:


I tried too but it slows down disk speed to a crawl when there's disk
activity by an order of magnitude (commands take 3-4 seconds to execute
while without LVM they give sub-second responses.)


Hmm, that's strange. I've never seen this and I use LVM since it first appeared
on Linux. On Laptops, I even encrypt the logical volumes without a significant
speed impact.


It's only there where's disk activity.  For example, if I have 4 or more 
torrents downloading.  When that happens, typing "mc" (to start midnight 
commander) needs about 4 seconds.  It's almost instant without LVM.


The speed impact on one of my servers (100+ shell users) was dramatic. 
10 seconds for a simple "ls /" for example.





[gentoo-user] Re: PyQt4-4.5 and pykde4-4.2.4 blockers

2009-06-11 Thread Nikos Chantziaras

On 06/11/2009 10:39 AM, Alan McKinnon wrote:

On Thursday 11 June 2009 05:18:18 Nikos Chantziaras wrote:

On 06/11/2009 06:11 AM, Nikos Chantziaras wrote:

I recommend putting "-python" in your make.conf followed by "emerge
-auDN world" and then a depclean along with revdev-rebuild.

You might have to enable python in a few packages after that though and
disable it in others.  In my case:

echo "dev-libs/libxml2 python">>  /etc/portage/package.use

Just follow the messages that tell you to enable the python USE flag in
specific packages.  It's much cleaner to enable it only in packages that
actually need it rather than globally (which drags along PyQt and PyKDE.)


So is it more or less correct to say that USE=python gives you python plugins
for most packages? There could be other uses of course, but is that the most
common?


The flag itself is a global one and says "Adds support/bindings for the 
Python language."  That can mean a lot of things.  Usually it's Python 
bindings.  And also usually, if you're not sure what it does, you don't 
need it.  If you enable something (like some cool looking plugin or 
added functionality) that would require enabling the python flag, 
portage will tell you so when you try to emerge.  For example:


  !!! Multiple package instances within a single package slot have been
  !!! pulled into the dependency graph, resulting in a slot conflict:
  [...]
  New USE for 'dev-libs/libxml2:2' are incorrectly set. In order to
  solve this, adjust USE to satisfy '>=dev-libs/libxml2-2.6.12[python]'.

Of course, the ebuild has to support this too, otherwise you will get a 
compilation error when emerge goes ahead to tries to build the package.





Re: [gentoo-user] Re: Lost free space on /

2009-06-11 Thread Dirk Heinrichs
Am Donnerstag 11 Juni 2009 09:49:02 schrieb Volker Armin Hemmann:
> or you never 'saw' the impact because you are used to it.

Errh, no.

Bye...

Dirk


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Re: Lost free space on /

2009-06-11 Thread Volker Armin Hemmann
On Donnerstag 11 Juni 2009, Dirk Heinrichs wrote:
> Am Donnerstag 11 Juni 2009 09:33:46 schrieb Nikos Chantziaras:
> > I tried too but it slows down disk speed to a crawl when there's disk
> > activity by an order of magnitude (commands take 3-4 seconds to execute
> > while without LVM they give sub-second responses.)
>
> Hmm, that's strange. I've never seen this and I use LVM since it first
> appeared on Linux. On Laptops, I even encrypt the logical volumes without a
> significant speed impact.
>
> Bye...
>
>   Dirk

or you never 'saw' the impact because you are used to it.



Re: [gentoo-user] Re: PyQt4-4.5 and pykde4-4.2.4 blockers

2009-06-11 Thread Alan McKinnon
On Thursday 11 June 2009 05:18:18 Nikos Chantziaras wrote:
> On 06/11/2009 06:11 AM, Nikos Chantziaras wrote:
> > I recommend putting "-python" in your make.conf followed by "emerge
> > -auDN world" and then a depclean along with revdev-rebuild.
>
> You might have to enable python in a few packages after that though and
> disable it in others.  In my case:
>
>echo "dev-libs/libxml2 python" >> /etc/portage/package.use
>
> Just follow the messages that tell you to enable the python USE flag in
> specific packages.  It's much cleaner to enable it only in packages that
> actually need it rather than globally (which drags along PyQt and PyKDE.)

So is it more or less correct to say that USE=python gives you python plugins 
for most packages? There could be other uses of course, but is that the most 
common?


-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Re: Lost free space on /

2009-06-11 Thread Dirk Heinrichs
Am Donnerstag 11 Juni 2009 09:33:46 schrieb Nikos Chantziaras:

> I tried too but it slows down disk speed to a crawl when there's disk
> activity by an order of magnitude (commands take 3-4 seconds to execute
> while without LVM they give sub-second responses.)

Hmm, that's strange. I've never seen this and I use LVM since it first appeared 
on Linux. On Laptops, I even encrypt the logical volumes without a significant 
speed impact.

Bye...

Dirk


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Re: emerging procmail failure

2009-06-11 Thread Neil Bothwick
On Thu, 11 Jun 2009 00:04:33 -0500, Harry Putnam wrote:

> > man ebuild

> I see no hits at all on either `overlay' or `layman' in man ebuild.
> There must be more to the story than just running ebuild commands. And
> expect the modified ebuild to be accepted by emerge.

That's because the instruction should have been man 5 ebuild. You're
looking at the man page for the ebuild command.


-- 
Neil Bothwick

Why is the word abbreviation so long?


signature.asc
Description: PGP signature


[gentoo-user] Re: Lost free space on /

2009-06-11 Thread Nikos Chantziaras

On 06/11/2009 10:06 AM, Dirk Heinrichs wrote:

Am Donnerstag 11 Juni 2009 00:44:51 schrieb Philip Webb:

On Wed, Jun 10, 2009 at 2:50 PM, Alexander Pilipovsky wrote:

But how many space on hard disk for it will be good?

I haven't followed this thread in detail, but has anyone suggested LVM ?


No. I'm so used to it I can't even imagine that people still use DOS style
partitions ;)


I tried too but it slows down disk speed to a crawl when there's disk 
activity by an order of magnitude (commands take 3-4 seconds to execute 
while without LVM they give sub-second responses.)





Re: [gentoo-user] Lost free space on /

2009-06-11 Thread Volker Armin Hemmann
On Donnerstag 11 Juni 2009, Dirk Heinrichs wrote:
> Am Donnerstag 11 Juni 2009 00:44:51 schrieb Philip Webb:
> > On Wed, Jun 10, 2009 at 2:50 PM, Alexander Pilipovsky wrote:
> > > But how many space on hard disk for it will be good?
> >
> > I haven't followed this thread in detail, but has anyone suggested LVM ?
>
> No. I'm so used to it I can't even imagine that people still use DOS style
> partitions ;)
>
> Bye...
>
>   Dirk

and others don't suggest it because it easily breaks.



Re: [gentoo-user] Lost free space on /

2009-06-11 Thread Dirk Heinrichs
Am Donnerstag 11 Juni 2009 00:44:51 schrieb Philip Webb:
> On Wed, Jun 10, 2009 at 2:50 PM, Alexander Pilipovsky wrote:
> > But how many space on hard disk for it will be good?
>
> I haven't followed this thread in detail, but has anyone suggested LVM ?

No. I'm so used to it I can't even imagine that people still use DOS style 
partitions ;)

Bye...

Dirk


signature.asc
Description: This is a digitally signed message part.