[gentoo-user] Blockers problem: no ebuilds to satisfy "media-libs/libpng:0/0="

2014-04-13 Thread Matthias Bethke
For the first time in years portage is driving me crazy. I'm trying to
update my desktop after half a year in storage and coping with the Gnome
3.10 upgrade that I want to avoid because of systemd. And this is where
it always gets stuck:

| aldous ~ # emerge --keep-going --jobs=5 -DNuvta @world
| 
| These are the packages that would be merged, in reverse order:
| 
| Calculating dependencies... done!
| 
| emerge: there are no ebuilds to satisfy "media-libs/libpng:0/0=".
| (dependency required by "media-gfx/rawstudio-2.0-r1" [installed])
| (dependency required by "@selected" [set])
| (dependency required by "@world" [argument])

| aldous ~ # eix libpng
| [I] media-libs/libpng
|  Available versions:  
|  (1.2)  1.2.50-r1 ~1.2.51
|  (1.5)  1.5.17-r15 ~1.5.18
|  (0)1.6.8(0/16) ~1.6.9(0/16) ~1.6.10(0/16)
|{apng neon static-libs ABI_MIPS="n32 n64 o32" ABI_X86="32 64 x32"}
|  Installed versions:  1.6.8(09:32:10 PM 03/29/2014)(apng -neon 
-static-libs ABI_MIPS="-n32 -n64 -o32" ABI_X86="64 -32 -x32")
|  Homepage:http://www.libpng.org/
|  Description: Portable Network Graphics library

So media-libs/libpng:0 is indeed installed, and it not only works but
| emerge -1vta `equery d libpng`
does work, too. That way I have already recompiled every single thing
that requires libpng, including rawstudio so IMAO it shouldn't even come
up during @world updating, and if there is some reason for to be
recompiled it should work just like when I say "emerge -1 rawstudio".

I've run into a few blockers during this update run and Google has been
my friend for most of there, but here I only find some QT-related forum
entries that seem to be unrelated or offer solutions like masking some
libpng version
[http://forums.gentoo.org/viewtopic-p-7520134.html#7520134] that didn't
help and frankly sound rather voodoo.

Could anyone help me out here?

cheers,
Matthias


signature.asc
Description: Digital signature


Re: [gentoo-user] mutt + gnupg

2008-11-12 Thread Matthias Bethke
Hi Michael,
on Tue, Nov 11, 2008 at 09:39:59AM -0500, you wrote:
> Now I run gpg-agent in my .xsession, with the GPG_AGENT_INFO variable being
> inherited by Mutt, but signing email doesn't work, as gpg says there's no
> secret key available. 

Do you have "set pgp_use_gpg_agent=yes" in your muttrc? Works fine here,
though I don't remember what I changed in the last year when gpg started
to need the agent, if anything. If that's not it, I can just mail you my
config as well...

cheers,
Matthias
-- 
I prefer encrypted and signed messages. KeyID: FAC37665
Fingerprint: 8C16 3F0A A6FC DF0D 19B0  8DEF 48D9 1700 FAC3 7665


pgpSI2yRB4vpQ.pgp
Description: PGP signature


Re: [gentoo-user] Crossdev won't go away

2008-11-12 Thread Matthias Bethke
Hi Peter,
on Mon, Nov 10, 2008 at 10:50:32AM +, you wrote:
> I'm still having a bit of bother with crossdev. If I emerge -upDvtN world I 
> get this warning (omitting the N makes no difference):
> 
> !!! The following installed packages are masked:
> - cross-i686-pc-linux-gnu/linux-headers-2.6.23-r3 (masked by: ~amd64 
> keyword)

I had a similar issue just recently when I built a crossdev environment
for ARM on an amd64 system. I'm not exactly sure how it happened any
more but I suppose it has to do with a later version of linux-headers
being stable for the platform you want to crosscompile for than for your
native one. Which isn't the case when I look now, perhaps the keywords
have just been updated? For me, installing crossdev with -s1 helped, I'm
only compiling for an embedded system anyway so I don't need the
headers. Maybe just try again after an rsync?

cheers,
Matthias
-- 
I prefer encrypted and signed messages. KeyID: FAC37665
Fingerprint: 8C16 3F0A A6FC DF0D 19B0  8DEF 48D9 1700 FAC3 7665


pgp1iXDp0g5n1.pgp
Description: PGP signature


Re: [gentoo-user] 4 port ethernet card support

2008-11-07 Thread Matthias Bethke
Hi James,
on Thu, Nov 06, 2008 at 06:30:57PM +, you wrote:
> ANA-6944A/TX
> [...]
> Not very useful.

Why not just ask Google for ANA-6944A and Linux? It turns up stuff like
this: http://www.freelabs.com/~whitis/hardware/quartet.html
which suggests it might work with the Tulip driver.
For grepping the sources, a much better guess than the model is the PCI
ID.

cheers,
Matthias
-- 
I prefer encrypted and signed messages. KeyID: FAC37665
Fingerprint: 8C16 3F0A A6FC DF0D 19B0  8DEF 48D9 1700 FAC3 7665


pgpjshRNrJYiq.pgp
Description: PGP signature


Re: [gentoo-user] limit maximum memory size of any process

2008-11-04 Thread Matthias Bethke
Hi Zhang,
on Tue, Nov 04, 2008 at 03:30:55PM +0800, you wrote:
> > I interpret the above as "use a maximum of 300,000 KiB of memory, of
> > which 300 may be resident (i.e. in physical memory) and 299,700 swapped
> > out." That doesn't sound good, although I'm not sure I'm reading it
> > correctly.
> 
> Sorry, it seems I used these parameter without care. I guess I only need
> to set physical memory limit, a.k.a. resident memory.

Yes, that sounds reasonable. Remember it's in kilobytes so that would be
30.

> OT: I don't know why I have
> max locked memory   (kbytes, -l) 32
> But it has been like that before I set ulimit.

"Locked memory" is memory that a process has protected against being
swapped to disk. The best-known example is the memory gpg uses to store
keys and passphrases, it would be pretty bad if it got swapped and
someone could find your unprotected key on the disk later, so gpg tries
to lock this memory in RAM.

> I don't have a file called /etc/sercurity/limits.conf and neither can I
> find information about it by using 'man limits.conf'. Further I couldn't
> find a package called pam_limits to emerge. Can you give me some clue which
> package I should emerge in order to set limits.conf ?

The pam_limits module is part of the standard PAM distribution, here
it's sys-libs/pam-1.0.1. Maybe just re-emerge it?

cheers,
Matthias
-- 
I prefer encrypted and signed messages. KeyID: FAC37665
Fingerprint: 8C16 3F0A A6FC DF0D 19B0  8DEF 48D9 1700 FAC3 7665


pgpLO2liwse9h.pgp
Description: PGP signature


Re: [gentoo-user] limit maximum memory size of any process

2008-11-03 Thread Matthias Bethke
Hi Zhang,
on Mon, Nov 03, 2008 at 06:24:00PM +0800, you wrote:
> I hope I can configure the system so that any process uses more than 50%
> of memory are automatically killed. first I was recommend to use ulimit
> by googling around. However this seems doesn't work even if I set both
> -d and -m (here is my .xinitrc)
> 
> ~$ cat .xinitrc
> #export [EMAIL PROTECTED]
> #fcitx &
> ulimit -d 30
> ulimit -m 300
> exec /usr/bin/fluxbox
> 
> 
> Result: OpenOffice stands still even when it takes 80% memory (read from
> top).
> So: is ulimit the solution? If so, what option should I set?

I interpret the above as "use a maximum of 300,000 KiB of memory, of
which 300 may be resident (i.e. in physical memory) and 299,700 swapped
out." That doesn't sound good, although I'm not sure I'm reading it
correctly.
What I do is use /etc/sercurity/limits.conf (from pam_limits) with a
couple of entries like those:
| @users   hardnproc   1000
| mb   hardnproc   5000
| @users   hardas  2097152
| mb   hardas  6291456
| mb   hardnice-5
| mb   hardrtprio  5
Meaning, everyone but me (mb) may use up to 1000 processes per login,
with a max. address space of 2 GiB each; for myself the limit is 6 GiB
and 5k processes. Myself I cannot accidentially set a negative
nice-value because I left the soft limit at its default (0 for non-root
users) but using ulimit I can set it to the hard limit of -5 and nice-up
processes even as a normal user.

cheers,
Matthias
-- 
I prefer encrypted and signed messages. KeyID: FAC37665
Fingerprint: 8C16 3F0A A6FC DF0D 19B0  8DEF 48D9 1700 FAC3 7665


pgpRLx3YFB6kP.pgp
Description: PGP signature


[gentoo-user] OT: Python (was: package.keywords syntax?)

2008-10-31 Thread Matthias Bethke
Hi Albert,
on Thu, Oct 30, 2008 at 03:11:04PM -0400, you wrote:
> ... but Jorge is right.  This is easily picked up by a lint tool... and
> good python programmers use them ;-).  Some python-aware editors even
> have this functionality built in.

Whow...I've been out of Python long enough to totally forget that you
*needed* to do this. In Perl, the "use strict" you find at the top of
every well-written script does it at compile time.

cheers,
Matthias
-- 
I prefer encrypted and signed messages. KeyID: FAC37665
Fingerprint: 8C16 3F0A A6FC DF0D 19B0  8DEF 48D9 1700 FAC3 7665


pgpW5p5UNElJT.pgp
Description: PGP signature


Re: [gentoo-user] epiphany & flash

2008-09-25 Thread Matthias Bethke
Hi Erik,
on Thu, Sep 25, 2008 at 05:34:11PM +0200, you wrote:
> Chances are Epiphany is more stable *because* you don't have Flash in
> it - it often causes Firefix to crash.

Likely. Pretty much the only reason of FF3 crashes here.

> I recommend to either try one of the open source alternatives or
> install Flashblock [1].

Note however that this can make flash even more unstable in combination
with other blockers like NoScript. I had Flashblock installed since
the time when NoScript didn't have this functionality and it caused FF
to crash 90% of the time I manually started a YouTube video. Since
NoScript can do it, I got rid of Flashblock, whitelisted a few sites and
have since had FF uptimes of weeks again.

cheers,
Matthias
-- 
I prefer encrypted and signed messages. KeyID: FAC37665
Fingerprint: 8C16 3F0A A6FC DF0D 19B0  8DEF 48D9 1700 FAC3 7665


pgpNKLvBciC0d.pgp
Description: PGP signature


[gentoo-user] It's the Mind!

2008-09-19 Thread Matthias Bethke
On Fri, Sep 19, 2008 at 06:40:58PM +0200, Joerg Schilling wrote:
> It seems that you missunderstand things. The people behind cdrkit are on a 
> crusade against free software. 

Good evening!
Tonight on "It's The Mind" we'll examine the phenomenon of déjà-vu.

-- 
I prefer encrypted and signed messages. KeyID: FAC37665
Fingerprint: 8C16 3F0A A6FC DF0D 19B0  8DEF 48D9 1700 FAC3 7665


pgpokOxRYuEmH.pgp
Description: PGP signature


Re: [gentoo-user] Is there a way to automate rsync of updated portage tree across multiple boxes without each having to pull it down from a gentoo mirror

2008-09-18 Thread Matthias Bethke
Hi Vaeth,
on Wed, Sep 17, 2008 at 10:40:47AM +0200, you wrote:
> > > Alan Cox: "chroot is not and never has been a security tool", see e.g.
> > > http://kerneltrap.org/Linux/Abusing_chroot
> > 
> > No disrespect to Mr. Cox but a silly argument stays a silly argument
> > even if brought forward by Alan. Programs like postfix certainly don't
> > use chroots for security because they were designed noobs or incompetent
> > people.
> 
> I did not cite the webpage because of the insults but because it shows
> how much the kernel programmers are interested in closing possible ways
> to break out of a chroot
as root
> : not at all, because they think it is ok.
> That's why I said that _only_ with grsecurity a chroot _might perhaps_
> be considered as a serious security measurement (but in fact, people
> which really need chroot to run binaries from two systems cannot activate
> these security enhancements).

Sure, you can't expect that the Debian-loving friend you gave root on
your Debian-chrooted-on-Gentoo system will stay confined to that chroot.
Big deal, just don't do it. That's not what any sane person would
recommend chroot for anyway.

> > Alan acknowledges that "Normal users cannot use chroot()
> > themselves so they can't use chroot to get back out"
> 
> Yes, _this_ method of breaking out does not work without additional
> exploits like privilege escalation. (grsecurity closes a lot more methods;
> I did never reasearch which tricks might perhaps work as a user).
> But if everything works as it should, just running with low privileges
> does not make much of a difference than running with low privileges in
> a chroot: In any case you should only have access to those data which
> the privileges allow.

...which is usually pretty much everything in the bin directories, a lot
of stuff in /etc, and most importantly a shell. In a non-chrooted
program, an attacker who can exploit a bug can simply bind /bin/sh to a
port, run netcat, even use your compiler to prepare the next steps for
perhaps a local privilege escalation. In a chroot, nothing of the sort
is possible, you're limited to what you can do in your injected code.

> (Admittedly there is a _slight_ increase in security: You might now be
> safe of ways of privilege escalation by bugs in certain
> SUID-programms).

...plus safe from most information disclosure that would otherwise be
possible.

> > That's not to say that setting up a vserver for each of
> > your programs exposed to the net wasn't *more* secure than a chroot
> 
> That's a different topic, but a vserver might also even be more
> dangerous than doing nothing, because it has to be implemented (of course)
> with the highest available privileges, and so you have an additional
> risk of bugs (i.e. possible exploits) of the vserver - and in such a
> case the attacker has immediately the highest privileges.

That's true, I just mentioned it because that's what Alan mentioned as
the true security tool.

> > but it's certainly a whole lot more secure if used
> > properly than not doing it at all.
> 
> ...as is the usage of NAT as a "security feature".
> Of course, saying that using NAT or using chroot would not increase
> security at all would be a lie.  But it is better to emphasize the
> dangers than to support the common misbelieve (as Alan alrady pointed
> out) that by using it there is no risk that "closed" ports can come
> through or that no other data than those in the chroot can be accessed.

Alan would probably emphasize the dangers of a seat belt and say
competent people used it only to keep their shopping bags from falling
over and not as a security tool because if you don't use it the
recommended way you can strangle yourself with it =^>

> Remember the starting point of the discussion: The statement "rsyncd uses
> chroot, so an attacker can do nothing bad" is just false.

Except that statement wasn't Neil's. To quote it correctly:
| In addition, the default rsyncd configuration with Gentoo uses a chroot
| jail. So even if you do allow connections to your portage tree, they
| won't be able to access anything else.

To summarize: for an attacker to be able to compromise a chrooted
rsyncd behind a NATting DSL router:
a) your ISP has to have a router configuration b0rked beyond belief
b) the attacker has to be aware of that and be able to distinguish
between your traffic and that of several hundred others that will
respond to his packets to 192.168.x.x
c) your router has to have a serious security hole
d) rsyncd has to be exploitable
e) your kernel needs to have a local privilege escalation bug

Now if that risk is worth the more complicated configuration using rsync
over ssh, I'm really not sure...I think I'd rather spend the time on
folding tin foil hats for the upcoming attack from Mars ;)

