Re: Slow mirror connections

2014-07-07 Thread Berni Elbourn

On 03/07/14 13:46, B wrote:

On Thu, 3 Jul 2014 21:31:47 +0900
Joel Rees joel.r...@gmail.com wrote:


My ISP swears it's not them.


Yeah, they always do that until a leak tells otherwise :(



Check tcp window scaling:- http://en.wikipedia.org/wiki/TCP_window_scale_option

off may just fix a slowdown as described on some routers.

Berni

--
Confidence is what you have before you understand a problem - Woody Allen


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

Archive: https://lists.debian.org/53bb0806.6050...@gmail.com



APC SMT1000RMI2U and apcupsd ?

2012-12-11 Thread Berni Elbourn

This is a 2U rack mount SmartUPS 1000 .. can anyone here confirm SMT1000RMI2U 
works with apscupsd on Debian?

Cheers,

Berni

--
Confidence is what you have before you understand a problem - Woody Allen


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

Archive: http://lists.debian.org/50c72c02.7020...@gmail.com



Re: APC SMT1000RMI2U and apcupsd ?

2012-12-11 Thread Berni Elbourn

On 11/12/12 12:56, Federico Alberto Sayd wrote:

On 11/12/12 09:50, Berni Elbourn wrote:

This is a 2U rack mount SmartUPS 1000 .. can anyone here confirm SMT1000RMI2U 
works with apscupsd on Debian?

Cheers,

Berni


If your SmartUPS include a management card with network connection, then 
supports PowerChute protocol, you can connect
ApcUpsd with your UPS through the network

Regards

Federico




Sadly the management card adds 40% to the price .. are the USB/RS232 a non 
starter?

Berni

--
Confidence is what you have before you understand a problem - Woody Allen


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

Archive: http://lists.debian.org/50c748ca.7070...@gmail.com



Re: APC SMT1000RMI2U and apcupsd ?

2012-12-11 Thread Berni Elbourn

On 11/12/12 12:58, Darac Marjal wrote:

On Tue, Dec 11, 2012 at 12:50:10PM +, Berni Elbourn wrote:

This is a 2U rack mount SmartUPS 1000 .. can anyone here confirm SMT1000RMI2U 
works with apscupsd on Debian?


apcupsd SHOULD work in a limited capacity with that unit. The version in
Wheezy or later is best as it has udev rules for the newer devices.
However, while you'll get basic functionality (on-battery, low-battery
etc notifications), you won't get the full functionality of the UPS
without APC's powerchute software. This is because APC (now owned by
Schneider Electric) have gone back to using a proprietary (undocumented)
protocol called MicroLink. Only Powerchute supports this, so if you
want to know how much load is on your UPS or when the battery is due to
fail or any of the other useful information the UPS knows, then either
complain to APC, or use powerchute.

/rant


Agree with rant. Does the auto shut-down feature work with those limited 
features?

Easiest protest for me would be to choose another maker who does have a Linux client for power down. Are there any 
alternatives to APC?


Berni

--
Confidence is what you have before you understand a problem - Woody Allen


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

Archive: http://lists.debian.org/50c74a05.6010...@gmail.com



Re: [APT] how to recover from /var overflow?

2012-11-15 Thread Berni Elbourn

On 16/11/12 01:21, Tom Roche wrote:
snip


but I Could Be Wrong: is there anything else I can/should do *with APT*
to prevent /var overflow? As noted above, I know I should make my /var
partition larger, but for now, that is not feasible.


There Debian release notes have some hints for upgrade:

http://www.debian.org/releases/stable/releasenotes

See section 4.4.3. Use a usb stick for the apt cache?

I ran out of inodes on a Ubuntu system a while back with /var on /. Purging the 
obsolete kernels, and kernel headers fixed.

Good luck,

Berni



--
Confidence is what you have before you understand a problem - Woody Allen


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

Archive: http://lists.debian.org/50a5f0c8.1050...@gmail.com



Re: mdadm: raid1: redirecting sector to another mirror

2012-11-12 Thread Berni Elbourn

On 08/11/12 10:52, Berni Elbourn wrote:

Hello, Please can I share my puzzlement here in the hope a problem shared is a 
problem halved...

Sdb on this system has smart errors and a replacement disk is on order. 
However, I notice that sda is also mentioned.

Oct 29 01:42:03 sv24 kernel: [1529665.849447] raid1:md125: read error corrected 
(8 sectors at 98400 on sdb1)
Oct 29 01:42:03 sv24 kernel: [1529665.849456] raid1: sda1: redirecting sector 
98344 to another mirror

After this time the logs have nothing else to say about these disks.


Ok my puzzlement was well founded. Sda is where the redirection succeeded:

http://marc.info/?l=linux-raidm=127060650812246w=2

--
Confidence is what you have before you understand a problem - Woody Allen


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

Archive: http://lists.debian.org/50a0ccb8.2070...@gmail.com



mdadm: raid1: redirecting sector to another mirror

2012-11-08 Thread Berni Elbourn

Hello, Please can I share my puzzlement here in the hope a problem shared is a 
problem halved...

Sdb on this system has smart errors and a replacement disk is on order. 
However, I notice that sda is also mentioned.

Sadly I can find nothing wrong with sda, smart and tests are all clean. I am wondering if sda is actually good and it is 
just suffering a consequence of the problems with sdb .. see last log line:-


Oct 29 01:42:03 sv24 kernel: [1529665.357951] ata2: EH in SWNCQ 
mode,QC:qc_active 0x1 sactive 0x1
Oct 29 01:42:03 sv24 kernel: [1529665.357987] ata2: SWNCQ:qc_active 0x1 
defer_bits 0x0 last_issue_tag 0x0
Oct 29 01:42:03 sv24 kernel: [1529665.357988]   dhfis 0x1 dmafis 0x1 sdbfis 0x0
Oct 29 01:42:03 sv24 kernel: [1529665.358047] ata2: ATA_REG 0x41 ERR_REG 0x40
Oct 29 01:42:03 sv24 kernel: [1529665.358074] ata2: tag : dhfis dmafis sdbfis 
sacitve
Oct 29 01:42:03 sv24 kernel: [1529665.358103] ata2: tag 0x0: 1 1 0 1
Oct 29 01:42:03 sv24 kernel: [1529665.358134] ata2.00: exception Emask 0x1 SAct 
0x1 SErr 0x0 action 0x6 frozen
Oct 29 01:42:03 sv24 kernel: [1529665.358185] ata2.00: Ata error. fis:0x21
Oct 29 01:42:03 sv24 kernel: [1529665.358213] ata2.00: failed command: READ 
FPDMA QUEUED
Oct 29 01:42:03 sv24 kernel: [1529665.358248] ata2.00: cmd 
60/08:00:9f:80:01/00:00:00:00:00/40 tag 0 ncq 4096 in
Oct 29 01:42:03 sv24 kernel: [1529665.358249]  res 
41/40:00:9f:80:01/40:00:00:00:00/40 Emask 0x9 (media error)
Oct 29 01:42:03 sv24 kernel: [1529665.358347] ata2.00: status: { DRDY ERR }
Oct 29 01:42:03 sv24 kernel: [1529665.358374] ata2.00: error: { UNC }
Oct 29 01:42:03 sv24 kernel: [1529665.358403] ata2: hard resetting link
Oct 29 01:42:03 sv24 kernel: [1529665.358405] ata2: nv: skipping hardreset on 
occupied port
Oct 29 01:42:03 sv24 kernel: [1529665.824025] ata2: SATA link up 3.0 Gbps 
(SStatus 123 SControl 300)
Oct 29 01:42:03 sv24 kernel: [1529665.848473] ata2.00: configured for UDMA/133
Oct 29 01:42:03 sv24 kernel: [1529665.848490] sd 1:0:0:0: [sdb] Unhandled sense 
code
Oct 29 01:42:03 sv24 kernel: [1529665.848493] sd 1:0:0:0: [sdb] Result: 
hostbyte=DID_OK driverbyte=DRIVER_SENSE
Oct 29 01:42:03 sv24 kernel: [1529665.848496] sd 1:0:0:0: [sdb] Sense Key : 
Medium Error [current] [descriptor]
Oct 29 01:42:03 sv24 kernel: [1529665.848499] Descriptor sense data with sense 
descriptors (in hex):
Oct 29 01:42:03 sv24 kernel: [1529665.848501] 72 03 11 04 00 00 00 0c 
00 0a 80 00 00 00 00 00
Oct 29 01:42:03 sv24 kernel: [1529665.848532] 00 01 80 9f
Oct 29 01:42:03 sv24 kernel: [1529665.848541] sd 1:0:0:0: [sdb] Add. Sense: 
Unrecovered read error - auto reallocate failed
Oct 29 01:42:03 sv24 kernel: [1529665.848548] sd 1:0:0:0: [sdb] CDB: Read(10): 
28 00 00 01 80 9f 00 00 08 00
Oct 29 01:42:03 sv24 kernel: [1529665.848567] end_request: I/O error, dev sdb, 
sector 98463
Oct 29 01:42:03 sv24 kernel: [1529665.848618] ata2: EH complete
Oct 29 01:42:03 sv24 kernel: [1529665.849447] raid1:md125: read error corrected 
(8 sectors at 98400 on sdb1)
Oct 29 01:42:03 sv24 kernel: [1529665.849456] raid1: sda1: redirecting sector 
98344 to another mirror

