da giovanni_de_maio » gio giu 17, 2004 2:11 pm
Ho caricato il modulo con quell'opzione, ma c'è un problema. Mi da segmentation fault. Il make è andato a buon fine, solo che c'erano parecchi warning perché alcuni metodi erano deprecati. Ho scoperto una brutta cosa, cioè che il dmesg mi restituisce un bell'errore di memoria.
unicorn_usb_atm: module license 'Proprietary' taints kernel.
unicorn_usb: v 0.8.6, 02:21:57 Jun 17 2004
unicorn_usb: driver parameters: DebugLevel=0
unicorn_usb: found adapter VendorId 0483, ProductId 0137, driver_info=20174
unicorn_usb: MSW parameters:
ActivationMode=1
ActTimeout=300000
AutoActivation=1
DebugLevel=0
DownstreamRate=3400
unicorn_usb: ExchangeDelay=10
FmPollingRate=1000
g_RefGain=22
g_Teqmode=7
InitTimeout=20000
Interoperability=0
unicorn_usb: LCD_Trig=15000
LOS_LOF_Trig=5000
LoopbackMode=0
MswDebugLevel=2
RetryTime=5000
TrainingDelay=100
unicorn_usb: useRFC019v=0
useRFC029v=8000
useRFC040v=0
useRFC041v=1
setINITIALDAC=0
unicorn_usb: useRFCFixedRate=1
useVCXO=0
_no_TS652=1
useAFE=20174
txPower=14
unicorn_usb: UHCI Host Controller
alloc_obj: kmalloc failed,size=-565043916,type=abc0
Unable to handle kernel NULL pointer dereference at virtual address 00000000
printing eip:
e2bdf4c6
*pde = 00000000
Oops: 0002 [#1]
CPU: 0
EIP: 0060:[<e2bdf4c6>] Tainted: P
EFLAGS: 00010296 (2.6.4-52-default)
EIP is at xsm_ident+0x16/0xe0 [unicorn_usb_atm]
eax: 00000001 ebx: 00000000 ecx: 00000000 edx: 00000001
esi: 00000001 edi: e2c2e2a0 ebp: de521cf0 esp: de521cac
ds: 007b es: 007b ss: 0068
Process modprobe (pid: 1600, threadinfo=de520000 task=df95d350)
Stack: de4e6ce0 00000000 0000abc0 de521d34 00000001 00000001 00000000 00000000
e2c2e2a0 de521cf0 e2bbf3a6 e2befd7e 00000000 00000000 00000000 00000000
00000000 de521d30 e2b957f8 00000000 de521d24 e2be6fa0 00000000 de870380
Call Trace:
[<e2bbf3a6>] _ZN19InterfaceProtectionC1Ev+0x16/0x50 [unicorn_usb_atm]
[<e2b957f8>] AMSW_Modem_SW_Init+0x28/0x180 [unicorn_usb_atm]
[<e2be411d>] unicorn_atm_startdevice+0x1d/0x80 [unicorn_usb_atm]
[<e2be0375>] msw_init+0x15/0x1a0 [unicorn_usb_atm]
[<e2be4305>] unicorn_attach+0xb5/0x240 [unicorn_usb_atm]
[<e2bdbbbf>] probe_unicorn_usb+0x7af/0x8d0 [unicorn_usb_atm]
[<e2a98375>] usb_probe_interface+0x55/0x80 [usbcore]
[<c02b3342>] bus_match+0x32/0x70
[<c02b353f>] driver_attach+0x4f/0x90
[<c026b552>] kobject_register+0x22/0x5f
[<c02b3602>] bus_add_driver+0x82/0xb0
[<c02b3b18>] driver_register+0x28/0x30
[<c0121b53>] printk+0x133/0x140
[<e2a997b9>] usb_register+0x39/0x90 [usbcore]
[<e2a1304d>] unicorn_usb_init+0x4d/0x51 [unicorn_usb_atm]
[<c013591c>] sys_init_module+0x12c/0x1640
[<c0144f50>] __kmalloc+0x0/0x70
[<e2a13000>] unicorn_usb_init+0x0/0x51 [unicorn_usb_atm]
[<c014e9de>] __do_mmap_pgoff+0x38e/0x6e0
[<c010e5e5>] do_mmap2+0xa5/0xc0
[<c015842f>] filp_close+0x4f/0x90
[<c0107fe9>] sysenter_past_esp+0x52/0x71
Code: c7 01 00 00 00 00 9c 5d fa a1 90 83 c2 e2 3d 90 83 c2 e2 89
PCI: Enabling device 0000:00:0d.0 (0004 -> 0005)
PCI: Found IRQ 11 for device 0000:00:0d.0
PCI: Sharing IRQ 11 with 0000:01:00.0
<hr noshade size="1">
La cosa è preoccupante, chi mi può dare una mano su questo "problemino"?