Re: [gentoo-user] emerge older version

2010-02-09 Thread KH

Laurent Kappler schrieb:

Hi,

I'm tryin to emerge ImageMagick version 6.4.7.0 while current in portage 
is 6.5.7.


How could I do that??

thanks
Laurent



Hi,

you will have to search for the source and an ebuild. I remember that 
there is a place where all (old) ebuils are saved, but I cannot remember 
where. Then you'll need to mask all newer versions.


kh



Re: [gentoo-user] RAID/LVM machine - install questions

2010-03-20 Thread KH

Mark Knecht schrieb:

Hi,

[...]

3) Wife's new desktop

[...]

I want high reliability

[...]

The most important task of this machine is to keep data safe.

[...]


Thanks,
Mark



Hi Mark,

For me it sounds like those points just don't fit together ;-)

Regards
kh



Re: [gentoo-user] RAID/LVM machine - install questions

2010-03-21 Thread KH

Am 20.03.2010 19:26, schrieb Mark Knecht:
[...]

So the chassis and drives for this 1st machine are on order. 6 1TB
green drives. []
- Mark



Hi Mark,

What do you mean by "green drives"? I had been told - but never searched 
for confirmation - that those energy saving drives change spinning and 
also do spin down. The problem would be that the drives than might drop 
out of the raid since they are not reachable fast.


Don't know if that is true. I bought me some black label drives for the 
longer warranty.


kh



Re: [gentoo-user] RAID/LVM machine - install questions

2010-03-21 Thread KH

Am 20.03.2010 19:29, schrieb Mark Knecht:
[...]


I'm thinking I'll keep it as simple as possibly and just spread out
the Gentoo install over the multiple hard drives without using RAID,
but maybe not. It would be nice to have everything on RAID but I don't
know if I should byte that off for my first taste of building RAID.

[...]

Very helpful. Thanks!

Cheers,
Mark



Hi,

I have boot on raid1 and everything else on raid5. Also swap is raid5. 
It wasn't hard to do that.
If I did it again, I would also create a small (5GB) raid5 for testing 
stuff. Like when I try to reassemble or change something. Copy some 
movies and music to that drive. Whenever you need to change something 
with your real raid, do it with the test one first and see if you can 
still listen to your music.


Regards
kh



Re: [gentoo-user] Re: help

2010-03-21 Thread KH

Am 20.03.2010 22:28, schrieb Nikos Chantziaras:
[...]


And people still claim it's Microsoft products that are bugged... :P



They call it improvement and not bugfixing.



[gentoo-user] broken files left and revdep-rebuild

2010-03-21 Thread KH

Hi,

I just ran revdep-rebuild -i -- --ask. At the end there was:

 * Found some broken files that weren't associated with known packages
 * The broken files are:
 *   /usr/bin/imgcmp
 *   /usr/bin/imginfo
 *   /usr/bin/jasper
 *   /usr/lib/libjasper-1.701.so.1.0.0


Does somebody know where those files came from? I tend to remove them. 
Will this break the system?


Regards
kh



Re: [gentoo-user] Re: help

2010-03-22 Thread KH

Am 22.03.2010 20:17, schrieb Mick:



TBH, I wouldn't pay money for it but as many OEM impose a MSWindows tax on
all of us I had no other option if I wanted to buy this particular laptop.


You can refuse the license agreement and give windows back. If you are 
lucky, the vendor will give you some money back.


kh



Re: [gentoo-user] Re: help

2010-03-22 Thread KH

Am 22.03.2010 23:01, schrieb Stroller:


On 22 Mar 2010, at 19:21, KH wrote:

Am 22.03.2010 20:17, schrieb Mick:


TBH, I wouldn't pay money for it but as many OEM impose a MSWindows
tax on
all of us I had no other option if I wanted to buy this particular
laptop.


You can refuse the license agreement and give windows back. If you are
lucky, the vendor will give you some money back.


Article in The Register about this this week. Dell may be refusing this
now.

I read in a forum that the wording of the license terms has changed in
Vista or 7, to (basically) "return the whole system for a refund if you
don't like these terms".

Stroller.




In Germany you are still free to sell the software to a third person who 
is insane enough to buy Windows ;-)


kh



Re: [gentoo-user] Re: help

2010-03-22 Thread KH

Am 22.03.2010 23:51, schrieb Mick:



In Germany you are still free to sell the software to a third person who
is insane enough to buy Windows ;-)


But how can you sell it - I think that it is an OEM license which will only
run in the machine that Dell bought it for, from Microsoft.

I'll try running the image of the partition which I made when I bought it on
another machine and see what gives if I get the time, but in the past I
remember trying something similar and I could not get it to work.


I am not in that to deep. IIRC oem has no meaning in Germany. This is 
part of the license agreement what you have to accept after buying the 
software. Law says you have to accept it before or it is not part of the 
contract.
I never tried lately but you should be able to install from every Win CD 
you find and just use the code from that green sticker. There even is a 
tool you can download from Microsoft to change your key - like you once 
hat a pirated version with a cracked key and now you want to turn legal 
again. Download the tool, enter the code you bought, you are done 
without installing everything again.


But again I don't know if it works in every constellation nor if it is 
legal everywhere.


kh



Re: [gentoo-user] Re: help

2010-03-22 Thread KH


Oh and all of this started with a email just saying "help". Wander what 
another word could have done.


kh



Re: [gentoo-user] Re: help

2010-03-23 Thread KH

Am 23.03.2010 01:51, schrieb walt:

On 03/22/2010 04:21 PM, KH wrote:
 > ...

There even is a tool you can download from Microsoft to change your key -

 > like you once hat a pirated version with a cracked key and now you
want to
 > turn legal again. Download the tool, enter the code you bought, you are
 > done without installing everything again...

Those boys at M$ are such jokers. The big pitch is "DANGER, your pirated
copy of Windows may not be safe! Who knows what evil lurks in pirated
software!?!"

But, once you fork over the money for a valid key, all that "DANGER/evil"
is exorcised forever. I wish I could write smart software like that.




Well I guess it is for those people who can't get bug fixes anymore 
because the update site knows they have pirate software ...




[gentoo-user] Problems with thunderbird

2010-03-23 Thread KH

Hi,

I just updated thunderbird. Now I have two problems:

The rss feed only shows the title. It used to show the whole everything. 
How can I change that? I want to read the complete rss article.


Then I tried to set firefox as default for opening 
http://www.stuff.whatever . This does not work. Where in about:config 
can I change that, again?


Regards kh



Re: [gentoo-user] Re: Problems with thunderbird

2010-03-23 Thread KH

Am 23.03.2010 16:40, schrieb Nikos Chantziaras:

On 03/23/2010 01:43 PM, KH wrote:

[...]

Then I tried to set firefox as default for opening
http://www.stuff.whatever . This does not work. Where in about:config
can I change that, again?


You don't need to mess with about:config. The setting is in the
"Attachments" section of the configuration dialog. Simply select "Use
firefox" as handler for the ftp, http and https types.



That did the trick. Thanks for that.

kh



Re: [gentoo-user] Re: help

2010-03-26 Thread KH

Am 26.03.2010 00:24, schrieb Dale:


I would have to modify the script since it does random too. If KDE4
isn't broke now, I would surely finish it off if I started writing
scripts. LOL I would think it could be disabled somehow but the folks on
KDE mailing list couldn't find a way either. I even searched around in
the config files and maybe changing a USE flag. Still nothing yet. I
really think it will be there eventually tho.

Here's to hoping.

Dale

:-) :-)



USE="-random" emerge kde4  -  Having something like that would be fun :-)

kh



[gentoo-user] Re: help

2010-03-29 Thread KH

Am 24.03.2010 23:18, schrieb Dale:

Alex Schuster wrote:

Is there a bug report files already?


I haven't filed one. I'm just hoping someone has.


Filling bug reports is important. I filled over 50 on b.g.o this year 
alone. All of them are version bumps or bad homepages. Some programs 
haven't been bumped for 5 years.


kh



Re: [gentoo-user] help renaming files

2010-04-07 Thread KH

Am 07.04.2010 18:21, schrieb luis jure:


hello list.

i have a bunch of files with accented characters in their names, both
upper- and lower case. i want to rename them using the non-accented
equivalent. i thought that would be easy to do using something like tr.
big mistake. confronted with accented characters, tr outputs garbage.

searching the web, i found this: "Although the tr command respects C
locale environment variables, don't expect it to do anything sensible
with UTF-8 documents, such as being able to replace lower-case accented
characters with appropriate upper-case characters. The tr command works
best with ASCII and the other standard C locales."

i'm using es_UY.UTF8 and i can't make tr do anything useful.

any ideas?

best,

lj




Hi,
I am really not in this but maybe something like this can help you:

http://www.gentoo-wiki.info/HOWTO_Create_an_Audio_CD#Clean_up_the_file_names

Regards
kh



Re: [gentoo-user] Boot speedup

2010-04-12 Thread KH

Am 12.04.2010 11:56, schrieb Hinko Kocevar:
[...]


Thank you!

Hmm, I was looking at the
http://www.gentoo.org/doc/en/openrc-migration.xml. For OpenRC I added
sys-apps/openrc ~x86 to package.keywords, to get baselayout-2 ebuild
I've added ACCEPT_KEYWORDS="~x86" to /etc/make.conf.

Will it be enough to (re-)build the baselayout and openrc and its
closest dependencies (41 packages)? Or do I need to perform complete
system upgrade (~900 packages) now that ACCEPT_KEYWORDS is present?


Best regards,
Hinko



Hi,

if you are using ACCEPT_KEYWORDS="~x86" in /etc/make.conf you should do 
all 900 packages. Otherwise you might get a mix of both worlds what 
could be bad. Be sure that you really want your system changed to testing.

Otherwise you should add those 41 packages to  /etc/portage/package.keywords

kh



Re: [gentoo-user] ~amd64 - my experience so far...

2010-04-12 Thread KH

Am 12.04.2010 14:57, schrieb Alan McKinnon:
[...]


2. when devs commit to ~arch, they tend to run ~arch on their test boxes.
Issues are easy to spot and get fixed quickly. If you have a mixture of the
two, then you have a combination that no-one but you is using, and it will not
have been tested. The odds are good that you will often run into problems that
are hard to trace (conflicting versions of packages). Running ~arch is
actually more stable than a mixture as many folk have those packages and there
are more eyeballs on it.




Hi,

someone always brings that up. I think it might be right when mixing 
packages randomly. But not everybody is doing that.
Let's say: I only like to have personas for firefox. Unmasking firefox, 
xulrunner, nss and two more will not bring you in the problem mentioned.
In general I believe this is true for any program as long as it doesn't 
need a general library or anything like that unmasked.


kh



Re: [gentoo-user] System clean-up - removing unneeded packages *and* dependencies not used by other packages

2010-04-17 Thread KH

Am 17.04.2010 21:30, schrieb Jarry:

On 17. 4. 2010 21:20, Tanstaafl wrote:


Whats the best way to uninstall a package - in this case, openldap, but
really for any package - and get all of the dependencies it pulls in,
but only ones that are not required for other unrelated (to openldap)
packages?


I'm using this sequence:

emerge -C 
emerge --depclean
revdep-rebuild


Jarry



Or:

emerge --depclean 

Depclean  serves  as  a  dependency aware version of --unmerge. When 
given one or more atoms, it will unmerge matched packages that have no 
reverse dependencies. Use --depclean together with --verbose to show 
reverse dependencies.


kh



Re: [gentoo-user] How many ways are there for a user to increase their permissions?

2010-04-17 Thread KH

Am 17.04.2010 23:32, schrieb Jonathan:

On Sat, 17 Apr 2010 21:45:57 +0100
David W Noon  wrote:


In fact, POSIX capabilities are a mechanism to *reduce* a program's
permissions, not increase them.


It's true that Linux "capabilities" are used to replace SUID and that does 
reduce the programs permissions.
On the other hand programs like Wine. Which no one would never run with SUID 
could be run with CAP_NET_RAW.
That would be a increase in permissions. Wine needs to be able to ping because 
some program need to use IPX[1],
Like Red Alert 2. Someone has made a patch for Red Alert 2 to use TCP/IP and I 
can not think of another program off the top of my head.

