Re: How can I secure a Debian installation?

2014-02-01 Thread Florian Kulzer
On Sat, Feb 01, 2014 at 12:00:30 -0200, André Nunes Batista wrote:

 Isn't it the case where the randomness of the key/password composes the
 overall quality of the crypto substitutions in such a way that 4096bit
 keys would necessarily provide better protection against cryptanalysis
 when compared to dozens of random, valid characters?

As far as I understand it, that is correct: A 4096bit key gives you
2^4096 possibilities, while a string of n random characters selected
from a set of, let's say, 50 members (letters, numbers, special
characters) has 50^n possible values. To break even with the 4096bit
key, such a random-string password would therefore have to have a length
of n=4096*ln(2)/ln(50) characters, which is about 725.

-- 
Regards,|
  Florian   | http://www.florian-kulzer.eu


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20140201144138.GA15324@isar.localhost



Re: dpkg segmentation fault

2013-10-02 Thread Florian Kulzer
On Wed, Oct 02, 2013 at 03:11:24 -0600, Bob Proulx wrote:
 I am helping a buddy with his Sid system.  He went several months
 without upgrading.  Then recently tried to upgrade.  This resulted in
 some problems.  Currently the system produces a segmentation fault
 when trying to install packages.  For example:
 
   # dpkg-reconfigure debconf
   Segmentation fault
 
   # dpkg -i debconf_1.5.49_all.deb 
   (Reading database ... 387854 files and directories currently installed.)
   Preparing to replace debconf 1.5.49 (using debconf_1.5.49_all.deb) ...
   Unpacking replacement debconf ...
   Setting up debconf (1.5.49) ...
   dpkg: error processing debconf (--install):
subprocess installed post-installation script was killed by signal 
 (Segmentation fault)
   Errors were encountered while processing:
debconf
 
 Of course the segfault makes it difficult to make any forward progress
 with dpkg.  dpkg is up to date Sid version 1.17.1.  But almost all
 other packages are older revs from previous days of Sid.  I tried
 downgrading dpkg to the version in Wheezy but the result was the same.
 
 Thought before I did extreme things that I would ask here in case
 someone already hit this in Sid sometime between a few months ago and
 now?  If so what was the solution?

My guess would be an incomplete or otherwise screwed-up Perl transition
(dpkg-reconfigure is a Perl script and debconf's postinst calls a bunch
of Perl scripts as well). Check the status of the Perl packages on your
friend's machine, here is what I have on up-to-date Sid/amd64:

$ dpkg -l perl\* libperl\* | awk '/^ii/{print $2,$3}'
libperl4-corelibs-perl 0.003-1
libperl5.18 5.18.1-4
perl 5.18.1-4
perl-base 5.18.1-4
perl-doc 5.18.1-4
perl-modules 5.18.1-4
perl-tk 1:804.031-1+b1
perlmagick 8:6.7.7.10-6

Other than that, I can only say that I cannot recall having any problems
with my Sid system in recent months, even though upgrading all packages
that can be upgraded is how I start almost every day.

-- 
Regards,|
  Florian   | http://www.florian-kulzer.eu


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20131002193058.GA14522@isar.localhost



Re: Audio vanished with jessie

2013-09-16 Thread Florian Kulzer
On Mon, Sep 16, 2013 at 17:33:39 +, Hendrik Boom wrote:
 It's an ASUS 1HE running  jessie.
 
 Today sound wouldn't work, though it worked a few weeks ago.

 I won't say nothing has changed; I have been doing regular upgrades using 
 aptitude.
 
 I don't even know how to begin diagnosing the problem.  No sound, neither 
 in audacity nor in VLC.

Are there any error messages when you start these applications from the
command line in an X terminal? What do you get from running
speaker-test?

 Neither paplay nor aplay give me any sound.
 
 The audio device is *Enabled* in the BIOS.

For a start, please post the output of:

  lspci -knn | grep -A2 -i audio
  cat /proc/asound/{version,cards,modules}
  aplay -Ll

-- 
Regards,|
  Florian   | http://www.florian-kulzer.eu


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20130916184001.GA17224@isar.localhost



Re: Audio problems [With Squeeze KDE]

2012-06-10 Thread Florian Kulzer
On Sun, Jun 10, 2012 at 03:09:46 -0500, J Paulo wrote:
 Hi there!
 
 I have installed Debian Squeeze  KDE Desktop. The audio devices never
 worked. I'm not sure if It's a Debian problem or a KDE problem. I has
 installed OpenSUSE with GNOME before and worked ok.
 
 If I try to up volume with volume up key, appears like work it, but don't
 show change in volume (I tried volume down, too...same resulted). If I
 tried to run in root aplayer, I receive the next error message:
 
 ALSA lib pcm_dmix.c:1018:(snd_pcm_dmix_open) unable to open slave
  aplay: main:654: audio open error: No such file or directory
 
 
 I run alsa-info script, and I get this output:
 
 http://www.alsa-project.org/db/?f=5e72aeef80770fb1e93a5fc291f1cd0163f14434

Quoting from the alsa-info output:

  !!Aplay/Arecord output
  !!
  
  APLAY
  
   List of PLAYBACK Hardware Devices 
  card 0: Generic [HD-Audio Generic], device 3: ATI HDMI [ATI HDMI]
Subdevices: 1/1
Subdevice #0: subdevice #0
  card 1: SB [HDA ATI SB], device 0: HDA Generic [HDA Generic]
Subdevices: 1/1
Subdevice #0: subdevice #0
  
  ARECORD
  
   List of CAPTURE Hardware Devices 
  card 1: SB [HDA ATI SB], device 0: HDA Generic [HDA Generic]
Subdevices: 1/1
Subdevice #0: subdevice #0

The first thing that I would try is to reorder the cards or to disable
the HDMI one completely, as discussed here:

http://lists.debian.org/debian-user/2012/02/msg02286.html

-- 
Regards,|
  Florian   | http://www.florian-kulzer.eu


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120610090049.GA15003@isar.localhost



Re: Can't upgrade anyting in Sid

2012-04-18 Thread Florian Kulzer
On Wed, Apr 18, 2012 at 09:50:26 +0100, Anthony Campbell wrote:
 For the last few days apt-get upgrades in Sid always fail with this
 message:
 
 E: Internal error: APT::pkgPackageManager::MaxLoopCount reached in
 SmartConfigure for libc-bin:i386, aborting
 
 According to bug report 669060 this is supposed to be fiexd by the
 latest version of apt (0.9.1). I downloaded this and installed it with
 dpkg but the error still comes up. I also tried downloading and
 installing the latest version of libc-bin, mentioned in the error line,
 but that had depnendency problems. Any ideas what to try next?

Did you upgrade libapt-pkg4.12 to version 0.9.1 as well? That seems to
have fixed this problem for me.

-- 
Regards,|
  Florian   | http://www.florian-kulzer.eu


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120418091055.gb4...@bavaria.univ-lyon1.fr



Re: Can't upgrade anyting in Sid

2012-04-18 Thread Florian Kulzer
[ Please try to adopt the posting/quoting style that I use (interleaved
  responses with appropriate trimming). It is in everybody's interest if
  each individual message by itself is easily understandable, with the
  relevant part of its history in chronological order. ]

On Wed, Apr 18, 2012 at 09:35:25 -0500, mike wrote:
 Florian Kulzer wrote earlier:
  On Wed, Apr 18, 2012 at 09:50:26 +0100, Anthony Campbell wrote:
   E: Internal error: APT::pkgPackageManager::MaxLoopCount reached in
   SmartConfigure for libc-bin:i386, aborting
   
   According to bug report 669060 this is supposed to be fiexd by the
   latest version of apt (0.9.1). I downloaded this and installed it with
   dpkg but the error still comes up.
  
  Did you upgrade libapt-pkg4.12 to version 0.9.1 as well? That seems to
  have fixed this problem for me.

 I am still new at this to a point what wood be the best way to go about
 fixing this sense apt and aptitude seam to have broken itself

Aptitude was not completely broken on my system: I could no longer do a
full upgrade all at once, but it was possible to upgrade just the
critical apt packages with aptitude without running into the error
quoted above. You can try if any of the following commands work:

  aptitude upgrade '~i?source-package(^apt$)'
  aptitude upgrade apt libapt-pkg4.12
  apt-get install apt libapt-pkg4.12

If none of the above works then you can download the packages manually

  wget ftp://ftp.debian.org/debian/pool/main/a/apt/apt_0.9.1_$(dpkg 
--print-architecture).deb
  wget ftp://ftp.debian.org/debian/pool/main/a/apt/libapt-inst1.5_0.9.1_$(dpkg 
--print-architecture).deb
  wget ftp://ftp.debian.org/debian/pool/main/a/apt/libapt-pkg4.12_0.9.1_$(dpkg 
--print-architecture).deb

and install them directly with dpkg (as root or with sudo):

  dpkg -i apt_0.9.1_$(dpkg --print-architecture).deb
  dpkg -i libapt-pkg4.12_0.9.1_$(dpkg --print-architecture).deb
  dpkg -i libapt-inst1.5_0.9.1_$(dpkg --print-architecture).deb

If you do not get lucky with any of the above then show us the error
messages that you get.

-- 
Regards,|
  Florian   | http://www.florian-kulzer.eu


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120418152056.ga13...@bavaria.univ-lyon1.fr



Re: apt-get dist-upgrade failed.

2012-04-12 Thread Florian Kulzer
[ Please turn off the HTML part of your messages. ]

On Thu, Apr 12, 2012 at 14:48:15 +0530, Amrish Purohit wrote:
 Hi,
 I installed debian stable kde with live cd
 debian-live-6.0.3-i386-kde-desktop.iso.  My PC was not connected
 with internet, so after the installation, my source.list file was
 with only one line of cd - repository. Then I populated
 /source.list/ with following repositories because I want to install
 debian with testing.
 
 ## Debian Main Repos
 deb http://ftp.us.debian.org/debian/ wheezy main contrib non-free
 deb-src http://ftp.us.debian.org/debian/ wheezy main contrib non-free
 
 ## Debian Update Repos
 deb http://security.debian.org/ wheezy/updates main contrib non-free
 deb http://ftp.us.debian.org/debian/ wheezy-proposed-updates main
 contrib non-free
 deb-src http://security.debian.org/ wheezy/updates main contrib non-free
 deb-src http://ftp.us.debian.org/debian/ wheezy-proposed-updates
 main contrib non-free
 
 # UNOFFICIAL  REPOS ##

 [ snip: debian-multimedia, google, skype ]

 To convert debian stable in testing, I fired following commands.
 apt-get update
 apt-get dist-upgrade

For the record: If you want to set up a testing system starting from a
stable installation CD then I would recommend to only install a
minimal stable system (no graphical environment etc.), upgrade this
minimal system carefully to testing (kernel, udev, dpkg, and apt first,
the do an upgrade, followed by a dist-upgrade) and then install the
rest of the system from testing. Your approach is asking for trouble.

 But dist-upgrade failed with following error.
 E: Could not perform immediate configuration on
 'phonon-backend-vlc'. Please see man 5 apt.conf under
 APT::Immediate-Configure for details. (2)

I think one or more of the following may help to untangle your system:

- Comment out all third-party repositories and run apt-get update
  again (as Daniel has already suggested).

- Add the usual lines for the stable repository (squeeze) to your
  sources list and run apt-get update. (There may be rare cases where
  a stable package needs to be installed temporarily to help break a
  dependency loop.)

- Run apt-get install -f, put its complete output on pastebin.com (or a
  similar site) and send us the link.

- Also show us the output of:
  apt-cache policy phonon-backend-vlc libvlc5 libvlccore4
  dpkg -l \*phonon\* | awk '/^[^D|+]/{print $2,$3}'

-- 
Regards,|
  Florian   | http://www.florian-kulzer.eu


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120412195911.GA21369@isar.localhost



Re: No sound from Gnash in Iceweasel or Epiphany or from VLC

2012-04-07 Thread Florian Kulzer
(Please try to turn off the HTML part of your messages.)

On Sat, Apr 07, 2012 at 14:19:15 -0400, Kevin Williams wrote:
 Hi,
 
  The video works just fine in both applications, but it has no sound.
  However, I can play ogv videos with sound just fine from Gnome Sound
  Recorder and Totem Movie Player.
 
  My preferred sound device is a Plantronics .Audio 646 DSP usb
  headset. I have also tried plugging in a set of Apple ear buds to the
  traditional sound jacks. I do not get any sound from any source when
  attempting to play videos from VLC, Iceweasel, or Epiphany.
 
  I am using Debian Squeeze.

Are you using Gnome with pulseaudio? If you are not sure then post the
output of:

  dpkg -l \*pulse\* | awk '/^ii/{print $1,$2,$3}'

 [...]

  # lspci -knn | grep -iA2 audio
  00:14.2 Audio device [0403]: ATI Technologies Inc SBx00 Azalia (Intel HDA) 
 [1002:4383] (rev 40)
  Subsystem: ASUSTeK Computer Inc. Device [1043:8410]
  00:14.3 ISA bridge [0601]: ATI Technologies Inc SB700/SB800 LPC host 
 controller [1002:439d] (rev 40)
  --
  01:00.1 Audio device [0403]: ATI Technologies Inc Redwood HDMI Audio [Radeon 
 HD 5600 Series] [1002:aa60]
  Subsystem: Dell Device [1028:aa60]
  02:00.0 USB Controller [0c03]: NEC Corporation uPD720200 USB 3.0 Host 
 Controller [1033:0194] (rev 03)
 
  # cat /proc/asound/cards
   1 [DSP ]: USB-Audio - Plantronics .Audio 646 DSP
 Plantronics Plantronics .Audio 646 DSP at usb-:00:13.0-1, 
 full speed

It seems that your two internal audio devices are not supported by
Squeeze's kernel (unless you took active measures to prohibit loading of
the corresponding kernel modules); this explains why you do not hear
anything when you use standard headphones plugged into the 3.5mm TRS
socket. 

How do you want to proceed? Try to get the Azalia device working or
focus on the plantronics USB headset?

If you are content using the USB headset then my guess would be that you
have to ensure it is recognized as ALSA card number 0. The most common
cause of problems like yours - some applications play sound just fine
while others fail - is that the problematic applications are not
flexible enough to handle systems which have no card 0 or on which card
0 is broken.

The quickest way to check if this is your problem is to unplug the USB
headset and then run as root:

  modprobe -r snd_usb_audio
  modprobe snd_usb_audio index=0

Then plug in the headset again, verify that it is card 0 now (cat
/proc/asound/cards should show  0 [DSP ]: USB-Audio ...) and try if
Gnash and VLC work.

-- 
Regards,|
  Florian   | http://www.florian-kulzer.eu


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120407194630.GA28134@isar.localhost



Re: iceweasel drawing problems

2012-04-05 Thread Florian Kulzer
On Thu, Apr 05, 2012 at 14:11:37 -0400, Dale Harris wrote:
 Anyone else having problems with iceweasel (on SID)  pixelating text
 within it's window?  Chromium is not doing the same thing, so why it
 makes me think it's not a video card driver problem.

I have been having similar issues for a few days now, but they happen
only sporadically. My guess is that the most recent version of libcairo2
has a problem with certain AMD video cards. Check out the screenshots
here: http://bugs.debian.org/658252#37

-- 
Regards,|
  Florian   | http://www.florian-kulzer.eu


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120405194846.GA17940@isar.localhost



Re: problems with apt-get

2012-03-23 Thread Florian Kulzer
On Fri, Mar 23, 2012 at 12:50:15 -0600, Kjetil brinchmann Halvorsen wrote:
 Hola!
 
 I am given the command
 
 sudo apt-get -t sid install ^r-cran
 
 but gets
 
 Some packages could not be installed. This may mean that you have
 requested an impossible situation or if you are using the unstable
 distribution that some required packages have not yet been created
 or been moved out of Incoming.
 The following information may help to resolve the situation:
 
 The following packages have unmet dependencies:
  r-cran-pscl : Depends: r-cran-gam but it is not installable
 E: Broken packages
 
 I have tried many permutations with --fix-missing   --ignore-missing and
 the like, but not workd.
 How can I get apt-get to ignore r-cran-pscl and just install the remaining?

apt-get install $(apt-cache search -n ^r-cran | awk '!/r-cran-pscl/{print$1}')

This is ugly, of course; the proper solution to this kind of problem
involves replacing -get with itude.

-- 
Regards,|
  Florian   | http://www.florian-kulzer.eu


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120323210221.GA10125@isar.localhost



Re: Ctrl-/ interpreted as Backspace in text console

2012-03-10 Thread Florian Kulzer
On Sun, Mar 11, 2012 at 00:56:12 +0800, Liu Binsheng wrote:
 Hi,
 
 When I press Ctrl-/ in the text console, it deletes a char like
 backspace. But if I use Gnome and press Ctrl-/ in gnome-terminal,
 Ctrl-/ behaves normally.

 [...]

 Here's the results of running `showkey -a` in text console:
 
 Press any keys - Ctrl-D will terminate this program
 
 ^?127 0177 0x7fwhen pressing Ctrl-/
 ^?127 0177 0x7fwhen pressing Backspace
 /  47 0057 0x2fwhen pressing /
 ?  63 0077 0x3fwhen pressing ?
 ^D  4 0004 0x04Ctrl-D
 
 The results of running `showkey -a` in gnome-terminal:
 
 Press any keys - Ctrl-D will terminate this program
 
 ^_ 31 0037 0x1fwhen pressing Ctrl-/. result differs
 ^?127 0177 0x7fwhen pressing Backspace
 /  47 0057 0x2fwhen pressing /
 ?  63 0077 0x3fwhen pressing ?
 ^D  4 0004 0x04Ctrl-D
 
 This problem is very annoying because I bind Ctrl-/ to undo in
 emacs. Could you please provide any suggestions to make Ctrl-/ not
 behave like backspace?

You can try

  echo control keycode 53 = Control_underscore | loadkeys

as root to assign keysymbol 0x1f to the Ctrl-/ combination on the text
console, assuming that / has keycode 53 on your system, which you can
verify with showkey -k.

I have no idea how this modification interacts with emacs, but it should
ensure the same behavior on text consoles as in gnome terminal, which
seems to be what you want to achieve if I understand you correctly.

-- 
Regards,|
  Florian   | http://www.florian-kulzer.eu


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120310213927.GA26222@isar.localhost



Re: encrypted root - change keyboard layout

2012-03-03 Thread Florian Kulzer
On Sat, Mar 03, 2012 at 01:30:21 +0100, Matthias Weiler wrote:
 Hello everyone!
 
 As the subject suggests: I've encrypted my root partition with a super
 secret passphrase. The problem is that there is one character that I
 don't know how to enter with the english keyboard layout.
 
 I get to the (initramfs) prompt. What can I do from there on?
 
 I've checked Debian Wiki [0], Arch Wiki [1] and Stackexchange [2] but
 they didn't help altogether. I don't have dpkg-reconfigure or
 initramfs.conf.

You will probably need a rescue disk that allows you to mount the
encrypted root file system and chroot into it to rebuild your initrd as
I suggest below. (Your Debian installer may offer such a rescue
functionality, but I cannot help you with any details here because I
have not had to do something like that in a very long time.) 

 What am I missing?
 
 Thanks for your time!
 
 greetins
 Matthias
 
 [0] http://wiki.debian.org/Keyboard#Set_Keyboard_Layout_in_initramfs
 [1] https://wiki.archlinux.org/index.php/System_Encryption_with_LUKS
 [2] 
 http://unix.stackexchange.com/questions/15955/how-to-set-keyboard-layout-used-to-enter-password-on-an-encrypted-filesystem

It seems that update-initramfs does not include the correct keyboard
configuration in the initrd: http://bugs.debian.org/619711

If you manage to chroot into your encrypted system then you can try the
following workaround: Make sure that your keyboard configuration is
coirrect, then save it

  setupcon --save-keyboard cached.kmap
  gzip -9n cached.kmap

and copy cached.kmap.gz to /etc/console-setup/ (back up the old version
if one exists); finally, rebuild your initrd with

  update-initramfs -u

Disclaimer: I have not tried if any of this works. A simpler approach
may be to use the rescue disk to change the LUKS passphrase and remove
the one troublesome character; my guess would be that this will not
significantly affect the entropy of the phrase.

-- 
Regards,|
  Florian   | http://www.florian-kulzer.eu


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120303111841.GA20266@isar.localhost



Re: No sound from Adobe's flash player

2012-02-28 Thread Florian Kulzer
On Mon, Feb 27, 2012 at 20:51:43 -0500, Stefan Monnier wrote:
  I'd love to get help here:
  - how do I work around the problem so that Adobe's flash plugin gives
  me sound?
  - why is ALSA's dmix refusing connections (after all, its name claims
  it's a mixer, so it should accept more than one input stream).
 
  I would like to see the output of:
 
lspci -knn | grep -iA2 audio
cat /proc/asound/cards
lsof $(find /dev/ -group audio)
 
 Here you go:
 
 % lspci -knn | grep -iA2 audio
 00:01.1 Audio device [0403]: ATI Technologies Inc Wrestler HDMI Audio [Radeon 
 HD 6250/6310] [1002:1314]
 Subsystem: ZOTAC International (MCO) Ltd. Device [19da:a182]
 Kernel driver in use: snd_hda_intel
 --
 00:14.2 Audio device [0403]: ATI Technologies Inc SBx00 Azalia (Intel HDA) 
 [1002:4383] (rev 40)
 Subsystem: ZOTAC International (MCO) Ltd. Device [19da:a130]
 Kernel driver in use: snd_hda_intel
 % cat /proc/asound/cards
  0 [Generic]: HDA-Intel - HD-Audio Generic
   HD-Audio Generic at 0xfeb44000 irq 43
  1 [SB ]: HDA-Intel - HDA ATI SB
   HDA ATI SB at 0xfeb4 irq 16
 % lsof $(find /dev/ -group audio)
 COMMANDPIDUSER   FD   TYPE DEVICE SIZE/OFF NODE NAME
 pulseaudi 3838 monnier   28u   CHR 116,10  0t0 5039 /dev/snd/controlC1
 pulseaudi 3838 monnier   33u   CHR 116,10  0t0 5039 /dev/snd/controlC1

My guess is that the Generic card is a placeholder for your HDMI audio
device, which may not be fully supported and/or not correctly
identified. Pluseaudio is smart enough to use the SBx00 Azalia device
(it has the control of card 1 open), while flashplayer blindly uses card
0 and thus remains silent. (Of course, even if the HDMI device is
supported, you won't hear anything if your monitor does not have
integrated speakers.)

