Session de tests du 29/10/2003 et 30/10/2003
Bilan courant : j'ai pas pu tester complétement, quelques bugs notables ci-dessous
Bon après réinstall' nouveau kernel de Mandrake (+ driver nvidia... z'auraient pu l'inclure ces ballots ! ça m'a fait planter X, moi qui pensait que j'aurais pu à le recompiler...) j'ai eu un freeze qui m'a fait perdre tout mon doc' de suivi de mes tests...
Le driver compile avec le nouveau noyau 2.4.22-21mdk (qui d'ailleurs inclut 3rdparty/adiusbadsl... avec tous les sources) => je crois qu'on va demander ça à Mandrake pour éviter d'avoir à fournir 15000 packages du driver (regarder contenu de adiusbadsl-1.0.4-1mdk.rpm, il ne doit y avoir que les scripts...)
Test Hotplug : me semble ok après correction bug 003 ci-dessous
Dans
DocumentationFonctionnalites j'ai rajouté que je souhaitais que la connexion au démarrage soit en asynchrone (et pas synchrone comme actuellement) car quand ça marche pas (ou la synchro prend du temps...) tu peux rien faire à part attendre...
Bug20031030_001 : make uninstall désinstalle pas tout
le adiusbadsl reste chargé, il se charge en même temps que eagle-usb... j'ai dû
rmmod adiusbadsl (et j'ai pas mis à jour
/etc/modules.conf... shame on me, ça m'a empêcher de tester la connexion au démarrage vu qu'il y a conflit entre les deux)
à voir si à mettre dans le Makefile eagle-usb ou package : il faut désinstaller adiusbadsl (celui installé par Mandrake) et désinstaller eagle-usb (installé par nouveau paquet)
bizarre, dans uninstOld, y'a bien la ligne "rmmod adiusbadsl". Faudrait essayer de lancer manuellement le script.
le rpm de la mdk 9.1 est supprimé au même moment. Pour le Mdk9?.2, ça doit aussi fonctionner car il y a "rpm -e adiusbadsl"
il est tenace le bougre, il se recharge ! Pourtant ya pas trace de lui dans
cat /etc/hotplug/usb.usermap |grep 1110 (et des 9010, 9021 et consors non plus...)
eu_dsp 0x0003 0x1110 0x900f 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
j'ai fait un
mv adiusbadsl.o/gz adiusbadsl.o.gz.jenveuxpas dans
/lib/modules/2.4.22-21mdk/kernel/3rdparty/adiusbadsl/
le
rpm -e adiusbadsl marche pas car le module est dans le noyau : je crois qu'il va falloir l'effacer... (pas le noyau !) ;-p --
BenoitAudouard
Bug20031030_002 : eagleconfig charge pas bien le module
le
modprobe eagle-usb échoue et eagleconfig renvoit un code OK, le startadsl trouve un prefirmware modem donc KO
=>
insmod eagle-usb à la main (après le
rmmod adiusbadsl du Bug20031030_001 sinon il ne marche pas)
=> relance eagleconfig : ok et startadsl ok
j'ai fait la technique bourrine consiste à faire un depmod -a à chaque eagleconfig. Pour le code d'erreur c'est aussi corrigé.
ok clos : pourquoi pas un
insmod eagle-usb ? c'est plus rapide que
depmod -a ; modprobe eagle-usb --
BenoitAudouard
Bug20031030_003 : hotplug réussit pas à lancer eaglectrl
cf. traces ci-dessous du démarrage, peut-être mettre le chemin de eaglectrl complet ?
ah oui, je crois que je viens de comprendre ton histoire de setvars qui veut pas s'exécuter maintenant... bon ben va falloir dire qu'il est dans /etc/eagle-usb/scripts en dur dans le script : là il ne peut marcher que lancé de ce répertoire vu la ligne
. ./setvars moi je mettrais
. /etc/eagle-usb/scripts/setvars
C'est ce que j'ai fait pour faire tourner hotplug : ça devrait marcher au démarrage maintenant... ça marche du feu de dieu comme ça --
BenoitAudouard
J'ai mis mes traces d'install
http://baud123.free.fr/eagle/eagletests_20031030.txt (22 ko)
Le bon ordre pour faire les choses :
#récup du cvs
cd eagle-usb
./autogen.sh
./configure
make uninstall
cd packages/mandrake9.1
make uninstall
cd ../..
make
make install
cd packages/mandrake9.1
# débrancher modem
make install
insmod eagle-usb # comme ça il est chargé
eagleconfig
# rebrancher modem et peut-être rmmod adiusbadsl (il revient)
eagleconfig
startadsl
#je reboote pour voir si ça marche
Rigolo le redémarrage ou adiusbadsl le lapin duracell (ça rime)
Oct 31 00:47:40
BenAthlux kernel: usb-uhci.c: $Revision: 1.275 $ time 23:12:00 Oct 24 2003
Oct 31 00:47:40
BenAthlux kernel: usb-uhci.c: High bandwidth mode enabled
Oct 31 00:47:40
BenAthlux kernel: usb-uhci.c: USB UHCI at I/O 0xe400, IRQ 10
Oct 31 00:47:40
BenAthlux kernel: usb-uhci.c: Detected 2 ports
Oct 31 00:47:40
BenAthlux kernel: usb.c: new USB bus registered, assigned bus number 1
Oct 31 00:47:40
BenAthlux kernel: hub.c: USB hub found
Oct 31 00:47:40
BenAthlux kernel: hub.c: 2 ports detected
Oct 31 00:47:40
BenAthlux kernel: usb-uhci.c: USB UHCI at I/O 0xe000, IRQ 10
Oct 31 00:47:40
BenAthlux kernel: usb-uhci.c: Detected 2 ports
Oct 31 00:47:40
BenAthlux kernel: usb.c: new USB bus registered, assigned bus number 2
Oct 31 00:47:40
BenAthlux kernel: hub.c: USB hub found
Oct 31 00:47:40
BenAthlux kernel: hub.c: 2 ports detected
Oct 31 00:47:40
BenAthlux kernel: usb-uhci.c: USB UHCI at I/O 0xdc00, IRQ 10
Oct 31 00:47:40
BenAthlux kernel: usb-uhci.c: Detected 2 ports
Oct 31 00:47:40
BenAthlux kernel: usb.c: new USB bus registered, assigned bus number 3
Oct 31 00:47:40
BenAthlux kernel: hub.c: USB hub found
Oct 31 00:47:40
BenAthlux kernel: hub.c: 2 ports detected
Oct 31 00:47:40
BenAthlux kernel: usb-uhci.c: v1.275:USB Universal Host Controller Interface driver
Oct 31 00:47:40
BenAthlux kernel: usbdevfs: remount parameter error
Oct 31 00:47:40
BenAthlux kernel: hub.c: new USB device 00:11.3-1, assigned address 2
Oct 31 00:47:40
BenAthlux kernel: usb.c: USB device 2 (vend/prod 0x1110/0x900f) is not claimed by any active driver.
Oct 31 00:47:40
BenAthlux kernel: [eagle-usb] driver V1.0.5_pre1_cvs loaded
Oct 31 00:47:40
BenAthlux kernel: usb.c: registered new driver eagle-usb
Oct 31 00:47:40
BenAthlux kernel: [eagle-usb] New USB ADSL device detected, waiting for DSP code...
Oct 31 00:47:40
BenAthlux kernel: [eagle-usb] created proc entry at : /proc/driver/eagle-usb/002-002
Oct 31 00:47:40
BenAthlux kernel: usb.c: registered new driver acm
Oct 31 00:47:40
BenAthlux kernel: acm.c: v0.21:USB Abstract Control Model driver for USB modems and ISDN adapters
Oct 31 00:47:40
BenAthlux kernel: [adi] driver V1.0.4 loaded
Oct 31 00:47:40
BenAthlux kernel: usb.c: registered new driver adiusbadsl
Oct 31 00:46:23
BenAthlux usb: Initialisation du contrôleur USB (usb-uhci) : succeeded
Oct 31 00:46:23
BenAthlux usb: Montage du système de fichier USB succeeded
Oct 31 00:46:29
BenAthlux /etc/hotplug/usb.agent: Setup eagle-usb acm adiusbadsl for USB product 1110/900f/410b
Oct 31 00:46:29
BenAthlux last message repeated 2 times
Oct 31 00:46:29
BenAthlux /etc/hotplug/usb.agent: ... no modules for USB product 0/0/0
Oct 31 00:46:29
BenAthlux last message repeated 2 times
Oct 31 00:46:29
BenAthlux insmod: insmod: a module named eagle-usb already exists
Oct 31 00:46:29
BenAthlux insmod: insmod: a module named eagle-usb already exists
Oct 31 00:46:29
BenAthlux modprobe: modprobe: insmod /lib/modules/2.4.22-21mdk/misc/eagle-usb.o failed <27>Oct 31 00:46:29 modprobe: modprobe: insmod eagle-usb failed
Oct 31 00:46:29
BenAthlux /etc/hotplug/usb.agent: ... can't load module eagle-usb
Oct 31 00:46:29
BenAthlux modprobe: modprobe: insmod /lib/modules/2.4.22-21mdk/misc/eagle-usb.o failed <27>Oct 31 00:46:29 modprobe: modprobe: insmod eagle-usb failed
Oct 31 00:46:29
BenAthlux /etc/hotplug/usb.agent: ... can't load module eagle-usb
Oct 31 00:46:29
BenAthlux /etc/hotplug/usb.agent: missing kernel or user mode driver eagle-usb
Oct 31 00:46:29
BenAthlux /etc/hotplug/usb.agent: missing kernel or user mode driver eagle-usb
Oct 31 00:46:30
BenAthlux insmod: insmod: a module named acm already exists
Oct 31 00:46:30
BenAthlux insmod: insmod: a module named acm already exists
Oct 31 00:46:30
BenAthlux modprobe: modprobe: insmod /lib/modules/2.4.22-21mdk/kernel/drivers/usb/acm.o.gz failed
Oct 31 00:46:30
BenAthlux /etc/hotplug/usb.agent: ... can't load module acm
Oct 31 00:46:30
BenAthlux /etc/hotplug/usb.agent: missing kernel or user mode driver acm
Oct 31 00:46:30
BenAthlux modprobe: modprobe: insmod /lib/modules/2.4.22-21mdk/kernel/drivers/usb/acm.o.gz failed
Oct 31 00:46:30
BenAthlux /etc/hotplug/usb.agent: ... can't load module acm
Oct 31 00:46:30
BenAthlux /etc/hotplug/usb.agent: missing kernel or user mode driver acm
Oct 31 00:46:30
BenAthlux insmod: insmod: a module named adiusbadsl already exists
Oct 31 00:46:30
BenAthlux insmod: insmod: a module named adiusbadsl already exists
Oct 31 00:46:30
BenAthlux modprobe: modprobe: insmod /lib/modules/2.4.22-21mdk/kernel/3rdparty/adiusbadsl/adiusbadsl.o.gz failed <27>Oct 31 00:46:30 modprobe: modprobe: insmod adiusbadsl failed
Oct 31 00:46:30
BenAthlux /etc/hotplug/usb.agent: ... can't load module adiusbadsl
Oct 31 00:46:30
BenAthlux /etc/hotplug/usb.agent: missing kernel or user mode driver adiusbadsl
Oct 31 00:46:30
BenAthlux modprobe: modprobe: insmod /lib/modules/2.4.22-21mdk/kernel/3rdparty/adiusbadsl/adiusbadsl.o.gz failed <27>Oct 31 00:46:30 modprobe: modprobe: insmod adiusbadsl failed
Oct 31 00:46:30
BenAthlux /etc/hotplug/usb.agent: ... can't load module adiusbadsl
Oct 31 00:46:30
BenAthlux /etc/hotplug/usb.agent: missing kernel or user mode driver adiusbadsl
Oct 31 00:46:30
BenAthlux /etc/hotplug/usb.agent: Setup eu_dsp for USB product 1110/900f/410b
Oct 31 00:46:30
BenAthlux last message repeated 2 times
Oct 31 00:46:30
BenAthlux /etc/hotplug/usb.agent: Module setup eu_dsp for USB product 1110/900f/410b
Oct 31 00:46:30
BenAthlux last message repeated 2 times
Oct 31 00:46:30 BenAthlux logger: /etc/hotplug/usb/eu_dsp: line 23: eaglectrl: command not found
Oct 31 00:46:30
BenAthlux last message repeated 2 times
Oct 31 00:47:40
BenAthlux internet: Checking internet connections to start at boot failed
eaglestat
eagle-usb status display
Driver version 1.0.5_pre1_cvs
USB Bus : 002 USB Device : 002 Dbg mask: 0x0
Ethernet Interface : none
Tx Rate 0000000000 Rx Rate 0000000000 Crc 0000000000
FEC 0000000000 Margin 0000000000 Atten 0000000000 dB
VID-CPE 0000000000 VID-CO 0000000000 HEC 0000000000
VPI 0000000000 VCI 0000000000 Delin GOOD
Cells Rx 0000000000 Cells Tx 0000000000
Pkts Rx 0000000000 Pkts Tx 0000000000
OAM 0000000000 Bad VPI 0000000000 Bad CRC 0000000000
Oversiz. 0000000000
Modem waiting for driver response.
Please send DSP (eaglectrl -d)
[root@
BenAthlux root]# adictrl -w
Sending options to device /proc/bus/usb/002/002
Options successfully sent to driver.
Sending DSP code to device /proc/bus/usb/002/002
Using DSP code for POTS line
DSP code successfully loaded.
Waiting for synchro...
OK .. Modem is synchronized.
lsmod |grep usb
adiusbadsl 102656 0 (unused)
eagle-usb 104164 2
usb-uhci 25136 0 (unused)
usbcore 74988 1 [adiusbadsl acm eagle-usb usb-uhci]
Test hotplug
Pas de stopadsl (pppd tournait), ok si correction du script eu_dsp
Oct 31 01:41:50
BenAthlux kernel: usb-uhci.c: interrupt, status 3, frame# 1353
Oct 31 01:41:50
BenAthlux kernel: [EAGLE-USB] eu_irq : URB status indicates error (-84)
Oct 31 01:41:50
BenAthlux last message repeated 3 times
Oct 31 01:41:50
BenAthlux kernel: usb.c: USB disconnect on device 00:11.3-1 address 2
Oct 31 01:41:50
BenAthlux kernel: [eagle-usb] eu_irq : URB canceled by user.
Oct 31 01:41:50
BenAthlux kernel: [EAGLE-USB] Error status = -ENOENT in eu_iso_read_completion
Oct 31 01:41:50
BenAthlux last message repeated 3 times
Oct 31 01:41:50
BenAthlux pppoa[2950]: recv (
ReceivePacket?): Network is down
Oct 31 01:41:50
BenAthlux kernel: [eagle-usb] ADSL device removed
Oct 31 01:41:50
BenAthlux /etc/hotplug/net.agent: NET unregister event not supported
Oct 31 01:41:57
BenAthlux kernel: hub.c: new USB device 00:11.3-1, assigned address 3
Oct 31 01:41:57
BenAthlux kernel: [eagle-usb] New pre-firmware modem detected
Oct 31 01:41:57
BenAthlux kernel: [eagle-usb] Uploading firmware..
Oct 31 01:41:58
BenAthlux kernel: [eagle-usb] Binding eu_instance_t to USB 002/003
Oct 31 01:41:58
BenAthlux kernel: usb.c: USB disconnect on device 00:11.3-1 address 3
Oct 31 01:41:58
BenAthlux kernel: [eagle-usb] Pre-firmware modem removed
Oct 31 01:42:01
BenAthlux kernel: hub.c: new USB device 00:11.3-1, assigned address 4
Oct 31 01:42:01
BenAthlux kernel: [eagle-usb] New USB ADSL device detected, waiting for DSP code...
Oct 31 01:42:01
BenAthlux kernel: [eagle-usb] created proc entry at : /proc/driver/eagle-usb/002-004
Oct 31 01:42:02
BenAthlux /etc/hotplug/usb.agent: Setup eagle-usb adiusbadsl for USB product 1110/9010/4000
Oct 31 01:42:06
BenAthlux /etc/hotplug/usb.agent: Setup eagle-usb acm adiusbadsl for USB product 1110/900f/410b
Oct 31 01:42:06
BenAthlux last message repeated 2 times
Oct 31 01:42:06
BenAthlux /etc/hotplug/usb.agent: Setup eu_dsp for USB product 1110/900f/410b
Oct 31 01:42:06
BenAthlux last message repeated 2 times
Oct 31 01:42:06
BenAthlux /etc/hotplug/usb.agent: Module setup eu_dsp for USB product 1110/900f/410b
Oct 31 01:42:06
BenAthlux last message repeated 2 times
Oct 31 01:42:06
BenAthlux kernel: [eagle-usb] ioctl EU_IO_OPTIONS received
Oct 31 01:42:06
BenAthlux last message repeated 2 times
Oct 31 01:42:06
BenAthlux kernel: [eagle-usb] ioctl EU_IO_DSP received
Oct 31 01:42:06
BenAthlux kernel: [eagle-usb] Loading DSP code to device...
Oct 31 01:42:06
BenAthlux kernel: [eagle-usb] DSP code successfully loaded to device
Oct 31 01:42:06
BenAthlux kernel: [eagle-usb] ioctl EU_IO_DSP received
Oct 31 01:42:06
BenAthlux kernel: [eagle-usb] Loading DSP code to device...
Oct 31 01:42:06
BenAthlux kernel: [eagle-usb] DSP code successfully loaded to device
Oct 31 01:42:06
BenAthlux kernel: [eagle-usb] ioctl EU_IO_DSP received
Oct 31 01:42:06
BenAthlux kernel: [eagle-usb] Loading DSP code to device...
Oct 31 01:42:06
BenAthlux kernel: [eagle-usb] DSP code successfully loaded to device
Oct 31 01:42:06
BenAthlux logger: Options successfully sent to driver.
Oct 31 01:42:06
BenAthlux logger: Using DSP code for POTS line
Oct 31 01:42:06
BenAthlux logger: DSP code successfully loaded.
Oct 31 01:42:06
BenAthlux logger: Options successfully sent to driver.
Oct 31 01:42:06
BenAthlux logger: Using DSP code for POTS line
Oct 31 01:42:06
BenAthlux logger: DSP code successfully loaded.
Oct 31 01:42:06
BenAthlux logger: Options successfully sent to driver.
Oct 31 01:42:06
BenAthlux logger: Using DSP code for POTS line
Oct 31 01:42:06
BenAthlux logger: DSP code successfully loaded.
Oct 31 01:42:23
BenAthlux kernel: [eagle-usb] Modem operational !!
Oct 31 01:42:23
BenAthlux kernel: [eagle-usb] Ethernet device eth1 created.
Oct 31 01:42:23
BenAthlux /etc/hotplug/net.agent: invoke ifplugd eth1
Oct 31 01:42:23
BenAthlux ifplugd(eth1)[3321]: Using interface eth1/00:60:4C:0F:B1:63
Oct 31 01:42:23
BenAthlux ifplugd(eth1)[3321]: Failed to find working plug detection mode for eth1
Oct 31 01:42:23
BenAthlux ifplugd(eth1)[3321]: Executing '/etc/ifplugd/ifplugd.action eth1 up'.
Oct 31 01:42:25
BenAthlux ifplugd(eth1)[3321]: Program executed successfully.
Oct 31 01:42:25
BenAthlux ifplugd(eth1)[3321]: Exiting.
Oct 31 01:42:48
BenAthlux pppoa[2950]: sendto (
SendPPPPacket?): No such device or address
Oct 31 01:42:48
BenAthlux pppd[2949]: Modem hangup
Oct 31 01:42:48
BenAthlux pppd[2949]: Connection terminated.
Oct 31 01:42:48
BenAthlux pppd[2949]: Connect time 53.1 minutes.
Oct 31 01:42:48
BenAthlux pppd[2949]: Sent 395467 bytes, received 2383268 bytes.
Oct 31 01:42:48
BenAthlux pppd[2949]: Using interface ppp0
Oct 31 01:42:48
BenAthlux pppd[2949]: Connect: ppp0 <--> /dev/pts/3
Oct 31 01:42:48
BenAthlux /etc/hotplug/net.agent: NET unregister event not supported
Oct 31 01:42:48
BenAthlux /etc/hotplug/net.agent: assuming ppp0 is already up
Oct 31 01:43:19
BenAthlux /usr/bin/ez-ipupdate[3099]: (
BenAthlux.is-a-geek.net) unable to resolve interface ppp0
Oct 31 01:43:19
BenAthlux pppd[2949]: LCP: timeout sending Config-Requests
Oct 31 01:43:19
BenAthlux pppd[2949]: Connection terminated.
Oct 31 01:43:19
BenAthlux pppoa[3382]: read (
AsyncReadFromPPP): Input/output error
Oct 31 01:43:19
BenAthlux pppd[2949]: Using interface ppp0
Oct 31 01:43:19
BenAthlux pppd[2949]: Connect: ppp0 <--> /dev/pts/4
Oct 31 01:43:19
BenAthlux /etc/hotplug/net.agent: NET unregister event not supported
Oct 31 01:43:19
BenAthlux /etc/hotplug/net.agent: assuming ppp0 is already up
Oct 31 01:43:29
BenAthlux pppd[2949]: local IP address 82.64.191.124
Oct 31 01:43:29
BenAthlux pppd[2949]: remote IP address 192.168.254.254
Oct 31 01:43:29
BenAthlux pppd[2949]: primary DNS address 212.27.32.177
Oct 31 01:43:29
BenAthlux pppd[2949]: secondary DNS address 212.27.32.176