Navigation

    MangoPi.Club

    • Register
    • Login
    • Search
    • Popular
    • 最新
    • 版块
    • 用户
    • 话题
    • Home

    网线插拔时,内核报一个错误提示

    中文
    2
    8
    41
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Z
      zhongtao last edited by

      从Git上取最新的openwrt_widora的master分支, 重新编译,下载到bit5.1+kit后,系统检测到网线插拔时,会报如下提示

      [ 21.590000] rt305x-esw 10110000.esw: link changed 0x01
      [ 21.590000] (NULL device *): kill_sig_workq
      [ 21.840000] rt305x-esw 10110000.esw: link changed 0x00
      [ 21.850000] (NULL device *): kill_sig_workq

      请问,这是什么问题,会有什么影响吗?

      1 Reply Last reply Reply Quote
      • Z
        zhongtao last edited by

        用原来1.09的版本是没有这个提示的

        M 1 Reply Last reply Reply Quote
        • M
          mangogeek @zhongtao last edited by

          @zhongtao https://wiki.widora.cn/firmware 这里边的固件有问题吗?

          1 Reply Last reply Reply Quote
          • Z
            zhongtao last edited by

            https://wiki.widora.cn/firmware 里的固件没有这个提示,

            我重新编译的目的是,按照下面的链接增加RNDIS的支持,
            https://sns.widora.cn/topic/612/mt7688-air720-4g简单测试
            但是我手里的是华为ME909S模块,它需要增加USB serial的支持,以便通过命令启动RNDIS拨号,但是你附件的版本,还少了一个驱动kmod-usb-serial-option,导致串口不能识别,总之增加需要以下驱动,

            kmod-usb-net  
            kmod-usb-net-rndis
            kmod-usb-serial
            kmod-usb-serial-wwan
            kmod-usb-serial-option
            

            只是我生成的版本有运行是上面的出错提示,版本是直接从Git取下来,插入模块后的提示如下,模块可以识别,但是只是一次,后面再也不能识别了,可能是我的miniPCI转USB硬件出的问题,因为PC也再不能识别这个模块了,我会重新买一个,再试一下
            [ 139.490000] cdc_ether 1-1:2.0 usb0: register 'cdc_ether' at usb-101c0000.ehci-1, CDC Ethernet Device, 02:1e:10:1f:00:00
            [ 139.510000] option 1-1:2.2: GSM modem (1-port) converter detected
            [ 139.510000] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB0
            [ 139.520000] option 1-1:2.3: GSM modem (1-port) converter detected
            [ 139.530000] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB1
            [ 139.540000] option 1-1:2.4: GSM modem (1-port) converter detected
            [ 139.540000] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB2
            [ 139.550000] option 1-1:2.5: GSM modem (1-port) converter detected
            [ 139.560000] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB3
            [ 139.580000] option 1-1:2.6: GSM modem (1-port) converter detected
            [ 139.580000] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB4
            [ 150.450000] usb 1-1: USB disconnect, device number 2
            [ 150.450000] cdc_ether 1-1:2.0 usb0: unregister 'cdc_ether' usb-101c0000.ehci-1, CDC Ethernet Device
            [ 150.480000] option1 ttyUSB0: GSM modem (1-port) converter now disconnected from ttyUSB0
            [ 150.480000] option 1-1:2.2: device disconnected
            [ 150.490000] option1 ttyUSB1: GSM modem (1-port) converter now disconnected from ttyUSB1
            [ 150.500000] option 1-1:2.3: device disconnected
            [ 150.500000] option1 ttyUSB2: GSM modem (1-port) converter now disconnected from ttyUSB2
            [ 150.510000] option 1-1:2.4: device disconnected
            [ 150.520000] option1 ttyUSB3: GSM modem (1-port) converter now disconnected from ttyUSB3
            [ 150.520000] option 1-1:2.5: device disconnected
            [ 150.530000] option1 ttyUSB4: GSM modem (1-port) converter now disconnected from ttyUSB4
            [ 150.540000] option 1-1:2.6: device disconnected

            1 Reply Last reply Reply Quote
            • Z
              zhongtao last edited by

              应该只是一条调试信息,容易误解以为系统检查到为空指针

              49 target/linux/ramips/patches-3.18/1000-esw_rt3052-update-wan-ip.patch
              @@ -444,8 +444,36 @@ static void esw_set_gsc(struct rt305x_es
              +void kill_sig_workq(struct work_struct *work)
              +{

              • dev_info(NULL, "kill_sig_workq\n");
              • ...
                

              +}

              M 1 Reply Last reply Reply Quote
              • M
                mangogeek @zhongtao last edited by

                @zhongtao 代码有一段时间没动过了,不应该出现不一致的情况。
                检查下wifi是否正常?

                1 Reply Last reply Reply Quote
                • Z
                  zhongtao last edited by

                  wifi功能正常,这段代码是最近 2月9日,加到master分支上

                  Commits on Feb 9, 2020

                  Merge pull request #21 from Lemon080910/updatewanip 
                  

                  @YuanCM-me
                  YuanCM-me committed on 9 Feb

                  Update README.md
                  @YuanCM-me
                  YuanCM-me committed on 9 Feb

                  fix git checkout break on windows
                  @YuanCM-me
                  YuanCM-me committed on 9 Feb

                  fix git checkout break on windows
                  @YuanCM-me
                  YuanCM-me committed on 9 Feb

                  Commits on Dec 26, 2019

                  增加1000-esw_rt3052-update-wan-ip.patch 
                  

                  @Lemon080910
                  Lemon080910 committed on 26 Dec 2019

                  1 Reply Last reply Reply Quote
                  • M
                    mangogeek last edited by

                    想起来了,当时是有人提交了个pr。

                    1 Reply Last reply Reply Quote
                    • First post
                      Last post
                    紧急事务请联系:hello @ widora.io