Your can try to reorder the cards or disable the Generic one
completely. To do so, you have to unload the snd_hda_intel module and
then load it again either with

  modprobe snd_hda_intel index=1,0

to reorder, or with

  modprobe snd_hda_intel enable=0,1

to disable the first device.

If any of these two commands restore your sound with flashplayer then
you can make the change persistent across reboots as described in the
bottom half of this message:
http://lists.debian.org/debian-user/2012/02/msg01418.html

-- 
Regards,|
  Florian   | http://www.florian-kulzer.eu


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120228204238.GA17191@isar.localhost



Re: No sound from Adobe's flash player

2012-02-27 Thread Florian Kulzer
On Mon, Feb 27, 2012 at 00:27:14 -0500, Stefan Monnier wrote:
 I recently updated my Debian testing desktop (which moved it to Gnome 3)
 and now the Adobe flash plugin doesn't give me any sound any more.
 Luckily, Gnash gives me sound OK, but I'd still like to solve the issue
 with the Adobe plugin for those sites that don't work with Gnash.
 So, from what I understand the issue is that Adobe flash tries to output
 the sound via ALSA but that doesn't work (hence the errors I get on
 stderr ALSA lib pcm_dmix.c:1018:(snd_pcm_dmix_open) unable to open
 slave) because ALSA considers itself busy with pulseaudio.

