/home partition filling immediately after recent sid upgrade

2021-03-12 Thread Mitchell Laks
Hi,

I recently upgraded a system that uses sid and the /home partition filled.

I then adjusted tune2fs -m 3 /dev/md1 to give myself  20 G of space.
Did nothing and next day already filled /home 100% again.
Same thing happened when i did  -m2.

Ok how to find the culprit ?

A long long time ago, this happened when my .xsession-error file grew
without bounds.
Does not seem to be this file.

Any one else seen this. How to find the monster space eater.

And please no snarky "don't use sid" remarks.
It is fun to play with the latest software.

tried  du -sh on /home/username /* etc.
ls -ltr tail
Thanks


further ideas on Re: Still bothered by annoying Re: new motherboard now Autorepeat of keys even when not pressed down

2014-01-09 Thread Mitchell Laks
 
 So far at least, I have not had the same repeated keypresses.
 
 I wil continue to monitor.
 
 Thank you.
 
 A look at the bios shows a spot to shut off pnp in the  bios. I will consider 
 that as well.

I was wrong and spoke too soon.

Indeed the bios command i8042.nonpnp
___helped___ to decrease the frequency of the keyboard issues
which were

1. maniacal multiple typing of space and carrige return or indeed many other 
keys until I hit another key.  
2. dropped keys (just didnt type a key until i retyped it)

However it did not get rid of the problem.

So what did I do.
Did a lot of reading.

I noticed that there is no longer a 
xserver-xorg-input-kbd
on my system.

Seems that evdev is the new way of capturing events from the keyboard and mouse
so I guessed perhaps that was the problem.

So I installed  xserver-xorg-input-kbd
then I 
changed the  xorg.conf
to add this stanza

  Section InputDevice
   Identifier   Generic Keyboard
   Driver   kbd
   Option   CoreKeyboard
   Option   XkbRules  base
   Option   XkbModel  pc105
   Option   XkbLayout us,il
   Option   XkbVariant,lyx
   Option   XkbOptions
grp:alt_shift_toggle,grp:switch,grp_led:scroll
   EndSection

then I restarted the 

server


Now then I noticed within the Xorg.0.log
this happens

[   111.503] (==) ModulePath set to /usr/lib/xorg/modules
[   111.503] (==) |--Input Device Generic Keyboard
[   111.503] (==) No Layout section. Using the first core keyboard device.
[   111.503] (II) The server relies on udev to provide the list of input 
devices.
If no devices become available, reconfigure udev or disable 
AutoAddDevices.
[   111.503] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 
'vmmouse' will be disabled.
[   111.503] (WW) Disabling Generic Keyboard
[   111.503] (II) Loader magic: 0x7f6c75087d00
[   111.503] (II) Module ABI versions:


So Hotplugging did not alow it to be on.
So I added the following section to the xorg.conf

   Section ServerFlags
   
Option  AutoAddDevicesoff   

EndSection 

Now when i start Xorg again

[  1861.880] (==) ModulePath set to /usr/lib/xorg/modules
[  1861.880] (==) |--Input Device default pointer
[  1861.880] (==) |--Input Device Generic Keyboard
[  1861.880] (==) No Layout section. Using the default mouse configuration.
[  1861.880] (==) No Layout section. Using the first core keyboard device.
[  1861.880] (II) Loader magic: 0x7fb38c0e6d00
[  1861.880] (II) Module ABI versions:
[  1861.880]X.Org ANSI C Emulation: 0.4
[  1861.880]X.Org Video Driver: 14.1
[  1861.880]X.Org XInput driver : 19.1
[  1861.880]X.Org Server Extension : 7.0
[  1861.880] (II) xfree86: Adding drm device (/dev/dri/card0)

Ok
now I am checking and so far, I have not had repeat of the problems of either 
dropped keys or 
spontaneous maniacal repeated keyboard presses

So where do I send the but report.

Clearly the autoconfiguration of ps2 keyboard
via xorg is not working
and I had to revert to the older kbd drivers...

Thanks 
Mitchell Laks



-- 
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/20140109164054.ga8...@earthlink.net



Re: further ideas on Re: Still bothered by annoying Re: new motherboard now Autorepeat of keys even when not pressed down

2014-01-09 Thread Mitchell Laks

It just happened again.

look at my last search on google

debian kernel log 


My last fix has not solved the problem.

Any other ideas???

Mitchell


-- 
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/20140109180245.ga10...@earthlink.net



Re: further ideas on Re: Still bothered by annoying Re: new motherboard now Autorepeat of keys even when not pressed down

2014-01-09 Thread Mitchell Laks
On 19:51 Thu 09 Jan , David Christensen wrote:
 Mitchell Laks wrote on Sun, 8 Dec 2013 15:20:22 -0500
  I recently upgraded my motherboard to an asus  M4A77TD
 motherboard with a new CPU.
  Of course this is a machine running wheezy, but was installed
 some many previous debian versions  time ago.
 
 
 On 01/09/2014 10:02 AM, Mitchell Laks wrote:
  Any other ideas???
 
 
 1.  Back up your data.  Disconnect all drives.  Install a new/
 different system drive and fill it with zeros.  Do a fresh install
 of the OS distribution of your choosing.  Test/ patch/ backport/
 etc. thoroughly.  If/ when you're satisfied, you're done.  If not,
 wipe the system drive and try something else.

?? I haven't had to reinstall debian on my main machine in years.
It would be silly 
Of course I am currently running debian on 25 workstations and  servers at 
multiple sites.
And I have  upgraded most of them over the years with no problem.

You advise me  give up too easily, David. 

The sense I am getting is that linux is moving away from support of ps2 
hardware.
I saw a lot of bellyaching on the web from this bug on multiple sites. On 
windows as well.

I walked into microcenter today and payed $12 for a cheap usb m$ft  keyboard to 
see if it had 
a reasonable feel. 

Not bad, and with it the bug is gone for now. I will report back.
I also bought a usb-to-ps2 connector for $15. I will try that too.

I just feel bad about the end of a hardware era, and I still have a cache of 
msft internet ps2 keyboards with
their good feel.

 
 2.  STFW for Linux and/or Debian support for your motherboard.
 Search.  Read.  Join.  Post.

What do you think my posts are about? I have researched and posted.
I have even tried reverting to the kbd input driver. You have
to give credit for my having found that on some combination of threads somewhere

https://forums.virtualbox.org/viewtopic.php?f=8t=55373sid=4c138a3bac92266f8464b4a9814350d4start=60

https://wiki.debian.org/XStrikeForce/InputHotplugGuide

http://forums.debian.net/viewtopic.php?f=7t=79756

I suppose I can try a second clean install to see if it still has the problem.
Or else just do it with a debian live distro.
but my sense is that we are not just  dealing with a corrupted  install.

Mitchell

 
 HTH,
 
 David
 
 
 
 -- 
 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/52cf6e59.8090...@holgerdanske.com
 


-- 
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/20140110055213.ga24...@earthlink.net



Re: further ideas on Re: Still bothered by annoying Re: new motherboard now Autorepeat of keys even when not pressed down

2014-01-09 Thread Mitchell Laks
On 22:12 Thu 09 Jan , John Hasler wrote:
 David Christensen writes:
  1.  Back up your data.  Disconnect all drives.  Install a new/
  different system drive and fill it with zeros.  Do a fresh install of
  the OS distribution of your choosing.  Test/ patch/ backport/
  etc. thoroughly. If/ when you're satisfied, you're done.
 
 Filling the drive with zeros is a waste of time.  Just tell the
 installer to take over the entire drive.  Doesn't matter what's on it.


I agree. Just follow the installer instructions and erase  the partitions. 

 -- 
 John Hasler 
 jhas...@newsguy.com
 Elmwood, WI USA
 
 
 -- 
 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/87txdc5vbo@thumper.dhh.gt.org
 


-- 
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/20140110055549.ga25...@earthlink.net



Still bothered by annoying Re: new motherboard now Autorepeat of keys even when not pressed down

2014-01-05 Thread Mitchell Laks

I wanted to see if I can rejuvenate this thread or if should I start a new one.

My debian  stable (now is sid but no new behavior) ps2 keyboards keep 
maniacally repeating keys.

 occasionally it seems almost spontaneous but likely i hit one return and it 
keeps typing return
until i hit another key then it stops.

when I try with another ps2 keyboard, same problem

no problem with a usb keyboard.

it started when I moved to a new motherboard with 6 core processor.

any ideas?

references

https://forums.virtualbox.org/viewtopic.php?f=2t=15055

Keyboard's maniacal repeating

http://kb.vmware.com/selfservice/microsites/search.do?language=en_UScmd=displayKCexternalId=196


http://www.raspberrypi.org/phpBB3/viewtopic.php?t=9331f=28
Keyboard repeating characters

any ideas what to do.
I may go buy a nice usb keyboard istead of this terrible one i would rather not 
use...


Mitchell


-- 
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/20140105134323.ga13...@earthlink.net



Re: Still bothered by annoying Re: new motherboard now Autorepeat of keys even when not pressed down

2014-01-05 Thread Mitchell Laks
On 19:57 Sun 05 Jan , Andrei POPESCU wrote:
 On Du, 05 ian 14, 08:43:23, Mitchell Laks wrote:
  
  I wanted to see if I can rejuvenate this thread or if should I start a new 
  one.
  
  My debian  stable (now is sid but no new behavior) ps2 keyboards keep 
  maniacally repeating keys.
  
   occasionally it seems almost spontaneous but likely i hit one return and 
  it keeps typing return
  until i hit another key then it stops.
  
  when I try with another ps2 keyboard, same problem
  
  no problem with a usb keyboard.
  
  it started when I moved to a new motherboard with 6 core processor.
  
  any ideas?
 
 Hmm, I remember I had some trouble with the PS/2 keyboard when I 
 dist-upgraded (to squeeze?) an old box of mine and the fix was some 
 kernel parameter. Let's see... aha, it was i8042.nopnp. Can't remember 
 what it does though.

very interesting I see the following

mlaks@Rashi:~$ dmesg|grep i8042
[1.220710] i8042: PNP: PS/2 Controller [PNP0303:PS2K] at 0x60,0x64 irq 1
[1.220711] i8042: PNP: PS/2 appears to have AUX port disabled, if this is 
incorrect please boot with i8042.nopnp
[1.220830] serio: i8042 KBD port at 0x60,0x64 irq 1
[1.239536] input: AT Translated Set 2 keyboard as 
/devices/platform/i8042/serio0/input/input0
mlaks@Rashi:~$ 



 
 You might also want to look into BIOS settings and/or upgrades, or using 
 a USB-to-PS/2 adapter if you want to keep the keyboard.

I have  already upgraded to teh latest bios. However I can 
both 
1. reboot with the kernel parameter
2. look at the bios setting to see what it means 

thank you very much Andrei!

 
 Kind regards,
 Andrei
I will  report back.
It costs about the same for a new keyboard or the converter
:)

 -- 
 http://wiki.debian.org/FAQsFromDebianUser
 Offtopic discussions among Debian users and developers:
 http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic
 http://nuvreauspam.ro/gpg-transition.txt



-- 
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/20140105205441.ga11...@earthlink.net



Re: Still bothered by annoying Re: new motherboard now Autorepeat of keys even when not pressed down

2014-01-05 Thread Mitchell Laks
On 15:54 Sun 05 Jan , Mitchell Laks wrote:
 very interesting I see the following
 
 mlaks@Rashi:~$ dmesg|grep i8042
 [1.220710] i8042: PNP: PS/2 Controller [PNP0303:PS2K] at 0x60,0x64 irq 1
 [1.220711] i8042: PNP: PS/2 appears to have AUX port disabled, if this is 
 incorrect please boot with i8042.nopnp
 [1.220830] serio: i8042 KBD port at 0x60,0x64 irq 1
 [1.239536] input: AT Translated Set 2 keyboard as 
 /devices/platform/i8042/serio0/input/input0
 mlaks@Rashi:~$ 

with the new kernel parameter fix I get 


mlaks@Rashi:~$ dmesg |grep i8042
[0.00] Command line: BOOT_IMAGE=/boot/vmlinuz-3.12-1-amd64 
root=UUID=a13e781b-8a7f-42f9-a7d2-20a1682a81eb ro quiet i8042.nopnp
[0.00] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.12-1-amd64 
root=UUID=a13e781b-8a7f-42f9-a7d2-20a1682a81eb ro quiet i8042.nopnp
[1.219983] i8042: PNP detection disabled
[1.220346] serio: i8042 KBD port at 0x60,0x64 irq 1
[1.220353] serio: i8042 AUX port at 0x60,0x64 irq 12
[1.240007] input: AT Translated Set 2 keyboard as 
/devices/platform/i8042/serio0/input/input0
mlaks@Rashi:~$ 


So far at least, I have not had the same repeated keypresses.

I wil continue to monitor.

Thank you.

A look at the bios shows a spot to shut off pnp in the  bios. I will consider 
that as well.

Thanks 
Mitchell

 
 
 
  
  You might also want to look into BIOS settings and/or upgrades, or using 
  a USB-to-PS/2 adapter if you want to keep the keyboard.
 
 I have  already upgraded to teh latest bios. However I can 
 both 
 1. reboot with the kernel parameter
 2. look at the bios setting to see what it means 
 
 thank you very much Andrei!
 
  
  Kind regards,
  Andrei
 I will  report back.
 It costs about the same for a new keyboard or the converter
 :)
 
  -- 
  http://wiki.debian.org/FAQsFromDebianUser
  Offtopic discussions among Debian users and developers:
  http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic
  http://nuvreauspam.ro/gpg-transition.txt
 
 
 
 -- 
 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/20140105205441.ga11...@earthlink.net
 


-- 
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/20140106043322.gb17...@earthlink.net



Re: how to configure pulseaudio to use analog speaker on motherboard not hdmi on video card

2014-01-04 Thread Mitchell Laks
On 09:58 Sat 04 Jan , Klaus wrote:
 On 03/01/14 20:50, Mitchell Laks wrote:
  ok so now we are ok
  vlc file.wmv works immediately
  Anyway, now no problem!!! I get beautiful sound right up when I start the
 
  So I guess I could have just turned off speech-dispacher in rc2.d
  I guess the myseql thing is weird, but does seem to affect sound..
  what is your take on this matter?
 
  Mitchell
 
 
 Mitchell, that was quite a radical cure, removing most of (?) KDE.

I like to have fun with my box. Even though it is my main computer.
However, i should be more careful: debian weather has been down for a week or 
two 
so I have no idea how badly  broken sid is these days 
and I may be boxing myself in to a corner

 Anyway, if it now works for you... Here are a couple of bugreports
 against speech-dispatcher that match your issues:
  #625235  speech-dispatcher: Combined with pulseaudio breaks ALSA
  #670740  speech-dispatcher: Prevents existing pulseaudio instance
 from working

correct that is the exact behavior
 
 Briefly to the mysql stuff: this time the 125 is the group id, not
 the user id.
 Have you confirmed that group id 29 belongs to group audio?

yep

mlaks@Rashi:~$ id
uid=1000(mlaks) gid=1000(mlaks) 
groups=1000(mlaks),20(dialout),24(cdrom),25(floppy),29(audio),40(src),44(video),46(plugdev),122(fuse)

So that seems to have solved it!

Thank you very much

Now   (you are really on the ball so I would love to ask you another question 
...) 
I will  start another thread 
about a problem with my keyboard 
It intermittently is typing unstopping repeated letters when I enter just one 
letter.

It is not a keyboard problem as it persists with a change to another keyboard.
Seems (perhaps) to have started with my switch to a new motherboard
with 6 multicore processer/ faster amd chip.

here are similar bug reports

https://forums.virtualbox.org/viewtopic.php?f=2t=15055

https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.15/+bug/39315

 
A friend suggested trying a USB keyboard instead of a ps2 one. Or putting a 
PS2-USB dongle in between.

I will try to substitute a usb keyboad to see, but it is very irritatting
and I am used to this keyboard for a while.

Any ideas?
I will start a new thread though.
Mitchell 

 
 
 -- 
 Klaus
 
 
 -- 
 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/52c7db4d.4060...@gmail.com
 


-- 
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/20140105015438.ga6...@earthlink.net



Re: how to configure pulseaudio to use analog speaker on motherboard not hdmi on video card

2014-01-03 Thread Mitchell Laks
 We might be getting there. See the two different users running
 pulseaudio, uid '125' and 'mlaks'. Who is this '125' anyway? I'd
 accuse them of hogging the audio sink, making it unavailable to
 'mlaks'. Here is a similar report: 
 http://ubuntuforums.org/showthread.php?t=2143157p=12650610#post12650610
 
 $ grep 125 /etc/passwd
 $ grep audio  /etc/group
 




ok so i did 

mlaks@Rashi:~$ grep 125 /etc/passwd
mysql:x:119:125:MySQL Server,,,:/var/lib/mysql:/bin/false
speech-dispatcher:x:125:29:Speech 
Dispatcher,,,:/var/run/speech-dispatcher:/bin/sh

strange
so lets get rd of speech dispatcher
i dont have a speech-reading-hearing problem anyway

so 

  Rashi:~# apt-get remove speech-dispatcher



The following packages will be REMOVED:
  akonadiconsole akregator amarok amor ark blinken blogilo bomber bovo 
calligraplan calligrasheets calligrastage calligrawords cantor
  cantor-backend-kalgebra cervisia cvsservice dolphin filelight granatier 
gwenview jovie juk k3b kaccessible kaddressbook kajongg kalarm kalgebra kalzium
  kanagram kapman kapptemplate karbon kate kate-plugins katomic kbattleship 
kblackbox kblocks kbounce kbreakout kbruch kbugbuster kcachegrind kcalc
  kcharselect kchmviewer kcolorchooser kde-baseapps kde-baseapps-bin 
kde-plasma-desktop kde-plasma-netbook kde-runtime kde-style-oxygen 
kde-window-manager
  kde-workspace kde-workspace-bin kdeaccessibility kdeadmin kdeartwork kdebase 
kdebase-apps kdebase-bin kdebase-runtime kdebase-workspace
  kdebase-workspace-bin kdeedu kdegames kdegraphics kdelibs-bin 
kdelibs5-plugins kdelirc kdemultimedia-kio-plugins kdenetwork kdepasswd kdepim
  kdepim-groupware kdepim-kresources kdepim-runtime kdepim-strigi-plugins 
kdepim-wizards kdeplasma-addons kdesdk kdesdk-dolphin-plugins kdesdk-kio-plugins
  kdesdk-misc kdetoys kdeutils kdewebdev kdf kdiamond kdm kexi kfilereplace 
kfind kfloppy kfourinline kgeography kget kgoldrunner kgpg khangman kig kigo
  kile kile-l10n killbots kimagemapeditor kinfocenter kiriki kiten kjots 
kjumpingcube kleopatra klettres klickety klines klinkstatus klipper kmag 
kmahjongg
  kmail kmenuedit kmines kmix kmousetool kmouth kmplot kmtrace knetwalk knode 
knotes kolf kollision kolourpaint4 kommander kompare konq-plugins konqueror
  konqueror-nsplugins konquest konsole konsolekalendar kontact kopete 
korganizer kpartloader kpat kplato kplayer kppp kpresenter krdc kremotecontrol
  krename kreversi krfb krita kruler ksame kscd kscreensaver 
kscreensaver-xsavers kshisen ksirk ksnapshot kspaceduel kspread ksquares kstars 
ksudoku
  ksysguard ksystemlog kteatime kthesaurus ktimer ktimetracker ktouch ktron 
kttsd ktuberling kturtle kubrick kuiviewer kuser kwalletmanager kweather kword
  kwordquiz kwrite libkateinterfaces4 libkdepim4 libkopete4 libmessagelist4 
libplasmaclock4abi3 libsmokekdecore4-3 libsmokekdeui4-3 libsmokekfile3
  libsmokekhtml3 libsmokekio3 libsmokeknewstuff2-3 libsmokeknewstuff3-3 
libsmokekparts3 libsmokektexteditor3 libsmokekutils3 libsmokeplasma3
  libtaskmanager4abi3 lokalize lskat marble mplayerthumbs okteta okular 
palapeli parley plasma-dataengines-workspace plasma-desktop plasma-netbook
  plasma-runners-addons plasma-scriptengine-python plasma-scriptengine-ruby 
plasma-scriptengine-superkaramba plasma-scriptengines plasma-widget-lancelot
  plasma-widgets-addons plasma-widgets-workspace polkit-kde-1 python-kde4 rocs 
ruby-kde4 ruby-plasma speech-dispatcher step sweeper systemsettings umbrello
The following NEW packages will be installed:


oops!

well I have been 1/2 sid since I moved to the kernel 3.12.1 to get the  radeon 
driver to work nicely with xrandr so some changes are in store

ok lets go for it. we only live once
I can always install something again if I need it, dont recognize any of the 
kde stuff as useful on my stumpwm setup anyway...
:)

ok so now we are ok
vlc file.wmv works immediately
Anyway, now no problem!!! I get beautiful sound right up when I start the 

So I guess I could have just turned off speech-dispacher in rc2.d
I guess the myseql thing is weird, but does seem to affect sound..
what is your take on this matter?

Mitchell




 Here's a snipped I found on the ArchWiki Alsa pages:
 Membership in the audio group also allows direct access to devices,
 which can lead to applications grabbing exclusive output (breaking
 software mixing) (snip) Therefore, adding a user to the audio group
 is not recommended, unless you specifically need to[1].
 
 [1] https://wiki.ubuntu.com/Audio/TheAudioGroup;
 
 So, once you find out who '125' is, let's see whether you can then
 stop that process monopolising the audio card0.
 
 BTW, killing and restarting the current user's PA process should be
 much easier than what you do:
 
 $ pulseaudio -k
 
 The default behaviour is to automatically respawn a process.
 
 $ grep spawn /etc/pulse/client.conf
 ; autospawn = yes
 
 -- 
 Klaus
 
 
 -- 
 To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a
 subject of unsubscribe. Trouble? Contact

Re: how to configure pulseaudio to use analog speaker on motherboard not hdmi on video card

2014-01-01 Thread Mitchell Laks
On 22:53 Wed 01 Jan , Klaus wrote:
 
 So, even just after reboot and as it would be expected, the two
 cards are listed by alsa, and yet, first time round PA doesn't find
 them both. When you restart PA, they are correctly identified and
 subsequently functional through PA. How odd.
 
 I don't really know now: I'd probably try whether card0 is
 functional in alsa before you restart PA:
 
 $ aplay -D front sound-file.wav


Before I kill pa the first time:

mlaks@Rashi:~$ aplay -D front piano2.wav 
aplay: main:682: audio open error: Device or resource busy

then I do:

mlaks@Rashi:~$ ps aux|grep pulse
125   5074 14.4  0.0 457064  7192 ?Sl   21:13   1:07 
/usr/bin/pulseaudio --start --log-target=syslog
125   5570  0.0  0.0 117148  3204 ?S21:13   0:00 
/usr/lib/pulseaudio/pulse/gconf-helper
mlaks 6601  0.0  0.0 311224  6432 ?Sl  21:20   0:00 
/usr/bin/pulseaudio --start --log-target=syslog
mlaks 6608  0.0  0.0 117120  3172 ?S21:20   0:00 
/usr/lib/pulseaudio/pulse/gconf-helper
mlaks 6629  0.0  0.0   8528   876 pts/2S+   21:21   0:00 grep pulse

then as root I kill 5074 and and 6601

After I kill pa

mlaks@Rashi:~$ aplay -D front piano2.wav 
aplay: main:682: audio open error: Device or resource busy




 
 (there are some files under /usr/share/sounds/ )
 AFAIK udev should have initiated loading the sound modules, and if
 the above aplay cmd doesn't work, I'd check
 
 $ lsmod | grep snd

I did this after restarting pa and it says


Rashi:/home/mlaks# lsmod |grep snd
snd_hda_codec_hdmi 35722  1 
snd_hda_codec_via  22798  1 
snd_hda_intel  39672  4 
snd_hda_codec 146743  3 
snd_hda_codec_hdmi,snd_hda_codec_via,snd_hda_intel
snd_hwdep  13148  1 snd_hda_codec
snd_pcm_oss44847  0 
snd_mixer_oss  22042  1 snd_pcm_oss
snd_pcm84096  4 
snd_pcm_oss,snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel
snd_page_alloc 17114  2 snd_pcm,snd_hda_intel
snd_seq_midi   12848  0 
snd_seq_midi_event 13316  1 snd_seq_midi
snd_rawmidi26805  1 snd_seq_midi
snd_seq48834  2 snd_seq_midi_event,snd_seq_midi
snd_seq_device 13132  3 snd_seq,snd_rawmidi,snd_seq_midi
snd_timer  26614  2 snd_pcm,snd_seq
snd60869  20 
snd_pcm_oss,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_hda_codec_via,snd_pcm,snd_seq,snd_rawmidi,snd_hda_codec,snd_hda_intel,snd_seq_device,snd_mixer_oss



 
 Are there any pulseaudio related messages in syslog?
 
 $ grep -i pulse /var/log/syslog
 



Rashi:/home/mlaks# grep -i pulse /var/log/syslog
Jan  1 00:52:57 Rashi pulseaudio[9010]: [pulseaudio] module-jackdbus-detect.c: 
Unable to contact D-Bus session bus: org.freedesktop.DBus.Error.NotSupported: 
Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
Jan  1 00:52:57 Rashi pulseaudio[9010]: [pulseaudio] module.c: Failed to load 
module module-jackdbus-detect (argument: channels=2): initialization failed.
Jan  1 00:52:57 Rashi pulseaudio[9010]: [pulseaudio] main.c: Module load failed.
Jan  1 00:52:57 Rashi pulseaudio[9010]: [pulseaudio] server-lookup.c: Unable to 
contact D-Bus: org.freedesktop.DBus.Error.NotSupported: Unable to autolaunch a 
dbus-daemon without a $DISPLAY for X11
Jan  1 00:52:57 Rashi pulseaudio[9010]: [pulseaudio] main.c: Unable to contact 
D-Bus: org.freedesktop.DBus.Error.NotSupported: Unable to autolaunch a 
dbus-daemon without a $DISPLAY for X11
Jan  1 00:52:57 Rashi pulseaudio[9010]: [pulseaudio] bluetooth-util.c: 
org.bluez.Manager.GetProperties() failed: 
org.freedesktop.DBus.Error.AccessDenied: Rejected send message, 2 matched 
rules; type=method_call, sender=:1.67 (uid=125 pid=9010 
comm=/usr/bin/pulseaudio --start --log-target=syslog ) 
interface=org.bluez.Manager member=GetProperties error name=(unset) 
requested_reply=0 destination=org.bluez (uid=0 pid=4606 
comm=/usr/sbin/bluetoothd )
Jan  1 08:47:37 Rashi pulseaudio[8196]: [alsa-sink-VT1708S Analog] alsa-sink.c: 
Error opening PCM device front:0: Device or resource busy
Jan  1 08:48:21 Rashi rtkit-daemon[4852]: Successfully made thread 15287 of 
process 15287 (/usr/bin/pulseaudio) owned by '1000' high priority at nice level 
-11.
Jan  1 08:48:21 Rashi rtkit-daemon[4852]: Successfully made thread 15289 of 
process 15287 (/usr/bin/pulseaudio) owned by '1000' RT at priority 5.
Jan  1 08:48:21 Rashi rtkit-daemon[4852]: Successfully made thread 15290 of 
process 15287 (/usr/bin/pulseaudio) owned by '1000' RT at priority 5.
Jan  1 21:13:56 Rashi pulseaudio[5074]: [pulseaudio] module-jackdbus-detect.c: 
Unable to contact D-Bus session bus: org.freedesktop.DBus.Error.NotSupported: 
Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
Jan  1 21:13:56 Rashi pulseaudio[5074]: [pulseaudio] module.c: Failed to load 
module module-jackdbus-detect (argument: channels=2): initialization failed.
Jan  1 21:13:56 Rashi pulseaudio[5074]: [pulseaudio] main.c: Module load 

Re: how to configure pulseaudio to use analog speaker on motherboard not hdmi on video card

2013-12-31 Thread Mitchell Laks
On 08:01 Tue 31 Dec , Paul Cartwright wrote:
 On 12/31/2013 12:33 AM, Mitchell Laks wrote:
  My problem is: 
  When I boot up I can't hear sound from vlc application nor iceweasel  via  
  my speakers connected
  to the motherboard 
  (nor even via the HDMI cable to my monitor - but I prefer the speakers and 
  not the monitor HDMI).
 everytime I install PulseAudio it reverts to the wrong ( motherboard?)
 audio card for every application. Everytime I start to play sound from
 something new, browser, VLC I have to pull up PulseAudio and change
 it to my Soundblaster card, then I get sound. It freaked me out the
 first time, but know I know..

Paul,
I am glad that I am crazy, and unfortunately  not the only one suffering.
However
1. My situation, on bootup pulseaudio only recognizes the bad card
2. I have to kill it then I can select correct one, either by pacmd or 
gnome-control-center if I have a desire to run a gui.
3. Surely we have someone on the list who knows what we can do to configure the 
pulseaudio startup to select the correct devices?
Mitchell
  


-- 
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/20131231145328.ga19...@earthlink.net



Re: how to configure pulseaudio to use analog speaker on motherboard not hdmi on video card

2013-12-31 Thread Mitchell Laks
Ok here is the data.

I Did a fresh reboot of machine

mlaks@Rashi:~$ aplay -L
null
Discard all samples (playback) or generate zero samples (capture)
pulse
PulseAudio Sound Server
default
Playback/recording through the PulseAudio sound server
sysdefault:CARD=SB
HDA ATI SB, VT1708S Analog
Default Audio Device
front:CARD=SB,DEV=0
HDA ATI SB, VT1708S Analog
Front speakers
surround40:CARD=SB,DEV=0
HDA ATI SB, VT1708S Analog
4.0 Surround output to Front and Rear speakers
surround41:CARD=SB,DEV=0
HDA ATI SB, VT1708S Analog
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=SB,DEV=0
HDA ATI SB, VT1708S Analog
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=SB,DEV=0
HDA ATI SB, VT1708S Analog
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=SB,DEV=0
HDA ATI SB, VT1708S Analog
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=SB,DEV=0
HDA ATI SB, VT1708S Digital
IEC958 (S/PDIF) Digital Audio Output
hdmi:CARD=HDMI,DEV=0
HDA ATI HDMI, HDMI 0
HDMI Audio Output
hdmi:CARD=HDMI,DEV=1
HDA ATI HDMI, HDMI 1
HDMI Audio Output
hdmi:CARD=HDMI,DEV=2
HDA ATI HDMI, HDMI 2
HDMI Audio Output
hdmi:CARD=HDMI,DEV=3
HDA ATI HDMI, HDMI 3
HDMI Audio Output
mlaks@Rashi:~$ aplay -l
 List of PLAYBACK Hardware Devices 
card 0: SB [HDA ATI SB], device 0: VT1708S Analog [VT1708S Analog]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 0: SB [HDA ATI SB], device 1: VT1708S Digital [VT1708S Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 9: HDMI 3 [HDMI 3]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 10: HDMI 4 [HDMI 4]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 11: HDMI 5 [HDMI 5]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
mlaks@Rashi:~$ 

--
Then
tried to run a sound application (vlc ) no sound

then I did 
pacmd

mlaks@Rashi:~$ pacmd
Welcome to PulseAudio! Use help for usage information.
 list-sinks
1 sink(s) available.
  * index: 0
name: alsa_output.pci-_01_00.1.hdmi-stereo
driver: module-alsa-card.c
flags: HARDWARE DECIBEL_VOLUME LATENCY FLAT_VOLUME DYNAMIC_LATENCY
state: SUSPENDED
suspend cause: IDLE 
priority: 9050
volume: 0: 100% 1: 100%
0: 0.00 dB 1: 0.00 dB
balance 0.00
base volume: 100%
 0.00 dB
volume steps: 65537
muted: no
current latency: 0.00 ms
max request: 0 KiB
max rewind: 0 KiB
monitor source: 0
sample spec: s16le 2ch 48000Hz
channel map: front-left,front-right
 Stereo
used by: 0
linked by: 0
configured latency: 0.00 ms; range is 0.50 .. 341.33 ms
card: 0 alsa_card.pci-_01_00.1
module: 5
properties:
alsa.resolution_bits = 16
device.api = alsa
device.class = sound
alsa.class = generic
alsa.subclass = generic-mix
alsa.name = HDMI 0
alsa.id = HDMI 0
alsa.subdevice = 0
alsa.subdevice_name = subdevice #0
alsa.device = 3
alsa.card = 1
alsa.card_name = HDA ATI HDMI
alsa.long_card_name = HDA ATI HDMI at 0xfbe9c000 irq 44
alsa.driver_name = snd_hda_intel
device.bus_path = pci-:01:00.1
sysfs.path = 
/devices/pci:00/:00:02.0/:01:00.1/sound/card1
device.bus = pci
device.vendor.id = 1002
device.string = hdmi:1
device.buffering.buffer_size = 65536
device.buffering.fragment_size = 32768
device.access_mode = mmap+timer
device.profile.name = hdmi-stereo
device.profile.description = Digital Stereo (HDMI)
device.description = HDA ATI HDMI Digital Stereo (HDMI)
alsa.mixer_name = ATI R6xx HDMI
alsa.components = HDA:1002aa01,00aa0100,00100300
module-udev-detect.discovered = 1
device.icon_name = audio-card-pci
ports:
hdmi-output-0: HDMI / DisplayPort (priority 5900, latency 
offset 0 usec, available: yes)
properties:
device.icon_name = video-display
active port: hdmi-output-0


how to configure pulseaudio to use analog speaker on motherboard not hdmi on video card

2013-12-30 Thread Mitchell Laks
Hi,

On my machine, which was installed long ago, and recently upgraded with new 
motherboard
and new video card which has an HDMI interface, I am having difficulities with 
pulseaudio.

My problem is: 
When I boot up I can't hear sound from vlc application nor iceweasel  via  my 
speakers connected
to the motherboard 
(nor even via the HDMI cable to my monitor - but I prefer the speakers and not 
the monitor HDMI).


When I  boot, my machine pulseaudio selects a HDMI sound device (on the video 
card I guess)
while  I would like it to select the analog sound card on the motherboard.  

Additonally pulseaudio seems not to recognize the analog sink on the 
motherboard initially
at all.

Thus:
After I startup X and then run

mlaks@Rashi:~$ pacmd
No PulseAudio daemon running, or not running as session daemon.

So I run

mlaks@Rashi:~$ start-pulseaudio-x11
mlaks@Rashi:~$ pacmd
Welcome to PulseAudio! Use help for usage information.
 list-sinks
1 sink(s) available.
  * index: 0
name: alsa_output.pci-_01_00.1.hdmi-stereo
driver: module-alsa-card.c
flags: HARDWARE DECIBEL_VOLUME LATENCY FLAT_VOLUME DYNAMIC_LATENCY
state: SUSPENDED
suspend cause: IDLE 
priority: 9050
volume: 0: 100% 1: 100%
0: 0.00 dB 1: 0.00 dB
balance 0.00
base volume: 100%
 0.00 dB
volume steps: 65537
muted: no
current latency: 0.00 ms
max request: 0 KiB
max rewind: 0 KiB
monitor source: 0
sample spec: s16le 2ch 44100Hz
channel map: front-left,front-right
 Stereo
used by: 0
linked by: 0
configured latency: 0.00 ms; range is 0.50 .. 371.52 ms
card: 0 alsa_card.pci-_01_00.1
module: 5
properties:
alsa.resolution_bits = 16
device.api = alsa
device.class = sound
alsa.class = generic
alsa.subclass = generic-mix
alsa.name = HDMI 0
alsa.id = HDMI 0
alsa.subdevice = 0
alsa.subdevice_name = subdevice #0
alsa.device = 3
alsa.card = 1
alsa.card_name = HDA ATI HDMI
alsa.long_card_name = HDA ATI HDMI at 0xfbe9c000 irq 44
alsa.driver_name = snd_hda_intel
device.bus_path = pci-:01:00.1
sysfs.path = 
/devices/pci:00/:00:02.0/:01:00.1/sound/card1
device.bus = pci
device.vendor.id = 1002
device.string = hdmi:1
device.buffering.buffer_size = 65536
device.buffering.fragment_size = 32768
device.access_mode = mmap+timer
device.profile.name = hdmi-stereo
device.profile.description = Digital Stereo (HDMI)
device.description = HDA ATI HDMI Digital Stereo (HDMI)
alsa.mixer_name = ATI R6xx HDMI
alsa.components = HDA:1002aa01,00aa0100,00100300
module-udev-detect.discovered = 1
device.icon_name = audio-card-pci
ports:
hdmi-output-0: HDMI / DisplayPort (priority 5900, latency 
offset 0 usec, available: yes)
properties:
device.icon_name = video-display
active port: hdmi-output-0

 list-cards
1 card(s) available.
index: 0
name: alsa_card.pci-_01_00.1
driver: module-alsa-card.c
owner module: 5
properties:
alsa.card = 1
alsa.card_name = HDA ATI HDMI
alsa.long_card_name = HDA ATI HDMI at 0xfbe9c000 irq 44
alsa.driver_name = snd_hda_intel
device.bus_path = pci-:01:00.1
sysfs.path = 
/devices/pci:00/:00:02.0/:01:00.1/sound/card1
device.bus = pci
device.vendor.id = 1002
device.string = 1
device.description = HDA ATI HDMI
module-udev-detect.discovered = 1
device.icon_name = audio-card-pci
profiles:
output:hdmi-stereo: Digital Stereo (HDMI) Output (priority 
5400, available: unknown)
off: Off (priority 0, available: unknown)
active profile: output:hdmi-stereo
sinks:
alsa_output.pci-_01_00.1.hdmi-stereo/#0: HDA ATI HDMI 
Digital Stereo (HDMI)
sources:
alsa_output.pci-_01_00.1.hdmi-stereo.monitor/#0: Monitor of 
HDA ATI HDMI Digital Stereo (HDMI)
ports:
hdmi-output-0: HDMI / DisplayPort (priority 5900, latency 
offset 0 usec, available: yes)
properties:
device.icon_name = video-display



Then I do the following 
I run this script:

#!/bin/bash
for i in 

new motherboard now Autorepeat of keys even when not pressed down

2013-12-08 Thread Mitchell Laks
Hi,

I recently upgraded my motherboard to an asus  M4A77TD
motherboard with a new CPU.

I am not sure when this problem developed, but it may be related to the above.

Frequently when I type now, and i use the key b or d (for instance many other 
letters such as space etc as well)
i get an endless stream of repetition of that key thus

dd

and it will just keep on typing until I hit any key and then it stops.
 
This happens multiple times every few minutes and is quite annoying.

I tried 
setting 
xset -r 
and this was very annoying because you sometimes want repetition.
I tried directly to 
xset r rate 500 30 or
xse r rate 1000  30
but still I get this annoying repetition which 
i very irritatimg with say the 
conkeror browser as b keeps trying to back up the browser
and filling in web forms gives me endless spaces or
endless carriage returns at the commond line in a console.

I tried to 
dpkg-reconfigure xserver-xorg-input-evdev as well 
dpkg-reconfigure xserver-xorg-input-all

any other ideas to try?

It seems related to these problems


http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=467040


https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-input-evdev/+bug/599316

Of course this is a machine running 
wheezy, but was installed some many previous debian versions  time ago.

Thank you,
  
Mitchell Laks



-- 
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/20131208202022.ga17...@earthlink.net



Re: new motherboard now Autorepeat of keys even when not pressed down

2013-12-08 Thread Mitchell Laks
On 21:32 Sun 08 Dec , Claudius Hubig wrote:
 Dear Mitchell,
 
 Mitchell Laks wrote:
  I recently upgraded my motherboard to an asus  M4A77TD
  motherboard with a new CPU.
  
  dd
 
 As a starting point, you could try to switch to one of the
 pseudoterminals (Ctrl+Alt+F1) and check whether it also happens
 there. If it does, try to boot from a live CD and check there – if it
 also happens there, it might well be some hardware issue. If it
 doesn’t, we know that it’s a software problem.

1. The buggy behavior continues even in spite of a change to a new keyboard. So 
it isnt a keyboard hardware issue.

2. As to whether it is a true motherboard hardware issue vs X windows 
configuration and thus potentially solved  by a switch to a pseudoterminal?

I agree that working in the pseudoterminals may  help sort  this out, but I am 
in a bind here. 

(While writing this letter it just happened again!!! 
keyboard kept typing spaces.
many lines worth, till i hit any key and it stopped.)

If you google you will see this is reported by many people, likely X related

it is not a n unheard of problem, and different explanations are offfered.
 
However I can't just shift to a  pseudoterminal, because If I  work in a 
pseudoterminal 
I can edit with emacs of course, 
but
I can't read  pdf files and  surf the web etc

 and moreover with my modern ATI radeon type card, when I tried to use the  the 
open source radeon driver 
it fails to to recognize my dual monitor setup,  So I must use the propriatary  
ati/amd video drivers
and then these ban the radeon module so I get no nice framebuffer so
 when i go to a pseudoterminal  
I get only a large ugly font (think Dos 3.1 days) with 20-25  lines per screen.

:)


So to satisfy your curiousity I opened emacs and typed some lines in tty2 , and 
and manical repetivive letters  did not happen in the pseudoterminal.

So I think it is an x configuration thing.

There are all these settings like

xset r 
sticky keys 

If I google 

linux annoying keys repetition I come with many others complaining of a similar 
/ identical problem:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=467040
xserver-xorg-input-kbd: Lag problem on my keyboard - keys repetition

 
https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-input-evdev/+bug/599316
keyboard starts repeating the last pressed key 


Thus I  am looking for an idea what to try to get rid of the problem,
presuming it is an X configuration issue or perhaps as suggested a problem with 
Sticky Keys

Thanks, 
Mitchell 


-- 
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/20131209030159.ga8...@earthlink.net



Re: new motherboard now Autorepeat of keys even when not pressed down

2013-12-08 Thread Mitchell Laks
On 20:35 Sun 08 Dec , Ron Leach wrote:
 On 08/12/2013 20:20, Mitchell Laks wrote:
 
 Frequently when I type now, and i use the key b or d (for instance many 
 other letters such as space etc as well)
 i get an endless stream of repetition of that key thus
 
 dd
 
 and it will just keep on typing until I hit any key and then it stops.
 
 [snip]
 
 any other ideas to try?
 
 
 I had this on a recent Wheezy install.  In my case it was unrelated
 to our also-simultaneous hardware change, it seemed that a desktop
 function named 'Sticky Keys' had been invoked.  I wasn't sure how,
 but I had used the keyboard while reaching awkwardly for something,
 and must have triggered the function.  Though it asked for
 confirmation, I didn't see the dialog, and must have 'accepted' its
 offer.
 
 Fortunately, the dialog came up again later, and I declined it;
 things have been fine, since.
 
 I don't know what the function is or how it is controlled, but it
 might be worth checking, if you can find some info somewhere.
 
 regards, Ron

according to wikipedia:

Sticky Keys is an accessibility feature to help computer users who have 
physical disabilities, but it is also used by others as a means to reduce 
repetitive strain injury (or a syndrome called the Emacs Pinky). It essentially 
serializes keystrokes instead of pressing multiple keys at a time: StickyKeys 
allows the user to press and release a modifier key, such as Shift, Ctrl, Alt, 
or the Windows key, and have it remain active until any other key is pressed.

History

Microsoft first introduced StickyKeys with Windows 95. The feature is also used 
in later versions of Windows.
Enabling
To enable this shortcut, the ⇧Shift key must be pressed 5 times in short 
succession.
This feature can also be turned on and off via the Accessibility icon in the 
Windows Control Panel.
To turn off once enabled, just simply press 3 or more of the Sticky Keys (Ctrl, 
Alt, Shift, Windows Button) at the same time.


Ok i have pressed ctl-alt-shift at the same time
and let us see what happens
(i then did ctl-alt again to get cancel my switch to a secondary language 
keyboard :) )

Let us see what happens now.
Who knows what is going on 
Mitchell


-- 
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/20131209031728.gb8...@earthlink.net



new radeon R7770 wont give double monitor with wheezy. stuck using proprietary drivers how to get nice font console on bootup?

2013-11-16 Thread Mitchell Laks
Hi,

I have used nvidia cards before. I decided to try radeon because reputed better 
support :(

I tried the radeon driver.
in X got only duplicate copies of the same screen on both monitors.
xrandr only reported a single Screen stanza.

However what is nice is that with radeon during boot up to console mode before 
starting startx
I get nice small fonts similar to framebuffer on bootup into old nvidia using 
nouveau module.

thus with the radeon driver
using the stock 3.2.0-4 kernel
only get duplicate data on my two monitors 
which is awful, also very slow glxgears, and nice framebuffer on console 

so now using the fglrx  module

I get nice hardware acceleration
ie glxgears goes 40x faster than on radeon driver

i get nice dual monitor setup using expanded virtual screen  and using xrandr 
to place the two screen stanzas DFP5 and  DFP7

however when I do alt-ctl F2 i have really ugly console with ugly fonts
because the radeon driver is banned.
what to do to get a nice console framebuffer on the tty's???

thanks
mitchell


-- 
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/20131117023420.ga10...@earthlink.net



debian weather not giving weather for sid last couple of days?

2013-10-10 Thread Mitchell Laks
Hi,
Last couple of days, the debian weather page
http://edos.debian.net/weather/
has not given the weather for unstable, with no explanation.
Does anyone know what is going on?
Sounds ominous.
Thanks
Mitchell


-- 
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/20131010132130.ga7...@earthlink.net



Re: dpkg --clear-selections seems to empty most of the packages on my system ugh

2013-04-02 Thread Mitchell Laks
 
 I'd probably have just reinstalled.

I am doing it now.

 So, 1) minimal install.

My plan. 

 Then 2) add packages. And here's where for you, by the sound of it,
 it's been a few years, it might take a few hours of trying to run the
 things you want on your server, and discovering what you have to
 install to do that.
 
 Keep that list of names of things you've installed.
 
 Now you have _your_ personal-server-minimum-install (pretty much).

I guess I will do that.

I guess I was looking for a  up to date tutorial on 
how 
dpkg --get-selections 
dpkg --set-selections
and 
apt-get dselect-upgrade 
is supposed to work and 

in particular what is the role of
clear-selections
which when i did it and then looked at the output of 
dpkg --get-selections see-what-is-set-now

showed me most of my packages ready to be zapped.

I then converted all of the remove to install
and it still removed the whole system
which i found amusing.

in the past i used this
http://panuganty.tripod.com/debiantips/packaging.htm

but it seems out of date

Thanks
Mitchell


-- 
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/20130403043646.ga6...@earthlink.net



dpkg --clear-selections seems to empty most of the packages on my system ugh

2013-03-31 Thread Mitchell Laks
Hi

I am setting up a server. I have done it in the past using 

dpkg --set-selections server_install_list
apt-get dselect-upgrade

where server_install_list is a list of packages described below

after first doing a regular insinstall of the full desktop packages (i really 
dont need the whole desktop).

Now my server_install_list was made many years ago from packages on old 
versions of debian  

perhaps it was sarge or etch.

So I was playing around and looking at  the many packages that were renamed or 
no longer exist 

and i got the messages like

dpkg: warning: package not in database at line 1: aalib-bin

which made sense cause now it is called libaa-bin
(
and even more important there is no reason for that package, it is just there 
because i created 
 the list server_install_list from all the packages of my old sarge system, 

dpkg --get-selections  server_install_list

many years ago
and I didn't care to limit what 
junk was there long ago when I did that.
)

Now I also got messages like

dpkg: warning: package not in database at line 1: gpm

but clearly there still is a packages gpm.

So I googled around and found this page

http://forums.debian.net/viewtopic.php?f=17t=79006

and so I installed the 

dselect
package, which seems to be a new thing.

Then I googled and saw that I had to do 

dselect access
dselect update
which seems to be new from old days.


 
Now, I was playing around and I did


dpkg --clear-selections

then 

dpkg --set-selections fixed_server_install_list

then apt-get dselect_upgrade

took out much of my system. That was quite unpleasant.

I saved the kernal :)

So then to rescue myself I installed tasksel and I installed the desktop system 
again.

Ok what is the approved method  to add a bunch of packages to the system
without getting munged??

Thanks
Mitcell


-- 
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/20130331221355.ga31...@earthlink.net



Re: [POSSIBLE SPAM] Re: use a 3TB WD Mybook on old etch system kernel 2.6.18-6-486. parted 1.7.1 has bugs. can I use modern parted on other system and move over drive

2013-03-22 Thread Mitchell Laks
 ok so I will try it tomorrow. 
 Thank you very much
 I will report back
 
 Mitchell

And the answer is:

The drive was not recognized as partitioned  and formated as two ext3 
partitions of size 1.5T.
even after I partitioned it on a modern sid system. 
The old debian kernel 2.6-18-2 recognized the gpt identity, but would not mount 
the drive.

Oh well, I will have to take the machine down and update before backup.

Thanks


-- 
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/20130322215938.ga6...@earthlink.net



Re: [POSSIBLE SPAM] Re: use a 3TB WD Mybook on old etch system kernel 2.6.18-6-486. parted 1.7.1 has bugs. can I use modern parted on other system and move over drive

2013-03-16 Thread Mitchell Laks
On 23:32 Fri 15 Mar , Amit Uttamchandani wrote:
 Should work...
 
 Looking at the code for 2.6.18.6 it does have support for
 EFI partition scheme (GPT).
 
 To confirm if your kernel has support for it search
 EFI_PARTITION in /proc/config.gz or /boot/config
 to see if EFI partition is defined.

 cat /boot/config-2.6.18-6-486 |grep EFI
CONFIG_EFI_VARS=m
CONFIG_EFI=y
CONFIG_EFI_PARTITION=y
A1:~# q

ok so I will try it tomorrow. 
Thank you very much
I will report back

Mitchell


-- 
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/20130317033211.ga8...@earthlink.net



use a 3TB WD Mybook on old etch system kernel 2.6.18-6-486. parted 1.7.1 has bugs. can I use modern parted on other system and move over drive

2013-03-15 Thread Mitchell Laks
Hi,

I need to back up a lot of data from old etch system running kernel 2.6.18-6#1
System is remote from where I am. I had them connect a 3Terabyte mybook from wd.

unfortunately I am running into the fdisk doesnt work with 3T drives problem, 
so i installed
parted, and old parted on this legacy system (etch) which is 1.7.1 
failed to create the partitions and 
confessed to me

*
You found a bug in GNU Parted! Here's what you have to do:

Don't panic! The bug has most likely not affected any of your data.
Help us to fix this bug by doing the following:

Check whether the bug has already been fixed by checking
the last version of GNU Parted that you can find at:

http://ftp.gnu.org/gnu/parted/

Please check this version prior to bug reporting.

If this has not been fixed yet or if you don't know how to check,
please visit the GNU Parted website:

   http://www.gnu.org/software/parted

for further information.

Your report should contain the version of this release (1.7.1)
along with the error message below, the output of

  parted DEVICE unit co print unit s print

and additional information about your setup you consider important.

Error: A general SIGSEGV signal was encountered.Aborted

***

So I had the remote people
take the drive to a more modern sid machine 
and
using parted version 2.3 
I was able to create a gpt partition table
and partition into two 1.5TB partitions with ext3.

So my  question is, will the two  partitions be mountable and usable on the 
original ext3 system?

I am hoping the answer is yes. It will take a few long drives back and forth to 
find out :)

Thanks
Mitchell 


-- 
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/20130315211109.ga26...@earthlink.net



lvm2 size of logical volume after lvcreate --size 348g after mkfs.ext3 -m 0 is only 343 gigabytes?

2013-02-14 Thread Mitchell Laks

Hi I am trying to backup a volume which has size 347G. So I thought to use lvm2.
So I created a volumeby

lvcreate -n test --size 348G my-volume

I thought I would be giving myself an extra Gigabyte there :).

then i did
mkfs.ext3 -m0 /dev/my-volume/test

then when I mounted the device
mount /dev/my-volume/test /mnt

then df -h
only shows 343G instead of 348G.

Note that tune2fs shows that I have indeed have 0 reserved blocks 
(ie mkfs.ext3 -mo /dev/my-volume/test is equivalent to tune2fs -m0 
/dev/my-volume/test

So my question is where have those extra 5G gone to?

I need to back up a 347.

So I had tp set it up with 353G to have the correct size.

Can anyone explain this to me? 
What kind of formula to use to calculate how much space I will need in 
advance for creating the ext3 or in the future ext4 file system? 5G seems
like a lot.

Thanks,
Mitchell Laks 


-- 
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/20130214191533.ga19...@earthlink.net



Re: lvm2 size of logical volume after lvcreate --size 348g after mkfs.ext3 -m 0 is only 343 gigabytes?

2013-02-14 Thread Mitchell Laks
On 20:34 Thu 14 Feb , emmanuel segura wrote:
 man tune2fs
 
   -r reserved-blocks-count
   Set the number of reserved filesystem blocks.
 
 be careful with filesystem reserved block, one time i had a production
 server with / corrupted
 

I have a very specific use here.

I am using this partition only for 1 time backup of static data, on a backup 
machine.

I am confused.

I had set the reseved block count to 0 with the 
tune2fs -m0 option.

This is because I dont use this device  for system  or root. Just data storage.

However I see on the system currently (after only doing tune2fs -m0)

1. File system features of resize_inode
2. Reserved  block count 0
3. Reserved GDT blocks 1002

what is the idea here of tune2fs  -r? 
It says currently that  reserved block count is 0. 

Should  I want to get rid f the GDT blocks? 
Are they the only culprit remaining?
Are they only used for resizing? 
I will not need to resize once I do my full data backup to this partition. 

I am confused because I don't understand the -r option vs the -m 0  option.

According to the following comment from Theodore Tso author of ext2/3/4

http://www.redhat.com/archives/ext3-users/2006-May/msg8.html

 
 1) what does the Reserved GDT blocks mean? and what
 are its functions and purposes?

It means that blocks have been reserved in order to allow on-line
resizing.  The filesystem will also have resize_inode in the
filesystem features line reported by dumpe2fs.  This is most useful if
the filesystem has been created on a Logical Volume managed by an LVM
system so that when the LV is expanded, the filesystem can take
advantage of the new disk space without needing to unmount the
filesystem first.

Filesystems that don't have this set can of course still be resized
off-line using resize2fs.


I want to understand. Does the -r option turn off the reside_inode reserved 
space?? what number to put after -r?
Is that what I want to do?
Are there any good online references to the next step to get back space, if it 
is safe to do?

Thanks 
Mitchell


-- 
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/20130214203617.gb19...@earthlink.net



Re: lvm2 size of logical volume after lvcreate --size 348g after mkfs.ext3 -m 0 is only 343 gigabytes?

2013-02-14 Thread Mitchell Laks
On 17:31 Thu 14 Feb , Bob Proulx wrote:
 Times change so this info may be out of date with the newer
 filesystems but at one time journal filesystems needed filesystem
 space for the journal and also space needs to be allocated for the
 inodes.  (See 'df -i' output.)  I assume LVM will need some space too.
 There is always overhead.
 
 Bob

I agree Bob. I was just suprised at how much space 5-6GB is eaten up by the 
overhead. I have several 8G USB drives
and remember using 5 1/4 inch drives. To throw away 5 gb even though it is only 
 1.42% of the drive as formated
seems like alot. I am being silly I guess.

For the record:
I  formated  the partition wih 
mkfs.ext3 -m0 -O ^resize_inode  /dev/mypartions 
it did not save any significant space compared 
with 
mkfs.ext3 -m0   /dev/mypartions 
so I left it the way it was earlier.

I guess I am resigned to wasting 5G on a 354G partition.

So it goes.

Thanks!

Mitchell




-- 
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/20130215061917.ga25...@earthlink.net



added second /dev/md1 to system by hand into /etc/fstab and system won't boot cause udev doesnt create device /dev/md1

2012-10-20 Thread Mitchell Laks
Dear Gurus,

I have  copied over my home directory to a new drive which is a raid 1 software 
raid.
I added the corresponding correct information to /etc/mdadm/mdadm.conf.

ARRAY /dev/md1 level=raid1 num-devices=1 
UUID=69547109-c527-6986-fab9-5ff707241177

and i replaced the old drive entry in /etc/fstab with the new information 

/dev/md1 /home  ext3  defaults 0 2

however the boot from grub fails and drops me into a partial state because the  
device 

/dev/md1 

is not existent.

I can manually create 

mknod /dev/md1 b 9 1
and then
mdadm -A /dev/md1

and then mount it 

but this is clearly wrong.

What do I do to enable my system to boot normally with  this new configuration??

ie what tells the boot process to create /dev/md1 and assemble the raid?

thanks
Mitchell


-- 
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/20121021044308.ga6...@earthlink.net



Re: mutt messed up. colors black on black cant read any messages

2012-06-28 Thread Mitchell Laks
 
 Do you source config files from somewhere else?
 What happens when you comment out _all_ color statements?

That didnt change anything.

However I noticed that  the /tmp file system was full (some pulse_* files) . 

So I rebooted  :(

then all the temp files went away and mutt returned to normal functioning

and I am writing this in mutt!

thank you as well as Cameleon for your interest in my problem!

 
 -H
 
 
 -- 
 Henning Follmann   | hfollm...@itcfollmann.com
 
 
 -- 
 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/20120627180302.ga18...@newton.itcfollmann.com
 


-- 
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/20120629035533.ga8...@earthlink.net



Re: mutt messed up. colors black on black cant read any messages

2012-06-28 Thread Mitchell Laks
solved thank you for your help
/tmp was full.
Mitchell


-- 
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/20120629040401.ga10...@earthlink.net



how to figure out what is doing power management on my fresh sid laptop

2012-03-04 Thread Mitchell Laks
Hi,
I have a fresh install of debian rapidly upgraded to sid on a lenovo x220.
I noticed it was not doing proper power management and battery was rapidly 
going to zero.
I have tried googling 
and looked at such places as wiki.debian.org/Suspend
but I see no design documents for the power management.
I see the statement

This page gathers bits of information about getting software suspend to work 
in Debian. 
Because the core system components change rapidly among Debian versions, 
software suspend 
works differently on different versions of Debians. 
This page is divided according to Debian versions from new to old.

I have pm-utils installed which nicely suspends when I invoke  pm-suspend.

However if I leave the laptop alone it will blank the screen after a period of 
time
but I dont know what has happened - is is just a screen blanking but the full 
system
is still active  or has it actually suspended?
How to find out what happened?
I have no idea what is going on.

Moreover on my  older ibook g4 running sid the laptop takes care of all issues 
by itself. It really does nicely suspend
and when I hit a key I see messages from the kernel about the modules being 
reloaded etc. What a pleasure. I am not sure 
what is going on there - suspect it has to do with pbbuttonsd or something. 
Bless the author of that.

What do I do to see what is happening? What is the right way to configure it so 
that it will work?
Does the team responsible for debian power management such as suspend and 
hibernate  have a design document or a
web site or mailing list that I can read to find out about how things work now 
that hal is deprecated.

I figure I must use some kind of combination of 
acpid and pm-utils and cpufreqd and uswsusp.

I see a gentoo power management guide.
I wish I could tell what is going on, what is already configured and what to 
fix to make my system
use power proportionaly to my needs and sleep when I am reading a book.

Note that I run sid to keep up  with the latest and am more than willing to 
tinker. I just wish I had more
information to use to figure  out what is happening.

Thanks
Mitchell Laks


-- 
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/20120304153041.ga16...@earthlink.net



Re: not in X. man command does not respect set bell-style visible

2012-03-01 Thread Mitchell Laks
 Because PAGER isn't set by default.
 
 You can set it in /etc/environment or ~/.bashrc or ~/.profile.

ok i put the line
export PAGER=less -q
in the .bash_aliases 
file (or in .bashrc)
and that worked.

however putting 
PAGER=less -q
alone seemed to set the variable (ie echo $PAGER
responded less -q)

but it did not change the behavior of say man pdl

 
 Yes, this all the result of the alternatives system.
 
 Is it /usr/bin/pager or /usr/pager?

yes it is /usr/bin/pager 

 /usr/pager does not exist on my systems

 
 You could create a /bin/lessq wrapper (and incur an extra cost) and
 use update-alternatives to default to /bin/lessq.

how would one add any alternative to the alternatives system
after creating the /bin/lessq file
(containing the line something line 
less -q $1 
i guess)

 It's export PAGER... not export $PAGER

thank you that helped!

Mitchell

 


-- 
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/20120301143249.ga23...@earthlink.net



Re: not in X. man command does not respect set bell-style visible

2012-03-01 Thread Mitchell Laks
On 18:02 Thu 01 Mar , Claudius Hubig wrote:

 That’s because you only set this variable to your shell and did not
 export it. Observe:
that was what i wanted to know. now i see that export makes it available to 
programs.

 would then contain something like:
 
 -
 #!/bin/sh
 /bin/less -q $*
 -

i use perl more than shell. that was very helpful as well.

i have to delve more into
 man bash ...

 
 To then install this (after making it executable) as an alternative
 for pager, one would have to:
 
 # update-alternatives --install /usr/bin/pager pager /usr/local/bin/lessq 100
 
 which should automagically select /u/l/b/lessq as the default pager.
 If you want to change that, try
 
 # update-alternatives --config pager
 
 or, to get more information:
 
 # update-alternatives --query pager
 
 Of course,
 
 $ man update-alternatives
 
 is always a good starting point for such things.

thank you.
I did not know that we could make our own additions with update-alternatives...
i thought it was just a chose and select program

Thank you very much

Mitchell


-- 
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/20120301173501.ga28...@earthlink.net



not in X. man command does not respect set bell-style visible

2012-02-29 Thread Mitchell Laks
Dear Gurus,

I like silence. 

While running a tty console 
(no X running)
I include in .inputrc
the line 
set bell-style visible

this is clearly respected by say the 
tab command on an empty line (no beep, just a flash)
however 
when i do 
man anything
say man bash
and then reach the end of the buffer and then space bar through the buffer
then hitting space at the  end of the buffer gives me a beep

how to get rid of this?

thanks 
Mitchell


-- 
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/20120229172929.ga8...@earthlink.net



Re: not in X. man command does not respect set bell-style visible

2012-02-29 Thread Mitchell Laks
On 19:01 Wed 29 Feb , Sven Joachim wrote:
 
 This is because .inputrc is only honored by programs that use readline,
 and the standard pager does not use that.
 
  how to get rid of this?
 
 Make sure that less (the standard pager) is invoked with the -q
 option.  E.g. set PAGER=/usr/bin/less -q in the environment.
 
Thank you that explains the problem to me.

I see now that unless less is invoked with the -q option i will get the sound.

I see references on google to the fact that the pager is set via the PAGER 
variable
but when I do echo $PAGER I get nothing. 

1) I see that there is a pager
and that
2) man pager 
gives me
 man less
and that

3) which pager 
is
/usr/bin/pager
which is a symlink to
/etc/alternatives/pager
which is a link to
/bin/less

(this chain i find amusing).

3)
so my system does not seem to use the PAGER variable ??

so how to make
pager link to 
/bin/less -q
instead of linking to 
/bin/less.

Do I use the alias abiltiy?

I tried to edit the
.bash_aliases
file and created the entries

pager='less -q'
less='less -q'

within that file

and that successfully shut up sound on  less and pager
but it did not shut up sound for man.

I still have a beepy noisy man.
I tried
export  $PAGER=less -q
and that seemed not work either.

Thanks 
Mitchell



-- 
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/20120301003148.ga12...@earthlink.net



how to get out of recursive Error pkgProblemResolver::Resolve problems

2012-02-11 Thread Mitchell Laks

Hi,

I recently upgraded a laptop using sid and then did upgrade  and dist upgrade
and i got into a terrible pickle
where it could not upgrade and kept telling me certain packages were not able
to be installed ... secondary to messages such as

so if i do apt-get install -f

i get the message

Reading package lists...
Building dependency tree...
Reading state information...
Correcting dependencies... failed.
The following packages have unmet dependencies:
  bluez-alsa: Depends: libasound2 ( 1.0.24.1)
  cheese: Depends: libcanberra-gtk3-0 (= 0.25) but it is not installed
  Depends: libcheese-gtk20 (= 3.0.1) but it is not installed
  Depends: libcheese1 (= 3.2.0) but it is not installed
  Depends: libgdk-pixbuf2.0-0 (= 2.22.0) but it is not installed
  Depends: libgstreamer0.10-0 (= 0.10.32) but 0.10.28-1 is installed
  cmake: Depends: cmake-data (= 2.8.1-2) but 2.8.5-1 is installed
  epiphany-browser: Depends: libgdk-pixbuf2.0-0 (= 2.22.0) but it is not instal
led
  epiphany-extensions: Depends: libgdk-pixbuf2.0-0 (= 2.22.0) but it is not ins
talled
  gir1.2-atk-1.0: Depends: gir1.2-glib-2.0 but it is not installed
  gir1.2-clutter-1.0: Depends: gir1.2-freedesktop but it is not installed
  Depends: gir1.2-glib-2.0 but it is not installed
  Depends: gir1.2-pango-1.0 but it is not installed
  gir1.2-cogl-1.0: Depends: gir1.2-freedesktop but it is not installed
   Depends: gir1.2-glib-2.0 but it is not installed
  gir1.2-coglpango-1.0: Depends: gir1.2-freedesktop but it is not installed
Depends: gir1.2-glib-2.0 but it is not installed
Depends: gir1.2-pango-1.0 but it is not installed
  gir1.2-gdkpixbuf-2.0: Depends: gir1.2-glib-2.0 but it is not installed
Depends: libgdk-pixbuf2.0-0 (= 2.23.0) but it is not in
stalled
  gir1.2-gnomebluetooth-1.0: Depends: gir1.2-freedesktop but it is not installed
 Depends: gir1.2-glib-2.0 but it is not installed
 Depends: gir1.2-pango-1.0 but it is not installed
  gir1.2-gstreamer-0.10: Depends: gir1.2-freedesktop but it is not installed
 Depends: gir1.2-glib-2.0 but it is not installed
  gir1.2-gtk-3.0: Depends: gir1.2-freedesktop but it is not installed
  Depends: gir1.2-glib-2.0 but it is not installed
  Depends: gir1.2-pango-1.0 but it is not installed
  gir1.2-json-1.0: Depends: gir1.2-glib-2.0 (= 0.9.12) but it is not installed
  gnome-bluetooth: Depends: libgdk-pixbuf2.0-0 (= 2.22.0) but it is not install
ed
   Depends: gir1.2-freedesktop but it is not installed
   Depends: gir1.2-glib-2.0 but it is not installed
   Depends: gir1.2-pango-1.0 but it is not installed
  gnome-control-center: Depends: libcanberra-gtk3-0 (= 0.25) but it is not inst
alled
Depends: libcheese-gtk20 (= 3.0.1) but it is not instal
led
Depends: libcheese1 (= 3.0.1) but it is not installed
Depends: libcolord1 (= 0.1.13) but it is not installed
Depends: libgdk-pixbuf2.0-0 (= 2.23.0) but it is not in
stalled
Depends: libgnome-control-center1 (= 1:3.2.2-2) but it i
s not installed
Depends: libgnome-menu-3-0 (= 3.2.0.1) but it is not in
stalled
Depends: libgnomekbd7 (= 2.91.91) but it is not install
ed
Depends: libgoa-1.0-0 (= 3.1.1) but it is not installed
Depends: libnm-glib4 (= 0.8.998) but it is not installe
d
Depends: libnm-gtk0 (= 0.9.1.95) but it is not installe
d
Depends: libnm-util2 (= 0.8.998) but it is not installe
d
Depends: libpulse-mainloop-glib0 (= 0.99.1) but 0.9.21-
1.2+b1 is installed
Depends: libpulse0 (= 0.99.1) but 0.9.21-1.2+b1 is inst
alled
Depends: libsocialweb-client2 (= 0.25.3) but it is not
installed

etc...

libnotify4: Depends: libgdk-pixbuf2.0-0 (= 2.22.0) but it is not installed

E: Error pkgProblemResolver::Resolve generated breaks. this may be caused by hel
d packages
E: Unable to correct dependencies.

Any way to resolve this short of a reinstall?

I have tried to make a  script with all those packages to the left of Depends an
d do
apt-get remove  all those packages
but each time I do that the list grows exponentially in length.
Is there another apt-get
magic incantation or else
Is there a way to cut back to a small size and build up again?

Thanks
Mitchell


-- 
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/20120212043527.ga14...@earthlink.net



sid upgrade texlive-base wont configure - solution

2011-11-24 Thread Mitchell Laks
I had persistent problems

errors were encountered while processing:
texlive-base
texlive-latex-base
feynmf
texlive-latex-recommended
texlive-fonts-recommended
pdfjam
texlive
texlive-generic-recommended
texlive-luatex
texlive-metapost
texlive-pictures
texmacs

ie the following


Reading database ... 642501 files and directories currently installed.)
Preparing to replace texlive-latex-base 2009-14 (using 
.../texlive-latex-base_2009-15_all.deb) ...
Unpacking replacement texlive-latex-base ...
Processing triggers for man-db ...
Setting up texlive-base (2009-15) ...
mktexlsr: Updating /var/lib/texmf/ls-R-TEXLIVE...
mktexlsr: Updating /var/lib/texmf/ls-R-TEXMFMAIN...
mktexlsr: Updating /var/lib/texmf/ls-R...
mktexlsr: Done.
Running mktexlsr. This may take some time... done.
Building format(s) --all --cnffile /etc/texmf/fmt.d/10texlive-base.cnf.
This may take some time...
fmtutil-sys failed. Output has been stored in
/tmp/fmtutil.QRFBRZLF
Please include this file if you report a bug.

dpkg: error processing texlive-base (--configure):
subprocess installed post-installation script returned error exit status 1
configured to not write apport reports
dpkg: dependency problems prevent configuration of texlive-latex-base:
texlive-latex-base depends on texlive-base (= 2009-1); however:
Package texlive-base is not configured yet.
dpkg: error processing texlive-latex-base (--configure):
dependency problems - leaving unconfigured
configured to not write apport reports
dpkg: dependency problems prevent confi

---

so so what i did was read the bug report

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=648278


see the remark there about installing 

all the texlive-base dependencies at the same time as installing texlive-base

-
Holger Levsen wrote:

 during a test with piuparts I noticed your package failed to install. As per
 definition of the release team this makes the package too buggy for a
 release, thus the severity.

Thank you, I found the reason - both bug reports seem to point to the
same problem. It does not show up when all dependencies of texlive-base
are installed in the same aptitude or dpkg run, only when they are
configured first and texlive-base is unpacked afterwards.

And of course it is in my new libpaper'ing code...

A fix is in svn, I'll upload soon.

Regards, Frank

---

so that idea fixes it


so I did this

apt-get remove --purge texlive-base texlive-common texlive-binaries 
texlive-doc-base tex-common luatex

(copied down all the stuff being purged and then did)


apt-get install texlive-base texlive-common texlive-binaries texlive-doc-base 
tex-common luatex

and then we were ok

next step is to reinstall whole batch of files that were removed
:) 


-- 
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/2024190951.ga22...@earthlink.net



Re: how to fix dpkg error about

2011-10-28 Thread Mitchell Laks

The answer to how to fix dpkg errors caused by faulty entries in the available 
file is the following

see this url for the solution
http://www.bitsbythepound.com/fix-dpkg-available-file-in-ubuntu-364.html


Symptom: Every time an apt-get command is run, some sort of error or warning is 
reported stating that an available package has a corrupt version number.

Cause: The ‘available’ file used by dpkg contains erroneous information or is 
corrupted.

Solution: Rebuild the ‘available’ file.

Recipe:

1. Back up current file
as root do the following

 cp /var/lib/dpkg/available /var/lib/dpkg/available.broken

2. Delete current ‘available’ file
 dpgk --clear-avail

3. Rebuild ‘available’ file
apt-get  update

then it will be ok


-- 
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/20111028124556.ga3...@earthlink.net



How to listen to abel prize lectures of 2007 in iceweasel. lectures are in mp4 format but are not opening even with vlc installed

2011-10-28 Thread Mitchell Laks
I am trying to listen to some Abel Prize math lectures

the urls are located on these pages

http://www.abelprisen.no/en/multimedia/2004/index.html

I cannot listen to the lectures by atiyah, bismut singer or witten

or


http://www.abelprisen.no/en/multimedia/2007/index.html

or 

http://www.abelprisen.no/en/multimedia/2005/index.html#

on the pages it says

All videos are MPEG4 (mp4) viewable by means of the free QuickTime (v.6.5) 
application.
Most videos are available in three qualities: double ISDN (112kbs), ADSL1 
(384kbs) og ADSL2 (768kbs).

note the more recent lectures such as 2011  are available and fully watchable 
on the web page.

I have vlc installed but when i click on the lecture i get a black box in the 
left upper quadrant of the screen and no video.
when i right click and say show controls then it 
shows the controls and says idle
but does not give me a forward button to play it.

thanks

Mitchell Laks


-- 
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/20111028135732.gb3...@earthlink.net



Re: How to listen to abel prize lectures of 2007 in iceweasel. lectures are in mp4 format but are not opening even with vlc installed

2011-10-28 Thread Mitchell Laks
On 10:26 Fri 28 Oct , John L. Cunningham wrote:
 It looks like the problem is on the server side. Can you confirm that
 these specific videos can be viewed in Quicktime?
 

I actually never thought of that!
Oops - I dont run windows or mac!

I will try to ask friends what they see.

Thank you
Mitchell
 


-- 
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/20111028153424.gc3...@earthlink.net



problem upgrading texlive-base in sid missing modes file which is input by /usr/share/texmf-texlive/metafont/config/mf.ini

2011-10-28 Thread Mitchell Laks
Hi,
I am running sid and 
I am trying to upgrade 

and 

it wants to instal texlive-base
which is version number 
2009-14
and  i have troubles with 

texlive-base
 texlive-latex-base
 feynmf
 texlive-fonts-recommended
 texlive-latex-recommended
 texlive
 texlive-generic-recommended
 texlive-luatex
 texlive-metapost
 texlive-pictures

thus i get messages


Errors were encountered while processing:
 texlive-base
 texlive-latex-base
 feynmf
 texlive-fonts-recommended
 texlive-latex-recommended
 texlive
 texlive-generic-recommended
 texlive-luatex
 texlive-metapost
 texlive-pictures


the essential problem is getting texlive-base to install

Setting up texlive-base (2009-14) ...
Running mktexlsr. This may take some time... done.
Building format(s) --all --cnffile /etc/texmf/fmt.d/10texlive-base.cnf.
 This may take some time... 
fmtutil-sys failed. Output has been stored in
/tmp/fmtutil.YlE9vwqh
Please include this file if you report a bug.

---

so here is the end of that file

Transcript written on pdftex.log.
fmtutil: /var/lib/texmf/web2c/pdftex/pdftex.fmt installed.
fmtutil: running `mf-nowin -ini   -jobname=mf -progname=mf 
-translate-file=cp227.tcx mf.ini' ...
This is METAFONT, Version 2.718281 (TeX Live 2009/Debian) (INIMF)
(/usr/share/texmf-texlive/web2c/cp227.tcx)
(/usr/share/texmf-texlive/metafont/config/mf.ini
(/usr/share/texmf-texlive/metafont/base/plain.mf
Preloading the plain base, version 2.71: preliminaries,
 basic constants and mathematical macros,
 macros for converting from device-independent units to pixels,
 macros and tables for various modes of operation,
 macros for drawing and filling,
 macros for proof labels and rules,
 macros for character and font administration,
and a few last-minute items.)
kpathsea: Running mktexmf modes

! I can't find file `modes'.
l.3 \input modes

Please type another input file name: 
! Emergency stop.
l.3 \input modes

Transcript written on mf.log.

---
and then  here is the corresponding contents  of the fmutils.3878/mf.log file

---

This is METAFONT, Version 2.718281 (TeX Live 2009/Debian) (INIMF)  28 OCT 2011 
14:39
(/usr/share/texmf-texlive/web2c/cp227.tcx)
**mf.ini
(/usr/share/texmf-texlive/metafont/config/mf.ini
(/usr/share/texmf-texlive/metafont/base/plain.mf
Preloading the plain base, version 2.71: preliminaries,
 basic constants and mathematical macros,
 macros for converting from device-independent units to pixels,
 macros and tables for various modes of operation,
 macros for drawing and filling,
 macros for proof labels and rules,
 macros for character and font administration,
and a few last-minute items.)
! I can't find file `modes'.
l.3 \input modes

Please type another input file name: 
! Emergency stop.
l.3 \input modes

End of file on the terminal!


/tmp/fmtutil.3878/mf.log (END)


---
so there is a modes file missing which is input by the file
/usr/share/texmf-texlive/metafont/config/mf.ini

which has content

% Thomas Esser, 1998. public domain.
\input plain
\input modes
\dump
\endinput



so what to do to solve this problem

thanks

mitchell laks



-- 
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/20111028190313.gb30...@earthlink.net



how to fix dpkg error about

2011-10-27 Thread Mitchell Laks

I get errors when using apt-get that are not fatal but are annoying.

I made my own kernel a while ago and used the wrong syntax. I have already 
removed this old kernel but the error
messages keep hanging around.

dpkg-query: warning: parsing file '/var/lib/dpkg/available' near line 25351 pack
age 'linux-image-2.6.20':
 error in Version string 'custon.1.0': version number does not start with digit
/etc/cron.daily/man-db:
dpkg-query: warning: parsing file '/var/lib/dpkg/available' near line 25351 pack
age 'linux-image-2.6.20':
 error in Version string 'custon.1.0': version number does not start with digit


Should i simply edit that file /var/lib/dpkg/available 

and delete the lines

Package: linux-image-2.6.20
Priority: optional
Section: base
Installed-Size: 62588
Maintainer: Unknown Kernel Package Maintainer 
unkn...@unconfigured.in.etc.kernel-pkg.conf
Architecture: amd64
Source: linux-source-2.6.20
Version: custon.1.0
Provides: linux-image, linux-image-2.6
Depends: coreutils (= 5.2.1)
Pre-Depends: debconf (= 0.2.17) | debconf-2.0
Suggests: lilo (= 19.1) | grub, fdutils, linux-doc-2.6.20 | linux-source-2.6.20
Size: 16788016
Description: Linux kernel binary image for version 2.6.20
 This package contains the Linux kernel image for version
 2.6.20.
 .
 It also contains the corresponding System.map file, and the modules
 built by the packager.  It also contains scripts that try to ensure
 that the system is not left in a unbootable state after an update.
 .
 Kernel image packages are generally produced using kernel-package,
 and it is suggested that you install that package if you wish to
 create a custom kernel from the sources. Please look at kernel-img.conf(5),
 and /usr/share/doc/kernel-package/README.gz  from the package kernel-package
 for details on how to tailor the  installation of this or any other kernel
 image package


the package was already removed i think

Rashi:/home/mlaks# dpkg -l|grep linux-image
ii  linux-image-2.6-amd643.0.0+39   
   Linux for 64-bit PCs (dummy package)
ii  linux-image-2.6-amd64-generic2.6.18+6   
   Linux 2.6 image on all x86-64 - transition package
ii  linux-image-2.6.32-3-amd64   2.6.32-9   
   Linux 2.6.32 for 64-bit PCs
ii  linux-image-2.6.32-5-amd64   2.6.32-30  
   Linux 2.6.32 for 64-bit PCs
ii  linux-image-2.6.39.4-meshul  1  
   Linux kernel binary image for version 2.6.39.4-meshul
ii  linux-image-3.0.0-1-amd643.0.0-3
   Linux 3.0.0 for 64-bit PCs
ii  linux-image-3.0.4-meshul 1  
   Linux kernel binary image for version 3.0.4-meshul
ii  linux-image-amd643.0.0+39   
   Linux for 64-bit PCs (meta-package)
Rashi:/home/mlaks# 

thanks
MItchell Laks


-- 
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/20111027221649.ga16...@earthlink.net



what is xorg.conf equivalent of xrandr --output DVI-I-1 --mode 1920x1200 --pos 0x0 --output DVI-I-2 --mode 1920x1080 --pos 1920x0

2011-09-24 Thread Mitchell Laks
i have switched to the noveau drivers from nvidia binary drivers
and therefore my old xorg.conf for the dual monitor setup 
with different dimensions of the 2 monitors
wont work as the nvidia drivers used a Twinhead stanza.

what should my xorg.conf look like for my nouveau drivers.

I am currently running 

xrandr --output DVI-I-1 --mode 1920x1200 --pos 0x0 --output DVI-I-2 --mode 
1920x1080 --pos 1920x0

which dynamically sets me up. what is the static stanza corresponding?

Mitchell Laks


-- 
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/20110925015820.ga3...@earthlink.net



Re: what is xorg.conf equivalent of xrandr --output DVI-I-1 --mode 1920x1200 --pos 0x0 --output DVI-I-2 --mode 1920x1080 --pos 1920x0

2011-09-24 Thread Mitchell Laks
On 12:36 Sun 25 Sep , Scott Ferguson wrote:
 A non-DE way of achieving the same thing is to create:-
 /etc/X11/Xsession.d/45custom_xrandr-settings
 

I tried it 

and put my 

xrandr --output DVI-I-1 --mode 1920x1200 --pos 0x0 --output DVI-I-2 --mode 
1920x1080 --pos 1920x0

line in that file and did chmod 755 to the file 

and it did not work.

I did the following for the xorg.conf and it works


Section Device
  Identifier Card0
  Driver nouveau
Option  DVI-I-1 DVI-I-1
Option  DVI-I-2 DVI-I-2
EndSection

Section Monitor
  Identifier DVI-I-1
#  Option PrimaryTrue
Option PreferredMode 1900x1200
EndSection

Section Monitor
  Identifier DVI-I-2
  Option RightOf DVI-I-1 
Option PreferredMode 1900x1080
#  Option PrimaryFalse
EndSection


so I am happy.

Thank you. I dont know why the  directory file entry did not get used.
maybe because i had another  xorg.conf file it overrode that setting?

I have to tell it to use nouveau somewhere?

Mitchell


 and put your settings there
 
 
 
 Cheers
 
 -- 
 People say, “Don’t be hard on the New Kids [on the Block], Bill.
 They’re good kids. They’re role models.” When did banality and
 mediocrity become good examples for your children? They are demons sent
 to the earth to LOWER THE STANDARD.
 — Bill Hicks
 
 
 -- 
 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/4e7e939e.80...@gmail.com
 


-- 
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/20110925032424.ga6...@earthlink.net



nvidia binary drivers to get glx and xorg 1.11.0 on sid

2011-09-23 Thread Mitchell Laks
Hi

I have  been using the nvidia binary drivers
NVIDIA-Linux-x86_64-173.14.25-pkg2.run
NVIDIA-Linux-x86_64-173.14.30-pkg2.run
NVIDIA-Linux-x86_64-173.14.31-pkg2.run

on my desktop running sid. 

Recently with the upgrade to linux kernel 
linux-image-3.0.0-1-amd64

I found that I had difficulty compiling nvidia drivers against 3.x kernels and 
additionally 
I found that the current stable and beta nvidia drivers wont run with 
the current sid xorg version 1.11

I have tried to go back to the older stable kernel 

linux-image-2.6.32-5-amd64

but when I try to compile I find that the gcc-4.3 that was used to compile the 
kernel
which is neccessary to compile the nvidia drivers against the linux-headers
linux-headers-2.6.32-5-common
has been removed from sid since it conflicts with libgcc1.

I guess I have to compile my own kernel 2.6.32 kernel from source using a more 
recent gcc.

but what to do about the xorg version and not running against 1.11?

unfortunately kernel.org is down. where can i get the older kernel sources.
any other ideas?

Mitchell


-- 
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/20110923201638.ga6...@earthlink.net



Re: sound stopped and now working. what happened?

2011-09-19 Thread Mitchell Laks
On 10:52 Mon 19 Sep , Julien Claassen wrote:
 Hello Mitchell!
   You still have ALSA. I don't know, when you last looked through
 your kernel modules, but I never had a module named ALSA. The snd
 and soundcore modules are what you need.

Interesting. I never actually looked to see what modules were created by alsa 
in the past.
I guess now alsa-base is more integrated into the debian dpkg system.

   When you say speaker-test, of which speaker-test are we talking?

speaker-test 1.0.24.2

mlaks@Rashi:~$ dpkg -S speaker-test
alsa-utils: /usr/share/alsa/speaker-test
alsa-utils: /usr/share/man/man1/speaker-test.1.gz
alsa-utils: /usr/bin/speaker-test
alsa-utils: /usr/share/alsa/speaker-test/sample_map.csv

   To me the whole problem looks to be a KDE one. If I remember
 correctly, KDE uses PulseAudio, which has noted to be a problem at
 times. Well amongst musicians at least. :-) Me only once having used
 a GUI before and now just restarting, but with GNOME, I could't tell
 you about the exact nature of problems you can expect. I'm not even
 sure if PulseAudio is capable of blocking an ALSA device in a normal
 system. (you might circumvent such things in any case with .asoundrc
 files, but that a totally different pocket full of rats).

Intersting is that I was running stumpwm at the time, in my own compiled 
version.
However I do run okular cause I like it better than evince at times. I have a 
bunch of kde apps and gnome installed
on the system as well, gnome was the default if I don't use my .xinitrc to 
start stumpwm or occasionaly xmonad.

When I went to gnome to try to fix the problem with a gui, I could not see how 
to do it.
Then I went to kde after getting that message, and also did not see what to do, 
until I just 
ran okular on a sound file again :) , which seems moronic :)
and then I got that pop up message again


KDE detected that one or more internal sound devices were removed.

Do you want KDE to permanently forget about these devices?

This is the list of devices KDE thinks can be removed:
Capture: VIA 8237 with ALC850 (VIA 8237)
Capture: VIA 8237 with ALC850 (VIA 8237) #1
Output: VIA 8237 with ALC850 (VIA 8237)
Output: VIA 8237 with ALC850 (VIA 8237) #1


do no ask again for these devices

yes no manage devices


And as soon as I chose  manage devices, I was able to hear sound out of my 
speakers running speaker-test from the command line, and all sound
applications worked again.

Thus:

1. I have no idea what that KDE control is, and where it comes from.
   If there were a linux equivalent to autohotkey Window Spy for Windows, I 
could identify what KDE control it was ...
2. I have no idea how pulse-audio is involved but have been googling a bit
3. I am puzzled as to where I can see directly, in a configuration file on my 
system what was changed and what was changed back...
4. In the past if I had sound problems, I would just recompile and reinstall 
alsa module and then run alsaconfig and speaker-test 
and gamix or kmix and now when I tried to do those usual steps, none worked. 
alsa-module would not compile, they got rid of alsaconfig completely 
and kmix seemed to be set up to non mute status and still no sound.  

No update to usual debian sound sites that I used in the past to inform me on 
how to set up sound on debian.
I guess it is supposed to just work, but no information on how.

Very odd.

Mitchell Laks   


   Still I hope, that all this might go somewhat towards explaining
 your problem or at least getting some light into the darkness.
   Kind regards
   Julien
 
 =-=-=-=-=-=-=-=-=-=-=-=-
 Such Is Life: Very Intensely Adorable;
 Frightening Absence Just Arriving, Reigns Disappeared, Ornate - flowers!
 
 ==  Find my music at  ==
 http://juliencoder.de/nama/music.html
 .
 If you live to be 100, I hope I live to be 100 minus 1 day,
 so I never have to live without you. (Winnie the Pooh)
 
 
 -- 
 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/alpine.deb.2.00.1109191047540.1...@britney.spears.net
 


-- 
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/20110919122704.ga10...@earthlink.net



Re: sound stopped and now working. what happened?

2011-09-19 Thread Mitchell Laks
 Unfortunately I did not follow this thread from the beginning.  I
 sometimes get a situation that (mostly after Firefox used some sound
 file) my normal music player like Banshee does not make any sound.

That is exactly what happened to me, it was after firefox was using the sound 
application.

 
 I have, with help from this list and elsewhere put the following script
 in ~/bin:
 --
 #!/bin/bash
 
 for i in /dev/snd/*; do echo $i; sudo lsof $i; done
 --
 
 This identifies for me the process that keep the sound device busy.
 Killing those processes - usually the ones where pulseaudio is involved
 - restores my sound.

I had seen your thread, but did not understand  what to do, as  even after I 
rebooted my system,
suppossedly killing all processes that were keeping the sound device busy, I 
still had the problem...

If it happens again, I will try your strategy as well.

I hope someone can clarify how the new alsa configuration works

Thanks
Mitchell


-- 
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/20110919123144.gb10...@earthlink.net



sound stopped and now working. what happened?

2011-09-18 Thread Mitchell Laks
Hi

I recently upgraded my sid system.

Sound had been working nicely. Then we were upgraded to the 3.0.0-1-amd64 
kernel and for some reason I had no sound.
When i ran lsmod i got 
mlaks@Rashi:~$ lsmod |grep snd
snd_via82xx23098  2 
snd_via82xx_modem  17693  0 
gameport   13649  1 snd_via82xx
snd_ac97_codec106837  2 snd_via82xx,snd_via82xx_modem
snd_pcm_oss41257  0 
snd_mixer_oss  17969  1 snd_pcm_oss
ac97_bus   12510  1 snd_ac97_codec
snd_pcm68104  4 
snd_via82xx,snd_via82xx_modem,snd_ac97_codec,snd_pcm_oss
snd_mpu401_uart13507  1 snd_via82xx
snd_seq_midi   12848  0 
snd_rawmidi23297  2 snd_mpu401_uart,snd_seq_midi
snd_seq_midi_event 13316  1 snd_seq_midi
snd_seq45208  2 snd_seq_midi,snd_seq_midi_event
snd_timer  22581  2 snd_pcm,snd_seq
snd_seq_device 13137  3 snd_seq_midi,snd_rawmidi,snd_seq
snd52823  15 
snd_via82xx,snd_via82xx_modem,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_mpu401_uart,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
soundcore  13152  1 snd
snd_page_alloc 13043  3 snd_via82xx,snd_via82xx_modem,snd_pcm

now if i try this 

mlaks@Rashi:~$ lsmod |grep alsa
mlaks@Rashi:~$

so looks like no alsa.
so i tried to compile alsa using m-a
and compilation failed for some reason (something about missing  versions.h 
file in the sound directory even though i have the kernel headers set up well)

I tried running speaker-test and I still could not hear anything

I ran gamix and everying seems to be ok in settings. Still no sound out of 
speakers. Speakers work fine with an external  mp3 player

Just no sound heard.

In fact now that I think about it, 
I had lost sound even before I did the apt-get update/ upgrade, 
infact it happened  while I was playing some video on youtube. 

In fact I did the sid upgrade to try to restore sound.

Anyway, I then did something strange. I was trying to listen to  mp3 and i did 
something strange, instead of opening it with rhythmbox, which did not
work, i tried opening it with okular (stupidly), accidentally. 

then a screen opened up and said

KDE detected that one or more internal sound devices were removed.

Do you want KDE to permanently forget about these devices?

This is the list of devices KDE thinks can be removed:
Capture: VIA 8237 with ALC850 (VIA 8237)
Capture: VIA 8237 with ALC850 (VIA 8237) #1
Output: VIA 8237 with ALC850 (VIA 8237)
Output: VIA 8237 with ALC850 (VIA 8237) #1


do no ask again for these devices

yes no manage devices

So I clicked manage devices and then i can hear sound again in  all 
applications.

1. what is going on?
2. what is now substituted for alsa?
3. I always had to use alsa to get sound working in my system.

mlaks@Rashi:~$ lspci
00:00.0 Host bridge: VIA Technologies, Inc. K8T800Pro Host Bridge
00:00.1 Host bridge: VIA Technologies, Inc. K8T800Pro Host Bridge
00:00.2 Host bridge: VIA Technologies, Inc. K8T800Pro Host Bridge
00:00.3 Host bridge: VIA Technologies, Inc. K8T800Pro Host Bridge
00:00.4 Host bridge: VIA Technologies, Inc. K8T800Pro Host Bridge
00:00.7 Host bridge: VIA Technologies, Inc. K8T800Pro Host Bridge
00:01.0 PCI bridge: VIA Technologies, Inc. VT8237 PCI bridge [K8T800/K8T890 
South]
00:0a.0 Ethernet controller: Marvell Technology Group Ltd. 88E8001 Gigabit 
Ethernet Controller (rev 13)
00:0c.0 Mass storage controller: Promise Technology, Inc. PDC20518/PDC40518 
(SATAII 150 TX4) (rev 02)
00:0f.0 RAID bus controller: VIA Technologies, Inc. VIA VT6420 SATA RAID 
Controller (rev 80)
00:0f.1 IDE interface: VIA Technologies, Inc. 
VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)
00:10.0 USB Controller: VIA Technologies, Inc. VT82x UHCI USB 1.1 
Controller (rev 81)
00:10.1 USB Controller: VIA Technologies, Inc. VT82x UHCI USB 1.1 
Controller (rev 81)
00:10.2 USB Controller: VIA Technologies, Inc. VT82x UHCI USB 1.1 
Controller (rev 81)
00:10.3 USB Controller: VIA Technologies, Inc. VT82x UHCI USB 1.1 
Controller (rev 81)
00:10.4 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 86)
00:11.0 ISA bridge: VIA Technologies, Inc. VT8237 ISA bridge 
[KT600/K8T800/K8T890 South]
00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 
AC97 Audio Controller (rev 60)
00:11.6 Communication controller: VIA Technologies, Inc. AC'97 Modem Controller 
(rev 80)
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] 
HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address 
Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM 
Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] 
Miscellaneous Control
01:00.0 VGA compatible controller: nVidia Corporation NV43 [GeForce 6600 GT] 
(rev a2)
mlaks@Rashi:~$ 

thanks

Mitchell Laks

problem that ext3 not recognized on 4G usb external drive freshly formated. only ext2

2011-07-22 Thread Mitchell Laks
Has anyone seen something like this?
Here is the log of creating an ext3 partition on a device and lack of 
recognition as ext3 just ext2. very strange.

Rashi:/home/mlaks# fdisk /dev/sdd
Device contains neither a valid DOS partition table, nor Sun, SGI or OSF 
disklabel
Building a new DOS disklabel with disk identifier 0x63528f63.
Changes will remain in memory only, until you decide to write them.
After that, of course, the previous content won't be recoverable.

Warning: invalid flag 0x of partition table 4 will be corrected by w(rite)

WARNING: DOS-compatible mode is deprecated. It's strongly recommended to
 switch off the mode (command 'c') and change display units to
 sectors (command 'u').

Command (m for help): p

Disk /dev/sdd: 17.0 GB, 17022582784 bytes
64 heads, 32 sectors/track, 16234 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x63528f63

   Device Boot  Start End  Blocks   Id  System

Command (m for help): n
Command action
   e   extended
   p   primary partition (1-4)
p
Partition number (1-4): 1
First cylinder (1-16234, default 1): 
Using default value 1
Last cylinder, +cylinders or +size{K,M,G} (1-16234, default 16234): 
Using default value 16234

Command (m for help): p

Disk /dev/sdd: 17.0 GB, 17022582784 bytes
64 heads, 32 sectors/track, 16234 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x63528f63

   Device Boot  Start End  Blocks   Id  System
/dev/sdd1   1   1623416623600   83  Linux

Command (m for help): w
The partition table has been altered!

Calling ioctl() to re-read partition table.
Syncing disks.
Rashi:/home/mlaks# mkfs.ext3 /dev/sdd1
mke2fs 1.41.12 (17-May-2010)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
Stride=0 blocks, Stripe width=0 blocks
1040384 inodes, 4155900 blocks
207795 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=4257218560
127 block groups
32768 blocks per group, 32768 fragments per group
8192 inodes per group
Superblock backups stored on blocks: 
   32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 
2654208, 
   4096000

Writing inode tables: done
Creating journal (32768 blocks): done
Writing superblocks and filesystem accounting information: done

This filesystem will be automatically checked every 39 mounts or
180 days, whichever comes first.  Use tune2fs -c or -i to override.
Rashi:/home/mlaks# mount /dev/sdd1 /mnt
mount: wrong fs type, bad option, bad superblock on /dev/sdd1,
   missing codepage or helper program, or other error
   In some cases useful info is found in syslog - try
   dmesg | tail  or so

Rashi:/home/mlaks# mount -t ext2 /dev/sdd1 /mnt

here is the relevant dmesg output:

[1073854.224034] usb 1-6: new high speed USB device using ehci_hcd and address 
10
[1073854.408037] usb 1-6: New USB device found, idVendor=0011, idProduct=7788
[1073854.408042] usb 1-6: New USB device strings: Mfr=1, Product=2, 
SerialNumber=3
[1073854.408045] usb 1-6: Product: Mass Storage
[1073854.408047] usb 1-6: Manufacturer: Generic
[1073854.408050] usb 1-6: SerialNumber: 0E5C5CFF
[1073854.408178] usb 1-6: configuration #1 chosen from 1 choice
[1073854.408444] scsi13 : SCSI emulation for USB Mass Storage devices
[1073854.408542] usb-storage: device found at 10
[1073854.408544] usb-storage: waiting for device to settle before scanning
[1073859.404200] usb-storage: device scan complete
[1073859.405039] scsi 13:0:0:0: Direct-Access Generic  Flash Disk   
8.00 PQ: 0 ANSI: 2
[1073859.405710] sd 13:0:0:0: Attached scsi generic sg4 type 0
[1073859.407397] sd 13:0:0:0: [sdd] 33247232 512-byte logical blocks: (17.0 
GB/15.8 GiB)
[1073859.407890] sd 13:0:0:0: [sdd] Write Protect is off
[1073859.407893] sd 13:0:0:0: [sdd] Mode Sense: 03 00 00 00
[1073859.407896] sd 13:0:0:0: [sdd] Assuming drive cache: write through
[1073859.410014] sd 13:0:0:0: [sdd] Assuming drive cache: write through
[1073859.410018]  sdd: unknown partition table
[1073859.672005] sd 13:0:0:0: [sdd] Assuming drive cache: write through
[1073859.672011] sd 13:0:0:0: [sdd] Attached SCSI removable disk
[1073921.167000] sd 13:0:0:0: [sdd] Assuming drive cache: write through
[1073921.167005]  sdd: sdd1
[1074110.584687] JBD: no valid journal superblock found
[1074110.584691] EXT3-fs: error loading journal.
[1074126.668836] EXT2-fs warning (device sdd1): ext2_fill_super: mounting ext3 
filesystem as ext2

strange. it must be something strange about this usb drive. i got another one 
similar to it from a friend and it had same problem

Mitchell


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 

what program is running find that is taking up so much of my cpu time this morning?

2011-07-08 Thread Mitchell Laks

Dear Gurus,

this morning my computer is very sluggish and top says find is running.

I did 

ps aux|grep find

with this output

root 25307  0.0  0.0  11132   652 ?SN   07:42   0:00 /bin/sh 
/usr/bin/updatedb.findutils
root 25315  0.0  0.0  11136   352 ?SN   07:42   0:00 /bin/sh 
/usr/bin/updatedb.findutils
nobody   25342  0.0  0.0  56292   904 ?SN   07:42   0:00 su nobody -s 
/bin/sh -c /usr/bin/find / -ignore_readdir_race  \( -fstype NFS -o -fstype 
nfs -o -fstype nfs4 -o -fstype afs -o -fstype binfmt_misc -o -fstype proc -o 
-fstype smbfs -o -fstype autofs -o -fstype iso9660 -o -fstype ncpfs -o -fstype 
coda -o -fstype devpts -o -fstype ftpfs -o -fstype devfs -o -fstype mfs -o 
-fstype shfs -o -fstype sysfs -o -fstype cifs -o -fstype lustre_lite -o -fstype 
tmpfs -o -fstype usbfs -o -fstype udf -o -fstype ocfs2 -o  -type d -regex 
'\(^/tmp$\)\|\(^/usr/tmp$\)\|\(^/var/tmp$\)\|\(^/afs$\)\|\(^/amd$\)\|\(^/alex$\)\|\(^/var/spool$\)\|\(^/sfs$\)\|\(^/media$\)\|\(^/var/lib/schroot/mount$\)'
 \) -prune -o -print0
nobody   25354  3.6  0.0  13300  1340 ?DN   07:42   0:17 /usr/bin/find 
/ -ignore_readdir_race ( -fstype NFS -o -fstype nfs -o -fstype nfs4 -o -fstype 
afs -o -fstype binfmt_misc -o -fstype proc -o -fstype smbfs -o -fstype autofs 
-o -fstype iso9660 -o -fstype ncpfs -o -fstype coda -o -fstype devpts -o 
-fstype ftpfs -o -fstype devfs -o -fstype mfs -o -fstype shfs -o -fstype sysfs 
-o -fstype cifs -o -fstype lustre_lite -o -fstype tmpfs -o -fstype usbfs -o 
-fstype udf -o -fstype ocfs2 -o -type d -regex 
\(^/tmp$\)\|\(^/usr/tmp$\)\|\(^/var/tmp$\)\|\(^/afs$\)\|\(^/amd$\)\|\(^/alex$\)\|\(^/var/spool$\)\|\(^/sfs$\)\|\(^/media$\)\|\(^/var/lib/schroot/mount$\)
 ) -prune -o -print0


what utility is doing this find?

thanks,

Mitchell Laks


-- 
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/20110708121128.ga26...@earthlink.net



Re: laptop restart eth0 automatically on plugin or on awake like a desktop

2011-06-09 Thread Mitchell Laks

I hope that

you all realize I am not replying to this correspondent, but rather following 
up the thread.

I am __not__ using dhcp. This is not a dhcp problem.

I use static IP addresses on all of my ethernet cabled networks. 
 
I have approximately 100 different debian machines in multiple locations. They 
all have 
auto etho in them. I usually install from an old script that writes 
/etc/network/interfaces.

Just this laptop still had allow-hotplug in it since it was a recent 
reinstall...

There would something wrong with allow-hotplug if it requires you to manually 
intervene to bring down and then up an interface
after you plug in and you are already configured for a static address (or dhcp 
for that matter) in /etc/network/interfaces. Or 
after a reawaken from hibernation.

I notice that I must do 
ifdown eth0 
then 
ifup eth0

ifup eth0 alone will not work. (weird?).

I now seem to  recall having a problem (perhaps this?) with allow-hotplug many 
years ago and I switched to auto eth0 at that time.

I have to  say that I dont know (and sadly no one here has told us) how this 
affects the system in /etc/network/interfaces. 
And what really differentiates the different directives.

What program brings up eth0 after I plug in with the auto eth0  directive.

For those who still want the information:

Here is a typical appearance of a /etc/network/interfaces file.

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# This is a list of hotpluggable network interfaces.
# They will be activated automatically by the hotplug subsystem.
#mapping eth0
#script grep
#map eth0

# The primary network interface
#allow-hotplug eth0
auto eth1
iface eth1 inet static
  address 192.168.10.151
  netmask 255.255.255.0
  network 192.168.10.0
  broadcast 192.168.10.255
  gateway 192.168.10.2



Mitchell


-- 
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/20110610025537.ga4...@earthlink.net



Re: laptop restart eth0 automatically on plugin or on awake like a desktop

2011-06-07 Thread Mitchell Laks
On 11:39 Tue 07 Jun , Camaleón wrote:
 On Tue, 07 Jun 2011 00:10:48 -0400, Mitchell Laks wrote:
 
  The following is a problem I have on all laptops, I dont know how to
  configure to connect when the ethernet cable is attached.
 
 (...)
 
 Maybe you just need to tweak some options in your interfaces file 
 (e.g., allow-hotplug?):

That was it! I replaced
 
allow-hotplug eth0

at the top of the stanza by

auto eth0

and now it works fine!
thank you very much.


(don't understand why though ...)
http://www.debian.org/doc/manuals/reference/ch05.en.html#list-of-stanzas-in-eni

refers to man 5 interfaces
which doesn't seem to explain what software is doing the work after the plugin 
of the ethernet cord...
and only if auto and not
allow-hotplug eth0

does anyone know?
 
 
 http://www.debian.org/doc/manuals/reference/ch05.en.html#list-of-stanzas-in-eni
 
 Greetings,
 
 -- 
 Camaleón
 
 
 -- 
 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/pan.2011.06.07.11.39...@gmail.com
 


-- 
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/20110607230328.ga29...@earthlink.net



laptop restart eth0 automatically on plugin or on awake like a desktop

2011-06-06 Thread Mitchell Laks
Hi,

The following is a problem I have on all laptops, I dont know how to configure 
to connect when the ethernet cable is attached.

I have an ibook laptop (it is a powerpc system running squeeze) and when i plug 
in the ethernet cord I find that I have to log into a terminal or console
and become superuser and 

run ifdown eth0;
ifup eth0 

to get connectivity to my local lan. 

I have a stanza in the /etc/network/interfaces that configures the eth0.

Now I have many desktop machines and there whenever I plug in an ethernet card 
it automatically starts  and configures eth0
without any manual intervention. Magically my kernel puts a message to my 
console 
for instance

skge eth0: Link is down
or a message
skge eth0: Link is up at 100Mbps. full duplex, flow control both

Now the Laptop seems to be having assigning  control of this to  pm-utils on 
the laptop.

How to configure it to  automatically connect via eth0 if i plug it in, or if 
it is connected and the machine is reawoken from  hibernation?

This is on  laptops I try that I have this problem.

Thanks
Mitchell Laks



-- 
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/20110607041048.ga22...@earthlink.net



sid printing from cups and gutenprint v 5.2.5 and it drops the first page

2010-11-12 Thread Mitchell Laks

for some time the first page of each document has been messed up (usually blank 
or skipped)
in printing from cups + gutenprint v5.2.5 on laserjet 1200 printer
i will upgrade my sid completely today but this has been going on for a while 
lately...
thanks
mitchell 


-- 
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/20101112203625.gb25...@earthlink.net



Re: map '-' to '_' and '_' to '-'

2010-11-12 Thread Mitchell Laks
On 03:02 Fri 12 Nov , Kamaraju S Kusumanchi wrote:
 While working on my Debian box (which btw is a mix of Lenny and Squeeze), I 
 find that I type the underscore character ('_') more often than the dash 
 character ('-'). It could be file names, variable names while writing code 
 etc.,

i have noticed the same thing. now if we all programmed in lisp this would not 
be a problem :)
I considered switching to common lisp from perl and C and C++ for this reason :)

Mitchell 


-- 
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/20101112203859.gc25...@earthlink.net



new cpu amd 810 Quad core (with 900 pins) some pins are bent any idea how to fix?

2010-11-12 Thread Mitchell Laks
Hi,

I was making some pcs and after showing him how in another machine,  I assigned 
someone to 
put in a cpu and they bent some of the pins. there are about 900 !!! (around 30 
rows of 30). 
Now it wont install into the socket AM3.

I have tried straighting them by using a credit card (or thin new york 
metrocard) as a group lineup
as  well as using a 
lead pencil 5mm holder to straighten the indiviual tines (pins) as well as a 
thin mending needle.

however it still resists putting into the socket on the asus motherboard.

any other ideas on how to ease it in?

Thanks


-- 
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/20101112204906.gd25...@earthlink.net



insserv: Starting 'something' depends on stop-bootlogd and therefore on system facility $all

2010-07-28 Thread Mitchell Laks
Dear Gurus,

Hi i have a script in /etc/init.d/ctnscript
with a symlink
in 
/etc/rc2.d/S99ctnscript
 


when i tried to install gpm then i got a series of errors


insserv: Starting ctnscript depends on stop-bootlogd and therefore on system 
facility `$all' which can not be true!

repeated over and over

now clearly something has started scanning /etc/init.d 
for private scripts and it 
does not like this script and it borks my apt-get.

i removed it from there and and all worked.

i would like to leave it there. 

What to do?

I also now have warnings from inserv about other scripts such as

inserv: warning: script 'S54whatever' missing LSB tags and overrides.

how to fix that?

Thanks
Mitchell Laks


-- 
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/20100728142201.ga15...@earthlink.net



Re: Kernel update includes nouveau module that clobbers nVidia drivers

2010-06-16 Thread Mitchell Laks
On 23:35 Wed 16 Jun , AG wrote:
 I pass this along and hope that this helps anyone who finds
 themselves similarly disposed.

this also bit a number of others on the list. If you see my post, I banned the 
nouveau module
from my kernel as well as the nouveau packages from xxorg-* and then build my 
binary nvidia kernel
and it worked as well.

Mitchell


-- 
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/20100617042728.ga2...@earthlink.net



Re: dist-upgrade to testing killed dual-monitors

2010-06-04 Thread Mitchell Laks

another option is to ban the entire new nouveau driver from your system
which should restore some sanity.
it will get rid of the framebuffer use/ 

here is one thing to try.

add the following line to the file

/etc/modpobe.d/blacklist.conf

blacklist nouveau

then reboot.

that is what i did.

Mitchell Laks


-- 
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/20100604180944.ga19...@earthlink.net



Re: Where is the Xorg.conf - to setup XKB layouts on Squeeze?

2010-06-04 Thread Mitchell Laks
On 14:52 Fri 04 Jun , Kelly Clowers wrote:
 /etc/default/keyboard
 

I agree. This is new and replaces the xorg.conf location.
also look at /etc/default/console-setup for your tty consoles.

Mitchell Laks


 Cheers,
 Kelly Clowers
 
 
 -- 
 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/aanlktil2dchynxtfdxux4vt5bosqrmbiqfgg7rbvg...@mail.gmail.com
 


-- 
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/20100604225302.gb19...@earthlink.net



Re: dist-upgrade to testing killed dual-monitors

2010-06-04 Thread Mitchell Laks
On 20:17 Fri 04 Jun , Sven Joachim wrote:
 On 2010-06-04 20:09 +0200, Mitchell Laks wrote:
 
  another option is to ban the entire new nouveau driver from your system
  which should restore some sanity.
 
 Except that kent got a black display without it.
 
  it will get rid of the framebuffer use/ 
 
  here is one thing to try.
 
  add the following line to the file
 
  /etc/modpobe.d/blacklist.conf
 
  blacklist nouveau
 
 Note that this is not sufficient with the latest xserver-xorg-core, you
 also need to specify a video driver in xorg.conf lest X will cause the
 module to be loaded.  Or remove the xserver-xorg-video-nouveau package.

You are right I had done that too!

I needed to ban nouveau from the kernel, otherwise I could not compile my 
binary Nvidia drivers...

Mitchell

 
 Sven
 
 
 -- 
 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/87vd9yslwf@turtle.gmx.de
 


-- 
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/20100604225642.gc19...@earthlink.net



Re: xorg.conf for nvidia binary drivers interfering with xorg.conf for vnc4server

2010-06-01 Thread Mitchell Laks
On 11:20 Tue 01 Jun , Camaleón wrote:
 It's weird that vnc4server cannot work with nvidia drivers. Maybe just 
 conflicts with a setting in the xorg.conf file and quits when you try 
 to run it.

Well, after all the vnc4server is not working off the physical video card is it?
it is displaying a virtual video image, so to speak, as there is no display :2 
or :3 on my
physical nvidia video card. It does not use the nvidia drivers __at all__!
Or am I misunderstanding the  situation with vnc4servers? this is not x11vnc 
which
uses the physical :0 display, it is vnc4server.

  
  So obviously the vnc4server is looking in the /etc/X11 directory for
  xorg.conf because it is not finding it somewhere else. Where should I
  put a (blank) xorg.conf for the purposes of the vnc4server?
 
 I would look first at the origin of the failure, I mean, why vnc4server 
 cannot run with your current xorg.conf file. Logs will tell.


When I read my Xorg logs all I saw were remarks about not finding some fonts
which often occur but dont impair the display on the screen or in vcn.

The key here is that the vnc4server is using an xorg.conf that is set up for the
physical nvidia drivers with the dual display on 2 monitors using twinview.

now clearly my vnc4server is not 1) dual headed or 2) using the nvidia module.

For instance, if I simply move the xorg.conf into another location and create a
empty file (touch xorg.conf in /etc/X11/ ) then lo and behold the vnc4server 
starts
up fine. 

Q: Can one xorg.conf have configuration for the physical nvidia drivers and the
virtual vnc4server at the same time? what stanzas to set up for vnc4server in 
the same xorg.conf?

Now I can easily  set up init.d scripts to play the game of
removing the xorg.conf then starting vnc4server then reinstall xorg.conf
then start x  :) and be done with it
as I start up my vnc4servers once on bootup  and then use them later. 

However, I suspect that the vnc4server
is compiled with multiple locations to look for xorg.conf that have higher 
priority than
/etc/X11, as I am not the first person to use vnc4server and binary nvidia 
drivers
on the same machine.  

Note the following recent (yeterday) bug report on vnc4server

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=583913

vnc4server: breaks if /etc/X11/xorg.conf generated by X -configure is present

this is exactly my problem.

Now he is being mislead (in my opinion) because he thinks that the random
error message about some font is the cause, instead of being a regular
feature of Xorg logs, that I have learned to ignore (at my peril?).

The main error is as he stated 
vnc4server: breaks if /etc/X11/xorg.conf generated by X -configure is present
not the rest of his bug report

Mitchell


-- 
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/20100601163028.ga31...@earthlink.net



Re: xorg.conf for nvidia binary drivers interfering with xorg.conf for vnc4server

2010-06-01 Thread Mitchell Laks
On 17:26 Tue 01 Jun , Camaleón wrote:
 I'm not sure. It could be that vnc4server just erroneously quits when 
 finds something it doesn't like in the the xorg.conf file.

indeed I did have those exact same messages in my log as well.

i can try this. I will be at work to try this tomorrow night...

Meanswhile another tack will be:

I will also try to use a /etc/vnc.conf
file  as described in the 

/usr/share/doc/vnc4server/examples/vnc.conf.gz

which can point to a file

# $XFConfigPath   can be set to the global XF86Config file. This will be
# parsed to gain default values for $fontPath and $colorPath.
# If you want to disable this feature, point it to an
# invalid file, /foo for example.
# $XFConfigPath = /etc/X11/XF86Config-4;

which should also solve the problem as I mentioned.
i can point it at a null file
/etc/X11/xorg.conf.vnc4server which will be empty...
i will try this too...

Mitchell


-- 
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/20100601183909.ga...@earthlink.net



xorg.conf for nvidia binary drivers interfering with xorg.conf for vnc4server

2010-05-31 Thread Mitchell Laks
Hi,

I recently set up binary nvidia drivers on my machine and set up the Xorg to 
use the twinhead setup. 

Now when I run the vnc4server to set up a vnc instance to log 
in to my machine from another machine, the vnc4server does not start up. If I 
move the xorg.conf file that
is set up for the binary drivers (nvidia kernel etc), and replace it with a 
null file then
vnc4server starts up fine.

So obviously the vnc4server is looking in the /etc/X11 directory for xorg.conf 
because it is not finding
it somewhere else. Where should I put a (blank) xorg.conf for the purposes of 
the vnc4server?

thanks!

Mitchell Laks  


-- 
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/20100601022544.ga27...@earthlink.net



Re: Give root password for maintence during every boot of system: Solved!

2010-05-24 Thread Mitchell Laks

Thank you all for your gracious help.

You were right. The default entry in grub (modified in /etc/default/grub and 
then
running upgrade-grub) had shifted down one entry to the single user mode entry.

restoring the correct default entry in /etc/default/grub and running 
upgrade-grub
solved my problem.

Thank you all again!!!

Mitchell Laks



-- 
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/20100524145142.ga3...@earthlink.net



Re: Tiny terminal text after kernel update

2010-05-24 Thread Mitchell Laks
On 16:28 Sun 23 May , Todd A. Jacobs wrote:
 After a recent kernel update, my linux terminal is now displaying
 teeny-tiny text. How do I set the default terminal back to 80x25?
 

I had this on my system as well. I also had trouuble when tried to reinstall the
binary nvidia driver for my nvidia card. It would not work.

I mucked around and discovered that there is default install of the nouveau 
driver in the
new kernel.

So the solution to both of the problems (tiny font on boot + failure to install 
non-free
binary nvidia kernel using the NVIDIA non free linux drivers) is to ban the 
nouveau kernel module.

The way to do this is

put the line 

blacklist nouveau

in the file 

/etc/modprobe.d/blacklist.conf

then when you boot you will be in good shape.

The nouveau kernel module sets up a framebuffer for nvidia graphics cards like 
ours.

Mitchell Laks

 


 -- 
 Oh, look: rocks!
   -- Doctor Who, Destiny of the Daleks
 
 
 -- 
 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/20100523232855.gb26...@penguin.codegnome.org
 


-- 
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/20100524145905.gb3...@earthlink.net



Give root password for maintence during every boot of system

2010-05-22 Thread Mitchell Laks
Hi,
I run debian sid. Sometime ago my system began to give me the message

Give root password for maintainance
or type Control_D to continue 

during reboot of the system. It would occur after the boot messages

starting NFS (... etc)
...
starting sessions
setting console screen modes
initilizing random number generation
setting up X server
setting up ice socket directory

then I would get that cryptic root password mesage stuff mentioned above

Then, 
if I hit C-d 
the systen continues to boot
with 

some messages about needing to add .conf suffix to some configuration files for 
kvm or something
then
INIT: Entering runlevel 2
starting system log daemon
etc.

So what is causing my system to need to enter Control D?

It is not a failure is fsck checking.

So what is going on?

Thanks,
Mitchell Laks


-- 
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/20100523040832.ga6...@earthlink.net



emacs22-nox emacs23-nox how to run with X and without X on same machine?

2010-05-12 Thread Mitchell Laks
hi
I installed a new debian and I see that emacs23-nox conflicts with with 
emacs23. So what if I am 
trying to run emacs in a console in a machine withe emacs23 and not emacs23-nox 
installed? How can 
I get to use both emacs23-nox and emacs with gtk BOTH on the same machine, 
sometimes with X and sometimes 
without?

thanks
mitchell


-- 
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/20100513041314.ga10...@earthlink.net



Re: [SOLVED] How to reduce a debian system to a base system

2010-03-22 Thread Mitchell Laks
On 23:37 Fri 19 Mar , Mike Viau wrote:
   My output with the suggestion above.
  
  
   debian:~# dpkg --dry-run --purge $(join -v2 (awk '{if ($2==install)
   print $1}'  debian-5.04-base-selections | sort) (dpkg --get-selections |
   awk '{if ($2==install) print $1}' | sort)) bash: command substitution:

I like your idea. 
Would you  post the file debian-5.04-base-selections or give us a reference?
Thanks, 
Mitchell Laks




-- 
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/20100323022901.ga22...@earthlink.net



Re: hp laserjet 1200 repeated printer-state-message=/usr/lib/cups/backend/hp failed usb

2010-03-16 Thread Mitchell Laks
On 11:40 Tue 16 Mar , Camaleón wrote:
 I'm not a CUPS guru, but what I understand for a backend is a method 
 used to connect the printer, a kind of virtual interface that allows 
 the communication between your printer and CUPS.
 
 Mmmm, better man backend to get detailed info :-)

Cool!!!
 
 1/ A backend connection method: a) local: usb, lpt b) remote/networked: 
 socket, ipp, samba c) virtual: fax, pdf, etc...

this is the first step on the web page where it 'searchs' for possible printers
and usually gives me 2 or 3 different copies of my hp printers. never understood
that till now.

 2/ A driver (PostScript printers are just fine with PPD description files 
 but others need drivers to work)

now i guess you are saying that the backends are failing me.
 
 I always avoid using hplip as backend and drivers on my HP laserjet 
 printers because I find PPD files a cleaner way to handle them. Hplip 
 adds many fancy options (toner and paper status) that I do not really 
 need (networked HP printers have their own embedded web server to see 
 detailed information on the printer).
 
 So, I would try with another backend (if usb is available in the wizard 
 when adding a new printer, or by direct input using lpadmin).

i will look to see what comes up at work this morning and at Dad and Mom's 
tonight

 
  Have you tried with usb backend? Type lpinfo -v to see the
  available backends for your system. Put here the output.
  
  Rashi:/home/mlaks# lpinfo -v
  network ipp
  network http
  network beh
  network lpd
  direct scsi
  direct hp:/par/HP_LaserJet_1200?device=/dev/parport0 direct hal
  network socket
  direct parallel:/dev/lp0
  serial serial:/dev/ttyS0?baud=115200
  network smb
  direct hpfax
 
 I see not direct hal :-?


what is direct hal?

 
  this is currently on the machine that I reverted to direct connection by
  parport parallel port.
  
  I will try to do it on the other machines tomorrow.
 
 So, if using parallel port it just works? Then that means the error comes 
 from the hp bakend :-?
  
  /usr/lib/cups/backend/usb
  
  here is the output
  /usr/lib/cups/backend/usb
  DEBUG: list_devices_libusb
  DEBUG: usb_find_busses=5
  DEBUG: usb_find_devices=6
  
  
  (recall I switched on this machine to the parallel port for a while)
 
 Then the output seems normal as the printer cannot be detected on USB 
 port.
 
 lpq
  here is the output
  
  HP_LaserJet_1200 is ready
  no entries
 
 O.K.
 
  Also, the recommended driver for your printer is pxlmono:
  
  http://www.openprinting.org/printer/HP/HP-LaserJet_1200
  
  So why does cups on my machine say Postscript en ?
 
 Because you can select any available driver for your printer, that is, 
 you can use pxlmono, hplip or standard postscript. 

 
 In fact, different drivers provide different quality and speed 
 printinting output so many people have several printers added using 
 different drivers in each of them (one hp 1200 printer instance with 
 PostScript driver, another hp 1200 instance with hplip driver and so 
 on...) :-)

 Is hplip a backend or a driver???

so which is 'better' or 'faster' the postscript or pxlmono? I guess some for
some stuff and some for others. Any discussion that you have found anywhere
I notice that my printer is slow at times for printing pdfs
Any references that you can share?

 
 Greetings,
 
 -- 
 Camaleón

You are very helpful! Thank you for any more light you can share!

Mitchell
 
 
 -- 
 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/pan.2010.03.16.11.40...@gmail.com
 


-- 
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/20100316120621.ga20...@earthlink.net



linux-image-2.6.32-trunk-686 causing grub problems: alphabetical

2010-03-16 Thread Mitchell Laks
I notice that others had problems with grub not updating the kernel
from linux-image-2.6.32-trunk-686 to linux-image-2.6.32-3-amd64
and I had this  same problem.

I suspect that this is because the heuristic that dpkg or apt or aptitude update
 is using
finds that linux-image-2.6.32-trunk-686 is greater than linux-image-2.6.32-3-amd
64 alphabetically
even though it is the older kernel
and this is breaking all of your automatic grub updates done by debian packaging
.

that is the reason we are all suffering

Mitchell


-- 
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/20100316122640.ga21...@earthlink.net



Re: hp laserjet 1200 repeated printer-state-message=/usr/lib/cups/backend/hp failed usb

2010-03-15 Thread Mitchell Laks
On 10:49 Mon 15 Mar , Camaleón wrote:

 It seems you are using the hp backend and failed what left the printer 
 in a paused status.

Thank you. Can you explain what you mean by 'backend' vs 'driver'?
I don't know what I am using. I have loaded many many cups packages, including
hplip and I have no idea what I am using. 
I made a list of all the debian packages and included it in one of my mails.

I am just blindly following 'cargo cult of cups'
and setting options to control access in /etc/cups/cupsd.conf and 
chosing Postscript recommended  in localhost:631 because I know that my 
hp1200 or hp1300 is
a postscript printer.

 
 Have you tried with usb backend? Type lpinfo -v to see the available 
 backends for your system. Put here the output.

Rashi:/home/mlaks# lpinfo -v
network ipp
network http
network beh
network lpd
direct scsi
direct hp:/par/HP_LaserJet_1200?device=/dev/parport0
direct hal
network socket
direct parallel:/dev/lp0
serial serial:/dev/ttyS0?baud=115200
network smb
direct hpfax

this is currently on the machine that I reverted to direct connection by 
parport parallel port.

I will try to do it on the other machines tomorrow.
 
 Then, query the printer to see if it is detected in that port. As root, 
 type:
 
 /usr/lib/cups/backend/usb

/usr/lib/cups/backend/usb

here is the output
/usr/lib/cups/backend/usb
DEBUG: list_devices_libusb
DEBUG: usb_find_busses=5
DEBUG: usb_find_devices=6


(recall I switched on this machine to the parallel port for a while)

lpq
here is the output

HP_LaserJet_1200 is ready
no entries


 
 And put here the output.
 
 Also, the recommended driver for your printer is pxlmono:
 
 http://www.openprinting.org/printer/HP/HP-LaserJet_1200

So why does cups on my machine say Postscript en ?


 
  [14/Mar/2010:11:39:52 -0400] Unable to remove temporary file
  /var/spool/cups/tmp/.hplip - Is a directory E [14/Mar/2010:11:39:52
  -0400] Unable to remove temporary file /var/spool/cups/tmp/.fontconfig
  - Is a directory E [14/Mar/2010:11:39:54 -0400] [cups-driverd] Bad
  driver information file /usr/share/ppd/postscript/Kyocera/ReadMe.htm!
  E [14/Mar/2010:11:39:54 -0400] [cups-driverd] Bad driver information
  file /usr/share/ppd/postscript/Kyocera/kyocera_ppd_8.2.txt!
  
  
  strange I am using the recommended Postscript en driver and what is this
  about Kyocera?
 
 That message comes from cups-driverd a daemon that is run when you add 
 or modify any aprinter. Do not care about that, it seems not related to 
 the main problem.
 
  I am tempted to switch back to the parallel port connection ,,,
 
 If it's USB 1.1 you will get lower bandwith, but if there is no other 
 choice...


 
 Side note: if you don't like the web interface, you can always add and 
 manage your printers via command line (lpadmin, lpstast...).



 
 Greetings,
 
 -- 
 Camaleón
 
 
 -- 
 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/pan.2010.03.15.10.49...@gmail.com
 


-- 
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/20100316025945.ga16...@earthlink.net



hp laserjet 1200 repeated printer-state-message=/usr/lib/cups/backend/hp failed usb

2010-03-14 Thread Mitchell Laks
Hi,

I have a Hp laserjet printer connected through a usb backend. I am plagued by 
repeated
episodes of failure of the printer to print. It works for a while and then it 
spontaneously stops working. I reinstall the driver via the localhost:631 
interface
and it prints and a day later it stops working.

D [14/Mar/2010:11:29:05 -0400] [Job 2806] Printer stopped due to backend 
errors; please consult the error_log file for details.
D [14/Mar/2010:11:29:05 -0400] [Job 2806] End of messages
D [14/Mar/2010:11:29:05 -0400] [Job 2806] printer-state=5(stopped)
D [14/Mar/2010:11:29:05 -0400] [Job 2806] 
printer-state-message=/usr/lib/cups/backend/hp failed
D [14/Mar/2010:11:29:05 -0400] [Job 2806] printer-state-reasons=paused
E [14/Mar/2010:11:39:52 -0400] Unable to remove temporary file 
/var/spool/cups/tmp/.hplip - Is a directory
E [14/Mar/2010:11:39:52 -0400] Unable to remove temporary file 
/var/spool/cups/tmp/.fontconfig - Is a directory
E [14/Mar/2010:11:39:54 -0400] [cups-driverd] Bad driver information file 
/usr/share/ppd/postscript/Kyocera/ReadMe.htm!
E [14/Mar/2010:11:39:54 -0400] [cups-driverd] Bad driver information file 
/usr/share/ppd/postscript/Kyocera/kyocera_ppd_8.2.txt!


strange I am using the recommended Postscript en driver and what is this about 
Kyocera?

I am tempted to switch back to the parallel port connection ,,,

Mitchell


-- 
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/20100314164452.ga4...@earthlink.net



Re: hp laserjet 1200 repeated printer-state-message=/usr/lib/cups/backend/hp failed usb

2010-03-14 Thread Mitchell Laks
On 16:36 Sun 14 Mar , Ron Johnson wrote:
 
 Dumb question: what does the error_log file say?

!!! That is from the error_log  :)

ls /var/log/cups/
access_log   access_log.5.gz  error_log.1.gz   error_log.6.gz   
page_log.3.gz
access_log.1.gz  access_log.6.gz  error_log.2.gz   error_log.7.gz   
page_log.4.gz
access_log.2.gz  access_log.7.gz  error_log.3.gz   page_log 
page_log.5.gz
access_log.3.gz  access_log.O error_log.4.gz   page_log.1.gz
page_log.6.gz
access_log.4.gz  error_logerror_log.5.gz   page_log.2.gz
page_log.7.gz

the info i quoted  was the info content in the error_log 



 E [14/Mar/2010:11:39:54 -0400] [cups-driverd] Bad driver information file 
 /usr/share/ppd/postscript/Kyocera/kyocera_ppd_8.2.txt!

from another line in the log. 

Note that I never owned any other printer than the HP 1200 (at work a 1300).

I never had this problem with the  lp0 connection. Only with the USB connection.

Trouble is I have 3 machines (hp 1200 or 1300) - work/home/my parents  
3 are now with usb connections. I only have
one parallel connector for home, to revert to.
i have the same failing driver in each place. Cups stops printing 
every few days and I have to
reinstall the driver whenever I want to print. It is annoying to my dad who 
cannot
print when I am not there...

Bad news. 

 
 
 strange I am using the recommended Postscript en driver and what is this 
 about Kyocera?
 
 I am tempted to switch back to the parallel port connection ,,,
 
 Mitchell
 
 
 
 
 -- 
 Ron Johnson, Jr.
 Jefferson LA  USA
 
 If God had wanted man to play soccer, he wouldn't have given
 us arms.  Mike Ditka
 
 
 -- 
 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/4b9d56e3.7060...@cox.net
 


-- 
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/20100315021217.gb4...@earthlink.net



Re: hp laserjet 1200 repeated printer-state-message=/usr/lib/cups/backend/hp failed usb

2010-03-14 Thread Mitchell Laks
  libcupsmime1 1.4.2-9.1  
   Common UNIX Printing System(tm) - MIME library
ii  libcupsppdc1 1.4.2-9.1  
   Common UNIX Printing System(tm) - PPD manipula
ii  libcupsys2   1.3.11-2   
   Common UNIX Printing System (transitional pack
ii  libcupsys2-dev   1.3.11-2   
   Common UNIX Printing System (transitional pack
ii  libgnomecups1.0-10.2.3-3+b1 
   GNOME library for CUPS interaction
ii  libgnomecupsui1.0-1c2a   0.31-3+b1  
   UI extensions to libgnomecups
ii  python-cups  1.9.48-1   
   Python bindings for CUPS
ii  python-cupsutils 1.0.0-6
   Python utility modules around the CUPS printin







I chose the Postscript recommended option in the hp drivers section in cups...


Thank you for your interest Ron, you have been very helpful in the past too!

Mitchell Laks
 


-- 
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/20100315025229.gc4...@earthlink.net



Re: hp laserjet 1200 repeated printer-state-message=/usr/lib/cups/backend/hp failed usb

2010-03-14 Thread Mitchell Laks
On 22:45 Sun 14 Mar , Wayne wrote:
 Upgraded cups for the last time today.  It great when it works but a
 real pain when it doesn't.  Going back to lpr/magicfilter which
 always
 worked.

If you would post about that, or give me a reference I would be grateful.
I have not used anything other than cups in  8 years...

Thanks
Mitchell

 
 Good luck - you are not alone anyway, if that matters.
 
 Wayne
 
 
 -- 
 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/4b9d9f4a.5030...@gmail.com
 


-- 
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/20100315030950.gd4...@earthlink.net



Re: hp laserjet 1200 repeated printer-state-message=/usr/lib/cups/backend/hp failed usb

2010-03-14 Thread Mitchell Laks
On 22:05 Sun 14 Mar , Ron Johnson wrote:
 
 3 PCs or 3 printers?

Three different pcs, each with a hp printer directly connected to it via a usb 
cable using cups printing.

Note that cups has always been flakey for me. So I have not infrequently had
to reinstall the printer driver to get it working over the years. I have used 
debian 
since 2002 or so. Before that redhat 7.3.

My guess about usb is  only that, a guess . I reverted at home to the parport 
connection
today in frustration. It may simply be accidentally that I switched to the usb
version when I thought I might  get greater throughput and faster printing
than with the 'older' parport approach.

My family is up in arms about this printing so I will need to explore
this idea over the next week or so. 

So today after the switch my computer prints, but that is
not a victory. Let me see if it keeps on printing tomorrow etc. 

The usb connection method  printed the first day also,
it just forgets how to in a day or so... 

I will also check to  see if it is a problem caused by
rebooting, Dad keeps rebooting his machine, while I do not reboot nor at work.

 
 *Anything* physically, literally common?  Even something that seems
 minor and inconsequential?
 
 Maybe going through a hub?  Especially an un-powered or cheap hub.
nope. direct usb connect.
 
 If there's nothing there, and it really does consistently work
 though the parport, then next step is to go to a cups-dedicated
 list.

yeah i guess so. but googling  i find random notes that sound similar
all over the web. I have always had a love hate thing with cups. Nice when
it works, but so finicky and difficult when it doesn't. Blame apple :).

 Appreciate that.
 
Keep up the good work!


-- 
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/20100315032845.ge4...@earthlink.net



Re: hp laserjet 1200 repeated ... (part 2)

2010-03-14 Thread Mitchell Laks
On 23:19 Sun 14 Mar , Ron Johnson wrote:
 
 Presumably you've tried simply bouncing the cups daemon with:
 /etc/init.d/cups restart

of course, to no avail. 

 You could also do something mind-blowingly crude like adding code to
 /etc/rc.local to reinstall the packages(s) at (for your father)
 boot-time or (for your work PC) to root's crontab at 3AM.

it isnt a package install issue. In fact this is one of my main issues with 
cups.
Cups is the ONLY package on my computer that requires any gui action at all.

It is anti linux! I need to log in to an apache server on
localhost:631 to choose
the driver for my (usb) connected printer and answer stupid questions.

This is really annoying to me.
I do everything else on the command line. I can't find any decent
documentation to use any simple file editing to control this!!!

I know what to edit in /etc/cups/cupsd.conf to run the server but nothing about 
choosing
the driver and installing it for a printer connected directly to the machine 
__without__ using the 
web interface.

If you know how to that would be helpful. I am willing to have it reinstall the 
printer
hourly or even every 5 minutes if necessary via cron :).

Mitchell





 
 That might work around the problem long enough to hear something
 from the hplip or cups people.
 
 -- 
 Ron Johnson, Jr.
 Jefferson LA  USA
 
 If God had wanted man to play soccer, he wouldn't have given
 us arms.  Mike Ditka
 
 
 -- 
 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/4b9db546.7060...@cox.net
 


-- 
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/20100315045528.gf4...@earthlink.net



extra 1~ added into front of middle button capture on ibook using Xorg not in gpm

2010-03-09 Thread Mitchell Laks
Hi,
I noticed recently when i try to copy paste 
using F10 to emulate the middle mouse 
on my ibook g4 running debian sid
that if I am in the standard terminal all is ok. 

However under Xorg in any application
even though I have set

# from http://pierre.baudu.in/ibook/
dev/mac_hid/mouse_button_emulation=1
# F10
dev/mac_hid/mouse_button2_keycode=68
# F11
dev/mac_hid/mouse_button3_keycode=87

in /etc/sysct.conf

when i push F10 after highlighting
date
it prints out
1~date

while if i push F11 I get it to print out
3~ something.

what is the 1~ comming from and how can i get rid 
of it.

Interesting, if i use a usb mouse on the machine
then the middle button works fine there..


Thus it seems only to be a Xorg problem. Anyone know a solution?

Thanks





-- 
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/20100309170842.ga29...@earthlink.net



Re: amd64 flash setup not working on youtube?

2010-02-21 Thread Mitchell Laks
On 18:28 Thu 18 Feb , Camaleón wrote:
 Another thing you can try is renaming your current ~/.mozilla folder 
 and start over again with a clean profile.
  
  Note I took out all of the swfdec or other libraries, it is clean with
  apt-get remove --purge
 
 O.k. :-)
 
 Greetings,
 
 -- 
 Camaleón
 
 
 -- 
 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/pan.2010.02.18.18.28...@gmail.com
 
I tried that as well. 

To summarize, I got some functionality from using swf (libswfdec-0.8-0), but 
not all 
the video I wanted (for instance the video on using the stumpwm window manager 
by male did not work).

The amd64 adobe download does not work - no matter what i tried some 
google videos would crash the browser.

When I ran icweasel from the console I got an error message 

Gdk-WARNING **: XID collision, trouble ahead

This occured with the 'nv' driver for the video card, installed by the 
debian installer.

I also tried using the nvidia binary from their website with the 
same result.



Mitchell


-- 
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/20100221152314.ga13...@earthlink.net



Re: amd64 flash setup not working on youtube?

2010-02-21 Thread Mitchell Laks
On 10:23 Sun 21 Feb , Mitchell Laks wrote:

Some more information I found on line.

My machine that is crashing is an older AMD64 machine
Athlon 64 3000+ (socket 754) which lacks the lahf instruction.

see this discussing

---
http://bugs.gentoo.org/show_bug.cgi?id=273718

Comment  #17 From Maks Verver  2009-07-20 12:40:53   [reply] --- 

I'm using an Athlon 64 3000+ (socket 754) which lacks the lahf instruction and
I've had this problem for months, but I never really understood what the
problem was, until the latest ebuild update spelled it out for me (thanks for
that!)

Understanding the problem, it was relatively easy to hack together a workaround
that works by trapping the illegal instruction signal and then emulating its
effects. This can be implemented as a small dynamic library that is placed in
the plugin directory (so it's loaded whenever the Flash plug-in is loaded) or
forced to load by adding it to LD_PRELOAD. I have attached the source in the
hope that it might be useful to other users.

The downside of the current ebuild is that it prevents the 64-bit plugin from
being installed through portage at all. Would you consider bundling my
workaround for 64-bit users who lack the lafh instruction or at least change
the error into a warning?

or 

http://bugs.gentoo.org/show_bug.cgi?id=268336

Looking around i think that lahf_lm instruction isn't set in AMD 64 cpu family
15. Could anyone confirm this? Maybe we could consider this as a USE flag? Well
this is only an idea...

Thanks again to the people involved in solving this bug...


Comment #20 From Maik Nijhuis 2009-08-03 09:06:42  [reply] ---

The lahf workaround works perfectly! I tried both adobe-flash-10.0.22.87 and
adobe-flash-10.0.32.18, on my non-lahf AMD64 machine. Thanks everybody!

-

so there is a download on their forum  of a library to  compile and install in 
the
.mozilla/plugins/
directory to avoid the crashes

I will have to look into this to try it.

Mitchell


-- 
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/20100221155906.ga8...@earthlink.net



amd64 flash setup not working on youtube?

2010-02-18 Thread Mitchell Laks
Hi

I had a old hard drive begin to fail, so I did a fresh debian-installer testing 
install and then did
a quick upgrade to sid. I installed amd64 version of debian. I had used i386 
version on that machine
before.

I would like to view google and youtube videos on that machine. I enabled the 
multimedia archive
http://debian-multimedia.org/

When i tried and installed

swfdec-mozilla - Mozilla plugin for SWF files (Macromedia Flash)
libswfdec-0.8-0-dbg - SWF (Macromedia Flash) decoder library
libswfdec-0.8-0 - SWF (Macromedia Flash) decoder library
libswfdec-0.8-dev

i was able to watch some stuff on youtube, but not others: for instance

practical common lisp video 

(from google videos) is not watchable on youtube

nor for instance is

Galois Theory and Representation Theory I
 
however
How to solve a Rubicks's cube part one 
can be viewed, while
3 year old solved Rubicks cube in 114 seconds 
cannot?

I also tried the 

flashplugin-nonfree 

as well as 

gnash-common-opengl - free SWF movie player - common files/libraries
gnash-common - free SWF movie player - common files/libraries
gnash-cygnal - free SWF movie player - Media server
gnash-opengl - free SWF movie player
gnash-tools - free SWF movie player - Command-line Tools
gnash - free SWF movie player
mozilla-plugin-gnash

I also tried to use the library from adobe  
libflashplayer-10.0.45.2.linux-x86_64.so.tar.gz
as well as
flashplayer10_1_p2_linux_121709.tar.gz

putting the .so files in .mozilla/plugins/ directory
and all that happens is youtube crashes as well as even the NY Times homepage 
crashes ...

Thanks for any pointers!

Mitchel Laks


-- 
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/20100218161051.ga4...@earthlink.net



Re: amd64 flash setup not working on youtube?

2010-02-18 Thread Mitchell Laks
On 17:30 Thu 18 Feb , Camaleón wrote:
 On Thu, 18 Feb 2010 11:10:52 -0500, Mitchell Laks wrote:
 
 (...)
 
  I also tried to use the library from adobe
  libflashplayer-10.0.45.2.linux-x86_64.so.tar.gz as well as
  flashplayer10_1_p2_linux_121709.tar.gz
  
  putting the .so files in .mozilla/plugins/ directory and all that
  happens is youtube crashes as well as even the NY Times homepage crashes
  ...
 
 For Iceweasel, you can:
 
 1/ Create a folder ~/.mozilla/plugins
 2/ (Re)move any previous flash*.so file(s) in there
 3/ Download libflashplayer-10.0.45.2.linux-x86_64.so.tar.gz¹ and 
 extract libflashplayer.so under ~/.mozilla/plugins
 4/ Restart Iceweasel
 5/ Enjoy...
 
 ¹ http://labs.adobe.com/downloads/flashplayer10_64bit.html
 
 Greetings,
 
 -- 
 Camaleón

Dear Camaleon,
I thought I indicated that I  had done exactly that 
(as I mentioned in the above excerpt that you quoted). 
I put the .so file exactly there. /home/mlaks/.mozilla/plugins/libflashplayer.so

Now the iceweasel (or conkeror) crashes even to visit the NY Times web site, as 
well as
youtube.

The abdobe library crashes my iceweasel when invoked by youtube or nytimes.

Note I took out all of the swfdec or other libraries, it is clean with apt-get 
remove --purge


mitchell


-- 
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/20100218180027.gb4...@earthlink.net



Re: looking for digital pen/tablet on Debian Squeeze

2010-02-07 Thread Mitchell Laks
Another thing to consider is a fujitsu lifebook tablet t4010d
which comes with  a built in wacom tablet and can
be made to work with debian. i followed instructions
on several web sites and it runs nicely with sid.


thus on ebay one can buy one for approximately $250
including 1.2g and a 40G hard drive

http://shop.ebay.com/?_from=R40_trksid=m38_nkw=Fujitsu+T4010d

these were 1-2000 laptops a few years ago.

i picked one up myself and it is a great wacom tablet and laptop
and works with debian.

i installed debian via a pxe boot as it came without a cdrom drive.

mitchell laks


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



Re: Postgresql wont restart. Can I clear shared memmory segments without rebooting?

2010-01-05 Thread Mitchell Laks
On 02:39 Tue 05 Jan , Stan Hoeppner wrote:
 Try these:
 
 To free pagecache:
 
 # echo 1  /proc/sys/vm/drop_caches
 
 To free dentries and inodes:
 
 # echo 2  /proc/sys/vm/drop_caches
 
 To free pagecache, dentries and inodes:
 
 echo 3  /proc/sys/vm/drop_caches

this was very helpful. Exactly what I was looking for. I was able to read more 
about this
and hopefully next time it happens, I will understand how to proceed.
I was able to look this info about pagecache and shared memory up and learn 
about it!

Thank you very much!
Mitchell


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



Re: Postgresql wont restart. Can I clear shared memmory segments without rebooting?

2010-01-05 Thread Mitchell Laks
On 09:36 Tue 05 Jan , Boyd Stephen Smith Jr. wrote:
 
 These commands should help:
 ipcmk (1) - create various ipc resources
 ipcrm (1) - remove a message queue, semaphore set or shared memory id
 ipcs (1)  - provide information on ipc facilities
 
 They are from the util-linux package.

Dear Stephen,

Your help and that of Stan Hoeppner were amazing! I was able to look it all up 
in google
once I used your ipcs and ipcrm in my search. The best sites included
http://markmail.org/search/?q=postgresql+ipcrm
which gave lots of hits that gave information on why postgresql wasnt starting 
again and 
how to proceed.

You guys are amazing!!!
Thanks again!
Mitchell


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



Re: Postgresql wont restart. Can I clear shared memmory segments without rebooting?

2010-01-05 Thread Mitchell Laks
On 15:30 Wed 06 Jan , Kun Niu wrote:
 Before you execute echo 3  /proc/sys/vm/drop_caches, you'd better
 run sync first.:D

Thank you, a good point.

I was mostly interested as a matter of knowledge, as I did not go into linux to 
become a 'cargo culter' and reboot without knowing what it did. Rebooting will 
close
everything safely as well as free the unfreed shared memory segments. 

I wanted to know for knowledge sake... !

On the other hand, 
ipcs
look for postgresql owned shared memory
and 
ipcrm -s ID of those

would seem to be ok as long as no postgresql process is goind on in the 
background.

After reading about the different ways of doing this, which include rebooting, 
at the
postgresql mailing list, I would likely proceed in order of choice

1. reboot
or else if I am feeling really bold and adventurous, and have everything backed 
up nicely,
2. ipcs, then ipcrm -s ID

Thank you again!

Mitchell Laks


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



Postgresql wont restart. Can I clear shared memmory segments without rebooting?

2010-01-04 Thread Mitchell Laks
Hi

I have a remote server running debian etch,
that has only 1G of ram, (that i cannot easily add ram to), that runs
a large postgresql 7.4 database and it occasionally runs out of enough shared 
memory. The database is static
and I no longer add data to it.  The machine sits on the network and  is just 
for serving up data.

When it runs out of memory, the postgresl database shuts down and the  
postgresql server will not restart.
I get a message about not enough shared memory when I try to restart postgresql.

While this is happening, when I ran top I saw that the swap space was utilized 
extensively  while the was 
some free regular memory (i dont have the output to show).

However i did run and saved the output of the program
vmstat and got this data

procs ---memory-- ---swap-- -io -system-- cpu
 r  b   swpd   free   buff  cache   si   sobibo   in   cs us sy id wa
 0  0 1951552 208876  28340  42528   14   111311   10   13  2  1 59 39



Now ordinarily when I run the server, (the postgresql crashing happens about 
once every 3 or 4 weeks)
and I typically reboot the machine and all is fine.

In ordinary use there is no problem, I typically have the following output from 
top.

top:

Tasks:  96 total,   2 running,  93 sleeping,   0 stopped,   1 zombie
Cpu(s):  0.0%us,  0.0%sy,  0.0%ni,100.0%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st
Mem:906784k total,   897804k used, 8980k free, 5428k buffers
Swap:  1951856k total,  132k used,  1951724k free,   761704k cached


Now what I usually do is simply reboot the machine and everything is fine.


While  I can continue to do this, but it goes against the grain. Is there some 
system command to  free the
shared memory so that postgresql will start again without rebooting?

The only significant application that runs on the machine is essentially this 
postgresql database...
Rebooting is so 'windows(c)'...


Mitchell


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



vpnc times out after about 30 minutes i think

2009-12-28 Thread Mitchell Laks
Hi
I need to connect via a cisco router from a debian machine to a debian machine. 
after i run vpnc and after I am  connected, 
suddenlym after about 30 minutes (i think), i find myself disconnected, even in 
the
middle of active interaction.

I tried including the line 

DPD idle timeout (our side) 0

in my default.conf file
but this did not help.

Any other ideas... The administrator of the cisco router says the problem is at 
my end, he still sees
me connected it must be my client that is not working...

Thanks,
Mitchell 


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



Re: debian ibook auto suspends to ram on nonuse. [Solved]

2009-11-09 Thread Mitchell Laks
On 10:11 Mon 09 Nov , green wrote:
 
 I use sleepd for that.

Thank you very much. That works nicely. I need to play with it to get the right 
behaviour.

Here is how it works on my ibook G4 running sid.

There are 2 packages which work in synergy. 
there is 

1. pbbuttonsd provides the daemon which controls the powersave routines.

I see that there is a directory
/etc/power/ controlled by the pbbuttonsd daemon which controls the settings
but the main configuration file seems to be in /etc/pbbuttons.conf


2. powerprefs provides a gui to control it 

there is a nice gtk gui to set the policies for suspend to ram and 
batttery and dimming of the monitor and EMA (emergency action on low battery).

the web site for both packages is 
pbbuttons.berlios.de
by matthias grimm.  

--
now for an amd/intel processor with acpi 
we can use pm-utils (pm-powersave pm-hibernate 
pm-suspend), which i guess must be setup to run with  a daemon such as
sleepd. It would be nice to have a nice directory and control structure such as 
set up by pbbuttonsd.

Although he hints that powerprefs gui can be used for other than powerpc, i 
dont see any debian packages for using powerprefs gui with the 386 
processor. Not that the gui is so very important to us debianers. :).

Mitchell



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



debian ibook auto suspends to ram on nonuse. how to set up for other notebooks?

2009-11-08 Thread Mitchell Laks
Hi,

I have an ibook G4 laptop that has run debian powerpc sid for years. 

The battery really lasts a long time. I can leave it for days and it will 
retain its charge. I assumed it was  the hardware initially.  

However upon reflection,  I credit this, at least in part to the 
aggressive memory saving features that it uses. However they just appeared on 
the laptop
when I did my install and I have no idea which software I installed  is 
responsible.

I notice that 

1. it very agressively dims the display when i don't hit keys
2. It suspends the display to ram very very quickly when it is not used.

I have installed debian on multiple other laptops and I have never had the same 
luck.
As soon as I disconnect from the power supply they rapidly run down in a short 
while.  

I am trying to reproduce the suspend to ram on lack of keyboard and mouse 
interaction. I 
don't want to use gnome or kde. I use stumpwm.

I have read many articles on suspend to ram.

Now I am working with one laptop, an old fujitsu lifebook t4010d tablet
pc  that i picked up for $200. It would really be nice to use this off the 
power cord.

If I do

echo -n mem  /sys/power/state

I can suspend to ram

If I do

echo -n disk  /sys/power/state

I can suspend to disk.

I am hopeful. I see on the fujitsu, If I do suspend to ram the machine will 
last 
for many hours. If I don't suspend to ram it  dies in 1-2 hours. Suspend to ram 
is the key.

So how do I set up the fujitsu analgous to the way the debian ibook is setup so 
that it
will check for lack of keyboard or mouse activty and suspend to ram. What do I 
monitor?

I can write a  script in bash or shell or else I can use a debian package. 

Which package is it on the debian powerpc that does this?

I see on the ibook

pm-utils, powermgmt-base, powerprefs, powersaved powerpc-utils powertop 

I suspect that pm-utils is involved, but which script is setting the automatic
suspend to ram feature on lack of keyboard and mouse motion?

Mitchell 









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



Re: initramfs-tools does not add dm-mod.ko to initrd for kernels 2.6.30-2-686 and kernels 2.6.30-2-686-bigmem

2009-10-15 Thread Mitchell Laks
On 15:47 Thu 15 Oct , Jack Schneider wrote:
 Hi, Mitchell
 FWIW I have exactly the same problem...  Whew !!!  I didn't cause this
 messI hope!!!
 
 Thanks more that you know... BTW I haven't fix mine yet... But getting
 some help.
 
 Jack

I have identified the problem.

dist-upgrade was the problem:

1. lvm2 requires dmsetup
2. devicekit-disks conflicts with dmsetup
3. gnome-control-center and other gnome crap need devicekit-disks
4. so lvm2 and dmsetup get kicked out to rc status
5. then you can't boot with your kernel if / is on lvm2

:)

so 
apt-get install dmsetup lvm2 
will kick out lots of gnome stuff
but i use stumpwm anyway :)

I will start a new thread to publicize this information.

Mitchell 


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



sid dist-upgrade: lvm2 conflicts with devicekit-disks so systems with / on lvm2 killed

2009-10-15 Thread Mitchell Laks
Hi,

I recently  did a sid dist-upgrade, and could no longer boot using 
linux-image-2.6.30-2-686-bigmem kernel
and had to boot off an old 2.6.26 kernel.

The reason is that gnome-control-center and other gnome stuff bring in 
devicekit-disks
and 

1. lvm2 requires dmsetup
2. devicekit-disks conflicts with dmsetup
3. gnome-control-center and other gnome crap need devicekit-disks
4. so lvm2 and dmsetup get kicked out to rc status
5. then you can't boot with your kernel if / is on lvm2

and / on lvm2 is a prominent choice in the standard debian lenny install disk. 
I got
/dev/sda1 as ext2 /boot and the rest of the install on /dev/sda2 as physical 
volume. 

First I thought the problem was initramfs-tools, but it is not. 
Even if I force the
the initrd-img to contain the dm_mod modules with entries in 
/etc/mkinitrd/modules 
the system still does not boot.

This is a problem. 

To solve it temporarily:

apt-get install dmsetup lvm2
will kick out lots of gnome stuff
but i use stumpwm anyway :)

Mitchell


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



Re: xsession errors

2009-10-15 Thread Mitchell Laks
On 15:44 Thu 15 Oct , Jan Willem Stumpel wrote:

I think I had this problem many years ago. I dont remember if it was in my old
redhat days or after I moved to debian in ?2003 or so.  I remember I had a 50G 
or 100G .xsession-errors file or
something like that.

The solution is simple. You must change your logging for X. This is controlled
by the file

/etc/X11/Xsession

you will see the variable

ERRFILE=$HOME/.xsession-errors

and you should see the line

exec $ERRFILE 21


now this says it keeps adding to the file
exec $ERRFILE 21

if you change it to 
exec $ERRFILE 21
then when you restart X it is wiped out.

or else you can just do
ERRFILE=/dev/null 
and never collect errors at all ...
But that is not wise...

Mitchell





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



sid gnome is now incompatible with / on lvm2 media

2009-10-15 Thread Mitchell Laks
This is just to publicize the fact that

many gnome packages depend upon devicekit-disks 
devicekit-disks is incompatible with 
dmsetup and therefore lvm2.

If your / is on a lvm2 group you will not be able to boot.

here is a debian bug reference:

http://bugs.debian.org/550434

if you have gnome installed and do
apt-get dist-upgrade and don't see the warnings, you will not be able to boot.


Mitchell


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



initramfs-tools does not add dm-mod.ko to initrd for kernels 2.6.30-2-686 and kernels 2.6.30-2-686-bigmem

2009-10-14 Thread Mitchell Laks
Hi,

I just upgraded my lvm based system 
to the latest debian kernels and it will not boot from grub with the 2.6.30 
kernels
which cannot find the /dev/mapper/debian-root partition on /dev/sda2 because 
the dm-mod and other dm kernel
modules are not in the initrd-2.6.30-2-bigmem archive. Of course they are in my 
older initrd-2.6.26-2-686  from the 2.26 kernels.

This is standard debian isntall- I follow the choices in the debian-installer 
and get root on lvm physical device /dev/sda2 with a separate /boot on 
/dev/sda1,

How can I work around this and what to do? My old kernel 2.6.26 works fine 
How to force initrd to load the dm-mod and other device-mapper kernel modules?

Mitchell


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



Re: initramfs-tools does not add dm-mod.ko to initrd for kernels 2.6.30-2-686 and kernels 2.6.30-2-686-bigmem

2009-10-14 Thread Mitchell Laks
On 00:05 Thu 15 Oct , Mitchell Laks wrote:
 How can I work around this and what to do? My old kernel 2.6.26 works 
 fine How to force initrd to load the dm-mod and other device-mapper 
 kernel modules?

I have added
dm_mod
dm_log
dm_snapshot
dm_mirror
to 
/etc/initramfs-tools/modules
file and then 
did 
dpkg-reconfigure linux-image-2.6.30-2-686-bigmen
and it regenerated the initrd.img file
but then when I selected this kernel in grub2
it still could  not find the 
/dev/mapper/debian-root device.

I was dumped by grub2 into Busybox
(initramfs)
and when I ran
(initramfs) cat /proc/modules 

sure enough these modules were now in the kernel.
However when I did ls /dev/mapper all I see is
/dev/mapper/control
and I cannot find the
/dev/mapper/debian-root
directory
 
which exists when I boot into the vmlinuz-2.6.26-2-686  kernel.

So why is grub2 failing to boot in the 2.6.30-2-686 kernel?

Mitchell


 


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



gnome - all windows dont move and cant change size or max or min windows

2009-09-29 Thread Mitchell Laks
hi,

I am running sid and I decided to try using gnome instead of kde. I did 
update-alternatives --config x-session-manager
and picked gnome (there were two auto and manual mode). I tried both and I 
tried them with multiple window-managers including kwin and xfce and others.

The weird thing is that the windows dont move. They only have one decoration in 
the right upper corner, and no max or min buttons. Moreover I could not move 
the darn windows,
i tried grabbing them with control left button, meta left button and start left 
button.

every window was stuck and i could only open new windows which covered the 
windows already there.

very very odd

any ideas. 

i moved to icewm, but what is wrong with my gnome installation?

mitchell


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



sid upgrade: could not perform immediate configuration (2) on perl

2009-09-29 Thread Mitchell Laks
hi,

I am doing a sid upgrade and I got this message

E: Internal error, Could not perform immediate configuration (2) on perl.

Any ideas on how to procede... :)

Mitchell


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



Re: sid upgrade: could not perform immediate configuration (2) on perl

2009-09-29 Thread Mitchell Laks
On 07:45 Tue 29 Sep , Kelly Harding wrote:
 2009/9/29 Mitchell Laks ml...@post.harvard.edu:
  hi,
 
  I am doing a sid upgrade and I got this message
 
  E: Internal error, Could not perform immediate configuration (2) on perl.
 
  Any ideas on how to procede... :)
 
 
 I just got this too. Not sure what cause/solution is.

i played around and now it works.

i went to the 
/var/cache/apt directory and did

dpkg -i perl-5.10.1-3.deb
and there was a conflict with perl-docs-5.10.0 

so i removed that
apt-get remove perl-docs-5.10.0

then there was something about needing perl-base-5.10.1-3
it had already been downloaded in this directory:
so i installed that
dpkg -i perl-base-5.10.1-3.deb (or something).deb

then i tried to install latest perl-modules and latest perl package in same 
directory 
dpkg -i perl-modules-5-1-.1-3 and dpkg-i perl-5.10.1-3
it  gave errors about dependecy being messed up.

then i went and simply did
apt-get install -f
and it fixed itself miraculously!
then i did apt-get upgrade and now all is ok

DO NOT DO THIS. it may hose your computer and you will have broken parts!!!

:)

of course i did it and it worked beautifully:)

good luck.

i love sid.


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


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



  1   2   3   >