Bug#952404: scanbd: crash on startup: kernel internal error: Oops 206 with current raspbian buster on rpi4 4g
Package: scanbd
Version: 1.5.1-5
Severity: important
Dear Maintainer,
I installed the package *scanbd* on the current Raspbian buster on a
Raspberry Pi 4 (4GB).
The behaviour is identical regardless of version '1.5.1-5' or '1.5.1-4'.
The latter version works fine with a Raspberry Pi 2B and Raspbian stretch.
Running the program *scanbd* with default configuration causes a kernel Oops
even without any scanner attached (and with one attached which used
to work fine):
# export SANE_CONFIG_DIR=/etc/scanbd
# /usr/sbin/scanbd -f -c /etc/scanbd/scanbd.conf
Result:
root@rpi4:~# scanbd -f -c /etc/scanbd/scanbd.conf
scanbd: dbus match type='signal',interface='org.freedesktop.Hal.Manager'
Message from syslogd@rpi4 at Feb 23 17:51:52 ...
kernel:[ 3081.054930] Internal error: Oops: 206 [#4] SMP ARM
Message from syslogd@rpi4 at Feb 23 17:51:52 ...
kernel:[ 3081.147131] Process scanbd (pid: 2082, stack limit = 0x35d03bc2)
Message from syslogd@rpi4 at Feb 23 17:51:52 ...
kernel:[ 3081.150005] Stack: (0xd2581e88 to 0xd2582000)
Message from syslogd@rpi4 at Feb 23 17:51:52 ...
kernel:[ 3081.152873] 1e80: c1004d88 d262f300 fe52a6aa d2581f60 d2581f60 00000001
Message from syslogd@rpi4 at Feb 23 17:51:52 ...
kernel:[ 3081.155781] 1ea0: d2581f2c d2581eb0 c03d4f48 c06f1038 ef9c0a50 00000101 00000002 000007b8
Message from syslogd@rpi4 at Feb 23 17:51:52 ...
kernel:[ 3081.158703] 1ec0: 00000000 00000000 00000000 d2581ed0 c0292810 c03d235c 00000000 c09c996c
Message from syslogd@rpi4 at Feb 23 17:51:52 ...
kernel:[ 3081.161640] 1ee0: 00000000 ef9c0ad0 d2581f04 d2581ef8 c09c996c c0292c68 d2581f1c fe52a6aa
Message from syslogd@rpi4 at Feb 23 17:51:52 ...
kernel:[ 3081.164581] 1f00: c09cc028 00000001 d262f300 beabdb8b d2581f60 beabdb8b d2580000 00000003
Message from syslogd@rpi4 at Feb 23 17:51:52 ...
kernel:[ 3081.167521] 1f20: d2581f5c d2581f30 c03d5108 c03d4f0c c03f5be4 c03f52b8 d262f300 c1004d88
Message from syslogd@rpi4 at Feb 23 17:51:52 ...
kernel:[ 3081.170469] 1f40: d262f301 00000001 beabdb8b d2580000 d2581f94 d2581f60 c03d5750 c03d5078
Message from syslogd@rpi4 at Feb 23 17:51:52 ...
kernel:[ 3081.173430] 1f60: 000003bd 00000000 000003bd fe52a6aa b6f17968 00000001 beabdb8b 0000000b
Message from syslogd@rpi4 at Feb 23 17:51:52 ...
kernel:[ 3081.176395] 1f80: 00000003 c02011c4 d2581fa4 d2581f98 c03d57dc c03d56e8 00000000 d2581fa8
Message from syslogd@rpi4 at Feb 23 17:51:52 ...
kernel:[ 3081.179356] 1fa0: c0201000 c03d57d0 00000001 beabdb8b 0000000b beabdb8b 00000001 00000000
Message from syslogd@rpi4 at Feb 23 17:51:52 ...
kernel:[ 3081.182313] 1fc0: 00000001 beabdb8b 0000000b 00000003 b6f17968 b4c32d08 00000000 00000000
Message from syslogd@rpi4 at Feb 23 17:51:52 ...
kernel:[ 3081.182313] 1fc0: 00000001 beabdb8b 0000000b 00000003 b6f17968 b4c32d08 00000000 00000000
Message from syslogd@rpi4 at Feb 23 17:51:52 ...
kernel:[ 3081.185275] 1fe0: 00000002 beabdb70 00000000 b6de3274 80000010 0000000b 00000000 00000000
Message from syslogd@rpi4 at Feb 23 17:51:52 ...
kernel:[ 3081.214669] Code: 03a02000 e3520000 0a00000c e2442612 (e5d22000)
It is expected to *not* lead to a kernel Oops and should detect when the scanner button was pressed instead.
It is a pity that it does not work as expected when moving to the recent rpi4.
I am investigating this further with the source code which will take some time.
-- System Information:
Distributor ID: Raspbian
Description: Raspbian GNU/Linux 10 (buster)
Release: 10
Codename: buster
Architecture: armv7l
Kernel: Linux 4.19.97-v7l+ (SMP w/4 CPU cores)
Kernel taint flags: TAINT_DIE, TAINT_CRAP
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages scanbd depends on:
ii init-system-helpers 1.56+nmu1
ii libc6 2.28-10+rpi1
ii libconfuse2 3.2.2+dfsg-1
ii libdbus-1-3 1.12.16-1
ii libsane 1.0.27-3.2
ii libudev1 241-7~deb10u3+rpi1
ii lsb-base 10.2019051400+rpi1
ii openbsd-inetd [inet-superserver] 0.20160825-4
ii sane-utils 1.0.27-3.2
ii update-inetd 4.49
scanbd recommends no packages.
scanbd suggests no packages.
-- no debconf information
Reply to: