Skip to content

pomera-kernel 2026.11.18

Choose a tag to compare

@yasoteien yasoteien released this 18 Nov 11:06
· 1 commit to main since this release

上げ方: sudo apt update && sudo apt upgrade(apt-get なら dist-upgrade か full-upgrade)。次の起動で新しい版を 1 回だけ試し、正常なら確定します。

変更

  • Linux 6.18 LTS の 6.18.63 → 6.18.64 に追従(pomera-kernel-6.18.64-wk20261118)。32 ビットの mm(4GiB を超える範囲の切り詰め、書き戻しの計算のあふれ)、FAT、IPv6、Bluetooth L2CAP、Wi-Fi(cfg80211・mac80211・brcmfmac)の修正を含む(例: CVE-2026-99272、CVE-2026-99275。SMB の共有を mount する時だけ関係します)。
  • DM250 用のパッチに 0025〜0036 を足した(セキュリティ向けのモデル Claude Mythos によるレビューの指摘を、実機で確かめて直した物。下の「直した不具合」と「追加」)。
  • README に「電池が空に近い時の充電について」を書いた(既知の問題)。
  • U-Boot(dm250.8)と pomera-kernel-tools(0.8)は前の版と同じ。

追加

  • 電池が熱い時(約 55℃ 以上)は充電を止め、冷めたら自動で再開する(電池の温度センサーを使う。止まっている間は「充電していない・過熱」と表示)。
  • 電池がほとんど空の時(電池だけで約 3.55V 未満、または約 3.5V を一度下回った後の 3.7V 未満、または 3.5V 未満の間)は、蓋を閉じてもスリープしない。眠ったまま電池を使い切るのを防ぎ、残量が無くなった時の普通の終了を働かせるため。休止(hibernate)はできます。

直した不具合

  • hibernate の写しを書いている間に watchdog でリセットされ、写しが失われる事があった(watchdog が動いている起動、たとえば新しい版を試した後の起動で)。
  • 電池の電圧が持ち直して強制の電源断を取り消した後、電池の見張りが止まったままになっていた。
  • キーボードの読み取りに失敗した瞬間に押していたキーが、押されたまま連打になる事があった。
  • 開発用の設定(debug_key_state)を入れると、打ったキーがカーネルのログに残った(既定では無効。設定ごと消した)。
  • 充電のドライバの起動が途中で失敗すると、PC の USB ポートでも 2A を引こうとする設定が残った。
  • 充電のドライバを外す操作(root だけ)で、解放したメモリを使うおそれがあった。
  • 電池の設定(DT)の充電電圧が 4.2V より低い時も 4.2V で充電していた(DM250 は 4.2V なので影響なし)。校正値・試験用の設定が異常な時の守りを足した。

Upgrade with sudo apt update && sudo apt upgrade (with apt-get, use dist-upgrade or full-upgrade). The next boot tries the new kernel once and confirms it if healthy.

Changed

  • Follow Linux 6.18 LTS from 6.18.63 to 6.18.64 (pomera-kernel-6.18.64-wk20261118), including fixes to 32-bit mm (truncation beyond 4 GiB, an overflow in writeback), FAT, IPv6, Bluetooth L2CAP and Wi-Fi (cfg80211, mac80211, brcmfmac) (e.g. CVE-2026-99272, CVE-2026-99275, which matter only when mounting SMB shares).
  • New DM250 patches 0025 to 0036: findings of a review by Claude Mythos, a model for security work, checked on the device and fixed (see Added and Fixed below).
  • The README now has "Charging a nearly empty battery" (a known issue).
  • U-Boot (dm250.8) and pomera-kernel-tools (0.8) are the same as in the previous release.

Added

  • Charging pauses while the battery is hot (about 55 C or more) and goes on by itself when it cools, using the battery's temperature sensor (shown as not charging, overheat).
  • With the battery nearly empty (on battery below about 3.55 V, or below 3.7 V after it once fell below 3.5 V, or while below 3.5 V), the Pomera does not sleep when the lid is closed, so that it does not run the battery flat while asleep and the normal shutdown on an empty battery can run. Hibernation still works.

Fixed

  • The system could be reset by the watchdog while writing the hibernation image, losing it (on a boot where the watchdog runs, such as the boot after trying a new kernel).
  • After the battery recovered and the forced power-off was cancelled, the battery was no longer watched.
  • A key held at the moment a keyboard read failed could stay pressed and repeat.
  • With a debug setting (debug_key_state) on, typed keys went to the kernel log (off by default; the setting is removed).
  • If the charger driver failed partway through starting, the USB input limit was left at 2 A, also on a PC's USB port.
  • Unbinding the charger driver (root only) could use freed memory.
  • A battery node with a charge voltage below 4.2 V was still charged at 4.2 V (the DM250 uses 4.2 V, so no effect). Checks for abnormal calibration and test values were added.