After this time the logs have nothing else to say about these disks.  I also wonder if that redirection is permanent .. 
or does it get fixed in the next mdadm resync?


Some more info about this machine:

elbournb@sv24:/var/log$ df -h
FilesystemSize  Used Avail Use% Mounted on
/dev/md125 19G  6.2G   12G  36% /
tmpfs 4.0G   12K  4.0G   1% /lib/init/rw
udev  4.0G  196K  4.0G   1% /dev
tmpfs 4.0G 0  4.0G   0% /dev/shm
/dev/md2  422G  152G  249G  38% /home

elbournb@sv24:/var/log$ cat /proc/mdstat
Personalities : [raid1]
md2 : active raid1 sdb6[0] sda6[2] sdc6[1]
  449313856 blocks [3/3] [UUU]

md1 : active raid1 sdb5[0] sda5[2] sdc5[1]
  19534912 blocks [3/3] [UUU]

md125 : active raid1 sdb1[0] sda1[2] sdc1[1]
  19534912 blocks [3/3] [UUU]

unused devices: none

--
Confidence is what you have before you understand a problem - Woody Allen


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

Archive: http://lists.debian.org/509b8ee3.10...@gmail.com



Re: ServeRAID M5110e driver for Debian Squeeze

2012-10-25 Thread Berni Elbourn

On 23/10/12 14:14, s0lid wrote:

Hi,

I have a new server IBM X3650 M4 with a raid controller ServeRaid
M5110e. I'm having a problem finding driver for this device. I tried
to install debian using the ISO from http://kmuto.jp/debian/d-i/ which
say that it has the driver for the M5110e but still no avail. I tried
the megaraid_sas, megaraid, megaraid_mbox and megaraid_mm but nothing
works.

Anyone have an experience with this?

TIA




Use software raid. Reconfigure the controller to present the disks individually 
then:

http://www.iprobot.net/linux-tutorial/how-to-setup-software-raid-in-debian-ubuntu/


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

Archive: http://lists.debian.org/5088f04d.3050...@elbourn.com



Re: strange behavior after reboot, iceweasel locking everything up

2012-08-13 Thread Berni Elbourn

[78506.185358] sd 5:0:0:0: [sda] Add. Sense: Unrecovered read error -

auto reallocate failed

Sorry but you have already lost data. Avoid using the disk as it is no longer able to function reliably. Replace it 
asap. ddrescue is a good tool in these situations. But probably best to re-install from scratch and restore your data 
from a backup - but from a backup prior to when the disk errors started. Sadly, backups since may have some good data 
but those backups will contain corrupt files.


Best wishes,

Berni

--
Confidence is what you have before you understand a problem - Woody Allen


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

Archive: http://lists.debian.org/5028a5c3.4080...@gmail.com



Re: NetXtreme BCM5722 strangeness on Proliant ML115

2012-07-10 Thread Berni Elbourn

On 09/07/12 17:44, Camaleón wrote:

On Mon, 09 Jul 2012 17:31:46 +0100, Berni Elbourn wrote:


On 09/07/12 15:14, Camaleón wrote:


(...)


Despite the small number of dropped packages (26) the total ammount of
received packages is also very low (15.1 MiB), there shouldn't be a
single drop.

Is dmesg | grep -i eth0 showing any anomaly?




I'll give the code from the broadcom website a wiz...just for the record
here is the status after a few hours of use:

# sudo ifconfig eth0
eth0  Link encap:Ethernet  HWaddr 00:21:5a:d3:d0:0c
inet addr:192.168.2.10  Bcast:192.168.2.255
Mask:255.255.255.0 inet6 addr: fe80::221:5aff:fed3:d00c/64
Scope:Link UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
RX packets:14050436 errors:0 dropped:26 overruns:0 frame:2 TX
packets:3730779 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:20348704555 (18.9 GiB)  TX bytes:614582976 (586.1
MiB) Interrupt:19


That's more reasonable as there are no additional dropped packages but
traffic has increased a lot.


# dmesg | grep eth0
[1.191804] e100 :02:04.0: eth0: addr 0xfafff000, irq 18, MAC addr 
00:90:27:b0:0a:7d
[6.508590] udev[474]: renamed network interface eth1 to eth1-eth0
[6.532526] udev[470]: renamed network interface eth0 to eth1
[6.584538] udev[474]: renamed network interface eth1-eth0 to eth0
[   11.677058] ADDRCONF(NETDEV_UP): eth0: link is not ready
[   14.772314] tg3 :11:00.0: eth0: Link is up at 1000 Mbps, full duplex
[   14.772319] tg3 :11:00.0: eth0: Flow control is on for TX and on for RX
[   14.772698] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   25.520006] eth0: no IPv6 routers present


Beyond the swaping dance (eth1 → eth0) the rest looks normal.

I would keep monitoring the interface and the number of dropped packages
for a while, but regardless the backported kernel is working fine, I'd
open a bug report so kernel developers review this.

Greetings,



Here we go...

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

--
Confidence is what you have before you understand a problem - Woody Allen


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

Archive: http://lists.debian.org/4ffc4527.1000...@gmail.com



Re: NetXtreme BCM5722 strangeness on Proliant ML115

2012-07-09 Thread Berni Elbourn

On 07/07/12 15:18, Camaleón wrote:

On Fri, 06 Jul 2012 09:46:33 +0100, Berni Elbourn wrote:


11:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5722
Gigabit Ethernet PCI Express

With standard squeeze kernel seemingly once a day this nic stops
working. Looking at the switch port it seems the nic is transmitting (or
retransmitting) something as fast as possible. A simple ifdown/ifup
seems to cure for another day.

On latest backport kernel 3.2.20-1~bpo60+1 (installed today) the nic
does seems to be stable. iperf reports 1gb performance. However the
count of dropped packets is slowly growing:


(...)


RX packets:8801144 errors:0 dropped:1824 overruns:0 frame:0


(...)


