[gentoo-user] Re: Mounting Question...

2007-12-20 Thread Alexander Skwar
Dirk Heinrichs <[EMAIL PROTECTED]> wrote:

> Here is what I would recommend for a normal linux system:
> 
> [hs]da1: /boot, 64M, ext2
> [hs]da2: /, 256M, ext3 or xfs
> [hs]da3: LVM

I used to use something like this for a long time as well,
but I think it was Neil from this list, who made me think
about that - what's the use of /boot here? Why a seperate
/boot partition?

Anyway, I now stopped using a seperate /boot and "integrated"
it with /, so that I only need to have this:

[hs]da1: /, 512m, ext3, reiserfs or maybe xfs
[hs]da2: swap, size as needed
[hs]da3: LVM

I don't have swap on LVM, as I'd like to do suspend-to-disk,
which is easier to do with an old-style partition. And I 
also don't resize my swap partition. But if I'd need *additional*
swap, I'd create that as a LV on LVM - it's just the "primary"
SWAP, which I like to keep off-LVM.

Regards,

Alexander

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: Python vs C++

2007-12-17 Thread Alexander Skwar
David Relson <[EMAIL PROTECTED]> wrote:

> I
> suspect C++ runs somewhat faster, but that's not the issue here.

Is that actually true (especially for the Portage case)? I'd
suspect that portage sometimes tends to be slow, because of
the myriad of files it has to deal with. So it's I/O which is
slow.

Would that problem go away, if the "engine" would be rewritten
in C++?

Alexander

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: Creating a restricted user

2007-12-14 Thread Alexander Skwar
Grant <[EMAIL PROTECTED]> wrote:

> then can't log in via GDM.  Makes sense.  I want the user to be able
> to log in via GDM but not via ssh.  Is that configured in ssh?

Yes, you can configure that in SSH. There are the 

DenyUsers
DenyGroups

keywords for sshd_config.

Alexander

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: Re: Picasa 2.7 Beta

2007-12-12 Thread Alexander Skwar
Neil Bothwick <[EMAIL PROTECTED]> wrote:

> On Wed, 12 Dec 2007 12:01:55 +0100, Alexander Skwar wrote:
> 
>> > http://bugs.gentoo.org/show_bug.cgi?id=200568 reports success using
>> > rpm2targz
>> 
>> And why should that make any difference? I mean, after all,
>> I am able to extract the package. It's just, that I cannot
>> run it.
> 
> I'm not saying that the extraction method is important, but that someone
> has got it to run and detailed the steps in the bug report.

Well, let's not fight, but his steps are at least as detailed
as what I've written here :) Granted, he wrote that he also
created desktop files - that's something, I haven't done.
But I think, that's at as important as the way the stuff was
extracted, don't you think? :)

Alexander

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: Picasa 2.7 Beta

2007-12-12 Thread Alexander Skwar
Neil Bothwick <[EMAIL PROTECTED]> wrote:

> On Wed, 12 Dec 2007 10:49:03 +0100, Alexander Skwar wrote:
> 
>> cd /
>> rpm2cpio < /tmp/picasa-2.7.3736-7.i386.rpm | cpio -id
> 
> http://bugs.gentoo.org/show_bug.cgi?id=200568 reports success using
> rpm2targz

BTW: It also now reports, that rpm2targz doesn't work *G*

-- 
Alexander

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: Picasa 2.7 Beta

2007-12-12 Thread Alexander Skwar
Neil Bothwick <[EMAIL PROTECTED]> wrote:

> On Wed, 12 Dec 2007 10:49:03 +0100, Alexander Skwar wrote:
> 
>> cd /
>> rpm2cpio < /tmp/picasa-2.7.3736-7.i386.rpm | cpio -id
> 
> http://bugs.gentoo.org/show_bug.cgi?id=200568 reports success using
> rpm2targz

And why should that make any difference? I mean, after all, 
I am able to extract the package. It's just, that I cannot
run it.

Alexander

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Picasa 2.7 Beta

2007-12-12 Thread Alexander Skwar
Hello.

Google just (?) released a new version of Picasa - 2.7 beta.
Did somebody of you manage to get this to run on Gentoo Linux?
I downloaded the RPM from ,
,
and unpacked it by doing:

cd /
rpm2cpio < /tmp/picasa-2.7.3736-7.i386.rpm | cpio -id

Now I tried to run picasa by executing:

/opt/picasa/bin/picasa

This seems to work - somewhat... With that, I mean that Picasa
starts, but it just hangs there, see 
.
I cannot click on any of the buttons and the splash screen also
doesn't go away.

Anyone with more luck?

Cheers,

Alexander

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Re: Emerging virtual/editor installs nano - why?

2007-12-07 Thread Alexander Skwar
On Dec 7, 2007 4:37 PM, Bo Ørsted Andresen <[EMAIL PROTECTED]> wrote:
> On Friday 07 December 2007 16:21:31 Alexander Skwar wrote:
> > So the expectation should be, that it's not going to be possible
> > to preselect an mta the way I've shown, as soon as virtual/mta
> > is converted to a new style virtual.
> >
> > Is that right? Is there work going on to change all the old
> > style virtuals to new style ones?
>
> You are right except for the fact that virtual/mta will not be converted any
> time soon (if ever). Old style virtuals allow their providers to block all
> other providers by blocking the virtual. This isn't possible with the current
> format for new style virtuals so it isn't going to happen. editor didn't need
> that feature and thus could easily be converted...

Ah, okay. Pretty bad situation, though, isn't it? I mean,
with the way it is now, we've got some virtuals which
work with virtuals and some, which don't. Do you happen
to know, if there's a bug which should rectify this
broken situation?

Alexander
ï¿½ï¿½í¢‹ï¿½z���(��&j)b�   b�

[gentoo-user] Re: Emerging virtual/editor installs nano - why?

2007-12-07 Thread Alexander Skwar
Bo Ørsted Andresen <[EMAIL PROTECTED]> wrote:

> On Friday 07 December 2007 10:49:42 Alexander Skwar wrote:
>> I installed stage-3 2007.0 and am now trying to configure
>> it to my liking. For example, I dislike nano and would like
>> to use vim instead. vim (among other editors) provides
>> virtual/editor. So I thought, that I could add
>>
>> virtual/editor  app-editors/vim
>>
>> to /etc/portage/profile/virtuals. BUT:
> [SNIP]
>> So, what am I doing wrong with regards to virtual/editor? I know
>> that I could just install app-editors/vim and be done, but I'd
>> like to know why emerge virtual/editor doesn't work the way I expect
>> it to work (or why my expectation is wrong).
> 
> profile/virtuals is for old style virtuals only. editor was converted to a
> new style virtual. New style virtuals are just ebuilds was an any-of
> runtime dependency on all providers. On initial install portage will
> choose the first visible provider that's listed in the ebuild. So either
> put it in an overlay or just install the provider you want and let that
> satisfy it...

Thx. Understood as well.

So the expectation should be, that it's not going to be possible
to preselect an mta the way I've shown, as soon as virtual/mta
is converted to a new style virtual.

Is that right? Is there work going on to change all the old
style virtuals to new style ones?

I don't know, but from a user perspective, these new style virtuals
offer less flexibility. I've read the GLEP, but don't quite understand
why something with lesser flexibility has been introduced. I understood,
that old style virtuals might have had some performance problems for
portage.

Well. I guess there's nothing that can be done about it.

Thanks,

Alexander

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: Re: Emerging virtual/editor installs nano - why?

2007-12-07 Thread Alexander Skwar
Emil Beinroth <[EMAIL PROTECTED]> wrote:

> On Fri, Dec 07, 2007 at 02:29:54PM +0100, Alexander Skwar wrote:
>> Emil Beinroth <[EMAIL PROTECTED]> wrote:
>> > there is a virtual/editor package in the tree, that selects nano as the
>> > default choice.
>> 
>> How does it do that?
> 
> It's done by using the RDEPEND variable inside the virtual/editor
> ebuild.
> 
> RDEPEND="|| ( app-editors/nano
> app-editors/dav
> ..."
> 
> That says that the package needs any of the packages in parentheses to
> run. If none of them are installed, the first one in the list is
> selected to be installed. (AFAIK)

Thx. Understood.

[...]
>> How do I make it select something else?
> 
> I would say you don't. Just emerge the package you want (as you already
> mentioned).

Okay. And why am I able to preselect the mta the way I 
demonstrated?

Alexander

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Re: Emerging virtual/editor installs nano - why?

2007-12-07 Thread Alexander Skwar
Hello.

On Dec 7, 2007 3:56 PM, Stroller <[EMAIL PROTECTED]> wrote:

>
> On 7 Dec 2007, at 13:29, Alexander Skwar wrote:
> > Emil Beinroth <[EMAIL PROTECTED]> wrote:
> >>
> >> there is a virtual/editor package in the tree, that selects nano
> >> as the
> >> default choice.
> >
> > How does it do that? How do I make it select something else?
>
> I think you simply emerge vi (or vim or emacs or joe or whatever) and
> then portage will no longer try to emerge nano (or any other editor).


Yes, I know. That's one way. But why am I able to "preselect"
the virtual/mta by editing the virtuals file and why can't this same
thing be done for virtual/editor? Basically, I'd like to *preselect*
what should be taken as a virtual.

Best regards,

Alexander


[gentoo-user] Re: Emerging virtual/editor installs nano - why?

2007-12-07 Thread Alexander Skwar
Emil Beinroth <[EMAIL PROTECTED]> wrote:

> Hi,
> 
> there is a virtual/editor package in the tree, that selects nano as the
> default choice. 

How does it do that? How do I make it select something else?

> A virtual/mta package does not exist ATM. 

True. There are just packages which PROVIDE virtual/mta.

Alexander

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Emerging virtual/editor installs nano - why?

2007-12-07 Thread Alexander Skwar
Hello.

I installed stage-3 2007.0 and am now trying to configure
it to my liking. For example, I dislike nano and would like
to use vim instead. vim (among other editors) provides
virtual/editor. So I thought, that I could add

virtual/editor  app-editors/vim

to /etc/portage/profile/virtuals. BUT:

winnb000488 portage # cat /etc/portage/profile/virtuals 
virtual/editor app-editors/vim
winnb000488 portage # emerge -vpt virtual/editor

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

Calculating dependencies... done!
[ebuild  N] virtual/editor-0  0 kB 
[ebuild  N]  app-editors/nano-2.0.6  USE="-debug -justify -minimal ncurses 
nls -slang spell unicode" 1,285 kB 

Total: 2 packages (2 new), Size of downloads: 1,285 kB

Why's that? Why is nano being installed to satisfy the
virtual/editor need?

When I add

virtual/mta mail-mta/esmtp

to the virtuals file and try to emerge virtual/mta, esmtp
should be installed:

winnb000488 portage # echo virtual/mta mail-mta/esmtp >> profile/virtuals 
winnb000488 portage # emerge -vpt virtual/mta

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

Calculating dependencies... done!
[ebuild  N] mail-mta/esmtp-0.5.0-r1  USE="-mailwrapper" 123 kB 
[ebuild  N]  net-libs/libesmtp-1.0.4  USE="-debug ssl" 344 kB 

Total: 2 packages (2 new), Size of downloads: 467 kB

Without that line in the virtuals file, ssmtp is going to be
installed:

winnb000488 portage # grep -v esmtp profile/virtuals > /tmp/dummy ; cat 
/tmp/dummy > profile/virtuals ; rm /tmp/dummy
winnb000488 portage # cat profile/virtuals
virtual/editor app-editors/vim
winnb000488 portage # emerge -vpt virtual/mta

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

Calculating dependencies... done!
[ebuild  N] mail-mta/ssmtp-2.61-r2  USE="-ipv6 -mailwrapper -md5sum ssl" 53 
kB 
[ebuild  N]  net-mail/mailbase-1  USE="pam" 0 kB 

Total: 2 packages (2 new), Size of downloads: 53 kB

So, what am I doing wrong with regards to virtual/editor? I know
that I could just install app-editors/vim and be done, but I'd
like to know why emerge virtual/editor doesn't work the way I expect
it to work (or why my expectation is wrong).

Alexander

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: ruby gems

2007-11-22 Thread Alexander Skwar
Thufir <[EMAIL PROTECTED]> wrote:

> On Thu, 22 Nov 2007 02:47:24 +, Thufir wrote:
> 
> 
>> Now,  shows
>> that 1.2.5 is stable, though.  1.8.6_p110-r1 looks to be latest stable
>> release of ruby available through portage for x86 systems.
> 
> 
> arrakis ~ # eix rails
> [I] dev-ruby/rails
>  Available versions:
> (1.1)   1.1.6 ~1.1.6-r1
> (1.2)   ~1.2.0 ~1.2.1 ~1.2.2 ~1.2.3
>  Installed versions:  1.1.6(1.1)(18:31:16 11/21/07)(doc fastcgi mysql
> -postgres sqlite -sqlite3)
>  Homepage:http://www.rubyonrails.org
>  Description: ruby on rails is a web-application and
> persistance framework
> 
> arrakis ~ #

[EMAIL PROTECTED] ~ $ eix rails
* app-admin/eselect-rails
 Available versions:  0.10
 Homepage:http://www.gentoo.org/
 Description: Manages Ruby on Rails symlinks

* dev-ruby/rails
 Available versions:  
