Re: [OT] plot execution flows from C/C++ sources

2011-08-10 Thread Jens Höpken
On 10.08.11 16:49, Hugo Vanwoerkom wrote:
> Joao Ferreira Gmail wrote:
>> Hello all,
>>
>> [  maybe some programers out there... :)  ]
>>
>> I recently stared working on a project for maintenance and new
>> developments on an existing huge code base of C/C++
>> It's quite a challenge for newcommers.
>>
>> Does anyone know of any tools that would help in ploting execution flow
>> diagrams from the sources ?
>>
> 
> This is not something new, I used to do it with IBM Research in the
> 80's, but I don't know if it exists for OOP.
> 
> Hugo
> 
> 
I don't know if this is what you need, but have you tried out doxygen?

Jens


-- 
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/4e436bcb.8050...@gmail.com



Re: ..FPV glasses?, was: Problem with USB storage device - video glasses

2011-08-10 Thread Bret Busby

On Tue, 9 Aug 2011, Arnt Karlsen wrote:


Date: Tue, 9 Aug 2011 21:47:55 +0200
From: Arnt Karlsen 
To: debian-user@lists.debian.org
Subject: ..FPV glasses?, was: Problem with USB storage device - video glasses
Resent-Date: Tue,  9 Aug 2011 19:48:19 + (UTC)
Resent-From: debian-user@lists.debian.org

On Wed, 10 Aug 2011 00:50:12 +0800 (WST), Bret wrote in message
:


Hello.

I have a pair of video glasses, that apparently, include 8GB of
storage.


..link?  (I'm an RC modeler looking for FPV etc glasses,
http://en.wikipedia.org/wiki/First_Person_View )




http://www.thinkgeek.com/gadgets/security/c3eb/

The glasses on that web page, now, may be a later model than what I have 
(I bought mine, about 18 months ago, and used them for the first time, 
this week).


Mine cost about 100USD (something like 99.95USD, but, close enough to 
100USD), and the video resolution specified in the instruction manual 
for mine, is VGA (640x480), compared with the 960x720 as specified on 
that web page.


Also, whilst that web page and the instruction manual for my set, state 
that the battery charge life for recording video, is about 90 minutes, 
the battery charge life appears to be only about an hour (60 minutes, 
plus or minus about 5 minutes).


I have found a couple of problems with my set (apart from the issue of 
the storage device not automounting, and, from the instruction manual, 
it should automatically mount), one of which, is that, with the camera 
being on the left arm of the frame, rather than centralised to capture 
close to what the user sees, a degree of parallax error occurs, and the 
earplugs, which are required to be inserted when using the video camera 
(to hear the messages such as the starting and stopping of the 
recording), are too big.


The instruction manual and the box that the product is supplied in, do 
not have any information of the manufacturer of the product, so I could 
not advise of the problems to the manufacturer, so I advised of each of 
the problems encountered to the supplier. I am waiting for a response 
from the supplier.


You might also be interested in 
http://www.thinkgeek.com/gadgets/security/c7b4/ (that that web page 
shows to be discontinued)
and, from memory, ThinkGeek had advertised a remote control helicopter 
that could record video. I could not find it on the ThinkGeek web site 
so, after about half an hour's searching, I found the web page at 
http://www.gadgetfind.com/hoverspyrchelicopter.html , which has the 
hypertext link ( the word "here", in "Check out this spy helicopter 
here..."), which points to 
http://www.thinkgeek.com/geektoys/rc/e34f/?cpg=cj&ref=&CJURL=&CID=1869081 
, which appears to not include the particular helicopter, so, maybe, 
ThinkGeek no longer supply it.


ThinkGeek also have the video recording swim mask, at 
http://www.thinkgeek.com/gadgets/travel-outdoors/dc37/ , that appears to 
have the camera better located than on my video sunglasses, as, where it 
is located on that mask, it should reduce parallax error.


I am not an agent for Thinkgeek; only a customer of ThinkGeek.

I hope that the information above, is helpful to you.

--
Bret Busby
Armadale
West Australia
..

"So once you do know what the question actually is,
 you'll know what the answer means."
- Deep Thought,
  Chapter 28 of Book 1 of
  "The Hitchhiker's Guide to the Galaxy:
  A Trilogy In Four Parts",
  written by Douglas Adams,
  published by Pan Books, 1992




--
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.1.10.1108111242550.24...@bretnewworkstation.busby.net



Re: network devices have vanished on Dell D600

2011-08-10 Thread Mark Grieveson
On Wed, 10 Aug 2011 18:20:00 + (UTC)
debian-user-digest-requ...@lists.debian.org wrote:

> Try by powering off the computer and leave it so for a while. Then
> engage it and wait for a miracle... if no miracle comes to you I
> would go for a bug report :-)
> 
> Greetings,