Strange. I have never had any problems with flashplayer sound while
pulseaudio was active. (I don't use Gnome, though.)

 I'd love to get help here:
 - how do I work around the problem so that Adobe's flash plugin gives
   me sound?
 - why is ALSA's dmix refusing connections (after all, its name claims
   it's a mixer, so it should accept more than one input stream).

I would like to see the output of:

  lspci -knn | grep -iA2 audio
  cat /proc/asound/cards
  lsof $(find /dev/ -group audio)

-- 
Regards,|
  Florian   | http://www.florian-kulzer.eu


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120227204721.GA8531@isar.localhost



Re: pulseaudio /usr/share/alsa/pulse-alsa.conf

2012-02-24 Thread Florian Kulzer
On Fri, Feb 24, 2012 at 10:42:34 -0700, Bob Proulx wrote:
 Seb wrote:
  Bob Proulx wrote:
   Is anyone else also seeing this problem?
  
  I do, also in a sid system with latest pulseaudio.
 
 I filed this bug:
 
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=661095

I found an Ubuntu bug which claims that the problem is fixed in their
latest version of the pulseaudio package:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/939153

They don't provide further details so I downloaded a few versions of
their pulseaudio package and compared the configuration files. The older
Ubuntu versions of pulseaudio have the same broken pulse-alsa.conf file
as Sid does. The newest version has this instead:

--- CUT BELOW THIS LINE ---  
# Default to PulseAudio

pcm.!default {
type pulse
hint {
show on
description Playback/recording through the PulseAudio sound server
}
}

ctl.!default {
type pulse
}
--- CUT ABOVE THIS LINE ---  

The new configuration file seems to solve the problem on my Sid system.

-- 
Regards,|
  Florian   | http://www.florian-kulzer.eu


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120224195820.GA14018@isar.localhost



Re: Microphone not picking any sound -- Debian Testing/Wheezy (KDE 4.6.5)

2012-02-23 Thread Florian Kulzer
On Thu, Feb 23, 2012 at 17:11:51 +0530, Arun Khan wrote:
 Debian Wheezy AMD 64 weekly build 13/Feb/2012
 KDE 4.6.5 (default) desktop
 Kernel 3.2.0 (stock from the weekly build)
 on Toshiba C640 laptop.
 
 alsamixergui shows - audio device is shown as Intel Conexant CX20590.
 I can hear sound from the built in speakers as well as from the head phone 
 jack.
 Through Kmix gui, I have boosted the Mic to 40dB.
 
 However, the mic does not pick up anything.  I am unable to use
 services like linphone and skype.
 
 FWIW, in KDESystem SettingsSound and Video Configurations Device
 Preference Audio Capture
 Communications shows the test button greyed out whereas the same
 system when I boot with Linux Mint 12 KDE RC (Live Session), the
 button is not greyed out.
 
 Any pointers to get the MIC input working highly appreciated.

Please post the output of the following four commands:

  lspci -knn | grep -iA2 audio
  cat /proc/asound/cards
  arecord -l
  amixer | perl -F'\n(?=\S)' -na0 -e 'foreach(@F){if(/capture/i){print$_\n}}'

-- 
Regards,|
  Florian   | http://www.florian-kulzer.eu


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120223214446.GA14071@isar.localhost



Re: wireless is disabled

2012-02-23 Thread Florian Kulzer
On Fri, Feb 24, 2012 at 00:36:02 +0800, lina wrote:
 Supplementary Information:
 
 # nm-tool
 
 NetworkManager Tool
 
 State: disconnected
 
 - Device: eth0 
 -
   Type:  Wired
   Driver:tg3
   State: unmanaged

 [snip: eth0 looks normal to me for an unmanaged device]

 - Device: wlan0 
 
   Type:  802.11 WiFi
   Driver:b43
   State: unavailable
   Default:   no
   HW Address:E0:F8:47:0A:B0:D8
 
   Capabilities:
 
   Wireless Properties
 WEP Encryption:  yes
 WPA Encryption:  yes
 WPA2 Encryption: yes
 
   Wireless Access Points

It should be possible to change the line State: unavailable to State:
disconnected by running:

  nmcli nm wifi on

If this does not work then it might be necessary to install the package
rfkill and use

  rfkill list

to check if an RF killswitch has inadvertently been activated. Post any
output or error messages that you may get from these commands.

-- 
Regards,|
  Florian   | http://www.florian-kulzer.eu


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120223222648.GB14071@isar.localhost



Re: All flash videos playing far too quickly

2012-02-19 Thread Florian Kulzer
On Sat, Feb 18, 2012 at 17:59:16 -0500, brian wrote:
 On 02/18/2012 04:09 PM, Florian Kulzer wrote:
 On Sat, Feb 18, 2012 at 12:39:53 -0500, brian wrote:
 On 02/17/2012 05:11 PM, brian wrote:
 On 02/17/2012 02:40 PM, Richard Owlett wrote:
 
   [...]
 
 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=658128

 [...]

 The bug report cited above suggests that the HDMI alsa sink is the root
 of the problem.

 [...]

 Are you actually using the HDMI output for sound?
 
 No.

 [...]

 cat /proc/asound/cards
  0 [SB ]: HDA-Intel - HDA ATI SB
   HDA ATI SB at 0xfe7f4000 irq 16
  1 [HDMI   ]: HDA-Intel - HDA ATI HDMI
   HDA ATI HDMI at 0xfe9e8000 irq 19
  2 [CODEC  ]: USB-Audio - USB Audio CODEC
   Burr-Brown from TI USB Audio CODEC at 
  usb-:00:12.1-1, full speed

So there is an USB audio device connected as well? If you want to use
that one with flashplayer then it might be enough to run

  modprobe -r snd_hda_intel
  modprobe -r snd_usb_audio
  modprobe snd_usb_audio index=0

as root or with sudo. You may have to log out from your desktop
environment and issue these commands on a terminal (you cannot remove
modules that are in use). After you have done this, verify that
/proc/asound/cards now lists the USB device as card number 0, then try
if you get sound output from flashplayer. The annoying thing about sound
with Flashplayer is that the browser plugin seems to be hell-bent on
using alsa's card number 0 directly; I have never managed to make it to
respect any KDE/phonon or pulseaudio setting that says otherwise.

If you want to use the Intel SB device then you can test if disabling
the HDMI sink is sufficient to make flashplayer behave:

  modprobe -r snd_hda_intel
  modprobe snd_hda_intel enable=1,0

(Verify that /proc/asound/cards lists SB as card 0 and that the HDMI
card is gone after you do that.)

If you find a configuration that works then you can make it permanent by
putting the corresponding module options in a file in /etc/modprobe.d/
to make them persistent across reboots. I recommend creating an extra
file for that rather than adding the options to an existing file. (This
approach ensures that your settings will never be overwritten by an
upgrade.)

-- 
Regards,|
  Florian   | http://www.florian-kulzer.eu


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120219095806.GA15121@isar.localhost



Re: Flash plugin not producing sound

2012-02-19 Thread Florian Kulzer
On Sun, Feb 19, 2012 at 12:01:02 +, Sian Mountbatten wrote:
 Hello All
 
 I have the flashplugin-nonfree package installed on my system
 (version 1:2.8.3)

That suggests that you are on Wheezy (testing) or Sid (unstable); which
one is it exactly? Is it fully up-to-date?

 so I can get the video clips working in my
 browser. Unfortunately, I am not getting any sound. The video clips
 without sound are not much use.
 
 So what do I do to get sound working? I have two sound cards on my
 computer only one of which is connected to loudspeakers (the
 CA0106). The Intel sound card is part of my motherboard, but I do
 not have it connected to any speakers.
 
 Any help would be appreciated.

Please post the output of:

  lspci -knn | grep -iA2 audio
  cat /proc/asound/cards
  lsmod | awk '/snd/{print $1}'

-- 
Regards,|
  Florian   | http://www.florian-kulzer.eu


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120219133556.GA21025@isar.localhost



Re: Flash plugin not producing sound

2012-02-19 Thread Florian Kulzer
On Sun, Feb 19, 2012 at 14:07:02 +, Sian Mountbatten wrote:
 Florian Kulzer wrote:
 On Sun, Feb 19, 2012 at 12:01:02 +, Sian Mountbatten wrote:
 Hello All
 
 I have the flashplugin-nonfree package installed on my system
 (version 1:2.8.3)

 [...]

 Please post the output of:
 
lspci -knn | grep -iA2 audio
cat /proc/asound/cards
lsmod | awk '/snd/{print $1}'
 
 The first command gives:
 
 00:1f.5 Multimedia audio controller [0401]: Intel Corporation
 82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller [8086:24d5] (rev 02)
 Subsystem: ASUSTeK Computer Inc. P4P800 Mainboard [1043:80f3]
 Kernel driver in use: snd_intel8x0
 --
 03:0b.0 Multimedia audio controller [0401]: Creative Labs CA0106
 Soundblaster [1102:0007]
 Subsystem: Creative Labs SB0570 [SB Audigy SE] [1102:100a]
 Kernel driver in use: snd_ca0106
 
 The second command gives:
  0 [ICH5   ]: ICH4 - Intel ICH5
   Intel ICH5 with AD1985 at irq 17
  1 [CA0106 ]: CA0106 - CA0106
   Audigy SE [SB0570] at 0xdf80 irq 23
 
 The lsmod command gives:
 snd_ca0106
 snd_intel8x0

 [...]

 So as you can see, sound reproduction modules are loaded, and I
 really do have two sound cards.

That all looks OK; the problem with flashplayer is that it blindly uses
alsa card 0 to play its sound, regardless of how you configured your
desktop environment and/or pulseaudio. This means that you have to
reorder the cards (as far as alsa is concerned) if you want flashplayer
to use the CA0106. Try this sequence of commands as root or with sudo:

  modprobe -r snd_intel8x0
  modprobe -r snd_ca0106
  modprobe snd_ca0106 index=0
  modprobe snd_intel8x0 index=1

If there are any errors with the first two commands (FATAL: Module
snd_XXX is in use.) then you have to log out from your desktop
environment and issue the commands on a VT. The four modprobe commands
will unload the drivers of both soundcards and then reload them with an
explicit assignment of card index 0 to the CA0106. You can check if this
has worked with cat /proc/asound/cards and then try flashplayer again.

The ordering of the cards can be made persistent across reboots by
creating a file in /etc/modprobe.d/ with the following content (three
lines):

# added by Sian on 2012-02-19 to ensure that CA0106 is card 0
options snd_ca0106 index=0
options snd_intel8x0 index=1

The first line with the comment is optional, of course. The file itself
should have the same owner (root:root) and permissions (-rw-r--r--) as
the rest of the files in /etc/modprobe.d/. The name of the file is up to
you, as long as it ends in .conf; I myself would use choose a name
like local-reorder-alsa-cards.conf to immediately identify the file as
a local (non-Debian) configuration file and provide a hint about its
purpose. The idea behind creating separate files for your custom module
options is to protect your settings from being overwritten during
package upgrades.

-- 
Regards,|
  Florian   | http://www.florian-kulzer.eu


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120219151708.GB22766@isar.localhost



Re: All flash videos playing far too quickly

2012-02-18 Thread Florian Kulzer
On Sat, Feb 18, 2012 at 12:39:53 -0500, brian wrote:
 On 02/17/2012 05:11 PM, brian wrote:
 On 02/17/2012 02:40 PM, Richard Owlett wrote:

 [...]

 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=658128
 
 I cannot follow further as I'm on dialup and do not have debian
 installed
 HTH
 
 
 The solution linked to above worked as regards reducing the speed of
 the video playback back to normal i.e. blacklisting snd_hda_intel in
 /etc/modprobe.d/alsa-base-blacklist.conf
 
 Unfortunately the sound no longer works, but that may well be
 another problem.

Do you have another soundcard in addition to the intel onboard one? If
not then it is not too surprising that sound stops working as soon as
you unload the driver of the intel card.

The bug report cited above suggests that the HDMI alsa sink is the root
of the problem. Are you actually using the HDMI output for sound? If you
are connecting external loudspeakers or headphones to the analog output
(standard 3.5 mm plugs), or if you are using the internal speakers of a
laptop, then you might get flash and sound working together by disabling
the HDMI slot when you load the snd_hda_intel module. If you need help
with this then please show me the output of

  cat /proc/asound/cards

(when the snd_hda_intel module is loaded)

-- 
Regards,|
  Florian   | http://www.florian-kulzer.eu


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120218210945.GA25765@isar.localhost



Re: URW Bookman Font

2011-12-30 Thread Florian Kulzer
On Thu, Dec 29, 2011 at 19:55:23 -0800, Joseph Loo wrote:
 I have just installed Debian Squeeze. I have replaced the open office
 package with Libre Office 3.4.3. I am trying to use the URW Bookman L
 font. I have the bold, italic, and the bold italic. The non-bold 
 non-italic are both missing.
 
 I have TeXLive: Recommended fonts installed

As far as I know, the file that X applications need for the normal URW
Bookman L font is /usr/share/fonts/X11/Type1/b018012l.pfb, which is part
of the gsfonts-x11 package. Do you have this package installed? (This
font file is actually just a symlink to the corresponding font file from
the gsfonts package; installing gsfonts-x11 should create all necessary
symlinks and configure your system such that all X applications can use
the ghostscript fonts.)

If you have gsfonts-x11 installed and you still cannot use the font then
you should check if it is listed in the fonts cache, like this:

$ fc-list | grep -i bookman
URW Bookman L:style=Demi Bold
URW Bookman L:style=Light
URW Bookman L:style=Light Italic
URW Bookman L:style=Demi Bold Italic

If you get the same output then there might be a problem with your
LibreOffice installation. Can you use the Bookman fonts in
other applications? (I use LibreOffice 3.4.4 on Sid and these fonts
work fine for me.)

-- 
Regards,|
  Florian   | http://www.florian-kulzer.eu


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20111230094719.GA5897@isar.localhost



Re: Finding packages installed from experimental

2011-02-01 Thread Florian Kulzer
On Tue, Feb 01, 2011 at 15:43:50 +0100, Jörg-Volker Peetz wrote:
 Spaces make no difference in the old aptitude search form and the new
 search form leads to the same result:
 
 on another mixed system I get
 
   apt-show-versions | grep -c /experimental
 35
 
   aptitude search '~S ~i ~Aexperimental' | wc -l
 27
 
   aptitude search '~S~i~Aexperimental' | wc -l
 27
 
   aptitude search ?narrow(?archive(experimental),?installed) | wc -l
 27
 
 An example of a package not found by these aptitude search commands is
 (output from apt-show-versions)
 xserver-xorg-core/experimental *manually* upgradeable from 2:1.9.2.902-1
 to 2:1.9.3.902-1

I think the above aptitude searches do not list such packages because
the ~A string is empty for their installed version, which is no longer
in experimental.

I use

  aptitude search '~S~i!~Ae'

to find all my outdated packages that came from experimental. This will
also list the obsolete (~o) packages and it relies on the fact that all
archive names from stable to experimental contain at least one e. You
can combine this with '!~o' to exclude the standard obsolete packages;
I use the above search string as a display limit in interactive mode,
where these two types of packages are listed in different categories
anyway (upgradable and obsolete, respectively).

-- 
Regards,|
  Florian   | http://www.florian-kulzer.eu


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110201155844.ga28...@bavaria.univ-lyon1.fr



Re: [really solved] Re: aptitude: set all packages auto-installed except given list?

2011-01-16 Thread Florian Kulzer
On Sun, Jan 16, 2011 at 02:27:50 +0200, Andrei Popescu wrote:
 On Du, 16 ian 11, 01:00:50, Javier Barroso wrote:
  When you invoke aptitude unmarkauto ... aptitude has all your packages
  with auto mark, so aptitude will want to delete these unused packages
  *before* it start with your operation (unmarkauto in this case). I
  think it make sense
 
 Well, '(un)mark' seems to be doing more than just (un)marking packages 
 which is a bit counter-intuitive to me...

I have the impression that the modification of auto flags prompts
aptitude to search for unused packages and to schedule them for removal
at the very least, if not to remove them right away. The persistence of
scheduled actions would explain why aptitude tries to remove these
packages when you invoke it a second time, even though you then mark
them as non-auto. 

Another solution might be to use keep-all before unmarkauto.

-- 
Regards,|
  Florian   | http://www.florian-kulzer.eu


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110116090621.GA6083@isar.localhost



Re: aptitude: set all packages auto-installed except given list?

2011-01-15 Thread Florian Kulzer
On Sat, Jan 15, 2011 at 13:01:30 +0200, Andrei Popescu wrote:

 [...]

 How can I:
 
 - set everything to auto-installed
 - automatically mark as manually installed the ones in the list
 
 ?
 
 I already tried (as root):
 
 aptitude markauto ~i
 
 This will try to remove everything and I have to abort
 
 aptitude --schedule-only markauto ~i
 
 Seems to be doing the first part, but I can't convince aptitude to 
 unmark my list (which I processed to not contain unneeded space and 
 newlines):
 
 aptitude unmarkauto  pkg.list
 
 has no effect
 
 aptitude install  pkg.list
 
 first tries to remove everything and when I say 'n' it starts crunching 
 on my processor.
 
 Any other suggestions?

  aptitude --schedule-only unmarkauto $(cat pkg.list)

is somewhat clumsy, but it seems to work here. I only tried a simple
test case with a list of two packages, and I did not test if
--schedule-only is really necessary. If your list of packages exceeds
the maximum number of command line arguments then you have to split the
file. Backticks should also work if you want to avoid the $(...)
bashism.

-- 
Regards,|
  Florian   | http://www.florian-kulzer.eu


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110115112307.GA3041@isar.localhost



Re: how to start gnome from the command line

2010-11-12 Thread Florian Kulzer
On Fri, Nov 12, 2010 at 16:03:28 +, Kjetil brinchmann Halvorsen wrote:

[...]

 I had done
 apt-get install gnome-desktop-environment
 
 then
 startx
 gives an error along the lines of : startx: unknown command.
 
 Now I have also done
 apt-get install gdm
 apt-get install gnome
 wait a long time
 
 then, on boot gnome starts, I get a login window, do log in,
 but am only given a blue screen without anything!!!
 
 What to do?

Did you install xorg or at least xinit? This is not necessarily done
automatically when you install gnome, AFAIK (to allow people to run the
X server on another computer if they want to).

-- 
Regards,|
  Florian   | http://www.florian-kulzer.eu


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20101112181442.ga30...@bavaria.univ-lyon1.fr



Re: Trying to use a Nokia N95 as a modem over USB

2010-10-30 Thread Florian Kulzer
On Sat, Oct 30, 2010 at 16:35:55 -0400, Andrew Malcolmson wrote:
 I'm trying to use the GSM data connection of my Nokia N95-3 as a modem
 for my Squeeze laptop over USB.
 
 The Ubuntu wiki indicates that my Nokia is compatible with USB
 tethering but a patch to hal rules is required (As per a bug report
 filed in 2008 but still open.):
 
 The wiki page:
 https://wiki.ubuntu.com/NetworkManager/Hardware/3G#Mobile%20Phones
 
 The bug report:
 https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/262566
 
 The patch file:
 https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/262566/+attachment/338284/+files/10e_modem_fdi_nokia_N95.patch
 
 I'm trying to understand how to apply the patch.  I downloaded the
 patch file to /etc/udev/rules.d and run 'sudo patch -p0
 filename.patch' but patch hangs.  I'm not familiar with applying
 patches.  Is my command wrong is this something to do with a patch
 created in 2008 for Ubuntu will not work on a 2010 Debian?

It is supposed to work like this:

$ sudo patch -d /usr/share/hal/fdi/information/10freedesktop/  
10e_modem_fdi_nokia_N95.patch 
patching file 10-modem.fdi
Hunk #1 succeeded at 519 with fuzz 2 (offset 218 lines).

This means that 10-modem.fdi on Sid/Squeeze is different from how it was
when the patch was created, but patch seems to think that it
nevertheless found the right place to insert the modification. The
patched 10-modem.fdi looks reasonable to me, but I do not have a Nokia
N95-3 and therefore I cannot be sure if it works. You can revert the
patch if necessary:

sudo patch -Rd /usr/share/hal/fdi/information/10freedesktop/  
10e_modem_fdi_nokia_N95.patch

-- 
Regards,|
  Florian   | http://www.florian-kulzer.eu


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20101030214734.ga8...@isar.localhost



Re: Aptitude cannot upgrade libperl5.10

2010-09-11 Thread Florian Kulzer
On Mon, Aug 30, 2010 at 00:17:19 +, T o n g wrote:
 On Sun, 29 Aug 2010 22:11:21 +0200, Florian Kulzer wrote:
 
  % aptitude show libperl5.10 | awk '/^Package/,/^Version/' Package:
  libperl5.10
  State: not installed
  Automatically installed: no
  Version: 5.10.1-14
  
  . . . 
  
  $ apt-cache policy libperl5.10
  libperl5.10:
Installed: 5.10.1-12
Candidate: 5.10.1-14
Version table:
   5.10.1-14 0
  360 http://cdn.debian.net testing/main Packages
   50 http://cdn.debian.net unstable/main Packages
   *** 5.10.1-12 0
  100 /var/lib/dpkg/status
 
  : : : 
 
  OK, now I think the problem is that my aptitude's status log is messed
  up. . . 
  
  Indeed, there seems to be a problem with aptitude's databases. Please
  check what dpkg itself thinks about libperl, i.e.
  
dpkg -l libperl\* | awk '/^[^D|+]/{print $1,$2,$3}'
 
 $ dpkg -l libperl\* | awk '/^[^D|+]/{print $1,$2,$3}'
 ii libperl5.10 5.10.1-12
 un libperl5.8 none
 
 So both dpkg and apt-get think libperl is installed, except aptitude.
 
 Is there any way for me to rebuild my aptitude's databases?

AFAIK, aptitude updates its database automatically before it is runs
commands that change the status of any packages (also when it is started
in interactive mode). Aptitude has to do this because the user might
have made changes to the installation with dpkg or another package
manager since the last time aptitude was run. This has always worked for
me so far. I have no idea why this fails on your system; you might have
found a bug that only manifests itself under very special circumstances,
or there could be a more subtle corruption of aptitude's database. The
first thing I would do is check the root filesystem and the SMART
information of its hard disk.

-- 
Regards,|
  Florian   |


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100911150050.ga7...@bavaria.univ-lyon1.fr



Re: where did my ata drives go?

2010-09-11 Thread Florian Kulzer
On Fri, Sep 10, 2010 at 13:13:50 -0400, Stephen Powell wrote:
 On Fri, 10 Sep 2010 12:47:33 -0400 (EDT), Rick Pasotto wrote:
  On Fri, Sep 10, 2010 at 12:18:07PM -0400, Stephen Powell wrote:
  What happens if, after the system has booted,
  you issue a manual mount command as root, using the new device
  name?
  
 mount -t ext3 /dev/sdc1 /hd0
  
  That works perfectly.

[...]

  then try
  
 umount /hd0
 mount -t ext3 UUID=03c23684-dea8-458d-b04b-0ae8a056cb0d /hd0
  
  mount: special device UUID=03c23684-dea8-458d-b04b-0ae8a056cb0d does not 
  exist
 
  then try
  
 umount /hd0
 mount -t ext3 LABEL=hdb1 /hd0
  
  mount: special device LABEL=hdb1 does not exist

[...]

 OK, this looks like a udev problem of some sort.  The udev aliases
 are not being created.  I'm not sure why yet.

My guess would be that blkid does not read the UUID and label of the
partition correctly. AFAIK, udev relies on blkid to obtain the
information that is necessary to populate the /dev/disk/by-label/ and
/dev/disk/by-uuid/ directories. Here is an example of how it should
work:

  $ /sbin/blkid /dev/sda5
  /dev/sda5: LABEL=root UUID=d0100d2c-69e9-4a37-bf17-9af5ff151032 
TYPE=ext3

Rick, if /sbin/blkid /dev/sdc1 fails report anything on your system
then show us the output of:

  BLKID_DEBUG=0x /sbin/blkid /dev/sdc1

-- 
Regards,|
  Florian   |


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100911152144.gb7...@bavaria.univ-lyon1.fr



Re: where did my ata drives go?

2010-09-11 Thread Florian Kulzer
On Sat, Sep 11, 2010 at 12:16:43 -0400, Rick Pasotto wrote:
 On Sat, Sep 11, 2010 at 05:21:44PM +0200, Florian Kulzer wrote:
  On Fri, Sep 10, 2010 at 13:13:50 -0400, Stephen Powell wrote:
   On Fri, 10 Sep 2010 12:47:33 -0400 (EDT), Rick Pasotto wrote:
On Fri, Sep 10, 2010 at 12:18:07PM -0400, Stephen Powell wrote:
What happens if, after the system has booted,
you issue a manual mount command as root, using the new device
name?

   mount -t ext3 /dev/sdc1 /hd0

That works perfectly.
  
  [...]
  
then try

   umount /hd0
   mount -t ext3 UUID=03c23684-dea8-458d-b04b-0ae8a056cb0d /hd0

mount: special device UUID=03c23684-dea8-458d-b04b-0ae8a056cb0d does 
not exist
   
then try

   umount /hd0
   mount -t ext3 LABEL=hdb1 /hd0

mount: special device LABEL=hdb1 does not exist

[...]

 niof:~# BLKID_DEBUG=0x /sbin/blkid /dev/sdc1  blkid.out
 reading config file: /etc/blkid.conf.
 /etc/blkid.conf: does not exist, using built-in default
 
 Here's the sdc1 stanza (do you need what it showed for the other devices?):

[...]

 ERROR: superblocks chain: ambivalent result detected (2 filesystems)!

[...]

 The last part of the output for /dev/sdc5 is:

[...]

 ERROR: superblocks chain: ambivalent result detected (2 filesystems)!

You seem to have vestigial signatures of other filesystems on the two
partitions. You can use wipefs to list all filesystem signatures on a
partition and also to remove the outdated one. (See the manpage and be
careful not too delete the signature of the current ext3 filesystem.)

As soon as there is only one signature left on each of the partitions,
blkid and all the rest should work again.

Two other important tests are:

  findfs LABEL=hdb1
  findfs UUID=03c23684-dea8-458d-b04b-0ae8a056cb0d

Both these commands should return /dev/sdc1.

-- 
Regards,|
  Florian   |


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100911173438.ga14...@bavaria.univ-lyon1.fr



Re: What is Recommend CLI Package Manager Tool for Newb?

2010-08-29 Thread Florian Kulzer
On Sun, Aug 29, 2010 at 04:46:03 +, T o n g wrote:

[...]

   $ apt-get install swatch

[...]

   The following extra packages will be installed:
 libbit-vector-perl libcarp-clan-perl libdate-calc-perl libdate-manip-perl
 libfile-tail-perl libperl5.10 libyaml-syck-perl perl perl-base 
 perl-modules

[...]

   The following packages will be upgraded:
 libperl5.10 perl perl-base perl-modules
   4 upgraded, 7 newly installed, 0 to remove and 553 not upgraded.
   Need to get 12.0MB of archives.
   After this operation, 16.5MB of additional disk space will be used.
   Do you want to continue [Y/n]? ^C
 
 Simple and straightforward right? Now take a look at the followings:
 
   $ aptitude install swatch
   The following NEW packages will be installed:
 libbit-vector-perl{a} libcarp-clan-perl{a} libdate-calc-perl{a} 
 libdate-manip-perl{a} libfile-tail-perl{a} libyaml-syck-perl{a} swatch 
   The following packages will be upgraded:
 perl perl-base perl-modules 
   3 packages upgraded, 7 newly installed, 0 to remove and 554 not 
 upgraded.
   Need to get 12.0MB of archives. After unpacking 16.5MB will be used.
   The following packages have unmet dependencies:
 libperl5.10: Depends: perl-base (= 5.10.1-12) but 5.10.1-14 is to be 
 installed.

So the problem is that aptitude thinks it cannot upgrade libperl5.10.
What is the output of:

  aptitude show libperl5.10 | awk '/^Package/,/^Version/'
  aptitude --simulate --show-deps install libperl5.10=5.10.1-14

(I only need to see the first solution that is proposed for the second
 command; you can quit immediately if it should go into another series
 of solution attempts.)

-- 
Regards,|
  Florian   |


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100829095549.ga4...@isar.localhost



Re: Aptitude cannot upgrade libperl5.10

2010-08-29 Thread Florian Kulzer
On Sun, Aug 29, 2010 at 18:26:44 +, T o n g wrote:
 On Sun, 29 Aug 2010 11:55:49 +0200, Florian Kulzer wrote:
 
The following packages have unmet dependencies:
  libperl5.10: Depends: perl-base (= 5.10.1-12) but 5.10.1-14 is to
  be
  installed.
  
  So the problem is that aptitude thinks it cannot upgrade libperl5.10.
  What is the output of:
  
aptitude show libperl5.10 | awk '/^Package/,/^Version/' aptitude
 
 % aptitude show libperl5.10 | awk '/^Package/,/^Version/'
 Package: libperl5.10
 State: not installed
 Automatically installed: no
 Version: 5.10.1-14
 
 Automatically installed: no? Strange, but this is not the first time 
 that I see automatically installed packages are considered something else 
 by aptitude. If you'd like, I can start another thread discussing 
 specifically about it. 

I would say that is not necessary; the overall topic of this thread is
package management, so we stay within its scope and just start a more
specific sub-thread. It is good that you changed the subject, to make it
more likely to attract Daniel Burrows (the author of aptitude, who does
seem to read this list).

 Ops, just realize that aptitude thinks my libperl5.10 is not installed, 
 but it is:
 
 $ apt-cache policy libperl5.10
 libperl5.10:
   Installed: 5.10.1-12
   Candidate: 5.10.1-14
   Version table:
  5.10.1-14 0
 360 http://cdn.debian.net testing/main Packages
  50 http://cdn.debian.net unstable/main Packages
  *** 5.10.1-12 0
 100 /var/lib/dpkg/status
 
 OK, now I think the problem is that my aptitude's status log is messed 
 up. Could it be that I mix apt-get install and aptitude install, or 
 something else? (I don't do install/upgrade very often, as you can see.)

Indeed, there seems to be a problem with aptitude's databases. Please
check what dpkg itself thinks about libperl, i.e.

  dpkg -l libperl\* | awk '/^[^D|+]/{print $1,$2,$3}'

I have in the past experimented with mixing apt-get and aptitude; I
never had any problems. There were (and maybe still are) some
differences with respect to handling of automatic installs and the
persistence of scheduled actions that one should be aware of, though.

In recent years I have only used aptitude in interactive mode (ncurses
interface), so I am hesitant to make any strong statements about
aptitude's behavior in command-line mode, and even more hesitant about
apt-get.

My personal philosophy is that I try to keep all packages on my Sid
systems up-to-date, because then I will only have normal Sid problems,
which are shared by many people, so they will discovered and solved
quickly. With a partially-outdated Sid system, there might be additional
issues (unforeseen by the package managers, who assume their packages
are installed on a current system), and you are more or less alone with
them.

--simulate --show-deps install libperl5.10=5.10.1-14

[ snip: Again, a nonsense proposal instead of simply upgrading all the
  perl packages. This is not surprising, we have to figure out why
  aptitude does not see libperl5.10 as installed. ]

-- 
Regards,|
  Florian   |


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100829201120.ga10...@isar.localhost



Re: 2 packages with the same file

2010-08-12 Thread Florian Kulzer
On Thu, Aug 12, 2010 at 19:36:32 +0200, spam.spam.spam.s...@free.fr wrote:
 Hello,
 
 If I create a package with the same file than an other package which is 
 already
 installed on my computer, I can't install it. But when I download a package 
 with
 the same file than an other package which is already installed on my 
 computer, I
 can install it.
 
 Now I prove it :
 
 I have 2 packages with the same file :
 -nvidia-glx
 -xserver-xorg-core
 
 The file is : /usr/lib/xorg/modules/extensions/libglx.so

[...]

 So, I create my own package with this file :

[...]

 Why can I install nvidia-glx package and I can't install mypkg package?

The nvidia-glx package uses a diversion to avoid the file conflict; the
manpage of the dpkg-divert command has more information about this
approach.

-- 
Regards,|
  Florian   |


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100812224421.ga4...@isar.localhost



Re: CNN vidoes no playable in iceape (mozilla browser)

2010-07-31 Thread Florian Kulzer
On Sat, Jul 31, 2010 at 11:17:45 -0400, H.S. wrote:
 Hello.
 
 Anyone else having trouble playing videos on CCN website? I don't
 frequent it and am not sure if this happens with all the vidoes
 there. On Debian Testing amd64, in iceape with flashplayer,
 flashblock, noscript and adblock installed, I am not able to play
 the video linked on this news article:
 http://www.cnn.com/2010/US/07/30/afghanistan.wikileaks/index.html?hpt=T2

I can play it on my Sid system (iceweasel 3.6.7 form experimental,
flashplayer-mozilla 1:10.1.53.64-0.0, flashblock 1.5.13, noscript 2.0)

 I have allowed cnn.com and turner.com in my noscripts controls, but
 the video page does not appear to load at all.

I did that, too, and then I clicked on the flashblock placeholder icon
for the video; it loaded and played normally.

Note that I have my user agent string set to Firefox/3.6.7; I have
found that some websites send you IE-specific, broken HTML if the user
agent is, for example, Iceweasel instead of Firefox. (I did not test
if this is the case for CNN, though.)

 All other vidoes appear to work. BBC and youtube works, for example.
 
 Meahwhile, I am searching if I can find that same interview with
 Assange somewhere else, but no luck yet.

Executive summary: Assange cordially invites the 22nd United States
Secretary of Defense to kiss him where the sun does not shine.

-- 
Regards,|
  Florian   |


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100731220243.ga3...@isar.localhost



Re: CUPS upgrade from Lenny to Squeeze breaks encryption - HELP

2010-07-29 Thread Florian Kulzer
On Thu, Jul 29, 2010 at 03:22:31 -0400, John A. Sullivan III wrote:
 On Thu, 2010-07-29 at 06:41 +, Camaleón wrote:
  On Thu, 29 Jul 2010 01:46:40 -0400, John A. Sullivan III wrote:
  
   Hello, all.  We are in quite a pickle tonight - our CUPS printing is
   complete broken after an upgrade.  The cups error_log is filled with
   Bad request line VCB from 172.x.x.1!'  Printers do not appear in
   Gnome or OpenOffice and, even though they appear in KDE, they are
   unavailable.
  
  (...)
  
  I remember a similar thread:
  
  ***
  Help - CUPS printing stopped working
  http://lists.debian.org/debian-user/2010/07/msg00844.html
  ***
  
  So maybe you are hitting this bug?
  
  ***
  cups: https interface has SSL error (SSL received a record that exceeded 
  the maximum permissible length)
  http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=590610
  
 Yes, that looks like it and there does not appear to be a patch or
 workaround yet :(

Both the older thread and the bug report show that an SSL error is
encountered when an SSL connection to the CUPS web interface is
attempted on the standard, unencrypted CUPS port (631). As far as I
know, that is the normal behavior with 1.4.4. #590610 looks like
misunderstanding or a user configuration error to me. Your problem might
very well be a different issue.

In your case, I would:

- Use netstat on the cups server to check on which port it listens for
  the SSL connections.

- Verify that the CUPS web interface works for an https connection to
  that port (not necessarily 631), first from the server itself and then
  from the client.

- Try to specify the SSL port explicitly in all server URLs configured
  on the client.

- If that does not help, use tcpdump or strace -enetwork to see exactly
  which connections on which ports the client is attempting when it
  tries to print a document.

Note: I do not use encrypted CUPS connections myself, so the above
advice involves some guesswork. I don't know on which port(s) CUPS
printing (as opposed to the CUPS web interface) negotiates encrypted
connections. Maybe some changes of the procedure were introduced in the
newer CUPS version, so I would also have a look at the changelog with
that in mind.

-- 
Regards,|
  Florian   |


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100729081737.ga27...@bavaria.univ-lyon1.fr



Re: samba: mounting as cifs not working (works in Windows though)

2010-07-29 Thread Florian Kulzer
On Thu, Jul 29, 2010 at 10:48:21 -0400, H.S. wrote:
 On 29/07/10 10:29 AM, Camaleón wrote:
 mount -t cifs //192.168.0.8/share -o username=hs /mnt/share
 
 No luck. I get mount error(13): Permission denied.
 
 Nothing in syslog of the server.
 
 In the samba logs, the only info I have is regarding the smbclient
 command that worked last night, and this info appears to be verbose
 as if the log level that I set earlier is indeed having an affect.

This is grasping at straws, but you can try:

  mount -t cifs //192.168.0.8/user$/share -o username=hs /mnt/share

(user$ is a literal string here and does not indicate variable
 substitution or similar.)

-- 
Regards,|
  Florian   |


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100729150932.ga6...@bavaria.univ-lyon1.fr



Re: Debian cd supporting ext4.

2010-07-25 Thread Florian Kulzer
On Sat, Jul 24, 2010 at 19:51:53 -0500, Boyd Stephen Smith Jr. wrote:
 On Saturday 24 July 2010 17:21:28 Florian Kulzer wrote:
  Furthermore, he is asking the wrong question if he wants real security.
  If one downloads via an insecure protocol (http, ftp) then it does not
  matter if the URL points to debian.org, kmuto.jp or rootkits-r-us.com,
  because one is unprotected against a man-in-the-middle attack in any
  case.
 
 That's not true.

Why not?

 Long ago, the secure-apt project took this issue into account.  The 
 Packages 
 file is GPG signed and this signature is verified during each (aptitude 
 update), even during installation.  (Although, I have seen some install 
 methods subvert this check...)

 The Packages file contains multiple cryptographically-secure hashes of each 
 binary package available from that archive/repository and (at least) one of 
 these hashes is verified after download but before installation.
 
 The Sources file is similarly signed and provides hashes for the source 
 packages available from that archive/repository.
 
I do not think that these facts contradict my statement that http and
ftp downloads in and of themselves cannot be trusted, no mater what the
URL is. I did not claim that it is impossible to have a mechanism for
verifying downloads, nor did I imply that Debian does not implement such
a safeguard in its package management.

 The official installation media are each singed and hashed in a 
 cryptographically-secure manner, but you have to verify those manually.

That was my point; if there is a valid signature of a trusted key then
it does not matter how the installation image was obtained. (This
assumes that nobody knowns an efficient algorithm to factor large
numbers or to create hash collisions after making arbitrary changes to
the original image.)

-- 
Regards,|
  Florian   |


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100725090540.ga6...@isar.localhost



Re: Debian cd supporting ext4.

2010-07-24 Thread Florian Kulzer
On Sat, Jul 24, 2010 at 14:21:38 -0500, Ron Johnson wrote:
 On 07/24/2010 01:50 AM, Sthu Deus wrote:
 Thank You for Your time and answer, Andrei:
 
 Yes it is. That's why I suggested the kmuto installer.
 
 Is there any reference fro Debian web site to the kmuto site - I have
 found one reference from searching machine but the link was not found on
 the Debian site. How I can know that the ISO images that are available
 on the developers site are Debian project acknowledged this day?
 
 Sorry for stubbornness on my side.
 
 You can't have your cake and eat it too.
 
 Modern kernels won't be supported by debian-security.  Deal with it.

Furthermore, he is asking the wrong question if he wants real security.
If one downloads via an insecure protocol (http, ftp) then it does not
matter if the URL points to debian.org, kmuto.jp or rootkits-r-us.com,
because one is unprotected against a man-in-the-middle attack in any
case. Thinking that searching for a reference to the kmuto installer on
debian.org has anything to do with security is a dangerous illusion.

The question that should be asked is: How can I verify the checksums of
the kmuto images with cryptographic signatures that can be traced back
to a trusted key from the debian keyring? (Unfortunately I do not know
the answer; I cannot find any signature whatsoever for the checksums.) 

-- 
Regards,|
  Florian   |


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100724222128.ga8...@isar.localhost



Re: dosfslabel finds problem, e2fsck does not

2010-07-24 Thread Florian Kulzer
On Sat, Jul 24, 2010 at 14:04:16 -0400, Thomas H. George wrote:
  On Tue, Jul 20, 2010 at 11:25:42 -0400, Thomas H. George 
  wrote:
   My system, Squeeze, cannot install the latest kernel 
   image because
   dosfslabel finds a problem that prevents the installation 
   of linux-base.
   
   Trying to resolve this I used e2fsck to check each of the 
   disk
   partitions and e2fsck reported all the partitions clean.  
   However, the
   result of running dosfslabel /dev/hda1 results in the 
   following output:
   
   
   There are differences between boot sector and its backup.
   Differences: (offset:original/backup)

[...]

 I started by using parted to delete hda5 (logical), hda2 (extended) and
 then hda1 (primary). I then used commands of the form 
 
 parted -a opt /dev/hda primary 32.3kB 1999MB
 
 to restore the partitions.  They still did not end on cylinder
 boundries.  Deleted the partitions again and tried -a min.  They still
 did not end on cylinder boundries.  Deleted the partitions again and
 tried -a cylinder.  They still did not end on cylinder boundries.
 Deleted the partitions again, switched to fdisk and specified the
 partition sizes by cylinders.  They still do not end on cylinder
 boundries.  Switched to gparted and made the partition file types ext3.
 
 Rebooted - no problems. Note: The system booting from /dev/hda.  The
 script lilo wrote in the mbr has not been effected by the changes listed
 above.
 
 Ran dosfslabel /dev/hda1.  The reponse was: Logical sector size
 is zero.  Repeated this for each partition on each of my hard drives
 with the same result.

I see the same for my partitions, except for /dev/hda1 where I get Seek
to 60011609600:Invalid argument. It should not really matter, in all
all cases an error is returned, so dosfslabel fails. This does not
surprise me for ext3 partitions; I still think it is a mistake that the
postinst script of linux-base runs dosfslabel on the partition.

 Disconnected every usb device attache to my system.
 
 Ran aptitude -f install.  The result:

[...]

 Setting up linux-base (2.6.32-15) ...
 Logical sector size (15624 bytes) is not a multiple of the physical sector 
 size.
 dosfslabel failed: 256 at /var/lib/dpkg/info/linux-base.postinst line 1059, 
 STDIN line 10.
 dpkg: error processing linux-base (--configure):

[...]

Erase all references to vfat filesystems (see Virgo Pärna's suggestion)
and to removable devices from your /etc/fstab; make sure that mount
only lists your built-in hard drives. If the installation of linux-base
still fails after that then it is probably time to file a bug against
the package (after carefully checking out the existing reports).

-- 
Regards,|
  Florian   |


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100724223955.gb8...@isar.localhost



Re: dosfslabel finds problem, e2fsck does not

2010-07-21 Thread Florian Kulzer
On Tue, Jul 20, 2010 at 20:09:27 -0400, Thomas H. George wrote:
 On Tue, Jul 20, 2010 at 10:43:46PM +0200, Florian Kulzer wrote:
  On Tue, Jul 20, 2010 at 15:58:59 -0400, Thomas H. George wrote:
   On Tue, Jul 20, 2010 at 07:23:31PM +0200, Florian Kulzer wrote:
On Tue, Jul 20, 2010 at 11:25:42 -0400, Thomas H. George wrote:
 My system, Squeeze, cannot install the latest kernel image because
 dosfslabel finds a problem that prevents the installation of 
 linux-base.
 
 Trying to resolve this I used e2fsck to check each of the disk
 partitions and e2fsck reported all the partitions clean.  However, the
 result of running dosfslabel /dev/hda1 results in the following 
 output:
 
 
 There are differences between boot sector and its backup.
 Differences: (offset:original/backup)
  
  [...]
  
   Not automatically fixing this.
 NO NAME
 
 This hard drive used to have windoze installed and could be booted.  
 The
 windoze partition was reformated to be an ext2 partition.
  
  [...]
  
The first thing I would do is to check for signatures of other
filesystems that were left behind on /dev/hda1:

  wipefs /dev/hda1
  
  [...]
  
   No luck.  wipefs removed two bits
  
  That is better in any case; such stale additional signatures cause
  problems for blkid.

Note: I misunderstood you here, assuming that you had actively removed
the signatures yourself after checking that it made sense to do so.

[...]

  I would like to see your output of
  
wipefs /dev/hda1
 
 No output.

That is not good; it should show at least the signature of the ext3
filesystem.

# wipefs /dev/hda1
offset   type

0x438ext3   [filesystem]
 LABEL: root
 UUID:  51e39ea1-999d-4567-8e50-11ad53029e9c

 There was output

I need to know exactly what this output was.

  before I ran wipe /dev/hda1 the first time.
 It said it was removing two bits.

It should have done anything when run without options, unless you have a
different version of until-linux than the current one for Squeeze. There
was a reason for my explicitly asking you to read the manpage to make
sure you understand what you are doing. I thought you understood the
inherent risk of operations on the filesystem structure and that you
would make an informed decision if that risk is worthwhile. I cannot
make any more suggestions to you if you unquestioningly use the tools
that I propose without regarding the caveats that I point out.

Does blkid /dev/hda1 still return the correct label, UUID and type?

  (to verify that the ext3 signature has the normal offset) and also the
  output of
  
fdisk -l /dev/hda

[...]

 Disk /dev/hda: 30 GB, 30754321920 bytes
 255 heads, 63 sectors/track, 3739 cylinders
 Units = cylinders of 16065 * 512 = 8225280 bytes
 
Device Boot  Start End  Blocks   Id  System 
 /dev/hda1   1 243 1951866   83  Linux
 /dev/hda2 2443739280735875  Extended
 /dev/hda5 244373928073587   83  Linux

That looks OK to me.

-- 
Regards,|
  Florian   |


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100721062859.ga4...@isar.localhost



Re: dosfslabel finds problem, e2fsck does not

2010-07-21 Thread Florian Kulzer
On Wed, Jul 21, 2010 at 10:25:30 -0400, Thomas H. George wrote:
 On Wed, Jul 21, 2010 at 08:28:59AM +0200, Florian Kulzer wrote:
  On Tue, Jul 20, 2010 at 11:25:42 -0400, Thomas H. George wrote:
   My system, Squeeze, cannot install the latest kernel image because
   dosfslabel finds a problem that prevents the installation of 
   linux-base.
   
   Trying to resolve this I used e2fsck to check each of the disk
   partitions and e2fsck reported all the partitions clean.  
   However, the
   result of running dosfslabel /dev/hda1 results in the following 
   output:
   
   
   There are differences between boot sector and its backup.
   Differences: (offset:original/backup)

[...]

 I did read the man page first.  It said wipefs -n /dev/hda1 would do
 everything except the write call.  I ran it that way and the output was
 much like the example you gave above with a message that two bits would
 be removed.  I assumed the two bits were the leftover signature and ran
 wipefs again without the -n option.  
 
 Since then the computer was shutdown overnight.  Reboot this morning
 stopped in maintenance mode reporting a bad superblock in /dev/hda1.  I
 ran e2fsck -b  /dev/hda1 where  was the given alternate
 superblock.  The systen then rebooted normally.
 
 Now the output of wipefs -n /dev/hda1 is:
 
 
 offset   type
 
 0x438ext2   [filesystem]
  UUID:  2428f3c0-3098-448c-9484-587eb9f86e37
 
  
  Does blkid /dev/hda1 still return the correct label, UUID and type?
 Yes
 
 /dev/hda1: UUID=2428f3c0-3098-448c-9484-587eb9f86e37 TYPE=ext2 

OK, that is all fine. You did not give the details about how you used
wipefs in your previous message, so I was getting worried that I might
have inadvertently caused you to wipe out the ext3 signature.
 
 Installation of linux-base still fails as described previously and
 dosfslabel /dev/hda1 still gives the error message posted prevously but
 e2fsck /dev/hda1 says it is clean.

So we still have to find out why the postinst script runs dosfslabel on
an ext3 partition. Looking at the script, it seems to assemble a list of
filesystems and their types by analyzing /etc/fstab. I would therefore
like to see your output for:

  grep -E 'hda1|2428f3c0|vfat|msdos|ntfs' /etc/fstab

-- 
Regards,|
  Florian   |


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100721191359.ga4...@isar.localhost



Re: dosfslabel finds problem, e2fsck does not

2010-07-21 Thread Florian Kulzer
On Wed, Jul 21, 2010 at 15:53:36 -0400, Thomas H. George wrote:
 On Wed, Jul 21, 2010 at 09:13:59PM +0200, Florian Kulzer wrote:
  On Wed, Jul 21, 2010 at 10:25:30 -0400, Thomas H. George wrote:
   On Wed, Jul 21, 2010 at 08:28:59AM +0200, Florian Kulzer wrote:
On Tue, Jul 20, 2010 at 11:25:42 -0400, Thomas H. George wrote:
 My system, Squeeze, cannot install the latest kernel image 
 because
 dosfslabel finds a problem that prevents the installation of 
 linux-base.
 
 Trying to resolve this I used e2fsck to check each of the disk
 partitions and e2fsck reported all the partitions clean.  
 However, the
 result of running dosfslabel /dev/hda1 results in the 
 following output:
 
 
 There are differences between boot sector and its backup.
 Differences: (offset:original/backup)

[...]

   Installation of linux-base still fails as described previously and
   dosfslabel /dev/hda1 still gives the error message posted prevously but
   e2fsck /dev/hda1 says it is clean.
  
  So we still have to find out why the postinst script runs dosfslabel on
  an ext3 partition. Looking at the script, it seems to assemble a list of
  filesystems and their types by analyzing /etc/fstab. I would therefore
  like to see your output for:
  
grep -E 'hda1|2428f3c0|vfat|msdos|ntfs' /etc/fstab
  
 The output is:
 
 /dev/hda1 /temp   ext2rw,user,auto0   2
 /dev/sdc  /media/fuze vfatrw,user,noauto  0   0
 /dev/sg1  /usbdrive   vfatrw,user,noauto  0   0
 /dev/sda  /media/usb1 vfatrw,user,noauto  0   0

Nothing here to make the postinst script identify /dev/hda1 as a vfat
partition. (By the way, why do you have etx2 instead of ext3 as the
type?)

 I have copied everything on /dev/hda1 and /dev/hda5 on to a backup drive
 and am considering a complete reformat of /dev/hda.

I would think that it should be enough to wipe out and reconstruct the
one problematic partition.

You can try one more thing before that. Here is a list of all the
configuration files that the postinst script seems to take into account
when searching for known block devices (you can run the awk-cut
combination yourself to make sure that your version of linux-base uses
the same files):

$ awk '/my @config_files/,/^$/{if(/path =.*\//) print $3}' 
/var/lib/dpkg/info/linux-base.postinst | cut -d\' -f2
/etc/fstab
/boot/grub/menu.lst
/etc/default/grub
/etc/lilo.conf
/etc/silo.conf
/etc/quik.conf
/etc/yaboot.conf
/etc/elilo.conf
/etc/default/extlinux
/etc/udev/rules.d/70-persistent-cd.rules
/etc/initramfs-tools/conf.d/resume
/etc/uswsusp.conf
/etc/crypttab
/etc/mdadm/mdadm.conf
/etc/hdparm.conf

You can check if one of these files is present on your system and
mentions /dev/hda1 as type vfat. If that should turn out to be the case
then it might be enough to remove that reference to solve your problem.

-- 
Regards,|
  Florian   |


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100721214239.ga5...@isar.localhost



Re: dosfslabel finds problem, e2fsck does not

2010-07-20 Thread Florian Kulzer
On Tue, Jul 20, 2010 at 11:25:42 -0400, Thomas H. George wrote:
 My system, Squeeze, cannot install the latest kernel image because
 dosfslabel finds a problem that prevents the installation of linux-base.
 
 Trying to resolve this I used e2fsck to check each of the disk
 partitions and e2fsck reported all the partitions clean.  However, the
 result of running dosfslabel /dev/hda1 results in the following output:
 
 
 There are differences between boot sector and its backup.
 Differences: (offset:original/backup)
   0:eb/01, 1:58/00, 2:90/04, 4:53/02, 5:57/00, 6:49/04, 7:4e/00, 8:34/0c
   , 9:2e/00, 10:31/04, 12:02/ff, 13:08/1d, 14:20/f8, 15:00/0f, 16:02/00
   .
   .
   .
   , 493:00/1d, 494:00/f8, 495:00/0f
   Not automatically fixing this.
 NO NAME
 
 This hard drive used to have windoze installed and could be booted.  The
 windoze partition was reformated to be an ext2 partition.
 
 Could it be that there is still a windoze mbr before the /dev/hda1
 partition and fsdoslabel sees this but e2fsck does not?
 
 If so, what can I do about it?

The first thing I would do is to check for signatures of other
filesystems that were left behind on /dev/hda1:

  wipefs /dev/hda1

This command has to be run as root or as a user who is member of the
disk group. Without options it will just list all the filesystem
signatures that it can find; as its name indicates, it can then be used
to remove the spurious signatures. (As always, see the manpage and be
careful what you type; wipefs is part of util-linux.)

I recently had the automatic conversion to UUIDs fail on a system
because the root partition had residual signatures of dos filesystems,
which causes blkid to fail for that partition, meaning it cannot be
found by UUID or LABEL during boot.

In your case I would guess that a residual dos signature causes the
postinst to run dosfslabel, which fails because there is now an ext3 on
the partition.

-- 
Regards,|
  Florian   |


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100720172331.ga3...@isar.localhost



Re: dosfslabel finds problem, e2fsck does not

2010-07-20 Thread Florian Kulzer
On Tue, Jul 20, 2010 at 15:58:59 -0400, Thomas H. George wrote:
 On Tue, Jul 20, 2010 at 07:23:31PM +0200, Florian Kulzer wrote:
  On Tue, Jul 20, 2010 at 11:25:42 -0400, Thomas H. George wrote:
   My system, Squeeze, cannot install the latest kernel image because
   dosfslabel finds a problem that prevents the installation of linux-base.
   
   Trying to resolve this I used e2fsck to check each of the disk
   partitions and e2fsck reported all the partitions clean.  However, the
   result of running dosfslabel /dev/hda1 results in the following output:
   
   
   There are differences between boot sector and its backup.
   Differences: (offset:original/backup)

[...]

 Not automatically fixing this.
   NO NAME
   
   This hard drive used to have windoze installed and could be booted.  The
   windoze partition was reformated to be an ext2 partition.

[...]

  The first thing I would do is to check for signatures of other
  filesystems that were left behind on /dev/hda1:
  
wipefs /dev/hda1

[...]

 No luck.  wipefs removed two bits

That is better in any case; such stale additional signatures cause
problems for blkid.

   but the output of dosfstab was
 unchanged.  I tried aptitude -f install and the installation of
 linux-base still failed as shown below:

[...]

 The following partially installed packages will be configured:
   linux-base linux-image-2.6-amd64 linux-image-2.6.32-5-amd64 
 No packages will be installed, upgraded, or removed.
 0 packages upgraded, 0 newly installed, 0 to remove and 50 not upgraded.
 Need to get 0B of archives. After unpacking 0B will be used.
 Setting up linux-base (2.6.32-15) ...
 Logical sector size (15624 bytes) is not a multiple of the physical sector 
 size.
 dosfslabel failed: 256 at /var/lib/dpkg/info/linux-base.postinst line 1059, 
 STDIN line 10.
 dpkg: error processing linux-base (--configure):
  subprocess installed post-installation script returned error exit status 9

[...]

 I assume the problem is with /dev/hda1 as the output of dosfslabel run
 on any other partition is: Logical sector size is zero.

OK, the normal way to fix the differences between boot sector and its
backup problem on a vfat filesystem is:

  fsck.vfat -ar /dev/hda1

(The filesystem should be unmounted for this procedure.)

However, I have never had to use it on an ext3 partition and I have no
idea if is safe, therefore I am hesitant to recommend it to you.
(Fsck.vfat will overwrite the backup of the boot sector with its current
content, making the two identical again.)  

I would like to see your output of

  wipefs /dev/hda1

(to verify that the ext3 signature has the normal offset) and also the
output of

  fdisk -l /dev/hda

to check if the partition type is correct.

-- 
Regards,|
  Florian   |


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100720204346.ga10...@isar.localhost



Re: Is it gdm3 that is logging me out?

2010-07-19 Thread Florian Kulzer
On Sun, Jul 18, 2010 at 23:50:55 +0100, Alan Chandler wrote:
 On 18/07/10 18:19, Florian Kulzer wrote:
 On Sun, Jul 18, 2010 at 15:34:22 +0100, Alan Chandler wrote:

[...]

 It has happened again whilst I was having lunch today.  System had
 been idle for about 4 hours and when I came back to it I had been
 logged out.  Only 15 minutes ago (so it had worked perfectly up
 until then) it created an /var/log/Xorg.0.log.old file with ...
 
 Fatal server error:
 Failed to submit batchbuffer: Input/output error
 
 That is a problem with the video driver; your GPU is choking on a set of
 instructions that it is supposed to execute. Which video chipset do you
 use, which version of the X server and which kernel? (An Intel 845
 series chipset with Sid's Xorg and kernel, maybe?)
 
 
 I am running Squeeze, with Xorg and latest kernel - the chipset is
 an Intel 965 (I think - motherboard is an Intel DG965S)

So the 965 chipsets still have problems with the driver as well? I used
to have an 965 system and I had some problems, but I have not followed
recent developments. I have the impression, based on the experience with
the 855GM in my laptop and on numerous upstream bugs reports, that 8xx
series cards are especially difficult with newer drivers. (My 855GM
tends to locks up as soon as X is started; Magic-SysRq to the rescue.)

You could try the intel driver from experimental, which supposedly has
been much improved. For my 855GM card this fixes at least the
lockup/crash problem - the driver detects the impending lockup and
disables acceleration. This makes everything slow and introduces some
rendering artefacts, but at least X stays functional enough so that I
can save my work before I terminate the session myself. (If you want to
try this, you also need the 2.6.35 kernel from experimental.)

The other approach is to downgrade the intel driver to the last version
that works for your card. For my 855GM I have to use package
xserver-xorg-video-intel 2:2.8.1-1 with the linux-image-2.6.30-1-686
kernel to get reasonable stability.

The third option is learning to live with the occasional X crash and
make sure to save all your work early and often.

-- 
Regards,|
  Florian   |


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100719194228.ga4...@isar.localhost



Re: No sound from Flash, but other methods work well

2010-07-18 Thread Florian Kulzer
On Sat, Jul 17, 2010 at 18:41:35 -0500, Ron Johnson wrote:
 On 07/17/2010 05:57 PM, Camaleón wrote:
 On Sat, 17 Jul 2010 17:13:35 -0500, Ron Johnson wrote:
 
 On 07/17/2010 04:30 PM, Camaleón wrote:
 
 Run alsamixer and check the volume for all the channels :-?
 
 
 First thing I did.
 
 Note, though, that for USB Audio there are only three channels: Bass,
 Treble, PCM.
 
 No Master.  That may very well be the problem, but I don't know what
 to do about it.
 
 Yep, but having no master channel should also make no sound for the rest
 of the applications and not just Icewasel :-?
 
 It's quite bizarre...
 
 Wait, is the USB device a headset or an external sound card?
 
 Speakers.  But effectively big headsets.
 
  I say that
 beacuse of this:
 
 http://www.google.com/webhp?hl=en#hl=enq=firefox+flash+headset+sound+linuxfp=6c67857170793776
 
 
 They all reference asoundconf which has apparently been deprecated
 for PA.
 
 Maybe is not just Flash the only app having no sound in Iceweasel.
 
 
 MP3s play just fine.

Knowing which audio devices are grabbed by which processes might shed
some light on the situation; I would be interested to see the output of

  lsof +c0 $(find /dev/ -group audio)

both when flashplayer tries and fails to play sound and when other
plugins of iceweasel do so successfully.

Another test would be if killing the pulseaudio daemon makes the sound
devices accessible to flashplayer.

Also, which value of ICEWEASEL_DSP is set in /etc/iceweasel/iceweaselrc?

-- 
Regards,|
  Florian   |


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100718085409.ga4...@isar.localhost



Re: Is it gdm3 that is logging me out?

2010-07-18 Thread Florian Kulzer
On Sun, Jul 18, 2010 at 15:34:22 +0100, Alan Chandler wrote:
 On 14/07/10 17:25, Bob Proulx wrote:
 Florian Kulzer wrote:
 Do you see signs of an X server restart or
 anything else that looks suspicious in /var/log/Xorg.0.log or
 /var/log/Xorg.0.log.old or /var/log/syslog?
 
 See also the ~/.xsesssion-errors file.

[...]

 It has happened again whilst I was having lunch today.  System had
 been idle for about 4 hours and when I came back to it I had been
 logged out.  Only 15 minutes ago (so it had worked perfectly up
 until then) it created an /var/log/Xorg.0.log.old file with ...
 
 Fatal server error:
 Failed to submit batchbuffer: Input/output error

That is a problem with the video driver; your GPU is choking on a set of
instructions that it is supposed to execute. Which video chipset do you
use, which version of the X server and which kernel? (An Intel 845
series chipset with Sid's Xorg and kernel, maybe?)

-- 
Regards,|
  Florian   |


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100718171942.ga4...@isar.localhost



Re: No sound from Flash, but other methods work well

2010-07-18 Thread Florian Kulzer
On Sun, Jul 18, 2010 at 12:44:10 -0500, Ron Johnson wrote:
 On 07/18/2010 03:54 AM, Florian Kulzer wrote:
 On Sat, Jul 17, 2010 at 18:41:35 -0500, Ron Johnson wrote:
 On 07/17/2010 05:57 PM, Camaleón wrote:
 On Sat, 17 Jul 2010 17:13:35 -0500, Ron Johnson wrote:
 On 07/17/2010 04:30 PM, Camaleón wrote:
 
 Run alsamixer and check the volume for all the channels :-?
 
 
 First thing I did.
 
 Note, though, that for USB Audio there are only three channels: Bass,
 Treble, PCM.
 
 No Master.  That may very well be the problem, but I don't know what
 to do about it.

[...]

 Maybe is not just Flash the only app having no sound in Iceweasel.
 
 
 MP3s play just fine.
 
 Knowing which audio devices are grabbed by which processes might shed
 some light on the situation; I would be interested to see the output of
 
lsof +c0 $(find /dev/ -group audio)
 
 both when flashplayer tries and fails to play sound and when other
 plugins of iceweasel do so successfully.
 
 
 Attached are 3 files.
 
 I'm sure it's relevant (and I deeply apologize for forgetting about
 this) that sound only plays *at all* when I've got this ~/.asoundrc
 file:
 
 $ cat .asoundrc
 pcm.!default {
 type hw
 card Device
 }

Strace shows that the plugin does try to access ~/.asoundrc, but I don't
know what it makes of the information in that file. (I don't use
~/.asoundrc at the moment.)

 Another test would be if killing the pulseaudio daemon makes the sound
 devices accessible to flashplayer.
 
 I don't use PA.

OK, I misinterpreted your earlier remark about PA.
 
 Also, which value of ICEWEASEL_DSP is set in /etc/iceweasel/iceweaselrc?
 
 none

That has been working for me for years.

 $ lsof +c0 $(find /dev/ -group audio)
 COMMANDPID USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
 mixer_applet2 2193  ron   21r   CHR  116,9  0t0 3204 /dev/snd/controlC0
 aqualung  3251  ron  memCHR  116,8  3201 /dev/snd/pcmC0D0p
 aqualung  3251  ron4r   CHR  116,8  0t0 3201 /dev/snd/pcmC0D0p

 $ lsof +c0 $(find /dev/ -group audio)
 COMMANDPID USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
 mixer_applet2 2193  ron   21r   CHR  116,9  0t0 3204 /dev/snd/controlC0

 $ cat dsp.quiet.txt
  lsof +c0 $(find /dev/ -group audio)
 COMMANDPID USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
 mixer_applet2 2193  ron   21r   CHR  116,9  0t0 3204 /dev/snd/controlC0

Everything is normal with aqualung, but it looks like flashplayer does
not even try to play audio. On my Sid systems it is not bothered at all
by the fact that kmix has /dev/snd/controlC0 open, it simply uses
/dev/snd/pcmC0D0p and /dev/snd/timer as needed.

You could run iceweasel under strace:

  strace -f -efile -o iceweasel-flash.strace iceweasel

Let a flash video play silently for a few seconds and then close the
browser. Afterwards you can check what has been accessed:

  grep -E 'a(lsa|sound)|/dev/(a?dsp|audio|mixer|snd)' iceweasel-flash.strace

Before you break out the big guns, though, you can try to set
ICEWEASEL_DSP to aoss (assuming you have oss-compat installed), or
maybe installing flashplugin-nonfree-extrasound will help, or switching
from flashplugin-nonfree to flashplayer-mozilla, or vice versa. (I did
not read the entire thread, maybe some of these things were already
suggested.)

-- 
Regards,|
  Florian   |


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100718210518.ga6...@isar.localhost



Re: No sound from Flash, but other methods work well

2010-07-18 Thread Florian Kulzer
On Sun, Jul 18, 2010 at 16:59:44 -0500, Ron Johnson wrote:
 On 07/18/2010 04:05 PM, Florian Kulzer wrote:
 On Sun, Jul 18, 2010 at 12:44:10 -0500, Ron Johnson wrote:

[...]

 $ lsof +c0 $(find /dev/ -group audio)
 COMMANDPID USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
 mixer_applet2 2193  ron   21r   CHR  116,9  0t0 3204 /dev/snd/controlC0
 aqualung  3251  ron  memCHR  116,8  3201 /dev/snd/pcmC0D0p
 aqualung  3251  ron4r   CHR  116,8  0t0 3201 /dev/snd/pcmC0D0p
 
 $ lsof +c0 $(find /dev/ -group audio)
 COMMANDPID USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
 mixer_applet2 2193  ron   21r   CHR  116,9  0t0 3204 /dev/snd/controlC0
 
 $ cat dsp.quiet.txt
   lsof +c0 $(find /dev/ -group audio)
 COMMANDPID USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
 mixer_applet2 2193  ron   21r   CHR  116,9  0t0 3204 /dev/snd/controlC0
 
 Everything is normal with aqualung, but it looks like flashplayer does
 not even try to play audio. On my Sid systems it is not bothered at all
 by the fact that kmix has /dev/snd/controlC0 open, it simply uses
 /dev/snd/pcmC0D0p and /dev/snd/timer as needed.
 
 You could run iceweasel under strace:
 
strace -f -efile -o iceweasel-flash.strace iceweasel
 
 Let a flash video play silently for a few seconds and then close the
 browser. Afterwards you can check what has been accessed:
 
grep -E 'a(lsa|sound)|/dev/(a?dsp|audio|mixer|snd)' iceweasel-flash.strace
 
 
 http://members.cox.net/ron.l.johnson/iceweasel-flash.strace.grep.txt
 
 This might not be useful, since v3.6.4 uses plugin process separation.

The -f should take care of that. I use iceweasel 3.6.4 (from
experimental), too, so we can compare:

The first difference that I notice is that after reading your
~/.asoundrc, no further configuration is taken into account:

3470  access(/home/ron/.asoundrc, R_OK) = 0
3470  open(/home/ron/.asoundrc, O_RDONLY) = 17
3470  open(/dev/snd/controlC0, O_RDONLY|O_CLOEXEC) = 17

In my case, without ~/.asoundrc, more configuration files are read:

6066  access(/home/florian/.asoundrc, R_OK) = -1 ENOENT (No such file or 
directory)
6066  open(/usr/share/alsa/cards/aliases.conf, O_RDONLY) = 17
6066  open(/usr/share/alsa/pcm/default.conf, O_RDONLY) = 18
6066  open(/usr/share/alsa/pcm/dmix.conf, O_RDONLY) = 18
6066  open(/usr/share/alsa/pcm/dsnoop.conf, O_RDONLY) = 18
6066  open(/dev/snd/controlC0, O_RDONLY|O_CLOEXEC) = 17

Maybe you should try to include these other configuration files in your
~/.asoundrc. I would also be tempted to test the effect of temporarily
removing your ~/.asoundrc. (You already said that this breaks all other
sound, but what does it do to flashplayer?)

After that, your flashplayer repeats this over and over:

3470  open(/dev/snd/controlC0, O_RDONLY|O_CLOEXEC) = 17
3470  open(/dev/snd/controlC0, O_RDWR|O_CLOEXEC) = 17
3470  open(/dev/snd/controlC0, O_RDWR|O_CLOEXEC) = 17
3470  open(/dev/snd/pcmC0D0p, O_RDWR|O_NONBLOCK|O_CLOEXEC) = 18
3470  stat64(/usr/share/alsa/alsa.conf, {st_mode=S_IFREG|0644, st_size=8967, 
...}) = 0

In my case, it opens some chipset-specific configuration files:

6066  open(/dev/snd/controlC0, O_RDONLY|O_CLOEXEC) = 17
6066  stat64(/usr/share/alsa/alsa.conf, {st_mode=S_IFREG|0644, st_size=8967, 
...}) = 0
6066  open(/dev/snd/controlC0, O_RDONLY|O_CLOEXEC) = 17
6066  open(/dev/snd/controlC0, O_RDWR|O_CLOEXEC) = 17
6066  access(/usr/share/alsa/cards/ICH4.conf, R_OK) = 0
6066  open(/usr/share/alsa/cards/ICH4.conf, O_RDONLY) = 17
6066  open(/usr/share/alsa/pcm/front.conf, O_RDONLY) = 18
6066  open(/usr/share/alsa/pcm/surround40.conf, O_RDONLY) = 18
6066  open(/usr/share/alsa/pcm/surround41.conf, O_RDONLY) = 18
6066  open(/usr/share/alsa/pcm/surround50.conf, O_RDONLY) = 18
6066  open(/usr/share/alsa/pcm/surround51.conf, O_RDONLY) = 18
6066  open(/usr/share/alsa/pcm/iec958.conf, O_RDONLY) = 18

Then my flashplayer tries to open all other controls (controlCxx),
probably to check for further soundcards, and finally it accesses
controlC0, pcmC0D0p and timer.

It seems that your flashplayer does access the correct device and there
are no indications of problems with permissions or lockout by another
process, but it just does not know how to configure and use your
hardware properly. (Further thoughts from real ALSA experts would be
appreciated...)

 Before you break out the big guns, though, you can try to set
 ICEWEASEL_DSP to aoss (assuming you have oss-compat installed), or
 
 Didn't work.
 members.cox.net/ron.l.johnson/iceweasel-flash.aoss.strace.grep.txt
 
 maybe installing flashplugin-nonfree-extrasound will help, or switching
 
 Didn't work either.
 
 http://members.cox.net/ron.l.johnson/iceweasel-flash.aoss.extra.strace.grep.txt

Indeed, neither of these changes seems to make a difference.

 from flashplugin-nonfree to flashplayer-mozilla, or vice versa. (I did
 not read the entire thread, maybe some of these things were already
 suggested.)
 
 
 flashplayer-mozilla has never worked for me.

My

Re: where's udevinfo ?

2010-07-17 Thread Florian Kulzer
On Sat, Jul 17, 2010 at 13:12:44 -0700, bri...@aracnet.com wrote:
 pretty much every tutorial out there refers to udevinfo.
 
 the debian web search shows that it's in the udev unstable package, but
 when I look at the list of files under udev, it's not present.
 
 has it been replaced by something else ?

All the udev... commands are integrated into udevadm now, e.g.:

udevinfo - udevadm info
udevtest - udevadm test

etc.

-- 
Regards,|
  Florian   |


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100717201802.ga4...@isar.localhost



Re: how to make iceweasel icedove look as pretty as in gnome?

2010-07-15 Thread Florian Kulzer
On Thu, Jul 15, 2010 at 09:12:45 +0300, Γιώργος Πάλλας wrote:
 On 07/14/2010 11:10 PM, Florian Kulzer wrote:
  On Wed, Jul 14, 2010 at 21:53:36 +0300, Γιώργος Πάλλας wrote:

  Is there a way?
  I tried by installing kde-config-gtk-style but both apps look terrible
  and they also don't exit properly.
  
  Which themes did you try? I use Clearlooks from the package
  gtk2-engines; it works without glitches on my KDE 4.4 desktop for all
  the GTK applications that I use and I find it quite pleasant to look at.
  According to the package description, Clearlooks is the default Gnome
  theme, so I would assume that it makes ice(weasel|dove) under KDE look
  the same as under Gnome.
 
 Hmm Could you please send me the output of aptitude search gtk~i

$ aptitude --disable-columns -F '%p %v' search 'gtk~i'
alsaplayer-gtk 0.99.80-5   
gtk-qt-engine 1:1.1+svn5-4
gtk2-engines 1:2.20.1-1
gtk2-engines-pixbuf 2.20.1-1
ia32-libs-gtk 20090804
kde-config-gtk-style 1:1.1+svn5-4
libgpod4-nogtk 0.7.2-2+b1
libgtk2.0-0 2.20.1-1
libgtk2.0-bin 2.20.1-1
libgtk2.0-common 2.20.1-1
libgtkglext1 1.2.0-1.1
libgtkmm-2.4-1c2a 1:2.20.3-1
libgtkspell0 2.0.16-1
libwxgtk2.6-0 2.6.3.2.2-5
libwxgtk2.8-0 2.8.10.1-3
pinentry-gtk2 0.8.0-1
python-gtk2 2.17.0-2

 You set the theme from System Settings - Appearance - Gtk themes etc?

Yes, I do (the exact name is GTK Styles and Fonts on my system; I
assume that is what you mean). I select the Use another style option
in the GTK Styles panel and choose Clearlooks from the drop-down
combobox. Clearlooks became available in this combobox after I
installed the gtk2-engines package.

-- 
Regards,|
  Florian   |


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100715141549.ga11...@bavaria.univ-lyon1.fr



Re: holding back buggy packages

2010-07-14 Thread Florian Kulzer
On Tue, Jul 13, 2010 at 11:27:57 -0400, Celejar wrote:
 Hi,
 
 A common use case with aptitude (interactive mode ) / apt-listbugs is:
 
 a) order an upgrade
 b) aptitude downloads packages
 c) apt-listbugs reports some serious bug in a package
 d) I decide not to install / upgrade the problematic package, after
 reading the short bug description, or looking it up in the BTS
 e) hit 'n' to abort the installation / upgrade
 f) search for the package via something like
 '^first-few-letters-of-package', and keep looking until I find the
 right one.
 g) hold with '='
 h) reorder the upgrade
 
 Is there any way to automate / consolidate steps e-h?  IOW, I'd like
 some simple way to just tell aptitude: Okay, don't install the buggy
 package, so just redo the upgrade / installation without it?