cheers,
Matthias
-- 
I prefer encrypted and signed messages. KeyID: FAC37665
Fingerprint: 8C16 3F0A A6FC DF0D 19B0  8DEF 48D9 1700 FAC3 7665


pgpEIWGy6o0sA.pgp
Description: PGP signature


Re: [gentoo-user] Is there a way to automate rsync of updated portage tree across multiple boxes without each having to pull it down from a gentoo mirror

2008-09-18 Thread Matthias Bethke
Hi Vaeth,
on Wed, Sep 17, 2008 at 09:49:08AM +0200, you wrote:
> > [...] that in any halfway sane router these NAT problems are not an
> > issue. And with many routers running Linux today so you can even get a
> > shell and check iptables... :)
> 
> We are obviously talking about a different price category of routers.
> Most routers people use here in Germany for home systems are from their
> ISP, and they are usually proprietary implementations [...]

Huh? I don't have a good overview of the market here but the ISP I work
at uses only FritzBox routers which run a fine Linux, and as far as I
know so do most of T-Com's Speedport models which should be the most
widely used in Germany. Not that it was significantly cheaper than a
FritzBox or a WRT54...

cheers,
Matthias
-- 
I prefer encrypted and signed messages. KeyID: FAC37665
Fingerprint: 8C16 3F0A A6FC DF0D 19B0  8DEF 48D9 1700 FAC3 7665


pgpJ76v2Z1nkR.pgp
Description: PGP signature


Re: [gentoo-user] Is there a way to automate rsync of updated portage tree across multiple boxes without each having to pull it down from a gentoo mirror

2008-09-16 Thread Matthias Bethke
Hi Vaeth,
on Tue, Sep 16, 2008 at 08:36:28PM +0200, you wrote:
> > > Also a chroot jail is not a security feature: There are several
> > > ways known how to break out.
> > 
> > [...] But there's only one reason I can see why you'd use a
> > chroot environment *except* for security and that's to have more than
> > one set of system binaries active at the same time for different
> > applications.
> 
> Or simply several systems (e.g. amd64 and x86, or gentoo and debian,
> or your boot disk and your newly installed system [the install handbook
> makes massive use of chroot]). This is exactly what chroot was made for.

Sure, that's why I kept it as general als "more than one set", be it a
different architecture/vendor/purpose/whatever.

> > I'd say the vast majority of chroot jails are there for nothing
> > else but security.
> 
> Alan Cox: "chroot is not and never has been a security tool", see e.g.
> http://kerneltrap.org/Linux/Abusing_chroot

No disrespect to Mr. Cox but a silly argument stays a silly argument
even if brought forward by Alan. Programs like postfix certainly don't
use chroots for security because they were designed noobs or incompetent
people. Alan acknowledges that "Normal users cannot use chroot()
themselves so they can't use chroot to get back out" but insists on his
point, completely ignoring that doing a chroot() immediately followed by
dropping your root privileges is exactly the recommended way to use it
for security. That's not to say that setting up a vserver for each of
your programs exposed to the net wasn't *more* secure than a chroot if
you want to do it but it's certainly a whole lot more secure if used
properly than not doing it at all.

cheers,
Matthias

-- 
I prefer encrypted and signed messages. KeyID: FAC37665
Fingerprint: 8C16 3F0A A6FC DF0D 19B0  8DEF 48D9 1700 FAC3 7665


pgpO5vRqjdOl0.pgp
Description: PGP signature


Re: [gentoo-user] Is there a way to automate rsync of updated portage tree across multiple boxes without each having to pull it down from a gentoo mirror

2008-09-16 Thread Matthias Bethke
Hi Vaeth,
on Tue, Sep 16, 2008 at 07:54:43PM +0200, you wrote:
> > I don't even see why you'd strictly need connection tracking to avoid
> > attacks made possible by grossly misconfigured ISP routers. Your router
> > knows that packets with a destination address of 10/8, 192.168/16 and
> > the like have absolutely no business on the public internet so the only
> > sensible behavior would be to just drop them.
> 
> This also requires a special kind of router: Namely one which has a
> physical way of distinguishing between the "dangerous" connection to
> the net and your local network (if they are dynamic, this can also
> sometimes be tricked). Of course, combined router/modems have this
> separation practically "by definition".

I can only recall one router where this wasn't the case, my first weird
and wonderful DSL line in the Philippines :D Normally, why bother
routing if you can just physically connect the thwo networks and have
their traffic intermix?

> However, in any case it requires that the functionality you mention is
> implemented on the router and has no bugs and that the router cannot
> be compromised by other means.

Sure, if your router is compromised you're fuxx0red anyway. I was just
saying that in any halfway sane router these NAT problems are not an
issue. And with many routers running Linux today so you can even get a
shell and check iptables... :)

cheers,
Matthias
-- 
I prefer encrypted and signed messages. KeyID: FAC37665
Fingerprint: 8C16 3F0A A6FC DF0D 19B0  8DEF 48D9 1700 FAC3 7665


pgpC3gaCIfo8p.pgp
Description: PGP signature


Re: [gentoo-user] Is there a way to automate rsync of updated portage tree across multiple boxes without each having to pull it down from a gentoo mirror

2008-09-16 Thread Matthias Bethke
Hi Vaeth,
on Tue, Sep 16, 2008 at 07:14:48PM +0200, you wrote:
> > In addition, the default rsyncd configuration with Gentoo uses a chroot
> > jail.
> 
> Also a chroot jail is not a security feature: There are several ways known
> how to break out.

Huh? In the case of NAT it's reasonable to say it's not a security
feature---it's a kludge that happens to increase security somewhat in
the standard case. But there's only one reason I can see why you'd use a
chroot environment *except* for security and that's to have more than
one set of system binaries active at the same time for different
applications. Which is normally a pretty bad kludge in itself (not that
I hadn't done it, to avoid endless library woes on a Debian system that
absolutely must be kept on Woody... :-S), I'd say the vast majority of
chroot jails are there for nothing else but security.

cheers,
Matthias
-- 
I prefer encrypted and signed messages. KeyID: FAC37665
Fingerprint: 8C16 3F0A A6FC DF0D 19B0  8DEF 48D9 1700 FAC3 7665


pgpX7qEZAEROh.pgp
Description: PGP signature


Re: [gentoo-user] Is there a way to automate rsync of updated portage tree across multiple boxes without each having to pull it down from a gentoo mirror

2008-09-16 Thread Matthias Bethke
Hi Neil,
on Tue, Sep 16, 2008 at 04:59:39PM +0100, you wrote:
> > Except that this is not completely true: See some of the many articles
> > in the net which explain why NAT is not a security feature. A quick
> > google search gave e.g.
> > http://www.nexusuk.org/articles/2005/03/12/nat_security/
> 
> "So the router maintains a database of current connections so that traffic
> is always allowed through for them, and you can tell it to filter all new
> connections made from the internet whilest allowing all new connections
> made from inside the local network. This means that noone can make a
> connection from the internet to one of your workstations, even though
> they can route to its address."
> 
> If the relevant ports are not forwarded in the router, this applies and
> no one can make a new connection to your rsync server.

I don't even see why you'd strictly need connection tracking to avoid
attacks made possible by grossly misconfigured ISP routers. Your router
knows that packets with a destination address of 10/8, 192.168/16 and
the like have absolutely no business on the public internet so the only
sensible behavior would be to just drop them.

cheers,
Matthias
-- 
I prefer encrypted and signed messages. KeyID: FAC37665
Fingerprint: 8C16 3F0A A6FC DF0D 19B0  8DEF 48D9 1700 FAC3 7665


pgp79947zvasg.pgp
Description: PGP signature


Re: [gentoo-user] I am a "f*****g retard". Can you help me?

2008-09-16 Thread Matthias Bethke
Hi Vaeth,
on Tue, Sep 16, 2008 at 01:34:31AM +0200, you wrote:
> The problem is that after failing of a package, portage does
> not recalculate the dependencies, i.e. it will attempt to install also
> those packages which depend on the failed package.

OIC, so that was what I missed :) Somehow the thread got split up and I
missed your answer.

> In the presence of a --keep-going option, it is now fortunately not
> necessary anymore to weight the pros and cons. Of course, to insult
> somebody just because he weighted the pros and cons differently is beyond
> any acceptable limit.

++
I'd say "reimplement it properly" (i.e. check the deps) is always the
better approach than "the old implementation is b0rken so let's declare
the functionality so and not reimplement it at all".

cheers,
Matthias
-- 
I prefer encrypted and signed messages. KeyID: FAC37665
Fingerprint: 8C16 3F0A A6FC DF0D 19B0  8DEF 48D9 1700 FAC3 7665


pgpdXEs5w8z7Z.pgp
Description: PGP signature


Re: [gentoo-user] I am a "f*****g retard". Can you help me?

2008-09-16 Thread Matthias Bethke
Hi b.n.,
on Mon, Sep 15, 2008 at 10:26:56PM +0200, you wrote:
> Seriously: can someone more skilled than me explain why using 
> --resume-skipfirst and then trying to solve the unmerged packages is/can be 
> a bad idea? How can this break the system?

Frankly I have no idea. I've heard that argument many times in the
Paludis discussions but never even an attempt at an explanation that
went beyond "it breaks your system". My understanding is that you can
have two kinds of situation if an upgrade fails:
a) the failed package is not a dependency of any other package
b) the failed package is a dependency of at least one other package
In case a) you get to keep the old version, no problem. In case b) the
package that depends on the failed one can
b1) work with the old version
b2) require the upgrade (and say so in the ebuild)
In case b1) things will continue working just fine. In case b2) you'll
get another failed emerge as portage will notice the unmet dependency,
so you get to keep the old version, no problem.

Did I miss anything? Sorry, no flowers today.

cheers,
Matthias
-- 
I prefer encrypted and signed messages. KeyID: FAC37665
Fingerprint: 8C16 3F0A A6FC DF0D 19B0  8DEF 48D9 1700 FAC3 7665


pgp6nMHlYcdp9.pgp
Description: PGP signature


Re: [gentoo-user] Partition schme question

2008-09-03 Thread Matthias Bethke
Hi Alan,
on Wed, Sep 03, 2008 at 02:17:07PM +0200, you wrote:
> However, it does make the most sense to keep fdisk's cylinders in some sort 
> of 
> sequential order, so low numbered cylinders will in all probability end up 
> near one edge and high numbered cylinders at the other edge.
> 
> I strongly suspect that you know this also, and we actually do have the same 
> understanding of how it works :-)

Yes, now I'm pretty sure we do ;)

cheers,
Matthias

-- 
I prefer encrypted and signed messages. KeyID: FAC37665
Fingerprint: 8C16 3F0A A6FC DF0D 19B0  8DEF 48D9 1700 FAC3 7665


pgpsxKnBADWl8.pgp
Description: PGP signature


Re: [gentoo-user] Partition schme question

2008-09-03 Thread Matthias Bethke
Hi Alan,
on Wed, Sep 03, 2008 at 08:57:42AM +0200, you wrote:
> These days the entire concept of a "cylinder" is a mere abstraction to make 
> tools like fdisk work in a sane manner.

Of course not. The disk is physically organized in cylinders, that's the
structure dictated by the mechanical design. That a disk controller is
theoretically free to map cylinders and sectors to whereever it pleases
doesn't mean that there wasn't a direct relationship between cylinder
number and physical location on the platter in the vast majority of
non-broken (i.e. cylinder-remapped) disks. With many HD tests in
magazines you get a cylinder-vs.-transfer-rate plot and it still mostly
matches the old rule. I suppose not even firmware hackers are really
eager to make things more complicated than absolutely necessary :)

cheers,
Matthias

-- 
I prefer encrypted and signed messages. KeyID: FAC37665
Fingerprint: 8C16 3F0A A6FC DF0D 19B0  8DEF 48D9 1700 FAC3 7665


pgpPX11oU6Z07.pgp
Description: PGP signature


Re: [gentoo-user] RAID with mixed drive sizes

2008-09-02 Thread Matthias Bethke
Hi Florian,
on Sat, Aug 30, 2008 at 11:55:14AM +0200, you wrote:
> Hmm, you might be right. Maybe someone should do a field test.

I think we have a candidate here on the list... ;)

cheers,
Matthias
-- 
I prefer encrypted and signed messages. KeyID: FAC37665
Fingerprint: 8C16 3F0A A6FC DF0D 19B0  8DEF 48D9 1700 FAC3 7665


pgp0nVPJOX7m8.pgp
Description: PGP signature


Re: [gentoo-user] package.use update

2008-08-29 Thread Matthias Bethke
Hi Mick,
on Sat, Aug 30, 2008 at 01:51:18AM +0100, you wrote:
> Did you see this today?
> 
> # etc-update 
> [...]
> File: /etc/portage/._cfg_package.use
> [...]
> What is it about?

No, I didn't see it, but it looks like some package moved to another
category or got renamed so portage patched package.use for you. Try
dispatch-config, preferably with vimdiff and perhaps RCS support, it
makes maintaining your config so much easier than etc-update. I can't
remember any case where it wasn't just fine to just accept the changes
though.

cheers,
Matthias

-- 
I prefer encrypted and signed messages. KeyID: FAC37665
Fingerprint: 8C16 3F0A A6FC DF0D 19B0  8DEF 48D9 1700 FAC3 7665


pgpIUtLxhKhUN.pgp
Description: PGP signature


Re: [gentoo-user] RAID with mixed drive sizes

2008-08-29 Thread Matthias Bethke
Hi Florian,
on Wed, Aug 27, 2008 at 10:29:07PM +0200, you wrote:
> Note1: NEVER EVER build some kind of RAID other than "Linear" (also called 
> JBOD) over two IDE disks on the same cable. Performance will suffer greatly 
> as will security because most simple onboard controllers can't handle a 
> dying disk and that one might take the other one with it  into death.

Your suggestions sound reasonable (as reasonable as you get if one
insists on going with the drives that are there instead of getting a
third 500G drive that is :) [and for RAID5 I'd add a cheapish SATA
controller as well]) but I wonder why the above should be better than a
RAID0. The risk is the same---if either disk dies, the partition is
fuct. And considering drive mechanics are still the slowest part of the
system, even two EIDE disks that tend fight for the bus should be a tad
faster when striped than any one alone, which is what you effectively
get in a JBOD, right?

cheers,
Matthias

-- 
I prefer encrypted and signed messages. KeyID: FAC37665
Fingerprint: 8C16 3F0A A6FC DF0D 19B0  8DEF 48D9 1700 FAC3 7665


pgpsEEEAL8173.pgp
Description: PGP signature


Re: [gentoo-user] Gentoo x86 to AMD64

2008-08-22 Thread Matthias Bethke
Hi Anthony,
on Fri, Aug 22, 2008 at 04:01:42PM +0100, you wrote:
>I have two theories about how to go about this.no1, install esx 3i 
> on a spare drive, make a 32bit Linux guest and point it's drives at the raw 
> partitions I have now :) no2, alter make.conf to 64bit flags, and emerge -e 
> world --buildpkgonly then reboot into a 64bit live cd, and emerge -e world 
> --usepkgonly which should give me a working systemObviously the kernel 
> and network drivers would also need rebuilding at this point again
>
>Will no 2 work?

