Frederick Ros wrote:
Laurent Riffard wrote : | Le symptôme est un peu différent lorsque le modem est branché mais | qu'il n'a pas été initialisé (c'est-à-dire il n'ya pas eu eaglectrl | -d) : dans ce cas le rmmod produit un message "Uninitialised timer!" | puis un oops. Ci-joint : | - contenu de syslog (obtenu avec un noyau 2.6.9-rc1-mm2) | - config du noyau. Celui la me laisse reveur .. J'arrive pas a comprendre d'ou il peut venir ... Tous les timers sont initialises dans eu_init_postfirm , qui est appele quand le driver postfirm est detecte ... Donc soit on n'est pas encore passe dans cette fonction lors du rmmod .. mais dans ce cas, y'a pas de fonction directe pour savoir si le timer a ete initialise ... Va falloir bidouiller ... L'autre serait un bug, genre memset qui va trop loin, mais y'a pas AFAIR de changement depuis un moment ...
Justement, dans mon scenario, on est en Pre-firmware, non ? donc eu_init_postfirm n'a pas été appelé et les timers pas initialisés, n'est-ce-pas ?
Donc, ce qui serait bien: 1) Refaire ce test avec les traces a ON (eaglectrl -x 0xFFFFFFFF) 2) Eventuellement me faire un objdump -d eagle-usb.o > eagle-usd.disass
yaka demander...
A +
-- laurent
[EMAIL PROTECTED] root]# lsmod Module Size Used by autofs4 16324 1 lp 8324 0 parport_pc 22720 1 parport 34056 2 lp,parport_pc snd_pcm_oss 47016 0 snd_mixer_oss 16704 1 snd_pcm_oss snd_ens1371 19748 0 snd_rawmidi 20288 1 snd_ens1371 snd_seq_device 6536 1 snd_rawmidi snd_pcm 84004 2 snd_pcm_oss,snd_ens1371 snd_timer 21636 1 snd_pcm snd_page_alloc 7624 1 snd_pcm snd_ac97_codec 65040 1 snd_ens1371 gameport 3520 1 snd_ens1371 snd 47716 8 snd_pcm_oss,snd_mixer_oss,snd_ens1371,snd_rawmidi,snd_seq_device,snd_pcm,snd_timer,snd_ac97_codec soundcore 7200 1 snd af_packet 12936 0 ide_cd 36676 0 cdrom 36832 1 ide_cd sd_mod 12304 0 usb_storage 27008 0 scsi_mod 101900 2 sd_mod,usb_storage floppy 55964 0 ne2k_pci 7648 0 8390 8448 1 ne2k_pci crc32 3776 1 8390 ohci1394 31300 0 ieee1394 303220 1 ohci1394 nls_iso8859_1 3712 1 nls_cp850 4544 1 vfat 11008 1 fat 39488 1 vfat reiser4 433460 2 reiserfs 227696 2 via_agp 7232 1 agpgart 27304 1 via_agp dm_mod 49532 4 eagle_usb 110272 0 joydev 8000 0 usbhid 23744 0 ub 14364 0 uhci_hcd 28432 0 usbcore 104868 7 usb_storage,eagle_usb,usbhid,ub,uhci_hcd rtc 10552 0 [EMAIL PROTECTED] root]# [EMAIL PROTECTED] root]# eaglestat eagle-usb status display ------------------------------------------------------------- Driver version 2 USB Bus : 002 USB Device : 002 Dbg mask: 0x0 Ethernet Interface : none MAC: 00:60:4c:12:ed:40 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) [EMAIL PROTECTED] root]# rmmod eagle_usb Segmentation fault [EMAIL PROTECTED] root]#
Sep 6 23:59:30 antares kernel: [eu - DBG_INIT] Entering eu_exit Sep 6 23:59:30 antares kernel: usbcore: deregistering driver eagle-usb Sep 6 23:59:30 antares kernel: [eu - DBG_INIT] Entering eu_disconnect Sep 6 23:59:30 antares kernel: [eu - DBG_DSP] Entering FreeDspData Sep 6 23:59:30 antares kernel: [eu - DBG_DSP] Leaving FreeDspData Sep 6 23:59:30 antares kernel: [eagle-usb] ADSL device removed Sep 6 23:59:30 antares kernel: [eu - DBG_INIT] Leaving eu_disconnect Sep 6 23:59:30 antares kernel: [eu - DBG_INIT] Entering eu_disconnect Sep 6 23:59:30 antares kernel: Uninitialised timer! Sep 6 23:59:30 antares kernel: This is just a warning. Your computer is OK Sep 6 23:59:30 antares kernel: function=0x6b6b6b6b, data=0x6b6b6b6b Sep 6 23:59:30 antares kernel: [dump_stack+23/32] dump_stack+0x17/0x20 Sep 6 23:59:30 antares kernel: [check_timer_failed+93/112] check_timer_failed+0x5d/0x70 Sep 6 23:59:30 antares kernel: [del_timer+21/160] del_timer+0x15/0xa0 Sep 6 23:59:30 antares kernel: [pg0+273366873/1069818880] eu_disconnect_postfirm+0x299/0x2e0 [eagle_usb] Sep 6 23:59:30 antares kernel: [pg0+273366162/1069818880] eu_disconnect+0x1c2/0x1f0 [eagle_usb] Sep 6 23:59:30 antares kernel: [pg0+273117412/1069818880] usb_unbind_interface+0x54/0x80 [usbcore] Sep 6 23:59:30 antares kernel: [device_release_driver+87/96] device_release_driver+0x57/0x60 Sep 6 23:59:30 antares kernel: [driver_detach+25/48] driver_detach+0x19/0x30 Sep 6 23:59:30 antares kernel: [bus_remove_driver+92/144] bus_remove_driver+0x5c/0x90 Sep 6 23:59:30 antares kernel: [driver_unregister+23/64] driver_unregister+0x17/0x40 Sep 6 23:59:30 antares kernel: [pg0+273117663/1069818880] usb_deregister+0x2f/0x40 [usbcore] Sep 6 23:59:30 antares kernel: [pg0+273404137/1069818880] eu_exit+0x19/0x6c [eagle_usb] Sep 6 23:59:30 antares kernel: [sys_delete_module+375/416] sys_delete_module+0x177/0x1a0 Sep 6 23:59:30 antares kernel: [sysenter_past_esp+82/113] sysenter_past_esp+0x52/0x71 Sep 6 23:59:30 antares kernel: Unable to handle kernel paging request at virtual address 6b6b6b6b Sep 6 23:59:30 antares kernel: printing eip: Sep 6 23:59:30 antares kernel: c0123066 Sep 6 23:59:30 antares kernel: *pde = 00000000 Sep 6 23:59:30 antares kernel: Oops: 0000 [#1] Sep 6 23:59:30 antares kernel: PREEMPT Sep 6 23:59:30 antares kernel: Modules linked in: autofs4 lp parport_pc parport snd_pcm_oss snd_mixer_oss snd_ens1371 snd_rawmidi snd_seq_device snd_pcm snd_timer snd_page_alloc snd_ac97_codec gameport snd soundcore af_packet ide_cd cdrom sd_mod usb_storage scsi_mod floppy ne2k_pci 8390 crc32 ohci1394 ieee1394 nls_iso8859_1 nls_cp850 vfat fat reiser4 reiserfs via_agp agpgart dm_mod eagle_usb joydev usbhid ub uhci_hcd usbcore rtc Sep 6 23:59:30 antares kernel: CPU: 0 Sep 6 23:59:30 antares kernel: EIP: 0060:[del_timer+70/160] Not tainted VLI Sep 6 23:59:30 antares kernel: EIP: 0060:[<c0123066>] Not tainted VLI Sep 6 23:59:30 antares kernel: EFLAGS: 00010046 (2.6.9-rc1-mm3) Sep 6 23:59:30 antares kernel: EIP is at del_timer+0x46/0xa0 Sep 6 23:59:30 antares kernel: eax: c9262000 ebx: cf2d13a0 ecx: 00000202 edx: 6b6b6b6b Sep 6 23:59:30 antares kernel: esi: 6b6b6b6b edi: cf53cdb0 ebp: c9263e80 esp: c9263e78 Sep 6 23:59:30 antares kernel: ds: 007b es: 007b ss: 0068 Sep 6 23:59:30 antares kernel: Process rmmod (pid: 5508, threadinfo=c9262000 task=c913baa0) Sep 6 23:59:30 antares kernel: Stack: 6b6b6b6b cf2d107c c9263ec8 d086ff59 c011b671 00000000 ffffffd5 c039c30b Sep 6 23:59:30 antares kernel: 00000246 0000002b c9263eb8 c011b4dc c9263ed4 0000900f cf2d107c cf53cdb0 Sep 6 23:59:30 antares kernel: c9263ec8 0000900f cf2d107c cf53cdb0 c9263ee8 d086fc92 d0879ee0 d087962e Sep 6 23:59:30 antares kernel: Call Trace: Sep 6 23:59:30 antares kernel: [show_stack+166/176] show_stack+0xa6/0xb0 Sep 6 23:59:30 antares kernel: [<c0105e46>] show_stack+0xa6/0xb0 Sep 6 23:59:30 antares kernel: [show_registers+333/448] show_registers+0x14d/0x1c0 Sep 6 23:59:30 antares kernel: [<c0105fbd>] show_registers+0x14d/0x1c0 Sep 6 23:59:30 antares kernel: [die+228/368] die+0xe4/0x170 Sep 6 23:59:30 antares kernel: [<c01061a4>] die+0xe4/0x170 Sep 6 23:59:30 antares kernel: [do_page_fault+1170/1479] do_page_fault+0x492/0x5c7 Sep 6 23:59:30 antares kernel: [<c0116852>] do_page_fault+0x492/0x5c7 Sep 6 23:59:30 antares kernel: [error_code+45/56] error_code+0x2d/0x38 Sep 6 23:59:30 antares kernel: [<c0105a25>] error_code+0x2d/0x38 Sep 6 23:59:30 antares kernel: [pg0+273366873/1069818880] eu_disconnect_postfirm+0x299/0x2e0 [eagle_usb] Sep 6 23:59:30 antares kernel: [<d086ff59>] eu_disconnect_postfirm+0x299/0x2e0 [eagle_usb] Sep 6 23:59:30 antares kernel: [pg0+273366162/1069818880] eu_disconnect+0x1c2/0x1f0 [eagle_usb] Sep 6 23:59:30 antares kernel: [<d086fc92>] eu_disconnect+0x1c2/0x1f0 [eagle_usb] Sep 6 23:59:30 antares kernel: [pg0+273117412/1069818880] usb_unbind_interface+0x54/0x80 [usbcore] Sep 6 23:59:30 antares kernel: [<d08330e4>] usb_unbind_interface+0x54/0x80 [usbcore] Sep 6 23:59:30 antares kernel: [device_release_driver+87/96] device_release_driver+0x57/0x60 Sep 6 23:59:30 antares kernel: [<c02192a7>] device_release_driver+0x57/0x60 Sep 6 23:59:30 antares kernel: [driver_detach+25/48] driver_detach+0x19/0x30 Sep 6 23:59:30 antares kernel: [<c02192c9>] driver_detach+0x19/0x30 Sep 6 23:59:30 antares kernel: [bus_remove_driver+92/144] bus_remove_driver+0x5c/0x90 Sep 6 23:59:30 antares kernel: [<c021975c>] bus_remove_driver+0x5c/0x90 Sep 6 23:59:30 antares kernel: [driver_unregister+23/64] driver_unregister+0x17/0x40 Sep 6 23:59:30 antares kernel: [<c0219c37>] driver_unregister+0x17/0x40 Sep 6 23:59:30 antares kernel: [pg0+273117663/1069818880] usb_deregister+0x2f/0x40 [usbcore] Sep 6 23:59:30 antares kernel: [<d08331df>] usb_deregister+0x2f/0x40 [usbcore] Sep 6 23:59:30 antares kernel: [pg0+273404137/1069818880] eu_exit+0x19/0x6c [eagle_usb] Sep 6 23:59:30 antares kernel: [<d08790e9>] eu_exit+0x19/0x6c [eagle_usb] Sep 6 23:59:30 antares kernel: [sys_delete_module+375/416] sys_delete_module+0x177/0x1a0 Sep 6 23:59:30 antares kernel: [<c01307a7>] sys_delete_module+0x177/0x1a0 Sep 6 23:59:30 antares kernel: [sysenter_past_esp+82/113] sysenter_past_esp+0x52/0x71 Sep 6 23:59:30 antares kernel: [<c0104fc9>] sysenter_past_esp+0x52/0x71 Sep 6 23:59:30 antares kernel: Code: d2 74 5e 9c 59 fa b8 00 e0 ff ff 21 e0 ff 40 14 3b 53 18 74 13 51 9d ff 48 14 8b 40 08 a8 08 74 d9 e8 5f 3e 18 00 eb d2 8b 73 04 <39> 1e 75 36 8b 13 39 5a 04 90 75 40 89 72 04 89 16 c7 43 04 00 Sep 6 23:59:30 antares kernel: <6>note: rmmod[5508] exited with preempt_count 1 Sep 6 23:59:30 antares kernel: Debug: sleeping function called from invalid context at include/linux/rwsem.h:43 Sep 6 23:59:30 antares kernel: in_atomic():1, irqs_disabled():0 Sep 6 23:59:30 antares kernel: [dump_stack+23/32] dump_stack+0x17/0x20 Sep 6 23:59:30 antares kernel: [<c0105e67>] dump_stack+0x17/0x20 Sep 6 23:59:30 antares kernel: [__might_sleep+198/224] __might_sleep+0xc6/0xe0 Sep 6 23:59:30 antares kernel: [<c0118be6>] __might_sleep+0xc6/0xe0 Sep 6 23:59:30 antares kernel: [do_exit+154/1104] do_exit+0x9a/0x450 Sep 6 23:59:30 antares kernel: [<c011d27a>] do_exit+0x9a/0x450 Sep 6 23:59:30 antares kernel: [die+366/368] die+0x16e/0x170 Sep 6 23:59:30 antares kernel: [<c010622e>] die+0x16e/0x170 Sep 6 23:59:30 antares kernel: [do_page_fault+1170/1479] do_page_fault+0x492/0x5c7 Sep 6 23:59:30 antares kernel: [<c0116852>] do_page_fault+0x492/0x5c7 Sep 6 23:59:30 antares kernel: [error_code+45/56] error_code+0x2d/0x38 Sep 6 23:59:30 antares kernel: [<c0105a25>] error_code+0x2d/0x38 Sep 6 23:59:30 antares kernel: [pg0+273366873/1069818880] eu_disconnect_postfirm+0x299/0x2e0 [eagle_usb] Sep 6 23:59:30 antares kernel: [<d086ff59>] eu_disconnect_postfirm+0x299/0x2e0 [eagle_usb] Sep 6 23:59:30 antares kernel: [pg0+273366162/1069818880] eu_disconnect+0x1c2/0x1f0 [eagle_usb] Sep 6 23:59:30 antares kernel: [<d086fc92>] eu_disconnect+0x1c2/0x1f0 [eagle_usb] Sep 6 23:59:30 antares kernel: [pg0+273117412/1069818880] usb_unbind_interface+0x54/0x80 [usbcore] Sep 6 23:59:30 antares kernel: [<d08330e4>] usb_unbind_interface+0x54/0x80 [usbcore] Sep 6 23:59:30 antares kernel: [device_release_driver+87/96] device_release_driver+0x57/0x60 Sep 6 23:59:30 antares kernel: [<c02192a7>] device_release_driver+0x57/0x60 Sep 6 23:59:30 antares kernel: [driver_detach+25/48] driver_detach+0x19/0x30 Sep 6 23:59:30 antares kernel: [<c02192c9>] driver_detach+0x19/0x30 Sep 6 23:59:30 antares kernel: [bus_remove_driver+92/144] bus_remove_driver+0x5c/0x90 Sep 6 23:59:30 antares kernel: [<c021975c>] bus_remove_driver+0x5c/0x90 Sep 6 23:59:30 antares kernel: [driver_unregister+23/64] driver_unregister+0x17/0x40 Sep 6 23:59:30 antares kernel: [<c0219c37>] driver_unregister+0x17/0x40 Sep 6 23:59:30 antares kernel: [pg0+273117663/1069818880] usb_deregister+0x2f/0x40 [usbcore] Sep 6 23:59:30 antares kernel: [<d08331df>] usb_deregister+0x2f/0x40 [usbcore] Sep 6 23:59:30 antares kernel: [pg0+273404137/1069818880] eu_exit+0x19/0x6c [eagle_usb] Sep 6 23:59:30 antares kernel: [<d08790e9>] eu_exit+0x19/0x6c [eagle_usb] Sep 6 23:59:30 antares kernel: [sys_delete_module+375/416] sys_delete_module+0x177/0x1a0 Sep 6 23:59:30 antares kernel: [<c01307a7>] sys_delete_module+0x177/0x1a0 Sep 6 23:59:30 antares kernel: [sysenter_past_esp+82/113] sysenter_past_esp+0x52/0x71 Sep 6 23:59:30 antares kernel: [<c0104fc9>] sysenter_past_esp+0x52/0x71 Sep 6 23:59:30 antares kernel: bad: scheduling while atomic! Sep 6 23:59:30 antares kernel: [dump_stack+23/32] dump_stack+0x17/0x20 Sep 6 23:59:30 antares kernel: [<c0105e67>] dump_stack+0x17/0x20 Sep 6 23:59:30 antares kernel: [schedule+1004/1232] schedule+0x3ec/0x4d0 Sep 6 23:59:30 antares kernel: [<c02a6ddc>] schedule+0x3ec/0x4d0 Sep 6 23:59:30 antares kernel: [unmap_vmas+424/448] unmap_vmas+0x1a8/0x1c0 Sep 6 23:59:30 antares kernel: [<c01450e8>] unmap_vmas+0x1a8/0x1c0 Sep 6 23:59:30 antares kernel: [exit_mmap+118/336] exit_mmap+0x76/0x150 Sep 6 23:59:30 antares kernel: [<c0149376>] exit_mmap+0x76/0x150 Sep 6 23:59:30 antares kernel: [mmput+97/176] mmput+0x61/0xb0 Sep 6 23:59:30 antares kernel: [<c0118fe1>] mmput+0x61/0xb0 Sep 6 23:59:30 antares kernel: [do_exit+248/1104] do_exit+0xf8/0x450 Sep 6 23:59:30 antares kernel: [<c011d2d8>] do_exit+0xf8/0x450 Sep 6 23:59:30 antares kernel: [die+366/368] die+0x16e/0x170 Sep 6 23:59:30 antares kernel: [<c010622e>] die+0x16e/0x170 Sep 6 23:59:30 antares kernel: [do_page_fault+1170/1479] do_page_fault+0x492/0x5c7 Sep 6 23:59:30 antares kernel: [<c0116852>] do_page_fault+0x492/0x5c7 Sep 6 23:59:30 antares kernel: [error_code+45/56] error_code+0x2d/0x38 Sep 6 23:59:30 antares kernel: [<c0105a25>] error_code+0x2d/0x38 Sep 6 23:59:30 antares kernel: [pg0+273366873/1069818880] eu_disconnect_postfirm+0x299/0x2e0 [eagle_usb] Sep 6 23:59:30 antares kernel: [<d086ff59>] eu_disconnect_postfirm+0x299/0x2e0 [eagle_usb] Sep 6 23:59:30 antares kernel: [pg0+273366162/1069818880] eu_disconnect+0x1c2/0x1f0 [eagle_usb] Sep 6 23:59:30 antares kernel: [<d086fc92>] eu_disconnect+0x1c2/0x1f0 [eagle_usb] Sep 6 23:59:30 antares kernel: [pg0+273117412/1069818880] usb_unbind_interface+0x54/0x80 [usbcore] Sep 6 23:59:30 antares kernel: [<d08330e4>] usb_unbind_interface+0x54/0x80 [usbcore] Sep 6 23:59:30 antares kernel: [device_release_driver+87/96] device_release_driver+0x57/0x60 Sep 6 23:59:30 antares kernel: [<c02192a7>] device_release_driver+0x57/0x60 Sep 6 23:59:30 antares kernel: [driver_detach+25/48] driver_detach+0x19/0x30 Sep 6 23:59:30 antares kernel: [<c02192c9>] driver_detach+0x19/0x30 Sep 6 23:59:30 antares kernel: [bus_remove_driver+92/144] bus_remove_driver+0x5c/0x90 Sep 6 23:59:30 antares kernel: [<c021975c>] bus_remove_driver+0x5c/0x90 Sep 6 23:59:30 antares kernel: [driver_unregister+23/64] driver_unregister+0x17/0x40 Sep 6 23:59:30 antares kernel: [<c0219c37>] driver_unregister+0x17/0x40 Sep 6 23:59:30 antares kernel: [pg0+273117663/1069818880] usb_deregister+0x2f/0x40 [usbcore] Sep 6 23:59:30 antares kernel: [<d08331df>] usb_deregister+0x2f/0x40 [usbcore] Sep 6 23:59:30 antares kernel: [pg0+273404137/1069818880] eu_exit+0x19/0x6c [eagle_usb] Sep 6 23:59:30 antares kernel: [<d08790e9>] eu_exit+0x19/0x6c [eagle_usb] Sep 6 23:59:30 antares kernel: [sys_delete_module+375/416] sys_delete_module+0x177/0x1a0 Sep 6 23:59:30 antares kernel: [<c01307a7>] sys_delete_module+0x177/0x1a0 Sep 6 23:59:30 antares kernel: [sysenter_past_esp+82/113] sysenter_past_esp+0x52/0x71 Sep 6 23:59:30 antares kernel: [<c0104fc9>] sysenter_past_esp+0x52/0x71 Sep 6 23:59:30 antares kernel: Slab corruption: start=cf2d107c, len=2048 Sep 6 23:59:30 antares kernel: Redzone: 0x5a2cf071/0x5a2cf071. Sep 6 23:59:30 antares kernel: Last user: [pg0+273366616/1069818880](eu_disconnect_postfirm+0x198/0x2e0 [eagle_usb]) Sep 6 23:59:30 antares kernel: Last user: [<d086fe58>](eu_disconnect_postfirm+0x198/0x2e0 [eagle_usb]) Sep 6 23:59:30 antares kernel: 000: 6b 6b 6b 6b 6b 6b 6b 6b 00 00 00 00 6b 6b 6b 6b Sep 6 23:59:30 antares kernel: 330: 6e ad 87 4b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b Sep 6 23:59:30 antares kernel: Prev obj: start=cf2d0870, len=2048 Sep 6 23:59:30 antares kernel: Redzone: 0x170fc2a5/0x170fc2a5. Sep 6 23:59:30 antares kernel: Last user: [pg0+273364324/1069818880](eu_init_postfirm+0x184/0x6f0 [eagle_usb]) Sep 6 23:59:30 antares kernel: Last user: [<d086f564>](eu_init_postfirm+0x184/0x6f0 [eagle_usb]) Sep 6 23:59:30 antares kernel: 000: 5a 5a 5a 5a 5a 5a 5a 5a 5a 5a 5a 5a 5a 5a 5a 5a Sep 6 23:59:30 antares kernel: 010: 5a 5a 5a 5a 5a 5a 5a 5a 5a 5a 5a 5a 5a 5a 5a 5a
eagle-usb.disass.gz
Description: Unix tar archive
signature.asc
Description: OpenPGP digital signature