This is not a dramatic improvement, but a bit quicker, I think:

a)-e) as above
f) hit 'g' to see the actions preview again
g) Scroll to the buggy packages in the actions preview, where they are
   easy to find, and use 'F' to forbid upgrades to the buggy versions.
   (You can also use '=' to hold if you prefer; I like forbid-version
   better because it means that I do not have to remember to remove the
   hold once a newer, hopefully fixed, version is available.)
h) press 'g' again to go ahead with the upgrade of all other packages

I am not even sure if I would like an automatic hold of all buggy
packages, because many of the serious/critical bugs reported by
apt-listbugs are irrelevant to me in practice (e.g. a package fails to
build on an architecture that I do not use, a policy violation that has
no effect on me, a file overwrite conflict that I can easily fix myself,
etc.). As for the packages that I actually do want to hold back, I can
normally change their settings very quickly just by scrolling through
the actions preview and hitting 'F' where appropriate.

-- 
Regards,|
  Florian   |


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100714131416.ga6...@isar.localhost



Re: Is it gdm3 that is logging me out?

2010-07-14 Thread Florian Kulzer
On Wed, Jul 14, 2010 at 09:56:58 +0100, Alan Chandler wrote:
 Over the past few weeks there has been a change in my system behaviour.
 
 I frequently get back to my screen to find the gdm greeter inviting
 me to log in again.  At first I thought it might have been the
 screen saver, but unlike when the screensaver wants you to login in,
 all the programs that were running seem to have terminated.  In
 other words it appears I have been logged out.
 
 This is extremely annoying - edits that I might have been making are
 not saved - and more than once now I have lost quite a bit of work.
 
 I can't see how to turn this behaviour off.  The screen saver is NOT
 set to lock the screen.  I can't see any options set in /etc/gdm3
 anywhere that might cause me to get logged off after a timeout.
 
 I am sure there is a configuration controlling this somewhere.  Can
 anyone point me to it.

