Re: Kerberos-secured NFSv4: nss_getpwnam: name '8' does not map into domain

2015-07-10 Thread Jonas Meurer

Hi,

Am 2015-07-08 15:34, schrieb Jonas Meurer:

I've another annoying issue with my new Kerberos-secured NFSv4 setup.
Sometimes when Exim4 writes to the mounted NFS share, it fails to set
owner and permissions on the written file. Exim4 runs as local user
Debian-exim:Debian-exim but tries to set owner of created files on
the NFS share to 'mail:mail'. Both the local user Debian-exim and
the local user mail are authenticated against the Kerberos server and
principals 'debian-e...@domain.org' as well as 'm...@domain.org' do
exist.

Obviously, not time Exim4 creates a file and sets owner on the NFS
share, the error is produced. Most of the time, this just works and
new files are owned by 'mail:mail'. But sometimes, it fails. In
these cases, Exim4 gives the following error:


In the meantime, I did some further debugging. I still have no clue
what triggers the error. It happens serveral times every hour, but
I didn't find a pattern yet. Interestingly, the error vanishs by
itself after a few minutes.

Below's some debugging output of rpc.idmapd on the Kerberos-/NFS-
Server.

This is from an 'invalid argument' error triggered by a chown
operation by Exim4 (to mail:mail) on the NFS client:
Jul 10 10:46:59 nfs1 rpc.idmapd[4946]: nfsdcb: authbuf=gss/krb5i 
authtype=user
Jul 10 10:46:59 nfs1 rpc.idmapd[4946]: nfs4_name_to_uid: calling 
nsswitch-name_to_uid
Jul 10 10:46:59 nfs1 rpc.idmapd[4946]: nss_getpwnam: name '8' domain 
'freesources.org': resulting localname '(null)'
Jul 10 10:46:59 nfs1 rpc.idmapd[4946]: nss_getpwnam: name '8' does not 
map into domain 'freesources.org'
Jul 10 10:46:59 nfs1 rpc.idmapd[4946]: nfs4_name_to_uid: 
nsswitch-name_to_uid returned -22
Jul 10 10:46:59 nfs1 rpc.idmapd[4946]: nfs4_name_to_uid: final return 
value is -22
Jul 10 10:46:59 nfs1 rpc.idmapd[4946]: Server : (user) name 8 - id 
65534


This is from an 'invalid argument' error triggered by a manual
'chown mail:mail ...' by root user on the NFS client:
Jul 10 10:49:12 nfs1 rpc.idmapd[4946]: nfsdcb: authbuf=gss/krb5i 
authtype=user
Jul 10 10:49:12 nfs1 rpc.idmapd[4946]: nfs4_uid_to_name: calling 
nsswitch-uid_to_name
Jul 10 10:49:12 nfs1 rpc.idmapd[4946]: nfs4_uid_to_name: 
nsswitch-uid_to_name returned 0
Jul 10 10:49:12 nfs1 rpc.idmapd[4946]: nfs4_uid_to_name: final return 
value is 0
Jul 10 10:49:12 nfs1 rpc.idmapd[4946]: Server : (user) id 8 - name 
m...@freesources.org
Jul 10 10:49:12 nfs1 rpc.idmapd[4946]: nfsdcb: authbuf=gss/krb5i 
authtype=group
Jul 10 10:49:12 nfs1 rpc.idmapd[4946]: nfs4_gid_to_name: calling 
nsswitch-gid_to_name
Jul 10 10:49:12 nfs1 rpc.idmapd[4946]: nfs4_gid_to_name: 
nsswitch-gid_to_name returned 0
Jul 10 10:49:12 nfs1 rpc.idmapd[4946]: nfs4_gid_to_name: final return 
value is 0
Jul 10 10:49:12 nfs1 rpc.idmapd[4946]: Server : (group) id 8 - name 
m...@freesources.org


And this is from a successfull 'chown mail:mail ...' by root user
on the NFS client just after it works again:
Jul 10 10:50:34 nfs1 rpc.idmapd[4946]: nfsdcb: authbuf=gss/krb5i 
authtype=user
Jul 10 10:50:34 nfs1 rpc.idmapd[4946]: nfs4_name_to_uid: calling 
nsswitch-name_to_uid
Jul 10 10:50:34 nfs1 rpc.idmapd[4946]: nss_getpwnam: name 
'm...@freesources.org' domain 'freesources.org': resulting localname 
'mail'
Jul 10 10:50:34 nfs1 rpc.idmapd[4946]: nfs4_name_to_uid: 
nsswitch-name_to_uid returned 0
Jul 10 10:50:34 nfs1 rpc.idmapd[4946]: nfs4_name_to_uid: final return 
value is 0
Jul 10 10:50:34 nfs1 rpc.idmapd[4946]: Server : (user) name 
m...@freesources.org - id 8
Jul 10 10:50:34 nfs1 rpc.idmapd[4946]: nfsdcb: authbuf=gss/krb5i 
authtype=group
Jul 10 10:50:34 nfs1 rpc.idmapd[4946]: nfs4_name_to_gid: calling 
nsswitch-name_to_gid
Jul 10 10:50:34 nfs1 rpc.idmapd[4946]: nfs4_name_to_gid: 
nsswitch-name_to_gid returned 0
Jul 10 10:50:34 nfs1 rpc.idmapd[4946]: nfs4_name_to_gid: final return 
value is 0
Jul 10 10:50:34 nfs1 rpc.idmapd[4946]: Server : (group) name 
m...@freesources.org - id 8


1234567890123456789012345678901234567890123456789012345678901234567890
Probably this is related to Kerberos authentication tickets? I
authenticate users Debian-exim, dovecot and mail from client to the
Kerberos server with k5start by using the following k5start syntax:

start-stop-daemon --start --quiet --exec /usr/bin/k5start --pidfile \
/var/run/k5start-${USR}.pid -- -u ${USR} -o ${USR} -p \
/var/run/k5start-${USR}.pid -k /tmp/krb5cc_$(id -u $USR) -b \
-f /etc/krb5.keytab -L -K 15

Sometimes it seems to help to restart k5start. Immediately afterwards,
the owner change works again. But I already discovered the opposite,
and a restart of k5start didn't change anything.

I'm a bit lost on debugging the problem. Unfortunately this whole
Kerberos world is rather new to me. If you have any hints about
how to proceed, that would be awesome :)

Cheers,
 jonas


2015-07-08 12:56:43 ... defer (22): Invalid argument: while setting
perms on maildir tmp/1742360537.H643669P4542.clt.domain.org

At the same time, the NFS/Kerberos-Server logs

Kerberos-secured NFSv4: nss_getpwnam: name '8' does not map into domain

2015-07-08 Thread Jonas Meurer

Hi again,

I've another annoying issue with my new Kerberos-secured NFSv4 setup.
Sometimes when Exim4 writes to the mounted NFS share, it fails to set
owner and permissions on the written file. Exim4 runs as local user
Debian-exim:Debian-exim but tries to set owner of created files on
the NFS share to 'mail:mail'. Both the local user Debian-exim and
the local user mail are authenticated against the Kerberos server and
principals 'debian-e...@domain.org' as well as 'm...@domain.org' do
exist.

Obviously, not time Exim4 creates a file and sets owner on the NFS
share, the error is produced. Most of the time, this just works and
new files are owned by 'mail:mail'. But sometimes, it fails. In
these cases, Exim4 gives the following error:

2015-07-08 12:56:43 ... defer (22): Invalid argument: while setting 
perms on maildir tmp/1742360537.H643669P4542.clt.domain.org


At the same time, the NFS/Kerberos-Server logs the following:

Jul  8 12:59:30 nfs1 rpc.idmapd[4353]: nss_getpwnam: name '8' does not 
map into domain 'domain.org'


Even more weird, after the described error happens, owner changes
don't work at all anymore for some time. Something like five minutes
later, everything works as expected again.

After searching the web, my first guess is that this is due to Exim4
trying to set owner of the created file to '8:8' instead of using
'mail:mail'. It seems like using UIDs isn't supported on
Kerberos-secured NFSv4 shares. Idmapd on the NFS/Kerberos server
is unable to map the user name '8' to a Kerberos principal.

But more testing reveiled that even a chown to '8:8' works on the
NFS share. So using UID instead of username doesn't seem to be the
problem here.

Do you have suggestions about what's the problem here or how to go
on with debugging?

Cheers,
 jonas


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: 
https://lists.debian.org/257a6d58537d4eebdfe48e17ca749...@imap.steindlberger.de



Re: NFSv4 first read/write takes 1 minute to start

2015-06-29 Thread Jonas Meurer
Hi Mart,

Am 28.06.2015 um 21:40 schrieb Mart van de Wege:
 I run a fileserver and am trying to switch over from NFSv3 to NFSv4 with
 RPC-GSS. My exports work, and my clients nicely authenticate to the
 Kerberos server and the NFS server, I can mount the exported filesystems
 and cd into them.
 
 But as soon as I try to read or write anything on the mounted
 filesystem, I get a timeout of 1 minute. After that, all other reads and
 writes on the mounted filesystem proceed normally.

I cannot help you with a comprehensive explanation, but at least I
discovered similar timeouts while fiddling around with my new
NFSv4+Kerberos setup. The first operation on a fresh mounted NFS share
took ages (one minute is quite possible). I don't remember whether it
timeouted or succeeded in the end.

Now that everything is in place and working as expected, I no longer
discover these timeouts. Every operation (read+write) to the NFS share,
starting with the first one, finishs within milliseconds.

 I tested it with sec=sys, and that shows no difference. Mounting goes
 fine, cd goes fine, first operation hangs.

Do you have your PTR records set correctly? Not sure whether it is
related, but apart from fixing Kerberos principal mapping and ticket
cache handling, the missing PTR record for my Kerberos/NFS server was
one of the last things I fixed.

Cheers,
 jonas



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/5591bb29.1030...@freesources.org



Re: write permissions on Kerberos secured NFS share

2015-06-28 Thread Jonas Meurer
Hi Christian,

thanks again for your very valuable help. It's much appreciated!

Am 28.06.2015 um 20:30 schrieb Christian Seiler:
 On 06/28/2015 08:03 PM, Christian Seiler wrote:
 On 06/28/2015 07:51 PM, Jonas Meurer wrote:
 root@clt# su -s /bin/sh -c cat /var/vmail/test.txt mail
 test
 root@clt# su -s /bin/sh -c touch /var/vmail/test mail
 touch: cannot touch ‘/var/vmail/test’: Permission denied

 The Kerberos ticket for local user 'mail' is managed by k5start:

 clt# ps -ef |grep k5start | grep mail
 root   8965  1  0 16:04 ? 00:00:00 /usr/bin/k5start -u \
 mail/nfs-client -o mail -p /var/run/k5start-mail.pid -b \
 -f /etc/krb5.keytab -L -K 30

 I don't understand why I don't have write access to the share as client
 user 'mail' (authenticated to Kerberos server as 'mail/nfs-client'.

 What ticket cache is k5start using? Does the user k5mail have
 access to it and does it know about it after su?

 What do the following commands say?

 su -s /bin/sh -c echo $KRB5CCNAME mail
 su -s /bin/sh -c klist mail

 It appears to me that you are running k5start as root and it uses
 the root user's default ticket cache - which as a) not known and
 b) not accessible to the mail user.

 You will probably want to specify the -k /path/to/cache and -o mail
 options to k5start - and you probably want to explicitly set
 KRB5CCNAME=FILE:/path/to/cache before running anything as the user
 mail.

Indeed, this was the problem. All instances of k5start used the default
ticket cache which seems to be /tmp/krb5cc_0 (0 for UID '0'). A quick
test reveiled that kerberos defaults to '/tmp/krb5cc_UID' for the
ticket cache. I now changed my k5start init script to set the ticket
cache accordingly, and afterwards that works:

clt# ps -ef | grep k5start | grep mail
root  10149  1  0 20:56 ?   00:00:00 /usr/bin/k5start -u mail \
-o mail -p /var/run/k5start-mail.pid -k /tmp/krb5cc_8 \
-b -f /etc/krb5.keytab -L -K 30
clt# su -s /bin/sh -c echo $KRB5CCNAME mail

clt# su -s /bin/sh -c klist mail
Ticket cache: FILE:/tmp/krb5cc_8
Default principal: mail@REALM

Valid starting   Expires  Service principal
06/28/2015 20:56:13  06/29/2015 06:56:13  krbtgt/REALM@REALM

 Also, I just noticed that your principal name was mail/nfs-client.
 Did you set up idmapping on the server correctly for that to work?

Yes, I fiddled around with static mapping. But now that I read your
explanation, using usernames without hostname as principal name sounds
way more obvious. As you can see above, I changed this now.

 Because if you use nsswitch idmapping (i.e. using the same as libc
 to resolve uids/gids, also the default), that will never work;
 nsswitch idmapping will always just accept username@REALM as the
 principal.
 
 So you should either tell it to fetch the principal 'mail' or, if
 you insist on keeping mail/nfs-client, then you should do:
 
  - if you are using umich_ldap, you can additionally have the
GSSAuthName LDAP attribute and set that to mail/nfs-client
for the 'mail' user

I don't use LDAP at all.

  - or, you can also add a static mapping for just the mail user,
mail/nfs-client, by editing the idmapd.conf on the server,
where you should then set
 
[Translation]
GSS-Methods=static,VALUE_WHAT_IT_WAS_BEFORE
[Static]
mail/nfs-client@REALM = mail
 
(If no GSS-Methods were specified, copy the contents of
the Methods= settings to VALUE_WHAT_IT_WAS_BEFORE.)

That's exactly, what I did before. I removed the static mapping (except
for user root) now that I migrated to your simpler approach.

Now - after a reboot that cleared all krb5 tickets and caches - write
access to the NFS shares works as normal user when the user has been
authenticated to the Kerberos server (via k5start) first.

Thank you very much, that was a big step forward for my new setup!

Cheers,
 jonas


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/559067a2.4050...@freesources.org



write permissions on Kerberos secured NFS share

2015-06-28 Thread Jonas Meurer
Hi,

I'm struggling with getting the permissions on an NFS share right.
Mounting the NFS share on my client works. Read/write access as user
'root' works, and read access as user 'mail' works as well after I
successfully authenticated at the Kerberos server as that user 'mail'.
Kerberos server and NFS server are the same machines.

Only write-access to the NFS share as user 'mail' doesn't work. The
share directory is owned by 'mail:mail' both on the server and on the
client. UID and GID are the same (8) for 'mail' on server an client.

What am I missing here?

svr# cat /etc/exports
/export XXX.XX.XX.XXX(sec=krb5i,rw,sync, \
no_subtree_check,no_root_squash,fsid=0)
/export/vmail   XXX.XX.XX.XXX(sec=krb5i,rw,sync, \
no_subtree_check,no_root_squash)
svr# showmounts --exports
/export/vmail   XXX.XX.XX.XXX
/export XXX.XX.XX.XXX
svr# ls -ald /export/vmail
drwxr-xr-x 3 mail mail 4096 Jun 28 12:58 /export/vmail

clt# grep vmail /etc/fstab
nfs-server:/vmail /var/vmailnfs4sec=krb5i 0 0
clt# mount | grep vmail
nfs-server:/vmail on /var/vmail type nfs4 (rw,relatime,vers=4.0, \
rsize=131072,wsize=131072,namlen=255,hard,proto=tcp,port=0, \
timeo=600,retrans=2,sec=krb5i,clientaddr=XXX.XX.XX.XXX, \
local_lock=none,addr=XXX.XX.XX.XXX)
clt# ls -ald /var/vmail
drwxrwsr-x 2 mail mail 4096 Oct 17  2014 /var/mail

root@clt# echo test /var/vmail/test.txt
root@clt# cat /var/vmail/test.txt
test
root@clt# su -s /bin/sh -c cat /var/vmail/test.txt mail
test
root@clt# su -s /bin/sh -c touch /var/vmail/test mail
touch: cannot touch ‘/var/vmail/test’: Permission denied

The Kerberos ticket for local user 'mail' is managed by k5start:

clt# ps -ef |grep k5start | grep mail
root   8965  1  0 16:04 ? 00:00:00 /usr/bin/k5start -u \
mail/nfs-client -o mail -p /var/run/k5start-mail.pid -b \
-f /etc/krb5.keytab -L -K 30

I don't understand why I don't have write access to the share as client
user 'mail' (authenticated to Kerberos server as 'mail/nfs-client'.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/55903409.4080...@freesources.org



Re: auto-mount NFS shares on boot

2015-06-27 Thread Jonas Meurer
Hi Sven,

Am 26.06.2015 um 19:28 schrieb Sven Joachim:
 On 2015-06-26 18:38 +0200, Jonas Meurer wrote:
 # grep nfs /etc/fstab
 nfs-server:/vmail /var/vmail nfs4 _netdev,sec=krb5i,bg 0 0

 results in unmounted NFS shares after reboot and:


 Jun 26 16:29:02 clt mount[352]: mount.nfs4: an incorrect mount
 option was specified
 
 mount.nfs4 prints this not very enlightening message if the mount
 syscall fails with EINVAL.

Very helpful ;) Thanks for the hint. At least it's good to know that my
fstab options are not the problem here.

 Maybe systemd uses an own impementation of mount.nfs4 and that doesn't
 support the 'sec=krb5i' option?
 
 No, it uses the tools from nfs-common.

Ah, thanks for clarifying. But at least the post if-up.d hook from
/etc/network/if-up.d/mountnfs exits without any action in case of a
running systemd:

# Skip the mountnfs hook when being triggered by the networking SysV init
# script and instead use the systemd built-in mechanisms to mount remote
# file systems.
# This avoids a deadlock caused by the rpcbind SysV init script depending
# on $network and the $network LSB facility being provided by the networking
# SysV init script.
if [ -d /run/systemd/system ]; then
systemctl list-jobs | grep -q network.target  exit 0
fi

 Executing the exact ExecMount command
 line from above manually after the boot process works as expected.
 
 Maybe rpcbind was started too late, see bug #763315[1] on that topic.
 What is the output of systemctl status rpcbind.service?

Mh, my first impression is that the bugreport is unrelated. I don't find
any systemd messages regarding ordering cycles in my dmesg. Also,
rpcbind is running at least after the boot process:

# systemctl status rpcbind.service
● rpcbind.service - LSB: RPC portmapper replacement
   Loaded: loaded (/etc/init.d/rpcbind)
  Drop-In: /run/systemd/generator/rpcbind.service.d
   └─50-rpcbind-$portmap.conf
   Active: active (running) since Sat 2015-06-27 10:21:10 UTC; 9min ago
   CGroup: /system.slice/rpcbind.service
   └─368 /sbin/rpcbind -w

Jun 27 10:21:10 clt rpcbind[350]: Starting rpcbind daemon


My impression is, that systemd tries to mount the NFS shares directly
after the root fs is mounted. At this time it fails because the network
is not setup yet. Afterwards, nothing picks up the missing NFS mounts
and as a result the boot process ends without NFS shares being mounted.

I don't know much about systemd and its changes to the boot process, but
I suspect that (some part of) systemd is meant to mount the NFS shares
once the network connection is established. Seems like that doesn't
happen. /etc/init.d/mountnfs.sh doesn't do anything on systemd systems
as it merely invokes /etc/network/if-up.d/mountnfs - which in turn
doesn't do anything on systemd systems (see above).

Cheers,
 jonas


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/558e7c63.4080...@freesources.org



Re: auto-mount NFS shares on boot

2015-06-27 Thread Jonas Meurer
Hi Brian,

Am 27.06.2015 um 07:29 schrieb bri...@aracnet.com:
 On Fri, 26 Jun 2015 19:28:37 +0200
 Sven Joachim svenj...@gmx.de wrote:
 
 
 Maybe rpcbind was started too late, see bug #763315[1] on that topic.
 What is the output of systemctl status rpcbind.service?
 
 i have a similar warning/error.
 
 interestingly my nfs mount seems to work for some reason even
 though it claims that there was a problem.

You mean that your systemd reports a ordering cycle in dmesg? And your
NFS shares are automatically mounted during boot process nevertheless?
Would you mind to share the NFS share entries from your /etc/fstab?

Cheers,
 jonas


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/558e7e85.1050...@freesources.org



Re: auto-mount NFS shares on boot

2015-06-27 Thread Jonas Meurer
Hi Christian,

thanks for the comprehensive reply. It helps a lot to better understand
the details of systemd NFS mount handling.

