Re: screenshot manipulation tool

2011-08-09 Thread thomas . kral



 Původní zpráva 
Od: Mihira Fernando 
Předmět: Re: screenshot manipulation tool
Datum: 09.8.2011 07:15:32

On 08/07/2011 08:12 PM, T o n g wrote:
> On Sun, 07 Aug 2011 14:32:20 +, T o n g wrote:
>
>> Do you have a good screenshot manipulation tool to recommend?
> I meant a simple one, just to the point, not a big monster like gimp.
>
> thanks
>
For KDE there's Ksnapshot. Pretty sure there's a similar app for gnome
as well..



Oh yes, there is one, a default part of gnome-desktop-environment package.
But I found it likes taking pictures of itself rather then of an active window.
There has to be a delay set, aprox. 1 sec, then click on the window you want to 
screen capture.

--
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/3131.166.261-8219-1320279507-1312873...@email.cz



Re: Problem getting php5-mysql to work

2011-08-09 Thread Scott Ferguson

On 09/08/11 02:40, Aniruddha wrote:

On Sat, Jul 30, 2011 at 7:26 AM, Scott Ferguson s it should be.


I'm "assuming" you're running Squeeze. Not easy to answer your question
without knowing a little more... :-)

What other php and mysql packages do you have installed?


I run Debian Squeeze. The problem appears to be that modules aren�t'
automatically loaded. I can't get php5-curl to work either.

dpkg --get-selections | grep mysql
libapache2-mod-auth-mysql   install



libdbd-mysql-perl   install
libmysqlclient15off install
libmysqlclient16install
libqt4-sql-mysqlinstall
mysql-admin install
mysql-client-5.1install
mysql-commoninstall
mysql-gui-tools-common  install
mysql-query-browser install
mysql-serverinstall



mysql-server-5.1install
mysql-server-core-5.1   install
php5-mysql  install
postfix-mysql   install



mysql-client is the only package I use that you don't have installed.



dpkg --get-selections | grep apache



Nothing significant missing there.

What about /etc/apache2/modes-enabled/php5.conf?

$


SetHandler application/x-httpd-php


SetHandler application/x-httpd-php-source

# To re-enable php in user directories comment the following lines
# (from  to .) Do NOT set it to On as it
# prevents .htaccess files from disabling it.
#
  #  
#php_admin_value engine Off
#
#

$


Cheers

--
“… We live in a world where John Lennon was murdered, yet Barry Manilow 
continues to put out albums. Dammit! If you're gonna kill somebody, have 
some taste. I'll drive you to Kenny Rogers' house.”

~ Bill Hicks


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

Archive: http://lists.debian.org/4e40e384.2050...@gmail.com



ntp problem: the server clock slowly recedes

2011-08-09 Thread owl...@gmail.com
Hello, the server clock continually recedes as you can see the ntpq -p
offset is too high.
Setting the right time at hand not solve anything after a while the
server clock slowly recedes


Any suggestions?



remote   refid  st t when poll reach   delay   offset  jitter
==
 ntp1.inrim.it   .CTD.1 u   46   64  377   23.641  329686. 2517.77
 ntp2.inrim.it   .CTD.1 u   29   64  377   25.236  329834. 2524.50


2.6.32-5-amd64 #1 SMP Tue Jun 14 09:42:28 UTC 2011 x86_64 GNU/Linux


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CA+J-J2N2fJUk_PyG=xpc6bwdpv+jhbumpbhoy0azs7rsm0t...@mail.gmail.com



Re: ntp problem: the server clock slowly recedes

2011-08-09 Thread Jerome BENOIT

Hell List:

On 09/08/11 09:40, owl...@gmail.com wrote:

Hello, the server clock continually recedes as you can see the ntpq -p
offset is too high.
Setting the right time at hand not solve anything after a while the
server clock slowly recedes


Any suggestions?


ahve you tried an other server ?





 remote   refid  st t when poll reach   delay   offset  jitter
==
  ntp1.inrim.it   .CTD.1 u   46   64  377   23.641  329686. 2517.77
  ntp2.inrim.it   .CTD.1 u   29   64  377   25.236  329834. 2524.50


2.6.32-5-amd64 #1 SMP Tue Jun 14 09:42:28 UTC 2011 x86_64 GNU/Linux





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

Archive: http://lists.debian.org/4e40e536.9010...@rezozer.net



Re: ntp problem: the server clock slowly recedes

2011-08-09 Thread owl...@gmail.com
2011/8/9 Jerome BENOIT :
> Hell List:
>
> On 09/08/11 09:40, owl...@gmail.com wrote:
>>
>> Hello, the server clock continually recedes as you can see the ntpq -p
>> offset is too high.
>> Setting the right time at hand not solve anything after a while the
>> server clock slowly recedes
>>
>>
>> Any suggestions?
>
> ahve you tried an other server ?
>
>>
>>
>>
>>     remote           refid      st t when poll reach   delay   offset
>>  jitter
>>
>> ==
>>  ntp1.inrim.it   .CTD.            1 u   46   64  377   23.641  329686.
>> 2517.77
>>  ntp2.inrim.it   .CTD.            1 u   29   64  377   25.236  329834.
>> 2524.50
>>
>>
>> 2.6.32-5-amd64 #1 SMP Tue Jun 14 09:42:28 UTC 2011 x86_64 GNU/Linux
>>
>>
>
>
> --
> To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject
> of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
> Archive: http://lists.debian.org/4e40e536.9010...@rezozer.net
>
>

Hi, yes nothing change the offset remain


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/ca+j-j2nvtyxxzgrjdekngz+v8vwyddj1cm7oq8n72ls...@mail.gmail.com



Re: Problem getting php5-mysql to work

2011-08-09 Thread Scott Ferguson

On 09/08/11 02:52, Aniruddha wrote:

On Mon, Aug 8, 2011 at 6:40 PM, Aniruddha  wrote:

I run Debian Squeeze. The problem appears to be that modules aren�t'
automatically loaded.


Not "automatically"... a2enmod






When I copy mysql.ini and curl.ini to the right directory all works
fine. I wonder what the official procedure is to enable php modules. I
couldn�t' find a  good explanation in
/usr/share/doc/php5/README.Debian.gz either. Where can I find more
info?


/usr/share/documents/php5-common/NEWS-Debian.gz (for a bit about 
userdirs and /public_html)


man php
man php5
man php-cgi
man php5-cgi
info php
info php5
# apt-get install php-doc



cp /etc/php5/conf.d/mysql.ini  /etc/php5/apache2/conf.d/
cp /etc/php5/conf.d/curl.ini /etc/php5/apache2/conf.d/





# dpkg-reconfigure php5-curl

I run virtual servers for each user and I suspect you are just running a 
server/servers from /var/www with apache running as www-data - so much 
of your configuration will be different.


Go through the main packages you installed reconfiguring them one-by-one 
using dpkg-reconfigure. Also check the


--
“… We live in a world where John Lennon was murdered, yet Barry Manilow 
continues to put out albums. Dammit! If you're gonna kill somebody, have 
some taste. I'll drive you to Kenny Rogers' house.”

~ Bill Hicks


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

Archive: http://lists.debian.org/4e40e98f.9070...@gmail.com



Automatikus:Végh István házon kívül van. (Visszaérkezés: 2011.08.11)

2011-08-09 Thread Végh István

A következő időpontig nem tartózkodom az irodában: 2011.08.11.

Szabadság.


Megjegyzés: Ez egy automatikus válaszüzenet.  "debian-user-digest Digest
V2011 #1492" eredeti üzenetének dátuma: 8/9/11 6:53:38.

A program csupán ezt az egy üzenetet küldi e személy távolléte alatt.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/of04c81f06.c2b45356-onc12578e7.002c0c1f-c12578e7.002c0...@tvk.hu



Re: Fwd: Billion 7800N

2011-08-09 Thread Darac Marjal
On Tue, Aug 09, 2011 at 02:53:16PM +1000, Heddle Weaver wrote:
>On 9 August 2011 01:37, Camaleón <[1]noela...@gmail.com> wrote:
> 
>  On Mon, 08 Aug 2011 13:14:29 +1000, Heddle Weaver wrote:
> 
>  (...)
> 
>  > Tried to ping and tcptraceroute with the only reaction either way 'No
>  > network present'.
> 
>  Then you seem to have a network configuration problem.
> 
>  Your router should be configured as stated by the manual and you have to
>  configure your network interface with an IP in the same network so you
>  can reach it.
> 
>  Show us the output of "/sbin/ifconfig" and then what you get after a
>  "ping".
> 
>Bandit:/sbin# ./ifconfig
>eth0      Link encap:Ethernet  HWaddr 00:15:60:c2:63:46  
>          inet6 addr: fe80::215:60ff:fec2:6346/64 Scope:Link
>          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>          RX packets:14321 errors:0 dropped:737 overruns:0 frame:0
>          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
>          collisions:0 txqueuelen:1000 
>          RX bytes:1694113 (1.6 MiB)  TX bytes:0 (0.0 B)
>          Interrupt:16 

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

then point your web browser to "http://192.168.1.254";. As Camaléon and
others have pointed out, you need to have an address on the same subnet
as your router to be able to talk to it. Often, this is done with DHCP,
but you may not have that set up if you've previously configured the
router.

>lo        Link encap:Local Loopback  
>          inet addr:127.0.0.1  Mask:255.0.0.0
>          inet6 addr: ::1/128 Scope:Host
>          UP LOOPBACK RUNNING  MTU:16436  Metric:1
>          RX packets:146783 errors:0 dropped:0 overruns:0 frame:0
>          TX packets:146783 errors:0 dropped:0 overruns:0 carrier:0
>          collisions:0 txqueuelen:0 
>          RX bytes:11620515 (11.0 MiB)  TX bytes:11620515 (11.0 MiB)
>And
>weaver@Bandit:~$ ping 192.168.1.254
>connect: Network is unreachable
-- 
Paul Saunders


signature.asc
Description: Digital signature


Re: eog (Image Viewer) all black on jpg images

2011-08-09 Thread Joao Ferreira Gmail
On Mon, 2011-08-08 at 16:12 +, Camaleón wrote:
> > eog does display pngs correctly. gimp displays jpgs correctly.
> 
> It works fine here (running an updated wheezy) :-?

I'm also using updated wheezy (weird) ...

> 
> Have you tried to...?
just did

> 
> 1/ Testing with a fresh-new user account?
same problem

> 2/ Running from command line (eog /path/to/file.jpg)?
same problem (no console messages)

gimp is able to display the image correctly


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



Re: ntp problem: the server clock slowly recedes

2011-08-09 Thread Stan Hoeppner
On 8/9/2011 2:40 AM, owl...@gmail.com wrote:

> remote   refid  st t when poll reach   delay   offset  jitter
> ==
>  ntp1.inrim.it   .CTD.1 u   46   64  377   23.641  329686. 2517.77
>  ntp2.inrim.it   .CTD.1 u   29   64  377   25.236  329834. 2524.50
> 
> 
> 2.6.32-5-amd64 #1 SMP Tue Jun 14 09:42:28 UTC 2011 x86_64 GNU/Linux

Is this a virtual machine guest or bare metal host?  Usually offsets
this large are only seen on VM guests that aren't setup properly, and/or
riding atop improperly configured hypervisors.  If this is a guest,
configure the underlying host to sync with an NTP pool, enable the ntpd
listener on the host ntpd, and configure the guest ntpd to query the
underlying host.  Never sync a guest OS ntpd to anything but the
underlying host.  You'll also need to stop ntpd in the guest, run
ntpdate once against your host IP, then start the guest ntpd again.