Yes, the linuxquestions.org post was indeed made by me about the same
laptop.  Anyway, it does seem that turning off the laptop and leaving
it for a while is the only thing that's worked so far.  I did this and
it is now working again.  For the record (and in case it can provide
clues as to why I'm getting this fickle performance from the laptop),
I'm attaching a text file with the results of various commands
(iwconfig and dmesg).

Thanks for the feedback.  I may simply need to get a different laptop.
However, hopefully the laptop will work more consistently in the future
(though it seems to burn out and require at least a day's rest before
it works properly in setting up the network devices again).

Mark


root@debian:/home/mark# dmesg | grep eth
[1.293472] eth0: Tigon3 [partno(BCM95705A50) rev 3001] (PCI:33MHz:32-bit) 
MAC address 00:11:43:53:99:6e
[1.293477] eth0: attached PHY is 5705 (10/100/1000Base-T Ethernet) 
(WireSpeed[1])
[1.293481] eth0: RXcsums[1] LinkChgREG[0] MIirq[0] ASF[0] TSOcap[1]
[1.293485] eth0: dma_rwctrl[763f] dma_mask[64-bit]
[   15.134667] ADDRCONF(NETDEV_UP): eth0: link is not ready
[   15.153529] ADDRCONF(NETDEV_UP): eth1: link is not ready
root@debian:/home/mark# 
root@debian:/home/mark# dmesg | grep eth
[1.293472] eth0: Tigon3 [partno(BCM95705A50) rev 3001] (PCI:33MHz:32-bit) 
MAC address 00:11:43:53:99:6e
[1.293477] eth0: attached PHY is 5705 (10/100/1000Base-T Ethernet) 
(WireSpeed[1])
[1.293481] eth0: RXcsums[1] LinkChgREG[0] MIirq[0] ASF[0] TSOcap[1]
[1.293485] eth0: dma_rwctrl[763f] dma_mask[64-bit]
[   15.134667] ADDRCONF(NETDEV_UP): eth0: link is not ready
[   15.153529] ADDRCONF(NETDEV_UP): eth1: link is not ready
root@debian:/home/mark# dmesg | grep tg3
[1.244555] tg3.c:v3.102 (September 1, 2009)
[1.244797] tg3 :02:00.0: PCI INT A -> Link[LNKC] -> GSI 11 (level, low) 
-> IRQ 11
[   14.619792] tg3 :02:00.0: firmware: requesting tigon/tg3_tso5.bin
root@debian:/home/mark#
root@debian:/home/mark# dmesg | grep eth
[1.293472] eth0: Tigon3 [partno(BCM95705A50) rev 3001] (PCI:33MHz:32-bit) 
MAC address 00:11:43:53:99:6e
[1.293477] eth0: attached PHY is 5705 (10/100/1000Base-T Ethernet) 
(WireSpeed[1])
[1.293481] eth0: RXcsums[1] LinkChgREG[0] MIirq[0] ASF[0] TSOcap[1]
[1.293485] eth0: dma_rwctrl[763f] dma_mask[64-bit]
[   15.134667] ADDRCONF(NETDEV_UP): eth0: link is not ready
[   15.153529] ADDRCONF(NETDEV_UP): eth1: link is not ready
root@debian:/home/mark# dmesg | grep tg3
[1.244555] tg3.c:v3.102 (September 1, 2009)
[1.244797] tg3 :02:00.0: PCI INT A -> Link[LNKC] -> GSI 11 (level, low) 
-> IRQ 11
[   14.619792] tg3 :02:00.0: firmware: requesting tigon/tg3_tso5.bin
root@debian:/home/mark# dmesg | grep ipw2100
[6.628216] ipw2100: Intel(R) PRO/Wireless 2100 Network Driver, git-1.2.2
[6.628220] ipw2100: Copyright(c) 2003-2006 Intel Corporation
[6.628400] ipw2100 :02:03.0: PCI INT A -> Link[LNKB] -> GSI 5 (level, 
low) -> IRQ 5
[6.629015] ipw2100: Detected Intel PRO/Wireless 2100 Network Connection
[6.629029] ipw2100 :02:03.0: firmware: requesting ipw2100-1.3.fw
root@debian:/home/mark# 
root@debian:/home/mark# lsmod | grep tg3
tg388273  0 
libphy 11638  1 tg3
root@debian:/home/mark# lsmod | grep ipw2100
ipw210053316  0 
libipw 18439  1 ipw2100
root@debian:/home/mark# 


#$@%! flash is messing with the volume

2011-08-10 Thread briand
Hi all,

I'm noticing that flash is modifying the sound settings, or maybe it's 
modifying them and
then not setting them back.

for example if I use alsamixer to look at the settings and then run vlc and 
modify the volume
the settings don't change.

but playing something in flash seems to do all sorts of random stuff including 
muting the audio.
the controls work.

anybody know how to deal with this other than to delete flash (again).

#$#%!, I hate flash.


Thanks,

Brian


-- 
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/20110810190445.2d652...@windy.deldotd.com



wheezy won't boot any more.

2011-08-10 Thread Hendrik Boom
Just upgraded a squeeze system to wheezy.  It rebooted and ran just fine 
(except that my scanner still doesn't work, but that's another issue.)  
Then I did dpkg-reconfigure sysv-rc.  It checked it was safe to adopt the 
new parallel boot, and subsequently the machine booted faster.

But today it won't boot.  It seems to start up fine, but then it gets 
suck after the message "Starting NFS common utilitues: statd"

Any ideas?

By the way, before that, udev gaveme some worrisome messages:

udev[786] failed to execute '/lib/udev/dmsetup-env' '/lib/udev/dmsetup-env 
254 1' No such file or directory

This message repeats with different numbers from [786], and comand-line 
parameters of

   254 2
   254 3
   254 4
   254 2
   254 1
   254 3
   254 4

Then there are messages

Setting up LVM VOlume Groupe.  Reading all physical volumes.  This may 
take a while
  Found colume group "lovesong" using metadata type lvm2
  5 logical colume(s) in volume group "lovesong" now active
Starting NFS common utilities: statd

and then it hangs until I reset the machine.  control-alt-delete does 
nothing.

It may be worth mentioning that /boot is on a secondary partition, and 
that / is on a logical volume that's in the colume group 'lovesong'.

The machine still boots properly using squeeze and lenny, (using 
different secondary partitions and different logical volumes for /boot 
and / ).

Any ideas?  

-- hendrik



-- 
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/j1vbn5$sv9$1...@dough.gmane.org



Unsubscription

2011-08-10 Thread 梁世博


-- 
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/20110811085756.74269...@pku.edu.cn



Unsubscription

2011-08-10 Thread 梁世博
On Thu, 11 Aug 2011 00:34:11 + (UTC)
debian-user-digest-requ...@lists.debian.org wrote:

> Content-Type: text/plain
> 
> debian-user-digest Digest Volume
> 2011 : Issue 1508
> 
> Today's Topics:
>   Re: System crash when swithing to te  [ Martin Lorenz
>   ] Re: System crash when swithing to te  [ Vivek
> Periaraj  [ "KS"  ] Re: Log File or Available Space Moni
> [ David Baron  ] Re: Log File or Available Space
> Moni  [ Walter Hurry  Available Space Moni  [ Rob Owens  ] Re: Log File or
> Available Space Moni  [ Mihira Fernando  Missing   [ "Robert Blair Mason Jr."
>   McClain  ] Re: how to change root passwd (if fo
> [ abdelkader belahcene  Space Moni  [ Mike McClain  ]


-- 
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/20110811084106.1046f...@pku.edu.cn



Re: Unable to create either bootable USB flashdrive or CD/DVDrom

2011-08-10 Thread Christian Jaeger
I wanted to try this, but erroneously gave /dev/sdb1 instead of
/dev/sdb to fdisk (fdisk -l already showed weird information, and
cfdisk would even give a fatal error, but I was too stupid to realize
my mistake and thought that gparted, which I used to partition the
flashdrive, made the new partition format or some kind of options that
were confusing fdisk and cfdisk, so I went on), and set the boot flag
there, then when I realized my mistake it was too late to see whether
the boot flag was set previously or not. I then restarted with a fresh
partition table, and set the boot flag on partition 1, used
unetbootin, tried to boot, but got the same result as before.

Christian.


-- 
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/CAEjYwfWT1iFP84fSucT+jr_VeXvvD7N1p4KEoq1ZhVXFL7Pa=a...@mail.gmail.com



Re: Unable to create either bootable USB flashdrive or CD/DVDrom

2011-08-10 Thread Christian Jaeger
> 1. unetbootin is still broken (unable to make *any* image work on flashdrive)

Well: typing  from within the boot menu, then changing the first
two paths (something like "/ubnkern initrd=ubninit") to
"/install.amd/vmlinuz initrd=/install.amd/initrd.gz" does make Debian
boot!!!

So this *almost* qualifies Debian as working--I think the whole point
of unetbootin is not to have to configure the boot loader manually, so
this fails, but at least it doesn't fall far.

> 2. all Ubuntu based images I tried are broken regardless of whether on
> flashdrive or DVD or CD. But these images must be working for the
> majority, so why not for me?

Still the case, I tried to use the same boot menu 'trick' as above for
Mythbuntu, which would make the kernel run into the "Unable to mount
root fs on unknown-block(104,1)" just as before.

Stripping the last two options from the boot parameters (quiet and
something else) makes the kernel show all messages; at the end it says
that it cannot find the boot volume, and that a root= option should be
specified, and that the choices are "sr0" nothing else, but trying
root=/dev/sr0 would not change the outcome except that the block
device numbers in the message above are different.

So I'm going to try the manual route, in the hope that would change something.

Christian.


-- 
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/CAEjYwfWLa6NC2Yxnbh=wiV0V2Ou=gn7j8lzaokahzqhmnh6...@mail.gmail.com



Re: Log File or Available Space Monitoring

2011-08-10 Thread Mike McClain
On Wed, Aug 10, 2011 at 10:56:44PM +0300, David Baron wrote:
> This is a not-so-sporadic problem: USB mouse begins spewing errors and these 
> grow the syslog and daemon.log files until /var is full. At this point, the 
> filesystem journal and the mail system are crippled. One must remove these 
> two 
> files and reboot. The bootup check will remove an inode or so and things will 
> play.
> 
> I would like some daemon to monitor either selected log files or the 
> available 
> space and alert before this gets out of hand. At this point, automatic 
> execution of a script or manual deletion can be done before its "too late."

On my old P1 system 'df /' takes 10 mS where as 'ls -l /var/log/messages'
takes 20 mS. Either of those could be scripted to run from a crontab and
give warning about a drastic change in file size or free space. The 
question that comes to my mind is how fast does /var fill up when you
have a driver continually spewing warnings? I shouldn't be surprised if
it happened pretty quickly. Can you keep an extra window open to watch the
pertinent log so that you will notice when it suddenly starts to scroll?

I'd suggest you:
A) try another usb port,
B) try another mouse,
C) clean the usb connections (many usb ports connect to the motherboard
via a cable, power down the computer, disconnect the cable from the mobo,
spray WD40 into the connector, slide on and off the pins on the mobo a few
times to clean off the pins, allow the WD40 to dry(5 min), re-assemble all
and cross your fingers.
If you don't know about how to protect your exposed electronics from
ESD damage, ignore this step or get educated help.

G'luck,
Mike
-- 
Satisfied user of Linux since 1997.
O< ascii ribbon campaign - stop html mail - www.asciiribbon.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/20110810233927.GB20693@playground



Re: how to change root passwd (if forgotten)

2011-08-10 Thread abdelkader belahcene
On 8/10/11, Lucas Lima  wrote:
> the passwords are stored in /etc/shadow and you deleted the file, you should
> restore it.
I just removed the second field , the password for th root. no more things

restore  it ??  how??


starting with  level 1, (single ) is not a solution,  the password is required.

regards




> And to set a new root password read more, its quite easy
>
> 2011/8/10 abdelkader belahcene 
>
>> *Hi,
>> I ve forgotten my root passwd on centos 6 (red hat based),
>>
>> I tried to change it as I used in debian (in debian it works perfectly) ,
>> that is:
>>
>> use a cd live (or installation cd1), to access the hd,
>> I mount  my root partition and mount proc and devices
>>
>> I tried  the command passwd, no error reprorted, but after reboot the
>> passwd had´t changed.
>> then I decided to remove passwd from /etc/shadow (delete the
>> second field).
>>
>> OK,  now I can access my machine  without passwd,  BUT I CAN´T GIVE ANY
>> PASSWORD  I RECEIVE THIS ERROR
>>
>> # passwd*
>> *Changing password for user root.
>> New password:
>> Retype new password:
>> passwd: Authentication token manipulation error
>>
>> any idea to fix the problem.
>> thanks a lot *
>>
>


--
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/caf3f0sq9v-jesslulzxqz-yrukv7uktrcy-oy15y7xzd+g0...@mail.gmail.com



Re: [maybe OT] unicode control characters in filenames

2011-08-10 Thread Mike McClain
 
> myuser@mysytem:~/path-name-of-unicode-files$ rename -n 's/\x{202A}//' *
> 
> I get no output although x{202A} is definitely the first char in the filename.
> This definitely needs more than a cursory view into perl - exactly what I 
> wanted to avoid.
> Maybe I better post in a perl mailinglist. Only I'm afraid that I'll get 
> nothing but RTFM! and "do your own homework!" - they maybe right ...

Sorry to hear my suggestion about tr didn't help you.
Try this:
ls *file.ext | hd   
to be sure you know what characters are in the filename, then
prename -n 's/\x20\x2A//' *file.ext
or what ever the characters turn out to be
Mike
-- 
Satisfied user of Linux since 1997.
O< ascii ribbon campaign - stop html mail - www.asciiribbon.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/20110810230457.GA20693@playground



Re: GLX Missing

2011-08-10 Thread Chris Brennan
On 8/10/2011 5:15 PM, Robert Blair Mason Jr. wrote:
> Hello list,
> 
> I am unable to get 3d graphics on my laptop.  I've tried the standard
> reinstall xserver-xorg, xserver-xorg-video-intel, dpkg-reconfigure, and
> then restart, but it hasn't worked.
> 
> My video card:
> 
> $ lspci | grep VGA
> 00:02.0 VGA compatible controller: Intel Corporation Core Processor
> Integrated Graphics Controller (rev 18)
> $ lsmod | grep -w video
> video  17707  1 i915
> thermal_sys17949  3 video,processor,thermal
> 
> So far, so good.  But...
> 
> $ cat /var/log/Xorg.0.log | grep -i glx
> [   659.592] (II) LoadModule: "glx"
> [   659.592] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
> [   659.599] (II) Module glx: vendor="NVIDIA Corporation"
> [   659.599] (II) NVIDIA GLX Module  280.13  Wed Jul 27 17:12:07 PDT
> 2011
> [   659.599] (II) Loading extension GLX
> [   659.841] (EE) Failed to initialize GLX extension (Compatible NVIDIA
> X driver not found)
> 
> To me, it looks like Xorg is trying to load nvidia's glx modules, but
> is (correctly) unable to do so, because it (correctly) can't find any
> nvidia video cards on my system.  It also seems that this is blocking
> Xorg from loading intel glx drivers.
> 
> Thanks for any advice,
> 
> --
> rbmj
> 
> 

Try changing your xorg.conf to reflect the intel driver vs the nvidia
one, I would remove the nvidia gpu driver all together unless you need
it for some reason.


-- 
> Chris Brennan
> --
> A: Yes.
> >Q: Are you sure?
> >>A: Because it reverses the logical flow of conversation.
> >>>Q: Why is top posting frowned upon?
> http://xkcd.com/84/ | http://xkcd.com/149/ | http://xkcd.com/549/
> GPG: D5B20C0C (6741 8EE4 6C7D 11FB 8DA8  9E4A EECD 9A84 D5B2 0C0C)



0xD5B20C0C.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature


GLX Missing

2011-08-10 Thread Robert Blair Mason Jr.
Hello list,

I am unable to get 3d graphics on my laptop.  I've tried the standard
reinstall xserver-xorg, xserver-xorg-video-intel, dpkg-reconfigure, and
then restart, but it hasn't worked.

My video card:

$ lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation Core Processor
Integrated Graphics Controller (rev 18)
$ lsmod | grep -w video
video  17707  1 i915
thermal_sys17949  3 video,processor,thermal

So far, so good.  But...

$ cat /var/log/Xorg.0.log | grep -i glx
[   659.592] (II) LoadModule: "glx"
[   659.592] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[   659.599] (II) Module glx: vendor="NVIDIA Corporation"
[   659.599] (II) NVIDIA GLX Module  280.13  Wed Jul 27 17:12:07 PDT
2011
[   659.599] (II) Loading extension GLX
[   659.841] (EE) Failed to initialize GLX extension (Compatible NVIDIA
X driver not found)

To me, it looks like Xorg is trying to load nvidia's glx modules, but
is (correctly) unable to do so, because it (correctly) can't find any
nvidia video cards on my system.  It also seems that this is blocking
Xorg from loading intel glx drivers.

Thanks for any advice,

--
rbmj


-- 
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/20110810171534.5361c...@blairasus.mason.homeunix.org



Re: Log File or Available Space Monitoring

2011-08-10 Thread Mihira Fernando

On 08/11/2011 02:37 AM, David Baron wrote:

On 08/11/2011 01:26 AM, David Baron wrote:

This is a not-so-sporadic problem: USB mouse begins spewing errors and
these grow the syslog and daemon.log files until /var is full. At this
point, the filesystem journal and the mail system are crippled. One must
remove these two files and reboot. The bootup check will remove an inode
or so and things will play.

I would like some daemon to monitor either selected log files or the
available space and alert before this gets out of hand. At this point,
automatic execution of a script or manual deletion can be done before
its "too late."

Any ideas?

(Running Sid)

Replace the mouse ?  Or, if thats a server box with no GUI, just keep
the mouse unplugged.

That it the easiest way to cause the problem!

BTW, this rat is the umteenth this year.
ALL of the wireless ones failed in a few months (without causing the errors)
including the holy models from microsoft.
Logitech's wire mice may last two weeks with luck.
Others simply die in too short order.
Not related to this error problem, however, or ...


I'd say busted USB port or subsystem. Its likely that the particular USB 
port or the entire usb subsystem has voltage issues.  No other reason 
for that many mice to go belly up



--
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/4e42fdb1.6020...@gmail.com



Re: Log File or Available Space Monitoring

2011-08-10 Thread Rob Owens
You could put /var/log in its own partition.  That way when it's full it
doesn't mess up anything else.

Gnome gives an alert when a drive is nearly full (at least it does on my
dad's Ubuntu machine).  I'm not sure what the name of the daemon is,
though.

-Rob

On Wed, Aug 10, 2011 at 10:56:44PM +0300, David Baron wrote:
> This is a not-so-sporadic problem: USB mouse begins spewing errors and these 
> grow the syslog and daemon.log files until /var is full. At this point, the 
> filesystem journal and the mail system are crippled. One must remove these 
> two 
> files and reboot. The bootup check will remove an inode or so and things will 
> play.
> 
> I would like some daemon to monitor either selected log files or the 
> available 
> space and alert before this gets out of hand. At this point, automatic 
> execution of a script or manual deletion can be done before its "too late."
> 
> Any ideas?
> 
> (Running Sid)
> 
> 
> -- 
> 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/201108102256.44347.d_ba...@012.net.il


-- 
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/20110810214110.ga19...@aurora.owens.net



Re: Log File or Available Space Monitoring

2011-08-10 Thread Walter Hurry
On Wed, 10 Aug 2011 22:56:44 +0300, David Baron wrote:

> This is a not-so-sporadic problem: USB mouse begins spewing errors and
> these grow the syslog and daemon.log files until /var is full. At this
> point, the filesystem journal and the mail system are crippled. One must
> remove these two files and reboot. The bootup check will remove an inode
> or so and things will play.
> 
> I would like some daemon to monitor either selected log files or the
> available space and alert before this gets out of hand. At this point,
> automatic execution of a script or manual deletion can be done before
> its "too late."
> 
> Any ideas?

Yes. Don't try to work around the symptoms; find and correct the source 
of the problem.



-- 
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/j1utke$mgs$1...@dough.gmane.org



Re: Log File or Available Space Monitoring

2011-08-10 Thread David Baron
> On 08/11/2011 01:26 AM, David Baron wrote:
> > This is a not-so-sporadic problem: USB mouse begins spewing errors and
> > these grow the syslog and daemon.log files until /var is full. At this
> > point, the filesystem journal and the mail system are crippled. One must
> > remove these two files and reboot. The bootup check will remove an inode
> > or so and things will play.
> > 
> > I would like some daemon to monitor either selected log files or the
> > available space and alert before this gets out of hand. At this point,
> > automatic execution of a script or manual deletion can be done before
> > its "too late."
> > 
> > Any ideas?
> > 
> > (Running Sid)
> 
> Replace the mouse ?  Or, if thats a server box with no GUI, just keep 
> the mouse unplugged.

That it the easiest way to cause the problem!

BTW, this rat is the umteenth this year.
ALL of the wireless ones failed in a few months (without causing the errors) 
including the holy models from microsoft.
Logitech's wire mice may last two weeks with luck.
Others simply die in too short order.
Not related to this error problem, however, or ...


-- 
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/201108110007.11414.d_ba...@012.net.il



Re: Hardware - Boot issues: No post

2011-08-10 Thread KS
On Wed, 10 Aug 2011 09:47 +0900, "Joel Rees" 
wrote:
> Just out of curiosity, ...
> 

hmmm I like that...

> 
> Have you used a flashlight to check under the motherboard and other
> places for dust, lint, loose screws, etc? Lots of things you won't see
> without a flashlight.
> 
> Have you taken a vacuum cleaner to the slots and, well, everything?
> (Carefully, of course.) Even just a year can be enough to build up
> quite a bit of lint and dust, and those tend to "break" electronics as
> quickly as anything. Vacuuming can often be a quick cure for a lot of
> things.

Agree 100% a layer of dust or lint on electronic components makes them
very likely to go bad much before expected time. My usual routine is to
clean my machines every 2months or so. Cleaning means using compressed
air/vaccum cleaner in the box. Fan blades should be wiped manually if
too much dirt. This not only improves the life of components by better
air circulation and heat dissipation but also reduces the noise the fans
make.
 
> Just make sure you're careful about static electricity, and avoid
> knocking off parts, vacuuming up delicate parts, or bumping things and
> "mis-adjusting" them, especially very low reactance coils (single, or
> even half-loop coils, and single-plate air capacitors) which you may
> not recognize as such at first.

Vacuum is usually above the box to *eat* up the dirt/lint dislocated by
compressed air from the can. Vacuum cleaners are notorious to keep all
the static charge so as to kill any sensitive electronic component.
 
> Have you used an eraser to clean the fingers of your memory boards?
> The original ones, especially.
> 
> Again, be somewhat careful to avoid letting the eraser knock parts off
> the board and such. And make sure you hold the board so that the
> eraser dust doesn't fall into or under parts.
> 
> Joel Rees
> 

Had done that and it didn't help. Probably because I just got the
motherboard in January and hence is quite new.

I'm quite happy with all the suggestions from the list. As always, a
well informed lot lurks d-u.
Thanks,
KS.

-- 
http://www.fastmail.fm - One of many happy users:
  http://www.fastmail.fm/docs/quotes.html


-- 
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/1313011282.4510.140258128273...@webmail.messagingengine.com



Re: System crash when swithing to text-console

2011-08-10 Thread Vivek Periaraj

On Wed, 10 Aug 2011, Camaleón wrote:
Then it can be royaly freezing (a soft kernel freeze) not just X. If 
you get no useful logs, you may need a second computer attached to one 
of the serial ports of your main system (the one that crashes) to 
catch something...


Or you can use 'netconsole' to capture the last few lines of the dying 
kernel. You need a second computer listening on a port on ethernet 
interface.


I had problems with i915 and this is what I did to find out the root 
cause of the problem.


V.

--
Money is the root of all evil, and man needs roots.



Re: Hardware - Boot issues: No post

2011-08-10 Thread KS
On Tue, 09 Aug 2011 17:23 -0400, "Mark Neidorff" 
wrote:
> 
> I don't know where you are located, but consider carefullyyou may
> have 
> toasted the A) RAM B) CPU C) mltherboard D) all of the above E) something
> else 
> that is bringing the entire system down.  By putting potentially broken 
> components into a good system, you can also toast components on the good 
> system. This will cost you more than taking the system into a reputable
> repair 
> shop and having them diagnose the problem(s) for you.  I recently did
> that and 
> I considered the $70 diagnostic fee to be cheap because then I knew
> exactly what to replace.
> 
> For future reference, you are best off if when doing something with RAM,
> you get a complete matched set of memory.  Don't mix and match.
> 
> Mark
> 

I'm in Canada and I believe the problem didn't happen due to the
electrical supply. As per my earlier message the mobo (at least) seems
to be toasted at this point.

I agree with your suggestion on memory. I thought that I would
underclock it to match my older DDR3 RAM which is 1333 with the new one
(1600). The easiest way would have been same brand and same specs.

thanks,
--
 KS

-- 
http://www.fastmail.fm - Access your email from home and the web


-- 
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/1313010661.1698.140258128271...@webmail.messagingengine.com



Re: System crash when swithing to text-console

2011-08-10 Thread Martin Lorenz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



Am 10.08.2011 16:07, schrieb Camaleón:
> On Tue, 09 Aug 2011 21:46:09 +0200, Martin Lorenz wrote:
> 
>> Am 08.08.2011 17:23, schrieb Camaleón:
>>> On Sun, 07 Aug 2011 13:54:09 +0200, Martin Lorenz wrote:
>>>
>>> (...)
>>>
 The misery begins as soon as you try to switch from X to console
 either by Ctrl-Alt-F1 or induced by system shutdown

 the monitor goes black and the sysem will not react to any input not
 even to SysReq Keys