That information came from "man 7 capabilities". So I guess it's all about how 
you look at it.

[1] http://en.wikipedia.org/wiki/Internetwork_Packet_Exchange



Sounds a little like putting someone in prison and than telling him 
walking through the prison yard is increasing his freedom.


kh



Re: [gentoo-user] Hot can I remove a non-existent package

2010-04-18 Thread KH

Am 18.04.2010 10:18, schrieb Crístian Viana:

you can either delete it from /var/lib/portage/world or run "emerge
--depclean"; that package should be removed.


I would add ask and verbose to this.

emerge -av --depclean

This gives you a little more chance to see what will be happening.

kh



Re: [gentoo-user] Bug

2010-04-19 Thread KH

Am 19.04.2010 00:41, schrieb dan blum:

Dale,

Thanks for following up. HOw do you start a new thread?

It is slightly annoying when you change a setting and reverts back to the original; the 
whole (computer) system should be more user friendly. Either way, it is good that there 
is an "easy" fix, which I will do.

I will have much more complex issues to discuss shortly.

Thanks.


[...]

Hi,

well there might be more than one way but usually I move my mouse to the 
"new email" option in thunderbird. Then I write 
gentoo-user@lists.gentoo.org in the field "to". So I am set.
The difference is: when you use answer and just change the subject 
field, it still is shown as answer to the other email. If you ever tried 
to find something with google from a mailing list you pretty fast start 
to hat those guys.


Also keep in mind, that the subject field should be a little more 
catchy. Things like "help", "bug", "to all veterans" ... will likely 
lead to very few readers.


Also most people on this list (I hope this won't start a discussion 
again) don't like top posting.


Regards

kh



Re: [gentoo-user] Re: sys-kernel/ck-sources - why should I use them?

2010-04-21 Thread KH

Am 21.04.2010 13:14, schrieb Neil Bothwick:


Maybe some sort of super-sources package, with the various patches
controlled by USE flags would be a good idea. Then we could have a kernel
with just the patches we want, like:

USE="gentoo reiser4 -bfs" emerge super-sources




Are we too late for google summer of code 2010?

kh



Re: [gentoo-user] Is my data gone?

2010-04-30 Thread KH

Am 30.04.2010 10:44, schrieb Neil Bothwick:

On Thu, 29 Apr 2010 18:43:41 -0400, dhk wrote:


While setting up a new disk I accidentally ran "mke2fs /dev/sda1"
instead of "mke2fs /dev/hda1".  When I realized the mistake (about 2
seconds later) I hit Ctrl-C before mke2fs was done.  Now I can't
mount the drive.  Is there a way to read the drive to get the data off
or is it unrecoverable?


The data is still there, mke2fs just reset the superblock. Photorec will
recover file contents from a filesystem like this. It only recovers the
contents, not the metadata, so you'll end up with files with meaningless
names, but as they are video files I suspect there are not too many of
them and they are fairly easy to identify. At least it's less work than
importing and editing them all again.




It will also find files you already deleted. I had this with an SD Card 
once and it is a lot of work to go throu all the files and see what it is.


kh



Re: [gentoo-user] Frozen after Upgrade

2010-05-03 Thread KH

Am 03.05.2010 16:56, schrieb Alan McKinnon:

On Monday 03 May 2010 16:30:53 Colleen Beamer wrote:

[...]



I don't understand what you mean by booting to a single user
maintenance mode.  How do I do that?


At the grub menu, select the kernel you wish to boot.
Press "e"
Move cursor to the "kernel" line
Press "e"
Move cursor to the end of the line. Append " 1" or " single"
Press
Press "b"

This will load the kernel and run a modified start-up sequence (not the
regular init command). You get a root shell which is quite limited but usually
adequate for repairing broken system.

In a way, it's very similar to booting into a LiveCD without having to go and
find the CD first



Hi,

and again I learnd something I didn't know, jet.

Anyway I also would try to follow Dales advise with pressing "i" during 
boot.


Also some time ago I had a problem after an upgrade with my keyboard. 
Changing to usb was the workaround for me (the keyboard has usb and the 
ps2?). Anyway I never fixed the problem.


Regards
kh



Re: [gentoo-user] emerge --update - why doesn't it update my kde packages

2010-05-04 Thread KH

Am 04.05.2010 12:17, schrieb Bert Swart:

On Tue, May 04, 2010 at 12:09:25PM +0200, Helmut Jarausch wrote:

On  4 May, Bert Swart wrote:

On Tue, May 04, 2010 at 10:57:10AM +0200, Helmut Jarausch wrote:

Hi,
the following situation puzzles me a lot.

My 'standard' way of updating is
emerge --keep-going -j4 -1 --ask --update --newuse --deep --tree @system @world

but it didn't update anything.

Still, eix confirmed there were quite a lot of kde packages which have
newer versions, and indeed,
emerge -auv1 -j4 --keep-going  $(qlist -IC kde-base/)
upgraded 24 packages.

Where does this discrepancy come from?

Do you  have --with-bdep set in /etc/make.conf?


No. Are you saying that
emerge --keep-going -j4 -1 --ask --update --newuse --deep --tree  --with-bdeps 
y @system @world
would have updated my kde packages, as well?

Probably. Sometimes, not all packages are included as dependency
if they are not strictly required. If you do want them to be
upgraded, add --with-bdeps to EMERGE_DEFAULT_OPTS in
/etc/make.conf. Or, like you did, upgrade them manually...
See also http://www.gentoo.org/proj/en/portage/doc/faq.xml


Those are packages only required during buildtime. You could unmerge 
them after upgrading without loosing a funktion. Adding --with-bdeps to 
EMERGE_DEFAULT_OPTS might only wast some time and energy. You can also 
run depclean --with-bdeps (yes/no or something like that) to savely 
remove them.

My point is: If glsa doesn't list one of those packages I don't touch them.

Regards
kh



Thanks,
Helmut.




--
Helmut Jarausch

Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany









Re: [gentoo-user] emerge --update - why doesn't it update my kde packages

2010-05-04 Thread KH

Am 04.05.2010 16:59, schrieb David W Noon:

On Tue, 04 May 2010 11:00:01 +0200, Helmut Jarausch wrote about
[gentoo-user] emerge --update - why doesn't it update my kde packages:

[snip]

Still, eix confirmed there were quite a lot of kde packages which have
newer versions, and indeed,
emerge -auv1 -j4 --keep-going  $(qlist -IC kde-base/)
upgraded 24 packages.

Where does this discrepancy come from?


I think Portage does not consider packages that are not in your world
file, if the update is on world (or system).

To overcome this, I wrote a little script, called update_orphans.sh.
Here it is:

<---cut--->  update_orphans.sh<--cut->
#!/bin/sh

eix -u | gawk '/^\[U\] / { print $2; }' | xargs -r emerge -v1uD

exit $?
<---cut---><cut--><--cut->

I run it immediately after the main emerge, when I have rsync'ed the
Portage tree.


No. --with-bdeps is not default anymore because it is considered to be a 
bug if portage updates packages not used in any way. This is only if a 
package is needed for buildtime.


Program A is version 1.5. To build it, it needs program B which at this 
time is version 4.7

B is not needed for anything else!

Now there is an update to B-4.9 . Portage will not update B as long as 
there is no update to A.


B is not in the world file. It is not a runtime dependency nore is it a 
orphan.


kh



Re: [gentoo-user] emerge --update - why doesn't it update my kde packages

2010-05-04 Thread KH

Am 04.05.2010 18:19, schrieb Paul Hartman:

On Tue, May 4, 2010 at 3:57 AM, Helmut Jarausch
  wrote:

Hi,
the following situation puzzles me a lot.

My 'standard' way of updating is
emerge --keep-going -j4 -1 --ask --update --newuse --deep --tree @system @world

but it didn't update anything.

Still, eix confirmed there were quite a lot of kde packages which have
newer versions, and indeed,
emerge -auv1 -j4 --keep-going  $(qlist -IC kde-base/)
upgraded 24 packages.

Where does this discrepancy come from?


Are they in your world, or depended upon by something in your world?

In other words, if you "emerge --ask --depclean" does it want to
remove those packages?



Hi,

do you see the diff in here:


emerge -av --depclean

>>> These are the packages that would be unmerged:

 sys-kernel/gentoo-sources
selected: 2.6.31-r10
   protected: none
 omitted: 2.6.30-r5 2.6.32-r7

>>> 'Selected' packages are slated for removal.
>>> 'Protected' and 'omitted' packages will not be removed.

Would you like to unmerge these packages? [Yes/No] n

Quitting.

Packages installed:   847
Packages in world:139
Packages in system:   50
Required packages:846
Number to remove: 1


and


emerge -av --depclean  --with-bdeps n

>>> These are the packages that would be unmerged:

 dev-util/cmake
selected: 2.6.4-r3
   protected: none
 omitted: none

 app-arch/rpm2targz
selected: 9.0.0.3g
   protected: none
 omitted: none

 x11-proto/xf86bigfontproto
selected: 1.2.0
   protected: none
 omitted: none

 dev-java/javacc
selected: 4.0-r4
   protected: none
 omitted: none

[...]

 perl-core/Compress-Raw-Zlib
selected: 2.021
   protected: none
 omitted: none

>>> 'Selected' packages are slated for removal.
>>> 'Protected' and 'omitted' packages will not be removed.

Would you like to unmerge these packages? [Yes/No] n

Quitting.

Packages installed:   847
Packages in world:139
Packages in system:   50
Required packages:774
Number to remove: 73




And the other way round

emerge -Duav world

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

Calculating dependencies... done!

Total: 0 packages, Size of downloads: 0 kB

Nothing to merge; would you like to auto-clean packages? [Yes/No] n

Quitting.



emerge -Duav --with-bdeps y world

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

Calculating dependencies... done!
[ebuild U ] dev-perl/yaml-0.71 [0.68] 111 kB
[ebuild U ] app-arch/cabextract-1.2-r1 [1.2] USE="-extra-tools%" 190 kB
[ebuild U ] dev-perl/Archive-Zip-1.30 [1.20] 193 kB
[ebuild U ] perl-core/ExtUtils-ParseXS-2.22.03 [2.20.0401] 40 kB
[ebuild U ] virtual/perl-ExtUtils-ParseXS-2.22.03 [2.20.0401] 0 kB

Total: 5 packages (5 upgrades), Size of downloads: 533 kB

Would you like to merge these packages? [Yes/No] n

Quitting.



This is normal and expected behavior

kh



Re: [gentoo-user] emerge --update - why doesn't it update my kde packages

2010-05-04 Thread KH

Am 04.05.2010 21:41, schrieb Dale:

<---cut--->  update_orphans.sh<--cut->
#!/bin/sh

eix -u | gawk '/^\[U\] / { print $2; }' | xargs -r emerge -v1uD

exit $?
<---cut---><cut--><--cut->

I run it immediately after the main emerge, when I have rsync'ed the
Portage tree.


No. --with-bdeps is not default anymore because it is considered to be
a bug if portage updates packages not used in any way. This is only if
a package is needed for buildtime.

Program A is version 1.5. To build it, it needs program B which at
this time is version 4.7
B is not needed for anything else!

Now there is an update to B-4.9 . Portage will not update B as long as
there is no update to A.

B is not in the world file. It is not a runtime dependency nore is it
a orphan.

kh




I have with-bdeps set in my make.conf so that it is enabled each time.
I just ran the command given above and it found over 40 packages that
need to be upgraded.  I'm not even going to claim that I understand all
the chicken scratch in that command but apparently stuff needed to be
upgraded on my system that was being missed.

It appears to do something good even if it is not related to the OPs
problem.

Dale


Hi,

For me it does try to update the same packages as --with-bdeps, but it 
tries to pull in like 39 new packages.


How and where have you integrated with-bdeps in make.conf?

kh



[gentoo-user] samba vs. cifs

2010-05-05 Thread KH