This issue is present in the firmware nonfree from stable, and
backports, and the using the latest source compiled from broadcom
3.122n. I have changed cables and switch ports. There is another other
gigabit nic on the switch is nVidia Corporation MCP77 and this has no
errors or dropped packets.


So you have tested with almost all of the possibilities (you've discarded
a hardware issue by replacing the patch cord and using a different switch
port and you've discarded a software/driver problem by installing a
different kernel and the latest available broadcom driver) yet still you
don't see a noticeable improvement on this, right? Then it can be
something  specific to your setup/environment... I would start with the
ouput of ethtool eth0 and ethtool -k eth0 just in case.

Have you noted an increment of packets being dropped when the system is
running a concrete task or process that can exhaust the available memory?
I ask this because Google suggest that dropped packates can be related to
low memory situations :-?


Anyone else seeing this? How to progress?  .. should I log a debian bug,
or just go buy an Intel card? Or ? :-)


In workstations and servers I always try to have at least a couple of
different NIC cards (from different manufacturers and models) just to
prevent these situations, because if you think about it, what's a server
with no network connection? Nowadays, close to nothing; a toaster is even
more useful :-)

Greetings,



Strangest thing. The dropped packets stopped at 3000 odd. After reboots (this machine is shutdown overnight) the number 
of dropped packets seems to stop incrementing at 20 or 30 or so even after several gigabytes of transfer.


Performance however is fine with the backports kernel:

$ cat /proc/version
Linux version 3.2.0-0.bpo.2-amd64 (Debian 3.2.20-1~bpo60+1) (debian-ker...@lists.debian.org) (gcc version 4.4.5 (Debian 
4.4.5-8) ) #1 SMP Fri Jun 29 20:42:29 UTC 2012


$ sudo ethtool eth0
Settings for eth0:
Supported ports: [ TP ]
Supported link modes:   10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Half 1000baseT/Full
Supports auto-negotiation: Yes
Advertised link modes:  10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Half 1000baseT/Full
Advertised pause frame use: Symmetric
Advertised auto-negotiation: Yes
Speed: 1000Mb/s
Duplex: Full
Port: Twisted Pair
PHYAD: 1
Transceiver: internal
Auto-negotiation: on
MDI-X: Unknown
Supports Wake-on: g
Wake-on: g
Current message level: 0x00ff (255)
Link detected: yes

$ sudo ethtool -k eth0
Offload parameters for eth0:
rx-checksumming: on
tx-checksumming: on
scatter-gather: on
tcp-segmentation-offload: on
udp-fragmentation-offload: off
generic-segmentation-offload: on
generic-receive-offload: on
large-receive-offload: off
ntuple-filters: off
receive-hashing: off

$ sudo ethtool -i eth0
driver: tg3
version: 3.121
firmware-version: 5722-v3.07, ASFIPMI v6.02
bus-info: :11:00.0

eth0  Link encap:Ethernet  HWaddr 00:21:5a:d3:d0:0c
  inet addr:192.168.2.10  Bcast:192.168.2.255  Mask:255.255.255.0
  inet6 addr: fe80::221:5aff:fed3:d00c/64 Scope:Link
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:123154 errors:0 *dropped:26* overruns:0 frame:0
  TX packets:131936 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1000
  RX bytes:15913111 (15.1 MiB)  TX bytes:107913843 (102.9 MiB)
  Interrupt:19



--
Confidence is what you have before you understand a problem - Woody Allen


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

Archive: http://lists.debian.org/4ffaa5dc.5080...@gmail.com



Re: NetXtreme BCM5722 strangeness on Proliant ML115

2012-07-09 Thread Berni Elbourn

On 09/07/12 15:14, Camaleón wrote:

On Mon, 09 Jul 2012 10:35:24 +0100, Berni Elbourn wrote:


On 07/07/12 15:18, Camaleón wrote:


(...)


Have you noted an increment of packets being dropped when the system is
running a concrete task or process that can exhaust the available
memory? I ask this because Google suggest that dropped packates can be
related to low memory situations :-?


Anyone else seeing this? How to progress?  .. should I log a debian
bug, or just go buy an Intel card? Or ? :-)


In workstations and servers I always try to have at least a couple of
different NIC cards (from different manufacturers and models) just to
prevent these situations, because if you think about it, what's a
server with no network connection? Nowadays, close to nothing; a
toaster is even more useful :-)


Strangest thing. The dropped packets stopped at 3000 odd. After reboots
(this machine is shutdown overnight) the number of dropped packets seems
to stop incrementing at 20 or 30 or so even after several gigabytes of
transfer.


You mean with Squeeze's stock kernel or the backported one? :-?


Performance however is fine with the backports kernel:


If there's a noticeable difference between both kernels, I would report
it just in the event the problem can be addressed and patched for the
upcoming dot point releases.


$ cat /proc/version
Linux version 3.2.0-0.bpo.2-amd64 (Debian 3.2.20-1~bpo60+1)
(debian-ker...@lists.debian.org) (gcc version 4.4.5 (Debian 4.4.5-8) )
#1 SMP Fri Jun 29 20:42:29 UTC 2012

$ sudo ethtool eth0


(...)

This output looks normal.


$ sudo ethtool -k eth0


(...)


$ sudo ethtool -i eth0
driver: tg3
version: 3.121
firmware-version: 5722-v3.07, ASFIPMI v6.02 bus-info: :11:00.0

 ^^

And also these.

Well, you can check if there's the possibility fo getting an updated
firmware but for NICs I never had to did an update before :-?



eth0  Link encap:Ethernet  HWaddr 00:21:5a:d3:d0:0c
inet addr:192.168.2.10  Bcast:192.168.2.255
Mask:255.255.255.0 inet6 addr: fe80::221:5aff:fed3:d00c/64
Scope:Link UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
RX packets:123154 errors:0 *dropped:26* overruns:0 frame:0 TX
packets:131936 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:15913111 (15.1 MiB)  TX bytes:107913843 (102.9 MiB)
Interrupt:19


Despite the small number of dropped packages (26) the total ammount of
received packages is also very low (15.1 MiB), there shouldn't be a
single drop.

Is dmesg | grep -i eth0 showing any anomaly?

Greetings,



I'll give the code from the broadcom website a wiz...just for the record here 
is the status after a few hours of use:

# sudo ifconfig eth0
eth0  Link encap:Ethernet  HWaddr 00:21:5a:d3:d0:0c
  inet addr:192.168.2.10  Bcast:192.168.2.255  Mask:255.255.255.0
  inet6 addr: fe80::221:5aff:fed3:d00c/64 Scope:Link
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:14050436 errors:0 dropped:26 overruns:0 frame:2
  TX packets:3730779 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1000
  RX bytes:20348704555 (18.9 GiB)  TX bytes:614582976 (586.1 MiB)
  Interrupt:19

# dmesg | grep eth0
[1.191804] e100 :02:04.0: eth0: addr 0xfafff000, irq 18, MAC addr 
00:90:27:b0:0a:7d
[6.508590] udev[474]: renamed network interface eth1 to eth1-eth0
[6.532526] udev[470]: renamed network interface eth0 to eth1
[6.584538] udev[474]: renamed network interface eth1-eth0 to eth0
[   11.677058] ADDRCONF(NETDEV_UP): eth0: link is not ready
[   14.772314] tg3 :11:00.0: eth0: Link is up at 1000 Mbps, full duplex
[   14.772319] tg3 :11:00.0: eth0: Flow control is on for TX and on for RX
[   14.772698] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   25.520006] eth0: no IPv6 routers present


--
Confidence is what you have before you understand a problem - Woody Allen


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

Archive: http://lists.debian.org/4ffb0772.6020...@gmail.com



NetXtreme BCM5722 strangeness on Proliant ML115

2012-07-06 Thread Berni Elbourn

11:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5722 Gigabit 
Ethernet PCI Express

With standard squeeze kernel seemingly once a day this nic stops working. Looking at the switch port it seems the nic is 
transmitting (or retransmitting) something as fast as possible. A simple ifdown/ifup seems to cure for another day.


On latest backport kernel 3.2.20-1~bpo60+1 (installed today) the nic does seems to be stable. iperf reports 1gb 
performance. However the count of dropped packets is slowly growing:


eth0  Link encap:Ethernet  HWaddr 00:21:5a:d3:d0:0c
  inet addr:192.168.2.10  Bcast:192.168.2.255  Mask:255.255.255.0
  inet6 addr: fe80::221:5aff:fed3:d00c/64 Scope:Link
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:8801144 errors:0 dropped:1824 overruns:0 frame:0
  TX packets:2263228 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1000
  RX bytes:1257

This issue is present in the firmware nonfree from stable, and backports, and the using the latest source compiled from 
broadcom 3.122n. I have changed cables and switch ports. There is another other gigabit nic on the switch is nVidia 
Corporation MCP77 and this has no errors or dropped packets.


Anyone else seeing this? How to progress?  .. should I log a debian bug, or 
just go buy an Intel card? Or ? :-)

Berni

--
Confidence is what you have before you understand a problem - Woody Allen


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

Archive: http://lists.debian.org/4ff6a5e9.90...@gmail.com



Re: Apparent disagreement between df and cp.

2012-06-28 Thread Berni Elbourn

On 28/06/12 05:45, peasth...@shaw.ca wrote:

How can df report MiBs available while cp reports
No space left on device?

peter@dalton:~$ df /media/43*
Filesystem   1K-blocks  Used Available Use% Mounted on
/dev/sdd1   498648 18840479808   4% /media/4345-A417
peter@dalton:~$ ls -l Mail.Text
-rw--- 1 peter peter 1511 Jun 27 20:28 Mail.Text
peter@dalton:~$ cp Mail.Text /media/43*
cp: cannot create regular file `/media/4345-A417/Mail.Text': No space left on 
device

Thanks for any ideas, ... Peter E.



Are there too many files in target folder? Is the media readonly?

--
Confidence is what you have before you understand a problem - Woody Allen


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

Archive: http://lists.debian.org/4fec088d.7020...@gmail.com



how to safely remove an acl: user_u:object_r:user_home_dir_t

2012-05-10 Thread Berni Elbourn
I was tidying up some old accounts on an squeeze system today and noticed this one home directory has a full stop in the 
permissions:


$ ls -ld /home/manager.gwcc/
drwxr-x---. 2 manager.gwcc e-manager 4096 May 10 17:26 /home/manager.gwcc/

Seems this is an acl:

$ ls -lZd /home/manager.gwcc/
drwxr-x---. 2 manager.gwcc e-manager user_u:object_r:user_home_dir_t 4096 May 
10 17:26 /home/manager.gwcc/

Harmless enough but entirely not needed. Googling a bit did suggest setfacl -b. 
So a quick apt-get install acl ..

$ sudo setfacl -b /home/manager.gwcc/
$ ls -lZd /home/manager.gwcc/
drwxr-x---. 2 manager.gwcc e-manager user_u:object_r:user_home_dir_t 4096 May 
10 17:26 /home/manager.gwcc/

So this leaves the acl in place. Sorry but I have exhausted my Google skills. Any pointers to rid this setting? Or shall 
I just recreate the folder from scratch.


ta

Berni



--
Confidence is what you have before you understand a problem - Woody Allen


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

Archive: http://lists.debian.org/4fabef65.4000...@gmail.com



Re: how to safely remove an acl: user_u:object_r:user_home_dir_t

2012-05-10 Thread Berni Elbourn

On 10/05/12 18:43, Camaleón wrote:

On Thu, 10 May 2012 17:40:05 +0100, Berni Elbourn wrote:

(...)


$ sudo setfacl -b /home/manager.gwcc/
$ ls -lZd /home/manager.gwcc/
drwxr-x---. 2 manager.gwcc e-manager user_u:object_r:user_home_dir_t 4096

 ^

(...)

The final dot catched my attention :-)

Check if this helps to understand what's going on:

http://ubuntuforums.org/showthread.php?t=1315684

Greetings,



Something like setfattr -x security.selinux /home/manager.gwcc ???

Trouble is selinux is off:

$ sudo sestatus
SELinux status: disabled

Also the attr package is not installed...

$ apt-cache policy attr
attr:
  Installed: (none)
  Candidate: 1:2.4.44-2
  Version table:
 1:2.4.44-2 0
500 http://ftp.uk.debian.org/debian/ squeeze/main amd64 Packages

so no setfattr???

--
Confidence is what you have before you understand a problem - Woody Allen


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

Archive: http://lists.debian.org/4fac1004.1080...@gmail.com



Re: how to safely remove an acl: user_u:object_r:user_home_dir_t

2012-05-10 Thread Berni Elbourn

On 10/05/12 19:59, Berni Elbourn wrote:

On 10/05/12 18:43, Camaleón wrote:

On Thu, 10 May 2012 17:40:05 +0100, Berni Elbourn wrote:

(...)


$ sudo setfacl -b /home/manager.gwcc/
$ ls -lZd /home/manager.gwcc/
drwxr-x---. 2 manager.gwcc e-manager user_u:object_r:user_home_dir_t 4096

^

(...)

The final dot catched my attention :-)

Check if this helps to understand what's going on:

http://ubuntuforums.org/showthread.php?t=1315684

Greetings,



Something like setfattr -x security.selinux /home/manager.gwcc ???

Trouble is selinux is off:

$ sudo sestatus
SELinux status: disabled

Also the attr package is not installed...

$ apt-cache policy attr
attr:
Installed: (none)
Candidate: 1:2.4.44-2
Version table:
1:2.4.44-2 0
500 http://ftp.uk.debian.org/debian/ squeeze/main amd64 Packages

so no setfattr???



:-) But wow,  bite the bullet and install attr:

$ sudo getfattr -n security.selinux /home/manager.gwcc/
getfattr: Removing leading '/' from absolute path names
# file: home/manager.gwcc/
security.selinux=user_u:object_r:user_home_dir_t

$ sudo setfattr -x security.selinux  /home/manager.gwcc/
$ ls -lZd /home/manager.gwcc/
drwxr-x--- 2 manager.gwcc e-manager ? 4096 May 10 20:14 /home/manager.gwcc/
$ ls -ld /home/manager.gwcc/
drwxr-x--- 2 manager.gwcc e-manager 4096 May 10 20:14 /home/manager.gwcc/

Huge thanks !


--
Confidence is what you have before you understand a problem - Woody Allen


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

Archive: http://lists.debian.org/4fac16e1.80...@gmail.com



Re: Occasional hangups with forcedeth

2011-01-16 Thread Berni Elbourn

On 16/01/11 10:56, Klaus Pieper wrote:


Hi gurus,

using

00:0a.0 Ethernet controller: nVidia Corporation MCP79 Ethernet (rev b1)

I have occasional (i.e. occuring about every 6 weeks) hangups of this
device.
Ping to and from the machine does work, but loss is over 70%.

Any hints or workarounds?

Regards,
Klaus


# dmesg |grep -i forcedet
[ 1.528115] forcedeth: Reverse Engineered nForce ethernet driver.
Version 0.64.
[ 1.529046] forcedeth :00:0a.0: PCI INT A - Link[LMAC] - GSI 20
(level, low) - IRQ 20
[ 1.529055] forcedeth :00:0a.0: setting latency timer to 64
[ 1.594154] forcedeth :00:0a.0: ifname eth0, PHY OUI 0x732 @ 3, addr
00:01:2e:27:c5:1c
[ 1.594164] forcedeth :00:0a.0: highdma csum pwrctl gbit lnktim msi
desc-v3

eth0 Link encap:Ethernet HWaddr .
inet addr:192.168.1.2 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::201:2eff:fe27:c51c/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:40 errors:86 dropped:0 overruns:0 frame:86
TX packets:197 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:3391 (3.3 KiB) TX bytes:24074 (23.5 KiB)
Interrupt:22

Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 eth0


Settings for eth0:
Supported ports: [ MII ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Supports auto-negotiation: Yes
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Advertised pause frame use: No
Advertised auto-negotiation: Yes
Speed: 1000Mb/s
Duplex: Full
Port: MII
PHYAD: 3
Transceiver: external
Auto-negotiation: on
Supports Wake-on: g
Wake-on: g
Link detected: yes




Maybe tweek your environment. Any flourescent tubes near the 
cables...try a different cable run or switch port?


Also I think forcedeath is reversed engineered.  You could try the 
backport kernel. Last resort ask your supplier to send another card?


Good luck,

Berni


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

Archive: http://lists.debian.org/4d332b99.1020...@elbournb.fsnet.co.uk



Re: Sata 3

2010-10-21 Thread Berni Elbourn

GeraldCC wrote:

Debian (All flavours) just does not run properly. By that I mean the system 
just behaves oddly. Some things do not work and rebooting also gives X 
problems.



Something here to suggest latest kernels needed ...

http://kerneltrap.org/mailarchive/linux-kernel/2010/6/15/4583184/thread

Have you tried the debian backport kernel, or a squeeze install?

Berni


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

Archive: http://lists.debian.org/4cbff716.9040...@elbournb.fsnet.co.uk



Re: directly install RH packages using rpm instead of alien

2010-09-22 Thread Berni Elbourn

T o n g wrote:
Hi, 

We all know that, 


,-
| On Debian and derived systems it is recommended to use alien to
| convert RPM packages into .deb format instead of bypassing the Debian
| package management system by installing them directly with rpm.
`-

