[gelöst] mariadb will nicht starten

Alle weiteren Dienste, die nicht in die drei oberen Foren gehören.
Antworten
Conan89
Beiträge: 27
Registriert: 17.01.2020 15:06:41

[gelöst] mariadb will nicht starten

Beitrag von Conan89 » 03.10.2023 18:55:12

Hi, auf meiner neuinnstallierten nas wollte cacti per per "apt install cacti" innstallieren. Beim innstallieren wird mariadb mit installiert, aber es will nicht starten, im log steht immer das:

Code: Alles auswählen

Starting mariadb.service - MariaDB 10.11.3 database server...
[Note] Starting MariaDB 10.11.3-MariaDB-1 source revision  as process 22250
[Note] InnoDB: Compressed tables use zlib 1.2.13
[Note] InnoDB: Number of transaction pools: 1
[Note] InnoDB: Using generic crc32 instructions
[Note] InnoDB: Using liburing
[Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB
[Note] InnoDB: Completed initialization of buffer pool
[Note] InnoDB: Header page consists of zero bytes in datafile: ./ibdata1, Space ID:0, Flags: 0
[ERROR] InnoDB: Corrupted page [page id: space=0, page number=0] of datafile './ibdata1' could not be found in the doublewrite buffer.
[ERROR] InnoDB: Plugin initialization aborted with error Data structure corruption
[Note] InnoDB: Starting shutdown...
[ERROR] mariadbd: io_uring_submit() returned 0 during shutdown: this may cause a hang
[ERROR] mysqld got signal 6 ;
This could be because you hit a bug. It is also possible that this binary
or one of the libraries it was linked against is corrupt, improperly built,
or misconfigured. This error can also be caused by malfunctioning hardware.
To report this bug, see https://mariadb.com/kb/en/reporting-bugs
We will try our best to scrape up some info that will hopefully help
diagnose the problem, but since we have already crashed,
something is definitely wrong and this may fail.
Server version: 10.11.3-MariaDB-1 source revision:
key_buffer_size=134217728
read_buffer_size=131072
max_used_connections=0
max_threads=153
thread_count=0
It is possible that mysqld could use up to
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 466625 K  bytes of memory
Hope that's ok; if not, decrease some variables in the equation.
Thread pointer: 0x0
Attempting backtrace. You can use the following information to find out
where mysqld died. If you see no messages after this, something went
terribly wrong...
stack_bottom = 0x0 thread_stack 0x49000
The manual page at https://mariadb.com/kb/en/how-to-produce-a-full-stack-trace-for-mysqld/ contains
information that should help you find out what is causing the crash.
Writing a core file...
Working directory at /var/lib/mysql
Resource Limits:
Limit                     Soft Limit           Hard Limit           Units
Max cpu time              unlimited            unlimited            seconds
Max file size             unlimited            unlimited            bytes
Max data size             unlimited            unlimited            bytes
Max stack size            8388608              unlimited            bytes
Max core file size        0                    unlimited            bytes
Max resident set          unlimited            unlimited            bytes
Max processes             5928                 5928                 processes
Max open files            32768                32768                files
Max locked memory         524288               524288               bytes
Max address space         unlimited            unlimited            bytes
Max file locks            unlimited            unlimited            locks
Max pending signals       5928                 5928                 signals
Max msgqueue size         819200               819200               bytes
Max nice priority         0                    0
Max realtime priority     0                    0
Max realtime timeout      unlimited            unlimited            us
Core pattern: core
Kernel version: Linux version 6.1.0-11-marvell (debian-kernel@lists.debian.org) (gcc-12 (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40) #1 Debian 6.1.38-4 (2023-08-08)
mariadb.service: Main process exited, code=killed, status=6/ABRT
mariadb.service: Failed with result 'signal'.
Failed to start mariadb.service - MariaDB 10.11.3 database server.
phpsessionclean.service: Deactivated successfully.
Finished phpsessionclean.service - Clean php session files.
phpsessionclean.service: Consumed 1.382s CPU time.
Kann mir jemand helfen, das mariadb funktioniert?
Zuletzt geändert von Conan89 am 03.10.2023 21:45:17, insgesamt 1-mal geändert.

Benutzeravatar
heisenberg
Beiträge: 3567
Registriert: 04.06.2015 01:17:27
Lizenz eigener Beiträge: MIT Lizenz

Re: mariadb will nicht starten

Beitrag von heisenberg » 03.10.2023 19:55:56

Das scheint mir der wesentliche Fehler zu sein:

Code: Alles auswählen

[ERROR] InnoDB: Corrupted page [page id: space=0, page number=0] of datafile './ibdata1' could not be found in the doublewrite buffer.
[ERROR] InnoDB: Plugin initialization aborted with error Data structure corruption
Das bedeutet, dass die Datei ibdata1 fehlt, leer ist oder korrupt (Datenfehler).

D. h. der Lösungsweg wäre: Datensicherung wiederherstellen.

Was ist denn das für ein NAS (Hersteller? Modell?)? Was für ein OS und OS-Version hast Du dort installiert?
Zuletzt geändert von heisenberg am 03.10.2023 20:00:53, insgesamt 1-mal geändert.
Jede Rohheit hat ihren Ursprung in einer Schwäche.

Conan89
Beiträge: 27
Registriert: 17.01.2020 15:06:41

Re: mariadb will nicht starten

Beitrag von Conan89 » 03.10.2023 19:59:10

Ich hab keine Datensicherung davon, ich hab null daten drin, ich hab oben geschrieben, es ist ein neuinnstalliertes Debian und mariadb wird neuinnstalliert, es werden keine daten übernommen, hab ja keine...

Benutzeravatar
heisenberg
Beiträge: 3567
Registriert: 04.06.2015 01:17:27
Lizenz eigener Beiträge: MIT Lizenz

Re: mariadb will nicht starten

Beitrag von heisenberg » 03.10.2023 20:06:33

Sorry. Hatte Deinen Beitrag nur sehr oberflächlich gelesen.

Wiederholung:

Was ist denn das für ein NAS (Hersteller? Modell?)? Welche OS-Version (Debian-Version) hast Du dort installiert?

Ansonsten könntest Du zu Diagnosezwecken kurz mal Debianinxi installieren und hier die Ausgabe von

Code: Alles auswählen

inxi -v8
posten. Dann kennen wir die Daten Deines Systems genauer.
Jede Rohheit hat ihren Ursprung in einer Schwäche.

Conan89
Beiträge: 27
Registriert: 17.01.2020 15:06:41

Re: mariadb will nicht starten

Beitrag von Conan89 » 03.10.2023 20:16:21

Qnap ts-421, Debian 12 Bookworm
Na klar, kein Problem:

Code: Alles auswählen

root@Qnap-NAS-eth0:~# inxi -v8
System:
  Host: Qnap-NAS-eth0 Kernel: 6.1.0-11-marvell arch: armv5tel bits: 32 compiler: gcc v: 12.2.0
    parameters: console=ttyS0,115200 root=/dev/ram initrd=0xb00000,0xc00000 ramdisk=34816 mem=768M
    cmdlinepart.mtdparts=spi0.0:512k@0(uboot)ro,3M@0x100000(Kernel),12M@0x400000(RootFS1),2M@0x200000(Kernel_legacy),256k@0x80000(U-Boot_Config),256k@0xc0000(NAS_Config)
    mtdparts=spi0.0:512k@0(uboot)ro,3M@0x100000(Kernel),12M@0x400000(RootFS1),2M@0x200000(Kernel_legacy),256k@0x80000(U-Boot_Config),256k@0xc0000(NAS_Config)
  Console: pty pts/0 Distro: Debian GNU/Linux 12 (bookworm)
Machine:
  Type: ARM System: QNAP TS419 family details: Marvell Kirkwood rev: N/A
Battery:
  Message: No system battery data found. Is one present?
Memory:
  RAM: total: 753.3 MiB used: 105.4 MiB (14.0%)
  RAM Report: missing: Required tool dmidecode not installed. Check --recommends
PCI Slots:
  Message: No ARM data found for this feature.
CPU:
  Info: model: Feroceon 88FR131 v5l variant: feroceon bits: 32 type: UP arch: 5TE family: N/A
    model-id: 2 stepping: 1
  Topology: cpus: 1x cores: 1 smt: N/A cache: N/A
  Speed (MHz): 2000 min/max: 500/2000 scaling: driver: kirkwood-cpufreq governor: performance
    core: 1: 2000 bogomips: 400
  Features: edsp fastmult half swp thumb
  Vulnerabilities: No CPU vulnerability/bugs data available.
Graphics:
  Message: No PCI device data found.
  Display: server: No display server data found. Headless machine? tty: 160x45
  API: OpenGL Message: GL data unavailable in console for root.
Audio:
  Message: No device data found.
Network:
  Message: No ARM data found for this feature.
  IF-ID-1: eth0 state: up speed: 1000 Mbps duplex: full mac: 00:08:9b:d9:23:2d
  IP v4: 192.168.1.4/24 scope: global broadcast: 192.168.1.255
  IP v6: 2a02:8071:189:4b20:208:9bff:fed9:232d/64 type: dynamic mngtmpaddr scope: global
  IP v6: fe80::208:9bff:fed9:232d/64 scope: link
  IF-ID-2: eth1 state: up speed: 1000 Mbps duplex: full mac: 00:08:9b:d9:23:2e
  IP v4: 192.168.1.111/24 scope: global broadcast: 192.168.1.255
  IP v6: 2a02:8071:189:4b20:208:9bff:fed9:232e/64 type: dynamic mngtmpaddr scope: global
  IP v6: fe80::208:9bff:fed9:232e/64 scope: link
  IF-ID-3: tap0 state: unknown speed: 10 Mbps duplex: full mac: 82:cf:21:15:2b:6c
  Message: Output throttled. IPs: 2; Limit: 10; Override: --limit [1-x;-1 all]
  WAN IP: 109.193.247.48
Bluetooth:
  Message: No bluetooth data found.
Logical:
  Message: No logical block device data found.
RAID:
  Message: No RAID data found.
Drives:
  Local Storage: total: 34.56 TiB used: 21.35 TiB (61.8%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/sda maj-min: 8:0 vendor: Western Digital model: WD30EZRX-00DC0B0 size: 2.73 TiB
    block-size: physical: 4096 B logical: 512 B speed: 3.0 Gb/s type: N/A serial: WD-WCC1T0827700
    rev: 0A80 scheme: GPT
  ID-2: /dev/sdb maj-min: 8:16 vendor: Western Digital model: WD50EZRZ-00RWYB1 size: 4.55 TiB
    block-size: physical: 4096 B logical: 512 B speed: 3.0 Gb/s type: HDD rpm: 5700
    serial: WD-WX21DB509XA2 rev: 0A80 scheme: GPT
  ID-3: /dev/sdc maj-min: 8:32 vendor: Western Digital model: WD140EDGZ-11B1PA0 size: 12.73 TiB
    block-size: physical: 4096 B logical: 512 B speed: 3.0 Gb/s type: HDD rpm: 7200 serial: Y6GXK69C
    rev: 0A85 scheme: GPT
  ID-4: /dev/sdd maj-min: 8:48 vendor: Western Digital model: WD160EDGZ-11B2DA0 size: 14.55 TiB
    block-size: physical: 4096 B logical: 512 B speed: 3.0 Gb/s type: HDD rpm: 7200 serial: 2PJ7TEVJ
    rev: 0A85 scheme: GPT
  Message: No optical or floppy data found.
Partition:
  ID-1: / raw-size: 23.28 GiB size: 22.75 GiB (97.71%) used: 1.71 GiB (7.5%) fs: ext4
    block-size: 4096 B dev: /dev/sda2 maj-min: 8:2 label: N/A
    uuid: 21c0403d-a653-40f4-818c-2a6d0e377af8
  ID-2: /boot raw-size: 243 MiB size: 233.3 MiB (96.02%) used: 23.2 MiB (10.0%) fs: ext2
    block-size: 1024 B dev: /dev/sda1 maj-min: 8:1 label: N/A
    uuid: 2cc4ba32-e6f5-477a-b1ff-d34c53695d83
  ID-3: /home raw-size: 2.66 TiB size: 2.61 TiB (98.39%) used: 124 KiB (0.0%) fs: ext4
    block-size: 4096 B dev: /dev/sda6 maj-min: 8:6 label: N/A
    uuid: 5dd09080-da6f-491b-8ea4-9b7eab7ca5c8
  ID-4: /media/14tb raw-size: 12.73 TiB size: 12.73 TiB (100.00%) used: 12.26 TiB (96.3%)
    fs: ntfs block-size: 4096 B dev: /dev/sdc1 maj-min: 8:33 label: Elements uuid: D274570E7456F4A7
  ID-5: /media/16tb raw-size: 14.55 TiB size: 14.55 TiB (100.00%) used: 6.77 TiB (46.5%)
    fs: ntfs block-size: 4096 B dev: /dev/sdd1 maj-min: 8:49 label: Elements uuid: 740A8D3A0A8CFA7E
  ID-6: /media/5tb raw-size: 4.55 TiB size: 4.55 TiB (100.00%) used: 2.32 TiB (51.0%) fs: ntfs
    block-size: 4096 B dev: /dev/sdb2 maj-min: 8:18 label: Daten1 uuid: C2E0A663E0A65D83
  ID-7: /tmp raw-size: 1.86 GiB size: 1.8 GiB (96.46%) used: 56 KiB (0.0%) fs: ext4
    block-size: 4096 B dev: /dev/sda5 maj-min: 8:5 label: N/A
    uuid: fc9841f0-bfb4-4aa4-b49e-e0ffaa01db4d
  ID-8: /var raw-size: 47.46 GiB size: 46.61 GiB (98.20%) used: 1.13 GiB (2.4%) fs: ext4
    block-size: 4096 B dev: /dev/sda3 maj-min: 8:3 label: N/A
    uuid: 89d4cfbb-08c8-4e8f-acc8-0809f36036fb
Swap:
  Kernel: swappiness: 60 (default) cache-pressure: 100 (default)
  ID-1: swap-1 type: partition size: 737 MiB used: 0 KiB (0.0%) priority: -2 dev: /dev/sda4
    maj-min: 8:4 label: N/A uuid: b775e5d3-fa46-4cb7-8d00-02e2280bd81a
Unmounted:
  ID-1: /dev/sdb1 maj-min: 8:17 size: 16 MiB fs: ext label: N/A uuid: N/A
USB:
  Hub-1: 1-0:1 info: Hi-speed hub with single TT ports: 2 rev: 2.0 speed: 480 Mb/s
    chip-ID: 1d6b:0002 class-ID: 0900
  Hub-2: 2-0:1 info: Hi-speed hub with single TT ports: 1 rev: 2.0 speed: 480 Mb/s
    chip-ID: 1d6b:0002 class-ID: 0900
  Hub-3: 2-1:2 info: Genesys Logic Hub ports: 4 rev: 2.0 speed: 480 Mb/s power: 100mA
    chip-ID: 05e3:0608 class-ID: 0900
  Hub-4: 3-0:1 info: Super-speed hub ports: 2 rev: 3.0 speed: 5 Gb/s chip-ID: 1d6b:0003
    class-ID: 0900
Sensors:
  Src: lm-sensors Message: No sensor data found. Is lm-sensors configured?
Repos:
  Packages: pm: dpkg pkgs: 761 libs: 388 tools: apt,apt-get
  Active apt repos in: /etc/apt/sources.list
    1: deb http://deb.debian.org/debian/ bookworm main contrib non-free non-free-firmware
    2: deb-src http://deb.debian.org/debian/ bookworm main contrib non-free non-free-firmware
    3: deb http://security.debian.org/debian-security bookworm-security main
    4: deb-src http://security.debian.org/debian-security bookworm-security main
Processes:
  CPU top: 5 of 95
  1: cpu: 100% command: ps pid: 18794 mem: 3.61 MiB (0.4%)
  2: cpu: 14.8% command: sshd: pid: 18787 mem: 7.80 MiB (1.0%)
  3: cpu: 6.0% command: sshd: pid: 18788 mem: 6.02 MiB (0.7%)
  4: cpu: 4.5% command: openvpn pid: 570 mem: 7.62 MiB (1.0%)
  5: cpu: 4.2% command: init pid: 1 mem: 11.0 MiB (1.4%)
  Memory top: 5 of 95
  1: mem: 27.6 MiB (3.6%) command: apache2 pid: 697 cpu: 0.0%
  2: mem: 17.4 MiB (2.3%) command: smbd pid: 761 cpu: 0.1%
  3: mem: 16.4 MiB (2.1%) command: systemd-journald pid: 187 cpu: 1.3%
  4: mem: 14.9 MiB (1.9%) command: smbd pid: 1683 cpu: 0.0%
  5: mem: 14.8 MiB (1.9%) command: apache2 pid: 714 cpu: 0.0%
Info:
  Processes: 95 Uptime: 36m Init: systemd v: 252 target: graphical (5) default: graphical
  tool: systemctl Compilers: N/A Shell: Bash v: 5.2.15 running-in: pty pts/0 (SSH) inxi: 3.3.26

Benutzeravatar
heisenberg
Beiträge: 3567
Registriert: 04.06.2015 01:17:27
Lizenz eigener Beiträge: MIT Lizenz

Re: mariadb will nicht starten

Beitrag von heisenberg » 03.10.2023 20:39:11

Ok. Den Fehler haben andere wohl auch schon. Da scheint das QNAP-NAS wohl etwas speziell zu sein. Da ich keine QNAP hier habe kann ich selbst wenig selber testen.

Ich verlinke mal die Suchmaschinentreffer (Ich habe einfach noch der Fehlermeldung + QNAP gesucht), die ich gefunden habe. Vielleicht kommst Du damit schon weiter.

https://forum.qnapclub.de/thread/47929- ... /?pageNo=2
https://github.com/MariaDB/mariadb-docker/issues/249
https://github.com/MariaDB/mariadb-docker/issues/207

Möglicherweise kann man bei QNAP nicht an allen Stellen schreiben?

Zeige dochmal die Ausgabe von "mount" und ansonsten noch die Ausgabe von "dmesg".

Ich wüsste da jetzt auch erst mal nicht, wo ich weiter ansetzen würde.
Jede Rohheit hat ihren Ursprung in einer Schwäche.

Conan89
Beiträge: 27
Registriert: 17.01.2020 15:06:41

Re: mariadb will nicht starten

Beitrag von Conan89 » 03.10.2023 20:50:48

Alle 3 Links helfen mir leider nicht weiter, ich nutzte kein docker und die beziehen sich auf die qnas fw und die nutzte ich nicht mehr, sondern das richtige Debian.

Code: Alles auswählen

root@Qnap-NAS-eth0:~# mount
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
udev on /dev type devtmpfs (rw,nosuid,relatime,size=379412k,nr_inodes=94853,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,nodev,noexec,relatime,size=77144k,mode=755)
/dev/sda2 on / type ext4 (rw,relatime,errors=remount-ro)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
cgroup2 on /sys/fs/cgroup type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate,memory_recursiveprot)
bpf on /sys/fs/bpf type bpf (rw,nosuid,nodev,noexec,relatime,mode=700)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=30,pgrp=1,timeout=0,minproto=5,maxproto=5,direct)
mqueue on /dev/mqueue type mqueue (rw,nosuid,nodev,noexec,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,nosuid,nodev,noexec,relatime)
tracefs on /sys/kernel/tracing type tracefs (rw,nosuid,nodev,noexec,relatime)
fusectl on /sys/fs/fuse/connections type fusectl (rw,nosuid,nodev,noexec,relatime)
configfs on /sys/kernel/config type configfs (rw,nosuid,nodev,noexec,relatime)
ramfs on /run/credentials/systemd-sysctl.service type ramfs (ro,nosuid,nodev,noexec,relatime,mode=700)
ramfs on /run/credentials/systemd-sysusers.service type ramfs (ro,nosuid,nodev,noexec,relatime,mode=700)
ramfs on /run/credentials/systemd-tmpfiles-setup-dev.service type ramfs (ro,nosuid,nodev,noexec,relatime,mode=700)
/dev/sda1 on /boot type ext2 (rw,relatime,stripe=4)
/dev/sda3 on /var type ext4 (rw,relatime)
/dev/sda5 on /tmp type ext4 (rw,relatime)
/dev/sda6 on /home type ext4 (rw,relatime)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,nosuid,nodev,noexec,relatime)
ramfs on /run/credentials/systemd-tmpfiles-setup.service type ramfs (ro,nosuid,nodev,noexec,relatime,mode=700)
/dev/sdb2 on /media/5tb type fuseblk (rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096)
/dev/sdc1 on /media/14tb type fuseblk (rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096)
/dev/sdd1 on /media/16tb type fuseblk (rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096)
tmpfs on /run/user/0 type tmpfs (rw,nosuid,nodev,relatime,size=77140k,nr_inodes=19285,mode=700)
tmpfs on /run/user/1002 type tmpfs (rw,nosuid,nodev,relatime,size=77140k,nr_inodes=19285,mode=700,uid=1002,gid=1002)

Code: Alles auswählen

root@Qnap-NAS-eth0:~# dmesg
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 6.1.0-11-marvell (debian-kernel@lists.debian.org) (gcc-12 (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40) #1 Debian 6.1.38-4 (2023-08-08)
[    0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] OF: fdt: Machine model: QNAP TS419 family
[    0.000000] Memory policy: Data cache writeback
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x000000002fffffff]
[    0.000000]   HighMem  empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x000000002fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000002fffffff]
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 195072
[    0.000000] Kernel command line: console=ttyS0,115200 root=/dev/ram initrd=0xb00000,0xc00000 ramdisk=34816 mem=768M cmdlinepart.mtdparts=spi0.0:512k@0(uboot)ro,3M@0x100000(Kernel),12M@0x400000(RootFS1),2M@0x200000(Kernel_legacy),256k@0x80000(U-Boot_Config),256k@0xc0000(NAS_Config) mtdparts=spi0.0:512k@0(uboot)ro,3M@0x100000(Kernel),12M@0x400000(RootFS1),2M@0x200000(Kernel_legacy),256k@0x80000(U-Boot_Config),256k@0xc0000(NAS_Config)
[    0.000000] Unknown kernel command line parameters "ramdisk=34816 mtdparts=spi0.0:512k@0(uboot)ro,3M@0x100000(Kernel),12M@0x400000(RootFS1),2M@0x200000(Kernel_legacy),256k@0x80000(U-Boot_Config),256k@0xc0000(NAS_Config)", will be passed to user space.
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes, linear)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.000000] mem auto-init: stack:all(zero), heap alloc:on, heap free:off
[    0.000000] Memory: 758824K/786432K available (5139K kernel code, 846K rwdata, 1532K rodata, 316K init, 244K bss, 27608K reserved, 0K cma-reserved, 0K highmem)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] ftrace: allocating 24557 entries in 73 pages
[    0.000000] ftrace: allocated 72 pages with 2 groups
[    0.000000] trace event string verifier disabled
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] clocksource: orion_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302233 ns
[    0.000001] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns
[    0.000030] Switching to timer-based delay loop, resolution 5ns
[    0.000189] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=800000)
[    0.000209] CPU: Testing write buffer coherency: ok
[    0.000313] pid_max: default: 32768 minimum: 301
[    0.000650] LSM: Security Framework initializing
[    0.000876] landlock: Up and running.
[    0.000884] Yama: disabled by default; enable with sysctl kernel.yama.*
[    0.001090] AppArmor: AppArmor initialized
[    0.001376] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.001403] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.004568] cblist_init_generic: Setting adjustable number of callback queues.
[    0.004579] cblist_init_generic: Setting shift to 0 and lim to 1.
[    0.004803] cblist_init_generic: Setting shift to 0 and lim to 1.
[    0.005079] Setting up static identity map for 0x8220 - 0x825c
[    0.005274] mvebu-soc-id: MVEBU SoC ID=0x6282, Rev=0x1
[    0.006509] devtmpfs: initialized
[    0.010512] VFP support v0.3: not present
[    0.010641] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.010671] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[    0.010860] pinctrl core: initialized pinctrl subsystem
[    0.012644] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.013210] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.013931] audit: initializing netlink subsys (disabled)
[    0.014881] thermal_sys: Registered thermal governor 'fair_share'
[    0.014892] thermal_sys: Registered thermal governor 'bang_bang'
[    0.014898] thermal_sys: Registered thermal governor 'step_wise'
[    0.014903] thermal_sys: Registered thermal governor 'user_space'
[    0.014938] cpuidle: using governor ladder
[    0.015244] Feroceon L2: Enabling L2
[    0.015271] Feroceon L2: Cache support initialised.
[    0.020059] audit: type=2000 audit(0.012:1): state=initialized audit_enabled=0 res=1
[    0.020721] No ATAGs?
[    0.042000] clocksource: Switched to clocksource orion_clocksource
[    0.042570] VFS: Disk quotas dquot_6.6.0
[    0.042631] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.043251] AppArmor: AppArmor Filesystem Enabled
[    0.044463] NET: Registered PF_INET protocol family
[    0.044859] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    0.047085] tcp_listen_portaddr_hash hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.047254] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.047286] TCP established hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    0.047423] TCP bind hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.048465] TCP: Hash tables configured (established 8192 bind 8192)
[    0.048666] MPTCP token hash table entries: 1024 (order: 1, 12288 bytes, linear)
[    0.048747] UDP hash table entries: 512 (order: 1, 8192 bytes, linear)
[    0.048788] UDP-Lite hash table entries: 512 (order: 1, 8192 bytes, linear)
[    0.048996] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.049058] PCI: CLS 0 bytes, default 32
[    0.049714] Initialise system trusted keyrings
[    0.049828] Key type blacklist registered
[    0.054562] Trying to unpack rootfs image as initramfs...
[    0.066269] workingset: timestamp_bits=30 max_order=18 bucket_order=0
[    0.075532] Key type asymmetric registered
[    0.075548] Asymmetric key parser 'x509' registered
[    1.871797] Freeing initrd memory: 12288K
[    1.900661] alg: self-tests for CTR-KDF (hmac(sha256)) passed
[    1.900849] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[    1.902379] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver
[    1.904043] mvebu-pcie mbus@f1000000:pcie@82000000: host bridge /mbus@f1000000/pcie@82000000 ranges:
[    1.904080] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0x00f1040000..0x00f1041fff -> 0x0000040000
[    1.904103] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0x00f1044000..0x00f1045fff -> 0x0000044000
[    1.904123] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0x00f1080000..0x00f1081fff -> 0x0000080000
[    1.904143] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0xffffffffffffffff..0x00fffffffe -> 0x0100000000
[    1.904161] mvebu-pcie mbus@f1000000:pcie@82000000:       IO 0xffffffffffffffff..0x00fffffffe -> 0x0100000000
[    1.904179] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0xffffffffffffffff..0x00fffffffe -> 0x0200000000
[    1.904193] mvebu-pcie mbus@f1000000:pcie@82000000:       IO 0xffffffffffffffff..0x00fffffffe -> 0x0200000000
[    1.904578] mvebu-pcie mbus@f1000000:pcie@82000000: PCI host bridge to bus 0000:00
[    1.904590] pci_bus 0000:00: root bus resource [bus 00-ff]
[    1.904603] pci_bus 0000:00: root bus resource [mem 0xf1040000-0xf1041fff] (bus address [0x00040000-0x00041fff])
[    1.904614] pci_bus 0000:00: root bus resource [mem 0xf1044000-0xf1045fff] (bus address [0x00044000-0x00045fff])
[    1.904625] pci_bus 0000:00: root bus resource [mem 0xf1080000-0xf1081fff] (bus address [0x00080000-0x00081fff])
[    1.904634] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xefffffff]
[    1.904642] pci_bus 0000:00: root bus resource [io  0x1000-0xeffff]
[    1.904712] pci 0000:00:01.0: [11ab:6282] type 01 class 0x060400
[    1.904939] pci 0000:00:02.0: [11ab:6282] type 01 class 0x060400
[    1.905700] PCI: bus0: Fast back to back transfers disabled
[    1.905711] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    1.905723] pci 0000:00:02.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    1.905870] pci 0000:01:00.0: [11ab:7042] type 00 class 0x010000
[    1.905899] pci 0000:01:00.0: reg 0x10: [mem 0x90000000-0x900fffff 64bit]
[    1.905917] pci 0000:01:00.0: reg 0x18: [io  0xf0000000-0xf00000ff]
[    1.906051] pci 0000:01:00.0: 2.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s PCIe x1 link at 0000:00:01.0 (capable of 8.000 Gb/s with 2.5 GT/s PCIe x4 link)
[    1.906213] PCI: bus1: Fast back to back transfers disabled
[    1.906222] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    1.906340] pci 0000:02:00.0: [1b6f:7023] type 00 class 0x0c0330
[    1.906375] pci 0000:02:00.0: reg 0x10: [mem 0x98000000-0x98007fff 64bit]
[    1.906445] pci 0000:02:00.0: enabling Extended Tags
[    1.906515] pci 0000:02:00.0: supports D1 D2
[    1.906522] pci 0000:02:00.0: PME# supported from D0 D1 D2 D3hot
[    1.906551] pci 0000:02:00.0: 2.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s PCIe x1 link at 0000:00:02.0 (capable of 4.000 Gb/s with 5.0 GT/s PCIe x1 link)
[    1.906741] PCI: bus2: Fast back to back transfers disabled
[    1.906749] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 02
[    1.906781] pci 0000:00:01.0: BAR 8: assigned [mem 0xe0000000-0xe00fffff]
[    1.906794] pci 0000:00:02.0: BAR 8: assigned [mem 0xe0100000-0xe01fffff]
[    1.906805] pci 0000:00:01.0: BAR 7: assigned [io  0x10000-0x10fff]
[    1.906818] pci 0000:01:00.0: BAR 0: assigned [mem 0xe0000000-0xe00fffff 64bit]
[    1.906837] pci 0000:01:00.0: BAR 2: assigned [io  0x10000-0x100ff]
[    1.906849] pci 0000:00:01.0: PCI bridge to [bus 01]
[    1.906856] pci 0000:00:01.0:   bridge window [io  0x10000-0x10fff]
[    1.906871] pci 0000:00:01.0:   bridge window [mem 0xe0000000-0xe00fffff]
[    1.906887] pci 0000:02:00.0: BAR 0: assigned [mem 0xe0100000-0xe0107fff 64bit]
[    1.906908] pci 0000:00:02.0: PCI bridge to [bus 02]
[    1.906917] pci 0000:00:02.0:   bridge window [mem 0xe0100000-0xe01fffff]
[    1.906987] pcieport 0000:00:01.0: enabling device (0140 -> 0143)
[    1.907066] pcieport 0000:00:02.0: enabling device (0140 -> 0142)
[    1.907521] mv_xor f1060800.xor: Marvell shared XOR driver
[    1.939167] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    1.939421] mv_xor f1060900.xor: Marvell shared XOR driver
[    1.971151] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    1.971614] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    1.972651] printk: console [ttyS0] disabled
[    1.972718] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 29, base_baud = 12500000) is a 16550A
[    2.937384] printk: console [ttyS0] enabled
[    2.942274] f1012100.serial: ttyS1 at MMIO 0xf1012100 (irq = 30, base_baud = 12500000) is a 16550A
[    2.952275] i2c_dev: i2c /dev entries driver
[    2.957958] ledtrig-cpu: registered to indicate activity on CPUs
[    2.964912] registered taskstats version 1
[    2.969120] Loading compiled-in X.509 certificates
[    3.003018] Loaded X.509 cert 'Debian Secure Boot CA: 6ccece7e4c6c0d1f6149f3dd27dfcc5cbb419ea1'
[    3.011989] Loaded X.509 cert 'Debian Secure Boot Signer 2022 - linux: 14011249c2675ea8e5148542202005810584b25f'
[    3.049493] Key type encrypted registered
[    3.053765] AppArmor: AppArmor sha1 policy hashing enabled
[    3.066234] Freeing unused kernel image (initmem) memory: 316K
[    3.072113] Kernel memory protection not selected by kernel config.
[    3.078450] Run /init as init process
[    3.082141]   with arguments:
[    3.082148]     /init
[    3.082153]   with environment:
[    3.082157]     HOME=/
[    3.082162]     TERM=linux
[    3.082167]     ramdisk=34816
[    3.082171]     mtdparts=spi0.0:512k@0(uboot)ro,3M@0x100000(Kernel),12M@0x400000(RootFS1),2M@0x200000(Kernel_legacy),256k@0x80000(U-Boot_Config),256k@0xc0000(NAS_Config)
[    3.542873] SCSI subsystem initialized
[    3.554991] rtc-s35390a 0-0030: registered as rtc0
[    3.592379] rtc-s35390a 0-0030: setting system clock to 2023-10-03T17:39:26 UTC (1696354766)
[    3.645077] libata version 3.00 loaded.
[    3.647256] sata_mv 0000:01:00.0: version 1.28
[    3.647506] sata_mv 0000:01:00.0: Gen-IIE 32 slots 4 ports SCSI mode IRQ via INTx
[    3.711956] scsi host0: sata_mv
[    3.717293] scsi host1: sata_mv
[    3.722608] scsi host2: sata_mv
[    3.727842] scsi host3: sata_mv
[    3.732687] ata1: SATA max UDMA/133 mmio m1048576@0xe0000000 port 0xe0022000 irq 32
[    3.740413] ata2: SATA max UDMA/133 mmio m1048576@0xe0000000 port 0xe0024000 irq 32
[    3.748112] ata3: SATA max UDMA/133 mmio m1048576@0xe0000000 port 0xe0026000 irq 32
[    3.755810] ata4: SATA max UDMA/133 mmio m1048576@0xe0000000 port 0xe0028000 irq 32
[    3.765832] sata_mv f1080000.sata: version 1.28
[    3.768392] sata_mv f1080000.sata: slots 32 ports 2
[    3.778644] scsi host4: sata_mv
[    3.783818] scsi host5: sata_mv
[    3.788692] ata5: SATA max UDMA/133 irq 33
[    3.792846] ata6: SATA max UDMA/133 irq 33
[    4.112306] ata5: SATA link down (SStatus 0 SControl F300)
[    4.234038] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[    4.242909] ata1.00: ATA-9: WDC WD30EZRX-00DC0B0, 80.00A80, max UDMA/133
[    4.249658] ata1.00: 5860533168 sectors, multi 0: LBA48 NCQ (depth 31/32)
[    4.259264] ata1.00: configured for UDMA/133
[    4.263866] scsi 0:0:0:0: Direct-Access     ATA      WDC WD30EZRX-00D 0A80 PQ: 0 ANSI: 5
[    4.746035] ata2: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[    4.754769] ata2.00: ATA-9: WDC WD50EZRZ-00RWYB1, 80.00A80, max UDMA/133
[    4.761521] ata2.00: 9767541168 sectors, multi 0: LBA48 NCQ (depth 31/32)
[    4.773072] ata2.00: configured for UDMA/133
[    4.777656] scsi 1:0:0:0: Direct-Access     ATA      WDC WD50EZRZ-00R 0A80 PQ: 0 ANSI: 5
[    6.758035] ata3: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[    6.769000] ata3.00: supports DRM functions and may not be fully accessible
[    6.776013] ata3.00: ATA-9: WDC WD140EDGZ-11B1PA0, 85.00A85, max UDMA/133
[    6.782847] ata3.00: 27344764928 sectors, multi 0: LBA48 NCQ (depth 31/32)
[    7.157428] ata3.00: Features: Trust
[    7.366059] ata3.00: supports DRM functions and may not be fully accessible
[    7.374628] ata3.00: configured for UDMA/133
[    7.379187] scsi 2:0:0:0: Direct-Access     ATA      WDC WD140EDGZ-11 0A85 PQ: 0 ANSI: 5
[   12.906008] ata4: link is slow to respond, please be patient (ready=0)
[   17.410008] ata4: SRST failed (errno=-16)
[   18.486034] ata4: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[   18.994067] ata4.00: supports DRM functions and may not be fully accessible
[   19.001080] ata4.00: ATA-11: WDC WD160EDGZ-11B2DA0, 85.00A85, max UDMA/133
[   19.008001] ata4.00: 31251759104 sectors, multi 0: LBA48 NCQ (depth 31/32)
[   19.024732] ata4.00: Features: Trust
[   19.035281] ata4.00: supports DRM functions and may not be fully accessible
[   19.043564] ata4.00: configured for UDMA/133
[   19.048123] scsi 3:0:0:0: Direct-Access     ATA      WDC WD160EDGZ-11 0A85 PQ: 0 ANSI: 5
[   19.376285] ata6: SATA link down (SStatus 0 SControl F300)
[   19.498065] sd 0:0:0:0: [sda] 5860533168 512-byte logical blocks: (3.00 TB/2.73 TiB)
[   19.505876] sd 0:0:0:0: [sda] 4096-byte physical blocks
[   19.511917] sd 1:0:0:0: [sdb] 9767541168 512-byte logical blocks: (5.00 TB/4.55 TiB)
[   19.519744] sd 1:0:0:0: [sdb] 4096-byte physical blocks
[   19.525580] sd 2:0:0:0: [sdc] 27344764928 512-byte logical blocks: (14.0 TB/12.7 TiB)
[   19.533485] sd 2:0:0:0: [sdc] 4096-byte physical blocks
[   19.539264] sd 3:0:0:0: [sdd] 31251759104 512-byte logical blocks: (16.0 TB/14.6 TiB)
[   19.547165] sd 3:0:0:0: [sdd] 4096-byte physical blocks
[   19.554643] sd 1:0:0:0: [sdb] Write Protect is off
[   19.559498] sd 1:0:0:0: [sdb] Mode Sense: 00 3a 00 00
[   19.559562] sd 3:0:0:0: [sdd] Write Protect is off
[   19.564394] sd 3:0:0:0: [sdd] Mode Sense: 00 3a 00 00
[   19.564449] sd 2:0:0:0: [sdc] Write Protect is off
[   19.569277] sd 2:0:0:0: [sdc] Mode Sense: 00 3a 00 00
[   19.569331] sd 0:0:0:0: [sda] Write Protect is off
[   19.574161] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[   19.574236] sd 3:0:0:0: [sdd] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[   19.583404] sd 2:0:0:0: [sdc] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[   19.592573] sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[   19.601741] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[   19.610979] sd 3:0:0:0: [sdd] Preferred minimum I/O size 4096 bytes
[   19.617423] sd 2:0:0:0: [sdc] Preferred minimum I/O size 4096 bytes
[   19.623842] sd 1:0:0:0: [sdb] Preferred minimum I/O size 4096 bytes
[   19.630234] sd 0:0:0:0: [sda] Preferred minimum I/O size 4096 bytes
[   19.703344]  sdc: sdc1
[   19.706371]  sdd: sdd1
[   19.709854] sd 2:0:0:0: [sdc] Attached SCSI disk
[   19.715746] sd 3:0:0:0: [sdd] Attached SCSI disk
[   20.104723]  sdb: sdb1 sdb2
[   20.109616] sd 1:0:0:0: [sdb] Attached SCSI disk
[   20.346884]  sda: sda1 sda2 sda3 sda4 sda5 sda6
[   20.355079] sd 0:0:0:0: [sda] Attached SCSI disk
[   20.702054] random: crng init done
[   21.496944] EXT4-fs (sda2): mounted filesystem with ordered data mode. Quota mode: none.
[   22.447120] systemd[1]: Inserted module 'autofs4'
[   22.513693] NET: Registered PF_INET6 protocol family
[   22.597379] Segment Routing with IPv6
[   22.601248] In-situ OAM (IOAM) with IPv6
[   22.672514] systemd[1]: systemd 252.12-1~deb12u1 running in system mode (+PAM +AUDIT +SELINUX +APPARMOR +IMA +SMACK +SECCOMP +GCRYPT -GNUTLS +OPENSSL +ACL +BLKID +CURL +ELFUTILS +FIDO2 +IDN2 -IDN +IPTC +KMOD +LIBCRYPTSETUP +LIBFDISK +PCRE2 -PWQUALITY +P11KIT +QRENCODE +TPM2 +BZIP2 +LZ4 +XZ +ZLIB +ZSTD -BPF_FRAMEWORK -XKBCOMMON +UTMP +SYSVINIT default-hierarchy=unified)
[   22.705433] systemd[1]: Detected architecture arm.
[   22.760918] systemd[1]: Hostname set to <Qnap-NAS-eth0>.
[   24.838034] systemd[1]: Queued start job for default target graphical.target.
[   24.853938] systemd[1]: Created slice system-getty.slice - Slice /system/getty.
[   24.880286] systemd[1]: Created slice system-modprobe.slice - Slice /system/modprobe.
[   24.908305] systemd[1]: Created slice system-openvpn.slice - Slice /system/openvpn.
[   24.936272] systemd[1]: Created slice system-serial\x2dgetty.slice - Slice /system/serial-getty.
[   24.964254] systemd[1]: Created slice system-systemd\x2dfsck.slice - Slice /system/systemd-fsck.
[   24.991460] systemd[1]: Created slice user.slice - User and Session Slice.
[   25.014722] systemd[1]: Started systemd-ask-password-console.path - Dispatch Password Requests to Console Directory Watch.
[   25.042596] systemd[1]: Started systemd-ask-password-wall.path - Forward Password Requests to Wall Directory Watch.
[   25.071485] systemd[1]: Set up automount proc-sys-fs-binfmt_misc.automount - Arbitrary Executable File Formats File System Automount Point.
[   25.103111] systemd[1]: Reached target cryptsetup.target - Local Encrypted Volumes.
[   25.126557] systemd[1]: Reached target integritysetup.target - Local Integrity Protected Volumes.
[   25.154552] systemd[1]: Reached target paths.target - Path Units.
[   25.178382] systemd[1]: Reached target remote-fs.target - Remote File Systems.
[   25.202313] systemd[1]: Reached target slices.target - Slice Units.
[   25.226712] systemd[1]: Reached target veritysetup.target - Local Verity Protected Volumes.
[   25.255466] systemd[1]: Listening on syslog.socket - Syslog Socket.
[   25.279167] systemd[1]: Listening on systemd-fsckd.socket - fsck to fsckd communication Socket.
[   25.306743] systemd[1]: Listening on systemd-initctl.socket - initctl Compatibility Named Pipe.
[   25.335767] systemd[1]: Listening on systemd-journald-audit.socket - Journal Audit Socket.
[   25.363157] systemd[1]: Listening on systemd-journald-dev-log.socket - Journal Socket (/dev/log).
[   25.391290] systemd[1]: Listening on systemd-journald.socket - Journal Socket.
[   25.415511] systemd[1]: Listening on systemd-udevd-control.socket - udev Control Socket.
[   25.443210] systemd[1]: Listening on systemd-udevd-kernel.socket - udev Kernel Socket.
[   25.471327] systemd[1]: dev-hugepages.mount - Huge Pages File System was skipped because of an unmet condition check (ConditionPathExists=/sys/kernel/mm/hugepages).
[   25.491068] systemd[1]: Mounting dev-mqueue.mount - POSIX Message Queue File System...
[   25.525631] systemd[1]: Mounting sys-kernel-debug.mount - Kernel Debug File System...
[   25.563085] systemd[1]: Mounting sys-kernel-tracing.mount - Kernel Trace File System...
[   25.601408] systemd[1]: Starting kmod-static-nodes.service - Create List of Static Device Nodes...
[   25.636405] systemd[1]: Starting modprobe@configfs.service - Load Kernel Module configfs...
[   25.668640] systemd[1]: Starting modprobe@dm_mod.service - Load Kernel Module dm_mod...
[   25.704247] systemd[1]: Starting modprobe@drm.service - Load Kernel Module drm...
[   25.738539] systemd[1]: Starting modprobe@efi_pstore.service - Load Kernel Module efi_pstore...
[   25.754786] device-mapper: uevent: version 1.0.3
[   25.766763] device-mapper: ioctl: 4.47.0-ioctl (2022-07-28) initialised: dm-devel@redhat.com
[   25.796441] systemd[1]: Starting modprobe@fuse.service - Load Kernel Module fuse...
[   25.828686] systemd[1]: Starting modprobe@loop.service - Load Kernel Module loop...
[   25.855732] systemd[1]: systemd-fsck-root.service - File System Check on Root Device was skipped because of an unmet condition check (ConditionPathExists=!/run/initramfs/fsck-root).
[   25.872142] fuse: init (API version 7.37)
[   25.888197] systemd[1]: systemd-journald.service: unit configures an IP firewall, but the local system does not support BPF/cgroup firewalling.
[   25.901655] systemd[1]: (This warning is only shown for the first unit using IP firewalling.)
[   25.926690] loop: module loaded
[   25.930585] systemd[1]: Starting systemd-journald.service - Journal Service...
[   25.975756] systemd[1]: Starting systemd-modules-load.service - Load Kernel Modules...
[   26.028182] systemd[1]: Starting systemd-remount-fs.service - Remount Root and Kernel File Systems...
[   26.096445] systemd[1]: Starting systemd-udev-trigger.service - Coldplug All udev Devices...
[   26.193203] input: gpio_keys as /devices/platform/gpio_keys/input/input0
[   26.207319] systemd[1]: Mounted dev-mqueue.mount - POSIX Message Queue File System.
[   26.259365] systemd[1]: Mounted sys-kernel-debug.mount - Kernel Debug File System.
[   26.287005] systemd[1]: Mounted sys-kernel-tracing.mount - Kernel Trace File System.
[   26.297283] EXT4-fs (sda2): re-mounted. Quota mode: none.
[   26.346145] systemd[1]: Finished kmod-static-nodes.service - Create List of Static Device Nodes.
[   26.388529] systemd[1]: modprobe@configfs.service: Deactivated successfully.
[   26.415104] systemd[1]: Finished modprobe@configfs.service - Load Kernel Module configfs.
[   26.460479] systemd[1]: modprobe@dm_mod.service: Deactivated successfully.
[   26.486190] systemd[1]: Finished modprobe@dm_mod.service - Load Kernel Module dm_mod.
[   26.528388] systemd[1]: modprobe@drm.service: Deactivated successfully.
[   26.554216] systemd[1]: Finished modprobe@drm.service - Load Kernel Module drm.
[   26.596419] systemd[1]: modprobe@efi_pstore.service: Deactivated successfully.
[   26.623096] systemd[1]: Finished modprobe@efi_pstore.service - Load Kernel Module efi_pstore.
[   26.668383] systemd[1]: modprobe@fuse.service: Deactivated successfully.
[   26.694198] systemd[1]: Finished modprobe@fuse.service - Load Kernel Module fuse.
[   26.736386] systemd[1]: modprobe@loop.service: Deactivated successfully.
[   26.762191] systemd[1]: Finished modprobe@loop.service - Load Kernel Module loop.
[   26.804152] systemd[1]: Finished systemd-modules-load.service - Load Kernel Modules.
[   26.847951] systemd[1]: Finished systemd-remount-fs.service - Remount Root and Kernel File Systems.
[   26.891144] systemd[1]: Started systemd-journald.service - Journal Service.
[   28.341555] sd 0:0:0:0: Attached scsi generic sg0 type 0
[   28.381534] sd 1:0:0:0: Attached scsi generic sg1 type 0
[   28.460054] sd 2:0:0:0: Attached scsi generic sg2 type 0
[   28.526293] sd 3:0:0:0: Attached scsi generic sg3 type 0
[   29.062503] usbcore: registered new interface driver usbfs
[   29.082440] usbcore: registered new interface driver hub
[   29.094414] usbcore: registered new device driver usb
[   29.116071] xhci_hcd 0000:02:00.0: xHCI Host Controller
[   29.128170] xhci_hcd 0000:02:00.0: new USB bus registered, assigned bus number 1
[   29.150925] orion-ehci f1050000.ehci: EHCI Host Controller
[   29.163319] orion_wdt: Initial timeout 21 sec
[   29.190753] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 2
[   29.199853] xhci_hcd 0000:02:00.0: hcc params 0x040050a5 hci version 0x100 quirks 0x0000000000080490
[   29.262715] orion-ehci f1050000.ehci: irq 38, io mem 0xf1050000
[   29.274087] ------------[ cut here ]------------
[   29.278757] WARNING: CPU: 0 PID: 210 at drivers/pci/msi/msi.h:17 pci_msi_setup_msi_irqs+0x60/0x70
[   29.287716] Modules linked in: marvell_cesa(+) orion_wdt ehci_orion(+) ehci_hcd watchdog libdes xhci_pci(+) xhci_hcd usbcore usb_common nls_base spi_orion kirkwood_thermal sg evdev gpio_keys loop fuse dm_mod configfs ip_tables x_tables ipv6 autofs4 ext4 crc16 mbcache jbd2 crc32c_generic sd_mod t10_pi crc64_rocksoft crc64 crc_t10dif crct10dif_generic crct10dif_common sata_mv libata rtc_s35390a scsi_mod scsi_common
[   29.324852] CPU: 0 PID: 210 Comm: (udev-worker) Not tainted 6.1.0-11-marvell #1  Debian 6.1.38-4
[   29.333679] Hardware name: Marvell Kirkwood (Flattened Device Tree)
[   29.339973]  unwind_backtrace from show_stack+0x18/0x1c
[   29.345235]  show_stack from dump_stack_lvl+0x28/0x30
[   29.350318]  dump_stack_lvl from __warn+0x80/0xf8
[   29.355053]  __warn from warn_slowpath_fmt+0x70/0x90
[   29.360059]  warn_slowpath_fmt from pci_msi_setup_msi_irqs+0x60/0x70
[   29.366460]  pci_msi_setup_msi_irqs from __pci_enable_msi_range+0x284/0x33c
[   29.373461]  __pci_enable_msi_range from pci_alloc_irq_vectors_affinity+0xbc/0xfc
[   29.380986]  pci_alloc_irq_vectors_affinity from xhci_run+0x11c/0x448 [xhci_hcd]
[   29.388546]  xhci_run [xhci_hcd] from usb_add_hcd+0x444/0x5d0 [usbcore]
[   29.395423]  usb_add_hcd [usbcore] from usb_hcd_pci_probe+0x320/0x39c [usbcore]
[   29.402970]  usb_hcd_pci_probe [usbcore] from xhci_pci_probe+0x18/0x100 [xhci_pci]
[   29.410699]  xhci_pci_probe [xhci_pci] from pci_device_probe+0x7c/0xe8
[   29.417279]  pci_device_probe from really_probe+0x1a4/0x3b0
[   29.422886]  really_probe from driver_probe_device+0x38/0xb8
[   29.428579]  driver_probe_device from __driver_attach+0x138/0x164
[   29.434710]  __driver_attach from bus_for_each_dev+0x68/0x8c
[   29.440404]  bus_for_each_dev from bus_add_driver+0xd4/0x1ec
[   29.446099]  bus_add_driver from driver_register+0xb4/0xfc
[   29.451618]  driver_register from do_one_initcall+0x74/0x180
[   29.457313]  do_one_initcall from do_init_module+0x44/0x1e0
[   29.462919]  do_init_module from sys_finit_module+0xdc/0xe8
[   29.468526]  sys_finit_module from __sys_trace_return+0x0/0x10
[   29.474394] Exception stack(0xf1a2dfa8 to 0xf1a2dff0)
[   29.479473] dfa0:                   b6f84908 006bb158 00000011 b6f83750 00000000 b6f84434
[   29.487688] dfc0: b6f84908 006bb158 b143a000 0000017b 006be220 006e5020 00000000 bef5b970
[   29.495900] dfe0: bef5b7b8 bef5b7a8 b6f7b0c0 b6e65110
[   29.501051] ---[ end trace 0000000000000000 ]---
[   29.505705] ------------[ cut here ]------------
[   29.510359] WARNING: CPU: 0 PID: 210 at drivers/pci/msi/msi.h:23 pci_msi_teardown_msi_irqs+0x74/0x84
[   29.519561] Modules linked in: marvell_cesa(+) orion_wdt ehci_orion(+) ehci_hcd watchdog libdes xhci_pci(+) xhci_hcd usbcore usb_common nls_base spi_orion kirkwood_thermal sg evdev gpio_keys loop fuse dm_mod configfs ip_tables x_tables ipv6 autofs4 ext4 crc16 mbcache jbd2 crc32c_generic sd_mod t10_pi crc64_rocksoft crc64 crc_t10dif crct10dif_generic crct10dif_common sata_mv libata rtc_s35390a scsi_mod scsi_common
[   29.556432] CPU: 0 PID: 210 Comm: (udev-worker) Tainted: G        W          6.1.0-11-marvell #1  Debian 6.1.38-4
[   29.566738] Hardware name: Marvell Kirkwood (Flattened Device Tree)
[   29.573030]  unwind_backtrace from show_stack+0x18/0x1c
[   29.578286]  show_stack from dump_stack_lvl+0x28/0x30
[   29.583369]  dump_stack_lvl from __warn+0x80/0xf8
[   29.588104]  __warn from warn_slowpath_fmt+0x70/0x90
[   29.593110]  warn_slowpath_fmt from pci_msi_teardown_msi_irqs+0x74/0x84
[   29.599770]  pci_msi_teardown_msi_irqs from free_msi_irqs+0x14/0x30
[   29.606075]  free_msi_irqs from __pci_enable_msi_range+0x2f4/0x33c
[   29.612293]  __pci_enable_msi_range from pci_alloc_irq_vectors_affinity+0xbc/0xfc
[   29.619818]  pci_alloc_irq_vectors_affinity from xhci_run+0x11c/0x448 [xhci_hcd]
[   29.627345]  xhci_run [xhci_hcd] from usb_add_hcd+0x444/0x5d0 [usbcore]
[   29.634190]  usb_add_hcd [usbcore] from usb_hcd_pci_probe+0x320/0x39c [usbcore]
[   29.641732]  usb_hcd_pci_probe [usbcore] from xhci_pci_probe+0x18/0x100 [xhci_pci]
[   29.649449]  xhci_pci_probe [xhci_pci] from pci_device_probe+0x7c/0xe8
[   29.656033]  pci_device_probe from really_probe+0x1a4/0x3b0
[   29.661639]  really_probe from driver_probe_device+0x38/0xb8
[   29.667334]  driver_probe_device from __driver_attach+0x138/0x164
[   29.673463]  __driver_attach from bus_for_each_dev+0x68/0x8c
[   29.679158]  bus_for_each_dev from bus_add_driver+0xd4/0x1ec
[   29.684851]  bus_add_driver from driver_register+0xb4/0xfc
[   29.690371]  driver_register from do_one_initcall+0x74/0x180
[   29.696065]  do_one_initcall from do_init_module+0x44/0x1e0
[   29.701673]  do_init_module from sys_finit_module+0xdc/0xe8
[   29.707280]  sys_finit_module from __sys_trace_return+0x0/0x10
[   29.713147] Exception stack(0xf1a2dfa8 to 0xf1a2dff0)
[   29.718226] dfa0:                   b6f84908 006bb158 00000011 b6f83750 00000000 b6f84434
[   29.726442] dfc0: b6f84908 006bb158 b143a000 0000017b 006be220 006e5020 00000000 bef5b970
[   29.734654] dfe0: bef5b7b8 bef5b7a8 b6f7b0c0 b6e65110
[   29.739754] ---[ end trace 0000000000000000 ]---
[   29.763292] marvell-cesa f1030000.crypto: CESA device successfully registered
[   29.783538] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[   29.810155] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[   29.854327] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.01
[   29.862669] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   29.869940] usb usb2: Product: EHCI Host Controller
[   29.874857] usb usb2: Manufacturer: Linux 6.1.0-11-marvell ehci_hcd
[   29.881159] usb usb2: SerialNumber: f1050000.ehci
[   30.012070] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 00:08:9b:d9:23:2d
[   30.167285] mv643xx_eth_port mv643xx_eth_port.1 eth1: port 0 with MAC address 00:08:9b:d9:23:2e
[   30.285211] hub 2-0:1.0: USB hub found
[   30.328696] hub 2-0:1.0: 1 port detected
[   30.630082] usb 2-1: new high-speed USB device number 2 using orion-ehci
[   30.812739] usb 2-1: New USB device found, idVendor=05e3, idProduct=0608, bcdDevice=77.63
[   30.821067] usb 2-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[   30.828393] usb 2-1: Product: USB2.0 Hub
[   30.929819] hub 2-1:1.0: USB hub found
[   30.977040] hub 2-1:1.0: 4 ports detected
[   31.049532] spi-nor spi0.0: found n25q128a13, expected m25p128
[   31.122337] spi-nor spi0.0: n25q128a13 (16384 Kbytes)
[   31.364898] 6 cmdlinepart partitions found on MTD device spi0.0
[   31.371004] Creating 6 MTD partitions on "spi0.0":
[   31.458047] 0x000000000000-0x000000080000 : "uboot"
[   31.631364] 0x000000100000-0x000000400000 : "Kernel"
[   31.660027] 0x000000400000-0x000001000000 : "RootFS1"
[   31.719381] 0x000000200000-0x000000400000 : "Kernel_legacy"
[   31.751379] 0x000000080000-0x0000000c0000 : "U-Boot_Config"
[   31.799415] 0x0000000c0000-0x000000100000 : "NAS_Config"
[   32.461897] xhci_hcd 0000:02:00.0: xHCI Host Controller
[   32.467830] xhci_hcd 0000:02:00.0: new USB bus registered, assigned bus number 3
[   32.480425] xhci_hcd 0000:02:00.0: Host supports USB 3.0 SuperSpeed
[   32.486925] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.01
[   32.495269] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   32.502544] usb usb1: Product: xHCI Host Controller
[   32.507459] usb usb1: Manufacturer: Linux 6.1.0-11-marvell xhci-hcd
[   32.513763] usb usb1: SerialNumber: 0000:02:00.0
[   32.551276] hub 1-0:1.0: USB hub found
[   32.566126] hub 1-0:1.0: 2 ports detected
[   32.571441] usb usb3: We don't know the algorithms for LPM for this host, disabling LPM.
[   32.590186] usb usb3: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 6.01
[   32.598538] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   32.605822] usb usb3: Product: xHCI Host Controller
[   32.610739] usb usb3: Manufacturer: Linux 6.1.0-11-marvell xhci-hcd
[   32.617043] usb usb3: SerialNumber: 0000:02:00.0
[   32.659285] hub 3-0:1.0: USB hub found
[   32.667970] hub 3-0:1.0: 2 ports detected
[   33.617675] Adding 754684k swap on /dev/sda4.  Priority:-2 extents:1 across:754684k
[   34.639544] EXT4-fs (sda1): mounting ext2 file system using the ext4 subsystem
[   34.750249] EXT4-fs (sda1): mounted filesystem without journal. Quota mode: none.
[   34.761411] ext2 filesystem being mounted at /boot supports timestamps until 2038 (0x7fffffff)
[   34.922230] EXT4-fs (sda3): mounted filesystem with ordered data mode. Quota mode: none.
[   35.155072] EXT4-fs (sda5): mounted filesystem with ordered data mode. Quota mode: none.
[   35.302441] systemd-journald[187]: Received client request to flush runtime journal.
[   35.744548] EXT4-fs (sda6): mounted filesystem with ordered data mode. Quota mode: none.
[   36.522595] audit: type=1400 audit(1696354799.428:2): apparmor="STATUS" operation="profile_load" profile="unconfined" name="lsb_release" pid=472 comm="apparmor_parser"
[   36.582580] audit: type=1400 audit(1696354799.488:3): apparmor="STATUS" operation="profile_load" profile="unconfined" name="nvidia_modprobe" pid=473 comm="apparmor_parser"
[   36.607752] audit: type=1400 audit(1696354799.488:4): apparmor="STATUS" operation="profile_load" profile="unconfined" name="nvidia_modprobe//kmod" pid=473 comm="apparmor_parser"
[   36.763840] audit: type=1400 audit(1696354799.668:5): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/NetworkManager/nm-dhcp-client.action" pid=474 comm="apparmor_parser"
[   36.804194] audit: type=1400 audit(1696354799.668:6): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/NetworkManager/nm-dhcp-helper" pid=474 comm="apparmor_parser"
[   36.827844] audit: type=1400 audit(1696354799.668:7): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/connman/scripts/dhclient-script" pid=474 comm="apparmor_parser"
[   36.886059] audit: type=1400 audit(1696354799.668:8): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/{,usr/}sbin/dhclient" pid=474 comm="apparmor_parser"
[   36.909638] audit: type=1400 audit(1696354799.808:9): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/bin/man" pid=475 comm="apparmor_parser"
[   36.934929] audit: type=1400 audit(1696354799.808:10): apparmor="STATUS" operation="profile_load" profile="unconfined" name="man_filter" pid=475 comm="apparmor_parser"
[   36.956540] audit: type=1400 audit(1696354799.808:11): apparmor="STATUS" operation="profile_load" profile="unconfined" name="man_groff" pid=475 comm="apparmor_parser"
[   37.850035] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 1000 Mb/s, full duplex, flow control disabled
[   37.862223] mv643xx_eth_port mv643xx_eth_port.0 eth0: link down
[   37.868881] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 1000 Mb/s, full duplex, flow control disabled
[   37.878883] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 1000 Mb/s, full duplex, flow control disabled
[   37.890474] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   39.652708] mv643xx_eth_port mv643xx_eth_port.1 eth1: link up, 1000 Mb/s, full duplex, flow control disabled
[   39.662751] mv643xx_eth_port mv643xx_eth_port.1 eth1: link up, 1000 Mb/s, full duplex, flow control disabled
[   39.672864] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[   52.541325] tun: Universal TUN/TAP device driver, 1.6

Benutzeravatar
heisenberg
Beiträge: 3567
Registriert: 04.06.2015 01:17:27
Lizenz eigener Beiträge: MIT Lizenz

Re: mariadb will nicht starten

Beitrag von heisenberg » 03.10.2023 21:07:25

Ok. Nachdem die Datendatei ibdata1 kaputt ist, könntest Du ja nochmal manuell MariaDB intialisieren (und vorher löschen).

Code: Alles auswählen

systemctl stop mariadb
rm -rf /var/lib/mysql
mariadb-install-db --user=mysql
systemctl start mariadb
Bitte prüfen, ob die Ausgabe auf irgendwelche Fehler aufweist. Auch danach prüfen ob irgendwelche möglichen relevanten Fehler via dmesg zu lesen sind.
Zuletzt geändert von heisenberg am 03.10.2023 21:10:47, insgesamt 1-mal geändert.
Jede Rohheit hat ihren Ursprung in einer Schwäche.

Conan89
Beiträge: 27
Registriert: 17.01.2020 15:06:41

Re: mariadb will nicht starten

Beitrag von Conan89 » 03.10.2023 21:10:18

Der 3te Befehl geht nicht:

Code: Alles auswählen

root@Qnap-NAS-eth0:~# mariadb-install-db --user=mysql
Installing MariaDB/MySQL system tables in '/var/lib/mysql' ...
2023-10-03 21:09:20 0 [ERROR] InnoDB: File ./ibdata1: 'aio write' returned OS error 0. Cannot continue operation
231003 21:09:20 [ERROR] mysqld got signal 6 ;
This could be because you hit a bug. It is also possible that this binary
or one of the libraries it was linked against is corrupt, improperly built,
or misconfigured. This error can also be caused by malfunctioning hardware.

To report this bug, see https://mariadb.com/kb/en/reporting-bugs

We will try our best to scrape up some info that will hopefully help
diagnose the problem, but since we have already crashed,
something is definitely wrong and this may fail.

Server version: 10.11.3-MariaDB-1 source revision:
key_buffer_size=134217728
read_buffer_size=131072
max_used_connections=0
max_threads=153
thread_count=0
It is possible that mysqld could use up to
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 466625 K  bytes of memory
Hope that's ok; if not, decrease some variables in the equation.

Thread pointer: 0x0
Attempting backtrace. You can use the following information to find out
where mysqld died. If you see no messages after this, something went
terribly wrong...
stack_bottom = 0x0 thread_stack 0x49000
The manual page at https://mariadb.com/kb/en/how-to-produce-a-full-stack-trace-for-mysqld/ contains
information that should help you find out what is causing the crash.
Writing a core file...
Working directory at /var/lib/mysql
Resource Limits:
Limit                     Soft Limit           Hard Limit           Units
Max cpu time              unlimited            unlimited            seconds
Max file size             unlimited            unlimited            bytes
Max data size             unlimited            unlimited            bytes
Max stack size            8388608              unlimited            bytes
Max core file size        0                    unlimited            bytes
Max resident set          unlimited            unlimited            bytes
Max processes             5928                 5928                 processes
Max open files            32183                32183                files
Max locked memory         98742272             98742272             bytes
Max address space         unlimited            unlimited            bytes
Max file locks            unlimited            unlimited            locks
Max pending signals       5928                 5928                 signals
Max msgqueue size         819200               819200               bytes
Max nice priority         0                    0
Max realtime priority     0                    0
Max realtime timeout      unlimited            unlimited            us
Core pattern: core

Kernel version: Linux version 6.1.0-11-marvell (debian-kernel@lists.debian.org) (gcc-12 (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40) #1 Debian 6.1.38-4 (2023-08-08)

Aborted

Installation of system tables failed!  Examine the logs in
/var/lib/mysql for more information.

The problem could be conflicting information in an external
my.cnf files. You can ignore these by doing:

    shell> /usr/bin/mariadb-install-db --defaults-file=~/.my.cnf

You can also try to start the mariadbd daemon with:

    shell> /usr/sbin/mariadbd --skip-grant-tables --general-log &

and use the command line tool /usr/bin/mariadb
to connect to the mysql database and look at the grant tables:

    shell> /usr/bin/mariadb -u root mysql
    MariaDB> show tables;

Try '/usr/sbin/mariadbd --help' if you have problems with paths.  Using
--general-log gives you a log in /var/lib/mysql that may be helpful.

The latest information about mysql_install_db is available at
https://mariadb.com/kb/en/installing-system-tables-mysql_install_db
You can find the latest source at https://downloads.mariadb.org and
the maria-discuss email list at https://launchpad.net/~maria-discuss

Please check all of the above before submitting a bug report
at https://mariadb.org/jira


Benutzeravatar
heisenberg
Beiträge: 3567
Registriert: 04.06.2015 01:17:27
Lizenz eigener Beiträge: MIT Lizenz

Re: mariadb will nicht starten

Beitrag von heisenberg » 03.10.2023 21:17:41

Code: Alles auswählen

2023-10-03 21:09:20 0 [ERROR] InnoDB: File ./ibdata1: 'aio write' returned OS error 0. Cannot continue operation
Möglicherweise bedeutet das, dass unter QNAP Das IO-Model AIO nicht zur Verfügung steht?

Ich habe den Fehler gegoogelt und dabei die Option --innodb-use-native-aio von mariadb gefunden. -> Man kann das abschalten.

Probiere das obige erneut, aber mit diesen Befehlen:

Code: Alles auswählen

systemctl stop mariadb
rm -rf /var/lib/mysql
mariadb-install-db --user=mysql  --innodb-use-native-aio=OFF
systemctl start mariadb
Jede Rohheit hat ihren Ursprung in einer Schwäche.

Conan89
Beiträge: 27
Registriert: 17.01.2020 15:06:41

Re: mariadb will nicht starten

Beitrag von Conan89 » 03.10.2023 21:31:20

Das wars!
Nach dem erstellen mit "mariadb-install-db --user=mysql --innodb-use-native-aio=OFF" lief es noch nicht.
Ich hab treudoof probiert "innodb-use-native-aio=OFF" in die /etc/mysql/my.cnf einzutragen und dann systemctl start mariadb und sie startet.

Darf ic hfragen was " Das IO-Model AIO" ist und/oder bedeutet?

Benutzeravatar
heisenberg
Beiträge: 3567
Registriert: 04.06.2015 01:17:27
Lizenz eigener Beiträge: MIT Lizenz

Re: mariadb will nicht starten

Beitrag von heisenberg » 03.10.2023 21:38:44

Linux AIO ist die Asyncronous Input Output - Schnittstelle. Das bedeutet, das man Schreibvorgänge absetzen kann, aber nicht warten muss, bis diese auch wirklich zu Ende geschrieben sind. Der Kernel kümmert sich darum, dass die Schreibvorgänge dann halt irgendwann fertig sind.

Wenn man kein AIO hat, dann muss der MariaDB-Server halt selbst Prozesse offen halten, die die Schreibvorgänge synchron durchführen. Das nicht zu haben, reduziert vermutlich die Performance. Aber aus dem Bauch heraus könnte ich mir durchaus vorstellen, dass das unter Deiner QNAP (ARM-Architektur) vielleicht einfach nicht geht.

Siehe:
https://dev.mysql.com/doc/refman/8.0/en ... e-aio.html

Ansonsten zum Thema "Hilfe zur Selbsthilfe". Ich habe hier streng nach Cheat-Sheet-Anweisung (xkcd #627) gehandelt:

Bild
Zuletzt geändert von heisenberg am 03.10.2023 21:47:56, insgesamt 3-mal geändert.
Jede Rohheit hat ihren Ursprung in einer Schwäche.

Conan89
Beiträge: 27
Registriert: 17.01.2020 15:06:41

Re: mariadb will nicht starten

Beitrag von Conan89 » 03.10.2023 21:45:03

Ok, ich danke dir für die aufklärung. Ich werde jetzt mein cacti einrichten und dann die perfomance im augen behalten, wen sie nicht messbar langsamer ist, ist es für mich ok.

Antworten