Hi List,

I just ran in a problem:

net-fs/mount-cifs ("net-fs/mount-cifs" is blocking net-fs/samba-3.4.6)

Somba is pulled in by the samba use-flag. The PC only is "client" to a 
server running samba. Do I need samba for this anymore? More specific 
(don't want to hear "moo"): Will I be able to mount a samba partition 
without setting the samba use flag and after unmerging samba?


Regards
kh



[gentoo-user] Re: samba vs. cifs

2010-05-16 Thread KH


On Wed, 05 May 2010 23:20:01 +0200, Matt Harrison wrote about Re:
[gentoo-user] samba vs. cifs:

>On Wed, May 05, 2010 at 06:42:09PM +0200, KH wrote:
[snip]
>> specific (don't want to hear "moo"): Will I be able to mount a samba
>> partition without setting the samba use flag and after unmerging
>> samba?
>>
>> Regards
>> kh
>
>I just enable cifs in the kernel and install the mount-cifs script.
>That lets me mount remote shares with no trouble at all.

I don't even install the mount-cifs script.  I simply put the share
definition in /etc/fstab on the client, and then use the vanilla mount
command.  E.g.,

//192.168.0.2/backups/usr/local/remote_backupscifs
noauto,noexec,noatime,nodiratime,user=root,pass=eetoot  0 0

[The above should be on 1 line.]

Note that my real password for root is not "eetoot"; that is simply a
fake password I set up for Samba shares.

Whenever I need to transfer a backup archive to the server, I simply
issue:
   mount /usr/local/remote_backups
and then copy the data across.
--
Regards,

Dave  [RLU #314465]
==
dwn...@... (David W Noon)
==


Hi,

just want to answer to that old mail.

I have it done as follows:

//way/2/otherpc /mnt/mountpoint cifs 
noatime,credentials=/root/.credentials,uid=1000,umask=000,user  0 0


and the file /.credentials can only be read by root. In there is my 
password and username:


username=myusername
password=mypswd

Regards
kh




Re: [gentoo-user] Re: samba vs. cifs

2010-05-17 Thread KH

Am 17.05.2010 08:56, schrieb KH:


On Wed, 05 May 2010 23:20:01 +0200, Matt Harrison wrote about Re:
[gentoo-user] samba vs. cifs:

 >On Wed, May 05, 2010 at 06:42:09PM +0200, KH wrote:
[snip]
 >> specific (don't want to hear "moo"): Will I be able to mount a samba
 >> partition without setting the samba use flag and after unmerging
 >> samba?
 >>
 >> Regards
 >> kh
 >
 >I just enable cifs in the kernel and install the mount-cifs script.
 >That lets me mount remote shares with no trouble at all.

I don't even install the mount-cifs script. I simply put the share
definition in /etc/fstab on the client, and then use the vanilla mount
command. E.g.,

//192.168.0.2/backups /usr/local/remote_backups cifs
noauto,noexec,noatime,nodiratime,user=root,pass=eetoot 0 0

[The above should be on 1 line.]

Note that my real password for root is not "eetoot"; that is simply a
fake password I set up for Samba shares.

Whenever I need to transfer a backup archive to the server, I simply
issue:
mount /usr/local/remote_backups
and then copy the data across.


Well that didn't look the way I wanted it to look like. Shouldn't be a 
sig. So again:


Hi,

just want to answer to that old mail.

I have it done as follows:

//way/2/otherpc /mnt/mountpoint cifs 
noatime,credentials=/root/.credentials,uid=1000,umask=000,user  0 0


and the file /.credentials can only be read by root. In there is my 
password and username:


username=myusername
password=mypswd

Regards
kh





Re: [gentoo-user] One hard drive much slower for some reason.

2010-06-02 Thread KH
Am 03.06.2010 06:46, schrieb Dale:
> 
> As for the lifetimes in the report, good question.  I think that drives
> is doing some weird stuff.  It can travel back and forth in time but is
> slow for no apparent good reason.
> 
> Dale
> 
> :-)  :-)
> 

Hi Dale,

you just made me smile. Thank's.

kh



Re: [gentoo-user] Movies from phone and camera, using vlc and mplayer

2010-07-24 Thread KH
Am 24.07.2010 08:54, schrieb fe...@crowfix.com:
> I copy movies from my phone and camera to my computer and have
> troubles playing them.
[...]
> The mplayer slow video is the most frustrating part.  I like mplayer
> better than vlc, usually, but the slowness is really frustrating and
> it doesn't recognize half the keys it used to, such as [] to speed it
> up and slow it down.  I was hoping to see if that would get the video
> speed back closer to the sound.

Hi Felix,

what kind of pc do you have? On my old laptop I have problems like that.
But this laptop has only 128MB Ram.

> I sent some phone .3gp movies to a friend with Windows.  Won't play.
> Is there a decent way to convert them to something he can play?

Try ffmpeg or mencoder. Visit mplayers homepage for converting tutorial.
You might need to try a little.

Regards kh



[gentoo-user] Problems booting my server - ext2 - e2fsck

2010-07-24 Thread KH
Hi there,

my server was running strait for 8 month now. I did updates regularly
but still used an 2.6.2x kernel. Never switched it of. Now someone from
houskeeping pulled the plug for the vacuum cleaner ...

Anyway the box won't boot anymore. grub starts up. Kernel boots. Then
there is checking root file system (or something like that).The message
is that my ext2 file system can not be read. That I might want to try
the alternativ superblock by running #e2fsck -b 8193 

Well, I put the hdd in an external usb and conected it to my
workstation. As I thought hda3 (is /dev/sde3) is an ext3 filesystem.
Also badblocks and e2fsck did not show any problem with the hdd.

/etc/fstab is corect (i hope), too.

What am I missing? How can I get the server running, again?

Regards

kh



Re: [gentoo-user] Problems booting my server - ext2 - e2fsck

2010-07-24 Thread KH
Am 24.07.2010 22:21, schrieb Alan McKinnon:
> On Saturday 24 July 2010 21:57:38 KH wrote:
>> Hi there,
[...]
>> Anyway the box won't boot anymore. grub starts up. Kernel boots. Then
>> there is checking root file system (or something like that).The message
>> is that my ext2 file system can not be read. That I might want to try
>> the alternativ superblock by running #e2fsck -b 8193 
>>
>> Well, I put the hdd in an external usb and conected it to my
>> workstation. As I thought hda3 (is /dev/sde3) is an ext3 filesystem.
>> Also badblocks and e2fsck did not show any problem with the hdd.
>>
>> /etc/fstab is corect (i hope), too.
>>
>> What am I missing? How can I get the server running, again?
> 
> You said you ran e2fsck and it was OK. What was the command?
> 
> Normally with an e2fsck on a journalled fs, the app will replay the journal 
> and make a few minor checks. This takes about 4 seconds, not the 40 minutes 
> it 
> takes to do a ful ext2 check.
> 
> I think you might need to fsck without the journal. I know there's a way to 
> do 
> this but a cursory glance at the man page didn't reveal it. Maybe an ext user 
> will chip in with the correct method
> 
> 
> 

Hi,

I ran on the two partitions e2fsck /dev/sde3 as well as fsck.ext3
/dev/sde3 . Yes, it only took some seconds.

Regards
kh



Re: [gentoo-user] Problems booting my server - ext2 - e2fsck

2010-07-24 Thread KH
Am 24.07.2010 23:46, schrieb James Wall:
> On 7/24/2010 3:25 PM, Alan McKinnon wrote:
>>
>> I think you might need to fsck without the journal. I know there's a
>> way to do
>> this but a cursory glance at the man page didn't reveal it. Maybe an
>> ext user
>> will chip in with the correct method
> 
> Run e2fsck -f /dev/hda3 to force check a partition. I have had to do
> that when my kids yanked all the drives out of a server that I was
> setting up. :-)

Hi again,

# e2fsck -fv /dev/sde3

e2fsck 1.41.11 (14-Mar-2010)
Durchgang 1: Prüfe Inodes, Blocks, und Größen
Durchgang 2: Prüfe Verzeichnis Struktur
Durchgang 3: Prüfe Verzeichnis Verknüpfungen
Durchgang 4: Überprüfe die Referenzzähler
Durchgang 5: Überprüfe Gruppe Zusammenfassung

  356415 inodes used (36.63%)
   10396 non-contiguous files (2.9%)
 236 non-contiguous directories (0.1%)
 # von Inodes mit ind/dind/tind Blöcken: 7917/121/0
 2191858 blocks used (56.32%)
   0 bad blocks
   1 large file

  315130 regular files
   31986 directories
1051 character device files
4089 block device files
   1 fifo
2397 links
4147 symbolic links (4027 fast symbolic links)
   2 sockets

  358803 files


Well this does not look bad, does it?

Regards kh

> No trees were harmed in the sending of this message. However, a large
> number of electrons were terribly inconvenienced.

cool sig!



Re: [gentoo-user] Problems booting my server - ext2 - e2fsck

2010-07-28 Thread KH
Am 25.07.2010 15:57, schrieb Mick:
> On Sunday 25 July 2010 09:18:33 Dale wrote:
>> Alan McKinnon wrote:
>>> On Sunday 25 July 2010 06:57:43 KH wrote:
>>>>> You said you ran e2fsck and it was OK. What was the command?
>>>>>
>>>>>
>>>>>
>>>>> Normally with an e2fsck on a journalled fs, the app will replay the
>>>>> journal  and make a few minor checks. This takes about 4 seconds, not
>>>>> the 40 minutes it takes to do a ful ext2 check.
>>>>>
>>>>>
>>>>>
>>>>> I think you might need to fsck without the journal. I know there's a
>>>>> way to do  this but a cursory glance at the man page didn't reveal it.
>>>>> Maybe an ext user will chip in with the correct method
>>>>
>>>> Hi,
>>>>
>>>> I ran on the two partitions e2fsck /dev/sde3 as well as fsck.ext3
>>>> /dev/sde3 . Yes, it only took some seconds.
>>>
>>> It's been a long time since I used ext3 so some of this might be wrong.
>>>
>>> An fsck that takes a few seconds is using the journal, which might not
>>> uncover deeper corruption. You should try disabling the journal (I
>>> couldn't find the way to do that though), but this will also work:
>>>
>>> Boot of a LiveCD, mount your root partition somewhere using type "ext2"
>>> and fsck it. This will invalidate the journal but that's OK, it gets
>>> recreated on the next proper boot. Let the fsck finish - it will take a
>>> while on a large fs.
>>>
>>> When done, reboot as normal and see if the machine boots up properly.
>>
>> And I would stand guard to make sure housekeeping doesn't come around.
>> ;-)  Cutting power during all this wold not be good.
> 
> KH, I think that this may not be related to a fs error as such.
> 
> Yes, pulling the plug may have caused fs corruption.  However, more likely is 
> that pulling the plug did not allow you to do something that you should have 
> done after you finished upgrading to grub-0.97-r9.  The latest installation 
> of 
> grub asks you to reinstall in the MBR and point its root to wherever your 
> /boot is.  GRUB's fs and its drivers may have changed and therefore the old 
> boot loader code is looking for files that no longer exist.
> 
> So you'll probably be alright again if you boot with a fresh systemrescue 
> LiveCD and run grub and then root (hd) and setup (hd0) before you quit 
> and 
> reboot.
> 
> If that doesn't work then you most likely have a fs problem.
> 
> HTH.

Hi,

I installed grub by connecting the hdd to my workstation. This did not
change anything.
Also I changed /etc/fstab . Now I have 0 0 for every partition. The pc
boots fine now. I can use it but ... There is no /dev/hd* . Running
mount /boot I get the answer /dev/hda1 does not exist. Also there is no
/dev/sd*

Any ideas?

Regards kh



Re: [gentoo-user] Problems booting my server - ext2 - e2fsck

2010-07-28 Thread KH
Am 28.07.2010 15:45, schrieb Bill Longman:
> On 07/28/2010 01:50 AM, KH wrote:
>>
>> Hi,
>>
>> I installed grub by connecting the hdd to my workstation. This did not
>> change anything.
>> Also I changed /etc/fstab . Now I have 0 0 for every partition. The pc
>> boots fine now. I can use it but ... There is no /dev/hd* . Running
>> mount /boot I get the answer /dev/hda1 does not exist. Also there is no
>> /dev/sd*
>>
>> Any ideas?
> 
> Konstantin, please post what your kernel has for IDE support. If you
> have /proc/config.gz, then please post the results from "zgrep IDE
> /proc/config.gz" so we can get an idea of why you have no /dev/hd*
> devices. We will also need to know what kind of disk controller your
> server really has. Are they IDE or SATA controllers?
> 

Hi Bill,

Now I am running 2.6.30-r8 but 2.6.34-r1 is ready but not jet copied to
/boot. btw it is a p3 coppermine.

This is the output from zgrep IDE /proc/config.gz .


CONFIG_HAVE_IDE=y
CONFIG_IDE=y
# Please see Documentation/ide/ide.txt for help/info on IDE drives
CONFIG_IDE_XFER_MODE=y
CONFIG_IDE_TIMINGS=y
CONFIG_IDE_ATAPI=y
# CONFIG_BLK_DEV_IDE_SATA is not set
CONFIG_IDE_GD=y
CONFIG_IDE_GD_ATA=y
CONFIG_IDE_GD_ATAPI=y
CONFIG_BLK_DEV_IDECD=y
CONFIG_BLK_DEV_IDECD_VERBOSE_ERRORS=y
# CONFIG_BLK_DEV_IDETAPE is not set
CONFIG_BLK_DEV_IDEACPI=y
# CONFIG_IDE_TASK_IOCTL is not set
CONFIG_IDE_PROC_FS=y
# IDE chipset support/bugfixes
CONFIG_IDE_GENERIC=y
# CONFIG_BLK_DEV_IDEPNP is not set
CONFIG_BLK_DEV_IDEDMA_SFF=y
# PCI IDE chipsets support
CONFIG_BLK_DEV_IDEPCI=y
CONFIG_IDEPCI_PCIBUS_ORDER=y
CONFIG_BLK_DEV_IDEDMA_PCI=y
CONFIG_BLK_DEV_IDEDMA=y
# CONFIG_VIDEO_DEV is not set
# CONFIG_VIDEO_MEDIA is not set
# CONFIG_VIDEO_OUTPUT_CONTROL is not set
# CONFIG_FB_TRIDENT is not set
# CONFIG_PROVIDE_OHCI1394_DMA_INIT is not set

I just tried /etc/init.de/udev resart . I am getting errors not to use
the script with baselayout-1 . The box is very slow now. Will reboot and
see what baselayout is on it.

Regards kh



Re: [gentoo-user] Problems booting my server - ext2 - e2fsck

2010-07-28 Thread KH
Am 28.07.2010 16:04, schrieb Mick:
> On 28 July 2010 14:53, Bill Longman  wrote:
>> On 07/28/2010 06:42 AM, Mick wrote:
>>> On 28 July 2010 09:50, KH  wrote:
>>>
>>>> I installed grub by connecting the hdd to my workstation. This did not
>>>> change anything.
>>>> Also I changed /etc/fstab . Now I have 0 0 for every partition. The pc
>>>> boots fine now. I can use it but ... There is no /dev/hd* . Running
>>>> mount /boot I get the answer /dev/hda1 does not exist. Also there is no
>>>> /dev/sd*
>>>>
>>>> Any ideas?
>>>
>>> KH, if you have changed the kernel to use libATA (i.e. the newer
>>> SATA/PATA options) then you need to update your fstab from /dev/hdaX
>>> to /dev/sdaX and change your grub.conf accordingly.
>>
>> But he doesn't even have those devices, so this will not do him any good
>> until we know how the kernel is configured (or not) and get the devices
>> back.
> 
> I am not sure that he does not have those devices ... I don't know if
> the error message is returned from grub or from the OS.
> 
> It could be that the kernel stanza is wrongly pointing to /dev/hda,
> and, or fstab is not correct.

Hi Mick,

but typing ls /dev/hd* or ls /dev/sd* should show up something.
Shouldn't it? df -h shows /dev/hda3 is mounted on /
For me this is strange.

kh



Re: [gentoo-user] Problems booting my server - ext2 - e2fsck

2010-07-28 Thread KH
Am 28.07.2010 15:53, schrieb Bill Longman:
> On 07/28/2010 06:42 AM, Mick wrote:
>> On 28 July 2010 09:50, KH  wrote:
>>
>>> I installed grub by connecting the hdd to my workstation. This did not
>>> change anything.
>>> Also I changed /etc/fstab . Now I have 0 0 for every partition. The pc
>>> boots fine now. I can use it but ... There is no /dev/hd* . Running
>>> mount /boot I get the answer /dev/hda1 does not exist. Also there is no
>>> /dev/sd*
>>>
>>> Any ideas?
>>
>> KH, if you have changed the kernel to use libATA (i.e. the newer
>> SATA/PATA options) then you need to update your fstab from /dev/hdaX
>> to /dev/sdaX and change your grub.conf accordingly.
> 
> But he doesn't even have those devices, so this will not do him any good
> until we know how the kernel is configured (or not) and get the devices
> back.
> 
> Konstantin, I'm assuming, from your original post, that you have not
> changed your kernel in any way over the last few months. You said that
> it was running fine for eight months but now after rebooting, you're in
> trouble. Are you *sure* you haven't made any changes to the kernel? I'm
> also assuming that you know that the kernel drivers for your disk
> controllers should not be built as modules but built into the kernel so
> that you don't need to go through creating an initramfs and hoping for
> your devices to get populated.
> 

Hi,

I tried booting 2.6.28 / 2.6.29 / 2.6.30 . The 30 series has not been
running on the box befor. Anyway the result is the same no matter which
kernel I am booting.
I use make oldconfig for uping the kernel.

kh



Re: [gentoo-user] Problems booting my server - ext2 - e2fsck

2010-07-28 Thread KH
Am 28.07.2010 17:30, schrieb Bill Longman:
> On 07/28/2010 08:18 AM, KH wrote:
>>
>> Hi Mick,
>>
>> but typing ls /dev/hd* or ls /dev/sd* should show up something.
>> Shouldn't it? df -h shows /dev/hda3 is mounted on /
>> For me this is strange.
> 
> How is /dev mounted right now? What does "udevadm --version" tell you?
> 

udev is 151 and baselayout is 1.12.13

Regards
FilesystemSize  Used Avail Use% Mounted on
/dev/hda3  15G  8.2G  5.8G  59% /
udev   10M   36K   10M   1% /dev
tmpfs 2.5G 0  2.5G   0% /var/tmp/portage
shm   187M 0  187M   0% /dev/shm


Re: [gentoo-user] Problems booting my server - ext2 - e2fsck

2010-07-28 Thread KH
Am 28.07.2010 17:27, schrieb Bill Longman:
> On 07/28/2010 07:56 AM, KH wrote:
>> Am 28.07.2010 15:45, schrieb Bill Longman:
>>>
>>> Konstantin, please post what your kernel has for IDE support. If you
>>> have /proc/config.gz, then please post the results from "zgrep IDE
>>> /proc/config.gz" so we can get an idea of why you have no /dev/hd*
>>> devices. We will also need to know what kind of disk controller your
>>> server really has. Are they IDE or SATA controllers?
>>>
>>
>> Hi Bill,
>>
>> Now I am running 2.6.30-r8 but 2.6.34-r1 is ready but not jet copied to
>> /boot. btw it is a p3 coppermine.
>>
>> This is the output from zgrep IDE /proc/config.gz .
>>
>>
>> CONFIG_HAVE_IDE=y
>> CONFIG_IDE=y
>> # Please see Documentation/ide/ide.txt for help/info on IDE drives
>> CONFIG_IDE_XFER_MODE=y
>> CONFIG_IDE_TIMINGS=y
>> CONFIG_IDE_ATAPI=y
>> # CONFIG_BLK_DEV_IDE_SATA is not set
>> CONFIG_IDE_GD=y
>> CONFIG_IDE_GD_ATA=y
>> CONFIG_IDE_GD_ATAPI=y
>> CONFIG_BLK_DEV_IDECD=y
>> CONFIG_BLK_DEV_IDECD_VERBOSE_ERRORS=y
>> # CONFIG_BLK_DEV_IDETAPE is not set
>> CONFIG_BLK_DEV_IDEACPI=y
>> # CONFIG_IDE_TASK_IOCTL is not set
>> CONFIG_IDE_PROC_FS=y
>> # IDE chipset support/bugfixes
>> CONFIG_IDE_GENERIC=y
>> # CONFIG_BLK_DEV_IDEPNP is not set
>> CONFIG_BLK_DEV_IDEDMA_SFF=y
>> # PCI IDE chipsets support
>> CONFIG_BLK_DEV_IDEPCI=y
>> CONFIG_IDEPCI_PCIBUS_ORDER=y
>> CONFIG_BLK_DEV_IDEDMA_PCI=y
>> CONFIG_BLK_DEV_IDEDMA=y
>> # CONFIG_VIDEO_DEV is not set
>> # CONFIG_VIDEO_MEDIA is not set
>> # CONFIG_VIDEO_OUTPUT_CONTROL is not set
>> # CONFIG_FB_TRIDENT is not set
>> # CONFIG_PROVIDE_OHCI1394_DMA_INIT is not set
> 
> I would expect to see:
> 
> CONFIG_BLK_DEV_PIIX=y
> 
> in your configuration given that it's a Coppermine. You might want to
> add that in the 2.6.30 and the 2.6.34 kernels, although DEV_GENERIC
> should give you what you need, as you are probably using that right now.
> 
> Use "make menuconfig" to configure the kernel. Make sure it's "<*>" not
> "" for the PIIX controller and then rebuild and install the kernel.
> 
> Do you have "lspci" installed? The results from "lspci -v" would be very
> helpful right now.
> 
>> I just tried /etc/init.de/udev resart . I am getting errors not to use
>> the script with baselayout-1 . The box is very slow now. Will reboot and
>> see what baselayout is on it.
> 
> Yeah, don't worry about this right now.
> 

lspci:

00:00.0 Host bridge: Intel Corporation 82815 815 Chipset Host Bridge and
Memory Controller Hub (rev 02)
Subsystem: ASUSTeK Computer Inc. TUSL2-C Mainboard
Flags: bus master, fast devsel, latency 0
Memory at f800 (32-bit, prefetchable) [size=64M]
Capabilities: [88] Vendor Specific Information 
Capabilities: [a0] AGP version 2.0
Kernel driver in use: agpgart-intel

00:01.0 PCI bridge: Intel Corporation 82815 815 Chipset AGP Bridge (rev
02) (prog-if 00 [Normal decode])
Flags: bus master, 66MHz, fast devsel, latency 64
Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
Memory behind bridge: ee00-efef
Prefetchable memory behind bridge: eff0-f7ff

00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 02) (prog-if
00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=02, subordinate=02, sec-latency=32
I/O behind bridge: d000-dfff
Memory behind bridge: ed80-edff

00:1f.0 ISA bridge: Intel Corporation 82801BA ISA Bridge (LPC) (rev 02)
Flags: bus master, medium devsel, latency 0

00:1f.1 IDE interface: Intel Corporation 82801BA IDE U100 Controller
(rev 02) (prog-if 80 [Master])
Subsystem: ASUSTeK Computer Inc. TUSL2-C Mainboard
Flags: bus master, medium devsel, latency 0
[virtual] Memory at 01f0 (32-bit, non-prefetchable) [size=8]
[virtual] Memory at 03f0 (type 3, non-prefetchable) [size=1]
[virtual] Memory at 0170 (32-bit, non-prefetchable) [size=8]
[virtual] Memory at 0370 (type 3, non-prefetchable) [size=1]
I/O ports at b800 [size=16]
Kernel driver in use: PIIX_IDE

00:1f.2 USB Controller: Intel Corporation 82801BA/BAM USB Controller #1
(rev 02) (prog-if 00 [UHCI])
Subsystem: ASUSTeK Computer Inc. TUSL2-C Mainboard
Flags: bus master, medium devsel, latency 0, IRQ 12
I/O ports at b400 [size=32]
Kernel driver in use: uhci_hcd

00:1f.3 SMBus: Intel Corporation 82801BA/BAM SMBus Controller (rev 02)
Su

Re: [gentoo-user] emerge --depclean

2009-09-15 Thread KH

Krzysztof Poc schrieb:

Hello

I found that "emerge --depclean" removes the packages that are necessary 
for my system:

gcc-4.1.2
font-cursor-misc
font-misc-misc

I have also gcc-3.4.6-r2 installed. It does not remove gcc-3.4.6-r2.
After unmerging gcc-4.1.2 I cannot compile anything of course.
After unmerging font-misc-misc I can't see Polish fonts in Xterm.

I don't know how to solve this problem.
Should I make those packages more valuable to the system ?
How can I do that.
Is my xorg server incorrectly configured. I have xorg 1.5 with HAL.
My system does not use any xorg.conf file. It autodetects configuration 
at startup.
When migrating to xorg 1.5 I did not do any special steps to configure 
and install any Polish fonts.

I only made the modifications to support the Polish keyboard layout.

Thank you for help.




Hi,

did you already unmerge gcc-4.1.2?
What is the output of gcc-config -l

when was your last emerge --depclean?
You should always run emerge --depclean -av! so you have a better chance 
to stop any unwanted effects.


kh



Re: [gentoo-user] emerge --depclean

2009-09-15 Thread KH

Krzysztof Poc schrieb:

Great thanks to all of you for immediate help.
"emenrge -n" solved the problem.

By the way "gcc-config -l" shows:
 [1] i686-pc-linux-gnu-3.4.6
 [2] i686-pc-linux-gnu-3.4.6-hardened
 [3] i686-pc-linux-gnu-3.4.6-hardenednopie
 [4] i686-pc-linux-gnu-3.4.6-hardenednopiessp
 [5] i686-pc-linux-gnu-3.4.6-hardenednossp
 [6] i686-pc-linux-gnu-4.1.2 *
 [7] i686-pc-linux-gnu-4.3.2



Hi,

so it looks like you manually added gcc-3* to your world file but did 
not do so with 4.1.2 until now. Since you have a newer version installed 
(4.3.2) depclean was removing older gcc not in world.
Do you need the old gccs you are keeping? Is there a reason for not 
switching to 4.3.2?

In case you didn't know the gcc-upgrad guide till now:
http://www.gentoo.org/doc/en/gcc-upgrading.xml

kh



Re: [gentoo-user] connecting phone (sonyericsson c702) as mass storage device: one works, not the other [SOLVED]

2009-09-21 Thread KH

Erik schrieb:

Carlos skrev:

Erik a écrit :

I have a strange problem when trying to connect a telephone
(SonyEricsspm C702) as a mass storage device.I have 2 such telephones,
let us call them Black and Green.

[snip]

/var/log/messages for the 2 telephones:

Google result from
"Sony Eri Memory Stick" "hostbyte=0x05 driverbyte=0x00"

http://bbs.archlinux.org/viewtopic.php?pid=548343

Of course, this may not be your problem but worth comparing phone
firmware.



That was it! Now I remember that I had upgraded the firmware in Black
back in April. Did the same with Green now and it works! Thanks a lot!



Hi,

how did you update the phone? My question is: did you have to install 
the 30MB download (for firmware) on windows or did it work with wine and 
gentoo?


kh



Re: [gentoo-user] Does Firefox call Google?

2009-09-22 Thread KH

Grant schrieb:

[snip]  and the home page is not set to go there.[snip]


Hi,

does this also include stuff like google analytics? Like are there adds 
on the homepage?


kh

http://www.ghostery.com/apps/google_analytics



[gentoo-user] makewhatis -u

2009-10-06 Thread KH

Hi,

during an update I read somewhere something like: "Hey run makewhatis -u 
. Also you should have a cronjob doing this regularly."


I never heard of this before (but I am not the real geek - more like a 
user) but I wonder how regularly I should have the cronjob run the 
command. Is this to be done with every update or like every hour (like I 
do with locate -u)?


Thanks for suggestions



Re: [gentoo-user] makewhatis -u

2009-10-06 Thread KH

Dale schrieb:

[snip]


You run locate every hour?  You must really add files a lot.  :-o

Dale

:-)  :-)



