[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[plamo:33334] Re: Kernel-5.6.0テスト報告



 名倉 です。

> ご無沙汰しております。阿部です。
> Kernel.orgにて linux-5.6 がリリースされていたため、linux-5.6.0ソースに
> PlamoのCJKパッチをあててカーネル関連パッケージを作成及びインストールしてみた結果を報告します。
> 
> 1) CJKパッチ: パッチはエラー無くあたり、パッケージ作成可能でした。
>         また、起動ログイン後のコンソールにおいて日本語が表示されていることを確認しました。
> 
> 2) iwlwifiのリンクアップで問題発生:
>   iwlwifiの無線接続を使用しているラップトップPCにおいて、新カーネル(5.6.0)で起動時のログに
>   下記のようなログが繰り返し表示されて無線接続できない不具合がありました。
>  ログ:
>  [  512.085509] wlan0: authentication with 64:66:b3:xx:xx:xx timed out
>  [  521.048959] wlan0: authenticate with 64:66:b3:be:b6:cc
>  [  521.052416] wlan0: send auth to 64:66:b3:xx:xx:xx (try 1/3)
>  [  521.053199] wlan0: send auth to 64:66:b3:xx:xx:xx (try 2/3)
>  [  521.053209] wlan0: send auth to 64:66:b3:xx:xx:xx (try 3/3)
> 
> kernel.orgの Mailing-Listで同様の報告があり、下記のパッチをあててパッケージを再作成することで
> 問題は解決しました。
> 
> パッチ;
> ===================================================================================
> diff --git a/net/mac80211/tx.c b/net/mac80211/tx.c
> index d9cca6d..efe4c1f 100644
> --- a/net/mac80211/tx.c
> +++ b/net/mac80211/tx.c
> @@ -3610,7 +3610,8 @@ begin:
>                   * Drop unicast frames to unauthorised stations unless they are
>                   * EAPOL frames from the local station.
>                   */
> -                if (unlikely(!ieee80211_vif_is_mesh(&tx.sdata->vif) &&
> +                if (unlikely(ieee80211_is_data(hdr->frame_control) &&
> +                             !ieee80211_vif_is_mesh(&tx.sdata->vif) &&
>                               tx.sdata->vif.type != NL80211_IFTYPE_OCB &&
>                               !is_multicast_ether_addr(hdr->addr1) &&
>                               !test_sta_flag(tx.sta, WLAN_STA_AUTHORIZED) &&
> 
> ===================================================================================
> 
> 関連リンク:
> https://lkml.org/lkml/2020/3/30/250
> https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git/commit/?id=be8c827f50a0bcd56361b31ada11dc0a3c2fd240
>  
> 3) NVIDIAプロプライエタリドライバについて:
> NVIDIAの最新プロプライエタリドライバのバージョンは 440.64 ですが、Kernel-5.6 の場合は
> そのままではドライバのインストール時にエラーが出てインストールできませんでした。
> 440.64ドライバに以下のパッチをあてることで、無事インストールできましたのでこちらも情報共有します。
> 
> ・Kernel-5.6用 NVIDIA-Linux-x86_64-440.64 ドライバ patch 入手先
>    https://gitlab.com/snippets/1945940
>    https://gitlab.com/snippets/1945940/raw
> 
> ・ドライバインストール手順
>    patch名を nvidia-kernel-5.6.patch とした場合、
>    # uname -r
>      5.6.0
>    # sh NVIDIA-Linux-x86_64-440.64.run --extract-only
>    # cd NVIDIA-Linux-x86_64-440.64
>    # patch -p1 < [PATH][TO]nvidia-kernel-5.6.patch
>    # ./nvidia-installer
>     --no-install-compat32-libs 
>     --opengl-libdir=lib
>     --x-library-path=lib
>     --utility-libdir=lib
> 
> まぁ、いずれ NVIDIAからKernel-5.6対応のドライバがリリースされると思いますが。。。
> 
  変更点これからながめるところですがlinux-5.6.1リリースいただいています


References
[plamo:33333] Kernel-5.6.0 テスト報告, ABE Shin-ichi

[検索ページ] [メール一覧]
Plamo ML 公開システム