I'm not sure I understood #1 correctly but it sounds like neither will
work. Going 32->64bit (or vice versa) always requires a fresh install.
What I *think* you could do to reduce the hassle of updating all your
configs is to start off with a partition with your 32bit system on it
and use that for the regular Gentoo install procedure, i.e. slap the
tarballs on top and then do all the emerging. But it would certainly
leave some garbage around in /lib etc. so I wouldn't recommend it. If
you didn't actually change the hardware so you don't have to reconfigure
your kernel and stuff, a fresh install using your old world file
shouldn't take more than a day.

cheers,
Matthias
-- 
I prefer encrypted and signed messages. KeyID: FAC37665
Fingerprint: 8C16 3F0A A6FC DF0D 19B0  8DEF 48D9 1700 FAC3 7665


pgpUICGvv1mya.pgp
Description: PGP signature


Re: [gentoo-user] FIXED!! Re: Can't emerge xfce4 with installed lprng. But ran out of inodes. :-(

2008-07-29 Thread Matthias Bethke
Hi Dale,
on Fri, Jul 25, 2008 at 03:44:54PM -0500, you wrote:
> How do you run out of inodes anyway?  I use reiserfs for most partitions 
> except /boot and portage.  My /data partition has 75,000 files and 3,600 
> directories.  No problems so far but not near as many files as you have.

You can adjust the number of inodes to create at mkfs using -i, -N or -T
which are just different ways of doing the same thing. Lowering the
number of inodes wastes less disk space if you know you're not going to
write many files anyway. This feature bit me once when I set up a
-Tlargefile4 partition (i.e. one inode per 4 MiB of disk) for videos. As
it happens, I had to misuse it for backups at some point and was very
puzzled when df showed 3% used space but even "touch" gave me a "no space
left on device" error. tarring the stuff I had planned to just copy
solved it and would prolly have been faster in the first place :)

cheers,
Matthias
-- 
I prefer encrypted and signed messages. KeyID: FAC37665
Fingerprint: 8C16 3F0A A6FC DF0D 19B0  8DEF 48D9 1700 FAC3 7665


pgpvA54BVEYxS.pgp
Description: PGP signature


Re: [gentoo-user] Re: Nvidia GeForce Go 6800 and nvidia-drivers ==> Cannot switch to ttys or close X

2008-03-14 Thread Matthias Bethke
Hi andrea,
on Fri, Mar 14, 2008 at 08:53:53AM +0100, you wrote:
> > I've had big stability problems as well
> > with 169.09-r1 on an el-cheapo GeForce 7300 but 169.12 has been rock
> > solid for about a week now. At the speed any modern chip runs at, I
> > don't feel the need for any framebuffer tricksi any more
> 
> Well, I don't use any login manager, so when I close my X session I'd
> like to be back in a working console.

Do you actually do work there that you can't do while X is running?
Because ye olde VGA should work in any case and it's good enough for
entering "startx" or watching the machine resume from disk ;) 

> I'm guessing if there is alternative driver that gives Nvidia 3D accel,
> (like for ATI I can use radeon instead of fglrx).
> 
> I don't care too much about performance (no desktop 3D effects or
> composite are needed) and I'm not a game player. BTW I'd like to have
> applications requiring 3D (such as googleearth) just working.

AFAIK the open source "nv" driver has only 2D accel, and I haven't been
able to get GLX working with it. I guess it's possible using MESA's
software rendering somehow but as the latest nvidia driver works fine
for me I haven't investigated any further there.

cheers,
Matthias
-- 
I prefer encrypted and signed messages. KeyID: FAC37665
Fingerprint: 8C16 3F0A A6FC DF0D 19B0  8DEF 48D9 1700 FAC3 7665


pgpwATuEz7ks4.pgp
Description: PGP signature


Re: [gentoo-user] Re: Nvidia GeForce Go 6800 and nvidia-drivers ==> Cannot switch to ttys or close X

2008-03-13 Thread Matthias Bethke
Hi 7v5w7go9ub0o,
on Thu, Mar 13, 2008 at 12:09:15PM -0400, you wrote:
> Help, please! I'm thinking of building a new box: asus p5e/intel core2 
> quad. I had thought of getting an NV. Would ATI be the better choice?

As far as I've heard, all proprietary graphics drivers on Linux suck but
NVidia's suck a little less. I've had big stability problems as well
with 169.09-r1 on an el-cheapo GeForce 7300 but 169.12 has been rock
solid for about a week now. At the speed any modern chip runs at, I
don't feel the need for any framebuffer tricksi any more---the console
runs in regular 1980s VGA 80x25 text mode which is fine for the boot
process, after that I use gnome-terminal in fullscreen mode which looks
just like a framebuffer console but with full unicode support and
everything.

cheers,
Matthias
-- 
I prefer encrypted and signed messages. KeyID: FAC37665
Fingerprint: 8C16 3F0A A6FC DF0D 19B0  8DEF 48D9 1700 FAC3 7665


pgpb9viY8caea.pgp
Description: PGP signature


Re: [gentoo-user] Status of Gentoo

2008-03-12 Thread Matthias Bethke
Hi Iain,
on Wed, Mar 12, 2008 at 04:53:40PM +0930, you wrote:
>  I just installed Gentoo on a quad-core dual-cpu Xeon E5420
> (2.50GHz).  8Gb RAM, 800Gb raid.  It's not mine - I've only convinced
> the sysadmin to let me play until it needs to be used for something real
> (what a waste to have those cpu's doing nothing, I thought, so let's
> install Gentoo :)

FSC made a mistake with their price lists for us these weeks, they seem
to have deducted academic institution discount twice---and as they have
to give 30 days notice upon raising prices according to their contract
with university, they couldn't just correct it right away. Guess who got
himself a machine pretty much like that... 

scnr,
Matthias
-- 
I prefer encrypted and signed messages. KeyID: FAC37665
Fingerprint: 8C16 3F0A A6FC DF0D 19B0  8DEF 48D9 1700 FAC3 7665


pgpk88T4GeVHo.pgp
Description: PGP signature


Re: [gentoo-user] The device-mapper init script is written for baselayout-2

2008-03-07 Thread Matthias Bethke
Hi Stroller,
on Fri, Mar 07, 2008 at 12:51:04PM +, you wrote:

>> Since I'm not real sure what this package does, I am unsure if I
>> should just unmerge and re-emerge it (perhaps at one time I ran the
>> ~x86 version and so I have a mixture?)
>
> I'm not sure what this does, either. Someone may come along in a
> moment with better advice, but as a first step I'd `equery b
> /etc/initi.d/device-mapper`. If it says that device-mapper doesn't
> belong to any of your current packages then I think you can safely
> (remove it from the default runlevel and subsequently) delete it,
> otherwise I'd reemerge the package to which it belongs.

Baselayout has a bunch of init scripts and utilities that all the other
init scripts need, plus /etc/conf.d stuff ("equery f baselayout" can
tell you what exactly). You certainly don't want to unmerge that if you
ever plan to reboot your system.
I'm not 100% sure about the device-mapper script but I ran into the same
question when I installed my new amd64 system these days. The x86 one
didn't have it when I started using encrypted homes so I hadn't noticed
it appeared in one of the latest dm-crypt versions. It looks like they
just split off some functionality Baselayout-1 has in localmount and
checkfs into its own script. Just ignore/remove it for now, there will
probably be a fat warning when Baselayout-2 turns stable and you have to
re-add it.

cheers,
Matthias
-- 
I prefer encrypted and signed messages. KeyID: FAC37665
Fingerprint: 8C16 3F0A A6FC DF0D 19B0  8DEF 48D9 1700 FAC3 7665


pgpgWdYUrQfMZ.pgp
Description: PGP signature


Re: [gentoo-user] Ghosting a Ext3 partition

2008-03-05 Thread Matthias Bethke
Hi Mark,
on Tue, Mar 04, 2008 at 05:39:12PM +1300, you wrote:
>> {"Ghost" functionality]
>>   
> I actually think that 'dump' will do what you want... provided you can 
> choose a time when the machine is not busy (should be easy if it's your 
> desktop!). You have to do 1 dump per filesystem, but many desktop 
> installations only consist of / (+ maybe /boot) anyway. Also dump of a 80Gb 
> system that only uses 5Gb will produce a 5Gb image Also it can do 
> incremental an cumulative backups.
>
> Some friends of mine use Amanda to backup their (Redhat/Centos) servers, 
> that may worth looking at too.

Amanda is very versatile but it can be a bitch to configure and is IMHO
only really worth it for larger installations with at least more than
one machine and preferably a backup server. But it can also use dump(1)
internally. I didn't really follow the thread but it seems dump has a
problem with busy file systems? I used amanda with dump on several
machines for a few years and never had any so it should be fine for a
desktop.
One method I used for getting the image size down (but which is no good
on a live system) was to use "dd if=/dev/zero of=dummy bs=1M" to quicky
write a file of zeroes that would fill up all free blocks, then dd the
whole partition through gzip that would just compress away the free
blocks. Works fine for install images but only when the disk is not
mounted r/w during imaging.

cheers,
Matthias
-- 
I prefer encrypted and signed messages. KeyID: FAC37665
Fingerprint: 8C16 3F0A A6FC DF0D 19B0  8DEF 48D9 1700 FAC3 7665


pgpBvicFEwTCR.pgp
Description: PGP signature


Re: [gentoo-user] (OT) Freezing: does encryption become useless?

2008-02-26 Thread Matthias Bethke
Hi Volker,
on Sat, Feb 23, 2008 at 10:15:22PM +0100, you wrote:
> > http://iht.com/articles/2008/02/22/technology/chip.php
> 
> don't panic. Just because something works in a lab, does not mean that it 
> works outside of it too. So they were able to freeze some ram and get some 
> information of it. So what? First of all - how man times will someone be able 
> to steal a computer and freeze its ram seconds after it was shut of? Who 
> guarantees that the decayed parts are not the ones holding the key? even a 
> couple of flipped bits make the data useless. And who guarantees that the 
> dram survives the forces when it is cooled down in tens of seconds and heated 
> up (through the current) afterwards?

I agree with the "don't panic" part but not your reasons for it. There
is a real danger for *some* of us but it's fairly easy to circumvent for
most.
How often will someone be able to steal a computer with live key
material in RAM? Well, how many laptops are being carried around
suspended to RAM? A pretty large percentage of them I suppose. So far,
if you didn't have a screen saver with an exploitable buffer overflow
(very very unlikely) or an unprotected IEEE1394 port (unlikely on Linux
today) the attacker's only chance to get at the data was to cut the
power, boot some other media and attack the disk, and with AES or
similar encryption that chance was not very good. Now you can leave the
power on, dump a can of cooling spray on the SO-DIMM (they easily
survive that, you can take your time with the power on), then take it
out, drop it in liquid N and take it home (you could do that before of
course, but it's widely know now ;)
And a couple of flipped bits are no obstacle at all for a cryptoanalyst.
A computer that can brute-force 10^11 keys a second needs an average of
~5*10^19 years to crack a 128 bit key. With 8 random flipped bits in an
otherwise intact key it should come down to less than five days which I
think is a pretty good gain. Makes it viable for people who might just
be after some blueprints[0], not just the NSA with super duper UFO
technology.
So if you have sensitive data on a laptop, make sure you don't leave it
in suspend-to-RAM where it could be stolen. If it's a stationary
unsupervised machine it should have a good chassis intrusion alarm that
cuts the power and/or overwrites memory. That's pretty much what people
can do on their own nowif they think it's worth it of course.

cheers,
Matthias

[0] That's not to say this couldn't be a Good Thing in the end what
with all the patent BS going on.
-- 
I prefer encrypted and signed messages. KeyID: FAC37665
Fingerprint: 8C16 3F0A A6FC DF0D 19B0  8DEF 48D9 1700 FAC3 7665


pgpeUEdX3mU0D.pgp
Description: PGP signature


Re: [gentoo-user] Re: [OT]advice for a wireless router

2007-10-29 Thread Matthias Bethke
Hi Dan,
on Sunday, 2007-10-28 at 18:30:17, you wrote:
> Of course you can build a low-power system and probably get by without
> any fans at all if you're clever, and if you outsource the hard drive
> to another computer you get a fairly low power design that's silent.
> 
> But not nearly as low power as an integrated device.  
> 
> Or as small.  

The one that probably comes closest is a VIA Cx system. I got a Cobalt
Cube a while ago to replace my current guzzler of a server (old HPPA
workstation) and to experiment with other unusual CPUs a bit, and while
it's pretty, small, low-power and rather quiet, it's also quite slow. So
I've just ordered a passively cooled 800 MHz VIA C7 nanoITX board to
replace the MIPS hardware in there and get something that can handle HD
encryption and Samba at a decent speed on top of the routing. The plan
is to build the syatem on HD and move it to a CF card later so I can
spin down the big HD when it's not in use. If it works out it will be a
damn neat system, but anyway it's still four times the size of a WRT54
and consumes twice the power. That's the most powerful chip I've found
in the 20-30 watts-per-system range though, all the recycled stuff I've
run so far doesn't even come close.

cheers,
Matthias
-- 
I prefer encrypted and signed messages. KeyID: FAC37665
Fingerprint: 8C16 3F0A A6FC DF0D 19B0  8DEF 48D9 1700 FAC3 7665


pgpXEjrI4nVT6.pgp
Description: PGP signature


Re: [gentoo-user] Backups

2007-10-03 Thread Matthias Bethke
Hi Grant,
on Saturday, 2007-09-29 at 16:28:36, you wrote:
> Do you back up hidden files and directories in the home directory?
> There seems to be a lot of junk in there.  Does something like
> '--exclude "/home/user/.*"' work with tar?

It certainly does, but I'm quite sure it's not what you want. For me at
least losing all my carefully customized stuff in .mutt, .gnupg,
.bashrc, .vim etc. would suck asinine reproductive glands.
It's usually all text anyway that compresses very well.

cheers,
Matthias
-- 
I prefer encrypted and signed messages. KeyID: FAC37665
Fingerprint: 8C16 3F0A A6FC DF0D 19B0  8DEF 48D9 1700 FAC3 7665


pgpGkHKAShE1p.pgp
Description: PGP signature


Re: [gentoo-user] set xdm to start after agetty

2007-10-03 Thread Matthias Bethke
Hi Thanasis,
on Friday, 2007-09-28 at 22:41:52, you wrote:
> How can we set the xdm/gdm not to start before the agetty processes 
> (during the boot phase)?

Have a look at the depend() function in /etc/init.d/xdm. It specifies
what should be started before xdm, so adding agetty to an "after" line
in this function should do it.

cheers,
Matthias
-- 
I prefer encrypted and signed messages. KeyID: FAC37665
Fingerprint: 8C16 3F0A A6FC DF0D 19B0  8DEF 48D9 1700 FAC3 7665


pgpVebALK5VQz.pgp
Description: PGP signature


Re: [gentoo-user] NFS vs. jumbo frames

2007-04-30 Thread Matthias Bethke
On Tuesday, 2007-04-24 at 15:38:12, I wrote:
> I have googled for quite a while but can't find a thing.
> Anyone here using NFS and GigE+jumbo frames with Gentoo?

Just to follow up for the archives' sake: this seems to be an old and
frustrating problem, I've run into a few messages dating back to 2002 of
people with similar problems. Like here:
http://lists.us.dell.com/pipermail/linux-poweredge/2002-December/005568.html
and a more recent one on Sun hardware:
http://www.opensolaris.org/jive/thread.jspa?messageID=74750

I've switched back to MTU 1500 for now and if I find the time I'll ask
for news on this on some kernel list.

cheers!
  Matthias
-- 
I prefer encrypted and signed messages. KeyID: FAC37665
Fingerprint: 8C16 3F0A A6FC DF0D 19B0  8DEF 48D9 1700 FAC3 7665


pgplWDFOWQBJq.pgp
Description: PGP signature


Re: [gentoo-user] file sorting in nautilus

2007-04-30 Thread Matthias Bethke
Hi Boyd,
on Friday, 2007-04-27 at 02:09:18, you wrote:
> Adjust your LC_ALL, LC_COLLATE, and/or LANG environment variables.  (At 
> least, 
> Nautilus /should/ respect those.)  You might have to do something like:
> LC_ALL="POSIX" nautilus
> >from a xterm-like application.

Usually the collation order should be the same on the shell and in
nautilus, right? I think it's really some of what the Gnome folks think
was clever in that case---nautilus also completely ignores certain name
prefixes like "+" and "_" I put there to have the entries sorted on top.
Fortunately, Thunar does no such tricks.

> You can use
> env | grep ^L
> >from a new xterm-like seesion to see what nautilus "sees" by default.

Or "locale" :)

BTW, your signature did not validate on this post. Do you have
"no-escape-from-lines" enabled? Then the last line above would have been
the reason.

cheers!
  Matthias
-- 
I prefer encrypted and signed messages. KeyID: FAC37665
Fingerprint: 8C16 3F0A A6FC DF0D 19B0  8DEF 48D9 1700 FAC3 7665


pgpNHsqQSRS4d.pgp
Description: PGP signature


Re: [gentoo-user] Re: NFS vs. jumbo frames

2007-04-24 Thread Matthias Bethke
Hi Francesco,
on Monday, 2007-04-23 at 21:58:18, you wrote:
> Based on my experience I would add to verify also the upper MTU value 
> really supported.

According to Documentation/networking/e1000.txt, the adapters should all
support 16K frames. The limiting factor would be the switch's 9K limit,
but I've stayed below that as well.

cheers!
Matthias
-- 
I prefer encrypted and signed messages. KeyID: FAC37665
Fingerprint: 8C16 3F0A A6FC DF0D 19B0  8DEF 48D9 1700 FAC3 7665


pgptGqJm9zDOA.pgp
Description: PGP signature


Re: [gentoo-user] NFS vs. jumbo frames

2007-04-24 Thread Matthias Bethke
Hi kashani,
on Monday, 2007-04-23 at 11:11:40, you wrote:
> >It sounds like Gigabit Ethernet to me.

Yes, that's it.

> Keep in mind that not all fastE or gigE switches support jumbo frames. 
> Additionally not all cards support jumbo frames either though you can 
> certainly set them to an MTU of 9000 and watch things break.

I had that problem before with the Server's onboard Broadcom chip;
fortunately it just breaks completely when you up the MTU :) Now I
installed an Intel 82545GM card that officially supports jumbo frames
and that I haven't heard anyone complain about. The clients all have the
same 82547EI onboard chip.

> To the original poster, I'd do some googling and verify that all the 
> network cards and switches involved can do jumbo frames and that it is 
> enabled on each device as needed.

Check. The switches are HP ProCurve 2824 supporting up to 9216 bytes per
frame, and I checked the config several times. Jumbo frames are enabled
on all ports, and it's a rather basic config anyway, no VLANs 'n stuff,
no voice LAN features, just switching. And for everything else but NFS
locking it does work fine. A plain netcat from /dev/zero to /dev/null
goes from some 35 MB/s at an MTU of 1500 to over 80, ssh does very well,
and even NFS file operations other than locking work. 
I have googled for quite a while but can't find a thing.
Anyone here using NFS and GigE+jumbo frames with Gentoo?

cheers!
Matthias
-- 
I prefer encrypted and signed messages. KeyID: FAC37665
Fingerprint: 8C16 3F0A A6FC DF0D 19B0  8DEF 48D9 1700 FAC3 7665


pgpMKwDcMvlIA.pgp
Description: PGP signature


[gentoo-user] NFS vs. jumbo frames

2007-04-23 Thread Matthias Bethke
I've been fiddling with this for some days and can't but assume it's a
bug in one of the Gentoo patches to either the kernel or NFS tools:
Basically, NFS locking breaks as soon as I enable jumbo frames on both
server and client.
  touch foobar
  flock foobar ls
works fine in my NFS-mounted home with an MTU of 1500. An MTU of 9000 is
great for general net throughput so I wanted to use it on both the
server and the clients, but the above sequence hangs indefinitely when I
try. I'm aware flock() isn't supposed to work correctly with NFS anyway,
but all kinds of stuff depends on it at least pretending to.
The strange thing is, SuSE 10.1 as a client works fine with jumbo
frames, just my Gentoo box doesn't. I tried enabling nfs_debug with
sysctl and sniffing the wire with tcpdump and wireshark but with my
pretty basic knowledge of NFS workings I didn't spot anything
conspicuous other than that
  lookup(msbethke/foobar)
  nfs_update_inode(0:18/3424742 ct=1 info=0x6)
  nfs_fhget(0:18/1081970 ct=1)
  permission(0:18/1081970), mask=0x4, res=0 
seems to be the exchange after which the hang occurs.
Our server is running 2.6.18-hardened-r6 and nfs-utils-1.0.12. The
clients are mostly SuSE 10.1 boxes with kernel 2.6.16.21-0.21-smp and
nfs-utils-1.0.7-36 while my workstation has 2.6.20-gentoo-r6 (was
linux-2.6.19-gentoo-r5 before) and the same ns-utils as the server.

-- 
I prefer encrypted and signed messages. KeyID: FAC37665
Fingerprint: 8C16  3F0m A6FC DF0D 19B0  8DEF 48D9 1700 FAC3 7665


pgpVv5f4MJwd6.pgp
Description: PGP signature


Re: [gentoo-user] Beagle eating up Resources!! (BEagled-index-helper)

2007-02-28 Thread Matthias Bethke
Hi Ow,
on Tuesday, 2007-02-27 at 18:09:13, you wrote:
> Does anyone here knows if beagle really sucks up resources?? I just
> emerged it a week ago and I'm getting very pissed off at it as it's
> using a lot of resources. The laptop doesn't get much idle time.

I was under the impression that this was its raison d'être...?
An Apache project perpetr^Wported to .NET can't be anything but a
resource hog. It looked pretty interesting when they included it with
the SuSE we use @work so it got installed on a few boxes, but seeing
what it did to these 2800 MHz P4s put it on top of the list of things to
be disabled before rollout.

cheers!
Matthias
-- 
I prefer encrypted and signed messages. KeyID: FAC37665
Fingerprint: 8C16 3F0A A6FC DF0D 19B0  8DEF 48D9 1700 FAC3 7665


pgpP5NZp5Jcza.pgp
Description: PGP signature


Re: [gentoo-user] Performance problem at writing big files and Multitasking

2007-02-26 Thread Matthias Bethke
Hi Daniel,
on Saturday, 2007-02-10 at 12:49:14, you wrote:
> I will give short overview what i have tried so far.
> 
> 1. Trying different I/O Scheduler ( cfq anticipatory and deadline)
> 2. Enabling Low latency kernel and Preemptible kernel
> 3. Setting 1000 HZ for timer frequency
> 4. Tried the new kernel 2.6.19-gentoo-r6 and even the testing version
> 2.6.20-gentoo with core 2 enabled in processor type

Oh, so it is a multicore CPU---sorry if you mentioned it already, I
had deleted the start of the thread already when I read Benno's advice.
In that case, try 100 Hz scheduling period as well. I've had very bad
experiences with I/O and 250 Hz or higher on a dual Xeon. My guess is
that it was a cache effect and therefore shouldn't happen on the
Core2Duo, but it might still be worth a try.

> As i am using Xfce i installed the diskperf-plugin which monitors disk
> I/O. The monitoring is divided in disk-read and disk-write.
> I recognized that every time when reading stops writing starts. So is
> this staggering of writing to disk normal as the programs have to read
> data they want to write to disk? On my previous machine i didn't
> recognize such a behaviour.

So you're reading and writing from/to the same disk? I'd expect that
behavior then, because the I/O scheduler tries to satisfy requests with
as little thrashing as possible. So if there are enough write requests
queued up it may keep the HD busy writing for a while before reading the
next chunk from somewhere else.

cheers!
Matthias
-- 
I prefer encrypted and signed messages. KeyID: FAC37665
Fingerprint: 8C16 3F0A A6FC DF0D 19B0  8DEF 48D9 1700 FAC3 7665


pgp1cmbiVv67p.pgp
Description: PGP signature


Re: [gentoo-user] Hard Drive Crash - Please Help

2007-01-28 Thread Matthias Bethke
Hi Grant,
on Saturday, 2007-01-27 at 09:34:47, you wrote:
> The thing I'm confused about is how I can get anything back to the
> laptop when it won't even have an OS on it.  I could boot a LiveCD but
> I don't think I'll be able to connect to the wireless network.

Hum...that's pretty much a show stopper. In that case, setting up a
wired network (if they have wlan, these machines would have wired lan as
well, no?) or buying that 2.5" IDE adapter is probably the least hassle.

cheers!
Matthias
-- 
I prefer encrypted and signed messages. KeyID: FAC37665
Fingerprint: 8C16 3F0A A6FC DF0D 19B0  8DEF 48D9 1700 FAC3 7665


pgpvLs5zulXqZ.pgp
Description: PGP signature


Re: [gentoo-user] Xgl and direct rendering or 'Would you like Xorg or Xgl, sir?'

2007-01-27 Thread Matthias Bethke
Hi Jan,
on Saturday, 2007-01-27 at 15:06:32, you wrote:
> I've begun this thread because of my difficulties with running some
> OpenGL applications, e.g. Americas Army, on my Xgl.

I reckon most in America's army would love to have your problems.

SCNR! =^>
Matthias
-- 
I prefer encrypted and signed messages. KeyID: FAC37665
Fingerprint: 8C16 3F0A A6FC DF0D 19B0  8DEF 48D9 1700 FAC3 7665


pgpPWJochKN5M.pgp
Description: PGP signature


Re: [gentoo-user] Hard Drive Crash - Please Help

2007-01-26 Thread Matthias Bethke
Hi Grant,
on Friday, 2007-01-26 at 09:47:51, you wrote:
> My laptop is currently still copying everything to my desktop system
> via tar and ssh.

That's good. dd would be easier on the HD in case it's breaking but if you have 
a filesystem
error you'd still have to fix that after copying back. If the HD is not
about to die, tar (or rsync as Neil mentioned) is much better.

> When I ran rc this morning, I saw that ssh started so it must have
> stopped some time overnight as it usually does.  The laptop was still
> running the tar | ssh command I had started the night before.  Could
> the desktop be missing some of the laptop's data since the desktop
> wasn't running ssh all night, or would it "catch up" now that ssh is
> running?

If the connection didn't break on the laptop side (ssh|tar reporting a
broken pipe), you should be fine.

cheers!
Matthias
-- 
I prefer encrypted and signed messages. KeyID: FAC37665
Fingerprint: 8C16 3F0A A6FC DF0D 19B0  8DEF 48D9 1700 FAC3 7665


pgpTrJ4JAcT3V.pgp
Description: PGP signature


Re: [gentoo-user] Hard Drive Crash - Please Help

2007-01-25 Thread Matthias Bethke
Hi Grant,
on Thursday, 2007-01-25 at 08:20:37, you wrote:
> I successfully wrote an iso of some important files after booting up
> normally (minus hald, X, and vi) so that's good.  Is there a utility I
> can run on the disk to see if there is permanent damage?  Should I try
> re-emerging packages that are having trouble or should I try to emerge
> -e world?

As Thomas said, use the manufacturer's tools. Maybe smartmontools if
you don't have anything more specialized.

> I suppose I should see if I can write and burn iso's of everything in
> /home/grant/ right away.  Is there a good way to get a bunch of data
> into multiple iso's that are each no larger than 650MB?  Also, I've
> read man mkisofs and experimented before with trying to preserve
> filenames perfectly but it never comes out quite right.  Can anyone
> recommend mkisofs options for preserving filenames perfectly?

I'd recommend trying it over a network or USB/IEEE1394 to another disk
if at all possible. If the HD is dying anyway, writing ISOs to it while
reading many files from another region of the disk at the same time will
kill it very quickly. Same thing with a damaged file system: the more
you write, the greater the damage. I'd try to connect an external HD or
export a partition on some machine on the net, mount the partition
read-only and back it up using tar. Then it's at least reformat/restore
if not swap HD/format/restore.

good luck!
Matthias
-- 
I prefer encrypted and signed messages. KeyID: FAC37665
Fingerprint: 8C16 3F0A A6FC DF0D 19B0  8DEF 48D9 1700 FAC3 7665


pgpnMX5166Ika.pgp
Description: PGP signature


Re: [gentoo-user] [OT] recommend clean monospaced condensed TTF

2007-01-24 Thread Matthias Bethke
Hi Alan,
on Wednesday, 2007-01-17 at 11:11:29, you wrote:
> I prefer Bitstream Vera Mono for this (or DejaVu which is a fork of the 
> same font). It looks good at small sizes down to 7 and I can easily 
> tell the difference between i,I,1,l and 0,O. It has an actual bold font 
> variant so there's none of that double-print-one-pixel to the right 
> nonsense which looks awful.

Agree, that's two very important features. There is a pretty good
overview of some monospace fonts, most with screenshots:
http://www.lowing.org/fonts/

cheers,
Matthias
-- 
I prefer encrypted and signed messages. KeyID: FAC37665
Fingerprint: 8C16 3F0A A6FC DF0D 19B0  8DEF 48D9 1700 FAC3 7665


pgpyt87X49OBL.pgp
Description: PGP signature


Re: [gentoo-user] UTF-8 troubles

2006-12-06 Thread Matthias Bethke
Hi Bo,
on Saturday, 2006-12-02 at 06:48:51, you wrote:
> > I switched a few systems to all-UTF-8 a while ago, and while it's
> > generally a big improvement, a few apps are playing up.
> 
> There's a nice guide [1] in case you haven't noticed.

Yup, I largely folloed it in my transition.

> > Pretty common apps that is, most notably tin and centericq, so I think it's
> > probably my problem.
> [SNIP]
> 
> I don't know anything about tin bug for centericq there's bug #138740 [2]. 
> I'm 
> not sure the unicode support in centericq is flawless though. Otherwise I 
> would suggest looking for alternatives with better unicode support.

OK, in centericq's case it seems to be the program's fault, I was just
wondering because the errors are so similar that it might be an ncurses
problem. Well, I'll just try slrn...
Thanks!
Matthias
-- 
I prefer encrypted and signed messages. KeyID: FAC37665
Fingerprint: 8C16 3F0A A6FC DF0D 19B0  8DEF 48D9 1700 FAC3 7665


pgpvAytXoxBlF.pgp
Description: PGP signature


[gentoo-user] UTF-8 troubles

2006-11-30 Thread Matthias Bethke
I switched a few systems to all-UTF-8 a while ago, and while it's
generally a big improvement, a few apps are playing up. Pretty common
apps that is, most notably tin and centericq, so I think it's probably
my problem.
Thing is, tin seems to decode messages correctly and tries to show
umlauts. However, I only see the lowercase ä, ö and ü; the uppercase
versions and the German "sharp s" (ß) are garbled. The latter for
example is displayed as a diamond with a question mark inside
(supposedly indicating "invalid UTF sequence") followed by "~_" (0x7e
0x5f---the correct UTF-8 sequence is 0xc3 0x9f). Centericq is similar; I
see all umlauts I type in the input area as two question marks, but the
lowercase ones get transmitted correctly and I can read others'
lowercase umlauts. No capitals, no ß either.
The only distinction I could make out between the sets of characters that
are displayed correctly and those that aren't is that the latter contain
UTF-8 bytes that would not be printable when interpreted as ISO-8859-x,
so my hypothesis is that something in-between the app's text output and
the terminal eats bytes unless they're deemed "printable". 
The affected programs all seem to use ncurses. I couldn't find anything
in terminfo that could be causing this, but then I don't have much of a
clue about terminfo in the first place. Google doesn't seem to hvae
heard of the problem. Any ideas where I could look?

cheers!
Matthias
-- 
I prefer encrypted and signed messages. KeyID: FAC37665
Fingerprint: 8C16 3F0A A6FC DF0D 19B0  8DEF 48D9 1700 FAC3 7665


pgpjIiUL6vMu5.pgp
Description: PGP signature


Re: [gentoo-user] browser advice

2006-11-30 Thread Matthias Bethke
Hi Jorge,
on Wednesday, 2006-11-29 at 21:00:06, you wrote:
> I'm about to dump Firefox, because I can't google in English. The thing
> doesn't let me choose the language, and I'm tired of getting useless
> Brazilian links. Yes, I know about the settings, I already deleted the
> google.pt cookie, but it's no use. I don't know, nor care, whose fault
> it is (Google's, firefox's or mine, for not having telepathic gifts), I
> just won't let anyone choose for me.

Are you sure you aren't being sent to the Portuguese version because
Google finds your IP is in Portugual and redirects you to where it
thinks you want to go? I've seen this in .de, .br and .ph, so I presume
it's the same in other countries.
I also don't want the national versions so I go directly to
http://www.google.com/advanced_search
where the redirection doesn't happen. Works fine in any browser here.

cheers!
Matthias
-- 
I prefer encrypted and signed messages. KeyID: FAC37665
Fingerprint: 8C16 3F0A A6FC DF0D 19B0  8DEF 48D9 1700 FAC3 7665


pgpLJBASwqkrL.pgp
Description: PGP signature


Re: [gentoo-user] Corrupt xD card with photos

2006-09-28 Thread Matthias Bethke
Hi Mick,
on Monday, 2006-09-25 at 22:54:49, you wrote:
> I must be doing something wrong:
> 
> $ ./recoverpics
> ./recoverpics: line 1: /bin: is a directory
> ./recoverpics: line 2: /bin: is a directory
> ./recoverpics: line 3: syntax error near unexpected token `('
> ./recoverpics: line 3: ` * Copyright (C) 2004 Matthias Bethke 
> <[EMAIL PROTECTED]>'
> 
> 
> Is that the expected output?

No, not really. Looks like you're starting the source or something?
Here's how it's supposed to look:
| [EMAIL PROTECTED] ~ $ tar -jxvvf recoverpics-1.6.tar.bz2
| -rw-r- mb/users  13294 2004-02-28 07:08:36 recoverpics/recoverpics.c
| drwxr-x---  Creating directory: recoverpics
| -rwxr-xr-x mb/users542 2004-02-27 16:13:03 recoverpics/checkpics.sh
| -rw-r- mb/users140 2004-02-27 16:10:04 recoverpics/Makefile
| [EMAIL PROTECTED] ~ $ cd recoverpics/
| [EMAIL PROTECTED] ~/recoverpics $ make
| cc -O2 -finline-functions -D_LARGEFILE64_SOURCE=1 -D_FILE_OFFSET_BITS=64
| recoverpics.c -orecoverpics
| strip recoverpics
| [EMAIL PROTECTED] ~/recoverpics $ ./recoverpics
| Usage: recoverpics  [offset] [max-output-size]

Then you should be able to run it as "./recoverpics /dev/sda" or
something.

good luck :)
Matthias

-- 
I prefer encrypted and signed messages. KeyID: FAC37665
Fingerprint: 8C16 3F0A A6FC DF0D 19B0  8DEF 48D9 1700 FAC3 7665


pgpS9N9gKnFxI.pgp
Description: PGP signature


Re: [gentoo-user] Corrupt xD card with photos

2006-09-25 Thread Matthias Bethke
Hi Mick,
on Monday, 2006-09-11 at 22:50:01, you wrote:
> Thanks Matthias,
> 
> How do I install it manually?  install tells me:
> 
> # install
> install: missing file operand

Ow, sorry, I missed your reply before!
Well, simple, you don't :) This is a very primitive program and the
Makefile is just there so you don't have to set any CFLAGS (such as
-D_LARGEFILE64_SOURCE) by hand. You run make, it compiles the single
source file and leaves an executable there which you can move whereever
you want it. Or run it directly, as hopefully you won't need it too
often.

cheers!
Matthias
-- 
I prefer encrypted and signed messages. KeyID: FAC37665
Fingerprint: 8C16 3F0A A6FC DF0D 19B0  8DEF 48D9 1700 FAC3 7665


pgpMbbcBM1aax.pgp
Description: PGP signature


Re: [gentoo-user] Corrupt xD card with photos

2006-09-11 Thread Matthias Bethke
Hi Mick,
on Monday, 2006-09-11 at 19:50:05, you wrote:
> Is there a Linux (or even M$Windoze?) way of me recovering the last photo, 
> that doesn't involve reconstructing raw data with a hexeditor?

I had the honor of being tasked by my wife with recovering photos from
the amorphous blob of data left over after some virus persuaded her
Windoze that it was a good idea to dump its memory all over the NTFS
root block. "recoverpics" finds pretty much every JFIF picture that is
in one piece, i.e. not in a fragmented file, no matter what the file
system. At 5k source it could be worth a try:
https://www.linguistik.uni-erlangen.de/~msbethke/software.html

HTH,
  Matthias
-- 
I prefer encrypted and signed messages. KeyID: FAC37665
Fingerprint: 8C16 3F0A A6FC DF0D 19B0  8DEF 48D9 1700 FAC3 7665


pgpUjNsRxrx0j.pgp
Description: PGP signature


Re: [gentoo-user] Remerge the system with gcc-4.1?

2006-09-11 Thread Matthias Bethke
Hi michael,
on Friday, 2006-09-08 at 08:44:05, you wrote:
> I hope my experience is better than yours. I'm in the middle of this process
> on a live system, been building since Monday (it's an old 600MHz box)

I just upgraded one Pentium-M laptop; went fine save for a few hitches
like Richard mentioned, packages such as Glame that won't work with gcc4
in the stable version.
My own laptop which I'm writing this on is just working on the upgrade
and it's looking fine, should be done by tomorrow. And this morning I
started the upgrade on a 132 MHz HPPA machine---it's still at 15% of the
system compile but working flawlessly, hope it will be ready before the
weekend ;-)

cheers!
  Matthias

-- 
I prefer encrypted and signed messages. KeyID: FAC37665
Fingerprint: 8C16 3F0A A6FC DF0D 19B0  8DEF 48D9 1700 FAC3 7665


pgpYp4WP3iZRJ.pgp
Description: PGP signature


Re: [gentoo-user] Best choice for a dual core

2006-07-28 Thread Matthias Bethke
Hi Alexander,
on Thursday, 2006-07-27 at 15:10:00, you wrote:
> If not, then you won't use those advantages either. Somebody correct
> me, but if you want to WORK with this machine (ie. not fiddle), I'd
> suggest to stay 32bit. Or what advantages would 64bit provide?

Depends a lot on the code[tm]. Some things benefit a lot from a decent
number of registers. OTOH, fiddling with pointers in memory slows things
down as compared to 32bit.

cheers!
  Matthias
-- 
I prefer encrypted and signed messages. KeyID: FAC37665
Fingerprint: 8C16 3F0A A6FC DF0D 19B0  8DEF 48D9 1700 FAC3 7665


pgpUIRU49hHlU.pgp
Description: PGP signature


Re: [gentoo-user] [OT] Backup schemes involving Win XP stored to linux

2006-07-25 Thread Matthias Bethke
Hi reader,
on Tuesday, 2006-07-25 at 00:03:45, you wrote:
> Three or more windows XP boxes that are devoted primarily to editing
> video or graphics in one way or another.  The stuff needing backup can
> be in really big files but also lots of normal sized still images etc.
> 
> I'm planning to use rsnapshot/rsync to back up the NTFS windows disks
> to a gentoo box with internal discs with the needed capacity.

If the copying is only for backup, you could use amanda and Samba for
the job. I've only done it with a single XP crate but it worked
flawlessly and has the advantage of allowing backups to devices smaller
than the backupee's disks, or even smaller than individual files, in
case they should be \LARGE.

cheers!
Matthias
-- 
I prefer encrypted and signed messages. KeyID: FAC37665
Fingerprint: 8C16 3F0A A6FC DF0D 19B0  8DEF 48D9 1700 FAC3 7665


pgp23RPUj4VTA.pgp
Description: PGP signature


Re: [gentoo-user] interconnecting speeds

2006-07-25 Thread Matthias Bethke
Hi Paul,
on Tuesday, 2006-07-25 at 10:45:31, you wrote:
> My gentoo box is set ok using ethtool. How do I check the setting on the 
> windows xp box?

If the connection has a tray icon, double-clicking that should bring up
an info dialog that has the link speed somewhere. Otherwise you'll have
to click you way through control panel->network->blah, I don't know
exactly...Windoze config is a maze of twisty little passages, all alike.
Another thing: check the Linux side with ifconfig, it gives some
statistics on errors, dropped packets and overruns next to RX and TX
packet counts. Those should be zero, or at most pretty small numbers. If
they are not, your cables and/or switch are flaky.

HTH
Matthias
-- 
I prefer encrypted and signed messages. KeyID: FAC37665
Fingerprint: 8C16 3F0A A6FC DF0D 19B0  8DEF 48D9 1700 FAC3 7665


pgpOQDccvVphk.pgp
Description: PGP signature


Re: [gentoo-user] chroot: cannot run command `/bin/bash'

2006-07-22 Thread Matthias Bethke
Hi oskar,
on Saturday, 2006-07-22 at 13:45:01, you wrote:
> chroot: cannot run command `/bin/bash': No such file or directory
> 
> of course file is present, executable, and I'm doing it as su...

You should be fine if ou follow William's instructions. The reason for
this is the error the linker returns to execve(2):
| ENOENT The file filename or a script or ELF interpreter does not
|exist, or a shared library needed for file  or  inter-
|preter cannot be found.

cheers!
Matthias

-- 
I prefer encrypted and signed messages. KeyID: FAC37665
Fingerprint: 8C16 3F0A A6FC DF0D 19B0  8DEF 48D9 1700 FAC3 7665


pgp0WRxjmucrQ.pgp
Description: PGP signature


Re: [gentoo-user] Sun SparcStation 5 (Gentoo LiveCD)

2006-07-13 Thread Matthias Bethke
Hi Grzegorz,
on Saturday, 2006-07-08 at 07:57:07, you wrote:
> I decided to set up GenToo linux on Sun SparcStation 5. Since this
> computer is quite old (32 bit architecture, 170MHz CPU) I need a bit
> older version of Getoo (I do not think that this old hardware is
> supported by new versions).

I wouldn't assume that. The kernel supports loads of stoneage PC
hardware so I'd think in the SPARC world with its longer HW cycles that
shouldn't be a problem either. I recently used the latest Gentoo install
CD (2006/0 IIRC) on an HPPA crate from around '94, no problems.

cheers!
Matthias
-- 
I prefer encrypted and signed messages. KeyID: FAC37665
Fingerprint: 8C16 3F0A A6FC DF0D 19B0  8DEF 48D9 1700 FAC3 7665


pgplfesgmZVyq.pgp
Description: PGP signature


[gentoo-user] CUPS, HPLIP and BEH: solved?

2006-06-26 Thread Matthias Bethke
I just posted this on linuxprinting.foomatic.devel, but I guess some
here might have the same problem, namely that the HPLIP printer
drivers fail when combined with CUPS' Backend Error Handler:


To fully utilize the capabilities of our HP LaserJets I recently
installed HPLIP and was quite pissed off at the fact that it doesn't
work with BEH---I had almost forgotten how much work BEH had saved me
killing users' stuck print jobs and manually restarting the printer in
CUPS. So I started digging in the HPLIP sources today and got it working
with a trivial patch:

# diff /usr/share/hplip/base/device.py.orig
# /usr/share/hplip/base/device.py
47c47
< pat_deviceuri = 
re.compile(r"""(.*?):/(.*?)/(\S*?)\?(?:serial=(\S*)|device=(\S*)|ip=(\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}[^&]*))(?:&port=(\d))?""",
 re.IGNORECASE)
---
> pat_deviceuri = 
> re.compile(r"""(.*):/(.*?)/(\S*?)\?(?:serial=(\S*)|device=(\S*)|ip=(\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}[^&]*))(?:&port=(\d))?""",
>  re.IGNORECASE)

I.e. I just removed the first question mark in the RE to make it greedy
again. Now it seems to work fine with my printers.conf:
DeviceURI beh:/1/3/120/cupspykota:hp:/net/HP_LaserJet_4100_Series?ip=12.34.56.78

This hasn't been tested extensively yet so I may be missing something
and the patch might break more that it fixes on other configs, but maybe
some of you would like to give it a try. Comments welcome.

cheers!
Matthias
-- 
I prefer encrypted and signed messages. KeyID: FAC37665
Fingerprint: 8C16 3F0A A6FC DF0D 19B0  8DEF 48D9 1700 FAC3 7665


pgp6eOP0xKts0.pgp
Description: PGP signature


Re: [gentoo-user] Finding packages which provide a file

2006-05-31 Thread Matthias Bethke
Hi Daniel,
on Friday, 2006-05-26 at 19:54:11, you wrote:
> http://www.rommel.stw.uni-erlangen.de/~fejf/pfs/

Oh, that's two streets away from here :) Looks like a project I'd want
to participate in...

cheers!
Matthias

-- 
I prefer encrypted and signed messages. KeyID: FAC37665
Fingerprint: 8C16 3F0A A6FC DF0D 19B0  8DEF 48D9 1700 FAC3 7665


pgpJybA1VMobN.pgp
Description: PGP signature


Re: [gentoo-user] Disappearing ebuilds

2006-05-24 Thread Matthias Bethke
Hi Neil,
on Wednesday, 2006-05-24 at 13:48:32, you wrote:
> $PORTDIR/profile/package.mask. Every masked package should have a
> comment giving the reason.

Oh, nice...never though I had to look in there unless I wanted to tweak
things I'm supposed to be twaeking elsewhere (like package.unmask)
anyway :) Thanks!
However, the winesetuptk and fileutils packages seem to be just gone
without notice. If they had been masked for removal, I should have seen
the respective message a few times before...

cheers!
Matthias
-- 
I prefer encrypted and signed messages. KeyID: FAC37665
Fingerprint: 8C16 3F0A A6FC DF0D 19B0  8DEF 48D9 1700 FAC3 7665


pgp7MZesYxyug.pgp
Description: PGP signature


[gentoo-user] Disappearing ebuilds

2006-05-24 Thread Matthias Bethke
Here's what I've been getting on the last few emerges:
| huxley ~ # emerge -DNvuta world
| 
| These are the packages that I would merge, in reverse order:
| 
| Calculating world dependencies
| !!! Packages for the following atoms are either all
| !!! masked or don't exist:
| app-crypt/gpg-agent media-gfx/sodipodi app-emulation/winesetuptk
| net-misc/xfsamba
| 
|  ...done!
These just seem to be masked. It happeded before, and sometimes there
was a message in the Changelog, but usually there's none. On another
machine, sys-apps/fileutils just disappeared. Do I have to follow
gentoo-dev to catch when/why things like this will happen and possibly
what other packages stuff is being moved to, or is there a comprehensive
log where this is recorded?

cheers!
Matthias
-- 
I prefer encrypted and signed messages. KeyID: FAC37665
Fingerprint: 8C16 3F0A A6FC DF0D 19B0  8DEF 48D9 1700 FAC3 7665


pgpnNynbltdZE.pgp
Description: PGP signature


Re: [gentoo-user] Gnome as an X Server.

2006-05-24 Thread Matthias Bethke
Hi Kurt,
on Wednesday, 2006-05-17 at 11:33:30, you wrote:
> > Hmm, maybe cause it is NOT an X server, its a Window Manager.
> 
> Right, right.  I probably deserve to get spanked for not using the
> proper terminology. 

You both do :)
Gnome is a desktop environment that comes with a window manager
(currently Metacity IIRC, used to be Sawfish) but can be used with a
number of other window managers as well.

> Anyway, I'd like to pop X windows on my desktop.  I have gnome setup
> (including gdm), everything is working fine, except that I don't have X
> configured to use an external port such that I can "xhost +servername"
> and pop a window on my desktop.

ssh has been suggested, and I second that. Much better than xhost 'n
stuff.

cheers!
Matthias
-- 
I prefer encrypted and signed messages. KeyID: FAC37665
Fingerprint: 8C16 3F0A A6FC DF0D 19B0  8DEF 48D9 1700 FAC3 7665


pgpuiuHls18Ea.pgp
Description: PGP signature


Re: [gentoo-user] QTrouble: static libraries?

2006-05-14 Thread Matthias Bethke
Hi Richard,
on Saturday, 2006-05-13 at 10:29:53, you wrote:
> Well the building of static libraries is on a per package basis, so I
> guess your fastest option here is to copy the qt ebuild to your
> overlay directory and modify it to make a static library.  You could
> also file a bug report on bugzilla requesting the change for qt, if
> there isn't already an existing report for this.

OK, I'll try the local ebuild first.

> However, my guess is that you are on the wrong track.  It really
> sounds like the DISPLAY environment variable is not set correctly, or
> possibly the program is modifying it's own environment for some
> reasonmaybe an strace of the program would reveal more.

Well, other X programs work just fine from the same ssh session, so it
can't be the environment. The program doesn't modify anything in it
either, I checked that much. But the strace I hadn't tried yet---here's
the halfway interesting bit:
| access("/usr/lib/qt3//plugins", F_OK)   = -1 ENOENT (No such file or 
directory)
| access("/root/.qt", F_OK)   = 0
| lstat64("/root/.qt", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
| brk(0x868a000)  = 0x868a000
| access("/etc/X11//qtrc", F_OK)  = -1 ENOENT (No such file or 
directory)
| access("/root/.qt/qtrc", F_OK)  = 0
| [trying to read empty qtrc]
| munmap(0x4000, 4096)= 0
| fcntl64(3, F_SETLKW64, {type=F_UNLCK, whence=SEEK_SET, start=0, len=0}, 
0xbf9dbe60) = 0
| close(3)= 0
| write(2, "usrmgr: cannot connect to X serv"..., 35usrmgr: cannot connect to X 
server ) = 35
It doesn't matter if the plugins dir ot /root/.qt/qtrc is there or not.
I can even put the old server's /etc/X11/qtrc in place, no difference.
I'll play with strace some more, looks like the program used some call
that's not traced by default because it's not even trying to read
$DISPLAY; the error seems to be something generic.

cheers!
Matthias
-- 
I prefer encrypted and signed messages. KeyID: FAC37665
Fingerprint: 8C16 3F0A A6FC DF0D 19B0  8DEF 48D9 1700 FAC3 7665


pgpuk1Hq2ehBK.pgp
Description: PGP signature


[gentoo-user] QTrouble: static libraries?

2006-05-13 Thread Matthias Bethke
I have a QT program that's supposed to run on a server. I never liked
the idea of putting all this QT runtime crap on the server just for this
single program, so when it still ran SuSE, I just compiled it statically
and all was fine. Now under Gentoo, the program complains it couldn't
open the display (yes, I'm using ssh -X and other X programs are fine).
So I thought maybe it's the switch from XF86 to X.org, can't hurt to
recompile with the latest libraries. But there are no static libraries
(libqt.a and such) installed and I don't know how to get portage to
install them. USE=static seems to work only for linking certain programs
statically, not the libs itself.
I'm probably overlooking something very obvious...

cheers!
Matthias
-- 
I prefer encrypted and signed messages. KeyID: FAC37665
Fingerprint: 8C16 3F0A A6FC DF0D 19B0  8DEF 48D9 1700 FAC3 7665


pgpRSpsaF9hgs.pgp
Description: PGP signature


Re: [gentoo-user] how to stop skype im use

2006-05-13 Thread Matthias Bethke
Hi El,
on Wednesday, 2006-05-10 at 14:29:39, you wrote:
> dear all,
> 
> how to stop skype IM? using squid or iptables.

It's fairly difficult as most of their content is encrypted. But I seem
to remember you can block session initiation (not sure if it can be done
slectively for IM but not phone functionality) using iptables. Have a
look at
http://www.ossir.org/windows/supports/2005/2005-11-07/EADS-CCR_Fabrice_Skype.pdf
Very enlighting (ugh!) paper on Skype's innards, I think they have an
iptables rule somewhere.

cheers!
Matthias
-- 
I prefer encrypted and signed messages. KeyID: FAC37665
Fingerprint: 8C16 3F0A A6FC DF0D 19B0  8DEF 48D9 1700 FAC3 7665


pgpDKYkSMk0wm.pgp
Description: PGP signature


Re: [gentoo-user] OT - which X terminal do you use?

2006-05-13 Thread Matthias Bethke
Hi Neil,
on Tuesday, 2006-05-09 at 19:33:51, you wrote:
> which are your most/least favourite X terminals, and why?

Almost exclusively Gnome-Terminal. Although I usually prefer console
tools I never really got into screen usage, so tabs are essential. I
don't have anything to complain about its color support, and its Unicode
support (especially quick swicthing between encodings) is better than
any other term I tried. As I use XFCE4, I also had a closer look at
xfterm. Slim, fast, very nice to use, but fairly unstable last timeI
looked, I'd get a frozen term about every other day. But I'm looking
forward to it maturing.

cheers!
Matthias

-- 
I prefer encrypted and signed messages. KeyID: FAC37665
Fingerprint: 8C16 3F0A A6FC DF0D 19B0  8DEF 48D9 1700 FAC3 7665


pgpTeTjYkiOzn.pgp
Description: PGP signature


Re: [gentoo-user] App/plugin to play CD?

2006-05-11 Thread Matthias Bethke
Hi Walter,
on Tuesday, 2006-05-09 at 20:34:29, you wrote:
>   My idea of "the right application" doesn't install 75% of KDE or GNOME...

Good point! :) What about media-sound/cdplay? Doesn't seem to have any
dependencies at all.

cheers!
Matthias

-- 
I prefer encrypted and signed messages. KeyID: FAC37665
Fingerprint: 8C16 3F0A A6FC DF0D 19B0  8DEF 48D9 1700 FAC3 7665


pgp6mJW2B7NVk.pgp
Description: PGP signature


Re: [gentoo-user] App/plugin to play CD?

2006-05-11 Thread Matthias Bethke
Hi Jeremy,
on Monday, 2006-05-08 at 09:38:34, you wrote:
> I don't think you need that silly cable. My understanding was that the
> audio cable connected to you sound card was for when you wanted to
> listen to the cd and your computer was in "low-power mode" Either way, I
> have stopped installing that cable on new computers that I build and it
> has always worked fine for me.

Strictly speaking you don't need it, it will work just as well via
ATAPI/SCSI. It's just so convenient that a) you have a separate volume
control for the CD input on soundcards and b) playing a CD takes nothing
more than a handful of commands (and probably one a second or so to
update the play timer), the CD-ROM does everything else on its own.

cheers!
Matthias
-- 
I prefer encrypted and signed messages. KeyID: FAC37665
Fingerprint: 8C16 3F0A A6FC DF0D 19B0  8DEF 48D9 1700 FAC3 7665


pgpW88Osq8DdD.pgp
Description: PGP signature


Re: [gentoo-user] eth0 not up when init script returns?

2006-05-06 Thread Matthias Bethke
Hi Vladimir,
on Thursday, 2006-05-04 at 17:56:58, you wrote:
> Anyway, I figured out what my problem was. I was starting eth0 twice,
> once through an rc script, and once with ifplugd. When I zapped the rc
> script (rc-update del net.eth0), things started work better.

Still sounds like an ifplugd config problem. As I learnt from this
list a while ago, you *should* start both ifplugd and the net.eth*
scripts---it actually works better like this, e.g. auto-joining wireless
networks via ifplugd never worked until I re-added the init script for
eth1. Here's my /etc/conf.d/ifplugd:

INTERFACES="eth0 eth1"
AUTO="yes"
BEEP="yes"
IGNORE_FAIL="yes"
IGNORE_FAIL_POSITIVE="no"
IGNORE_RETVAL="yes"
POLL_TIME="2"
DELAY_UP="0"
DELAY_DOWN="0"
API_MODE="auto"
SHUTDOWN="no"
WAIT_ON_FORK="no"
MONITOR="no"
ARGS=""
MONITOR_eth1="yes"
DELAY_UP_eth1="5"
DELAY_DOWN_eth1="5"

cheers!
Matthias
-- 
I prefer encrypted and signed messages. KeyID: FAC37665
Fingerprint: 8C16 3F0A A6FC DF0D 19B0  8DEF 48D9 1700 FAC3 7665


pgpSYjozXPG6G.pgp
Description: PGP signature


Re: [gentoo-user] eth0 not up when init script returns?

2006-05-06 Thread Matthias Bethke
Hi Hani,
on Thursday, 2006-05-04 at 11:19:33, you wrote:
> Have you looked through the '/etc/conf.d/net.example' file?  I'm not too
> familiar with DHCP, but the net.example file has this entry:

As Uwe said, that's not the issue. It's a server box, the one
responsible for dealing out the others' addresses via DHCP. eth0 has a
fixed IP.

cheers!
Matthias

-- 
I prefer encrypted and signed messages. KeyID: FAC37665
Fingerprint: 8C16 3F0A A6FC DF0D 19B0  8DEF 48D9 1700 FAC3 7665


pgpoX8QclaoRH.pgp
Description: PGP signature


[gentoo-user] eth0 not up when init script returns?

2006-05-04 Thread Matthias Bethke
I just noticed a strange problem on our server that's just been switched
to Gentoo:
It's running dhcpd, which init starts right after bringing up the
network interface. But dhcpd quits, complaining it couldn't listen on
eth0 because it had address 0.0.0.0. So it seems the interface isn't
fully up yet when the init script returns---probably because the
Broadcom Tigon driver seems to be on the slow side when changing
parameters, while the CPU is plenty fast. I've now tried to fix it with
a postup() function that simply does a "sleep 3", but that's pretty
hacky IMHO. Isn't thatere a way to do it properly? I think the script
should ensure its jobs are finished before it returns in any case.

cheers!
Matthias

-- 
I prefer encrypted and signed messages. KeyID: FAC37665
Fingerprint: 8C16 3F0A A6FC DF0D 19B0  8DEF 48D9 1700 FAC3 7665


pgp1zh7tfBWsE.pgp
Description: PGP signature


Re: [gentoo-user] I can't get my wengophone account

2006-05-04 Thread Matthias Bethke
Hi Ptitjack,
on Tuesday, 2006-05-02 at 12:24:01, you wrote:
> I just emerged Wengophone.
> When I run Wengophone as user, I have to get my first Wengo account.
> A new window is opening with : You don't have a Wengo account ? Click here.
> Problem, the link does not work ! When I click on it, nothing happens !
> What can I do ??

I seem to remember I had the same problem. IIRC, what I did was to dig
in the sources until I found the link that's tied to this button
(simple: find /your/src/dir -name "*.c"|xargs grep "") and
entered it into a browser by hand. I don't really have a clue about QT
programming so I didn't try to fix it.

HTH
Matthias
-- 
I prefer encrypted and signed messages. KeyID: FAC37665
Fingerprint: 8C16 3F0A A6FC DF0D 19B0  8DEF 48D9 1700 FAC3 7665


pgpf93jtjZCTR.pgp
Description: PGP signature


Re: [gentoo-user] Apache + Per User Directory configuration

2006-05-04 Thread Matthias Bethke
Hi Ognjen,
on Monday, 2006-05-01 at 11:22:23, you wrote:
> I have spent most of the day getting per user web serving to work
> (/home/$user/public_html => http://server/~$user) but was constantly
> getting "401 Forbidden" errors with apache2.
> 
> After lots of hunting I found that you have to set the permissions for
> the user directories to 755 (a+rx). So now it works, but all the users
> can see each others home directories, which is unacceptable for this
> server.
> 
> So I am here to ask if anyone cen recommend a more secure way of doing
> this. I 

My web server is still running an old SuSE system, but this should be
basically the same. There are two ways to solve this. If you use the
public_html subdirectory approach, $HOME only has to be o+x, so others
can *enter* a user's directory but not *view* its contents. That should
be acceptable if people use a safe umask. 
The reason we changed it a while ago was that we wanted to allow CGIs,
at least for certain users some of which didn't know that much about
input sanitizing 'n stuff, so a hacker could try to read other people's
files by guessing their names---the web server would need access to the
whole NFS-mounted parent of everybody's home. So now $HOME/public_html
is just a link to /www/home/$USER which lives on the web server and is
exported from there. That way a rogue CGI script could read other
people's web pages which is far less critical. Of course you still have
to check once in a while so you don't expose your passwd file or
something.

cheers!
Matthias
-- 
I prefer encrypted and signed messages. KeyID: FAC37665
Fingerprint: 8C16 3F0A A6FC DF0D 19B0  8DEF 48D9 1700 FAC3 7665


pgpALPfUNyEug.pgp
Description: PGP signature


Re: [gentoo-user] Gnupg (probably) FAQs

2006-04-27 Thread Matthias Bethke
Hi Mick,
on Sunday, 2006-04-16 at 19:48:00, you wrote:
> 1.  What is the relationship between gpg-agent and ssh-agent?  Do I need both?

One is for SSH, the other for GPG :) Yes, I don't think either can be made to 
work for the other program.

> 2.  How can I get the gpg-agent to start if I do not use KDM, but XDM
> with fluxbox?  (I added eval "$(gpg-agent --daemon)" in my ~/.xsession
> with no effect).

I found this script somehwere and installed it blobally. It's called in my 
.profile:

#!/bin/sh
if [ -x /usr/bin/gpg-agent ]; then
  if [ -f ${HOME}/.gpg-agent-info ]; then
OLD_GPG_AGENT=`cat ${HOME}/.gpg-agent-info`
CHECK_PID=`echo ${OLD_GPG_AGENT}|cut -d ":" -f 2`
PROG=`ps -p ${CHECK_PID} |tail -n1| sed -e "s,^[^ ]* *[^ ]* *[^ ]* *,,"`
if [ "${PROG}x" != "gpg-agentx" ]; then
  rm ${HOME}/.gpg-agent-info
else
  export GPG_AGENT_INFO=${OLD_GPG_AGENT}
fi
  fi
  if [ ! -f ${HOME}/.gpg-agent-info ]; then
eval "`gpg-agent --daemon`"
echo $GPG_AGENT_INFO >${HOME}/.gpg-agent-info
  fi
fi

> 3.  Some mail clients do not handle gpg signing very elegantly (as in
> automatically).  Neverhteless, the signature is presented as an
> attachment.  How can the recipient check the validity of the
> signature?  It would be useful to find this answer not just for Linux,
> but also for M$Outlook.

There is a plugin for Outlook, two in fact, I think one is linked from the GPG
site and the older one is included with WinPT.

> 4.  I  created two uids one for [EMAIL PROTECTED] and one for
> [EMAIL PROTECTED]  I thought that I would be able to switch
> between uids depending on the domain that I use in Kmail.  Things got
> rather messed up thereafter.  When I try to select a Signing key id
> (Group properties on say a newsgroup/Identity/Signing key/Change) I
> always get the [EMAIL PROTECTED] as the uid, instead of the
> [EMAIL PROTECTED] as a signature.  How can I switch between uids?

You can only set one as the primary UID, in fact there won't be any difference
in the signature whether you use one or the other. It's just a difference in
the key's flags.

> 5.  When I revoke a uid is it also removed from the keyservers?

No. That is, they did do some cleanup in the past when there were too many
expired/invalid/revoked keys lingering around, but it's not under your control.
The UID will just be flagged as revoked and therefore be as good as gone as far
as GPG is concerned.

> 6.  Is there a way of finding out what is kept with respect to my
> sigs/uids on a keyserver?

It's pretty much a verbatim copy of your key. For finding out the details, this 
one may be helpful (this and the relevant RFCs, 20-something)
* app-crypt/pgpdump
 Available versions:  0.22 ~0.24
 Installed:   0.22
 Homepage:http://pgp.iijlab.net/pgpdump.html
 Description: A PGP packet visualizer

HTH
cheers!
Matthias

-- 
I prefer encrypted and signed messages. KeyID: FAC37665
Fingerprint: 8C16 3F0A A6FC DF0D 19B0  8DEF 48D9 1700 FAC3 7665


pgpaoW2ZJpR0u.pgp
Description: PGP signature


Re: [gentoo-user] emerge without download

2006-04-05 Thread Matthias Bethke
Hi Benno,
on Wednesday, 2006-04-05 at 14:50:29, you wrote:
> Just put LINGUAS="fr en".  I'm unsure whether en-us is recognized.

The Localization Guide isn't very clear about the syntax of these, nor
how to get a list of available codes. I guess the basic ones are the
two-letter ISO codes as for locales, but is it "en-us", "en_US" or
something? Is it case sensitive at all?

cheers!
Matthias
-- 
I prefer encrypted and signed messages. KeyID: FAC37665
Fingerprint: 8C16 3F0A A6FC DF0D 19B0  8DEF 48D9 1700 FAC3 7665


pgpCMLGdqYANY.pgp
Description: PGP signature


Re: [gentoo-user] lsocket!?!

2006-04-04 Thread Matthias Bethke
Hi Justin,
on Tuesday, 2006-04-04 at 00:27:18, you wrote:
> I'm trying to compile some network code... but gcc is telling me
> cannot find -lsocket

That's right, the socket API is part of libc. That's some pretty old
code, isn't it? Just leave out the -lsocket and you should be fine.

cheers!
Matthias
-- 
I prefer encrypted and signed messages. KeyID: FAC37665
Fingerprint: 8C16 3F0A A6FC DF0D 19B0  8DEF 48D9 1700 FAC3 7665


pgpYp0UBJ8L6f.pgp
Description: PGP signature


[gentoo-user] Strange emerge for poppler

2006-04-03 Thread Matthias Bethke
Portage is acting strage today. Poppler has been acting up for a while
now, but today it seems more like portage is confused about what to
emerge:
| # emerge -DNuta world
| 
| These are the packages that I would merge, in reverse order:
| 
| Calculating world dependencies ...done!
| [nomerge  ] gnome-base/gnome-2.12.2
| [nomerge  ]  app-text/evince-0.5.1
| [ebuild U ]   app-text/poppler-bindings-0.5.1-r1 [0.5.1]
| [nomerge  ] app-office/lyx-1.3.5-r2
| [nomerge  ]  app-text/xpdf-3.01-r7
| [ebuild UD]   app-text/poppler-0.5.0-r5 [0.5.1]
^
| [...]
| [nomerge  ]  dev-libs/popt-1.7-r1
| [nomerge  ]  app-misc/pax-utils-0.1.10
| [nomerge  ]   sys-libs/libcap-1.10-r5
| [nomerge  ]dev-lang/swig-1.3.21
| [nomerge  ] dev-java/blackdown-jdk-1.4.2.03
| [nomerge  ]  media-libs/alsa-lib-1.0.10
| [nomerge  ]   app-doc/doxygen-1.4.4
| [nomerge  ]x11-libs/qt-3.3.4-r8
| [nomerge  ] net-print/cups-1.1.23-r7
| [ebuild U ]  app-text/poppler-0.5.1-r1 [0.5.1]
^
| [nomerge  ] media-libs/libmng-1.0.8-r1
| [ebuild U ]  media-libs/lcms-1.15 [1.14-r1]
| [ebuild U ] sys-apps/man-pages-2.27 [2.26]

I don't see anyting in the Changelog that would explain the downgrade.
Anyway, I'll just see what happens, thought somebody could have an
idea...

cheers!
Matthias

-- 
I prefer encrypted and signed messages. KeyID: FAC37665
Fingerprint: 8C16 3F0A A6FC DF0D 19B0  8DEF 48D9 1700 FAC3 7665


pgpmzJ7iod3mK.pgp
Description: PGP signature


Re: [OT] Re: [gentoo-user] Intel Core Duo Processor - Anyone?

2006-03-30 Thread Matthias Bethke
Hi Lord,
on Wednesday, 2006-03-29 at 17:41:49, you wrote:
> However, at the same time, you really shouldn't expect games out of
> any but the most expensive laptops.

You know, "games" includes stuff released before January 2006 =^>
The 486/100 laptop I bought for EUR 150 some 8 years ago runs Zork just
fine. In C64 emulation if you like. And although I wouldn't want to try
them all I bet my Mobile Athlon XP 1600+ with its crappy shared memory
SiS gfx would run most things in portage/games-* just fine.

SCNR :)
Matthias
-- 
I prefer encrypted and signed messages. KeyID: FAC37665
Fingerprint: 8C16 3F0A A6FC DF0D 19B0  8DEF 48D9 1700 FAC3 7665


pgp0XA1su14XW.pgp
Description: PGP signature


[gentoo-user] Multiple whatis hits

2006-03-28 Thread Matthias Bethke
I was wondering about those multiple hits I get every time I use
whatis(1) or apropos(1) these days. Everything is listed three times,
which is kind of annoying. It's not too hard to find the culprit if you
look at whatis: /etc/man.conf lists /usr/man and /usr/X11R6/man as
separate entries for MANPATH but these are both links to /usr/shar/man
where the actual whatis-db lives. Now that's easy to fix, but I was
wondering
a) why it is like that in the default config (I don't think man.conf is
built dynamically depending on whether e.g. you install X11?) and
b) whether the best way to fix it would be to simply change man.conf or
convert /usr/man and /usr/X11R6/man to real directories and ask portage
for all manpages that are supposed to be installed there and move them
from /usr/share/man manually?

cheers!
Matthias
-- 
I prefer encrypted and signed messages. KeyID: FAC37665
Fingerprint: 8C16 3F0A A6FC DF0D 19B0  8DEF 48D9 1700 FAC3 7665


pgpxxJKVBEBU0.pgp
Description: PGP signature


[gentoo-user] OT: iRiver players (was: USB sync/async mount)

2006-03-28 Thread Matthias Bethke
Hi Boyd,
on Monday, 2006-03-27 at 16:51:00, you wrote:
> The stock firmware does not show up as a USB block device under either 
> Windows or Linux.  There is an official USB firmware that you can download 
> and install that makes it act like a standard USB block device under both 
> operating systems.

I tried it on my iFP-895 and didn't like it at all. The proprietary
protocol isn't exactly speedy but with the ifp driver for Linux it's OK,
does some 700-800 kB/s on my USB 1.1. The USB Mass Storage
implementation peaks at about 50 kB/s. For a 512 MB player that's a tad
slow...

cheers!
Matthias
-- 
I prefer encrypted and signed messages. KeyID: FAC37665
Fingerprint: 8C16 3F0A A6FC DF0D 19B0  8DEF 48D9 1700 FAC3 7665


pgpVevH9j7h21.pgp
Description: PGP signature


Re: [gentoo-user] Sharing linux's internet connection with an iMac?

2006-03-27 Thread Matthias Bethke
Hi Hans-Werner,
on Monday, 2006-03-27 at 13:36:38, you wrote:
> Most likely it wouldn't work because of the wlan link layer. Most WiFi
> cards don't go well with bridging... So routing is the option which is
> left.

The 802.11 link layer is almost exactly the same as in Ethernet so that
should be a driver issue. Particularly the LLC part is completely
compatible...I never actually tried the bridging though.

cheers!
Matthias
-- 
I prefer encrypted and signed messages. KeyID: FAC37665
Fingerprint: 8C16 3F0A A6FC DF0D 19B0  8DEF 48D9 1700 FAC3 7665


pgpgjlXiUP8De.pgp
Description: PGP signature


Re: [gentoo-user] ieee1394 card - ports order

2006-03-27 Thread Matthias Bethke
Hi Joseph,
on Friday, 2006-03-24 at 18:51:17, you wrote:
> I was under impression that ieee1394 cards would work the same as
> USB-ports; regardless which port I plug my device into it will just
> work, not so with ieee1394 cards.

I'm not an expert on ieee1394 but from what I've seen they actually do
work the same in this respect, I've only tries SBP2 mass storage stuff
though, no cameras. Have a look at dmesg output; usually the kernel will
print some info there when you plug in a 1394 device. If it shows
nothing at all you most likely don't have all the modules loaded,
otherwise it should at least be an error message. 
I heard the ports on some external HD cases were actually different in
that they accepted a host only on one but not the other, and there seem
to be some general problems in the kernel with daisy-chaining devices.
As you don't seem to have any oth these problems, no, I'm quite sure
order doesn't matter.

> In "kino" under settings there is IEEE1394 "tab" and has an option
> "raw1394 interface" option that is set to "0" I've tried setting it to
> "1" but it didn't work.

You do have the kernel support for that, don't you?
CONFIG_IEEE1394_VIDEO1394 and CONFIG_IEEE1394_RAWIO in .config?

cheers!
Matthias
-- 
I prefer encrypted and signed messages. KeyID: FAC37665
Fingerprint: 8C16 3F0A A6FC DF0D 19B0  8DEF 48D9 1700 FAC3 7665


pgp62bDuqOHwX.pgp
Description: PGP signature


Re: [gentoo-user] skype experiences: good/bad/etc

2006-03-27 Thread Matthias Bethke
Hi Pongracz,
on Wednesday, 2006-03-22 at 20:29:36, you wrote:
> Question is, why other guys do not start a real open source project to
> make a phone application?

Another one that has been in portage for a few weeks: net-im/wengophone
My experience is that the sound quality isn't quite as good as Skype's
and it can't do conferences (yet?) but OTOH it kinda supports webcams
which Skype's Linux version doesn't. "Kinda" because it's not quite
stable yet, once in a while it locks up or fails to display the other
sides's image, and it uses an awful lot of CPU, but at least it's there.

cheers!
Matthias

-- 
I prefer encrypted and signed messages. KeyID: FAC37665
Fingerprint: 8C16 3F0A A6FC DF0D 19B0  8DEF 48D9 1700 FAC3 7665


pgpVykgz4wzK5.pgp
Description: PGP signature


Re: [gentoo-user] Disk Partitioning

2006-03-16 Thread Matthias Bethke
Hi Paul,
on Thursday, 2006-03-16 at 12:44:15, you wrote:
> > "dd if=/dev/zero of=/dev/sda bs=512 count=1" (but if there isn't any
> > data on that drive, then go and try this...)
> >
> Thanks for the reply, I tried your suggestion but it didn't make any 
> difference.

If there's nothing on it yet, you can of course zero-out the whole
disk---bit of an overkill but will do the job :) I would have thought
killing the boot sector would do it as well but then perhaps the volume
manager could be looking for a root sector?

cheers!
  Matthias
-- 
I prefer encrypted and signed messages. KeyID: FAC37665
Fingerprint: 8C16 3F0A A6FC DF0D 19B0  8DEF 48D9 1700 FAC3 7665


pgpjyRo0xesVp.pgp
Description: PGP signature


Re: [gentoo-user] dd if=/dev/dvd of=backup.iso

2006-03-16 Thread Matthias Bethke
Hi Joseph,
on Wednesday, 2006-03-15 at 15:55:17, you wrote:
> > could be the reader then? Do you have another computer with a dvd drive
> > and 4.7g available space?
> 
> Yes, I've tired on two different systems, one is x86 and the other amd64
> with similar result on both of them; the copying stops at some point and
> doesn't go any further.

Could it be that it's supposed to be like this? Some kiind of copy
protection using bad blocks that are unused in the file system so in
normal use you never run into them, but you do when trying to get an
image? Stuff like this has been common since the C64 age.

cheers!
Matthias
-- 
I prefer encrypted and signed messages. KeyID: FAC37665
Fingerprint: 8C16 3F0A A6FC DF0D 19B0  8DEF 48D9 1700 FAC3 7665


pgpH4hQBOH0zb.pgp
Description: PGP signature


Re: [gentoo-user] lost partition table

2006-03-10 Thread Matthias Bethke
Hi Ghaith,
on Thursday, 2006-03-09 at 06:52:38, you wrote:
> help, it seems the gentoo installer deleted my home partition
> fdisk don't show it what can i do?
> is there a way to restore it

"gpart" is the tool for that. If nothing works any more, you can use
Knoppix or something. Then just start gpart on your disk, let it grind
away for a while, and then check the (usually several) partition layouts
it finds for one you recognize. It's been a while since I used it but
AFAIR it can restore a certain MBR layout you select. If not, you have
to recreate it in fdisk.

cheers!
Matthias
-- 
I prefer encrypted and signed messages. KeyID: FAC37665
Fingerprint: 8C16 3F0A A6FC DF0D 19B0  8DEF 48D9 1700 FAC3 7665


pgp1B6d1CR0kV.pgp
Description: PGP signature


Re: [gentoo-user] Encrypting removable media

2006-02-24 Thread Matthias Bethke
Hi Etaoin,
on Friday, 2006-02-24 at 15:42:39, you wrote:
> With udev you can create hardware-specific devices (meaning you can have 
> a device in /dev that corresponds exactly to some particular hard disk), 
> based on various hardware-specific information (eg, manufacturer name or 
> device id and many others) See 
> http://www.reactivated.net/writing_udev_rules.html
> for the details.

Looks like just the ting I need, plus some education :) Thanks very much
for the ultra-speedy reply! Gotta love the Gentoo lists...

cheers!
Matthias
-- 
I prefer encrypted and signed messages. KeyID: FAC37665
Fingerprint: 8C16 3F0A A6FC DF0D 19B0  8DEF 48D9 1700 FAC3 7665


pgphYkGjTGJ6A.pgp
Description: PGP signature


[gentoo-user] Encrypting removable media

2006-02-24 Thread Matthias Bethke
I have a bit of chicken-and-egg problem trying to get encrypted
removable devices to work as "normal" as possible.
Using Loop-AES and a GPG-encrypted key I had no problems encrypting my
external FW drive, but to pass all the options to losetup without
entering them by hand every time, I need an fstab entry. The drive shows
up as /dev/sda, but putting /dev/sda1 there is no good as it would try
to use Loop-AES on *every* external drive. So far I could just use
volume labels in my fstab to distinguish any number of drives---well, I
used to until hald/dbus made that automatic. But now there are no labels
any more as they get encrypted as well.
Has anyone come up with a solution for this yet? I could imagine some
plugin for the hotplug system that checks /proc/scsi/scsi for a certain
model before mounting. Not the cleanest solution either but as my
external drives are different models it would work for me. I don't have
much of a clue about the hotplug system though...

regards
Matthias
-- 
I prefer encrypted and signed messages. KeyID: FAC37665
Fingerprint: 8C16 3F0A A6FC DF0D 19B0  8DEF 48D9 1700 FAC3 7665


pgpG2ljrhKBsH.pgp
Description: PGP signature


Re: [gentoo-user] modules PID

2006-01-25 Thread Matthias Bethke
Hi Cláudio,
on Wednesday, 2006-01-25 at 13:47:21, you wrote:
> I thought it could solve it killing the module. I have tried "modprobe
> -rf visor" but visor do not want to die.
> 
> any ideas?

Do you have "forced module unloading" enabled in your kernel? If you do,
it's probably a problem in the module itself that can't be solved
without hacking the source.

regards
Matthias
-- 
I prefer encrypted and signed messages. KeyID: FAC37665
Fingerprint: 8C16 3F0A A6FC DF0D 19B0  8DEF 48D9 1700 FAC3 7665


pgpTiPIaX1Cto.pgp
Description: PGP signature


Re: [gentoo-user] DHCP and Problematic IP addreses

2006-01-22 Thread Matthias Bethke
Hi Ow,
on Wednesday, 2006-01-18 at 09:22:06, you wrote:
> > you have a DHCP server you don't control (@work?) 
> 
> Yes.
> > and it's not giving
> > you the IP you want but something else---"abd" in what way?
> 
> it's giving me an IP, just not a good One. (upstream connection is bad)

Well, what exactly is wrong with this IP? Is it from a different subnet?
Or is it just that the router isn't set correctly, so you see all other
machines in the local net but can't get out? Or does the router refuse
to route packets from parts of the subnet and you get an address in this
part?

> > I'd think if the DHCP server gives you an andress that doesn't work in
> > your subnet then it's a server configuration issue and should be fixed
> > there.
> 
> yeah.. Unfortunately, I have no administrative control over it. :-(

If you tell the guy in charge that you'll use a static IP as long as he
doesn't get the server fixed, I think that will be a motivation :)

Sorry for the late reply!
cheers,
Matthias
-- 
I prefer encrypted and signed messages. KeyID: FAC37665
Fingerprint: 8C16 3F0A A6FC DF0D 19B0  8DEF 48D9 1700 FAC3 7665


pgpjOVI6wnW9y.pgp
Description: PGP signature


Re: [gentoo-user] emerge world?

2006-01-22 Thread Matthias Bethke
Hi Michael,
on Tuesday, 2006-01-17 at 20:18:16, you wrote:
> Plone in portage hasn't changed in a very long time. I recommend you 
> get the new ebuilds from 
> http://bugs.gentoo.org/show_bug.cgi?id=105187 and install them, then 
> put your comments in that bug to let the devs know that it's working.
> 
> Or, if you want, you can modify the 1.0.4 ebuild to accept poppler.

I just switched to the unstable portaltransforms for now, and all is
fine. Otherwise I'd have had to use portage overlays and thing swould
have been more complicated -- the "unstable" version seems to be only
this fix and a minor patch ahead so it's probably less problematic than
"stable".

regards
Matthias

-- 
I prefer encrypted and signed messages. KeyID: FAC37665
Fingerprint: 8C16 3F0A A6FC DF0D 19B0  8DEF 48D9 1700 FAC3 7665


pgpoJBNby0R6z.pgp
Description: PGP signature


Re: [gentoo-user] emerge world?

2006-01-17 Thread Matthias Bethke
Hi Michael,
on Tuesday, 2006-01-17 at 09:47:44, you wrote:
> Matthias Bethke wrote:
> >Hi Uwe,
> >on Tuesday, 2006-01-17 at 15:53:20, you wrote:
> >
> >>If I understand the ebuild of portaltransforms correctly it wants either 
> >>pdftohtml or lynx. Maybe you can get away by installing lynx?
> >
> >
> >No, it wants both of them. I do have lynx but that's probably for
> >HTML->text and the other, as the name says, PDF->HTML.
> >
> >regards
> >  Matthias
> 
> What ebuild did you use? Portaltransforms is supposed to have been 
> fixed to have an dependency on either pdftohtml OR poppler. See 
> http://bugs.gentoo.org/show_bug.cgi?id=105187#c66

Sorry, I should have mentioned that was portaltransforms-1.0.4.ebuild,
mosdef with the bug still in. I just noticed there's -r1 with the fix,
but it's still in unstable. Just syncing again, maybe it will have moved
up to stable...

regards
Matthias
-- 
I prefer encrypted and signed messages. KeyID: FAC37665
Fingerprint: 8C16 3F0A A6FC DF0D 19B0  8DEF 48D9 1700 FAC3 7665


pgpOesIYMMBoZ.pgp
Description: PGP signature


Re: [gentoo-user] emerge world?

2006-01-17 Thread Matthias Bethke
Hi Uwe,
on Tuesday, 2006-01-17 at 15:53:20, you wrote:
> If I understand the ebuild of portaltransforms correctly it wants either 
> pdftohtml or lynx. Maybe you can get away by installing lynx?

No, it wants both of them. I do have lynx but that's probably for
HTML->text and the other, as the name says, PDF->HTML.

regards
  Matthias
-- 
I prefer encrypted and signed messages. KeyID: FAC37665
Fingerprint: 8C16 3F0A A6FC DF0D 19B0  8DEF 48D9 1700 FAC3 7665


pgp9rkRd0mz5h.pgp
Description: PGP signature


Re: [gentoo-user] emerge world?

2006-01-17 Thread Matthias Bethke
Hi Michael,
on Tuesday, 2006-01-17 at 10:53:50, you wrote:
> I had missed that!  Are you saying that if poppler has been emerged
> there's no need to re-emerge xpdf?  I didn't know that and I re-emerged
> xpdf.

I think you do, poppler is just the library.
I have another problem with poppler now though: one of my machines has
Plone and Cups installed. Cups wants poppler, Plone wants
net-zope/portaltransforms. The latter wants pdftohtml, which is blocked
by poppler. It seems to boil down to a system that cannot have Cups and
Plone installed on the same machine :( I think it would make sense to
add a USE flag to portaltransforms that removes the dependency on
pdftohtml---after all, I wouldn't use this functionality in Plone
anyway.

regards
  Matthias

-- 
I prefer encrypted and signed messages. KeyID: FAC37665
Fingerprint: 8C16 3F0A A6FC DF0D 19B0  8DEF 48D9 1700 FAC3 7665


pgpoWqYSrM8O0.pgp
Description: PGP signature


Re: [gentoo-user] DHCP Jammer

2006-01-17 Thread Matthias Bethke
Hi Chris,
on Tuesday, 2006-01-17 at 17:50:01, you wrote:
>   Say, I have a DHCP server is distributing 172.30.10.0/24 IP range, 
>   but a joker simply plug in another DHCP server and distributing 
> 192.168.12.0/24 IP. Is there anyway I can stop the unwanted DHCP broadcast?

That's a network infrastructure and policy issue. Use port security in
your switches, i.e. filter by MAC addresses so everybody who wants to
plug in their machine hast to pass by your desk and register their MAC.
Set up dhcpcd on every machine to log its actions to syslog so you can
determine the MAC address of every fake server that assigned some wrong
address. Then get a cat-5-o'nine-tails
(http://www.tasigh.org/tuq/whips.html) and wait.

regards
Matthias

-- 
I prefer encrypted and signed messages. KeyID: FAC37665
Fingerprint: 8C16 3F0A A6FC DF0D 19B0  8DEF 48D9 1700 FAC3 7665


pgpqiTVmtlBf1.pgp
Description: PGP signature


Re: [gentoo-user] DHCP and Problematic IP addreses

2006-01-17 Thread Matthias Bethke
Hi Ow,
on Tuesday, 2006-01-17 at 13:22:06, you wrote:
> I have a problem in which the DHCP server assigns a Bad IP address to
> me. (miss pings, long delays etc..)  I have tried various means to get a
> new IP but it's not giving it to me since the DHCP has bonded it self to
> my PCMCIA NIC's MAC Addr.
> 
> Short of waiting close 24 hours (and hoping that that address is not
> given back to me again!), is there any way to reject some IP addreses it
> provides to me?

I don't think so, but I'm not quite sure I understand this anyway. So
you have a DHCP server you don't control (@work?) and it's not giving
you the IP you want but something else---"abd" in what way? And it
remembers your PCMCIA card's MAC address...so you have another port in
your laptop and want to use that instead?
I'd think if the DHCP server gives you an andress that doesn't work in
your subnet then it's a server configuration issue and should be fixed
there.

regards
Matthias
-- 
I prefer encrypted and signed messages. KeyID: FAC37665
Fingerprint: 8C16 3F0A A6FC DF0D 19B0  8DEF 48D9 1700 FAC3 7665


pgplQGDnOcaIg.pgp
Description: PGP signature


[gentoo-user] OT: GPG (was: ipw2200 dmesg error)

2006-01-16 Thread Matthias Bethke
Hi Rafael,
on Sunday, 2006-01-15 at 21:58:06, you wrote:
> The server I've tried to upload returned always error 500. Now it is
> uploaded. Sorry I absolutely have forgotten to re-upload.

Looks better now :) I've been getting these 500 errors as well in the
last weeks, from several servers. The web interface usually works
though, and subkeys.us.pgp.net even still lets me upload from GPG.

cheers!
Matthias
-- 
I prefer encrypted and signed messages. KeyID: FAC37665
Fingerprint: 8C16 3F0A A6FC DF0D 19B0  8DEF 48D9 1700 FAC3 7665


pgpaj348aY9ZL.pgp
Description: PGP signature


Re: [gentoo-user] ipw2200 dmesg error

2006-01-15 Thread Matthias Bethke
Hi Rafael,
on Sunday, 2006-01-15 at 16:45:29, you wrote:
> Sorry I did a dmesg and that message shows for me too... but less times
> 
> [EMAIL PROTECTED] ~ $ dmesg | grep ipw2200
> ipw2200: Intel(R) PRO/Wireless 2200/2915 Network Driver, 1.0.10
> ipw2200: Copyright(c) 2003-2005 Intel Corporation
> ipw2200: Detected Intel PRO/Wireless 2200BG Network Connection
> ipw2200: Unknown notification: subtype=40,flags=0xa0,size=40
> ipw2200: Firmware error detected.  Restarting.

I have the same, though I never even noticed. The card works just fine.

BTW, Rafael, if you uploaded your key to the keyserver network, signing
your mail would even make sense :)

regards
Matthias


> ipw2200: Sysfs 'error' log captured.
> ipw2200: Firmware error detected.  Restarting.
> ipw2200: Sysfs 'error' log already exists.
> 
> Bye,
> Rafael Fernández López.
> -- 
> gentoo-user@gentoo.org mailing list
> 

-- 
I prefer encrypted and signed messages. KeyID: FAC37665
Fingerprint: 8C16 3F0A A6FC DF0D 19B0  8DEF 48D9 1700 FAC3 7665


pgpQnEJcfYByk.pgp
Description: PGP signature


[gentoo-user] Re: It's Dale from Gentoo list with the strace error.

2006-01-13 Thread Matthias Bethke
Hi Dale,
on Friday, 2006-01-13 at 17:06:58, you wrote:
> Here is the file if it helps.  If you would post a link to in the list.  
> Maybe 
> someone will make sense of it.  I'm clueless.

OK, the file is online at
http://www.linguistik.uni-erlangen.de/~msbethke/strace-dale.txt
It doesn't look like permissions or so were the problem though. Maybe
just let strace write everything to a file (strace -olog mozilla). The
result will prolly be huge, but gzipped it should be OK. There's 20G
free on the server ;)

regards
Matthias

-- 
I prefer encrypted and signed messages. KeyID: FAC37665
Fingerprint: 8C16 3F0A A6FC DF0D 19B0  8DEF 48D9 1700 FAC3 7665


pgpDJt7TxR2ql.pgp
Description: PGP signature


Re: [gentoo-user] I can't send email anymore. O_O

2006-01-13 Thread Matthias Bethke
Hi Dale,
on Friday, 2006-01-13 at 16:42:33, you wrote:
> Any ideas?  Anybody want to host this large strace file so others can see it? 
>  
> I don't have anyway to host it here.

No problem, just send it and I'll put it online.

regards
Matthias
-- 
I prefer encrypted and signed messages. KeyID: FAC37665
Fingerprint: 8C16 3F0A A6FC DF0D 19B0  8DEF 48D9 1700 FAC3 7665


pgpjxu547HhKC.pgp
Description: PGP signature


  1   2   >