Forum |  HardWare.fr | News | Articles | PC | S'identifier | S'inscrire | Shop Recherche
2945 connectés 

  FORUM HardWare.fr
  Linux et OS Alternatifs

  [FC2]pilote ADSL Bewan PCI ST : noyau 2.6.6 & Erreur de segmentation

 


 Mot :   Pseudo :  
 
Bas de page
Auteur Sujet :

[FC2]pilote ADSL Bewan PCI ST : noyau 2.6.6 & Erreur de segmentation

n°571493
DaWeedW
Posté le 13-10-2004 à 01:00:20  profilanswer
 

Si qqun a ce modem et a réussi à lancer le pilote unicorn 0.8.7 sur Fedora Core 2 noyau 2.6.6-1.435.2.1, merci de m'aider.
(+ ppp-2.4.0-2.i386.rpm supportant pppoa)
Je galère depuis tout le we.
D'abord, impossible de compiler (en m'aidant de nombreuses FAQ sur le net) J'avais une erreur unknow symbol set_cpus_allowed en lancant le pilote avec modprobe.
J'ai vu que ce symbol avait à voir avec le SMP.
J'ai recompilé mon noyau sans le support smp et y a eu du mieux.
Mais maintenant, j'ai une Erreur de Segmentation quand je lance le pilote en faisant modprobe unicorn_pci_atm.
unicorn_pci_atm.o et unicorn_pci_atm.ko sont bien dans /lib/modules/2.6.6-1.435.2.1custom/extras.
Le depmod -ae fonctionne.
Pourtant le make des sources Unicorn fonctionne bien, pas d'erreur mis à part des warnings deprecated.
En plus, je vois bien unicorn_pci_atm ds le lsmod malgré l'erreur de segmentation.
Ms il est clair que son execution marche pas bien, une partie du prog doit foirer.
En plus je demande de le lancer en mode ANSI et quand je lance unicorntest, la commande MODE me dit qu'il est en mode MULTI (on le voit aussi ds les logs!)
Je viens en plus d'essayer avec un autre noyau, le 2.6.7, c'est pareil.  
 :fou:  
Je sais plus où chercher, il paraitra que ce driver marche pour les noyaux 2.6 maintenant.  
Une chose bizarre, c'est que ma carte PCI la, elle semble associé à /dev/eth0 ! C'est pas une carte ethernet !?! Je doute là dessus maintenant.
 
Merci de votre aide si vous avez des infos. Cette carte modem commence à me rendre fou.
 
LOG :
 
modprobe unicorn_pci_atm ActivationMode=1 DebugLevel=1
Erreur de segmentation
 