(1.1)   1.1.6 (~)1.1.6-r2
(1.2)   (~)1.2.3 1.2.3-r1 (~)1.2.4 1.2.5
{doc fastcgi mysql postgres sqlite sqlite3}
 Homepage:http://www.rubyonrails.org
 Description: ruby on rails is a web-application and persistance 
framework

Found 2 matches.
[EMAIL PROTECTED] ~ $ date
Do 22. Nov 10:13:26 CET 2007


> If I'm interpreting eix correctly there's not even an option to unmask
> 1.2.5 (which shouldn't need unmasking).

You need to sync.

Alexander

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: glibc unmerged by accident

2007-11-13 Thread Alexander Skwar
Florian Philipp <[EMAIL PROTECTED]> wrote:

> He just wanted to copy over some files from backup. Specifically he
> requested "common shell commands such as ls or cp"

Well, he requested, that he wanted to do a merge:

| I am thinking that to fix this I will have to boot from a cd and emerge
| glibc. 

He also said, that he cannot use common shell commands anymore,
that's true.

Alexander Skwar

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: glibc unmerged by accident

2007-11-13 Thread Alexander Skwar
Florian Philipp <[EMAIL PROTECTED]> wrote:
> On Mon, 2007-11-12 at 18:49 -0500, de Almeida, Valmor F. wrote:

>> glibc was unmerged and now I can't use common shell commands such as ls
>> or cp to list and copy files from a backup.
>> 
>> I am thinking that to fix this I will have to boot from a cd and emerge
>> glibc.
[...]
> "busybox ash"
> Hopefully it's not dynamically linked ...

But even then, he won't have much luck emerging something, as gcc
requires glibc.

Alexander Skwar

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: Disk ARchiver command line questions

2007-11-13 Thread Alexander Skwar
Thufir <[EMAIL PROTECTED]> wrote:

> Disk ARchiver command line questions
> From: Thufir  gmail.com>
> Subject: Disk ARchiver command line questions
> Newsgroups: gmane.linux.redhat.fedora.general
> Date: 2007-10-17 09:09:22 GMT
> 
> I've been reading the man pages, but command line stuff isn't my forte :(
> 
> I want to backup some data using DAR (Disk ARchive) and here's what I
> have so far:
> 
> arrakis ~ #
> arrakis ~ #
> arrakis ~ # ls -alh /mnt/VolGroup00/LogVol00/home/
> total 24K
> drwxr-xr-x  3 root root 4.0K Oct 17 01:55 .
> drwxr-xr-x 24  500  500 4.0K Oct 16 22:47 ..
> drwx-- 30  500  500 4.0K Oct 16 22:47 thufir
> arrakis ~ #
> arrakis ~ # dar --create /mnt/VolGroup00/LogVol00/home/thufir/ --slice
> 690M  --tree-format --beep --pause
> 
>  
>  862 inode(s) saved
>  with 0 hard link(s) recorded
>  0 inode(s) changed at the moment of the backup
>  0 inode(s) not saved (no inode/file change)
>  0 inode(s) failed to save (filesystem error)
>  0 inode(s) ignored (excluded by filters)
>  0 inode(s) recorded as deleted from reference backup
>  
>  Total number of inode considered: 862
>  
>  EA saved for 0 inode(s)
>  
> arrakis ~ #
> arrakis ~ # ls -alh /mnt/VolGroup00/LogVol00/home/total 106M
> drwxr-xr-x  3 root root 4.0K Oct 17 01:57 .
> drwxr-xr-x 24  500  500 4.0K Oct 16 22:47 ..
> drwx-- 30  500  500 4.0K Oct 16 22:47 thufir
> -rw-r--r--  1 root root 106M Oct 17 01:57 thufir.1.dar
> arrakis ~ #
> arrakis ~ # date
> Wed Oct 17 01:58:01 PDT 2007
> arrakis ~ #
> 
> Starting with the least important questions and increasing in
> significance:
> 
> 1.)  How can I change the command so the .dar files are named backup.
> [n].dar instead of thufir.[n].dar?

By using the --create option :) I use:

--create /.backup/2007-11-13

Result: Files named 2007-11-13.1.dar, 2007-11-13.2.dar ... get created 
in the /.backup directory.

> 2.)  As it stands, it's going to take 862 slices to backup this data
> without compression?

No. What makes you think that?

> I asked for slices of 690M, why is it only showing 
> as 106M for this particular slice?

Because all of your data is only 106M "big", after compression.

> 3.)  Do I just burn thufir.1.dar to disc (CD-R) as a regular data disc
> using, for example, the builti-in nautilus burner?

Yes. If you trust CD-R, that is :)

> 4.)  How do I get DAR to generate the second slice?

It does it automatically, as soon as the slice reaches the
specified maximum size.

> I know that these questions are answered in the manual, 

Yes.

PS: There's a dar mailing list as well. Dennis, the author of
dar, reads it and very quickly responds there as well; always
very helpful!

Alexander Skwar

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: Re: OT: Is EVMS dead?

2007-11-08 Thread Alexander Skwar
Eric S. Johansson <[EMAIL PROTECTED]> wrote:
> Alexander Skwar wrote:
>> Eric S. Johansson <[EMAIL PROTECTED]> wrote:
>>> Dirk Heinrichs wrote:

>> pvcreate /dev/hda vgcreate data /dev/hda lvcreate -L42g data mkfs
>> /dev/data/lvol0
>> 
>> What's so hard about that? Does that fit on a postcard?
> 
>   it needs a little more detail so a user can extrapolate to what they
>   need but,

The detail can be found in the howto; eg. 
http://tldp.org/HOWTO/LVM-HOWTO/index.html

> What is hard however is developing the postcard level documentation for
> disaster
> recovery.  

- Get new drive
- Do as mentioned above
- Get stuff from backup

Pretty short, if you ask me ;)

>> -v: pvcreate /dev/hda: Intialize the device as a physical volume (pv), so
>> that it can be used by LVM. One time job.
> 
> would need reference physical volume, physical device associations (i.e.
> single
> disc or hardware raid).

What?

> is there any way to display/enumerate them 
> independent
> of non-LVM devices?

Pardon?

>> vgcreate data /dev/hda: Create a container called "data" which will hold
>> the different sub-containers. The "data" container is made up of the
>> /dev/hda physical volume.
> 
> what is a sub container? 

Exactly.

> why is it needed? when do you need it?  

That's too basic. People asking that kind of question shouldn't be
administering a system.

> do/can  
> you
> create a container spanning multiple devices?  When, how, why?

See howto.

>> lvcreate -L42g data: Create a logical volume (lv) on the "data" volume
>> group (vg). It's sized "42g" (42GiB).
> 
> again, is a logical volume a single physical volume?

They don't belong together. See the howto.

> If the volume group 
> called data (how did it get from container to volume group) 

What?

> is the same as 
> the physical volume,

It isn't. As explained in the howto.

> why not just use the physical volume?  

What?

>> mkfs /dev/data/lvol0: Create a file system on the newly created lv.
> 
> in other words, the logical volume is  treated by the system in exactly
> the same
> way as a physical volume.

Nope.

> It's a logical disk. 

What?

> these are just some of the "naïve user" questions that come to mind. 

Those users shouldn't admin a system.

> They 
> aren't answers concisely in most of the documentation I have seen.  Part
> of the reason I say "explain it on a postcard" is because the format
> forces you to
> focus your thoughts and explain the system concisely.

And those useless questions are because you wanted a postcard explanation.

>>> with your users or the implementation is really off.
>> 
>> Nope. Some things simply *ARE* complicated.
> 
> Richard Feynman, a great physicist, once stated that if you can not
> explain a (physics) problem at a freshman level then you don't understand
> the problem. 

Might be. But you need to have more space than a postcard.

> Edward Tufte has a series of books on information design 
> simplifying
> complicated things so that you can communicate clearly.  Either of these
> men are
> smarter than you and I put together. 

That's not hard (well, at least as far as being smarter than me is
concerned *G*).

Alexander Skwar

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Trying to install binary package -> Endless loop of cache miss?

2007-11-08 Thread Alexander Skwar
Hello.

I'm trying to install one package from a binary package http host.
To do so, I added to my make.conf:

PORTAGE_BINHOST="http://public-files.askwar.gentoo-packages.s3.amazonaws.com/GentooUSB/packages/All/";
  

Now I'm running:

winnb000488 / # emerge --verbose --debug --getbinpkgonly -pt zip
myaction None
myopts {'--tree': True, '--usepkgonly': True, '--pretend': True, '--getbinpkg': 
True, '--buildpkg': True, '--alphabetical': True, '--verbose': True, '--debug': 
True, '--getbinpkgonly': True, '--usepkg': True}

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

Calculating dependencies  Fetching binary packages info...
cache miss: 'x' --- cache hit: 'o'


And the "x" keep on appearing.

What's taking so long there? The directory index isn't that big (51k, see
<http://public-files.askwar.s3.amazonaws.com/public-files.askwar.gentoo-packages.s3.amazonaws.com_GentooUSB_packages_All.index.htm>).

Thanks,

Alexander Skwar

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] glibc upgrade -> re-emerge system?

2007-11-08 Thread Alexander Skwar
Hello!

This morning, I upgraded to glibc 2.7 from whatever used to be current
in ~x86 before that (2.6.).

Do you guys do a "emerge -e system", ie. recompile everything, after such
an upgrade?

Thanks,

Alexander Skwar
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: OT: Is EVMS dead?

2007-11-07 Thread Alexander Skwar
Eric S. Johansson <[EMAIL PROTECTED]> wrote:

> Eric Martin wrote:
> 
>> drive.  All I had to do was vgscan and vgchange -a y and I was up and
>> running.  Actually, I too had a problem with my VG's named the same
>> thing.  It wasn't a problem to access different LV's but I changed the
>> VG anyway.  As a pointer for people, you might want to append the name
>> of your box to your VG, that way it will be (probably) unique on your
>> network.  Also you'll know where you are if you need to do a backup
>> like I had to.
> 
> that's a really good suggestion (appending the system name).  As for the
> just
> doing a VGA scan etc., never work for me.

What "VGA scan"?

> Usually the drive would not be 
> recognized and as far as the new system is concerned, the only useful
> thing you could do with it was format.

WFM. You must be doing something strange.

Alexander Skwar

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: OT: Is EVMS dead?

2007-11-07 Thread Alexander Skwar
Eric S. Johansson <[EMAIL PROTECTED]> wrote:

> Dirk Heinrichs wrote:
> 
>>> heap.  It's a classic example of "second system syndrome" as defined by
>>> "the mythical Man month".
>> 
>> Errh, what?
> 
> rtfb  it was published in 1972, is still in print and the first five
> chapters
> are as relevant today as they were when it was first published.  It
> explains why
> software projects fail.  I think it's pretty sad when failings in an
> industry recognized 35 years ago are still happening today.
> 
> Brooks says write one system to throw away because you are going to
> anyway.  The first time you implement, you don't understand the problem
> and you frequently
> leave out functionality or implement things in a clumsy or incorrect way. 
> This next implementation you, in theory, understand the problem and can do
> a better job which leads us to...
> 
> second system syndrome.  when you implement a system for the second time
> you think you have the problem fully understood, add lots of features and
> capabilities and end up with a disaster on your hands because you over
> estimated your capabilities.
> 
> which is really Fred Brooks's way of saying write two system to throw away
> because you're going to anyway.
> 
> a great example of this is Microsoft.  They rarely get anything right
> until the
> third version (implementation).  Other examples are easily found if you
> just look.
> 
>> 
>>> It's overly complicated, poorly documented, and
>>> has a terrible user interface that only a geek would even consider
>>> using.
>> 
>> What's wrong with the excelent user guide on the project's site? Which of
>> the three UIs exactly do you think is horrible?
> 
> could never get the containers nesting right.

What "container nesting"? Oh, you're talking about EVMS? I too never
got the hang of it. I'm perfectly fine with using plain LVM.

> If the instructions on how 
> to use an LVM can't be explained on a postcard, you don't understand how
> to communicate

pvcreate /dev/hda
vgcreate data /dev/hda
lvcreate -L42g data
mkfs /dev/data/lvol0

What's so hard about that? Does that fit on a postcard?

-v:
pvcreate /dev/hda: Intialize the device as a physical volume (pv),
so that it can be used by LVM. One time job.
vgcreate data /dev/hda: Create a container called "data" which will
hold the different sub-containers. The "data" container is made up
of the /dev/hda physical volume.
lvcreate -L42g data: Create a logical volume (lv) on the "data"
volume group (vg). It's sized "42g" (42GiB).
mkfs /dev/data/lvol0: Create a file system on the newly created lv.

> with your users or the implementation is really off.

Nope. Some things simply *ARE* complicated.

Alexander Skwar

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: OT: Is EVMS dead?

2007-11-06 Thread Alexander Skwar
Eric S. Johansson <[EMAIL PROTECTED]> wrote:

> Neil Bothwick wrote:
>> On Mon, 05 Nov 2007 18:01:28 -0500, Eric S. Johansson wrote:
>> 
>>> If you machine dies and your backups are
>>> "inadequate", you may want to try and recover the disc by putting it
>>> into another system.  How?  If you didn't back up a bunch of magic
>>> information from the original system's /etc directory, you're well and
>>> truly screwed.
>> 
>> Or you could run vgscan, provided everything is not auto-detected before
>> you get the chance.
> 
> if I remember correctly, and it has been quite a while, vgscan only works
> if
> your lvm.conf is intact.  Merging one lvm.conf with one from another
> machine is tricky and is not always successful unless you are living with
> LVM and then it
> is only mostly successful.  if you don't have your original lvm.conf,
> again if memory serves, you need to go rooting through the first
> fewsectors of your disk to find what looks like it might be perhaps,
> possibly the data you need.