If this is a bare metal host then you probably have a hardware problem.
 In that case your system board will probably need to be replaced.

-- 
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/4e4100b9.2070...@hardwarefreak.com



Re: eog (Image Viewer) all black on jpg images

2011-08-09 Thread Joao Ferreira Gmail

I've just realised that this does not happen on all JPG files. Only
some.

There are two common characteristics about the pictures that fail:
a) they are about 2,6MB size
b) they were all taken on the same camera

:P

More incredible is that Nautilus is able to show previews for all of
them...

well... nevermind. I have GIMP :)

cheers
Joao



On Tue, 2011-08-09 at 10:30 +0100, Joao Ferreira Gmail wrote:
> On Mon, 2011-08-08 at 16:12 +, Camaleón wrote:
> > > eog does display pngs correctly. gimp displays jpgs correctly.
> > 
> > It works fine here (running an updated wheezy) :-?
> 
> I'm also using updated wheezy (weird) ...
> 
> > 
> > Have you tried to...?
> just did
> 
> > 
> > 1/ Testing with a fresh-new user account?
> same problem
> 
> > 2/ Running from command line (eog /path/to/file.jpg)?
> same problem (no console messages)
> 
> gimp is able to display the image correctly
> 
> 
> > 
> > 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/1312884599.3217.10.ca...@wheejy.critical.pt



Receiving fatal flex scanner error

2011-08-09 Thread Harpreet Singh Anand
Hi All,

I have been using flex (2.5.4-version) for lexical analysis of some files.

For a set of file I am getting following error:

"fatal flex scanner internal error--end of buffer missed"

I have also check the same with 2.5.35 version. It also flags same error.

Is anyone aware of such bug being fixed in any patch.


I have also attached the small lex file and fileset causing the problem.

flex app.l
g++ lex.yy.c
./a.out file1 file2

Intent of Lex file:
It is a simple lex file having simple patterns. There is just a special 
handling for single line c-style comments "//". Upon matching "//" I am eating 
up all characters till newline or file change using yyinput.

Input file set:
File1: last line contains a comment not containing "\n" character.
File2: Has very big comment

Thanks & Regards,
Harpreet Singh




NOTE: This message and its attachments are intended only for the individual or 
entity to which it is addressed and may contain confidential information or 
forward-looking statements regarding product development.  Forward-looking 
statements are subject to change at Atrenta's sole discretion and Atrenta will 
have 
no liability for the delay or failure to deliver any product or feature 
mentioned in 
such forward-looking statements.



file2
Description: file2


app.l
Description: app.l


file1
Description: file1


pludev for user is disabled, but he continues to mount the flash

2011-08-09 Thread abdelkader belahcene
*Hi,
I am working on stable version (squeeze).
I disabled the permission to use plugdev for the user hyproc,  but I notice
that he can use it. same thing for sound and video

I was worked in previous version ( I think i have done it on lenny!!!)

May be I have to do something else.

thanks for help

Here is a part of my /etc/group
hyproc  user is not in groups : audio, video, plugin !!!

*
*adm:x:4:*
*dialout:x:20:hyproc*
*fax:x:21:*
*voice:x:22:*
*cdrom:x:24:debian6,hyproc*
*audio:x:29:debian6*
*dip:x:30:debian6,hyproc*
*www-data:x:33:*
*video:x:44:debian6*
*plugdev:x:46:debian6*
*debian6:x:1000:*
*hyproc:x:1001:*
*
*


Kernel messages during startup

2011-08-09 Thread Ralf Jung
Hi list,

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]
[4.993532] shpchp :00:01.0: Cannot reserve MMIO region
[5.525413] SP5100 TCO timer: mmio address 0xfec000f0 already in use

(before upgrading to Linux 3.0, only the 2nd and 3rd of these messages was 
shown)

Sometimes I also get this message:
[1.480097] pci :00:04.0: ASPM: Could not configure common clock

Is there anything to worry about, and/or does this qualify as a bug I (sh|
c)ould report?

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



can no longer print from acroread

2011-08-09 Thread Steve Kleene
Within the last week or so, my Wheezy machine has lost its ability to
successfully print a test PDF from acroread 9.4.2 to its USB CUPS printer
(Xerox Phaser 6280DN).  The printout is now just a page with a few PostScript
errors.

I don't think this is a CUPS problem.  lpstat -t shows nothing wrong, and I
get a successful printout from the test PDF with this:

/usr/bin/lpr -P Phaser_6280DN test.pdf

It also prints successfully from the Acrobat I have on a virtualbox XP
machine that uses the same CUPS printer.  And as I said, this same test file
printed fine from Wheezy's acroread until recently.  I tried reinstalling
acroread and associated packages, but that didn't fix the problem.

Here's another clue.  If I print from acroread to a file test.ps, I get a
file that on casual inspection looks like PostScript.  However, it fails to
open in gv, XP Acrobat, or Adobe Illustrator, all of which can open PS files
I make with groff.

The problem seems to involve the PostScript Printer Description.  I have
until now been successful with a file /etc/cups/ppd/Phaser_6280DN.ppd.  This
is a PPD provided by Xerox with some fixes (oopstops) that were needed when I
first brought it up.  If I delete that PPD, printing from acroread succeeds,
but then it doesn't offer any of the printer options I like.

Any ideas?  Thanks.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/loom.20110809t132654-...@post.gmane.org



For those of you having trouble with kernel-package and Linux V3 ...

2011-08-09 Thread Stephen Powell
For those of you having trouble with kernel-package and Linux Version 3,
I have an unofficial patch that may solve your problems, particularly if
you have CONFIG_LGUEST set in the kernel config file or you are trying
to build a headers package.  The patch is available here:
 
   http://users.wowway.com/~zlinuxman/kernel-package/linuxv3.diff
 
(Sorry, I realize that it is customary to include patches in-line in an
e-mail, but my MUA (Mail User Agent) has the nasty habit of inserting
line-feed characters in long lines, expanding tabs to blanks, etc., which
make it useless for posting in-line patches.)

This is an unofficial patch: it does not come from the upstream author
or the Debian package maintainer.  Use it at your own risk.  To apply,
 
   cd /usr/share/kernel-package
   ... (download the patch to the current directory)
   patch -p1 http://lists.debian.org/370191655.1161562.1312890777626.javamail.r...@md01.wow.synacor.com



Re: pludev for user is disabled, but he continues to mount the flash

2011-08-09 Thread Brian
On Tue 09 Aug 2011 at 13:06:11 +0200, abdelkader belahcene wrote:

> I am working on stable version (squeeze).
> I disabled the permission to use plugdev for the user hyproc,  but I notice
> that he can use it. same thing for sound and video

hyproc should be logged out and logged in again for the changes to take
effect.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110809114839.GR14528@desktop



Re: Problem getting php5-mysql to work

2011-08-09 Thread Aniruddha
On Tue, Aug 9, 2011 at 10:02 AM, Scott Ferguson
 wrote:
> /usr/share/documents/php5-common/NEWS-Debian.gz (for a bit about userdirs
> and /public_html)

I think I have found the problem :-) I installed php5-curl on my sid
desktop which worked fine. The problem appears to be that the
/etc/php5/apache2/conf.d directory isn't symlinked in Debian 5 and 6
(after a dist-upgrade):

Anyone knows when this changed? This was not the default
configuration in Debian 5 and I couldn't find any reference in the
release notes/documentation.

Sid
ls -l /etc/php5/apache2/
conf.d -> ../conf.d
php.ini

Debian 5/6
ls -l /etc/php5/apache2
conf.d
php.ini


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/campsvvze0ailn8zdmqieepwkym4fhuedt_yho-ehjrefpe5...@mail.gmail.com



Re: ntp problem: the server clock slowly recedes

2011-08-09 Thread Rick Thomas


On Aug 9, 2011, at 5:41 AM, Stan Hoeppner wrote:


On 8/9/2011 2:40 AM, owl...@gmail.com wrote:

   remote   refid  st t when poll reach   delay
offset  jitter
= 
= 
= 
= 
= 
= 
= 
= 
= 
=
ntp1.inrim.it   .CTD.1 u   46   64  377   23.641   
329686. 2517.77
ntp2.inrim.it   .CTD.1 u   29   64  377   25.236   
329834. 2524.50



2.6.32-5-amd64 #1 SMP Tue Jun 14 09:42:28 UTC 2011 x86_64 GNU/Linux


...

If this is a bare metal host then you probably have a hardware  
problem.

In that case your system board will probably need to be replaced.


In many cases, judicious use of "adjtimex" to trim the system clock  
can avoid a system board replacement.


Rick


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

Archive: http://lists.debian.org/5a8f5475-be44-480f-9b18-514f099d4...@pobox.com



Intel LAN controller problems

2011-08-09 Thread Charles Howard

Hi, 

I've bought a new machine with Intel DH67CF motherboard and am trying to 
install squeeze. 
This has an Intel® 82579V Gigabit Ethernet Controller. 

Using a netinstall cd I get the message that `No ethernet card was detected. 
...'

Intel offers e1000e-1.4.4.tar.gz for this controller. 

(I know that `e1000e' is actually listed as one of the options which Debian 
offers to load. Selecting
this just cycles back to the `No ethernet card was detected' message.) 

So I got debian-6.0.2.1-i386-CD-1.iso and installed it without the network 
options. 
I set out to follow the instructions in the driver README, but I find that 
debian (from first
cd) won't recognize files in a usb stick or a burnt cd. Both dirs show up in 
/media but the actual 
file e1000e-1.4.4.tar.gz doesn't. (Or any other file.) 

I can see a couple of sledgehammer `solutions': 1. buy an additional card which 
works, 2. install the
full squeeze from the eight dvds. But I'd like to sort this out simply if 
possible. 

Can someone please point me in the right direction please? 

C
  

--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/bay151-w31055ace3b61ae198a612ae5...@phx.gbl



Re: hibernate fails because of wicd

