Re: How to make Debian/GNome manage network automatically

2009-10-19 Thread Andrei Popescu
On Mon,19.Oct.09, 12:21:01, Foss User wrote:

> > If you comment out the lines for your network interfaces (by putting a
> > '#' at the line start) in /etc/network/intefaces then Network Manager
> > will manage the connections. E.g. from my 'interfaces' file,
> >
> > #allow-hotplug eth0
> > #iface eth0 inet dhcp
> >
> > Leave the lines for the loopback interface alone though.
> 
> These are the only lines I have in my /etc/network/interfaces
> 
> # This file describes the network interfaces available on your system
> # and how to activate them. For more information, see interfaces(5).
> 
> # The loopback network interface
> auto lo
> iface lo inet loopback
> 
> auto eth1
> iface eth1 inet dhcp
> 
> But, network manager is not managing the network connections.

As said by Tixy, disable anything but 'lo', for example by "commenting 
out" (a.k.a. putting an '#' in front of each line). Your interfaces 
should look like this:

,[ /etc/network/interfaces ]
| # This file describes the network interfaces available on your system
| # and how to activate them. For more information, see interfaces(5).
|
| # The loopback network interface
| auto lo
| iface lo inet loopback
|
| #auto eth1
| #iface eth1 inet dhcp
`


Regards,
Andrei
-- 
Offtopic discussions among Debian users and developers:
http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic


signature.asc
Description: Digital signature


Re: How to make Debian/GNome manage network automatically

2009-10-19 Thread Jean-François Pirlet
Comment out the "auto eth1" and "iface eth1 inet dhcp" lines. Edit
your /etc/NetworkManager/nm-system-settings.conf to "managed=true". E.g.
from :
"[main]
plugins=ifupdown,keyfile

[ifupdown]
managed=false"

to:

"[main]
plugins=ifupdown,keyfile

[ifupdown]
managed=true"

Reboot (or restart NM), and it should be working.
 
> These are the only lines I have in my /etc/network/interfaces
> 
> # This file describes the network interfaces available on your system
> # and how to activate them. For more information, see interfaces(5).
> 
> # The loopback network interface
> auto lo
> iface lo inet loopback
> 
> auto eth1
> iface eth1 inet dhcp
> 
> But, network manager is not managing the network connections.


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



Re: broadcom-sta was removed

2009-10-19 Thread Jerome BENOIT

Hello Johan,

thanks for your quick answer.

Johan Grönqvist wrote:

Jerome BENOIT skrev:

Does any one know why broadcom-sta was remove from Testing and Unstable ?


 From the bug report:

"This driver has been orphaned and does not build against kernel
version 2.6.31.  The hardware it supports should now be handled by the
in-tree b43 driver."


I guess that I was looking for such a Bug Report.
But this aasertion is partially false as a version of broadcom-sta
that compiled against kernel 2.6.31 is privided by broadcom:
http://www.broadcom.com/support/802.11/linux_sta.php



It seems that b43 is supposed to do everything that broadcom-sta did.
(To use b43, you may need to install b43-fwcutter from contrib, and let 
it download firmware for your card. I have to, at least.)


I will give it a try as soon as I have time.



See:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=551364
http://packages.debian.org/squeeze/b43-fwcutter

Hope it helps.


It helps, thanks a lot,
Jerome



/ johan




--
Jerome BENOIT
jgmbenoit_at_mailsnare_dot_net


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



Ethernet CRC errors statistics in Linux

2009-10-19 Thread Kushal Koolwal

I have a system (x86_64) running Debian Lenny on a standard Gigabit Ethernet 
LAN. I have been doing some researching on how to measure Ethernet CRC errors 
(Physical layer), if there are any, on my Debian system's ethernet card . It is 
clear that the ethereal (now wireshark) cannot measure it [1]. Some people have 
suggested to use the following commands to get the CRC count:

# cat /proc/net/dev
Inter-|   Receive|  Transmit
 face |bytespackets errs drop fifo frame compressed multicast|bytes
packets errs drop fifo colls carrier compressed
lo: 12309345159000 0  0 0  1230934
5159000 0   0  0
  eth0:14527038631 174773921000 0  0 0 
53768205408 150237839000 0   0  0

and

#ifconfig eth0
eth0  Link encap:Ethernet  HWaddr 00:1f:d0:35:74:b5  
  inet addr:192.168.0.1  Bcast:192.168.0.255  Mask:255.255.255.0
  inet6 addr: fe80::21f:d0ff:fe35:74b5/64 Scope:Link
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:174700827 errors:0 dropped:0 overruns:0 frame:0
  TX packets:150164953 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1000 
  RX bytes:14522357501 (13.5 GiB)  TX bytes:53726785504 (50.0 GiB)
  Interrupt:254 Base address:0xe000 

As per [2], they say that "Copper cabling should not experience more than one 
bit error per 10^6 bits." But as you can see even after tx and rx data in GBs, 
I still don't have any CRC errors??? May be it might be the case that there are 
actually no CRC errors so far but it is hard for me to believe. So my two 
questions are:

a) Does the above two command really give you the hardware CRC count? Or does 
the Linux driver/OS masks it somehow?

b) Does anyone know any other method in Linux to measure the Ethernet CRC 
count? 

I am wondering how much CRC errors people on this list are getting using the 
above two commands.

Any light on this subject is highly appreciated.

# ethtool -i eth0
driver: forcedeth
version: 0.61
firmware-version: 
bus-info: :00:07.0

[1] http://www.fpgarelated.com/usenet/fpga/show/31620-1.php

[2] http://www.mail-archive.com/ci...@groupstudy.com/msg93750.html

Kushal Koolwal

I do blog at http://blogs.koolwal.net/
_
Hotmail: Trusted email with powerful SPAM protection.
http://clk.atdmt.com/GBL/go/177141665/direct/01/

Re: How to REALLY restart networking?

2009-10-19 Thread Klistvud
A little update:
-- tried noapic but the problem persists
-- tried nolapic but then the kernel only recognized one of my two 
CPUs, so I reverted back
-- restarting /etc/init/dbus doesn't solve the issue
-- restarting /etc/init/dhcdbd doesn't solve the issue
-- restarting /etc/init/networking doesn't solve the issue
-- restarting /etc/init/network-manager doesn't solve the issue
-- restarting /etc/init/network-manager-dispatcher doesn't solve the 
issue
-- restarting /etc/init/wpa-ifupdown doesn't solve the issue
-- rmmoding ssb doesn't solve the issue
-- rmmoding wl doesn't solve the issue
-- rmmoding ieee80211_crypt doesn't solve the issue
-- modprobing the above modules doesn't help either
-- issuing depmod -a doesn't help either
-- killing the Gnome nm-applet and restarting it doesn't help either

-- ifconfig and iwconfig list my wireless interface as if everything 
was OK, with the exception of the ESSID being empty (and the wireless 
interface not being associated to the AP of course)

-- putting the laptop to sleep (suspending it to RAM) resolves the 
issue, upon resuming from sleep the nm-applet finds the AP and connects 
to it flawlessly.

All in all: there is some process/reset/service restart or whatever 
which gets triggered during a reboot and during a suspend which I can't 
seem to pinpoint. For now, a quick suspend-to-RAM followed by a quick 
wake-up enables me to avoid rebooting every day, but that's certainly 
not elegant and most certainly not a "solution"... :(


-- 
Certifiable Loonix User #481801


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



Re: Configuartion of Icedove under Lenny

2009-10-19 Thread Klaus Jantzen

Wayne wrote:

Klaus Jantzen wrote:
  

Hi,

how can I configure Icedove  to show in the message folder tree  not
only the
number of unread messages in the folders but also the total number of
messages in the respective folder.

Thank you.

KDJ





On my Icedove in Lenny

At the top of the Folder list there are 4 headers, the far right being
Size.  To the right of that is a small box with a down arrow that when
you click on it shows 2 items you chan enable/disable. Totals is one of
those options.

Hope this helps.

Wayne
  


That gives me the total number of messages in a thread.
What I am looking for is the total number of messages in a message folder.
In Firefox this is shown in the folder tree on the left hand side as e.g.

Inbox(21)300

meaning that there are 21 unread messages and 300 in total in that folder.

KDJ.



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




Re: Duplicity

2009-10-19 Thread Johann Spies
On Sat, Oct 17, 2009 at 11:43:51PM +1100, Alex Samad wrote:
> 
> wondering if any one is using this, I have been starting to use
> rdiff-backup that got me looking at backupninja and that in turn led me
> to duplicity - looks interesting. the web pages says its still in beta.
> 
> wondering if any one would like to comment on it - any problems they
> might have had if any

I have used it for a short time, and when it works it is OK. In my
case however, I had too many errors and unrecoverable backups so I
stopped using it.

To have an encrypted backup, I now use an encrypted volume on the
remote device and use rsync over ssh to do the backups to that volume.

It is much more simple and it is easy to recover backups.

Regards
Johann



-- 
Johann Spies  Telefoon: 021-808 4599
Informasietegnologie, Universiteit van Stellenbosch

 "Commit thy way unto the LORD; trust also in him; and 
  he shall bring it to pass."  Psalms 37:5 


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



Re: broadcom-sta was removed

2009-10-19 Thread Jerome BENOIT

Hello List,


Jerome BENOIT wrote:

Hello Johan,

thanks for your quick answer.

Johan Grönqvist wrote:

Jerome BENOIT skrev:
Does any one know why broadcom-sta was remove from Testing and 
Unstable ?


 From the bug report:

"This driver has been orphaned and does not build against kernel
version 2.6.31.  The hardware it supports should now be handled by the
in-tree b43 driver."


I guess that I was looking for such a Bug Report.
But this aasertion is partially false as a version of broadcom-sta
that compiled against kernel 2.6.31 is privided by broadcom:
http://www.broadcom.com/support/802.11/linux_sta.php



It seems that b43 is supposed to do everything that broadcom-sta did.
(To use b43, you may need to install b43-fwcutter from contrib, and 
let it download firmware for your card. I have to, at least.)


I will give it a try as soon as I have time.


It seems not to work with my Broadcom BCM4322 and kernel 2.6.31 .
May be it will get better with kernel 2.6.32 .

Jerome





See:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=551364
http://packages.debian.org/squeeze/b43-fwcutter

Hope it helps.


It helps, thanks a lot,
Jerome



/ johan






--
Jerome BENOIT
jgmbenoit_at_mailsnare_dot_net


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



Re: How to make Debian/GNome manage network automatically

2009-10-19 Thread Tom H
On Mon, Oct 19, 2009 at 9:17 AM, Jean-François Pirlet
 wrote:

>> These are the only lines I have in my /etc/network/interfaces

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

>> # The loopback network interface
>> auto lo
>> iface lo inet loopback

>> auto eth1
>> iface eth1 inet dhcp

>> But, network manager is not managing the network connections.

> Comment out the "auto eth1" and "iface eth1 inet dhcp" lines. Edit
> your /etc/NetworkManager/nm-system-settings.conf to "managed=true". E.g.
> from:

> "[main]
> plugins=ifupdown,keyfile

> [ifupdown]
> managed=false"

> to:

> "[main]
> plugins=ifupdown,keyfile

> [ifupdown]
> managed=true"

> Reboot (or restart NM), and it should be working.

I disagree with the above (although it will work). Having /e/n/i
consist of you "lo" config only as earlier posters have advised you is
enough.

Setting ifupdown to "managed=true" allows you to manage your network
through NM in spite of having entries in e/n/i, or perhaps more
accurately using the entries in e/n/i.

The red cross in NM applet simply lets you know that NM is not
managing the NIC in use.

NM is the first app that I purge when I install Linux but I saw the
red cross when I installed Squeeze, was curious, and googled two bug
reports. One was about the cross and the second was about NM reporting
the network down to certain applications even though the network was
up because it was not managing a NIC. So you may be experiencing the
latter problem - and the already-suggested solutions should remedy it.


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



Re: Cannot use /media/ properly

2009-10-19 Thread Merciadri Luca
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Alexey Salmin  writes:

> Please post here output from the "mount" command after plugging the
> storage media to make things more clear.
>
> Alexey
>
> On Mon, Oct 19, 2009 at 2:48 AM, Merciadri Luca
>  wrote:
>> -BEGIN PGP SIGNED MESSAGE-
>> Hash: SHA1
>>
>> Hi,
>>
>> I am encountering a major problem which seems to be related to my
>> (actually su's) /media/ folder.
>>
>> # ls -al | grep media
>> lrwxrwxrwx   1 root root    11 2009-07-17 17:01 cdrom -> media/cdrom
>> drwxrwxrwx   9 root root  4096 2009-10-18 21:00 media
>>
>> seems pretty nice, but, when a device is mounted correctly, linked,
>> etc., and that I am able to access it with /media/, it always appear
>> as empty. For example, let's say that I plug a `disk1' key in one of
>> my USB ports. It is recognized, I can
>>
>> # cd /media/disk1/
>>
>> BUT, after this,
>>
>> # ls -al
>> total 12
>> drwxr-xr-x  3 merciadriluca root 8192 2009-10-18 19:16 .
>> drwxrwxrwx 10 root          root 4096 2009-10-18 21:42 ..
>>
>>
>> and the folder is apparently empty. However, when I ls -al on another
>> (Debian-powered) PC, the ls -al's output is correct, and there are
>> several files. It is the same for any external DD, or any other mass
>> storage device (that is, my non el cheapo usb key is not faulty).
>>
>> My first suspicion was /media's permissions, but
>>
>> # ls -al | grep media
>> lrwxrwxrwx   1 root root    11 2009-07-17 17:01 cdrom -> media/cdrom
>> drwxrwxrwx   9 root root  4096 2009-10-18 21:00 media
>>
>> is what I encounter on my `faulty' computer, and
>>
>> # ls -al | grep media
>> drwxr-xr-x   4 root root  4096 2009-10-18 21:04 media
>>
>> is what I can read on one of my `not faulty' computers (which has
>> actually no CDROM). The only difference seems to be in the `9' which
>> is a `4' on the `not faulty' computer, but, although I do not know
>> what this number aims at, it shouldn't be the cause of the problem,
>> should it?
>>
>> Any help would be much appreciated.
>>
>> - --
>> Merciadri Luca
>> See http://www.student.montefiore.ulg.ac.be/~merciadri/
>> -BEGIN PGP SIGNATURE-
>> Version: GnuPG v1.4.9 (GNU/Linux)
>> Comment: Processed by Mailcrypt 3.5.8 
>>
>> iEYEARECAAYFAkrbcSgACgkQM0LLzLt8Mhz7fACgp8cAbMGYJmSjUtQVDiXntjuY
>> w4EAoJb1XiQFDq0sMDB1s8tIYChplpFf
>> =aJPj
>> -END PGP SIGNATURE-
>>
>>
>> --
>> To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
>> with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
>>
>>
>
> -- 
> To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
> with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Here you are:
- -
# mount
/dev/sda5 on / type ext3 (rw,errors=remount-ro)
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
procbususb on /proc/bus/usb type usbfs (rw)
udev on /dev type tmpfs (rw,mode=0755)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
fusectl on /sys/fs/fuse/connections type fusectl (rw)
rpc_pipefs on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
nfsd on /proc/fs/nfsd type nfsd (rw)
192.168.0.106:/home/merciadriluca on /mnt/nfs/laptop/home type nfs 
(rw,sync,hard,intr,addr=192.168.0.106)
/dev/sdd1 on /media/KUBUNTU_LAPTOP22_ type ext3 (rw,nosuid,nodev,uhelper=hal)
- -