I am adding a lot of my old cds from the garage. Old backups and stuff. :-)

kh



Re: [gentoo-user] URGENT: Dead Keyboard after emerge --update world --deep

2009-10-06 Thread KH

Marco schrieb:

Hi all,

after emerge --sync && emerge --update world --deep my keyboard (in X)
does not work anymore. Since I am switching to slim after boot, I
cannot even change to a console with Ctrl-Alt-F1. I guess something
went wrong with the Xorg-update.

I am now using a live-CD to be able to write this email.

Please let me know what information you need else (logs, etc.)

Any tips, hints and suggestions on how to solve my problem highly appreciated!

--
Best regards,
 Marco



Hi,

I bet depclean removed consolkit. I had the same problem. Try the "I" 
stuff during booting like Kenneth wrote. Then sync again and see what 
-DuavN system (or world) tries to install. Like I said I bet there will 
be consolkit among them.

If I loose my bet it must be somthing else from the xorg update.

Regards kh



Re: [gentoo-user] Formating a USB stick

2009-10-08 Thread KH

daid kahl schrieb:

The stick will be used in MSWindows mainly.

In that case, I'd play safe and format it in Windows.




Ah booo!  You're formatting it anyway, so there's no data to lose, and
I can't imagine you'd break it by trying to format it.