What the heck are you talking about?

All that's needed to be done is a vgscan followed by a vgchange. That's
it.

> in looking for examples for this kind of recovery process, I came across a
> rather nice page from our friends at Novell.

"friends"? Novell, that's the enemy!

Alexander Skwar

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Using Amazon S3 as a PORTAGE_BINHOST

2007-10-31 Thread Alexander Skwar
Hello.

I'd like to use one of my public "buckets" at Amazon S3 to store the
package files. To do so, I uploaded the packages to s3. They are 
available at ,
all stored under the prefix GentooUSB/packages, eg. at
.
To make portage use this binhost, I set in make.conf:

PORTAGE_BINHOST="http://public-files.askwar.gentoo-packages.s3.amazonaws.com/GentooUSB/packages/";

But when I now try to use a package from there, eg. 
=app-admin/python-updater-0.3, I get an error message:

winnb000488 / # emerge -vp --getbinpkgonly =app-admin/python-updater-0.3

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

Calculating dependencies \Fetching binary packages info...
x-amz-request-id: 1C961B660CF71C9F
x-amz-id-2: qH6bzWMvFg+tG1iI0JFTefqCoxJBg3lrL2jdRVw1LrSc2djm0s+oEYiSGlHw1rgE
Content-Type: application/xml
Transfer-Encoding: chunked
Date: Wed, 31 Oct 2007 14:10:52 GMT
Server: AmazonS3


NoSuchKeyThe specified key does not 
exist.GentooUSB/packages/1C961B660CF71C9FqH6bzWMvFg+tG1iI0JFTefqCoxJBg3lrL2jdRVw1LrSc2djm0s+oEYiSGlHw1rgE
address: /GentooUSB/packages/
Traceback (most recent call last):
  File "/usr/bin/emerge", line 5481, in ?
retval = emerge_main()
  File "/usr/bin/emerge", line 5476, in emerge_main
myopts, myaction, myfiles, spinner)
  File "/usr/bin/emerge", line 4802, in action_build
mydepgraph = depgraph(settings, trees, myopts, myparams, spinner)
  File "/usr/bin/emerge", line 991, in __init__
"--getbinpkgonly" in self.myopts)
  File "/usr/lib/portage/pym/portage.py", line 6598, in populate
self.remotepkgs = getbinpkg.dir_get_metadata(
  File "/usr/lib/portage/pym/getbinpkg.py", line 448, in dir_get_metadata
filelist = dir_get_list(baseurl, conn)
  File "/usr/lib/portage/pym/getbinpkg.py", line 294, in dir_get_list
raise Exception, "Unable to get listing: %s %s" % (rc,msg)
Exception: Unable to get listing: 404 Server did not respond successfully (404: 
Not Found)

I suppose that's so, because there's no /GentooUSB/packages "directory"
on the server? If you go to 
,
you only get a 404 error. But the "file"  

exists just fine.

Does anyone know, if it's somehow possible to use S3 with Portage as a
host for PORTAGE_BINHOST?

Thanks,

Alexander

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] libxml++config.h missing - what package should provide the file?

2007-10-25 Thread Alexander Skwar
Hello.

I'm trying to compile gnome-extra/assogiate-0.2.0, and it fails, because
it cannot find "libxml++config.h":

In file included from 
/usr/include/libxml++-2.6/libxml++/exceptions/parse_error.h:25,
 from ../libassogiate/mime-type.hh:30,
 from mime-package.hh:26,
 from mime-package.cc:24:
/usr/include/libxml++-2.6/libxml++/exceptions/exception.h:28:28: error: 
libxml++config.h: No such file or directory

Could somebody please tell me, which package should provide this file?
And while we're at it, does anybody know if there's something like the
now gone "PFS", "Portage File Search" service, which used to be at
<http://www.rommel.stw.uni-erlangen.de/~fejf/cgi-bin/pfs-web.pl>?

Thanks,

Alexander Skwar

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: Re: permissions, fstab and LVM

2007-10-09 Thread Alexander Skwar
Dirk Heinrichs <[EMAIL PROTECTED]> wrote:
> Am Montag, 8. Oktober 2007 schrieb Thufir:

> Read my first response again: In fstab you specify who can _mount_ a
> volume. In the _mounted_ volumes filesystem, you specify access rights
> using chmod, chgrp, chown or, if using ACLs, setfacl.

And if you don't want to do that, maybe switch the filesystemtype
to something like VFAT? This way, you don't have to worry about
permissions anymore and can specify the owner in fstab.

>> Wnat is meant by mounting the volume recursively, please?
> 
> Don't know, didn't write that. I wrote: ...mount, then (recursively)
> change permissions...

Well, the "then" was missing :)

Alexander Skwar

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: LVM : pros & cons

2007-10-08 Thread Alexander Skwar
Alan McKinnon <[EMAIL PROTECTED]> wrote:

> Extra benefits of LVM: You won't need this right now for your simple
> desktop with one drive, but it's good to know what else LVM can do:
> 
> Snapshots.

Well, I "disagree". This feature is also very useful on a 
single drive setup. Reason why: Backup. You can easily create
snapshot(s) and then backup those snapshot volumes. And at
the same time, you can keep on working on the normal filesystems.

> This is a lifesaver if your job is to perform backups of 4TB databases
> that can never be taken down for backups.

IMO it's also good for smaller setups.

For huge setups, it's sort of a must, exactly as you wrote.

> If you need any more convincing, IBM mainframes and HP machines running
> HP-UX have required you to use LVM for years now - you can't get to the
> disks without using LVM.

Not true. With HP-UX 11.11, you could also choose *NOT* to use LVM.
But nobody in a right state of mind would do that :) (Well, generally
speaking at least. There will certainly be some corner cases, I suppose.)

Alexander Skwar

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: To Neil Bothwick: Question re ntfs-3g

2007-10-04 Thread Alexander Skwar
Anthony E. Caudel <[EMAIL PROTECTED]> wrote:

> Neil, back on 15 July, you stated that you used ntfs-3g with only the
> in-kernel fuse modules.

That's what I'm doing as well.

> When I try that, I get the following error:
> 
> error while loading shared libraries: libfuse.so.2: cannot open shared
> object file: No such file or directory
> 
> I find I have to use sys-fs/fuse to be able to mount ntfs-3g.

Correct. You need to install sys-fs/fuse, as it contains the
library, some binaries and *OPTIONALLY* the kernel module. The
module will only be built, if the user has NOT built the module
in the kernel.

> Is there something else I should be doing?  

Install sys-fs/fuse :)

Alexander Skwar

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] X.Org 1.4 with Nvidia?

2007-10-02 Thread Alexander Skwar
Hello.

When X.Org 1.4 first hit the portage tree, I masked it, as I had quite
some problems getting it to work work with my Nvidia graphics "card".
I decided to stay with 1.3.0.0 for the time being.

Now x11-base/xorg-server-1.4-r2 is in the tree. And also a new version
of nvidia-drivers (nvidia-drivers-100.14.19).

Does anyone know, if it's now "safe" to use xorg 1.4 with nvidia-drivers?

Thanks,

Alexander Skwar

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: star

2007-09-28 Thread Alexander Skwar
· Joerg Schilling <[EMAIL PROTECTED]>:
> "b.n." <[EMAIL PROTECTED]> wrote:

>> But I don't buy the "people that attack me is just jealous/trolling"
>> argument, sorry. Assuming good faith is always better. To tell "I'm
>> right and B is lying" is quite trollish too. To tell "I'm right, B
> 
> If I was not informed about the background I may have thought in a similar 
> way.
> 
> But please tell me what you would do if you have been attacked in an unfair 
> way?

If *YOU* are attacked, it's mostly not unfair. There's most certainly
some prior history. Most of the time, you attacked other people first.

> It is usual not to believe unproven claims, but why do so many people believe
> the unproven claims from Mr. Bloch? 

Maybe, just maybe, it's because of how you are?

> The problem with all the attacks was that  
> the people around Mr. Bloch spread vague unproven claims as usual in 
> calumniation campaigns. When asked to prove their claims, they either started
> with new vague attacks or stopped answering.

*LOL*

You've got the nerve to say that? When you, Jörg, post to Usenet and
use Umlauts, your client neglects to add the necessary headers. You've
been asked more than once by numerous people to prove your claim, that
what you're doing is correct.

>> The problem, however, is that -being it your fault or not- that incident
>> somehow made hard for some people to rely on your tools. :(
> 
> You cannot rely on the fork because it is full of bugs 

Works good enough for me.

> that never have been  
> in the original software and because no bugs are fixed since nearly 6 months.

Latest *RELEASE* was at  2007/05/06. Latest *RELEASE* of cdrecord
is dated 09.09.2004.

> You cannot rely on it because it has been initiated by people who attack free 
> software.

You're talking about cdrecord?

Alexander Skwar
-- 
Death is a spirit leaving a body, sort of like a shell leaving the nut behind.
-- Erma Bombeck


-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: emerge world

2007-09-28 Thread Alexander Skwar
Arnau Bria <[EMAIL PROTECTED]> wrote:

> [blocks B ]  [sys-power/hibernate-script-1.96-r1)
> 
> So, I tryied to remove splasutils version:
>  emerge -C "=media-gfx/splashutils-1.5.2"
> 
> but:
> # emerge -C "=media-gfx/splashutils-1.5.2"

Yep.  It's saying, that any version before 1.5.2 is blocking.
So, do:

emerge -C '

Re: [gentoo-user] hald won't start [SOLVED, sort of...]

2007-09-27 Thread Alexander Skwar

Hi again!

Quoting Alexander Skwar <[EMAIL PROTECTED]>:


Since this morning, I'm unable to start hald.

[...]

  device_info.c:984: Unhandled rule (0)!


I found that this bug 172830 <http://bugs.gentoo.org/show_bug.cgi?id=172830>.
This bug has to do with libgphoto2.

Yesterday, I set the environment variable CAMERAS to only "directory",
as I don't have any camera requiring special treatment. When libphoto2
is build with CAMERAS=directory (and nothing else), it'll create bad
HAL files.

Workaround: Either don't set CAMERAS at all (meaning that all cameras
will be built), or add at least one "dummy" camera. I took the 2nd
solution; ie. in my make.conf, I now have: CAMERAS="ptp2 directory".
After having rebuild libgphoto2, the  system starts up fine.

Have a nice day,

Alexander Skwar


This message was sent using IMP, the Internet Messaging Program.

--
[EMAIL PROTECTED] mailing list



[gentoo-user] hald won't start

2007-09-27 Thread Alexander Skwar
Hello!

Since this morning, I'm unable to start hald. This is in so
far a pretty big problem, as this means, that I cannot boot :|

After setting HALD_VERBOSE=yes in /etc/rc.conf, I found that
it filled the syslog with a lot of lines like

  device_info.c:984: Unhandled rule (0)!

Searching the archive of this list, I found a thread started
by Mick on July 14; see eg. 
http://www.nabble.com/forum/ViewPost.jtp?post=11596495&framed=y

In this thread, Alessandro del Gallo suggested to move files
from /etc/udev/rules.d out of the way, to figure out what's
exactly causing the issue. I did that, and even when I have
*no* files at all in rules.d anymore, I cannot start hald by
running "/usr/sbin/hald --daemon=no --verbose=yes".

>From what other sources is hald fetching rules? Ie. what
other file/directory might I need to empty?

Thanks,
Alexander

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: Re: Re: star

2007-09-26 Thread Alexander Skwar
Neil Bothwick <[EMAIL PROTECTED]> wrote:

> On Wed, 26 Sep 2007 10:45:51 +0200, Alexander Skwar wrote:
> 
>> > Either way requires that you first determine the type of compression
>> > used before you can decide where to pipe tar's output, if at all.
>> > Whereas something like "tar xf somefile" avoids the need to do" file
>> > somefile" and parse the output first.
>> 
>> Pardon? "tar xf somefile" doesn't do any compression at all.
>> I don't get what you mean.
> 
> No, but it does do whatever decompression is required.

Hey, that's a nice feature. I didn't know about that.

Alexander Skwar

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: Re: star

2007-09-26 Thread Alexander Skwar
Neil Bothwick <[EMAIL PROTECTED]> wrote:

> On Wed, 26 Sep 2007 10:14:58 +0200, Alexander Skwar wrote:
> 
>> Back to tar: Why use "tar -j" in scripts, when "bzip2 | tar"
>> does the same thing? I very much disagree that "tar -j" is
>> the "better" option here;
> 
> Either way requires that you first determine the type of compression used
> before you can decide where to pipe tar's output, if at all. Whereas
> something like "tar xf somefile" avoids the need to do" file somefile"
> and parse the output first.

Pardon? "tar xf somefile" doesn't do any compression at all.
I don't get what you mean.

>> in fact, I'd say that "bzip2 | tar"
>> is the better option, as it works on a lot more systems than
>> "tar -j" does. Heck, "tar -j" even does not work on all GNU
>> tar implementations, as very old GNU tars don't have bzip2
>> support at all and -j wasn't always used for bzip2.
> 
> If you don't know the details of the platform running your script, you
> should of course stick to POSIX, which tar can do fine.