dmesg donne :
unicorn_pci_atm: module license 'Proprietary' taints kernel.
find_unicorn: vendor=104a,device=0500,irq=5
unicorn_pci: AFE 70134
unicorn_pci: v 0.0.0, 13:21:37 Oct 10 2004
unicorn_pci: MSW parameters:
ActivationMode=1
ActTimeout=300000
AutoActivation=1
DebugLevel=1
DownstreamRate=8128
unicorn_pci: ExchangeDelay=20
FmPollingRate=1000
g_RefGain=28
g_Teqmode=7
InitTimeout=20000
Interoperability=0
unicorn_pci: LCD_Trig=15000
LOS_LOF_Trig=5000
LoopbackMode=0
MswDebugLevel=2
RetryTime=5000
TrainingDelay=120
unicorn_pci: useRFC019v=0
useRFC029v=7000
useRFC040v=0
useRFC041v=1
setINITIALDAC=93
unicorn_pci: useRFCFixedRate=1
useVCXO=0
_no_TS652=0
unicorn_pci: driver parameters: DebugLevel=1
rapi_init: HZ=1000
rapi_init: start_time=-2088968549
start_device: DMA addr=098a0000, phys addr78a0000
start_device: PCI base phys addr=feae0000,addr=2299b000,size=65536
unicorn_attach: entrypoints=22cf50f4
unicorn_atm_startdevice: itf=0
alloc_obj: kmalloc failed,size=275234696,type=abc0
Unable to handle kernel NULL pointer dereference at virtual address 00000000
printing eip:
22cb320a
*pde = 00001001
Oops: 0002 [#1]
Modules linked in: unicorn_pci_atm pppoatm ppp_generic slhc atm floppy snd_mixer_oss snd_intel8x0 snd_ac97_codec snd_pcm snd_timer snd_page_alloc gameport snd_mpu401_uart snd_rawmidi snd_seq_device snd soundcore autofs4 iptable_filter ip_tables ohci1394 ieee1394 nls_utf8 ntfs joydev uhci_hcd ehci_hcd button battery asus_acpi ac ipv6 ext3 jbd
CPU: 0
EIP: 0060:[<22cb320a>] Tainted: P
EFLAGS: 00010216 (2.6.6-1.435.2.1custom)
EIP is at xsm_ident+0x15/0xa6 [unicorn_pci_atm]
eax: 00000001 ebx: 00000000 ecx: 00000000 edx: 00000001
esi: 22cf50f4 edi: 022c39c0 ebp: 1067bf44 esp: 1067bf0c
ds: 007b es: 007b ss: 0068
Process modprobe (pid: 2969, threadinfo=1067b000 task=109be830)
Stack: 0000abc0 00000001 00000001 00000000 22cf50f4 022c39c0 1067bf44 22c99a67
22cc23ca 00000000 00000000 22cb2ac1 22cb2c6e 00000000 1067bf84 22c73d7c
00000000 1067bf78 0233c706 00000246 0211914a 15aec3d8 21ec8338 21ec83dc
Call Trace:
[<22c99a67>] _ZN19InterfaceProtectionC1Ev+0x17/0x48 [unicorn_pci_atm]
[<22cb2ac1>] new_object+0x5/0x2a [unicorn_pci_atm]
[<22cb2c6e>] xm_getmem+0x13/0x50 [unicorn_pci_atm]
[<22c73d7c>] AMSW_Modem_SW_Init+0x28/0x11c [unicorn_pci_atm]
[<0211914a>] printk+0xe0/0xea
[<22cb53c2>] unicorn_atm_startdevice+0x41/0x61 [unicorn_pci_atm]
[<22cb42a5>] msw_init+0x15/0xec [unicorn_pci_atm]
[<22cb713d>] unicorn_attach+0x38/0x123 [unicorn_pci_atm]
[<22969340>] unicorn_pci_init+0x340/0x389 [unicorn_pci_atm]
[<02128c6c>] sys_init_module+0xe7/0x1c0
 
Code: c7 01 00 00 00 00 9c 5d fa a1 1c 51 cf 22 3d 1c 51 cf 22 89
<7>unicorn_atm_ioctl: cmd=a30
unicorn_atm_ioctl: cmd=a30
unicorn_atm_ioctl: cmd=a30
.... plein de fois le mm ...
unicorn_atm_ioctl: cmd=a30
unicorn_atm_ioctl: cmd=a30
get_modemstate: ADSL modem state IDLE
get_link_rate: upstream_rate=0 Kbits/s,downstream_rate=0 Kbits/s,link_rate=0 cells/sec
 
[root@DaWeed d:]# cat /proc/net/atm/UNICORN\:0
ADSL: status no link, modem state IDLE, US rate 0Kbits/s, DS rate 0Kbits/s
Current speed: US 0Kbits/s,DS 0Kbits/s
Current speed: US 0Kbits/s,DS 0Kbits/s
Bridged: 00:00:00:00:00:00
AAL5: tx 0 ( 0 err ), rx 0 ( 0 err, 0 drop )
AAL0: tx 0 ( 0 err ), rx 0 ( 0 err, 0 drop )
 
SI je lance PPD pour voir :
ds /var/log/messages
Oct 10 17:55:04 DaWeed pppd[3036]: Plugin /usr/lib/pppd/plugins/pppoatm.so loaded.
Oct 10 17:55:04 DaWeed pppd[3036]: PPPoATM plugin_init
Oct 10 17:55:04 DaWeed pppd[3036]: Plugin /usr/lib/pppd/plugins/pppoatm.so loaded.
Oct 10 17:55:04 DaWeed pppd[3036]: PPPoATM plugin_init
Oct 10 17:55:04 DaWeed pppd[3036]: PPPoATM setdevname_pppoatm
Oct 10 17:55:04 DaWeed pppd[3036]: PPPoATM setdevname_pppoatm - SUCCESS
Oct 10 17:55:04 DaWeed pppd[3037]: pppd 2.4.0 started by root, uid 0
Oct 10 17:55:04 DaWeed kernel: unicorn_pci: ESI=00:ee:70:3c:b5:c0
Oct 10 17:55:04 DaWeed pppd[3037]: Using interface ppp0
Oct 10 17:55:04 DaWeed pppd[3037]: Connect: ppp0 <-->
Oct 10 17:55:34 DaWeed pppd[3037]: LCP: timeout sending Config-Requests
Oct 10 17:55:34 DaWeed pppd[3037]: Connection terminated.
Oct 10 17:55:34 DaWeed pppd[3037]: tcflush failed: Bad address
Oct 10 17:55:34 DaWeed pppd[3037]: ioctl(TIOCSETD, N_TTY): Inappropriate ioctl for device
Oct 10 17:55:34 DaWeed pppd[3037]: ioctl(TIOCNXCL): Bad address(14)
Oct 10 17:55:34 DaWeed pppd[3037]: Couldn't release PPP unit: Inappropriate ioctl for device
 
 
[root@DaWeed tools]# ./unicorntest
./unicorntest, v 0.7.1, 17:42:43 Sep 5 2003
PF_ATMPVC socket opened,itf=0
 
 
HELP -> Help
----------------------------------------------------------
ANSI : Initialize and Start in Operation Mode: ANSI
MULTI : Initialize and Start in Operation Mode: MULTI
GLITE : Initialize and Start in Operation Mode: GLITE
GDMT : Initialize and Start in Operation Mode: GDMT
UP : Activate the Line
DOWN : Deactivate the Line
CONFIG : Get Near End Modem Configuration
VENDOR : Get Vendor and Version Info
OPER : Get Line Operational Data
FAULT : Get Fault Counters
PERF : Get Performance Counters
RATE : Get Actual Bitrate
MODE : Get Modem State
TEQ : Get TEQ values
VER : Get Software Version
GASP : Send DyingGasp Command
UNLOAD : Unload Operation Mode
CONSTELLATION #: Show Constellation Data for # carrier
PING <VPI.VCI> : Send OAM Loopback Cell
OAM : Get OAM Statistics
DEBUG <LEVEL> : Set Debug Level
MSW <LEVEL> : Set Msw Debug Level
----------------------------------------------------------
X : Exit Console Application
----------------------------------------------------------
 
 
> mode
 
ADSL Modem Mode is: MULTI
C_AMSW_IDLE
>

mood
Publicité
Posté le 13-10-2004 à 01:00:20  profilanswer
 


Aller à :
Ajouter une réponse
  FORUM HardWare.fr
  Linux et OS Alternatifs

  [FC2]pilote ADSL Bewan PCI ST : noyau 2.6.6 & Erreur de segmentation

 

Sujets relatifs
Demande d'aide pour compiler un noyau ubuntuPB ssh. erreur ssh_exchange_identification
Erreur au lancement de Kmix[debian] Modem ECI adsl usb
XMule erreur : se ferme au bout de 10 scCompiler la même version du noyau pour deux processeurs differents
[MDK 10.0] grosse lenteur reseau + erreur detection cartedebian : install apache2 foiré, erreur à chaque apt-get maintenant
supermount pour noyau 2.6.7[debian] installer un nouveau noyau
Plus de sujets relatifs à : [FC2]pilote ADSL Bewan PCI ST : noyau 2.6.6 & Erreur de segmentation


Copyright © 1997-2022 Hardware.fr SARL (Signaler un contenu illicite / Données personnelles) / Groupe LDLC / Shop HFR