Try it in Linux first and let us know how it goes.  I never formatted
a USB stick before, and it might be neat.

You can always point-and-click to format it in Windows I'm sure.

Regards,
daid



Hi,

as a matter of fact, you *can't*. I once formated a USB stick as swap 
(is it 82 or 83?) and used it in Linux as swap. (very little ram on the 
old vaio I used.)

There was a second partition as raiser(?) and also 82 or 83.
Anyway later I wanted to use it again and windows was unable to format 
it. I think it didn't even show up. I had to plug it in Linux and change 
to b(?).
Also I once had a problem with a fat partition of around 200gb on an 
removable usb hdd. Windows does not like that big FAT. I think the 
maximum is somewhere around 70? They want to force you to use ntfs then.


kh



Re: [gentoo-user] Formating a USB stick

2009-10-08 Thread KH

Neil Bothwick schrieb:


It may not be standards-compliant, but at least is is consistently broken.


In some way this is funny and makes me smile.

kh




Re: [gentoo-user] Formating a USB stick

2009-10-08 Thread KH

Daniel Quinn schrieb:

Then when you're back at the prompt, run:

  # mkfs.vfat /dev/sda1

...if sda is in fact your key.  You can even add "-L LabelName" to attach a 
label to the stick:


  # mkfs.vfat -L "USB Stick" /dev/sda1


Hi,

from man mkfs.vfat:

-n volume-name: Sets the volume name (label) of the file system.  The 
volume name can be up to 11 characters long.  The default is no label.


kh



Re: [gentoo-user] Formating a USB stick

2009-10-09 Thread KH

Stroller schrieb:


On 8 Oct 2009, at 12:22, KH wrote:

...
as a matter of fact, you *can't*. I once formated a USB stick as swap 
(is it 82 or 83?) and used it in Linux as swap. (very little ram on 
the old vaio I used.)

There was a second partition as raiser(?) and also 82 or 83.
Anyway later I wanted to use it again and windows was unable to format 
it. I think it didn't even show up.


Did you look in Disk Management?

Formatted disks show in My Computer, but disks with an "alien" 
filesystem show only in Disk Management on XP, which is a far less 
obvious place  to find.


Stroller.



Hi,

Maybe I didn't. I don't do Windows anymore so when I have to use it 
somewhere I am often even more lost than with gentoo :-)


kh



Re: [gentoo-user] commands to show where a package is installed?

2009-10-10 Thread KH

Zhengquan Zhang schrieb:

Hi, Gentoo users,
I am new to gentoo and am wondering if there is a command to show
where a package is installed? which file is installed in which
directory?

Thanks a lot,



Hi,

not that powerful but sometimes also a help:


whereis - locate the binary, source, and manual page files for a command

kh



Re: [gentoo-user] What is a "packet"? Was: Checksum error

2009-10-11 Thread KH

Justin schrieb:


I would say it is about just to many germans who are translating german
words literally into english and as the the german word for package is
"Paket" they come up with packet.



Hi,
This is OT:

I am sure I don't have the best English and I do a lot of faults. But in 
Germany *everybody* believes to speak English. Pleas correct things like 
packet / package. Bad translation can cause a lot of problems. (Also one 
can easily see if some news is only translated from English or if the 
network has a man down wherever.) Porsche for example told their 
employees not to use English for their work. Person A translated 
something from German into English and person B had to do it vis versa 
and half of the content was lost somewhere on the way.


Anyway this will become very OT ...

kh



Re: [gentoo-user] What is a "packet"? Was: Checksum error

2009-10-11 Thread KH

Peter Humphrey schrieb:

The difficulty is in keeping up with the
idiom. Personally, I prefer to rely on what I've known for the last 60 years 
or so and to hell with the trendies.


Things like "its" = "belonging to it"; "it's" = "it is".



Hi,

how old are you? How is the oldest person on the list? But this is OT, too.

kh



Re: [gentoo-user] What is a "packet"? Was: Checksum error

2009-10-11 Thread KH

KH schrieb:

Peter Humphrey schrieb:

The difficulty is in keeping up with the
idiom. Personally, I prefer to rely on what I've known for the last 60 
years or so and to hell with the trendies.


Things like "its" = "belonging to it"; "it's" = "it is".



Hi,

how old are you? How is the oldest person on the list? But this is OT, too.

kh


To correct myself (shame on me). Who is the oldest ...



Re: [gentoo-user] What is a "packet"? Was: Checksum error

2009-10-11 Thread KH

Peter Ruskin schrieb:

On Sunday 11 October 2009, KH wrote:

KH schrieb:

Peter Humphrey schrieb:

The difficulty is in keeping up with the
idiom. Personally, I prefer to rely on what I've known for the
last 60 years or so and to hell with the trendies.

Things like "its" = "belonging to it"; "it's" = "it is".

Hi,

how old are you? How is the oldest person on the list? But this
is OT, too.

kh

To correct myself (shame on me). Who is the oldest ...


I'm 71 ... is that old enough?


To use a trendy idiom: That's cool.

That is a body of acquired knowledge.



Re: [gentoo-user] What is a "packet"? Was: Checksum error

2009-10-11 Thread KH

Alan McKinnon schrieb:

On Sunday 11 October 2009 23:25:02 Dale wrote:

To correct myself (shame on me). Who is the oldest ...
  

I'm 71 ... is that old enough?


Oh dear. I used to call myself an old codger. At a mere sprightly 44, do
I now  have to downgrade myself to "still wet behind the ears"?

  

I'm 42 so I got your back.  lol

Dale


Hehe, you can join me in the lucky crowd - people who went to school when 
Pluto was still a planet :-)

rofl
but same for me and I am only 28.


But I'm not giving up the nic I use everywhere except mailing lists:

splog: snarky pedantic lazy old git

My 12 year-old figured that out and reckoned it was ahuge joke, so he told his 
mum (my ex). She was decidedly not ... amused 


:-)



rofl
Thanks for that mail. Maid me smile for minutes.

kh



Re: [gentoo-user] Re: What is a "packet"? Was: Checksum error

2009-10-12 Thread KH

Grant Edwards schrieb:
[snip]


It's the same in mathematics for many/most operators i - j and
j - i aren't the same thing.  The position of the variable
relative to the operator tells you want's going on.  While a +
b is equal to b + a, that's a property of the particular
operator. 


OK, this is waaay off topic now...



a+b=b+a is a definition which does not have to be this way. It can be 
seen (in reality) but it can not be proofed (in math).




Re: [gentoo-user] how to use RAM