Please note that I am sometimes able to access my external HDDs with
the GUIs, and not with the console. I am also *obliged* to be su to
access my HDDs. Here is a screenshot which could be useful:

http://luca.merciadri.free.fr/Screenshot.jpg

(You may look at the left screen.)

Thanks.

- -- 
Merciadri Luca
See http://www.student.montefiore.ulg.ac.be/~merciadri/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 

iEYEARECAAYFAkrcWwcACgkQM0LLzLt8MhyeCQCdG2M7wK+WBVmvy+UYgLgXJHqw
350An03qVknOK0ucPuqtljVWpPmJuxgA
=6GfB
-END PGP SIGNATURE-


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



Mounting virtualbox .vdi file

2009-10-19 Thread Mathieu Malaterre
Hi there,

  I am trying to mount the vdi file on my linux box. I used suggestions from:

http://forums.virtualbox.org/viewtopic.php?t=52

  However this does not seems to be working for me:

 $ sudo mount -t ntfs-3g -o
ro,loop,uid=user,gid=group,umask=0007,fmask=0117,offset=0x$(hd -n
100 ./MyWinXP.vdi | grep "eb 52 90 4e 54 46 53" | cut -c 1-8)
./MyWinXP.vdi /tmp/vdi
Failed to read last sector (20948696): Invalid argument
HINTS: Either the volume is a RAID/LDM but it wasn't setup yet,
   or it was not setup correctly (e.g. by not using mdadm --build ...),
   or a wrong device is tried to be mounted,
   or the partition table is corrupt (partition is smaller than NTFS),
   or the NTFS boot sector is corrupt (NTFS size is not valid).
Failed to mount '/dev/loop2': Invalid argument
The device '/dev/loop2' doesn't have a valid NTFS.
Maybe you selected the wrong device? Or the whole disk instead of a
partition (e.g. /dev/hda, not /dev/hda1)? Or the other way around?


$ hd -n 100 MyWinXP.vdi| grep "eb 52 90 4e 54 46 53"
00012000  eb 52 90 4e 54 46 53 20  20 20 20 00 02 08 00 00  |.R.NTFS.|


Thanks for suggestion !
-- 
Mathieu


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



Re: broadcom-sta was removed

2009-10-19 Thread Stefan Monnier
> It seems not to work with my Broadcom BCM4322 and kernel 2.6.31 .

It works well for many people under various kernel versions, so you may
want to insist a bit, or at least post a description of the way it
doesn't work (dmesg output would be a good start, along with
a description of what you've done).


Stefan


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



Re: keeping the two latest files on a folder

2009-10-19 Thread Andrew Sackville-West
On Sun, Oct 18, 2009 at 08:09:21PM +0200, Javier Barroso wrote:
[...]
> > I've just want to change on a file this line:
> >
> > vif = [ 'ip=167,112,134.223,mac=00:16:3E:FD:58:B8']
> >
> > to:
> >
> > vif = 
> > ['ip=167,112,134.223,mac=00:16:3E:FD:58:B8,vifname=veth216','ip=10.1.1.1,mac=00:16:3E:FD:58:BB,vifname=veth216a']
> >
> > AND, if it's possible to change tha last two entries of mac address,
> > B8 to C8 for example..
> 
> sed -i 
> '/^vif/s/B8.*$/C8,vifname=veth216'"'"','"'"'ip=10.1.1.1,mac=00:16:3E:FD:58:BB,vifname=veth216a'"'"']'
> file.cfg
> 
> As it is dificult to read see this explication:
> If you want to use a ' inside replace string such is the case you must:
> type ' to close string
> Then type " to open a new concatenated string
> type ' to write '
> type " to close the concatenated string
> type ' to concatenate the next string (following with the replace
> string)

is it not clearer and easier to use double-quotes for the string and
then just escape the single quotes?

/tmp $ echo hello | sed "s/ll/l\'/"
hel'o

works just fine, and

sed -i 
"/^vif/s/B8.*$/C8,vifname=veth216\',\'ip=10.1.1.1,mac=00:16:3E:FD:58:BB,vifname=veth216a\']"
 file.cfg

seems, to me at least a little more readable.

.02, ymmv etc.

A


signature.asc
Description: Digital signature


Re: Configuartion of Icedove under Lenny

2009-10-19 Thread Wayne

Klaus Jantzen wrote:

Wayne wrote:

Klaus Jantzen wrote:
 

Hi,

how can I configure Icedove  to show in the message folder tree  not
only the
number of unread messages in the folders but also the total number of
messages in the respective folder.

Thank you.

KDJ





On my Icedove in Lenny

At the top of the Folder list there are 4 headers, the far right being
Size.  To the right of that is a small box with a down arrow that when
you click on it shows 2 items you chan enable/disable. Totals is one of
those options.

Hope this helps.

Wayne
  


That gives me the total number of messages in a thread.
What I am looking for is the total number of messages in a message folder.
In Firefox this is shown in the folder tree on the left hand side as e.g.

Inbox(21)300

meaning that there are 21 unread messages and 300 in total in that folder.



Interesting!

Here is what the debian-user folder looks like here.
 UnreadTotalSize
debian-user16   677 5MB

This is on Squeeze.  I don't recall if it looks the same on my Lenny 
partition.


Sorry I could not be of more help.

Wane


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




dmesg output

2009-10-19 Thread Israel Garcia
I'm having this dmseg output on some domU:

XENBUS: Device with no driver: device/console/0
processor: Unknown symbol pm_idle
thermal: Unknown symbol acpi_processor_set_thermal_limit
EXT3-fs: INFO: recovery required on readonly filesystem.
EXT3-fs: write access will be enabled during recovery.
kjournald starting.  Commit interval 5 seconds
EXT3-fs: sda2: orphan cleanup on readonly fs
ext3_orphan_cleanup: deleting unreferenced inode 8847507
ext3_orphan_cleanup: deleting unreferenced inode 4211955
ext3_orphan_cleanup: deleting unreferenced inode 4211778
ext3_orphan_cleanup: deleting unreferenced inode 4211918
ext3_orphan_cleanup: deleting unreferenced inode 4211735
ext3_orphan_cleanup: deleting unreferenced inode 10108936
ext3_orphan_cleanup: deleting unreferenced inode 10108935
ext3_orphan_cleanup: deleting unreferenced inode 10108934
ext3_orphan_cleanup: deleting unreferenced inode 10108933
ext3_orphan_cleanup: deleting unreferenced inode 10108932
ext3_orphan_cleanup: deleting unreferenced inode 10453047
ext3_orphan_cleanup: deleting unreferenced inode 10453027
ext3_orphan_cleanup: deleting unreferenced inode 10453040
ext3_orphan_cleanup: deleting unreferenced inode 10453038
ext3_orphan_cleanup: deleting unreferenced inode 10453068
ext3_orphan_cleanup: deleting unreferenced inode 10453058
ext3_orphan_cleanup: deleting unreferenced inode 10453039
ext3_orphan_cleanup: deleting unreferenced inode 10453050
ext3_orphan_cleanup: deleting unreferenced inode 10453065
ext3_orphan_cleanup: deleting unreferenced inode 10453028
ext3_orphan_cleanup: deleting unreferenced inode 10453045
ext3_orphan_cleanup: deleting unreferenced inode 10453107
ext3_orphan_cleanup: deleting unreferenced inode 4522596
EXT3-fs: sda2: 23 orphan inodes deleted
EXT3-fs: recovery complete.
EXT3-fs: mounted filesystem with ordered data mode.
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
Adding 2097144k swap on /dev/sda1.  Priority:-1 extents:1 across:2097144k
EXT3 FS on sda2, internal journal
device-mapper: ioctl: 4.7.0-ioctl (2006-06-24) initialised: dm-de...@redhat.com
NET: Registered protocol family 10
lo: Disabled Privacy Extensions
IPv6 over IPv4 tunneling driver
eth0: no IPv6 routers present
BUG: soft lockup detected on CPU#2!