My first suspicion would be a crash of the X server with a subsequent
automatic restart of gdm. Do you see signs of an X server restart or
anything else that looks suspicious in /var/log/Xorg.0.log or
/var/log/Xorg.0.log.old or /var/log/syslog? Does your screensaver of
choice use fancy accelerated graphics which could trigger bugs in your
video driver that crash the X server?

-- 
Regards,|
  Florian   |


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100714132405.gb6...@isar.localhost



Re: how to make iceweasel icedove look as pretty as in gnome?

2010-07-14 Thread Florian Kulzer
On Wed, Jul 14, 2010 at 21:53:36 +0300, Γιώργος Πάλλας wrote:
 Is there a way?
 I tried by installing kde-config-gtk-style but both apps look terrible
 and they also don't exit properly.

Which themes did you try? I use Clearlooks from the package
gtk2-engines; it works without glitches on my KDE 4.4 desktop for all
the GTK applications that I use and I find it quite pleasant to look at.
According to the package description, Clearlooks is the default Gnome
theme, so I would assume that it makes ice(weasel|dove) under KDE look
the same as under Gnome.

-- 
Regards,|
  Florian   |


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100714201056.ga7...@isar.localhost



Re: Help - CUPS printing stopped working

2010-07-13 Thread Florian Kulzer
On Tue, Jul 13, 2010 at 14:02:56 -0400, Andrew Perrin wrote:
 I've been running pretty vanilla CUPS-based printing on my home and
 office machines for years. After a recent dist-upgrade to testing, I
 get on both machines this error when trying to browse to the admin
 page:
 
 An error occurred during a connection to localhost:631.
 
 SSL received a record that exceeded the maximum permissible length.
 
 (Error code: ssl_error_rx_record_too_long)
 
 
 ...and this in /var/log/cups/error_log:
 
 E [13/Jul/2010:14:05:26 -0400] Bad request line ^V^C^A from localhost!
 
 Any thoughts? Thanks.

It seems that you are trying to connect to the standard CUPS port (631)
using an https://... url. Did you actually configure your CUPS server to
support SSL connections on port 631?

-- 
Regards,|
  Florian   |


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100713210502.ga6...@isar.localhost



Re: corrupted firmware-linux-nonfree 0.26

2010-07-07 Thread Florian Kulzer
On Wed, Jul 07, 2010 at 12:50:09 -0700, Paul Scott wrote:
 Hi,
 
 From everything I can find the versions of firmware-linux-nonfree
 for sid and unstable (0.26) contain corrupted versions of
 agere_sta_fw.bin and agere_ap_fw.bin version 9.48
 
 Does someone know how I can the uncorrupted versions of these files?
 When I try to download them from the sites I find IceWeasel gives me
 a zero length file.

This link should give you access to the firmware directly from the
kernel.org git tree:

http://git.kernel.org/?p=linux/kernel/git/dwmw2/linux-firmware.git;a=tree

Make sure to use the raw link to the right of the names of the files
that you need. According to the history links, these two files were
added to the kernel in 2008 and have not been changed since.

-- 
Regards,|
  Florian   |


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100707201756.ga4...@isar.localhost



Re: corrupted firmware-linux-nonfree 0.26

2010-07-07 Thread Florian Kulzer
On Wed, Jul 07, 2010 at 14:30:00 -0700, Paul Scott wrote:
 On 07/07/2010 02:05 PM, Paul Scott wrote:
 On 07/07/2010 01:46 PM, Sven Joachim wrote:
 On 2010-07-07 22:17 +0200, Florian Kulzer wrote:
 
 http://git.kernel.org/?p=linux/kernel/git/dwmw2/linux-firmware.git;a=tree

[...]

 That at least got me a copy of the file.  Thanks.
 
 They are also identical to the files in the Debian
 firmware-linux-nonfree package.

[...]

 Installing the above version of agere_sta_fw.bin elimated the
  eth2: Lucent/Agere firmware doesn't support manual roaming
 message but the card still doesn't associate.
 
 Hopefully the relevant part of the log follows:

[ snip: As far as I can tell, everything looks normal until
  NetworkManager joins the party. ]

 Jul  7 14:27:35 gotojoy NetworkManager:SCPlugin-Ifupdown: devices added 
 (path: /sys/devices/pci:00/:00:11.0/1.0/net/eth2, iface: eth2)
 Jul  7 14:27:35 gotojoy NetworkManager:SCPlugin-Ifupdown: device added 
 (path: /sys/devices/pci:00/:00:11.0/1.0/net/eth2, iface: eth2): no 
 ifupdown configuration found.
 Jul  7 14:27:35 gotojoy NetworkManager: info  (eth2): driver supports SSID 
 scans (scan_capa 0x01).
 Jul  7 14:27:35 gotojoy NetworkManager: info  (eth2): new 802.11 WiFi 
 device (driver: 'orinoco_cs')
 Jul  7 14:27:36 gotojoy NetworkManager: info  (eth2): exported as 
 /org/freedesktop/NetworkManager/Devices/5
 Jul  7 14:27:36 gotojoy NetworkManager: info  (eth2): now managed
 Jul  7 14:27:36 gotojoy NetworkManager: info  (eth2): device state change: 
 1 - 2 (reason 2)
 Jul  7 14:27:36 gotojoy NetworkManager: info  (eth2): bringing up device.
 Jul  7 14:27:36 gotojoy kernel: [49984.908781] ADDRCONF(NETDEV_UP): eth2: 
 link is not ready
 Jul  7 14:27:36 gotojoy NetworkManager: info  (eth2): preparing device.
 Jul  7 14:27:36 gotojoy NetworkManager: info  (eth2): deactivating device 
 (reason: 2).
 Jul  7 14:27:36 gotojoy NetworkManager: info  (eth2): supplicant interface 
 state:  starting - ready
 Jul  7 14:27:36 gotojoy NetworkManager: info  (eth2): device state change: 
 2 - 3 (reason 42)
 Jul  7 14:27:36 gotojoy wpa_supplicant[1147]: Failed to initiate AP scan.

I would kill NetworkManager and test whether your card can associate
with the AP if you set it up directly in /etc/network/interfaces. (Check
the output ofiwconfig eth2).

Also, try if iwlist scan eth2 (as root) does list your AP correctly.

-- 
Regards,|
  Florian   |


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100707214649.ga6...@isar.localhost



Re: J-Pilot and Handspring Visor

2010-07-05 Thread Florian Kulzer
On Sun, Jul 04, 2010 at 17:18:24 -0700, Marc Shapiro wrote:
 From: Florian Kulzer

[...]

 This is the output from dmesg:
 
 [637797.771076] usb 2-3.1: New USB device found, idVendor=082d, idProduct=0100
 [637797.771083] usb 2-3.1: New USB device strings: Mfr=1, Product=2, 
 SerialNumber=0
 [637797.771087] usb 2-3.1: Product: Handspring Visor
 [637797.771090] usb 2-3.1: Manufacturer: Handspring Inc

It does not report the creation of any device node; that is not good.
(All the udev debugging tricks that I know require that I have at least
one basic kernel name or subsystem path device node to start with.)

  How do I set up udev to create /dev/pilot when the hotsync button on
  the cradle is pressed?

Does pressing the hotsync button when the visor is connected produce
anything in the logs? (Note that I do not know much about this device; I
am mostly trying to come up with suggestions based on what I know about
the kernel and udev in general.)

  The first step is to check if your combination of USB vendor and USB
  device ID is listed in one of the alias lines of modinfo visor.   Udev
  tricks will most likely be useless if the kernel module does not
  recognize your device as being supported.
 
 This is from the output from 'modinfo visor' (a command of which I was not 
 aware.  Thanks, Florian):
 
 filename:   
 /lib/modules/2.6.32-bpo.3-686/kernel/drivers/usb/serial/visor.ko
 license:GPL
 description:USB HandSpring Visor / Palm OS driver
 author: Greg Kroah-Hartman g...@kroah.com
 alias:  usb:v0E67p0002d*dc*dsc*dp*ic*isc*ip*
 SNIP
 alias:  usb:v082Dp0100d*dc*dsc*dp*ic*isc*ip*
 depends:usbserial,usbcore
 vermagic:   2.6.32-bpo.3-686 SMP mod_unload modversions 686
 parm:   debug:Debug enabled or not (bool)
 parm:   stats:Enables statistics or not (bool)
 parm:   vendor:User specified vendor ID (ushort)
 parm:   product:User specified product ID (ushort)
 
 That last alias line matches the vendor and product ID, so that looks
 good.  So, is there a way to have udev created /dev/pilot when the
 hotsync button is pressed?

The main question is if any device node is created at all; if I remember
your previous message correctly, you said that not even a /dev/ttyUSBx
appears after you plug in the visor. That looks like a problem with the
kernel module to me, even though it should know your device based on the
modinfo-alias output.

I propose to do the following: Run tail -fn0 /var/log/syslog in one
terminal window so that you see all new syslog messages (until you hit
CTRL-C to exit.) Then you can use another terminal window to try:

- Load the visor module with debugging enabled modprobe visor debug=1
  and then plug in the device.

- Tell the visor module explicitly that it should operate your device:
  modprobe visor debug=1 vendor=0x082d product=0x0100. I would try
  both loading the module with these parameters and then connecting the
  visor, as well as loading the module like this with the visor already
  plugged in.

(Unload the module with modprobe -r visor every time before you try
 changing parameters.)

Hopefully the debug mode will result in some clues (or at least a good
starting point for a targeted Google search) in the syslog.

-- 
Regards,|
  Florian   |


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100705181054.ga3...@isar.localhost



Re: J-Pilot and Handspring Visor

2010-07-04 Thread Florian Kulzer
[ Please wrap your lines at 72 characters for readability. ]

On Sat, Jul 03, 2010 at 19:34:04 -0700, Marc Shapiro wrote:

[...]

 The visor is a great, but ancient device and the docs talk about using
 a fairly new kernel, like  2.4.17.  I am using 2.6.32 from backports
 and I have done 'modprobe visor' to load the module, but neither
 /dev/pilot, not /dev/ttyUSB1 are being created by udev.  I have the
 Vendor and Product IDs from dmesg.

Then why did you not include this information in your mail?

 How do I set up udev to create /dev/pilot when the hotsync button on
 the cradle is pressed?

The first step is to check if your combination of USB vendor and USB
device ID is listed in one of the alias lines of modinfo visor. Udev
tricks will most likely be useless if the kernel module does not
recognize your device as being supported.

-- 
Regards,|
  Florian   |


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100704092436.ga4...@isar.localhost



changing user password on KDE 4.4 (was: How 'stable' is squeeze?)

2010-06-24 Thread Florian Kulzer
On Wed, Jun 23, 2010 at 23:34:38 -0400, John A. Sullivan III wrote:

[...]

 However, I still do not see a way to
 change passwords as an ordinary user.  How does an ordinary user who
 does not use the command line (and thus passwd) and does not have the
 root password change their password in KDE 4.4? Thanks - John

I have a Change Password... button in System Settings - General -
Personal - About Me - Password  User Account. I just tried it and it
seems to work perfectly. I use KDE 4.4.4 on Sid; I never had a reason to
look for this functionality before, therefore I do not know if it was
present already in earlier KDE 4.x versions.

-- 
Regards,|
  Florian   |


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100624070326.ga9...@bavaria.univ-lyon1.fr



Re: GRUB2 - automatically generating extra entries

