-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Benoit Audouard wrote:
| an eaglediag -sui # will show your configuration (type of usb)
see attachements
|testconnect is only a workaround, it's better to stabilize the
|configuration than use it.
|yours may be interesting, just send it (under GPL licensing ?).
As I said it is very basic and quite harsh with the problem, still it
gives me the insurrance that the connection is up 24/24. All debugging
is in french and as it is croned, it mails me when there is a problem
(mail server on the lan). Should have usb in module. Licensing,
baaah... choose GPL-2 or + ;)
|>Maybe it's all because of my gentoo :)
|
|mainly depends on options you used to compile your kernel... if exotic.
|
No exotic things in it, just the very basic for the hardware and
routing. I'll try the acpi=off trick.
|hum, you could have written in French or used the
|http://forum.eagle-usb.org
Well, as the ml tend to be in English these times, I keep on :) and
I'm not fond of forums.
++
- --
EvaSDK
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFCH7Y/1fmVwcYIWAYRAmzjAJ958Uz6C+BA16awx7bSws5I2tiH3QCgwQy8
CJAWn7GmWanm76lrpAjdiQg=
=giJ+
-----END PGP SIGNATURE-----
#!/bin/bash
LINK_OK=$(ps aux | egrep pppd | egrep -v "egrep pppd" | wc -l)
DATE=$(date "+%H:%M")
RC_SCRIPT="/etc/init.d/eagle-usb"
IFCONFIG=/sbin/ifconfig
if [[ $LINK_OK -ge 1 ]]
then
echo "Lien actif" &> /dev/null
else
echo "PPPD est-il vraiment mort ?"
echo "==="
ps aux | egrep pppd | egrep -v "egrep pppd"
echo "==="
echo "Est-ce que l'interface est toujours up"
echo "eth1 : "
$IFCONFIG eth1
echo "ppp0 : "
$IFCONFIG ppp0
if [[ $(ps aux | egrep pppoa | wc -l) -ge 1 ]]
then
echo "Plusieurs pppoa détecté :"
ps aux | egrep pppoa
killall -9 pppoa
fi
echo "Le script rapporte :"
$RC_SCRIPT status
#echo "Lien mort";
echo "Connexion ADSL inactive à $DATE"
echo "++ arrêt du service : "
$RC_SCRIPT stop
STATUS=$($RC_SCRIPT status | egrep "stopped")
if [[ -z $STATUS ]]
then
echo "++ le service a du être réinitialisé"
$RC_SCRIPT zap
fi;
/sbin/rmmod eagle-usb
/sbin/rmmod uhci-hcd
echo "Sleeping..."
sleep 5
echo "Probing usb module"
/sbin/modprobe uhci-hcd
echo "Sleeping..."
sleep 5
echo "++ redémarrage du service"
$RC_SCRIPT start
fi;
Diagnostic (1.21 2005/01/16) driver eagle-usb 20050226001813
# System Information
Linux shinobu 2.6.10 #1 Sat Jan 29 15:04:14 CET 2005 i686 Pentium II
(Deschutes) GenuineIntel GNU/Linux
Gentoo Base System version 1.6.9
Linux version 2.6.10 ([EMAIL PROTECTED]) (version gcc 3.4.3 20050110 (Gentoo
Linux 3.4.3.20050110, ssp-3.4.3.20050110-0, pie-8.7.7)) #1 Sat Jan 29 15:04:14
CET 2005
version gcc 3.4.3 20050110 (Gentoo Linux 3.4.3.20050110, ssp-3.4.3.20050110-0,
pie-8.7.7)
# Dependances
Verify dependances on source by hand (kernel-source...)
lrwxrwxrwx 1 root root 25 jan 29 15:24 linux -> /usr/src/linux-2.6.10-r1/
drwxr-xr-x 18 root root 664 déc 26 16:48 linux-2.6.10
drwxr-xr-x 19 root root 1312 fév 12 00:41 linux-2.6.10-r1
drwxr-xr-x 18 root root 664 fév 5 17:35 linux-2.6.11-rc3
# Kernel config : usb modules
eagle_usb 123008 0
uhci_hcd 30224 0
# pci & usb configuration (check for latency, only keep relevant lines about
USB)
0000:00:00.0 Host bridge: Intel Corp. 440BX/ZX/DX - 82443BX/ZX/DX Host bridge
(rev 02)
0000:00:01.0 PCI bridge: Intel Corp. 440BX/ZX/DX - 82443BX/ZX/DX AGP bridge
(rev 02)
0000:00:0e.0 Ethernet controller: 3Com Corporation 3c590 10BaseT [Vortex]
0000:00:14.0 ISA bridge: Intel Corp. 82371AB/EB/MB PIIX4 ISA (rev 02)
0000:00:14.1 IDE interface: Intel Corp. 82371AB/EB/MB PIIX4 IDE (rev 01)
0000:00:14.2 USB Controller: Intel Corp. 82371AB/EB/MB PIIX4 USB (rev 01)
0000:00:14.3 Bridge: Intel Corp. 82371AB/EB/MB PIIX4 ACPI (rev 02)
0000:01:00.0 VGA compatible controller: Matrox Graphics, Inc. MGA G200 AGP (rev
01)
PCI devices found:
Bus 0, device 0, function 0:
Host bridge: Intel Corp. 440BX/ZX/DX - 82443BX/ZX/DX Host bridge (rev 2).
Master Capable. Latency=64.
Prefetchable 32 bit memory at 0x44000000 [0x47ffffff].
Bus 0, device 1, function 0:
PCI bridge: Intel Corp. 440BX/ZX/DX - 82443BX/ZX/DX AGP bridge (rev 2).
Master Capable. Latency=64. Min Gnt=140.
Bus 0, device 14, function 0:
Ethernet controller: 3Com Corporation 3c590 10BaseT [Vortex] (rev 0).
IRQ 11.
Master Capable. Latency=248. Min Gnt=3.Max Lat=8.
I/O at 0x1040 [0x105f].
Bus 0, device 20, function 0:
ISA bridge: Intel Corp. 82371AB/EB/MB PIIX4 ISA (rev 2).
Bus 0, device 20, function 1:
IDE interface: Intel Corp. 82371AB/EB/MB PIIX4 IDE (rev 1).
Master Capable. Latency=64.
I/O at 0x1030 [0x103f].
Bus 0, device 20, function 2:
USB Controller: Intel Corp. 82371AB/EB/MB PIIX4 USB (rev 1).
IRQ 11.
Master Capable. Latency=64.
I/O at 0x1000 [0x101f].
Bus 0, device 20, function 3:
Bridge: Intel Corp. 82371AB/EB/MB PIIX4 ACPI (rev 2).
IRQ 9.
Bus 1, device 0, function 0:
VGA compatible controller: Matrox Graphics, Inc. MGA G200 AGP (rev 1).
IRQ 11.
Master Capable. Latency=64. Min Gnt=16.Max Lat=32.
Prefetchable 32 bit memory at 0x41000000 [0x41ffffff].
Non-prefetchable 32 bit memory at 0x40800000 [0x40803fff].
Non-prefetchable 32 bit memory at 0x40000000 [0x407fffff].
Bus 001 Device 002: ID 1110:900f Analog Devices Canada, Ltd (Allied Telesyn)
AT-AR215 DSL Modem
Bus 001 Device 001: ID 0000:0000
# interruptions' affectation
CPU0
0: 302790615 XT-PIC timer
1: 1755 XT-PIC i8042
2: 0 XT-PIC cascade
5: 1 XT-PIC ES18xx
7: 0 XT-PIC parport0
8: 3 XT-PIC rtc
9: 0 XT-PIC acpi
11: 64627245 XT-PIC eth0, uhci_hcd
14: 445436 XT-PIC ide0
15: 27 XT-PIC ide1
NMI: 0
LOC: 0
ERR: 0
# module loaded ? [ OK ]
# modem operational ? [ OK ]
eagle-usb status display
-------------------------------------------------------------
Driver version 2 Chipset: Eagle0
Vendor ID : 0x1110 Product ID : 0x900f Rev: 0x410b
USB Bus : 001 USB Device : 002 Dbg mask: 0x0
Ethernet Interface : eth1
MAC: 00:60:4c:0f:de:9e
Tx Rate 160 Rx Rate 2432
FEC 207 Margin 32 Atten 19 dB
VID-CPE 0 VID-CO 28 HEC 24
VPI 8 VCI 35 Delin GOOD
Cells Tx 670037 Cells Rx 3278633
Pkts Tx 194410 Pkts Rx 228416
OAM 0 Bad VPI 0 Bad CRC 0
Oversiz. 0
Modem is operational
# Config vpi/vci/encapsulation/isp : 8 23 6 (pppoa) FR01
# pppd launched ? [ OK ]
# Service for connection [ OK ]
# ping IP ? [ OK ]
# test DNS resolution ? [ OK ]