Call Trace:
  [] softlockup_tick+0xdb/0xed
 [] timer_interrupt+0x38d/0x3db
 [] handle_IRQ_event+0x2d/0x60
 [] __do_IRQ+0xa4/0x105
 [] _local_bh_enable+0x59/0xb3
 [] do_IRQ+0x65/0x73
 [] evtchn_do_upcall+0x86/0xe0
 [] do_hypervisor_callback+0x1e/0x2c
  [] hypercall_page+0x3aa/0x1000
 [] hypercall_page+0x3aa/0x1000
 [] raw_safe_halt+0x84/0xa8
 [] xen_idle+0x38/0x4a
 [] cpu_idle+0x97/0xba

BUG: soft lockup detected on CPU#2!

Call Trace:
  [] softlockup_tick+0xdb/0xed
 [] timer_interrupt+0x38d/0x3db
 [] handle_IRQ_event+0x2d/0x60
 [] __do_IRQ+0xa4/0x105
 [] _local_bh_enable+0x59/0xb3
 [] do_IRQ+0x65/0x73
 [] evtchn_do_upcall+0x86/0xe0
 [] do_hypervisor_callback+0x1e/0x2c
  [] hypercall_page+0x3aa/0x1000
 [] hypercall_page+0x3aa/0x1000
 [] raw_safe_halt+0x84/0xa8
 [] xen_idle+0x38/0x4a
 [] cpu_idle+0x97/0xba

BUG: soft lockup detected on CPU#3!

Call Trace:
  [] softlockup_tick+0xdb/0xed
 [] timer_interrupt+0x38d/0x3db
 [] handle_IRQ_event+0x2d/0x60
 [] __do_IRQ+0xa4/0x105
 [] _local_bh_enable+0x59/0xb3
 [] do_IRQ+0x65/0x73
 [] evtchn_do_upcall+0x86/0xe0
 [] do_hypervisor_callback+0x1e/0x2c
  [] hypercall_page+0x3aa/0x1000
 [] hypercall_page+0x3aa/0x1000
 [] raw_safe_halt+0x84/0xa8
 [] xen_idle+0x38/0x4a
 [] cpu_idle+0x97/0xba

BUG: soft lockup detected on CPU#2!

Call Trace:
  [] softlockup_tick+0xdb/0xed
 [] timer_interrupt+0x38d/0x3db
 [] handle_IRQ_event+0x2d/0x60
 [] __do_IRQ+0xa4/0x105
 [] _local_bh_enable+0x59/0xb3
 [] do_IRQ+0x65/0x73
 [] evtchn_do_upcall+0x86/0xe0
 [] do_hypervisor_callback+0x1e/0x2c
  [] hypercall_page+0x3aa/0x1000
 [] hypercall_page+0x3aa/0x1000
 [] raw_safe_halt+0x84/0xa8
 [] xen_idle+0x38/0x4a
 [] cpu_idle+0x97/0xba

BUG: soft lockup detected on CPU#3!

Call Trace:
  [] softlockup_tick+0xdb/0xed
 [] kmem_cache_free+0x77/0xca
 [] timer_interrupt+0x38d/0x3db
 [] handle_IRQ_event+0x2d/0x60
 [] __do_IRQ+0xa4/0x105
 [] _local_bh_enable+0x59/0xb3
 [] do_IRQ+0x65/0x73
 [] evtchn_do_upcall+0x86/0xe0
 [] do_hypervisor_callback+0x1e/0x2c
  [] hypercall_page+0x3aa/0x1000
 [] hypercall_page+0x3aa/0x1000
 [] raw_safe_halt+0x84/0xa8
 [] xen_idle+0x38/0x4a
 [] cpu_idle+0x97/0xba

BUG: soft lockup detected on CPU#2!

Call Trace:
  [] softlockup_tick+0xdb/0xed
 [] timer_interrupt+0x38d/0x3db
 [] handle_IRQ_event+0x2d/0x60
 [] __do_IRQ+0xa4/0x105
 [] _local_bh_enable+0x59/0xb3
 [] do_IRQ+0x65/0x73
 [] evtchn_do_upcall+0x86/0xe0
 [] do_hypervisor_callback+0x1e/0x2c
  [] hypercall_page+0x3aa/0x1000
 [] hypercall_page+0x3aa/0x1000
 [] raw_safe_halt+0x84/0xa8
 [] xen_idle+0x38/0x4a
 [] cpu_idle+0x97/0xba

ip_tables: (C) 2000-2006 Netfilter Core Team
Netfilter messages via NETLINK v0.30.
ip_conntrack version 2.4 (8192 buckets, 65536 max) - 304 bytes per conntrack
ipt_LOG: not logging v

Re: broadcom-sta was removed

2009-10-19 Thread Jerome BENOIT

Hello Stefan,

this is good news.

Stefan Monnier wrote:

It seems not to work with my Broadcom BCM4322 and kernel 2.6.31 .


It works well for many people under various kernel versions, so you may
want to insist a bit, or at least post a description of the way it
doesn't work (dmesg output would be a good start, along with
a description of what you've done).


Ok. my kernel is a amd64 kernel, my box being an aluminium MacBook,
and I running Lenny tainted with some Squeeze.

In /var/log/syslog, I got when I do `modprb b43'

Oct 19 22:54:48 XXX kernel: b43-phy2: Broadcom 4322 WLAN found (core revision 
16)
Oct 19 22:54:48 XXX kernel: b43-phy2 ERROR: FOUND UNSUPPORTED PHY (Analog 8, 
Type 4, Revision 4)
Oct 19 22:54:48 XXX kernel: b43: probe of ssb0:0 failed with error -95
Oct 19 22:54:48 XXX kernel: Broadcom 43xx driver loaded [ Features: P, 
Firmware-ID: FW13 ]

Thanks in advance,
Jerome



Stefan




--
Jerome BENOIT
jgmbenoit_at_mailsnare_dot_net


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




Re: broadcom-sta was removed

2009-10-19 Thread Stefan Monnier
>>> It seems not to work with my Broadcom BCM4322 and kernel 2.6.31 .
>> It works well for many people under various kernel versions, so you may
>> want to insist a bit, or at least post a description of the way it
>> doesn't work (dmesg output would be a good start, along with
>> a description of what you've done).
> Ok. my kernel is a amd64 kernel, my box being an aluminium MacBook,
> and I running Lenny tainted with some Squeeze.

> In /var/log/syslog, I got when I do `modprobe b43'

> Oct 19 22:54:48 XXX kernel: b43-phy2: Broadcom 4322 WLAN found (core revision 
> 16)
> Oct 19 22:54:48 XXX kernel: b43-phy2 ERROR: FOUND UNSUPPORTED PHY (Analog 8, 
> Type 4, Revision 4)
> Oct 19 22:54:48 XXX kernel: b43: probe of ssb0:0 failed with error -95
> Oct 19 22:54:48 XXX kernel: Broadcom 43xx driver loaded [ Features: P, 
> Firmware-ID: FW13 ]

Apparently this is too-new and not yet supported indeed.  Sorry for
getting your hopes up.  You may want to ask around on
gmane.linux.kernel.wireless.general to see if there's any progress on
getting suport for that card.


Stefan




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



Re: Debian 5.0.3 Icedove attachments delete/ detach flaky

2009-10-19 Thread green
David Christensen wrote at 2009-10-09 14:26 -0500:
> I am experiencing the problem with received messages that have  
> attachments.  Testing just now with a draft message, attaching and  
> deleting an attachment seems to work.  But, I am using the Compose  
> window; the issue occurs when I use the Icedove main window or the  
> reading window.
>
>
> Here is the procedure for demonstrating the issue:
>
> 1.  Start Icedove.
>
> 2.  Get mail.
>
> 3.  Select a folder containing a message with attachments in the left pane.
>
> 4.  Select a message with attachments in the upper-right pane.  Top of  
> message and attachments appear in lower-right pane.  (I picked a message  
> with nine *.jpg attachments.)
>
> 5.  Choose File -> Attachments -> Delete All.  Click button "OK" in  
> Confirm dialog.
>
> 6.  Progress bar at bottom of Icedove appears, completes quickly, and  
> disappears, cursor changes to busy cursor momentarily and changes back  
> to arrow, and Icedove refreshes, but the attachments are still present.
>
> 7.  Repeat steps #4 through #6 -- results are the same.
>
> 8.  Pick a different message with attachments.  (I picked a message with  
>  one *.jpg  and one Deleted:*jpg attachment.)  Right-click on an  
> attachment in the bottom portion of lower-right pane.  Choose "Delete".  
> Click button "OK" in Confirm dialog.  Progress bar flashes by and  
> Icedove refreshes, but attachment is still there.  Repeat -- same 
> results.
>
> 9.  Double-click on message with attachments in upper-right pane. Choose 
> File -> Attachments -> Delete All, and Confirm.  Window updates and 
> attachments are still present.  Repeat -- same results.
>
> 10. Right-click on an attachment in the reading pane and choose Delete.  
> Window updates and attachment is still present.  Repeat -- same results.
>
>
> I have started collecting messages with attachments I can't delete. Thus 
> far, I have four messages and they are all from the same person.  I am 
> wondering if his mailer is encoding attachments in a way the Icedove  
> can't handle?  All four contain these headers (boundary varies, as  
> expected):
>
> ---
> X-Mailer: YahooMailClassic/7.0.14 YahooMailWebService/0.7.347.3
> MIME-Version: 1.0
> Content-Type: multipart/mixed; boundary="0-1180664548-1253938940=:48297"
> ---

This looks like a good bug report.  Use the 'reportbug' command (from the 
reportbug package) to report it.

> Does Icedove have an error log file somewhere that I can look at?

I see from 'icedove --h' that you could try both -safe-mode and -jsconsole.


signature.asc
Description: Digital signature


How to fix gnome-panel item size

2009-10-19 Thread Santanu Chatterjee
Hello Everybody,

I find the gnome panel's items to be too large (in height). Please see
the attached screenshot (the "Games" item, for example). I would like
to reduce the height as much as possible. I feel I should look into
the theme's gtkrc file for this. But I could not pinpoint any
particular line I should modify.

Could you please point me to the correct line to edit? Also, I feel
directly editing the theme's gtkrc file is not the right way. Is there
any file in my home directory which I should be editing so that this
change becomes theme independent?

Thanks in advance for your help.

Regards,
Santanu Chatterjee
<>

Re: keeping the two latest files on a folder