2009-10-12 Thread KH

Stefan G. Weichinger schrieb:

Greets, gentoo-users,

as I ordered myself an upgrade from 4 to 8 gigs of RAM for my main
workstation, just because it's rather cheap now and I have good use for
the "old" 4 gigs I wonder what to do with those shiny new additional 4 gigs.

OK, linux uses it for IO-caching, yep ...

I have some ram-disk already for compiling stuff (portage-stuff) and I
can think of increasing app-caches like operas own ram-cache to make use
of the memory.

I will give my virtual machines more RAM to improve their performance,
yes, this is maybe the main reason for me to upgrade RAM.

But are there any other things I might forget?

Are there any creative non-ricer ways to really make use of it?

I would like to hear your opinion on this, I am quite sure the
gentoo-community knows one trick or the other ;-)

Thanks a lot, Stefan



Hi,

you could regularly measure your disk speed by coping huge amounts of 
data to a second ram-disk, and back. Then you have a good knowledge of 
read and write speed of your hdd :-)


I often use the ram disk for creating iso images before burning them to 
dvd/cd. This is a lot faster than doing this on an hdd.


kh



Re: [gentoo-user] how to use RAM

2009-10-12 Thread KH

Dale schrieb:

KH wrote:

Stefan G. Weichinger schrieb:

Greets, gentoo-users,

as I ordered myself an upgrade from 4 to 8 gigs of RAM for my main
workstation, just because it's rather cheap now and I have good use for
the "old" 4 gigs I wonder what to do with those shiny new additional
4 gigs.

OK, linux uses it for IO-caching, yep ...

I have some ram-disk already for compiling stuff (portage-stuff) and I
can think of increasing app-caches like operas own ram-cache to make use
of the memory.

I will give my virtual machines more RAM to improve their performance,
yes, this is maybe the main reason for me to upgrade RAM.

But are there any other things I might forget?

Are there any creative non-ricer ways to really make use of it?

I would like to hear your opinion on this, I am quite sure the
gentoo-community knows one trick or the other ;-)

Thanks a lot, Stefan


Hi,

you could regularly measure your disk speed by coping huge amounts of
data to a second ram-disk, and back. Then you have a good knowledge of
read and write speed of your hdd :-)

I often use the ram disk for creating iso images before burning them
to dvd/cd. This is a lot faster than doing this on an hdd.

kh




Why not use hdparm -Tt to test the speed of the drives?  It works pretty
good here. 


Dale

:-)  :-) 



Hi,
that wouldn't involve the extra ram ;-)
kh



Re: [gentoo-user] Re: What is a "packet"? Was: Checksum error

2009-10-13 Thread KH

Alan McKinnon schrieb:



But German is consistent. English is not consistent.


I am not so sure about German being consistent. As a fact often a lot of 
information is lost during translation. This is more likely the main 
problem.


kh




Re: [gentoo-user] qt-dbus blocker

2009-10-13 Thread KH

Alan McKinnon schrieb:

On Tuesday 13 October 2009 14:48:35 Allan Gottlieb wrote:

I just started getting this blocker yesterday (was away for the weekend)

[blocks B ]  >x11-libs/qt-dbus-4.5.1-r
 (">x11-libs/qt-dbus-4.5.1-r" is blocking x11-libs/qt-script-4.5.1,
 x11-libs/qt-test-4.5.1, x11-libs/qt-gui-4.5.1,
 x11-libs/qt-qt3support-4.5.1, x11-libs/qt-sql-4.5.1,
 x11-libs/qt-core-4.5.1)

(the entire output from emerge world is below
EMERGE_DEFAULT_OPTS="--ask --deep --tree --verbose --with-bdeps=y")

I read the news article and was directed to
http://www.linuxized.com/p192, which said to add dbus and qt3support to
my USE flags.  I already had dbus and adding qt3support did not change
the result.  The std handbook recommendation is to remove qt-dbus, but
the news article suggests this one is more complicated.  Should I
perhaps mask qu-dbus-4.5.2 and if so do I then remove the mask when the
rest has installed.

This is a stable x86 box.


qt*-4.5.1 blocks qt*-4.5.2. It's not a simple single package that you upgrade, 
it's multiple packages and throughout the build you will have incompatible 
packages installed at the same time.


Either:

unmerge all of qt
emerge all of qt

or:

upgrade to masked portage-2.2 which can deal with such things easily.

Note that you will likely need to rebuild kdelibs and other stuff after 
building qt. There's an elog about it.




Hi,

I am running stable portage as well and it takes good care of the blocks 
with the "b". Really the only one you have to take care of manually is 
the one with the "B".

Do you have the old qt-4.* meta package installed?
Are you masking or keywording any qt stuff?
Maybe masking qt-dbus-4.5.2 as you suggested is a good idea. That way 
you will get rid of all the "b" stuff. Then you can take a deeper look 
on what is left.


kh



Re: [gentoo-user] how to use RAM

2009-10-14 Thread KH

Stefan G. Weichinger schrieb:
[snip]


As I see I am not even able to use much RAM with several (vmware-)VMs
running, so the 8 gigs will maybe stay some number to impress *some*
people with (until everyone gets 8 gigs into their supermarket-PCs).

Anyway.
Stefan



Hi,

my motherboard cannot go above 3gigs so I am very impressed ;-)

kh



Re: [gentoo-user] how to use RAM

2009-10-14 Thread KH

pk schrieb:

Dale wrote:


I think mine has a 3Gb limit too.  I have two installed tho.  It works
well for me.


I think someone (in?)famous said: "640K is more memory than anyone will
ever need..." ;-)

Best regards

Peter K



Hi,

my first Mac had 256kb. I upgraded it to 1mb because kit had one mb as 
well ;-) I still have this box. Didn't use it for years.


kh



Re: [gentoo-user] Installation gentoo problem.

2009-10-15 Thread KH

daid kahl schrieb:

Hi. I tryed install "gentoo 10.0" and there was: "scanning for ata_piix" and
istallation stopped. If i switch off the sata disk then installation runs
good.
I try "gentoo 10.1" now and stopped on: "Scanning for ehci-hcd...usb core".
I switch off usb on motherboard and installation continue. But then stopped
on: "Scanning for scsi_wait_scan". I have not scisi disks. My matherboard is
Asus P4P800SE. What to do?


Try another live cd based on Gentoo, like System Rescue CD.  If it can
boot live kernel, then maybe you should try Gentoo 2007.0 or 2008.
I've installed plenty of systems with a Gentoo 2007.0 CD-R I have
kicking around.

~daid



Hi,

why not take the autobuild? It is only on day old!

http://gentoo.chem.wisc.edu/gentoo/releases/x86/autobuilds/

kh



Re: [gentoo-user]"Unknown Host" pops up when starting X

2009-10-22 Thread KH

Xi Shen schrieb:

hi,

i have just emerged kde 4.3. when i ran startx, a message "Unknown
Host" is displayed. Clearly, I missed some configuration. But what?




hi,

could it be this part:

http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1&chap=8#doc_chap2

kh



[gentoo-user] slim-themes : gentoo 10 years of compiling

2009-10-22 Thread KH

Hi,

I created three slim themes based on the beautifully wallpapers created 
by Ben Stedman. You can find the wallpapers here. [1]


The themes I created can be found here:

gentoo_10_purple:
screen shot:
http://www.konstantinhansen.de/source/slim_themes/gentoo_10_purple/gentoo_10_purple.png
files:
http://www.konstantinhansen.de/source/slim_themes/gentoo_10_purple/gentoo_10_purple.tar.bz2

gentoo_10_blue:
screen shot:
http://www.konstantinhansen.de/source/slim_themes/gentoo_10_blue/gentoo_10_blue.png
files:
http://www.konstantinhansen.de/source/slim_themes/gentoo_10_blue/gentoo_10_blue.tar.bz2

gentoo_10_dark:
screen shot:
http://www.konstantinhansen.de/source/slim_themes/gentoo_10_dark/gentoo_10_dark.png
files:
http://www.konstantinhansen.de/source/slim_themes/gentoo_10_dark/gentoo_10_dark.tar.bz2


Hopefully they will be available with the slim-themes program soon. For 
the time being you might just untar them and move them to your 
/usr/share/slim/themes/ folder. Don't forget to edit your /etc/slim.conf


Enjoy kh

[1] http://www.gentoo.org/proj/en/pr/releases/10.0/graphics.xml



Re: [gentoo-user] {OT} app to create DVD image?

2009-10-27 Thread KH

Grant schrieb:

Does anyone know of an app that will create a DVD image that can be
burned to a DVD for playback on a regular home DVD player?


media-video/devede

http://www.rastersoft.com/programas/devede.html

I've used it on oBSD and like it.


WOW.  Great program!

One good tip deserves another so I highly recommend the movie "The
Beautiful Truth".  I wanted an app like this so I can burn copies of
that movie for everyone I know.

- Grant



Hi,

if you want to have an iso of an dvd you can use dd to do so. For a 
reason I don't understand you will have to run mplayer first for a 
second or so.

(For me this works fine as long as the sources isn't bigger than 4,7GB)

kh



Re: [gentoo-user] emerge --depclean does not remove due to link level dependencies

2009-11-04 Thread KH

Alex Schuster schrieb:

Hi there!

[snip]
Still, this is ugly I think. Another part of the emerge --depclean output 
is:

 *   media-sound/esound-0.2.41 pulled in by:
 * app-office/gnucash-2.2.9-r1 needs libesd.so.0
 * gnome-extra/gnome-media-2.26.0-r1 needs libesd.so.0
 * gnome-extra/nautilus-cd-burner-2.24.0 needs libesd.so.0
 * gnome-extra/yelp-2.26.0 needs libesd.so.0  
 * media-libs/smpeg-0.4.4-r9 needs libesd.so.0
 * media-sound/amarok-1.4.10_p20090130-r3 needs libesd.so.0
 * media-sound/rhythmbox-0.11.6-r1 needs libesd.so.0   
 * media-sound/synaesthesia-2.4 needs libesd.so.0  
 * media-video/transcode-1.0.7 needs libesd.so.0   

I do not have esd in my USE flags. Looks like all those packages use it 
anyway when it is available.



[snip]

Hi,

esd might be in there because of the profile you use. Did you change 
your profile lately? You can add -esd to make.conf and see what happens.


kh



Re: [gentoo-user] What's the latest install-from-USB-key procedure?

2009-11-04 Thread KH

waltd...@waltdnes.org schrieb:

  What's the latest install-from-USB-key procedure?  The stuff I've
found on Google and the Gentoo wiki references obsolete versions of
Gentoo, and I don't know if it would work.  I've got an Acer Aspire One,
with no CD/DVD.



Hi,

This might be what you have been looking for.

http://www.gentoo.org/doc/en/liveusb.xml

kh



Re: [gentoo-user] Going ~x86?

2009-11-11 Thread KH

Alex Schuster schrieb:

Hi there!
[snip]Or net-misc/youtube-dl, which changes quite
frequently to adopt to youtube changes, and I want to always have the 
newest version. [snip]


Hi,

see bgo 286366 and report you are fine with it. Maybe it will become 
stable, then.


https://bugs.gentoo.org/show_bug.cgi?id=286366

Even better, also report a new bug as stablrq for youtube-dl-2009.09.13

kh



Re: [gentoo-user] Going ~x86?

2009-11-11 Thread KH

Albert Hopkins schrieb:

[snip]
But they are wrong ;-)

I'm actually against mixing testing and stable branches.  Here's why.
People choose "stable" because they are under the impression that it's
somehow "safer" or "less troublesome" than "testing" (or what some
people call "unstable").  I'm not so sure I agree but that's not my
argument.  My argument is when these people go and then try to get the
"best of both worlds" by inter-marrying the branches.  From my
experience these people end up with less stable systems than choosing
either "stable" or "testing".  The problem is that they are mixing
software that were not tested or intended to run with each other.  And
they come into problems even people in the so-called "unstable" branch
don't experience.  Recent examples include Xorg and GNOME updates.  So
these people, and the majority of them are newbies, come to think Gentoo
is flaky but it's really their behavior.