>>>
>>> How about ssh? Can you still login via shh?
>>>
>>>
>> nope
>> all running ssh-sessions to that machine freeze the moment it tries to
>> switch to console.
>>
>> I had some tail -f's running in ssh-sessions on
>> /var/log/{debug|messages|Xorg.0.log}
>> All I see is the "shutdown" Broadcast message and Log-entries. Nothing
>> more.
> 
> Then it can be royaly freezing (a soft kernel freeze) not just X. If you 
> get no useful logs, you may need a second computer attached to one of the 
> serial ports of your main system (the one that crashes) to catch 
> something...
> 

the system does not have a serial port.
maybe there is one on the MB ... however it is not wired to the case.

 after about a minute or so the system powers off and immediately on
 again to boot up normally (with the usual warning about HDs not having
 been unpountet properly)

 I have no idea so far as to where I should start investigating. The
 logs don't show any abnormality as far as I can say.
>>>
>>> Maybe something related to the VGA card driver or KMS... is there
>>> something interesting in the logs ("/var/log/syslog" or "/var/log/
>>> Xorg.0.log")?
>>>
>>>
>> No, at least nothing that seems even vaguely related to the crash.
> 
> What VGA driver are you using? Whatever it is, try to disable KMS to see 
> if that makes any difference... or if you are currently running "non-KMS" 
> try with the opposite :-)
> 

the driver (module) is i915
I changed the "options" line to modeset=0 (was modeset=1) without any
success
Also tried nomodeset at the grub kernel-bootline,
no success either

the kernel unfortunately dosen't have /proc/config.gz enabled, so I
could not check if CONSOLE_FB is enabled.

maybe I have to bake my own kernel ...

greets
martin
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJOQvDaAAoJECZ8myNlGwU1OqMH/Rj+J0Z2MZ6m2Yly2aaRobx5
QWlOm2wsZZptXoh6e+LPQmK/GLjmXLF4IpfM00h9/OoBjc4xDZGFSkeUUzVG6iCO
E/wPf0wAK/rkVwXUyat+8lJvbS14zlR38EOJ1abZM7mfYFjvODm71ePyvs38XM86
34fr5cpdNYS/YJobtxjwHop7J2RvA0UnBWF+bmXemjxQNMAgGknCcbGuAooE255J
7PblaeQjuiQVmCsUXNqR1ko49b43roUgLq3WVk9++DmKIdCwQnzu900NuzaWrKFr
risturF0hfGS+TTMx35N84lSo0fDUceIHSJSYgY1jWMb4vcMm+K8J1rdWMBw6J0=
=nvmU
-END PGP SIGNATURE-


-- 
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/4e42f0e6.3030...@lorenz.priv.at



Re: Log File or Available Space Monitoring

2011-08-10 Thread Mihira Fernando

On 08/11/2011 01:26 AM, David Baron wrote:

This is a not-so-sporadic problem: USB mouse begins spewing errors and these
grow the syslog and daemon.log files until /var is full. At this point, the
filesystem journal and the mail system are crippled. One must remove these two
files and reboot. The bootup check will remove an inode or so and things will
play.

I would like some daemon to monitor either selected log files or the available
space and alert before this gets out of hand. At this point, automatic
execution of a script or manual deletion can be done before its "too late."

Any ideas?

(Running Sid)
Replace the mouse ?  Or, if thats a server box with no GUI, just keep 
the mouse unplugged.



--
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/4e42e9a5.1090...@gmail.com



Re: Hardware - Boot issues: No post

2011-08-10 Thread Stan Hoeppner
On 8/10/2011 1:19 PM, KS wrote:

> The PSU was not disconnected but turned off from the switch on the PSU.
> I make sure that when I buy one, it does have a switch on itself rather
> than common practice of many manufacturers to take that off to save
> $0.01.

Wish you'd made this statement, or similar, up front.  You're a hardware
freak like me.  Well, maybe not quite like me.  :)  I _never_ buy an ATX
PSU without a manual switch either.  This one thing demonstrates to me
that you know hardware.  Most people never give this a though.  Sorry if
it seemed I was "talking down" to you with some of my suggestions.  It's
a public list, so I always assume lowest common denominator, starting
with the basics.

> Today's results:
> 1. Old RAM is working that I could use that in another machine and it
> booted up fine.
> 2. Switched CPU and it works as before without any issues. Good old AMD
> Phenom II X4 970BE
> 3. Memtest is running on old RAM just to be sure.
> 
> Tentative conclusion:
> My ASUS motherboard is fried and I need to RMA it :( that means another
> couple of weeks of wait time.
>
> Will test motherboard after memtest.
> Tahnks again.

Bench test it outside the chassis with another PSU.  If it still won't
POST I'd say the board may have taken a dive.  This is weird.  I've
never seen/heard of a bad DIMM frying a mobo before...

-- 
Stan


-- 
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/4e42e6d0.5060...@hardwarefreak.com



Log File or Available Space Monitoring

2011-08-10 Thread David Baron
This is a not-so-sporadic problem: USB mouse begins spewing errors and these 
grow the syslog and daemon.log files until /var is full. At this point, the 
filesystem journal and the mail system are crippled. One must remove these two 
files and reboot. The bootup check will remove an inode or so and things will 
play.

I would like some daemon to monitor either selected log files or the available 
space and alert before this gets out of hand. At this point, automatic 
execution of a script or manual deletion can be done before its "too late."

Any ideas?

(Running Sid)


-- 
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/201108102256.44347.d_ba...@012.net.il



Re: bash quoting problems

2011-08-10 Thread Andreas Berglund

On 2011-08-10 07:46, Ivan Shmakov wrote:

Andreas Berglund  writes:


  >  I have a problem with the following sed snippet

  >  sed -i s"|^\( *PATH="\)\(.*\)|\1$ADD:\2|" ~/profile-test

  >  I need soft quotes in order for $ADD to expand and I also need to
  >  math against one doublequote in the regexp in for $ADD to be put in
  >  the corrct place.

The double quote character within Shell's double quotes can be
escaped with a backslash (“\”):

sed -i "s|^\( *PATH=\"\)\(.*\)|\1${ADD}:\2|"

However, one is by no means forced to use just one kind of
quotes in Shell, so the following is also possible:

sed -i 's|^\( *PATH="\)\(.*\)|\1'"${ADD}"':\2|'

  >  Does anyone know how to do this?

The questions like this are much more likely to be answered by
the comp.unix.shell Usenet newsgroup folks.  The newsgroup could
be accessed either using some sort of newsreader software (Gnus,
Alpine, SLRN, Icedove/Thunderbird, etc.), e. g.:


Thanks I'll make sure to gain access to that



news:comp.unix.shell
nntp://aioe.org/comp.unix.shell/

Or with a Web browser, e. g.:

http://www.webuse.net/frameset.php?ng=comp.unix.shell
http://groups.google.com/group/comp.unix.shell




--
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/4e42dbe1.2060...@home.se



Re: bash quoting problems

2011-08-10 Thread Andreas Berglund

On 2011-08-10 00:43, Bob McGowan wrote:

On 08/08/2011 04:43 PM, Andreas Berglund wrote:

Hi!
I have a problem with the following sed snippet
sed -i s"|^\( *PATH="\)\(.*\)|\1$ADD:\2|" ~/profile-test
I need soft quotes in order for $ADD to expand and I also need to math
against one doublequote in the regexp in for $ADD to be put in the
corrct place. Does anyone know how to do this?




You may want to consider putting the sed script in a file and using the
-f script (or --file=script) option instead.


Thanks I'll keep that in mind if I have another quoting problem :D



No quoting needed. ;)




--
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/4e42da5c.30...@home.se



Re: bash quoting problems

2011-08-10 Thread Andreas Berglund

On 2011-08-09 01:51, Bob Proulx wrote:


   sed -i s"|^\( *PATH=\"\)\(.*\)|\1$ADD:\2|" ~/profile-test

The above seems like you are doing more than you need with the long
match for (.*) and \2.  It isn't needed.  It is much more efficient to
avoid matching a potentially infinite amount of data.


Thanks for the tip, I just assumed sed does greedy matching.


   sed -i "s|^\( *PATH=\"\)|\1$ADD:|" ~/profile-test

Sometimes quoting can be complicated.  In which case it is often
useful to drop out of double quotes and move to single quotes.

   sed -i "s|^\( *PATH="'"'"\)|\1$ADD:|" ~/profile-test

That "'"'" looks scary but isn't.  ..."  '"'  "...  One double quote
to stop the double quoted string.  One single, one double, one single,
to insert one double quote.  Then another double quote to pick up the
double quoted string.


Thanks, I saw a recommendation to that effect when googling but didn't 
get how it worked until now.




Or reverse it for the variable.  Which is probably what I would do
there.

   sed -i 's|^\( *PATH="\)|\1'"$ADD"':|' ~/profile-test


Good thinking I'll keep that in mind :D


Bob



--
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/4e42d9ea.2020...@home.se



Re: Visited URL links in Epiphany

2011-08-10 Thread Frank Lanitz
On Tue, 09 Aug 2011 21:10:34 +0200
Tomas Kral  wrote:

> Hello List,
> 
> How do I enable the functionality, that already visited URL links in
> Epiphany web browser, are shown in a changed colour? 
> 
> I was looking for some type of extension because I have installed just
> bare Epiphany package. And visited links do not change the colour so far
> for me.

Most likely this is configured via css of the website you visited. 

Cheers, 
Frank 
-- 
Frank Lanitz 


pgpMkj1pKGhjG.pgp
Description: PGP signature


Re: Best linux Distro 2011

2011-08-10 Thread Chris Brennan
On 8/10/2011 1:51 PM, Hans-J. Ullrich wrote:

You make some valid, neutral points here, and I have no argument up to
this point.

> 4. FreeBSD (and I thought long of it), just lost, as packages and updates 
> must 
> be compiled on the system itself. That was no problem for me, but things hnad 
> to go fast, and I was the only one, who was able to compile things. The other 
> mebers of my team were Microsoft-Mouse-Pusher or noobs.

The FreeBSD Ports system isn't the only means to install software.
Alongside the Ports system is the pkg_* system for installing pre-built
packages, these version numbers are almost always in-line w/ ports so
there is little issue and you can safely mix-match in most cases, so
long as you pay attention.


> 5. The winner was Debian. Why? Easy to tell: The packaging thing was running 
> perfectly, I could automate a lot of things (cron-apt for example), 
> protection 
> was good with a little more work, and, very important, I could use webmin (in 
> a restricted form) for our noob-admins and also some usermin-modules for my 
> customers (also very restricted form). All other things could be configured 
> to 
> my needs, thanks to the scripts, debian is bringing by default. 
> 
> And, not to forget: debian is running on the most different hardware, on 
> intel 
> machines, solaris, risc whatever. I choose after this advice: Choose a 
> distribution, and learn it. But learn it well! It was also the well 
> documentation and manuals, which made my decision easy (although the docu of 
> FreeBSD is very well, too!)

I beg your pardon, but the FreeBSD handbook beats any linux distro's
documentation hands down. You can 'man  and get a well
documented man page on that topic, I can't "man wl" in Debian.

Don't get my wrong, I like Debian a lot, I've been using it since 6 was
released and so far, it suites my needs, I even choose it for the VPS I
just got. I'm also a FreeBSD fan (used it since the early 5.x days)

FreeBSD can also run on these platforms. Although, Solaris is a
UNIX-based OS, not a platform, are you talking about SUN Systems? Check
out [2] and [3] for FreeBSD's Architecture support policy and a link to
download the current supported branches (8.2 and 7.4) across multiple
architectures. There are other niche-releases of FreeBSD released by
developers on the side, such as NanoBSD, which is used as the
base-platform for pfSense.

> 
> And not forget its freedom: There is no coorporation behind it, which si 
> controlling everything (like i.e. SuSE or RedHat!!)

Last I heard, while RedHat does own the rights to Fedora, it is
primarily a community-driven bleeding-edge OS designed to provide RHEL
an up to date, stable environment. I dunno about SuSE, never used it
much. Fedora, while bleeding edge, isn't all that bad if one takes your
own advice and learns it well.

> 
> If I would have to choose today again, I would again vote for Debian, 
> especially for noobs. It is easy to install, well to learn, is still pure 
> linux (like slackware), and has a fine community.

Slackware is more pure in my option, only because the developer aims to
provide a *vanilla* environment that is free from developer influence.
The Debian way of doing something won't fly in Slackware, but the
vanilla/neutral way of doing something in Slackware will work in almost
any other modern *Nix OS

> 
> Many may ask, and Ubuntu? Aaah, f...k off! I do not like, what Ubuntu does. 
> It 
> is mostly preconfigured, and people do not learn anything. And it lacks with 
> configuration. I remember, I should change postfix from English to German. No 
> problem in Debian! Just install German locales and configure postfix. And 
> Ubuntu? There are no German locales in its repository! Ah, get lost!
> It is an American Distro!
> 
> Ok, this was just my personal point. I love Debian, fes problems with it and 
> bugs are fixed s fast! 

Bugs are fixed quite fast in FreeBSD too, spend time on -ports,
-hackers, -bugs or -security and you'll see, sometimes, they are fixed
within minutes of being discovered. Bugs found in in BASE can take a bit
longer because there is a testing procedure to ensure that new bugs
aren't introduced into the base system by mistake with the fix.

This is also my opinion, but I think it's an opinion founded slightly
more in fact. Take a look at the mailing lists[1] For FreeBSD, join a
few and you'll see how well taken care of and robust FreeBSD really is.
Ultimately, it comes down to what will work best in your environment and
I'm sure we're all happy that you found one. It just seems like your
analysis of FreeBSD was a bit short-minded.

[1]http://lists.freebsd.org/mailman/listinfo
[2]http://www.freebsd.org/doc/en/articles/committers-guide/archs.html
[3]http://www.freebsd.org/where.html

Yes, I'm a FreeBSD fan, I'm also a Debian fan, which is why I sit on
this mailing list. I'm also a long-time fan of Slackware, although I
haven't used it in many years. So be kind, don't flame me :D

-- 
> Chri

Re: Boost sound volume?

2011-08-10 Thread Robert Blair Mason Jr.
On Wed, 10 Aug 2011 20:06:19 +0200
Tomas Kral  wrote:

> On Wed, 2011-08-10 at 16:07 +0200, Robert Blair Mason Jr. wrote:
> > On Wed, 10 Aug 2011 06:01:46 -0400
> > Carl Fink  wrote:
> > > No, it's a well-known problem with PulseAudio. It gives max
> > > volumes much, much lower than Windows for no special reason I
> > > know of.
> > 
> > Is it possible for me to just kill the PulseAudio server when I'm
> > starting certain applications, or force them to use ALSA?
> > 
> > > Robert: if you're using Gnome, run gnome-volume-control. You can
> > > use the slider at the top to set volume to "more than 100%".
> > > (Yes, I know that's stupid.) Unfortunately the system will forget
> > > this setting if you ever lower the volume.
> > 
> > Right now, I'm running LXDE, but I do have gnome-alsamixer
> > installed, and all of those are at max.  Considering this is little
> > more than a graphical frontend for the command line alsamixer, I'm
> > thinking you mean the applet.  But the package gnome-applets pulls
> > in 357 MB of dependencies.  Is there a simple way to do the same
> > from the command line?  I have plenty of hard disk space - it just
> > seems like a huge waste.
> > 
> > Thanks,
> > 
> > --
> > rbmj
> > 
> 
> Have you tried alsa-utils package?
> It provides these commands:
> /usr/bin/aplay
> /usr/bin/amixer
> /usr/bin/arecordmidi
> /usr/bin/aseqnet
> /usr/bin/alsamixer
> /usr/bin/aconnect
> /usr/bin/speaker-test
> /usr/bin/iecset
> /usr/bin/amidi
> /usr/bin/aplaymidi
> /usr/bin/aseqdump
> 
> To set volume you may type e.g.
> amixer sset Master 80%
> amixer sset PCM 100%
> 

I already have used alsamixer to set literally everything to 100%:

$ amixer
Simple mixer control 'Master',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined penum
  Playback channels: Mono
  Limits: Playback 0 - 87
  Mono: Playback 87 [100%] [0.00dB] [on]
Simple mixer control 'Headphone',0
  Capabilities: pvolume pswitch penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 87
  Mono:
  Front Left: Playback 87 [100%] [0.00dB] [on]
  Front Right: Playback 87 [100%] [0.00dB] [on]
Simple mixer control 'Speaker',0
  Capabilities: pvolume pswitch penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 87
  Mono:
  Front Left: Playback 87 [100%] [0.00dB] [on]
  Front Right: Playback 87 [100%] [0.00dB] [on]
Simple mixer control 'PCM',0
  Capabilities: pvolume penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 255
  Mono:
  Front Left: Playback 255 [100%] [0.00dB]
  Front Right: Playback 255 [100%] [0.00dB]
Simple mixer control 'Mic Boost',0
  Capabilities: volume penum
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 3
  Front Left: 3 [100%] [36.00dB]
  Front Right: 3 [100%] [36.00dB]
Simple mixer control 'IEC958',0
  Capabilities: pswitch pswitch-joined penum
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'Capture',0
  Capabilities: cvolume cswitch penum
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 31
  Front Left: Capture 31 [100%] [30.00dB] [on]
  Front Right: Capture 31 [100%] [30.00dB] [on]

--
rbmj


-- 
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/20110810135601.54b30...@blairasus.mason.homeunix.org



Re: Kernel messages during startup

2011-08-10 Thread Ralf Jung
Hi,

> On Tue, 09 Aug 2011 13:26:46 +0200, Ralf Jung wrote:
> > every time I boot my laptop (HP Compaq 615) into Debian testing, some
> > kernel messages are printed on the boot console:
> > [0.470960] pci_root PNP0A03:00: address space collision: host bridge
> > window [mem 0x000cc000-0x000c] conflicts with Video ROM [mem
> > 0x000c-0x000ce9ff] [0.471052] pci_root PNP0A03:00: address space
> > collision: host bridge window [mem 0x000ec000-0x000e] conflicts with
> > reserved [mem 0x000ef000-0x000f]
> 
> (...)
> 
> There is an upstream bug for those errors:
> 
> Bug 38522 - address space collision error message on boot
> https://bugzilla.kernel.org/show_bug.cgi?id=38522
I think this is only about the first one, the other one is slightly different 
("conflicts with Video RAM" vs. "conflicts with reserved"), and it was already 
present in 2.6.39.

> For the rest... well, this may require an additional Google search :-)
Well, I did that, and for some of them I found that supposedly, they are 
harmless. I wonder however if that qualifies as a bug, i.e. is it justified to 
report a bug against the kernel (at bugs.debian.org) saying that there is this 
message during startup?

Kind regards,
Ralf


-- 
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/201108102044.15561.ralfjun...@gmx.de



Re: Hardware - Boot issues: No post

2011-08-10 Thread KS
Thanks for the pointers.

> 
> I doubt you fried a CPU due to swapping DIMMs, unless static discharge
> was involved.  Did you use a static strap, or grasp the chassis with one
> hand while inserting the DIMMs with the other?  Many people ignore the
> static threat, simply due to ignorance or not reading instructions.
> 

I do take care to avoid any static charge. Always go touch the metal
part of kitchen tap before starting working on PC and then keep and hand
on the metal part of the case as long as possible. Working only on wood
floor and not in the carpeted room.

> I assume you disconnected the PSU power cord while swapping the DIMMs.
> If you did not, the board was still receiving +5VSB from the PSU.  If
> you did not, disconnect the power cord, pull the chassis cover, insert
> the two original DIMMs where you had them previously, reconnect the
> power cord, power on the machine.  Some boards don't like having
> components swapped when +5VSB is present.  If this works, power down,
> pull the power cord, and add the two new DIMMs.  Insert the power cord
> and power on.  Maybe you'll get lucky.  If not, we trudge on until we
> find the actual source of the problem.
> 

The PSU was not disconnected but turned off from the switch on the PSU.
I make sure that when I buy one, it does have a switch on itself rather
than common practice of many manufacturers to take that off to save
$0.01.

Today's results:
1. Old RAM is working that I could use that in another machine and it
booted up fine.
2. Switched CPU and it works as before without any issues. Good old AMD
Phenom II X4 970BE
3. Memtest is running on old RAM just to be sure.

Tentative conclusion:
My ASUS motherboard is fried and I need to RMA it :( that means another
couple of weeks of wait time.

Will test motherboard after memtest.
Tahnks again.
-- 
  KS
  list...@fastmail.fm

-- 
http://www.fastmail.fm - A no graphics, no pop-ups email service


-- 
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/1313000383.17369.2161683...@webmail.messagingengine.com



Re: how to change root passwd (if forgotten)

2011-08-10 Thread shawn wilson
you forgot chroot. might also need to do ldconfig -v to make sure the path
to shared libraries is correct (but i don't think so).

you used to be able to clear out the field in the shadow file or clear out
the x (iirc) in passwd, but i think default pam will stop you from doing
this :)

On Wed, Aug 10, 2011 at 11:25, abdelkader belahcene wrote:

> *Hi,
> I ve forgotten my root passwd on centos 6 (red hat based),
>
> I tried to change it as I used in debian (in debian it works perfectly) ,
> that is:
>
> use a cd live (or installation cd1), to access the hd,
> I mount  my root partition and mount proc and devices
>
> I tried  the command passwd, no error reprorted, but after reboot the
> passwd had´t changed.
> then I decided to remove passwd from /etc/shadow (delete the
> second field).
>
> OK,  now I can access my machine  without passwd,  BUT I CAN´T GIVE ANY
> PASSWORD  I RECEIVE THIS ERROR
>
> # passwd*
> *Changing password for user root.
> New password:
> Retype new password:
> passwd: Authentication token manipulation error
>
> any idea to fix the problem.
> thanks a lot *
>


Re: how to change root passwd (if forgotten)

2011-08-10 Thread Ivan Shmakov
> abdelkader belahcene  writes:

[…]

 > then I decided to remove passwd from /etc/shadow (delete the
 > second field).

 > OK, now I can access my machine without passwd, BUT I CAN´T GIVE ANY
 > PASSWORD  I RECEIVE THIS ERROR

 > # passwd*
 > *Changing password for user root.
 > New password:
 > Retype new password:
 > passwd: Authentication token manipulation error

 > any idea to fix the problem.

Running pwck(8) may give one more information on the issue.

Then, I'd make a backup for shadow(5) and try to use pwconv(8)
to fix the inconsistencies reported by pwck(8).

 > thanks a lot *

-- 
FSF associate member #7257


-- 
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/86y5z1b0ir@gray.siamics.net



Re: cups on wheezy problem

2011-08-10 Thread Wayne Topa

On 08/10/2011 01:38 PM, Camaleón wrote:

On Wed, 10 Aug 2011 12:57:13 -0400, Wayne Topa wrote:


On 08/10/2011 10:27 AM, Camaleón wrote:



And "ls -l /dev/usblp1" returns...?


ls -l /dev/usb/lp1


Well, your log said "usblp1":

Aug 8 13:52:38 dj kernel: [14830.034204] usblp1: USB Bidirectional printer dev 
3 if 0 alt 1 proto 2 vid 0x067B pid 0x2305
  ^^
:-?


And "ls -l /usr/lib/cups/backend/" shows what available backends?


As of this mornings upgrade shows the same as below but includes usb
now.


How voluble is this USB thingy.

  ^^^  I don't know what this means
If you mean the usb-printer cable, if it works on Squeeze I would hope 
that it would work on wheezy & sid...  :-)



Why would no one else be having this problem?  Make no sense to me.


I would review the current open bugs for cups:


I don't usually go to the bugs page on debian.org directly but by the
Google links when I am searching for the 'error of the day'  :-(

I do however, maybe wrongly, rely on listbugs  so here is what it has
been saying for days now.
Fixed: cups/1.4.8-1
I am running 4.8-2 and an attempt to downgrade reports it could not find
4.8-1.

An attempt to print shows
Aug 10 12:28:13 dj kernel: [ 1029.762136] usb 3-1: USB disconnect, device 
number 2
Aug 10 12:28:13 dj kernel: [ 1029.762391] usblp1: removed
Aug 10 12:28:19 dj kernel: [ 1036.244036] usb 3-1: new full speed USB device 
number 3 using ohci_hcd
Aug 10 12:28:19 dj kernel: [ 1036.411106] usb 3-1: New USB device found, 
idVendor=067b, idProduct=2305
Aug 10 12:28:19 dj kernel: [ 1036.45] usb 3-1: New USB device strings: 
Mfr=1, Product=2, SerialNumber=0
Aug 10 12:28:19 dj kernel: [ 1036.411122] usb 3-1: Product: IEEE-1284 Controller
Aug 10 12:28:19 dj kernel: [ 1036.411127] usb 3-1:
Aug 10 12:28:19 dj kernel: [ 1036.44] usblp1: USB Bidirectional printer dev 
3 if 0 alt 1 proto 2 vid 0x067B pid 0x2305
Aug 10 12:28:19 dj mtp-probe: checking bus 3, device 3: 
"/sys/devices/pci:00/:00:12.0/usb3/3-1"
Aug 10 12:28:20 dj mtp-probe: bus: 3, device: 3 was not an MTP device


That's the same log report you got before, right? Nothing has changed.


There is a 'something ?' causing weird mtp-probe call.  I'll keep
looking to see if I can figure out just what.

Funny thing is that the same thing is happening on Sid.  I wonder how
this got to wheezy in this condition??


One of the Debian bugs I posted before links to this one (directly to CUPS):

http://www.cups.org/str.php?L3884+Qversion:1.5

At least you are not alone on this...


I didn't look before but I will now.  Thanks for the links...


Greetings,




--
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/4e42c94c.5090...@gmail.com



Re: Boost sound volume?

2011-08-10 Thread Tomas Kral
On Wed, 2011-08-10 at 16:07 +0200, Robert Blair Mason Jr. wrote:
> On Wed, 10 Aug 2011 06:01:46 -0400
> Carl Fink  wrote:
> > No, it's a well-known problem with PulseAudio. It gives max volumes
> > much, much lower than Windows for no special reason I know of.
> 
> Is it possible for me to just kill the PulseAudio server when I'm
> starting certain applications, or force them to use ALSA?
> 
> > Robert: if you're using Gnome, run gnome-volume-control. You can use
> > the slider at the top to set volume to "more than 100%". (Yes, I know
> > that's stupid.) Unfortunately the system will forget this setting if
> > you ever lower the volume.
> 
> Right now, I'm running LXDE, but I do have gnome-alsamixer installed,
> and all of those are at max.  Considering this is little more than a
> graphical frontend for the command line alsamixer, I'm thinking you
> mean the applet.  But the package gnome-applets pulls in 357 MB of
> dependencies.  Is there a simple way to do the same from the command
> line?  I have plenty of hard disk space - it just seems like a huge
> waste.
> 
> Thanks,
> 
> --
> rbmj
> 

Have you tried alsa-utils package?
It provides these commands:
/usr/bin/aplay
/usr/bin/amixer
/usr/bin/arecordmidi
/usr/bin/aseqnet
/usr/bin/alsamixer
/usr/bin/aconnect
/usr/bin/speaker-test
/usr/bin/iecset
/usr/bin/amidi
/usr/bin/aplaymidi
/usr/bin/aseqdump

To set volume you may type e.g.
amixer sset Master 80%
amixer sset PCM 100%

-- 
Tomas Kral 


--
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/1312999579.2713.6.camel@lynx.localhost.localdomain



Re: Best linux Distro 2011

2011-08-10 Thread Hans-J. Ullrich
Hi folks, 

I think, the best Distro is, what is fitting the users needs. So just let me 
explain, why I like Debian, and what alternatives are also fine.

First of all, I tested almost 20 distros. The most major ones, but also some 
not well known ones, like trinux or easy linux for example. 

My main target were the use for web servers and mail servers. 

The result was, that only 5 distros left. The other ones fell off, because the 
packages were too old, or there was no support by any maintainers. Some used 
too old kernels and some were not easy to administrate ("easy" means: Cannot 
be administrated by beginners, who can not use a command line).

However, the 5 distros I chose were RedHat Enterprise, United Linux, Debian, 
OpenBSD, FreeBSD. The winner was Debian! Why?

1. RedHat lost, because they did not patch a openssh secrity-hole for 3 weeks! 
(any other distro did!) 

2. United Linux lost, because they installed in standard server installation 
mode unnecessary (and unwanted) services like telnet. WTF? Yes, United Linux 
was claimed as a distro for servers, and for those I expect a minimal 
configuration.

3. That is what I liked most at OpenBSD. As OpenBSD is a little bit slower as 
Linux and very hard to configure (there were 3 noobs in our team), I decided 
not to use OpenBSD. Additionally our server were secured by a very expensive 
firewall, so protection was not so important.

4. FreeBSD (and I thought long of it), just lost, as packages and updates must 
be compiled on the system itself. That was no problem for me, but things hnad 
to go fast, and I was the only one, who was able to compile things. The other 
mebers of my team were Microsoft-Mouse-Pusher or noobs.

5. The winner was Debian. Why? Easy to tell: The packaging thing was running 
perfectly, I could automate a lot of things (cron-apt for example), protection 
was good with a little more work, and, very important, I could use webmin (in 
a restricted form) for our noob-admins and also some usermin-modules for my 
customers (also very restricted form). All other things could be configured to 
my needs, thanks to the scripts, debian is bringing by default. 

And, not to forget: debian is running on the most different hardware, on intel 
machines, solaris, risc whatever. I choose after this advice: Choose a 
distribution, and learn it. But learn it well! It was also the well 
documentation and manuals, which made my decision easy (although the docu of 
FreeBSD is very well, too!)

And not forget its freedom: There is no coorporation behind it, which si 
controlling everything (like i.e. SuSE or RedHat!!)

If I would have to choose today again, I would again vote for Debian, 
especially for noobs. It is easy to install, well to learn, is still pure 
linux (like slackware), and has a fine community.

Many may ask, and Ubuntu? Aaah, f...k off! I do not like, what Ubuntu does. It 
is mostly preconfigured, and people do not learn anything. And it lacks with 
configuration. I remember, I should change postfix from English to German. No 
problem in Debian! Just install German locales and configure postfix. And 
Ubuntu? There are no German locales in its repository! Ah, get lost!
It is an American Distro!

Ok, this was just my personal point. I love Debian, fes problems with it and 
bugs are fixed s fast! 

Thank you Debian!

Best regards

Hans-J. Ullrich

 


-- 
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/201108101951.07848.hans.ullr...@loop.de



Re: how to change root passwd (if forgotten)

2011-08-10 Thread Aniruddha
On Wed, Aug 10, 2011 at 5:25 PM, abdelkader belahcene
 wrote:
> Hi,
> I ve forgotten my root passwd on centos 6 (red hat based),
>
> I tried to change it as I used in debian (in debian it works perfectly) ,
> that is:
...
>
> any idea to fix the problem.
> thanks a lot
>
http://www.centos.org/docs/5/html/Installation_Guide-en-US/ch-rescuemode.html


-- 
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/campsvvyx37xfzy4dyscmzszr3khyjaitysbykhnyw_gjpak...@mail.gmail.com



Re: cups on wheezy problem

2011-08-10 Thread Camaleón
On Wed, 10 Aug 2011 12:57:13 -0400, Wayne Topa wrote:

> On 08/10/2011 10:27 AM, Camaleón wrote:

>> And "ls -l /dev/usblp1" returns...?
> 
> ls -l /dev/usb/lp1

Well, your log said "usblp1":

Aug 8 13:52:38 dj kernel: [14830.034204] usblp1: USB Bidirectional printer dev 
3 if 0 alt 1 proto 2 vid 0x067B pid 0x2305
 ^^
:-?

>> And "ls -l /usr/lib/cups/backend/" shows what available backends?
> 
> As of this mornings upgrade shows the same as below but includes usb
> now.

How voluble is this USB thingy.

>>> Why would no one else be having this problem?  Make no sense to me.
>>
>> I would review the current open bugs for cups:
> 
> I don't usually go to the bugs page on debian.org directly but by the
> Google links when I am searching for the 'error of the day'  :-(
> 
> I do however, maybe wrongly, rely on listbugs  so here is what it has
> been saying for days now.
> Fixed: cups/1.4.8-1
> I am running 4.8-2 and an attempt to downgrade reports it could not find
> 4.8-1.
> 
> An attempt to print shows
> Aug 10 12:28:13 dj kernel: [ 1029.762136] usb 3-1: USB disconnect, device 
> number 2
> Aug 10 12:28:13 dj kernel: [ 1029.762391] usblp1: removed 
> Aug 10 12:28:19 dj kernel: [ 1036.244036] usb 3-1: new full speed USB device 
> number 3 using ohci_hcd
> Aug 10 12:28:19 dj kernel: [ 1036.411106] usb 3-1: New USB device found, 
> idVendor=067b, idProduct=2305
> Aug 10 12:28:19 dj kernel: [ 1036.45] usb 3-1: New USB device strings: 
> Mfr=1, Product=2, SerialNumber=0 
> Aug 10 12:28:19 dj kernel: [ 1036.411122] usb 3-1: Product: IEEE-1284 
> Controller 
> Aug 10 12:28:19 dj kernel: [ 1036.411127] usb 3-1: Manufacturer: Prolific 
> Technology Inc.
> Aug 10 12:28:19 dj kernel: [ 1036.44] usblp1: USB Bidirectional printer 
> dev 3 if 0 alt 1 proto 2 vid 0x067B pid 0x2305 
> Aug 10 12:28:19 dj mtp-probe: checking bus 3, device 3: 
> "/sys/devices/pci:00/:00:12.0/usb3/3-1" 
> Aug 10 12:28:20 dj mtp-probe: bus: 3, device: 3 was not an MTP device

That's the same log report you got before, right? Nothing has changed.
 
> There is a 'something ?' causing weird mtp-probe call.  I'll keep
> looking to see if I can figure out just what.
> 
> Funny thing is that the same thing is happening on Sid.  I wonder how
> this got to wheezy in this condition??

One of the Debian bugs I posted before links to this one (directly to CUPS):

http://www.cups.org/str.php?L3884+Qversion:1.5

At least you are not alone on this...

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.08.10.17.38...@gmail.com



Re: network devices have vanished on Dell D600

2011-08-10 Thread Camaleón
On Wed, 10 Aug 2011 12:55:14 -0400, Mark Grieveson wrote:

>> Have you tried to reload both modules? I.e.:
>> 
>> modprobe -r tg3 && modprobe tg3
>> modprobe -r ipw2100 && modprobe ipw2100
>> 
>> (do not do this if you are connected remotely via ssh and be careful,
>> this can lead to a computer hang, so be prepared...)
> 
> Thanks for your feedback.  I tried what you suggested.  For the tg3
> command, there was no feedback from the computer.  However, for the
> ipw2100 command, it gave the following feedback:
> 
> root@debian:/home/mark# modprobe -r tg3 && modprobe tg3

This returned "nothing"? Weird... :-?

lsmod|grep tg3

> root@debian:/home/mark# modprobe -r ipw2100 && modprobe ipw2100

(...)

> [  163.711832]  [] ? pci_alloc_consistent+0x76/0x81 [ipw2100]
> [  163.711848]  [] ? bd_queue_allocate+0x39/0x67 [ipw2100] 
> [  163.711857]  [] ? ipw2100_pci_init_one+0x641/0xc22 [ipw2100] 
> [  163.711929]  [] ? ipw2100_init+0x0/0x57 [ipw2100] 
> [  163.711936]  [] ? ipw2100_init+0x38/0x57 [ipw2100] 
> [  164.367258]  [] ? ipw2100_interrupt+0x0/0xac [ipw2100] 
> [  164.367267]  [] ? ipw2100_pci_init_one+0xaa0/0xc22 [ipw2100] 
> [  164.367340]  [] ? ipw2100_init+0x0/0x57 [ipw2100] 
> [  164.367347]  [] ? ipw2100_init+0x38/0x57 [ipw2100] 
> [  164.367382]  [] (ipw2100_interrupt+0x0/0xac [ipw2100])

Is this a "crash"? >:-?

Anyway, a Google search returned an interesting post because the user 
seems to have a similar hardware (heck, I hope it's not you! :-P):

problem with wireless on dell d600
http://www.linuxquestions.org/questions/debian-26/problem-with-wireless-on-dell-d600-895623/

Same error over the same hardware... too much for a coincidence.

Try by powering off the computer and leave it so for a while. Then engage 
it and wait for a miracle... if no miracle comes to you I would go for a 
bug report :-)

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.08.10.17.29...@gmail.com



Re: cups on wheezy problem

2011-08-10 Thread Wayne Topa

On 08/10/2011 10:27 AM, Camaleón wrote:

On Tue, 09 Aug 2011 14:13:08 -0400, Wayne Topa wrote:


Wheezy

Aug  9 11:26:08 dj kernel: [  551.816184] usb 3-1: usbfs: interface 0
claimed by usblp while 'usb' sets config #1


And "ls -l /dev/usblp1" returns...?


ls -l /dev/usb/lp1


Note: Bug#545288: CUPS 1.4.0-4 doesn't find  USB-printer  Date: Sun, 6
Sep 2009 12:39:46 +0200

And is the same as what I get in 2011


Maybe not the same. It's a very old bug, arked as solved since 2009.


Cups interface Printer Tab
6P  HP LaserJet 6P  HP LaserJet 6P Foomatic/ljet4   Paused -
"/usr/lib/cups/backend/usb failed"


Maybe because the backend has changed and is no more under "/usr/lib/cups/
backend/usb".


Draft   Draft HP6P  HP LaserJet 6P - CUPS+Gutenprint v5.2.7
Processing - "Waiting for printer to become available..."

[VT3 root@dj-WHEEZY]
~# dpkg -S /usr/lib/cups/backend/usb
dpkg-query: no path found matching pattern /usr/lib/cups/backend/usb.


That explains why CUPS fails.


[VT3 root@dj-WHEEZY]
~# dpkg -S /usr/lib/cups/backend/
foomatic-filters, cups, cups-pdf: /usr/lib/cups/backend


And "ls -l /usr/lib/cups/backend/" shows what available backends?


As of this mornings upgrade shows the same as below but includes usb now.
 >

[VT3 root@dj-WHEEZY]  This differs from the stable cups ~# lpinfo -v
network beh
file cups-pdf:/
direct scsi
network http
network socket
network lpd
network ipp
   * No USB  interface???

   USB today!


Nope, because it seems that usb is not a known interface/driver for your
CUPS.


Have you tried to set the printer from CUPS web interface?


As shown above, yes.  I still can't rule out udevd OR Cups as the
problem.

Why would no one else be having this problem?  Make no sense to me.


I would review the current open bugs for cups:


I don't usually go to the bugs page on debian.org directly but by the 
Google links when I am searching for the 'error of the day'  :-(


I do however, maybe wrongly, rely on listbugs  so here is what it has 
been saying for days now.

Fixed: cups/1.4.8-1
I am running 4.8-2 and an attempt to downgrade reports it could not find 
4.8-1.


An attempt to print shows
Aug 10 12:28:13 dj kernel: [ 1029.762136] usb 3-1: USB disconnect, 
device number 2

Aug 10 12:28:13 dj kernel: [ 1029.762391] usblp1: removed
Aug 10 12:28:19 dj kernel: [ 1036.244036] usb 3-1: new full speed USB 
device number 3 using ohci_hcd
Aug 10 12:28:19 dj kernel: [ 1036.411106] usb 3-1: New USB device found, 
idVendor=067b, idProduct=2305
Aug 10 12:28:19 dj kernel: [ 1036.45] usb 3-1: New USB device 
strings: Mfr=1, Product=2, SerialNumber=0
Aug 10 12:28:19 dj kernel: [ 1036.411122] usb 3-1: Product: IEEE-1284 
Controller
Aug 10 12:28:19 dj kernel: [ 1036.411127] usb 3-1: Manufacturer: 
Prolific Technology Inc.
Aug 10 12:28:19 dj kernel: [ 1036.44] usblp1: USB Bidirectional 
printer dev 3 if 0 alt 1 proto 2 vid 0x067B pid 0x2305
Aug 10 12:28:19 dj mtp-probe: checking bus 3, device 3: 
"/sys/devices/pci:00/:00:12.0/usb3/3-1"

Aug 10 12:28:20 dj mtp-probe: bus: 3, device: 3 was not an MTP device

There is a 'something ?' causing weird mtp-probe call.  I'll keep 
looking to see if I can figure out just what.


Funny thing is that the same thing is happening on Sid.  I wonder how 
this got to wheezy in this condition??



:-)

Greetings,



And the same to you.  Have a nice day!


--
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/4e42b869.3010...@gmail.com



Re: network devices have vanished on Dell D600

2011-08-10 Thread Mark Grieveson
On Wed, 10 Aug 2011 14:05:23 + (UTC)
debian-user-digest-requ...@lists.debian.org wrote:

> Have you tried to reload both modules? I.e.:
> 
> modprobe -r tg3 && modprobe tg3
> modprobe -r ipw2100 && modprobe ipw2100
> 
> (do not do this if you are connected remotely via ssh and be careful,
> this can lead to a computer hang, so be prepared...)
> 
> Greetings,

Thanks for your feedback.  I tried what you suggested.  For the tg3
command, there was no feedback from the computer.  However, for the
ipw2100 command, it gave the following feedback:

root@debian:/home/mark# modprobe -r tg3 && modprobe tg3
root@debian:/home/mark# modprobe -r ipw2100 && modprobe ipw2100

Message from syslogd@debian at Aug 10 12:01:06 ...
 kernel:[  163.711971] Disabling IRQ #5

Message from syslogd@debian at Aug 10 12:01:06 ...
 kernel:[  164.367392] Disabling IRQ #5

It gave a complaining beep while doing this.  I'm attaching a text file
with "dmesg | grep ipw2100" (grep tg3 gives nothing).


Mark
root@debian:/home/mark# modprobe -r tg3 && modprobe tg3
root@debian:/home/mark# modprobe -r ipw2100 && modprobe ipw2100

Message from syslogd@debian at Aug 10 12:01:06 ...
 kernel:[  163.711971] Disabling IRQ #5

Message from syslogd@debian at Aug 10 12:01:06 ...
 kernel:[  164.367392] Disabling IRQ #5
root@debian:/home/mark# 
root@debian:/home/mark# iwconfig
lono wireless extensions.

pan0  no wireless extensions.

root@debian:/home/mark# dmesg | grep tg3
root@debian:/home/mark#

root@debian:/home/mark# dmesg | grep ipw2100
[6.636035] ipw2100: Intel(R) PRO/Wireless 2100 Network Driver, git-1.2.2
[6.636040] ipw2100: Copyright(c) 2003-2006 Intel Corporation
[6.636175] ipw2100 :02:03.0: PCI INT A -> Link[LNKB] -> GSI 5 (level, 
low) -> IRQ 5
[6.636755] ipw2100: Detected Intel PRO/Wireless 2100 Network Connection
[6.636770] ipw2100 :02:03.0: firmware: requesting ipw2100-1.3.fw
[6.830698] ipw2100: eth0: ipw2100_verify failed: -5
[6.830773] ipw2100: eth0: Failed to power on the adapter.
[6.830831] ipw2100: eth0: Failed to start the firmware.
[6.830889] ipw2100Error calling register_netdev.
[6.831355] ipw2100 :02:03.0: PCI INT A disabled
[6.831362] ipw2100: probe of :02:03.0 failed with error -5
[  163.066722] ipw2100: Intel(R) PRO/Wireless 2100 Network Driver, git-1.2.2
[  163.066726] ipw2100: Copyright(c) 2003-2006 Intel Corporation
[  163.066855] ipw2100 :02:03.0: PCI INT A -> Link[LNKB] -> GSI 5 (level, 
low) -> IRQ 5
[  163.711832]  [] ? pci_alloc_consistent+0x76/0x81 [ipw2100]
[  163.711848]  [] ? bd_queue_allocate+0x39/0x67 [ipw2100]
[  163.711857]  [] ? ipw2100_pci_init_one+0x641/0xc22 [ipw2100]
[  163.711929]  [] ? ipw2100_init+0x0/0x57 [ipw2100]
[  163.711936]  [] ? ipw2100_init+0x38/0x57 [ipw2100]
[  164.367258]  [] ? ipw2100_interrupt+0x0/0xac [ipw2100]
[  164.367267]  [] ? ipw2100_pci_init_one+0xaa0/0xc22 [ipw2100]
[  164.367340]  [] ? ipw2100_init+0x0/0x57 [ipw2100]
[  164.367347]  [] ? ipw2100_init+0x38/0x57 [ipw2100]
[  164.367382] [] (ipw2100_interrupt+0x0/0xac [ipw2100])
[  164.373053] ipw2100: Detected Intel PRO/Wireless 2100 Network Connection
[  164.373151] ipw2100 :02:03.0: firmware: requesting ipw2100-1.3.fw
[  164.377190] ipw2100: eth0: ipw2100_verify failed: -5
[  164.377203] ipw2100: eth0: Failed to power on the adapter.
[  164.377206] ipw2100: eth0: Failed to start the firmware.
[  164.377210] ipw2100Error calling register_netdev.
[  164.378833] ipw2100 :02:03.0: PCI INT A disabled
[  164.378845] ipw2100: probe of :02:03.0 failed with error -5
[  841.636358] ipw2100: Intel(R) PRO/Wireless 2100 Network Driver, git-1.2.2
[  841.636362] ipw2100: Copyright(c) 2003-2006 Intel Corporation
[  841.636493] ipw2100 :02:03.0: PCI INT A -> Link[LNKB] -> GSI 5 (level, 
low) -> IRQ 5
[  841.636505] ipw2100Device not found via register read.
[  841.636537] ipw2100 :02:03.0: PCI INT A disabled



oss4-dkms failed after upgrade to kernel 3.0

2011-08-10 Thread Simon Chen
I was a little surprised kernel3.0 came to wheezy so quickly.
Anyway, after I upgraded from 2.6.39-2-686-pae to 3.0.0-1-686-pae, I got the
scarlet error message:

Unloading Open Sound System kernel modules: done (OSS not loaded).
Starting Open Sound System: failed (No kernel modules detected).

When refered to
/var/lib/dkms/oss4/4.2-build2004/3.0.0-1-686-pae/i686/module, however, oss
module files were all there. Nothing important looked wrong in make.log
neither. I tried copying all .ko files to /lib/modules, didn't work.

-- 
Mit freundlichen Grüßen

Zichen Chen
DKMS make.log for oss4-4.2-build2004 for kernel 3.0.0-1-686-pae (i686)
Wed Aug 10 18:28:54 CEST 2011
make: Entering directory `/usr/src/linux-headers-3.0.0-1-686-pae'
  CC [M]  /var/lib/dkms/oss4/4.2-build2004/build/core/oss_core.o
/var/lib/dkms/oss4/4.2-build2004/build/core/oss_core.c: In function ‘alloc_fop’:
/var/lib/dkms/oss4/4.2-build2004/build/core/oss_core.c:964:14: warning: assignment from incompatible pointer type
/var/lib/dkms/oss4/4.2-build2004/build/core/oss_core.c: In function ‘oss_pci_read_devpath’:
/var/lib/dkms/oss4/4.2-build2004/build/core/oss_core.c:1638:3: warning: return discards qualifiers from pointer target type
/var/lib/dkms/oss4/4.2-build2004/build/core/oss_core.c: In function ‘oss_cmn_err’:
/var/lib/dkms/oss4/4.2-build2004/build/core/oss_core.c:675:1: warning: the frame size of 1056 bytes is larger than 1024 bytes
  CC [M]  /var/lib/dkms/oss4/4.2-build2004/build/core/os_linux.o
  CC [M]  /var/lib/dkms/oss4/4.2-build2004/build/core/oss_ac97.o
  CC [M]  /var/lib/dkms/oss4/4.2-build2004/build/core/oss_audio_core.o
  CC [M]  /var/lib/dkms/oss4/4.2-build2004/build/core/oss_audiofmt.o
  CC [M]  /var/lib/dkms/oss4/4.2-build2004/build/core/oss_grc3.o
  CC [M]  /var/lib/dkms/oss4/4.2-build2004/build/core/oss_spdif.o
  CC [M]  /var/lib/dkms/oss4/4.2-build2004/build/core/oss_default_timer.o
  CC [M]  /var/lib/dkms/oss4/4.2-build2004/build/core/oss_midi_core.o
  CC [M]  /var/lib/dkms/oss4/4.2-build2004/build/core/oss_midi_mapper.o
  CC [M]  /var/lib/dkms/oss4/4.2-build2004/build/core/oss_midi_parser.o
  CC [M]  /var/lib/dkms/oss4/4.2-build2004/build/core/oss_midi_queue.o
  CC [M]  /var/lib/dkms/oss4/4.2-build2004/build/core/oss_midi_timers.o
  CC [M]  /var/lib/dkms/oss4/4.2-build2004/build/core/oss_midi_stubs.o
  CC [M]  /var/lib/dkms/oss4/4.2-build2004/build/core/oss_mixer_core.o
  CC [M]  /var/lib/dkms/oss4/4.2-build2004/build/core/oss_core_options.o
  CC [M]  /var/lib/dkms/oss4/4.2-build2004/build/core/oss_core_services.o
  CC [M]  /var/lib/dkms/oss4/4.2-build2004/build/core/oss_memblk.o
  CC [M]  /var/lib/dkms/oss4/4.2-build2004/build/core/oss_remux.o
  CC [M]  /var/lib/dkms/oss4/4.2-build2004/build/core/oss_sndstat.o
  CC [M]  /var/lib/dkms/oss4/4.2-build2004/build/core/oss_uart401.o
  CC [M]  /var/lib/dkms/oss4/4.2-build2004/build/core/vmix_core.o
  CC [M]  /var/lib/dkms/oss4/4.2-build2004/build/core/vmix_input.o
/var/lib/dkms/oss4/4.2-build2004/build/core/vmix_input.c: In function ‘vmix_record_callback’:
/var/lib/dkms/oss4/4.2-build2004/build/core/vmix_input.c:320:1: warning: the frame size of 1068 bytes is larger than 1024 bytes
  CC [M]  /var/lib/dkms/oss4/4.2-build2004/build/core/vmix_output.o
/var/lib/dkms/oss4/4.2-build2004/build/core/vmix_output.c: In function ‘vmix_play_callback’:
/var/lib/dkms/oss4/4.2-build2004/build/core/vmix_output.c:471:1: warning: the frame size of 1068 bytes is larger than 1024 bytes
  LD [M]  /var/lib/dkms/oss4/4.2-build2004/build/core/osscore.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC  /var/lib/dkms/oss4/4.2-build2004/build/core/osscore.mod.o
  LD [M]  /var/lib/dkms/oss4/4.2-build2004/build/core/osscore.ko
make: Leaving directory `/usr/src/linux-headers-3.0.0-1-686-pae'
make: Entering directory `/var/lib/dkms/oss4/4.2-build2004/build/drivers'
echo "static const struct modversion_info versions[]" >> osscore_symbols.inc
echo " __attribute__((used))" >> osscore_symbols.inc
echo "__attribute__((section(\"__versions\"))) = {" >> osscore_symbols.inc
sed -e "s:^:{:" -e "s:\t:, \":" -e "s:\t\(.\)*:\"},:" < Module.symvers >> osscore_symbols.inc
echo "};" >> osscore_symbols.inc
make: Leaving directory `/var/lib/dkms/oss4/4.2-build2004/build/drivers'
make: Entering directory `/usr/src/linux-headers-3.0.0-1-686-pae'
  CC [M]  /var/lib/dkms/oss4/4.2-build2004/build/drivers/oss_ali5455driver.o
  CC [M]  /var/lib/dkms/oss4/4.2-build2004/build/drivers/oss_ali5455module.o
/var/lib/dkms/oss4/4.2-build2004/build/drivers/oss_ali5455module.c: In function ‘osspci_probe’:
/var/lib/dkms/oss4/4.2-build2004/build/drivers/pci_wrapper.inc:54:21: warning: ignoring return value of ‘pci_enable_device’, declared with attribute warn_unused_result
In file included from /var/lib/dkms/oss4/4.2-build2004/build/drivers/oss_ali5455module.c:21:0:
/var/lib/dkms/oss4/4.2-build2004/build/drivers/module.inc: In function ‘oss_cmn_err’:
/var/lib/dkms/oss4/4.2-build2004/build/drivers/module.inc:243:1: warning: the frame

Re: [maybe OT] unicode control characters in filenames

2011-08-10 Thread Eike Lantzsch
On Wednesday 10 August 2011 06:53:58 Darac Marjal wrote:
> On Tue, Aug 09, 2011 at 01:24:46PM -0700, Mike McClain wrote:
> > On Tue, Aug 09, 2011 at 12:42:18PM -0400, Eike Lantzsch wrote:
> > > Hi:
> > > 
> > > For some time I'm looking to find a method to remove unicode control
> > > characters like U+202A; U+202C; U+200F from filenames.
> > > I found lots of examples to do this programmatically with python, perl,
> > > even for VB and Java.
> > > I was looking to do this with bash, find, grep and/or even sed because
> > > I just never wrote code in python or perl.
> > > Can some kind soul please give me a hint how to proceed?
> 
> If you've found a recipe in perl, I can recommend /usr/bin/rename (part
> of the perl package and, on my system, a link to /usr/bin/prename). The
> syntax is "rename regex filespec" so you can say "rename 's/foo/bar/
> bar.jpg". Maybe that'll help.

Thank you for the suggestion, but as far as I can see prename is not UTF-8-
aware. Is that true?

I'm right now studying 
http://en.wikibooks.org/wiki/Perl_Programming/Unicode_UTF-8
and
http://www.perlmonks.org/?node_id=551676
and
http://perldoc.perl.org/perlunicode.html

if I enter

myuser@mysytem:~/path-name-of-unicode-files$ rename -n 's/\x{202A}//' *

I get no output although x{202A} is definitely the first char in the filename.
This definitely needs more than a cursory view into perl - exactly what I 
wanted to avoid.
Maybe I better post in a perl mailinglist. Only I'm afraid that I'll get 
nothing but RTFM! and "do your own homework!" - they maybe right ...

Cheers
Eike


-- 
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/201108101230.01965.zp6...@gmx.net



Re: how to change root passwd (if forgotten)

2011-08-10 Thread Thierry Chatelet
On Wednesday 10 August 2011 17:53:26 Umarzuki Mochlis wrote:
> if i'm not mistaken you can just go to single user mode on centos by
> appending "1" or "single" (without quotes) on boot parameter, no need for
> any live cd
> 

Not with debian, but lots of trail if you google it.
Thierry


-- 
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/201108101801.45163.tchate...@free.fr



Re: how to change root passwd (if forgotten)

2011-08-10 Thread Umarzuki Mochlis
if i'm not mistaken you can just go to single user mode on centos by
appending "1" or "single" (without quotes) on boot parameter, no need for
any live cd

2011/8/10 abdelkader belahcene 

> *Hi,
> I ve forgotten my root passwd on centos 6 (red hat based),
>
> I tried to change it as I used in debian (in debian it works perfectly) ,
> that is:
>
> use a cd live (or installation cd1), to access the hd,
> I mount  my root partition and mount proc and devices
>
> I tried  the command passwd, no error reprorted, but after reboot the
> passwd had´t changed.
> then I decided to remove passwd from /etc/shadow (delete the
> second field).
>
> OK,  now I can access my machine  without passwd,  BUT I CAN´T GIVE ANY
> PASSWORD  I RECEIVE THIS ERROR
>
> # passwd*
> *Changing password for user root.
> New password:
> Retype new password:
> passwd: Authentication token manipulation error
>
> any idea to fix the problem.
> thanks a lot *
>



-- 
Regards,

Umarzuki Mochlis
http://debmal.my


Re: Best linux Distro 2011

2011-08-10 Thread Camaleón
On Wed, 10 Aug 2011 10:51:46 -0400, shawn wilson wrote:

> On Wed, Aug 10, 2011 at 09:58, Camaleón  wrote:

>> "Any" Debian flavour... you mean you prefer Ubuntu over openSUSE for a
>> server? Wow... can you expand that POV?
>>
>>
> i didn't make the statement but i can understand the 'pov'. no, ubuntu
> is *no* server (even their lts server - that's a joke). however, i
> wouldn't think to use sles as a server either (i've not ever looked at
> opensuse so i'm taking the closest comparison i've seen here).

I can't speak for SLES, I've never used it (note that SLES is not the 
same as openSUSE) ;-)
 
> firstly, on sles, can you tell me how many aliases there are? 

A few? O:-)

Let's see:

(openSUSE 10.3)
stt008:/mnt/etc# cat /mnt/etc/aliases | wc -l
84

(debian lenny)
stt008:/mnt/etc# cat /etc/aliases | wc -l
14

Oh, well... but how does the number of aliases make a system better or 
worse or...? I mean, do you think is a good parameter to measure 
something?

> can you explain how the bloody hell they organize things in /usr and 
>/var (and /etc for that matter)? 

Hum... what's the problem here? I have no complains on this, maybe it's 
different from Debian but every distro plays with FHS at their desire...

> what monkey did they use to patch their kernel?

Hey, no monkeys in there! >:-) 

They have in their files some of the best kernel devels (I know, I 
know... we *do* also have :-P)

> oh, and what is up with their package manager - yast (haven't seen that
> in a while, but . yeah, it was bad a few years ago).

YaST (well, not YasT but "zypper") has been greatly improved and is in a 
very good shape by now (fast and stable).
 
> (as i've said / implied previously) there are only two reasons i'd use
> anything other than debian, slackware, or freebsd (or possibly openbsd)
> as a server - corporate history / bias or business support. i don't
> think opensuse fits either of those requirements. sles and ubuntu rarely
> fit those requirements.

If I would needed business support or having a big company behind my 
linux servers I probably would have gone for RedHat... but openSUSE made 
a great job for what I needed. It was my fist linux distribution and 
still miss it a bit :'(

(...)

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.08.10.15.44...@gmail.com



how to change root passwd (if forgotten)

2011-08-10 Thread abdelkader belahcene
*Hi,
I ve forgotten my root passwd on centos 6 (red hat based),

I tried to change it as I used in debian (in debian it works perfectly) ,
that is:

use a cd live (or installation cd1), to access the hd,
I mount  my root partition and mount proc and devices

I tried  the command passwd, no error reprorted, but after reboot the passwd
had´t changed.
then I decided to remove passwd from /etc/shadow (delete the
second field).

OK,  now I can access my machine  without passwd,  BUT I CAN´T GIVE ANY
PASSWORD  I RECEIVE THIS ERROR

# passwd*
*Changing password for user root.
New password:
Retype new password:
passwd: Authentication token manipulation error

any idea to fix the problem.
thanks a lot *


Re: Best linux Distro 2011

2011-08-10 Thread Miles Fidelman

Johann Spies wrote:

On Mon, Aug 08, 2011 at 05:26:47PM +0200, Camaleón wrote:

And Well Debian wins over all the Distros :)

Nice!

But openSUSE is far better than Ubtuntu in almost any aspect... :-P

I had to work with servers runing openSUSE for a few years and I beg to
differ.  I prefer any Debian flavour over openSuse.



Generally, I agree, but

I've been running Debian with Xen on a couple of production machines 
(Debian as both Dom0 and DomUs) - started out with Xen 2.x on Sarge, 
upgraded several times, now running the final Xen 3 release on Lenny.


Things have always been a bit finicky, and there are some bugs that have 
never been fixed that require workarounds (read: tricky configuration) 
to maintain reliable operation.  From what I read on the Xen lists and 
bug database, I get the sense that Xen (at least the community version) 
is a lot more reliable and has better support on CentOS and SLES.


I'm getting ready to upgrade to Xen 4 and Squeeze, but there's a part of 
me that is leaning toward either CentOS or SLES - neither of which are 
environments I really like to manage.


Miles Fidelman


--
In theory, there is no difference between theory and practice.
In  practice, there is.    Yogi Berra



--
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/4e42a223.1040...@meetinghouse.net



Re: [OT] plot execution flows from C/C++ sources

2011-08-10 Thread Robert Blair Mason Jr.
On Wed, 10 Aug 2011 14:33:46 +0100
Joao Ferreira Gmail  wrote:

> Hello all,
> 
> [  maybe some programers out there... :)  ]
> 
> I recently stared working on a project for maintenance and new
> developments on an existing huge code base of C/C++ 
> 
> It's quite a challenge for newcommers.
> 
> Does anyone know of any tools that would help in ploting execution
> flow diagrams from the sources ?
> 

Google showed me this:
http://code.google.com/p/jrfonseca/wiki/Gprof2Dot
I've never used it, but it looks promising.  It generates dot graphs
from profiler outputs.

--
rbmj


-- 
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/20110810101503.27e8d...@blairasus.mason.homeunix.org



Re: Boost sound volume?

2011-08-10 Thread Robert Blair Mason Jr.
On Wed, 10 Aug 2011 06:01:46 -0400
Carl Fink  wrote:
> No, it's a well-known problem with PulseAudio. It gives max volumes
> much, much lower than Windows for no special reason I know of.

Is it possible for me to just kill the PulseAudio server when I'm
starting certain applications, or force them to use ALSA?

> Robert: if you're using Gnome, run gnome-volume-control. You can use
> the slider at the top to set volume to "more than 100%". (Yes, I know
> that's stupid.) Unfortunately the system will forget this setting if
> you ever lower the volume.

Right now, I'm running LXDE, but I do have gnome-alsamixer installed,
and all of those are at max.  Considering this is little more than a
graphical frontend for the command line alsamixer, I'm thinking you
mean the applet.  But the package gnome-applets pulls in 357 MB of
dependencies.  Is there a simple way to do the same from the command
line?  I have plenty of hard disk space - it just seems like a huge
waste.

Thanks,

--
rbmj


-- 
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/20110810100753.75dfa...@blairasus.mason.homeunix.org



Re: Best linux Distro 2011

2011-08-10 Thread shawn wilson
On Wed, Aug 10, 2011 at 09:58, Camaleón  wrote:

> On Wed, 10 Aug 2011 08:49:17 +0200, Johann Spies wrote:
>
> > On Mon, Aug 08, 2011 at 05:26:47PM +0200, Camaleón wrote:
> >> >
> >> > And Well Debian wins over all the Distros :)
> >>
> >> Nice!
> >>
> >> But openSUSE is far better than Ubtuntu in almost any aspect... :-P
> >
> > I had to work with servers runing openSUSE for a few years and I beg to
> > differ.  I prefer any Debian flavour over openSuse.
>
> "Any" Debian flavour... you mean you prefer Ubuntu over openSUSE for a
> server? Wow... can you expand that POV?
>
>
i didn't make the statement but i can understand the 'pov'. no, ubuntu is
*no* server (even their lts server - that's a joke). however, i wouldn't
think to use sles as a server either (i've not ever looked at opensuse so
i'm taking the closest comparison i've seen here).

firstly, on sles, can you tell me how many aliases there are? can you
explain how the bloody hell they organize things in /usr and /var (and /etc
for that matter)? what monkey did they use to patch their kernel? oh, and
what is up with their package manager - yast (haven't seen that in a while,
but . yeah, it was bad a few years ago).

(as i've said / implied previously) there are only two reasons i'd use
anything other than debian, slackware, or freebsd (or possibly openbsd) as a
server - corporate history / bias or business support. i don't think
opensuse fits either of those requirements. sles and ubuntu rarely fit those
requirements.



> I don't mean Ubuntu is not a good choice -I really like their LTS
> service- but I find it very GUI focused and a bit bloated (that's only an
> opinion of course) while openSUSE provides many tools to be managed from
> console and remotely (by means of ncurses yast) from where you can tweak
> and control almost any aspect of the distribution (hadware, services -
> apache, ldap, samba, postfix, etc...- kernel parameters and config,
> bootloader, partitioner, LVM volumes...).
>
>
i sort of agree with the above (other than the whole part about yast).


> I find it very well designed and constructed and also very robust. I only
> miss the old 24 moths support for patches, which are now reduced to 18
> months, not very convenient for servers ;-(
>
>
 i don't really have an opinion on this. i can see both sides - the
manufacturer / distributor 's and the consumer's. where the happy medium is
comes down to cost.


Re: [OT] plot execution flows from C/C++ sources

2011-08-10 Thread Hugo Vanwoerkom

Joao Ferreira Gmail wrote:

Hello all,

[  maybe some programers out there... :)  ]

I recently stared working on a project for maintenance and new
developments on an existing huge code base of C/C++ 


It's quite a challenge for newcommers.

Does anyone know of any tools that would help in ploting execution flow
diagrams from the sources ?



This is not something new, I used to do it with IBM Research in the 
80's, but I don't know if it exists for OOP.


Hugo


--
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/j1u5p2$vho$1...@dough.gmane.org



Re: which is the best alterative package for kbibtex

2011-08-10 Thread Wolodja Wentland
On Wed, Aug 10, 2011 at 21:58 +0800, lina wrote:
> On Wed, Aug 10, 2011 at 2:27 PM, Johann Spies  wrote:
> > On Mon, Aug 08, 2011 at 04:02:25PM +0200, lina wrote:
> >
> >> before I used kbibtex, but this time when I tried to install it, seems
> >> lots of KDE staff, I use gnome desktop mainly?
> >> so what's the best alterative choice for bibtex edit.
> >
> > I do not know kbibtex. I am using Emacs to edit my bibtex-files while in
> > Auctex-mode.
> >
> Thanks for Cristian and Johann's advice,
> 
> I think I will be back to gvim.

Good choice. In addition to jabref I like referencer and a lot of my fellow
students use Mendeley which is, however, proprietary and therefore not an
option.
-- 
Wolodja 

4096R/CAF14EFC
081C B7CD FF04 2BA9 94EA  36B2 8B7F 7D30 CAF1 4EFC


signature.asc
Description: Digital signature


Re: cups on wheezy problem

2011-08-10 Thread Camaleón
On Tue, 09 Aug 2011 14:13:08 -0400, Wayne Topa wrote:

> Wheezy
> 
> Aug  9 11:26:08 dj kernel: [  551.816184] usb 3-1: usbfs: interface 0
> claimed by usblp while 'usb' sets config #1

And "ls -l /dev/usblp1" returns...?
 
> Note: Bug#545288: CUPS 1.4.0-4 doesn't find  USB-printer  Date: Sun, 6
> Sep 2009 12:39:46 +0200
> 
> And is the same as what I get in 2011

Maybe not the same. It's a very old bug, arked as solved since 2009.
 
> Cups interface Printer Tab
> 6P  HP LaserJet 6P  HP LaserJet 6P Foomatic/ljet4   Paused -
> "/usr/lib/cups/backend/usb failed"

Maybe because the backend has changed and is no more under "/usr/lib/cups/
backend/usb".

> Draft   Draft HP6P  HP LaserJet 6P - CUPS+Gutenprint v5.2.7
> Processing - "Waiting for printer to become available..."
> 
> [VT3 root@dj-WHEEZY]
> ~# dpkg -S /usr/lib/cups/backend/usb
> dpkg-query: no path found matching pattern /usr/lib/cups/backend/usb.

That explains why CUPS fails.

> [VT3 root@dj-WHEEZY]
> ~# dpkg -S /usr/lib/cups/backend/
> foomatic-filters, cups, cups-pdf: /usr/lib/cups/backend

And "ls -l /usr/lib/cups/backend/" shows what available backends?

> [VT3 root@dj-WHEEZY]  This differs from the stable cups ~# lpinfo -v
> network beh
> file cups-pdf:/
> direct scsi
> network http
> network socket
> network lpd
> network ipp
>   * No USB  interface???

Nope, because it seems that usb is not a known interface/driver for your 
CUPS.

>> Have you tried to set the printer from CUPS web interface?
> 
> As shown above, yes.  I still can't rule out udevd OR Cups as the
> problem.
> 
> Why would no one else be having this problem?  Make no sense to me.

I would review the current open bugs for cups:

http://bugs.debian.org/cgi-bin/pkgreport.cgi?package=cups

It seems there are some regarding USB detection issues and they look 
recent :-?

cups can not detect my usb printer
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=632189

usbfs: process ... (usb) did not claim interface 1 before use
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=636303

cups: USB printer conflict with usb-storage (bug #546558 again?)
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=635041
 
> Thanks again for being my sounding board.  :-)

:-)

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.08.10.14.27...@gmail.com



Re: System crash when swithing to text-console

2011-08-10 Thread Camaleón
On Tue, 09 Aug 2011 21:46:09 +0200, Martin Lorenz wrote:

> Am 08.08.2011 17:23, schrieb Camaleón:
>> On Sun, 07 Aug 2011 13:54:09 +0200, Martin Lorenz wrote:
>> 
>> (...)
>> 
>>> The misery begins as soon as you try to switch from X to console
>>> either by Ctrl-Alt-F1 or induced by system shutdown
>>>
>>> the monitor goes black and the sysem will not react to any input not
>>> even to SysReq Keys
>> 
>> How about ssh? Can you still login via shh?
>> 
>> 
> nope
> all running ssh-sessions to that machine freeze the moment it tries to
> switch to console.
> 
> I had some tail -f's running in ssh-sessions on
> /var/log/{debug|messages|Xorg.0.log}
> All I see is the "shutdown" Broadcast message and Log-entries. Nothing
> more.

Then it can be royaly freezing (a soft kernel freeze) not just X. If you 
get no useful logs, you may need a second computer attached to one of the 
serial ports of your main system (the one that crashes) to catch 
something...

>>> after about a minute or so the system powers off and immediately on
>>> again to boot up normally (with the usual warning about HDs not having
>>> been unpountet properly)
>>>
>>> I have no idea so far as to where I should start investigating. The
>>> logs don't show any abnormality as far as I can say.
>> 
>> Maybe something related to the VGA card driver or KMS... is there
>> something interesting in the logs ("/var/log/syslog" or "/var/log/
>> Xorg.0.log")?
>> 
>> 
> No, at least nothing that seems even vaguely related to the crash.

What VGA driver are you using? Whatever it is, try to disable KMS to see 
if that makes any difference... or if you are currently running "non-KMS" 
try with the opposite :-)

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.08.10.14.07...@gmail.com



Re: Fwd: Billion 7800N

2011-08-10 Thread Camaleón
On Wed, 10 Aug 2011 12:47:06 +1000, Heddle Weaver wrote:

> On 9 August 2011 18:51, Darac Marjal  wrote:
> 
> 
>> Here's your problem. eth0 has no address. The only IPv4 connectivity
>> you have is to 127.0.0.1/255.0.0.0 via lo (below). Your computer has no
>> way to reach 192.168.1.254 so is legitimately returning "Network is
>> unreachable".
>>
>> Try the following command:
>>
>> # ip addr add 192.168.1.1 broadcast 192.168.1.255 dev eth0
>>
>>
> Done!
> and /sbin/ifconfig now looks like this:

(...)

>> then point your web browser to "http://192.168.1.254";.
> 
> 
> With two separate browsers, the same message - "Network is unreachable"
> Restarted the modem, same result.

(...)

That's very weird... can you access to that same IP (192.168.1.254) from 
another computer in the network?

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.08.10.14.01...@gmail.com



Re: Best linux Distro 2011

2011-08-10 Thread Camaleón
On Wed, 10 Aug 2011 08:49:17 +0200, Johann Spies wrote:

> On Mon, Aug 08, 2011 at 05:26:47PM +0200, Camaleón wrote:
>> > 
>> > And Well Debian wins over all the Distros :)
>> 
>> Nice!
>> 
>> But openSUSE is far better than Ubtuntu in almost any aspect... :-P
> 
> I had to work with servers runing openSUSE for a few years and I beg to
> differ.  I prefer any Debian flavour over openSuse.

"Any" Debian flavour... you mean you prefer Ubuntu over openSUSE for a 
server? Wow... can you expand that POV? 

I don't mean Ubuntu is not a good choice -I really like their LTS 
service- but I find it very GUI focused and a bit bloated (that's only an 
opinion of course) while openSUSE provides many tools to be managed from 
console and remotely (by means of ncurses yast) from where you can tweak 
and control almost any aspect of the distribution (hadware, services -
apache, ldap, samba, postfix, etc...- kernel parameters and config, 
bootloader, partitioner, LVM volumes...). 

I find it very well designed and constructed and also very robust. I only 
miss the old 24 moths support for patches, which are now reduced to 18 
months, not very convenient for servers ;-(

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.08.10.13.58...@gmail.com



Re: which is the best alterative package for kbibtex

2011-08-10 Thread lina
On Wed, Aug 10, 2011 at 2:27 PM, Johann Spies  wrote:
> On Mon, Aug 08, 2011 at 04:02:25PM +0200, lina wrote:
>
>> before I used kbibtex, but this time when I tried to install it, seems
>> lots of KDE staff, I use gnome desktop mainly?
>> so what's the best alterative choice for bibtex edit.
>
> I do not know kbibtex. I am using Emacs to edit my bibtex-files while in
> Auctex-mode.
>
Thanks for Cristian and Johann's advice,

I think I will be back to gvim.

Thanks again with best regards,

> Regards
> Johann
>
> --
> Johann Spies                            Telefoon: 021-808 4699
> Databestuurder /  Data manager
>
> Sentrum vir Navorsing oor Evaluasie, Wetenskap en Tegnologie
> Centre for Research on Evaluation, Science and Technology
> Universiteit Stellenbosch.
>
>     "If ye abide in me, and my words abide in you, ye shall
>      ask what ye will, and it shall be done unto you."
>                                      John 15:7
>
>
> --
> 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/20110810062702.gc7...@sun.ac.za
>
>


--
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/CAG9cJm=icnhytjzu+tbjgyazuxysoxsbme2t92gmxl740oz...@mail.gmail.com



Re: Unable to create either bootable USB flashdrive or CD/DVDrom

2011-08-10 Thread Arnt Karlsen
On Wed, 10 Aug 2011 01:20:30 +0100, Wolodja wrote in message 
<20110810002030.GD12149@asasello.local>:

> On Tue, Aug 09, 2011 at 19:56 -0400, Christian Jaeger wrote:
> > 1. unetbootin is still broken (unable to make *any* image work on
> > flashdrive)
> 
> Yes, unetbootin is and has been broken. Why don't you follow the
> method outlined in the installation guide?
> 
> http://www.debian.org/releases/stable/amd64/ch04s03.html.en

..IME unetbootin hangs at fdisk /dev/$USB_DEV failing to report 
and/or set the "bootable" flag, easily checked with e.g.: ...
celsius:~# fdisk -l /dev/sdb |grep -A1 Boot
   Device Boot  Start End  Blocks   Id  System 
/dev/sdb1   *   11011  250697c  FAT32 LBA
celsius:~# 

...which should produce a nice "*" right under "Boot".
If it's missing, fire up e.g. cfdisk /dev/sdb and set it manually, 
then fire up unetbootin again, or follow Wolodja's advice.

..IMO this is the root cause of bugs #551301, #594009 and #607514.

-- 
..med vennlig hilsen = with Kind Regards from Arnt Karlsen
...with a number of polar bear hunters in his ancestry...
  Scenarios always come in sets of three: 
  best case, worst case, and just in case.


-- 
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/20110810155542.20fedd00@celsius.local



Re: Kernel messages during startup

2011-08-10 Thread Ralf Jung
Hi,

> The Scroll Lock key.
wow, you finally solved the something that puzzled me for some years now: What 
the heck is the point of that key! Thanks :D

Kind regards,
Ralf


-- 
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/201108101551.53413.ralfjun...@gmx.de



Re: network devices have vanished on Dell D600

2011-08-10 Thread Camaleón
On Tue, 09 Aug 2011 14:00:25 -0400, Mark Grieveson wrote:

> Hello. I have a Dell Latitude D600. I successfully installed Debian and
> the firmware for the two network devices on the laptop, those being a
> Broadcom NetXtreme ethernet card (using firmware tg3) and an Intel
> PRO/Wireless Network Connection (using firmware ipw2100). This was
> working fine. However, this morning I find that the laptop is not seeing
> either of these devices.

(...)

> Aug  8 12:10:07 debian kernel: [  248.471844] tg3: eth0: No firmware running.

That seems to point to the problem. It cannot read/get the firmware.

> Aug  8 12:10:42 debian kernel: [6.614257] udev[326]: renamed network 
> interface eth0 to eth1

Then it renames the interface...

> Aug  9 11:19:21 debian kernel: [6.512468] ipw2100: eth0: ipw2100_verify 
> failed: -5 
> Aug  9 11:19:21 debian kernel: [6.512850] ipw2100: eth0: Failed to power 
> on the adapter. 
> Aug  9 11:19:21 debian kernel: [6.512880] ipw2100: eth0: Failed to start 
> the firmware.

And here seems to fail also. How weird :-?

Have you tried to reload both modules? I.e.:

modprobe -r tg3 && modprobe tg3
modprobe -r ipw2100 && modprobe ipw2100

(do not do this if you are connected remotely via ssh and be careful, this 
can lead to a computer hang, so be prepared...)

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.08.10.13.44...@gmail.com



[OT] plot execution flows from C/C++ sources

2011-08-10 Thread Joao Ferreira Gmail
Hello all,

[  maybe some programers out there... :)  ]

I recently stared working on a project for maintenance and new
developments on an existing huge code base of C/C++ 

It's quite a challenge for newcommers.

Does anyone know of any tools that would help in ploting execution flow
diagrams from the sources ?

thx
Joao



-- 
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/1312983226.2878.17.ca...@wheejy.critical.pt



Re: Kernel messages during startup

2011-08-10 Thread Wayne Topa

On 08/09/2011 12:37 PM, abdelkader belahcene wrote:

*Hi,
by the way  how to  stop/start the " Kernel messages during startup",
to have enough  time to read on the fly,  what it is doing

thanks
*


The Scroll Lock key.


--
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/4e42867b.40...@gmail.com



Re: [maybe OT] unicode control characters in filenames

2011-08-10 Thread Eike Lantzsch
On Wednesday 10 August 2011 06:53:58 Darac Marjal wrote:
> On Tue, Aug 09, 2011 at 01:24:46PM -0700, Mike McClain wrote:
> > On Tue, Aug 09, 2011 at 12:42:18PM -0400, Eike Lantzsch wrote:
> > > Hi:
> > > 
> > > For some time I'm looking to find a method to remove unicode control
> > > characters like U+202A; U+202C; U+200F from filenames.
> > > I found lots of examples to do this programmatically with python, perl,
> > > even for VB and Java.
> > > I was looking to do this with bash, find, grep and/or even sed because
> > > I just never wrote code in python or perl.
> > > Can some kind soul please give me a hint how to proceed?
> 
> If you've found a recipe in perl, I can recommend /usr/bin/rename (part
> of the perl package and, on my system, a link to /usr/bin/prename). The
> syntax is "rename regex filespec" so you can say "rename 's/foo/bar/
> bar.jpg". Maybe that'll help.

Sigh - maybe I do have to learn Perl - to a certain degree (regex) at least.

Thank y'all for the recommendations.
Eike


-- 
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/201108100902.54096.zp6...@gmx.net



Hdd recipes for preseeding d-i

2011-08-10 Thread Diederik de Haas
Hi,

I'm trying to create my own preseed file for automating debian installations 
(inside VirtualBox). 
But for the life of me I can't figure out how to construct the recipe for 
hdd-partitioning.
The size of the (virtual) hdd is reported by d-i as 8.6GB and from that I want 
a single root (/) 
partition of 8.0GB and a swap partition of 0.6GB.

I've created and tested 2 (imo) very different recipes, but each one produces 
the same result:
#1  primary 8.2GB   B   f   ext3/
#5  logical 401.6MB f   swapswap

And here are the recipes I've created:
d-i partman-auto/expert-recipe string \
boot-root :: \
8000 8000 8000 ext4 \
$primary{ } $bootable{ } method{ format } format{ } use_filesystem{ } 
filesystem{ ext4 } 
mountpoint{ / } \
600 600 600 linux-swap \
method{ swap } format{ }

d-i partman-auto/expert-recipe string \
boot-root :: \
7000 7000 7000 ext4 \
$primary{ } $bootable{ } method{ format } format{ } use_filesystem{ } 
filesystem{ ext4 } 
mountpoint{ / } . \
7700 7750 7800 linux-swap \
method{ swap } format{ } .

The last recipe has dots (.) at the end of a partition definition, but without 
them I still get the 
same result.

What am I doing wrong and what should I do to get the result I want?
Why is it creating an ext3 filesystem, while I specified ext4? 
I can get it to ext4, but only if I change the default filesystem with the 
following line:
d-i partman/default_filesystem string ext4

Any help greatly appreciated.
  Diederik

PS: please CC me in your reply since I'm not subscribed to this list


-- 
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/201108101309.07404.didi.deb...@cknow.org



Re: bash quoting problems

2011-08-10 Thread Ivan Shmakov
> thomas kral  writes:

 >>> I have a problem with the following sed snippet

 >>> sed -i s"|^\( *PATH="\)\(.*\)|\1$ADD:\2|" ~/profile-test

 >>> I need soft quotes in order for $ADD to expand and I also need to math
 >>> against one doublequote in the regexp in for $ADD to be put in the
 >>> corrct place. Does anyone know how to do this?

 >> You may want to consider putting the sed script in a file and using
 >> the -f script (or --file=script) option instead.

 >> No quoting needed. ;)

 > BTW, since Squeeze default shell is dash, not bash

There's no difference in double quotes interpretation between
Bash and Dash (not any that I'm aware of, anyway.)

Also, the OP has explicitly stated which shell is used, and even
if /bin/sh is Dash in Debian, scripts having #!/bin/bash at the
top will still use Bash.

(Somehow I think that Bash is the default users' shell just as
well, BTW.)

-- 
FSF associate member #7257


-- 
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/86ipq5cxuj@gray.siamics.net



shutdown problem in combination with autofs/NFS

2011-08-10 Thread rog7993
Hello,

occassionally our Debian 6 boxes don't shutdown. The shutdown process
hangs forever with the last messages:

  Turning off quotas:...Checking for running unattended-upgrades:

I assume, I found the reason for this issue, but no solution. Our linux
computers mount some directories via NFS. The directories /home and /sw
are managed by the automounter. /usr/local is a symlink to
/sw/local.debian-6 which is mounted from the NFS server. While shutting
down, sometimes the automounter finishes to early. Afterwards all
scripts in /etc/init.d which look for binaries in /usr/local/bin hang.
Until Debian 5 this wasn't an issue, because the automounter finishes at
a well defined time relatively to other services. But with the new
dependency based init system, this time seems to vary and sometimes the
automounter finishes to early. If this situation occurs, all local
terminals are dead and can be used for debugging. But from an open ssh
session I can restart autofs and then the shutdown goes further.

First I tried to remove /usr/local/bin from the PATH variable in
/etc/profiles. But this doesn't not help, because a lot of init scripts
define theire own PATH variable:

  # grep -l "PATH.*/usr/local/bin" /etc/init.d/*
  /etc/init.d/alsa-utils
  /etc/init.d/apache2
  /etc/init.d/binfmt-support
  /etc/init.d/cpufrequtils
  /etc/init.d/cups
  /etc/init.d/hal
  /etc/init.d/ipmievd
  /etc/init.d/libvirt-bin
  /etc/init.d/networking
  /etc/init.d/quota
  /etc/init.d/quotarpc
  /etc/init.d/saned
  /etc/init.d/schroot
  /etc/init.d/sysstat
  /etc/init.d/unattended-upgrades

Next we tried to adjust the dependencies in /etc/init.d/autofs. But we
didn't found a working solution.

Is there a simple solution or workaround for this?

I didn't filed a bug until now, because of the nonstandard configuration
with /usr/local via NFS/autofs. Or should I do this?


Ingo Rogalsky


-- 
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/4e42640e.70...@web.de



Re: [maybe OT] unicode control characters in filenames

2011-08-10 Thread Darac Marjal
On Tue, Aug 09, 2011 at 01:24:46PM -0700, Mike McClain wrote:
> On Tue, Aug 09, 2011 at 12:42:18PM -0400, Eike Lantzsch wrote:
> > Hi:
> > 
> > For some time I'm looking to find a method to remove unicode control 
> > characters like U+202A; U+202C; U+200F from filenames.
> > I found lots of examples to do this programmatically with python, perl, 
> > even 
> > for VB and Java.
> > I was looking to do this with bash, find, grep and/or even sed because I 
> > just 
> > never wrote code in python or perl.
> > Can some kind soul please give me a hint how to proceed?

If you've found a recipe in perl, I can recommend /usr/bin/rename (part
of the perl package and, on my system, a link to /usr/bin/prename). The
syntax is "rename regex filespec" so you can say "rename 's/foo/bar/
bar.jpg". Maybe that'll help.

-- 
Paul Saunders


-- 
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/20110810105358.ga4...@darac.org.uk



Re: Boost sound volume?

2011-08-10 Thread Carl Fink
On Wed, Aug 10, 2011 at 12:51:28AM -0700, Kevin Ross wrote:
> On 08/09/2011 09:43 AM, Robert Blair Mason Jr. wrote:
> >Hi list,
> >
> >Is there a way to boost the system sound volume?  Playing DVDs in VLC
> >with the alsa, pulseaudio, and vlc volumes all maxed out is still about
> >30-40% of max volume in 'doze.  I don't like pulseaudio, but for some
> >reason skype doesn't work without it, and my family won't allow me to
> >not have working skype, so for now I'm stuck with it...
> >
> >Thanks!
> >
> >--
> >rbmj
> 
> Sounds like one of the mixer lines isn't turned all the way up.  Run
> alsamixer from a terminal, and make sure all the controls are turned
> up to the max.

No, it's a well-known problem with PulseAudio. It gives max volumes much,
much lower than Windows for no special reason I know of.

Robert: if you're using Gnome, run gnome-volume-control. You can use the
slider at the top to set volume to "more than 100%". (Yes, I know that's
stupid.) Unfortunately the system will forget this setting if you ever lower
the volume.

You can run gnome-volume-control by right-clicking the volume applet and
choosing "Sound Preferences" or from the command line.
-- 
Carl Fink   nitpick...@nitpicking.com 

Read my blog at blog.nitpicking.com.  Reviews!  Observations!
Stupid mistakes you can correct!


-- 
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/20110810100146.ga26...@panix.com



Re: Hardware - Boot issues: No post

2011-08-10 Thread Stan Hoeppner
On 8/9/2011 2:30 PM, KS wrote:
> 
> On Mon, 08 Aug 2011 23:47 -0500, "Stan Hoeppner"
>  wrote:
>> On 8/8/2011 6:59 PM, KS wrote:
>>
>>> I shut down the machine and tried to boot it with just the Mushkin RAM.
>>> Same beep sequence followed.
>>
>> If you put the Mushkin back in the original sockets, then you likely:
>>
>> 1.  Damaged the mainboard PCB when inserting modules
>> 2.  Lodged a screw, or something conductive, shorting the board
>> 3.  Got dust, debris in the DDR socket shorting some pins
>> 4.  ??
>>
>> BTW, attempting to boot without a video device will also cause beeps.
>> You removed your PCIe vid card.  Does this mobo also have onboard video?
>>  If not, put the vid card back in before attempting to power it on.
>>
>> If it boots with the Mushkin in the two original sockets, but not with
>> one stick in the "other" socket for dual channel operation, then other
>> that socket is likely bad, or has something tiny wedged in between pins.
>>
>> -- 
>> Stan
>>
> 
> Thanks Stan. The motherboard has onboard video. But the behaviour of the
> machine is the same with or without the PCIe video card.
> 
> And the machine does not boot anymore with any of the RAM modules.
> Assuming that all the memory modules were not zapped together, it is
> quite likely the CPU is toast. I can only check this using another
> machine like this. I might be able to do that tomorrow (and some
> memtest86 too).

I doubt you fried a CPU due to swapping DIMMs, unless static discharge
was involved.  Did you use a static strap, or grasp the chassis with one
hand while inserting the DIMMs with the other?  Many people ignore the
static threat, simply due to ignorance or not reading instructions.

I assume you disconnected the PSU power cord while swapping the DIMMs.
If you did not, the board was still receiving +5VSB from the PSU.  If
you did not, disconnect the power cord, pull the chassis cover, insert
the two original DIMMs where you had them previously, reconnect the
power cord, power on the machine.  Some boards don't like having
components swapped when +5VSB is present.  If this works, power down,
pull the power cord, and add the two new DIMMs.  Insert the power cord
and power on.  Maybe you'll get lucky.  If not, we trudge on until we
find the actual source of the problem.

-- 
Stan


-- 
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/4e424852.1040...@hardwarefreak.com



Re: which is the best alterative package for kbibtex

2011-08-10 Thread Johann Spies
On Mon, Aug 08, 2011 at 04:02:25PM +0200, lina wrote:

> before I used kbibtex, but this time when I tried to install it, seems
> lots of KDE staff, I use gnome desktop mainly?
> so what's the best alterative choice for bibtex edit.

I do not know kbibtex. I am using Emacs to edit my bibtex-files while in
Auctex-mode.

Regards
Johann

-- 
Johann SpiesTelefoon: 021-808 4699
Databestuurder /  Data manager

Sentrum vir Navorsing oor Evaluasie, Wetenskap en Tegnologie
Centre for Research on Evaluation, Science and Technology 
Universiteit Stellenbosch.

 "If ye abide in me, and my words abide in you, ye shall
  ask what ye will, and it shall be done unto you." 
  John 15:7 


-- 
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/20110810062702.gc7...@sun.ac.za



Re: Best linux Distro 2011

2011-08-10 Thread Johann Spies
On Mon, Aug 08, 2011 at 05:26:47PM +0200, Camaleón wrote:
> > 
> > And Well Debian wins over all the Distros :)
> 
> Nice!
> 
> But openSUSE is far better than Ubtuntu in almost any aspect... :-P

I had to work with servers runing openSUSE for a few years and I beg to
differ.  I prefer any Debian flavour over openSuse.

Regards
Johann
-- 
Johann SpiesTelefoon: 021-808 4699
Databestuurder /  Data manager

Sentrum vir Navorsing oor Evaluasie, Wetenskap en Tegnologie
Centre for Research on Evaluation, Science and Technology 
Universiteit Stellenbosch.

 "If ye abide in me, and my words abide in you, ye shall
  ask what ye will, and it shall be done unto you." 
  John 15:7 


-- 
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/20110810064917.gd7...@sun.ac.za



Re: Boost sound volume?

2011-08-10 Thread Kevin Ross

On 08/09/2011 09:43 AM, Robert Blair Mason Jr. wrote:

Hi list,

Is there a way to boost the system sound volume?  Playing DVDs in VLC
with the alsa, pulseaudio, and vlc volumes all maxed out is still about
30-40% of max volume in 'doze.  I don't like pulseaudio, but for some
reason skype doesn't work without it, and my family won't allow me to
not have working skype, so for now I'm stuck with it...

Thanks!

--
rbmj


Sounds like one of the mixer lines isn't turned all the way up.  Run 
alsamixer from a terminal, and make sure all the controls are turned up 
to the max.



--
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/4e423880.3010...@familyross.net



Re: bash quoting problems

2011-08-10 Thread thomas . kral

> Hi!
> I have a problem with the following sed snippet
> sed -i s"|^\( *PATH="\)\(.*\)|\1$ADD:\2|" ~/profile-test
> I need soft quotes in order for $ADD to expand and I also need to math
> against one doublequote in the regexp in for $ADD to be put in the
> corrct place. Does anyone know how to do this?
>
>

You may want to consider putting the sed script in a file and using the 
-f script (or --file=script) option instead.


No quoting needed. ;)

--
Bob McGowan



BTW, since Squeeze default shell is dash, not bash
--
Tomas Kral 


--
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/3214.147.230-22948-959554899-1312960...@email.cz