No, GNU tar is not completely POSIX compliant. The files it creates
don't completely comply to the standard. But that's another story.

> But if your 
> script in running in an environment you control, why not make use of more
> efficient methods?

If there are more efficient methods: Maybe. But if the non standard
options aren't more efficient, why use them at all? "tar -j" is a
good example here: Internally, tar invokes the external "bzip2" 
command. So with "tar | bzip2" vs. "tar -j", both are equally
efficient.

Alexander Skwar

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: star

2007-09-26 Thread Alexander Skwar
Neil Bothwick <[EMAIL PROTECTED]> wrote:

> Hello Alexander Skwar,
> 
>> Yes, it's very bad that Gentoo scripts don't limit themselves to
>> POSIX. Another windmill to fight against.
> 
> Artificially limiting yourself to the lowest common denominator when
> better options are available is bad, and discourages evolution.

Well, depends.

Making use of non standard options when standard compliant
options are avialable, is no-good evolution. It very much
tastes of the way Microsoft handles standards. Eg. have a
look at how MS treated Java or HTML (granted, Netscape wasn't
much better either).

Back to tar: Why use "tar -j" in scripts, when "bzip2 | tar"
does the same thing? I very much disagree that "tar -j" is
the "better" option here; in fact, I'd say that "bzip2 | tar"
is the better option, as it works on a lot more systems than
"tar -j" does. Heck, "tar -j" even does not work on all GNU
tar implementations, as very old GNU tars don't have bzip2
support at all and -j wasn't always used for bzip2.

> POSIX 
> specifies the minimum set of options and features, not the maximum. As
> long as the standards aren't broken, nothing is wrong, and adding new,
> useful and compatible features is one way that standards get improved.

No, it's not. To improve a standard, you make sure that the standard
gets amended and then you implement something. Not the other way around.

Alexander Skwar

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: Re: star

2007-09-26 Thread Alexander Skwar
Neil Bothwick <[EMAIL PROTECTED]> wrote:

> On Tue, 25 Sep 2007 15:34:41 +0200, Alexander Skwar wrote:
> 
>> What does this have to do with GNU tar and it adding superflous
>> options? Quite a lot. -j et.al. are non-standard options. If a
>> (badly written) script relies on the presence of -j, this script
>> won't work with a POSIX compliant tar
> 
> The script is only badly written if it is supposed to be POSIX
> compliant. Additional features can enhance a program 

Given that we're talking about use of non-standard options present
only in GNU tar vs. easily accessible standard compliant ways
of solving the same problem: No, a script is badly written, if it
makes use of non-standard options.

> and make scripts 
> using it more readable/efficient/compact, providing the environment does
> not require POSIX-compliance. e.g. portage can use tar-specific
> enhancements if tar is in system on all profiles.

Yes, it's very bad that Gentoo scripts don't limit themselves to 
POSIX. Another windmill to fight against.

Alexander Skwar

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: star

2007-09-25 Thread Alexander Skwar
b.n. <[EMAIL PROTECTED]> wrote:

> Alexander Skwar ha scritto:
>> Stroller <[EMAIL PROTECTED]> wrote:
>> 
>>> On 24 Sep 2007, at 09:30, Alexander Skwar wrote:
>>>> ...
>>>>> and if p7zip supports pipes, you don't need its support in tar.
>>>>> Just pipe
>>>>> from/to it.
>>>> It does and that's the way it's supposed to be used on unix, according
>>>> to its manpage.
>>> GNU tar features the -j, -z and -Z options.
>> 
>> Yes, bad, isn't it? These options are not part of the Posix standard.
>> It would be good, if these superflous options wouldn't be present at
>> all. I say "superflous", as pipes work just fine.
> 
> It's not that an option becomes "bad" just because it's not carved into
> the POSIX standard.

To a degree, it is.

> What's important, I guess, is that tar is  
> POSIX-compliant, so that if you want, you can build POSIX-compliant
> scripts etc. ,

Depends. On the hand, you're right. But if non-compliant options
exist, people tend to use them. That's bad in so far, as they get
used to non-standard behaviour. That's especially bad, as standard
compliants solution exist.

> but I can't see how non-POSIX but handy extensions could 
> be bad. 

Let me give you a different example, although it has nothing
to do with POSIX.

Internet Explorer translates a \ in a URL to /. That's a non
standard compliant behaviour. Now, as many people (still *G*)
use IE, many people rely on that mis-behaviour of IE and make
it hard for non-misbehaving browsers (ie. Mozilla) to display
the content.

What does this have to do with GNU tar and it adding superflous
options? Quite a lot. -j et.al. are non-standard options. If a
(badly written) script relies on the presence of -j, this script
won't work with a POSIX compliant tar (like star or any Unix
tar (eg. Sun, HP, ...)). Is that bad? Yes, it is. It is bad, as
there's an easily accessible solution to this problem available:
Use pipes! In this case, the solution would be: 

tar cf - dir | bzip2 > dir.tar.bz2
tar cf - dir | 7z a -si dir.tar.7z

Or for decompression:

bzcat dir.tar.bz2 | tar xf -
7z x -so dir.tar.7z | tar xf -

> Maybe it's me not seeing the problem.

Yep.

> Maybe the POSIX standard  
> could just be extended as well. :)

Equally fine.

>>> and it would be nice to see p7zip supported
>>> in the same way.
>> 
>> No.
> 
> "No" means nothing. Tell us why.

Pipes exist. The current "integration" of 7-zip is fine. There's
no need to integrate other compression into tar. Actually, there's
no need at all to integrate ANY compression alg. into tar.

Furthermore, especially with 7zip, an integration into tar would
make the use of 7zip somewhat limited, as all of the additional
command line options of 7z would not be accessible anymore.

Alexander Skwar

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: Re: star

2007-09-24 Thread Alexander Skwar
Florian Philipp <[EMAIL PROTECTED]> wrote:

> Alexander Skwar schrieb:
>> Florian Philipp <[EMAIL PROTECTED]> wrote:
>> 
>>> star supports p7zip which can be much better and especially more
>>> flexible than bzip2, gzip and zip.
>> 
>> Uhm, what's bad about
>> 
>> tar cf - | p7zip 
> 
> It's a bit cumbersome to create a pipe each time I access an archive.

Okay. I don't think so.

>>> I used find and grep to search for any implementations of tar
>>> compressing to stdout - I couldn't find any.
>> 
>> What do you mean?
>> 
> Just that I used regular expressions to search for tar writing to
> stdout, something that star can't, apparently.

star can write to stdout. "./star -c -f - . > ../s"

> It seems it didn't work. 

What is "it"?

> Not all but some emerge actions failed while using star.

No wonder. Command line options aren't compatible. And hell
will freeze before Mr. Schilling will change.

>>> I'll move /bin/tar to /bin/gnutar and make a symlink from /usr/bin/star
>>> to /bin/tar.
>>>
>>> Let's see if it works.
>> 
>> Command line options aren't identical. I wouldn't wonder if you run
>> into problems.
>> 
> Well, most are.

Not really. For GNU tar, "tar cf - . > ../s" would work. Not so 
for star.

Alexander Skwar

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: Re: star

2007-09-24 Thread Alexander Skwar
Stroller <[EMAIL PROTECTED]> wrote:

> 
> On 24 Sep 2007, at 09:30, Alexander Skwar wrote:
>> ...
>>> and if p7zip supports pipes, you don't need its support in tar.
>>> Just pipe
>>> from/to it.
>>
>> It does and that's the way it's supposed to be used on unix, according
>> to its manpage.
> 
> GNU tar features the -j, -z and -Z options.

Yes, bad, isn't it? These options are not part of the Posix standard.
It would be good, if these superflous options wouldn't be present at
all. I say "superflous", as pipes work just fine.

> These are much more 
> convenient than piping, 

No.

> and it would be nice to see p7zip supported 
> in the same way.

No.

Alexander Skwar

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: star

2007-09-24 Thread Alexander Skwar
Volker Armin Hemmann <[EMAIL PROTECTED]> wrote:
> On Samstag, 22. September 2007, Florian Philipp wrote:

>> star supports p7zip which can be much better and especially more
>> flexible than bzip2, gzip and zip. Its other features (better
>> funcionality for acl, sparse files, recovery and backups among other
>> things) didn't sound bad, either.
> 
> I don't know - bzip2 is very good at 'recovery' because only the affected
> block is lost.

True - in theory. It doesn't help you much, if you lose a block in a
.tar.bz2 file, as the block sizes of bzip2 and tar won't overlap. Thus,
something like ".bz2.tar" would be better, meaning a tar which contains
pre compressed files. Granted, compression ratio would be worse.

If you want safety, I'd either suggest afio or maybe something like
par.

> and if p7zip supports pipes, you don't need its support in tar. Just pipe
> from/to it.

It does and that's the way it's supposed to be used on unix, according
to its manpage.

> as you can see, you need to play around with pipes anyway when you use
> star. So switching just because of one compression algo and become
> incompatible with the way emerge unpacks packages sounds pretty stupid
> IMHO.

ACK

Alexander Skwar

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: star

2007-09-24 Thread Alexander Skwar
Florian Philipp <[EMAIL PROTECTED]> wrote:

> star supports p7zip which can be much better and especially more
> flexible than bzip2, gzip and zip.

Uhm, what's bad about

tar cf - | p7zip 

> If star were a fully qualified replacement for gnu tar, there would not
> have been the need to keep it 

To keep GNU tar, you mean? Well, there's at least a reason to not ONLY
have star: Star is made by Jörg Schilling, one of the biggest morons
on the earth. Guess why some distributions no longer use cdrecord but
switched to cdrkit?

> I used find and grep to search for any implementations of tar
> compressing to stdout - I couldn't find any.

What do you mean?

> I'll move /bin/tar to /bin/gnutar and make a symlink from /usr/bin/star
> to /bin/tar.
> 
> Let's see if it works.

Command line options aren't identical. I wouldn't wonder if you run
into problems.

Alexander Skwar

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: star

2007-09-24 Thread Alexander Skwar
Florian Philipp <[EMAIL PROTECTED]> wrote:

> What I'd like to know: Is it fully backward compatible to tar? Could I
> safely unmerge tar and make a symlink from tar to star?

star is fully Posix compliant. GNU tar is not. In theory, there could
be problems with GNU tar tar archives if they are unpacked using star.

Alexander Skwar

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: Hacked by association?

2007-09-20 Thread Alexander Skwar
· Grant <[EMAIL PROTECTED]>:


>> > tcp localhost:10030
>> > tcp *:snpp
[...]
> With netstat -lp it looks like *:snpp is associated with apache2 and
> is using the same pid as *:http and *:https.

If that's so, then there should be a Listen directive in
httpd.conf or one of the included files. Do a

grep -r 444 /etc/apache2

444 is the number associated with snpp.

Alexander Skwar
-- 
Ever get the feeling that the world's on tape and one of the reels is missing?
-- Rich Little


-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: Re: Re: Re: SSH won't restart

2007-09-18 Thread Alexander Skwar
Arturo 'Buanzo' Busleiman <[EMAIL PROTECTED]> wrote:
> Alexander Skwar wrote:

>> Well, I also found myself being unable to start sshd, but
>> these most often were due to some configuration changes.
> 
> And exactly for this is why test-restart was proposed by me.

And exactly in these cases, a test-restart won't work, as you'd
need to shutdown the primary sshd first.

Alexander Skwar

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: Re: Re: SSH won't restart

2007-09-17 Thread Alexander Skwar
Mike Williams <[EMAIL PROTECTED]> wrote:

> On Sunday 16 September 2007 18:01:48 Alexander Skwar wrote:
>> > Key words "in some circumstances".
>>
>> Like?
>>
>> Actually, I never found this to be true.
> 
> Never? Good for you.

Yep.

> Grant, the original poster would disagree (who got himself locked out due
> to the inability to restart sshd BTW), and so would I as it happened to me
> today and has done several times in the past 

Well, I also found myself being unable to start sshd, but
these most often were due to some configuration changes.

Never had I found, that shutting down all the running ssh
sessions would have helped.

Alexander Skwar

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: Re: Re: SSH won't restart

2007-09-16 Thread Alexander Skwar
· Arturo 'Buanzo' Busleiman <[EMAIL PROTECTED]>:

> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA512
> 
> Alexander Skwar wrote:
>> A "/etc/init.d/sshd stop" won't kill any SSH sessions. It'll
>> simply the sshd "master process". Because of that, additional
>> logins won't be possible.
> 
> You seem to believe that most people makes no mistakes.

No, I don't.

> I wouldn't need test-restart (I use the 
> one-time telnetd-over-vpn), but it seems others might find it useful.

For what? What should it safeguard against? You can't just start
a 2nd instance of sshd while the 1st is still running, as they
(usually) should then bind to the same port. That won't work, obviously.

Alexander Skwar
-- 
Whenever I hear anyone arguing for slavery, I feel a strong impulse to
see it tried on him personally.
-- Abraham Lincoln


-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: Re: SSH won't restart

2007-09-16 Thread Alexander Skwar
· Arturo 'Buanzo' Busleiman <[EMAIL PROTECTED]>:
> Graham Murray wrote:

>> What circumstances? I too have performed updates on several remote
>> systems via SSH and run /etc/init.d/sshd restart and never had any
>> problems. 
> 
> Something like "/etc/init.d/sshd test-restart" would be nice.

For what?

> It'd allow all of us to stop worrying 
> about a potential restart/lockout issue.

A "/etc/init.d/sshd stop" won't kill any SSH sessions. It'll
simply the sshd "master process". Because of that, additional
logins won't be possible.

Alexander Skwar
-- 
I remember Ulysses well...  Left one day for the post office to mail a letter,
met a blonde named Circe on the streetcar, and didn't come back for 20 years.


-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: Re: SSH won't restart

2007-09-16 Thread Alexander Skwar
· Mike Williams <[EMAIL PROTECTED]>:

> On Sunday 16 September 2007 16:40:45 Alexander Skwar wrote:
> 
>> > openssh, in some circumstances (I believe to be openssl changing ABI),
>> > will not restart as you found. It will only not restart when it's being
>> > actively used, so you can't do so will logged in.
> 
> 
>> > I've just done this on a remote system and can now happily log back in, 
>> > and restart ssh without issue.   
> 
> 
>> Hm?
>>
>> I don't find this to be true. I often restart sshd by doing exactly
>> /etc/init.d/sshd restart. While I'm remote logged in via SSH. I find,
>> that after having done this, new settings/versions are active.
> 
> Key words "in some circumstances".

Like?

Actually, I never found this to be true.

Alexander Skwar
-- 
I hate trolls.  Maybe I could metamorph it into something else -- like a
ravenous, two-headed, fire-breathing dragon.
-- Willow


-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: SSH won't restart

2007-09-16 Thread Alexander Skwar
· Mike Williams <[EMAIL PROTECTED]>:

> However, I think I just found a solution.
> openssh, in some circumstances (I believe to be openssl changing ABI), will 
> not restart as you found. It will only not restart when it's being actively 
> used, so you can't do so will logged in.
> To restart it when your logged out on a remote server is simply a matter of 
> doing this:
> 
> # (sleep 15 && /etc/init.d/sshd restart) &

Hm?

I don't find this to be true. I often restart sshd by doing exactly
/etc/init.d/sshd restart. While I'm remote logged in via SSH. I find,
that after having done this, new settings/versions are active.

Alexander Skwar
-- 
Seeing is believing.  You wouldn't have seen it if you hadn't believed it.


-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: Re: [gentoo]Block certain websites

2007-09-16 Thread Alexander Skwar
· Alan McKinnon <[EMAIL PROTECTED]>:

> On Sunday 16 September 2007, Alexander Skwar wrote:
>> · Balaviswanathan Vaidyanathan <[EMAIL PROTECTED]>:
>> > Hi all,
>> >
>> >   This is to know how to block certain websites as I intend to set
>> > up a browsing centre based on Gentoo OS
>>
>> Forget about it. There are far too many open proxies out
>> there, like my own at
>> <http://alexander.skwar.name/~askwar/stuff/proxy/>
> 
> /me makes a mental note to bookmark this

Feel free to use it. No guarantees about performance, though ;)

> /me makes another note to buy Alexander a beer next time I go to Europe
> 
> :-)

*g* Thanks.

One important thing to note, though. It's important to remember
that the proxy operator could easily sniff all the traffic that's
going through the proxy. The proxy needs to be able to read the
traffic. 

Now, I swear that *I* am not going to log any traffic going
through my system. But you've gotta decide if you trust me...

On a larger note, exactly this question was the reason for the
recent "tor problem", cf. 
<http://www.derangedsecurity.com/time-to-reveal%e2%80%a6/>
or <http://it.slashdot.org/article.pl?sid=07/09/11/1730258>.

Cheers,

Alexander Skwar

PS: *LOL* My signature is random. I _swear_ :)
-- 
Simon: "I swear - when it's appropriate."
Kaylee: "Simon, the whole point of swearing is that it ain't appropriate."

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: [gentoo]Block certain websites

2007-09-16 Thread Alexander Skwar
· Dale <[EMAIL PROTECTED]>:

> Could you not add the sites to your hosts file and point them back to local?

No. This won't hinder a user from accessing a proxy site
and have that site fetch and display the content. Check
out one of the MANY MANY proxy sites at http://proxy.org/.

Alexander Skwar
-- 
Ad astra per aspera.
[To the stars by aspiration.]


-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: [gentoo]Block certain websites

2007-09-16 Thread Alexander Skwar
· Balaviswanathan Vaidyanathan <[EMAIL PROTECTED]>:

> Hi all,
>
>   This is to know how to block certain websites as I intend to set up a 
> browsing centre based on Gentoo OS

Forget about it. There are far too many open proxies out
there, like my own at <http://alexander.skwar.name/~askwar/stuff/proxy/>.
Blacklists don't work.

BTW: This has nothing at all to do with Gentoo.

Alexander Skwar
-- 
A complex system that works is invariably found to have evolved from a
simple system that works.


-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] -mno-tls-direct-seg-refs for Xen

2007-09-13 Thread Alexander Skwar
Hello.

http://gentoo-wiki.com/HOWTO_Xen_and_Gentoo#TLS_and_CFLAGS states, that
'-mno-tls-direct-seg-refs' is to be added to the CFLAGS.

Do I need this flag on my dom0, or just on my domU's?

Thanks,

Alexander Skwar

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: Immensely disappointed in emerge -DuN world these days

2007-09-12 Thread Alexander Skwar
Mark Knecht <[EMAIL PROTECTED]> wrote:

> For me that means updating 6
> machines in parallel which is a significant time sync.

Are those machines identical? If so, why don't you just update 
just one machine and then mount /lib, /usr, ... from that machine,
or use FEATURES=buildpkg or --buildpkg and then simply install
the resulting packages on these other machines?

Alexander Skwar

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: Immensely disappointed in emerge -DuN world these days

2007-09-12 Thread Alexander Skwar
Mark Knecht <[EMAIL PROTECTED]> wrote:

> Maybe the revdep-rebuild guys should (could?) include -X if it's the
> right thing to do?

They do.

Alexander Skwar

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: Immensely disappointed in emerge -DuN world these days

2007-09-12 Thread Alexander Skwar
Mark Knecht <[EMAIL PROTECTED]> wrote:

> Sorry. I should have started that a number of the failures have come
> while doing revdep-rebuild. One seemingly large problem is that
> revdep-rebuild wants to rebuild packages that are no longer in portage
> so you have to remove those from the rebuild or attempt to change
> revision numbers by hand on the fly in the long command that
> revdep-rebuild -p creates.

revedep-rebuild -X. That's default in the rewritten version.

Alexander Skwar

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: Mouse Paste

2007-09-10 Thread Alexander Skwar
· Korthrun <[EMAIL PROTECTED]>:

> This did work before I changed everything from the basic xmouse
> config.

I'd change everything back to the normal config and then
gradually at stuff, until it breaks again. This way, you'll
see when it breaks and it'll be easier to help you.

Alexander Skwar
-- 
Ace: Don't you realize that with Buttercup on our side ... 
 WE COULD CONTROL TOWNSVILLE?!


-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: Extending a partition with LVM on it

2007-09-05 Thread Alexander Skwar
· Marc Joliet <[EMAIL PROTECTED]>:

> What I want to know is, how would I go about filling the gap to have a
> single, large partition for maindisk?

You don't need to. You'd create a new partition, make that a pv (pvcreate)
and then run vgextend to include that new pv in maindisk.

> For the moment I added a new partition (via cfdisk, that I did dare do)
> that takes up the entire gap and extended maindisk to that. 

Fine.

> It's not 
> what I wanted, but it works.

What do you dislike about this?

Alexander Skwar
-- 
MS-DOS, you can't live with it, you can live without it.
-- from Lars Wirzenius' .sig


-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: Re: 500 meg / partition (including /boot) *WITHOUT USING LVM*

2007-09-04 Thread Alexander Skwar
· Walter Dnes <[EMAIL PROTECTED]>:

> On Tue, Sep 04, 2007 at 10:45:15AM +0200, Alan McKinnon wrote
> 
>> You will always have a pretty good idea how much space / needs, it 
>> contains /bin, /sbin, /etc, /root and /lib. Unless oyu are in the habit 
>> of storing stuff in /root, 500M is plenty. So put / on a regular 
>> partition, everything else in LVM and your initramfs worries go away.
> 
> s/LVM/a partition using the rest of the hard drive/

No way. For sure not a partition of size ~500 G. That's something
you never ever do.

>> The only thing you need worry about is where are you going to get a 
>> decent howto that explains the concepts. You are dealing with three 
>> layers of stuff on top of physical partitions and some docs out there 
>> are ... confusing. Once you get the picture fully, it's as easy pie and 
>> makes perfect sense.
> 
>   Remove the LVM layer and things become even easier.

Does it? How do you have different filesystem types for different
directories? How do you minimize the effect of a corrupted filesystem?

>> Really, LVM is the answer to all those prayers you have been sending
>> up to $DEITY for years :-)

Exactly. I don't get why people try so hard to not use LVM.

Alexander Skwar
-- 
 It is important to note that the primary reason the Roman Empire
   fail is that they had no concept of zero... thus they could not
   test the success or failure of their C programs.


-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: 500 meg / partition (including /boot) *WITHOUT USING LVM*

2007-09-04 Thread Alexander Skwar
· Remy Blank <[EMAIL PROTECTED]>:

> Well, I haven't spent much time looking at rescue CDs, I have always
> used Knoppix up to now and it has been good enough. I'll just check that
> recent LVM tools are on it.

Knoppix is *NOT* a rescue disc! It lacks some essential tools, eg.
LVM stuff.

I recommend GRML as a rescue disc.

Alexander Skwar
-- 
Promising costs nothing, it's the delivering that kills you.


-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: 500 meg / partition (including /boot) *WITHOUT USING LVM*

2007-09-04 Thread Alexander Skwar
· Remy Blank <[EMAIL PROTECTED]>:

> There's one thing that has prevented me from ever using LVM: the need to
> have an initrd (or initramfs).

You only need an initrd, if you wish to have / on LVM. But if you put
/ (incl. /boot) on a normal partition, there's no need at all for an
initrd.

Alexander Skwar
-- 

Chuck Norris is not Politically Correct. He is just Correct. Always. 


-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: df shows /dev/dm-* instead of LV name

2007-08-31 Thread Alexander Skwar
Neil Bothwick <[EMAIL PROTECTED]> wrote:

> A bug report is certainly warranted, the information reported now
> is useless.

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

Alexander Skwar

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] df shows /dev/dm-* instead of LV name

2007-08-30 Thread Alexander Skwar
Hello.

Since "recently", when I ran "df", it printed the volume group
and logical volume names. Now it prints:

[EMAIL PROTECTED] ~ $ df
Filesystem   1K-blocks  Used Available Use% Mounted on
/dev/hda5   484602328049151549  69% /
udev 10240   136 10104   2% /dev
devshm  253956 0253956   0% /dev/shm
/dev/dm-1  2844672   1816768   1027904  64% /usr
/dev/dm-4  1048540198972849568  19% /tmp
[...]

Note the "/dev/dm-1" and "/dev/dm-4". This used to be something like this:

[EMAIL PROTECTED] /mandriva/boot $ df
Dateisystem  1K-Blöcke   Benutzt Verfügbar Ben% Eingehängt auf
/dev/root   396623342210 33931  91% /
udev 10240   168 10072   2% /dev
/dev/mapper/sys-ng_USR
   3165112   2612868397628  87% /usr
/dev/mapper/sys-ng_Var
524268139316384952  27% /var
[...]

Any idea about why the "hetzner" system shows "dm-1"? And what
needs to be done to change that?

Thanks a lot,

Alexander Skwar
-- 
Jealousy is all the fun you think they have.


-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Portage File Search gone - alternatives?

2007-08-21 Thread Alexander Skwar
Hello!

I used the Portage File Search page at 
http://www.rommel.stw.uni-erlangen.de/~fejf/cgi-bin/pfs-web.pl
quite a lot, because it was just a great service. But as it seems,
it is gone - at least for now :(

Does anyone know of any alternatives? I'm looking for something
which allows me to enter a filename of a *NOT* *INSTALLED* *FILE*,
and it'll return me to which package this file belongs.

Thanks,

Alexander Skwar
-- 
If it wasn't for Newton, we wouldn't have to eat bruised apples.


-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: gentoo-portage.com & gentoo-wiki.com

2007-08-16 Thread Alexander Skwar
Aleksey V. Kunitskiy <[EMAIL PROTECTED]> wrote:

> Hi,
> Anybody knows what is going on there?

Their mysql server is down. I bet, it's because too many people
used these sites, while the official sites are down.

Alexander Skwar

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: [SOLVED] Re: Cannot build mono: "The contents of your 'monolite' directory may be out-of-date"

2007-08-13 Thread Alexander Skwar
Dale <[EMAIL PROTECTED]> wrote:
> Alexander Skwar wrote:

[...]
>> mount -t proc ChrootProc /mnt/gentoo/proc
[...]
> I thought this was the proper command to mount proc:
> 
> mount -t proc proc /mnt/gentoo/proc
> 
> What is the ChrootProc part?

It doesn't matter if you write "-t proc proc /mnt..." or ChrootProc
or FooBar. The "source" (proc, ChrootProc) is just symbolic name.
To the system, it has no meaning whatsoever. It's just something for
the user; and as I like to be able to easily differentiate between
different things, I tend to chose names, which are differentiable.

Alexander Skwar

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] [SOLVED] Re: Cannot build mono: "The contents of your 'monolite' directory may be out-of-date"