However, I'm wondering if it OK to install RH packages directly using rpm 
instead of going through alien convention. 

The reason that I'm asking is that, 

- I'm installing a preparatory sw. It is only available in RH/Suse rpm 
packages. 
- There is a complicated installation script (think of being more 
complicated than VMWare), and rpm installation is just one of its single 
line.
- The only dependencies of the sw is actually JRE, so I'm hope I would 
avoid the infamous RH dependency hell.


But there is still one dependency there, and I don't know how to satisfy 
that. 


Do you have any similar experiences?

Thanks



Yes - don't do it. ;-)

Consider putting the application in a virtual machine, or asking the supplier 
for a proper Debian port?


Berni


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

Archive: http://lists.debian.org/4c99b25b.7000...@elbournb.fsnet.co.uk



Re: Lenny: howto install other packages then the default ones ???

2010-09-22 Thread Berni Elbourn

Kristoff Bonne wrote:


Hi,


I have a pretty anoying problem.

We have just installed a new server to replace an older one. For this 
one, we have chosen Deian Lenny instead of Debian Etch


Now we have a problem with mrtg, more specially the rrd-part of it.


The bug is know. It exists in rrdtool 1.3.1-4 and seams to be solved in 
1.3.7-1.



So how do I upgrade Lenny to this new version of rrd-tool?
Remove it and create it from source?



The packages impacted are
librrd4
linrrds-perl
rrdtool

(all running 1.3.1-4).



Cheerio! Kr. Bonne.




Try the shiny new official Debian backports service:

http://packages.debian.org/search?keywords=rrdtool

http://wiki.debian.org/Backports

Berni


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

Archive: http://lists.debian.org/4c99d88e.6040...@elbournb.fsnet.co.uk



Re: Nvidia card and Xen in lenny

2010-07-16 Thread Berni Elbourn

Panayiotis Karabassis wrote:


Hi!

I am trying to setup Lenny as dom0. However I cannot get the X server to 
start. I have tried drivers vesa, nv and nvidia. The latter causes the 
system to hang. Here is my output from driver nv. The output from vesa 
is similar (has the same errors).


Many thanks in advance!
Panayiotis

X.Org X Server 1.7.7
Release Date: 2010-05-04
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.32-5-amd64 x86_64 Debian
Current Operating System: Linux smyrna 2.6.32-5-xen-amd64 #1 SMP Tue Jun 
1 06:38:33 UTC 2010 x86_64

Kernel command line: root=/dev/mapper/lvm0-root ro quiet nomodeset
Build Date: 03 June 2010  03:01:44PM
xorg-server 2:1.7.7-2 (Julien Cristau jcris...@debian.org)
Current version of pixman: 0.16.4
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: /var/log/Xorg.0.log, Time: Fri Jul 16 08:38:20 2010
(==) Using config file: /etc/X11/xorg.conf
(==) Using system config directory /usr/share/X11/xorg.conf.d
(==) No Layout section.  Using the first Screen section.
(**) |--Screen Default Screen (0)
(**) |   |--Monitor Configured Monitor
(==) No device specified for screen Default Screen.
Using the first device section listed.
(**) |   |--Device Configured Video Device
(==) Automatically adding devices
(==) Automatically enabling devices
(WW) The directory /usr/share/fonts/X11/cyrillic does not exist.
Entry deleted from font path.
(WW) The directory /usr/share/fonts/X11/100dpi/ does not exist.
Entry deleted from font path.
(WW) The directory /usr/share/fonts/X11/75dpi/ does not exist.
Entry deleted from font path.
(WW) The directory /usr/share/fonts/X11/100dpi does not exist.
Entry deleted from font path.
(WW) The directory /usr/share/fonts/X11/75dpi does not exist.
Entry deleted from font path.
(WW) The directory /var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType 
does not exist.