2009-10-19 Thread Israel Garcia
On 10/18/09, Javier Barroso  wrote:
> Hi,
>
> On Sun, Oct 18, 2009 at 5:32 AM, Israel Garcia  wrote:
>> Hi Guys, that's me again.. I'm stuck again with sed to make a change
>> to a file.. sorry if it sounds off-topic.. but I need your help :-).
>>
>> I've just want to change on a file this line:
>>
>> vif = [ 'ip=167,112,134.223,mac=00:16:3E:FD:58:B8']
>>
>> to:
>>
>> vif =
>> ['ip=167,112,134.223,mac=00:16:3E:FD:58:B8,vifname=veth216','ip=10.1.1.1,mac=00:16:3E:FD:58:BB,vifname=veth216a']
>>
>> AND, if it's possible to change tha last two entries of mac address,
>> B8 to C8 for example..
>
> sed -i
> '/^vif/s/B8.*$/C8,vifname=veth216'"'"','"'"'ip=10.1.1.1,mac=00:16:3E:FD:58:BB,vifname=veth216a'"'"']'
> file.cfg
Hi Javier,

It doesn't work for me:

server:/tmp# cat a
vif = [ 'ip=167,112,134.223,mac=00:16:3E:FD:58:B8']

server:/tmp# sed -i
'/^vif/s/B8.*$/C8,vifname=veth216'"'"','"'"'ip=10.1.1.1,mac=00:16:3E:FD:58:BB,vifname=veth216a'"'"']'
a
sed: -e expression #1, char 87: unterminated `s' command


regards,
Israel.
>
> As it is dificult to read see this explication:
> If you want to use a ' inside replace string such is the case you must:
> type ' to close string
> Then type " to open a new concatenated string
> type ' to write '
> type " to close the concatenated string
> type ' to concatenate the next string (following with the replace string)
>
> Regards,
>


-- 
Regards;
Israel Garcia


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



Re: Samba Problem

2009-10-19 Thread Jari Fredriksson



16.10.2009 7:22, Tom H kirjoitti:

On Tue, Oct 13, 2009 at 1:29 AM, Jeff Grossman  wrote:

I just upgraded by Testing system from Samba 3.3.4-1 to 3.4.2-1 yesterday
and now I am not able to connect my Windows Vista machine to my Debian
machine.  I have tried to Google for an answer and have not been able to
find anything.  Did something with authentication change between those two
versions that I missed somewhere?



From the release notes of 3.4.0:


The default passdb backend has been changed to 'tdbsam'! That breaks existing
setups using the 'smbpasswd' backend without explicit declaration! Please use
'passdb backend = smbpasswd' if you would like to stick to the 'smbpasswd'
backend or convert your smbpasswd entries using e.g. 'pdbedit -i smbpasswd -e
tdbsam'.




All right! I just received Samba 3.4.2 from Lenny backports, and Windows
stopped working.

I tried that 'pdbedit -i smbpasswd -e tdbsam' and restarted Samba but no
joy. I then changed the 'passdb backend = smbpasswd' into smb.conf and
it works again.

However, smbpasswd passdb will be obsoleted some day, and I would like
to have a working tdbsam. I have no plans on implementing LDAP, as my
server is low on memory and I have only 2 SMB users.

Why did the pdbedit command did not work? I printed to screen several
Linux machine users (who do not use Samba) but not us real users who do
need Samba.

--
http://www.iki.fi/jarif/

Good day for a change of scene.  Repaper the bedroom wall.


pgptCV6PuFBOQ.pgp
Description: PGP signature


Re: dmesg output

2009-10-19 Thread Javier Barroso
Hi,

On Mon, Oct 19, 2009 at 5:36 PM, Israel Garcia  wrote:
> I'm having this dmseg output on some domU:
>
> XENBUS: Device with no driver: device/console/0
> processor: Unknown symbol pm_idle
> thermal: Unknown symbol acpi_processor_set_thermal_limit
> EXT3-fs: INFO: recovery required on readonly filesystem.
> EXT3-fs: write access will be enabled during recovery.
> kjournald starting.  Commit interval 5 seconds
> EXT3-fs: sda2: orphan cleanup on readonly fs
> ext3_orphan_cleanup: deleting unreferenced inode 8847507
> ext3_orphan_cleanup: deleting unreferenced inode 4211955
> ext3_orphan_cleanup: deleting unreferenced inode 4211778
> ext3_orphan_cleanup: deleting unreferenced inode 4211918
> ext3_orphan_cleanup: deleting unreferenced inode 4211735
> ext3_orphan_cleanup: deleting unreferenced inode 10108936
> ext3_orphan_cleanup: deleting unreferenced inode 10108935
> ext3_orphan_cleanup: deleting unreferenced inode 10108934
> ext3_orphan_cleanup: deleting unreferenced inode 10108933
> ext3_orphan_cleanup: deleting unreferenced inode 10108932
> ext3_orphan_cleanup: deleting unreferenced inode 10453047
> ext3_orphan_cleanup: deleting unreferenced inode 10453027
> ext3_orphan_cleanup: deleting unreferenced inode 10453040
> ext3_orphan_cleanup: deleting unreferenced inode 10453038
> ext3_orphan_cleanup: deleting unreferenced inode 10453068
> ext3_orphan_cleanup: deleting unreferenced inode 10453058
> ext3_orphan_cleanup: deleting unreferenced inode 10453039
> ext3_orphan_cleanup: deleting unreferenced inode 10453050
> ext3_orphan_cleanup: deleting unreferenced inode 10453065
> ext3_orphan_cleanup: deleting unreferenced inode 10453028
> ext3_orphan_cleanup: deleting unreferenced inode 10453045
> ext3_orphan_cleanup: deleting unreferenced inode 10453107
> ext3_orphan_cleanup: deleting unreferenced inode 4522596
> EXT3-fs: sda2: 23 orphan inodes deleted
> EXT3-fs: recovery complete.
> EXT3-fs: mounted filesystem with ordered data mode.
> Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
> Adding 2097144k swap on /dev/sda1.  Priority:-1 extents:1 across:2097144k
> EXT3 FS on sda2, internal journal
> device-mapper: ioctl: 4.7.0-ioctl (2006-06-24) initialised: 
> dm-de...@redhat.com
> NET: Registered protocol family 10
> lo: Disabled Privacy Extensions
> IPv6 over IPv4 tunneling driver
> eth0: no IPv6 routers present
> BUG: soft lockup detected on CPU#2!
>
> Call Trace:
>   [] softlockup_tick+0xdb/0xed
>  [] timer_interrupt+0x38d/0x3db
>  [] handle_IRQ_event+0x2d/0x60
>  [] __do_IRQ+0xa4/0x105
>  [] _local_bh_enable+0x59/0xb3
>  [] do_IRQ+0x65/0x73
>  [] evtchn_do_upcall+0x86/0xe0
>  [] do_hypervisor_callback+0x1e/0x2c
>   [] hypercall_page+0x3aa/0x1000
>  [] hypercall_page+0x3aa/0x1000
>  [] raw_safe_halt+0x84/0xa8
>  [] xen_idle+0x38/0x4a
>  [] cpu_idle+0x97/0xba
>
> BUG: soft lockup detected on CPU#2!
>
> Call Trace:
>   [] softlockup_tick+0xdb/0xed
>  [] timer_interrupt+0x38d/0x3db
>  [] handle_IRQ_event+0x2d/0x60
>  [] __do_IRQ+0xa4/0x105
>  [] _local_bh_enable+0x59/0xb3
>  [] do_IRQ+0x65/0x73
>  [] evtchn_do_upcall+0x86/0xe0
>  [] do_hypervisor_callback+0x1e/0x2c
>   [] hypercall_page+0x3aa/0x1000
>  [] hypercall_page+0x3aa/0x1000
>  [] raw_safe_halt+0x84/0xa8
>  [] xen_idle+0x38/0x4a
>  [] cpu_idle+0x97/0xba
>
> BUG: soft lockup detected on CPU#3!
>
> Call Trace:
>   [] softlockup_tick+0xdb/0xed
>  [] timer_interrupt+0x38d/0x3db
>  [] handle_IRQ_event+0x2d/0x60
>  [] __do_IRQ+0xa4/0x105
>  [] _local_bh_enable+0x59/0xb3
>  [] do_IRQ+0x65/0x73
>  [] evtchn_do_upcall+0x86/0xe0
>  [] do_hypervisor_callback+0x1e/0x2c
>   [] hypercall_page+0x3aa/0x1000
>  [] hypercall_page+0x3aa/0x1000
>  [] raw_safe_halt+0x84/0xa8
>  [] xen_idle+0x38/0x4a
>  [] cpu_idle+0x97/0xba
>
> BUG: soft lockup detected on CPU#2!
>
> Call Trace:
>   [] softlockup_tick+0xdb/0xed
>  [] timer_interrupt+0x38d/0x3db
>  [] handle_IRQ_event+0x2d/0x60
>  [] __do_IRQ+0xa4/0x105
>  [] _local_bh_enable+0x59/0xb3
>  [] do_IRQ+0x65/0x73
>  [] evtchn_do_upcall+0x86/0xe0
>  [] do_hypervisor_callback+0x1e/0x2c
>   [] hypercall_page+0x3aa/0x1000
>  [] hypercall_page+0x3aa/0x1000
>  [] raw_safe_halt+0x84/0xa8
>  [] xen_idle+0x38/0x4a
>  [] cpu_idle+0x97/0xba
>
> BUG: soft lockup detected on CPU#3!
>
> Call Trace:
>   [] softlockup_tick+0xdb/0xed
>  [] kmem_cache_free+0x77/0xca
>  [] timer_interrupt+0x38d/0x3db
>  [] handle_IRQ_event+0x2d/0x60
>  [] __do_IRQ+0xa4/0x105
>  [] _local_bh_enable+0x59/0xb3
>  [] do_IRQ+0x65/0x73
>  [] evtchn_do_upcall+0x86/0xe0
>  [] do_hypervisor_callback+0x1e/0x2c
>   [] hypercall_page+0x3aa/0x1000
>  [] hypercall_page+0x3aa/0x1000
>  [] raw_safe_halt+0x84/0xa8
>  [] xen_idle+0x38/0x4a
>  [] cpu_idle+0x97/0xba
>
> BUG: soft lockup detected on CPU#2!
>
> Call Trace:
>   [] softlockup_tick+0xdb/0xed
>  [] timer_interrupt+0x38d/0x3db
>  [] handle_IRQ_event+0x2d/0x60
>  [] __do_IRQ+0xa4/0x105
>  [] _local_bh_enable+0x59/0xb3
>  [] do_IRQ+0x65/0x73
>  [] evtchn_do_upcall+0x86/0xe0
>  [] do_hypervisor_callback+0

Best method for stopping/starting MySQL?

2009-10-19 Thread Tim Legg
Hello again!

I would like to shutdown mysql periodically to make backups of the databases.  
I would like to know what is the official Debian way of stopping and restarting 
MySQL.



When I follow the intuitive steps for shutting it down, it doesn't work.

# /etc/init.d/mysql stop
Stopping MySQL database server: mysqld failed!

So I investigate further and find that this doesn't work either

# mysqladmin shutdown
mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user 'root'@'localhost' (using password: NO)'

I am root and should be able to do anything...

So I do cooperate and provide it a user and password

# mysqladmin -u root -p shutdown 
Enter password: 
# 