2010-06-08 Thread Florian Kulzer
On Tue, Jun 08, 2010 at 21:35:53 +0800, Jason Heeris wrote:
 I use runlevel 3 for non-X boots (gdm, etc is disabled), and to boot
 into it I append 3 to my normal use entry in the GRUB2 menu. I'd
 like to just automatically generate the extra line, so that even after
 a kernel upgrade it'll still be there (but obviously for the new
 kernel).
 
 There was a way to do this in legacy GRUB, but it's been so long I
 can't remember what it was (I think there was an automagic kernel
 entry generation section in menu.lst?).
 
 Is there an easy way to do this with GRUB2? I know my way around the
 GRUB2 config scripts and defaults file to some extent, but I'm no
 expert.

If you want to append additional parameters to the kernel command line,
configure it via GRUB_CMDLINE_LINUX_DEFAULT or GRUB_CMDLINE_LINUX in
/etc/default/grub.

If you want to add further entries to the grub boot menu, that can be
handled by a script in /etc/grub.d/ (see the README in that directory).

-- 
Regards,|
  Florian   |


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100608205626.ga3...@isar.localhost



Re: Removing all dependencies with aptitude

2010-06-05 Thread Florian Kulzer
On Sat, Jun 05, 2010 at 02:13:51 +0100, Vasco Costa wrote:
 Most of the times 'aptitude remove/purge package' removes ALL the unused
 dependencies of the package.
 
 Sometimes however, even if I issue this command RIGHT after having
 installed a package it only removes some of the dependencies, leaving a
 few behind (specially for packages with huge dependency chains).
 
 Why does this happen? Is this because some of the installed dependencies
 may be optional dependencies for packages already installed or is this
 some aptitude limitation?

Your first hypothesis is most likely the correct one; the optional
dependency that keeps the package on your system can be a recommends
or even a suggests of another package, depending on how you have
configured aptitude.

 Is there a way to remove ALL the unused dependencies in these cases
 without manually issuing a remove for each of them?

Aptitude does remove all unused dependencies automatically; if you do
not like that it keeps recommends by default then you have to change
the corresponding configuration option (aptitude::Keep-Recommends).

-- 
Regards,|
  Florian   |


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100605075516.ga4...@isar.localhost



Re: Removing all dependencies with aptitude

2010-06-05 Thread Florian Kulzer
[ I am putting this back on d-u; please make sure to reply to the list. ] 

On Sat, Jun 05, 2010 at 16:05:17 +0100, Vasco Costa wrote:
 On Sat, 2010-06-05 at 09:55 +0200, Florian Kulzer wrote:
  Your first hypothesis is most likely the correct one; the optional
  dependency that keeps the package on your system can be a recommends
  or even a suggests of another package, depending on how you have
  configured aptitude.
 
 I've just proved my first hypothesis wrong. I haven't changed any
 configuration options, so both aptitude::Keep-Recommends and
 aptitude::Keep-Suggests are set to their default value which is false.

The last time I configured aptitude, aptitude::Keep-Recommends was true
by default.

 I really have no idea why this is happening. As an example let me show
 what happens with the mplayer package.
 
 When I install mplayer the following deps are installed:
 
 libfribidi0
 liblzo2-2
 libmpcdec3
 libopenal1
 libxvmc1
 mplayer-skin-blue
 
 However if I immediately run aptitude remove/purge mplayer following the
 install only these deps are removed:
 
 liblzo2-2
 libmpcdec3
 libopenal1
 libxvmc1
 mplayer-skin-blue
 
 Notice that they are all removed except for libfribidi0. In this
 particular case it's quite easy to remove it manually, but on packages
 with over 100 deps it gets annoying.
 
 Is there anything I can try in order to understand why libfribidi0 in
 particular isn't being removed?

You can ask aptitude directly:

  aptitude why libfribidi0

-- 
Regards,
  Florian


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100605163056.ga6...@isar.localhost



Re: Removing all dependencies with aptitude

2010-06-05 Thread Florian Kulzer
On Sat, Jun 05, 2010 at 20:00:43 +0100, Vasco Costa wrote:
 On Sat, Jun 5, 2010 at 5:30 PM, Florian Kulzer wrote:
  You can ask aptitude directly:
 
   aptitude why libfribidi0
 
 Thanks, this is quite handy. I should have known about this but I
 haven't used Debian since over ten years ago (I have been using Gentoo
 and Archlinux meanwhile).

I sometimes have the impression that even many long-time Debian users do
not know aptitude's why command, which is a shame. (The complementary
why-not is very useful as well.)

   I guess it's time to read the aptitude
 manual. :)

I would especially recommend to familiarize yourself with the
interactive mode of aptitude; this investment will pay off many times
over.

Note that you can configure aptitude so that it will not install
recommended dependencies automatically, but you can still tell it to
keep all the auto packages that are on your system as long as there is
at least one package that recommends them. This allows you to decide at
each upgrade/install operation which of the recommended packages you
actually want, and if you want to mark them for future automatic removal
or if you like them in their own right. (The same options exist for
suggested packages.)

-- 
Regards,|
  Florian   |


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100605203130.ga6...@isar.localhost



Re: Jumpy video after KDE 4.4 upgrade in Squeeze

2010-05-25 Thread Florian Kulzer
On Mon, May 24, 2010 at 19:16:06 -0500, Gene Kodadek wrote:
 I upgraded my Squeeze box to KDE 4.4 about a week ago, and have been 
 contending with jumpy, hesitant video performance ever since. I'm not sure 
 which package to file this bug against; if it helps I'm running an Nvidia 
 7900GS using the drivers in the nvidia-glx package. It ran fine with KDE 4.3. 
 Thanks!

First of all, does this problem occur with all video players or just
with some of them? Which ones did you try?

Are you using desktop effects/compositing? If yes, then you should try
if turning them off makes a difference. Also, check the CPU load while a
video is playing.

Besides that, the output of the following commands might give us a clue
about possible problems with your X server:

grep -E '^\((EE|WW)\)' /var/log/Xorg.0.log
glxinfo | grep -E 'direct|vendor|version'
xvinfo | grep -E 'Adaptor|version| id'

-- 
Regards,|
  Florian   |


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100525212801.ga3...@isar.localhost



Re: Lenny to Squeeze upgrade problems

2010-05-13 Thread Florian Kulzer
On Wed, May 12, 2010 at 16:24:05 -0500, Ron Johnson wrote:
 On 05/12/2010 04:16 PM, Boyd Stephen Smith Jr. wrote:
 On Wednesday 12 May 2010 16:04:07 Jordan Metzmeier wrote:
 This issue is because the new udev requires a  .31 kernel with
 sysrq_deprecated=n (I am going off memory here so don't quote me). This
 means you need to first upgrade to the squeeze kernel, reboot, then upgrade
 udev and proceed with the updgrade.
 
 Added Tag: needs-to-be-in-release-notes
 
 To heck with the Release Notes!  This needs to be front and center
 when you when you do the apt-get update.

This issue has been mentioned in /usr/share/doc/udev/NEWS.gz repeatedly,
so you will be made aware of the problem in time to stop the upgrade if
you use apt-listchanges with its default settings. (At least if you use
aptitude; I would assume that apt-listchanges interacts the same way
with apt-get.)

-- 
Regards,|
  Florian   |


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100513102830.ga27...@bavaria.univ-lyon1.fr



Re: Fwd: Re: Kde 3.5 ...

2010-05-09 Thread Florian Kulzer
On Sun, May 09, 2010 at 15:00:31 +0100, Lisi wrote:

[...]

 I do *not* ask otherwise and Dotan has been sending long, rude, unpleasant 
 emails direct to me.  That is what I am complaining about.

On-list complaints about unsolicited CC'ing are also against the code of
conduct, so you are at least as rude as Dotan is, and you are
bullying all of us to read what should be a private complaint. Pot,
meet kettle.


 As I said above, 
 *I* have been getting them from Dotan, as you correctly state:  *Lisi* 
 shreef . *I* have been getting them.  According to list policy I should 
 not be getting them.  In addition, the last one was sent to the KDE list (to 
 which I do not subscribe) and not to this, which is the list with the thread.

People sometimes make mistakes about CC'ing, especially when they are
having what is essentially the same discussion on two different mailing
lists. There is a reason why the rule to stop public complaints about
CC'ing has been added to the code of conduct; Joey Hess has posted an
informative commentary:

http://lists.debian.org/debian-user/2010/03/msg01846.html

 Perhaps you should read Dotan's last two emails to me (especially the last 
 one) before complaining about my complaint.

I do not see what is so rude about these emails; I have the impression
that Dotan is genuinely interested, if maybe a bit overeager, to make
sure at all possible usability issues of KDE4 are addressed or at least
documented on the upstream BTS. 

If you first complain about the usability of KDE4 and then you are
offended when people who want to improve the usability of KDE4 ask you
about details, then maybe you should not have complained publicly in the
first place. What did you hope to achieve with your complaints if you
are not willing to work constructively on the resolution of the problems
that you experience? 

 And my crime??  For which you too clearly feel that I should be subjected to 
 the unpleasant bullying in emails direct to me?  I use KDE 3, but do not 
 intend to use KDE 4.

That is fine, of course, but why do you bother the list with your
grievances if your mind is already made up and you are not willing to
work with the people who care about making KDE4 better? Do you just want
to use the list as your personal agony aunt?

-- 
Regards,|
  Florian   |


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100509152040.ga1...@bavaria.univ-lyon1.fr



Re: Fwd: Re: Kde 3.5 ...

2010-05-09 Thread Florian Kulzer
On Sun, May 09, 2010 at 09:18:05 -0700, Mike Bird wrote:
 On Sun May 9 2010 08:20:40 Florian Kulzer wrote:
 (snip)
  That is fine, of course, but why do you bother the list with your
  grievances if your mind is already made up and you are not willing to
  work with the people who care about making KDE4 better? Do you just want
  to use the list as your personal agony aunt?
 
 This is a Debian list, not a KDE list.

That is certainly true, but it seems to me that this argument cuts both
ways, and can be applied just as well to the initial complaints.

 A lot of people care about
 not making Debian worse, and are thereafter taking the time and
 making the effort to present the case for not deleting KDE 3.5
 from Debian.

Probably true, but I do not see what that has to do with the specific
remarks about one particular poster's behavior that you quoted from my
last message. (I think it is clear from my complete message that the
you quoted above is second person singular, not plural.)

 While the KDE devs have gone on to new and sillier pastures, KDE 3.5
 is apparently maintained at least by the Trinity project and it is
 possible that either Trinity or other solutions may yet be developed
 that will avoid the planned harm to Debian.

We will see. I have the feeling that the majority of people who cannot
stand KDE4 will simply switch to one of the other fine DEs (or to Gnome)
in the long run, so it may be difficult to maintain a big enough
community of developers and users to keep the KDE3 projects alive.

 This is a worthwhile discussion for a Debian list.

I never said that it was not. I was expressing my bewilderment with
people who seem to get offended when someone offers to submit upstream
bugs on their behalf if only they would tell him the details of their
problems, just because he may have made a mistake with the CCs. Why not
take him up on his offer, you have to do very little, he will do all the
work? If that leads to some of your problems with KDE 4 being fixed then
you may have one more acceptable alternative available in case the KDE3
zombie turns out to be unmaintainable after all.

-- 
Regards,|
  Florian   |


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100509193500.ga5...@bavaria.univ-lyon1.fr



Re: Broken dependencies

2010-05-01 Thread Florian Kulzer
On Sat, May 01, 2010 at 17:20:56 +0200, Alois Mahdal wrote:
 Hello,
 
 because a stupid mistake, I have interrupted apt-get during early
 stage of dist-upgrade from Lenny to Squeeze.
 
 Now I cannot get apt-get working and I don't know how to fix it.
 
 Could anyone of you please help me? I'll be also happy with advice
 on how to get proper debug info for you, of course.
 
 $ apt-get -fyo Debug::pkgProblemResolver=yes upgrade

[...]

 perl: warning: Setting locale failed.
 perl: warning: Please check that your locale settings:
   LANGUAGE = (unset),
   LC_ALL = (unset),
   LANG = en_US.UTF-8
 are supported and installed on your system.
 perl: warning: Falling back to the standard locale (C).
 Can't exec locale: No such file or directory at
 /usr/share/perl5/Debconf/Encoding.pm line 16.
 Use of uninitialized value $Debconf::Encoding::charmap in scalar
 chomp at /usr/share/perl5/Debconf/Encoding.pm line 17.
 0 upgraded, 0 newly installed, 0 to remove and 744 not upgraded.
 2 not fully installed or removed.
 After this operation, 0B of additional disk space will be used.
 dpkg: warning: 'ldconfig' not found on PATH.
 dpkg: 1 expected program(s) not found on PATH.
 NB: root's PATH should usually contain /usr/local/sbin, /usr/sbin
 and /sbin.
 E: Sub-process /usr/bin/dpkg returned an error code (2)

Both locale and ldconfig were shifted from libc6 to libc-bin going
from Lenny and Squeeze; my guess would be that you upgraded to the
Squeeze version of libc6, but you did not yet complete the installation
of libc-bin, so now these important commands (and others) are missing on
your system. (The libc-bin package does not exist for Lenny.)

If dpkg still works then you can try to download libc-bin for your
architecture from http://packages.debian.org/squeeze/libc-bin and
install the .deb with dpkg -i ..., see here:

http://www.debian.org/doc/manuals/reference/ch02.en.html#_rescue_with_the_dpkg_command

-- 
Regards,|
  Florian   |


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100501171452.ga26...@bavaria.univ-lyon1.fr



Re: asignar hora a PC

2010-04-28 Thread Florian Kulzer
On Wed, Apr 28, 2010 at 09:28:23 -0400, Stephen Powell wrote:
 On Wed, 28 Apr 2010 02:16:20 -0400 (EDT), Camaleón wrote:
  On Tue, 27 Apr 2010 14:57:59 -0400, Stephen Powell wrote:
  On Tue, 27 Apr 2010 15:22:53 -0400 (EDT), cosme wrote:
  ...
  y como quedaría dentro
  
  Solo en ingles, por favor, o mailto:debian-user-span...@lists.debian.org
  
  After some attemps to try to contact the user (he also writes into the 
  Spanish list), I reached the following conclusions:
  
  1/ The user does not receive many of the e-mails coming from the list.
  
  2/ He cannot receive e-mails from the outside (maybe is behind a proxy or 
  firewall or any kind of filter system that rejects external e-mails).
 
 That is indeed strange.  I have never heard of an e-mail system that allows
 e-mails out but not in.  (Except for spam setups, of course!)  He must have
 *some* way of receiving replies, such as viewing the mailing list archives
 via a browser.  Otherwise, why would he ask a question to which he knows that
 he cannot receive replies?  And if memory serves me correctly, this user
 has been repeatedly told that debian-user is for English only.  I must
 therefore conclude that he is either (a) stupid, (b) careless, or (c) 
 obnoxious.

I would say it is d) all of the above. If you understand Spanish, see
for yourself:

http://lists.debian.org/debian-user/2009/09/msg01806.html

 And none of those alternatives speak well of him or motivate people to 
 help him.

Unfortunately, people still respond to him or even worry about
apologizing on behalf of the list if other subscribers tell him to get
lost.

-- 
Regards,|
  Florian   |


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100428151415.ga6...@bavaria.univ-lyon1.fr



Re: asignar hora a PC

2010-04-28 Thread Florian Kulzer
On Wed, Apr 28, 2010 at 16:11:38 +, Camaleón wrote:
 On Wed, 28 Apr 2010 17:14:15 +0200, Florian Kulzer wrote:
 
  On Wed, Apr 28, 2010 at 09:28:23 -0400, Stephen Powell wrote:
 
  That is indeed strange.  I have never heard of an e-mail system that
  allows e-mails out but not in.  (Except for spam setups, of course!) 
  He must have *some* way of receiving replies, such as viewing the
  mailing list archives via a browser.  Otherwise, why would he ask a
  question to which he knows that he cannot receive replies?  And if
  memory serves me correctly, this user has been repeatedly told that
  debian-user is for English only.  I must therefore conclude that he is
  either (a) stupid, (b) careless, or (c) obnoxious.
  
  I would say it is d) all of the above. If you understand Spanish, see
  for yourself:
  
  http://lists.debian.org/debian-user/2009/09/msg01806.html
 
 That's unfair. I would not judge a user by just one post.

I would say that depends on the post. In any case, I am judging this
particular user on his overall posting history here on d-u, which began
long before the one mail to which I linked (which is just the most
drastic manifestation of his general attitude). 

 You must know that the Spanish list can be sometimes a bit un-pleasant 
 so I even could understood that overreaction.

He did not quote any mails of others that would justify his rudeness and
blatant lack of concern for the mailing list code of conduct.

  And none of those alternatives speak well of him or motivate people to
  help him.
  
  Unfortunately, people still respond to him or even worry about
  apologizing on behalf of the list if other subscribers tell him to get
  lost.
 
 I think many people here is not fully aware about the technological 
 limitations some users have to live with and treating such users as just 
 nuts is quite unjust, to say the least.

Just and unjust is in the eye of the beholder. I was trying to make a
much more straightforward point: If enough people continue to reward a
certain behavior then it is likely that there will be an increase in the
occurrence of this very behavior. Case in point: Our friend has just
posted another Spanish message to d-u.

-- 
Regards,|
  Florian   |


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100428195032.ga4...@isar.localhost



Re: [SOLVED] Debian-multimedia breaks mplayer .mov playback on Lenny?

2010-04-22 Thread Florian Kulzer
On Thu, Apr 22, 2010 at 00:57:49 +0200, Clive McBarton wrote:
 Florian Kulzer wrote:
  On Tue, Apr 20, 2010 at 07:08:23 -0500, John Hasler wrote:
  Clive McBarton writes:
  The debian-multimedia-keyring is not restricted by patents or any
  other licence issues. I understand why the other d-m packages are not
  in debian, but the keyring (and just the keyring) should be in debian.
  Debian-multimedia is not part of Debian,
  
  The archive signing key of debian-multimedia is nevertheless in Debian
  already: Christian Marillat uses his developer key to sign his Release
  files, so anyone who cares about security can take this key from the
  (authenticated) debian-keyring package and feed it to apt-key before
  installing any packages from debian-multimedia.
  
 
 Great! Thanks! Just what I was looking for.
 
 What would be the simplest command to achieve this key extraction and
 insertion? In my case, his key is already on my keyring, so I have some
 difficulty testing any command that I'd think up myself.

See here:
http://lists.debian.org/debian-user/2006/11/msg03224.html

You cannot use this method for other unofficial archives, but often you
can at least verify a developer's signature on the archive key that you
had to download from the web. Here is an example:
http://lists.debian.org/debian-user/2008/04/msg02428.html

Ideally the verification should take place before the key is added to
the keyring of apt, of course.

-- 
Regards,|
  Florian   |


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100422063332.ga24...@bavaria.univ-lyon1.fr



Re: [SOLVED] Debian-multimedia breaks mplayer .mov playback on Lenny?

2010-04-20 Thread Florian Kulzer
On Tue, Apr 20, 2010 at 07:08:23 -0500, John Hasler wrote:
 Clive McBarton writes:
  The debian-multimedia-keyring is not restricted by patents or any
  other licence issues. I understand why the other d-m packages are not
  in debian, but the keyring (and just the keyring) should be in debian.
 
 Debian-multimedia is not part of Debian,

The archive signing key of debian-multimedia is nevertheless in Debian
already: Christian Marillat uses his developer key to sign his Release
files, so anyone who cares about security can take this key from the
(authenticated) debian-keyring package and feed it to apt-key before
installing any packages from debian-multimedia.

-- 
Regards,|
  Florian   |


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100420212126.ga4...@isar.localhost



Re: Trunk version of linux-image ISSUE

2010-04-17 Thread Florian Kulzer
On Sat, Apr 17, 2010 at 08:37:30 -0500, JW Foster wrote:
 I', sent this previously but so far no reply. Can anyone tell me how to
 get rid of this issue. I did an update  the trunk version of
 linux-image was installed as the upgraded version. A few weeks later I
 tried to install the newer regular version  after a few attempts it
 finally installed  grub configured it. However it is not properly
 configured according to the installer as it keeps trying to configure
 the non-trunk version every time I do an update. Now I've been able to
 select the non-trunk version  have my system running it, even though
 it's not properly configured. I tried to then remove the trunk ver. 
 this is the error message I get.
 -
 (Reading database ... 431717 files and directories currently installed.)
 Removing linux-image-2.6.32-trunk-686 ...
 Running postrm hook script /usr/sbin/update-grub.
 Generating grub.cfg ...
 Found background image: moreblue-orbit-grub.png
 Found linux image: /boot/vmlinuz-2.6.32-3-686
 Found initrd image: /boot/initrd.img-2.6.32-3-686
 File descriptor 11 (pipe:[29311]) leaked on lvs invocation. Parent PID
 15623: /bin/sh
 File descriptor 12 (pipe:[29311]) leaked on lvs invocation. Parent PID
 15623: /bin/sh

That looks like http://bugs.debian.org/549976, which seems be harmless.

   No volume groups found
 Found Debian GNU/Linux (5.0.1) on /dev/hdb1
 Found Debian GNU/Linux (4.0) on /dev/hdc1
 done
 Examining /etc/kernel/postrm.d .
 run-parts: executing /etc/kernel/postrm.d/extlinux 2.6.32-trunk-686 
 /boot/vmlinuz-2.6.32-trunk-686
 run-parts: /etc/kernel/postrm.d/extlinux exited with return code 1
 Failed to process /etc/kernel/postrm.d at 
 /var/lib/dpkg/info/linux-image-2.6.32-trunk-686.postrm line 265.
 dpkg: error processing linux-image-2.6.32-trunk-686 (--purge):
 subprocess installed post-removal script returned error exit status 2
 Errors were encountered while processing:
 linux-image-2.6.32-trunk-686

Which version of package extlinux do you have installed? This looks like
http://bugs.debian.org/574071, which was fixed in version 2:3.85+dfsg-2.

If your package manager is jammed by this problem then you can try to
download the .deb for the newest version of extlinux from
http://packages.debian.org/extlinux and then install it directly with
dpkg -i.

-- 
Regards,|
  Florian   |


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100417152110.ga5...@isar.localhost



Re: xorg synaptics driver no longer working with udev?

2010-04-16 Thread Florian Kulzer
On Thu, Apr 15, 2010 at 23:27:41 +0200, Sjoerd Hardeman wrote:

[...]

 Hal is certainly no longer working, see #567389. Yet, udev now also
 stopped working...

OK, I think I understand a little bit better how this is supposed to be
working now. Try to add your touchpad options to the InputClass section
of the file /usr/lib/X11/xorg.conf.d/10-synaptics.conf as a first test.

There seems to be a new mechanism that allows for multiple such
InputClass sections matching the same device, so that its configuration
can be spread over several files, with each file being able to add
options and to override settings made in previous files. If this works
as advertised then it should be possible to add your customizations in a
separate InputClass section in, say, 99-local.conf and thus make sure
that they are not overwritten when the synaptics driver is upgraded.
That seems to have all the modularity advantages of the earlier hal/udev
methods with the added bonus of the simpler xorg.conf syntax.

I am curious to hear if this actually works because I cannot try it
myself. (My up-to-date Sid desktop does not have a touchpad.)

-- 
Regards,|
  Florian   |


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100416184645.ga4...@isar.localhost



Re: xorg synaptics driver no longer working with udev?

2010-04-15 Thread Florian Kulzer
On Wed, Apr 14, 2010 at 19:38:23 -0500, francis southern wrote:
 On 14 April 2010 16:51, Florian Kulzer wrote:
  On Wed, Apr 14, 2010 at 22:06:41 +0200, Sjoerd Hardeman wrote:
  Hi list,
 
  After a large set of updates today on testing, xorg no longer picks up
  my udev rules file. A few months ago hal stopped working, as a change to
  udev was required (see also the list history for several threads on that
  topic).

[...]

 I am in exactly the same situation.

[...]

  1) Does hal know that there is a touchpad?
 
    lshal -u $(hal-find-by-capability --capability input.touchpad)
 
  2) The output of 1) should tell you the associated linux.device_file; in
    my case this is /dev/input/event7. The next step is to find the
    devpath:
 
    udevadm info --query=path --name=/dev/input/event7
 
  3) I get /devices/platform/i8042/serio4/input/input7/event7 from 2).
    Now one can test what udev does when the device is added; maybe that
    command will give you a clue, or you can make the output available so
    that we can compare:
 
    udevadm test /devices/platform/i8042/serio4/input/input7/event7
 
 
 I followed your advice, here's the output of that command:
 http://debian.pastebin.com/Bft7phBw
 It's quite long, and I have to say that I have very little
 understanding of anything it says...

It looks OK to me; your custom rules file is read by udev (line 24) and
the corresponding variables are set (lines 110-116).

 I do know that /etc/udev/rules.d/66-xorg-synaptics.rules is the file
 that I created when HAL stopped working, and it was working up until
 two days ago (more or less).

I now tried to activate the extra options in the fdi file that comes
with xserver-xorg-input-synaptics and that gave me right-edge-scrolling
and the other stuff. Thus it seems that the fdi directives are working
right now on my Sid system. (As I wrote earlier, I have not used these
features in a long while, therefore I do not know if the fdi files
worked all the time or if this functionality was only recently
restored.)

I suggest that you try the same approach and then we can compare our
results. In other words:

1) Shut down X and remove your custom udev rules for the time being,
   then restart udev. (invoke-rc.d udev restart)

2) Uncomment the extra rules in
   /usr/share/hal/fdi/policy/20thirdparty/11-x11-synaptics.fdi. You have
   to close the comment in the !-- EXAMPLES: line by adding  -- to
   the end of this line; also insert a new line with !-- just before
   the line starting with For other possible options, check.

3) Restart dbus, which will also restart hal.
   (invoke-rc.d debus restart)

4) Verify that hal is paying attention to the newly-uncommented options;
   the output of
   
   lshal -u $(hal-find-by-capability --capability input.touchpad)

   should include:

   input.x11_driver = 'synaptics'  (string)
   input.x11_options.CircularScrolling = 'true'  (string)
   input.x11_options.HorizTwoFingerScroll = 'true'  (string)
   input.x11_options.MaxTapMove = '2000'  (string)
   input.x11_options.SHMConfig = 'true'  (string)
   input.x11_options.VertEdgeScroll = 'true'  (string)
   input.x11_options.VertTwoFingerScroll = 'true'  (string)

5) Restart X, then find the synaptics part in /var/log/Xorg.0.log. It
   should contain lines like these:

   (II) config/hal: Adding input device SynPS/2 Synaptics TouchPad
   (II) LoadModule: synaptics
   (II) Loading /usr/lib/xorg/modules/input//synaptics_drv.so
   (II) Module synaptics: vendor=X.Org Foundation
   compiled for 1.6.5, module version = 1.2.0
   Module class: X.Org XInput Driver
   ABI class: X.Org XInput driver, version 4.0
   (II) Synaptics touchpad driver version 1.2.0
   (**) Option Device /dev/input/event7
   (II) SynPS/2 Synaptics TouchPad: x-axis range 1472 - 5472
   (II) SynPS/2 Synaptics TouchPad: y-axis range 1408 - 4448
   (II) SynPS/2 Synaptics TouchPad: pressure range 0 - 255
   (II) SynPS/2 Synaptics TouchPad: finger width range 0 - 0
   (II) SynPS/2 Synaptics TouchPad: buttons: left right middle double triple
   (**) Option SHMConfig true
   (**) Option MaxTapMove 2000
   (**) Option VertEdgeScroll true
   (**) Option VertTwoFingerScroll true
   (**) Option HorizTwoFingerScroll true
   (**) Option CircularScrolling true

6) Check if VertEdgeScroll and the other stuff works; if it does then
   you can try to add your other options to the fdi file and remove the
   ones that you do not like. Once you are done with the tests you can
   restore 20thirdparty/11-x11-synaptics.fdi to its original state and
   put your rules into a separate fdi files so that they will not be
   overwritten at the next upgrade of xserver-xorg-input-synaptics.

-- 
Regards,|
  Florian   |


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100415192418.ga5...@isar.localhost



Re: xorg synaptics driver no longer working with udev?

2010-04-15 Thread Florian Kulzer
On Thu, Apr 15, 2010 at 21:24:19 +0200, Florian Kulzer wrote:

 [ blah, blah, blah ]

Uh-oh, the moment I sent my last message I finally remembered that I
currently use an outdated version of the synaptics driver, because a
serious bug of video-intel forced me to freeze my whole Xorg
installation a while ago. Sorry for the noise, please disregard the bulk
of what I have just written. It might nevertheless be interesting to
compare the output of lshal and the Xorg log, to maybe get a clue which
change broke the driver.

-- 
Regards,|
  Florian   |


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100415194849.ga5...@isar.localhost



Re: What prevents mounting of USB devices?

2010-04-14 Thread Florian Kulzer
On Tue, Apr 13, 2010 at 01:09:03 +0200, Clive McBarton wrote:
 Florian Kulzer wrote:

[...]

  Another thing to try is to activate the desktop icons for removable
  devices and test if users can mount the devices by clicking on the
  icons.
 
 Sorry to sound stupid, but how do I activate those? Right now I don't
 see any icons on the desktop when plugging devices in.

As far as I remember, the icons can be activated in the KDE Control
Center  Desktop  Behavior  Device Icons dialog; one has to check
both the option for unmounted and mounted removable devices.

-- 
Regards,|
  Florian   |


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100414212926.ga5...@isar.localhost



Re: xorg synaptics driver no longer working with udev?

2010-04-14 Thread Florian Kulzer
On Wed, Apr 14, 2010 at 22:06:41 +0200, Sjoerd Hardeman wrote:
 Hi list,
 
 After a large set of updates today on testing, xorg no longer picks up
 my udev rules file. A few months ago hal stopped working, as a change to
 udev was required (see also the list history for several threads on that
 topic).

I do not understand what you mean here. I use Sid and I am not aware of
any recent problems with either hal or udev. (I stress this to warn you
that I might be unaware of some fundamental aspects of your issue.)

 Now, udev stopped working? Did I miss any change to xorg
 behaviour? I'm using the latest xorg and kdm/kde on testing.

I would start by checking:

1) Does hal know that there is a touchpad?

   lshal -u $(hal-find-by-capability --capability input.touchpad)

2) The output of 1) should tell you the associated linux.device_file; in
   my case this is /dev/input/event7. The next step is to find the
   devpath:

   udevadm info --query=path --name=/dev/input/event7

3) I get /devices/platform/i8042/serio4/input/input7/event7 from 2).
   Now one can test what udev does when the device is added; maybe that
   command will give you a clue, or you can make the output available so
   that we can compare:

   udevadm test /devices/platform/i8042/serio4/input/input7/event7

-- 
Regards,|
  Florian   |


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100414215118.ga6...@isar.localhost



Re: cannot type power of 1 or 2, 4-9 are typeable.

2010-04-12 Thread Florian Kulzer
On Sun, Apr 11, 2010 at 19:43:30 -0700, jeremy jozwik wrote:
 im trying to type [copy from character map] power of 2. i can read
 power of 2 on webpages but if i were to cope  paste from that page,
 the power displays as a normal character 2. is this a
 dpkg-reconfigure locales issue?

It could also be due to the browser not copying certain characters
correctly to the clipboard.

Let's start at the beginning, which output do you get from this command:

  locale

If you use an utf8-based locale, e.g. en_US.UTF-8, then the following
command should print the numbers 1-5 in superscript:

  echo -e \xc2\xb9\xc2\xb2\xc2\xb3\xe2\x81\xb4\xe2\x81\xb5

What do you get?

 how can i gain the ability to type a power of 2?

If the locale is set up correctly and your terminal supports the
characters, then the easiest method is to define a compose key and use
compose key + ^ + 2. (The + means pressing the keys in sequence,
releasing each key before pressing the next one.)

-- 
Regards,|
  Florian   |


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100412064155.ga10...@bavaria.univ-lyon1.fr



Re: What prevents mounting of USB devices?

2010-04-12 Thread Florian Kulzer
On Sun, Apr 11, 2010 at 14:57:01 +0200, Clive McBarton wrote:
 Florian Kulzer wrote:
  On Sat, Apr 10, 2010 at 19:20:42 +0200, Clive McBarton wrote:
  I run KDE and normally mount usb devices with the Storage Media applet
  in the task bar. Recently I have been getting strange errors and
  mounting failed:
  
  Which version of KDE, 3.x or 4.x? (I don't remember a task bar applet
  for mounting removable media from my KDE 3.x days - I always triggered
  mounting via the icons that appeared on the desktop for removable media
  - but I might simply not know about alternatives.)
 
 3.x, Lenny default. Probably 3.5.10 if I see correctly. The task bar
 applet is called Storage Media or Media Applet. The right-click
 options in the taskbar are Move Storage Media, Remove Storage Media,
 Configure Storage Media, About Storage Media. When I bring up its
 preferences it has different ideas about its name and now says Media
 Applet Preferences - KDE Panel. The About says using KDE 3.5.10.

Did you have any security upgrades lately or did you install packages
from backports or volatile, or any non-Debian stuff? I am surprised that
a stable system should exhibit such a sudden regression.

Another thing to try is to activate the desktop icons for removable
devices and test if users can mount the devices by clicking on the
icons.

  Mounting worked for you earlier, so I assume that your users are all
  members of the plugdev group already. 
 
 Yes they are.
 
  I would like to see the output of:
  
awk '/policy group=plugdev/,/\/policy/' 
  /etc/dbus-1/system.d/hal.conf
 
 Here:
 
   policy group=plugdev
 allow send_interface=org.freedesktop.Hal.Device.Volume
send_destination=org.freedesktop.Hal/
 allow send_interface=org.freedesktop.Hal.Device.Volume.Crypto
send_destination=org.freedesktop.Hal/
   /policy
 
 By looking at the modify time, I see that this file has not been
 modified since I installed Debian, so it must still be in the default state.

AFAIK, that is exactly how it should be for Lenny, so all members of the
plugdev group should be able to send dbus messages to hal. Absence of
such permissions is a very common reason for point-click mounting to go
wrong, but that does not seem to be the case for you.

[...]

  And the UUID of the usb stick is even listed in /etc/fstab so that it is
  supposed to mount automatically when plugged in (though that does not
  seem to work). But that may be an unrelated issue.
  
  AFAIK, you should not have any entries in fstab for removable devices
  that you want to be handled by KDE/Gnome/whatever_other_DE via the
  dbus/hal mechanism. In any case, I would avoid trying to mix different
  approaches.
 
 I would avoid that too, if any single one of them would work, but
 neither did. I did not try pmount so far, that would actually have worked.

I suspect that the fstab entry is not really a problem. Maybe you can
setup pmount for the individual users so that it is more convenient.

Unfortunately I do not understand what else your dbus error message is
trying to tell us. I would run lshal --monitor, then plug in a USB
stick and try to mount it; maybe that will turn up something useful.

Seeing what hal knows about a USB stick might also help; hal can be
queried like this:

lshal -u $(hal-find-by-property --key block.device --string /dev/sdX)
lshal -u $(hal-find-by-property --key block.device --string /dev/sdX1)

(Replace sdX as is appropriate)

-- 
Regards,|
  Florian   |


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100412192523.ga8...@isar.localhost



Re: What prevents mounting of USB devices?

2010-04-11 Thread Florian Kulzer
On Sat, Apr 10, 2010 at 19:20:42 +0200, Clive McBarton wrote:
 
 I run KDE and normally mount usb devices with the Storage Media applet
 in the task bar. Recently I have been getting strange errors and
 mounting failed:

Which version of KDE, 3.x or 4.x? (I don't remember a task bar applet
for mounting removable media from my KDE 3.x days - I always triggered
mounting via the icons that appeared on the desktop for removable media
- but I might simply not know about alternatives.)

 Rejected send message, 3 matched rules; type=method_call,
 sender=:1.21 (uid=101 pid=13921 comm=kded [kdeinit] --new-startup )
 interface=org.freedesktop.Hal.Device.Volume member=Mount error
 name=(unset) requested_reply=0 destination=org.freedesktop.Hal
 (uid=0 pid=11879 comm=/usr/sbin/hald )) 

Mounting worked for you earlier, so I assume that your users are all
members of the plugdev group already. I would like to see the output
of:

  awk '/policy group=plugdev/,/\/policy/' /etc/dbus-1/system.d/hal.conf

 Mounting as root on the commandline still works, but it's a hassle for
 the user who wants to simple use their usb stick.

It would be interesting to know if regular users can mount USB sticks
using pmount or pmount-hal on the command line. 

 And the UUID of the usb stick is even listed in /etc/fstab so that it is
 supposed to mount automatically when plugged in (though that does not
 seem to work). But that may be an unrelated issue.

AFAIK, you should not have any entries in fstab for removable devices
that you want to be handled by KDE/Gnome/whatever_other_DE via the
dbus/hal mechanism. In any case, I would avoid trying to mix different
approaches.

 Another (possibly also unrelated) issue is that when several X are
 running (different users, all with KDE) then it seems that only one of
 them can mount and unmount, usually the wrong user.

I have seen that complaint before, also for systems on which mounting
worked perfectly for single-user sessions, and I am not sure if a
satisfactory solution exists. (I have no need for running multiple KDE
sessions on the same machine, therefore I do not know much about this
issue.)
 
 Is it worth digging into hal to correct this? Given that hal won't be in
 Debian much longer.

Well, it is a problem for you right now, so why not try to solve it?
Besides, udisks has the same main developer as hal, so I doubt that it
will be so radically different that hal know-how will become useless. I
have played around a bit with udisks yesterday, it seems to follow the
same basic concepts as hal. AFAICT, udisks-daemon is simply an upgraded
version of hald that is specialized on block devices, as one part of a
more modular approach to hardware abstraction.

-- 
Regards,|
  Florian   |


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100411081621.ga4...@isar.localhost



Re: About USB hard drives and errors

2010-04-10 Thread Florian Kulzer
On Sat, Apr 10, 2010 at 08:45:26 -0500, Ron Johnson wrote:
 On 2010-04-10 02:20, Clive McBarton wrote:

[...]

 Every HD that is even remotely close to being usable will always have
 zero bad blocks when seen from outside the HD. All HDs have error
 recognition and error correction and automatic replacement of faulty
 sectors with spare ones. A HD will only show bad blocks after all of its
 remapping area is used, at which point it is far beyond being usable.
 
 In other words, scanning for bad blocks on a HD cannot work.
 
 You can see the internal count of the remapped sectors with SMART, as
 others have already pointed out here.
 
 Interesting.  So what is /badblocks/ for,

I would say it is useful to make the drive access every single block;
afterwards you can check in the SMART log if that caused any remappings. 

   and should it be removed
 in order to remove useless complexity?

I would not consider a command-line utility that can simply be ignored
to be useless complexity.

-- 
Regards,|
  Florian   |


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100410154659.ga11...@isar.localhost



Re: Why can't I reinstall locales? [SOLVED]

2010-04-01 Thread Florian Kulzer
On Thu, Apr 01, 2010 at 12:18:24 -0700, Ernie Dunbar wrote:
 For future reference, the solution to this problem is to manually download
 the .deb file from the Debian website, then force the install like this:
 
 dpkg -i --force-depends locales_2.7-18lenny2_all.deb
 
 This works without issue because the package dependency 'glibc-2.7-1' is a
 dummy package, and the real package that locales really requires is
 already installed, but the installer doesn't know this.
 
 This issue may also exist because of a system that was upgraded (this
 system used to run Etch) or one that is in limbo between Testing and
 Stable (which may be the case here, but I can't recall).

For future reference:

1) You reduce the likelihood of someone bothering to help you if you
   keep violating basic email etiquette by repeated top-posting and by
   snipping attributions.

2) glibc-2.7-1 is not a dummy package, but rather a virtual package that
   is provided by package libc6, version 2.7-18lenny2, on a properly
   installed and updated Lenny system. If a dependency on glibc-2.7-1
   cannot be satisfied on your computer, or if your package manager is
   mistaken about your installed version of libc6, then you may have a
   serious unsolved problem lurking somewhere.

-- 
Regards,|
  Florian   |


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100401202038.gb31...@bavaria.univ-lyon1.fr



Re: Booting from newly installed Kernel package?

2010-04-01 Thread Florian Kulzer
On Wed, Mar 31, 2010 at 05:01:03 +0100, Jen wrote:
 I am blind, so selecting the kernel from the grub prompt is not
 possible. I want to use the new kernel (not trunk) as my default.

OK, now I understand your problem. It is unfortunate that the trunk
version slipped into the normal repository and that update-grub is not
prepared to deal with it automatically now that you have a newer regular
kernel installed.

 The speech and Braille modules that I use are loaded after the grub
 prompt has appeared, so I need to change what kernel is used after
 the system is booted.

The procedure to achieve that depends on your version of grub
(grub-legacy or grub-pc).

For grub-legacy you need to edit the file /boot/grub/menu.lst. There
should be a line default 0, which tells grub which entry to boot by
default; counting starts from zero. You have to replace the 0 by a 1 or
a 2, depending on whether you have an auto-generated recovery mode
entry for the trunk kernel before the newer regular kernel. You can find
the current order of kernels at the end of the menu.lst file, in the
section starting below the line ## ## End Default Options ##. 

If you have difficulties finding out which number your desired entry has
then you can run the following command as root to obtain an ordered
listing of all menu entries:

grep ^title /boot/grub/menu.lst

I suggest making a backup of menu.lst before you edit it and running
update-grub after you changed the default. Once you manage to boot
into the new kernel, you can remove the trunk one and reset the default
to 0. (The entries of the trunk kernel will be removed automatically
from the grub menu when this kernel is uninstalled.)


The procedure for grub-pc follows the same principle, but in that case
you have to change the line GRUB_DEFAULT=0 in the file
/etc/default/grub, or you can use the grub-set-default X command as
root, where X is the number of your desired new default.  Again, run
update-grub afterwards to make sure the change is committed.

Here is the command for obtaining an ordered listing of the menu entries
of grub-pc:

grep -o '^menuentry.*' /boot/grub/grub.cfg

-- 
Regards,|
  Florian   |


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100401211600.gc31...@bavaria.univ-lyon1.fr



Re: HAL UID ?

2010-03-28 Thread Florian Kulzer
On Sat, Mar 27, 2010 at 15:02:47 -0600, Paul E Condon wrote:
 Per some recent discussion here of command line mounting of plugable
 storage, I am investigating pmount and pmount-hal. In the man page
 for pmount-hal there is this:
 
 The first parameter (device) must be the HAL UDI or the device node of
 ...
 
 I know that I can use pmount-hal with /dev/... but it might be useful
 to know how to use the HAL UDI.

You can use the hal-find-by-property command, like this:

  hal-find-by-property --key volume.uuid --string 'DEB0-0001'
  hal-find-by-property --key volume.label --string 'Debian Inst'

(These two examples are for a usb stick that has the Debian installer on
 a partition with the fslabel Debian Inst and the UUID DEB0-0001)

-- 
Regards,|
  Florian   |


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100328151439.ga9...@isar.localhost



Re: Testing upgrade Failures:

2010-03-26 Thread Florian Kulzer
On Fri, Mar 26, 2010 at 11:29:15 -0500, JW Foster wrote:
 I just tried to do an upgrade on testing  I,m getting several errors. 
 First snip of output is regarding unknown types. I have no idea what
 this is but I seen it before.
 SNIP-
 
 Processing triggers for hicolor-icon-theme ...
 Processing triggers for gnome-menus ...
 Processing triggers for desktop-file-utils ...
 Processing triggers for shared-mime-info ...
 Unknown media type in type 'chemical/x-alchemy'

[ snip: many more unknown chemistry-related media types ]

Annoying, but utterly harmless AFAIK.

 second issue is:
 SNIP---
 
 Running depmod.
 Running update-initramfs.
 update-initramfs: Generating /boot/initrd.img-2.6.32-3-686
 W: Possible missing firmware /lib/firmware/rtl8168d-2.fw for module
 r8169
 W: Possible missing firmware /lib/firmware/rtl8168d-1.fw for module
 r8169

[...]

 I have all the firmware drivers installed at least every package the
 says it has anything to do with firmware.

It seems that this driver does not correctly recognize whether it
actually needs the firmware or not. If the device works for you and if
you do not have any boot delays then I would not worry about this too
much.

http://bugs.debian.org/561309

 third issue is:
 SNIP---
 
 Found initrd image: /boot/initrd.img-2.6.32-3-686
 File descriptor 11 (pipe:[279156]) leaked on lvs invocation. Parent PID
 32356: /bin/sh
 File descriptor 12 (pipe:[279156]) leaked on lvs invocation. Parent PID
 32356: /bin/sh
 SNIP---
 I have no idea what this is??? Leaks cant be good or OK can they??