Entry deleted from font path.
(==) FontPath set to:
/usr/share/fonts/X11/misc,
/usr/share/fonts/X11/Type1,
built-ins
(==) ModulePath set to /usr/lib/xorg/modules
(II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable 
AutoAddDevices.

(II) Loader magic: 0x7c5e80
(II) Module ABI versions:
X.Org ANSI C Emulation: 0.4
X.Org Video Driver: 6.0
X.Org XInput driver : 7.0
X.Org Server Extension : 2.0
(--) using VT number 7

(--) PCI: (0:0:3:5) 10de:0aa3:1734:1151 nVidia Corporation MCP79 
Co-processor rev 177, Mem @ 0xf050/524288
(--) PCI:*(0:2:0:0) 10de:086f:1734:1151 nVidia Corporation C79 [GeForce 
9200M G] rev 177, Mem @ 0xcc00/16777216, 0xd000/268435456, 
0xce00/33554432, I/O @ 0x4000/128

(II) Open ACPI successful (/var/run/acpid.socket)
(II) LoadModule: extmod
(II) Loading /usr/lib/xorg/modules/extensions/libextmod.so
(II) Module extmod: vendor=X.Org Foundation
compiled for 1.7.7, module version = 1.0.0
Module class: X.Org Server Extension
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension SELinux
(II) Loading extension MIT-SCREEN-SAVER
(II) Loading extension XFree86-VidModeExtension
(II) Loading extension XFree86-DGA
(II) Loading extension DPMS
(II) Loading extension XVideo
(II) Loading extension XVideo-MotionCompensation
(II) Loading extension X-Resource
(II) LoadModule: dbe
(II) Loading /usr/lib/xorg/modules/extensions/libdbe.so
(II) Module dbe: vendor=X.Org Foundation
compiled for 1.7.7, module version = 1.0.0
Module class: X.Org Server Extension
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DOUBLE-BUFFER
(II) LoadModule: glx
(II) Loading /usr/lib/xorg/modules/extensions/libglx.so
(II) Module glx: vendor=NVIDIA Corporation
compiled for 4.0.2, module version = 1.0.0
Module class: X.Org Server Extension
(II) NVIDIA GLX Module  195.36.24  Thu Apr 22 19:52:00 PDT 2010
(II) Loading extension GLX
(II) LoadModule: record
(II) Loading /usr/lib/xorg/modules/extensions/librecord.so
(II) Module record: vendor=X.Org Foundation
compiled for 1.7.7, module version = 1.13.0
Module class: X.Org Server Extension
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension RECORD
(II) LoadModule: dri
(II) Loading /usr/lib/xorg/modules/extensions/libdri.so
(II) Module dri: vendor=X.Org Foundation
compiled for 1.7.7, module version = 1.0.0
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension XFree86-DRI
(II) LoadModule: dri2
(II) Loading /usr/lib/xorg/modules/extensions/libdri2.so
(II) Module dri2: vendor=X.Org Foundation
compiled for 1.7.7, module version = 1.1.0
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DRI2
(II) LoadModule: nv
(II) 

Re: Trouble mounting an NFS share

2010-07-01 Thread Berni Elbourn

Robert Latest wrote:


client:/# showmount -e 192.168.1.2
Export list for 192.168.1.2:
/mnt/HD_b2 *
client:/# mount -v -t nfs 192.168.1.2:/mnt/HD_b2 /mnt
mount.nfs: timeout set for Mon Jun 28 21:53:10 2010
mount.nfs: trying text-based options
'vers=4,addr=192.168.1.2,clientaddr=192.168.1.11'
mount.nfs: mount(2): Input/output error
mount.nfs: mount system call failed

(the last two lines appear after several minutes).




Just a wild guess try -o nfsvers=3 ?

Berni


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

Archive: http://lists.debian.org/4c2c71c5.8070...@elbournb.fsnet.co.uk



Re: wireless (Atheros AR5001) was working on squeeze, then stopped

2010-06-30 Thread Berni Elbourn

Brian C. Wells wrote:

Hi. I have an HP G60-249WM laptop, and am currently using squeeze for
better wireless support.  (The latest kernel from backports might also
work; but after trying that, I can say it doesn't play well with the
non-free nvidia driver, which I also need.)

After upgrading to squeeze, and updating my firewall rules, the
wireless was working at first.  But while browsing the web a couple days
ago, network-manager repeatedly prompted me for my wireless password,
and would not accept the correct one.  Then I tried unchecking Enable
Wireless, hoping to re-check it later, but it went gray (disabled)!

After asking some questions and being given suggestions on #debian, and
searching the web (with my wired connection) for answers, I installed
the lshw and rfkill packages and found the following:

# lshw -C network
  *-network   
   description: Ethernet interface

  ...
  *-network DISABLED
   description: Wireless interface
   product: AR5001 Wireless Network Adapter
   vendor: Atheros Communications Inc.
   physical id: 0
   bus info: p...@:07:00.0
   logical name: wlan0
   version: 01
   serial: [MAC address]
   width: 64 bits
   clock: 33MHz
   capabilities: pm msi pciexpress msix bus_master cap_list ethernet
physical wireless
   configuration: broadcast=yes driver=ath5k latency=0 multicast=yes
wireless=IEEE 802.11bg
   resources: irq:23 memory:c200-c200

# rfkill list
0: phy0: Wireless LAN
Soft blocked: no
Hard blocked: yes

If I have read the top Google result for rfkill [1] correctly, this
means that the problem cannot be fixed by *any* software, and is thus a
hardware issue.  Is that right?

Assuming it is hardware, I have noticed that there is a button with a
little wireless logo LED.  Before I upgraded to squeeze, it was always
amber-colored.  Afterward, it was usually blue, but blinked between both
colors while I was browsing the web.  Now it is always blue.

I have tried pushing this button once, briefly; several times, quickly;
and holding it down for 30 seconds.  I have also tried every Fn-FXX key
combo from F1 to F12, and some combinations of these with the wireless
button.  No change.

I have also tried the Ubuntu LiveCD; it seems to have the same problem.
And I've tried removing network-manager, manual configuration and
ifdown/modprobe/ifup, and the alternative manager wicd.  None worked.

For additional reference, here's the information provided by ifconfig -a
and iwconfig:

# ifconfig -a
...
wlan0 Link encap:Ethernet  HWaddr [MAC address]  
  BROADCAST MULTICAST  MTU:1500  Metric:1

  RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1000 
  RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)


# iwconfig
...
wlan0 IEEE 802.11bg  ESSID:off/any  
  Mode:Managed  Access Point: Not-Associated   Tx-Power=off   
  Retry  long limit:7   RTS thr:off   Fragment thr:off

  Encryption key:off
  Power Management:off

So, is my wireless card fried?  Or what other information is needed to
know?

[1] http://www.mjmwired.net/kernel/Documentation/rfkill.txt





Just by way of comparison. Here is what I see on my hp laptop (also 
running squeeze) just now:


hp6715:~# lspci | grep Broadcom
10:00.0 Ethernet controller: Broadcom Corporation NetLink BCM5787M 
Gigabit Ethernet PCI Express (rev 02)
30:00.0 Network controller: Broadcom Corporation BCM4312 802.11a/b/g 
(rev 02)



hp6715:~# iwconfig wlan0
wlan0 IEEE 802.11abg  ESSID:
  Mode:Managed  Frequency:2.412 GHz  Access Point: 
Not-Associated

  Bit Rate:54 Mb/s   Tx-Power:32 dBm
  Retry min limit:7   RTS thr:off   Fragment thr:off
  Encryption key:off
  Power Managementmode:All packets received
  Link Quality=5/5  Signal level=0 dBm  Noise level=-57 dBm
  Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
  Tx excessive retries:32  Invalid misc:0   Missed beacon:0

It is currently on wires...but the wireless is on and Tx-power is still 
showing a number.


Maybe this suggests your wireless really is disabled or faulty ... try 
looking for a setting in your Bios menus that turns the wireless on and off?


Given it is an HP - you may have to run up another OS before logging a 
support call to make it easier to prove it is a hardware issue to them.


Good luck,

Berni


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

Archive: http://lists.debian.org/4c2ae419.9010...@elbournb.fsnet.co.uk



gvfs-fuse status?

2010-05-03 Thread Berni Elbourn

Hi,

Can anyone confirm if lenny or squeeze or sid gvfs-fuse works ... ie if 
you use places - connect to server it also mounts remote file systems 
under ~/.gvfs?


ta

Berni


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

Archive: http://lists.debian.org/4bdf1fde.1000...@elbournb.fsnet.co.uk



lenny/volatile KEYEXPIRED 1269969909

2010-03-31 Thread Berni Elbourn

Hi,

Is anyone else geting these when aptitude updating:

Fetched 44.6kB in 2min0s (369B/s)
Reading package lists... Done
W: GPG error: http://ftp.uk.debian.org lenny/volatile Release: The 
following signatures were invalid: KEYEXPIRED 1269969909 KEYEXPIRED 
1269969909 KEYEXPIRED 1269969909

W: You may want to run apt-get update to correct these problems



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

Archive: http://lists.debian.org/4bb3960e.2090...@elbournb.fsnet.co.uk



Re: lenny/volatile KEYEXPIRED 1269969909

2010-03-31 Thread Berni Elbourn

Berni Elbourn wrote:


Hi,

Is anyone else geting these when aptitude updating:

Fetched 44.6kB in 2min0s (369B/s)
Reading package lists... Done
W: GPG error: http://ftp.uk.debian.org lenny/volatile Release: The 
following signatures were invalid: KEYEXPIRED 1269969909 KEYEXPIRED 
1269969909 KEYEXPIRED 1269969909

