目次

Kernel Panic 発生時のログ保存

Kernel 等に不具合があり、Kernel Panic が発生してしまった場合、ログを取得することが原因解明には必要です。
Kernel Panic が発生して Reboot したときに、Kernel のログを保存する機能を設けました。


保存先

e.MMC のファームウェアなどを置いてあるパーティションに、日時のディレクトリを作成して保存されます。
Linux が起動してから、下記ディレクトリで確認することができます。

user1@gemini:~$ ls -l /ro/.host/
total 16
drwxr-xr-x 2 root root 4096 Jul 27 11:15 area0
drwxr-xr-x 2 root root 4096 Jul  1 11:39 area1
drwxr-xr-x 4 root root 4096 Jan  1  1980 oopslog  <-----
drwxr-xr-x 2 root root 4096 Aug  1 18:28 overlay
user1@gemini:~$ ls -lR /ro/.host/oopslog
/ro/.host/oopslog:
total 8
drwxr-xr-x 2 root root 4096 Jan  1  1980 20200801_183148
drwxr-xr-x 2 root root 4096 Jan  1  1980 20200801_183807

/ro/.host/oopslog/20200801_183148:
total 32
-rwxr-xr-x 1 root root  1723 Jan  1  1980 console-ramoops-0
-rwxr-xr-x 1 root root 25921 Jan  1  1980 dmesg-ramoops-0

/ro/.host/oopslog/20200801_183807:
total 32
-rwxr-xr-x 1 root root  1723 Jan  1  1980 console-ramoops-0
-rwxr-xr-x 1 root root 25921 Jan  1  1980 dmesg-ramoops-0


それぞれのファイルの内容は下記の通りです。

File 内容
console-ramoops-0コンソール出力の再起動前の最後の部分
dmesg-ramoops-0Kernel log


ファイルの内容

内容はこんな感じになっています。

console-ramoops-0
[   21.916323] systemd[1]: Finished Platform Persistent Storage Archival.
[   22.025203] tty0tty null modem driver v1.2
[   22.061465] systemd[1]: Started Journal Service.
[   23.034117] systemd-journald[388]: Received client request to flush runtime journal.
[  348.165164] sysrq: Trigger a crash
[  348.168903] Kernel panic - not syncing: sysrq triggered crash
[  348.174807] CPU: 0 PID: 825 Comm: bash Not tainted 5.4.41-linux4sam-2020.04+ #31
[  348.182511] Hardware name: Atmel SAMA5
[  348.186449] [<c010c58c>] (unwind_backtrace) from [<c0109a98>] (show_stack+0x10/0x14)
[  348.194528] [<c0109a98>] (show_stack) from [<c011fb50>] (panic+0x104/0x31c)
[  348.201825] [<c011fb50>] (panic) from [<c0400ca8>] (sysrq_handle_crash+0x10/0x14)
[  348.209453] [<c0400ca8>] (sysrq_handle_crash) from [<c04012c8>] (__handle_sysrq+0x94/0x144)
[  348.218132] [<c04012c8>] (__handle_sysrq) from [<c0401710>] (write_sysrq_trigger+0x54/0x64)
[  348.226811] [<c0401710>] (write_sysrq_trigger) from [<c0251d24>] (proc_reg_write+0x58/0x6c)
[  348.235493] [<c0251d24>] (proc_reg_write) from [<c01f2350>] (__vfs_write+0x2c/0xe8)
[  348.243293] [<c01f2350>] (__vfs_write) from [<c01f37e0>] (vfs_write+0x98/0xbc)
[  348.250838] [<c01f37e0>] (vfs_write) from [<c01f3984>] (ksys_write+0x74/0xc4)
[  348.258120] [<c01f3984>] (ksys_write) from [<c0101000>] (ret_fast_syscall+0x0/0x54)
[  348.266085] Exception stack(0xd9dd1fa8 to 0xd9dd1ff0)
[  348.271453] 1fa0:                   00000002 005b7eb0 00000001 005b7eb0 00000002 00000000
[  348.279770] 1fc0: 00000002 005b7eb0 b6f944e0 00000004 b6f2e2e4 b6f2de4c 00000000 00000000
[  348.288263] 1fe0: 00000004 be922728 b6ec746f b6e4dbe6
[  348.333852] Rebooting in 4 seconds..
 
No errors detected