And so it works.  Starting it back up isn't nearly as clean though

# /etc/init.d/mysql start
Starting MySQL database server: mysqld.
Checking for corrupt, not cleanly closed and upgrade needing tables..
/usr/bin/mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user 'debian-sys-maint'@'localhost' (using password: 
YES)'
ERROR 1045 (28000): Access denied for user 'debian-sys-maint'@'localhost' 
(using password: YES)

So, I choose to reboot the system instead.  Is there a better way?

Tim Legg



  


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



Re: keeping the two latest files on a folder

2009-10-19 Thread Javier Barroso
Hi,

On Mon, Oct 19, 2009 at 6:43 PM, Israel Garcia  wrote:
> On 10/18/09, Javier Barroso  wrote:
>> Hi,
>>
>> On Sun, Oct 18, 2009 at 5:32 AM, Israel Garcia  wrote:
>>> Hi Guys, that's me again.. I'm stuck again with sed to make a change
>>> to a file.. sorry if it sounds off-topic.. but I need your help :-).
>>>
>>> I've just want to change on a file this line:
>>>
>>> vif = [ 'ip=167,112,134.223,mac=00:16:3E:FD:58:B8']
>>>
>>> to:
>>>
>>> vif =
>>> ['ip=167,112,134.223,mac=00:16:3E:FD:58:B8,vifname=veth216','ip=10.1.1.1,mac=00:16:3E:FD:58:BB,vifname=veth216a']
>>>
>>> AND, if it's possible to change tha last two entries of mac address,
>>> B8 to C8 for example..
>>
>> sed -i
>> '/^vif/s/B8.*$/C8,vifname=veth216'"'"','"'"'ip=10.1.1.1,mac=00:16:3E:FD:58:BB,vifname=veth216a'"'"']'
>> file.cfg
> Hi Javier,
>
> It doesn't work for me:
>
> server:/tmp# cat a
> vif = [ 'ip=167,112,134.223,mac=00:16:3E:FD:58:B8']
>
> server:/tmp# sed -i
> '/^vif/s/B8.*$/C8,vifname=veth216'"'"','"'"'ip=10.1.1.1,mac=00:16:3E:FD:58:BB,vifname=veth216a'"'"']'
> a
> sed: -e expression #1, char 87: unterminated `s' command

I forgot the last "/":
sed -i 
'/^vif/s/B8.*$/C8,vifname=veth216'"'"','"'"'ip=10.1.1.1,mac=00:16:3E:FD:58:BB,vifname=veth216a'"'"']/'
file.cfg