W: You may want to run apt-get update to correct these problems





Ok a bit more. Thanks to a steer from the Surrey LUG ... the 
etch/volatile key expired today...


I deleted that key:

pub   1024D/BBE55AB3 2007-03-31 [expired: 2010-03-30]
uid  Debian-Volatile Archive Automatic Signing Key 
(4.0/etch)


Now I get:

Fetched 44.6kB in 2min0s (370B/s)
Reading package lists... Done
W: GPG error: http://ftp.uk.debian.org lenny/volatile Release: The 
following signatures couldn't be verified because the public key is not 
available: NO_PUBKEY EC61E0B0BBE55AB3

W: You may want to run apt-get update to correct these problems

Hopefully the lenny/volatile mirrors will update soon...?

Berni


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

Archive: http://lists.debian.org/4bb3a966.7060...@elbournb.fsnet.co.uk



Re: lenny/volatile KEYEXPIRED 1269969909

2010-03-31 Thread Berni Elbourn

d.sastre.med...@gmail.com wrote:

On Wed, Mar 31, 2010 at 07:35:58PM +0100, Berni Elbourn wrote:

Hi,

Is anyone else geting these when aptitude updating:

Fetched 44.6kB in 2min0s (369B/s)
Reading package lists... Done
W: GPG error: http://ftp.uk.debian.org lenny/volatile Release: The 
following signatures were invalid: KEYEXPIRED 1269969909 KEYEXPIRED 
1269969909 KEYEXPIRED 1269969909

W: You may want to run apt-get update to correct these problems


WJFFM.



Which mirror are you using?


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

Archive: http://lists.debian.org/4bb3afe8.3010...@elbournb.fsnet.co.uk



Re: lenny/volatile KEYEXPIRED 1269969909

2010-03-31 Thread Berni Elbourn

d.sastre.med...@gmail.com wrote:

On Wed, Mar 31, 2010 at 09:26:16PM +0100, Berni Elbourn wrote:

d.sastre.med...@gmail.com wrote:

On Wed, Mar 31, 2010 at 07:35:58PM +0100, Berni Elbourn wrote:

Hi,

Is anyone else geting these when aptitude updating:

Fetched 44.6kB in 2min0s (369B/s)
Reading package lists... Done
W: GPG error: http://ftp.uk.debian.org lenny/volatile Release: The 
following signatures were invalid: KEYEXPIRED 1269969909 KEYEXPIRED 
1269969909 KEYEXPIRED 1269969909

W: You may want to run apt-get update to correct these problems

WJFFM.


Which mirror are you using?


$ cat /etc/apt/sources.list.d/volatile.list
deb http://volatile.debian.org/debian-volatile lenny/volatile main
contrib non-free
deb-src http://volatile.debian.org/debian-volatile lenny/volatile main
contrib non-free


Great. Thanks that one works here too  ... seems the uk mirrors just 
need to update.


Berni


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

Archive: http://lists.debian.org/4bb3bd2b.9080...@elbournb.fsnet.co.uk



Re: ssh warning!

2010-03-24 Thread Berni Elbourn

consul tores wrote:

Hello

I do not want to create panic, but playing with my Lenny Laptop,
against Squezee and ArchLinux; i got (literaly) access without
password.
Conditions:
New installation in my testing box, from Lenny i was ready to edit
sshd_config after intallation, and i opened a console, i did ssh
r...@ip, when ssh asked me for password, i opened a window doing
fish://r...@ip, magically i was inside my Squezee or ArchLinux box.
I tested it few times and it was the same thing 1/20 aproximately, i
could not find a logical explanation but it happened. has someone
found something similar?

francisco




Sure, just set a valid cached password for the target systems.

I have always found fish to be unreliable so your 1 in 20 sounds about 
normal to me.


Berni


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

Archive: http://lists.debian.org/4ba9f1b1.4020...@elbournb.fsnet.co.uk



Re: On Access Virus Scanner Recommendation

2009-11-30 Thread Berni Elbourn

Holger Rauch wrote:

Hi,

On Fri, 27 Nov 2009, Paul Johnson wrote:


Holger Rauch wrote:


I'm thinking about using NOD32 on a Debian system for on access virus
scanning (i.e. scan a file when it's created or its contents are
modified in some way).

Why, when it's so much easier to not allow connections from insecure
operating systems prone to virus infection to start with?


Because disallowing these connections (unfortunately) is not an option
since Windows clients are used in my company and they too need to be
able to both access and modify files on our file server.

What's even more interesting though is: Which is the right Dazuko
version to choose? There are several of them around.

Kind regards,

 Holger
 


Or look at it the other way round

Linux is not vulnerable to windows virus. Note the careful wording ;-) 
So don't waste valuable server cpu cycles on-access scanning on a Linux 
server. Instead protect your Linux with things like rkhunter.


Also all your windows PCs already have to run on-access scanners anyway 
- right.


So a virus should never get near the server anyway at least in theory...

In practice virus do often get through simply because the virus profiles 
available for both server and clients PCs are always one step behind the 
crooks. Best you can do is have have regular full virus scans on the 
Windows PCs hard disks to fix once the anti-virus companies catch up.


You could be very sociable and scan the files at quiet times on the 
server and quarantine...clamav does a nice job at no cost. You can also 
use it as a quality check on your commercial scanner.


Good luck,

Berni


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




Re: Anyone using an IP1000A on a 10/100/1000 network in Lenny?

2009-11-26 Thread Berni Elbourn

Berni Elbourn wrote:


Howdy,

I put Lenny on a system recently it seems the ipg.ko module in Lenny and 
backport kernels does not work under any kind of high load. :-(


About a minute after rebooting into Lenny's 2.6.26 kernel the interface 
just stopped working. Nothing in logs...but pings failed...and users 
were upset. ;-)  An ifdown/ifup fixed until the next peak. I could 
reproduce the problem by simply copying a file from their NAS. I tried 
2.6.30 from backports - same fault.


Anyhoo - for now I have put the system back on the Etch 2.6.18 kernel 
and it is running fine again. Its an odd configuration...old stable 
kernel but stable applications but it seems to work fine though. :-D


So far I have drawn a blank on Google. The module on the manufacturers 
site does not compile on 2.6.26:


http://www.icplus.com.tw/driver-pp-IP1000A.html

Any pointers how to debug or fix this kind of thing? At this stage I 
feel have nothing useful for a bug report...also it would be comforting 
to know if anyone here has one of these running nicely on a 10/100/1000 
network with a post Etch kernel?


Berni

PS: I don't know if it is significant but there are 4 interfaces on the 
system. Two onboard nvidia and two of these IP1000 cards.


00:08.0 Bridge: nVidia Corporation MCP55 Ethernet (rev a3)
00:09.0 Bridge: nVidia Corporation MCP55 Ethernet (rev a3)
01:07.0 Ethernet controller: Sundance Technology Inc / IC Plus Corp 
IP1000 Family Gigabit Ethernet (rev 41)
01:08.0 Ethernet controller: Sundance Technology Inc / IC Plus Corp 
IP1000 Family Gigabit Ethernet (rev 41)





Fortunately I sourced them from the reputable Linux systems supplier 
Dnuk. Dnuk today confirmed huge packet loss with any modern Linux distro 
/ kernel and the (OEM) driver does not compile on anything newer than 
2.6.24 from the looks of it.


I am eternally grateful to Dnuk who are now swapping the Sundance cards 
for something better. Least I can do for Dnuk is give a plug here for 
this excellent service:


http://www.dnuk.com/

Berni


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




Anyone using an IP1000A on a 10/100/1000 network in Lenny?