Am 27.06.2015 um 12:55 schrieb Christian Seiler:
 On 06/26/2015 07:44 PM, Arno Schuring wrote:
 On 2015-06-26 18:38 +0200, Jonas Meurer wrote:
 mount.nfs4 prints this not very enlightening message if the mount
 syscall fails with EINVAL.

 If I've understood the mount scripts correctly, the error is correct:
 the _netdev mount option is for mount scripts only, and should /not/
 be passed to the mount command.
 
 Not quite. mount(8) and mount.nfs4(8) do understand and ignore the
 _netdev option (at least in Jessie's version [1]), so they don't need
 to be filtered.

That's what I already assumed. Thanks for providing the links to confirm
this.

 Also:
 
  - _netdev is not required for nfs4/nfs filesystems, systemd has a
whitelist of filesystems it implicitly considers network
filesystems, and nfs4 is among them [2]
 
Also, if systemd hadn't detected it to be a network filesystem, it
would have assumed it to be a local filesystem - and for failing
local filesystems systemd drops you in an emergency shell, so the
systemd wouldn't even have booted then.
 
_netdev does have its uses [3], but not for a typical NFS mount.
 
  - the same error also occurs in the original poster's message when
_netdev was not specified, so it doesn't have to do anything with
this option

Ok, so the bottom line is that I don't need the '_netdev' option for NFS
mounts at all. I removed it from my fstab.

 I would guess that this is another case where systemd breaks
 backwards compatibility. Maybe it's mentioned in the release notes?
 
 No, systemd is not at fault here. (See above.)
 
 With respect to the original problem:
 
 Q1. Does it mount manually after boot?
 
 What does mount /var/vmail say?

As already mentioned, mounting the filesystems manually after the boot
process finished works as expected. I can mount the share by starting
'systemctl start var-vmail.mount'. Afterwards the NFS share is mounted
and 'systemctl status var-vmail.mount' says:

# systemctl status var-vmail.mount
● var-vmail.mount - /var/vmail
   Loaded: loaded (/etc/fstab)
   Active: active (mounted) since Sat 2015-06-27 12:55:55 UTC; 1s ago
Where: /var/vmail
 What: nfs-server:/vmail
 Docs: man:fstab(5)
   man:systemd-fstab-generator(8)
  Process: 982 ExecMount=/bin/mount -n nfs-server:/vmail /var/vmail -t
nfs4 -o sec=krb5i (code=exited, status=0/SUCCESS)

So I'm pretty sure that NFS is setup correctly both on server and
client. My problem is about mounting the NFS share automatically during
the boot process.

 [From here on assuming that the manual mount works:]
 
 Q5. What kind of network configuration do you use? It may be the case
 that you didn't tell it to make systemd wait for it to be online
 before attempting to mount stuff.[4] Scenarios:

The NFS client in question is a Xen DomU/VM server system. It doesn't
have NetworkManager installed and I didn't configure anything
systemd-networkd specific. My ethernet devices are configured in
/etc/network/interfaces.

- you are using /etc/network/interfaces and have allow-hotplug eth0
  (or whatever your interface is called) in there
 
  Unfortunately, /etc/network/interfaces is Debian-specific and they
  don't have a hook for allow-hotplug interfaces w.r.t. the
  network-online.target logic of systemd

Very interesting. Indeed, debian-installer by default adds network
devices as 'allow-hotplug' to /etc/network/interfaces.

  However, since you need the interface at boot anyway, you don't
  need allow-hotplug, you can just change it to auto, e.g.:
  allow-hotplug eth0 - auto eth0 in /etc/network/interfaces
 
  Then /etc/init.d/networking (which is used to set up the
  interfaces in Debian from /etc/network/interfaces) will wait until
  the interface is up before continuing

I changed 'allow-hotplug eth0' to 'auto eth0' in /etc/network/interfaces
now. Unfortunately it didn't have any effect. Still the same error
message during boot process, still no mounted NFS shares after boot.

- On some systems with static IP addresses (and
  /etc/network/interfaces), I had the problem that even though the
  interface was conisdered up and ready by the kernel, the switch it
  was connected to needed 30s or so to realize that fully (and
  packets were simply dropped beforehand). Since those systems also
  needed to mount NFS, on Jessie systems I use the following unit
  file to try to ping the NFS server before systemd should continue
  with NFS mounts:

I don't believe that this is a problem here. The NFS client is inside a
private network that is routed on the Xen server, so no need to wait for
a switch to detect an 'up' link.

I'm still pretty confident that systemd for some reason tries to mount
the NFS shares before the network connection

Re: auto-mount NFS shares on boot

2015-06-27 Thread Jonas Meurer
Hi Christian,

Am 27.06.2015 um 16:07 schrieb Christian Seiler:
 (Ccing the bugtracker because it appears you've stumbled upon a bug
 that also a few other people had, see below. Please don't reply to the
 bugtracker yourself unless you feel it's relevant for the bug report.)
 
 Link to thread on debian-user for people reading the bug report:
 https://lists.debian.org/debian-user/2015/06/msg01508.html

Thanks for linking this thread to bugreport #775542. I wasn't aware of
that bugreport yet.

 On 06/27/2015 03:39 PM, Jonas Meurer wrote:
 Could you run the following?
 systemd-analyze plot  bootup.svg
 
 Ok, so the following is going on:
 
   - local-fs.target is reached, this leads to networking.service
 being started
 
   - networking.service sets up network configuration (takes 172ms)
 
   - after networking.service is done, network.target is reached
 
   - after network.target is reached, network-online.target is
 reached (since you don't have any services that wait for the
 network connection like NetworkManager-wait-online.service,
 but you also don't need it here, since networking.service
 with a static configuration and 'auto eth0' will make sure
 the network is up properly before even network.target is
 reached, so that's not a problem)
 
   - but then immediately after that systemd tries to mount the NFS
 filesystem
 
   - in parallel, first rpcbind and then nfs-common is started

Thanks a lot for disassembling and explaining the boot procedure. I see
that the problem here is that systemd doesn't wait for rpcbind.service
and nfs-common.service to finish before it mounts the NFS shares.

 This is a bug, that shouldn't happen. Rationale:
 
 The problem here is that you are using sec=krb5i type mounts, where
 rpc.gssd needs to have been started (by nfs-common) BEFORE mounting
 can take place. Unfortunately, there's no ordering relating
 nfs-common to remote filesystems, so systemd will start them in
 parallel and the mount will fail.
 
 I myself have never seen this because I've only used sec=sys NFSv4
 mounts with Jessie, and those don't require any service to be started
 when trying to mount them - and while the idmapper may be required to
 have proper permissions, that can be started later (or not at all if
 you use the new nfsidmap + request-key logic instead of idmapd).
 
 But with sec=krb5i mounts, this is bad, because you need rpc.gssd to
 mount the filesystems.
 
 What's missing here is an ordering dependency between
 remote-fs-pre.target and nfs-common.service.
 
 Searching through the bugtracker, this appears to be the same bug
 as #775542 [1], that's why I've copied this message to that bug
 report.
 
 Could you try to do the following:
 
 1. create a directory /etc/systemd/system/remote-fs-pre.target.d
 2. create a file /etc/systemd/system/remote-fs-pre.target.d/nfs.conf
with the following contents:
 
 [Unit]
 After=nfs-common.service
 
 And then reboot your system? I would bet it should work then.

Perfect, that solution works like a charm. nfs-common is started before
remote-fs, thus rpc.gssd runs already when the NFS share is mounted.

I suggest to add this simple fix to Jessie by uploading it to
stable-proposed-updates. What do you think? Also, do you think that
/etc/systemd/system/remote-fs-pre.target.d/nfs.conf belongs to systemd
package or to nfs-common? I would say it belongs to nfs-common as that
one provides the required tools and services to mount NFS shares on a
client.

What do the maintainers think? I'm happy to prepare a patch for either
package and eventually make an upload to stable-proposed-updates if the
maintainers don't have time to do so themselves. Just tell me if I
should go ahead.

Cheers,
 jonas


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/558ee51e.4040...@freesources.org



Re: auto-mount NFS shares on boot

2015-06-26 Thread Jonas Meurer

Hi again,

Am 2015-06-26 18:15, schrieb Sven Joachim:

On 2015-06-26 17:42 +0200, Jonas Meurer wrote:


While searching the web I learned that Ubuntu and Redhat based distros
seem to support the '_netdev' option to entries in /etc/fstab for such
cases, but it seems like Debian doesn't support this option, right?


Huh, what makes you think so?  The option is mentioned in mount(8) and
has been present since util-linux version 2.11x, released 2002.


Oops, I searched only in fstab(5) and nfs(5) manpages. Still, the
option doesn't work:


# grep nfs /etc/fstab
nfs-server:/vmail /var/vmail nfs4 _netdev,sec=krb5i,bg 0 0


results in unmounted NFS shares after reboot and:


[FAILED] Failed to mount /var/vmail.
See 'systemctl status var-vmail.mount' for details.
[DEPEND] Dependency failed for Remote File Systems.
 Starting Trigger Flushing of Journal to Persistent Storage...
 Starting LSB: Prepare console...

# systemctl status var-vmail.mount
● var-vmail.mount - /var/vmail
   Loaded: loaded (/etc/fstab)
   Active: failed (Result: exit-code) since Fri 2015-06-26 16:29:02 
UTC; 6s ago

Where: /var/vmail
 What: nfs-server:/vmail
 Docs: man:fstab(5)
   man:systemd-fstab-generator(8)
  Process: 352 ExecMount=/bin/mount -n nfs-server:/vmail /var/vmail -t 
nfs4 -o sec=krb5i,_netdev (code=exited, status=32)


Jun 26 16:29:02 clt mount[352]: mount.nfs4: an incorrect mount option 
was specified
Jun 26 16:29:02 clt systemd[1]: var-vmail.mount mount process exited, 
code=exited status=32

Jun 26 16:29:02 clt systemd[1]: Failed to mount /var/vmail.
Jun 26 16:29:02 clt systemd[1]: Unit var-vmail.mount entered failed 
state.


Am 2015-06-26 18:01, schrieb Michael Beck:

does the NFS-soft-mount-option work for your NFS-Client?


nope, doesn't help either.

Actually, even with only 'sec=krb5i' as single option, 'systemctl
status var-vmail.mount' reports afterwards:


[...]
  Process: 351 ExecMount=/bin/mount -n nfs-server:/vmail /var/vmail -t 
nfs4 -o sec=krb5i (code=exited, status=32)


Jun 26 16:34:08 clt mount[351]: mount.nfs4: an incorrect mount option 
was specified
Jun 26 16:34:08 clt systemd[1]: var-vmail.mount mount process exited, 
code=exited status=32

Jun 26 16:34:08 clt systemd[1]: Failed to mount /var/vmail.
Jun 26 16:34:08 clt systemd[1]: Unit var-vmail.mount entered failed 
state.


Maybe systemd uses an own impementation of mount.nfs4 and that doesn't
support the 'sec=krb5i' option? Executing the exact ExecMount command
line from above manually after the boot process works as expected.

Cheers,
 jonas


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: 
https://lists.debian.org/f5926f1eef088ed9bbe2815296bd7...@imap.steindlberger.de



auto-mount NFS shares on boot

2015-06-26 Thread Jonas Meurer

Hello,

I fail to configure my Debian/Jessie server system in a way that the
NFS mounts are mounted automatically on boot.

Problem seems to be that the NFS mounts are mounted directly after
the root fs, before the network is set up properly. Also, the mountnfs
if-up.d hook from /etc/network/if-up.d/mountnfs doesn't work for
systemd systems.

Here's the relevant output from the boot console:


[FAILED] Failed to mount /var/vmail.
See 'systemctl status var-vmail.mount' for details.
[DEPEND] Dependency failed for Remote File Systems.
 Starting Trigger Flushing of Journal to Persistent Storage...
 Starting LSB: Prepare console...


And 'systemctl status var-vmail.mount' reveils:


Process: 352 ExecMount=/bin/mount -n nfs1.freesources.org:/vmail
/var/vmail -t nfs4 -o sec=krb5i,bg (code=exited, status=32)


While searching the web I learned that Ubuntu and Redhat based distros
seem to support the '_netdev' option to entries in /etc/fstab for such
cases, but it seems like Debian doesn't support this option, right?

Is there any other solution to mount NFS shares during boot process on
Debian Jessie systems? Mounting the manually (or by rc.local) later is
not an option for me. Several service daemons that start later in the
boot process depend on the NFS shares being mounted.

Cheers,
 jonas


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: 
https://lists.debian.org/ca566086919f8e97d53bf5bca7d4e...@imap.steindlberger.de



Re: NFSv4+Kerberos shares and ownership (root:root)

2015-06-09 Thread Jonas Meurer
Hi again,

Am 08.06.2015 um 00:10 schrieb Jonas Meurer:
 I'm trying to setup a new NFSv4 server with Kerberos as authentication.
 The shares are exported as expected and I'm able to mount them using
 krb5i authentication on the NFS clients.
 
 My problem is ownership and permission management on the exported
 shares. I need the shares and their content to be owned by root:root and
 read-write access by root to the shares on the clients is required.

I found a solution to my problem in the meantime: by adding static
mapping to idmapd and mapping the kerberos client machine credentials to
local root account on the server. The implementation is explained here:

https://serverfault.com/questions/526762/root-access-to-kerberized-nfsv4-host-on-ubuntu/526820#526820

With this static mapping added, root on the client machine (who
identifies with client machine credentials at Kerberos) is mapped to
local root user on the server. That way, it's possible to own files to
root:root on Kerberos-secured NFSv4 shares.

I'm still wondering whether there's better solutions without the need
for static mapping. A drawback of static mapping is that a new mapping
is needed for every NFS client machine that needs root access to the shares.

Cheers,
 jonas


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/5576e877.70...@freesources.org



NFSv4+Kerberos shares and ownership (root:root)

2015-06-07 Thread Jonas Meurer
Hello,

I'm trying to setup a new NFSv4 server with Kerberos as authentication.
The shares are exported as expected and I'm able to mount them using
krb5i authentication on the NFS clients.

My problem is ownership and permission management on the exported
shares. I need the shares and their content to be owned by root:root and
read-write access by root to the shares on the clients is required.

I understand that NFSv4 usually squashs root accesses and maps them to
another UID/GID. This is turned off with 'no_root_squash'. Seems like
that's not true in my case, or I'm missing something:

When I set ownership of the exported shares to root:root on the server,
root on the client is not allowed to write to them:

client:~# mkdir /home/test
mkdir: cannot create directory ‘/home/test’: Permission denied

If I chown the exported share to nobody:nogroup on the server, then I'm
able to write as user root. But new created files/dirs will be owned by
nobody:nogroup and it's impossible to chown the objects afterwards.


My shares are configured the following way in /etc/exports on the NFS
server:
/export
192.168.0.1/24(sec=krb5i,rw,sync,no_subtree_check,no_root_squash,fsid=0)
/export/home
192.168.0.1/24(sec=krb5i,rw,sync,no_subtree_check,no_root_squash)

And the client configuration (/etc/fstab) looks as follows:
server:/home /home nfs4 sec=krb5i,bg 0 0

Is it possible to configure NFSv4+Kerberos the way that shares for
root:root are writeable by clients and that I'm able to use/modify
UID/GID based permissions/ownership on NFS shares from the client?

Btw, I didn't find relevant log entries either on client or on server,
even though I enabled debug options for rpcmountd, idmapd and svcgssd.

I used the following documentation as reference for my setup:
https://wiki.debian.org/NFS/Kerberos
https://help.ubuntu.com/community/NFSv4Howto#NFSv4_with_Kerberos
https://help.ubuntu.com/community/Kerberos
http://wiki.ubuntuusers.de/Kerberos/NFS_mit_Kerberos_sichern

Cheers,
 jonas


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/5574c13e.9060...@freesources.org



EDAC errors: false positives or broken RAM? (i5000)

2011-08-16 Thread Jonas Meurer
Hey,

I'm getting tons of EDAC error messages from the kernel lately on a
i5000 server with 16GB RAM (4 x 4GB modules). The server runs since
about three years.

The system is Debian Lenny with 2.6.26 kernel, selfcompiled from
linux-source-2.6.26 2.6.26-26lenny3.

It's not the first time, that these EDAC error messages appear.
Actually, in the last three years, I got these errors every now and
then. Sometimes only few errors where logged, sometimes my logs were
spammed with the errors for several days, but then it stopped again.

Now, the messages keep spamming my log and console for more than three
weeks already. A some days I get more than 36000 errors a day.

It's noteable, that every DRAM-Bank from 0 to 7 is affected.

Now I wonder, whether these are false positives (searching for the
errors in the web revealed that these are quite common), or whether my
RAM might be damaged.

Unfortunately, running memtest86+ is not an option, as the server in
question is a production server, and I don't have a second server for
redundancy.

Additionally, a slightly related question: How do I turn off the logging
of these messages to console? It's impossible to work in a SSH session
when the console is spammed with these logs. Neither setting
kernel.printk, nor 'setterm -msg 0', 'dmesg -n1' or 'echo 1 
/proc/sysrq-trigger' do stop the logging flood to console. Did I miss
anything, or is it simply impossible to stop console logging for this
kind of kernel error messages. That would be very unfortunate.

I already considered to recompile the kernel without EDAC i5000 driver
in order to stop this annoyance, but I would prefer to fix the reason
instead of fighting the symptoms.

Here's an example error message:

Aug 16 13:08:20 nibbler kernel: EDAC i5000 MC0: FATAL ERRORS Found!!!
1st FATAL Err Reg= 0x4
Aug 16 13:08:20 nibbler kernel: EDAC i5000 MC0: Tmid Thermal event with
intelligent throttling disabled
Aug 16 13:08:20 nibbler kernel: EDAC MC0: UE row 1, channel-a= 0
channel-b= 1 labels -: (Branch=0 DRAM-Bank=6 RDWR=Read RAS=14214 CAS=0
FATAL Err=0x4)
Aug 16 13:08:22 nibbler kernel: EDAC i5000 MC0: FATAL ERRORS Found!!!
1st FATAL Err Reg= 0x4
Aug 16 13:08:22 nibbler kernel: EDAC i5000 MC0: Tmid Thermal event with
intelligent throttling disabled
Aug 16 13:08:22 nibbler kernel: EDAC MC0: UE row 0, channel-a= 0
channel-b= 1 labels -: (Branch=0 DRAM-Bank=3 RDWR=Read RAS=20 CAS=0
FATAL Err=0x4)
Aug 16 13:08:24 nibbler kernel: EDAC i5000 MC0: FATAL ERRORS Found!!!
1st FATAL Err Reg= 0x4
Aug 16 13:08:24 nibbler kernel: EDAC i5000 MC0: Tmid Thermal event with
intelligent throttling disabled
Aug 16 13:08:24 nibbler kernel: EDAC MC0: UE row 1, channel-a= 0
channel-b= 1 labels -: (Branch=0 DRAM-Bank=1 RDWR=Read RAS=3268 CAS=0
FATAL Err=0x4)

This is what the EDAC module logged at my last reboot:

Jun 27 00:10:29 nibbler kernel: EDAC MC: Ver: 2.1.0 Jun 23 2011
Jun 27 00:10:29 nibbler kernel: EDAC MC0: Giving out device to
'i5000_edac.c' 'I5000': DEV :00:10.0
Jun 27 00:10:29 nibbler kernel: EDAC PCI0: Giving out device to module
'i5000_edac' controller 'EDAC PCI controller': DEV ':00:10.0' (POLLED)

And last but not least the output of 'dmidecode -t memory':

# dmidecode 2.9
SMBIOS 2.5 present.

Handle 0x0038, DMI type 16, 15 bytes
Physical Memory Array
Location: System Board Or Motherboard
Use: System Memory
Error Correction Type: Multi-bit ECC
Maximum Capacity: 32 GB
Error Information Handle: Not Provided
Number Of Devices: 8

Handle 0x003A, DMI type 17, 27 bytes
Memory Device
Array Handle: 0x0038
Error Information Handle: Not Provided
Total Width: 72 bits
Data Width: 64 bits
Size: 4096 MB
Form Factor: FB-DIMM
Set: 1
Locator: ONBOARD DIMM_A1
Bank Locator: Channel A
Type: DDR2 FB-DIMM
Type Detail: Synchronous
Speed: 667 MHz (1.5 ns)
Manufacturer: 8551
Serial Number: 02028121
Asset Tag: Not Specified
Part Number: 72T512920EFA3SC

Handle 0x003C, DMI type 17, 27 bytes
Memory Device
Array Handle: 0x0038
Error Information Handle: Not Provided
Total Width: Unknown
Data Width: Unknown
Size: No Module Installed
Form Factor: FB-DIMM
Set: 2
Locator: ONBOARD DIMM_A2
Bank Locator: Channel A
Type: DDR2 FB-DIMM
Type Detail: Synchronous
Speed: Unknown
Manufacturer: MemUndefined
Serial Number: MemUndefined
Asset Tag: Not Specified
Part Number: MemUndefined

Handle 0x003D, DMI type 17, 27 bytes
Memory Device
Array Handle: 0x0038
Error Information Handle: Not Provided
Total Width: 72 bits
Data Width: 64 bits
Size: 4096 MB
Form Factor: FB-DIMM
Set: 1
Locator: ONBOARD DIMM_B1
Bank Locator: Channel B
Type: DDR2 FB-DIMM
Type Detail: Synchronous
Speed: 

Re: EDAC errors: false positives or broken RAM? (i5000)

2011-08-16 Thread Jonas Meurer
Hey,

Am 16.08.2011 19:31, schrieb Henrique de Moraes Holschuh:
 On Tue, 16 Aug 2011, Jonas Meurer wrote:
 Now, the messages keep spamming my log and console for more than three
 weeks already. A some days I get more than 36000 errors a day.

 It's noteable, that every DRAM-Bank from 0 to 7 is affected.

 Now I wonder, whether these are false positives (searching for the
 errors in the web revealed that these are quite common), or whether my
 RAM might be damaged.
 
 Memory errors _ARE_ a lot more common than people would like them to be.
 False positives are not common at all, but yes, a kernel bug could misdetect
 errors, and you _are_ running an ancient kernel.

Thanks for your reply. I know, that I'm running an ancient kernel.
Actually, I plan to upgrade the system to Debian Squeeze in one or two
months. Will see whether that helps.

I thought, that case of memory errors, other strange things would happen
as well. Processes would segfault and so on. If the system really has
memory errors, and the EDAC error messages refer to these errors, then
the memory errors already exist for more than a year. But nothing
*strange* happened in this year.
Maybe the memory errors don't lead to data corruption? I don't know much
about the interals of RAM modules. My naive opinion until now was, that
RAM errors imply big problems. But maybe errors with low severity do
exist as well, just like the overheating problems you mention below?

 Unfortunately, running memtest86+ is not an option, as the server in
 question is a production server, and I don't have a second server for
 redundancy.
 
 You better rethink that.  Your only server is spewing memory errors right
 and left, you don't have a second server, and you don't want to schedule
 emergency repair?

First - as mentioned earlier - I'm not convinced that the error messages
are caused by real memory errors. Searching the web for EDAC errors gave
loads of threads and blog posts about EDAC error messages being false
positives. And the fact that all banks are affected was mentioned
several times as indicator for false posítives.

Now I see that overheating might affect all banks as well.

I do have backups, and am able to setup the same server again within
hours. Unfortunately this is the only option for financial reasons.

 /proc/sysrq-trigger' do stop the logging flood to console. Did I miss
 anything, or is it simply impossible to stop console logging for this
 kind of kernel error messages. That would be very unfortunate.
 
 dmesg -c can do it.

As you already wrote yourself, 'dmesg -n' is what you mean. But
unfortunately even 'dmesg -n1' doesn't stop the EDAC error messages to
be logged to my ssh session.

 Aug 16 13:08:20 nibbler kernel: EDAC i5000 MC0: FATAL ERRORS Found!!!
 1st FATAL Err Reg= 0x4
 Aug 16 13:08:20 nibbler kernel: EDAC i5000 MC0: Tmid Thermal event with
 intelligent throttling disabled
 
 Well, it is complaining of memory module overheat, and that your BIOS has
 not programmed the chipset to slow down memory modules when they overheat.
 I've never seen any of the i5000-based servers around here doing that.

Maybe a BIOS update might help? I'll check that when I'm back at home.

Here's more information about the system:

# lspci -v -s 00:00.0
00:00.0 Host bridge: Intel Corporation 5000P Chipset Memory Controller
Hub (rev b1)
Subsystem: Intel Corporation Intel S5000PSLSATA Server Board
Flags: bus master, fast devsel, latency 0
Capabilities: [50] Power Management version 2
Capabilities: [58] Message Signalled Interrupts: Mask- 64bit- Queue=0/1
Enable-
Capabilities: [6c] Express Root Port (Slot-), MSI 00
Capabilities: [100] Advanced Error Reporting ?

 Handle 0x003A, DMI type 17, 27 bytes
 Memory Device
  Array Handle: 0x0038
  Error Information Handle: Not Provided
  Total Width: 72 bits
  Data Width: 64 bits
  Size: 4096 MB
  Form Factor: FB-DIMM
  Set: 1
  Locator: ONBOARD DIMM_A1
  Bank Locator: Channel A
  Type: DDR2 FB-DIMM
  Type Detail: Synchronous
  Speed: 667 MHz (1.5 ns)
  Manufacturer: 8551
  Serial Number: 02028121
  Asset Tag: Not Specified
  Part Number: 72T512920EFA3SC
 
 FB-DIMMS are nasty heat sources.  If they're not being cooled properly, they
 WILL get damaged.

I don't have control over the hardware. It's provided by the datacenter.

Greetings,
 jonas


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4e4af48c.1000...@freesources.org



unstable: gnome kind of broken?

2009-10-03 Thread Jonas Meurer
hello,

since gnome transition to 2.28 was started[1], my desktop seems kind of
broken. the look and feel is comparable to gnomes default five years ago
and several minor issues occured. applets don't start any more, the
position of my desktop icons is not restored after logout+login,
gnome-settings-daemon seems to have troubles, etc.

i know that unstable has its name for a reason. and i know that i don't
have to expect a working system in the middle of a transition.

but i neither found bugreports nor blog/mailinglist posts about this, so
i thought i ask on debian-user and see whether anybody knows more.

i would report bugreports myself, but unfortunately i simply don't know
which package to blame. i guess the look and feel issue is related to
gtk, while panel issues are gnome-panel etc. but maybe all bugs are
rather related to gnome2.28 parts currently missing in unstable.

greetings,
 jonas


signature.asc
Description: Digital signature


Re: unstable: gnome kind of broken?

2009-10-03 Thread Jonas Meurer
hey again,

On 03/10/2009 Jonas Meurer wrote:
 since gnome transition to 2.28 was started[1], my desktop seems kind of
 broken. the look and feel is comparable to gnomes default five years ago
 and several minor issues occured. applets don't start any more, the
 position of my desktop icons is not restored after logout+login,
 gnome-settings-daemon seems to have troubles, etc.
 
 i know that unstable has its name for a reason. and i know that i don't
 have to expect a working system in the middle of a transition.
 
 but i neither found bugreports nor blog/mailinglist posts about this, so
 i thought i ask on debian-user and see whether anybody knows more.
 
 i would report bugreports myself, but unfortunately i simply don't know
 which package to blame. i guess the look and feel issue is related to
 gtk, while panel issues are gnome-panel etc. but maybe all bugs are
 rather related to gnome2.28 parts currently missing in unstable.

i removed random gnome/gconf dotfiles from my homedir now. after
starting a new session, most of the issues i discovered disappeared. i
don't know which dotfile and/or application to blame though.

but it seems like it's related to gnome-settings-daemon.

greetings,
 jonas


signature.asc
Description: Digital signature


radeon tv-out (RV505)

2009-08-01 Thread Jonas Meurer
hello,

i tried to get the tv-out working for my radeon X1550 64-bit graphics
controller, but so far i failed.

xrandr lists the S-video output and even detects it as connected when
X is started with the option ATOMTVOut set to true for the radeon video
driver. but i don't see anything on the tv screen.

when i try to set the mode for S-video with 'xrandr --output S-video
--mode 800x600', nothing happens on the tv screen (still no image at
all), but instead the main computer screen gets screwed up. everything
looks blurred or smudged, i don't know how to describe it in english.

so i wonder if anyone got the tv-out working with a radeon RV505 chip
and the free radeon video driver.

my system is up-to-date debian/unstable amd64.

greetings,
 jonas


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: exim4: fallback smart hosts

2009-07-24 Thread Jonas Meurer
On 22/07/2009 lee wrote:
 On Thu, Jul 23, 2009 at 02:40:08AM +0200, Jonas Meurer wrote:
  On 22/07/2009 lee wrote:
   How did it solve the problem of authenticating with the smarthosts?
   You're not using open relays, are you?
  
  I simply added yet another line with smarthost:user:password to
  /etc/exim4/passwd.client
 
 That's nice --- I wouldn't have known that I'd be supposed to add it
 there ...

/usr/share/doc/exim4/README.Debian.gz:

2.3.1. Using Exim as SMTP-AUTH client

   If you want to set up Exim as SMTP AUTH client for delivery to your
   internet access provider's smarthost put the name of the server, your
   login and password in /etc/exim4/passwd.client. See the man page for
   exim4-config_files(5) for more information about the required format.
   [...]


greetings,
 jonas


signature.asc
Description: Digital signature


Re: exim4: fallback smart hosts

2009-07-22 Thread Jonas Meurer
On 22/07/2009 lee wrote:
  i do think that the configuration facilities have great advantages over
  plain conffile editing for unexperienced users. but they're not always
  an option for complicated setups.
  
  in my case the facility does exactly what I would like it to do: it
  takes the colon-seperated smarthost list and gives it as argument to the
  rout_list in the smarthost manualroute.
 
 How did it solve the problem of authenticating with the smarthosts?
 You're not using open relays, are you?

I simply added yet another line with smarthost:user:password to
/etc/exim4/passwd.client

greetings,
 jonas


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: exim4: fallback smart hosts

2009-07-21 Thread Jonas Meurer
hello,

On 21/07/2009 lee wrote:
 On Mon, Jul 20, 2009 at 11:43:37AM +0200, Jonas Meurer wrote:
  Is it possible to configure a fallback smart host in exim4?
 
 Afair it is possible by specifying several smart hosts instead of
 one. You need to look it up in info exim4 or in the PDF manual, but
 afair exim will try hosts on a host list one after another.

finally it was as simple as listing all smart hosts in a colon seperated
list.

  Unfortunately the debconf exim4-config configuration facility doesn't
 
 Yeah, I always copy the example config from the docs and use that
 instead, adapted to what I need --- I've not been able to figure out
 how to use that facility. Even if I could figure it out, I wouldn't be
 able to know how exim is configured ... Apache is even worse.

i do think that the configuration facilities have great advantages over
plain conffile editing for unexperienced users. but they're not always
an option for complicated setups.

in my case the facility does exactly what I would like it to do: it
takes the colon-seperated smarthost list and gives it as argument to the
rout_list in the smarthost manualroute.

greetings,
 jonas


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: fallback smart hosts

2009-07-21 Thread Jonas Meurer
On 20/07/2009 Neil Youngman wrote:
  Is it possible to configure a fallback smart host in exim4? I found
  information about setting fallback hosts in case that delivery failed,
  but that's not really what I am searching for.
 
 I haven't done this, but it looks as though it should be easy to configure. 
 Look at the route_list option in the manualroute router.
 
 http://www.exim.org/exim-html-current/doc/html/spec_html/ch20.html

great, thanks for the pointer. in fact i just had to list all smart hosts
seperated with colons. it was even possible to do that within the debian
configuration facility.

greetings,
 jonas


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: normal firefox for debian lenny 64bit?

2009-07-21 Thread Jonas Meurer
hey,

On 21/07/2009 Soren Orel wrote:
 I tried Swiftfox, because Iceweasel is still 3.0.6.

 [...]

 Are there any up-to-date Firefox clone browsers? :D:|

yes, iceweasel 3.5.1 is available in experimental:

http://packages.debian.org/experimental/iceweasel

greetings,
 jonas


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



exim4: fallback smart hosts

2009-07-20 Thread Jonas Meurer
Hello,

Is it possible to configure a fallback smart host in exim4? I found
information about setting fallback hosts in case that delivery failed,
but that's not really what I am searching for.

My exim4 mta uses a smart host (with SMTP AUTH) for sending remote mail,
and I would like to configure one or more fallback smart hosts in case
that the primary smart host that I currently use is not available.

Unfortunately the debconf exim4-config configuration facility doesn't
give options to configure one or more fallback smart hosts, so I'm
unsure about whether that is possible at all.

greetings,
 jonas


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



corrupted software raid

2008-09-07 Thread Jonas Meurer
Hello,

I upgraded one of my servers to debian/lenny recently, and unfortunately
I forgot to remove the apt pinning for mdadm from /etc/apt/preferences,
so an old mdadm from backports.org was kept installed, while the rest of
the system was updated to debian/lenny. this lead to a broken initramfs,
and the server didn't boot any more.

The server has two 500gb disks in software raid (md0 = swap, md1 = root).

after some (helpful) conversation with waldi from the debian-kernel
team I found out what the reason was (see bug #498029), upgraded mdadm
to latest version after booting with /dev/sda2 as root instead of
/dev/md1. after recreating the initramfs the system indeed booted again
with software raid enabled, but now the filesystem on /dev/md1 seemed
corruped. fsck failed in the boot process and i had to run it manually,
but that didn't fix all issues either, instead fsck repeated to start
from beginning infinitely.

so I stopped that, configured the system to again use only /dev/sda2 as
rootfs and booted. but somehow things got mixed up: /var/lib/dpkg/status
is missing, some parts of it are found in
/var/lib/dpkg/info/molly-guard.conffiles instead etc. in short, the fs
seems to be mixed up.

Currently I'm running 'fsck -y /dev/sdb2', and hopefully that system
isn't mixed up as bad as /dev/sda2 is.

anyway, once I managed to restore one of the two filesystems, how can I
start the raid again? how do I tell mdadm which one is the correct and
up-to-date device, and which one needs to be synced?
or is it even possible to automaticly restore the full filesystem from
the two raid devices?

greetings,
 jonas


signature.asc
Description: Digital signature


ethernet bonding device and virtual devices

2008-07-04 Thread Jonas Meurer
Hello,

I just setup a system with two hardware ethernet devices (eth0 and eth1)
to share these devices in a bonding device. I use 'mode=0 miimon=100
downdelay=2000 updelay=200' as options to the bonding kernel module, and
my /etc/network/interfaces contains the following:

auto bond0
iface bond0 inet static
address 86.30.195.27
netmask 255.255.255.248
network 86.30.195.24
broadcast 86.30.195.31
gateway 86.30.195.25
up /sbin/ifenslave bond0 eth0
up /sbin/ifenslave bond0 eth1

that works so far, but now I want to add virtual devices to enable more
ip addresses. i tried the following:

auto bond0:0
iface bond0:0 inet static
address 86.30.195.28
netmask 255.255.255.248
network 86.30.195.24
broadcast 86.30.195.31
gateway 86.30.195.25

'ifup bond0:0' bings up the device, and indeed it is even reachable via
ping from outside. But after some extensive ping tests for all ips I
discovered several packet losses at pinging the ips of the virtual
devices. That seems to get better everytime I retry but still I'm
concerned whether the way I configured my system is correct at all.

Maybe virtual devices are not really supported for bonding devices, and
maybe a better solution exists for adding more ip addresses to a bonding
device.

I'm looking forward to hear your opinions :-)

greetings,
 jonas


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: broken system after srm -r -d /tmp/.* (user login and several services not working)

2008-07-04 Thread Jonas Meurer
On 03/07/2008 Sven Joachim wrote:
  But I discovered something really strange. If I compare the output of
  'ls -al /' on my system and in the chroot, several directory sizes seem
  to be different. I thought that directorys always have a size of
  4069 bytes, but apparently this is not the case:
 
 The size of directories is a multiple of the inode size, at least in
 ext2/3 filesystems (might be different in reiserfs, I'm no expert).  If
 a directory has many entries, its size grows and will not shrink back if
 you delete these entries.  Since your system has been in use for several
 years, the differences are not so strange.

Ah, that explains the differences. thanks for the information.

  (on system) # ls -al /
  total 113
  drwx--  24 root root  4096 2008-07-03 18:51 .
  drwx--  24 root root  4096 2008-07-03 18:51 ..
  [...]
 
 Now to the failing su (and login) for non-root users:  Have a close look
 at the first lines of your directory listing and tell me if you see
 anything strange. ;-)
 
 I bet that after chmod 755 / you will be able to log in as a normal
 user again and your services will start to function. :-)

Yay, that's it! Everything works as expected again. Thanks a lot!!!

I don't know why I didn't find it earlier myself.

thanks for all your help, you rock!

greetings,
 jonas


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: broken system after srm -r -d /tmp/.* (user login and several services not working)

2008-07-03 Thread Jonas Meurer
On 02/07/2008 Sven Joachim wrote:
  I've broken my debian/unstable system by executing as root the command
  # srm -r -d /tmp/.*
 
 Ouch.  That seems a good command to run before you sell your hard
 disk. ;-)

yes :-/

  Login as root works without any issues.
 
  When I try to su to a normal user from root, I get: Cannot execute
  /bin/bash: Permission denied. The permissions for /bin/bash are ok:
  -rwxr-xr-x 1 root root 797784 2008-05-12 19:00 /bin/bash
 
 It's possible that the PAM modules or their configuration became
 corrupt.

I setup a clean chroot with the results of 'dpkg --get-selections' and
'debconf-get-selections'. now I'm at comparing md5sums of all files, but so
far I didn't find any mismatches except for files that are created at 
installation/system run time, like initramfs, pyc, doc-base files etc.

  all. And indeed, the system booted without issues, except that the
  services mentioned below didn't start, and the normal user login still
  didn't work as well.
 
 That's really surprising, I would not have expected the system to come
 up at all.

yes, I feared that too, but fortunately it worked :-)

  So I started to try to recover the system (I don't have system backups,
  I only backup /home):
 
 That's bad, you should at least backup /etc.  But you know already...