dmesg-ramoops-0
====1596274681.584175-D
Panic#1 Part1
<6>[    0.000000] Booting Linux on physical CPU 0x0
<5>[    0.000000] Linux version 5.4.41-linux4sam-2020.04+ (root@ryzen7) (gcc version 9.3.0 (Ubuntu 9.3.0-10ubuntu1)) #31 PREEMPT Sat Aug 1 17:40:50 JST 2020
<6>[    0.000000] CPU: ARMv7 Processor [410fc051] revision 1 (ARMv7), cr=10c53c7d
<6>[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
<6>[    0.000000] OF: fdt: Machine model: Century Systems Gemini
<6>[    0.000000] Memory policy: Data cache writeback
<7>[    0.000000] On node 0 totalpages: 131072
<7>[    0.000000]   Normal zone: 1152 pages used for memmap
<7>[    0.000000]   Normal zone: 0 pages reserved
<7>[    0.000000]   Normal zone: 131072 pages, LIFO batch:31
<6>[    0.000000] CPU: All CPU(s) started in SVC mode.
<7>[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
<7>[    0.000000] pcpu-alloc: [0] 0 
<6>[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 129920
<5>[    0.000000] Kernel command line:  console=ttyS0,115200 alarm=0 area=1 board_id=00     loop=area1/rootfs.img loopfstype=squashfs mobiledev=AML574A overlay=tmpfs reset_cause=RST root=/dev/mmcblk0p1 rootfstype=vfat ro   xio_id=1
<6>[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
<6>[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
<6>[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
<6>[    0.000000] Memory: 505756K/524288K available (6144K kernel code, 274K rwdata, 1724K rodata, 1024K init, 370K bss, 18532K reserved, 0K cma-reserved)
<6>[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
<6>[    0.000000] rcu: Preemptible hierarchical RCU implementation.
<6>[    0.000000] 	Tasks RCU enabled.
<6>[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
<6>[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
<6>[    0.000000] L2C-310 ID prefetch enabled, offset 2 lines
<6>[    0.000000] L2C-310 dynamic clock gating enabled, standby mode enabled
<6>[    0.000000] L2C-310 cache controller enabled, 8 ways, 128 kB
<6>[    0.000000] L2C-310: CACHE_ID 0x410000c9, AUX_CTRL 0x36020000
<5>[    0.000000] random: get_random_bytes called from start_kernel+0x254/0x458 with crng_init=0
<6>[    0.000000] clocksource: timer@f800c000: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 184217874325 ns
<6>[    0.000019] sched_clock: 32 bits at 10MHz, resolution 96ns, wraps every 206986376143ns
<6>[    0.000046] Switching to timer-based delay loop, resolution 96ns
<6>[    0.018500] clocksource: pit: mask: 0x3ffffff max_cycles: 0x3ffffff, max_idle_ns: 5756808488 ns
<6>[    0.019124] Console: colour dummy device 80x30
<6>[    0.019217] Calibrating delay loop (skipped), value calculated using timer frequency.. 20.75 BogoMIPS (lpj=41500)
<6>[    0.019251] pid_max: default: 32768 minimum: 301
<6>[    0.019715] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
<6>[    0.019755] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
<6>[    0.022094] CPU: Testing write buffer coherency: ok
<6>[    0.024452] Setting up static identity map for 0x20100000 - 0x20100060
<6>[    0.024836] rcu: Hierarchical SRCU implementation.
<6>[    0.025854] devtmpfs: initialized
<6>[    0.044439] VFP support v0.3: implementor 41 architecture 2 part 30 variant 5 rev 1
<6>[    0.045466] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
<6>[    0.045521] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
<6>[    0.045917] pinctrl core: initialized pinctrl subsystem
<6>[    0.048583] NET: Registered protocol family 16
<6>[    0.050555] DMA: preallocated 256 KiB pool for atomic coherent allocations
<6>[    0.053877] cpuidle: using governor menu
<6>[    0.080798] AT91: PM: standby: standby, suspend: ulp0
<4>[    0.081346] atmel_tcb: probe of f800c000.timer failed with error -16
<3>[    0.081653] atmel_tcb f8010000.timer: IRQ index 1 not found
<3>[    0.081692] atmel_tcb f8010000.timer: IRQ index 2 not found
<6>[    0.208799] printk: console [pstore-1] enabled
<6>[    0.209596] pstore: Registered ramoops as persistent store backend
<6>[    0.210015] ramoops: using 0x100000@0x3fecc000, ecc: 16
<6>[    0.239571] cryptd: max_cpu_qlen set to 1000
<6>[    0.279062] at_xdmac f0010000.dma-controller: 16 channels, mapped at 0x(ptrval)
<6>[    0.283518] at_xdmac f0004000.dma-controller: 16 channels, mapped at 0x(ptrval)
<6>[    0.285697] AT91: Detected SoC family: sama5d2
<6>[    0.286124] AT91: Detected SoC: sama5d26, revision 2
<5>[    0.287838] SCSI subsystem initialized
<6>[    0.288940] usbcore: registered new interface driver usbfs
<6>[    0.289477] usbcore: registered new interface driver hub
<6>[    0.289949] usbcore: registered new device driver usb
<6>[    0.291778] pps_core: LinuxPPS API ver. 1 registered
<6>[    0.292130] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
<6>[    0.292608] PTP clock support registered
<6>[    0.295826] clocksource: Switched to clocksource timer@f800c000
<6>[    0.326734] NET: Registered protocol family 2
<6>[    0.328708] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
<6>[    0.329188] TCP established hash table entries: 4096 (order: 2, 16384 bytes, linear)
<6>[    0.329661] TCP bind hash table entries: 4096 (order: 2, 16384 bytes, linear)
<6>[    0.329951] TCP: Hash tables configured (established 4096 bind 4096)
<6>[    0.330678] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
<6>[    0.330944] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
<6>[    0.332093] NET: Registered protocol family 1
<6>[    0.333772] RPC: Registered named UNIX socket transport module.
<6>[    0.334198] RPC: Registered udp transport module.
<6>[    0.334410] RPC: Registered tcp transport module.
<6>[    0.334801] RPC: Registered tcp NFSv4.1 backchannel transport module.
<6>[    0.335599] Unpacking initramfs...
<5>[    1.035895] random: fast init done
<6>[    2.780667] Freeing initrd memory: 2404K
<5>[    3.023240] Initialise system trusted keyrings
<6>[    3.024523] workingset: timestamp_bits=14 max_order=17 bucket_order=3
<6>[    3.046628] squashfs: version 4.0 (2009/01/31) Phillip Lougher
<6>[    3.050457] fuse: init (API version 7.31)
<5>[    3.152852] Key type asymmetric registered
<5>[    3.153111] Asymmetric key parser 'x509' registered
<6>[    3.153553] io scheduler mq-deadline registered
<6>[    3.153772] io scheduler kyber registered
<6>[    3.154732] io scheduler bfq registered
<6>[    3.177070] pinctrl-at91-pio4 fc038000.pinctrl: atmel pinctrl initialized
<6>[    3.185929] HDLC line discipline maxframe=4096
<6>[    3.186171] N_HDLC line discipline registered.
<6>[    3.214288] loop: module loaded
<6>[    3.216209] atmel_usart_serial.0.auto: ttyS0 at MMIO 0xf8020000 (irq = 34, base_baud = 5187500) is a ATMEL_SERIAL
<6>[    3.780368] printk: console [ttyS0] enabled
<6>[    3.787322] atmel_usart_serial.1.auto: ttyS1 at MMIO 0xfc008000 (irq = 37, base_baud = 5187500) is a ATMEL_SERIAL
<6>[    3.802347] atmel_usart_serial atmel_usart_serial.2.auto: Using FIFO (32 data)
<6>[    3.810628] atmel_usart_serial.2.auto: ttyS2 at MMIO 0xf8034200 (irq = 174, base_baud = 5187500) is a ATMEL_SERIAL
<6>[    3.825573] atmel_usart_serial atmel_usart_serial.3.auto: Using FIFO (32 data)
<6>[    3.833663] atmel_usart_serial.3.auto: ttyS3 at MMIO 0xfc010200 (irq = 175, base_baud = 5187500) is a ATMEL_SERIAL
<6>[    3.850505] atmel_spi f8000000.spi: Using dma0chan0 (tx) and dma0chan1 (rx) for DMA transfers
<6>[    3.859737] atmel_spi f8000000.spi: Using FIFO (16 data)
<6>[    3.868212] spi-nor spi0.0: sst26vf016b (2048 Kbytes)
<5>[    3.873786] 6 fixed-partitions partitions found on MTD device spi0.0
<5>[    3.880341] Creating 6 MTD partitions on "spi0.0":
<5>[    3.885495] 0x000000000000-0x000000008000 : "at91boot"
<5>[    3.897979] 0x000000008000-0x000000010000 : "barebox.env"
<5>[    3.913960] 0x000000010000-0x000000090000 : "barebox.bin"
<5>[    3.930048] 0x000000090000-0x0000000b0000 : "hist_firmup"
<5>[    3.946004] 0x0000000b0000-0x000000100000 : "hist_boot"
<5>[    3.961964] 0x000000100000-0x000000200000 : "Reserved"
<6>[    3.978103] atmel_spi f8000000.spi: Atmel SPI Controller version 0x311 at 0xf8000000 (irq 28)
<6>[    3.988671] atmel_spi fc018400.spi: Using dma0chan2 (tx) and dma0chan3 (rx) for DMA transfers
<6>[    3.997769] atmel_spi fc018400.spi: Using FIFO (32 data)
<6>[    4.006117] spi-nor spi1.0: sst26vf016b (2048 Kbytes)
<6>[    4.022113] atmel_spi fc018400.spi: Atmel SPI Controller version 0x311 at 0xfc018400 (irq 176)
<6>[    4.032857] libphy: Fixed MDIO Bus: probed
<6>[    4.038269] tun: Universal TUN/TAP device driver, 1.6
<6>[    4.046398] libphy: MACB_mii_bus: probed
<6>[    4.068669] macb f8008000.ethernet eth0: Cadence GEM rev 0x00020203 at 0xf8008000 irq 29 (00:80:6d:01:01:01)
<6>[    4.080474] PPP generic driver version 2.4.2
<6>[    4.085704] PPP BSD Compression module registered
<6>[    4.090675] PPP Deflate Compression module registered
<6>[    4.096082] NET: Registered protocol family 24
<6>[    4.100757] PPTP driver version 0.8.5
<6>[    4.106277] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
<6>[    4.113072] ehci-atmel: EHCI Atmel driver
<6>[    4.117782] atmel-ehci 500000.ehci: EHCI Host Controller
<6>[    4.124334] atmel-ehci 500000.ehci: new USB bus registered, assigned bus number 1
<6>[    4.132577] atmel-ehci 500000.ehci: irq 19, io mem 0x00500000
<6>[    4.151926] atmel-ehci 500000.ehci: USB 2.0 started, EHCI 1.00
<6>[    4.158650] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.04
<6>[    4.167150] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
<6>[    4.174736] usb usb1: Product: EHCI Host Controller
<6>[    4.179782] usb usb1: Manufacturer: Linux 5.4.41-linux4sam-2020.04+ ehci_hcd
<6>[    4.187175] usb usb1: SerialNumber: 500000.ehci
<6>[    4.193464] hub 1-0:1.0: USB hub found
<6>[    4.197882] hub 1-0:1.0: 3 ports detected
<6>[    4.204460] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
<6>[    4.211149] ohci-atmel: OHCI Atmel driver
<6>[    4.217182] at91_ohci 400000.ohci: USB Host Controller
<6>[    4.223588] at91_ohci 400000.ohci: new USB bus registered, assigned bus number 2
<6>[    4.231543] at91_ohci 400000.ohci: irq 19, io mem 0x00400000
<6>[    4.300415] usb usb2: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 5.04
<6>[    4.309251] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
<6>[    4.316861] usb usb2: Product: USB Host Controller
<6>[    4.321826] usb usb2: Manufacturer: Linux 5.4.41-linux4sam-2020.04+ ohci_hcd
<6>[    4.329223] usb usb2: SerialNumber: at91
<6>[    4.334882] hub 2-0:1.0: USB hub found
<6>[    4.339280] hub 2-0:1.0: 3 ports detected
<6>[    4.352689] usbcore: registered new interface driver cdc_wdm
<6>[    4.359116] usbcore: registered new interface driver usb-storage
<6>[    4.365686] usbcore: registered new interface driver usbserial_generic
<6>[    4.372711] usbserial: USB Serial support registered for generic
<6>[    4.379035] usbcore: registered new interface driver option
<6>[    4.385084] usbserial: USB Serial support registered for GSM modem (1-port)
<6>[    4.392629] i2c /dev entries driver
<6>[    4.397732] at91-reset f8048000.rstc: Starting after software reset
<6>[    4.407626] sama5d4_wdt f8048040.watchdog: initialized (timeout = 16 sec, nowayout = 0)
<6>[    4.418450] sdhci: Secure Digital Host Controller Interface driver
<6>[    4.424928] sdhci: Copyright(c) Pierre Ossman
<6>[    4.429642] sdhci-pltfm: SDHCI platform and OF driver helper
<6>[    4.471651] mmc0: SDHCI controller on a0000000.sdio-host [a0000000.sdio-host] using ADMA
<6>[    4.496218] ledtrig-cpu: registered to indicate activity on CPUs
<6>[    4.503349] atmel_aes f002c000.aes: version: 0x500
<6>[    4.512207] atmel_sha f0028000.sha: version: 0x510
<6>[    4.517632] atmel_sha f0028000.sha: using dma0chan4 for DMA transfers
<6>[    4.544338] usb 1-2: new high-speed USB device number 2 using atmel-ehci
<6>[    4.567099] mmc0: new high speed MMC card at address 0001
<6>[    4.581635] mmcblk0: mmc0:0001 Q2J54A 1.80 GiB 
<6>[    4.593078] mmcblk0boot0: mmc0:0001 Q2J54A partition 1 16.0 MiB
<6>[    4.609064] mmcblk0boot1: mmc0:0001 Q2J54A partition 2 16.0 MiB
<6>[    4.618711] mmcblk0rpmb: mmc0:0001 Q2J54A partition 3 512 KiB, chardev (246:0)
<6>[    4.649118]  mmcblk0: p1 p2
<6>[    4.713929] usb 1-2: New USB device found, idVendor=1618, idProduct=9116, bcdDevice= 0.02
<6>[    4.732142] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=6
<6>[    4.745095] usb 1-2: Product: Wireless USB Network Module
<6>[    4.756302] usb 1-2: Manufacturer: Redpine Signals, Inc.
<6>[    4.768128] usb 1-2: SerialNumber: 000000000001
<6>[    4.797581] atmel_sha f0028000.sha: Atmel SHA1/SHA256/SHA224/SHA384/SHA512
<6>[    4.806211] atmel_tdes fc044000.tdes: version: 0x703
<6>[    4.812310] atmel_tdes fc044000.tdes: using dma0chan5, dma0chan6 for DMA transfers
<6>[    4.976756] atmel_tdes fc044000.tdes: Atmel DES/TDES
<6>[    4.982888] usbcore: registered new interface driver usbhid
<6>[    4.989091] usbhid: USB HID core driver
<6>[    5.044352] wireguard: WireGuard 1.0.20200712 loaded. See www.wireguard.com for information.
<6>[    5.053338] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
<6>[    5.064056] ipip: IPv4 and MPLS over IPv4 tunneling driver
<6>[    5.071106] gre: GRE over IPv4 demultiplexor driver
<6>[    5.076566] ip_gre: GRE over IPv4 tunneling driver
<6>[    5.087781] NET: Registered protocol family 10
<6>[    5.097033] Segment Routing with IPv6
<6>[    5.101643] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
<6>[    5.109610] NET: Registered protocol family 17
<6>[    5.114670] 8021q: 802.1Q VLAN Support v1.8
<5>[    5.262712] Loading compiled-in X.509 certificates
<6>[    5.286041] at91_i2c f8028000.i2c: can't get DMA channel, continue without DMA support
<6>[    5.294604] at91_i2c f8028000.i2c: Using FIFO (16 data)
<6>[    5.300394] at91_i2c f8028000.i2c: recovery information incomplete
<6>[    5.309170] DCDC_REG1: supplied by regulator-dummy
<6>[    5.317607] DCDC_REG2: supplied by regulator-dummy
<6>[    5.326294] DCDC_REG3: supplied by regulator-dummy
<6>[    5.334540] LDO_REG1: supplied by regulator-dummy
<6>[    5.342874] LDO_REG2: supplied by regulator-dummy
<6>[    5.350916] LDO_REG3: supplied by regulator-dummy
<6>[    5.356689] VDD_LED: Bringing 2500000uV into 3300000-3300000uV
<6>[    5.367404] LDO_REG4: supplied by regulator-dummy
<4>[    5.376885] act8945a-charger act8945a-charger: DMA mask not set
<6>[    5.383666] act8945a-charger act8945a-charger: have been suspended
<6>[    5.393924] at91_i2c f8028000.i2c: AT91 i2c bus driver (hw version: 0x704).
<6>[    5.401980] at91_i2c fc028000.i2c: can't get DMA channel, continue without DMA support
<6>[    5.410363] at91_i2c fc028000.i2c: Using FIFO (16 data)
<6>[    5.415970] at91_i2c fc028000.i2c: recovery information incomplete
<6>[    5.425206] at24 1-0050: 256 byte 24c02 EEPROM, writable, 16 bytes/write
<6>[    5.433407] rtc-dsk324sr 1-0032: chip found, driver version 2.0
<6>[    5.445629] rtc-dsk324sr 1-0032: registered as rtc0
<6>[    5.451637] rtc-dsk324sr 1-0032: SEL Register updated to 30s.
<6>[    5.462165] lm75 1-0049: hwmon1: sensor 'tmp75'
<4>[    5.468286] pca953x 1-0070: 1-0070 supply vcc not found, using dummy regulator
<6>[    5.478451] at91_i2c fc028000.i2c: AT91 i2c bus driver (hw version: 0x704).
<6>[    5.526039] mmc1: SDHCI controller on b0000000.sdio-host [b0000000.sdio-host] using ADMA
<6>[    5.546161] atmel_aes f002c000.aes: version: 0x500
<6>[    5.805501] atmel_aes f002c000.aes: Atmel AES - Using dma0chan7, dma0chan8 for DMA transfers
<6>[    5.822307] at91-sama5d2_adc fc030000.adc: setting up trigger as external_rising
<6>[    5.830129] at91-sama5d2_adc fc030000.adc: version: 800
<6>[    5.837622] input: gpio_keys as /devices/platform/gpio_keys/input/input0
<6>[    5.847636] rtc-dsk324sr 1-0032: setting system clock to 2020-08-01T09:32:19 UTC (1596274339)
<6>[    5.858399] atmel_usart_serial atmel_usart_serial.0.auto: using dma0chan9 for rx DMA transfers
<6>[    5.867799] atmel_usart_serial atmel_usart_serial.0.auto: using dma0chan10 for tx DMA transfers
<6>[    5.884816] Freeing unused kernel memory: 1024K
<6>[    5.889895] Run /init as init process
<6>[   10.268108] usb 1-1: new high-speed USB device number 3 using atmel-ehci
<6>[   10.444156] usb 1-1: New USB device found, idVendor=1ecb, idProduct=0202, bcdDevice= 3.18
<6>[   10.452779] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
<6>[   10.460119] usb 1-1: Product: AMTelecom Network Device
<6>[   10.465632] usb 1-1: Manufacturer: AMTelecom
<6>[   10.470097] usb 1-1: SerialNumber: 0123456789ABCDEF
<6>[   10.488868] option 1-1:1.2: GSM modem (1-port) converter detected
<6>[   10.500273] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB0
<6>[   10.512403] option 1-1:1.3: GSM modem (1-port) converter detected
<6>[   10.522008] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB1
<6>[   10.534389] option 1-1:1.4: GSM modem (1-port) converter detected
<6>[   10.544141] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB2
<4>[   11.988701] FAT-fs (mmcblk0p1): utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive!
<30>[   15.398116] systemd[1]: systemd 245.4-4ubuntu3.2 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD +IDN2 -IDN +PCRE2 default-hierarchy=hybrid)
<30>[   15.422846] systemd[1]: Detected architecture arm.
<30>[   15.529943] systemd[1]: Set hostname to <gemini>.
<29>[   17.675106] systemd[1]: /lib/systemd/system/dbus.socket:5: ListenStream= references a path below legacy directory /var/run/, updating /var/run/dbus/system_bus_socket → /run/dbus/system_bus_socket; please update the unit file accordingly.
<5>[   18.464878] random: systemd: uninitialized urandom read (16 bytes read)
<28>[   18.472788] systemd[1]: system-getty.slice: unit configures an IP firewall, but the local system does not support BPF/cgroup firewalling.
<28>[   18.485816] systemd[1]: (This warning is only shown for the first unit using IP firewalling.)
<30>[   18.507636] systemd[1]: Created slice system-getty.slice.
<5>[   18.532699] random: systemd: uninitialized urandom read (16 bytes read)
<30>[   18.545195] systemd[1]: Created slice system-modprobe.slice.
<5>[   18.568482] random: systemd: uninitialized urandom read (16 bytes read)
<30>[   18.581224] systemd[1]: Created slice system-serial\x2dgetty.slice.
<30>[   18.610968] systemd[1]: Created slice system-wireguard.slice.
<30>[   18.641406] systemd[1]: Created slice User and Session Slice.
<30>[   18.665272] systemd[1]: Started ntp-systemd-netif.path.
<30>[   18.689624] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
<30>[   18.717516] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
<30>[   18.748077] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
<30>[   18.777112] systemd[1]: Reached target Local Encrypted Volumes.
<30>[   18.801397] systemd[1]: Reached target Remote File Systems.
<30>[   18.824849] systemd[1]: Reached target Slices.
<30>[   18.844874] systemd[1]: Reached target Swap.
<30>[   18.867818] systemd[1]: Listening on Syslog Socket.
<30>[   18.889876] systemd[1]: Listening on initctl Compatibility Named Pipe.
<30>[   19.266999] systemd[1]: Condition check resulted in Journal Audit Socket being skipped.
<30>[   19.280387] systemd[1]: Listening on Journal Socket (/dev/log).
<30>[   19.306748] systemd[1]: Listening on Journal Socket.
<30>[   19.330935] systemd[1]: Listening on udev Control Socket.
<30>[   19.353891] systemd[1]: Listening on udev Kernel Socket.
<30>[   19.378502] systemd[1]: Condition check resulted in Huge Pages File System being skipped.
<30>[   19.404907] systemd[1]: Mounting POSIX Message Queue File System...
<30>[   19.479690] systemd[1]: Mounting Kernel Debug File System...
<30>[   19.522312] systemd[1]: Condition check resulted in Kernel Trace File System being skipped.
<30>[   19.627266] systemd[1]: Starting Journal Service...
<30>[   19.683104] systemd[1]: Condition check resulted in Create list of static device nodes for the current kernel being skipped.
<30>[   19.823063] systemd[1]: Starting Load Kernel Module drm...
<30>[   19.945619] systemd[1]: Condition check resulted in Set Up Additional Binary Formats being skipped.
<30>[   20.037289] systemd[1]: Starting Load Kernel Modules...
<30>[   20.146906] systemd[1]: Starting Remount Root and Kernel File Systems...
<30>[   20.271089] systemd[1]: Starting udev Coldplug all Devices...
<30>[   20.517458] systemd[1]: Mounted POSIX Message Queue File System.
<30>[   20.566849] systemd[1]: Mounted Kernel Debug File System.
<30>[   20.662173] systemd[1]: modprobe@drm.service: Succeeded.
<30>[   20.738113] systemd[1]: Finished Load Kernel Module drm.
<30>[   20.924262] systemd[1]: Finished Remount Root and Kernel File Systems.
<30>[   20.989884] systemd[1]: Condition check resulted in Rebuild Hardware Database being skipped.
<30>[   21.106823] systemd[1]: Starting Platform Persistent Storage Archival...
<30>[   21.284515] systemd[1]: Starting Load/Save Random Seed...
<30>[   21.463320] systemd[1]: Starting Create System Users...
<30>[   21.916323] systemd[1]: Finished Platform Persistent Storage Archival.
<6>[   22.025203] tty0tty null modem driver v1.2
<30>[   22.061465] systemd[1]: Started Journal Service.
<46>[   23.034117] systemd-journald[388]: Received client request to flush runtime journal.
<5>[   23.580066] random: crng init done
<5>[   23.580093] random: 7 urandom warning(s) missed due to ratelimiting
<6>[   31.696082] bpfilter: Loaded bpfilter_umh pid 454
<12>[   31.704808] Started bpfilter
<5>[   34.495753] cfg80211: Loading compiled-in X.509 certificates for regulatory database
<5>[   35.061766] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
<6>[   37.106977] macb f8008000.ethernet eth0: PHY [f8008000.ethernet-ffffffff:01] driver [Micrel KSZ8081 or KSZ8091]
<6>[   37.120958] macb f8008000.ethernet eth0: configuring for phy/rmii link mode
<6>[   40.142755] macb f8008000.ethernet eth0: Link is Up - 100Mbps/Full - flow control off
<6>[   40.142905] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
<6>[   40.812281] at91_rtc f80480b0.rtc: registered as rtc1
<6>[   40.813963] at91_rtc f80480b0.rtc: AT91 Real Time Clock driver.
<6>[   40.910881] cdc_acm 1-1:1.0: ttyACM0: USB ACM device
<6>[   41.028482] usbcore: registered new interface driver cdc_acm
<6>[   41.028500] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
<6>[   43.985581] atmel_usart_serial atmel_usart_serial.0.auto: using dma0chan9 for rx DMA transfers
<6>[   43.985705] atmel_usart_serial atmel_usart_serial.0.auto: using dma0chan10 for tx DMA transfers
<6>[   53.624316] Bluetooth: Core ver 2.22
<6>[   53.631910] NET: Registered protocol family 31
<6>[   53.631937] Bluetooth: HCI device and connection manager initialized
<6>[   53.631989] Bluetooth: HCI socket layer initialized
<6>[   53.632014] Bluetooth: L2CAP socket layer initialized
<6>[   53.632212] Bluetooth: SCO socket layer initialized
<6>[   53.712240] rsi_91x: rsi_hal_device_init: oper_mode = 1, coex_mode = 1
<6>[   53.763855] rsi_91x: ================================================
<6>[   53.763874] rsi_91x: ================ RSI Version Info ==============
<6>[   53.763881] rsi_91x: ================================================
<6>[   53.763901] rsi_91x: FW Version	:  1610.1.2.23.0017
<6>[   53.763912] rsi_91x: Driver Version	: RS911X.NBZ.NL.GNU.LNX.2.0.RC6
<6>[   53.763921] rsi_91x: Operating mode	: 1 [Wi-Fi alone]
<6>[   53.763930] rsi_91x: Firmware file	: pmemdata
<6>[   53.763937] rsi_91x: ================================================
<6>[   53.901244] rsi_91x: ***** Firmware Loading successful *****
<6>[   53.915384] usbcore: registered new interface driver RSI-USB WLAN
<6>[  348.165164] sysrq: Trigger a crash
<0>[  348.168903] Kernel panic - not syncing: sysrq triggered crash
<4>[  348.174807] CPU: 0 PID: 825 Comm: bash Not tainted 5.4.41-linux4sam-2020.04+ #31
<4>[  348.182511] Hardware name: Atmel SAMA5
<4>[  348.186449] [<c010c58c>] (unwind_backtrace) from [<c0109a98>] (show_stack+0x10/0x14)
<4>[  348.194528] [<c0109a98>] (show_stack) from [<c011fb50>] (panic+0x104/0x31c)
<4>[  348.201825] [<c011fb50>] (panic) from [<c0400ca8>] (sysrq_handle_crash+0x10/0x14)
<4>[  348.209453] [<c0400ca8>] (sysrq_handle_crash) from [<c04012c8>] (__handle_sysrq+0x94/0x144)
<4>[  348.218132] [<c04012c8>] (__handle_sysrq) from [<c0401710>] (write_sysrq_trigger+0x54/0x64)
<4>[  348.226811] [<c0401710>] (write_sysrq_trigger) from [<c0251d24>] (proc_reg_write+0x58/0x6c)
<4>[  348.235493] [<c0251d24>] (proc_reg_write) from [<c01f2350>] (__vfs_write+0x2c/0xe8)
<4>[  348.243293] [<c01f2350>] (__vfs_write) from [<c01f37e0>] (vfs_write+0x98/0xbc)
<4>[  348.250838] [<c01f37e0>] (vfs_write) from [<c01f3984>] (ksys_write+0x74/0xc4)
<4>[  348.258120] [<c01f3984>] (ksys_write) from [<c0101000>] (ret_fast_syscall+0x0/0x54)
<4>[  348.266085] Exception stack(0xd9dd1fa8 to 0xd9dd1ff0)
<4>[  348.271453] 1fa0:                   00000002 005b7eb0 00000001 005b7eb0 00000002 00000000
<4>[  348.279770] 1fc0: 00000002 005b7eb0 b6f944e0 00000004 b6f2e2e4 b6f2de4c 00000000 00000000
<4>[  348.288263] 1fe0: 00000004 be922728 b6ec746f b6e4dbe6
 
No errors detected