2009-11-23 Thread Berni Elbourn

Howdy,

I put Lenny on a system recently it seems the ipg.ko module in Lenny and 
backport kernels does not work under any kind of high load. :-(


About a minute after rebooting into Lenny's 2.6.26 kernel the interface 
just stopped working. Nothing in logs...but pings failed...and users 
were upset. ;-)  An ifdown/ifup fixed until the next peak. I could 
reproduce the problem by simply copying a file from their NAS. I tried 
2.6.30 from backports - same fault.


Anyhoo - for now I have put the system back on the Etch 2.6.18 kernel 
and it is running fine again. Its an odd configuration...old stable 
kernel but stable applications but it seems to work fine though. :-D


So far I have drawn a blank on Google. The module on the manufacturers 
site does not compile on 2.6.26:


http://www.icplus.com.tw/driver-pp-IP1000A.html

Any pointers how to debug or fix this kind of thing? At this stage I 
feel have nothing useful for a bug report...also it would be comforting 
to know if anyone here has one of these running nicely on a 10/100/1000 
network with a post Etch kernel?


Berni

PS: I don't know if it is significant but there are 4 interfaces on the 
system. Two onboard nvidia and two of these IP1000 cards.


00:08.0 Bridge: nVidia Corporation MCP55 Ethernet (rev a3)
00:09.0 Bridge: nVidia Corporation MCP55 Ethernet (rev a3)
01:07.0 Ethernet controller: Sundance Technology Inc / IC Plus Corp 
IP1000 Family Gigabit Ethernet (rev 41)
01:08.0 Ethernet controller: Sundance Technology Inc / IC Plus Corp 
IP1000 Family Gigabit Ethernet (rev 41)



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




Re: slow backup using lvm snapshots and tar

2009-11-05 Thread Berni Elbourn

Israel Garcia wrote:

Hi list:

I'm using this command to create s snapshot of every LV's server,
mount the LV, make a TGZ to a shared folder (NFS),  then umount LV
image and remove snapshot LV. The problem is tar backup is extremely
slow (it takes 3 hours to make backup of all servers).

This is the command I'm using:

for vps in `cat vps`; do lvcreate -L10G -s -n $vpssnapshot
/dev/vg0/$vps.domain-disk  mount /dev/vg0/$vpssnapshot
/mnt/vmbackup  cd /mnt/vmbackup  nice -n 19 tar pczf
/shared/lvbackups/$vps_`date +%F` .  cd ; umount /mnt/vmbackup 
lvremove -f /dev/vg0/$vpssnapshot;done

My question is:
How can I make TAR backup faster? is it possible? Is there other
command faster than TGZ in this case?

thanks in advance.



Great fun this kind of thing...

Look at the nfs export - fiddle with the r/wsize parameters:

http://www.linuxselfhelp.com/HOWTO/NFS-HOWTO/performance.html

Enough space. Produce the tar file locally then copy to the remote 
serverif security permits with ftp.


Lots of space...Do the backups in parallel. bash wait is your friend:

http://www.museum.state.il.us/ismdepts/library/linuxguides/abs-guide/x5514.html

BTW: The p in pczf is an option for restore.

Enjoy...


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




Student filter breaking Debian installs

2009-06-23 Thread Berni Elbourn

Hi,

Our nice network chappie has opened restriction on .gpg, .gz .bz2  .deb 
and files without . but something is is still not working...


Here's a log of an aptitude update:

94% [6 Translation-en_GB bzip2 0] [Connecting to ftp.uk.debian.org 
(83.142.228.bzip2: (stdin) is not a bzip2 file.
Ign http://ftp.uk.debian.org lenny/main Translation-en_GB 

63% [7 Translation-en_GB bzip2 0] [Connecting to ftp.uk.debian.org 
(83.142.228.bzip2: (stdin) is not a bzip2 file.


And then things fall apart...repeating gets forever.

I am sorry but looking over the repository I cant find Translation-en_GB

What real file is involved here please so we can add to the filter 
exceptions?


Are there any others we should check?

ta

Berni


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




Re: Student filter breaking Debian installs

2009-06-23 Thread Berni Elbourn

Florian Kulzer wrote:

As far as I understand it, apt(itude) should realize that there are no
Translation-en_GB.* files in the main/i18n directory and therefore it
should ignore the translation and move on. Is it possible that your
filtering/proxy setup returns some notification text (instead of a 404
error) if a non-existing or blocked file is requested from the web? I
could see how that might confuse apt. The messages that you posted
suggest that apt does receive some content for the translation file and
I do not think that this content comes from the Debian server.

What happens if you try to retrieve the non-existing translation file
with wget?

wget http://ftp.uk.debian.org/debian/dists/lenny/main/i18n/Translation-en_GB.bz2



Oh boy...a whole pile of html comes back telling the story of why that 
page is blocked.


Good spot - thanks,

Berni


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




Re: Getting DHCP logs OUT of syslog

2008-09-06 Thread Berni Elbourn

Jim Hyslop wrote:

Hi,

I have configured my dhcp.conf to use the local7 facility for logging.
Works great - all the DHCP info goes into /var/log/bind.log, as
configued in /etc/syslog.conf.

HOWEVER! All the DHCP logging info is *still* going into /var/log/syslog
 as well - i.e. the DHCP info now goes into BOTH logs. How do I tell
DHCP to send the logs ONLY to local7?

I've tried restarting dhcpd and the syslog daemon, with no luck.



Try something like this in your /etc/syslog.conf:

*.*;auth,authpriv.none;!local7  -/var/log/syslog
local7.*-/var/log/dhcpd3.log


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: How to refresh Debian to install software set

2008-04-25 Thread Berni Elbourn

Mumia W.. wrote:

On 04/24/2008 11:40 AM, Dennis G. Wicks wrote:

[...]
I don't know if I have a system that qualifies as a good system 
right now! :-(





What do you mean when you say they don't have a full set of packages?

How do you know that packages are missing?

How do you know which packages are missing?




A good system in my world has the absolute minimum of files to do the 
job properly. For a start there is by definition going to be less 
potential for security holes...anyhooo try this:


# tasksel

Berni


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: vmware-server with 2.6.24

2008-03-20 Thread Berni Elbourn

http://blog.creonfx.com/temp/vmware-any-any-update-116.tgz works for me.


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Debian on HP ML115?

2007-10-16 Thread Berni Elbourn
Hi,

Has anyone out there run Debian on the HP Proliant ML-115 Opteron ...
more specifically can its SATA disks be accessed individually for linux
raid?

Thanks,

Berni


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Write to tape in high density

2006-01-20 Thread Berni Elbourn

Claudio Plateroti wrote:

Hi, I need to write to tape in high density .
I did this :

ServArch:~# dump 0f /dev/nst0a /boot

snip

What's the problem ?


Possibly the tape is not installed at /dev/nst0. Try:

# dmesg | more

and see which device has been allocated.

http://www.mssl.ucl.ac.uk/www_computing/buns/tapes.html may help.

Good luck.

Berni


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Does SATA ICH7 south bridge work?

2005-12-16 Thread Berni Elbourn
Can you confirm if ICH7 chipset works reliably on Debian with Linux 
software raid?


Some background: A customer of mine is getting a system from Evesham 
following recurring problems with active directory and exchange - very 
nice too. However, I'd like to use Debian on it to get away from active 
directory completely.


Trouble is that although Evesham are fine supplier they are not a Linux 
shop...the server is described as a 200NH using an ICH7 south bridge, 
It is one of those systems with the sata raid controller built into the 
motherboard.


Also can you recommend a reasonable cost Sata card that does work 
production style with Debian...so that if the above does have problems I 
have a rescue plan.


Huge and many thanks,

Berni


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]