[snip]


Hi,

this for shure is not right, if you are only running few testing 
programs. I'd never run ~amd64 just for youtube-dl to be working fine.


kh



[gentoo-user] Did Larry catch the swine flue?

2009-11-12 Thread KH

Hi,

I can't access http://packages.larrythecow.org/ . Does anybody know 
why?http://downforeveryoneorjustme.com/ says it is not just me.


kh



Re: [gentoo-user] Blocking login attempts to sshd and vsftpd

2009-11-15 Thread KH

Richard Marza schrieb:
I recently check my log files and discovered that there was a dictionary 
attack attempt on my daemons. sshd and vsftpd were the primary targets. 
Is there a script or tool to block the offending IP addresses using 
iptables. Something that checks to see if a minimum of attempts has 
occured and blocks them indefinitely based on that?



Regards,
 Richard M.



Hi,

I am using that script:
http://blinkeye.ch/dokuwiki/doku.php/projects/blacklist

kh



Re: [gentoo-user] Enigmail in Thunderbird 2.0.0.9

2008-01-10 Thread KH
Did you recompile enigmail after upgrading thunderbird?

kons


Daniel Mendler wrote:
> Hi
>
> The enigmail plugin isn't found any more in Thunderbird 2.0.0.9.
> Thunderbird is compiled with crypt, Enigmail is installed. Does anyone
> have the same problem?
>
> Best regards,
> Daniel

-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Create mutli-file .zip archives from the command line?

2008-01-13 Thread KH
Hi,

some file systems are not able to handle files bigger than size X. Fat32
for example only handles 4GB. Win often uses Fat32. Maybe this is your
problem.

Kons


Renat Golubchyk wrote:
> Hi!
>
> On Sun, 13 Jan 2008 14:21:30 + Stroller
> <[EMAIL PROTECTED]> wrote:
>   
>> What I thought to do was to break the .iso into a multi-part .zip  
>> archive, transfer the separate files over to the Windows PC and then  
>> unzip them back into the original big file using Explorer's built-in  
>> (XP) zip file handling.
>>
>> I know I could do this by using RAR - or some other untility -  
>> instead, but that would require me to install additional software on  
>> the PC, which I'd rather not do. Besides, I'm surprised to find that  
>> app-arch/zip - nor any other utility I can immediately find in  
>> Portage - doesn't seem to handle this.
>> 
>
> I don't know whether zip can do this, but you could use "split" to
> split the .iso into smaller pieces and then combine them on your
> Windows box with "copy" [1].
>
>
> Cheers,
> Renat
>
> [1] http://technet.microsoft.com/en-us/library/bb490886.aspx
>
>
>   

-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Polymake Ebuild and general questions

2008-01-20 Thread KH

Hi,


I think this will help you:

http://www.gentoo.org/doc/en/ebuild-submit.xml

You also might want to have a look to dev mailing list.
kh


Thomas Kahle wrote:

Hi all,

I've written an ebuild for a math-software called polymake
(www.math.tu-berlin.de/polymake).
You find it attached. You have to digest it yourself to use.
("ebuild polymake-2.3.ebuild digest")
Maybe some people could test it (on amd64 for instance...).

Now some questions:

1.) The Program uses non-autotools "self made" configuration via "make
configure". Currently the Ebuild will ask questions to the user, which I
want to prevent. How can i get around this?
Is there some Bash trick to answer all questions with "Enter" ?
2.) The program needs to be rebuild after an upgrade of dev-lang/perl.
How can i implement this in the ebuild ?
3.) Is there any chance that, after testing, this will land in the
portage tree ? How can I do this,
-email to dev-mailinglist?
-bugzilla ?
- ... ???

thanks
Tom
  


--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] emerge error

2008-01-22 Thread KH

James Ausmus wrote:

On Jan 22, 2008 7:08 PM, James <[EMAIL PROTECTED]> wrote:
  

Hello,

I did a routine 'emerge sync' with no problems.
Then I did an ' emerge -uDNvp world' and it gives this
message:





  

cache.cache_errors.CacheCorruption: sys-apps/baselayout-1.12.10-r5 is corrupt:
[Errno 13] Permission denied:
'/var/cache/edb/dep/usr/portage/sys-apps/baselayout-1.12.10-r5'


revdep-rebuild is clean..

I cannot emerge (rebuild) anything. Never seen this problem before

Ideas on fixing this?



Hmm - not sure exactly, but two thoughts come to mind off the bat:

1. Check your disk space, make sure it's not full
2. As root, do a chown -R portage:portage /var/cache/edb

and see what happens.

-James


  

James

--
gentoo-user@lists.gentoo.org mailing list




add the -c to chown
  -c, --changes
 like verbose but report only when a change is made

--
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] gentoo on xbox

2008-01-31 Thread KH

Hi,

the current livecd-xbox-20050914.iso.bz2 
<http://ftp.udc.es/gentoo/experimental/x86/xbox/livecd/livecd-xbox-20050914.iso.bz2> 
is from 01-Oct-2005 05:40. The CD is outdated. This is leading to some 
problems when installing gentoo on the xbox.


I was wandering if anybody knows where to find a documentation how the 
last livecd for the xbox was build and how the upcoming livecd for x86 
will be build. Then it might not be that hard to build a new livecd for 
the xbox.


The problems from the current livecd - as far as I know them -

1. The livecd will not boot when cromwell 2.40 bios is installed.
2. One cannot use a current stage3 tarball. When chrooting this will 
lead to a FATAL - Kernel to old
3. The 2006.0 tarball one can use to chroot is still using gcc 3.xxx. 
This is resulting in heavy upgrading work

4. You are running in the small pam shadow problem.

Thanks
kh
--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Re: gentoo on xbox

2008-01-31 Thread KH

James wrote:

KH  konstantinhansen.de> writes:


  
the current livecd-xbox-20050914.iso.bz2 




  
The CD is outdated. This is leading to some 
problems when installing gentoo on the xbox.




Here is a link you might find interesting:


http://www.gentoo.org/proj/en/releng/release/2008.0/index.xml
hth,

James
  

Hi, thanks for that great link.

The big issue I recall running into was not Gentoo but it was the BIOS
and booting. The install disk could only work with older XBoxes before
M$ changed the BIOS. After the BIOS change you could install but not
boot.

Note that with the early M$ BIOS I had very limited options in terms
of file system types that the hard drive could use, at least on the
root partition. I don't remember if I could make other partition types
after I was in Gentoo.

If you Google 'knecht xbox bios' you will likely run into many of the
conversations I had back in 2005 on this subject.

Hope this helps,
Mark
  
Hi, well, I do have an old XBox. I already changed the bios: This is 
done by a combination of cromwell and raincoat flasher.
You can run any file system supported by linux. This should not be a 
problem any longer.

Thanks for the google hint.

Right now I am having trouble booting my new installed system. This is 
because I don't really understand the syntax from linuxboot.cfg Well 
I'll search the web for this.


KH
--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Which arch do I have ?

2008-02-12 Thread KH

Alan McKinnon wrote:

On Tuesday 12 February 2008, Wael Nasreddine wrote:
  
This One Time, at Band Camp, Alan McKinnon <[EMAIL PROTECTED]> 


said, On Tue, Feb 12, 2008 at 03:05:20PM +0200:
  

On Tuesday 12 February 2008, Wael Nasreddine wrote:
  


  

The x86_64 name is used by Red Hat and other distros. There are all
the same thing really, but using the wrong name in the wrong
context clouds the issues and leads to vast side-threads asking
question that have no answers and that accomplish nothing.
  

I'm sorry but I'm just used to call it this way, most of distros I
have tried in the past call it this way, anyway I'll try to memorize
it.



Cool. Nothing worse than composing a decent post, only to then have to 
explain that you weren't using THIS definition but rather THAT one. 
It's an easy enough error to make (do it myself too) so no worries
  

sorry for the question:
why does

#ls /usr/src/linux/arch/

show

alpha/ blackfin/  h8300/ m32r/  mips/  ppc/   
sh64/  um/xtensa/   
arm/   cris/  i386/  m68k/  parisc/s390/  
sparc/ v850/ 
avr32/ frv/   ia64/  m68knommu/ powerpc/   sh/
sparc64/   x86_64/  


but not amd64?

kh
  

So, the only good reason to move to amd64 is when you buy a 64 bit
machine
  

I have 1G RAM and it's a laptop doesn't serve huge databases so I
guess despite if my CPU is 64 or 32 bits, I'll just stick with the 32
version, works great...



Agreed. You have no obvious benefits from a 64 bit arch. You also get to 
not have to struggle with flash wondering if it will work this time or 
not ;-)


  


--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] CFLAGS changes

2008-02-21 Thread KH

James wrote:

Hello,


Current  CFLAGS="-O2 -march=i686 -pipe"


I want to add "-fomit-frame-pointer" to my
CFLAGS on an existing system that has been running
for months.


Is this safe or do I have to rebuild everything with
somelike "emerge -e" ?


Should it be avoided completely?

James




  

Hi,

I am not too good in English but I alway understood that:

|-fomit-frame-pointer|
   Don't keep the frame pointer in a register for functions that don't
   need one. This avoids the instructions to save, set up and restore
   frame pointers; it also makes an extra register available in many
   functions. *It also makes debugging impossible on some machines.*

   On some machines, such as the VAX, this flag has no effect, because
   the standard calling sequence automatically handles the frame
   pointer and nothing is saved by pretending it doesn't exist. The
   machine-description macro |FRAME_POINTER_REQUIRED| controls whether
   a target machine supports this flag. See Register Usage
   .


   Enabled at levels -O, -O2, -O3, -Os.


means, that fomit-frame-pointer is already active when -o ... is choose.

see 
http://gcc.gnu.org/onlinedocs/gcc-4.1.2/gcc/Optimize-Options.html#Optimize-Options


--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Grub hangs when a USB disk is attached

2008-02-28 Thread KH

Hi,

never tried that and might only be a temporary workaround. You could 
install grub in the mbr of both disk and then point them only to your 
internal disk. That way you should always be able to boot, shouldn't you?


kh

andrea wrote:

On gio, 2008-02-28 at 12:54 -0500, Don Jerman wrote:
  

I've had problems with disk presentation order changing (fairly
randomly) when USB disks are attached during boot.  Apparently there's
a race between the SCSI controller and the USB controller(s).  If you
attach the USB disk later the SCSI stuff has all been discovered so of
course it gets allocated later in the list, but if it's attached while
booting the USB disk might come first or in the middle somewhere.

This might lead to grub looking for its files in the wrong place,
which might explain the hang.



This is exactly what happens here.

  

If you want to test this theory, boot from a CD while the USB is
installed and see where it winds up in /dev, then boot without it.  Be
very careful about assuming drive  identities!  That's how I lost my
system disk last time -- /dev/sdb seemed to be partitioned funny and I
figured it out just a little too late.




I booted in a livecd and opened a grub command line. It reads my usb
disk as (hd0,0).

By the way I don't like this behavior and I need a solution to fix it.
It is a laptop and I don't want to umount and unplug my usb disk every
time I need to hibernate my system.


  


--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] torrent/mkv

2008-03-07 Thread KH

Gavin Seddon wrote:
Hi ctorrent produced the trilogy in mkv format, as far as I can tell 
this needs modifying before I can burn.  What's the best way todo this 
pls?

GAVIN
What do you want to tell me with this. Torrent is a software for p2p. 
When you choose to download an mkv file you will receive an mkv file. 
This has nothing to do with ctorrent.


For converting videos you might want to search the wiki or the forums 
first. This might be your first step.

http://gentoo-wiki.com/Special:Search?search=converting&go=Go

Also you can read the man pages from the programs you want to use to 
convert your files.


hitachi
--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Status of Gentoo

2008-03-11 Thread KH