yes, now I know better ...

  # /etc/init.d/exim4 start
  Starting MTA:2008-07-01 20:49:06 Exim configuration error in line 662 of 
  /var/lib/exim4/config.autogenerated.tmp:
user mail was not found
 
 Could you post the contents of your /etc/passwd?  Even if that file
 exists, it may not contain all users.

sure, see below. but I'm pretty sure that no user is missing. And user
mail does exist.

  exim: could not open panic log - aborting: see message(s) above
  Invalid new configfile /var/lib/exim4/config.autogenerated.tmp, not 
  installing
  /var/lib/exim4/config.autogenerated.tmp to 
  /var/lib/exim4/config.autogenerated
 
  # /etc/init.d/gdm start
  Starting GNOME Display Manager: gdmgdm[16973]: WARNING: gdm_config_parse: 
  Authdir /var/lib/gdm does not exist. Aborting.
  gdm_config_parse: Authdir /var/lib/gdm does not exist. Aborting.
 
 Probably you need to recreate the missing directory.

No, that directory does exist:
# ls -al /var/lib/gdm
total 8
drwxr-x---  2 gdm  gdm  4096 2008-05-21 12:41 .
drwxr-xr-x 61 root root 4096 2008-06-30 22:17 ..

  # /etc/init.d/mysql start
  Starting MySQL database server: mysqld . . . . . . . . . . . . . . failed!
 
  # tail -n5 /var/log/syslog
  Jul  1 22:55:25 jonas /etc/init.d/mysql[17210]: 0 processes alive and 
  '/usr/bin/mysqladmin --defaults-file=/etc/mysql/debian.cnf ping' resulted in
  Jul  1 22:55:25 jonas /etc/init.d/mysql[17210]: /usr/bin/mysqladmin: 
  connect to server at 'localhost' failed
  Jul  1 22:55:25 jonas /etc/init.d/mysql[17210]: error: 'Can't connect to 
  local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)'
  Jul  1 22:55:25 jonas /etc/init.d/mysql[17210]: Check that mysqld is 
  running and that the socket: '/var/run/mysqld/mysqld.sock' exists!
  Jul  1 22:55:25 jonas /etc/init.d/mysql[17210]:
 
 Does /var/run exist at all?  Its absence could explain the failure to
 start services that want to put files there.  OTOH, it is included in
 base-files, so if you reinstalled that package, it should be there.

Yes, /var/run exists, and has content for several services:

# ls -al /var/run
total 132
drwxr-xr-x 22 rootroot4096 2008-07-03 09:15 .
drwxr-xr-x 16 rootroot4096 2008-06-30 20:24 ..
srw-rw-rw-  1 rootroot   0 2008-07-03 09:15 acpid.socket
drwxr-xr-x  2 rootroot4096 2008-04-11 14:21 apache2
-rw-r--r--  1 rootroot   5 2008-07-03 09:15 apache2.pid
srw-rw-rw-  1 rootroot   0 2008-07-03 09:15 atieventsd.socket
drwxr-xr-x  2 avahi   avahi   4096 2008-07-03 09:15 avahi-daemon
drwxr-xr-x  2 rootroot4096 2008-06-21 06:25 checksecurity
-rw-r--r--  1 rootroot   0 2008-07-03 09:15 .clean
-rw-r--r--  1 rootroot   5 2008-07-03 09:15 crond.pid
--  1 rootroot   0 2008-07-03 09:15 crond.reboot
drwxr-xr-x  3 rootlp  4096 2008-07-03 09:19 cups
drwxr-xr-x  2 messagebus  messagebus  4096 2008-07-03 09:15 dbus
drwxr-x---  2 Debian-exim Debian-exim 4096 2008-06-30 17:44 exim4
-rw-r--r--  1 rootroot   5 2008-07-03 09:15 gpm.pid
drwxr-xr-x  2 haldaemon   haldaemon   4096 2008-07-03 09:15 hal
drwxr-xr-x  2 identd  nogroup 4096 2008-06-14 16:50 identd
-rw-r--r--  1 rootroot   5 2008-07-03 09:15 inetd.pid
drwxr-xr-x  2 rootroot4096 2008-06-23 17:47 libvirt
drwxrwsr-x  2 rootmixmaster   4096 2008-03-07 14:36 mixmaster
drwxr-xr-x  2 mysql   root4096 2008-06-30 17:44 mysqld
drwxr-xr-x  2 rootroot4096 2008-07-03 09:15 network
-rw-r--r--  1 rootroot   5 2008-07-03 09:15 

Re: broken system after srm -r -d /tmp/.* (user login and several services not working)

2008-07-03 Thread Jonas Meurer
Hey Sven,

first thanks for your help!

On 03/07/2008 Sven Joachim wrote:
 On 2008-07-03 11:42 +0200, Jonas Meurer wrote:
 
   When I try to su to a normal user from root, I get: Cannot execute
   /bin/bash: Permission denied. The permissions for /bin/bash are ok:
   -rwxr-xr-x 1 root root 797784 2008-05-12 19:00 /bin/bash
 
 Can you run su under strace and see where it fails?

Sure, I attached the output of 'strace -f su tempuser'


And as I already mentioned, I setup a clean chroot with the output of
'dpkg --get-selections' and 'debconf-get-selections', to get a system as
similar as possible to my one. I started to compare the md5sums of all
files, but so far I didn't find anything.

But I discovered something really strange. If I compare the output of
'ls -al /' on my system and in the chroot, several directory sizes seem
to be different. I thought that directorys always have a size of
4069 bytes, but apparently this is not the case:

(in chroot) # ls -al /
total 84
drwxr-xr-x  21 root root  4096 Jul  2 18:33 .
drwxr-xr-x  21 root root  4096 Jul  2 18:33 ..
drwxr-xr-x   2 root root  4096 Jul  2 18:43 bin
drwxr-xr-x   3 root root  4096 Jul  2 18:37 boot
drwxr-xr-x  16 root root  4300 Jul  3 16:22 dev
drwxr-xr-x   3 root root  4096 Jul  2 18:32 emul
drwxr-xr-x 136 root root 12288 Jul  2 19:07 etc
drwxr-xr-x   6 root root  4096 Jun 30 18:44 home
drwxr-xr-x  15 root root  4096 Jul  2 18:39 lib
lrwxrwxrwx   1 root root20 Jul  2 18:32 lib32 - /emul/ia32-linux/lib
lrwxrwxrwx   1 root root 4 Jul  2 17:48 lib64 - /lib
drwxr-xr-x   2 root root  4096 Jul  2 17:49 media
drwxr-xr-x   2 root root  4096 May 18 14:37 mnt
drwxr-xr-x   2 root root  4096 Jul  2 17:49 opt
dr-xr-xr-x 126 root root 0 Jul  3 07:12 proc
drwxr-xr-x   5 root root  4096 Jul  3 16:28 root
drwxr-xr-x   2 root root  4096 Jul  2 18:38 sbin
drwxr-xr-x   2 root root  4096 Jun  7 21:35 selinux
drwxr-xr-x   3 root root  4096 Jul  2 17:51 srv
drwxr-xr-x   2 root root  4096 Jun  6 09:08 sys
drwxrwxrwt   3 root root  4096 Jul  3 16:40 tmp
drwxr-xr-x  11 root root  4096 Jul  2 18:32 usr
drwxr-xr-x  15 root root  4096 Jul  2 19:07 var

(on system) # ls -al /
total 113
drwx--  24 root root  4096 2008-07-03 18:51 .
drwx--  24 root root  4096 2008-07-03 18:51 ..
drwxr-xr-x   2 root root  4096 2008-06-30 22:11 bin
drwxr-xr-x   4 root root  1024 2008-06-30 22:18 boot
drwxr-xr-x   4 root root  4096 2008-07-02 19:41 chroot
drwxr-xr-x  16 root root  4300 2008-07-03 18:49 dev
drwxr-xr-x   3 root root  4096 2008-03-25 18:22 emul
drwxr-xr-x 137 root root 12288 2008-07-03 18:49 etc
drwxr-xr-x   6 root root  4096 2008-06-30 20:44 home
drwxr-xr-x  15 root root 12288 2008-07-02 20:56 lib
lrwxrwxrwx   1 root root20 2008-03-25 18:22 lib32 - /emul/ia32-linux/lib
lrwxrwxrwx   1 root root 4 2008-03-25 18:27 lib64 - /lib
drwx--   2 root root 16384 2008-03-25 17:56 lost+found
drwxr-xr-x   3 root root  4096 2008-06-30 13:30 media
drwxr-xr-x   2 root root  4096 2008-05-18 16:37 mnt
drwxr-xr-x   2 root root  4096 2008-03-25 18:08 opt
dr-xr-xr-x 123 root root 0 2008-07-03 09:12 proc
drwx--  20 root root  4096 2008-07-03 18:40 root
drwxr-xr-x   2 root root 12288 2008-06-30 22:11 sbin
drwxr-xr-x   2 root root  4096 2008-04-03 06:39 selinux
drwxr-xr-x   3 root root  4096 2008-03-26 04:46 srv
drwxr-xr-x  11 root root 0 2008-07-03 09:12 sys
drwxrwxrwt   3 root root  4096 2008-07-03 18:40 tmp
drwxr-xr-x  11 root root  4096 2008-05-31 01:00 usr
drwxr-xr-x  16 root root  4096 2008-06-30 20:24 var

