[Letux-kernel] [PATCH RFC] net: hso: register netdev later to avoid a race condition

H. Nikolaus Schaller hns at goldelico.com
Tue Apr 25 15:13:01 CEST 2017


Hi,

> Am 24.04.2017 um 23:20 schrieb Andreas Kemnade <andreas at kemnade.info>:
> 
> Hi,
> 
> On Mon, 24 Apr 2017 22:52:34 +0200
> "H. Nikolaus Schaller" <hns at goldelico.com> wrote:
> 
>> Hi,
>> 
>>> Am 24.04.2017 um 22:41 schrieb Andreas Kemnade <andreas at kemnade.info>:
>>> 
>>> Hi,
>>> 
>>> On Mon, 24 Apr 2017 22:36:11 +0200
>>> Andreas Kemnade <andreas at kemnade.info> wrote:
>>> 
>>>> If the netdev is accessed before the urbs are initialized,
>>>> there will be NULL pointer dereferences
>>>> 
>>>> Signed-off-by: Andreas Kemnade <andreas at kemnade.info>
>>> 
>>> this should be a replacement for
>>> 
>>> drivers: net: hso: hack to avoid NULL pointer dereferencing - the reason is unknown. Perhaps some race condition in the USB stack?
>>> 
>>> I cannot reproduce the problem here even without that hack patch. There
>>> was some dhcpd running? How was it started?
>> 
>> I don't exactly remember. I think when starting the modem and during enumeration of the interfaces.
>> 
>> If I remember correctly it started to occur with 4.11-rc1 or 2. Or maybe even earlier and was never seen again after applying the hack.
>> 
> 
> from git show 64c8821c4167d1a7a13caaedb419366296c2de30
>    [  672.198486] CPU: 0 PID: 2403 Comm: dhcpcd Tainted: G        W       4.10.
> 0-letux+ #848
> 
> So it was 4.10. and there was a dhcpcd running. And it was probably
> very quick at attaching the device. So it triggered the race condition.
> It accesses the device when it is not yet ready.
> But my patch should prevent that.
> 
> There are no recent changes in hso anyway, so bugs may just randomly
> get uncovered or hidden again.

I tried to remove my patch and add yours and the bug is back.
At least on GTA04A5.

It occurs right after the hso driver has been loaded for the first time.


> root at letux:~# lsusb
> Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
> Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
> root at letux:~# ./wwan-status
> [  357.913024] wwan_on_off_rfkill_set_block: blocked: 0
> [  357.919616] modem: set_power 1
> [  357.930999]   state 0
> [  357.933502] modem: send impulse
> [  358.676696] modem: done
> [  360.946136] usb 1-2: new high-speed USB device number 2 using ehci-omap
> [  361.151885] usb 1-2: New USB device found, idVendor=0af0, idProduct=8800
> [  361.159393] usb 1-2: New USB device strings: Mfr=3, Product=2, SerialNumber=0
> [  361.168518] usb 1-2: Product: Globetrotter HSUPA Modem
> [  361.173950] usb 1-2: Manufacturer: Option N.V.
> [  361.420532] hso: drivers/net/usb/hso.c: Option Wireless
> [  361.477783] Unable to handle kernel NULL pointer dereference at virtual address 00000030
> [  361.503814] pgd = eca7c000
> [  361.510253] hso 1-2:1.5: Not our interface
> [  361.520660] [00000030] *pgd=aca4a831, *pte=00000000, *ppte=00000000
> [  361.529022] usbcore: registered new interface driver hso
> [  361.551696] Internal error: Oops: 817 [#1] PREEMPT SMP ARM
> [  361.557464] Modules linked in: hso bnep bluetooth usb_f_ecm g_ether usb_f_rndis u_ether libcomposite configfs ipv6 arc4 wl18xx wlcore mac80211 cfg80211 bq27xxx_battery omapdrm drm_kms_helper cfbfillrect syscopyarea cfbimgblt sysfillrect sysimgblt fb_sys_fops cfbcopyarea drm panel_tpo_td028ttec1 snd_soc_simple_card snd_soc_simple_card_utils snd_soc_omap_twl4030 encoder_opa362 wwan_on_off twl4030_madc_hwmon snd_soc_gtm601 connector_analog_tv pwm_omap_dmtimer generic_adc_battery pwm_bl extcon_gpio omap3_isp videobuf2_dma_contig videobuf2_memops wlcore_sdio videobuf2_v4l2 w1_bq27000 videobuf2_core ov9650 omap2430 omap_hdq snd_soc_omap_mcbsp v4l2_common snd_soc_omap bmp280_i2c snd_pcm_dmaengine videodev bmp280 bmg160_i2c bmg160_core bmc150_accel_i2c bmc150_magn_i2c phy_twl4030_usb bmc150_magn bmc150_accel_core
> [  361.632415]  at24 industrialio_triggered_buffer media nvmem_core tsc2007 leds_tca6507 bno055 kfifo_buf musb_hdrc gpio_twl4030 twl4030_pwrbutton twl4030_vibra snd_soc_twl4030 twl4030_charger twl4030_madc industrialio w2sg0004 ehci_omap omapdss
> [  361.654998] CPU: 0 PID: 2697 Comm: dhcpcd Tainted: G        W       4.11.0-rc8-letux+ #1012
> [  361.663726] Hardware name: Generic OMAP36xx (Flattened Device Tree)
> [  361.670288] task: ec9aa280 task.stack: ed72a000
> [  361.675079] PC is at hso_start_net_device+0x50/0xc0 [hso]
> [  361.680725] LR is at hso_net_open+0x68/0x84 [hso]
> [  361.685638] pc : [<bf2d4304>]    lr : [<bf2d4ed8>]    psr: a0030013
> [  361.685638] sp : ed72be20  ip : 00000000  fp : ffffffff
> [  361.697631] r10: 00000000  r9 : ed11ba0c  r8 : ed71a62c
> [  361.703094] r7 : bf2d4ef4  r6 : ed71a600  r5 : 00000000  r4 : ed13d6c0
> [  361.709899] r3 : 00000000  r2 : c0020280  r1 : 00000000  r0 : ec964800
> [  361.716735] Flags: NzCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment none
> [  361.724182] Control: 10c5387d  Table: aca7c019  DAC: 00000051
> [  361.730194] Process dhcpcd (pid: 2697, stack limit = 0xed72a218)
> [  361.736480] Stack: (0xed72be20 to 0xed72c000)
> [  361.741027] be20: ed13d6c0 ed71a698 00000001 00000000 ed71a000 ed71a600 ed71a660 00000000
> [  361.749572] be40: ed11ba0c bf2d4ed8 bf2d4e70 ed71a000 00000001 bf2d8234 ed71a030 c068e530
> [  361.758117] be60: c068e490 ed71a000 00000001 00001091 00001090 c068e77c ed71a000 00001090
> [  361.766662] be80: ed71a140 ed71a000 00000000 c068e838 00000000 00000001 ed11ba00 ed71a000
> [  361.775207] bea0: 00000000 c06ff760 c0ca39c2 bec3282c 00000020 00000000 306f7368 00000000
> [  361.783752] bec0: 00000000 00000000 00001091 00000000 00000000 00000000 00000000 00008914
> [  361.792327] bee0: ede83920 bec3282c c0c9bfc0 ede83900 00000005 00000000 0003d160 c066b50c
> [  361.800872] bf00: bec3282c ede83920 ed100a40 c02839a0 00000005 c0282e80 0000c000 c0283844
> [  361.809417] bf20: c09b16c9 c098c994 00000001 c0c5e513 c0c5e513 00000000 c0151444 c01a20f4
> [  361.817962] bf40: c0c5e513 c01a3168 ed72a000 c01a3194 ec9aa830 60030013 00000000 ec9aa280
> [  361.826507] bf60: ec9aa774 00000000 ed100a40 ed100a40 bec3282c 00008914 00000005 00000000
> [  361.835083] bf80: 0003d160 c02839a0 00001091 0003a1f0 000533a8 0003a248 00000036 c01071e4
> [  361.843627] bfa0: ed72a000 c0107040 0003a1f0 000533a8 00000005 00008914 bec3282c 00001091
> [  361.852172] bfc0: 0003a1f0 000533a8 0003a248 00000036 0003ac0c 000533a8 000533b0 0003d160
> [  361.860717] bfe0: 0003a0ac bec32824 000167eb b6ea5106 40030030 00000005 afffd861 afffdc61
> [  361.869293] [<bf2d4304>] (hso_start_net_device [hso]) from [<bf2d4ed8>] (hso_net_open+0x68/0x84 [hso])
> [  361.879058] [<bf2d4ed8>] (hso_net_open [hso]) from [<c068e530>] (__dev_open+0xa0/0xf4)
> [  361.887359] [<c068e530>] (__dev_open) from [<c068e77c>] (__dev_change_flags+0x8c/0x130)
> [  361.895782] [<c068e77c>] (__dev_change_flags) from [<c068e838>] (dev_change_flags+0x18/0x48)
> [  361.904632] [<c068e838>] (dev_change_flags) from [<c06ff760>] (devinet_ioctl+0x348/0x714)
> [  361.913208] [<c06ff760>] (devinet_ioctl) from [<c066b50c>] (sock_ioctl+0x2b0/0x308)
> [  361.921234] [<c066b50c>] (sock_ioctl) from [<c0282e80>] (vfs_ioctl+0x20/0x34)
> [  361.928741] [<c0282e80>] (vfs_ioctl) from [<c0283844>] (do_vfs_ioctl+0x82c/0x93c)
> [  361.936584] [<c0283844>] (do_vfs_ioctl) from [<c02839a0>] (SyS_ioctl+0x4c/0x74)
> [  361.944244] [<c02839a0>] (SyS_ioctl) from [<c0107040>] (ret_fast_syscall+0x0/0x1c)
> [  361.952209] Code: e3822103 e3822080 e1822781 e5981014 (e5832030)
> 
> Message from syslogd at letux at Jan  1 00:05:57 ...
>  kernel:[  361.551696] Internal error: Oops: 817 [#1] PREEMPT SMP ARM
> 
> Message from syslogd at letux at Jan  1 00:05:57 ...
>  kernel:[  361.730194] Process dhcpcd (pid: 2697, stack limit = 0xed72a218)
> 
> Message from syslogd at letux at Jan  1 00:05:57 ...
>  kernel:[  361.736480] Stack: (0xed72be20 to 0xed72c000)
> 
> Message from syslogd at letux at Jan  1 00:05:57 ...
>  kernel:[  361.741027] be20: ed13d6c0 ed71a698 00000001 00000000 ed71a000 ed71a600 ed71a660 00000000
> 
> Message from syslogd at letux at Jan  1 00:05:57 ...
>  kernel:[  361.749572] be40: ed11ba0c bf2d4ed8 bf2d4e70 ed71a000 00000001 bf2d8234 ed71a030 c068e530
> 
> Message from syslogd at letux at Jan  1 00:05:57 ...
>  kernel:[  361.758117] be60: c068e490 ed71a000 00000001 00001091 00001090 c068e77c ed71a000 00001090
> 
> Message from syslogd at letux at Jan  1 00:05:57 ...
> [  362.051330] ---[ end trace 9481505968f50dc9 ]---0000 c068e838 00000000 00000001 ed11ba00 ed71a000
> 
> 
> Message from syslogd at letux at Jan  1 00:05:57 ...
>  kernel:[  361.775207] bea0: 00000000 c06ff760 c0ca39c2 bec3282c 00000020 00000000 306f7368 00000000
> 
> Message from syslogd at letux at Jan  1 00:05:57 ...
>  kernel:[  361.783752] bec0: 00000000 00000000 00001091 00000000 00000000 00000000 00000000 00008914
> 
> Message from syslogd at letux at Jan  1 00:05:57 ...
>  kernel:[  361.792327] bee0: ede83920 bec3282c c0c9bfc0 ede83900 00000005 00000000 0003d160 c066b50c
> 
> Message from syslogd at letux at Jan  1 00:05:57 ...
>  kernel:[  361.800872] bf00: bec3282c ede83920 ed100a40 c02839a0 00000005 c0282e80 0000c000 c0283844
> 
> Message from syslogd at letux at Jan  1 00:05:57 ...
>  kernel:[  361.809417] bf20: c09b16c9 c098c994 00000001 c0c5e513 c0c5e513 00000000 c0151444 c01a20f4
> 
> Message from syslogd at letux at Jan  1 00:05:57 ...
>  kernel:[  361.817962] bf40: c0c5e513 c01a3168 ed72a000 c01a3194 ec9aa830 60030013 00000000 ec9aa280
> 
> Message from syslogd at letux at Jan  1 00:05:57 ...
>  kernel:[  361.826507] bf60: ec9aa774 00000000 ed100a40 ed100a40 bec3282c 00008914 00000005 00000000
> 
> Message from syslogd at letux at Jan  1 00:05:57 ...
>  kernel:[  361.835083] bf80: 0003d160 c02839a0 00001091 0003a1f0 000533a8 0003a248 00000036 c01071e4
> 
> Message from syslogd at letux at Jan  1 00:05:57 ...
>  kernel:[  361.843627] bfa0: ed72a000 c0107040 0003a1f0 000533a8 00000005 00008914 bec3282c 00001091
> 
> Message from syslogd at letux at Jan  1 00:05:57 ...
>  kernel:[  361.852172] bfc0: 0003a1f0 000533a8 0003a248 00000036 0003ac0c 000533a8 000533b0 0003d160
> 
> Message from syslogd at letux at Jan  1 00:05:57 ...
>  kernel:[  361.860717] bfe0: 0003a0ac bec32824 000167eb b6ea5106 40030030 00000005 afffd861 afffdc61
> 
> Message from syslogd at letux at Jan  1 00:05:57 ...
>  kernel:[  361.952209] Code: e3822103 e3822080 e1822781 e5981014 (e5832030)
> AT$QCVOLT
> 
> 0
> 
> OK
> AT$QCSIMSTAT?
> 
> $QCSIMSTAT: 0,UNKNOWN
> 
> OK
> AT+CGMI
> 
> Option N.V.
> 
> OK
> AT+CGMM
> 
> GTM601
> 
> OK
> AT+CGMR
> 
> 2.2.39.0 (Date: Sep 28 2012, Time: 10:11:09)
> 
> OK
> AT+CGSN
> 
> 354154040182997,LG3MCBF0C6
> 
> OK
> AT+CIMI
> 
> +CME ERROR: operation not allowed
> AT+CPIN?
> 
> +CME ERROR: SIM not inserted
> ^Croot at letux:~#

It simply happens during USB enumeration after turning on the modem.
And it seems to be on the modems with newer firmware.

"hso 1-2:1.5: Not our interface"

is some hint about an USB interface node that is not (properly) processed by the hso driver.

Another run was fine.

A third one did show

> root at letux:~# ps -ef|fgrep dhcp
> root      2683     1  0 00:41 ?        00:00:00 /sbin/dhcpcd
> root      2721  2714  0 00:42 ttyO2    00:00:00 grep -F dhcp
> root at letux:~# ./wwan-status
> [  205.059783] wwan_on_off_rfkill_set_block: blocked: 0
> [  205.066040] modem: set_power 1
> [  205.071838]   state 0
> [  205.074249] modem: send impulse
> [  205.816101] modem: done
> [  208.385131] usb 2-2: new high-speed USB device number 2 using ehci-omap
> [  208.593627] usb 2-2: New USB device found, idVendor=0af0, idProduct=8800
> [  208.601501] usb 2-2: New USB device strings: Mfr=3, Product=2, SerialNumber=0
> [  208.611846] usb 2-2: Product: Globetrotter HSUPA Modem
> [  208.619445] usb 2-2: Manufacturer: Option N.V.
> [  208.895874] hso: drivers/net/usb/hso.c: Option Wireless
> [  209.036987] Unable to handle kernel NULL pointer dereference at virtual address 00000030
> [  209.063812] pgd = eca28000
> [  209.073242] hso 2-2:1.5: Not our interface
> [  209.081573] usbcore: registered new interface driver hso
> [  209.090637] [00000030] *pgd=aca52831, *pte=00000000, *ppte=00000000
> [  209.114990] Internal error: Oops: 817 [#1] PREEMPT SMP ARM
> [  209.120758] Modules linked in: hso bnep bluetooth usb_f_ecm g_ether usb_f_rndis u_ether libcomposite configfs ipv6 arc4 wl18xx wlcore mac80211 cfg80211 bq27xxx_battery omapdrm drm_kms_helper cfbfillrect syscopyarea cfbimgblt sysfillrect sysimgblt fb_sys_fops cfbcopyarea drm panel_tpo_td028ttec1 snd_soc_simple_card snd_soc_simple_card_utils snd_soc_omap_twl4030 encoder_opa362 twl4030_madc_hwmon wwan_on_off snd_soc_gtm601 pwm_omap_dmtimer connector_analog_tv pwm_bl generic_adc_battery extcon_gpio omap3_isp videobuf2_dma_contig videobuf2_memops videobuf2_v4l2 videobuf2_core wlcore_sdio w1_bq27000 ov9650 omap_hdq omap2430 v4l2_common at24 bmp280_i2c nvmem_core bmp280 videodev bmg160_i2c bmg160_core bmc150_accel_i2c phy_twl4030_usb bmc150_magn_i2c snd_soc_omap_mcbsp bmc150_accel_core bmc150_magn snd_soc_omap
> [  209.195617]  industrialio_triggered_buffer media tsc2007 leds_tca6507 bno055 kfifo_buf snd_pcm_dmaengine musb_hdrc gpio_twl4030 twl4030_charger twl4030_madc twl4030_vibra snd_soc_twl4030 twl4030_pwrbutton industrialio w2sg0004 ehci_omap omapdss
> [  209.218383] CPU: 0 PID: 2683 Comm: dhcpcd Tainted: G        W       4.11.0-rc8-letux+ #1012
> [  209.227111] Hardware name: Generic OMAP36xx (Flattened Device Tree)
> [  209.233673] task: ed532140 task.stack: eca56000
> [  209.238464] PC is at hso_start_net_device+0x50/0xc0 [hso]
> [  209.244140] LR is at hso_net_open+0x68/0x84 [hso]
> [  209.249084] pc : [<bf2d2304>]    lr : [<bf2d2ed8>]    psr: a0030013
> [  209.249084] sp : eca57e20  ip : 00000000  fp : ffffffff
> [  209.261108] r10: 00000000  r9 : ed110a0c  r8 : ecadce2c
> [  209.266571] r7 : bf2d2ef4  r6 : ecadce00  r5 : 00000000  r4 : ed0f7600
> [  209.273406] r3 : 00000000  r2 : c0020280  r1 : 00000000  r0 : ed6df800
> [  209.280273] Flags: NzCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment none
> [  209.287719] Control: 10c5387d  Table: aca28019  DAC: 00000051
> [  209.293762] Process dhcpcd (pid: 2683, stack limit = 0xeca56218)
> [  209.300048] Stack: (0xeca57e20 to 0xeca58000)
> [  209.304626] 7e20: ed0f7600 ecadce98 00000001 00000000 ecadc800 ecadce00 ecadce60 00000000
> [  209.313201] 7e40: ed110a0c bf2d2ed8 bf2d2e70 ecadc800 00000001 bf2d6234 ecadc830 c068e530
> [  209.321777] 7e60: c068e490 ecadc800 00000001 00001091 00001090 c068e77c ecadc800 00001090
> [  209.330322] 7e80: ecadc940 ecadc800 00000000 c068e838 00000000 00000001 ed110a00 ecadc800
> [  209.338897] 7ea0: 00000000 c06ff760 c0ca39c2 bee2982c 00000020 00000000 306f7368 00000000
> [  209.347473] 7ec0: 00000000 00000000 00001091 00000000 00000000 00000000 00000000 00008914
> [  209.356018] 7ee0: edd2a260 bee2982c c0c9bfc0 edd2a240 00000005 00000000 0003d160 c066b50c
> [  209.364593] 7f00: bee2982c edd2a260 ed06b900 c02839a0 00000005 c0282e80 0000c000 c0283844
> [  209.373168] 7f20: c09b16c9 c098c994 00000001 c0c5e513 c0c5e513 00000000 c0151444 c01a20f4
> [  209.381713] 7f40: c0c5e513 c01a3168 eca56000 c01a3194 ed5326f0 60030013 00000000 ed532140
> [  209.390289] 7f60: ed532634 00000000 ed06b900 ed06b900 bee2982c 00008914 00000005 00000000
> [  209.398834] 7f80: 0003d160 c02839a0 00001091 0003a1f0 000533a8 0003a248 00000036 c01071e4
> [  209.407409] 7fa0: eca56000 c0107040 0003a1f0 000533a8 00000005 00008914 bee2982c 00001091
> [  209.415985] 7fc0: 0003a1f0 000533a8 0003a248 00000036 0003ac0c 000533a8 000533b0 0003d160
> [  209.424530] 7fe0: 0003a0ac bee29824 000167eb b6e8d106 40030030 00000005 afffd861 afffdc61
> [  209.433135] [<bf2d2304>] (hso_start_net_device [hso]) from [<bf2d2ed8>] (hso_net_open+0x68/0x84 [hso])
> [  209.442901] [<bf2d2ed8>] (hso_net_open [hso]) from [<c068e530>] (__dev_open+0xa0/0xf4)
> [  209.451202] [<c068e530>] (__dev_open) from [<c068e77c>] (__dev_change_flags+0x8c/0x130)
> [  209.459594] [<c068e77c>] (__dev_change_flags) from [<c068e838>] (dev_change_flags+0x18/0x48)
> [  209.468444] [<c068e838>] (dev_change_flags) from [<c06ff760>] (devinet_ioctl+0x348/0x714)
> [  209.477050] [<c06ff760>] (devinet_ioctl) from [<c066b50c>] (sock_ioctl+0x2b0/0x308)
> [  209.485076] [<c066b50c>] (sock_ioctl) from [<c0282e80>] (vfs_ioctl+0x20/0x34)
> [  209.492553] [<c0282e80>] (vfs_ioctl) from [<c0283844>] (do_vfs_ioctl+0x82c/0x93c)
> [  209.500396] [<c0283844>] (do_vfs_ioctl) from [<c02839a0>] (SyS_ioctl+0x4c/0x74)
> [  209.508056] [<c02839a0>] (SyS_ioctl) from [<c0107040>] (ret_fast_syscall+0x0/0x1c)
> [  209.515991] Code: e3822103 e3822080 e1822781 e5981014 (e5832030)
> 
> Message from syslogd at letux at Jan  1 00:43:04 ...
>  kernel:[  209.114990] Internal error: Oops: 817 [#1] PREEMPT SMP ARM
> 
> Message from syslogd at letux at Jan  1 00:43:04 ...
>  kernel:[  209.293762] Process dhcpcd (pid: 2683, stack limit = 0xeca56218)
> 
> Message from syslogd at letux at Jan  1 00:43:04 ...
>  kernel:[  209.300048] Stack: (0xeca57e20 to 0xeca58000)
> 
> Message from syslogd at letux at Jan  1 00:43:04 ...
>  kernel:[  209.304626] 7e20: ed0f7600 ecadce98 00000001 00000000 ecadc800 ecadce00 ecadce60 00000000
> 
> Message from syslogd at letux at Jan  1 00:43:04 ...
>  kernel:[  209.313201] 7e40: ed110a0c bf2d2ed8 bf2d2e70 ecadc800 00000001 bf2d6234 ecadc830 c068e530
> 
> Message from syslogd at letux at Jan  1 00:43:04 ...
>  kernel:[  209.321777] 7e60: c068e490 ecadc800 00000001 00001091 00001090 c068e77c ecadc800 00001090
> 
> Message from syslogd at letux at Jan  1 00:4[  209.600952] ---[ end trace 88895692e84c7458 ]---
> 3:04 ...
>  kernel:[  209.330322] 7e80: ecadc940 ecadc800 00000000 c068e838 00000000 00000001 ed110a00 ecadc800
> 
> Message from syslogd at letux at Jan  1 00:43:04 ...
>  kernel:[  209.338897] 7ea0: 00000000 c06ff760 c0ca39c2 bee2982c 00000020 00000000 306f7368 00000000
> 
> Message from syslogd at letux at Jan  1 00:43:04 ...
>  kernel:[  209.347473] 7ec0: 00000000 00000000 00001091 00000000 00000000 00000000 00000000 00008914
> 
> Message from syslogd at letux at Jan  1 00:43:04 ...
>  kernel:[  209.356018] 7ee0: edd2a260 bee2982c c0c9bfc0 edd2a240 00000005 00000000 0003d160 c066b50c
> 
> Message from syslogd at letux at Jan  1 00:43:04 ...
>  kernel:[  209.364593] 7f00: bee2982c edd2a260 ed06b900 c02839a0 00000005 c0282e80 0000c000 c0283844
> 
> Message from syslogd at letux at Jan  1 00:43:04 ...
>  kernel:[  209.373168] 7f20: c09b16c9 c098c994 00000001 c0c5e513 c0c5e513 00000000 c0151444 c01a20f4
> 
> Message from syslogd at letux at Jan  1 00:43:04 ...
>  kernel:[  209.381713] 7f40: c0c5e513 c01a3168 eca56000 c01a3194 ed5326f0 60030013 00000000 ed532140
> 
> Message from syslogd at letux at Jan  1 00:43:04 ...
>  kernel:[  209.390289] 7f60: ed532634 00000000 ed06b900 ed06b900 bee2982c 00008914 00000005 00000000
> 
> Message from syslogd at letux at Jan  1 00:43:04 ...
>  kernel:[  209.398834] 7f80: 0003d160 c02839a0 00001091 0003a1f0 000533a8 0003a248 00000036 c01071e4
> 
> Message from syslogd at letux at Jan  1 00:43:04 ...
>  kernel:[  209.407409] 7fa0: eca56000 c0107040 0003a1f0 000533a8 00000005 00008914 bee2982c 00001091
> 
> Message from syslogd at letux at Jan  1 00:43:04 ...
>  kernel:[  209.415985] 7fc0: 0003a1f0 000533a8 0003a248 00000036 0003ac0c 000533a8 000533b0 0003d160
> 
> Message from syslogd at letux at Jan  1 00:43:04 ...
>  kernel:[  209.424530] 7fe0: 0003a0ac bee29824 000167eb b6e8d106 40030030 00000005 afffd861 afffdc61
> 
> Message from syslogd at letux at Jan  1 00:43:04 ...
>  kernel:[  209.515991] Code: e3822103 e3822080 e1822781 e5981014 (e5832030)
> AT$QCVOLT
> 
> 0
> 
> OK
> AT$QCSIMSTAT?
> 
> $QCSIMSTAT: 0,UNKNOWN
> 
> OK
> AT+CGMI
> 
> Option N.V.
> 
> OK
> AT+CGMM
> 
> GTM601
> 
> OK
> AT+CGMR
> 
> 2.2.39.0 (Date: Sep 28 2012, Time: 10:11:09)
> 
> OK
> AT+CGSN
> 
> 354154040182997,LG3MCBF0C6
> 
> OK
> ^Croot at letux:~# ps -ef|fgrep dhcp
> root      2762  2714  0 00:43 ttyO2    00:00:00 grep -F dhcp
> root at letux:~#

So it is more that dhcpd is asking for something which the driver doesn't want
to provide and that makes dhcpd crash.

Now I will test on GTA04A4.

BR,
Nikolaus


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.goldelico.com/pipermail/letux-kernel/attachments/20170425/709707fa/attachment.asc>


More information about the Letux-kernel mailing list