I have no idea either. LVS = Linux Virtualization Support? Are you
running this instance of Debian in a VM?

 Last issue is with kernel image upgrade; this has failed twice:

[...]

 Found Debian GNU/Linux (5.0.1) on /dev/hdb1
 Found Debian GNU/Linux (4.0) on /dev/hdc1
 done
 Examining /etc/kernel/postinst.d.
 run-parts: executing /etc/kernel/postinst.d/extlinux
 2.6.32-3-686 /boot/vmlinuz-2.6.32-3-686
 run-parts: /etc/kernel/postinst.d/extlinux exited with return code 1
 Failed to process /etc/kernel/postinst.d
 at /var/lib/dpkg/info/linux-image-2.6.32-3-686.postinst line 868.
 dpkg: error processing linux-image-2.6.32-3-686 (--configure):
 subprocess installed post-installation script returned error exit status
 9

This problem is the most serious one. Line 868 in the postinst script
tries to execute run-parts on the /etc/kernel/postinst.d directory and
it fails for some reason. So the first question is: Which files are in
that directory on your system? (names, properties, are they executable,
etc...)

-- 
Regards,|
  Florian   |


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100326225752.ga9...@isar.localhost



Re: Wifi Can't Connect

2010-03-23 Thread Florian Kulzer
On Mon, Mar 22, 2010 at 18:44:03 -0400, Mark wrote:
 On Monday 22 March 2010 04:32:08 pm Andrei Popescu wrote:
  Please post the output of:
  
  lspci | grep -i wireless
 
 ~# lspci | grep -i wireless
 0b:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG [Golan] 
 Network Connection (rev 02)

[...]

 ~# /sbin/iwconfig wlan0
 wlan0 IEEE 802.11abg  ESSID:Radio Free Universe  
   Mode:Managed  Frequency:2.437 GHz  Access Point: 00:23:97:77:14:0B  
  
   Bit Rate=54 Mb/s   Tx-Power=15 dBm   
   Retry  long limit:7   RTS thr:off   Fragment thr:off
   Encryption key:off
   Power Management:off
   Link Quality=70/70  Signal level=-35 dBm  
   Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
   Tx excessive retries:0  Invalid misc:0   Missed beacon:0

It seems that we can rule out driver or firmware problems. So far, so
good, but I am confused by the fact that your wireless device associated
with an open AP. You showed us your WPA configuration before; is Radio
Free Universe really the correct access point?

-- 
Regards,|
  Florian   |


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100323200859.ga4...@isar.localhost



Re: Wifi Can't Connect

2010-03-22 Thread Florian Kulzer
On Mon, Mar 22, 2010 at 16:23:23 -0400, Mark wrote:
 I had wifi, now I don't.
 
 I just upgraded my kernel (using aptitude) from 2.6.26-686 to
 2.6.32-3-686 and followed that with aptitude full-upgrade, which
 removed a number of packages (that I wasn't using anyway) because I
 had previously always used apt-get (and I understand the consequences
 of this). I also installed kde-minimal (version 4).
 
 I know that the wifi was working for at least one session on the new
 kernel. But after a reboot, it stopped being able to connect. Alas, I
 do not know what I did in between. I was messing with aptitude without
 really knowing the consequences of my actions.
 
 SYMPTOMS
 
 Both when booting up and when trying things like ifup wlan0 and dhclient 
 wlan0, I get the following response:
  DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 3

[...]

  No DHCPOFFERS received.
  No working leases in persistent database - sleeping.

[...]

 Basics: Dell Inspiron E1505, 2GB RAM. Running Lenny. Using
 repositories: lenny, testing, lenny-backports, lenny/updates
 (security), and debian-volatile.
 
 I have a Verizon (Westell) wireless modem/router. My MacBook Pro is
 connected to it wirelessly with no problem. I use WPA authentication.
 My /etc/wpa_supplicant.conf file reads (actual values not given here):
  network={
  ssid=MY_SSID
  psk=MY_PSK
  }
 
 My /etc/network/interfaces files reads:

[...]

  iface wlan0 inet dhcp
  wpa-driver wext
  wpa-key-mgmt WPA-PSK
  wpa-proto WPA
  wpa-ssid MY_SSID
 
  auto wlan0

Your configuration looks OK to me.

The first thing to check is if your wireless device associates with the
access point. Please post the output of:

  lspci -nn | grep -Ei 'net|wire'
  /sbin/iwconfig wlan0

-- 
Regards,|
  Florian   |


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100322212233.ga5...@isar.localhost



Re: Even More Grub UUID

2010-03-20 Thread Florian Kulzer
On Sat, Mar 20, 2010 at 12:19:26 -0700, Freeman wrote:
  On Sat, 20 Mar 2010 03:05:56 -0700 freeman wrote:

   Finally installed grub legacy. (Long story. And no I don't want
   Grub2/Grub-PC, whatever. 

[...]

 However, the system still boots off menu.lst. It had to be edited to boot
 the system correctly. grub-update writes a non-existent UUID to menu.lst,
 which will mean manual editing after every kernel upgrade.
 
 But I am burying my question.
 
 My real question, where could grub-update be getting that wrong UUID from?

I would be interested in seeing the output of:

  grep kopt /boot/grub/menu.lst

(which has to be run as root because menu.lst is not readable for normal
 users)

-- 
Regards,|
  Florian   |


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100320211307.ga6...@isar.localhost



Re: Aptitude wish list item

2010-03-17 Thread Florian Kulzer
On Wed, Mar 17, 2010 at 09:47:55 +0100, Wolodja Wentland wrote:
 On Wed, Mar 17, 2010 at 08:36 +, Bob Cox wrote:
  On Tue, Mar 16, 2010 at 17:09:05 -0400, Wayne wrote: 
   After downloading the buggy openoffice suite for the 3rd time in the  
   past month.  I would like to propose a new feature for aptitude.
 
  How about apt-listbugs?
 
 That's exactly what Wayne is talking about IMHO - if you install
 apt-listbugs it will be run automatically for each package that is to be
 installed, but *after* all packages have been downloaded, which is a
 waste of bandwith, time and money.
 
  apt-listbugs -s all list openoffice.org
 
 Nobody will manually verify each package that is going to be installed. 

apt-listbugs list $(aptitude -F%p search '~U')

-- 
Regards,|
  Florian   |


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100317124451.ga5...@isar.localhost



Re: Aptitude wish list item

2010-03-17 Thread Florian Kulzer
On Wed, Mar 17, 2010 at 14:15:53 +0100, Wolodja Wentland wrote:
 On Wed, Mar 17, 2010 at 13:44 +0100, Florian Kulzer wrote:
  On Wed, Mar 17, 2010 at 09:47:55 +0100, Wolodja Wentland wrote:
 
  Nobody will manually verify each package that is going to be installed. 
 
  apt-listbugs list $(aptitude -F%p search '~U')
 
 Thanks for the aptitude-fu, but I don't think that I'll do that every
 time before I'll upgrade some packages. It also seems as if it is not
 possible to put these packages on hold *from within apt-listbugs*.

Side note: I would use forbid-version rather than hold to only block
upgrades to the specific buggy versions. As you point out yourself
below, it is trivial to automate something like this if one wants to do
so.

 I know that this is easily solved with a little more aptitude-fu, but
 still ... what's wrong with execting apt-listbugs *before* any package
 is downloaded?

I do not think anything is wrong with that and I did not mean to argue
against this proposed change.

 I think that the proposed change in apt-listbugs is valid and would
 endorse it as the effect will be the same, with the important difference
 that it saves time, bandwith, money and results in less downloads from
 the mirrors.

My only intention was to point out (what I think is) a reasonably
convenient workaround for the present bandwidth-wasting behavior.

-- 
Regards,|
  Florian   |


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100317140422.ga5...@isar.localhost



Re: aptitude package filtering

2010-03-14 Thread Florian Kulzer
On Sun, Mar 14, 2010 at 17:23:11 -0400, Yavuz Yetim wrote:
 Hi,
 
 I would like to list all packages installed from testing. How can I do
 that? First limiting to ~installed and then searching ~archive(testing)
 gives me packages that are installed and available in testing and that's
 not what I want. For example, I have evolution 2.22 from stable. So,
 ~installed matches evolution 2.22, so package evolution is in the list
 and ~archive(testing) matches evolution because evolution 2.28 is in
 testing. However, I don't want to see evolution in the list because I
 want only the packages that are installed from testing (not the ones
 that are installed and available in testing). If it is not installed
 from testing, I don't want to see it. How can I do that? I hope the
 explanation was clear.

If I understand you correctly then I think the narrowing search
pattern/operator is what you want:

aptitude search '~S ~i ~Atesting'

file:///usr/share/doc/aptitude/html/en/ch02s04s05.html#searchNarrow

-- 
Regards,|
  Florian   |


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100314213520.ga6...@isar.localhost



Re: How to know if USB device has driver properly installed?

2010-03-12 Thread Florian Kulzer
On Fri, Mar 12, 2010 at 14:12:37 -0500, Celejar wrote:
 On Fri, 12 Mar 2010 18:18:30 +0200 Dotan Cohen wrote:

[...]

  If after running sudo update-usbids.sh the device name is still not
  shown, is that a sign that the driver is not properly installed?
 
 As others (Florian) have explained, no.  IIUC, the usbids list is just
 a list of mappings between USB IDs and the organizations to which they
 have been allotted - it has no connection whatsoever to any executable
 code.  Drivers often contain (hardcoded) lists of USB IDs which they
 (think that they) can handle, and, IIUC, they sometimes will pick up
 any device whose data seems to be following a protocol that they know.

The kernel seems to use the information in 

/lib/modules/$(uname -r)/modules.alias

to decide which module(s) to try for a given device. AFAIK, this
information is generated/updated by running depmod, which is handled
automatically if you install a Debian kernel package or if you use
module-assistant/DKMS to handle additional modules.

 For example, I recently purchased a cheap, no-name USB webcam from a
 Far Eastern distributor.  lsusb didn't display anything helpful, but
 the uvc kernel driver handled the camera fine, apparently because the
 camera was speaking the uvc protocol.

That is also how I understand the process. Some of the entries in
modules.alias are straightforward vendor/device-ID pairs, while others
use wildcards for these values and rely on capabilities such as a modem
of class X, subclass Y that understands protocol Z. The module then
often uses dedicated diagnostic code to find out if it really supports
that particular device. Syslog/dmesg should reveal which modules the
kernel tried in response to a USB hotplug event and if there were any
problems. Modprobing the module with a higher debug level (if that
option is available) should provide additional clues.

-- 
Regards,|
  Florian   |


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100312230913.ga8...@isar.localhost



Re: liblua5.1-gtk-0 problem

2010-03-12 Thread Florian Kulzer
On Fri, Mar 12, 2010 at 04:25:05 +0100, Martin wrote:
 I have installed Gtk binding for Lua
 liblua5.1-gtk-dev
 liblua5.1-gtk-0
 from Lenny DVDs. I also have Lua interpreter and dev libraries
 lua5.1
 liblua5.1-0
 liblua5.1-0-dev
 
 When I try to run example program this is the error:
 
 $ /usr/share/doc/liblua5.1-gtk-dev/examples/window.lua
 [gtk] Can't load dynamic library /usr/lib/libgtk-x11-2.0.so
 [gtk] Can't load dynamic library /usr/lib/libatk-1.0.so
 [gtk] Can't load dynamic library /usr/lib/libgtkhtml-2.so
 [gtk] symbol g_type_fundamental not found in dynamic library.
 [gtk] symbol g_slice_set_config not found in dynamic library.
 ... snipped many similar lines ...
 [gtk] symbol g_assertion_message not found in dynamic library.
 [gtk] symbol gtk_tree_model_get_value not found in dynamic library.
 [gtk] ERROR - an unavailable function 
 
 It seems that some libs can not be found but they are installed too:
 
 $ dlocate libgtk-x11-2.0.so
 libgtk2.0-0: /usr/lib/libgtk-x11-2.0.so.0.1200.12
 libgtk2.0-0: /usr/lib/libgtk-x11-2.0.so.0
 
 $ dlocate libatk-1.0.so
 libatk1.0-0: /usr/lib/libatk-1.0.so.0.2209.1
 libatk1.0-0: /usr/lib/libatk-1.0.so.0
 
 $ dlocate libgtkhtml-2.so
 libgtkhtml2-0: /usr/lib/libgtkhtml-2.so.0.0.0
 libgtkhtml2-0: /usr/lib/libgtkhtml-2.so.0

I have no experience with lua, but your error messages seem to tell me
that the libraries cannot be loaded because they have undefined symbols
that the linker cannot find anywhere else.
 
 I can not think of anything why is example program not able
 to run. Do I need to install something else?

You are missing some pretty elementary things, such as
g_type_fundamental, which should be provided by a library from
libglib2.0-0. This package is a dependency of libgtkhtml2-0, so it
should be present on your system. Please post the output of:

  dpkg -l libgtkhtml2-0 | awk '/^[^D|+]/{print $1,$2,$3}'
  nm -D /usr/lib/libgobject-2.0.so.0 | grep g_type_fundamental
  ldconfig -pNX | grep libgobject-2.0.so.0

-- 
Regards,|
  Florian   |


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100312233455.ga8...@isar.localhost



Re: How to know if USB device has driver properly installed?

2010-03-11 Thread Florian Kulzer
On Thu, Mar 11, 2010 at 22:19:05 +0200, Dotan Cohen wrote:
 I am trying to get a USB device working. In lsusb the ID shows up, but
 the name of the device does not. Is this an indication that the driver
 is not properly installed?
 
 For instance, this is how functioning devices look in lsusb:
 Bus 005 Device 003: ID 413c:8126 Dell Computer Corp. Wireless 355 Bluetooth
 
 However, the device that I need to operate does not show the name,
 only the beginning of the line like this:
 Bus 003 Device 002: ID 104f:0006
 
 Does that mean that the device driver is not properly installed?

No, it only means that this combination of vendor ID 104f (WB
Electronics) and device ID 0006 (Infinity Smart) is not listed in your
/var/lib/usbutils/usb.ids file. You can run update-usbids to get the
newest version. The contents of the usb.ids have no influence on the
process by which the kernel tries to find modules for devices, AFAIK.

-- 
Regards,|
  Florian   |


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100311205021.ga5...@isar.localhost



Re: critical bugs of libc6 - a problem for sid?

2010-03-05 Thread Florian Kulzer
On Fri, Mar 05, 2010 at 14:47:34 -0800, John Magolske wrote:
 When trying to `aptitude install xserver-xorg-video-vesa` I see:
 
 The following packages will be upgraded:
   ... libc6 ...
   ...
 critical bugs of libc6 (2.9-6 - 2.10.2-6) unfixed
   #555205 - libc6: segfault when upgrading from 2.9-25 - 2.10.1-5
   on squeeze renders system unusable
 
 So I canceled the install. If libc6 gets upgraded to this version,
 will that critical bug bork my system? I'm currently running sid.

I am running Sid, too, (i386) and I do not have any problems with libc6.

$ apt-cache policy libc6
libc6:
  Installed: 2.10.2-6
  Candidate: 2.10.2-6

[ rest of output not copied ]

-- 
Regards,|
  Florian   |


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100305233824.ga5...@isar.localhost



Re: Two Lenny problems

2010-02-26 Thread Florian Kulzer
On Fri, Feb 26, 2010 at 01:17:09 -0800, Cecil Knutson wrote:
 Florian,
   Sorry it took so long for me to realize I did not respond to your
 last email.

No problem, I was pretty busy with work anyway. You have covered a lot
of ground with Stephen Powell in the meantime, and I do not have too
many things to add to that. I never had a soundblaster card myself; all
I post here is based on general ALSA knowledge and educated guesses.

  Here are the outputs of amixer and aplay.
 dimension8400:/home/cecil# amixer

[ output edited ]

 Simple mixer control 'Line in',0
 Simple mixer control 'Mic',0
 Simple mixer control 'Phone',0
 Simple mixer control 'IEC958',0
 Simple mixer control 'IEC958 Center/LFE',0
 Simple mixer control 'IEC958 Front',0
 Simple mixer control 'IEC958 Rear',0
 Simple mixer control 'IEC958 Unknown',0
 Simple mixer control 'Aux',0
 Simple mixer control 'Analog Center/LFE',0
 Simple mixer control 'Analog Front',0
 Simple mixer control 'Analog Rear',0
 Simple mixer control 'Analog Side',0
 Simple mixer control 'Analog Source',0
   Capabilities: cenum
   Items: 'Phone' 'Mic' 'Line in' 'Aux'
   Item0: 'Line in'
 Simple mixer control 'CAPTURE feedback',0
 Simple mixer control 'Digital Source',0
   Capabilities: cenum
   Items: 'IEC958 out' 'i2s mixer out' 'IEC958 in' 'i2s in' 'AC97 in'
 'SRC out'
   Item0: 'i2s in'
 Simple mixer control 'Shared Mic/Line in',0
   Capabilities: cenum
   Items: 'Line in' 'Mic in'
   Item0: 'Line in'

I googled around a bit and I have seen reports that do not show a PCM
channel in asound.state for another soundblaster card (scroll to the
bottom of the page):

http://www.linuxquestions.org/questions/linux-hardware-18/alsa-not-working-for-creative-sound-blaster-live-24-bit-sound-card-355129/

There is a relatively recent ubuntu bug report about snd-ca0106:

https://bugs.launchpad.net/ubuntu/+source/linux/+bug/361423

My problem is that I do not know what Analog Source, Digital Source
and Shared Mic/Line in are supposed to do. You could try different
settings with these controls and also to turn turn down or mute all the
IEC958 controls (if you have not done this already.) I would also try to
turn CAPTURE feedback down. ALSA controls can have somewhat counter-
intuitive effects and interactions at times, so one has to test many
combinations of settings.

Apart from that I can only echo what Stephen and Andrei have suggested:
Try a newer version of ALSA with a back-ported kernel or by checking
with Squeeze. It might be helpful to know if the most recent Knoppix
live CD can get the sound going.

The other thing you can do is search for message related to the sound
module, by running

  dmesg | grep -Ei 'ca0106|ac97'

right after you have booted the system.

-- 
Regards,|
  Florian   |


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100226203430.ga4...@isar.localhost



Re: Two Lenny problems

2010-02-22 Thread Florian Kulzer
On Sun, Feb 21, 2010 at 19:36:18 -0800, Cecil Knutson wrote:
 dimension8400:/home/cecil# grep '.*' /proc/asound/* /proc/asound/card?/*
 /proc/asound/cards: 0 [CA0106 ]: CA0106 - CA0106
 /proc/asound/cards:  Live! 7.1 24bit [SB0413] at 0xcce0 
 irq 17
 /proc/asound/cards: 1 [ICH6   ]: ICH4 - Intel ICH6
 /proc/asound/cards:  Intel ICH6 with AD1980 at irq 23

That looks good; the soundblaster is the first card. (That is what you
want to do, use the SB and not the ICH6, right?) There should not be any
need to blacklist the intel modules.

 /proc/asound/devices:  0: [ 0]   : control
 /proc/asound/devices:  1:: sequencer
 /proc/asound/devices:  8: [ 0- 0]: raw midi
 /proc/asound/devices: 16: [ 0- 0]: digital audio playback
 /proc/asound/devices: 17: [ 0- 1]: digital audio playback
 /proc/asound/devices: 18: [ 0- 2]: digital audio playback
 /proc/asound/devices: 19: [ 0- 3]: digital audio playback
 /proc/asound/devices: 24: [ 0- 0]: digital audio capture
 /proc/asound/devices: 25: [ 0- 1]: digital audio capture
 /proc/asound/devices: 26: [ 0- 2]: digital audio capture
 /proc/asound/devices: 27: [ 0- 3]: digital audio capture
 /proc/asound/devices: 32: [ 1]   : control
 /proc/asound/devices: 33:: timer
 /proc/asound/devices: 48: [ 1- 0]: digital audio playback
 /proc/asound/devices: 52: [ 1- 4]: digital audio playback
 /proc/asound/devices: 56: [ 1- 0]: digital audio capture
 /proc/asound/devices: 57: [ 1- 1]: digital audio capture
 /proc/asound/devices: 58: [ 1- 2]: digital audio capture
 /proc/asound/devices: 59: [ 1- 3]: digital audio capture

That seems to be fine, too.

 /proc/asound/modules: 0 snd_ca0106
 /proc/asound/modules: 1 snd_intel8x0

The correct modules are loaded.

[ snip: I did not see anything unusual in the rest, either. ]

 /proc/asound/version:Advanced Linux Sound Architecture Driver Version 1.0.16.

[...]

Your sound(blaster) should work as far as I can tell. Either you have
run into a bug of the driver (your version of ALSA is rather outdated),
a hardware problem (I seem to remember that you said that the card
works fine under another operating system, but I might be mixing up
threads), or your mixer settings are wrong. My guess would be the mixer
settings, so please post the output of:

  amixer
  aplay -lL

-- 
Regards,|
  Florian   |


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100222195437.ga4...@isar.localhost



Re: Two Lenny problems

2010-02-20 Thread Florian Kulzer
On Fri, Feb 19, 2010 at 19:11:05 -0800, Cecil Knutson wrote:
 dimension8400:/home/cecil# lspci

[...]

 00:1e.2 Multimedia audio controller: Intel Corporation 82801FB/FBM/FR/FW/FRW 
 (ICH6 Family) AC'97 Audio Controller (rev 03)

[...]

 04:01.0 Multimedia audio controller: Creative Labs SB Audigy LS
 
 Alsamixer: card: CA0106; Chip: (blank); View: [Playback]; Item: IEC958
 Columns from left to right: IEC958, IEC958 C, IEC958 F, IEC958 R,
 IEC958 U, Analog C, Analog F, Analog R, Analog S, Capture.
 Sheesh! there are many more columns in your instance than mine.
 
 Yes, There is only one sound card, the Creative Sound Blaster Live.
 So, why are there two listings for Multimedia Audio Controller?

Please post the output of:

  grep '.*' /proc/asound/* /proc/asound/card?/*

(or, if there is a lot of text, make the output available on
 http://debian.pastebin.com/ and post the link here)

-- 
Regards,|
  Florian   |


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100220093554.ga10...@isar.localhost



  1   2   3   4   5   6   7   8   9   10   >