Olimex Support Forum

OLinuXino Android / Linux boards and System On Modules => iMX233 => Topic started by: redfox74 on September 14, 2012, 11:03:32 pm

Title: ArchLinuxArm 2.6.35-4 HELP PPP_GENERIC OUT OF STACK during 3G Modem connection
Post by: redfox74 on September 14, 2012, 11:03:32 pm
Dear Friends,
I'm try to use - Modem 3G - Olivetti 145 and HUAWEI E5832 -
i'm very frustrated :) After a while of kernel compiling and when i thougth to
solve all my problem with driver modules KO.

When i try to activate PPP Stack i have an out of stack on ppp_generic modules

So i compile using PKGBUILDING all neded module.
I recompile the usserial for support my usbserial generic husdpa module. If i
try it with minicom , all work fine , the module reply and i can connect the
network the usb available is ttyUSB4 , i use modem_switch to choose the 3G
module instead of mass storage and also that is ok, but the when the script try
to up the ppp_generic module this is the debug of error.

So i solved also a power problem , a 3g module need more current for works so
the power supply from Olinuxino Maxi is not enought to power up the Internet key
, when there is a connection with the network the Olinuxino reset it self and
rebooting. I need to put on usb a power usb 4 port router , so now i haven't the
problem of reboot ...

I need your help please :)

option: v0.7.2:USB Driver for GSM modems
option 1-1.2.2:1.0: usb_probe_interface
option 1-1.2.2:1.0: usb_probe_interface - got id
option 1-1.2.2:1.0: GSM modem (1-port) converter detected
usb 1-1.2.2: GSM modem (1-port) converter now attached to ttyUSB0
option 1-1.2.2:1.1: usb_probe_interface
option 1-1.2.2:1.1: usb_probe_interface - got id
option 1-1.2.2:1.1: GSM modem (1-port) converter detected
usb 1-1.2.2: GSM modem (1-port) converter now attached to ttyUSB1
option 1-1.2.2:1.2: usb_probe_interface
option 1-1.2.2:1.2: usb_probe_interface - got id
option 1-1.2.2:1.2: GSM modem (1-port) converter detected
usb 1-1.2.2: GSM modem (1-port) converter now attached to ttyUSB2
option 1-1.2.2:1.3: usb_probe_interface
option 1-1.2.2:1.3: usb_probe_interface - got id
option 1-1.2.2:1.3: GSM modem (1-port) converter detected
usb 1-1.2.2: GSM modem (1-port) converter now attached to ttyUSB3
option 1-1.2.2:1.5: usb_probe_interface
option 1-1.2.2:1.5: usb_probe_interface - got id
option 1-1.2.2:1.5: GSM modem (1-port) converter detected
usb 1-1.2.2: link qh2-0001/c3e92700 start 0 [2/0 us]
usb 1-1.2.2: GSM modem (1-port) converter now attached to ttyUSB4
PPP generic driver version 2.4.2
Unable to handle kernel NULL pointer dereference at virtual address 00000000
pgd = c3e44000
[00000000] *pgd=43f77031, *pte=00000000, *ppte=00000000
Internal error: Oops: 17 [#1] PREEMPT
last sysfs file: /sys/module/ppp_generic/initstate
Modules linked in: ppp_async crc_ccitt ppp_generic slhc option usb_wwan
CPU: 0 Not tainted (2.6.35-6-ARCH+ #1)
PC is at register_netdevice+0x90/0x3ec
LR is at register_netdevice+0x24/0x3ec
pc : [<c0232d6c>] lr : [<c0232d00>] psr: 60000013
sp : c3f39e78 ip : 00000000 fp : 00000000
r10: c3f62580 r9 : c03bb4d8 r8 : c3f444c0
r7 : c3f62590 r6 : 000566bc r5 : ffffffff r4 : c3f57020
r3 : 00000000 r2 : 00000001 r1 : 00000024 r0 : ffffffff
Flags: nZCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user
Control: 0005317f Table: 43e44000 DAC: 00000015
Process pppd (pid: 1244, stack limit = 0xc3f38270)
Stack: (0xc3f39e78 to 0xc3f3a000)
9e60: c3f57020 00000025
9e80: 00000000 c3f57020 ffffffff 000566bc c3f62590 c3f444c0 c3f62580 c02330f0
9ea0: c3f39ea8 c3f57020 ffffffff bf02e030 00000000 c00be904 c3f39f00 00000002
9ec0: 00000026 c00b2a28 00000000 c007d014 00000001 c3f39ef8 00000000 00000000
9ee0: c3f39f14 c3f444c0 bf02dda4 000566bc c004743e 0000000d c3f38000 00053650
9f00: 000566bc c00b4560 00002000 00000000 c3f444c0 000566bc c004743e c00b4fc4
9f20: 00000000 00000000 c03b5668 c3c002e0 0004ec7c 000402c8 00000002 ffffffff
9f40: c3f38000 ffffff9c c043dfc0 40000000 c043dfc0 40000000 c3f7e000 c007d9e4
9f60: 00000000 00000000 c3f444c0 000566bc c004743e 0000000d c3f38000 00053650
9f80: 00000000 c00b5074 0000000d 00000000 0004ec7c 000566bc 0004ec68 00000036
9fa0: c0023f04 c0023d80 0004ec7c 000566bc 0000000d c004743e 000566bc ffffffff
9fc0: 0004ec7c 000566bc 0004ec68 00000036 000566d8 00056714 00053650 00000000
9fe0: 0004c7b4 be9d4a24 000267b0 4017546c 00000010 0000000d 00000000 00000000
[<c0232d6c>] (register_netdevice+0x90/0x3ec) from [<c02330f0>]
[<c02330f0>] (register_netdev+0x28/0x50) from [<bf02e030>]
(ppp_ioctl+0x28c/0x107c [ppp_generic])
[<bf02e030>] (ppp_ioctl+0x28c/0x107c [ppp_generic]) from [<c00b4560>]
[<c00b4560>] (vfs_ioctl+0x2c/0xac) from [<c00b4fc4>] (do_vfs_ioctl+0x514/0x57c)
[<c00b4fc4>] (do_vfs_ioctl+0x514/0x57c) from [<c00b5074>] (sys_ioctl+0x48/0x70)
[<c00b5074>] (sys_ioctl+0x48/0x70) from [<c0023d80>] (ret_fast_syscall+0x0/0x2c)
Code: e3e03000 e5843190 e5843058 e59430c0 (e5933000)
---[ end trace 08ce0f4dd0c15680 ]---