boot, lib, sbin and sys all have very strange sizes on my system, don't
they?

greetings,
 jonas
execve(/bin/su, [su, tempuser], [/* 16 vars */]) = 0
brk(0)  = 0x60c000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x7f1828297000
access(/etc/ld.so.nohwcap, F_OK)  = -1 ENOENT (No such file or directory)
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x7f1828295000
access(/etc/ld.so.preload, R_OK)  = -1 ENOENT (No such file or directory)
open(/etc/ld.so.cache, O_RDONLY)  = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=93053, ...}) = 0
mmap(NULL, 93053, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f182827e000
close(3)= 0
access(/etc/ld.so.nohwcap, F_OK)  = -1 ENOENT (No such file or directory)
open(/lib/libpam.so.0, O_RDONLY)  = 3
read(3, \177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0\0\1\0\0\0\300\\0..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=42368, ...}) = 0
mmap(NULL, 2137584, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 
0x7f1827e73000
mprotect(0x7f1827e7d000, 2093056, PROT_NONE) = 0
mmap(0x7f182807c000, 4096, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x9000) = 0x7f182807c000
close(3)= 0
access(/etc/ld.so.nohwcap, F_OK)  = -1 ENOENT (No such file or directory)
open(/lib/libpam_misc.so.0, O_RDONLY) = 3
read(3, \177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0\0\1\0\0\0 \20\0

broken system after srm -r -d /tmp/.* (user login and several services not working)

2008-07-02 Thread Jonas Meurer
Hello,

I've broken my debian/unstable system by executing as root the command
# srm -r -d /tmp/.*

I aborted the command after something between 20 and 40 seconds, but
since then, my system behaves strange:

If I try to login as normal user on the console, I get the error
Unable to cd to '/home/user' and the login aborts.

Login as root works without any issues.

When I try to su to a normal user from root, I get: Cannot execute
/bin/bash: Permission denied. The permissions for /bin/bash are ok:
-rwxr-xr-x 1 root root 797784 2008-05-12 19:00 /bin/bash

I even tried to add a new user with 'adduser username', which seemed
to work without problems, but if I try to login/su to that new user,
the same errors occur. I already checked for /etc/passwd, /etc/group and
/etc/pam.d being available.

Additionally several services fail to start, please see below for exact
error messages.

Next, I rebooted to see whether the system still was able to boot at
all. And indeed, the system booted without issues, except that the
services mentioned below didn't start, and the normal user login still
didn't work as well.

So I started to try to recover the system (I don't have system backups,
I only backup /home):

First, I did a 'dpkg-reconfigure' for all installed packages, but as that
didn't change anything, I reinstalled all installed packages:

# packages=$(dpkg -l | grep ^i |awk '{print $2}')
# apt-get -o Dpkg::Options::=--force-confmiss --reinstall install $packages

That one succeeded for all packages except the ones that contain the
services which don't start anymore, and obviosly the reinstall didn't
fix that.

So now, i've a system which has all packages reinstalled with the dpkg
option to restore removed configfiles, but still user login and serveral
services fail.

Do you have any suggestions how to go on with debugging the issue? Maybe
you even discovered similar issues in the past?

It would be really painful to setup a clean new system and configure it
the way I like, as this system is already several years old and has
serveral individual configurations.

Now the exact error messages of the services that do fail to start:

# /etc/init.d/exim4 start
Starting MTA:2008-07-01 20:49:06 Exim configuration error in line 662 of 
/var/lib/exim4/config.autogenerated.tmp:
  user mail was not found
exim: could not open panic log - aborting: see message(s) above
Invalid new configfile /var/lib/exim4/config.autogenerated.tmp, not installing
/var/lib/exim4/config.autogenerated.tmp to /var/lib/exim4/config.autogenerated

# /etc/init.d/gdm start
Starting GNOME Display Manager: gdmgdm[16973]: WARNING: gdm_config_parse: 
Authdir /var/lib/gdm does not exist. Aborting.
gdm_config_parse: Authdir /var/lib/gdm does not exist. Aborting.

# /etc/init.d/mysql start
Starting MySQL database server: mysqld . . . . . . . . . . . . . . failed!

# tail -n5 /var/log/syslog
Jul  1 22:55:25 jonas /etc/init.d/mysql[17210]: 0 processes alive and 
'/usr/bin/mysqladmin --defaults-file=/etc/mysql/debian.cnf ping' resulted in
Jul  1 22:55:25 jonas /etc/init.d/mysql[17210]: /usr/bin/mysqladmin: connect to 
server at 'localhost' failed
Jul  1 22:55:25 jonas /etc/init.d/mysql[17210]: error: 'Can't connect to local 
MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)'
Jul  1 22:55:25 jonas /etc/init.d/mysql[17210]: Check that mysqld is running 
and that the socket: '/var/run/mysqld/mysqld.sock' exists!
Jul  1 22:55:25 jonas /etc/init.d/mysql[17210]:

# /etc/init.d/avahi start
Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon failed!

# tail -n4 /var/log/syslog
Jul  1 22:56:53 jonas avahi-daemon[17228]: Found user 'avahi' (UID 110) and 
group 'avahi' (GID 115).
Jul  1 22:56:53 jonas avahi-daemon[17228]: Successfully dropped root privileges.
Jul  1 20:56:53 jonas avahi-daemon[17228]: open(/var/run/avahi-daemon//pid): 
Permission denied
Jul  1 20:56:53 jonas avahi-daemon[17228]: Failed to create PID file: 
Permission denied


Just to prevent any flamewar about why I (should not) have invoked the
command in the first time, I know that I did make a mistake, but still
the reason why I invoked the command was that I intended to wipe all
data from /tmp to replace the /tmp on my rootfs with a tmpfs. srm
from the package secure_delete is a tool for secure file deletion,
just like shred or wipe. According to the manpage, the cmdline option
-d makes srm ignore the two dot special files . and .., so I
thought that the command was safe.
Few seconds later I had to learn that it was not. The execution took far
longer than it should for wiping some small files from /tmp, and I
aborted the execution after something between 20 and 40 seconds.

Afterwards my first guess was that srm might have started to delete the
files in /boot, as these are the first one in alphabetical order on /.
But it seems like all files in /boot where still present. So I went on
searching for missed files, but the only one I could identify was
/root/.bashrc.

So I rebooted to see whether 

Re: broken system after srm -r -d /tmp/.* (user login and several services not working)

2008-07-02 Thread Jonas Meurer
On 02/07/2008 Ron Johnson wrote:
 No flames, but thanks! for the informative post.
 
 A reboot cleanly clears out /tmp, so ISTM that the way to accomplish
 your ultimate goal is to run sfill soon after boot.

Yes, you're correct. ;-)
Thanks for the suggestion, will use that next time. Should have
considered that earlier, then I wouldn't have all the trouble now.

In the meanwhile, I had a new idea:

Maybe srm doesn't remove the overwritten files before quitting when it
is aborted. That way, some file on my system could still exist, but in a
truncated way: half of the file is still the orignal, the other half is
overwritten by srm.
If that would be the case, dpkg would not replace it with a new version
even when invoked with 'option --force-confmiss', correct? And debsums
would save the new md5sum of the truncated file in it's db.

I should have invoked debsums just after my accident, now it's maybe to
late. Nevertheless I tried it, but no success:

# debsums -as
debsums: checksum mismatch debsecan file /etc/default/debsecan
debsums: checksum mismatch grub-pc file /etc/default/grub
debsums: checksum mismatch nessusd file /etc/nessus/nessusd.conf
debsums: checksum mismatch openssh-client file /etc/ssh/ssh_config
debsums: checksum mismatch openvpn file /etc/default/openvpn
debsums: checksum mismatch pbuilder file /etc/pbuilderrc
debsums: checksum mismatch procps file /etc/sysctl.conf
debsums: checksum mismatch schroot file /etc/schroot/mount-defaults
debsums: checksum mismatch schroot file /etc/schroot/schroot.conf
debsums: checksum mismatch syslog-ng file /etc/syslog-ng/syslog-ng.conf

these are just the config files that I changed manually, so these
results are perfectly valid.

Too bad, I've no more ideas about how to go on. Any suggestions?

greetings,
 jonas


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



traffic monitoring tool with total statistics

2008-05-30 Thread Jonas Meurer
Hello,

I'm searching for a network traffic monitoring tool which supports to
report total numbers, like absolute mbytes/gbytes of ingoing/outgoing
traffic per week/month. The tools i've tested so far (munin, mrtg)
seem to support only relative numbers like curent, maximal, minmal
and average bytes per second.

I also gave darkstat a try, and this one indeed counts the total
transfered bytes splitted by in/out, but it doesn't show daily, weekly
or monthly values. Additionally its graphs are not very informative.

As I already use munin for host monitoring, I would be glad to hear that
mrtg or some munin plugin supports the kind of statistics I'm searching
for. But so far I failed to find something appropriate.

greetings,
 jonas


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: traffic monitoring tool with total statistics

2008-05-30 Thread Jonas Meurer
On 30/05/2008 Travis Crook wrote:
  I'm searching for a network traffic monitoring tool which supports to
  report total numbers, like absolute mbytes/gbytes of ingoing/outgoing
  traffic per week/month. The tools i've tested so far (munin, mrtg)
  seem to support only relative numbers like curent, maximal, minmal
  and average bytes per second.
 
 Have you tried vnstat?  It will give daily/weekly/monthly totals of
 incoming/outgoing traffic by interface (i.e. eth0, eth1).  Basic info
 and download (if not in Debian repository) found here:
 http://humdi.net/vnstat/.

Hey Travis,

Thanks a lot, vmstat indeed is exactly what I was searching for.
Especially in conjunction with vmstati and vmstat.cgi or the vmstat php
frontend.

greetings,
 jonas


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



gksu, gnome-keyring and lifetime of safed passwords

2008-05-30 Thread Jonas Meurer
Hello,

I'm using 'gksu -l x-terminal-emulator' for launching a root terminal,
and per default the root password will be saved in the gnome-keyring for
the whole lifetime of my gnome session.
Since I sometimes keep my system running for several days, the lifetime
of a session can be really long. And I don't want the root password to
be stored in the gnome keyring for that long.

So is there any way to limit the lifetime of passwords in the gnome
keyring by time? I could not find anything about that, thus I fear that
this is not supported.

Currently I completely disabled the usage of gnome keyring for gksu, but
typing the root password everytime (especially when you need to run
several apps by gksu in a short time) is not very comfortable.

greetings,
 jonas


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



x-terminal-emulator and delay at workspace change

2008-05-30 Thread Jonas Meurer
Hello,

I'm using rxvt-unicode as x-terminal-emulator, and often I do have many
terminals opened at the same time, some of them maximized (like the one
running mutt or irssi).

unfortunately, changing the workspaces in gnome seems to suffer from
these terminals. when changing to a workspace with a maximized terminal,
it takes up to two or three seconds until this terminal appears.
when changing to a workspace with many terminals with default window
size, the same happens.

i don't think that this is related to rxvt-unicode, as rxvt should
already by a light and fast terminal emulation. is this a known issue
and can i do anything about it?

maybe using some terminals with tabs lowers the memory usage? but then
still what can i do about maximized terminals? I really do need them to
see as much console output as possible.

greetings,
 jonas


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Brother laserprinter refuses to print pdfs

2008-02-04 Thread Jonas Meurer
On 04/02/2008 Chris Bannister wrote:
 On Sat, Feb 02, 2008 at 07:56:47PM +0100, Jonas Meurer wrote:
  Hello,
  
  I've a brother laserprinter (setup as network printer), which works
  quite well in general, except that it refuses to print most pdfs.
 
 apt-cache show cups-pdf
 
 Although the description is a bit vague. I would expect allows you to
 print pdf documents with cups although it seems in a round about way to
 suggest it is possible.

Hey Chris,

as Jochen already pointed out, cups-pdf provides a virtual printer to
the cups system that writes the output to a pdf file - instead of
provinding support for printing pdfs to a printer.

I think the description of the package is quite clear:

 CUPS-PDF provides a PDF Writer backend to CUPS. This can be used as a
 virtual printer in a paperless network or to perform testing on CUPS.

'a virtual printer in a paperless network' should be clear enough ;-)

unfortunately, it seems like this problem is not too common. at least
nobody else answered yet to my original message.

greetings,
 jonas


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Brother laserprinter refuses to print pdfs

2008-02-02 Thread Jonas Meurer
Hello,

I've a brother laserprinter (setup as network printer), which works
quite well in general, except that it refuses to print most pdfs.

I'm running debian/unstable with cups as printing backend.

When printing pdfs, regardless whether I try to print from evince, gimp
or invoke lpr directly (from cupsys-bsd), only an errormessage is
printed to the paper:

ERROR NAME;
   typecheck
COMMAND;
   image
OPERAND STACK;

As far as i can tell, other documents are printed just fine.

The only way to print pdfs right now is to first convert them to ps. but
unfortunately pdf2ps seems to have problems with some pdfs, therefore I
don't have any chance to print them.

Is there any way to make my printer print pdfs?

The config in /etc/cups/printers.conf is:

DefaultPrinter Brother_HL-5270DN
Info Brother HL-5270DN
Location Flur
DeviceURI lpd://192.168.3.11/
State Idle
StateTime 1200927229
Accepting Yes
Shared Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy stop-printer
/Printer

thanks in advance,
 jonas


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



system clock reset on reboot

2007-10-27 Thread Jonas Meurer
hello,

since one or two months, my system clock is reset on every reboot.

# date
Sun Oct 28 11:37:15 CET 2007
# ntpdate-debian
27 Oct 15:52:03 ntpdate[14642]: step time server 134.34.3.19 offset 
-74779.179229 sec

if i'm correct, this is due to a wrongly set hardware clock. so i set
the hardware clock to the system time after running ntpdate-debian:

# hwclock --systohc

but after the next reboot, my system (and hardware) clock is again reset
to some date and time in the future (something about 1d 4h, not exactly).

i remember some debconf question at the installation of debian, where i
was asked whether my hardware clock is set to GMT. is GMT the same as UTC?
and to which package does this question belong?

could a wrong answer here be the reason for my issues? if this is the
case, it must have changed in debian/unstable within the last months, as
i didn't have this problem before.

greetings,
 jonas


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: system clock reset on reboot

2007-10-27 Thread Jonas Meurer
On 27/10/2007 Russell L. Harris wrote:
 Has it been more than three or four years since you changed the CMOS
 RAM backup battery on the motherboard?  A dead battery can cause
 difficulties, because some of the time utilities expect to make only
 minor corrections (seconds and minutes, not months and years).

that's a good point. my motherboard indeed is about four years old,
maybe you're right, and the battery is dead.

the debconf question about hardware clock set to GMT seems not related,
as it is only about whether your clock is set to local time or not. it
doesn't offer the possibility of a dead or wrong hardware clock at all.

greetings,
 jonas


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: how to compile a xen dom0 kernel the debian way

2007-09-09 Thread Jonas Meurer
On 09/09/2007 Andy Smith wrote:
 Hi Jonas,

Hey Andi,

  i would like to give xen a try, but i didn't manage to compile a dom0
  host kernel yet.
 
 Do you need to?  What is wrong with Debian's xen kernels?

I don't think that there's anything wrong with debian's default kernels,
but I always use a selfcompiled kernel, and I'dd like to learn howto
compile a xen dom0 kernel as well.

Additionally it seems like current debian/unstable has no precompiled
xen dom0 linux-images, at least for amd64 (x86_64):

# apt-cache search linux-image | grep xen
#

  that's because i would like to use a recent linux kernel (2.6.20 at
  least), build it the debian way (with make-kpkg), and as well build
  some external modules (nvidia-legacy-96xx, ivtv) with module-assistent
  for it.
 
 You can't use a kernel.org kernel, as the xen feature is a patch
 developed external to the mainline kernel.

That's clear, but I could use a kernel.org kernel and patch it with the
corresponding xen patch, right?

 You can use the normal Debian kernel source and compile like you
 would normally, making sure to select the xen patch.

Unfortunately, this simply doesn't work. If I run 'make menuconfig' in
debians linux-source-2.6.22 sources, I don't get any xen options in
the submenu 'processor-type and features'.

  so how do you compile a xen dom0 host-kernel? is it possible with recent 
  kernel sources, and where do i find the corresponding xen patches?
 
 They come with Debian's kernel source.

Then maybe they come only for i386? As already written, on my amd64
system, I cannot find any xen options in debians linux-source-2.6.22.

greetings,
 jonas


signature.asc
Description: Digital signature


Re: how to compile a xen dom0 kernel the debian way

2007-09-09 Thread Jonas Meurer
On 09/09/2007 Andy Smith wrote:
 Hi Jonas,

Hi Andy,

   You can use the normal Debian kernel source and compile like you
   would normally, making sure to select the xen patch.
  
  Unfortunately, this simply doesn't work. If I run 'make menuconfig' in
  debians linux-source-2.6.22 sources, I don't get any xen options in
  the submenu 'processor-type and features'.
 
 So you have also installed linux-patch-debian-* and then done:
 
 $ sudo make-kpkg --added-patches xen clean
 $ sudo make-kpkg --added-patches xen kernel-image

 Also back when I did it, this bug was present and needed the
 described workaround:
 
 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=382699

Yes, exactly. Actually I do have some more options to make-kpkg:

# make-kpkg --rootcmd fakeroot --initrd --append-to-version \
-1-amd64-xen --revision 2.6.22-4 --added-patches xen clean
# make-kpkg --rootcmd fakeroot --initrd --append-to-version \
-1-amd64-xen --revision 2.6.22-4 --added-patches xen kernel_image

And indeed some patches seem to be applied (see below). But i still
don't see any xen options in menuconfig. Maybe the 2.6.22 xen patches
are for i386 only and not ported to amd64 yet?
That would also explain why no linux-image-2.6.22-2-xen-amd64 package
exists in debian/unstable.

output of 'make-kpkg ... --added-patches xen kernel_image':

[...]
test ! -f applied_patches || rm -f applied_patches
for patch in /usr/src/kernel-patches/all/2.6.22/apply/xen ; do\
  if test -x  $patch; then\
  if $patch; then \
  echo Patch $patch processed fine; \
  echo $patch  applied_patches;   \
  else \
   echo Patch $patch  failed.;  \
   echo Hit return to Continue;  \
   read ans;   \
  fi;  \
  fi;  \
done
Applying debian patch with xen parts
Warning: Can't find series file for 3
  (.) IGNORED   bugfix/arm/nas100d-pata-artop-single-port.patch
  (.) IGNORED   bugfix/m68k/falconide_intr_lock-reentrant.diff
  (.) IGNORED   bugfix/m68k/633-atari_scc.diff
  (.) IGNORED   bugfix/m68k/130-adbraw.diff
  (.) IGNORED   bugfix/m68k/141-ide.diff
  (.) IGNORED   bugfix/m68k/143-ioext.diff
  (.) IGNORED   bugfix/m68k/149-mc68681.diff
  (.) IGNORED   bugfix/m68k/152-pci.diff
  (.) IGNORED   bugfix/m68k/448-ide.diff
  (.) IGNORED   bugfix/m68k/478-serial.diff
  (.) IGNORED   bugfix/m68k/atari-rom-isa.diff
  (.) IGNORED   bugfix/m68k/atari-ethernec.diff
  (.) IGNORED   bugfix/m68k/unnecessary-m68k_memoffset.diff
  (.) IGNORED   bugfix/m68k/atari-aranym.diff
  (.) IGNORED   bugfix/m68k/ethernec-work.diff
  (.) IGNORED   bugfix/m68k/nfeth-virt_to_phys.diff
  (.) IGNORED   bugfix/m68k/ethernec-kill-ETHERNEC_USE_POLL.diff
  (.) IGNORED   bugfix/m68k/m68k-generic-io.diff
  (.) IGNORED   bugfix/m68k/m68k-mvme-scsi-rename.diff
  (.) IGNORED   bugfix/m68k/m68k-53c700-scsi.diff
  (.) IGNORED   bugfix/m68k/via-pmu68k-dead-code.diff
  (.) IGNORED   bugfix/m68k/dmasound_paula.diff
  (.) IGNORED   bugfix/m68k/disable-mac-broken-config-options.diff
-- 1 fully applied.
  (.) IGNORED   bugfix/m68k/falconide_intr_lock-reentrant.diff
  (.) IGNORED   bugfix/m68k/m68k-page.h-needs-compiler.h.diff
  (.) IGNORED   bugfix/m68k/630-extern-cleanup.diff.1
  (.) IGNORED   bugfix/m68k/m68k-use-_AC.diff
  (.) IGNORED   bugfix/m68k/m68k-amiga-z2ram-kill-TRUE-FALSE.diff
  (.) IGNORED   bugfix/m68k/add-termios2.diff
  (.) IGNORED   bugfix/m68k/m68k-arbitary-speed-tty-support.diff
  (.) IGNORED   bugfix/m68k/m68k-do-not-include-RODATA-in-text-segment.diff
  (.) IGNORED   bugfix/m68k/m68k-53c700-cleanups.diff
  (.) IGNORED   bugfix/m68k/split-amiga7xx.diff
  (.) IGNORED   bugfix/m68k/m68k-scsi-Kconfig-hickups.diff
  (.) IGNORED   bugfix/m68k/zorro_config_attr-read-only.diff
  (.) IGNORED   bugfix/m68k/zorro-module-device-table.diff
  (.) IGNORED   bugfix/m68k/falconide_intr_lock-ratelimit.diff
  (.) IGNORED   bugfix/m68k/debian-2.6.21-2-rom-isa.diff
-- 2 fully applied.
  (.) IGNORED   features/all/vserver/vs2.2.0.3.patch
  (.) IGNORED   features/all/vserver/bindmount-dev.patch
-- 4 fully applied.
Patch /usr/src/kernel-patches/all/2.6.22/apply/xen processed fine
echo done   stamp-patch

[...]

greetings,
 jonas


signature.asc
Description: Digital signature


how to compile a xen dom0 kernel the debian way

2007-09-06 Thread Jonas Meurer

hello,

i would like to give xen a try, but i didn't manage to compile a dom0
host kernel yet.

that's because i would like to use a recent linux kernel (2.6.20 at
least), build it the debian way (with make-kpkg), and as well build
some external modules (nvidia-legacy-96xx, ivtv) with module-assistent
for it.

in irc (#xen or ##xen) i was told to use the ubuntu linux-source-2.6.22
2.6.22-10.30 package, and according to the changelog it should contain
xen patches, but unfortunately a 'make menuconfig' in the sources didn't
give any xen options in 'processor-type and features'.

so how do you compile a xen dom0 host-kernel? is it possible with recent 
kernel sources, and where do i find the corresponding xen patches?

thanks in advance,
 jonas


signature.asc
Description: Digital signature


Re: howto build debian xen kernel?

2007-02-06 Thread Jonas Meurer
On 06/02/2007 Grok Mogger wrote:
 I didn't find any documentation about that topic. All howtos/tutorials/...
 that talk about building a xen kernel, use the original xen kernel
 sources, not the debian kernel source with patches.
 
 You may have some need to compile your own kernel, but if you'd 
 be fine with a pre-made vanilla Debian kernel, you can just 
 install the appropriate Xen package.  The right one will drop a 
 working Xen kernel in your /boot directory.  As I recall, you'll 
 have to edit your GRUB menu.lst file and make an initrd with 
 update-initramfs afterwards.  I think you want to pick one of 
 the packages that starts with xen-hypervisor.  There's a few 
 of them.
 
 I hope this might save you some trouble.

Hello Grok,

I've installed xen-hypervisor-3.0.3-1-amd64, which includes
/boot/xen-3.0.3-1-amd64.gz.

Do i still need a xen-enabled host kernel, or may i use the current
self compiled kernel?

I saw that the current linux-source-2.6.18 from unstable contains a
menuconfig option 'Xen support'. I guess that i need to enable this,
and then use /boot/xen-3.0.3-1-amd64.gz as domain0 kernel.

Is that correct?

The description for xen-hypervisor-3.0-unstable-1-amd64 claims:

 In order to boot a XEN system along with this package you also need a
 kernel specifically crafted to work as the Domain 0, mediating hardware
 access for XEN itself.  An example config file for this kernel and
 documentation on how to build it can be found in the xen-docs package.

But I cannot find any example kernel config in the xen-docs package.

greetings,
 jonas


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



howto build debian xen kernel?

2007-02-05 Thread Jonas Meurer
Hello,

I just tried to build a debian xen kernel, based on linux-source-2.6.18,
linux-patch-debian-2.6.18 and kernel-package.

According to the docs i found, i can apply the debian kernel sources in
the following way:

resivo:/usr/src/linux-source-2.6.18$ ../kernel-patches/all/2.6.18/apply/debian 
2.6.18-10

unfortunately, the xen (and vserver) patches are not in the default
patchset, but in an extra 'series'. so i thought that the following
should work:

resivo:/usr/src/linux-source-2.6.18$ ../kernel-patches/all/2.6.18/apply/debian 
2.6.18-10-extra
Error: Target revision is not in our list of revisions

obviously, it doesn't.

So my simple question is: how do i build a debian xen kernel with
make-kpkg from debian kernel sources?

The official debian kernel images don't use make-kpkg, so it wouldn't
help to look in debian/rules from linux-2.6.

I didn't find any documentation about that topic. All howtos/tutorials/...
that talk about building a xen kernel, use the original xen kernel
sources, not the debian kernel source with patches.

greetings,
 jonas


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: ping: invalid argument

2007-02-05 Thread Jonas Meurer
On 05/02/2007 Max Hyre wrote:
Dear Debianists:
 
Between two successive calls to ping, it crapped out.
 (Tried twice in a row because I had a flaky DSL connection,
 and wanted to see whether it had decided to join the party.)
 
 ==
 [EMAIL PROTECTED]:~# ifup eth0
 snip
 DHCPACK from 192.168.0.1
 bound to 192.168.1.64 -- renewal in 14 seconds.
 [EMAIL PROTECTED]:~# ping -n 1 www.debian.org
 ping: unknown host www.debian.org
 [EMAIL PROTECTED]:~# ping -n 1 www.debian.org
 connect: Invalid argument
 ==

I guess that the problem is '-n 1'. According to the ping manpage, the
option '-n' takes no argument:

  -nNumeric output only.  No attempt will be made to
lookup symbolic names for host addresses.

resivo:~# ping -n 1 www.debian.org
connect: Invalid argument

resivo:~# ping -n www.debian.org
PING www.debian.org (194.109.137.218) 56(84) bytes of data.
64 bytes from 194.109.137.218: icmp_seq=1 ttl=56 time=27.9 ms

...
 jonas


signature.asc
Description: Digital signature


system freezes with Matrox G400 and GLX

2007-02-05 Thread Jonas Meurer
Hello,

I use a Matrox G400 DH as graphics controller, and i run debian/unstable
on an amd64 system.

Unfortunately this leads to system freezes when i try to use 3d
rendering (GLX).

Some examples which do always freeze my system are xmms visualisations,
tuxkart and mixxx.

Do you have any suggestions where to start debugging? Is this a glx/mesa
bug, or a kernel mga driver bug, or a hardware problem?

Here is my system information:

[EMAIL PROTECTED]:~$ uname -a
Linux resivo 2.6.18-8-amd64-resivo #1 Sat Feb 3 08:52:31 CET 2007 x86_64 
GNU/Linux

[EMAIL PROTECTED]:~$ lspci
00:00.0 Host bridge: VIA Technologies, Inc. VT8385 [K8T800 AGP] Host Bridge 
(rev 01)
00:01.0 PCI bridge: VIA Technologies, Inc. VT8237 PCI bridge [K8T800/K8T890 
South]
00:06.0 USB Controller: NEC Corporation USB (rev 43)
00:06.1 USB Controller: NEC Corporation USB (rev 43)
00:06.2 USB Controller: NEC Corporation USB 2.0 (rev 04)
00:07.0 Multimedia video controller: Internext Compression Inc iTVC15 MPEG-2 
Encoder (rev 01)
00:0b.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8169 Gigabit 
Ethernet (rev 10)
00:0d.0 RAID bus controller: Promise Technology, Inc. PDC20378 (FastTrak 
378/SATA 378) (rev 02)
00:0e.0 FireWire (IEEE 1394): VIA Technologies, Inc. IEEE 1394 Host Controller 
(rev 80)
00:0f.0 RAID bus controller: VIA Technologies, Inc. VIA VT6420 SATA RAID 
Controller (rev 80)
00:0f.1 IDE interface: VIA Technologies, Inc. 
VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)
00:10.0 USB Controller: VIA Technologies, Inc. VT82x UHCI USB 1.1 
Controller (rev 81)
00:10.1 USB Controller: VIA Technologies, Inc. VT82x UHCI USB 1.1 
Controller (rev 81)
00:10.2 USB Controller: VIA Technologies, Inc. VT82x UHCI USB 1.1 
Controller (rev 81)
00:10.3 USB Controller: VIA Technologies, Inc. VT82x UHCI USB 1.1 
Controller (rev 81)
00:10.4 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 86)
00:11.0 ISA bridge: VIA Technologies, Inc. VT8237 ISA bridge 
[KT600/K8T800/K8T890 South]
00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 
AC97 Audio Controller (rev 60)
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] 
HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address 
Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM 
Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] 
Miscellaneous Control
01:00.0 VGA compatible controller: Matrox Graphics, Inc. MGA G400/G450 (rev 04)

[EMAIL PROTECTED]:~$ glxinfo
name of display: :0.0
display: :0  screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.2
server glx extensions:
GLX_ARB_multisample, GLX_EXT_visual_info, GLX_EXT_visual_rating,
GLX_EXT_import_context, GLX_EXT_texture_from_pixmap, GLX_OML_swap_method,
GLX_SGI_make_current_read, GLX_SGIS_multisample, GLX_SGIX_hyperpipe,
GLX_SGIX_swap_barrier, GLX_SGIX_fbconfig, GLX_MESA_copy_sub_buffer
client glx vendor string: SGI
client glx version string: 1.4
client glx extensions:
GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_allocate_memory,
GLX_MESA_copy_sub_buffer, GLX_MESA_swap_control,
GLX_MESA_swap_frame_usage, GLX_OML_swap_method, GLX_OML_sync_control,
GLX_SGI_make_current_read, GLX_SGI_swap_control, GLX_SGI_video_sync,
GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer,
GLX_SGIX_visual_select_group, GLX_EXT_texture_from_pixmap
GLX version: 1.2
GLX extensions:
GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_swap_control,
GLX_MESA_swap_frame_usage, GLX_OML_swap_method, GLX_SGI_make_current_read,
GLX_SGI_video_sync, GLX_SGIS_multisample, GLX_SGIX_fbconfig
OpenGL vendor string: VA Linux Systems Inc.
OpenGL renderer string: Mesa DRI G400 20050609 AGP 1x
OpenGL version string: 1.2 Mesa 6.5.1
OpenGL extensions:
GL_ARB_multisample, GL_ARB_multitexture, GL_ARB_texture_compression,
GL_ARB_texture_env_add, GL_ARB_texture_env_combine,
GL_ARB_texture_env_crossbar, GL_ARB_texture_rectangle,
GL_ARB_transpose_matrix, GL_ARB_vertex_program, GL_ARB_window_pos,
GL_EXT_abgr, GL_EXT_bgra, GL_EXT_blend_logic_op, GL_EXT_clip_volume_hint,
GL_EXT_compiled_vertex_array, GL_EXT_copy_texture,
GL_EXT_draw_range_elements, GL_EXT_fog_coord, GL_EXT_multi_draw_arrays,
GL_EXT_packed_pixels, GL_EXT_polygon_offset, GL_EXT_rescale_normal,
GL_EXT_secondary_color, GL_EXT_separate_specular_color,
GL_EXT_stencil_wrap, GL_EXT_subtexture, GL_EXT_texture, GL_EXT_texture3D,
GL_EXT_texture_edge_clamp, GL_EXT_texture_env_add,
GL_EXT_texture_env_combine, GL_EXT_texture_object,
GL_EXT_texture_rectangle, GL_EXT_vertex_array, GL_APPLE_packed_pixels,
GL_ATI_texture_env_combine3, 

Probleme mit XV video output driver

2006-11-04 Thread Jonas Meurer
Hallo,

Ich habe seit geraumer Zeit Probleme, den XV video output driver in
video playern zu verwenden. In sämtlichen playern ist die rechte
Bildhälfte durch Streifen zerstört. Ich habe xine, totem, mplayer und
vlc ausprobiert.

In mplayer und vlc habe ich herausgefunden, wie ich den video output
driver umstelle. Wenn ich dort x11 wähle, verschwinden die Streifen.
Allerdings scheint x11 sehr langsam zu sein, vor allem im Vollbildmodus.

Ich habe debian/unstable amd64 installiert. Das Problem tritt auch auf,
wenn ich den player in einer debian/unstable i386 chroot laufen lasse.

Könnte das auch ein Hardware-Problem sein? denn ich frage mich schon,
warum niemand sonst solche Probleme hat. Bis vor ca. 1-2 Monaten ging
der XV video output driver einwandfrei bei mir.

Das ganze passiert nur bei avi (xvid, divx, ...) und mpeg4 Videos. mpeg1
und ogg theora videos werden auch mit XV video output driver problemlos
gespielt.

Hat jemand eine Idee, wo da das Problem liegen könnte? Könnte
libavcodec0d das Problem sein?

grüße
 jonas


-- 
Haeufig gestellte Fragen und Antworten (FAQ): 
http://www.de.debian.org/debian-user-german-FAQ/

Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)



Re: Videos und Flashanimationen aufnehmen

2006-10-03 Thread Jonas Meurer
On 02/10/2006 Jens Schüßler wrote:
 * Jonas Meurer [EMAIL PROTECTED] wrote:
  On 01/10/2006 Mathias Brodala wrote:
   
   Wenn du dir Youtube-Videos herunterladen möchtest, solltest du dir 
   youtube-dl[0]
   anschauen, was momentan noch in New[1] verweilt.
  
  schick, danke. schade nur dass es youtube-spezifisch ist, und zb. bei
  myvideo.de nicht funktioniert. und es lädt eben nur den flash film
  runter, jetzt muss ich noch eine möglichkeit finden, den flash-film nach
  mpeg oder ogg theora zu konvertieren.
 
 Ich habe bis jetzt nur youtube-flvs nach avi konvertiert, aber das
 sollte sich für mpeg oder ogg anpassen lassen, die Qualität ist
 allerdings bescheiden.
 
 ,
 | mencoder $FLV -ovc xvid -xvidencopts fixed_quant=4 -oac mp3lame -ofps 25
 | -o $OUTPUTDATEI
 `

naja, die schlecht qualität liegt ja eher an den flash filmen, weniger
an mencoder, oder? also ich bin mit der lösung ganz zufrieden. tausend
dank.
was ich interessant finde, ist dass ich das auch in meinem amd64-system
laufen lassen kann, also garkeine i386 chroot benötige. woher kennt
mencoder denn den flash video codec?

 Mit dem Link kannst du bei einigen Video-Hostern Flash-Filme runterladen,
 ob myvideo.de auch funktioniert weiss ich nicht.
 http://javimoya.com/blog/youtube_en.php

wow, das ist ja noch besser als die komandozeilen-tools youtube-dl etc.

tausend dank ;-)

...
 jonas


-- 
Haeufig gestellte Fragen und Antworten (FAQ): 
http://www.de.debian.org/debian-user-german-FAQ/

Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)



neuerdings Streifen in Videos (xv)

2006-10-02 Thread Jonas Meurer
Hallo,

Ich habe neuerdings Streifen auf der rechten Seite aller avi und mp4
Videos. Das gilt nicht für mpeg und theora Videos.

Die Streifen (Bildstörungen) treten in allen Playern (mplayer, xine,
vlc, totem, ...) auf, allerdings nur mit dem XV video output plugin.

Wenn ich x11 als video output plugin wähle (habe die Einstellung nur bei
vlc und mplayer gefunden), sind die Streifen weg.

Haben noch andere Probleme mit XV, oder liegt das an mir?

Ich habe debian/unstable (amd64) am laufen.

...
 jonas


-- 
Haeufig gestellte Fragen und Antworten (FAQ): 
http://www.de.debian.org/debian-user-german-FAQ/

Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)



neuerdings Streifen in Videos (xv)

2006-10-02 Thread Jonas Meurer
Hallo,

Ich habe neuerdings Streifen auf der rechten Seite aller avi und mp4
Videos. Das gilt nicht für mpeg und theora Videos.

Die Streifen (Bildstörungen) treten in allen Playern (mplayer, xine,
vlc, totem, ...) auf, allerdings nur mit dem XV video output plugin.

Wenn ich x11 als video output plugin wähle (habe die Einstellung nur bei
vlc und mplayer gefunden), sind die Streifen weg.

Haben noch andere Probleme mit XV, oder liegt das an mir?

Ich habe debian/unstable (amd64) am laufen.

...
 jonas


-- 
Haeufig gestellte Fragen und Antworten (FAQ): 
http://www.de.debian.org/debian-user-german-FAQ/

Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)



Re: Videos und Flashanimationen aufnehmen

2006-10-02 Thread Jonas Meurer
On 01/10/2006 Mathias Brodala wrote:
 Jonas Meurer, 01.10.2006 03:40:
  Ich habe istanbul gefunden, was einfach den ganzen Bildschirm aufnimmt
  und als ogg theora video Datei speichert.
  Vom Prinzip her ist das schon was ich suche, jedoch scheint es entweder
  zu wenige Bilder pro Sekunde aufzunehmen, oder mit flash filmen wie von
  youtube.com andersweitig nicht zurecht zu kommen.
 
 Wenn du dir Youtube-Videos herunterladen möchtest, solltest du dir 
 youtube-dl[0]
 anschauen, was momentan noch in New[1] verweilt.

schick, danke. schade nur dass es youtube-spezifisch ist, und zb. bei
myvideo.de nicht funktioniert. und es lädt eben nur den flash film
runter, jetzt muss ich noch eine möglichkeit finden, den flash-film nach
mpeg oder ogg theora zu konvertieren.

  2. Wie kann ich Filme aufnehmen, die mit einem Player wie xine, mplayer,
  vlc, totem, ... abgespielt werden?
  Da sie nicht auf dem normalen Xserver Display angezeigt werden, kann
  istanbul solche Videos garnicht aufnehmen.
 
 Ich persönlich kannte in dieser Hinsicht bisher nur [gx]vidcap und avicap.
 Vielleicht hilft ja eines dieser beiden Programme weiter.

mh, habe mir mal avicap angeschaut, sieht eher wie ein programm aus um
den output von einem video-device wie /dev/video0 zb. von einer tv-karte
aufzunehmen. ich möchte ja meinen bildschirm samt video-player
aufnehmen, wenn er ein video abspielt.

...
 jonas


-- 
Haeufig gestellte Fragen und Antworten (FAQ): 
http://www.de.debian.org/debian-user-german-FAQ/

Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)



Re: Videos und Flashanimationen aufnehmen

2006-10-01 Thread Jonas Meurer
On 01/10/2006 Mathias Brodala wrote:
 Jonas Meurer, 01.10.2006 03:40:
  Ich habe istanbul gefunden, was einfach den ganzen Bildschirm aufnimmt
  und als ogg theora video Datei speichert.
  Vom Prinzip her ist das schon was ich suche, jedoch scheint es entweder
  zu wenige Bilder pro Sekunde aufzunehmen, oder mit flash filmen wie von
  youtube.com andersweitig nicht zurecht zu kommen.
 
 Wenn du dir Youtube-Videos herunterladen möchtest, solltest du dir 
 youtube-dl[0]
 anschauen, was momentan noch in New[1] verweilt.

schick, danke. schade nur dass es youtube-spezifisch ist, und zb. bei
myvideo.de nicht funktioniert. und es lädt eben nur den flash film
runter, jetzt muss ich noch eine möglichkeit finden, den flash-film nach
mpeg oder ogg theora zu konvertieren.

  2. Wie kann ich Filme aufnehmen, die mit einem Player wie xine, mplayer,
  vlc, totem, ... abgespielt werden?
  Da sie nicht auf dem normalen Xserver Display angezeigt werden, kann
  istanbul solche Videos garnicht aufnehmen.
 
 Ich persönlich kannte in dieser Hinsicht bisher nur [gx]vidcap und avicap.
 Vielleicht hilft ja eines dieser beiden Programme weiter.

mh, habe mir mal avicap angeschaut, sieht eher wie ein programm aus um
den output von einem video-device wie /dev/video0 zb. von einer tv-karte
aufzunehmen. ich möchte ja meinen bildschirm samt video-player
aufnehmen, wenn er ein video abspielt.

...
 jonas


-- 
Haeufig gestellte Fragen und Antworten (FAQ): 
http://www.de.debian.org/debian-user-german-FAQ/

Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)



Videos und Flashanimationen aufnehmen

2006-09-30 Thread Jonas Meurer
hallo,

ich habe zwei Fragen, die soweit ich weiß nicht sehr viel mit einander
zu tun haben.

1. Ist es möglich Flash-, Gif-, oder sonstige Animationen/Bewegungen die
   in Webpages erscheinen, sauber als Video aufzunehmen?
   
Ich habe istanbul gefunden, was einfach den ganzen Bildschirm aufnimmt
und als ogg theora video Datei speichert.
Vom Prinzip her ist das schon was ich suche, jedoch scheint es entweder
zu wenige Bilder pro Sekunde aufzunehmen, oder mit flash filmen wie von
youtube.com andersweitig nicht zurecht zu kommen. Ausserdem legt es
meinen ganzen Rechner lahm, wenn ich die Aufnahme starte.

2. Wie kann ich Filme aufnehmen, die mit einem Player wie xine, mplayer,
vlc, totem, ... abgespielt werden?
Da sie nicht auf dem normalen Xserver Display angezeigt werden, kann
istanbul solche Videos garnicht aufnehmen.

...
 jonas


-- 
Haeufig gestellte Fragen und Antworten (FAQ): 
http://www.de.debian.org/debian-user-german-FAQ/

Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)



Re: i386 in amd64 system mit pbuilder und orig.tar.gz bauen

2006-09-29 Thread Jonas Meurer
On 29/09/2006 To Debian-User-Ger wrote:
 ich habe ein kleines problem, mit pbuilder in meinem amd64 unstable system
 i386 stable packete zu bauen. folgende syntax müsste meiner meinung nach
 funktionieren, tut sie aber nicht:
 
 $ linux32 pdebuild --buildresult `pwd`/.. --debsign-k [EMAIL PROTECTED] \
   -- --basetgz /var/cache/pbuilder/i386-sarge-base.tgz \
   --debbuildopts -sa -us -uc
 
 /var/cache/pbuilder/i386-sarge-base.tgz ist wie der name schon sagt eine
 eine i386 sarge base.tgz für pbuilder.
 
 das packet wird einwandfrei gebaut, das problem ist aber, dass die
 debbuildopts (-sa -us -uc) nicht berücksichtigt werden. ich benötige
 jedoch einen build, bei dem die orig.tar.gz beim upload mitgesendet
 werden.

das problem ist, dass --debbuildopts offensichtlich in diesem falle
(anders als dokumentiert) nicht von pbuilder akzeptiert wird. wenn ich
es direkt an pdebuild gebe, funktioniert es:

$ linux32 pdebuild --buildresult `pwd`/.. --debsign-k [EMAIL PROTECTED] \
--debbuildopts -sa -us -uc -- --basetgz \
/var/cache/pbuilder/i386-sarge-base.tgz 


...
 jonas


-- 
Haeufig gestellte Fragen und Antworten (FAQ): 
http://www.de.debian.org/debian-user-german-FAQ/

Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)



i386 in amd64 system mit pbuilder und orig.tar.gz bauen

2006-09-28 Thread Jonas Meurer
ahoi,

ich habe ein kleines problem, mit pbuilder in meinem amd64 unstable system
i386 stable packete zu bauen. folgende syntax müsste meiner meinung nach
funktionieren, tut sie aber nicht:

$ linux32 pdebuild --buildresult `pwd`/.. --debsign-k [EMAIL PROTECTED] \
-- --basetgz /var/cache/pbuilder/i386-sarge-base.tgz \
--debbuildopts -sa -us -uc

/var/cache/pbuilder/i386-sarge-base.tgz ist wie der name schon sagt eine
eine i386 sarge base.tgz für pbuilder.

das packet wird einwandfrei gebaut, das problem ist aber, dass die
debbuildopts (-sa -us -uc) nicht berücksichtigt werden. ich benötige
jedoch einen build, bei dem die orig.tar.gz beim upload mitgesendet
werden.

hat jemand 'ne idee?

...
 jonas


-- 
Haeufig gestellte Fragen und Antworten (FAQ): 
http://www.de.debian.org/debian-user-german-FAQ/

Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)



Re: Server IP Wechsel

2006-09-07 Thread Jonas Meurer
On 06/09/2006 Torsten Geile wrote:
 Jonas Meurer schrieb:
 
 Die Auszeit der Server sollte jedoch relativ gering sein, das heißt,
 wenn ich den alten vom Netz nehme, soll der neue unmittelbar erreichbar
 sein.
   
 
 Da hängt es halt von Dir ab, wie schnell Du bist (;-)
 Prinzipiell kein Problem, ich stoppe das Netzwerkinterface auf dem
 Alten, konfiguriere die IPs auf dem Neuen, und fertig.
 
 Nun ist aber das Problem, dass beide Server im RZ stehen, und ich keinen
 physikalischen Zugriff habe.
 
 
   
 Ich würde es so machen auf dem neuen Server. Halt als einmaligen cron 
 eintragen. Auf dem alten Server zur gleichen Zeit per Skript ifdown

danke, genau so habe ich das auch geplant.

...
 jonas


-- 
Haeufig gestellte Fragen und Antworten (FAQ): 
http://www.de.debian.org/debian-user-german-FAQ/

Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)



Re: Server IP Wechsel

2006-09-07 Thread Jonas Meurer
On 06/09/2006 Evgeni Golov wrote:
 On Wed, 6 Sep 2006 14:30:53 +0200 Ulf Volmer wrote:
 
   Ok, ich meinte eher, ob es sein kann, dass 'ifup eth0' Probleme
   macht, weil er die IP nicht will.
  
  Wieso sollte er die IP nicht wollen?
 
 Weil der Switch so intelligent ist, und weiß, dass 10.0.0.1 grad an
 Port1 verwendet wurde, und deswegen die IP nicht an Port2 mit anderer
 MAC-Adresse zulässt. Aber ich glaube sowas wird hier nicht passieren.

kann ich irgendwie rausfinden, ob diese gefahr besteht?

...
 jonas


-- 
Haeufig gestellte Fragen und Antworten (FAQ): 
http://www.de.debian.org/debian-user-german-FAQ/

Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)



Server IP Wechsel

2006-09-06 Thread Jonas Meurer
hallo,

Ich setze zur Zeit einen neuen Server auf, der einen alten weitestgehend
1 zu 1 ersetzen.

Dazu gehört auch, dass er schlussendlich die vier IP-Adressen des alten
Servers erhalten soll.

Auf dem alten Server sind die vier IPs als eth0, eth0:0, eth0:1 und
eth0:2 konfiguriert. Ebenso soll das dann auf dem Neuen aussehen.

Die Auszeit der Server sollte jedoch relativ gering sein, das heißt,
wenn ich den alten vom Netz nehme, soll der neue unmittelbar erreichbar
sein.

Prinzipiell kein Problem, ich stoppe das Netzwerkinterface auf dem
Alten, konfiguriere die IPs auf dem Neuen, und fertig.

Nun ist aber das Problem, dass beide Server im RZ stehen, und ich keinen
physikalischen Zugriff habe.

Das heißt, zumindest beim Wechsel der ersten IP muss ich 'ifdown eth0',
umkonfiguration von /etc/network/interfaces und 'ifup eth0' irgendwie so
regeln, dass es automatisch läuft. Denn die IP, die der neue Server
jetzt hat, behält er nicht.
Wenn da etwas schief läuft, kostet mich das Geld.

Deshalb wollte ich einfach mal fragen, wie ich das am besten mache.
Per cronscript? Natürlich mit Absicherung, dass die alte Config wieder
hergestellt wird, wenn was schief läuft?

Und kann es da nicht Probleme geben, wenn ich dem Server eine IP gebe,
die vor kurzem noch ein anderer hatte?

Mich würde einfach mal eure Meinung/Erfahrung dazu interessieren.

...
 jonas


-- 
Haeufig gestellte Fragen und Antworten (FAQ): 
http://www.de.debian.org/debian-user-german-FAQ/

Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)



Re: Server IP Wechsel

2006-09-06 Thread Jonas Meurer
On 06/09/2006 Ulf Volmer wrote:
  Und kann es da nicht Probleme geben, wenn ich dem Server eine IP gebe,
  die vor kurzem noch ein anderer hatte?
 
 Sicher.

Um was für Probleme handelt es sich da genau? Wäre es sinnvoll, ein
wenig Zeit zwischen 'ifdown' auf dem alten server und 'ifup' auf dem
neuen verstreichen zu lassen?

...
 jonas


-- 
Haeufig gestellte Fragen und Antworten (FAQ): 
http://www.de.debian.org/debian-user-german-FAQ/

Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)



Re: Server IP Wechsel

2006-09-06 Thread Jonas Meurer
On 06/09/2006 Ulf Volmer wrote:
 On Wed, Sep 06, 2006 at 02:17:03PM +0200, Jonas Meurer wrote:
  On 06/09/2006 Ulf Volmer wrote:
Und kann es da nicht Probleme geben, wenn ich dem Server eine IP gebe,
die vor kurzem noch ein anderer hatte?
   
   Sicher.
  
  Um was für Probleme handelt es sich da genau? 
 
 Bestehende Verbindungen versanden.

Ok, ich meinte eher, ob es sein kann, dass 'ifup eth0' Probleme macht,
weil er die IP nicht will.

  Wäre es sinnvoll, ein wenig Zeit zwischen 'ifdown' auf dem alten server 
  und 'ifup' auf dem neuen verstreichen zu lassen?
 
 Das kommt auf die Art der Verbindungen an.
 In der Regel nicht ganz so wichtig.

Die Server sind über 10MB Standleitung im Netz.

...
 jonas


-- 
Haeufig gestellte Fragen und Antworten (FAQ): 
http://www.de.debian.org/debian-user-german-FAQ/

Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)



Re: Server IP Wechsel

2006-09-06 Thread Jonas Meurer
On 06/09/2006 Ulf Volmer wrote:
Wäre es sinnvoll, ein wenig Zeit zwischen 'ifdown' auf dem alten server 
und 'ifup' auf dem neuen verstreichen zu lassen?
   
   Das kommt auf die Art der Verbindungen an.
   In der Regel nicht ganz so wichtig.
  
  Die Server sind über 10MB Standleitung im Netz.
 
 Ich meinte eher die Art der Verbindungen.
 Es liegt da eher daran, ob deine Kunden Verbindungs- Unterbrechungen
 akzeptiern.

Ein paar Sekunden Auszeit sind akzeptabel. Die Nutzer des Servers werden
vorher ohnehin informiert.

...
 jonas


-- 
Haeufig gestellte Fragen und Antworten (FAQ): 
http://www.de.debian.org/debian-user-german-FAQ/

Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)



Re: Server IP Wechsel

2006-09-06 Thread Jonas Meurer
On 06/09/2006 Thorsten Haude wrote:
 Moin,
 
 * Ulf Volmer wrote (2006-09-06 14:14):
 On Wed, Sep 06, 2006 at 02:05:50PM +0200, Jonas Meurer wrote:
  Die Auszeit der Server sollte jedoch relativ gering sein, das heißt,
  wenn ich den alten vom Netz nehme, soll der neue unmittelbar erreichbar
  sein.
 
 Ich würde sowas über DNS lösen.
 
 Bei gleichen IP-Adressen?

Genau das ist mein Problem. Die IPs sollen gleich bleiben. Wenn ich 4
neue für den neuen Server nehmen wollte, wäre das über DNS natürlich
kein Problem.

...
 jonas


signature.asc
Description: Digital signature


Re: Webalizer auf deutsch

2006-09-04 Thread Jonas Meurer
On 01/09/2006 Daniel Leidert wrote:
   - wie kann ich das debian webalizer packet so übersetzen, dass es
 deutsche statistiken erzeugt?
 
 IMO sollte es ausreichen, LANG auf den richtigen Wert zu setzen. Schau
 doch mal in die README.Debian, die Manpages oder in die
 Beispiel-Configs. Ich habe webalizer vor langer Zeit abgeschafft, daher
 kann ich dazu nichts mehr sagen.

tatsächlich ;-)

hätte nicht vermutet, dass das so einfach ist. allerdings wird das erst
ab webalizer 2.01.10-29 oder so unterstützt, in sarge ist -26.

tausend dank für die hilfe.

...
 jonas


-- 
Haeufig gestellte Fragen und Antworten (FAQ): 
http://www.de.debian.org/debian-user-german-FAQ/

Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)



userdefined variables in muttrc

2006-09-04 Thread Jonas Meurer
hello,

i have two different gpg commands which i would like to use for gnupg
encryption/signing depending on the from: header.

as the mutt configuration has lots of variables set for gnupg support,
a send-hook which defines all of them would be very complex.

is it possible to set a userdefined variable in the send-hook
(gpg_command for example) and use this on ($gpg_command) in all global
pgp_* definitions?

or is there a smarter way to configure two different environments for
different sender profiles?

...
 jonas


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Webalizer auf deutsch

2006-09-02 Thread Jonas Meurer
On 31/08/2006 Stefan Bauer wrote:
 Jonas Meurer schrieb:
  f�r mich stellen sich nun zwei probleme:
  - muss ich selbst eine de.po datei anlegen, um unterst�tzung f�r
deutsche sprache zu haben? (wahrscheinlich)
 
 vermutlich, siehe
 
 http://www.debian.org/intl/l10n/po-debconf/de
 
  webalizer33% (3t;4f;2u)  de.po   Erik Schanze

hier geht es glaube ich eher um die debconf tranlation, nicht um die der
software an sich.

...
 jonas


signature.asc
Description: Digital signature


Webalizer auf deutsch

2006-08-31 Thread Jonas Meurer
Hallo,

ich habe vor kurzem festgestellt, dass ich Webalizer mit
--with-language=german bei ./configure so übersetzen kann, dass er
deutsche Statistiken erstellt.

da ich webalizer auf einem server einsetze, auf dem ich keine
selbstkompilierte software verwende, dachte ich mir, ich sauge das
debian-packet und ändere einfach den ./configure aufruf in debian/rules.

gesagt, getan, aber es funktioniert nicht.

nach und nach bin ich dann dahinter gestiegen, dass das webalizer debian
packet sich sehr signifikant vom upstream webalizer unterscheidet, und
dass irgendwann einmal gettext support für webalizer hinzugefügt wurde.

das scheint zu heißen, dass das bisherige --with-language nicht mehr
funktioniert.

ausserdem gibt es in webalizer-2.01.10/po/ für nahezu alle sprachen eine
po datei, nur für deutsch nicht.

für mich stellen sich nun zwei probleme:
- muss ich selbst eine de.po datei anlegen, um unterstützung für
  deutsche sprache zu haben? (wahrscheinlich)
- wie kann ich das debian webalizer packet so übersetzen, dass es
  deutsche statistiken erzeugt?

...
 jonas


-- 
Haeufig gestellte Fragen und Antworten (FAQ): 
http://www.de.debian.org/debian-user-german-FAQ/

Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)



Re: Probleme mit der Maus in Qemu WindowsXP

2006-08-28 Thread Jonas Meurer
On 26/08/2006 Mathias Brodala wrote:
 Hallo Jonas.
 
  Das funktioniert auch alles einwandfrei, bis auf die Tatsache, dass die
  Maus in Qemu (Windows XP) ein wenig rumspinnt.
  
  Ich kann sie zwar in 2/3 des Fensters einwandfrei bewegen, aber gerade
  im Bereich ganz oben und ganz unten will sie nicht mehr so ganz.
 
 Dieser SDL-Bug ist bekannt unter dem Namen „Invisible Wall Bug“ und es gibt 
 drei
 Möglichkeiten, ihn zu beheben:
 
 1. Spiele den entsprechenden Patch[0] dafür ein und kompiliere das Paket neu. 
 Danach
 verhält sich die Maus zwar etwas träger, aber der Bug sollte nicht mehr 
 auftreten.

das sollte ja mit Qemu 0.8.2 überflüssig sein.

 2. Aktiviere den „gapless mouse“-Modus, indem du deinem XP-System 
 vorgaukelst, über ein
 Tablet-System zu verfügen. Hierzu musst du QEMU beim Starten die Argumente 
 „-usb
 -usbdevice tablet“ übergeben. Windows installiert automatisch den Treiber, 
 wonach die Maus
 ohne Fokussierung des Fensters im Gastsystem nutzbar ist.

habe ich gerade probiert, funktioniert einwandfrei. die maus ist jedoch
wesentlich träger als zuvor.

 3. Aktualisiere auf Version 0.8.2[1]. Darin soll oben genannter Bug behoben 
 worden sein.
 Da ich selbst die zweite Methode nutze, kann ich hierzu nichts sagen.

ich denke, dass qemu in debian/unstable demnächst auf 0.8.2 updated
wird. darauf werde ich warten und dann schauen ob es ohne die -usb
argumente geht.

vielen dank für die ausführliche hilfe.

...
 jonas


signature.asc
Description: Digital signature


Re: Bandbreite auf ADSL-Rou ter aufteilen und beschränken

2006-08-25 Thread Jonas Meurer
On 22/08/2006 Evgeni Golov wrote:
 Hi Jonas,
 
 On Tue, 22 Aug 2006 01:15:47 +0200 Jonas Meurer [EMAIL PROTECTED]
 wrote:
 
  Wir haben zuhause einen DSL-Router mit drei Clients (1 Linux, 2
  Windows) am laufen.
  
  Wenn nun einer meiner Mitbewohner (oder beide) große Dateien
  runterziehen, kann ich manchmal nicht mal mehr anständig mails lesen
  oder im www surfen.
  
  Deshalb würde ich gerne auf dem Router eine Bandbreite-Begrenzung
  einbauen.
  
  Offensichtlich gibt es dazu Kernel Module (QoS), allerdings habe ich
  keine anständige Dokumentation hierzu gefunden.
 
 $ apt-cache show wondershaper
 
 Das Ding müsste genau das machen, was du willst und es rennt hier
 (allerdings ohne DSL) wunderbar.

danke, habe das jetzt im einsatz, mal sehen ob's was bringt ;-)

...
 jonas


-- 
Haeufig gestellte Fragen und Antworten (FAQ): 
http://www.de.debian.org/debian-user-german-FAQ/

Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)



Probleme mit der Maus in Qemu WindowsXP

2006-08-25 Thread Jonas Meurer
Die Frage ist wohl nicht ganz ontopic, aber vielleicht weiß ja trotzdem
jemand eine Lösung.

Ich starte von Zeit zu Zeit Windows XP in Qemu, um in den Genuss zu
kommen, den Internet Explorer zu verwenden.

Das funktioniert auch alles einwandfrei, bis auf die Tatsache, dass die
Maus in Qemu (Windows XP) ein wenig rumspinnt.

Ich kann sie zwar in 2/3 des Fensters einwandfrei bewegen, aber gerade
im Bereich ganz oben und ganz unten will sie nicht mehr so ganz.

Heißt: Ich komme nicht, bzw. nur mit viel Mühe an den oberen bzw.
unteren Rand des Fensters.

Hat jemand eine Idee wie ich das lösen kann?

...
 jonas


-- 
Haeufig gestellte Fragen und Antworten (FAQ): 
http://www.de.debian.org/debian-user-german-FAQ/

Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)



Bandbreite auf ADSL-Router aufteilen und beschränken

2006-08-21 Thread Jonas Meurer
hallo,

Wir haben zuhause einen DSL-Router mit drei Clients (1 Linux, 2 Windows)
am laufen.

Wenn nun einer meiner Mitbewohner (oder beide) große Dateien
runterziehen, kann ich manchmal nicht mal mehr anständig mails lesen
oder im www surfen.

Deshalb würde ich gerne auf dem Router eine Bandbreite-Begrenzung
einbauen.

Offensichtlich gibt es dazu Kernel Module (QoS), allerdings habe ich
keine anständige Dokumentation hierzu gefunden.

Oder ich verwende einen TCP Proxy, wo ich aber nur für Squid
Dokumentation gefunden habe, die sich auf HTTP-Traffic beschränkte.

Kann mir jemand Dokumentation zur Aufteilung der Bandbreite auf
verschiedene Clients empfehlen?

Ich will die Bandbreite natürlich nicht einfach dritteln, wenn niemand
anderes im Internet tätig ist kann ein Client ja gerne alle Bandbreite
haben. Von daher sollte die Beschränkung dynamisch sein.

...
 jonas


-- 
Haeufig gestellte Fragen und Antworten (FAQ): 
http://www.de.debian.org/debian-user-german-FAQ/

Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)



Re: Mal wieder DVD-RAM brennen

2006-08-02 Thread Jonas Meurer
On 01/08/2006 Dirk Salva wrote:
 Nebenbei bemerkt funktioniert auch normales Brennen mit k3b nicht,
 weil der ungefähr in 50% der Versuche einfach abschmiert - puff, weg
 isser...?!?

haste schonmal andere brenn-programme wie gnomebaker oder
nautilus-cd-burner probiert? ich hatte mit k3b früher auch öfters
probleme, ist bei mir auch abgeschmiert. mit gnomebaker ist mir das noch
nie passiert.

...
 jonas


-- 
Haeufig gestellte Fragen und Antworten (FAQ): 
http://www.de.debian.org/debian-user-german-FAQ/

Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)



Kein Bild mit CanoScan LiDE 25 Scanner

2006-06-09 Thread Jonas Meurer
hallo,

ich versuche zur zeit, einen Canon CanoScan LiDE 25 Scanner mit libsane
zum laufen zu kriegen.

usb + udev erkennen den scanner problemlos, und sane-find-scanner sagt:

$ sane-find-scanner
found USB scanner (vendor=0x04a9 [Canon], product=0x2220 [CanoScan], 
chip=LM9832/3) at libusb:003:002

scanimage -L findet den scanner auch:

$ scanimage -L
device `plustek:libusb:003:002' is a Canon LiDE25 USB flatbed scanner

wenn ich nun aber ein weißes Blatt mit Text drauf in den Scanner lege,
und 'scanimage image.pnm' ausführe, ist kein text in dem bild
image.pnm zu finden. allerdings wird das bild zum rechten rand hin
dunkler.

das selbe passiert mit xscanimage und xane.

ist der scanner kaputt? ich habe ihn heute erst geliefert bekommen.

eventuell nutzt libsane auf einfach den falschen treiber?
in /etc/sane.d/dll.conf sind verdammt viele teiber aufgelistet, unter
anderem auch plustek.

und in /etc/sane.d/plustek.conf habe ich das usb device des scanners
reingeschrieben:
[usb] 0x04a9 0x2220

habe ich was vergessen, oder sieht es tatsächlich so aus, dass der
scanner kaputt ist?

...
 jonas


-- 
Haeufig gestellte Fragen und Antworten (FAQ): 
http://www.de.debian.org/debian-user-german-FAQ/

Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)



Re: Kein Bild mit CanoScan LiDE 25 Scanner

2006-06-09 Thread Jonas Meurer
On 09/06/2006 To Debian-User-Ger wrote:
 ich versuche zur zeit, einen Canon CanoScan LiDE 25 Scanner mit libsane
 zum laufen zu kriegen.
 
 [...]
 
 wenn ich nun aber ein weißes Blatt mit Text drauf in den Scanner lege,
 und 'scanimage image.pnm' ausführe, ist kein text in dem bild
 image.pnm zu finden. allerdings wird das bild zum rechten rand hin
 dunkler.
 
 das selbe passiert mit xscanimage und xane.
 
 ist der scanner kaputt? ich habe ihn heute erst geliefert bekommen.

sieht offensichtlich so aus, als ob der scanner kaputt ist. ich habe
soeben festgestellt, dass der scanbalken garnicht auf der schiene im
scanner langläuft, sondern die ganze zeit am anfang stehen bleibt und
nur so ein bischen rum-ruckelt.

schade, jetzt darf ich erstmal auf einen neuen warten.

...
 jonas


-- 
Haeufig gestellte Fragen und Antworten (FAQ): 
http://www.de.debian.org/debian-user-german-FAQ/

Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)



Re: Kein Bild mit CanoScan LiDE 25 Scanner

2006-06-09 Thread Jonas Meurer
On 09/06/2006 Ingo Juergensmann wrote:
 On Fri, Jun 09, 2006 at 06:57:43PM +0200, Jonas Meurer wrote:
 
  sieht offensichtlich so aus, als ob der scanner kaputt ist. ich habe
  soeben festgestellt, dass der scanbalken garnicht auf der schiene im
  scanner langläuft, sondern die ganze zeit am anfang stehen bleibt und
  nur so ein bischen rum-ruckelt.
  schade, jetzt darf ich erstmal auf einen neuen warten.
 
 Hmmm, bescheidene Frage: 
 Du hast aber schon die Transportsicherung auf der Unterseite des Scanners
 entriegelt, oder?

uiuiui, ich sollte wohl die anleitungen genauer lesen.

vielen dank, ich hätte den scanner sonst morgen wieder weggeschickt *g*

...
 jonas


-- 
Haeufig gestellte Fragen und Antworten (FAQ): 
http://www.de.debian.org/debian-user-german-FAQ/

Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)



external USB harddrive produces lots of kernel messages

2006-05-18 Thread Jonas Meurer
hello,

i get USB kernel messages printed to the console regularely:

usb 1-5.4: reset high speed USB device using ehci_hcd and address 3

in past, i used the onboard USB controller with a via chipset, and
additional to the messages, i had read/write errors. 
then someone told me, that the via USB 2.0 chipset is known to be
bad quality. So i bought an Adaptec USB 2.0 controller with a NEC
chipset.

now, lspci gives the following:
:00:08.0 USB Controller: NEC Corporation USB (rev 43)
:00:08.1 USB Controller: NEC Corporation USB (rev 43)
:00:08.2 USB Controller: NEC Corporation USB 2.0 (rev 04)

i've connected two USB 2.0 devices to the controller:
- an external USB 2.0 400GB harddisk (Seagate)
- a USB 2.0 multi- cardreader

the kernel messages are produced by the external harddisk.

fortunately, the read/write errors disappeared with the new NEC USB
controller, but the kernel messages still occur.

i still get the following message inregularely, but the average may
be something like 3 minutes. often the message is printed twice at once:

usb 1-5.4: reset high speed USB device using ehci_hcd and address 3

and another log message is printed to the console quite inregularely:

ehci_hcd :00:08.2: qh 81001f00aa00 (#00) state 4


unfortunately these messages mess up fullscreen console apps like mutt,
irssi, vim etc. but that's not the biggest problem. i could configure
syslog-ng to just print them to kern.log and not to the current console.

but what i really want is to know why these messages occur, and how i
fix that.

do you think the the external harddrive is the problem, regardless which
controller i use? if yes, is there a way to fix it?

i'dd really love to see these messages disappear.

greetings
 jonas


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



usb 1-5.4: reset high speed USB device using ehci_hcd and address 3

2006-05-12 Thread Jonas Meurer
hello,

i've had big problems with my via onboard USB 2.0 controller, it gave
thousands of messages like the following to the console:

usb 1-5.4: reset high speed USB device using ehci_hcd and address 3

after someone told me, that the via USB 2.0 controllers are known to be
bad quality, i bought an Adaptec USB 2.0 controller with a nec chipset.
lspci gives the following:
:00:08.0 USB Controller: NEC Corporation USB (rev 43)
:00:08.1 USB Controller: NEC Corporation USB (rev 43)
:00:08.2 USB Controller: NEC Corporation USB 2.0 (rev 04)

currently, i've only three USB devices conntected to the controller:
- an external USB 2.0 400GB harddisk (Seagate)
- a USB 2.0 multi- cardreader which is a HUB too
- and a digital camera (USB 1.0), connected to the cardreader (Minolta)

i cannot say anything about the quality of the new Adaptec USB
controller yet, as i've just installed it yesterday, but i hope that at
least the serious read-/write- errors [that happened with the via
controller] will not occur again.
but unfortunately the messages to the console didn't disappear with the
new controller. i get the following message inregularely, but the
average may be something like 3 minutes:

usb 1-5.4: reset high speed USB device using ehci_hcd and address 3

and another log message is printed to the console inregularely, but
maybe every hour or so:

ehci_hcd :00:08.2: qh 81001f00aa00 (#00) state 4


unfortunately these messages mess up fullscreen console apps like mutt,
irssi, vim etc. but that's not the biggest problem. i could configure
syslog-ng to just print them to kern.log and not to the current console.

but what i really want is to know why these messages occur, and how i
fix that. do you have any suggestions here?

greetings
 jonas


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



usb 1-5.4: reset high speed USB device using ehci_hcd and address 3

2006-05-10 Thread Jonas Meurer
hallo,

ich habe vor 1-2 wochen hier geschrieben, dass ich andauernd folgende
fehlermeldung auf die konsole geschrieben bekomme:

usb 1-5.4: reset high speed USB device using ehci_hcd and address 3

mir wurde geantwortet, dass dies höchstwahrscheinlich an meinem via
usb-controller liegt, da die via chips dafür bekannt seien, unsauber
verarbeitet zu sein.

nun habe ich mir einen adaptec usb-controller gekauft, und lspci zeigt
ihn auch als NEC chipset an:
:00:08.0 USB Controller: NEC Corporation USB (rev 43)
:00:08.1 USB Controller: NEC Corporation USB (rev 43)
:00:08.2 USB Controller: NEC Corporation USB 2.0 (rev 04)

an diesen controller habe ich nun meinen usb-cardreader und meine
festplatte geschlossen, in der hoffnung dass die probleme mit usb
aufhören.
langzeit-erfahrungen habe ich nun noch nicht, weiß also auch nicht ob
der controller insgesammt sauberer und fehlerfreier arbeitet als der via
(bei dem es schon des öfteren lese-/schreib-fehler gab etc.), aber
zumindest diese blöden meldungen hören nicht auf.

noch eine weitere meldung wird ab und zu auf die konsole geschrieben:

ehci_hcd :00:08.2: qh 81001f00aa00 (#00) state 4

natürlich könnte ich jetzt meinen syslog-ng so umkonfigurieren, dass
solche meldungen nicht mehr auf die konsole, sondern nurnoch in kern.log
geschrieben werden. allerdings wüßte ich viel lieber ursache und lösung
für diese meldungen, anstatt sie zu ignorieren.

grüße
 jonas


-- 
Haeufig gestellte Fragen und Antworten (FAQ): 
http://www.de.debian.org/debian-user-german-FAQ/

Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)



Re: Probleme mit externer Seagate USB Festplatte

2006-04-30 Thread Jonas Meurer
On 29/04/2006 Sven Freyer wrote:
  Was genau bedeutet das, und kann ich zumindest irgendwie abstellen, dass
  das auf meine Konsole geschrieben wird? /var/log/syslog würde doch
  reichen. Das zerschießt mir jedesmal mutt, irssi, vim, wasauchimmer.
  Die Meldung kommt nur auf die ttys, nicht auf terminals in X.
 
 Wegen den Syslog-Meldungen schau mal in der /etc/syslog.conf nach einem
 Eintrag der als Logging-Ziel die Konsolen hat, vorausgesetzt du benutzt
 den Standard-Syslog und nicht syslog-ng.
 Wird auf alle Text-Konsolen geloggt oder nur auf eine ?

ich habe syslog-ng installiert, und es wird auf alle text-konsolen
geloggt.

 Wie das Ziel für alle Konsolen heißt bin ich mir auch grad nicht sicher.
 Ich habe bei mir als Logging-Ziel den Eintrag /dev/xconsole gefunden.
 Ob dieser Eintrag hierfür gut ist, bin ich mir auch nicht sicher.
 
 Da du keine Meldungen auf den X-Konsolen bekommst wird es wohl auch
 nicht * als Ziel sein, wie dies bei z.B. dem Standard-Eintrag
 *.emerg*   der Fall ist.

da könntest du recht haben. ich schätze, es ist tatsächlich
/dev/xconsole.

 Dann mußt du noch die Herkunft (Facility) der Meldungen herausfinden.
 Wird wahrscheinlich vom Kernel kommen, also z.B. als Facility   kern.*
 oder ähnliches.

jo, eigentlich will ich aber viel lieber den grund der meldung beheben,
als die meldung ignorieren ;-)

...
 jonas


-- 
Haeufig gestellte Fragen und Antworten (FAQ): 
http://www.de.debian.org/debian-user-german-FAQ/

Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)



Probleme mit externer Seagate USB Festplatte

2006-04-29 Thread Jonas Meurer
hallo,

ich habe eine externe 400GB Seagate USB Festplatte, und diese
funktioniert eigentlich auch ganz gut.

nur schaltet sie sich automatisch nach einigen Minuten Inaktivität in
den Standby-Modus, und braucht dann, wenn ich auf sie zugreifen will,
ziemlich lange um sich wieder hochzufahren.

Ich wollte mal fragen, ob man die Zeit, bis die Festplatte in den
Ruhemodus geht, einstellen kann, eventuell mit hdparms oder so.

Und ausserdem bekomme ich andauernd folgende Meldung auf die Konsole
geschrieben (teilweise fast minütlich, dann wieder eine Stunde
garnicht):
usb 1-4.4: reset high speed USB device using ehci_hcd and address 4

Was genau bedeutet das, und kann ich zumindest irgendwie abstellen, dass
das auf meine Konsole geschrieben wird? /var/log/syslog würde doch
reichen. Das zerschießt mir jedesmal mutt, irssi, vim, wasauchimmer.
Die Meldung kommt nur auf die ttys, nicht auf terminals in X.

grüße
 jonas


-- 
Haeufig gestellte Fragen und Antworten (FAQ): 
http://www.de.debian.org/debian-user-german-FAQ/

Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)



nur tty1-tty9 obwohl 12 konfiguriert sind

2006-03-12 Thread Jonas Meurer
hallo,

aus irgendeinem seltsammen grund habe ich nur tty1 - tty9, obwohl in
/etc/inittab zwölf konfiguriert sind.
ich weiß, dass ich früher zwölf consolen hatte, was hat also dazu
geführt, dass ich nun nurnoch neun habe?

ich habe debian/unstable installiert und nutze das console-setup package
um charset und console font einzustellen. ich kann mir allerdings nicht
vorstellen, dass dieses package damit zutun hat, da es ohnehin nur tty1
bis tty6 verändert. tty8 und tty9 bleiben von dieser konfiguration
(leider) unberührt.

hier meine konfiguration in /etc/inittab:
1:2345:respawn:/sbin/getty 38400 tty1
2:23:respawn:/sbin/getty 38400 tty2
3:23:respawn:/sbin/getty 38400 tty3
4:23:respawn:/sbin/getty 38400 tty4
5:23:respawn:/sbin/getty 38400 tty5
6:23:respawn:/sbin/getty 38400 tty6
8:23:respawn:/sbin/getty 38400 tty8
9:23:respawn:/sbin/getty 38400 tty9
10:23:respawn:/sbin/getty 38400 tty10
11:23:respawn:/sbin/getty 38400 tty11
12:23:respawn:/sbin/getty 38400 tty12


-- 
Haeufig gestellte Fragen und Antworten (FAQ): 
http://www.de.debian.org/debian-user-german-FAQ/

Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)



probleme mit kbd, utf-8 und unicode_start

2006-01-21 Thread Jonas Meurer
hallo,

ich versuche seit mehreren jahren, mein debian/unstable system so
einzustellen, dass alles (das meißte) mit unicode funktioniert.

vor einigen wochen (seit bug #271013 gefixt ist) lief auch alles soweit
ganz gut, mit der schrift LatCyrGr-16 aus fonty-rg und entsprechender
konfiguration von console-tools lief alles wie gewünscht.

einziges problem war, dass nur tty 1-6 beim booten ensprechend
konfiguriert wurden, tty 8-12 (selbst in inittab eingetragen) blieben
unberührt, und mussten weiterhin manuell mit unicode_start in unicode
mode gesetzt werden.

nun habe ich kbd anstatt console-tools installiert, da es aktivere
upstream entwickler zu haben scheint, und unicode_start verbessert sein
soll.

seit ich kbd installiert habe, wird allerdings wieder nur tty1, bzw.
anscheinend nichtmal diese beim booten in unicode mode geändert.
'unicode_start LatCyrGr-16' funktioniert super, nur gibt es errrors
aus, sofern es nicht als root aufgerufen wird.

nun meine frage: kann ich kbd auch so konfigurieren, dass es _alle_
tty's automatisch beim booten in unicode mode ändert, und die
consolen-schrift LatCyrGr-16 nutzt?

ich habe in /etc/kbd/config bereits:
CONSOLE_FONT=LatCyrGr-16

# /etc/init.d/console-screen.kbd.sh
Setting up general console font... Loading 512-char 8x16 font from file \
/usr/share/consolefonts/LatCyrGr-16.psf.gz
Loading Unicode mapping table...

das sieht eigentlich nach dem aus, was er machen soll, allerdings
scheint es nicht zu funktionieren.

vielleicht ist das problem ja ganz simpel, und ich muss nur eine
konfigurations-option ändern, um das gewünschte ziel zu erreichen.

...
 jonas


-- 
Haeufig gestellte Fragen und Antworten (FAQ): 
http://www.de.debian.org/debian-user-german-FAQ/

Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)



Re: öffentliche n Musik-Pc einrichten

2005-09-17 Thread Jonas Meurer
On 17/09/2005 Andreas Pakulat wrote:
 On 17.09.05 08:19:30, Christian Frommeyer wrote:
- welcher music-player? irgendwas in dem stil von itunes wäre toll,
xmms und beep-music-player sind zu simpel, um windows-usern
übersicht über alle musik zu bieten.
  
  Wieso winamp ist doch ein Windows Programm mit dem viele Leute auch 
  umgehen können.
 
 Der aktuelle Winamp sieht aber gaaanz anders aus als xmms oder bmp, der
 hat sich auch in Richtung iTunes/MediaPlayer entwickelt. Da koennen eher
 amarok oder rythmbox als Alternativen gelten.

genau das ist der punkt. eigentlich sieht amarok genau nach dem aus, was
ich suche, nur ist das wieder so eine riesen applikation.

der rechner, um den es sich handelt ist ein P-II, und wenn das selbst
auf meinem amd64 system teils hängt, kann das auf so alter hardware ja
nichts werden.

...
 jonas


-- 
Haeufig gestellte Fragen und Antworten (FAQ): 
http://www.de.debian.org/debian-user-german-FAQ/

Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)



öffentliche n Musik-Pc einrichten

2005-09-16 Thread Jonas Meurer
hallo,

ich will für das Cafe eines Jugendzentrums einen Musik-PC einrichten,
das heißt ein simpler i386-Rechner mit Soundkarte, Tastatur und Monitor
der nur zum mp3s/oggs abspielen genutzt werden soll.

Ausserdem soll es möglich sein, cds als mp3 zu rippen, mp3s von cd/dvd
auf den rechner zu kopieren sowie die musik zu verwalten (löschen,
umbenennen etc.)

Ich habe das debian system bereits soweit eingerichtet, dass gdm beim
hochfahren automatisch als user 'cafe' einloggt, und icewm als
windowmanager startet.

allerdings missfällt mir die tatsache, dass mit den meißten
windowmanagern gleich ganze menüs und paletten an anwendungen kommen.

im prinzip wäre eine graphische oberfläche mit nur den benötigten
funktionen am besten, das heißt ein icon zum musik abspielen, eins zum
audio-cd rippen und eins zum musik kopieren/umbenennen/löschen.

das cd rippen werde ich durch ein simples script lösen, welches am ende
einen filemanager in dem verzeichnisse der neu erstellten mp3s aufruft.

ich bin mir aber über einiges noch nicht sicher:
- welcher windowmanager? icewm ist mein persönliches favourit,
  allerdings tut es für so einen simplen zweck auch oroborus +
  desklaunch.
- welcher music-player? irgendwas in dem stil von itunes wäre toll, xmms
  und beep-music-player sind zu simpel, um windows-usern übersicht über
  alle musik zu bieten.
- welcher filemanager zum verwalten von musik? am besten wäre ein
  music-player der hier gleich eine perfekte lösung mitliefert.
  ansonsten bin ich ein wenig aufgeschmissen, da alle mir bekannten
  graphischen filemanager (xfm, xfe, rox-filer) irgendwelche tücken
  haben.

vielleicht habt ihr ein paar ideen, auch wie ich das im großen und
ganzen lösen könnte, vielleicht gibt's ja ne bessere idee als alles
manuell zu konfigurieren.

...
 jonas


-- 
Haeufig gestellte Fragen und Antworten (FAQ): 
http://www.de.debian.org/debian-user-german-FAQ/

Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)



nach domain aufgeteilte mail (smtp pop3/imap) accounts

2005-07-19 Thread Jonas Meurer
hallo,

ein rechner der mehrere domains verwaltet hat normalerweise eine
mailaddresse pro system user.
wenn der mailserver auf dem rechner domain1.com und domain2.com
verwaltet, so gehen mails an [EMAIL PROTECTED] und [EMAIL PROTECTED]
erstmal in die selbe mailbox, die von dem systemuser user.

nun könnte man domain-spezifische systemuser anlegen, um die mailboxes
von [EMAIL PROTECTED] und [EMAIL PROTECTED] zu trennen.
zum beispiel user_domain1 und user_domain2 erstellen und nach domain
getrennte aliases im mta konfigurieren:
'user:  user_domain1' in dem aliases file für domain1 und
'user:  user_domain2' in dem aliases file für domain2

das hat allerdings den unschönen effekt, dass pop3 oder imap benutzer
nicht ihren mail namen nutzen können. der user mit der email
[EMAIL PROTECTED] muss so den login user_domain1 als pop3/imap login
benutzen.

gibt es eine möglichkeit das zu umgehen?

im prinzip müsste es einfach einen pop3/imap server geben, der die user
nach domains aufsplittet, und wenn jemand mail.domain1.com als user
'user' connected, wird automatisch die mailbox von systemuser
user_domain1 genommen.

oder gibt es elegantere möglichkeiten?

ein weg wäre noch, die gesammte email addresse (wie bei gmx) als
username zu nehmen, aber das lässt adduser nicht zu, da @ in usernamen
nicht unterstützt wird.

bye
 jonas


-- 
Haeufig gestellte Fragen und Antworten (FAQ): 
http://www.de.debian.org/debian-user-german-FAQ/

Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)



Re: udev und /dev/root

2005-07-06 Thread Jonas Meurer
On 06/07/2005 Jens Ruehmkorf wrote:
 Hi Jonas!
 
 On Wed, 6 Jul 2005, Jonas Meurer wrote:
  gibt es eine m�glichkeit, in udev /dev/root als symlink auf das root
  device zu haben?
 
 Die Links, Gruppenzugehoerigkeiten, Zugriffsrechte in /dev etc. werden
 gemaess /etc/udev/* angelegt, beim Booten oder auch spaeter durch:
 /etc/init.d/udev restart


schon klar, nur war /dev/root bei devfs bereits beim booten gesetzt,
konnte also als boot parameter f�r rootfs gegeben werden.

 So geht's zum Beispiel:
 
 -- /etc/udev/rootfs.rules, chmod 644 --
 BUS=ide, KERNEL=hd[a-z]*, PROGRAM=/etc/udev/scripts/rootfs.sh %k, \
   RESULT=rootfs, SYMLINK=rootfs
 
 Dann noch das Skript:
 
 -- /etc/udev/scripts/rootfs.sh, chmod 755 --
 #!/bin/sh -e
 grep -q ^root=/dev/$1 /proc/cmdline  echo rootfs
 
 Und dann noch die Regel rootfs.rule mit aufnehmen:
 
 # cd /etc/udev/rules.d/
 # ln -s ../rootfs.rules .
 -- snap --
 
 Bei mir habe ich jetzt einen root-device --- /dev/rootfs
 
 Habt Ihr schoenere Alternativen? Ich wuerde gerne das Skript vermeiden.

das klingt logisch, ist aber verdammt kompliziert, daf�r dass devfs das
out-of-the-box und wiegesagt schon beim booten unterst�tzte. ich will
nicht �ber udev meckern, habe nur in vielen pro-udev docs gelesen, dass
es alle funktionalit�ten von devfs beinhaltet.

bye
 jonas


-- 
Haeufig gestellte Fragen und Antworten (FAQ): 
http://www.de.debian.org/debian-user-german-FAQ/

Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)



udev und /dev/root

2005-07-05 Thread Jonas Meurer
moin,

gibt es eine möglichkeit, in udev /dev/root als symlink auf das root
device zu haben?

bye
 jonas


-- 
Haeufig gestellte Fragen und Antworten (FAQ): 
http://www.de.debian.org/debian-user-german-FAQ/

Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)



exim4 und accounts fü r spezielle domains

2005-07-01 Thread Jonas Meurer
hallo,

ich würde gerne die mail-addressen auf einem server nach domains
trennen. normalerweise hat exim4 ja nur die möglichkeit, globale aliases
zu konfigurieren, das heißt aliases die für alle domains gelten.
das gleiche gilt für systemuser und deren mailaccounts. es gibt nur
einen user 'jonas', und der bekommt alle mails and [EMAIL PROTECTED] wobei
domain alle domains sein können, die exim4 konfiguriert hat.

was aber, wenn ich [EMAIL PROTECTED] und [EMAIL PROTECTED] trennen will, das
heißt wie verschiedene user behandeln?

um domain-spezifische aliases zu setzen habe ich bereits einen router
gebastelt, den ich in /etc/exim4/conf.d/router/410_local_virtual_users
gepackt habe (direkt nach 400_exim4-config_system_aliases):

virtual_users:
  debug_print = R: virtual_users for [EMAIL PROTECTED]
  driver = redirect
  domains = +local_domains
  allow_fail
  allow_defer
  data = [EMAIL PROTECTED]/etc/exim4/aliases/$domain}}
  qualify_preserve_domain
  no_more

wenn kein globales alias (in /etc/aliases) existiert, so wird geschaut
ob in /etc/exim4/aliases/domain ein alias für die spezielle domain
existiert.

wie aber richte ich domain-spezifische mailaccounts ein, das heißt wie
trenne ich die mailbox von [EMAIL PROTECTED] und [EMAIL PROTECTED]

geht es, einfach systemuser mit dem namen '[EMAIL PROTECTED]' anzulegen
(habe ich irgendwann mal mit courier gesehen) oder kann ich das in exim
intern irgendwie konfigurieren?

bye
 jonas


-- 
Haeufig gestellte Fragen und Antworten (FAQ): 
http://www.de.debian.org/debian-user-german-FAQ/

Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)



Re: exim4 und accounts fü r spezielle domains

2005-07-01 Thread Jonas Meurer
On 01/07/2005 Ulf Volmer wrote:
 On Fri, Jul 01, 2005 at 04:45:05PM +0200, Jonas Meurer wrote:
  
  was aber, wenn ich [EMAIL PROTECTED] und [EMAIL PROTECTED] trennen will, das
  heißt wie verschiedene user behandeln?
 
 # exim.conf
 # domain specific aliases
 domain_aliases:
driver = aliasfile
domains = example.com:expamle.org
file = /etc/exim/$domain.aliases
search_type = lsearch

jo, das ist noch eine andere möglichkeit, aliases nach domains zu
trennen. aber wie gesagt möchte ich ja echte mailboxes für die
verschiedenen user anlegen.

was mir so einfällt, ist system user mit dem namen 'user_domain.com'
anzulegen, und im domain-spezifischen alias file dann:
user: user_domain.com

das ist aber ziemlich lästig. ich hoffe da gibt es was einfacheres.

bye
 jonas


-- 
Haeufig gestellte Fragen und Antworten (FAQ): 
http://www.de.debian.org/debian-user-german-FAQ/

Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)



apache2 + libapache2-mod-perl2 + libhtml-mason-perl

2005-07-01 Thread Jonas Meurer
hallo,

irgendwie gibt es andauernd probleme mit der im subjekt genannten
kombination. ich habe debian/testing (amd64) laufen, und apache2 startet
nach dem letzen upgrade nicht mehr. er gibt folgende fehlermeldung:

---snip---
[Fri Jul 01 16:48:38 2005] [error] Need CGI.pm or Apache::Request to \
operate at /usr/lib/perl5/Apache2/Apache/Status.pm line 50.
Compilation failed in require at (eval 29) line 2.
BEGIN failed--compilation aborted at (eval 29) line 2.

Stack:
[/usr/share/perl5/HTML/Mason/ApacheHandler.pm:686]
Compilation failed in require at (eval 3) line 3.
---snip---

libapache2-request-perl ist installiert, und CGI.pm existiert in
usr/share/perl/5.8.7/CGI.pm.

das ganze ist ziemlich verwirrend, ich weiß wirklich nicht woran das
liegen könnte.

da es nach einem upgrade von libapache2-request-perl passierte, habe ich
natürlich erstmal versucht, dieses packet wieder downzugraden, was
allerdings keine änderung brachte.

hat jemand eine idee?

bye
 jonas


-- 
Haeufig gestellte Fragen und Antworten (FAQ): 
http://www.de.debian.org/debian-user-german-FAQ/

Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)



Re: USB-Drucker HP LaserJet 1010 druckt nicht mehr

2005-06-19 Thread Jonas Meurer
On 18/06/2005 Amir Tabatabaei wrote:
 ich wrde folgendes ausprobieren:
 
 $EDITOR /etc/cups/cupsd.conf
 LogLevel debug2
 /etc/init.d/cupsys restart
 tail -f /var/log/cups/error_log
 
 Erneut drucken und dann drftest eigentlich wissen, warum es nicht funzt.

also, wenn ich einfach von der console drucke, bekomme ich folgende
fehlermeldung:
hpijs[4659]: segfault at 00010057d938 rip 0042d7b4 rsp \
7fffe990 error 4


mit loglevel info (default) in /var/log/cups/error_log:
I [19/Jun/2005:21:06:55 +0200] Started backend /usr/lib/cups/backend/usb \
(PID 5686) for job 226.
E [19/Jun/2005:21:06:55 +0200] PID 5685 stopped with status 3!
I [19/Jun/2005:21:06:55 +0200] Hint: Try setting the LogLevel to debug \
to find out more.

mit loglevel debug:
D [19/Jun/2005:21:08:42 +0200] [Job 227] renderer command: gs -q -dBATCH \
-dPARANOIDSAFER -dQUIET -dNOPAUSE -sDEVICE=ijs -sIjsServer=hpijs \
-sDeviceManufacturer=HEWLETT-PACKARD -sDeviceModel=hp LaserJet 1010 
\
-dDEVICEWIDTHPOINTS=595 -dDEVICEHEIGHTPOINTS=842 -dDuplex=false -r600 \

-sIjsParams=Quality:Quality=0,Quality:ColorMode=0,Quality:MediaType=0,Quality:PenSet=0,PS:MediaPosition=7
 \
-dIjsUseOutputFD -sOutputFile=- -
D [19/Jun/2005:21:08:42 +0200] [Job 227] perl: warning: Setting locale \
failed.
D [19/Jun/2005:21:08:42 +0200] [Job 227] perl: warning: Please check \
that your locale settings:
D [19/Jun/2005:21:08:42 +0200] [Job 227] LANGUAGE = (unset),
D [19/Jun/2005:21:08:42 +0200] [Job 227] LC_ALL = (unset),
D [19/Jun/2005:21:08:42 +0200] [Job 227] LANG = en
D [19/Jun/2005:21:08:42 +0200] [Job 227] are supported and installed on \
your system.
D [19/Jun/2005:21:08:42 +0200] [Job 227] perl: warning: Falling back to \
the standard locale (C).
D [19/Jun/2005:21:08:42 +0200] [Job 227] foomatic-gswrapper: gs \
'-dBATCH' '-dPARANOIDSAFER' '-dQUIET' '-dNOPAUSE' '-sDEVICE=ijs' \
'-sIjsServer=hpijs' '-sDeviceManufacturer=HEWLETT-PACKARD' \
'-sDeviceModel=hp LaserJet 1010' '-dDEVICEWIDTHPOINTS=595' \
'-dDEVICEHEIGHTPOINTS=842' '-dDuplex=false' '-r600' \

'-sIjsParams=Quality:Quality=0,Quality:ColorMode=0,Quality:MediaType=0,Quality:PenSet=0,PS:MediaPosition=7'
 \
'-dIjsUseOutputFD' '-sOutputFile=/dev/fd/3' '/dev/fd/0' 31 12
D [19/Jun/2005:21:08:42 +0200] [Job 227] LPGETSTATUS returned a port \
status of 18...
hpijs[5723]: segfault at 00010057d938 rip 0042d7b4 rsp \
7fffe990 error 4
D [19/Jun/2005:21:08:42 +0200] [Job 227]
D [19/Jun/2005:21:08:42 +0200] [Job 227] Closing renderer
D [19/Jun/2005:21:08:42 +0200] [Job 227] Error: /ioerror in \
--.outputpage--
D [19/Jun/2005:21:08:42 +0200] [Job 227] Operand stack:
D [19/Jun/2005:21:08:42 +0200] [Job 227] 1   true
D [19/Jun/2005:21:08:42 +0200] [Job 227] Execution stack:

also existiert ein problem mit gs?

ich habe gs-common und gs-esp neu installiert, was jedoch nichts half.

ich denke die erste relevante zeile ist:
D [19/Jun/2005:21:08:42 +0200] [Job 227] LPGETSTATUS returned a port \
status of 18...

da der segfault von hpijs kommt, knnte das problem auch dort liegen.
ich habe auch hpijs und foomatic-db-hpijs neu installiert.

wenn ich hp-testpage von hplip aufrufe, kommt:
drivers/usb/class/usblp.c: usblp0: nonzero read/write bulk status \
received: -2
drivers/usb/class/usblp.c: usblp0: error -2 reading from printer
hpijs[7121]: segfault at 000100577252 rip \
0042d7b4 rsp 7fffe970 error 4
 

hat irgendwer eine idee, woran das liegen knnte?

bye
 jonas


-- 
Haeufig gestellte Fragen und Antworten (FAQ): 
http://www.de.debian.org/debian-user-german-FAQ/

Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)



USB-Drucker HP LaserJet 1010 druckt nicht mehr

2005-06-17 Thread Jonas Meurer
hallo,

ich habe debian/unstable laufen, und seit dem letzen upgrade von hplip
druckt mein LaserJet 1010 nicht mehr.

ich habe mehrfach versucht, ihn in CUPS umzukonfigurieren, allerdings
druckt er einfach nicht mehr, egal welches PPD ich nehme. auch wenn ich
PPDs probiere, die nicht aus den HPLIP paketen stammen, passiert nichts.

irgendein signal wird wohl an den drucker gesendet, da er kurz einmal
blinkt, dann aber nichts macht.


laut gtklpq erscheint der druckauftrag auch kurzzeitig in der queue,
verschwindet jedoch sofort wieder, nachdem der drucker kurz geblinkt
hat.

da weder foomatic noch cups in den letzten tagen geupgraded wurde, kann
es eigentlich nur an hplip liegen.

was meint ihr?

bye
 jonas


-- 
Haeufig gestellte Fragen und Antworten (FAQ): 
http://www.de.debian.org/debian-user-german-FAQ/

Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)



Re: USB-Drucker HP LaserJet 1010 druckt nicht mehr

2005-06-17 Thread Jonas Meurer
On 17/06/2005 Andreas Kretschmer wrote:
 am  17.06.2005, um 17:07:55 +0200 mailte Jonas Meurer folgendes:
  ich habe debian/unstable laufen, und seit dem letzen upgrade von hplip
  druckt mein LaserJet 1010 nicht mehr.
 
 Schu ins blaue: install gs-esp. Ohne Garantie, aber IMHO lief erst vor
 wenigen Tagen hier was hnliches.

gs-esp is already the newest version.

das kann es also nicht sein.

bye
 jonas


-- 
Haeufig gestellte Fragen und Antworten (FAQ): 
http://www.de.debian.org/debian-user-german-FAQ/

Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)



Re: gelöschte daten auf ext3 dateisystem wieder herstellen (grep?)

2005-03-12 Thread Jonas Meurer
On 10/03/2005 Mario Holbe wrote:
 Andreas Pakulat [EMAIL PROTECTED] wrote:
  On 10.Mär 2005 - 15:59:57, Jonas Meurer wrote:
  vorweg, ich weiß ich bin bescheuert, ich habe keine backups und kein
  ext2 filesystem (recover, e2undel helfen mir nicht).
  ext3 == ext2+Journal. Mounte die Partiton als ext2 und versuche dein
 
 ext3 == ext2 + Journal + ein wenig anderes Verhalten.
 Zu dem ein wenig anderen Verhalten gehoert z.B. auch das NULLen der
 blocklist im inode...

ja, genau das habe ich auch herausgefunden.

  Glueck mit e2undel und recover
 
 ...weshalb genau *dies* nicht geht.
 
 Wenn Du das fs zum Zeitpunkt des Loeschens als ext2 mounted hast,
 gehts. Wenns zum Zeitpunkt des Loeschens als ext3 gemounted war:
 Pech gehabt. Da hilft wirklich nur noch, die einzelnen Bloecke von
 Hand zusammenzusammeln.

jo, und dazu habe ich folgendes gefunden: ext3rminator von
http://glandium.org/debian/repositority/experimental

das hat mir immerhin 2100 dateien restored hat, worunter ich bereits
meine mozilla config und einige dateien meiner debian packete entdecken
konnte.

ich werde jetzt noch SleuthKit und AutoPsy probieren, da das auch ganz
nett klingt. danach werde ich wohl beginnen, die 2100+ dateien
durchzugehen, das wird ein spaß ;)
aber immerhin ist nicht alles weg ...

tausend dank nochmal

bye
 jonas


-- 
Haeufig gestellte Fragen und Antworten (FAQ): 
http://www.de.debian.org/debian-user-german-FAQ/

Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)



Dateityp erkennen und entsprechend umbenennen (was: gelöschte daten auf ext3 dateisystem wieder herstellen)

2005-03-12 Thread Jonas Meurer
On 12/03/2005 Michelle Konzack wrote:
 Am 2005-03-12 14:29:58, schrieb Jonas Meurer:
  
  ich werde jetzt noch SleuthKit und AutoPsy probieren, da das auch ganz
  nett klingt. danach werde ich wohl beginnen, die 2100+ dateien
  durchzugehen, das wird ein spaß ;)
  aber immerhin ist nicht alles weg ...
 
 Immerhin ist wochenende und Du hast »VIEL« Zeit :-)

ich bin nur die ganze zeit am überlegen wie ich das automatisieren kann
...
for file in *; do file $file; done | sort  files.filetype
for file in *; do file -i $file; done | sort  files.mimetype

hat mir ja schommal sehr geholfen. hat jemand einen kurzen script
vorschlag das irgendwie zu automatisieren, zum beispiel alle
offensichtlichen perl code dateien in $file.pl umzubenennen?

vielleicht gibt es für dieses problem ja sogar schon software ...

das problem an den 2100+ dateien ist ja, dass da ein riesen-anteil
unbrauchbar ist, zb. mozilla cache files, uralte, vor ewigkeiten
gelöschte files, thumbnails, ... daher würde ich gerne noch ein wenig
automatisch sortieren bevor ich wirklich anfange die alle durchzutesten.

ich meine bei ascii files reicht ein cat, aber bei allen anderen
benötige ich zumindest den programm-aufruf um zu testen ob es geht. ich
kann schlecht automatisieren, dass zb. gimp ein bild aufruft, bei
erfolg weitermacht und bei misslingen etwas anderes tut ... oder xine
ein video aufruft, bei erfolg das nächste testet und bei misslingen
etwas anderes tut. oder etwa doch?

bye
 jonas



gelöschte daten auf ext3 dateisystem wieder herstellen (grep?)

2005-03-10 Thread Jonas Meurer
hallo,

vorweg, ich weiß ich bin bescheuert, ich habe keine backups und kein
ext2 filesystem (recover, e2undel helfen mir nicht).

dennoch habe ich leider (dank `mount -t bind /home /chroot/sid/home` und
später `rm -r /chroot/sid`) mein komplettes homeverzeichnis gelöscht.

das enthielt vor allem quellcode, openoffice, pdf, ps und text dokumente
und bilder.

ich habe bereits kräftig gegoogelt, und herausgefunden, dass ext3 nur
eine möglichkeit lässt, an mit rm gelöschte daten zu kommen: grep:
# grep -a -A 200 -B 2 'text' /dev/hdb3

leider ist das in meinem fall sehr mühevoll, da ich weder bei allen
dateien eine idee habe, was in den ersten zeilen steht, noch überhaupt
weis, was ich alles an daten hatte.

gibt es also vielleicht eine möglichkeit, alle wirklichen ascii-elemente
aus dem filesystem rauszugreppen, um wenigstens das zu retten? ich
verstehe, dass ich mit grep keine binären dateien wie zb. pdf, ooo oder
M$ word dokumente retten kann, aber zumindest quellcode, configs und
text dokumente kann ich so vielleicht rekonstruieren.

also meine frage:

gibt es irgendwelche möglichkeiten 'grep -a -A# -B# text device' ein
wenig zu improvisisieren, oder eben sämtlichen UTF-8/ISO-8859-1 inhalt
einfach rauszuziehen? damit wäre mir wirklich enorm geholfen ...

danke schonmal für jegliche ideen.

bye
 jonas


-- 
Haeufig gestellte Fragen und Antworten (FAQ): 
http://www.de.debian.org/debian-user-german-FAQ/

Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)



Re: email benachrichtigungstool unter icewm

2005-03-06 Thread Jonas Meurer
On 05/03/2005 Wolf Wiegand wrote:
 Das geht anscheinend doch. Aus http://www.icewm.org/manual/icewm-10.html
 
 |MailBoxPath
 |
 | Path to a mbox file. Remote mail boxes are accessed by specifying
 | an URL using the Common Internet Scheme Syntax (RFC 1738):
 |
 |scheme://[user[:[EMAIL PROTECTED]:port][/path]
 |
 |Supported schemes are pop3, imap and file. When the scheme is 
 |omitted file:// is prepended silently. IMAP subfolders can be access 
 |by using the path component.

wow, du hast recht. es funktioniert einwandfrei. tausend dank nochmal ;)

bye
 jonas


-- 
Haeufig gestellte Fragen und Antworten (FAQ): 
http://www.de.debian.org/debian-user-german-FAQ/

Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)



email benachrichtigungstool unter icewm

2005-03-05 Thread Jonas Meurer
hallo,

ich nutze icewm als window manager, und würde gerne dessen funktionen
nutzen, nach neuen emails zu checken.

dazu habe ich jetzt verschiedene biff-derivate abgeklappert. aber leider
habe ich keines zum laufen bekommen. meine emails sind über imap(s)
erreichbar, was laut packet-beschreibung bbmail, kbiff,
mail-notification, wmmail, xlassie und gnubiff können.
bbmail, kbiff und wmmail sind von vorneherein windowmanager spezifische
applets, weshalb sie rausfallen.
xlassie lässt sich zwar konfigurieren, gibt aber weder statusmeldungen
aus, noch ändert sich was an der angezeigten zahl von 0 ungelesenen
mails.
gnubiff gibt zwar an einiges zu können, sieht aber bei näherer
betrachtung so aus, als könne er garnichts.

mail-notification sah noch mit abstand am sinnvollsten aus, nur geht
nichtmal das wirklich. nachdem ich es konfiguriert habe (check-interval
ist schonmal nicht einstellbar, und ssl support ist deaktiviert),
passiert einfach nichts mehr, und in meinem panel erscheint ein kleines
rotes x anstatt der mail-status-anzeige. also auch ein problem.

hat den irgendjemand sowas in der art mit icewm am laufen?

bye
 jonas


-- 
Haeufig gestellte Fragen und Antworten (FAQ): 
http://www.de.debian.org/debian-user-german-FAQ/

Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)



Re: email benachrichtigungstool unter icewm

2005-03-05 Thread Jonas Meurer
On 05/03/2005 Martin Samesch wrote:
 On Sat, Mar 05, 2005 at 06:22:21PM +0100, Jonas Meurer wrote:
  ich nutze icewm als window manager, und würde gerne dessen funktionen
  nutzen, nach neuen emails zu checken.
 
 Dafür gibts doch diesen kleinen Briefumschlag in der Taskbar, der
 normalerweise weiß ist und (zumindest bei mir) grün wird, wenns neue
 Mails gibt.

klingt verdammt nach dem was ich haben will ...

 Such doch mal in Deiner .icewm/preferences nach Mail. Hier:
 
   [EMAIL PROTECTED]:~$ grep -i mail .icewm/preferences
   # Show mailbox status on the task bar
   TaskBarShowMailboxStatus=1 # 0 / 1
   # Beep when new mail arrives
   TaskBarMailboxStatusBeepOnNewMail=0 # 0 / 1
   # Count messages in mailbox
   TaskBarMailboxStatusCountMessages=0 # 0 / 1
   # Delay between new-mail checks in seconds
   MailCheckDelay=3600 # 0-3600
   # Mailbox path ($MAIL is used if no value is specified)
   MailBoxPath=
   # Command to run on mailbox
   MailCommand=xterm -geometry 80x50-40+40 -e mutt
   # Command to run when new mail arrives
   NewMailCommand=

jo, das habe ich auch so in der art. nur kann ich $MAIL ja nicht auf
imaps://[EMAIL PROTECTED]:994/INBOX.jonas setzen, oder? icewm wird keine
remote mailboxes unterstützen. und dazu benötige ich eben ein externes
programm, denke ich.

 Wenn ich draufklicke, wird MailCommand aufgerufen.

bei mir taucht garnichts auf, obwohl $MAIL auf /var/spool/jonas zeigt,
was nicht leer ist (aber keine ungelesenen mails hat).

bye
 jonas


-- 
Haeufig gestellte Fragen und Antworten (FAQ): 
http://www.de.debian.org/debian-user-german-FAQ/

Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)



probleme mit random entropy bei headless server

2005-02-06 Thread Jonas Meurer
hallo,

bei unserem debian/sarge server mit kernel 2.4.27 war vor einigen wochen
/dev/random plötzlich still. 'cat /dev/random' gab nichts mehr aus, und
/proc/sys/kernel/random/entropy_avail hatte den wert 0.

nach einigen nachforschungen hatte ich dann herausgefunden, dass
/dev/random besonders sichere zufällige daten liefert, und daher nur
gewisse resourcen genutzt werden, um den pool von /dev/random mit
neuen zufallsdaten zu füllen.
dazu gehören vor allem tastatur und maus, was natürlich beides nicht an
einen server angeschlossen ist, in unserem falle also schonmal keine
daten für /dev/random liefert.

auch im laufe einiger tage änderte sich nichts an dieser situation,
/dev/random bekam also _keine_ neuen daten. der server hatte 58 tage
uptime, als das problem auftrat, und ich bin mir sicher er war früher
schon länger am stück oben ohne dass das problem auftrat.

abhilfe schaffte schließlich das bauen eines neuen kernels (mit den
hardware random generator treibern als module), und ein anschließender
reboot.
zur zeit gibt /dev/random wieder fröhlich zufallsdaten aus.

laut 'fuser /dev/random' nutzt vor allem bind9 dauerhaft dieses device,
und zeitweilig auch exim4 (welcher tls-verbindungen entgegen nimmt).

leider konnte ich nach dem reboot keinen der hw random teiber laden:

# insmod i810_rng
Using /lib/modules/2.4.27-2/kernel/drivers/char/i810_rng.o
 /lib/modules/2.4.27-2/kernel/drivers/char/i810_rng.o: init_module: \
No such device
# insmod hw_random
Using /lib/modules/2.4.27-2/kernel/drivers/char/hw_random.o
 /lib/modules/2.4.27-2/kernel/drivers/char/hw_random.o: init_module: \
No such device

# dmesg | tail -2
i810_rng: RNG not detected
hw_random: RNG not detected

mein motherboard ist auf jeden fall ein intel basiertes 8 board:
# lspci | head -1
:00:00.0 Host bridge: Intel Corp. 82845G/GL[Brookdale-G]/GE/PE \
DRAM Controller/Host-Hub Interface (rev 03)


ich habe jetzt natürlich ein wenig bedenken, ob der server nicht wieder
in ca. 50 tagen keine random entropy mehr hat.

gibt es irgendwelche abhilfe anderer art?

ich habe auf der kernel mailingliste gelesen, dass jemand seine ide
treiber so gepatcht hat, dass sie /dev/random beliefern, aber ich will
nicht an dem server rumprobieren, jeder reboot nervt zu viele menschen.

/proc/interrupts zeigt auch, dass timer, netzwerk devices sowie die
festplatten durchaus random entrophy erzeugen.
nur muss das ja zu wenig - wenn nicht garnichts sein.

/proc/interrupts:
   CPU0   CPU1
  0:   76786145  0IO-APIC-edge  timer
  1:  2  0IO-APIC-edge  keyboard
  2:  0  0  XT-PIC  cascade
  8: 13  0IO-APIC-edge  rtc
 14:3386263  1IO-APIC-edge  ide0
 15:3347962  1IO-APIC-edge  ide1
 16:  0  0   IO-APIC-level  usb-uhci
 17:  101546837  0   IO-APIC-level  eth0
 18:  0  0   IO-APIC-level  usb-uhci
 19:  0  0   IO-APIC-level  usb-uhci
NMI:  0  0
LOC:   76787136   76787135
ERR:  0
MIS:  0

ich hoffe ihr könnt mir irgendwie helfen ...

bye
 jonas


-- 
Haeufig gestellte Fragen und Antworten (FAQ): 
http://www.de.debian.org/debian-user-german-FAQ/

Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)



prozess braucht 99% cpu - trozdem nur 50% cpu gesammt genutzt

2004-12-01 Thread Jonas Meurer
hallo,

wenn ich meinen zope-server derart belaste, dass top anzeigt, er würde
99% cpu auslasten, sind trotzdem nur ca. 50% insgesammt ausgelastet.

das selbe verhalten kann ich mit cpuburn beobachten. erst nachdem ich
zwei cpuburn prozesse gestartet habe, ist auch die gesamt-cpu-auslastung
gegen 100% gelaufen.

kann das an der neuen Pentium 4 3,06 GHz HT (Hyperthreading) CPU in
unserem server liegen?

bye
 jonas


-- 
Haeufig gestellte Fragen und Antworten (FAQ): 
http://www.de.debian.org/debian-user-german-FAQ/

Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)



  1   2   >