2011-08-09 Thread Vincent Lefevre
On 2011-08-08 15:04:03 +0200, Vincent Lefevre wrote:
> On my Debian/sid laptop, hibernate failed for a couple of times:
> the screen was cleared with only one message on it (I always get
> a message, so that I think it's unrelated), but the hard disk and
> the screen were still on. The only thing I could do was to switch
> off the machine.
[...]
> So, there seems to be a bad interaction between hibernate and the
> network, apparently due to wicd: from its logs, one can see that
> it was respondible for restarting dhclient. I wonder why dhclient
> is (re)started every 10 seconds. I have the wicd client option
> "Automatically connect to this network" ticked (though it doesn't
> work just after booting and starting the wicd client!).

The problem occurred again. A workaround to avoid the freeze of
the hibernate process was to disable the radio with the hardware
switch.

-- 
Vincent Lefèvre  - Web: 
100% accessible validated (X)HTML - Blog: 
Work: CR INRIA - computer arithmetic / Arénaire project (LIP, ENS-Lyon)


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110809122129.ga32...@xvii.vinc17.org



Can't launch timidity as daemon

2011-08-09 Thread daniele.g
If I try to launch the timidity deamon in /etc/init.d I get this in
syslog:

Aug  9 12:32:50 father pulseaudio[5800]: core-util.c: Home directory 
/etc/timidity not ours.
Aug  9 12:32:50 father pulseaudio[5800]: lock-autospawn.c: Impossibile accedere 
al lock di autospawn.
Aug  9 12:32:50 father pulseaudio[5800]: main.c: Failed to acquire autospawn 
lock

Any clue?
Thanks in advance.
-- 
Perche' mai dovrei desiderare di essere Flaubert quando ho la fortuna di
essere Aldo Busi?
-- Aldo Busi


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87d3geq3b8@father.nostromo.wy



Re: ntp problem: the server clock slowly recedes

2011-08-09 Thread Stan Hoeppner
On 8/9/2011 6:55 AM, Rick Thomas wrote:

> In many cases, judicious use of "adjtimex" to trim the system clock can
> avoid a system board replacement.

And if the machine is under depot warranty?  Better yet,  that + on-site
service contract?  If it does turn out to be defective hardware, and the
above is true, I'd have it replaced.

-- 
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/4e4133bb.4020...@hardwarefreak.com



Re: ntp problem: the server clock slowly recedes

2011-08-09 Thread owl...@gmail.com
2011/8/9 Stan Hoeppner :
> On 8/9/2011 6:28 AM, owl...@gmail.com wrote:
>
>> Hi Stan, thanks for your reply, we have a bare metal host hp dl580g7 no VM 
>> guest
>>
>> After this post we have add nomodify at localhost lines and offset
>> seems acceptable now
>
> It *seems* acceptable because you just restarted ntpd.  Watch 'ntpq -p'
> for 3 days and those numbers will be right back up they were.  I have
> one old self built 2-way SMP system (non NUMA) that keeps incredibly
> accurate time, currently up for 43 days, due to new kernel installation.
>  It was up for 181 days prior to that.

Berfore inserting nomodify the clock lost 2 minutes in 1 hour, now is
stable, i can't hunderstand how can localhost modify ntpd but this was
the only explanation, can you help me hunderstand?

 remote   refid  st t when poll reach   delay   offset  jitter
==
xntp1.inrim.it   .CTD.1 u   22   64  377   23.785  432.491 134.794
*ntp2.inrim.it   .CTD.1 u   32   64  377   25.653  221.217 130.149
+alarich.online- 192.53.103.108   2 u   39   64  377   67.928  300.899  75.004
+ntps1-0.cs.tu-b .PPS.1 u   41   64  373   57.509  217.705 117.816

>
>> # Local users may interrogate the ntp server more closely.
>> restrict 127.0.0.1 nomodify
>> restrict ::1 nomodify
>>
>> mcube@ssh-player:~$ ntpq -p
>>      remote           refid      st t when poll reach   delay   offset  
>> jitter
>> ==
>> *ntp1.inrim.it   .CTD.            1 u  131   64  376   23.940  478.163 
>> 144.085
>> +ntp2.inrim.it   .CTD.            1 u    6   64  375   25.877  540.437 
>> 173.659
>> +alarich.online- 192.53.103.108   2 u   64   64  377   70.188  511.878 
>> 145.782
>> +ntps1-0.cs.tu-b .PPS.            1 u   60   64  337   57.674  513.015 
>> 167.303
>>
>>
>> Do you think there is a HW clock problem?
>
> My old 2-way:
>
>  remote         refid      st t when poll reach   delay   offset  jitter
> 
> *navobs1.wustl.e .GPS.      1 u  452 1024  377   63.322   -3.093   1.269
> +ntp.okstate.edu .USNO.     1 u  135 1024  377   73.731    1.812   1.889
> +tick.uh.edu     .GPS.      1 u  759 1024  257   78.868    1.829   1.288
>
> Linux greer 2.6.38.6 #2 SMP Tue May 17 23:54:39 CDT 2011 i686 GNU/Linux
>  06:47:26 up 43 days,  4:56,  2 users,  load average: 0.01, 0.04, 0.06
>
> I run a custom kernel, rolled from vanilla kernel.org source, on this
> Squeeze system.  It has no time keeping tweaks nor custom kernel boot
> parameters.  Note my offset and jitter compared to yours.  I've had
> uptimes of 300+ days with offset and jitter no different that at 1 day
> of uptime.
>
> To answer your question, you need to determine if the Linux kernel is at
> fault.  Try a different clock source.  Clock sources can be changed at
> runtime by writing the new clocksource name to the file
> /sys/devices/system/clocksource/clocksource0/current_clocksource
> but be aware that changing to an unstable/broken clock source can hang
> the system. Changing tsc or jiffies to acpi_pm should be okay. (The list
> of available sources is in the file available_clocksource in the same
> directory.)

I think this isn't a good idea in my case i can't access the server
directly if it hangs
I had change in ntp.conf ntp servers but same problem


> If changing the clock source helps, you'll need to add a boot parameter
> to grub to make it permanent.  See section "Timer-Specific Options" in
> this document:
> www.kernel.org/pub/linux/kernel/people/gregkh/lkn/lkn_pdf/ch09.pdf
>
> Given that this is a DL580 system I doubt it's faulty hardware, although
> it's possible.  Assuming the hardware is ok, I'm surprised a default
> Debian kernel won't keep time accurately on it.  Google didn't spit back
> any such Debian+DL580 clock issues...

I have a hp DL360 with same kernel, same squeeze 64bit etc. and there
aren't any issues with ntp how you can see

 remote   refid  st t when poll reach   delay   offset  jitter
==
*ntp1.inrim.it   .CTD.1 u  168 1024  377   24.407   -0.040   0.189
+ntp2.inrim.it   .CTD.1 u  580 1024  377   23.5560.105   0.09

Before last sunday the hp dl580 don't had this ntp 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/ca+j-j2p0a8j3jeovcmvh8zxuanzfchgp7brb0fi0kq6t1ds...@mail.gmail.com



Re: LVM write performance

2011-08-09 Thread Dion Kant
On 08/09/2011 06:30 AM, Stan Hoeppner wrote:
> On 8/8/2011 11:03 PM, Stan Hoeppner wrote:
>> On 8/8/2011 2:00 PM, Dion Kant wrote:
>>> On 08/08/2011 03:33 PM, Stan Hoeppner wrote:
 On 8/8/2011 1:25 AM, Dion Kant wrote:
> Dear list,
>
> When writing to a logical volume (/dev/sys/test) directly through the
> device, I obtain a slow performance:
>
> root@dom0-2:/dev/mapper# dd  of=/dev/sys/test if=/dev/zero
> 4580305+0 records in
> 4580305+0 records out
> 2345116160 bytes (2.3 GB) copied, 119.327 s, 19.7 MB/s
>
> Making a file system on top of the LV, mounting it and write into a file
> is ok:
>
> root@dom0-2:/dev/mapper# mkfs.xfs /dev/sys/test
> root@dom0-2:/mnt# mount /dev/sys/test /mnt/lv
> root@dom0-2:/mnt# dd  of=/mnt/lv/out if=/dev/zero
> 2647510+0 records in
> 2647510+0 records out
> 1355525120 bytes (1.4 GB) copied, 11.3235 s, 120 MB/s
>
> Furthermore, by accident I noticed that writing directly to the block
> device is oke when the LV is mounted (of course destroying the file
> system on it):
>
> root@dom0-2:/mnt# dd  of=/dev/sys/test if=/dev/zero
> 3703375+0 records in
> 3703374+0 records out
> 1896127488 bytes (1.9 GB) copied, 15.4927 s, 122 MB/s
>
> Does anyone know what is going on?
>
> The configuration is as follows:
 Yes.  You lack knowledge of the Linux storage stack and of the dd
 utility.  Your system is fine.  You are simply running an improper test,
 and interpreting the results from that test incorrectly.

 Google for more information on the "slow" results you are seeing.

>>> Hmm, Interpreting your answer, this behaviour is what you expect.
>>> However,  I think it is a bit strange to find, with this "improper
>>> test", about a factor 10 difference between reading from and writing to
>>> a logical volume by using dd directly on the device file. Note that  dd
>>> if=/dev/sys/test of=/dev/null does give disk i/o limited results.
>> Apparently you are Google challenged as well.  Here:
>> http://lmgtfy.com/?q=lvm+block+size
>>
>> 5th hit:
>> http://blog.famzah.net/2010/02/05/dd-sequential-write-performance-tests-on-a-raw-block-device-may-be-incorrect/
>>
>>> What is the proper way to copy a (large) raw disk image onto a logical
>>> volume?
>> See above, and do additional research into dd and "block size".  It also
>> wouldn't hurt for you to actually read and understand the dd man page.
>>
>>> Thanks for your advise to try Google. I already found a couple of posts
>>> from people describing this similar issue, but no proper explanation yet.
>> I already knew the answer, so maybe my search criteria is what allowed
>> me to "find" the answer for you in 20 seconds or less.  I hate spoon
>> feeding people, as spoon feeding is antithetical to learning and
>> remembering.  Hopefully you'll learn something from this thread, and
>> remember it. :)
> BTW, you didn't mentioned what disk drive is in use in this test.  Is it
> an Advanced Format drive?  If so, and your partitions are unaligned,
> this in combination with no dd block size being specified will cause
> your 10x drop in your dd "test".  The wrong block size alone shouldn't
> yield a 10x drop, more like 3-4x.  Please state the model# of the disk
> drive, and the partition table using:
>
> /# hdparm -I /dev/sdX
> /# fdisk -l /dev/sdX
>
> Lemme guess, this is one of those POS cheap WD Green drives, isn't it?
> Just in case, read this too:
>
> http://wdc.custhelp.com/app/answers/detail/a_id/5655/~/how-to-install-a-wd-advanced-format-drive-on-a-non-windows-operating-system
>
> This document applies to *all* Advanced Format drives, not strictly
> those sold by Western Digital.
>
Hello Stan,

Thanks for your remarks. The disk info is given below. Writing to the
disk is oke when mounted, so I think it is not a hardware/alignment
issue.  However your remarks made me do some additional investigations:

1. dd of=/dev/sdb4 if=/dev/zero gives similar results, so it has nothing
to do with LVM;
2. My statement about writing like this on an openSUSE kernel is wrong.
Also with openSUSE and the same hardware I get similar (slow) results
when writing to the disk using dd via the device file.

So now the issue has diverted to the asymmetric behaviour when
writing/reading using dd directly through the (block) device file.

Reading with dd if=/dev/sdb4 of=/dev/null gives disk limited performance
Writing with dd of=/dev/sdb4 if=/dev/zero gives about a factor 10 less
performance.

However, after mounting a file system on sdb4 (read only), I can use dd
of=/dev/sdb4 if=/dev/zero at (near) disk limited performance.

Now I used this trick to copy a large (raw) disk image onto an LVM
partition. I think this is odd. Can somebody explain why this is like it is?

Here is the disk info:
Model Family: Seagate Barracuda ES
Device Model: ST3750640NS

root@dom0-2:~# fdisk -l /dev/sdb

Disk /dev/sdb: 750.2 GB, 7501

Re: Easy way to restart network

2011-08-09 Thread Camaleón
On Mon, 08 Aug 2011 19:33:31 +0200, Tomas Kral wrote:

> What is the recommended and easy way to restart network subsystem on a
> desktop without need of rebooting the computer?

/etc/init.d/networking stop && /etc/init.d/networking start

(...)

> On Lenny I used to, as admin, execute something like this,

(...)

> On Squeeze, it sometimes complains that eth1 device does not exist yet.
> My idea is to automate the task, and set a watchdog over ISP connection,
> and call a safe script when it drops to bring it up again.

Yep, you also need to run "ifup eth1".

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



Re: cd burning in nautilus

2011-08-09 Thread Camaleón
On Mon, 08 Aug 2011 21:56:36 -0400, Pete Orrall wrote:

>> E: Package 'nautilus-cd-burner' has no installation candidate
>> 
>> 
>> ...confused.
>> 
>> What should I install?
> 
> It appears that package isn't in Squeeze.  

(...)

Yep, IIRC it has been replaced (the same as gnomebaker) by Brasero, which 
is now the default GNOME CD/DVD burning app.

http://packages.qa.debian.org/n/nautilus-cd-burner.html

> I use Brasero for my burning needs, it works very well.  There is also
> a Nautilus extension for it:
> 
> http://packages.debian.org/squeeze/brasero

For non-GNOME users, xfburn can be another option.

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



Re: eog (Image Viewer) all black on jpg images

2011-08-09 Thread Camaleón
On Tue, 09 Aug 2011 11:09:59 +0100, Joao Ferreira Gmail wrote:

> On Tue, 2011-08-09 at 10:30 +0100, Joao Ferreira Gmail wrote:

(...)

>> > Have you tried to...?
>> just did
>> 
>> 
>> > 1/ Testing with a fresh-new user account?
>> same problem
>> 
>> > 2/ Running from command line (eog /path/to/file.jpg)?
>> same problem (no console messages)
>> 
>> gimp is able to display the image correctly

Mmm...

> I've just realised that this does not happen on all JPG files. Only
> some.

Ah, good finding :-)
 
> There are two common characteristics about the pictures that fail: 
> a) they are about 2,6MB size
> b) they were all taken on the same camera
> 
> :P

Then you better report it. If GIMP can read them fine, EoG may need some 
adjustements on its code.

> More incredible is that Nautilus is able to show previews for all of
> them...
> 
> well... nevermind. I have GIMP :)

Okay, but unless you open a bug report for this the problem will hit 
users endlessly :-)

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



Re: cups on wheezy problem

2011-08-09 Thread Camaleón
On Mon, 08 Aug 2011 14:54:26 -0400, Wayne Topa wrote:

> On 08/08/2011 02:02 PM, Wayne Topa wrote:

(...)

>>> I will re-do the question... Do you think the above error has
>>> something to do with udev/kernel not detecting the printer?
>>>
>> It is not detecting the usb to parallel interface, yes.

But it is listed and visible when you run "lsusb" :-?

>>> "mtp-probe" sounds to me like another thing (used on/for USB media
>>> players):
>>
>> That error was from wheezy when i plugged in the usb printer cable.
>>
>> Here is what I see in Squeeze when I plug in that cable: 
>> Aug 8 13:52:38 dj kernel: [14830.023088] usb 3-1: New USB device strings: 
>> Mfr=1, Product=2, SerialNumber=0 
>> Aug 8 13:52:38 dj kernel: [14830.023092] usb 3-1: Product: IEEE-1284 
>> Controller
>> Aug 8 13:52:38 dj kernel: [14830.023095] usb 3-1: Manufacturer: Prolific 
>> Technology Inc.
>> 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

Looks good...

(...)