Jamie Dobbs wrote:
I've been away from Gentoo for the last year or so and using Ubuntu 
but find that I want to return to Gentoo simply because of the level 
of customization that I can do with it.
However, I do have a few worries - why has there been no 2007.1 
release (there was a 2006.1 from what I recall)? There also appears to 
have been a bit of turmoil in the Gentoo 'management;' - has this 
affected the long term viability of running Gentoo?
Also I'm not running at Athlon X2 system, ifs there any _real_ 
advantage to running AMD64 or should I still to x86?

Just a few questions before I plunge in to it again :-)

you can find anonther to your question in the mailing list. this is an 
email chris brennan wrote some days ago:


The problem is that we don't believe in tales about witches and 
premonition, do we? ;)


I do, does that count?

Some people call it yellow press (though in my country it would be 
translated
to "pink press" :P. This gets kind of boring, because every two or 
three days a similar thread arises in the forum or here. Once a year I 
answer this kind

of topic (I usually just silently ignore them).


Bad press In general should just about do it. If in doubt, /. it first. 
If it's been /.'d, dig, if you can dig it. Something is afoot, and we 
all need to be paying attention :D


Right now, gentoo is stronger than ever. Monthly newsletter works 
again, and
they are better than ever. The legal issues with the foundation (about 
papers

and bureaucracy) are all now solved and portage is maintained and updated
everyday. I figure how a person that use gentoo can question these 
things...
So I figure if any of the persons who open this kind of threads are 
really using

Gentoo for anything else than installing it to be cooler.


Gentoo is like a cult ... it can't easily be killed.

"Every generation has a mythology. Every millenium has a doomsday cult. 
Every legend gets the distortion knob wound up until the speaker melts. 
Archeologists at the University of Helsinki today uncovered what could 
be the earliest known writings from the Cult of Tux, a fanatical 
religious sect that flourished during the early Silicon Age, around the 
dawn of the third millenium AD..." Gospel of Tux, Verse I


No offense intended. As I said, this just gets boring after 1000 posts 
telling

the same. It kind of seems like spam to me.


It's dead, squashed, flattened, ya hear :D (very poor Capone imitation)


Saludos :)

--
gentoo-user@lists.gentoo.org mailing list

--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Status of Gentoo

2008-03-11 Thread KH

Dale wrote:

Jamie Dobbs wrote:

Also I'm not running at Athlon X2 system, ifs there any _real_ 
advantage to running AMD64 or should I still to x86?

Just a few questions before I plunge in to it again :-)



No clue on this one.  I'm not building a 64 bit rig until I know I can 
use it and it is supported 100%.  Since you already got one, may as well.

Hope that helps.

Dale

:-)  :-)


only thing I found out until now is that flash is not working. Maybe 
this is fixed by now.


kh
--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Status of Gentoo

2008-03-11 Thread KH

Neil Bothwick wrote:

On Tue, 11 Mar 2008 08:39:39 +0100, KH wrote:

  
only thing I found out until now is that flash is not working. Maybe 
this is fixed by now.



Install nspluginwrapper and the vast majority of flash sites work.


  

cool. Never missed it but it's nice to have it. Thanx
--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Re: Re: "emerge -DuvatN world" doesn't show all upgradeable packages

2008-04-08 Thread KH

Hi,

I use following approach:
emerge --sync
emerge -DuavN world
dispatch-conf
emerge --depclean -pv
revdep-rebuild
glsa-check -t all

Whenever there is something changed on the way, I will start with the 
world command again. Sometimes depclean will remove something world will 
emerge again. I want to be on the save side for those cases.


Anyway I also seem to have orphan packages not found by depclean but not 
updated by emerge -DuavN world


My Post (german): 
http://forums.gentoo.org/viewtopic-t-685418-highlight-.html


I would be interested to hear about your outcomes to compare the 
(update)result from you when comparing:

emerge -DuavN world
emerge -aev world
emerge -DuavN --with-bdeps y world

To see if some package is needed by anything you might run equery 
depends 


KH

Michael Schmarck wrote:

Alan McKinnon <[EMAIL PROTECTED]> wrote:

  

On Tuesday 08 April 2008, Michael Schmarck wrote:


Connected question: How do I quickly find all the packages that
got installed as a dependency, but which are no longer needed,
because the dependent package got removed (as an example, I'd
like to find kde-i18n, because that used to be a dependency of
kde-meta and kde-meta is no longer installed).
  

emerge --depclean



thanks. 200 some packages, which would be removed. Quite a 
lot.


After removing stuff, a revdep-rebuild should be done, shouldn't
it?

Michael

  


--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Re: Re: Re: "emerge -DuvatN world" doesn't show all upgradeable packages

2008-04-08 Thread KH
Maybe he does have multiple versions installed of those packages. What 
is the output of for example:

emerge -avP gcc
?
KH


Alan McKinnon wrote:

On Tuesday 08 April 2008, Michael Schmarck wrote:
  

Neil Bothwick <[EMAIL PROTECTED]> wrote:


On Tue, 08 Apr 2008 12:39:11 +0200, Michael Schmarck wrote:
  

emerge --depclean
  

thanks. 200 some packages, which would be removed. Quite a
lot.


If you've removed kde-meta, I'm not surprised.
  

It's not (mainly) kde packages that show up there. It's:



I'm surprised these show up from --depclean:

  

 app-admin/logrotate
 app-arch/sharutils
 app-crypt/hashalot
 app-crypt/mhash
 app-text/psutils
 dev-libs/glib
 dev-libs/lzo
 dev-libs/pcre++
 dev-util/yacc



After last week's entertainment, why are these not in your world?
  

 media-libs/gstreamer
 media-libs/libgpod
 media-libs/libmp4v2
 media-libs/libmpeg3
 media-libs/libquicktime
 media-libs/libsamplerate
 media-libs/libsndfile
 media-libs/libsvg
 media-libs/libwmf
 media-plugins/gst-plugins-alsa
 media-plugins/gst-plugins-esd
 media-plugins/gst-plugins-flac
 media-plugins/gst-plugins-theora



Hmm, more stuff that should be in world if you want it.
  

 net-wireless/wireless-tools
 sys-apps/acl
 sys-apps/iproute2
 sys-devel/automake
 sys-devel/bin86
 sys-devel/dev86



Ouch!! What did you do to this box that this one shows up? gcc is not in 
world, it's in system, and the only way to get it out of there is to 
edit the profile
  

 sys-devel/gcc



I think you need to fix your world before before doing any --depclean 
steps.


  


--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Crippled system

2008-04-16 Thread KH

Alan McKinnon schrieb:

On Wednesday 16 April 2008, Richard Marzan wrote:
  

I had a circular dep problem with mktemp and coreutils and emerge
-C'd coreutils. Now I can't do anything significant just cd. how can
i repair this?



Boot off a LiveCD somehow. Use one that has a fairly recent coreutils on 
it, and merge the coreutils pkg onto your actual system on disk. You 
will have to mount your disk-based system somewhere convenient and tell 
portage off the LiveCD to use that as the ROOT system to merge to.


Next time portage tells you that unmerging something in system is a very 
very very bad idea, you should take it seriously.


  

Hi,
you are not the only one who removed coreutils.
http://forums.gentoo.org/search.php?mode=results&show_results=topics&search_keywords=coreutils
k
--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Doubt about FLAG use

2008-04-24 Thread KH

USE="-ipv6 -ftp" emerge -av mplayer

Net Warrior schrieb:

Hi there guys.
I've been reading the handbook about the FLAGS featrure usage, very
powerfull indeed, but, I just was wondering if there a way to define
some flags for a particular aplication and not in general.

Lets take a real case, mplayer, I'd like to revome some stuff I do not
use/like, for example, ipv6/ftp, joyskit for exmaple, is there a way
to define this kind of thing like USE{mplayer}"-ipv6 -ftp" in
make.conf ?

Thanks for your time and support.
  


--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Doubt about FLAG use

2008-04-24 Thread KH

Hi,

what does top post mean?

My fault. I  new I read  it somewhere but I did not spend enough time to 
read everything.



http://www.gentoo.org/doc/en/handbook/handbook-amd64.xml?part=2&chap=2

Declare temporary USE flags

Sometimes you want to set a certain USE setting only once. Instead of 
editing /etc/make.conf twice (to do and undo the USE changes) you can 
just declare the USE variable as environment variable. Remember that, 
when you re-emerge or update this application (either explicitly or as 
part of a system update) your changes will be lost!


As an example we will temporarily remove java from the USE setting 
during the installation of seamonkey.


Code Listing 2.5: Using USE as environment variable

# USE="-java" emerge seamonkey
 




Alan McKinnon schrieb:

1. Please don't top post

2. This is a very bad suggestion, as portage does not record the 
settings used. With the next upgrade of mplayer, especially if it's a 
deep world update, mplayer will be remerged with standard USE flags, 
modified by make.conf and package.use. This will potentially pull in 
unwanted ipv6 stuff for example.


'USE= emerge  ' has been deprecated for a very 
long time now for these reasons.




On Thursday 24 April 2008, KH wrote:
  

 USE="-ipv6 -ftp" emerge -av mplayer


--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Doubt about FLAG use

2008-04-24 Thread KH

kashani schrieb:

Net Warrior wrote:

Well, after all I'm confused after reading the thread.

Should I use this or not ?  *USE="-ipv6 -ftp" emerge -av mplayer*



you should vi /etc/portage/package.use and add

# mplayer fixes
media-video/mplayer-ftp -ipv6

and then verify that you're getting what you want before emerging. 
This way you know your changes will remain the next time you run 
emerge uD world or update mplayer on its own.


kashani

I am really sorry for all this confusion I caused.

kh
--
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] where to find a substitude for Xmodmap?

2009-04-13 Thread KH
Hi,

I also upgraded to xorg-server 1.5 with hal and evdev. So far so good. I
do have a Natural Keyboard Pro. There are some cool buttons like email ...
They used not to work but some weeks ago I created the following
.Xmodmap and they worked for me:

keycode 178 = XF86WWW
keycode 236 = XF86Mail
keycode 230 = XF86Launch0
keycode 229 = XF86Launch1
keycode 231 = XF86Launch2
keycode 232 = XF86Launch3
keycode 233 = XF86Launch4
keycode 234 = XF86Launch5
keycode 161 = XF86Calculator
keycode 235 = XF86Launch6

Now I cannot use .Xmodmap any more because of hal and evdev. Also now
all the buttons do work like the should do. The point is, I don't want
them to work this way. I don't need a "Reload" button for firefox. I
want to use this button to fire up oO. How can I do this? ( I alrady
repainted my keyboard according to the functions I want the buttons to
have :-))

Thanks

kh



Re: [gentoo-user] where to find a substitude for Xmodmap?

2009-04-13 Thread KH
Justin schrieb:

> go to /etc/conf.d/local.start and add
> 
> setkeycode 178 XF86WWW
> .
> .


Thanks for your answer. This did not work but solve my problem in
another way. I led me to realize, that the keycodes are already set
(shame on me) I only needed to change them in the xfce menu editor. The
only thing not working from there is executing /usr/bin/terminal

Thanks

kh



Re: [gentoo-user] Which level of flash reader for AMD64?

2009-04-18 Thread KH
Robin Atwood schrieb:
> I was using net-www/netscape-flash-10.0.12.36 but the ebuild was removed from 
> portage and I got downgraded to www-plugins/adobe-flash-9.0.159.0 since I had 
> higher versions masked. I use www-plugins/nspluginwrapper-1.0.0 with 
> konqueror-3.5.10; when I tried to upgrade it the latest version just 
> segfaults so I have masked that. adobe-flash-9.0.159.0 now just causes 
> konqueror to freeze and 10.0.22.87 segfaults. Anyone having any success with 
> this?
> 
> TIA
> -Robin

Hi,

with the amd64 version of flah there is no need for
www-plugins/nspluginwrapper, is there? Did you emerge adobe-flash with
USE Flag -32bit ?

kh



Re: [gentoo-user] How to use newer version of a package ?

2009-04-19 Thread KH
KH schrieb:

> 
> 
> =media-sound/rosegarden-1.7.3 ~x86
> 
> The first / you wrote is missing!
> 
> kh
> 
 Well sometimes I am just too slow  ;-)
 Alan was first!




  1   2   3   >