Andrew, thanks for the tip (I remember, but doesn't known when, to
have problems escaping ' character inside double quotes). I'll try to
do it the next time

Regards,


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



Re: Samba Problem

2009-10-19 Thread Javier Barroso
On Mon, Oct 19, 2009 at 7:40 PM, Jari Fredriksson  wrote:
>
>
> 16.10.2009 7:22, Tom H kirjoitti:
>>
>> On Tue, Oct 13, 2009 at 1:29 AM, Jeff Grossman  wrote:
>>>
>>> I just upgraded by Testing system from Samba 3.3.4-1 to 3.4.2-1 yesterday
>>> and now I am not able to connect my Windows Vista machine to my Debian
>>> machine.  I have tried to Google for an answer and have not been able to
>>> find anything.  Did something with authentication change between those
>>> two
>>> versions that I missed somewhere?
>>
>>> From the release notes of 3.4.0:
>>
>> The default passdb backend has been changed to 'tdbsam'! That breaks
>> existing
>> setups using the 'smbpasswd' backend without explicit declaration! Please
>> use
>> 'passdb backend = smbpasswd' if you would like to stick to the 'smbpasswd'
>> backend or convert your smbpasswd entries using e.g. 'pdbedit -i smbpasswd
>> -e
>> tdbsam'.
>>
>>
>
> All right! I just received Samba 3.4.2 from Lenny backports, and Windows
> stopped working.
>
> I tried that 'pdbedit -i smbpasswd -e tdbsam' and restarted Samba but no
> joy. I then changed the 'passdb backend = smbpasswd' into smb.conf and
> it works again.
Hi,

I'm not sure but I would try:

stop samba
pdbedit -i smbpassw -e tdbsam
comment passdb backend in smb.conf
start samba


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



Re: Best method for stopping/starting MySQL?

2009-10-19 Thread Jari Fredriksson



19.10.2009 20:49, Tim Legg kirjoitti:

Hello again!

I would like to shutdown mysql periodically to make backups of the databases.  
I would like to know what is the official Debian way of stopping and restarting 
MySQL.



When I follow the intuitive steps for shutting it down, it doesn't work.

# /etc/init.d/mysql stop
Stopping MySQL database server: mysqld failed!

So I investigate further and find that this doesn't work either

# mysqladmin shutdown
mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user 'root'@'localhost' (using password: NO)'

I am root and should be able to do anything...

So I do cooperate and provide it a user and password

# mysqladmin -u root -p shutdown
Enter password:
#

And so it works.  Starting it back up isn't nearly as clean though

# /etc/init.d/mysql start
Starting MySQL database server: mysqld.
Checking for corrupt, not cleanly closed and upgrade needing tables..
/usr/bin/mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user 'debian-sys-maint'@'localhost' (using password: 
YES)'
ERROR 1045 (28000): Access denied for user 'debian-sys-maint'@'localhost' 
(using password: YES)

So, I choose to reboot the system instead.  Is there a better way?



Something is broken in your installation.. Do you have

/etc/mysql/debian.cnf

And the password there.

If you log in to the MySQL as root, and

mysql> select User, Host from mysql.user;

Is the debian-sys-maint there? With the password you have in the
debian.cnf? And Host as 'localhost'?

You can change the password with command

mysql> update mysql.user set password=PASSWORD('new-password')
 where User = 'debian-sys-maint' ;
mysql> flush privileges;




--
http://www.iki.fi/jarif/

Good day for a change of scene.  Repaper the bedroom wall.


pgpLhTHamlATy.pgp
Description: PGP signature


Re: dmesg output

2009-10-19 Thread Israel Garcia
On 10/19/09, Javier Barroso  wrote:
> Hi,
>
> On Mon, Oct 19, 2009 at 5:36 PM, Israel Garcia  wrote:
>> I'm having this dmseg output on some domU:
>>
>> XENBUS: Device with no driver: device/console/0
>> processor: Unknown symbol pm_idle
>> thermal: Unknown symbol acpi_processor_set_thermal_limit
>> EXT3-fs: INFO: recovery required on readonly filesystem.
>> EXT3-fs: write access will be enabled during recovery.
>> kjournald starting.  Commit interval 5 seconds
>> EXT3-fs: sda2: orphan cleanup on readonly fs
>> ext3_orphan_cleanup: deleting unreferenced inode 8847507
>> ext3_orphan_cleanup: deleting unreferenced inode 4211955
>> ext3_orphan_cleanup: deleting unreferenced inode 4211778
>> ext3_orphan_cleanup: deleting unreferenced inode 4211918
>> ext3_orphan_cleanup: deleting unreferenced inode 4211735
>> ext3_orphan_cleanup: deleting unreferenced inode 10108936
>> ext3_orphan_cleanup: deleting unreferenced inode 10108935
>> ext3_orphan_cleanup: deleting unreferenced inode 10108934
>> ext3_orphan_cleanup: deleting unreferenced inode 10108933
>> ext3_orphan_cleanup: deleting unreferenced inode 10108932
>> ext3_orphan_cleanup: deleting unreferenced inode 10453047
>> ext3_orphan_cleanup: deleting unreferenced inode 10453027
>> ext3_orphan_cleanup: deleting unreferenced inode 10453040
>> ext3_orphan_cleanup: deleting unreferenced inode 10453038
>> ext3_orphan_cleanup: deleting unreferenced inode 10453068
>> ext3_orphan_cleanup: deleting unreferenced inode 10453058
>> ext3_orphan_cleanup: deleting unreferenced inode 10453039
>> ext3_orphan_cleanup: deleting unreferenced inode 10453050
>> ext3_orphan_cleanup: deleting unreferenced inode 10453065
>> ext3_orphan_cleanup: deleting unreferenced inode 10453028
>> ext3_orphan_cleanup: deleting unreferenced inode 10453045
>> ext3_orphan_cleanup: deleting unreferenced inode 10453107
>> ext3_orphan_cleanup: deleting unreferenced inode 4522596
>> EXT3-fs: sda2: 23 orphan inodes deleted
>> EXT3-fs: recovery complete.
>> EXT3-fs: mounted filesystem with ordered data mode.
>> Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
>> Adding 2097144k swap on /dev/sda1.  Priority:-1 extents:1 across:2097144k
>> EXT3 FS on sda2, internal journal
>> device-mapper: ioctl: 4.7.0-ioctl (2006-06-24) initialised:
>> dm-de...@redhat.com
>> NET: Registered protocol family 10
>> lo: Disabled Privacy Extensions
>> IPv6 over IPv4 tunneling driver
>> eth0: no IPv6 routers present
>> BUG: soft lockup detected on CPU#2!
>>
>> Call Trace:
>>   [] softlockup_tick+0xdb/0xed
>>  [] timer_interrupt+0x38d/0x3db
>>  [] handle_IRQ_event+0x2d/0x60
>>  [] __do_IRQ+0xa4/0x105
>>  [] _local_bh_enable+0x59/0xb3
>>  [] do_IRQ+0x65/0x73
>>  [] evtchn_do_upcall+0x86/0xe0
>>  [] do_hypervisor_callback+0x1e/0x2c
>>   [] hypercall_page+0x3aa/0x1000
>>  [] hypercall_page+0x3aa/0x1000
>>  [] raw_safe_halt+0x84/0xa8
>>  [] xen_idle+0x38/0x4a
>>  [] cpu_idle+0x97/0xba
>>
>> BUG: soft lockup detected on CPU#2!
>>
>> Call Trace:
>>   [] softlockup_tick+0xdb/0xed
>>  [] timer_interrupt+0x38d/0x3db
>>  [] handle_IRQ_event+0x2d/0x60
>>  [] __do_IRQ+0xa4/0x105
>>  [] _local_bh_enable+0x59/0xb3
>>  [] do_IRQ+0x65/0x73
>>  [] evtchn_do_upcall+0x86/0xe0
>>  [] do_hypervisor_callback+0x1e/0x2c
>>   [] hypercall_page+0x3aa/0x1000
>>  [] hypercall_page+0x3aa/0x1000
>>  [] raw_safe_halt+0x84/0xa8
>>  [] xen_idle+0x38/0x4a
>>  [] cpu_idle+0x97/0xba
>>
>> BUG: soft lockup detected on CPU#3!
>>
>> Call Trace:
>>   [] softlockup_tick+0xdb/0xed
>>  [] timer_interrupt+0x38d/0x3db
>>  [] handle_IRQ_event+0x2d/0x60
>>  [] __do_IRQ+0xa4/0x105
>>  [] _local_bh_enable+0x59/0xb3
>>  [] do_IRQ+0x65/0x73
>>  [] evtchn_do_upcall+0x86/0xe0
>>  [] do_hypervisor_callback+0x1e/0x2c
>>   [] hypercall_page+0x3aa/0x1000
>>  [] hypercall_page+0x3aa/0x1000
>>  [] raw_safe_halt+0x84/0xa8
>>  [] xen_idle+0x38/0x4a
>>  [] cpu_idle+0x97/0xba
>>
>> BUG: soft lockup detected on CPU#2!
>>
>> Call Trace:
>>   [] softlockup_tick+0xdb/0xed
>>  [] timer_interrupt+0x38d/0x3db
>>  [] handle_IRQ_event+0x2d/0x60
>>  [] __do_IRQ+0xa4/0x105
>>  [] _local_bh_enable+0x59/0xb3
>>  [] do_IRQ+0x65/0x73
>>  [] evtchn_do_upcall+0x86/0xe0
>>  [] do_hypervisor_callback+0x1e/0x2c
>>   [] hypercall_page+0x3aa/0x1000
>>  [] hypercall_page+0x3aa/0x1000
>>  [] raw_safe_halt+0x84/0xa8
>>  [] xen_idle+0x38/0x4a
>>  [] cpu_idle+0x97/0xba
>>
>> BUG: soft lockup detected on CPU#3!
>>
>> Call Trace:
>>   [] softlockup_tick+0xdb/0xed
>>  [] kmem_cache_free+0x77/0xca
>>  [] timer_interrupt+0x38d/0x3db
>>  [] handle_IRQ_event+0x2d/0x60
>>  [] __do_IRQ+0xa4/0x105
>>  [] _local_bh_enable+0x59/0xb3
>>  [] do_IRQ+0x65/0x73
>>  [] evtchn_do_upcall+0x86/0xe0
>>  [] do_hypervisor_callback+0x1e/0x2c
>>   [] hypercall_page+0x3aa/0x1000
>>  [] hypercall_page+0x3aa/0x1000
>>  [] raw_safe_halt+0x84/0xa8
>>  [] xen_idle+0x38/0x4a
>>  [] cpu_idle+0x97/0xba
>>
>> BUG: soft lockup detected on CPU#2!
>>
>> Call Trace:
>>   [] softlockup_tick+0xdb/0xed
>>  [] timer_interrupt+0x38d/0x3db
>> 

Re: Best method for stopping/starting MySQL?

2009-10-19 Thread Joe


19.10.2009 20:49, Tim Legg kirjoitti:

Hello again!

I would like to shutdown mysql periodically to make backups of the 
databases.  I would like to know what is the official Debian way of 
stopping and restarting MySQL.






You might also consider a backup method which does not require MySQL to 
be stopped. Here's what I use, as I have some InnoDB tables:


http://dev.mysql.com/doc/refman/5.1/en/mysqldump.html


For some databases, daily:

#!/bin/bash

OF=/data/smb1/backups/mysql/important-$(date +%Y%m%d).sql.bz2

mysqldump -u backup -psecret --databases verses finance Calendar 
domestic music MasterDirectory | bzip2 > $OF



or all of them, less often:

#!/bin/bash

OF=/data/smb1/backups/mysql/databases-$(date +%Y%m%d).sql.bz2

mysqldump -A -u backup -psecret | bzip2 > $OF


All my databases are human-driven and the backup jobs run when nothing 
else will be happening, so I don't bother locking things, but you 
obviously can. This all happens at the database level, so there's no 
flushing to disc to worry about.


If you use phpMyAdmin, that can also backup and restore databases online 
remotely using a browser, but I don't think it can be scripted locally.


--
Joe


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




Re: Duplicity

2009-10-19 Thread Alex Samad
On Mon, Oct 19, 2009 at 11:53:38AM +0200, Johann Spies wrote:
> On Sat, Oct 17, 2009 at 11:43:51PM +1100, Alex Samad wrote:
> > 
> > wondering if any one is using this, I have been starting to use
> > rdiff-backup that got me looking at backupninja and that in turn led me
> > to duplicity - looks interesting. the web pages says its still in beta.
> > 
> > wondering if any one would like to comment on it - any problems they
> > might have had if any
> 
> I have used it for a short time, and when it works it is OK. In my
> case however, I had too many errors and unrecoverable backups so I
> stopped using it.
> 
> To have an encrypted backup, I now use an encrypted volume on the
> remote device and use rsync over ssh to do the backups to that volume.
> 
> It is much more simple and it is easy to recover backups.

I was going to use it for my primary backup, but I have decide to do it
for specialised things, but the " I had too many errors and
unrecoverable backups" doesn't sound good.

I have gone back to fusecompress + rdiff-backup

Alex

> 
> Regards
> Johann
> 
> 
> 



signature.asc
Description: Digital signature


Re: dmesg output

2009-10-19 Thread Javier Barroso
On Mon, Oct 19, 2009 at 8:30 PM, Israel Garcia  wrote:
> On 10/19/09, Javier Barroso  wrote:
>> Hi,
>>
>> On Mon, Oct 19, 2009 at 5:36 PM, Israel Garcia  wrote:
>>> I'm having this dmseg output on some domU:
>>>
>>> XENBUS: Device with no driver: device/console/0
>>> processor: Unknown symbol pm_idle
>>> thermal: Unknown symbol acpi_processor_set_thermal_limit
>>> EXT3-fs: INFO: recovery required on readonly filesystem.
>>> EXT3-fs: write access will be enabled during recovery.
>>> kjournald starting.  Commit interval 5 seconds
>>> EXT3-fs: sda2: orphan cleanup on readonly fs
>>> ext3_orphan_cleanup: deleting unreferenced inode 8847507
>>> ext3_orphan_cleanup: deleting unreferenced inode 4211955
>>> ext3_orphan_cleanup: deleting unreferenced inode 4211778
>>> ext3_orphan_cleanup: deleting unreferenced inode 4211918
>>> ext3_orphan_cleanup: deleting unreferenced inode 4211735
>>> ext3_orphan_cleanup: deleting unreferenced inode 10108936
>>> ext3_orphan_cleanup: deleting unreferenced inode 10108935
>>> ext3_orphan_cleanup: deleting unreferenced inode 10108934
>>> ext3_orphan_cleanup: deleting unreferenced inode 10108933
>>> ext3_orphan_cleanup: deleting unreferenced inode 10108932
>>> ext3_orphan_cleanup: deleting unreferenced inode 10453047
>>> ext3_orphan_cleanup: deleting unreferenced inode 10453027
>>> ext3_orphan_cleanup: deleting unreferenced inode 10453040
>>> ext3_orphan_cleanup: deleting unreferenced inode 10453038
>>> ext3_orphan_cleanup: deleting unreferenced inode 10453068
>>> ext3_orphan_cleanup: deleting unreferenced inode 10453058
>>> ext3_orphan_cleanup: deleting unreferenced inode 10453039
>>> ext3_orphan_cleanup: deleting unreferenced inode 10453050
>>> ext3_orphan_cleanup: deleting unreferenced inode 10453065
>>> ext3_orphan_cleanup: deleting unreferenced inode 10453028
>>> ext3_orphan_cleanup: deleting unreferenced inode 10453045
>>> ext3_orphan_cleanup: deleting unreferenced inode 10453107
>>> ext3_orphan_cleanup: deleting unreferenced inode 4522596
>>> EXT3-fs: sda2: 23 orphan inodes deleted
>>> EXT3-fs: recovery complete.
>>> EXT3-fs: mounted filesystem with ordered data mode.
>>> Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
>>> Adding 2097144k swap on /dev/sda1.  Priority:-1 extents:1 across:2097144k
>>> EXT3 FS on sda2, internal journal
>>> device-mapper: ioctl: 4.7.0-ioctl (2006-06-24) initialised:
>>> dm-de...@redhat.com
>>> NET: Registered protocol family 10
>>> lo: Disabled Privacy Extensions
>>> IPv6 over IPv4 tunneling driver
>>> eth0: no IPv6 routers present
>>> BUG: soft lockup detected on CPU#2!
>>>
>>> Call Trace:
>>>   [] softlockup_tick+0xdb/0xed
>>>  [] timer_interrupt+0x38d/0x3db
>>>  [] handle_IRQ_event+0x2d/0x60
>>>  [] __do_IRQ+0xa4/0x105
>>>  [] _local_bh_enable+0x59/0xb3
>>>  [] do_IRQ+0x65/0x73
>>>  [] evtchn_do_upcall+0x86/0xe0
>>>  [] do_hypervisor_callback+0x1e/0x2c
>>>   [] hypercall_page+0x3aa/0x1000
>>>  [] hypercall_page+0x3aa/0x1000
>>>  [] raw_safe_halt+0x84/0xa8
>>>  [] xen_idle+0x38/0x4a
>>>  [] cpu_idle+0x97/0xba
>>>
>>> BUG: soft lockup detected on CPU#2!
>>>
>>> Call Trace:
>>>   [] softlockup_tick+0xdb/0xed
>>>  [] timer_interrupt+0x38d/0x3db
>>>  [] handle_IRQ_event+0x2d/0x60
>>>  [] __do_IRQ+0xa4/0x105
>>>  [] _local_bh_enable+0x59/0xb3
>>>  [] do_IRQ+0x65/0x73
>>>  [] evtchn_do_upcall+0x86/0xe0
>>>  [] do_hypervisor_callback+0x1e/0x2c
>>>   [] hypercall_page+0x3aa/0x1000
>>>  [] hypercall_page+0x3aa/0x1000
>>>  [] raw_safe_halt+0x84/0xa8
>>>  [] xen_idle+0x38/0x4a
>>>  [] cpu_idle+0x97/0xba
>>>
>>> BUG: soft lockup detected on CPU#3!
>>>
>>> Call Trace:
>>>   [] softlockup_tick+0xdb/0xed
>>>  [] timer_interrupt+0x38d/0x3db
>>>  [] handle_IRQ_event+0x2d/0x60
>>>  [] __do_IRQ+0xa4/0x105
>>>  [] _local_bh_enable+0x59/0xb3
>>>  [] do_IRQ+0x65/0x73
>>>  [] evtchn_do_upcall+0x86/0xe0
>>>  [] do_hypervisor_callback+0x1e/0x2c
>>>   [] hypercall_page+0x3aa/0x1000
>>>  [] hypercall_page+0x3aa/0x1000
>>>  [] raw_safe_halt+0x84/0xa8
>>>  [] xen_idle+0x38/0x4a
>>>  [] cpu_idle+0x97/0xba
>>>
>>> BUG: soft lockup detected on CPU#2!
>>>
>>> Call Trace:
>>>   [] softlockup_tick+0xdb/0xed
>>>  [] timer_interrupt+0x38d/0x3db
>>>  [] handle_IRQ_event+0x2d/0x60
>>>  [] __do_IRQ+0xa4/0x105
>>>  [] _local_bh_enable+0x59/0xb3
>>>  [] do_IRQ+0x65/0x73
>>>  [] evtchn_do_upcall+0x86/0xe0
>>>  [] do_hypervisor_callback+0x1e/0x2c
>>>   [] hypercall_page+0x3aa/0x1000
>>>  [] hypercall_page+0x3aa/0x1000
>>>  [] raw_safe_halt+0x84/0xa8
>>>  [] xen_idle+0x38/0x4a
>>>  [] cpu_idle+0x97/0xba
>>>
>>> BUG: soft lockup detected on CPU#3!
>>>
>>> Call Trace:
>>>   [] softlockup_tick+0xdb/0xed
>>>  [] kmem_cache_free+0x77/0xca
>>>  [] timer_interrupt+0x38d/0x3db
>>>  [] handle_IRQ_event+0x2d/0x60
>>>  [] __do_IRQ+0xa4/0x105
>>>  [] _local_bh_enable+0x59/0xb3
>>>  [] do_IRQ+0x65/0x73
>>>  [] evtchn_do_upcall+0x86/0xe0
>>>  [] do_hypervisor_callback+0x1e/0x2c
>>>   [] hypercall_page+0x3aa/0x1000
>>>  [] hypercall_page+0x3aa/0x1000
>>>  [] raw_safe_halt+0x84/0x

Re: Best method for stopping/starting MySQL?

2009-10-19 Thread Jari Fredriksson



19.10.2009 22:32, Joe kirjoitti:


19.10.2009 20:49, Tim Legg kirjoitti:

Hello again!

I would like to shutdown mysql periodically to make backups of the
databases. I would like to know what is the official Debian way of
stopping and restarting MySQL.






You might also consider a backup method which does not require MySQL to
be stopped. Here's what I use, as I have some InnoDB tables:

http://dev.mysql.com/doc/refman/5.1/en/mysqldump.html


For some databases, daily:

#!/bin/bash

OF=/data/smb1/backups/mysql/important-$(date +%Y%m%d).sql.bz2

mysqldump -u backup -psecret --databases verses finance Calendar
domestic music MasterDirectory | bzip2 > $OF


or all of them, less often:

#!/bin/bash

OF=/data/smb1/backups/mysql/databases-$(date +%Y%m%d).sql.bz2

mysqldump -A -u backup -psecret | bzip2 > $OF


All my databases are human-driven and the backup jobs run when nothing
else will be happening, so I don't bother locking things, but you
obviously can. This all happens at the database level, so there's no
flushing to disc to worry about.

If you use phpMyAdmin, that can also backup and restore databases online
remotely using a browser, but I don't think it can be scripted locally.



I have this /etc/cron.daily/backup-mysql

---

#!/bin/sh

DATABASES=`mysql -h dbsrv --user=backup -psecret --skip-column-names
--batch -e "show databases" | egrep -v
information_schema|mysql|bacula|eroperhe`
BACKUPDIR=/usr/local/srv/dbbackup


echo [ Backing up databases from MySQL into $BACKUPDIR ]

for DB in $DATABASES; do
echo -n "  Backing up" $DB..
mysqldump -h dbsrv --user=backup -psecret --opt $DB | bzip2
>$BACKUPDIR/$DB.sql.bz2
echo
done
echo [ Done ]

---

It backs up every database except those mentioned in egrep filter. Each
database into its own .sql file. The database is assumed to be in server
dbsrv, that can be left off if it is on localhost.

--
http://www.iki.fi/jarif/

Your boss climbed the corporate ladder, wrong by wrong.


pgpUoLwNmrN57.pgp
Description: PGP signature


Re: broadcom-sta was removed

2009-10-19 Thread Celejar
On Mon, 19 Oct 2009 12:05:06 -0400
Stefan Monnier  wrote:

...

> > In /var/log/syslog, I got when I do `modprobe b43'
> 
> > Oct 19 22:54:48 XXX kernel: b43-phy2: Broadcom 4322 WLAN found
> > (core revision 16) Oct 19 22:54:48 XXX kernel: b43-phy2 ERROR:
> > FOUND UNSUPPORTED PHY (Analog 8, Type 4, Revision 4) Oct 19
> > 22:54:48 XXX kernel: b43: probe of ssb0:0 failed with error -95 Oct
> > 19 22:54:48 XXX kernel: Broadcom 43xx driver loaded [ Features: P,
> > Firmware-ID: FW13 ]
> 
> Apparently this is too-new and not yet supported indeed.  Sorry for
> getting your hopes up.  You may want to ask around on
> gmane.linux.kernel.wireless.general to see if there's any progress on
> getting suport for that card.

Or on bcm43xx-dev.

Celejar
-- 
mailmin.sourceforge.net - remote access via secure (OpenPGP) email
ssuds.sourceforge.net - A Simple Sudoku Solver and Generator


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



RE: Ethernet CRC errors statistics in Linux

2009-10-19 Thread Kevin Ross
It could be that the driver you are using doesn't report those statistics.  
It's also possible you haven't had any errors in that
time.  In my statistics below, the send/receive byte counts have overflowed the 
32-bit limit many times, so don't believe them.  I
probably download 2-10 gigabytes per day, and the uptime is 33 days.

# cat /proc/net/dev
Inter-|   Receive|  Transmit
 face |bytespackets errs drop fifo frame compressed multicast|bytes
packets errs drop fifo colls carrier compressed
lo:2756594713 12545043000 0  0 0 2756594713 
12545043000 0   0  0
eth-int:1840176101 1581657840 2398 2398  2398  0 30001 
1404160007 285315773000 0   5  0
eth-ext:372772043 272335957   410  76241  0 0 
2455504315 268065658000 0   0  0

# ifconfig
eth-ext   Link encap:Ethernet  HWaddr 00:50:da:12:3e:5f
  inet addr:x.x.x.x  Bcast:x.x.x.x  Mask:255.255.255.0
  inet6 addr: fe80::250:daff:fe12:3e5f/64 Scope:Link
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:272336213 errors:41 dropped:0 overruns:762 frame:41
  TX packets:268065969 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1000
  RX bytes:372864777 (355.5 MiB)  TX bytes:2455710933 (2.2 GiB)
  Interrupt:18 Base address:0x2c00

eth-int   Link encap:Ethernet  HWaddr 00:24:8c:3d:7d:ba
  inet addr:192.168.11.1  Bcast:192.168.11.255  Mask:255.255.255.0
  inet6 addr: fe80::224:8cff:fe3d:7dba/64 Scope:Link
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:158165784 errors:0 dropped:2398 overruns:2398 frame:2398
  TX packets:285315773 errors:0 dropped:0 overruns:0 carrier:5
  collisions:0 txqueuelen:1000
  RX bytes:1840176101 (1.7 GiB)  TX bytes:1404160007 (1.3 GiB)
  Interrupt:29

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:12545043 errors:0 dropped:0 overruns:0 frame:0
  TX packets:12545043 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:0
  RX bytes:2756594713 (2.5 GiB)  TX bytes:2756594713 (2.5 GiB)

# ethtool -i eth-ext
driver: 3c59x
version:
firmware-version:
bus-info: :05:02.0

# ethtool -i eth-int
driver: ATL1E
version: 1.0.0.7-NAPI
firmware-version: L1e
bus-info: :01:00.0



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



RE: Ethernet CRC errors statistics in Linux

2009-10-19 Thread Kevin Ross
> From: Kevin Ross [mailto:ke...@familyross.net]
> Sent: Monday, October 19, 2009 1:14 PM
> 
> It could be that the driver you are using doesn't report those
> statistics.  It's also possible you haven't had any errors in that
> time.

I just checked on another computer, which uses the forcedeth driver (same as
you), and I have all zeros for those stats, too.  Uptime on that computer is
16 days, with traffic aplenty (HTPC streaming HD movies over NFS from
server, approx. 4 to 8 GB each).

I'm inclined to believe it's an issue with the forcedeth driver.


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



scalable Debian based LNS (L2TPv2 tunneling)

2009-10-19 Thread Rogelio
Has anyone created/used/found/seen a Debian based LNS solution that supports
thousands L2TPv2 tunnels?  Right now, the only solution I see that scales to
this level is Redback, and if not a Redback box, then lots of Cisco 7200
boxes.

-- 
Also on LinkedIn?  Feel free to add me as a friend: scubac...@gmail.com


RE: Ethernet CRC errors statistics in Linux

2009-10-19 Thread Kushal Koolwal

Kevin,

Thanks for providing all the information from your end. I did read somewhere 
that many times kernel driver will not report back at CRC errors found in the 
Physical layer even though there is a counter for that.

Also, in our previous email, where you posted your stats, I noticed that you 
didn't have any errors on the interface that is internal (eth-int). Is the box 
with forcedeth driver statistics also internal?

I did check another box with e1000 driver and I don't see anything in error, 
frame, drop, etc.

Looks like I will have to do some more research here.

Kushal Koolwal

I do blog at http://blogs.koolwal.net/

  
_
Your E-mail and More On-the-Go. Get Windows Live Hotmail Free.
http://clk.atdmt.com/GBL/go/171222985/direct/01/

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



Re: Best method for stopping/starting MySQL?

2009-10-19 Thread Tim Legg


--- On Mon, 10/19/09, Jari Fredriksson  wrote:

> From: Jari Fredriksson 
> Subject: Re: Best method for stopping/starting MySQL?
> To: debian-user@lists.debian.org
> Date: Monday, October 19, 2009, 1:15 PM
>
>
> 19.10.2009 20:49, Tim Legg kirjoitti:
> > Hello again!
> >
> > I would like to shutdown mysql periodically to make
> backups of the databases.  I would like to know what is
> the official Debian way of stopping and restarting MySQL.
> >
> >
> >
> > When I follow the intuitive steps for shutting it
> down, it doesn't work.
> >
> > # /etc/init.d/mysql stop
> > Stopping MySQL database server: mysqld failed!
> >
> > So I investigate further and find that this doesn't
> work either
> >
> > # mysqladmin shutdown
> > mysqladmin: connect to server at 'localhost' failed
> > error: 'Access denied for user 'root'@'localhost'
> (using password: NO)'
> >
> > I am root and should be able to do anything...
> >
> > So I do cooperate and provide it a user and password
> >
> > # mysqladmin -u root -p shutdown
> > Enter password:
> > #
> >
> > And so it works.  Starting it back up isn't
> nearly as clean though
> >
> > # /etc/init.d/mysql start
> > Starting MySQL database server: mysqld.
> > Checking for corrupt, not cleanly closed and upgrade
> needing tables..
> > /usr/bin/mysqladmin: connect to server at 'localhost'
> failed
> > error: 'Access denied for user
> 'debian-sys-maint'@'localhost' (using password: YES)'
> > ERROR 1045 (28000): Access denied for user
> 'debian-sys-maint'@'localhost' (using password: YES)
> >
> > So, I choose to reboot the system instead.  Is
> there a better way?
> >
>
> Something is broken in your installation.. Do you have
>
>  /etc/mysql/debian.cnf
>

It exists.

> And the password there.
>
It has a password

> If you log in to the MySQL as root, and
>
>  mysql> select User, Host from
> mysql.user;
>
> Is the debian-sys-maint there? With the password you have
> in the
> debian.cnf? And Host as 'localhost'?
>

Yes,

select User, Host, Password from mysql.user;

revealed the password.  I diff'd the two passwords and ensured they are 
correct.  But I noticed something wasn't quite right.

My output is similar to this (Thanks to grc.com password generator).

+--+---+---+
| User | Host  | Password  |
+--+---+---+
| root | localhost | *4883CCF9DC8AAC41CBE1576EE7C30ECFFDB1EE23 |
| debian-sys-maint | localhost | 2qcvaMBnP8qwm5Ik  |
| legg | localhost | *FA5726D8387429018CC8BE7FACBC43F1E51D5C2F |
+--+---+---+

I see the password in plain text while the others are in a hash of some sort.  
That is probably where the problem is, and now I need to find a solution.

> You can change the password with command
>
>  mysql> update mysql.user set
> password=PASSWORD('new-password')
>   where User =
> 'debian-sys-maint' ;
>  mysql> flush privileges;
>
>
>

Also thanks to Joe for the mysqldump suggestions.  I have just implemented that 
as a solution.  Now to fix this password problem...

Tim Legg



  


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



Re: Iceape Problems - Is there hope for Squeeze?

2009-10-19 Thread Chris
On Sun, 18 Oct 2009 20:35:24 -0400
"Thomas H. George"  wrote:

> On Sun, Oct 18, 2009 at 10:43:17AM -0500, Chris wrote:
> > On Sun, 18 Oct 2009 10:34:23 -0500
> > Chris  wrote:
> > 
> > > On Sun, 18 Oct 2009 10:23:59 -0400
> > > "Thomas H. George"  wrote:
> > > 
> > > > Checking I found iceape-suite in Stable and Sid but no longer in
> > > > Squeeze.
> > > > 
> > > > When I upgraded to Squeeze iceape came along but it is a mess.
> > > > On startup it says a security component is missing and cannot
> > > > retrieve emails from some sites.  In accessing web pages it
> > > > cannot display pdf files and some video formats although if the
> > > > files can be downloaded the installed apps - xpdf for example -
> > > > can display these files.
> > > > 
> > > > I found that icedove can download the emails and iceweasel can
> > > > play an flv movie.
> > > > 
> > > > Should I abandon the iceape suite in favor of these individual
> > > > apps?
> > > > 
> > > > Tom
> > > > 
> > > > 
> > > 
> > > Tom - 
> > > 
> > > I'm not going to suggest what to do, only what I have done as an
> > > alternative.
> > > 
> > > I myself abandoned the Debian-stamp of Firefox (Ice-whatever) in
> > > favor of a direct replacement from Mozilla.
> > > 
> > > I run a pure Mozilla T-Bird, Firefox, and Sunbird. For me, it's
> > > the easiest way to keep Moz current and I don't have to bother
> > > with the anomalies of IceW from Lenny (I don't know it it carried
> > > over to Squeeze). 
> > > 
> > > If interested; simply grab your cup of tea from Mozilla, extract
> > > it, move the Mozilla parent dir (firefox for example) to /opt.
> > > 
> > > Again, this is my preference and a presented alternative.
> > > 
> > > Good luck mate.
> > > 
> > 
> > 
> > Follow-up: (Addition instructions and *some* grammar corrections)
> > 
> > Of course, I have created a launcher pointing to /opt/firefox/firfox
> > You probably already knew that :)
> > 
> 
> Chris -
> 
> I decided to give your approach a try.  The installation of
> Thunderbird went well and on start up it recovered all my saved
> emails and my account settings.  The Firefox installation has not
> been so successful. The program starts, has picked up my bookmarks
> but crashes when I try to go to some of my favorite web sites or if
> it reaches them it crashes when asked to play a video.  There is a
> message that the problem might relate to previously opened browers
> but I had closed the iceape browser before starting firefox.
> 
> Tom
> 
> 

What has worked for me in the past is removing the chrome dir when I
used to have failures like that. Re launching Moz recreates the chrome
dir. If that fails - simply allow Moz to create a new dir and copy
over your favs.

And lastly, have a look at removing any plugins (like ad-blocker
(although that one never gave me issues))

-- 
Best regards,

Chris

()  ascii ribbon campaign - against html e-mail
/\  www.asciiribbon.org   - against proprietary attachments

"There's no place like 127.0.0.1"


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



Re: Best method for stopping/starting MySQL?

2009-10-19 Thread Mike Ayers
On Mon, Oct 19, 2009 at 10:49:36AM -0700, Tim Legg wrote:
> Hello again!
> 
> I would like to shutdown mysql periodically to make backups of the databases. 
>  I would like to know what is the official Debian way of stopping and 
> restarting MySQL.
> 
> 
> 
> When I follow the intuitive steps for shutting it down, it doesn't work.
> 
> # /etc/init.d/mysql stop
> Stopping MySQL database server: mysqld failed!
> 
> So I investigate further and find that this doesn't work either
> 
> # mysqladmin shutdown
> mysqladmin: connect to server at 'localhost' failed
> error: 'Access denied for user 'root'@'localhost' (using password: NO)'
> 
> I am root and should be able to do anything...
> 
> So I do cooperate and provide it a user and password
> 
> # mysqladmin -u root -p shutdown 
> Enter password: 
> # 
> 
> And so it works.  Starting it back up isn't nearly as clean though
> 
> # /etc/init.d/mysql start
> Starting MySQL database server: mysqld.
> Checking for corrupt, not cleanly closed and upgrade needing tables..
> /usr/bin/mysqladmin: connect to server at 'localhost' failed
> error: 'Access denied for user 'debian-sys-maint'@'localhost' (using 
> password: YES)'
> ERROR 1045 (28000): Access denied for user 'debian-sys-maint'@'localhost' 
> (using password: YES)
> 
> So, I choose to reboot the system instead.  Is there a better way?
> 
> Tim Legg
> 
> 
> 
>   
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
> with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
> 
> 
how about:
"/etc/init.d/mysql stop"  to stop it
and "/etc/init.d/mysql" start  to restart it


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



Long library names not found

2009-10-19 Thread Leif Asbrink
Hello,

When installing portaudio (the standard way from a snapshot) the following
files are created:
lrwxrwxrwx 1 root root  21 2009-10-20 00:26 libportaudio.so -> 
libportaudio.so.2.0.0
lrwxrwxrwx 1 root root  21 2009-10-20 00:26 libportaudio.so.2 -> 
libportaudio.so.2.0.0
-rwxr-xr-x 1 root root  361915 2009-10-20 00:26 libportaudio.so.2.0.0

Running gcc to compile works fine like this:
${CC} -m32 -olinrad -lvgagl -lvga -lportaudio -lpthread \

When I run ldd the result is like this:
P4:/home/portaudio# ldd ./linrad 
linux-gate.so.1 =>  (0xb7f8d000)
libvgagl.so.1 => /usr/local/lib/libvgagl.so.1 (0xb7f6d000)
libvga.so.1 => /usr/local/lib/libvga.so.1 (0xb7eec000)
libportaudio.so.2 => not found

Running the program is not possible because libportaudio is not found.

I have tried under Debian squeeze (2.6.30) as well as under Debian Etch
(2.6.26). They give the same error. I have also tried Ubuntu 9.04 (2.6.28)
where there is no error. ldd finds the library and the program runs ok.

I note that /usr/local/lib/libportaudio.so.2 is a rather long file name.
 Also that  /usr/local/lib/libvgagl.so.1 is found in the same directory.
By adding a symbolic link /usr/lib/libportaudio.so.2 I can make my
program run under Debian. Another way to make it work under Debian
is to type:
export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH 
Then the library is found until next reboot.

It seems to me this is a bug but I do not know in which package.
Seems like the loading of runtime libraries with 32 characters is
too much under Debian but ok under Ubuntu. I did not try any other
distributions.


 Regards

   Leif
 


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



BonziBuddy

2009-10-19 Thread Bonzi Buddy
hi my friend wants me to install bonzibuddy 4 him but i cannot find it where
can i get it&how should i install plz help this is a emergency k thx bai


Re: debian whitelist, posts that never show up and long delays

2009-10-19 Thread Nick Lidakis
>   - If you're using Verizon's mail servers as your SMTP hosts,
> you can use port 25, and/but you must authenticate, and you
> must use a "verizon.net" or "bellatlantic.net" from-address.
> 
>   - If you are using a third-party mail server outside of the 
> verizon.net domain, and using SMTP to connect, then port 25 is 
> blocked, and you must use port 587 to connect to these systems.
> Allowed "from" addresses and authentication requirements depend 
> on the server.

Ok. Thanks for that info.

> 
>   - If you're using a web-mail client (e.g. for gmail or yahoo
> or whatever), then, again, no configuration changes are 
> required, since all the SMTP action is outside of Verizon's
> network.

Yes. My Gmail account has been working without issue.

> 
>   You don't say what mail relay your ssmtp command is configured
> to use, but if it's "outgoing.verizon.net", then you can probably
> continue to use port 25 without difficulty, since you clearly
> have a Verizon address.

It is outgoing.verizon.net, and I removed the 587 port option so 
hopefully this email makes the list. 

Thanks for the info.


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



Re: BonziBuddy

2009-10-19 Thread Chris Jackson

Bonzi Buddy wrote:


hi my friend wants me to install bonzibuddy 4 him but i cannot find it where
can i get it&how should i install plz help this is a emergency k thx bai




It only works on Microsoft systems so you can't install it on Debian; I 
doubt it would work under WINE even. They also went out of business four 
years or so ago, so it's not supported. Not to mention the fact it is 
horrible and reputed to be spyware...


However, if your friend has a Windows system and really wants to do 
this, just search for it.


HTH HAND.

--
Chris Jackson
Shadowcat Systems Ltd.


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




OT - cause of packet loss using icmp ping

2009-10-19 Thread Umarzuki Mochlis
i always had packet loss when using icmp ping to check a machine's
availability from 30% packet loss to 70%. Aside from the patch cord, what
else could be the culprit?

-- 
Regards,

Umarzuki Mochlis


Re: Iceape Problems - Is there hope for Squeeze?

2009-10-19 Thread godo

There is a message that the problem might

relate to previously opened browers but I had closed the iceape browser
before starting firefox.

Tom


Have the same problem with Firefox. It's pain in the ass, every time 
must pgrep firefox and kill 2 Firefox pid but don't have that problem 
with SeaMonkey.


--
Bye,
Goran Dobosevic
Hrvatski: www.dobosevic.com
 English: www.dobosevic.com/en/


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




Re: How to replicate the behaviour of /usr/local

2009-10-19 Thread Klistvud
Dne, 16. 10. 2009 12:50:43 je Klistvud napisal(a):
> Dne, 16. 10. 2009 12:19:03 je Cameron Hutchison napisal(a):
> > Klistvud  writes:
> > 
> > >I have a shared directory on my system; what I'd like to achieve 
> is
> 
> > >making every newly created (or copied from elsewhere) file belong
> to 
> > >the group owner "users". 
> > 
> > # chgrp users /path/to/shared/directory
> > # chmod g+s /path/to/shared/directory
> > 
> > The set-group-id bit on a directory causes all files created in 
> that
> > directory to take the group id of the directory. Any directories
> > created
> > in that directory also take the group id of the parent directory 
> and
> > automatically have the set-group-id bit set on that directory. This
> > causes the group id to propogate down the hierarchy as new 
> > directories
> > are created.
> > 
> > 
> > 
> > -- 
> > To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
> > with a subject of "unsubscribe". Trouble? Contact
> > listmas...@lists.debian.org
> > 
> > 
> > 
> 
> Thanx. Your solution, though, only works for newly created files.
> Files 
> *copied to* my shared dir from elsewhere still retain their original 
> group ownership(s)... That never happens in usr/local.
> 
> -- 
> Certifiable Loonix User #481801
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
> with a subject of "unsubscribe". Trouble? Contact
> listmas...@lists.debian.org
> 
> 

Anybody care to chime in? The question was: how does /usr/local manage 
to assign a predefined group ownership to every file you copy to /usr/
local? Can such behaviour be replicated for an arbitrary directory in 
my /home subtree?

-- 
Certifiable Loonix User #481801


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