2007-08-13 Thread Alexander Skwar
Alexander Skwar <[EMAIL PROTECTED]> wrote:

> I'm trying to install mono on a new system. To do that, I'm building
> everything inside a chroot (it's the same system I referred to in the
[...]
> mono-1.2.4 fails as well:
[...]
> | [build/deps/basic-profile-check.exe] Error 1 make[6]: Entering directory
> | `/Gentoo/Portage/build/portage/dev-lang/mono-1.2.4/work/mono-1.2.4/mcs'
> | *** The contents of your 'monolite' directory may be out-of-date *** You
> | may want to try 'make get-monolite-latest'
> `
[...]
> I'm building/compiling all of that on a Athlon XP system (no 64bit).
> It should finally run on a Celeron M system (32bit as well). Hence
> the -march and -mtune combination (see above).
> 
> Quite some time ago, I already ran into this on a "different" system and
> reported this to bgo at  <https://bugs.gentoo.org/show_bug.cgi?id=153781>.
> Issue back then was, that I had security enhancements (PaX and the like)
> enabled. I don't have this now.
> 
> Any ideas about what I might have to do to be able to build mono?

I forgot to mount the proc filesystem into that chroot. So, to fix this
problem, all I needed to do was

mount -t proc ChrootProc /mnt/gentoo/proc

Cheers,

Alexander Skwar

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: Re: packages.gentoo.org down?

2007-08-10 Thread Alexander Skwar
· Bo Ørsted Andresen <[EMAIL PROTECTED]>:

> On Friday 10 August 2007 18:01:09 Dan Cowsill wrote:
>> > > > Again, I apologize for the outage.  We'll be back online next week
>> > > > and hopefully after that we'll have a better way of dealing with
>> > > > issues like this when they arise. So please have patience with us.
>> > >
>> > > As far as I'm concerned, it's "fine" that the site is down. No problem
>> > > with that.
>> > >
>> > > What I DO find bad, is that there was no communication about that.
>> > > [...]
>> >
>> > Maybe that means you should get your money back. Oh, wait...
>>
>> I definitely agree that the situation would have benefited from better
>> communication. 
> 
> Of course it could. That's besides the point.

No, it's not. It's exactly the point.

> The point is if you want  
> immediate and professional reactions everytime something happens you should 
> be paying someone to monitor things..

Monitor? As far as I understood it, the machine has been made
inaccessible, no?

> If you expect volunteers to do the job  
> you should cut them some slack when something goes wrong..

I do. That's why *I* wrote, that it is okay for me, that
the site is down. I "complained" about the most important
issue here - lack of communication.


Alexander Skwar
-- 
'Mounten' wird für drei Dinge benutzt: 'Aufsitzen' auf Pferde, 'einklinken'
von Festplatten in Dateisysteme, und, nun, 'besteigen' beim Sex.
-- Christa Keil


-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: charset iso/utf

2007-08-10 Thread Alexander Skwar
Philip Webb <[EMAIL PROTECTED]> wrote:

> 070810 Benno Schulenberg wrote:
>> Philip Webb wrote:
>>> (I've just been reading LeCarré),
>> Your email uses UTF-8,
> 
> What do you mean ?

You wrote: "(I've just been reading LeCarré)". Notice the letters "é".
This looks quite a lot like UTF-8 to me.

In your header, "you" are saying, that you don't use UTF-8, though.

>> but your mailer marked the message with charset=iso-8859-1.
> 
> That is what I would expect Mutt to use.

Why?

Alexander Skwar

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: packages.gentoo.org down?

2007-08-10 Thread Alexander Skwar
Albert W. Hopkins <[EMAIL PROTECTED]> wrote:

> Again, I apologize for the outage.  We'll be back online next week and
> hopefully after that we'll have a better way of dealing with issues like
> this when they arise. So please have patience with us.

As far as I'm concerned, it's "fine" that the site is down. No problem
with that.

What I DO find bad, is that there was no communication about that. I
mean, it would have been nice, if there were some sort of "I'll be
back" message, when users try to access http://packages.gentoo.org/.
Or at least a message on the mailing list and more importantly, on
the Gentoo homepage would have been good.

Alexander Skwar

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: packages.gentoo.org: dead?

2007-08-09 Thread Alexander Skwar
Jarry <[EMAIL PROTECTED]> wrote:

> Do I have problem on my side, 

Yes, you do. You seem to be unable to scroll back a few pages
in this mailing list, to see that this question has been asked
two times.

> or is that site really down? 

Yep.

Alexander Skwar

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: is http://packages.gentoo.org/ off-line?

2007-08-07 Thread Alexander Skwar
· Andrew Gaydenko <[EMAIL PROTECTED]>:

> Is it for me only?

No, it's not. Please see the other thread, I started "shortly" :)
before yours *g*

BTW: It's still offline.

Alexander Skwar
-- 
Hey dol! merry dol! ring a dong dillo!
Ring a dong! hop along! fal lal the willow!
Tom Bom, jolly Tom, Tom Bombadillo!
-- J. R. R. Tolkien


-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Cannot build mono: "The contents of your 'monolite' directory may be out-of-date"

2007-08-07 Thread Alexander Skwar
l iconv isdnlog jpeg kde kdeenablefinal 
kdehiddenvisibility libg++ libnotify mad midi mikmod mmx mp3 mpeg mudflap 
ncurses nfs nls nptl nptlonly offensive ogg opengl openmp pam pcre pdf perl png 
pppd python qt3 qt3support qt4 quicktime rdesktop readline reflection samba sdl 
session spell spl sse sse2 ssl svg tiff truetype truetype-fonts type1-fonts 
unicode vim-syntax vorbis wifi win32codecs x86 xml xorg xv zlib" 
ALSA_CARDS="loopback usb-audio via82xx" ALSA_PCM_PLUGINS="adpcm alaw asym copy 
dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear 
meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" 
INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" 
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses 
text" LI
 NGUAS="de" USERLAND="GNU" VIDEO_CARDS="fbdev vesa vga via"
| Unset:  CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, MAKEOPTS, 
PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
`

I'm building/compiling all of that on a Athlon XP system (no 64bit).
It should finally run on a Celeron M system (32bit as well). Hence
the -march and -mtune combination (see above).

Quite some time ago, I already ran into this on a "different" system and
reported this to bgo at  <https://bugs.gentoo.org/show_bug.cgi?id=153781>. 
Issue back then was, that I had security enhancements (PaX and the like)
enabled. I don't have this now.

Any ideas about what I might have to do to be able to build mono?

Thanks a lot,

Alexander Skwar
-- 
"Free markets select for winning solutions."
-- Eric S. Raymond


-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: packages.gentoo.org down?

2007-08-07 Thread Alexander Skwar
Arturo 'Buanzo' Busleiman <[EMAIL PROTECTED]> wrote:
> Alexander Skwar wrote:

>> Is it just me, or is http://packages.gentoo.org/ not available?
> 
> Port 80 closed, ping answers (RTT ~216ms). Tested from Argentina.

Thx. So it's not just me. 

BTW: ping time: ~180ms, from Switzerland. VERY slow. Traceroute isn't
helpful either:

17  nero-gw.Level3.net (63.211.200.246)  193.119 ms  202.437 ms  199.503 ms
18  corv-car1-gw.nero.net (207.98.64.177)  216.742 ms  194.857 ms  190.510 ms

and after that, no more replies :(

Alexander Skwar

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] packages.gentoo.org down?

2007-08-07 Thread Alexander Skwar
Hi!

Is it just me, or is http://packages.gentoo.org/ not available?

Alexander Skwar

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: USB devices and CDs don't get mounted automatically anymore

2007-08-03 Thread Alexander Skwar
I wrote:

> Since this morning, Gnome (?) doesn't mount USB sticks and CDs
> automatically anymore.

How I hate that...

I now have reinstalled udev, hal & dbus with CONFIG_PROTECT="-*", and
now automounting works again. Even in Gnome. 

Strange.

Alexander Skwar

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: Cannot compile texinfo: Illegal instruction -> Wrong -march and -mtune flags?

2007-08-02 Thread Alexander Skwar
· Florian Philipp <[EMAIL PROTECTED]>:

> You see, they are not compatible and even if some code works I wouldn't bet 
> multimedia apps will perform well.
> 
> With -mtune the instruction set stays the same. It is just "rearranged".

Hm. Allright. When using just -mtune (ie. without -march), the
docs at 
http://gcc.gnu.org/onlinedocs/gcc-4.1.2/gcc/i386-and-x86_002d64-Options.html
say:

| While picking a specific cpu-type will schedule things appropriately
| for that particular chip, the compiler will not generate any code that
| does not run on the i386 without the -march=cpu-type option being used.   

If -mtune=athlon-xp is used, code is generated which may make
use of 3dNOW!. 3dNOW! is, of course, not to be found on 386 :)
If the instruction set stays the same, code generated with
-mtune=athlon-xp would not be executable on 386 machines, if
I understand you correctly.

Hm. With -mtune, the set of available instructions (ie.
stuff like 3dNOW!, I suppose?) is NOT changed from the default
of i386, is it? Or what does "Tune to cpu-type everything applicable
about the generated code, except for the ABI and the set of available
instructions." mean - especially note the "except for [...] the set of 
available instructions" part.

So with "-mtune=pentium-m -march=athlon-xp" I'm making the compiler
generate code which is "ordered" the way it's best for pentium-m
machines while allowing it to use athlon-xp instruction set? Is
that what I'm doing?

If so, then it seems you're right - code will run, but maybe not
so well.

Is that understanding correct? If so, then I really should think
twice about using "-mtune=pentium-m -march=athlon-xp", shouldn't
I?

Curious,

Alexander Skwar
-- 
No matter how many resources you have, it is never enough. 
-- Murphy's Computer Laws n�1


-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: Cannot compile texinfo: Illegal instruction -> Wrong -march and -mtune flags?

2007-08-02 Thread Alexander Skwar
· Me, myself & I:

> Indeed, I think that I just have mixed up -march and -mtune (aka. -mcpu).

Seems like. I now have:

CFLAGS="-O2 -mtune=pentium-m -march=athlon-xp -pipe -fomit-frame-pointer"

and with this CFLAGS, I am able to compile texinfo.

Alexander Skwar
-- 
Q:  What does it say on the bottom of Coke cans in North Dakota?
A:  Open other end.


-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: Cannot compile texinfo: Illegal instruction -> Wrong -march and -mtune flags?

2007-08-02 Thread Alexander Skwar
· Jan Seeger <[EMAIL PROTECTED]>:

> I'd think that using -march overrides -mtune. You cannot at the same time tune
> for two architectures.

Hm, what's an "architecture"? From my understanding, I'd need crossdev
if I'd try to compile for, lets say, PA-RISC on a x86 system. But that's
not what I'm trying to do - I'm trying to compile for x86 on a x86
system.

Indeed, I think that I just have mixed up -march and -mtune (aka. -mcpu).
The GCC 3.4.6 docs have it quite clear:

,[ 
http://gcc.gnu.org/onlinedocs/gcc-3.3.6/gcc/i386-and-x86_002d64-Options.html#i386-and-x86_002d64-Options
 ]
| -mcpu=cpu-type
| [...]
| While picking a specific cpu-type will schedule things appropriately
| for that particular chip, the compiler will not generate any code that
| does not run on the i386 without the -march=cpu-type option being used. 
`

That's for -mcpu, which is, in 4.x, a deprecated synonym for -mtune.

Well, I'll just give it a try.

Alexander Skwar
-- 
Another dream that failed.  There's nothing sadder.
-- Kirk, "This side of Paradise", stardate 3417.3


-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Cannot compile texinfo: Illegal instruction -> Wrong -march and -mtune flags?

2007-08-02 Thread Alexander Skwar
Hello.

I'm trying to compile sys-apps/texinfo-4.8-r5, which fails with this
error message:

  $restore $backupdir/* `echo "./texinfo.info" | sed 's|[^/]*$||'`; \
fi; \
rm -rf $backupdir; exit $rc
/bin/sh: line 13:  9091 Illegal instruction ..//makeinfo/makeinfo -I . -o 
texinfo.info `test -f 'texinfo.txi' || echo './'`texinfo.txi
make[2]: *** [texinfo.info] Error 132
make[2]: Leaving directory 
`/var/tmp/portage/sys-apps/texinfo-4.8-r5/work/texinfo-4.8/doc'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory 
`/var/tmp/portage/sys-apps/texinfo-4.8-r5/work/texinfo-4.8'
make: *** [all] Error 2

!!! ERROR: sys-apps/texinfo-4.8-r5 failed.
Call stack:
  ebuild.sh, line 1632:   Called dyn_compile
  ebuild.sh, line 983:   Called qa_call 'src_compile'
  ebuild.sh, line 44:   Called src_compile
  texinfo-4.8-r5.ebuild, line 56:   Called die

Quite some time ago, I ran into the same problem and commented this in 
bgo at <https://bugs.gentoo.org/show_bug.cgi?id=98951>. The issue "back
then" was:

| Ok, I butchered your output a bit, but the fact is that you are using
| -march=pentium4 on a AMD XP, which will not work ...

I'm now trying to do something like this again. I'm trying to compile
Gentoo on AMD XP for my Celeron M ("Pentium4") machine. To do this,
I have in make.conf:

CFLAGS="-O2 -march=pentium-m -mtune=athlon-xp -pipe -fomit-frame-pointer"

Build machine is a Athlon XP system, target system shall be a Pentium M
system.

Why do I get the illegal instruction error? I thought that because of the
"-mtune=athlon-xp", the compiler would generate code which would work
on athlon-xp machines and also on pentium-m machines, thanks to the -march
flag.

Or did I mix those two flags up? Should I use -march=athlon-xp -mtune=pentium-m
instead?

hetzner / # emerge --info
Portage 2.1.2.11 (default-linux/x86/2007.0/desktop, gcc-4.1.1, glibc-2.5-r0, 
2.6.21-gentoo-r4.04.non-hardened i686)
=
System uname: 2.6.21-gentoo-r4.04.non-hardened i686 AMD Athlon(tm) XP 2000+
Gentoo Base System release 1.12.9
Timestamp of tree: Thu, 02 Aug 2007 11:50:01 +
dev-lang/python: 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:1.2.17
sys-devel/autoconf:  2.61
sys-devel/automake:  1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i486-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-m -mtune=athlon-xp -pipe -fomit-frame-pointer"
CHOST="i486-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo"
CXXFLAGS="-O2 -march=pentium-m -mtune=athlon-xp -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--alphabetical"
FEATURES="collision-protect distlocks metadata-transfer parallel-fetch sandbox 
sfperms strict"
GENTOO_MIRRORS="http://mirror.switch.ch/ftp/mirror/gentoo/ 
http://gentoo.mirror.solnet.ch http://distfiles.gentoo.org/";
LINGUAS="de"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress 
--force --whole-file --delete --delete-after --stats --timeout=180 
--exclude=/distfiles --exclude=/local --exclude=/packages 
--filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.ch.gentoo.org/gentoo-portage"
USE="X acpi alsa bash-completion berkdb bitmap-fonts cairo cdr cli cracklib 
crypt cups dbus dri dvd dvdr dvdread emboss encode esd evo fam firefox fortran 
gdbm gif gnome gstreamer gtk hal iconv isdnlog jpeg kde kdeenablefinal 
kdehiddenvisibility libg++ libnotify mad midi mikmod mmx mp3 mpeg mudflap 
ncurses nfs nls nptl nptlonly offensive ogg opengl openmp pam pcre pdf perl png 
pppd python qt3 qt3support qt4 quicktime readline reflection samba sdl session 
spell spl ssl svg tiff truetype truetype-fonts type1-fonts unicode vim-syntax 
vorbis wifi win32codecs x86 xml xorg xv zlib" ALSA_CARDS="loopback usb-audio 
via82xx" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty 
extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null 
plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="evdev keyboard 
mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk 
hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" USERLAND="GNU" VID
 EO_CARDS="fbdev vesa vga via"
Unset:  CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, MAKEOPTS, 
PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, 
PORTDIR_OVERLAY

Thanks a lot,

Alexander Skwar
-- 
Can you MAIL a BEAN CAKE?


-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: Stop net.eth0 from starting?

2007-08-02 Thread Alexander Skwar
Dan Cowsill <[EMAIL PROTECTED]> wrote:

> My question is, is there any way to stop net.eth0 from starting
> besides ethtool's preup function?

If you never want net.eth0 to start, you could of course simply
delete /etc/init.d/net.eth0.

Another way to make net.eth0 NOT start is to modify /etc/conf.d/rc:

,[ /etc/conf.d/rc ]
| # Some people want a finer grain over hotplug/coldplug. RC_PLUG_SERVICES is a
| # list of services that are matched in order, either allowing or not. By
| # default we allow services through as RC_COLDPLUG/RC_HOTPLUG has to be yes
| # anyway.
| # Example - RC_PLUG_SERVICES="net.wlan !net.*"
| # This allows net.wlan and any service not matching net.* to be plugged.
| 
| RC_PLUG_SERVICES="!net.eth*"
`

That's what I do at home as well. Works very fine.

Alexander Skwar

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: USB devices and CDs don't get mounted automatically anymore

2007-08-02 Thread Alexander Skwar
I wrote:

> Since this morning, Gnome (?) doesn't mount USB sticks and CDs
> automatically anymore. 

I always used to be in the "plugdev" group and I still am a member of
this group:

,[ output of "id" ]
| uid=10001(askwar) gid=100(users) Gruppen=4(adm),10(wheel),16(cron),18(audio),
| 19(cdrom),27(video),35(games),80(cdrw),85(usb),100(users),250(portage),
| 443(plugdev)
`

Alexander Skwar

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] USB devices and CDs don't get mounted automatically anymore

2007-08-02 Thread Alexander Skwar
 dvdr dvdread encode fam firefox fortran gdbm gif 
gnome gnutls gpm gstreamer gtk hal iconv isdnlog jpeg kde kdeenablefinal 
kdehiddenvisibility ldap libg++ libnotify mad midi mmx mp3 mpeg mudflap ncurses 
nls nptl nptlonly ogg opengl openmp pam pcmcia pcre pdf perl png pppd python 
qt3 qt3support qt4 quicktime readline reflection samba sdl session spell spl 
sse sse2 ssl svg tcpd tiff truetype truetype-fonts type1-fonts unicode vorbis 
wifi win32codecs x86 xine xinerama xml xorg xv zlib" ALSA_CARDS="dummy 
hda-intel intel8x0 intel8x0m usb-audio usb-usx3y" ALSA_PCM_PLUGINS="adpcm alaw 
asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa 
lfloat linear meter mulaw multi null plug rate route share shm softvol" 
ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse synaptics vmmouse" 
KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 
mtxorb n
 curses text" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="dummy none nv nvidia vga"
| Unset:  CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, 
PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
`

Thanks a lot,

Alexander Skwar

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] -Os = Nono? (was: gcc 4.2 and Core 2 Duo)

2007-07-23 Thread Alexander Skwar
Volker Armin Hemmann <[EMAIL PROTECTED]> wrote:

> And then Os. That is a big nono.

Why's that?

Alexander Skwar

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: gcc 4.2 and Core 2 Duo

2007-07-23 Thread Alexander Skwar
Kenneth Prugh <[EMAIL PROTECTED]> wrote:

> Yeah I wasn't exactly positive if it did pull everything in, and
> specifying specifically can't really hurt at all as long as you know
> it's supported with your cpu.

Doesn't the doc say, that it actually CAN hurt, as it forces the use
of certain instructions, even if they would not be used automatically?

Because of that, I'd refrain from using stuff like -msse for each
and every package. There might be the odd package out there, where
something like this would help.

Conclusion: I'd use: CFLAGS="-Os -march=native"

Alexander Skwar

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: Mail client usage?

2007-07-18 Thread Alexander Skwar
Alexander Skwar <[EMAIL PROTECTED]> wrote:

> Dirk Heinrichs schrieb:
>> Am Mittwoch, 18. Juli 2007 schrieb ext Dirk Heinrichs:
>>> Am Mittwoch, 18. Juli 2007 schrieb ext Alexander Skwar:
>>>> I'm curious - what makes you say that? Stroller sent one post to the
>>>> list and one post has shown up. At least that's how it looks like over
>>>> here on the GMane side of things.
>>> I received it multiple times, too.
>> 
>> New ones still arriving :-(
> 
> Hm. Even when I use the mailinglist (ie. not the Gmane interface),
> I see his message only once.
> 
> Strange.

Nevermind. I just remembered, that I have my system setup so, that
it discards "dupes". Sorry.

Alexander Skwar

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Mail client usage?

2007-07-18 Thread Alexander Skwar
Dirk Heinrichs schrieb:
> Am Mittwoch, 18. Juli 2007 schrieb ext Dirk Heinrichs:
>> Am Mittwoch, 18. Juli 2007 schrieb ext Alexander Skwar:
>>> I'm curious - what makes you say that? Stroller sent one post to the
>>> list and one post has shown up. At least that's how it looks like over
>>> here on the GMane side of things.
>> I received it multiple times, too.
> 
> New ones still arriving :-(

Hm. Even when I use the mailinglist (ie. not the Gmane interface),
I see his message only once.

Strange.

Alexander Skwar
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Multiple Messages (was: XSESSION="Xsession" doesn't work!)

2007-07-18 Thread Alexander Skwar
Neil Bothwick <[EMAIL PROTECTED]> wrote:

> On Wed, 18 Jul 2007 01:16:06 -0500, Dale wrote:
> 
>> Well, I don't know about yours but mine says they were all sent at the
>> same exact time.  So why are they arriving at different times?  Are we
>> sure this is him and not something else?
> 
> More importantly, they all have the same Message-ID. 

Ah, that's why I don't see the messages multiple times. I'm using Gmane
and access it with a Usenet newsreader. In Usenet, it's not possible for
multiple articles to have the same Message-ID.

Anyway, I think it would be proper to say that this barf up was probably
not caused by something the OP has done.

Alexander Skwar

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Mail client usage? (was: XSESSION="Xsession" doesn't work!)

2007-07-18 Thread Alexander Skwar
Elias Probst <[EMAIL PROTECTED]> wrote:

> Am Dienstag, 17. Juli 2007 23:01:12 schrieb Stroller:
>> Hi there,
>>
>> I'm fairly experienced with Linux and have been using Gentoo for over
>> 3 years, ...
> Probably, you're not that fairly experienced regarding the usage of your
> mail client. ;-)

I'm curious - what makes you say that? Stroller sent one post to the
list and one post has shown up. At least that's how it looks like over
here on the GMane side of things.
 
Alexander Skwar

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: [OT] Remote access to windows desktops

2007-07-12 Thread Alexander Skwar
· [EMAIL PROTECTED] <[EMAIL PROTECTED]>:


>   Can anyone tell me
> if FreeNX even allows windows XP home to Linux.

Not possible. There's no FreeNX server for windows.

Alexander Skwar
-- 
Objects are lost only because people look where they are not rather than
where they are.


-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: [OT] Remote access to windows desktops

2007-07-12 Thread Alexander Skwar
· [EMAIL PROTECTED] <[EMAIL PROTECTED]>:

> What are people using to access a networked windows XP home machine
> desktop and control it?

VNC or RDP

Alexander Skwar
-- 
I'm having a RELIGIOUS EXPERIENCE ... and I don't take any DRUGS


-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: Re: Why are some packages in portage's output bold?

2007-07-12 Thread Alexander Skwar
Iain Buchanan <[EMAIL PROTECTED]> wrote:

> On Wed, 2007-07-11 at 19:54 +0200, Alexander Skwar wrote:
>> · Bo Ørsted Andresen <[EMAIL PROTECTED]>:
>> 
>> 
>> > Packages in bold are in your world file.
>> 
>> Is this also documented somewhere? I mean, besides in the bug report
>> you digged out?
> 
> yes, on the mailing list archives... someone called Ryan asked the
> question and someone called Alexander asked if it was documented...

*lol* Nice one ;)

> 
>> Thx,
> 
> you probably won't thank me anymore after answer like this :)

You're absolutely right *G*

Cheers,
Alexander Skwar

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: Absymal IDE performance with gentoo-sources-2.6.22 and why hda instead of sda?

2007-07-12 Thread Alexander Skwar
Alexander Skwar <[EMAIL PROTECTED]> wrote:

> Florian Philipp <[EMAIL PROTECTED]> wrote:
> 
>> I had the same problem on my laptop. You have to deactivate generic
>> drivers in your kernel. (Stuff like Generic ATA Support)
> 
> Do I need BLK_DEV_IDEDISK, when I've got a SATA disk? But you say that
> I should remove IDE_GENERIC, right?

I now removed everything that I did not need, and now:

- disk is at sda again
- disk is fast again.

Thanks!

FWIW, here's what I changed:

--($:~)-- diff -u /usr/src/linux-2.6.22-gentoo/.config{.langsam,}
--- /usr/src/linux-2.6.22-gentoo/.config.langsam2007-07-12 
09:17:38.0 +0200
+++ /usr/src/linux-2.6.22-gentoo/.config2007-07-12 09:31:37.0 
+0200
@@ -1,7 +1,7 @@
 #
 # Automatically generated make config: don't edit
 # Linux kernel version: 2.6.22-gentoo
-# Tue Jul 10 11:41:34 2007
+# Thu Jul 12 09:31:37 2007
 #
 CONFIG_X86_32=y
 CONFIG_GENERIC_TIME=y
@@ -33,8 +33,8 @@
 #
 # General setup
 #
-CONFIG_LOCALVERSION=".r06.kernel-fuse"
-CONFIG_LOCALVERSION_AUTO=y
+CONFIG_LOCALVERSION=".r07"
+# CONFIG_LOCALVERSION_AUTO is not set
 CONFIG_SWAP=y
 CONFIG_SYSVIPC=y
 # CONFIG_IPC_NS is not set
@@ -48,12 +48,12 @@
 CONFIG_IKCONFIG_PROC=y
 CONFIG_LOG_BUF_SHIFT=15
 # CONFIG_CPUSETS is not set
-# CONFIG_SYSFS_DEPRECATED is not set
+CONFIG_SYSFS_DEPRECATED=y
 # CONFIG_RELAY is not set
 # CONFIG_BLK_DEV_INITRD is not set
 CONFIG_CC_OPTIMIZE_FOR_SIZE=y
 CONFIG_SYSCTL=y
-CONFIG_EMBEDDED=y
+# CONFIG_EMBEDDED is not set
 CONFIG_UID16=y
 CONFIG_SYSCTL_SYSCALL=y
 CONFIG_KALLSYMS=y
@@ -72,7 +72,7 @@
 CONFIG_EVENTFD=y
 CONFIG_SHMEM=y
 CONFIG_VM_EVENT_COUNTERS=y
-# CONFIG_SLUB_DEBUG is not set
+CONFIG_SLUB_DEBUG=y
 # CONFIG_SLAB is not set
 CONFIG_SLUB=y
 # CONFIG_SLOB is not set
@@ -86,8 +86,8 @@
 CONFIG_MODULES=y
 CONFIG_MODULE_UNLOAD=y
 CONFIG_MODULE_FORCE_UNLOAD=y
-CONFIG_MODVERSIONS=y
-CONFIG_MODULE_SRCVERSION_ALL=y
+# CONFIG_MODVERSIONS is not set
+# CONFIG_MODULE_SRCVERSION_ALL is not set
 CONFIG_KMOD=y
 CONFIG_STOP_MACHINE=y
 
@@ -202,12 +202,7 @@
 CONFIG_NOHIGHMEM=y
 # CONFIG_HIGHMEM4G is not set
 # CONFIG_HIGHMEM64G is not set
-# CONFIG_VMSPLIT_3G is not set
-CONFIG_VMSPLIT_3G_OPT=y
-# CONFIG_VMSPLIT_2G is not set
-# CONFIG_VMSPLIT_2G_OPT is not set
-# CONFIG_VMSPLIT_1G is not set
-CONFIG_PAGE_OFFSET=0xB000
+CONFIG_PAGE_OFFSET=0xC000
 CONFIG_ARCH_FLATMEM_ENABLE=y
 CONFIG_ARCH_SPARSEMEM_ENABLE=y
 CONFIG_ARCH_SELECT_MEMORY_MODEL=y
@@ -246,7 +241,7 @@
 CONFIG_PM=y
 # CONFIG_PM_LEGACY is not set
 # CONFIG_PM_DEBUG is not set
-CONFIG_PM_SYSFS_DEPRECATED=y
+# CONFIG_PM_SYSFS_DEPRECATED is not set
 # CONFIG_SOFTWARE_SUSPEND is not set
 CONFIG_SUSPEND_SMP=y
 
@@ -549,7 +544,6 @@
 # CONFIG_SONY_LAPTOP is not set
 # CONFIG_THINKPAD_ACPI is not set
 CONFIG_IDE=y
-CONFIG_IDE_MAX_HWIFS=4
 CONFIG_BLK_DEV_IDE=y
 
 #
@@ -557,8 +551,8 @@
 #
 # CONFIG_BLK_DEV_IDE_SATA is not set
 # CONFIG_BLK_DEV_HD_IDE is not set
-CONFIG_BLK_DEV_IDEDISK=y
-CONFIG_IDEDISK_MULTI_MODE=y
+# CONFIG_BLK_DEV_IDEDISK is not set
+# CONFIG_IDEDISK_MULTI_MODE is not set
 # CONFIG_BLK_DEV_IDECS is not set
 # CONFIG_BLK_DEV_DELKIN is not set
 CONFIG_BLK_DEV_IDECD=m
@@ -572,7 +566,7 @@
 #
 # IDE chipset support/bugfixes
 #
-CONFIG_IDE_GENERIC=y
+# CONFIG_IDE_GENERIC is not set
 # CONFIG_BLK_DEV_CMD640 is not set
 # CONFIG_BLK_DEV_IDEPNP is not set
 CONFIG_BLK_DEV_IDEPCI=y
@@ -582,39 +576,9 @@
 # CONFIG_BLK_DEV_GENERIC is not set
 # CONFIG_BLK_DEV_OPTI621 is not set
 # CONFIG_BLK_DEV_RZ1000 is not set
-CONFIG_BLK_DEV_IDEDMA_PCI=y
-# CONFIG_BLK_DEV_IDEDMA_FORCED is not set
-# CONFIG_IDEDMA_ONLYDISK is not set
-# CONFIG_BLK_DEV_AEC62XX is not set
-# CONFIG_BLK_DEV_ALI15X3 is not set
-# CONFIG_BLK_DEV_AMD74XX is not set
-# CONFIG_BLK_DEV_ATIIXP is not set
-# CONFIG_BLK_DEV_CMD64X is not set
-# CONFIG_BLK_DEV_TRIFLEX is not set
-# CONFIG_BLK_DEV_CY82C693 is not set
-# CONFIG_BLK_DEV_CS5520 is not set
-# CONFIG_BLK_DEV_CS5530 is not set
-# CONFIG_BLK_DEV_CS5535 is not set
-# CONFIG_BLK_DEV_HPT34X is not set
-# CONFIG_BLK_DEV_HPT366 is not set
-# CONFIG_BLK_DEV_JMICRON is not set
-# CONFIG_BLK_DEV_SC1200 is not set
-CONFIG_BLK_DEV_PIIX=y
-# CONFIG_BLK_DEV_IT8213 is not set
-# CONFIG_BLK_DEV_IT821X is not set
-# CONFIG_BLK_DEV_NS87415 is not set
-# CONFIG_BLK_DEV_PDC202XX_OLD is not set
-# CONFIG_BLK_DEV_PDC202XX_NEW is not set
-# CONFIG_BLK_DEV_SVWKS is not set
-# CONFIG_BLK_DEV_SIIMAGE is not set
-# CONFIG_BLK_DEV_SIS5513 is not set
-# CONFIG_BLK_DEV_SLC90E66 is not set
-# CONFIG_BLK_DEV_TRM290 is not set
-# CONFIG_BLK_DEV_VIA82CXXX is not set
-# CONFIG_BLK_DEV_TC86C001 is not set
+# CONFIG_BLK_DEV_IDEDMA_PCI is not set
 # CONFIG_IDE_ARM is not set
-CONFIG_BLK_DEV_IDEDMA=y
-# CONFIG_IDEDMA_IVB is not set
+# CONFIG_BLK_DEV_IDEDMA is not set
 # CONFIG_BLK_DEV_HD is not set
 
 #
@@ -632,8 +596,7 @@
 CONFIG_BLK_DEV_SD=y
 # CONFIG_CHR_DEV_ST is not set
 # CONFIG_CHR_DEV_OSST is not set
-CONFIG_BLK_DEV_SR=m
-# CONFIG_BLK_DEV

[gentoo-user] Re: Absymal IDE performance with gentoo-sources-2.6.22 and why hda instead of sda?

2007-07-11 Thread Alexander Skwar
Florian Philipp <[EMAIL PROTECTED]> wrote:

> I had the same problem on my laptop. You have to deactivate generic
> drivers in your kernel. (Stuff like Generic ATA Support)

Do I need BLK_DEV_IDEDISK, when I've got a SATA disk? But you say that
I should remove IDE_GENERIC, right? 

Alexander Skwar

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: Absymal IDE performance with gentoo-sources-2.6.22 and why hda instead of sda?

2007-07-11 Thread Alexander Skwar
Dan Farrell <[EMAIL PROTECTED]> wrote:

> Have you considered trying with those ata kernel params turned off?

I did now and it did not change anything :(

Alexander Skwar

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: Absymal IDE performance with gentoo-sources-2.6.22 and why hda instead of sda?

2007-07-11 Thread Alexander Skwar
· Florian Philipp <[EMAIL PROTECTED]>:

> I had the same problem two days ago on my laptop. You have to deactivate all 
> generic drivers in your kernel. Look for stuff like generic ATA support. 

Great. A thing to look out for :)

You're also using kernel 2.6.22?

Alexander Skwar
-- 
Never invest your money in anything that eats or needs repainting.
-- Billy Rose


-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: Why are some packages in portage's output bold?

2007-07-11 Thread Alexander Skwar
· Bo Ørsted Andresen <[EMAIL PROTECTED]>:


> Packages in bold are in your world file.

Is this also documented somewhere? I mean, besides in the bug report
you digged out?

Thx,

Alexander Skwar
-- 
"We demand rigidly defined areas of doubt and uncertainty!"
-- Vroomfondel


-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: Absymal IDE performance with gentoo-sources-2.6.22 and why hda instead of sda?

2007-07-11 Thread Alexander Skwar
· Dan Farrell <[EMAIL PROTECTED]>:

> Have you considered trying with those ata kernel params turned off?

No, I haven't. But I'll consider this first thing tomorrow morning.
Nothing bad can happen - besides an unbootable system ;) And that's 
"fine".

Thanks for this idea!

> You seem to know what you're doing, 

Thx.

> but I use no such parameters and 
> haven't any problems.  

I think I was unable to boot without them in pre 2.6.21 times. But
maybe this has changed. I'll find out.

Thanks again,

Alexander Skwar
-- 
I don't have any use for bodyguards, but I do have a specific use for two
highly trained certified public accountants.
-- Elvis Presley

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Absymal IDE performance with gentoo-sources-2.6.22 and why hda instead of sda?

2007-07-11 Thread Alexander Skwar
Hello.

Yesterday, I installed gentoo-sources-2.6.22. When I now boot this new
kernel, I notice that all of a sudden my SATA disk is addressed with
/dev/hda, whereas it used to be addressed with /dev/sda in 2.6.21. Why's
that?

But much more important: The IDE performance is now extremely bad.

,[ hdparm  -tT  /dev/hda, kernel 2.6.22 ]
| /dev/hda:
|  Timing cached reads:   2414 MB in  2.00 seconds = 1208.28 MB/sec
|  Timing buffered disk reads:8 MB in  3.99 seconds =   2.00 MB/sec
`

With 2.6.21, it's A LOT faster:

,[ hdparm -tT /dev/sda, kernel 2.6.21 ]
| /dev/sda:
|  Timing cached reads:   2414 MB in  2.00 seconds = 1207.80 MB/sec
|  Timing buffered disk reads:  150 MB in  3.01 seconds =  49.76 MB/sec
`

The drive is (is?) running with udma5 in both cases, according to
hdparm:

,[ hdparm -Him  /dev/sda, kernel 2.6.21 ]
| /dev/sda:
|  drive temperature (celsius) is:  42
|  drive temperature in range:  yes
|  HDIO_GET_MULTCOUNT failed: Inappropriate ioctl for device
| 
|  Model=Hitachi HTS721010G9SA00 , FwRev=MCZOC10H, SerialNo=
  MPCZN7Y0H7E5VL
|  Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs }
|  RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=4
|  BuffType=DualPortCache, BuffSize=7538kB, MaxMultSect=16, MultSect=?8?
|  CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=195371568
|  IORDY=on/off, tPIO={min:240,w/IORDY:120}, tDMA={min:120,rec:120}
|  PIO modes:  pio0 pio1 pio2 pio3 pio4 
|  DMA modes:  mdma0 mdma1 mdma2 
|  UDMA modes: udma0 udma1 udma2 udma3 udma4 *udma5 
|  AdvancedPM=yes: mode=0x80 (128) WriteCache=enabled
|  Drive conforms to: ATA/ATAPI-7 T13 1532D revision 1:  ATA/ATAPI-2,3,4,5,6,7
| 
|  * signifies the current active mode
`

,[ hdparm -Him  /dev/hda, kernel 2.6.22 ]
| /dev/hda:
|  drive temperature (celsius) is:  41
|  drive temperature in range:  yes
|  multcount = 16 (on)
| 
|  Model=Hitachi HTS721010G9SA00, FwRev=MCZOC10H, SerialNo=MPCZN7Y0H7E5VL
|  Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs }
|  RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=4
|  BuffType=DualPortCache, BuffSize=7538kB, MaxMultSect=16, MultSect=16
|  CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=195371568
|  IORDY=on/off, tPIO={min:240,w/IORDY:120}, tDMA={min:120,rec:120}
|  PIO modes:  pio0 pio1 pio2 pio3 pio4 
|  DMA modes:  mdma0 mdma1 mdma2 
|  UDMA modes: udma0 udma1 udma2 udma3 udma4 *udma5 
|  AdvancedPM=yes: mode=0x80 (128) WriteCache=enabled
|  Drive conforms to: ATA/ATAPI-7 T13 1532D revision 1:  ATA/ATAPI-2,3,4,5,6,7
| 
|  * signifies the current active mode
`

What do I have to do, so that the drive is fast in kernel 2.6.22 as
well?

I'm booting the 2.6.22 kernel with this entry in grub menu.lst:

,[ kernel 2.6.22 ]
| title Gentoo GNU/Linux (zuletzt gebauter Kernel mit hda)
| root (hd0,2)
| kernel /vmlinuz root=/dev/hda6 lapic libata.atapi_enabled=1 
combined_mode=libata
`

Kernel 2.6.21 is started with the following entry in grub:

,[ kernel 2.6.21 ]
| title Gentoo GNU/Linux (vorletzter gebauter Kernel)
| root (hd0,2)
| kernel /vmlinuz.old root=/dev/sda6 lapic libata.atapi_enabled=1 
combined_mode=libata
`----

Thanks,

Alexander Skwar

-- 
[EMAIL PROTECTED] mailing list



  1   2   3   4   5   6   7   8   9   10   >