>>> What's the full (I mean, the relevant part for USB stack) dmesg output
>>> when you connect the printer? What about "lsusb"? Do other USB devices
>>> work?
> 
> following is from wheezy
> Pulled Printer cable  then reinserted
> 
> Aug  8 14:08:47 dj kernel: [  317.212264] usb 3-1: USB disconnect, device 
> number 2
> Aug  8 14:08:47 dj kernel: [  317.212532] usblp1: removed 
> Aug  8 14:08:52 dj anacron[2389]: Job `cron.daily' started 
> Aug  8 14:08:54 dj kernel: [  324.940051] usb 3-1: new full speed USB device 
> number 3 using ohci_hcd
> Aug  8 14:08:55 dj kernel: [  325.107129] usb 3-1: New USB device found, 
> idVendor=067b, idProduct=2305
> Aug  8 14:08:55 dj kernel: [  325.107138] usb 3-1: New USB device strings: 
> Mfr=1, Product=2, SerialNumber=0 
> Aug  8 14:08:55 dj kernel: [  325.107145] usb 3-1: Product: IEEE-1284 
> Controller 
> Aug  8 14:08:55 dj kernel: [  325.107150] usb 3-1: Manufacturer: Prolific 
> Technology Inc.
> Aug  8 14:08:55 dj kernel: [  325.118268] usblp1: USB Bidirectional printer 
> dev 3 if 0 alt 1 proto 2 vid 0x067B pid 0x2305 

Device seems to be there (usblp1). How about "ls -l /dev/usblp1"?

> Aug  8 14:08:55 dj mtp-probe: checking bus 3, device 3: 
> "/sys/devices/pci:00/:00:12.0/usb3/3-1" 
> Aug  8 14:08:55 dj mtp-probe: bus: 3, device: 3 was not an MTP device

And this looks like an informative message, I mean, like if it were telling 
you "hey, I have detected an USB device but is not suitable to setting it 
as an MTP". 

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

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



Re: Can't launch timidity as daemon

2011-08-09 Thread daniele.g
dgig...@iol.it (daniele.g) writes:

> Any clue?

It looks like It's related to how pulseaudio works.
-- 
  BRODO PRIMORDIALE - Brodo fatto con un dado fossile.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87fwlaod0m@father.nostromo.wy



Re: Intel LAN controller problems

2011-08-09 Thread Camaleón
On Tue, 09 Aug 2011 12:02:18 +, Charles Howard wrote:

> I've bought a new machine with Intel DH67CF motherboard and am trying to
> install squeeze. This has an Intel® 82579V Gigabit Ethernet Controller.

(...)

I remember a recent thread about that error...

New Intel Ethernet adapters (e1000e driver)
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=627700

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



Re: can no longer print from acroread

2011-08-09 Thread Camaleón
On Tue, 09 Aug 2011 11:27:28 +, Steve Kleene wrote:

(...)

> The problem seems to involve the PostScript Printer Description.  I have
> until now been successful with a file /etc/cups/ppd/Phaser_6280DN.ppd. 
> This is a PPD provided by Xerox with some fixes (oopstops) that were
> needed when I first brought it up.  If I delete that PPD, printing from
> acroread succeeds, but then it doesn't offer any of the printer options
> I like.

You can add another printer (I mean, another stanza for the same printer, 
your "Phaser 6280DN") from CUPS that uses the desired PPD (instead PS, 
try with PCL5/6 or another generic file) just to use it to print jobs 
from Acrobat Reader. 

Not a solution at all, I know, but Acrobat Reader is closed source and no 
devel is be able to look into the code so you can only wait until Adobe 
fixes it... (take a chair and wait :-P)

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



Re: Kernel messages during startup

2011-08-09 Thread Camaleón
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

For the rest... well, this may require an additional Google search :-)

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



kwrite and kedit don't insert newlines when pressing the enter key

2011-08-09 Thread George
I've had this problem for a while and I haven't been able to fix it. Both
kwrite and kedit do not let me insert newlines in the files by hitting
enter. Does anyone have a solution to this problem?


Re: ntp problem: the server clock slowly recedes

2011-08-09 Thread Stan Hoeppner
On 8/9/2011 9:11 AM, owl...@gmail.com wrote:
> 2011/8/9 Stan Hoeppner :
>> On 8/9/2011 6:28 AM, owl...@gmail.com wrote:
>>
>>> Hi Stan, thanks for your reply, we have a bare metal host hp dl580g7 no VM 
>>> guest
>>>
>>> After this post we have add nomodify at localhost lines and offset
>>> seems acceptable now
>>
>> It *seems* acceptable because you just restarted ntpd.  Watch 'ntpq -p'
>> for 3 days and those numbers will be right back up they were.  I have
>> one old self built 2-way SMP system (non NUMA) that keeps incredibly
>> accurate time, currently up for 43 days, due to new kernel installation.
>>  It was up for 181 days prior to that.
> 
> Berfore inserting nomodify the clock lost 2 minutes in 1 hour, now is
> stable, 

That's the rate of change you see right now, but it may or may not
remain constant.  I'd give it a few days before stamping it as "stable"
or "problem solved".

> i can't hunderstand how can localhost modify ntpd but this was
> the only explanation, can you help me hunderstand?

Well, "nomodify" prevents local *programs* from reconfiguring your ntpd,
such as ntpq, ntpdc, ntpdate, etc.  But this doesn't tend to explain the
drift correction of 2 minutes every hour simply by enabling 'nomodify'.
 That would mean, basically, that some local program is modifying ntpd
every hour by 2 seconds.

Speaking of other tools, what does "ntpdate -q xntp1.inrim.it" return?
It'll tell you how far off you are in seconds.  I can't remember if
offset and jitter reported by nptq are in seconds or milliseconds.

>  remote   refid  st t when poll reach   delay   offset  jitter
> ==
> xntp1.inrim.it   .CTD.1 u   22   64  377   23.785  432.491 134.794
> *ntp2.inrim.it   .CTD.1 u   32   64  377   25.653  221.217 130.149
> +alarich.online- 192.53.103.108   2 u   39   64  377   67.928  300.899  75.004
> +ntps1-0.cs.tu-b .PPS.1 u   41   64  373   57.509  217.705 117.816
> 
>>
>>> # Local users may interrogate the ntp server more closely.
>>> restrict 127.0.0.1 nomodify
>>> restrict ::1 nomodify
>>>
>>> mcube@ssh-player:~$ ntpq -p
>>>  remote   refid  st t when poll reach   delay   offset  
>>> jitter
>>> ==
>>> *ntp1.inrim.it   .CTD.1 u  131   64  376   23.940  478.163 
>>> 144.085
>>> +ntp2.inrim.it   .CTD.1 u6   64  375   25.877  540.437 
>>> 173.659
>>> +alarich.online- 192.53.103.108   2 u   64   64  377   70.188  511.878 
>>> 145.782
>>> +ntps1-0.cs.tu-b .PPS.1 u   60   64  337   57.674  513.015 
>>> 167.303
>>>
>>> Do you think there is a HW clock problem?
>>
>> My old 2-way:
>>
>>  remote refid  st t when poll reach   delay   offset  jitter
>> 
>> *navobs1.wustl.e .GPS.  1 u  452 1024  377   63.322   -3.093   1.269
>> +ntp.okstate.edu .USNO. 1 u  135 1024  377   73.7311.812   1.889
>> +tick.uh.edu .GPS.  1 u  759 1024  257   78.8681.829   1.288
>>
>> Linux greer 2.6.38.6 #2 SMP Tue May 17 23:54:39 CDT 2011 i686 GNU/Linux
>>  06:47:26 up 43 days,  4:56,  2 users,  load average: 0.01, 0.04, 0.06
>>
>> I run a custom kernel, rolled from vanilla kernel.org source, on this
>> Squeeze system.  It has no time keeping tweaks nor custom kernel boot
>> parameters.  Note my offset and jitter compared to yours.  I've had
>> uptimes of 300+ days with offset and jitter no different that at 1 day
>> of uptime.
>>
>> To answer your question, you need to determine if the Linux kernel is at
>> fault.  Try a different clock source.  Clock sources can be changed at
>> runtime by writing the new clocksource name to the file
>> /sys/devices/system/clocksource/clocksource0/current_clocksource
>> but be aware that changing to an unstable/broken clock source can hang
>> the system. Changing tsc or jiffies to acpi_pm should be okay. (The list
>> of available sources is in the file available_clocksource in the same
>> directory.)
> 
> I think this isn't a good idea in my case i can't access the server
> directly if it hangs
> I had change in ntp.conf ntp servers but same problem

No, probably not, given your circumstances.  You do need to know if this
is an ntp configuration problem or a kernel clock drift problem though.

>> If changing the clock source helps, you'll need to add a boot parameter
>> to grub to make it permanent.  See section "Timer-Specific Options" in
>> this document:
>> www.kernel.org/pub/linux/kernel/people/gregkh/lkn/lkn_pdf/ch09.pdf
>>
>> Given that this is a DL580 system I doubt it's faulty hardware, although
>> it's possible.  Assuming the hardware is ok, I'm surprised a default
>> Debian kernel won't keep time accurately on it.  Google didn't spit back
>> any such Debian+DL580 clock issues...
> 
> I have a hp DL360 with same kernel, same squ

[maybe OT] unicode control characters in filenames

2011-08-09 Thread Eike Lantzsch
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?

Oh well, Dolphin in KDE 4.7.0 lets me change the filenames manually without 
showing the actual control characters - you sort-of need to "feel" your way - 
which is OK. Dolphin interprets those characters as what they are: control 
characters - but manually file by file - I got hundreds - good grief!
ls -la is so kind as to show the unicode characters as  and so forth.
Even mc shows at least dots for the unicode charcters, but no easy method or 
function to eliminate those chars from filenames - I mean a method simple 
enough and usable for simple-minded-non-perl-cracks-users like me.

Thank y'all
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/201108091242.19221.zp6...@gmx.net



Re: can no longer print from acroread

2011-08-09 Thread Steve Kleene
On Tue Aug  9 07:27:35 EDT 2011, I wrote:

> The problem seems to involve the PostScript Printer Description.  I have
> until now been successful with a file /etc/cups/ppd/Phaser_6280DN.ppd.

On Tue, 9 Aug 2011 15:30:54 + (UTC), noela...@gmail.com replied:

> You can add another printer (I mean, another stanza for the same printer,
> your "Phaser 6280DN") from CUPS that uses the desired PPD (instead PS,
> try with PCL5/6 or another generic file) just to use it to print jobs
> from Acrobat Reader.

I'm not sure what PPD I'd use.  With the XP virtual machine, I fixed a
similar problem by switching (at your suggestion) to the PCL description.
However, Xerox doesn't offer a Linux PCL file for this Phaser.

What's more baffling to me is why printing from acroread just stopped
working.  Neither the PPD nor any of the acroread packages have changed since
I built Wheezy five months ago.  I noted on June 24th that printing from
acroread worked, and I think it only stopped working a week or two ago.

Thanks.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/loom.20110809t184245-...@post.gmane.org



Re: Squeeze rotating cursor blinks

2011-08-09 Thread Camaleón
On Mon, 08 Aug 2011 19:19:05 +0200, Tomas Kral wrote:

> Just noticed an interesting fact about cursor on Squeeze.
> 
> The rotating cursor, showing when an app is busy, is actually blinking
> at intervals.

It also blinks (appears/disappears) sometimes/randomly for me (wheezy)... 
maybe this is something related with the VGA driver in use, in my case, 
intel.
 
> This does not show with Lenny, where it is steady rotating, this happens
> only with Squeeze.
> 
> I remember there used to be a parameter during install whereby I could
> give desktop applications extra performance boost over background tasks.

I'm not aware of such parameter during install :-?

> Not sure if this could be the reason for the cursor blinking.

There are some options you can tweak to control the behaviour of the 
jumping/bouncing icon when clicking over icons to run applications but I 
don't think this is going to have any effect over the "blinking" issue...

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



Re: Re: pludev for user is disabled, but he continues to mount theflash

2011-08-09 Thread abdelkader belahcene
I did  it   several times, but same problem!!!
thanks for help


Problem with USB storage device - video glasses

2011-08-09 Thread Bret Busby

Hello.

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

The problem is that, whilst, when connected to the computer USB, the 
battery charges okay, and, when recording video, the correct messages 
are played at the start and end of recording, the computer running 
Debian 5.0, does not show the USB storage device as being present.


The storage device should have about an hour of video, stored on it, 
which should be about 2GB, stored as an AVI file.


I have used the computer with the USB for downloading images from 
different digital cameras without any problem, and for writing to and 
reading from, USB thumb drives, and, accessing an external USB hard 
drive, all without problems.


But, the computer appears unable to detect the USB storage device in 
this device.


dmesg | tail -20 results in

"
 dmesg | tail -20
via_audio: ignoring drain playback error -11
usb 5-6.2: USB disconnect, address 13
usb 5-6.2: new high speed USB device using ehci_hcd and address 15
usb 5-6.2: configuration #85 chosen from 1 choice
scsi6 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 15
usb-storage: waiting for device to settle before scanning
  Vendor: USB 2.0   Model: Video glass   Rev:
  Type:   Direct-Access  ANSI SCSI revision: 02
SCSI device sdb: 2016384 4096-byte hdwr sectors (8259 MB)
sdb: Write Protect is off
sdb: Mode Sense: 03 00 00 00
sdb: assuming drive cache: write through
SCSI device sdb: 2016384 4096-byte hdwr sectors (8259 MB)
sdb: Write Protect is off
sdb: Mode Sense: 03 00 00 00
sdb: assuming drive cache: write through
 sdb: unknown partition table
sd 6:0:0:0: Attached scsi removable disk sdb
usb-storage: device scan complete
"

But, no reference to the device, is displayed in either the file 
manager, or, on the desktop, and, when I connect a digital camera, I get 
something like A storage device has been found. Do you want to import 
images".


What is wrong, and, why can I not access the device?

Thank you in anticipation.

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



Re: can no longer print from acroread

2011-08-09 Thread Camaleón
On Tue, 09 Aug 2011 16:43:54 +, Steve Kleene wrote:

> On Tue, 9 Aug 2011 15:30:54 + (UTC), noela...@gmail.com replied:
> 
>> You can add another printer (I mean, another stanza for the same
>> printer, your "Phaser 6280DN") from CUPS that uses the desired PPD
>> (instead PS, try with PCL5/6 or another generic file) just to use it to
>> print jobs from Acrobat Reader.
> 
> I'm not sure what PPD I'd use.  With the XP virtual machine, I fixed a
> similar problem by switching (at your suggestion) to the PCL
> description. However, Xerox doesn't offer a Linux PCL file for this
> Phaser.

Mmmm, you're right:

http://www.openprinting.org/printer/Xerox/Xerox-Phaser_6280

There is only one driver (PS) for linux though the printer supports 
PCL6 ;-(

(trick: you can try with a generic PCL6 driver¹)
 
> What's more baffling to me is why printing from acroread just stopped
> working.  Neither the PPD nor any of the acroread packages have changed
> since I built Wheezy five months ago.  I noted on June 24th that
> printing from acroread worked, and I think it only stopped working a
> week or two ago.

There have been some updates for CUPS, IIRC. Anyway, just for printing 
can't you use another PDF reader, like Evince or Okular :-?

http://www.openprinting.org/printer/Generic/Generic-PCL_6_PCL_XL_Printer

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



Re: Re: Kernel messages during startup

2011-08-09 Thread abdelkader belahcene
*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
*


Re: Kernel messages during startup

2011-08-09 Thread Ralf Jung
Hi,

> *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
> *
that depends on which messages you mean: The messages coming from the kernel 
(recognisable by the [timestamp]) end up in /var/log/dmesg, the easiest way to 
read them is the "dmesg" command. However, there are many more messages there 
that are not printed, you can to look for the ones you grasp during startup.
For messages from the init scripts, you have to enable boot logging 
(http://www.go2linux.org/bootlogd-to-read-boot-console-messages), then you can 
find them in /var/log/boot.

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



Re: LVM write performance

2011-08-09 Thread Stan Hoeppner
On 8/9/2011 9:12 AM, Dion Kant wrote:

> Thanks for your remarks. The disk info is given below. Writing to the
> disk is oke when mounted, so I think it is not a hardware/alignment
> issue.  However your remarks made me do some additional investigations:
> 
> 1. dd of=/dev/sdb4 if=/dev/zero gives similar results, so it has nothing
> to do with LVM;
> 2. My statement about writing like this on an openSUSE kernel is wrong.
> Also with openSUSE and the same hardware I get similar (slow) results
> when writing to the disk using dd via the device file.
> 
> So now the issue has diverted to the asymmetric behaviour when
> writing/reading using dd directly through the (block) device file.
> 
> Reading with dd if=/dev/sdb4 of=/dev/null gives disk limited performance
> Writing with dd of=/dev/sdb4 if=/dev/zero gives about a factor 10 less
> performance.

Run:
/$ dd of=/dev/sdb4 if=/dev/zero bs=4096 count=50

Then run again with bs=512 count=200

That will write 2GB in 4KB blocks and will prevent dd from trying to
buffer everything before writing it.  You don't break out of this--it
finishes on it's own due to 'count'.  The second run with use a block
size of 512B, which is the native sector size of the Seagate disk.
Either of these should improve your actual dd performance dramatically.

When you don't specify a block size with dd, dd attempts to "buffer" the
entire input stream, or huge portions of it, into memory before writing
it out.  If you look at RAM, swap usage, and disk IO while running your
'raw' dd test, you'll likely see both memory, and IO to the swap device,
are saturated, with little actual data being written to the target disk
partition.

I attempted to nudge you into finding this information on your own, but
you apparently did not.  I explained all of this not long ago, either
here or on the linux-raid list.  It should be in Google somewhere.
Never use dd without specifying the proper block size of the target
device--never.  For a Linux filesystem this will be 4096 and for a raw
hard disk device it will be 512, optimally anyway.  Other values may
give better performance, depending on the system, the disk controller,
and device driver, etc.

That Seagate isn't an AF model so sector alignment isn't the issue here,
just improper use of dd.

-- 
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/4e416aa5.8060...@hardwarefreak.com



Re: Problem with USB storage device - video glasses

2011-08-09 Thread Ivan Shmakov
> Bret Busby  writes:

[…]

 > sdb: unknown partition table

What's the result of the following command?

$ file -s /dev/sdb

Is it possible to mount /dev/sdb manually?  E. g.:

$ sudo mount -v /dev/sdb /mnt/

What are the messages displayed by the command above?

[…]

-- 
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/861uwueciz@gray.siamics.net



Re: Easy way to restart network

2011-08-09 Thread Tomas Kral
On Mon, 2011-08-08 at 21:27 +0200, Bob Proulx wrote:
> Tomas Kral wrote:
> > What is the recommended and easy way to restart network subsystem on a
> > desktop without need of rebooting the computer?
> 
> This has been a popular topic this week!
> 
> > On Lenny I used to, as admin, execute something like this,
> > 
> > #!/bin/sh
> > # restart network
> > su -c'\
> > modprobe -r cdc_ether;\
> > modprobe cdc_ether;\
> > cd /etc/init.d;\
> > ./networking stop;\
> > ./networking start;\
> > ./arno-iptables-firewall restart;\
> > cd -\
> > '
> > 
> > On Squeeze, it sometimes complains that eth1 device does not exist yet.
> > My idea is to automate the task, and set a watchdog over ISP connection,
> > and call a safe script when it drops to bring it up again.
> 
> You didn't show us how your /etc/network/interfaces is set up.  It
> would be useful to know if you are using 'auto eth0' / 'auto eth1'
> which I assume you are otherwise the networking stop and start would
> not work, but it is still an assumption I have to make.  And without
> that information it makes it hard to guess at your problem with eth1
> not existing yet.  Please show us.
> 
> On Squeeze you should use the 'service' utility to operate on services
> instead of calling them directly.  This is new in Squeeze and
> addresses the problem of environment polution.  This doesn't in any
> way change the way '/etc/init.d/service restart' works now but is an
> improvement over it.  Since it is now available I recommend using it.
> 
> I would reorder the actions to remove the modules after having brought
> down the interface.  I expect that is the problem.  Probably unloading
> the module brings down the interface and there is a race between which
> happens first.  At a guess.
> 
> You have backslashes at the end of every line.  But you have also
> created a quoted string with semicolons.  In this case you don't need
> to have quoted newline continuations.  I think it reads better without
> it.
> 
> You cd into /etc/init.d and then at the end of the script 'cd -' to
> return and then exit.  The current working directory is a property of
> the process and since the process is exiting immediately it is no
> necessary to try to return before exiting.  So that 'cd -' can be
> removed.
> 
> I would read this reference:
> 
> http://www.debian.org/doc/manuals/debian-reference/ch05.en.html
> 
> And in particular this section is very useful:
> 
>   
> http://www.debian.org/doc/manuals/debian-reference/ch05.en.html#_the_basic_syntax_of_etc_network_interfaces
> 
> And then add 'allow-hotplug eth0' so that the interfaces are event
> driven too.  Then use ifup and ifdown instead.
> 
> #!/bin/sh
> # restart network
> su -c '
> service networking stop;
> modprobe -r cdc_ether;
> sleep 1;
> modprobe cdc_ether;
> service networking start;
> service arno-iptables-firewall restart;
> '
> 
> I added a sleep 1 there because I have a system with an Intel chipset
> and it has a vaguely similar problem.  I sometimes have to unload and
> reload that module too.  I found that it was much more reliable if I
> gave the system a few cycles between unloading and loading.  YMMV.
> 
> I would be inclined to set up sudo and /etc/sudoers so that this uses
> sudo instead of su.  I find it a more convenient solution.  It would
> turn this into a normal script instead of a script in the argument
> list and then just sudo that script.  Again YMMV.
> 
> If you decide to try the ifup/ifdown route it would look like this.
> As an advantage it would not cycle the eth0 network but just eth1.
> 
> #!/bin/sh
> # Call script with sudo.
> ifdown eth1
> modprobe -r cdc_ether
> sleep 1
> modprobe cdc_ether
> ifup eth1
> service arno-iptables-firewall restart
> 
> As further improvement possibilities, if you look in /etc/network/ you
> will find a series of .d directories such as /etc/network/if-up.d/ and
> in there scripts.  You could have the firewall script automatically
> restart whenever the network comes online.
> 
> File something like /etc/network/if-up.d/local-firewall-restart:
> #!/bin/sh
> # Restart firewall whenever the interface comes online.
> case $IFACE in
>   eth*) service arno-iptables-firewall restart ;;
> esac
> exit 0
> 
> And then remove that from the other script because it will always happen.
> Make sure to 'chmod a+x /etc/network/if-up.d/local-firewall-restart'
> to make the script executable.
> 
> #!/bin/sh
> # Call script with sudo.
> ifdown eth1
> modprobe -r cdc_ether
> sleep 1
> modprobe cdc_ether
> ifup eth1
> 
> I don't know if any of the above is a critical item.  But that is the
> type of thinking I have about it.  Hope that helps.
> 
> Bob

Yes, I use auto eth0 eth1
I am glad for your improving my scripts, I like it.
I will use one or the other you suggested here.
Many thanks.
-- 
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

Console User Groups Best Practice?

2011-08-09 Thread Bob Proulx
How are people handling the setting of user groups for 'audio' et al
needed for the console user in a network account environment such as
NIS/YP?  Where any user can log into any workstation?

For a Debian default standalone installation the user is normally
added to the set of console groups in /etc/group.  I understand how
that part works in great detail.  The user logs into the console and
is a member of the needed groups for audio and others on the console.
But for networked account management with a large number of users
adding every user to every console group has its own set of problems.

On Red Hat / Fedora systems and I presume others they use the PAM
module pam_console.so to set the ownership of files matching the lists
in the /etc/security/console.perms file.  This has obvious exploits.
The Debian maintainer has decided not to include it in Debian and I
think that is reasonable.
  http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=69550

What is the best practice for handling this type of network account
management in Debian?

Thanks,
Bob


signature.asc
Description: Digital signature


Re: Squeeze rotating cursor blinks

2011-08-09 Thread Tomas Kral
On Tue, 2011-08-09 at 18:44 +0200, Camaleón wrote:
> On Mon, 08 Aug 2011 19:19:05 +0200, Tomas Kral wrote:
> 
> > Just noticed an interesting fact about cursor on Squeeze.
> > 
> > The rotating cursor, showing when an app is busy, is actually blinking
> > at intervals.
> 
> It also blinks (appears/disappears) sometimes/randomly for me (wheezy)... 
> maybe this is something related with the VGA driver in use, in my case, 
> intel.
>  
> > This does not show with Lenny, where it is steady rotating, this happens
> > only with Squeeze.
> > 
> > I remember there used to be a parameter during install whereby I could
> > give desktop applications extra performance boost over background tasks.
> 
> I'm not aware of such parameter during install :-?
> 
> > Not sure if this could be the reason for the cursor blinking.
> 
> There are some options you can tweak to control the behaviour of the 
> jumping/bouncing icon when clicking over icons to run applications but I 
> don't think this is going to have any effect over the "blinking" issue...
> 
> Greetings,
> 
> -- 
> Camaleón
> 
> 

Thing is, this happens with Squeeze onwards, not in Lenny backwards.
I also notice a bit of sluggish desktop performance in Squeeze compared
to Lenny. I associated the cursor behavior with it. 

I have dual boot of both, same set of apps, so I can evaluate a little
bit.

Sometimes cursor disappears for good of a second, I have to double click
icons once, twice, sometimes even thrice, before a folder opens up,
mounted cdrom opens, etc.

Not sure, so far Lenny outperforms Squeeze at least on my hardware.

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



Re: Problem with USB storage device - video glasses

2011-08-09 Thread Bret Busby

On Wed, 10 Aug 2011, Ivan Shmakov wrote:


Bret Busby  writes:


[…]

> sdb: unknown partition table

What's the result of the following command?

$ file -s /dev/sdb



"
file -s /dev/sdb
/dev/sdb: data
"



Is it possible to mount /dev/sdb manually?  E. g.:

$ sudo mount -v /dev/sdb /mnt/

What are the messages displayed by the command above?



sudo doesn't work on this one (Yay!)

using su - root (which is my preference) gives

"
mount -v /dev/sdb /mnt/
mount: you didn't specify a filesystem type for /dev/sdb
   I will try type vfat
/dev/sdb on /mnt type vfat (rw)
"

Mounting manually, using that, worked.

Thanks for that.

I do not understand why it was not automatically mounted, like the other 
USB devices that I mentioned in the previous message.



--
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



Re: Problems ejecting cd.

2011-08-09 Thread Jörg-Volker Peetz
Are you already using linux kernel 3.0?


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/j1rrp1$ake$1...@dough.gmane.org



network devices have vanished on Dell D600

2011-08-09 Thread Mark Grieveson
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. From the syslog, I find: 

[6.512468] ipw2100: eth0: ipw2100_verify failed: -5 
[6.512850] ipw2100: eth0: Failed to power on the adapter. 
[6.512880] ipw2100: eth0: Failed to start the firmware.

I'm attaching further syslog entries on eth0 and eth1 in a text file.
From this file you can see that the device were working, and now they
mysteriously are not. Here is what iwconfig now looks like: 

root@debian:/home/mark# iwconfig
lo no wireless extensions.

pan0   no wireless extensions.

Before iwconfig had eth0 and/or eth1 listed, with one having a bunch of
stuff beside it.  At this point wireless was working.

Anyone know why this is happening? Is it normal for these network
devices to sometimes not be found? If it's not normal, can I fix it?

Mark
root@debian:/var/log# cat syslog | grep eth
Aug  8 02:58:28 debian NetworkManager[1122]:  (eth0): cleaning up...
Aug  8 02:58:28 debian NetworkManager[1122]:  (eth0): taking down device.
Aug  8 02:58:28 debian NetworkManager[1122]:  (eth1): taking down device.
Aug  8 10:34:03 debian kernel: [1.282869] eth0: Tigon3 [partno(BCM95705A50) 
rev 3001] (PCI:33MHz:32-bit) MAC address 00:11:43:53:99:6e
Aug  8 10:34:03 debian kernel: [1.282874] eth0: attached PHY is 5705 
(10/100/1000Base-T Ethernet) (WireSpeed[1])
Aug  8 10:34:03 debian kernel: [1.282878] eth0: RXcsums[1] LinkChgREG[0] 
MIirq[0] ASF[0] TSOcap[1]
Aug  8 10:34:03 debian kernel: [1.282881] eth0: dma_rwctrl[763f] 
dma_mask[64-bit]
Aug  8 10:34:04 debian NetworkManager[1161]:SCPlugin-Ifupdown: devices 
added (path: /sys/devices/pci:00/:00:1e.0/:02:00.0/net/eth0, iface: 
eth0)
Aug  8 10:34:04 debian NetworkManager[1161]:SCPlugin-Ifupdown: device added 
(path: /sys/devices/pci:00/:00:1e.0/:02:00.0/net/eth0, iface: 
eth0): no ifupdown configuration found.
Aug  8 10:34:04 debian NetworkManager[1161]:SCPlugin-Ifupdown: devices 
added (path: /sys/devices/pci:00/:00:1e.0/:02:03.0/net/eth1, iface: 
eth1)
Aug  8 10:34:04 debian NetworkManager[1161]:SCPlugin-Ifupdown: device added 
(path: /sys/devices/pci:00/:00:1e.0/:02:03.0/net/eth1, iface: 
eth1): no ifupdown configuration found.
Aug  8 10:34:05 debian NetworkManager[1161]:  (eth0): carrier is OFF
Aug  8 10:34:05 debian NetworkManager[1161]:  (eth0): new Ethernet device 
(driver: 'tg3' ifindex: 2)
Aug  8 10:34:05 debian NetworkManager[1161]:  (eth0): exported as 
/org/freedesktop/NetworkManager/Devices/0
Aug  8 10:34:05 debian NetworkManager[1161]:  (eth0): now managed
Aug  8 10:34:05 debian NetworkManager[1161]:  (eth0): device state 
change: 1 -> 2 (reason 2)
Aug  8 10:34:05 debian NetworkManager[1161]:  (eth0): bringing up device.
Aug  8 10:34:05 debian kernel: [   14.339738] ADDRCONF(NETDEV_UP): eth0: link 
is not ready
Aug  8 10:34:05 debian NetworkManager[1161]:  (eth0): preparing device.
Aug  8 10:34:05 debian NetworkManager[1161]:  (eth0): deactivating device 
(reason: 2).
Aug  8 10:34:05 debian NetworkManager[1161]:  Added default wired 
connection 'Auto eth0' for 
/sys/devices/pci:00/:00:1e.0/:02:00.0/net/eth0
Aug  8 10:34:05 debian NetworkManager[1161]:  (eth1): driver does not 
support SSID scans (scan_capa 0x00).
Aug  8 10:34:05 debian NetworkManager[1161]:  (eth1): new 802.11 WiFi 
device (driver: 'ipw2100' ifindex: 3)
Aug  8 10:34:05 debian NetworkManager[1161]:  (eth1): exported as 
/org/freedesktop/NetworkManager/Devices/1
Aug  8 10:34:05 debian NetworkManager[1161]:  (eth1): now managed
Aug  8 10:34:05 debian NetworkManager[1161]:  (eth1): device state 
change: 1 -> 2 (reason 2)
Aug  8 10:34:05 debian NetworkManager[1161]:  (eth1): bringing up device.
Aug  8 10:34:05 debian NetworkManager[1161]:  (eth1): preparing device.
Aug  8 10:34:05 debian NetworkManager[1161]:  (eth1): deactivating device 
(reason: 2).
Aug  8 10:34:05 debian kernel: [   14.353506] ADDRCONF(NETDEV_UP): eth1: link 
is not ready
Aug  8 10:34:06 debian NetworkManager[1161]:  (eth1): supplicant manager 
state:  down -> idle
Aug  8 10:34:06 debian NetworkManager[1161]:  (eth1): device state 
change: 2 -> 3 (reason 0)
Aug  8 10:34:06 debian NetworkManager[1161]:  (eth1): supplicant 
interface state:  starting -> ready
Aug  8 12:05:28 debian NetworkManager[1161]:  (eth0): cleaning up...
Aug  8 12:05:28 debian NetworkManager[1161]:  (eth0): taking down device.
Aug  8 12:05:28 debian NetworkManager[1161]:  (eth1): taking down device.
Aug  8 12:05:59 debian kernel: [1.289526] eth0: Tigon3 [partno(BCM95705A50) 
rev 3001] (PCI:33MHz:32-bit) MAC address 00:11:43:53:99:6e
Aug  8 12:05:59 debian kernel: [1.

Re: cups on wheezy problem

2011-08-09 Thread Wayne Topa

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

On Mon, 08 Aug 2011 14:54:26 -0400, Wayne Topa wrote:


On 08/08/2011 02:02 PM, Wayne Topa wrote:


(...)


I will re-do the question... Do you think the above error has
something to do with udev/kernel not detecting the printer?


It is not detecting the usb to parallel interface, yes.


But it is listed and visible when you run "lsusb" :-?


"mtp-probe" sounds to me like another thing (used on/for USB media
players):


That error was from wheezy when i plugged in the usb printer cable.

Here is what I see in Squeeze when I plug in that cable:
Aug 8 13:52:38 dj kernel: [14830.023088] usb 3-1: New USB device strings: 
Mfr=1, Product=2, SerialNumber=0
Aug 8 13:52:38 dj kernel: [14830.023092] usb 3-1: Product: IEEE-1284 Controller
Aug 8 13:52:38 dj kernel: [14830.023095] usb 3-1: Manufacturer: Prolific 
Technology Inc.
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




Wheezy

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


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

Cups interface Printer Tab
6P  HP LaserJet 6P  HP LaserJet 6P Foomatic/ljet4   Paused - 
"/usr/lib/cups/backend/usb failed"
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.

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

[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???



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.

Thanks again for being my sounding board.  :-)

Wayne



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

Archive: http://lists.debian.org/4e4178b4.1020...@gmail.com



Boost sound volume?

2011-08-09 Thread Robert Blair Mason Jr.
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


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/20110809124329.42479...@blairasus.mason.homeunix.org



Visited URL links in Epiphany

2011-08-09 Thread Tomas Kral
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.

Will any of these do the trick?
$ apt-cache pkgnames epiphany
epiphany-browser
epiphany
epiphany-webkit
epiphany-browser-data
epiphany-extensions
epiphany-data
epiphany-browser-dbg
epiphany-browser-dev
epiphany-gecko

Many thanks

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



Re: Intel LAN controller problems

2011-08-09 Thread Charles Howard




> On Tue, 09 Aug 2011 12:02:18 +, Charles Howard wrote:

> > I've bought a new machine with Intel DH67CF motherboard and am trying to
> > install squeeze. This has an Intel® 82579V Gigabit Ethernet Controller.

> (...)

> I remember a recent thread about that error...

> New Intel Ethernet adapters (e1000e driver)
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=627700

> Greetings,

> -- 
> Camaleón

Thanks a lot Camaleon (I can't do diacritics on this machine). 

I guess I will see if wheeze can handle it. 

Best, Chas

  

--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/bay151-w23c7fa6c44f27afad4d7c4e5...@phx.gbl



Re: Kernel messages during startup

2011-08-09 Thread John L. Cunningham
Thanks, Ralf!  I've wondered about that since 1999.

John

On Tue, Aug 09, 2011 at 07:04:28PM +0200, Ralf Jung wrote:
> Hi,
> 
> > *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
> > *
> that depends on which messages you mean: The messages coming from the kernel 
> (recognisable by the [timestamp]) end up in /var/log/dmesg, the easiest way 
> to 
> read them is the "dmesg" command. However, there are many more messages there 
> that are not printed, you can to look for the ones you grasp during startup.
> For messages from the init scripts, you have to enable boot logging 
> (http://www.go2linux.org/bootlogd-to-read-boot-console-messages), then you 
> can 
> find them in /var/log/boot.
> 
> 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/201108091904.28478.ralfjun...@gmx.de
> 


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110809191251.GA5067@infotech



Re: Hardware - Boot issues: No post

2011-08-09 Thread KS

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).

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



Re: System crash when swithing to text-console

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

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.


>> 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.

greets
martin

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

iQEcBAEBAgAGBQJOQY6BAAoJECZ8myNlGwU1SsMH+QF5e4Uwm+IVnEzHrS3APMmC
ff9CV6rr6U8YNxD1W5jAjABqypboOCiPKKXadaBcIx75s1f907IK+f82+nCygagh
MdWC/FHBWB9pYQA6YghUdsl4vtsuiiEXrK4zUFSRRODfipfY4im2aa1V6G4oapZ3
6nDRseNBVfZNlL/Z31B/WbIXw9MUUXH6G4nzu44lVOufgLLpFsqSomCZfI6VHH7N
+3jO2ZdNTIvaL9pSb7zLL7ErbZsr7Y5FXxYOY0yAgOe0uvpzhTXW/lWulw726Wqe
pZUGHAInRrWjjrocM8NJ9qHvavN+V7o6Rd7dFc7NF1RI7vibDQu1hFy7Dsqswvw=
=7pLb
-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/4e418e81@lorenz.priv.at



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

2011-08-09 Thread Arnt Karlsen
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 )

-- 
..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/20110809214755.233f0127@celsius.local



Unable to create either bootable USB flashdrive or CD/DVDrom

2011-08-09 Thread Christian Jaeger
Hello

This is not the first time I'm struggling trying to make a bootable
USB flashdrive. In fact, I've spent like 5-10 hours across various
times already, and I realize that I've been too stupid to document my
last endeavours enough to help me to get it to work this time (or
maybe I did and just something has changed with recent images?).

This is the first time though that I find myself even unable to create
a bootable CD or DVDrom. I've burned these and none of them boot on my
ThinkPad T61:

- MythBuntu to a DVD-R
- XMBC live CD to a DVD-R
- MythBunto to a CD-R
- Squeeze netinst to a DVD-R

The first three fail with either just the screen going black and
rebooting in an endless cycle or, in the case of XMBC (with 'quiet'
option removed in the boot menu) showing "Kernel panic - not synching:
VFS: Unable to mount root fs on unknown-block(1,0)". I then tried the
debian-6.0.2.1-ia64-netinst.iso image on a DVD-R, ("wodim
debian-6.0.2.1-ia64-netinst.iso"), in this case wodim told me "wodim:
Cannot fixate disk" at the end, but I can mount the disc and tar its
contents without a single error, so I'd say the disc is fine? But when
booting from it, the screen shows two random characters (otherwise
empty) and then it's frozen (except for the cursor in the top left
corner still blinking, but that's maybe handled by the HW or the
bios).

The laptop *does* boot from a XubunTOS-1.0 CDrom I burned years ago, though.

So I tried the next step (using unetbootin 549-1, recompiled from
testing on squeeze some time ago--I did this because the version in
Squeeze wouldn't work for me back then, the recompiled version did):

- MythBuntu to USB stick using unetbootin: shows "Kernel panic - not
synching: VFS: Unable to mount root fs on unknown-block(104,0)"
- MythBuntu to a second USB stick unetbootin, same
- Squeeze netinst using cat $image.iso > /dev/sdb  (device of stick):
doesn't even show boot menu
- Squeeze netinst using unetbootin: iirc not even the boot menu showed up

Then I tried compiling "usb-creator" from ubuntu, from
https://launchpad.net/ubuntu/oneiric/+source/usb-creator/0.2.31, on
Squeeze,

- at first using dpkg-buildpackage, but there are dependencies on a
newer python-gobject and on gir1.2-gtk-3.0 and other libs, so I gave
up,
- using "make", then running bin/usb-creator-gtk, gave same message as below,
- using "python setup.py install" then:

$ usb-creator-gtk
Traceback (most recent call last):
  File "/usr/local/bin/usb-creator-gtk", line 25, in 
from usbcreator.frontends.gtk import GtkFrontend
  File 
"/usr/local/lib/python2.6/dist-packages/usbcreator/frontends/gtk/__init__.py",
line 1, in 
from frontend import GtkFrontend
  File 
"/usr/local/lib/python2.6/dist-packages/usbcreator/frontends/gtk/frontend.py",
line 21, in 
from gi.repository import GLib
ImportError: No module named gi.repository

Since I don't know what that issue is, I've given up.

Could you help me in any of these attempts? Of course I don't expect
you to help me debug problems with Mythbuntu or XMBC, but as you see
there are already multiple Debian-only problems I'm dealing with.

Thanks
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/CAEjYwfXjnA4rvvND4kMzYKfm4xk4yV21mTzE9VJdAsHJ-E5p=a...@mail.gmail.com



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

2011-08-09 Thread Dejan Ribič

Dne 9.8.2011 22:14, piše Christian Jaeger:

Hello

This is not the first time I'm struggling trying to make a bootable
USB flashdrive. In fact, I've spent like 5-10 hours across various
times already, and I realize that I've been too stupid to document my
last endeavours enough to help me to get it to work this time (or
maybe I did and just something has changed with recent images?).

This is the first time though that I find myself even unable to create
a bootable CD or DVDrom. I've burned these and none of them boot on my
ThinkPad T61:

- MythBuntu to a DVD-R
- XMBC live CD to a DVD-R
- MythBunto to a CD-R
- Squeeze netinst to a DVD-R

The first three fail with either just the screen going black and
rebooting in an endless cycle or, in the case of XMBC (with 'quiet'
option removed in the boot menu) showing "Kernel panic - not synching:
VFS: Unable to mount root fs on unknown-block(1,0)". I then tried the
debian-6.0.2.1-ia64-netinst.iso image on a DVD-R, ("wodim
debian-6.0.2.1-ia64-netinst.iso"), in this case wodim told me "wodim:
Cannot fixate disk" at the end, but I can mount the disc and tar its
contents without a single error, so I'd say the disc is fine? But when
booting from it, the screen shows two random characters (otherwise
empty) and then it's frozen (except for the cursor in the top left
corner still blinking, but that's maybe handled by the HW or the
bios).

The laptop *does* boot from a XubunTOS-1.0 CDrom I burned years ago, though.

So I tried the next step (using unetbootin 549-1, recompiled from
testing on squeeze some time ago--I did this because the version in
Squeeze wouldn't work for me back then, the recompiled version did):

- MythBuntu to USB stick using unetbootin: shows "Kernel panic - not
synching: VFS: Unable to mount root fs on unknown-block(104,0)"
- MythBuntu to a second USB stick unetbootin, same
- Squeeze netinst using cat $image.iso>  /dev/sdb  (device of stick):
doesn't even show boot menu
- Squeeze netinst using unetbootin: iirc not even the boot menu showed up

Then I tried compiling "usb-creator" from ubuntu, from
https://launchpad.net/ubuntu/oneiric/+source/usb-creator/0.2.31, on
Squeeze,

- at first using dpkg-buildpackage, but there are dependencies on a
newer python-gobject and on gir1.2-gtk-3.0 and other libs, so I gave
up,
- using "make", then running bin/usb-creator-gtk, gave same message as below,
- using "python setup.py install" then:

$ usb-creator-gtk
Traceback (most recent call last):
   File "/usr/local/bin/usb-creator-gtk", line 25, in
 from usbcreator.frontends.gtk import GtkFrontend
   File 
"/usr/local/lib/python2.6/dist-packages/usbcreator/frontends/gtk/__init__.py",
line 1, in
 from frontend import GtkFrontend
   File 
"/usr/local/lib/python2.6/dist-packages/usbcreator/frontends/gtk/frontend.py",
line 21, in
 from gi.repository import GLib
ImportError: No module named gi.repository

Since I don't know what that issue is, I've given up.

Could you help me in any of these attempts? Of course I don't expect
you to help me debug problems with Mythbuntu or XMBC, but as you see
there are already multiple Debian-only problems I'm dealing with.

Thanks
Christian.



Hi,

are you sure you should be using IA64 netinst ISO? what kind of CPU do 
you have?



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

Archive: http://lists.debian.org/4e419786.9040...@gmail.com



Re: [maybe OT] unicode control characters in filenames

2011-08-09 Thread Mike McClain
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?
> 
> Oh well, Dolphin in KDE 4.7.0 lets me change the filenames manually without 
> showing the actual control characters - you sort-of need to "feel" your way - 
> which is OK. Dolphin interprets those characters as what they are: control 
> characters - but manually file by file - I got hundreds - good grief!
> ls -la is so kind as to show the unicode characters as  and so forth.
> Even mc shows at least dots for the unicode charcters, but no easy method or 
> function to eliminate those chars from filenames - I mean a method simple 
> enough and usable for simple-minded-non-perl-cracks-users like me.
> 
> Thank y'all
> Eike

Most command line utilities predate unicode and only understand bytes.
While I don't know unicode I have had to deal with such in files and 
have used some thing similar to  tr "\200-\377" "_"  or
if you need to more definition use sed's 's/\107\221\168\319/_a_/'.
You can put all the translations in a sed file one character sequence
translation per line, then something along the lines of:

readable_filename = $( echo $unicode_filename | 
sed -f translation_file.sed; ); 
mv $unicode_filename $readable_filename ;


Mind you the former may give you duplicate file names which will result
in one of the files disappearing and the latter requires you to figure
out some mapping between the old and new file names that will be 
recognizable by anyone else involved.
Since using a script to diddle 100s of files is fraught with risk
I strongly suggest you zip up the directories in question and save that
zip for a month or 2 until you are SURE there are no mistakes.

To get a list of the unicode groupings you need to deal with
start with:
 ls -1R /path_to_unicode_files | tr 'a-zA-Z0-9./-' '_' 

I've never had to deal with your problem but that's how I'd approach it.

HTH,
Mike
PS: \107\221\168\319 is totally arbitrary and only meant to be
illustrative and you may find \x0A handier.
MM
-- 
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/20110809202446.GB3753@playground



squeeze aptitude update error

2011-08-09 Thread Jude DaShiell
Grabbed this with speakup's clipboard function after doing aptitude update 
anyone know what's going on?

Get:22 http://backports.debian.org squeeze-backports Release [74.1 kB]
Err http://backports.debian.org squeeze-backports Release

Fetched 454 kB in 29s (15.5 kB/s)
W: A error occurred during the signature verification. The repository is 
not updated and the previous index files will be used. GPG error: 
http://backports.debian.org squeeze-backports Release: The following 
signatures were invalid: NODATA
1 NODATA 2




-- 
To UNSUBSCRIBE, 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.bsf.2.00.1108091704450.18...@freire1.furyyjbeyq.arg



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

2011-08-09 Thread Christian Jaeger
It's got a Core 2 duo CPU, and I'm currently running the 64 bit
version of Lenny on it.

Also, I've tried the MythBuntu and XMBC 32 bit versions.

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/caejywfvezdq_pnib2-w7zrrpejudagh77--ysfhcjee3h_e...@mail.gmail.com



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

2011-08-09 Thread Christian Jaeger
Oh, I only realize now that I made the mistake of trying "IA64"
instead of x86_64, of course. Going to try with the right Debian
image. Thanks for spotting this!

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/caejywfwncvjj09rdlpt5dc4z5gjbbt4f96d+agg7r+3+1p_...@mail.gmail.com



Re: Hardware - Boot issues: No post

2011-08-09 Thread Mark Neidorff
On Tuesday 09 August 2011 15:30:53 KS wrote:
> On Mon, 08 Aug 2011 23:47 -0500, "Stan Hoeppner"
> 

> 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 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


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/201108091723.36050.m...@neidorff.com



Re: bash quoting problems

2011-08-09 Thread Bob McGowan

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.


No quoting needed. ;)

--
Bob McGowan


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

Archive: http://lists.debian.org/4e41b7f4.7050...@symantec.com



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

2011-08-09 Thread Christian Jaeger
So, I've downloaded
http://cdimage.debian.org/debian-cd/6.0.2.1/amd64/iso-cd/debian-6.0.2.1-amd64-netinst.iso,
run "gparted /dev/sdb" to make a new partition table on my flashdrive
and one fat32 fs partition, run unetbootin and selected the downloaded
iso file and the flashdrive as target, try to boot from it, the menu
comes up, then a plain old "Kernel panic - not syncing: VFS: Unable to
mount root fs on unknown-block(254,32)".

So, back to "wodim -v debian-6.0.2.1-amd64-netinst.iso" on a DVD-R,
which prints the same error message about fixating (see attached files
for the wodim and kernel output if interested), but the resulting CD
actually *does* boot! The installer comes up and runs just fine.

So where does that leave me? What does it show?

1. unetbootin is still broken (unable to make *any* image work on flashdrive)
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?

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/CAEjYwfVto4TQLRo8UxCvz-73==llemxqfatgp55c8rrwbow...@mail.gmail.com



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

2011-08-09 Thread Wolodja Wentland
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
-- 
Wolodja 

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


signature.asc
Description: Digital signature


Re: Hardware - Boot issues: No post

2011-08-09 Thread Joel Rees
Just out of curiosity, ...

On Wed, Aug 10, 2011 at 4:30 AM, 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).

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.

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.

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


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/caar43iouc9quy1bhjvz0-c66fwgvn5evmytp3wc3hmoyogc...@mail.gmail.com



Re: Fwd: Billion 7800N

2011-08-09 Thread Heddle Weaver
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:

Bandit:/home/weaver# /sbin/ifconfig
eth0  Link encap:Ethernet  HWaddr 00:15:60:c2:63:46
  inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:255.255.255.255
  inet6 addr: fe80::215:60ff:fec2:6346/64 Scope:Link
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:143 errors:0 dropped:0 overruns:0 frame:0
  TX packets:113 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1000
  RX bytes:21888 (21.3 KiB)  TX bytes:21435 (20.9 KiB)
  Interrupt:16

loLink encap:Local Loopback
  inet addr:127.0.0.1  Mask:255.0.0.0
  inet6 addr: ::1/128 Scope:Host
  UP LOOPBACK RUNNING  MTU:16436  Metric:1
  RX packets:12246 errors:0 dropped:0 overruns:0 frame:0
  TX packets:12246 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:0
  RX bytes:955628 (933.2 KiB)  TX bytes:955628 (933.2 KiB)


>
> 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.


> As Camaléon and
> others have pointed out, you need to have an address on the same subnet
> as your router to be able to talk to it. Often, this is done with DHCP,
> but you may not have that set up if you've previously configured the
> router.
>

This is brand new.
The second one after I took the first one back, thinking it had a firmware
problem.
Thanks.
Regards,

Weaver.
-- 

Religion is regarded by the common people as true,
by the wise as false,
and by the rulers as useful.

— Lucius Annæus Seneca.

Terrorism, the new religion.


Re: Install on new iMac failing

2011-08-09 Thread Mike Hore

On 8/08/11 12:18 PM, Mike Hore wrote:

Has anybody had any success installing any version of Debian on a new
iMac? As I've posted below, I suspect a kernel incompatibility with the
new AMD graphics chip.

If somebody could confirm this for me, I'll post a bug report to try to
get something done. Or if somebody can disprove it, fine, tell me how to
get up and running!


OK, no replies.  So I'll assume this is a real problem, and file a bug 
report.


-- Mike.




TIA, Mike.



I wrote:

...
This didn't fix the problem. So basically I now have a new problem, that
I can run a full install of wheezy (kernel 2.6.39-2) and set up GRUB and
sync the MBR etc etc, but the new system won't boot. It gives some
scrolling text for a minute or so, then gives interesting flashing
lights with no further progress.

Any advice, anyone? It appears it might be a kernel issue with some
incompatibility with the Apple hardware.


Another relevant point -- I couldn't do a graphical install. I just got
a lot of square boxes instead of text on the screen. That made me think,
new graphics processor!
These new iMacs have an AMD Radeon HD 6750M GPU for graphics. Maybe the
kernel doesn't recognize these yet? Anybody know? Here's the full
hardware info for the graphics:

Chipset Model: AMD Radeon HD 6750M
Type: GPU
Bus: PCIe
PCIe Lane Width: x16
VRAM (Total): 512 MB
Vendor: ATI (0x1002)
Device ID: 0x6741
Revision ID: 0x
ROM Revision: 113-C2950H-136
EFI Driver Version: 01.00.512
Displays:
iMac:
Resolution: 1920 x 1080
Pixel Depth: 32-Bit Color (ARGB)
Main Display: Yes
Mirror: Off
Online: Yes
Built-In: Yes
Connection Type: DisplayPort



Cheers, Mike.


---
Mike Hore mike_h...@aapt.net.au
---








--
---
  Mike Horemike_h...@aapt.net.au
---


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

Archive: http://lists.debian.org/4e420390.1060...@aapt.net.au



Re: Problem with USB storage device - video glasses

2011-08-09 Thread Ivan Shmakov
> Bret Busby  writes:
> On Wed, 10 Aug 2011, Ivan Shmakov wrote:
> Bret Busby  writes:

 >>> sdb: unknown partition table

 >> What's the result of the following command?

 >> $ file -s /dev/sdb

 > "
 > file -s /dev/sdb
 > /dev/sdb: data
 > "

That's strange, given the working mount(8) invocation below.

 >> Is it possible to mount /dev/sdb manually?  E. g.:

[…]

 > Mounting manually, using that, worked.

 > Thanks for that.

You may also want to check pmount(8) (of the pmount package.)

 > I do not understand why it was not automatically mounted, like the
 > other USB devices that I mentioned in the previous message.

I guess that it may be because the block device in question
lacks a partition table, and the automounting facility used
assumes that it should have one.

It may be possible to add a partition table to the device
(obviously destroying the contents), but it should be checked
whether the device itself supports writing to a filesystem on a
partition.

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



Re: bash quoting problems

2011-08-09 Thread Ivan Shmakov
> 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.:

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

-- 
FSF associate member #7257  [np. Cortége — Apocalyptica]


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/86sjp9ddil@gray.siamics.net