Re: apt-get wrapper for maintaining Partial Mirrors

2009-06-13 Thread Anton Piatek
2009/6/10 sanket agarwal snktagar...@gmail.com:
 Hi all,

 We all know that there are various distro's that build around Debian.
 I had an idea in mind whereby the task of making mirrors for personal
 distributions can be automated. This can be stated as: if a person
 wants to keep a customised set of packages for usage with the
 distribution, the tool should be able to develop dependencies, fetch
 packages, generate appropriate documentation and then create the
 corresponding directory structure in the target mirror! The task can
 be extended to include packages which are currently not under one of
 the standard mirrors!

 I think the tool can have immense utility in helping people automate
 the task of mantaining the repositories. Suggestions, positive and
 negative are invited.

 I have not included the impl details as I would first like to evaluate
 the idea at a feasibility and utility level.

How is this different from having a partial mirror and a full backing
mirror? (set the priority of your partial mirror higher with apt
preferences and it should override the backing mirror)

Anton

-- 
Anton Piatek
email: an...@piatek.co.uk   
blog/photos:http://www.strangeparty.com
pgp: [0xB307BAEF]   (http://www.strangeparty.com/anton.asc)
fingerprint: 116A 5F01 1E5F 1ADE 78C6 EDB3 B9B6 E622 B307 BAEF

No trees were destroyed in the sending of this message, however, a
significant number of electrons were terribly inconvenienced.


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



Re: Exporting ARCH to pbuilder through pdebuild?

2009-06-13 Thread Anton Piatek
2009/6/12 Boyd Stephen Smith Jr. b...@iguanasuicide.net:
 In 20090612042628.gk9...@penguin.codegnome.org, Todd A. Jacobs wrote:
Why is pbuilder still using /var/cache/pbuilder/sid-amd64-base.tgz
instead of the correct /var/cache/pbuilder/sid-i386-base.tgz in this
instance?

 This is a question better suited for debian-devel or debian-mentors.
 --
 Boyd Stephen Smith Jr.                   ,= ,-_-. =.
 b...@iguanasuicide.net                   ((_/)o o(\_))
 ICQ: 514984 YM/AIM: DaTwinkDaddy         `-'(. .)`-'
 http://iguanasuicide.net/                    \_/



I use the following on a 64 bit box to build 32 and 64bit packages in
a pbuilder chroot

$ls -l /usr/bin/pbuilder-lenny-amd64
lrwxrwxrwx 1 root root 15 2008-03-17 12:02
/usr/bin/pbuilder-lenny-amd64 - pbuilder-custom

$cat /usr/bin/pbuilder-custom
#!/bin/sh
# script from Jamin W. Collins  BTS: #255165
# name this script 'pbuilder-woody', 'pbuilder-sid', 'pbuilder-sarge',
'pbuilder-experimental' etc.

OPERATION=$1
DISTRIBUTION=`basename $0 | cut -f2 -d '-'`
ARCH=`basename $0 | cut -f3 -d '-'`
PROCEED=false
BASE_DIR=/var/cache/pbuilder
case $OPERATION in
   create|update|build|clean|login|execute )
  PROCEED=true
  ;;
esac
if ( $PROCEED == true ) then
   shift
   sudo linux32 pbuilder $OPERATION \
  --debootstrapopts --arch --debootstrapopts $ARCH \
  --basetgz $BASE_DIR/$DISTRIBUTION-$ARCH-base.tgz \
  --distribution $DISTRIBUTION \
  --buildresult $BASE_DIR/result $@
else
   echo Invalid command...
   echo Valid commands are:
   echocreate
   echoupdate
   echobuild
   echoclean
   echologin
   echoexecute
   exit 1
fi


Anton

-- 
Anton Piatek
email: an...@piatek.co.uk   
blog/photos:http://www.strangeparty.com
pgp: [0xB307BAEF]   (http://www.strangeparty.com/anton.asc)
fingerprint: 116A 5F01 1E5F 1ADE 78C6 EDB3 B9B6 E622 B307 BAEF

No trees were destroyed in the sending of this message, however, a
significant number of electrons were terribly inconvenienced.


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



Debugging a kernel module

2009-06-07 Thread Anton Piatek
I am trying to debug a kernel module (thinkpad_acpi in this case). I
know that because it is in the kernel I cannot just hook up a debugger
or anything without UML or a second machine kind-of-thing which will
probably take too much time for me at the moment.

I tried recompiling the kernel with the THINKPAD_ACPI_DEBUG=y and was
expecting that to turn on a load of prink's that I would see in my
debug log or syslog

Running this new debug-enabled kernel and module has not produced
anything extra in my logs - Do I need to set a global flag somewhere
for the kernel config to enable extra debug messages? Or is there
normally some magic flag I have to set when loading the module to make
it happen.

(As background information I am trying to work out why the CPU scaling
on my T43p forces the slowest scaling when on battery power - I was
hoping the thinkpad_acpi module might alert me to some internal values
as the system is running that might tell me why the kernel has decided
that the only sensible speed is 800mhz whenever on battery - perhaps
cpu temperature or similar)

Anton

-- 
Anton Piatek
email: an...@piatek.co.uk   
blog/photos:http://www.strangeparty.com
pgp: [0xB307BAEF]   (http://www.strangeparty.com/anton.asc)
fingerprint: 116A 5F01 1E5F 1ADE 78C6 EDB3 B9B6 E622 B307 BAEF

No trees were destroyed in the sending of this message, however, a
significant number of electrons were terribly inconvenienced.


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



Re: DPkg::Pre-Invoke

2009-06-07 Thread Anton Piatek
2009/6/6 Andrei Popescu andreimpope...@gmail.com:
 On Sat,06.Jun.09, 10:52:30, Peter Jordan wrote:

 i want to be informed per mail if someone installs, upgrades,
 downgrades, removes or purges a package via aptitude, apt-get or dpkg. I
 could of course parse the /var/lib/dpkg/status file, but that's not what
 i want.

 Ok, that's an entirely different problem. There might be other
 solutions, but how about monitoring dpkg.log with logcheck?

Have you tried man apt.conf:

   Pre-Install-Pkgs
   This is a list of shell commands to run before invoking
dpkg. Like options this must be specified in list notation. The
   commands are invoked in order using /bin/sh, should any
fail APT will abort. APT will pass to the commands on standard
   input the filenames of all .deb files it is going to
install, one per line.

Anton

-- 
Anton Piatek
email: an...@piatek.co.uk   
blog/photos:http://www.strangeparty.com
pgp: [0xB307BAEF]   (http://www.strangeparty.com/anton.asc)
fingerprint: 116A 5F01 1E5F 1ADE 78C6 EDB3 B9B6 E622 B307 BAEF

No trees were destroyed in the sending of this message, however, a
significant number of electrons were terribly inconvenienced.


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



kbuild-2.6.28 in sid?

2009-03-26 Thread Anton Piatek
Hi,
I am running the 2.6.28 kernel in sid, and wanted to build the vmware
kernel modules - for this I need the headers for 2.6.28, fine, but
they depend on linux-kbuild-2.6.28 which isn't available
Searching on packages.debian.org does not show that level in
experimental either.

Is this likely to be something that will come along soon, does it
sound like it was forgotten to be uploaded?
Basically, should I wait and see if it comes along (and should I do
anything to make that happen) or should I move back to a 2.6.26
kernel?

Anton

-- 
Anton Piatek
email: an...@piatek.co.uk   
blog/photos:http://www.strangeparty.com
pgp: [0xB307BAEF]   (http://www.strangeparty.com/anton.asc)
fingerprint: 116A 5F01 1E5F 1ADE 78C6 EDB3 B9B6 E622 B307 BAEF

No trees were destroyed in the sending of this message, however, a
significant number of electrons were terribly inconvenienced.


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



stopping syslog errors from vserver guests

2009-03-24 Thread Anton Piatek
Hi,

Following on from the below message where I found that some of my
vserver guests are causing errors to be written in the vserver host's
syslog, does anyone know if/how it is possible to stop certain errors
from appearing?

2009/3/23 Anton Piatek an...@piatek.co.uk:
 2009/3/23 Anton Piatek an...@piatek.co.uk:
 Not sure when these errors started, but I have recently been seeing
 errors in my syslog like the following:

 Mar 23 13:55:05 dementia kernel: [ 8535.882191] vxW:
 [�gkrellmd�,4613:#40002|40002|40002] did lookup hidden
 8103f59eeb08[#0,4026531859] �/proc�.
 Mar 23 13:55:05 dementia kernel: [ 8536.218039] vxW:
 [�gkrellmd�,4613:#40002|40002|40002] did lookup hidden
 8103f59eeb08[#0,4026531859] �/proc�.

 I thought they were coming from gkrellmd, but I have since uninstalled
 and rebooted and am still getting the errors.
 Can anyone tell me anything more about the errors? All I can figure
 out is they have something to do with gkrellmd which is no longer
 installed..

 Never mind - I found the cause. one of the vservers running on the box
 has gkrellmd installed and it is obviously trying to read something
 from /proc/ that is worthy of noting in the syslog of the vserver host
 box

Anton

-- 
Anton Piatek
email: an...@piatek.co.uk   
blog/photos:http://www.strangeparty.com
pgp: [0xB307BAEF]   (http://www.strangeparty.com/anton.asc)
fingerprint: 116A 5F01 1E5F 1ADE 78C6 EDB3 B9B6 E622 B307 BAEF

No trees were destroyed in the sending of this message, however, a
significant number of electrons were terribly inconvenienced.


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



Syslog errors in Lenny from gkrellmd

2009-03-23 Thread Anton Piatek
Not sure when these errors started, but I have recently been seeing
errors in my syslog like the following:

Mar 23 13:55:05 dementia kernel: [ 8535.882191] vxW:
[�gkrellmd�,4613:#40002|40002|40002] did lookup hidden
8103f59eeb08[#0,4026531859] �/proc�.
Mar 23 13:55:05 dementia kernel: [ 8536.218039] vxW:
[�gkrellmd�,4613:#40002|40002|40002] did lookup hidden
8103f59eeb08[#0,4026531859] �/proc�.

I thought they were coming from gkrellmd, but I have since uninstalled
and rebooted and am still getting the errors.
Can anyone tell me anything more about the errors? All I can figure
out is they have something to do with gkrellmd which is no longer
installed..

Anton

-- 
Anton Piatek
email: an...@piatek.co.uk   
blog/photos:http://www.strangeparty.com
pgp: [0xB307BAEF]   (http://www.strangeparty.com/anton.asc)
fingerprint: 116A 5F01 1E5F 1ADE 78C6 EDB3 B9B6 E622 B307 BAEF

No trees were destroyed in the sending of this message, however, a
significant number of electrons were terribly inconvenienced.


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



Re: Syslog errors in Lenny from gkrellmd

2009-03-23 Thread Anton Piatek
2009/3/23 Anton Piatek an...@piatek.co.uk:
 Not sure when these errors started, but I have recently been seeing
 errors in my syslog like the following:

 Mar 23 13:55:05 dementia kernel: [ 8535.882191] vxW:
 [�gkrellmd�,4613:#40002|40002|40002] did lookup hidden
 8103f59eeb08[#0,4026531859] �/proc�.
 Mar 23 13:55:05 dementia kernel: [ 8536.218039] vxW:
 [�gkrellmd�,4613:#40002|40002|40002] did lookup hidden
 8103f59eeb08[#0,4026531859] �/proc�.

 I thought they were coming from gkrellmd, but I have since uninstalled
 and rebooted and am still getting the errors.
 Can anyone tell me anything more about the errors? All I can figure
 out is they have something to do with gkrellmd which is no longer
 installed..

Never mind - I found the cause. one of the vservers running on the box
has gkrellmd installed and it is obviously trying to read something
from /proc/ that is worthy of noting in the syslog of the vserver host
box

Anton


-- 
Anton Piatek
email: an...@piatek.co.uk   
blog/photos:http://www.strangeparty.com
pgp: [0xB307BAEF]   (http://www.strangeparty.com/anton.asc)
fingerprint: 116A 5F01 1E5F 1ADE 78C6 EDB3 B9B6 E622 B307 BAEF

No trees were destroyed in the sending of this message, however, a
significant number of electrons were terribly inconvenienced.


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



dpkg -i from within postinst script

2008-11-13 Thread Anton Piatek
I work for a company that uses a specific java build - we are only
allowed to download it from a specific internal site, that is
authenticated.
I have written a package that downloads and builds it into a deb
(using make-jpkg + extra definitions) as part of the postinst script.
I would like it to install the package too, however everything i have
tried doesnt work

Obviously dpkg is locked, so tried forking a background bash process
to wait for it to become unlocked and then install, but the postinst
seems to wait for that to exit - so waits forever.

Short of adding a cronjob that tries to install it, and deletes itself
when done, can anyone think of any other ways I can have a deb marked
for installation after apt/dpkg is done with the current operation?
I have been unable to find anything built-in to dpkg that would let me
add it to the list of files to install, but maybe it exists?

Anton

-- 
Anton Piatek
email: [EMAIL PROTECTED]
blog/photos:http://www.strangeparty.com
pgp: [0xB307BAEF]   (http://www.strangeparty.com/anton.asc)
fingerprint: 116A 5F01 1E5F 1ADE 78C6 EDB3 B9B6 E622 B307 BAEF

No trees were destroyed in the sending of this message, however, a
significant number of electrons were terribly inconvenienced.


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



Re: dpkg -i from within postinst script

2008-11-13 Thread Anton Piatek
2008/11/13 François Cerbelle [EMAIL PROTECTED]:

 Le Jeu 13 novembre 2008 11:27, Tzafrir Cohen a écrit :
 On Thu, Nov 13, 2008 at 09:55:09AM +, Anton Piatek wrote:
 I work for a company that uses a specific java build - we are only
 allowed to download it from a specific internal site, that is
 authenticated.
 I have written a package that downloads and builds it into a deb
 (using make-jpkg + extra definitions) as part of the postinst script.
 I would like it to install the package too, however everything i have
 tried doesnt work

 You can not do that. It means that your package will rebuild the child
 package everytime it is installed ??? Furthermore, where a package (yours)
 is installing, the dpkg/apt database is locked to prevent another dpkg/apt
 from modifying it. So you will not be able to do such a strange thing.

 You should prepare a source package which use uscan or uupdate to check
 for new version availlability. So, you just have to rebuild the package
 each time the upstream release a new version. And push it in an intern
 repository (instead of your current package).

 If you can not embed the Java in your package (as Flash, for example),
 your package will only download and install the Java files in the postinst
 script and remove theses files in the prerm script.

 Your problem is not different than all the packages built upon upstream
 (non-debian) sources.

I am fully aware of how apt and dpkg are supposed to work - I cannot
ship a precompiled deb for legal reasons, so either each user builds
and installs it manually, or I try to help them.
Installing this package pops up a debhelper choice of which packages
they want to build and install. I suppose I am closest to m-a in how
it is working.
I would rather that this package pops up a menu each time it is
reinstalled as it means users have some way of knowing a new upstream
package is available should they wish to build and install it.

I am also fully aware of how nasty this is, however I am tied by legal
requirements with this package that each user has to download it
themselves so the download is tracked.
Trying to help, I came up with a script that can build and install the
package, and I would like to put this script in a deb, and have it
autorun so that we can make other packages depend on this one such
that a user has a chance of getting the package built and installed
easily

Anton


-- 
Anton Piatek
email: [EMAIL PROTECTED]
blog/photos:http://www.strangeparty.com
pgp: [0xB307BAEF]   (http://www.strangeparty.com/anton.asc)
fingerprint: 116A 5F01 1E5F 1ADE 78C6 EDB3 B9B6 E622 B307 BAEF

No trees were destroyed in the sending of this message, however, a
significant number of electrons were terribly inconvenienced.


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



Re: dpkg -i from within postinst script

2008-11-13 Thread Anton Piatek
2008/11/13 Eduardo M KALINOWSKI [EMAIL PROTECTED]:
 Anton Piatek escreveu:
 Trying to help, I came up with a script that can build and install the
 package, and I would like to put this script in a deb, and have it
 autorun so that we can make other packages depend on this one such
 that a user has a chance of getting the package built and installed
 easily


 Why can't you simply tell the users to run this script, instead of
 installing a package that runs the script?

We have a base meta-package that all users need to install - that
could force this package to be installed, the postinst would offer the
choice of which version they want to download+build+install

It will cause less support requests than having to tell people to run
script X to achieve the same result

Anton


-- 
Anton Piatek
email: [EMAIL PROTECTED]
blog/photos:http://www.strangeparty.com
pgp: [0xB307BAEF]   (http://www.strangeparty.com/anton.asc)
fingerprint: 116A 5F01 1E5F 1ADE 78C6 EDB3 B9B6 E622 B307 BAEF

No trees were destroyed in the sending of this message, however, a
significant number of electrons were terribly inconvenienced.


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



Re: dpkg -i from within postinst script

2008-11-13 Thread Anton Piatek
2008/11/13 François Cerbelle [EMAIL PROTECTED]:

 Le Jeu 13 novembre 2008 12:26, Anton Piatek a écrit :
 [...]
 Installing this package pops up a debhelper choice of which packages
 they want to build and install. I suppose I am closest to m-a in how
 it is working.
 I would rather that this package pops up a menu each time it is
 reinstalled as it means users have some way of knowing a new upstream
 package is available should they wish to build and install it.

 Ok, so you could use the second solution (as msttcorefont or
 flashplayer-nonfree):
 - postinst ask the user where the tar.gz file is
 - if the user dont have it, postinst download it for him
 - postinst installs the tar.gz in the right place and tracks the list of
 files
 - prerm delete the file tracked at the postinst stage.

 So you do have a package (nearly empty) which installs the soft. The soft
 is not included in the package but downloaded at install time, you can
 remove the files installed and you can depend on this package.

 Does it answer to your needs ?

It is easier to use make-jpkg to sort our the java package, as it has
the same layout as other java packages.
This way I don't have to work out all the extra things I need to setup
for java to work properly (alternatives etc)

So without hacking make-jpkg to bits, I end up with a .deb which needs
installing

Anton

-- 
Anton Piatek
email: [EMAIL PROTECTED]
blog/photos:http://www.strangeparty.com
pgp: [0xB307BAEF]   (http://www.strangeparty.com/anton.asc)
fingerprint: 116A 5F01 1E5F 1ADE 78C6 EDB3 B9B6 E622 B307 BAEF

No trees were destroyed in the sending of this message, however, a
significant number of electrons were terribly inconvenienced.


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



Re: Sound broken in recent Lenny update

2008-11-05 Thread Anton Piatek
So I found the cause.. something had decided to create a
/etc/modprobe.conf (which doesnt call /etc/modprobe.d/*)
The contents of it was options parport_pc io=0x378 irq=7 dma=3 if
anyone could tell me the culprit from that (i think its serial port
related, but no idea what package it might be)- I have had this
several times before, so some package is behaving badly...

Anyway, mostly posting this so if anyone else has this problem (that
the blacklist seems to have no effect) they should check if
/etc/modprobe.conf exists and if so, does it load /etc/modprobe.d/*
init did actually print a warning, but X usually comes up so quick
that I miss it

Anton

2008/10/28 Andres Migliazzo [EMAIL PROTECTED]:
 Well I've a Sound Blaster Live card and I experimented the same issue, I
 had to run the alsaconf script every time that I booted the system.  The way
 in which I solved it was just adding these lines to the
 /etc/modprobe.d/blacklist

 ---
 # Try to get emu10k1 listed in /proc/asound/cards:
 blacklist bt878
 blacklist bttv
 blacklist snd_bt87x
 blacklist snd_emu10k1x
 blacklist snd_mpu401
 blacklist snd_mpu401_uart
 --

 I hope it helps.
 Andres-






-- 
Anton Piatek
email: [EMAIL PROTECTED]
blog/photos:http://www.strangeparty.com
pgp: [0xB307BAEF]   (http://www.strangeparty.com/anton.asc)
fingerprint: 116A 5F01 1E5F 1ADE 78C6 EDB3 B9B6 E622 B307 BAEF

No trees were destroyed in the sending of this message, however, a
significant number of electrons were terribly inconvenienced.


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



Re: ALSA not loading at system boot

2008-11-05 Thread Anton Piatek
2008/11/5 Florian Kulzer [EMAIL PROTECTED]:
 [ I am putting the discussion back on the list. ]

 Forwarded message from Vinicius Massuchetto:
 Florian Kulzer escreveu:
 On Tue, Nov 04, 2008 at 12:30:28 -0200, Vinicius Massuchetto wrote:
 Hi Everyone,

 I've been trying to get help on ALSA mailing lists, Debian IRC
 channels  and forums with no success.

 Every time I boot my Debian Sid box I don't have sound until running
 'alsaconf'.

 Well, here we go, again:
 I've just rebooted my system.

 # [EMAIL PROTECTED]:~$ lsmod | grep snd
 # snd_hda_intel 434776  0
 # snd_pcm81672  1 snd_hda_intel
 # snd_seq54304  0
 # snd_timer  25744  2 snd_pcm,snd_seq
 # snd_seq_device 11668  1 snd_seq
 # snd63688  5
 snd_hda_intel,snd_pcm,snd_seq,snd_timer,snd_seq_device
 # soundcore  12064  1 snd
 # snd_page_alloc 13072  2 snd_hda_intel,snd_pcm
 #

 My driver is the snd_hda_intel for this soundcard here:

 # [EMAIL PROTECTED]:~$ lspci | grep -i audio
 # 00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD
 Audio  Controller (rev 02)

 It's loaded, but no sound.

 Which application do you use to test that?

 Rhythmbox and Totem. I tried speaker-test once with the same results in
 this thread.

 OK, so we know that the problem is not limited to desktop applications;
 it seems to be a general issue with ALSA.

 All these applications behave as they were playing something, but no
 sound comes off. Everything seems to be a volume problem, but all the
 channels are always unmutted.

 You can do this:

 amixer  before.txt

 before you run alsaconf and afterwards you run

 amixer  after.txt

 and compare the mixer settings with

 diff -u before.txt after.txt

 to make sure that the difference is not due to some semi-obscure control
 that you overlooked.

 Then trying to start ALSA:

 # [EMAIL PROTECTED]:~$ sudo /etc/init.d/alsa-utils start
 # Setting up ALSA...done.

 No sound yet. Checking alsamixer channels.
 All unmutted and at max. No sound.

 Trying alsaconf:

 # [EMAIL PROTECTED]:~$ sudo alsaconf
 # Unloading ALSA sound driver modules: snd-hda-intel snd-pcm snd-seq
 snd-timer snd-seq-device snd-page-alloc.
 # Building card database...
 # Loading driver...
 # Setting default volumes...
 # Now ALSA is ready to use.
 # For adjustment of volumes, use your favorite mixer.
 # Have a lot of fun!

 SOUND!

 [...]

 Run lsof $(find /dev/ -group audio) to see if there are any
 applications or sound daemons blocking the sound devices.

 This command returns nothing just after system boot.
 Only after alsaconf I can hear the 'speaker-test' sound.

 Please post the output of the following commands (before you run
 alsaconf):

 cat /dev/sndstat

 cat /proc/asound/cards

 grep ^Codec /proc/asound/card?/codec*

 grep '.*' /sys/module/snd_hda_intel/parameters/*

 It would furthermore be interesting to know if the output of the last
 one (the module parameters) changes after you run alsaconf.

do lsmodbefore then run alsaconf and then run lsmodafter. Now
do diff before after and post the results

I found I had snd_pcsp module loading badly which was causing problems
for sound - the reason it was loading badly was because
/etc/modprobe.conf had been created and wasn't loading
/etc/modprobe.d/*
I solved my problem by moving /etc/modprobe.conf out of the way...

Anton

-- 
Anton Piatek
email: [EMAIL PROTECTED]
blog/photos:http://www.strangeparty.com
pgp: [0xB307BAEF]   (http://www.strangeparty.com/anton.asc)
fingerprint: 116A 5F01 1E5F 1ADE 78C6 EDB3 B9B6 E622 B307 BAEF

No trees were destroyed in the sending of this message, however, a
significant number of electrons were terribly inconvenienced.


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



Sound broken in recent Lenny update

2008-10-26 Thread Anton Piatek
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

My sound has stopped working in a recent update to Lenny - I think the
problem is related to the loading of the snd-pcsp module taking the
wrong index as sound tries to play across that device instead of my
soundcard
running alsaconf reloads the modules correctly and sound then works,
however it does not set up /etc/modprobe.d/ correctly to not load the
snd-pcsp driver (or change its index).
After alsaconf the snd-pcsp module is not loaded, so I want to achieve
the same thing at bootup.
I tried adding it to the blacklist but that didn't work

/etc/modprobe.d$ grep snd-pcsp *
alsa-base:install snd-pcsp /sbin/modprobe --ignore-install snd-pcsp
$CMDLINE_OPTS  /lib/alsa/modprobe-post-install snd-pcsp
alsa-base:# Keep snd-pcsp from beeing loaded as first soundcard
alsa-base:options snd-pcsp index=-2
alsa-base-blacklist:blacklist snd-pcsp
blacklist:blacklist snd-pcsp

Can anyone help me figure out what to put to either make the pcsp
module take a different index (or even check the indexes as I don't
know how to check what they actually have at bootup) or help me
succeed in blocking it's loading completely

Thanks,
Anton

- --
Anton Piatek
email: [EMAIL PROTECTED]
blog/photos:http://www.strangeparty.com
pgp: [0xB307BAEF]   (http://www.strangeparty.com/anton.asc)
fingerprint: 116A 5F01 1E5F 1ADE 78C6 EDB3 B9B6 E622 B307 BAEF

No trees were destroyed in the sending of this message, however, a
significant number of electrons were terribly inconvenienced.


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: http://getfiregpg.org

iEYEARECAAYFAkkEQGEACgkQubbmIrMHuu97wACgp3diCytoztF/7InxECjP+WJm
yeAAn20VyXV37ZHswIlhzyy37vxHAq7Y
=9dbR
-END PGP SIGNATURE-


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



Re: .bash_aliases setup

2008-10-26 Thread Anton Piatek
2008/10/26 zhuzhixin [EMAIL PROTECTED]:
 GI_Mike - Herman von Mandel wrote:
 Greetings to the list!

 Apparently I am missing something which is frustrating me a bit. I have a 
 user account on a Debian Etch system which is needing some additional 
 aliases and rather than muck around with .bashrc, I would rather the aliases 
 be placed in ~/.bash_aliases.

 The user created aliases within a ~/.bash_aliases file having a permission 
 setting of 600. I then removed the comments from ~/.bashrc allowing for this 
 file to be read.

 After a source .bashrc, . ~/.bash_aliases, the user logging out and logging 
 back in, and a complete reboot - this file is still not being read as 
 aliases are coming back as unknown commands.

 This should be a fairly straight forward and easy task to accomplish. Below 
 are the snippets:


 I think the file .bash_aliases need permission to execute. For when you
 open a terminal, it invoke ~/.bashrc which will invoke .bash_aliases.
 Hope this will be help.

I think it is a different issue - sourcing (the . command in bash)
does not require execute permission. The problem is that bash just
loads and runs the aliases file, so each alias line still needs to be
formatted like a bash command: e.g.
alias ls='ls --color'

Try putting alias at the beginning of each of your aliases to see if
that works, otherwise it is probably just setting env variables

Anton

-- 
Anton Piatek
email: [EMAIL PROTECTED]
blog/photos:http://www.strangeparty.com
pgp: [0xB307BAEF]   (http://www.strangeparty.com/anton.asc)
fingerprint: 116A 5F01 1E5F 1ADE 78C6 EDB3 B9B6 E622 B307 BAEF

No trees were destroyed in the sending of this message, however, a
significant number of electrons were terribly inconvenienced.


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



Re: how to setup a local website for storing some debian packages?

2008-10-26 Thread Anton Piatek
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

2008/10/26 Alex Samad :
 On Sun, Oct 26, 2008 at 08:16:14AM +0800, Star Liu wrote:
 sometimes we have some standalone packages to install, it's not in the
 offical mirrors. I'm a web developer so I hope I can make a local
 website to store these packages, then I add a line deb
 http://localhost/debian unstable main contrib non-free into my
 source.list file, then these packages can be installed seamlessly with
 other offical packages.
 I'm able to setup a website using apache, but I need the instructions
 about how to place those standalone packages into my localwebsite and
 make it work with official packages, could you give me a example to do
 this thing? thanks

 Have a look at reprepro i use it to maintain my local repo


 --
 I'm a debian user and a web developer(XML+XSLT+AJAX+PostgreSQL+PHP) in
 City of Shanghai, China.
 Welcome to add my IMs! (msn) [EMAIL PROTECTED] (xmpp) [EMAIL PROTECTED]
 HomePage http://starliu dot 9966 dot com [It's only available when my
 personal machine is running, on which it's hosted.]

I use reprepro too - its pretty good for medium repositories, however
if your repo is small you may find other tools
Have you had a look at the Debian Repository Howto [1] ?

Anton

[1] http://www.debian.org/doc/manuals/repository-howto/repository-howto.en.html

- --
Anton Piatek
email: [EMAIL PROTECTED]
blog/photos:http://www.strangeparty.com
pgp: [0xB307BAEF]   (http://www.strangeparty.com/anton.asc)
fingerprint: 116A 5F01 1E5F 1ADE 78C6 EDB3 B9B6 E622 B307 BAEF

No trees were destroyed in the sending of this message, however, a
significant number of electrons were terribly inconvenienced.


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: http://getfiregpg.org

iEYEARECAAYFAkkEV9YACgkQubbmIrMHuu+G5gCgwVYycR19zRA0tSh6HPioZApN
BDYAoMKyoBgjIPJRVK1kifz48ruAxqKE
=sIva
-END PGP SIGNATURE-


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



ACPI power management broken since 2.6.23-1

2008-10-19 Thread Anton Piatek
Hi,
Kernel 2.6.23-1 is the last kernel I seem to be able to run and have
my laptop go to sleep.

I am trying to figure out what i need to do to make the newer kernels
sleep, but am a bit stuck.

Can anyone give me some pointers to try and figure out what I might be
missing to make it work? I admit I don't entirely understand how ACPI
works...

Anton

-- 
Anton Piatek
email: [EMAIL PROTECTED]
blog/photos:http://www.strangeparty.com
pgp: [0xB307BAEF]   (http://tastycake.net/~anton/anton.asc)
fingerprint: 116A 5F01 1E5F 1ADE 78C6 EDB3 B9B6 E622 B307 BAEF

No trees were destroyed in the sending of this message, however, a
significant number of electrons were terribly inconvenienced.


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



Re: ACPI power management broken since 2.6.23-1

2008-10-19 Thread Anton Piatek
2008/10/19 Henrique de Moraes Holschuh [EMAIL PROTECTED]:
 On Sun, 19 Oct 2008, Anton Piatek wrote:
 Kernel 2.6.23-1 is the last kernel I seem to be able to run and have
 my laptop go to sleep.

 I am trying to figure out what i need to do to make the newer kernels
 sleep, but am a bit stuck.

 Can anyone give me some pointers to try and figure out what I might be
 missing to make it work? I admit I don't entirely understand how ACPI
 works...

 It helps wonders if you tell us what laptop you have (and a major hint:
 upgrade your laptop BIOS and firmware if an update is available from the
 vendor).

 Also, what is wrong with the sleep?  Is it the sleep?  Is it the resume?
 What happens that is wrong?  If the screen is black, is the machine still
 alright but just with the backlight turned off?  What is in the kernel log
 when the sleep/resume breaks?  etc.

Youre right - the laptop details will help:
IBM T43p

I will look into bios updates too though they are going to be tricky
as it seems i need a non-usb floppy or windows xp (neither of which I
have)

The laptop doesn't go to sleep - I use the kde powermanagement tool to
set the sleep when the lid is closed, but in the newer kernels it just
doesnt work - all the sleep options are greyed out and I can't figure
out why.
I have looked through various logs but have been unable to find pretty
much anything acpi/sleep related at all.

Maybe the problem is not the kernel... i suppose it could be that kde
doesnt like something in the newer kernels.

Anton
-- 
Anton Piatek
email: [EMAIL PROTECTED]
blog/photos:http://www.strangeparty.com
pgp: [0xB307BAEF]   (http://tastycake.net/~anton/anton.asc)
fingerprint: 116A 5F01 1E5F 1ADE 78C6 EDB3 B9B6 E622 B307 BAEF

No trees were destroyed in the sending of this message, however, a
significant number of electrons were terribly inconvenienced.


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



Re: OT: oracle jdbc client for Linux

2008-10-07 Thread Anton Piatek
2008/10/6 I Rattan [EMAIL PROTECTED]:

 I want to install oracle-jdbc-client to access the dept
 oracle server. There is a little confusion about which
 package to use. I want the functionality:
   - connect to server
   - process the embedded SQL

 All pointers will be appreciated.
 -ishwar

I am not very familiar with Oracle, I have more experience with DB2.

You need a Oracle client type package (part of the Oracle installer).
Then follow some generic Oracle jdbc instructions from google to find
out to get oracle and jdbc working

Anton


-- 
Anton Piatek
email: [EMAIL PROTECTED]
blog/photos:http://www.strangeparty.com
pgp: [0xB307BAEF]   (http://tastycake.net/~anton/anton.asc)
fingerprint: 116A 5F01 1E5F 1ADE 78C6 EDB3 B9B6 E622 B307 BAEF

No trees were destroyed in the sending of this message, however, a
significant number of electrons were terribly inconvenienced.


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



apt-get update segmentation fault

2008-06-21 Thread Anton Piatek
Hi,
Does anyone know why apt-get crashes when updating?

  Hit http://security.debian.org lenny/updates/main Sources
  Hit http://security.debian.org lenny/updates/contrib Sources
  Hit http://security.debian.org lenny/updates/non-free Sources
  Fetched 9B in 2s (4B/s)
  Segmentation faultsts... 60%

Removing a deb source solves the problem (5 sources works, 6 fails).
I have had this happen before, with sarge i think, and upgrading apt
to a newer level solved it, however uprading apt now will require
upgrading libperl
My apt is currently at version 0.7.6 on a mixed lenny/sid system (with
some packages from etch, unison in particular)

Surely apt should be able to handle 6 sources lists - why can't it?
and is there anything I can do to help debug why?

Anton

-- 
Anton Piatek
email: [EMAIL PROTECTED]
blog/photos:http://www.strangeparty.com
pgp: [0xB307BAEF]   (http://tastycake.net/~anton/anton.asc)
fingerprint: 116A 5F01 1E5F 1ADE 78C6 EDB3 B9B6 E622 B307 BAEF

No trees were destroyed in the sending of this message, however, a
significant number of electrons were terribly inconvenienced.


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



Re: apt-get update segmentation fault

2008-06-21 Thread Anton Piatek
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

2008/6/21 Florian Kulzer :
 On Sat, Jun 21, 2008 at 13:04:54 +0100, Anton Piatek wrote:
 Hi,
 Does anyone know why apt-get crashes when updating?

   Hit http://security.debian.org lenny/updates/main Sources
   Hit http://security.debian.org lenny/updates/contrib Sources
   Hit http://security.debian.org lenny/updates/non-free Sources
   Fetched 9B in 2s (4B/s)
   Segmentation faultsts... 60%

 Removing a deb source solves the problem (5 sources works, 6 fails).
 I have had this happen before, with sarge i think, and upgrading apt
 to a newer level solved it, however uprading apt now will require
 upgrading libperl
 My apt is currently at version 0.7.6 on a mixed lenny/sid system (with
 some packages from etch, unison in particular)

 I think you are not doing yourself any favors by running your system
 like that.

Unfortunately unison is designed such that both client and server
versions must match, so as my servers are etch I need the etch version
on my laptop.
I need software from Lenny/Sid on my laptop. I suppose I could move to
complete Sid however I do not want to have to worry about the extra
effort of all the extra updates that I would have to install on Sid
rather than Lenny.
The only solution other than running a mixed system is to move to
Ubuntu and get backports of unison that match Etch, however I'd rather
stay on Debian.

 Surely apt should be able to handle 6 sources lists - why can't it?
 and is there anything I can do to help debug why?

 Maybe it is just a problem of insufficient memory being reserved for the
 cache. Try this:

 apt-get -o APT::Cache-Limit=2000 update

 This tells apt to reserve 20 MB for the cache; you can of course
 increase the value further if it still does not work with 20 MB. I have
 stable, testing, unstable, experimental and debian-multimedia in my
 sources.list and my cache cache limit is set to 50 MB.

 If you find a Cache-Limit value that works for you then you can make it
 permanent in a file in /etc/apt/apt.conf.d/.

 Assuming that insufficient cache size is to blame, apt should probably
 handle such a situation more gracefully. However, I think it is only
 worthwhile to track this down further if the segfault can be reproduced
 for the current version of apt. (I did not check the bug reports; maybe
 it is already a known problem.)


It is indeed solved by increasing the apt-cache limit. There does
appear to be a bugreport open, though I doubt I can add much to it
without moving apt up to the unstable level.
Aptitude has the same problem, though is more explicit about why.

It seems that once I run apt with a 20mb limit the problem goes away,
so presumably apt is happy keeping the cache at a larger size once it
gets that big.
I will add the option to my config anyway, so hopefully will not see this again.

Is it worth suggesting that the default cache size be increased?

Anton

- --
Anton Piatek
email: [EMAIL PROTECTED]
blog/photos:http://www.strangeparty.com
pgp: [0xB307BAEF]   (http://tastycake.net/~anton/anton.asc)
fingerprint: 116A 5F01 1E5F 1ADE 78C6 EDB3 B9B6 E622 B307 BAEF

No trees were destroyed in the sending of this message, however, a
significant number of electrons were terribly inconvenienced.

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: http://getfiregpg.org

iD8DBQFIXQXSWG/uFE1FAgwRAvOVAKCjRrRCXo0dcnWLmk/St9rujuGxkACfXkuU
lU8yx2oMU9LUE1CrwGpcEFk=
=z0NV
-END PGP SIGNATURE-


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



Re: switch from xserver-xorg-video-i810 to -intel and unsupported modes

2007-08-10 Thread Anton Piatek
Kieu Minh Thang wrote:
 Dear Anton Piatek,

 I see that you have used the right drivers, I have 19 monitor and use
 it too (xserver-xorg-video-intel). It display perfectly.

 Follow you error:

 (II) intel(0): Not using default mode 1440x900 (hsync out of range)
 (II) intel(0): Not using default mode 1600x1024 (hsync out of range)
 (II) intel(0): Not using default mode 1680x1050 (hsync out of range)

 maybe you have misconfigure in hsync  vsync value
 Let's try dpkg-reconfigure xserver-xorg
 OR edit /etc/X11/xorg.conf manually with hsync  vsync value get from
 Monitor document (or you can get it using hwinfo package)

I have tried with specifid h/v sync ranges as given in the monitor
manual, as well as no values such that auto detection takes place -
neither worked.

Are you using a vga or dvi connection to the monitor? I am using DVI,
and wonder if that is making things harder? (i would of course prefer
dvi, but would be happy with vga at this rate).

Anton

-- 
email: [EMAIL PROTECTED]
blog/photos:http://www.strangeparty.com
pgp: [0xB307BAEF]   (http://tastycake.net/~anton/anton.asc)
fingerprint: 116A 5F01 1E5F 1ADE 78C6 EDB3 B9B6 E622 B307 BAEF




signature.asc
Description: OpenPGP digital signature


Re: switch from xserver-xorg-video-i810 to -intel and unsupported modes

2007-08-09 Thread Anton Piatek
Andrew Sackville-West wrote:
 On Wed, Jun 13, 2007 at 06:34:51PM -0700, Andrew Sackville-West wrote:
   
 On Wed, Jun 13, 2007 at 07:31:16PM -0400, Douglas Allan Tutty wrote:
 
 On Wed, Jun 13, 2007 at 09:32:40AM -0700, Andrew Sackville-West wrote:
   
 I'm trying to configure a monitor my wife purchased for her machine

 It is a flat panel lcd with a native mode of
 [EMAIL PROTECTED] Unfortunately, I've run up against problem similar to
 [0] in xorg with the i810 driver (she's running etch). I have hacked her
 xorg.conf to death using different modelines (from various sources,
 including the EDID information from the monitor itself) with no
 results. I have also played with 915resolution [1] to patch up the
 vBIOS to support the required resolution, but unfortunately, I can't
 get any of the modes to provide the right clock rate (with or without
 I've been through a whole host of other attempts and I'm pretty sure
 that I've exhausted the possibilities. I'm now migrating the wife up
 to sid... heh heh. The more I've researched it, the more it appears
 that the problem is solved in sid. I'll report back.
 so I've moved her up to sid (a *totally* painless process BTW) and I
 can now get better resolution choices for this monitor, but no luck at
 the native 1440x900. It will do the resolution and the monitor (which
 will shutdown on bad inputs) reports [EMAIL PROTECTED] in its little
 OSD. But the placement and size are bad and there appears to be no
 fix. Regardless we've now got 1280X768 and it looks gorgeous, so she'
 s happy.
I am trying to  do the same, but the intel driver in the
xserver-xorg-video-intel package has not helped. I have also tried a
modeline suggested by a friend, and it is ignored by X as apparently the
hsync is out of range.
I have also tried 915resolution, but it says it doesnt work for my chipset.
lspci says i have

00:02.0 VGA compatible controller: Intel Corporation Q963/Q965
Integrated Graphics Controller (rev 02)
00:02.1 Display controller: Intel Corporation Q963/Q965 Integrated
Graphics Controller (rev 02)

Does anyone have any advice on what to try to get this card to do
[EMAIL PROTECTED] ?
I am running lenny, and the intel driver is the same version there as
unstable, so I doubt moving to unstable will help me...

Xorg says the following when starting up
.
(II) intel(0): Not using default mode 1440x900 (hsync out of range)
(II) intel(0): Not using default mode 1600x1024 (hsync out of range)
(II) intel(0): Not using default mode 1680x1050 (hsync out of range)
.
.
(II) intel(0): Printing probed modes for output TMDS-1
(II) intel(0): Modeline 1280x800x60.0   83.46  1280 1344 1480 1680 
800 801 804 828 (49.7 kHz)
(II) intel(0): Modeline 1280x768x60.0   80.14  1280 1344 1480 1680 
768 769 772 795 (47.7 kHz)
(II) intel(0): Modeline 1024x768x60.0   65.00  1024 1048 1184 1344 
768 771 777 806 -hsync -vsync (48.4 kHz)
(II) intel(0): Modeline 800x600x60.3   40.00  800 840 968 1056  600
601 605 628 +hsync +vsync (37.9 kHz)
(II) intel(0): Modeline 640x480x59.9   25.18  640 656 752 800  480 490
492 525 -hsync -vsync (31.5 kHz)
(II) intel(0): Output VGA disconnected
(II) intel(0): Output TMDS-1 connected
(II) intel(0): Output TMDS-1 using initial mode 1280x768

I can't get it to even try the res I want as it thinks its out of range.
I don't know if using DVI changes anything...

Anton

-- 
email: [EMAIL PROTECTED]
blog/photos:http://www.strangeparty.com
pgp: [0xB307BAEF]   (http://tastycake.net/~anton/anton.asc)
fingerprint: 116A 5F01 1E5F 1ADE 78C6 EDB3 B9B6 E622 B307 BAEF




signature.asc
Description: OpenPGP digital signature


Re: exim4 config (?)

2007-06-10 Thread Anton Piatek
On Sunday 10 June 2007 21:30, you wrote:
 I'm not sure if the following problem is an exim4 configuration
 issue, and I'm hoping for some pointers on where to look.

 I normally use icedove and pop my mail from gmail, and things
 work fine.  When I tried to send mail using:

 $ mail [EMAIL PROTECTED]  file

 The mail was returned to me with:
 SMTP error from remote mail server after MAIL FROM:[EMAIL PROTECTED]
 SIZE=2522:
  host gmail-smtp.l.google.com [64.233.183.109]:
  530 5.5.1 Authentication Required d23sm9741312nfh

 I was a bit surprised that mailx was trying to contact google,
 so I looked through /etc/exim4 and didn't find any references
 at all to google.  I then added my gmail account to
 /etc/exim4/email-addresses and sent an email
 using mailx to my google account.  After about 12 hours,
 that mail has disappeared.  (ie, I haven't gotten a Mail delivery
 failure, and I haven't received the email.)

 What am I missing?  Bottom line: I want
 the ability to send email by redirecting a file into
 /usr/bin/mail.  The easiest solution that allows me
 to do that is welcome.

Have you tried grepping the /etc/exim dir's for google.
The easiest way to setup exim in debian is to run dpkg-reconfigure 
exim4-config and select the right option for you.

Anton

-- 
Anton Piatek
email: [EMAIL PROTECTED] 
blog/photos:http://www.strangeparty.com
pgp: [0xB307BAEF]   (http://tastycake.net/~anton/anton.asc)
fingerprint: 116A 5F01 1E5F 1ADE 78C6 EDB3 B9B6 E622 B307 BAEF


pgpNR0KJlMO7p.pgp
Description: PGP signature


Re: Touchpad Configuration

2007-04-18 Thread Anton Piatek
On Wednesday 18 April 2007 19:54, Michael Pobega wrote:
 After a long fight with an offline install of Debian, I decided to
 give up and do a netinstall.

 The new installation is working PERFECTLY, with just one hitch; My
 touchpad doesn't work right. The touchpad doesn't seem to be
 configured in /etc/X11/xorg.conf, and therefore I can't use any
 programs like gsynaptics to control it.

 I NoPasted my xorg.conf[0], just a quick note, the bit about the
 Synaptics Touchpad was manually added in by me, but it doesn't seem
 to be working. Maybe I'm just missing something?

 [0]http://rafb.net/p/tgMeQQ47.html

thinkwiki.org has lots of help for thinkpad setup (which use Synaptics 
Touchpads)

Anton
-- 
Anton Piatek
email: [EMAIL PROTECTED] 
blog/photos:http://www.strangeparty.com
pgp: [0xB307BAEF]   (http://tastycake.net/~anton/anton.asc)
fingerprint: 116A 5F01 1E5F 1ADE 78C6 EDB3 B9B6 E622 B307 BAEF


pgpD1J9uBGsvL.pgp
Description: PGP signature


Re: schroot leaving sessions behind

2007-04-17 Thread Anton Piatek
Wackojacko wrote:
 Anton Piatek wrote:
 Wackojacko wrote:
 Anton Piatek wrote:
 Hi, I set up a basic schroot environment to run a couple of 32 bit
 apps on my amd64 box. The problem is that when the program exits
 schroot leaves all its session data behind, mount points and all (so
 `mount` returns a hell of a lot of entries)

 schroot is being called as follows
 `ls -l myprogram`
 myprogram - do_schroot
 `cat do_schroot`
 exec schroot -p -c sid32 -q -- `basename $0` $@
 So when I run `myprogram` schroot runs it for me in a 32bit env. My
 question is, what should I change to make sure that schroot uses as
 few sessions as possible and closes them when done?

 Anton

 snip large amount of chroots

 Anton

 I had a similar problem when I first switched to schroot from dchroot.
 In my case it turned out to be a problem with the way was launching
 the  program in the chroot.  I originally used wrapper scripts, which
 for some reason didn't terminate when the program they had launched
 terminated, and therefore kept the session open.

 It may help if you could give us more information on what myprogram
 does, and how it is launched, in the chroot?

 In any case you could try
 #schroot -e --all-sessions

 to kill the existing processes.

 mypgrogram is one of: skype, bibblepro (photo editor), firefox (to have
 32bit flash). I am sure there are a few others.

 Do you have any scripts in the chroot to start them?
 Normally I close them down, but often I will just shut down the
 computer, maybe that causes it?

 Possible
 If i use -e --all-sessions will that not kill a running program in
 another schroot?


 Yes meant to add that caveat.  Maybe add something to a run level 0
 and 6 that executes this on shutdown to clean up /var/lib/chroot.
 Anton

There is one script... do_schroot: exec schroot -p -c sid32 -q --
`basename $0` $@
All programs I run are a symbolic link to that script, which figures out
how it was called and then runs that command in the 32 bit schroot. I
could change the paramaters there, but that still wouldnt help as I want
to be able to run several schroot programs.

Would it be better to define one schroot instance and get all programs
to use that explicitly?

Anton

-- 
email: [EMAIL PROTECTED]
blog/photos:http://www.strangeparty.com
pgp: [0xB307BAEF]   (http://tastycake.net/~anton/anton.asc)
fingerprint: 116A 5F01 1E5F 1ADE 78C6 EDB3 B9B6 E622 B307 BAEF




signature.asc
Description: OpenPGP digital signature


Re: schroot leaving sessions behind

2007-04-16 Thread Anton Piatek
Wackojacko wrote:
 Anton Piatek wrote:
 Hi, I set up a basic schroot environment to run a couple of 32 bit
 apps on my amd64 box. The problem is that when the program exits
 schroot leaves all its session data behind, mount points and all (so
 `mount` returns a hell of a lot of entries)

 schroot is being called as follows
 `ls -l myprogram`
 myprogram - do_schroot
 `cat do_schroot`
 exec schroot -p -c sid32 -q -- `basename $0` $@
 So when I run `myprogram` schroot runs it for me in a 32bit env. My
 question is, what should I change to make sure that schroot uses as
 few sessions as possible and closes them when done?

 Anton

 snip large amount of chroots

 Anton

 I had a similar problem when I first switched to schroot from dchroot.
 In my case it turned out to be a problem with the way was launching
 the  program in the chroot.  I originally used wrapper scripts, which
 for some reason didn't terminate when the program they had launched
 terminated, and therefore kept the session open.

 It may help if you could give us more information on what myprogram
 does, and how it is launched, in the chroot?

 In any case you could try
 #schroot -e --all-sessions

 to kill the existing processes.

mypgrogram is one of: skype, bibblepro (photo editor), firefox (to have
32bit flash). I am sure there are a few others.
Normally I close them down, but often I will just shut down the
computer, maybe that causes it?
If i use -e --all-sessions will that not kill a running program in
another schroot?

Anton

-- 
email: [EMAIL PROTECTED]
blog/photos:http://www.strangeparty.com
pgp: [0xB307BAEF]   (http://tastycake.net/~anton/anton.asc)
fingerprint: 116A 5F01 1E5F 1ADE 78C6 EDB3 B9B6 E622 B307 BAEF




signature.asc
Description: OpenPGP digital signature


Re: XGL support available at all?

2007-04-15 Thread Anton Piatek
I have beryl working on my ATI Radeon laptop with the opensource (default 
debian) ati driver... It is a tad unstable though...

Anton

On Sunday 15 April 2007 03:26, Ananda Samaddar wrote:
 On Sun, 15 Apr 2007 03:21:48 +0100

 Ananda Samaddar [EMAIL PROTECTED] wrote:
  Hi everyone,
 
  does anyone know if any release of Debian has support is planning to
  include support for XGL?  I know it's a bit sad but I'd like to get
  Beryl / Compiz or whatever it's going to be called after the merger up
  and running.  Unfortunately though my laptop has an ATI gfx card and
  therefore there is no AIGLX support available for me.
 
  thanks,
 
  Ananda Samaddar
 
 
  --
  To UNSUBSCRIBE, email to [EMAIL PROTECTED]
  with a subject of unsubscribe. Trouble? Contact
  [EMAIL PROTECTED]

 Sorry there was a bit of an editing error there, what I meant to say
 was, 'Does any version or Debian have, or is planning to include support
 for XGL?'

 thanks,

 Ananda Samaddar

-- 
Anton Piatek
email: [EMAIL PROTECTED] 
blog/photos:http://www.strangeparty.com
pgp: [0xB307BAEF]   (http://tastycake.net/~anton/anton.asc)
fingerprint: 116A 5F01 1E5F 1ADE 78C6 EDB3 B9B6 E622 B307 BAEF


pgpcWDUSDXlef.pgp
Description: PGP signature


schroot leaving sessions behind

2007-04-15 Thread Anton Piatek
Hi, 
I set up a basic schroot environment to run a couple of 32 bit apps on my 
amd64 box. The problem is that when the program exits schroot leaves all its 
session data behind, mount points and all (so `mount` returns a hell of a lot 
of entries)

schroot is being called as follows
`ls -l myprogram`
myprogram - do_schroot
`cat do_schroot`
exec schroot -p -c sid32 -q -- `basename $0` $@
So when I run `myprogram` schroot runs it for me in a 32bit env. My question 
is, what should I change to make sure that schroot uses as few sessions as 
possible and closes them when done?

Anton


[EMAIL PROTECTED]:/var/lib/schroot$ ls  *
mount:
sid32-055297e8-f44f-4896-b4a6-b5d0fcd9dd54  
sid32-6c3d723c-79f0-4530-bdea-8db7a337afd9
sid32-1437451e-38dc-466f-975d-34dff90a6f2b  
sid32-722d539f-6dcd-4e44-becf-115c58793d07
sid32-15316f29-42be-4897-91bc-94d2bb359bc6  
sid32-72b0ab25-31fa-45b7-980a-a98a12c552bd
sid32-17cae3d5-648c-4b2d-9a09-d522aa960487  
sid32-7e2636ff-7312-488f-8cbe-4c84bfe5763e
sid32-1fc61d46-28c6-4b0c-8404-ffb185572309  
sid32-7f9888c4-daad-43ea-911b-5acac135989d
sid32-2829ec54-95ae-44b1-b5bc-cafa1c3ad455  
sid32-8982219c-198d-4d98-bd45-38ede41edb73
sid32-2de06117-59eb-4738-a8ce-9acc2c357c40  
sid32-8b265fd5-38e6-4c99-b63d-dfe12e5a2eb9
sid32-325264d5-2045-4dfb-b3ae-2f6c691b969e  
sid32-8e943c9a-d204-4486-8d86-f69bb95694e2
sid32-391bdfdc-98da-4073-911b-d7c20cab9a21  
sid32-98b19596-5857-4989-89ca-121aec39fcdf
sid32-46f5b15d-98af-46ff-800c-67220e5a45fa  
sid32-a0633fe2-af9d-4ea6-b09e-02bed992a352
sid32-488147de-548f-47e1-9f2c-10f9142e802b  
sid32-a076e3b3-3c33-4987-a517-b6b01b0d8ccd
sid32-4dfcf7d2-2e49-471e-9481-be15ea0e8a29  
sid32-a6600603-fed5-443f-ae61-6a9c188bae52
sid32-52ec8d68-826a-4f11-bc52-42d3d8c9ea8f  
sid32-ad155e1f-6a19-42e7-b558-c54d76e842b4
sid32-583c874a-b737-4bdc-8aba-92c69d2b66ed  
sid32-ce332d1a-95c9-44d2-a624-abf05098284a
sid32-60a4280e-f310-45f6-918d-afbf1d761fa7  
sid32-d7b0a452-10f7-487d-ae58-975fa9d37490
sid32-6176a46e-0b79-4b26-9067-93352af2aea9  
sid32-eff7dbb5-f7b5-4d5c-96c3-3ae25c2f6f61
sid32-6b3f92b8-fe47-4d46-8f52-21473a374aa1  
sid32-ff7e0050-4bfa-4286-bf05-0ab306c2b843

session:
sid32-055297e8-f44f-4896-b4a6-b5d0fcd9dd54  
sid32-6c3d723c-79f0-4530-bdea-8db7a337afd9
sid32-1437451e-38dc-466f-975d-34dff90a6f2b  
sid32-722d539f-6dcd-4e44-becf-115c58793d07
sid32-15316f29-42be-4897-91bc-94d2bb359bc6  
sid32-72b0ab25-31fa-45b7-980a-a98a12c552bd
sid32-17cae3d5-648c-4b2d-9a09-d522aa960487  
sid32-7e2636ff-7312-488f-8cbe-4c84bfe5763e
sid32-1fc61d46-28c6-4b0c-8404-ffb185572309  
sid32-7f9888c4-daad-43ea-911b-5acac135989d
sid32-2829ec54-95ae-44b1-b5bc-cafa1c3ad455  
sid32-8982219c-198d-4d98-bd45-38ede41edb73
sid32-2de06117-59eb-4738-a8ce-9acc2c357c40  
sid32-8b265fd5-38e6-4c99-b63d-dfe12e5a2eb9
sid32-325264d5-2045-4dfb-b3ae-2f6c691b969e  
sid32-8e943c9a-d204-4486-8d86-f69bb95694e2
sid32-391bdfdc-98da-4073-911b-d7c20cab9a21  
sid32-98b19596-5857-4989-89ca-121aec39fcdf
sid32-46f5b15d-98af-46ff-800c-67220e5a45fa  
sid32-a0633fe2-af9d-4ea6-b09e-02bed992a352
sid32-488147de-548f-47e1-9f2c-10f9142e802b  
sid32-a076e3b3-3c33-4987-a517-b6b01b0d8ccd
sid32-4dfcf7d2-2e49-471e-9481-be15ea0e8a29  
sid32-a6600603-fed5-443f-ae61-6a9c188bae52
sid32-52ec8d68-826a-4f11-bc52-42d3d8c9ea8f  
sid32-ad155e1f-6a19-42e7-b558-c54d76e842b4
sid32-583c874a-b737-4bdc-8aba-92c69d2b66ed  
sid32-ce332d1a-95c9-44d2-a624-abf05098284a
sid32-60a4280e-f310-45f6-918d-afbf1d761fa7  
sid32-d7b0a452-10f7-487d-ae58-975fa9d37490
sid32-6176a46e-0b79-4b26-9067-93352af2aea9  
sid32-eff7dbb5-f7b5-4d5c-96c3-3ae25c2f6f61
sid32-6b3f92b8-fe47-4d46-8f52-21473a374aa1  
sid32-ff7e0050-4bfa-4286-bf05-0ab306c2b843

-- 
Anton Piatek
email: [EMAIL PROTECTED] 
blog/photos:http://www.strangeparty.com
pgp: [0xB307BAEF]   (http://tastycake.net/~anton/anton.asc)
fingerprint: 116A 5F01 1E5F 1ADE 78C6 EDB3 B9B6 E622 B307 BAEF


pgp4zty4EQpUb.pgp
Description: PGP signature


Re: Installing Etch with GUI on T20

2007-02-13 Thread Anton Piatek
Try www.thinkwiki.org
There are great instructions for all flavours of linux on almost all IBM
laptops...

Anton

-- 
email: [EMAIL PROTECTED]
blog/photos:http://www.strangeparty.com
pgp: [0xB307BAEF]   (http://tastycake.net/~anton/anton.asc)
fingerprint: 116A 5F01 1E5F 1ADE 78C6 EDB3 B9B6 E622 B307 BAEF



signature.asc
Description: OpenPGP digital signature


chroot question

2007-01-20 Thread Anton Piatek
Hi, 
I have a amd64 install of debian with a 32bit chroot for a couple of apps. 
This works great, but I have a question.

Is it possible to have an application inside the 32bit chroot launch an 
application on my main 64 bit system? (e.g. a photo browsing program in the 
32bit chroot launching gimp, which is installed in my main 64 bit system).
I currently launch my 32bit programs with schroot and am hoping I can set 
something to make specific programs outside the chroot available...

I cannot think of how this can be achieved, so any ideas are welcomed.

Regards, 

Anton

-- 
Anton Piatek
email: [EMAIL PROTECTED] 
blog/photos:http://www.strangeparty.com
pgp: [0xB307BAEF]   (http://tastycake.net/~anton/anton.asc)
fingerprint: 116A 5F01 1E5F 1ADE 78C6 EDB3 B9B6 E622 B307 BAEF


pgpGfvSjJkCHa.pgp
Description: PGP signature


Re: gvim / vim -g WON'T WORK

2007-01-20 Thread Anton Piatek
On Friday 19 January 2007 09:17, Arno Valentin wrote:
 but gvim -g answers:

 [EMAIL PROTECTED]:/usr/local/src/vim vim -g
 E25: GUI cannot be used: Not enabled at compile time


 So, how to manage to enable at compile time? I don't find a point to unmark
 in the Makefile, where GUI would be enabled!
$ apt-cache search gvim
netrik - text mode WWW browser with vi like keybindings
zope-externaleditor - Zope External Editor
zopeedit - Helper Application for Zope External Editor
vim-full - Vi IMproved - enhanced vi editor - full fledged version
vim-gnome - Vi IMproved - enhanced vi editor - with GNOME2 GUI
vim-gtk - Vi IMproved - enhanced vi editor - with GTK2 GUI
vim-lesstif - Vi IMproved - enhanced vi editor - with LessTif GUI
vim-perl - Vi IMproved - enhanced vi editor - with Perl support
vim-python - Vi IMproved - enhanced vi editor - with Python support
vim-ruby - Vi IMproved - enhanced vi editor - with Ruby support
vim-tcl - Vi IMproved - enhanced vi editor - with TCL support

You could try one of the above...

Anton
-- 
Anton Piatek
email: [EMAIL PROTECTED] 
blog/photos:http://www.strangeparty.com
pgp: [0xB307BAEF]   (http://tastycake.net/~anton/anton.asc)
fingerprint: 116A 5F01 1E5F 1ADE 78C6 EDB3 B9B6 E622 B307 BAEF


pgpI9MuixnjMI.pgp
Description: PGP signature


Re: First Look at Debian

2006-11-29 Thread Anton Piatek
Etch is pretty well supported on Thinkpads, so have fun. In case you do
need help with hardware configuration, thinkwiki.org is very helpful

Anton


Baz wrote:
 David -
 
 Just cautious - my experiences with Sarge were not favorable.  Someone
 from the Thinkpad mailing list strongly suggested going the VM route.  I
 did, and your right, I am having
 fun.  I am however going to make it my primary OS.  
 
 - Baz
 
 On 11/28/06, *David E. Fox* [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] wrote:
 
 On Sat, 25 Nov 2006 18:41:24 -0800
 Baz [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote:
 
  Wow - I'm getting my first look at Debian on my Thinkpad.  I
 loaded Etch in
  a virtual machine.  I'm happy - I was beginning to lose interest
 because of
 
 Looks like you're having fun :) Anyway, I'm curious as to why you
 loaded it up in a VM rather than going native?  (Other than just for
 experimentation and testing purposes, of course.)
 
 
  - Baz
 
 
 --
 
 David E. Fox  Thanks for letting me
 [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]change magnetic
 patterns
 [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]   on your hard disk.
 ---
 
 
 --
 To UNSUBSCRIBE, email to [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]
 with a subject of unsubscribe. Trouble? Contact
 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
 
 
 
 
 -- 
 ...heart and soulone will burn.
 - Joy Division


-- 
email: [EMAIL PROTECTED]home: 02380 557 995
mobile: 07900 951 627   work: 01962 816 557
blog/photos:http://www.strangeparty.com
pgp: [0xB307BAEF]   (http://tastycake.net/~anton/anton.asc)
fingerprint: 116A 5F01 1E5F 1ADE 78C6 EDB3 B9B6 E622 B307 BAEF



signature.asc
Description: OpenPGP digital signature


samba timeouts

2006-11-29 Thread Anton Piatek
Hi, 
I am  having fun running samba across a wireless network. When mounting a 
samba mount (debian to debian) I often get the following errors
smb_add_request: request [81001dbd7080, mid=15039] timed out!

Which seem to precede the network dropping badly. I am not sure if it is a  
problem with samba or with my wireless. 
I also find that the wireless often does not keep up with streaming of mp3's. 
Is there a packet size option I can set on samba to change the packet size 
used to see if that helps (along with suggestions for packet sizes).

I could also look at NFS, I never bothered before as it was mostly windows 
access to the box, if people think it will be more reliable across wireless 
than samba.

All thoughts welcome 

Anton

-- 
Anton Piatek
email: [EMAIL PROTECTED] 
blog/photos:http://www.strangeparty.com
pgp: [0xB307BAEF]   (http://tastycake.net/~anton/anton.asc)
fingerprint: 116A 5F01 1E5F 1ADE 78C6 EDB3 B9B6 E622 B307 BAEF


pgpWq3nio8TvN.pgp
Description: PGP signature


Re: xmms alternative, please comment

2006-11-26 Thread Anton Piatek
On Saturday 25 November 2006 18:32, LeVA wrote:
 Hi!

 I'm searching for an xmms alternative which can use a multimedia
 keyboard's extra keys. (Now I am using xmms + itouch plugin)

I use hotkeys to get my multimedia keys working. Have been using it happily 
for ages!

Anton

-- 
Anton Piatek
email: [EMAIL PROTECTED]   home: 02380 557 995
mobile: 07900 951 627   work: 01962 816 557
blog/photos:http://www.strangeparty.com
pgp: [0xB307BAEF]   (http://tastycake.net/~anton/anton.asc)
fingerprint: 116A 5F01 1E5F 1ADE 78C6 EDB3 B9B6 E622 B307 BAEF


pgp1DxYS34gIR.pgp
Description: PGP signature


Re: apt-get troubles

2006-11-26 Thread Anton Piatek
On Saturday 25 November 2006 14:39, Andrei Popescu wrote:
 On Sat, Nov 25, 2006 at 03:08:47PM +0100, [EMAIL PROTECTED] wrote:
  Err http://ftp.it.debian.org unstable/non-US/main Packages



 Someone correct me if I'm wrong, but AFAIK non-US doesn't exist anymore.

I believe you are correct

Anton

-- 
Anton Piatek
email: [EMAIL PROTECTED]   home: 02380 557 995
mobile: 07900 951 627   work: 01962 816 557
blog/photos:http://www.strangeparty.com
pgp: [0xB307BAEF]   (http://tastycake.net/~anton/anton.asc)
fingerprint: 116A 5F01 1E5F 1ADE 78C6 EDB3 B9B6 E622 B307 BAEF


pgpxrj159i46X.pgp
Description: PGP signature


Re: Wireless adapter

2006-11-26 Thread Anton Piatek
On Saturday 25 November 2006 06:58, Steve Mazurek wrote:
 I'm curious how I would connect a Linksys 802.11b WUS B11 wireless USB
 adapter to a destop using Debian Sarge. If anyone has any information, or
 if I need to give more information, please let me know.  Thanks.

Do a search for it and try to find out what driver you need to use. Wifi 
adaptors work fairly well in linux now so you should be able to find a page 
with instructions.

Anton

-- 
Anton Piatek

pgp: [0xB307BAEF]   (http://tastycake.net/~anton/anton.asc)
fingerprint: 116A 5F01 1E5F 1ADE 78C6 EDB3 B9B6 E622 B307 BAEF


pgpOuARBDTEZd.pgp
Description: PGP signature


WMP54G under amd64 - anyone got it working?

2006-11-22 Thread Anton Piatek
Hi, 

I am trying to get my WMP54G wireless card working under amd64 (etch). I tried 
compiling the kernel driver from ralink, but while it compiles ok (lots of 
warnings but no errors) when I try to load it I get no errors, but when I try 
to bring up the card I get an error and the system becomes incredibly 
unstable (and the card does not work).

# dhclient ra0
Internet Software Consortium DHCP Client 2.0pl5
Copyright 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium.
All rights reserved.

Please contribute if you find this software useful.
For info, please visit http://www.isc.org/dhcp-contrib.html

sit0: unknown hardware address type 776
/etc/dhclient-script: line 119:  5829 Killed  ifconfig  

$interface up

Message from [EMAIL PROTECTED] at Sat Nov 18 12:08:31 2006 ...
debian kernel: Oops:  [1] SMP

Message from [EMAIL PROTECTED] at Sat Nov 18 12:08:31 2006 ...
debian kernel: CR2: 00043000

Anyone had any luck getting this card working? What about with another driver?

Anton

-- 
Anton Piatek
email: [EMAIL PROTECTED]   home: 02380 557 995
mobile: 07900 951 627   work: 01962 816 557
blog/photos:http://www.strangeparty.com
pgp: [0xB307BAEF]   (http://tastycake.net/~anton/anton.asc)
fingerprint: 116A 5F01 1E5F 1ADE 78C6 EDB3 B9B6 E622 B307 BAEF


pgpGtsNv54ldq.pgp
Description: PGP signature


Re: /dev/hd* gone with udev

2006-11-18 Thread Anton Piatek
On Saturday 18 November 2006 06:16, you wrote:
 On 11/17/06, Anton Piatek [EMAIL PROTECTED] wrote:
  Anyway, mine works but there are loads of rules in /etc/udev/rules.d/
...
  They should be created for you, but I wonder if your hotplug package was
  interfering?

 Thanks for the help.  I think my rules files might have gotten messed
 up during the upgrades.  A while ago, I figured out the hard way that
 /etc/udev/rules.d/local.rules changed to
 /etc/udev/rules.d/010_local.rules.  I'm wondering what else I missed.
 Here's what my /etc/udev/rules.d directory looks like:
...


 I've tried purging hotplug, like it says in the disclaimer, to no
 avail.  Any ideas?

I am afraid that short of recreating the udev rules (which should have been 
done when udev was installed) I cannot think of anything. 

Anton 


-- 
Anton Piatek
email: [EMAIL PROTECTED]   home: 02380 557 995
mobile: 07900 951 627   work: 01962 816 557
blog/photos:http://www.strangeparty.com
pgp: [0xB307BAEF]   (http://tastycake.net/~anton/anton.asc)
fingerprint: 116A 5F01 1E5F 1ADE 78C6 EDB3 B9B6 E622 B307 BAEF


pgpxZBjLcqM83.pgp
Description: PGP signature


Re: ViewSonic Widescreen and resolution settings

2006-11-18 Thread Anton Piatek
On Saturday 18 November 2006 01:44, Dave Bellows wrote:
 Yet another update.  I manually set the display size (according to the
 xorg wiki multiplying the resolution by the dot pitch) which did not
 help.  And then I looked at the log and saw this ominous looking line:

 Virtual Screen Size determined to be 1680x1200

 It should be 1680x1050.  Why is the virtual screen being set to a size
 larger than the actual resolution?


No idea.

I have had no problems on my current geforce fx and my old geforce 4 doing 
1680x1050 (under testing), and I think that was both with the nv driver and 
the nvidia one...

If the config file really is the same as on ununtu, then it is your version of 
xorg or the nv module that does not like doing that resolution.

Anton

-- 
Anton Piatek
email: [EMAIL PROTECTED]   home: 02380 557 995
mobile: 07900 951 627   work: 01962 816 557
blog/photos:http://www.strangeparty.com
pgp: [0xB307BAEF]   (http://tastycake.net/~anton/anton.asc)
fingerprint: 116A 5F01 1E5F 1ADE 78C6 EDB3 B9B6 E622 B307 BAEF


pgpA2AcRswX2y.pgp
Description: PGP signature


Re: ViewSonic Widescreen and resolution settings

2006-11-17 Thread Anton Piatek
Dave Bellows wrote:
 Update.  Of course I can't run 1600x1000 instead the monitor went to
 the next resolution on the list which was 1600x1200.  I was then able
 to shrink the horizontal size and reposition the screen to make it
 fit.  There are now thin black bars along either side of the screen
 but there doesn't seem to be as much distortion.  Still, I would like
 to get this working better.
 
 
 On 11/16/06, Dave Bellows [EMAIL PROTECTED] wrote:
 Hello all,

 I just got a new ViewSonic VG2230 widescreen LCD monitor for my Debian
 Testing box.  After I installed it I ran dpkg-reconfigure -phigh
 xserver-xorg.  It seemingly correctly configured xorg.conf for a
 resolution of 1680x1050 as recommended by the booklet that came with
 the monitor.  However, when I started up X the vertical is off.
 There's about 2 inches of extra screen space at the top so that when I
 move the mouse cursor up to the top of the screen the whole screen
 shifts and I lose my bottom taskbar (KDE).

 So I manually edited the conf file and changed it to 1600x1000
 (keeping the same ratio).  This appears to have worked (no more extra
 space).  Because the monitor is such a big change from what I'm used
 to I can't tell entirely if the shapes of the letters are distorted at
 all (at 1680 x 1000 it was obvious) but they appear fine.  Is it fine
 to leave it at this?  Should it be able to do 1680x1050?  Is there
 some extra configuration I'm missing?

 Also, the screen is huge.  I'd never really notice what letters looked
 like before.  There's a certain fuzziness around each of the letters
 on the screen that I think is related to anti-aliasing perhaps.  It's
 fairly noticeable though I imagine I could get used to it.  Again, is
 there a setting somewhere that would improve the look?

 Thanks,
 David Bellows

 
 

Make sure you have the vsync and hsync values correct for your monitor
(see the monitor manual) otherwise you will get this.

Subpixel rendering should not affect this, but it can improve clarity as
the xserver knows more about the screen so can change the way pixels are
lit up to look better.

Anton

-- 
email: [EMAIL PROTECTED]home: 02380 557 995
mobile: 07900 951 627   work: 01962 816 557
blog/photos:http://www.strangeparty.com
pgp: [0xB307BAEF]   (http://tastycake.net/~anton/anton.asc)
fingerprint: 116A 5F01 1E5F 1ADE 78C6 EDB3 B9B6 E622 B307 BAEF



signature.asc
Description: OpenPGP digital signature


Re: /dev/hd* gone with udev

2006-11-17 Thread Anton Piatek
Jason Dunsmore wrote:
 I recently upgraded my Debian testing system.  When I rebooted, almost
 all the device nodes in /dev were gone, and the system wouldn't boot
 all the way up (got all the way to starting nfs, somehow).
 
 I ended up removing udev and installing hotplug through the
 single-user recovery console.  I'd like to go back to udev when I get
 this figured out because I've written some custom rules.  Other people
 have had a similar problem, but no solution was found:
 http://lists.debian.org/debian-user/2006/09/msg00836.html
 http://article.gmane.org/gmane.linux.debian.devel.bugs.general/136682
 
 I tried downgrading to udev 0.100-1, a version I know worked, but I
 saw the same problem.
 
 Could it be my configuration?  My /etc/udev/rules.d/local.rules file
 contains the following:
 
 SYSFS{model}=5VLAT80, NAME{all_partitions}=usb_hd
 SYSFS{model}=iFP Mass Driver, NAME{all_partitions}=iriver
 SYSFS{model}=Flash Voyager, NAME{all_partitions}=key_drv
 SYSFS{model}=Cruzer Micro, NAME{all_partitions}=key_drv
 SYSFS{model}=USB to IDE Card, NAME{all_partitions}=cf_card

I would try purging udev, then purging hotplug and reinstalling udev (I
had warnings when installing udev to purge hotplug).

Anyway, mine works but there are loads of rules in /etc/udev/rules.d/
%ls /etc/udev/rules.d/
020_permissions.rules   z25_persistent-net.rules
025_libgphoto2.rulesz45_persistent-net-generator.rules
025_libsane.rules   z50_run.rules
025_logitechmouse.rules z55_hotplug.rules
udev.rules  z60_hdparm.rules
z20_persistent-input.rules  z60_xserver-xorg-input-wacom.rules
z20_persistent.rulesz75_cd-aliases-generator.rules
z25_persistent-cd.rules

They should be created for you, but I wonder if your hotplug package was
interfering?

Anton



-- 
email: [EMAIL PROTECTED]home: 02380 557 995
mobile: 07900 951 627   work: 01962 816 557
blog/photos:http://www.strangeparty.com
pgp: [0xB307BAEF]   (http://tastycake.net/~anton/anton.asc)
fingerprint: 116A 5F01 1E5F 1ADE 78C6 EDB3 B9B6 E622 B307 BAEF



signature.asc
Description: OpenPGP digital signature


alsa: no master mixer control

2006-11-16 Thread Anton Piatek
Hi, 
I have a hda-intel based soundcard, and alsa does not create a master volume 
control. This is annoying as I want to use hotkeys to control my volume, but 
it ends up controlling the front channel (no good).

Can I force alsa to create a master control? 

If not, how are mixer devices accessed in C? What should I be looking for in 
the code for hotkeys to change the mixer to something  like PCM which would 
give me the result I want?

Anton
-- 
pgp key [0xB307BAEF], [EMAIL PROTECTED],
fingerprint: 116A 5F01 1E5F 1ADE 78C6 EDB3 B9B6 E622 B307 BAEF


pgpLtUnkiSbVd.pgp
Description: PGP signature


2.6.17-2 kernel and lirc not working

2006-11-13 Thread Anton Piatek
I have upgraded from an older 2.6 kernel (needed for LVM) and now cannot get 
lirc working.

I got the module compiled but when I try and load it with modprobe lirc_serial 
I get: 
  WARNING: Error inserting lirc_dev 
(/lib/modules/2.6.17-2-k7/misc/lirc_dev.ko): Unknown symbol in module, or 
unknown parameter (see dmesg)
  FATAL: Error inserting lirc_serial 
(/lib/modules/2.6.17-2-k7/misc/lirc_serial.ko): Unknown symbol in module, or 
unknown parameter (see dmesg)
dmesg has:
  lirc_dev: Unknown symbol class_simple_device_add
  lirc_dev: Unknown symbol class_simple_destroy
  lirc_dev: Unknown symbol class_simple_device_remove
  lirc_dev: Unknown symbol class_simple_create
  lirc_serial: Unknown symbol verify_area
  lirc_serial: Unknown symbol lirc_unregister_plugin
  lirc_serial: Unknown symbol lirc_register_plugin

I tried searching but couldn't find a resolution, though it is obvious this is 
not just a Debian package issue...

I am using lirc (and lirc-modules-source) 0.8.0-9 on etch.

Anton


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



Re: booting etch with / as lvm

2006-11-10 Thread Anton Piatek
Douglas Tutty wrote:
 On Thu, Nov 09, 2006 at 08:52:09AM +, Anton Piatek wrote:
 Hi,

 I am trying to get my system booting so that all filesystems are on lvm
 (apart from /boot obviously). I am moving from a normal setup.

 I have created my lv's and copied the data over, set up grub but when it
 tries to boot it cannot find the vg/lv's. If I boot up with my old root
 partition I have to run vgscan;vgchange -ay to make the partitons
 active. How do I make this happen automatically during boot so that the
 kernel can use lvm as the root partition?

 On a similar note, I just installed etch 64-bit on another box, and the
 installer created the lvm stuff, but on reboot cannot find my vg. I am
 assuming this is a similar problem, but would have thought the installer
 would have solved that for me (i guess not).

 
 I recently did an Etch install on amd64.  Raid1 /boot, raid1 pv0, with
 everything but /boot on lvs (root, home, usr, var, swap).  Everything
 was set up perfectly with no booting problems.  I even installed grub on
 the second disk's mbr so I can boot from either.

I got my existing install running (needed to install initramfs-tools,
and it build a new initrd which had the lvm drivers and scripts to
initialise them) but my clean install still wont work. I tried
installing udev and initramfs-tools manually on it (from rescue cd) but
it still boots up and wont find the vg.

Strangely it actually mentions it by name... vg 'main' could not be
found (or similar)...

The only difference I can see is that the /boot dir on my other box has
all the scripts and binaries (I didn't put them there) whereas the clean
install has them only in the initrd image.

If I get a busybox console (after the boot fails and drops to shell)
then I can run the /scripts/local-top/lvm script and then the lvm
partitions are active. It is almost as if the lvm script isnt being
called on bootup!

Anton


-- 
email: [EMAIL PROTECTED]home: 02380 557 995
mobile: 07900 951 627   work: 01962 816 557
blog/photos:http://www.strangeparty.com
pgp: [0xB307BAEF]   (http://tastycake.net/~anton/anton.asc)
fingerprint: 116A 5F01 1E5F 1ADE 78C6 EDB3 B9B6 E622 B307 BAEF



signature.asc
Description: OpenPGP digital signature


booting etch with / as lvm

2006-11-09 Thread Anton Piatek
Hi,

I am trying to get my system booting so that all filesystems are on lvm
(apart from /boot obviously). I am moving from a normal setup.

I have created my lv's and copied the data over, set up grub but when it
tries to boot it cannot find the vg/lv's. If I boot up with my old root
partition I have to run vgscan;vgchange -ay to make the partitons
active. How do I make this happen automatically during boot so that the
kernel can use lvm as the root partition?

On a similar note, I just installed etch 64-bit on another box, and the
installer created the lvm stuff, but on reboot cannot find my vg. I am
assuming this is a similar problem, but would have thought the installer
would have solved that for me (i guess not).

I saw a mention of lvmcreate_initrd, but that does not seem to exist in
lvm2... is there a replacement for lvm2?

Any suggestions are greatly appreciated.
-- 
email: [EMAIL PROTECTED]home: 02380 557 995
mobile: 07900 951 627   work: 01962 816 557
blog/photos:http://www.strangeparty.com
pgp: [0xB307BAEF]   (http://tastycake.net/~anton/anton.asc)
fingerprint: 116A 5F01 1E5F 1ADE 78C6 EDB3 B9B6 E622 B307 BAEF



signature.asc
Description: OpenPGP digital signature


Re: cp: error while loading shared libraries: unexpected PLT reloc type 0x24

2006-11-08 Thread Anton Piatek
Anton Piatek wrote:
 Hi,
 I had some hardware die, and now having replaced it all I seem to have a
  corrupted system.
 
 % cp
 cp: error while loading shared libraries: unexpected PLT reloc type 0x24
 
 I have no idea why this is happening, and searching the internet has
 revealed nothing similar (maybe I am being too specific).
 
 I have tried running ldconfig but that has not fixed it.

I copied a new /bin/cp from another machine, and reinstalled coreutils.
It seems to be fine.

I am worried that more files might have been corrupted by dodgy hardware
(i had to reinstall ps too), is there an easy way to force debain to
reinstall all packages again?

Anton

-- 
email: [EMAIL PROTECTED]home: 02380 557 995
mobile: 07900 951 627   work: 01962 816 557
blog/photos:http://www.strangeparty.com
pgp: [0xB307BAEF]   (http://tastycake.net/~anton/anton.asc)
fingerprint: 116A 5F01 1E5F 1ADE 78C6 EDB3 B9B6 E622 B307 BAEF



signature.asc
Description: OpenPGP digital signature


cp: error while loading shared libraries: unexpected PLT reloc type 0x24

2006-11-07 Thread Anton Piatek
Hi,
I had some hardware die, and now having replaced it all I seem to have a
 corrupted system.

% cp
cp: error while loading shared libraries: unexpected PLT reloc type 0x24

I have no idea why this is happening, and searching the internet has
revealed nothing similar (maybe I am being too specific).

I have tried running ldconfig but that has not fixed it.

Any help is greatly apprecieted.

Strace output below:

Anton


% strace cp
execve(/bin/cp, [cp], [/* 15 vars */]) = 0
uname({sys=Linux, node=flat, ...})  = 0
brk(0)  = 0x8057000
access(/etc/ld.so.nohwcap, F_OK)  = -1 ENOENT (No such file or
directory)
mmap2(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0xb7fe9000
access(/etc/ld.so.preload, R_OK)  = -1 ENOENT (No such file or
directory)
open(/etc/ld.so.cache, O_RDONLY)  = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=73976, ...}) = 0
mmap2(NULL, 73976, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7fd6000
close(3)= 0
access(/etc/ld.so.nohwcap, F_OK)  = -1 ENOENT (No such file or
directory)
open(/lib/libacl.so.1, O_RDONLY)  = 3
read(3, \177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\320\23...,
512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=22156, ...}) = 0
mmap2(NULL, 20980, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0)
= 0xb7fd
mmap2(0xb7fd5000, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x5) = 0xb7fd5000
close(3)= 0
access(/etc/ld.so.nohwcap, F_OK)  = -1 ENOENT (No such file or
directory)
open(/lib/libselinux.so.1, O_RDONLY)  = 3
read(3, \177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0P8\0\000...,
512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=79368, ...}) = 0
mmap2(NULL, 84884, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0)
= 0xb7fbb000
mmap2(0xb7fce000, 8192, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x12) = 0xb7fce000
close(3)= 0
access(/etc/ld.so.nohwcap, F_OK)  = -1 ENOENT (No such file or
directory)
open(/lib/tls/libc.so.6, O_RDONLY)= 3
read(3, \177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\240O\1...,
512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=1241580, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0xb7fba000
mmap2(NULL, 1251484, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3,
0) = 0xb7e88000
mmap2(0xb7fb, 28672, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x127) = 0xb7fb
mmap2(0xb7fb7000, 10396, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7fb7000
close(3)= 0
access(/etc/ld.so.nohwcap, F_OK)  = -1 ENOENT (No such file or
directory)
open(/lib/libattr.so.1, O_RDONLY) = 3
read(3, \177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0`\f\0\000...,
512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=12840, ...}) = 0
mmap2(NULL, 15796, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0)
= 0xb7e84000
mmap2(0xb7e87000, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2) = 0xb7e87000
close(3)= 0
access(/etc/ld.so.nohwcap, F_OK)  = -1 ENOENT (No such file or
directory)
open(/lib/tls/libdl.so.2, O_RDONLY)   = 3
read(3, \177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\20\f\0...,
512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=9592, ...}) = 0
mmap2(NULL, 12404, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0)
= 0xb7e8
mmap2(0xb7e82000, 8192, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1) = 0xb7e82000
close(3)= 0
access(/etc/ld.so.nohwcap, F_OK)  = -1 ENOENT (No such file or
directory)
open(/lib/libsepol.so.1, O_RDONLY)= 3
read(3, \177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\0200\0...,
512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=219824, ...}) = 0
mmap2(NULL, 265152, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3,
0) = 0xb7e3f000
mmap2(0xb7e75000, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x35) = 0xb7e75000
mmap2(0xb7e76000, 39872, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7e76000
close(3)= 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0xb7e3e000
mprotect(0xb7fb, 20480, PROT_READ)  = 0
writev(2, [{cp, 2}, {: , 2}, {error while loading shared libra...,
36}, {: , 2}, {, 0}, {, 0}, {unexpected PLT re
loc type 0x24, 30}, {, 0}, {, 0}, {\n, 1}], 10cp: error while
loading shared libraries: unexpected PLT reloc type 0x24
) = 73
exit_group(127) = ?
Process 8424 detached

-- 
email: [EMAIL PROTECTED]home: 02380 557 995
mobile: 07900 951 627   work: 01962 816 557
blog/photos:http://www.strangeparty.com
pgp: [0xB307BAEF]   (http://tastycake.net/~anton/anton.asc)
fingerprint: 116A 5F01 1E5F 1ADE 78C6 EDB3 B9B6 

Re: cp: error while loading shared libraries: unexpected PLT reloc type 0x24

2006-11-07 Thread Anton Piatek
Yeah, everything except the disk was replaced, but it booted fine
afterwards... except without cp I cannot install much new...

Anton

Nicolas Pillot wrote:
 2006/11/7, Anton Piatek [EMAIL PROTECTED]:
 
 I had some hardware die, and now having replaced it
 all I seem to have a corrupted system.
 Did you replace the motherboard ? I have already replaced everything
 other than the mb itself (ram,cpu  co included), my debian was still
 fine.
 
 A friend did the opposite : he kept everything except mb (power supply
 and mb were dead because of a power surge) and he had to reinstall
 because it wouldn't boot properly (at that time he didn't have enough
 experience to fix things up, nor did i).
 
 I know it doesn't help you, but at least you system boots :-)


-- 
email: [EMAIL PROTECTED]home: 02380 557 995
mobile: 07900 951 627   work: 01962 816 557
blog/photos:http://www.strangeparty.com
pgp: [0xB307BAEF]   (http://tastycake.net/~anton/anton.asc)
fingerprint: 116A 5F01 1E5F 1ADE 78C6 EDB3 B9B6 E622 B307 BAEF



signature.asc
Description: OpenPGP digital signature


Re: Is a kernel upgrade necessary ?

2006-11-07 Thread Anton Piatek
Ralph Katz wrote:
 On 11/07/2006 10:50 AM, Nicolas Pillot wrote:
 
 
 - P75 is i586. does apt-get choose the right architecture ?
  if not, should i select 2.4.x-x-386 or 2.4.x-x-586tsc (named
 Pentium-Classic) ?
  I'd say the later.

 - finally, there is no 2.6.x-x-586tsc. If i want 2.6, do i have to go
 back
  to i386 ? Would this be a problem performance wise ? In this case,
  would it be a possible option to compile the latest kernel on the 586 ?
 
 Last year I installed sarge on a basic Pentium 200 Mhz with 96 Mb.  The
 kernel image 2.4.27 586 was much faster for its desktop use than the 2.6
 386 kernel, using sarge binaries.  (The box is no longer used.)
 
 There were no problems going from 2.4 to 2.6 and back, other than normal
 config file changes for sound, mouse, etc.
 
 - i have no quick physical access on that machine and i'm planning to
  do the upgrade via ssh. Would there be any special pb ?
 
 I don't know, but obviously it's your most important question!
 
 Regards,
 Ralph
 
 

Make sure the kernels are all from the same libc version. Not sure how
you can check for the precompiled kernels as libc will change on various
upgrades, but if you are compiling your own then you should be able to
switch them very easily.
If you are uninstalling then be careful that the default entry in your
bootloader is still valid before you restart, and if compiling your own
don't forget ide and filesystem modules!

Anton

-- 
email: [EMAIL PROTECTED]home: 02380 557 995
mobile: 07900 951 627   work: 01962 816 557
blog/photos:http://www.strangeparty.com
pgp: [0xB307BAEF]   (http://tastycake.net/~anton/anton.asc)
fingerprint: 116A 5F01 1E5F 1ADE 78C6 EDB3 B9B6 E622 B307 BAEF



signature.asc
Description: OpenPGP digital signature


alsaconf needed on every boot

2006-10-01 Thread Anton Piatek
Hi,
I am running Etch now and my soundcard doesn't configure properly on bootup.
It is a SB Live and loads up with the snd_emu10k1module but the master
volume control does not do what it should. Instead it controls the
levels of the surround speakers (and not the master volume).

Sometimes running alsaconf fixes it (most of the time in fact, but
sometimes it just won't fix).

I am struggling to figure out what is wrong with it. I have read several
posts about alsa not loading at boot time at all, but mine is loading
and plays fine (I just cannot control the volume at all)

Any ideas?

Anton


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



Re: GRUB; reboot; next partition selection

2006-07-27 Thread Anton Piatek
Hi,
I have been wondering how suse did this. So how would I add that to
kde's shutdown option to allow me to select the OS to boot into when
shutting down (i.e. so I can reboot into windows without catching the
grub menu but keep my default boot option as linux)

Anton

Joey Hess wrote:
 Ice wrote:
 
Hey, I'm curious if there is a way to easily select the next partition (for
when Debian comes back up) during a reboot.
I know that this was a feature of KDE back when I was using SuSE.

I checked the man pages of Shutdown, reboot, halt, etc. and came up with
nothing so far.  I have also googled for a bit...

Anyone know a way to use # reboot and specify the next bootup partition? (/
dev/hdb1 instead of /dev/hda1)
 
 
 Run grub-reboot [n] where n is the number of the menu item in menu.lst
 that grub should default to for the next boot only.
 
 This requires a newer version of grub than the one in stable.
 savedefault --once should be working with grub 0.97-6 and up.
 


-- 
email: [EMAIL PROTECTED]home: 02088 702 664
mobile: 07900 951 627   work: 01962 816 557
blog/photos:http://www.strangeparty.com
pgp: [0xB307BAEF]   (http://tastycake.net/~anton/anton.asc)
fingerprint: 116A 5F01 1E5F 1ADE 78C6 EDB3 B9B6 E622 B307 BAEF


signature.asc
Description: OpenPGP digital signature


pine

2006-07-27 Thread Anton Piatek
Hi,
Anyone know if pine is in debian? I can't find it...
If you know where it is, let me know!

Anton
-- 
email: [EMAIL PROTECTED]home: 02088 702 664
mobile: 07900 951 627   work: 01962 816 557
blog/photos:http://www.strangeparty.com
pgp: [0xB307BAEF]   (http://tastycake.net/~anton/anton.asc)
fingerprint: 116A 5F01 1E5F 1ADE 78C6 EDB3 B9B6 E622 B307 BAEF


signature.asc
Description: OpenPGP digital signature


wireless settings not being read from /etc/network/interfaces

2006-07-10 Thread Anton Piatek
Hi,
My /etc/network/interfaces looks like this:

iface eth1 inet dhcp
essid   ant-wifi
channel 01
wireless-key ...

yet if I just run ifup eth1 the card does not connect. once I run
iwconfig eth1 channel 01 the ifup command works perfectly. Do i need
to add something to the config file to make it work? It behaves like the
options are not being passed to iwconfig before launching the dhcp client.

Thanks,
Anton


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



Re: wireless settings not being read from /etc/network/interfaces

2006-07-10 Thread Anton Piatek
Jeff D wrote:

 Anton Piatek wrote:

 Hi,
 My /etc/network/interfaces looks like this:

 iface eth1 inet dhcp
 essid   ant-wifi
 channel 01
 wireless-key ...

 yet if I just run ifup eth1 the card does not connect. once I run
 iwconfig eth1 channel 01 the ifup command works perfectly. Do i need
 to add something to the config file to make it work? It behaves like the
 options are not being passed to iwconfig before launching the dhcp
 client.

 Thanks,
 Anton


   

 Hi,

 Try it with options like:

 iface eth1 inet dhcp
wireless-ap 00:AA:BF:AA:AA:AA
wireless-essid ESSID
wireless-channel 02
...



Cheers,

that was it!
I suppose the fact that my key had the wireless- prefix should have
been a give away.
It also worked better when I didnt have the essid in quotes.

Thanks again!

Anton

-- 
email: [EMAIL PROTECTED]home: 02088 702 664
mobile: 07900 951 627   work: 01962 816 557
blog/photos:http://www.strangeparty.com
pgp: [0xB307BAEF]   (http://tastycake.net/~anton/anton.asc)
fingerprint: 116A 5F01 1E5F 1ADE 78C6 EDB3 B9B6 E622 B307 BAEF


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



Re: torrentflux: apache2 mod_php4 problem

2006-05-15 Thread Anton Piatek
Anton Piatek wrote:

Merlin, the Mage wrote:
  

On Wednesday 10 May 2006 12:41, Anton Piatek wrote:


   Alias /torrentflux /usr/share/torrentflux/www/
  

At first sight I would say that you have a / in the directory and you're 
missing it in the alias. The correct sould have / in both or in none.

You can be missing something else, but nothing that I can spot from the 
config 
excerpt you sent.

themage


Well, i changed that, but it made no difference.
Normal html pages are served fine, so the alias does work. php pages
though are offered for download as an application/x-httpd-php

the php config is loaded with the mods-enabled and works fine for pages
in /var/www/
IfModule mod_php4.c
  AddType application/x-httpd-php .php .phtml .php3
  AddType application/x-httpd-php-source .phps
/IfModule

It seems like i need to add an option for php to work in aliased
directories or something...

Anton
  

For the benefit of people searching the archives I fixed this by adding
+ExecCGI to the  directory config param that torrent flux added to apache.

Anton


signature.asc
Description: OpenPGP digital signature


torrentflux: apache2 mod_php4 problem

2006-05-10 Thread Anton Piatek
Hi,
I have installed torrentflux, and it has set up apache2 to show its
pages in /torrentflux on the webserver.
Apache forwards requests fine, but does not use php for .php pages...
mod_php4 works fine for php files I put in /var/www/ so php seems to work.

Is there anything else i need to add to the config for torrentflux to
make php work in directories? it currently added
Alias /torrentflux /usr/share/torrentflux/www/

Directory /usr/share/torrentflux/www
Options FollowSymLinks
AllowOverride All
/Directory

I can't find anything on google regarding php not working on aliased
directories, and I thought it was an apache wide config option (yet it
doesn't work for this aliased directory)

Anton



signature.asc
Description: OpenPGP digital signature


Re: torrentflux: apache2 mod_php4 problem

2006-05-10 Thread Anton Piatek
Merlin, the Mage wrote:

On Wednesday 10 May 2006 12:41, Anton Piatek wrote:
  

Alias /torrentflux /usr/share/torrentflux/www/



At first sight I would say that you have a / in the directory and you're 
missing it in the alias. The correct sould have / in both or in none.

You can be missing something else, but nothing that I can spot from the config 
excerpt you sent.

themage
  

Well, i changed that, but it made no difference.
Normal html pages are served fine, so the alias does work. php pages
though are offered for download as an application/x-httpd-php

the php config is loaded with the mods-enabled and works fine for pages
in /var/www/
IfModule mod_php4.c
  AddType application/x-httpd-php .php .phtml .php3
  AddType application/x-httpd-php-source .phps
/IfModule

It seems like i need to add an option for php to work in aliased
directories or something...

Anton



signature.asc
Description: OpenPGP digital signature


ipw2200 wireless network card stops working

2006-05-06 Thread Anton Piatek
Hi,
I am wondering if anyone has had problems with their ipw2200 network
card losing connection after a while.
It can vary between a minute and twenty before the connection stops, and
I cannot figure out why.

I don't *think* I have anything running trying to reconfigure it, and it
still has the right ip address and routes set after it dies, I just
cannot ping anything apart from my own NIC.

I have tried a 2.6.15 and .16 kernel with the builtin iee80211 stack and
ipw2200 drivers, and even the latest stable and testing ipw drivers (and
new firmware and matchin ieee stack).

How do you go about diagnosing a driver related problem?

I also wonder if power saving is kicking in at stupid times, but have no
idea how to test this.

unloading the driver and reloading fixes it (for a while at least).

none of the log files show anything after it goes down...

Anton


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



Re: ipw3945 and general WLAN questions

2006-05-06 Thread Anton Piatek
Stefan Bellon wrote:

I have a IBM/Lenovo ThinkPad T60 which needs the ipw3945 driver in
order to make WLAN working.

I removed all of IEEE802.11 from the kernel sources of the 2.6.16
kernel, installed an up-to-date IEEE802.11 subsystem (version 1.1.12),
installed version 1.0.2 of the ipw3945 software from sourceforge and
the required firmware binary and the user space daemon.

The relevant dmesg output looks like this:

ieee80211_crypt: registered algorithm 'NULL'
ieee80211: 802.11 data/management/control stack, 1.1.12
ieee80211: Copyright (C) 2004-2005 Intel Corporation
[EMAIL PROTECTED]
ipw3945: Intel(R) PRO/Wireless 3945 Network Connection driver for
Linux, 1.0.2d
ipw3945: Copyright(c) 2003-2006 Intel Corporation
ipw3945: Detected Intel PRO/Wireless 3945ABG Network Connection
ipw3945: Detected geography ABG (13 802.11bg channels, 23 802.11a
channels)

The WLAN LED is flickering all the time in this state. iwconfig shows
the following:

io:/home/sbellon# iwconfig eth1
eth1  unassociated  ESSID:off/any  
  Mode:Managed  Frequency=nan kHz  Access Point: Not-Associated
  
  Bit Rate:0 kb/s   Tx-Power:16 dBm   
  Retry limit:15   RTS thr:off   Fragment thr:off
  Encryption key:off
  Power Management:off
  Link Quality:0  Signal level:0  Noise level:0
  Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
  Tx excessive retries:0  Invalid misc:1   Missed beacon:0

Even after setting the ESSID and a key, with

# iwconfig eth1 essid ESSID
# iwconfig eth1 key KEY

there's still no link quality, no frequency, no access point, no bit
rate etc. in the iwconfig output.

And eth1 doesn't show up in ifconfig either. Should it?

What am I missing?

Although I'm quite skilled with TCP/IP networking in general, I'm
very new to WLAN and would welcome some link to a WLAN Debian HOWTO
or something similar.

In addition to the above questions: Even if I've managed to bring up
the WLAN interface by hand, how can I automate it? For wired LAN I
use DHCP at work and at home, so the notebook gets always the correct
environment configuration. Can I do something similar for WLAN as well?
Does this work by just adding eth1 to /etc/network/interfaces once
the basic low-level problems are solved?

Thanks a lot for your help already in advance!

  

Hi,
Have you added a line to /etc/network/interfaces ?
somthing similar to your eth1 line
iface eth1 dhcp should work, you should then be able to use ifup
eth1 to bring up the card using dhcp. You may still want to set a key
and essid (see man iwconfig).

Of course that is fine for one wireless lan, but I am not sure about the
best way to get the wireless card to try several keys and find the one
that works on the current hotspot (please let me know if you find a
solution to that).

Anton


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



Re: thunderbird

2006-05-04 Thread Anton Piatek
Why is it that the time is set by the sender of email anyway?
It really annoys me when I find that a dozen or so spam have slipped
through my spam filter from 1905...

Anton

Jon Dowland wrote:

At 1165531196 past the epoch, Mohsen Pahlevanzadeh wrote:

Date: Thu, 07 Dec 2006 22:39:56 +0330

Please fix the time on your computer: It is not December '06 :)

  




signature.asc
Description: OpenPGP digital signature


Re: screwed console [help, please]

2006-05-04 Thread Anton Piatek
Mauro Condarelli wrote:

 Kent West wrote:

 Mauro Condarelli wrote:
 

 Question is:
 How can I reset /dev/tty1 from another virtual console (other
 consoles work ok).   

 How about killing the getty process on tty1? It should restart
 automagically I believe.
  

 No way.
 It restarts, but the console remains in the weird state.
 Is it possible none has an answer to this?

 Thanks, anyway!
 ZioNemo



Sounds like something more serious than just he console out of its
normal state.

Check /etc/inittab and check that it looks alright. If killing the tty1
process does not fix it, i doubt a reboot will...

Anton



signature.asc
Description: OpenPGP digital signature


Re: dhcpcd loses IP address after update [debian unstable]

2006-05-03 Thread Anton Piatek
What other programs cause similar behaviour? (like zeroconf)
I been wrestling with my wireless card and it keeps dropping my
connection after a while. i thought it was my driver, but it is probably
something like zeroconf (and I will check when I get out of work),

What is it about the ifconfig listing that gives it away as running
zeroconf?

Anton

Andrew Sackville-West wrote:

On Tue, May 02, 2006 at 06:37:56PM -0700, Jan Scheffczyk wrote:
  

Hi,

I am running debian unstable and just upgraded the system.
I use dhcpcd (2.0.3) as DHCP client, which worked fine until the update.

So, now I dhcpcd gets everything from the DHCP server but seems to 
forget it almost immediately (it then falls back to some IPv4 link-local 
address).
Here is how it goes:


So it seems that the IP Addr gets lost somewhere.
I am not aware of any other network configuration software that is running.
As an exercise I even deleted everything from /etc/rc2.d in order to 
eliminate interferences with any other deamons.
Nothing changed, though.



[...ifconfig outputs showing typical zeroconf stuff ...]
  

my /etc/network/interfaces looks like this:

auto lo
iface lo inet loopback

auto eth0
iface eth0 inet dhcp


Do you have any ideas about this strange behavior?
Any help would be greatly appreciated.



you probably have isntalled the zeroconf package. If you don't need
it, you can purge it and thatll probably solve your issue.

A
  




signature.asc
Description: OpenPGP digital signature


Re: Reproducing my Etch kernel

2006-05-03 Thread Anton Piatek
Digby Tarvin wrote:

I have searched the web and several books, and all of the instructions
say to obtain the kernel with an 'apt-get install kernel-tree', and I
am sure that 2-3 months ago with Sarge I used
   apt-get install kernel-tree-2.6.8
but on Etch this package does not seem to exit. However I did find that
there is a 'linux-tree-2.6.15'.
  

When and why did Debian move from kernel-tree/image/source to
Linux-tree/image/source?

Anton


signature.asc
Description: OpenPGP digital signature