Siduction Forum
Siduction Forum => Upgrade Warnings => Topic started by: DeKa on 2019/03/12, 17:43:45
-
Hallo,
ich habe das Problem das nach der Installation der 15er Kernel nicht bootet.
Meldung beim booten von grub: Kernel nicht gefunden.
Mit dem 14er kann ich booten, nur der kernel-remover meldet mir das kein anderer Kernel installiert wäre.
-
Maybe a dumb question, but did you do an update-grub?
-
dpkg -l | grep x-image
-
Sorry Leute, hatte Probleme überhaupt das System stabil mit dem anderen Kernel zu booten und habe daraufhin mein System-Backup wieder eingespielt, wusste mir keinen anderen Rat das Problem zu beheben.
-
Am WE werde ich mich damit nochmals beschäftigen, habe gerade viel zu tun.
Danke nochmals für die Rückmeldung zu meinem Problem.
-
Da kannst Du ja dann gleich aktuell, sprich 5.0.2-towo.1 (oder bis dahin neuer) installieren.
-
Mit dem 16er Kernel das gleiche Phänomen:
root@siductionbox:/home/deka# dpkg -l | grep x-image
rc linux-image-4.0.1-towo.1-siduction-amd64 4.0-2 amd64 Linux 4.0 for 64-bit PCs
rc linux-image-4.1.2-towo.2-siduction-amd64 4.1-6 amd64 Linux 4.1 for 64-bit PCs
rc linux-image-4.14.11-towo.3-siduction-amd64 4.14-20 amd64 Linux 4.14 for 64-bit PCs
rc linux-image-4.15.6-towo.1-siduction-amd64 4.15-13 amd64 Linux 4.15 for 64-bit PCs
rc linux-image-4.16.13-towo.1-siduction-amd64 4.16-19 amd64 Linux 4.16 for 64-bit PCs
rc linux-image-4.16.2-towo.2-siduction-amd64 4.16-8 amd64 Linux 4.16 for 64-bit PCs
rc linux-image-4.17.0-towo.1-siduction-amd64 4.17-1 amd64 Linux 4.17 for 64-bit PCs
rc linux-image-4.17.3-towo.1-siduction-amd64 4.17-10 amd64 Linux 4.17 for 64-bit PCs
rc linux-image-4.18.11-towo.1-siduction-amd64 4.18-13 amd64 Linux 4.18 for 64-bit PCs
rc linux-image-4.18.15-towo.2-siduction-amd64 4.18-19 amd64 Linux 4.18 for 64-bit PCs
rc linux-image-4.18.9-towo.1-siduction-amd64 4.18-10 amd64 Linux 4.18 for 64-bit PCs
rc linux-image-4.19.11-towo.2-siduction-amd64 4.19-32 amd64 Linux 4.19 for 64-bit PCs
rc linux-image-4.19.12-towo.1-siduction-amd64 4.19-33 amd64 Linux 4.19 for 64-bit PCs
rc linux-image-4.19.5-towo.3-siduction-amd64 4.19-21 amd64 Linux 4.19 for 64-bit PCs
rc linux-image-4.19.6-towo.1-siduction-amd64 4.19-22 amd64 Linux 4.19 for 64-bit PCs
rc linux-image-4.19.8-towo.1-siduction-amd64 4.19-27 amd64 Linux 4.19 for 64-bit PCs
rc linux-image-4.19.9-towo.1-siduction-amd64 4.19-29 amd64 Linux 4.19 for 64-bit PCs
rc linux-image-4.20.0-towo.1-siduction-amd64 4.20-1 amd64 Linux 4.20 for 64-bit PCs
rc linux-image-4.20.0-towo.2-siduction-amd64 4.20-2 amd64 Linux 4.20 for 64-bit PCs
rc linux-image-4.20.1-towo.2-siduction-amd64 4.20-6 amd64 Linux 4.20 for 64-bit PCs
ii linux-image-4.20.13-towo.1-siduction-amd64 4.20-25 amd64 Linux 4.20 for 64-bit PCs
ii linux-image-4.20.16-towo.1-siduction-amd64 4.20-28 amd64 Linux 4.20 for 64-bit PCs
rc linux-image-4.20.2-towo.1-siduction-amd64 4.20-7 amd64 Linux 4.20 for 64-bit PCs
ii linux-image-4.20.4-towo.1-siduction-amd64 4.20-10 amd64 Linux 4.20 for 64-bit PCs
rc linux-image-4.7.4-towo.1-siduction-amd64 4.7-9 amd64 Linux 4.7 for 64-bit PCs
rc linux-image-4.8.11-towo.3-siduction-amd64 4.8-20 amd64 Linux 4.8 for 64-bit PCs
ii linux-image-siduction-amd64 4.20-28 amd64 Linux image for siduction on 64-bit PCs
Meldung in Grub: Der Kernel kann nicht geladen werden.
Warum? Leider keine Idee.
-
df -h
Und die exakte Fehlermeldung!
-
root@siductionbox:/home/deka# df -h
Dateisystem Größe Benutzt Verf. Verw% Eingehängt auf
udev 3,9G 0 3,9G 0% /dev
tmpfs 786M 11M 776M 2% /run
/dev/sdb1 16G 8,0G 6,5G 56% /
tmpfs 3,9G 27M 3,9G 1% /dev/shm
tmpfs 5,0M 4,0K 5,0M 1% /run/lock
tmpfs 3,9G 0 3,9G 0% /sys/fs/cgroup
tmpfs 3,9G 28K 3,9G 1% /tmp
tmpfs 3,9G 1,2M 3,9G 1% /var/log
/dev/sdb2 220G 79G 130G 38% /home
/dev/sda4 621G 456G 133G 78% /media/Daten
tmpfs 786M 20K 786M 1% /run/user/1001
Wie kriege ich diese exakte Fehlermeldung? Ober meinst du ein Foto von Grub.
-
"df -h" hat er Dich abfragen lassen, weil fehlender Platz ein häufiger Grund ist, daß ein Kernel nicht vollständig installiert ist. Daß das bei Dir nicht so ist, hat man schon dem Screenshot entnehmen können, aber Screenshots, vor allem solch unnötige, binäres Zeug in einem Textforum, sind alles andere als gern gesehen. Daher sollte man auch nicht davon ausgehen, daß die überhaupt jemand ansieht und dann noch darauf eingeht. Also laß sowas!
Ober meinst du ein Foto von Grub.
Sowas fragst Du ernsthaft jemanden wie towo?
Wie kriege ich diese exakte Fehlermeldung?
Gäbe es Der Kernel kann nicht geladen werden. (https://www.google.com/search?&q=grub+%22der+kernel+kann+nicht+geladen+werden%22) als eine Grub-Fehlerausgabe, würde man sie irgendwo mindestens einmal finden. Ergo exakter Wortlaut und nicht umschreiben.
Davon abgesehen könnte man bspw. auch die Kernelpakete reinstallieren und diese Ein- und Ausgaben posten.
-
Okay, werde ich so machen und hier posten.
-
So hier der reinstall des 16er Kernels.
root: apt install --reinstall linux-image-4.20.16-towo.1-siduction-amd64 linux-headers-4.20.16-towo.1-siduction-amd64
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen.... Fertig
0 aktualisiert, 0 neu installiert, 2 erneut installiert, 0 zu entfernen und 0 nicht aktualisiert.
Es müssen 49,9 MB an Archiven heruntergeladen werden.
Nach dieser Operation werden 0 B Plattenplatz zusätzlich benutzt.
Holen:1 http://packages.siduction.org/extra unstable/main amd64 linux-headers-4.20.16-towo.1-siduction-amd64 amd64 4.20-28 [8.316 kB]
Holen:2 http://packages.siduction.org/extra unstable/main amd64 linux-image-4.20.16-towo.1-siduction-amd64 amd64 4.20-28 [41,6 MB]
Es wurden 49,9 MB in 8 s geholt (6.580 kB/s).
(Lese Datenbank ... 299262 Dateien und Verzeichnisse sind derzeit installiert.)
Vorbereitung zum Entpacken von .../linux-headers-4.20.16-towo.1-siduction-amd64_4.20-28_amd64.deb ...
Entpacken von linux-headers-4.20.16-towo.1-siduction-amd64 (4.20-28) über (4.20-28) ...
Vorbereitung zum Entpacken von .../linux-image-4.20.16-towo.1-siduction-amd64_4.20-28_amd64.deb ...
Entpacken von linux-image-4.20.16-towo.1-siduction-amd64 (4.20-28) über (4.20-28) ...
/etc/kernel/postrm.d/zz-extlinux:
P: Checking for EXTLINUX directory... found.
P: Writing config for /boot/vmlinuz-4.20.16-towo.1-siduction-amd64...
P: Writing config for /boot/vmlinuz-4.20.13-towo.1-siduction-amd64...
linux-headers-4.20.16-towo.1-siduction-amd64 (4.20-28) wird eingerichtet ...
/etc/kernel/header_postinst.d/dkms:
Error! Bad return status for module build on kernel: 4.20.16-towo.1-siduction-amd64 (x86_64)
Consult /var/lib/dkms/rts_bpp/1.1/build/make.log for more information.
linux-image-4.20.16-towo.1-siduction-amd64 (4.20-28) wird eingerichtet ...
/etc/kernel/postinst.d/dkms:
Error! Bad return status for module build on kernel: 4.20.16-towo.1-siduction-amd64 (x86_64)
Consult /var/lib/dkms/rts_bpp/1.1/build/make.log for more information.
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-4.20.16-towo.1-siduction-amd64
/etc/kernel/postinst.d/zz-extlinux:
P: Checking for EXTLINUX directory... found.
P: Writing config for /boot/vmlinuz-4.20.16-towo.1-siduction-amd64...
P: Writing config for /boot/vmlinuz-4.20.13-towo.1-siduction-amd64...
/etc/kernel/postinst.d/zz-update-grub:
GRUB-Konfigurationsdatei wird erstellt …
Thema gefunden: /boot/grub/themes/Grau/theme.txt
Linux-Abbild gefunden: /boot/vmlinuz-4.20.16-towo.1-siduction-amd64
initrd-Abbild gefunden: /boot/initrd.img-4.20.16-towo.1-siduction-amd64
Linux-Abbild gefunden: /boot/vmlinuz-4.20.13-towo.1-siduction-amd64
initrd-Abbild gefunden: /boot/initrd.img-4.20.13-towo.1-siduction-amd64
Debian GNU/Linux buster/sid auf /dev/sda2 gefunden
Debian GNU/Linux buster/sid auf /dev/sdc1 gefunden
Found memtest86+ image: /boot/memtest86+.bin
Found memtest86+ multiboot image: /boot/memtest86+_multiboot.bin
Debian GNU/Linux buster/sid auf /dev/sda2 gefunden
Debian GNU/Linux buster/sid auf /dev/sdc1 gefunden
erledigt
-
Neustart schlägt fehl:
Linux 4.20.16-towo.1-siduction-amd64
Fehler: Datei >>/boot/vmlinuz/-4.20.16-towo.1-siduction-amd64<< nicht gefunden
Initiale Ramdisk wird geladen
Fehler: Sie müssen zuerst den Kernel laden
Beliebige Taste drücker, um fortzusetzen ..._
-
Inhalt der /boot/extlinux/linux.cfg
## /boot/extlinux/linux.cfg
##
## IMPORTANT WARNING
##
## The configuration of this file is generated automatically.
## Do not edit this file manually, use: extlinux-update
label l0
menu label Debian GNU/Linux, kernel 4.20.16-towo.1-siduction-amd64
linux /boot/vmlinuz-4.20.16-towo.1-siduction-amd64
append initrd=/boot/initrd.img-4.20.16-towo.1-siduction-amd64 root=UUID=071347aa-89b4-4e9a-b1fe-a0892eafa410 ro quiet
label l0r
menu label Debian GNU/Linux, kernel 4.20.16-towo.1-siduction-amd64 (recovery mode)
linux /boot/vmlinuz-4.20.16-towo.1-siduction-amd64
append initrd=/boot/initrd.img-4.20.16-towo.1-siduction-amd64 root=UUID=071347aa-89b4-4e9a-b1fe-a0892eafa410 ro single
text help
This option boots the system into recovery mode (single-user)
endtext
label l1
menu label Debian GNU/Linux, kernel 4.20.13-towo.1-siduction-amd64
linux /boot/vmlinuz-4.20.13-towo.1-siduction-amd64
append initrd=/boot/initrd.img-4.20.13-towo.1-siduction-amd64 root=UUID=071347aa-89b4-4e9a-b1fe-a0892eafa410 ro quiet
label l1r
menu label Debian GNU/Linux, kernel 4.20.13-towo.1-siduction-amd64 (recovery mode)
linux /boot/vmlinuz-4.20.13-towo.1-siduction-amd64
append initrd=/boot/initrd.img-4.20.13-towo.1-siduction-amd64 root=UUID=071347aa-89b4-4e9a-b1fe-a0892eafa410 ro single
text help
This option boots the system into recovery mode (single-user)
endtext
-
Error! Bad return status for module build on kernel: 4.20.16-towo.1-siduction-amd64 (x86_64)
Bei einem Error brauchst Du damit nicht booten versuchen.
Consult /var/lib/dkms/rts_bpp/1.1/build/make.log for more information.
Und weshalb postest Du da irgendwas anderes?
-
Sorry habe ich nicht gesehen, gelesen.
Das mit dem Error ist schon eine Weile so, da wurde hier berichtet das man diese Meldung ignorieren kann, sollte.
Das installieren von neuen Kerneln hatte es ja auch immer funktioniert und sie wurden geladen.
Also hier das log-file:DKMS make.log for rts_bpp-1.1 for kernel 4.20.16-towo.1-siduction-amd64 (x86_64)
Sa 16. Mär 10:55:54 CET 2019
make: Verzeichnis „/usr/src/linux-headers-4.20.16-towo.1-siduction-amd64“ wird betreten
CC [M] /var/lib/dkms/rts_bpp/1.1/build/src/rtsx.o
CC [M] /var/lib/dkms/rts_bpp/1.1/build/src/rtsx_chip.o
CC [M] /var/lib/dkms/rts_bpp/1.1/build/src/rtsx_transport.o
CC [M] /var/lib/dkms/rts_bpp/1.1/build/src/rtsx_scsi.o
CC [M] /var/lib/dkms/rts_bpp/1.1/build/src/rtsx_card.o
CC [M] /var/lib/dkms/rts_bpp/1.1/build/src/general.o
CC [M] /var/lib/dkms/rts_bpp/1.1/build/src/sd.o
CC [M] /var/lib/dkms/rts_bpp/1.1/build/src/xd.o
In file included from /var/lib/dkms/rts_bpp/1.1/build/src/rtsx.c:29:
/var/lib/dkms/rts_bpp/1.1/build/src/rtsx_chip.h:330: warning: "SG_END" redefined
#define SG_END 0x02
In file included from /var/lib/dkms/rts_bpp/1.1/build/src/rtsx_transport.h:28,
from /var/lib/dkms/rts_bpp/1.1/build/src/rtsx_scsi.c:28:
/var/lib/dkms/rts_bpp/1.1/build/src/rtsx_chip.h:330: warning: "SG_END" redefined
#define SG_END 0x02
In file included from ./include/linux/blkdev.h:28,
from /var/lib/dkms/rts_bpp/1.1/build/src/rtsx.c:23:
./include/linux/scatterlist.h:65: note: this is the location of the previous definition
#define SG_END 0x02UL
In file included from ./include/linux/blkdev.h:28,
from /var/lib/dkms/rts_bpp/1.1/build/src/rtsx_scsi.c:23:
./include/linux/scatterlist.h:65: note: this is the location of the previous definition
#define SG_END 0x02UL
/var/lib/dkms/rts_bpp/1.1/build/src/rtsx.c: In function ‘proc_info’:
/var/lib/dkms/rts_bpp/1.1/build/src/rtsx.c:141:41: error: macro "__TIME__" might prevent reproducible builds [-Werror=date-time]
SPRINTF(" Build: %s\n", __TIME__);
^
In file included from /var/lib/dkms/rts_bpp/1.1/build/src/rtsx_transport.h:28,
from /var/lib/dkms/rts_bpp/1.1/build/src/rtsx_card.c:30:
/var/lib/dkms/rts_bpp/1.1/build/src/rtsx_chip.h:330: warning: "SG_END" redefined
#define SG_END 0x02
In file included from ./include/linux/blkdev.h:28,
from /var/lib/dkms/rts_bpp/1.1/build/src/rtsx_card.c:23:
./include/linux/scatterlist.h:65: note: this is the location of the previous definition
#define SG_END 0x02UL
In file included from /var/lib/dkms/rts_bpp/1.1/build/src/rtsx_transport.h:28,
from /var/lib/dkms/rts_bpp/1.1/build/src/sd.c:28:
/var/lib/dkms/rts_bpp/1.1/build/src/rtsx_chip.h:330: warning: "SG_END" redefined
#define SG_END 0x02
In file included from ./include/linux/blkdev.h:28,
from /var/lib/dkms/rts_bpp/1.1/build/src/sd.c:23:
./include/linux/scatterlist.h:65: note: this is the location of the previous definition
#define SG_END 0x02UL
In file included from /var/lib/dkms/rts_bpp/1.1/build/src/rtsx_scsi.h:28,
from /var/lib/dkms/rts_bpp/1.1/build/src/rtsx_transport.c:28:
/var/lib/dkms/rts_bpp/1.1/build/src/rtsx_chip.h:330: warning: "SG_END" redefined
#define SG_END 0x02
In file included from ./include/linux/blkdev.h:28,
from /var/lib/dkms/rts_bpp/1.1/build/src/rtsx_transport.c:23:
./include/linux/scatterlist.h:65: note: this is the location of the previous definition
#define SG_END 0x02UL
/var/lib/dkms/rts_bpp/1.1/build/src/rtsx.c: At top level:
/var/lib/dkms/rts_bpp/1.1/build/src/rtsx.c:259:3: error: ‘struct scsi_host_template’ has no member named ‘proc_info’; did you mean ‘show_info’?
.proc_info = proc_info,
^~~~~~~~~
show_info
/var/lib/dkms/rts_bpp/1.1/build/src/rtsx.c:259:17: error: initialization of ‘struct proc_dir_entry *’ from incompatible pointer type ‘int (*)(struct Scsi_Host *, char *, char **, off_t, int, int)’ {aka ‘int (*)(struct Scsi_Host *, char *, char **, long int, int, int)’} [-Werror=incompatible-pointer-types]
.proc_info = proc_info,
^~~~~~~~~
/var/lib/dkms/rts_bpp/1.1/build/src/rtsx.c:259:17: note: (near initialization for ‘rtsx_host_template.proc_dir’)
In file included from /var/lib/dkms/rts_bpp/1.1/build/src/rtsx_transport.h:28,
from /var/lib/dkms/rts_bpp/1.1/build/src/rtsx_chip.c:29:
/var/lib/dkms/rts_bpp/1.1/build/src/rtsx_chip.h:330: warning: "SG_END" redefined
#define SG_END 0x02
In file included from ./include/linux/blkdev.h:28,
from /var/lib/dkms/rts_bpp/1.1/build/src/rtsx_chip.c:23:
./include/linux/scatterlist.h:65: note: this is the location of the previous definition
#define SG_END 0x02UL
In file included from ./include/linux/printk.h:7,
from ./include/linux/kernel.h:14,
from ./arch/x86/include/asm/percpu.h:45,
from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/blkdev.h:5,
from /var/lib/dkms/rts_bpp/1.1/build/src/rtsx.c:23:
/var/lib/dkms/rts_bpp/1.1/build/src/rtsx.c: In function ‘rtsx_control_thread’:
./include/linux/kern_levels.h:5:18: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘u64’ {aka ‘long long unsigned int’} [-Wformat=]
#define KERN_SOH "\001" /* ASCII Start Of Header */
^~~~~~
./include/linux/kern_levels.h:11:18: note: in expansion of macro ‘KERN_SOH’
#define KERN_ERR KERN_SOH "3" /* error conditions */
^~~~~~~~
/var/lib/dkms/rts_bpp/1.1/build/src/rtsx.c:495:11: note: in expansion of macro ‘KERN_ERR’
printk(KERN_ERR "Bad target number (%d:%d)\n",
^~~~~~~~
/var/lib/dkms/rts_bpp/1.1/build/src/rtsx.c:495:44: note: format string is defined here
printk(KERN_ERR "Bad target number (%d:%d)\n",
~^
%lld
In file included from ./include/linux/printk.h:7,
from ./include/linux/kernel.h:14,
from ./arch/x86/include/asm/percpu.h:45,
from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/blkdev.h:5,
from /var/lib/dkms/rts_bpp/1.1/build/src/rtsx.c:23:
./include/linux/kern_levels.h:5:18: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘u64’ {aka ‘long long unsigned int’} [-Wformat=]
#define KERN_SOH "\001" /* ASCII Start Of Header */
^~~~~~
./include/linux/kern_levels.h:11:18: note: in expansion of macro ‘KERN_SOH’
#define KERN_ERR KERN_SOH "3" /* error conditions */
^~~~~~~~
/var/lib/dkms/rts_bpp/1.1/build/src/rtsx.c:501:11: note: in expansion of macro ‘KERN_ERR’
printk(KERN_ERR "Bad LUN (%d:%d)\n",
^~~~~~~~
/var/lib/dkms/rts_bpp/1.1/build/src/rtsx.c:501:34: note: format string is defined here
printk(KERN_ERR "Bad LUN (%d:%d)\n",
~^
%lld
/var/lib/dkms/rts_bpp/1.1/build/src/rtsx.c: At top level:
/var/lib/dkms/rts_bpp/1.1/build/src/rtsx.c:893:22: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘rtsx_probe’
static int __devinit rtsx_probe(struct pci_dev *pci, const struct pci_device_id *pci_id)
^~~~~~~~~~
/var/lib/dkms/rts_bpp/1.1/build/src/rtsx.c:900:35: error: macro "__TIME__" might prevent reproducible builds [-Werror=date-time]
printk(KERN_INFO "--- %s ---\n", __TIME__);
^~~~~~~~
/var/lib/dkms/rts_bpp/1.1/build/src/rtsx.c:1048:23: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘rtsx_remove’
static void __devexit rtsx_remove(struct pci_dev *pci)
^~~~~~~~~~~
In file included from /var/lib/dkms/rts_bpp/1.1/build/src/rtsx_transport.h:28,
from /var/lib/dkms/rts_bpp/1.1/build/src/xd.c:28:
/var/lib/dkms/rts_bpp/1.1/build/src/rtsx_chip.h:330: warning: "SG_END" redefined
#define SG_END 0x02
In file included from ./include/linux/blkdev.h:28,
from /var/lib/dkms/rts_bpp/1.1/build/src/xd.c:23:
./include/linux/scatterlist.h:65: note: this is the location of the previous definition
#define SG_END 0x02UL
/var/lib/dkms/rts_bpp/1.1/build/src/rtsx.c:1073:11: error: ‘rtsx_probe’ undeclared here (not in a function); did you mean ‘rtsx_writel’?
.probe = rtsx_probe,
^~~~~~~~~~
rtsx_writel
/var/lib/dkms/rts_bpp/1.1/build/src/rtsx.c:1074:12: error: implicit declaration of function ‘__devexit_p’; did you mean ‘__memcat_p’? [-Werror=implicit-function-declaration]
.remove = __devexit_p(rtsx_remove),
^~~~~~~~~~~
__memcat_p
CC [M] /var/lib/dkms/rts_bpp/1.1/build/src/ms.o
/var/lib/dkms/rts_bpp/1.1/build/src/rtsx.c:1074:24: error: ‘rtsx_remove’ undeclared here (not in a function); did you mean ‘rtsx_resume’?
.remove = __devexit_p(rtsx_remove),
^~~~~~~~~~~
rtsx_resume
/var/lib/dkms/rts_bpp/1.1/build/src/rtsx.c:786:13: warning: ‘rtsx_init_options’ defined but not used [-Wunused-function]
static void rtsx_init_options(struct rtsx_chip *chip)
^~~~~~~~~~~~~~~~~
/var/lib/dkms/rts_bpp/1.1/build/src/rtsx.c:761:12: warning: ‘rtsx_scan_thread’ defined but not used [-Wunused-function]
static int rtsx_scan_thread(void * __dev)
^~~~~~~~~~~~~~~~
/var/lib/dkms/rts_bpp/1.1/build/src/rtsx.c:751:13: warning: ‘release_everything’ defined but not used [-Wunused-function]
static void release_everything(struct rtsx_dev *dev)
^~~~~~~~~~~~~~~~~~
/var/lib/dkms/rts_bpp/1.1/build/src/rtsx.c:715:13: warning: ‘quiesce_and_remove_host’ defined but not used [-Wunused-function]
static void quiesce_and_remove_host(struct rtsx_dev *dev)
^~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/rts_bpp/1.1/build/src/rtsx.c:559:12: warning: ‘rtsx_polling_thread’ defined but not used [-Wunused-function]
static int rtsx_polling_thread(void * __dev)
^~~~~~~~~~~~~~~~~~~
/var/lib/dkms/rts_bpp/1.1/build/src/rtsx.c:450:12: warning: ‘rtsx_control_thread’ defined but not used [-Wunused-function]
static int rtsx_control_thread(void * __dev)
^~~~~~~~~~~~~~~~~~~
/var/lib/dkms/rts_bpp/1.1/build/src/rtsx.c:255:34: warning: ‘rtsx_host_template’ defined but not used [-Wunused-variable]
static struct scsi_host_template rtsx_host_template = {
^~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
make[1]: *** [scripts/Makefile.build:297: /var/lib/dkms/rts_bpp/1.1/build/src/rtsx.o] Fehler 1
make[1]: *** Es wird auf noch nicht beendete Prozesse gewartet....
/var/lib/dkms/rts_bpp/1.1/build/src/sd.c: In function ‘ext_sd_send_cmd_get_rsp’:
/var/lib/dkms/rts_bpp/1.1/build/src/sd.c:3665:25: warning: bitwise comparison always evaluates to true [-Wtautological-compare]
if ((ptr[3] & 0x1E) != 0x03) {
^~
In file included from /var/lib/dkms/rts_bpp/1.1/build/src/rtsx_transport.h:28,
from /var/lib/dkms/rts_bpp/1.1/build/src/ms.c:28:
/var/lib/dkms/rts_bpp/1.1/build/src/rtsx_chip.h:330: warning: "SG_END" redefined
#define SG_END 0x02
In file included from ./include/linux/blkdev.h:28,
from /var/lib/dkms/rts_bpp/1.1/build/src/ms.c:23:
./include/linux/scatterlist.h:65: note: this is the location of the previous definition
#define SG_END 0x02UL
In file included from ./include/linux/bitmap.h:9,
from ./include/linux/cpumask.h:12,
from ./arch/x86/include/asm/paravirt.h:17,
from ./arch/x86/include/asm/irqflags.h:68,
from ./include/linux/irqflags.h:16,
from ./include/linux/rcupdate.h:39,
from ./include/linux/rculist.h:11,
from ./include/linux/pid.h:5,
from ./include/linux/sched.h:14,
from ./include/linux/blkdev.h:5,
from /var/lib/dkms/rts_bpp/1.1/build/src/rtsx_scsi.c:23:
In function ‘memcpy’,
inlined from ‘inquiry’ at /var/lib/dkms/rts_bpp/1.1/build/src/rtsx_scsi.c:367:3,
inlined from ‘rtsx_scsi_handler’ at /var/lib/dkms/rts_bpp/1.1/build/src/rtsx_scsi.c:2387:13:
./include/linux/string.h:348:4: error: call to ‘__read_overflow2’ declared with attribute error: detected read beyond size of object passed as 2nd parameter
__read_overflow2();
^~~~~~~~~~~~~~~~~~
make[1]: *** [scripts/Makefile.build:296: /var/lib/dkms/rts_bpp/1.1/build/src/rtsx_scsi.o] Fehler 1
make: *** [Makefile:1750: rts_bpp.ko] Fehler 2
make: Verzeichnis „/usr/src/linux-headers-4.20.16-towo.1-siduction-amd64“ wird verlassen
-
Fehler: Datei >>/boot/vmlinuz/-4.20.16-towo.1-siduction-amd64<< nicht gefunden
Wenn das wirklich genau so da steht, dann wundert mich gar nichts.
Und warum extlinux?
-
Er hat wohl Deinen brandaktuellen Wiki-Artikelabschnitt (https://wiki.siduction.de/index.php?title=Installieren_und_Einrichten_von_extlinux#L.C3.B6sung) gelesen. Warum, weiß ich aber nicht. ;-)
-
Den Ordner vmlinuz gibt es ja auch nicht weil virtuell, oder?
Wie bekomme ich das korrigiert?
Extlinux: Da habe ich mich vertan, ist natürlich Blödsinn.
-
ls -al /boot/
-
root@siductionbox:/home/deka# ls -al /boot/
insgesamt 72180
drwxr-xr-x 4 root root 4096 Mär 16 10:56 .
drwxr-xr-x 25 root root 4096 Mär 14 18:11 ..
-rw-r--r-- 1 root root 180002 Feb 27 18:15 config-4.20.13-towo.1-siduction-amd64
-rw-r--r-- 1 root root 180002 Mär 13 22:56 config-4.20.16-towo.1-siduction-amd64
drwxr-xr-x 2 root root 4096 Mär 16 10:56 extlinux
drwxr-xr-x 6 root root 4096 Mär 16 11:21 grub
-rw-r--r-- 1 root root 29283764 Mär 12 20:24 initrd.img-4.20.13-towo.1-siduction-amd64
-rw-r--r-- 1 root root 29285177 Mär 16 10:56 initrd.img-4.20.16-towo.1-siduction-amd64
-rw-r--r-- 1 root root 182704 Jun 25 2015 memtest86+.bin
-rw-r--r-- 1 root root 184840 Jun 25 2015 memtest86+_multiboot.bin
-rw-r--r-- 1 root root 2777686 Feb 27 18:15 System.map-4.20.13-towo.1-siduction-amd64
-rw-r--r-- 1 root root 2778262 Mär 13 22:56 System.map-4.20.16-towo.1-siduction-amd64
-rw-r--r-- 1 root root 4506496 Feb 27 18:15 vmlinuz-4.20.13-towo.1-siduction-amd64
-rw-r--r-- 1 root root 4510592 Mär 13 22:56 vmlinuz-4.20.16-towo.1-siduction-amd64
-
Fehler: Datei >>/boot/vmlinuz/-4.20.16-towo.1-siduction-amd64<< nicht gefunden
Nochmal, steht das wirklich so da?
-
Ja wirklich.
Könnte auch ein Foto von der Meldung machen, ist hier nicht so gewünscht.
-
1. Wenn das da so steht, sieht mir das nicht nach Grub aus.
2. /boot/vmlinuz/-4.20.16-towo.1-siduction-amd64 ist totaler Mumpiz, das muss
/boot/vmlinuz-4.20.16-towo.1-siduction-amd64
heissen, wo auch immer das steht. Bei Grub wäre es /boot/grub/grub.cfg.
-
Entschuldige du hast natürlich recht es heißt /boot/vmlinuz-4.20.16-towo.1-siduction-amd64
Ich sollte meine Brille putzen.
-
Ein update-grub ergibt:
root@siductionbox:#update-grub
GRUB-Konfigurationsdatei wird erstellt …
Thema gefunden: /boot/grub/themes/Grau/theme.txt
Linux-Abbild gefunden: /boot/vmlinuz-4.20.16-towo.1-siduction-amd64
initrd-Abbild gefunden: /boot/initrd.img-4.20.16-towo.1-siduction-amd64
Linux-Abbild gefunden: /boot/vmlinuz-4.20.13-towo.1-siduction-amd64
initrd-Abbild gefunden: /boot/initrd.img-4.20.13-towo.1-siduction-amd64
Debian GNU/Linux buster/sid auf /dev/sda2 gefunden
Debian GNU/Linux buster/sid auf /dev/sdc1 gefunden
Found memtest86+ image: /boot/memtest86+.bin
Found memtest86+ multiboot image: /boot/memtest86+_multiboot.bin
Debian GNU/Linux buster/sid auf /dev/sda2 gefunden
Debian GNU/Linux buster/sid auf /dev/sdc1 gefunden
erledigt
-
Beim full-upgrade heute morgen gab es eine neue Grub2 Version:
root@siductionbox:/home/deka# dpkg --list | grep grub
ii grub-common 2.02+dfsg1-13 amd64 GRand Unified Bootloader (common files)
ii grub-efi-amd64-bin 2.02+dfsg1-13 amd64 GRand Unified Bootloader, version 2 (EFI-AMD64 modules)
ii grub-efi-amd64-signed 1+2.02+dfsg1+13 amd64 GRand Unified Bootloader, version 2 (amd64 UEFI signed by Debian)
ii grub-pc 2.02+dfsg1-13 amd64 GRand Unified Bootloader, version 2 (PC/BIOS version)
ii grub-pc-bin 2.02+dfsg1-13 amd64 GRand Unified Bootloader, version 2 (PC/BIOS modules)
ii grub2-common 2.02+dfsg1-13 amd64 GRand Unified Bootloader (common files for version 2)
Nach dem full-upgrade habe ich den Kernel 4.20.16 reinstalliert und ein update-grub gemache. Beim Neustart kann ich jetzt in den Kernel 4.20.16 booten:
root@siductionbox:/home/deka# uname -r
4.20.16-towo.1-siduction-amd64
root@siductionbox:/home/deka# uname -a
Linux siductionbox 4.20.16-towo.1-siduction-amd64 #1 SMP PREEMPT siduction 4.20-28 (2019-03-13) x86_64 GNU/Linux
root@siductionbox:/home/deka# inxi -a
CPU: Quad Core Intel Core i7-3632QM (-MT MCP-)
speed/min/max: 1197/1200/3200 MHz
Kernel: 4.20.16-towo.1-siduction-amd64 x86_64 Up: 17m
Mem: 1343.0/7856.6 MiB (17.1%) Storage: 1.03 TiB (51.3% used) Procs: 238
Shell: bash 5.0.2 inxi: 3.0.32
Und hier mein System:
root@siductionbox:/home/deka# inxi -c0SGx
System:
Host: siductionbox Kernel: 4.20.16-towo.1-siduction-amd64 x86_64 bits: 64
compiler: gcc v: 8.3.0 Desktop: Xfce 4.12.4
Distro: siduction 13.1.0 Firestarter - xfce - (201305202241)
base: Debian GNU/Linux buster/sid
Graphics:
Device-1: Intel 3rd Gen Core processor Graphics vendor: CLEVO/KAPOK
driver: i915 v: kernel bus ID: 00:02.0
Display: x11 server: X.Org 1.20.4 driver: intel resolution: 1920x1080~60Hz
OpenGL: renderer: Mesa DRI Intel Ivybridge Mobile v: 4.2 Mesa 18.3.4
direct render: Yes
Sollte beim nächsten Kernel-Update die Installation auch wieder funktionieren.
Hier noch die jetzige make.log file:(var/lib/dkms/rts_bpp/1.1/build/make.log)
DKMS make.log for rts_bpp-1.1 for kernel 4.20.16-towo.1-siduction-amd64 (x86_64)
So 17. Mär 10:08:52 CET 2019
make: Verzeichnis „/usr/src/linux-headers-4.20.16-towo.1-siduction-amd64“ wird betreten
CC [M] /var/lib/dkms/rts_bpp/1.1/build/src/rtsx.o
CC [M] /var/lib/dkms/rts_bpp/1.1/build/src/rtsx_chip.o
CC [M] /var/lib/dkms/rts_bpp/1.1/build/src/rtsx_transport.o
CC [M] /var/lib/dkms/rts_bpp/1.1/build/src/rtsx_scsi.o
CC [M] /var/lib/dkms/rts_bpp/1.1/build/src/rtsx_card.o
CC [M] /var/lib/dkms/rts_bpp/1.1/build/src/general.o
CC [M] /var/lib/dkms/rts_bpp/1.1/build/src/sd.o
CC [M] /var/lib/dkms/rts_bpp/1.1/build/src/xd.o
In file included from /var/lib/dkms/rts_bpp/1.1/build/src/rtsx_transport.h:28,
from /var/lib/dkms/rts_bpp/1.1/build/src/rtsx_chip.c:29:
/var/lib/dkms/rts_bpp/1.1/build/src/rtsx_chip.h:330: warning: "SG_END" redefined
#define SG_END 0x02
In file included from ./include/linux/blkdev.h:28,
from /var/lib/dkms/rts_bpp/1.1/build/src/rtsx_chip.c:23:
./include/linux/scatterlist.h:65: note: this is the location of the previous definition
#define SG_END 0x02UL
In file included from /var/lib/dkms/rts_bpp/1.1/build/src/rtsx.c:29:
/var/lib/dkms/rts_bpp/1.1/build/src/rtsx_chip.h:330: warning: "SG_END" redefined
#define SG_END 0x02
In file included from ./include/linux/blkdev.h:28,
from /var/lib/dkms/rts_bpp/1.1/build/src/rtsx.c:23:
./include/linux/scatterlist.h:65: note: this is the location of the previous definition
#define SG_END 0x02UL
In file included from /var/lib/dkms/rts_bpp/1.1/build/src/rtsx_scsi.h:28,
from /var/lib/dkms/rts_bpp/1.1/build/src/rtsx_transport.c:28:
/var/lib/dkms/rts_bpp/1.1/build/src/rtsx_chip.h:330: warning: "SG_END" redefined
#define SG_END 0x02
In file included from ./include/linux/blkdev.h:28,
from /var/lib/dkms/rts_bpp/1.1/build/src/rtsx_transport.c:23:
./include/linux/scatterlist.h:65: note: this is the location of the previous definition
#define SG_END 0x02UL
In file included from /var/lib/dkms/rts_bpp/1.1/build/src/rtsx_transport.h:28,
from /var/lib/dkms/rts_bpp/1.1/build/src/rtsx_scsi.c:28:
/var/lib/dkms/rts_bpp/1.1/build/src/rtsx_chip.h:330: warning: "SG_END" redefined
#define SG_END 0x02
In file included from ./include/linux/blkdev.h:28,
from /var/lib/dkms/rts_bpp/1.1/build/src/rtsx_scsi.c:23:
./include/linux/scatterlist.h:65: note: this is the location of the previous definition
#define SG_END 0x02UL
In file included from /var/lib/dkms/rts_bpp/1.1/build/src/rtsx_transport.h:28,
from /var/lib/dkms/rts_bpp/1.1/build/src/rtsx_card.c:30:
/var/lib/dkms/rts_bpp/1.1/build/src/rtsx_chip.h:330: warning: "SG_END" redefined
#define SG_END 0x02
In file included from ./include/linux/blkdev.h:28,
from /var/lib/dkms/rts_bpp/1.1/build/src/rtsx_card.c:23:
./include/linux/scatterlist.h:65: note: this is the location of the previous definition
#define SG_END 0x02UL
In file included from /var/lib/dkms/rts_bpp/1.1/build/src/rtsx_transport.h:28,
from /var/lib/dkms/rts_bpp/1.1/build/src/sd.c:28:
/var/lib/dkms/rts_bpp/1.1/build/src/rtsx_chip.h:330: warning: "SG_END" redefined
#define SG_END 0x02
In file included from ./include/linux/blkdev.h:28,
from /var/lib/dkms/rts_bpp/1.1/build/src/sd.c:23:
./include/linux/scatterlist.h:65: note: this is the location of the previous definition
#define SG_END 0x02UL
/var/lib/dkms/rts_bpp/1.1/build/src/rtsx.c: In function ‘proc_info’:
/var/lib/dkms/rts_bpp/1.1/build/src/rtsx.c:141:41: error: macro "__TIME__" might prevent reproducible builds [-Werror=date-time]
SPRINTF(" Build: %s\n", __TIME__);
^
/var/lib/dkms/rts_bpp/1.1/build/src/rtsx.c: At top level:
/var/lib/dkms/rts_bpp/1.1/build/src/rtsx.c:259:3: error: ‘struct scsi_host_template’ has no member named ‘proc_info’; did you mean ‘show_info’?
.proc_info = proc_info,
^~~~~~~~~
show_info
/var/lib/dkms/rts_bpp/1.1/build/src/rtsx.c:259:17: error: initialization of ‘struct proc_dir_entry *’ from incompatible pointer type ‘int (*)(struct Scsi_Host *, char *, char **, off_t, int, int)’ {aka ‘int (*)(struct Scsi_Host *, char *, char **, long int, int, int)’} [-Werror=incompatible-pointer-types]
.proc_info = proc_info,
^~~~~~~~~
/var/lib/dkms/rts_bpp/1.1/build/src/rtsx.c:259:17: note: (near initialization for ‘rtsx_host_template.proc_dir’)
In file included from ./include/linux/printk.h:7,
from ./include/linux/kernel.h:14,
from ./arch/x86/include/asm/percpu.h:45,
from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/blkdev.h:5,
from /var/lib/dkms/rts_bpp/1.1/build/src/rtsx.c:23:
/var/lib/dkms/rts_bpp/1.1/build/src/rtsx.c: In function ‘rtsx_control_thread’:
./include/linux/kern_levels.h:5:18: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘u64’ {aka ‘long long unsigned int’} [-Wformat=]
#define KERN_SOH "\001" /* ASCII Start Of Header */
^~~~~~
./include/linux/kern_levels.h:11:18: note: in expansion of macro ‘KERN_SOH’
#define KERN_ERR KERN_SOH "3" /* error conditions */
^~~~~~~~
/var/lib/dkms/rts_bpp/1.1/build/src/rtsx.c:495:11: note: in expansion of macro ‘KERN_ERR’
printk(KERN_ERR "Bad target number (%d:%d)\n",
^~~~~~~~
/var/lib/dkms/rts_bpp/1.1/build/src/rtsx.c:495:44: note: format string is defined here
printk(KERN_ERR "Bad target number (%d:%d)\n",
~^
%lld
In file included from ./include/linux/printk.h:7,
from ./include/linux/kernel.h:14,
from ./arch/x86/include/asm/percpu.h:45,
from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/blkdev.h:5,
from /var/lib/dkms/rts_bpp/1.1/build/src/rtsx.c:23:
./include/linux/kern_levels.h:5:18: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘u64’ {aka ‘long long unsigned int’} [-Wformat=]
#define KERN_SOH "\001" /* ASCII Start Of Header */
^~~~~~
./include/linux/kern_levels.h:11:18: note: in expansion of macro ‘KERN_SOH’
#define KERN_ERR KERN_SOH "3" /* error conditions */
^~~~~~~~
/var/lib/dkms/rts_bpp/1.1/build/src/rtsx.c:501:11: note: in expansion of macro ‘KERN_ERR’
printk(KERN_ERR "Bad LUN (%d:%d)\n",
^~~~~~~~
/var/lib/dkms/rts_bpp/1.1/build/src/rtsx.c:501:34: note: format string is defined here
printk(KERN_ERR "Bad LUN (%d:%d)\n",
~^
%lld
In file included from /var/lib/dkms/rts_bpp/1.1/build/src/rtsx_transport.h:28,
from /var/lib/dkms/rts_bpp/1.1/build/src/xd.c:28:
/var/lib/dkms/rts_bpp/1.1/build/src/rtsx_chip.h:330: warning: "SG_END" redefined
#define SG_END 0x02
In file included from ./include/linux/blkdev.h:28,
from /var/lib/dkms/rts_bpp/1.1/build/src/xd.c:23:
./include/linux/scatterlist.h:65: note: this is the location of the previous definition
#define SG_END 0x02UL
/var/lib/dkms/rts_bpp/1.1/build/src/rtsx.c: At top level:
/var/lib/dkms/rts_bpp/1.1/build/src/rtsx.c:893:22: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘rtsx_probe’
static int __devinit rtsx_probe(struct pci_dev *pci, const struct pci_device_id *pci_id)
^~~~~~~~~~
/var/lib/dkms/rts_bpp/1.1/build/src/rtsx.c:900:35: error: macro "__TIME__" might prevent reproducible builds [-Werror=date-time]
printk(KERN_INFO "--- %s ---\n", __TIME__);
^~~~~~~~
/var/lib/dkms/rts_bpp/1.1/build/src/rtsx.c:1048:23: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘rtsx_remove’
static void __devexit rtsx_remove(struct pci_dev *pci)
^~~~~~~~~~~
/var/lib/dkms/rts_bpp/1.1/build/src/rtsx.c:1073:11: error: ‘rtsx_probe’ undeclared here (not in a function); did you mean ‘rtsx_writel’?
.probe = rtsx_probe,
^~~~~~~~~~
rtsx_writel
CC [M] /var/lib/dkms/rts_bpp/1.1/build/src/ms.o
/var/lib/dkms/rts_bpp/1.1/build/src/rtsx.c:1074:12: error: implicit declaration of function ‘__devexit_p’; did you mean ‘__memcat_p’? [-Werror=implicit-function-declaration]
.remove = __devexit_p(rtsx_remove),
^~~~~~~~~~~
__memcat_p
/var/lib/dkms/rts_bpp/1.1/build/src/rtsx.c:1074:24: error: ‘rtsx_remove’ undeclared here (not in a function); did you mean ‘rtsx_resume’?
.remove = __devexit_p(rtsx_remove),
^~~~~~~~~~~
rtsx_resume
/var/lib/dkms/rts_bpp/1.1/build/src/rtsx.c:786:13: warning: ‘rtsx_init_options’ defined but not used [-Wunused-function]
static void rtsx_init_options(struct rtsx_chip *chip)
^~~~~~~~~~~~~~~~~
/var/lib/dkms/rts_bpp/1.1/build/src/rtsx.c:761:12: warning: ‘rtsx_scan_thread’ defined but not used [-Wunused-function]
static int rtsx_scan_thread(void * __dev)
^~~~~~~~~~~~~~~~
/var/lib/dkms/rts_bpp/1.1/build/src/rtsx.c:751:13: warning: ‘release_everything’ defined but not used [-Wunused-function]
static void release_everything(struct rtsx_dev *dev)
^~~~~~~~~~~~~~~~~~
/var/lib/dkms/rts_bpp/1.1/build/src/rtsx.c:715:13: warning: ‘quiesce_and_remove_host’ defined but not used [-Wunused-function]
static void quiesce_and_remove_host(struct rtsx_dev *dev)
^~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/rts_bpp/1.1/build/src/rtsx.c:559:12: warning: ‘rtsx_polling_thread’ defined but not used [-Wunused-function]
static int rtsx_polling_thread(void * __dev)
^~~~~~~~~~~~~~~~~~~
/var/lib/dkms/rts_bpp/1.1/build/src/rtsx.c:450:12: warning: ‘rtsx_control_thread’ defined but not used [-Wunused-function]
static int rtsx_control_thread(void * __dev)
^~~~~~~~~~~~~~~~~~~
/var/lib/dkms/rts_bpp/1.1/build/src/rtsx.c:255:34: warning: ‘rtsx_host_template’ defined but not used [-Wunused-variable]
static struct scsi_host_template rtsx_host_template = {
^~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
make[1]: *** [scripts/Makefile.build:297: /var/lib/dkms/rts_bpp/1.1/build/src/rtsx.o] Fehler 1
make[1]: *** Es wird auf noch nicht beendete Prozesse gewartet....
/var/lib/dkms/rts_bpp/1.1/build/src/sd.c: In function ‘ext_sd_send_cmd_get_rsp’:
/var/lib/dkms/rts_bpp/1.1/build/src/sd.c:3665:25: warning: bitwise comparison always evaluates to true [-Wtautological-compare]
if ((ptr[3] & 0x1E) != 0x03) {
^~
In file included from /var/lib/dkms/rts_bpp/1.1/build/src/rtsx_transport.h:28,
from /var/lib/dkms/rts_bpp/1.1/build/src/ms.c:28:
/var/lib/dkms/rts_bpp/1.1/build/src/rtsx_chip.h:330: warning: "SG_END" redefined
#define SG_END 0x02
In file included from ./include/linux/blkdev.h:28,
from /var/lib/dkms/rts_bpp/1.1/build/src/ms.c:23:
./include/linux/scatterlist.h:65: note: this is the location of the previous definition
#define SG_END 0x02UL
In file included from ./include/linux/bitmap.h:9,
from ./include/linux/cpumask.h:12,
from ./arch/x86/include/asm/paravirt.h:17,
from ./arch/x86/include/asm/irqflags.h:68,
from ./include/linux/irqflags.h:16,
from ./include/linux/rcupdate.h:39,
from ./include/linux/rculist.h:11,
from ./include/linux/pid.h:5,
from ./include/linux/sched.h:14,
from ./include/linux/blkdev.h:5,
from /var/lib/dkms/rts_bpp/1.1/build/src/rtsx_scsi.c:23:
In function ‘memcpy’,
inlined from ‘inquiry’ at /var/lib/dkms/rts_bpp/1.1/build/src/rtsx_scsi.c:367:3,
inlined from ‘rtsx_scsi_handler’ at /var/lib/dkms/rts_bpp/1.1/build/src/rtsx_scsi.c:2387:13:
./include/linux/string.h:348:4: error: call to ‘__read_overflow2’ declared with attribute error: detected read beyond size of object passed as 2nd parameter
__read_overflow2();
^~~~~~~~~~~~~~~~~~
make[1]: *** [scripts/Makefile.build:296: /var/lib/dkms/rts_bpp/1.1/build/src/rtsx_scsi.o] Fehler 1
make: *** [Makefile:1750: rts_bpp.ko] Fehler 2
make: Verzeichnis „/usr/src/linux-headers-4.20.16-towo.1-siduction-amd64“ wird verlassen
-
Heute wurde der Kernel 4.20.17-towo.1 installiert, booten über den Kernel funktioniert auch.
Die Error-Meldung beim installieren des Kernels taucht trotzdem auf, hier die var/lib/dkms/rts_bpp/1.1/build/make.log:
DKMS make.log for rts_bpp-1.1 for kernel 4.20.17-towo.1-siduction-amd64 (x86_64)
Di 19. Mär 16:56:08 CET 2019
make: Verzeichnis „/usr/src/linux-headers-4.20.17-towo.1-siduction-amd64“ wird betreten
CC [M] /var/lib/dkms/rts_bpp/1.1/build/src/rtsx.o
CC [M] /var/lib/dkms/rts_bpp/1.1/build/src/rtsx_chip.o
CC [M] /var/lib/dkms/rts_bpp/1.1/build/src/rtsx_transport.o
CC [M] /var/lib/dkms/rts_bpp/1.1/build/src/rtsx_scsi.o
CC [M] /var/lib/dkms/rts_bpp/1.1/build/src/rtsx_card.o
CC [M] /var/lib/dkms/rts_bpp/1.1/build/src/general.o
CC [M] /var/lib/dkms/rts_bpp/1.1/build/src/sd.o
CC [M] /var/lib/dkms/rts_bpp/1.1/build/src/xd.o
In file included from /var/lib/dkms/rts_bpp/1.1/build/src/rtsx_transport.h:28,
from /var/lib/dkms/rts_bpp/1.1/build/src/rtsx_chip.c:29:
/var/lib/dkms/rts_bpp/1.1/build/src/rtsx_chip.h:330: warning: "SG_END" redefined
#define SG_END 0x02
In file included from ./include/linux/blkdev.h:28,
from /var/lib/dkms/rts_bpp/1.1/build/src/rtsx_chip.c:23:
./include/linux/scatterlist.h:65: note: this is the location of the previous definition
#define SG_END 0x02UL
In file included from /var/lib/dkms/rts_bpp/1.1/build/src/rtsx.c:29:
/var/lib/dkms/rts_bpp/1.1/build/src/rtsx_chip.h:330: warning: "SG_END" redefined
#define SG_END 0x02
In file included from /var/lib/dkms/rts_bpp/1.1/build/src/rtsx_scsi.h:28,
from /var/lib/dkms/rts_bpp/1.1/build/src/rtsx_transport.c:28:
/var/lib/dkms/rts_bpp/1.1/build/src/rtsx_chip.h:330: warning: "SG_END" redefined
#define SG_END 0x02
In file included from ./include/linux/blkdev.h:28,
from /var/lib/dkms/rts_bpp/1.1/build/src/rtsx_transport.c:23:
./include/linux/scatterlist.h:65: note: this is the location of the previous definition
#define SG_END 0x02UL
In file included from ./include/linux/blkdev.h:28,
from /var/lib/dkms/rts_bpp/1.1/build/src/rtsx.c:23:
./include/linux/scatterlist.h:65: note: this is the location of the previous definition
#define SG_END 0x02UL
In file included from /var/lib/dkms/rts_bpp/1.1/build/src/rtsx_transport.h:28,
from /var/lib/dkms/rts_bpp/1.1/build/src/rtsx_card.c:30:
/var/lib/dkms/rts_bpp/1.1/build/src/rtsx_chip.h:330: warning: "SG_END" redefined
#define SG_END 0x02
In file included from ./include/linux/blkdev.h:28,
from /var/lib/dkms/rts_bpp/1.1/build/src/rtsx_card.c:23:
./include/linux/scatterlist.h:65: note: this is the location of the previous definition
#define SG_END 0x02UL
In file included from /var/lib/dkms/rts_bpp/1.1/build/src/rtsx_transport.h:28,
from /var/lib/dkms/rts_bpp/1.1/build/src/rtsx_scsi.c:28:
/var/lib/dkms/rts_bpp/1.1/build/src/rtsx_chip.h:330: warning: "SG_END" redefined
#define SG_END 0x02
In file included from ./include/linux/blkdev.h:28,
from /var/lib/dkms/rts_bpp/1.1/build/src/rtsx_scsi.c:23:
./include/linux/scatterlist.h:65: note: this is the location of the previous definition
#define SG_END 0x02UL
In file included from /var/lib/dkms/rts_bpp/1.1/build/src/rtsx_transport.h:28,
from /var/lib/dkms/rts_bpp/1.1/build/src/sd.c:28:
/var/lib/dkms/rts_bpp/1.1/build/src/rtsx_chip.h:330: warning: "SG_END" redefined
#define SG_END 0x02
In file included from ./include/linux/blkdev.h:28,
from /var/lib/dkms/rts_bpp/1.1/build/src/sd.c:23:
./include/linux/scatterlist.h:65: note: this is the location of the previous definition
#define SG_END 0x02UL
/var/lib/dkms/rts_bpp/1.1/build/src/rtsx.c: In function ‘proc_info’:
/var/lib/dkms/rts_bpp/1.1/build/src/rtsx.c:141:41: error: macro "__TIME__" might prevent reproducible builds [-Werror=date-time]
SPRINTF(" Build: %s\n", __TIME__);
^
/var/lib/dkms/rts_bpp/1.1/build/src/rtsx.c: At top level:
/var/lib/dkms/rts_bpp/1.1/build/src/rtsx.c:259:3: error: ‘struct scsi_host_template’ has no member named ‘proc_info’; did you mean ‘show_info’?
.proc_info = proc_info,
^~~~~~~~~
show_info
/var/lib/dkms/rts_bpp/1.1/build/src/rtsx.c:259:17: error: initialization of ‘struct proc_dir_entry *’ from incompatible pointer type ‘int (*)(struct Scsi_Host *, char *, char **, off_t, int, int)’ {aka ‘int (*)(struct Scsi_Host *, char *, char **, long int, int, int)’} [-Werror=incompatible-pointer-types]
.proc_info = proc_info,
^~~~~~~~~
/var/lib/dkms/rts_bpp/1.1/build/src/rtsx.c:259:17: note: (near initialization for ‘rtsx_host_template.proc_dir’)
In file included from ./include/linux/printk.h:7,
from ./include/linux/kernel.h:14,
from ./arch/x86/include/asm/percpu.h:45,
from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/blkdev.h:5,
from /var/lib/dkms/rts_bpp/1.1/build/src/rtsx.c:23:
/var/lib/dkms/rts_bpp/1.1/build/src/rtsx.c: In function ‘rtsx_control_thread’:
./include/linux/kern_levels.h:5:18: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘u64’ {aka ‘long long unsigned int’} [-Wformat=]
#define KERN_SOH "\001" /* ASCII Start Of Header */
^~~~~~
./include/linux/kern_levels.h:11:18: note: in expansion of macro ‘KERN_SOH’
#define KERN_ERR KERN_SOH "3" /* error conditions */
^~~~~~~~
/var/lib/dkms/rts_bpp/1.1/build/src/rtsx.c:495:11: note: in expansion of macro ‘KERN_ERR’
printk(KERN_ERR "Bad target number (%d:%d)\n",
^~~~~~~~
/var/lib/dkms/rts_bpp/1.1/build/src/rtsx.c:495:44: note: format string is defined here
printk(KERN_ERR "Bad target number (%d:%d)\n",
~^
%lld
In file included from ./include/linux/printk.h:7,
from ./include/linux/kernel.h:14,
from ./arch/x86/include/asm/percpu.h:45,
from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/blkdev.h:5,
from /var/lib/dkms/rts_bpp/1.1/build/src/rtsx.c:23:
./include/linux/kern_levels.h:5:18: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘u64’ {aka ‘long long unsigned int’} [-Wformat=]
#define KERN_SOH "\001" /* ASCII Start Of Header */
^~~~~~
./include/linux/kern_levels.h:11:18: note: in expansion of macro ‘KERN_SOH’
#define KERN_ERR KERN_SOH "3" /* error conditions */
^~~~~~~~
/var/lib/dkms/rts_bpp/1.1/build/src/rtsx.c:501:11: note: in expansion of macro ‘KERN_ERR’
printk(KERN_ERR "Bad LUN (%d:%d)\n",
^~~~~~~~
/var/lib/dkms/rts_bpp/1.1/build/src/rtsx.c:501:34: note: format string is defined here
printk(KERN_ERR "Bad LUN (%d:%d)\n",
~^
%lld
In file included from /var/lib/dkms/rts_bpp/1.1/build/src/rtsx_transport.h:28,
from /var/lib/dkms/rts_bpp/1.1/build/src/xd.c:28:
/var/lib/dkms/rts_bpp/1.1/build/src/rtsx_chip.h:330: warning: "SG_END" redefined
#define SG_END 0x02
In file included from ./include/linux/blkdev.h:28,
from /var/lib/dkms/rts_bpp/1.1/build/src/xd.c:23:
./include/linux/scatterlist.h:65: note: this is the location of the previous definition
#define SG_END 0x02UL
/var/lib/dkms/rts_bpp/1.1/build/src/rtsx.c: At top level:
/var/lib/dkms/rts_bpp/1.1/build/src/rtsx.c:893:22: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘rtsx_probe’
static int __devinit rtsx_probe(struct pci_dev *pci, const struct pci_device_id *pci_id)
^~~~~~~~~~
/var/lib/dkms/rts_bpp/1.1/build/src/rtsx.c:900:35: error: macro "__TIME__" might prevent reproducible builds [-Werror=date-time]
printk(KERN_INFO "--- %s ---\n", __TIME__);
^~~~~~~~
/var/lib/dkms/rts_bpp/1.1/build/src/rtsx.c:1048:23: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘rtsx_remove’
static void __devexit rtsx_remove(struct pci_dev *pci)
^~~~~~~~~~~
/var/lib/dkms/rts_bpp/1.1/build/src/rtsx.c:1073:11: error: ‘rtsx_probe’ undeclared here (not in a function); did you mean ‘rtsx_writel’?
.probe = rtsx_probe,
^~~~~~~~~~
rtsx_writel
/var/lib/dkms/rts_bpp/1.1/build/src/rtsx.c:1074:12: error: implicit declaration of function ‘__devexit_p’; did you mean ‘__memcat_p’? [-Werror=implicit-function-declaration]
.remove = __devexit_p(rtsx_remove),
^~~~~~~~~~~
__memcat_p
CC [M] /var/lib/dkms/rts_bpp/1.1/build/src/ms.o
/var/lib/dkms/rts_bpp/1.1/build/src/rtsx.c:1074:24: error: ‘rtsx_remove’ undeclared here (not in a function); did you mean ‘rtsx_resume’?
.remove = __devexit_p(rtsx_remove),
^~~~~~~~~~~
rtsx_resume
/var/lib/dkms/rts_bpp/1.1/build/src/rtsx.c:786:13: warning: ‘rtsx_init_options’ defined but not used [-Wunused-function]
static void rtsx_init_options(struct rtsx_chip *chip)
^~~~~~~~~~~~~~~~~
/var/lib/dkms/rts_bpp/1.1/build/src/rtsx.c:761:12: warning: ‘rtsx_scan_thread’ defined but not used [-Wunused-function]
static int rtsx_scan_thread(void * __dev)
^~~~~~~~~~~~~~~~
/var/lib/dkms/rts_bpp/1.1/build/src/rtsx.c:751:13: warning: ‘release_everything’ defined but not used [-Wunused-function]
static void release_everything(struct rtsx_dev *dev)
^~~~~~~~~~~~~~~~~~
/var/lib/dkms/rts_bpp/1.1/build/src/rtsx.c:715:13: warning: ‘quiesce_and_remove_host’ defined but not used [-Wunused-function]
static void quiesce_and_remove_host(struct rtsx_dev *dev)
^~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/rts_bpp/1.1/build/src/rtsx.c:559:12: warning: ‘rtsx_polling_thread’ defined but not used [-Wunused-function]
static int rtsx_polling_thread(void * __dev)
^~~~~~~~~~~~~~~~~~~
/var/lib/dkms/rts_bpp/1.1/build/src/rtsx.c:450:12: warning: ‘rtsx_control_thread’ defined but not used [-Wunused-function]
static int rtsx_control_thread(void * __dev)
^~~~~~~~~~~~~~~~~~~
/var/lib/dkms/rts_bpp/1.1/build/src/rtsx.c:255:34: warning: ‘rtsx_host_template’ defined but not used [-Wunused-variable]
static struct scsi_host_template rtsx_host_template = {
^~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
make[1]: *** [scripts/Makefile.build:297: /var/lib/dkms/rts_bpp/1.1/build/src/rtsx.o] Fehler 1
make[1]: *** Es wird auf noch nicht beendete Prozesse gewartet....
/var/lib/dkms/rts_bpp/1.1/build/src/sd.c: In function ‘ext_sd_send_cmd_get_rsp’:
/var/lib/dkms/rts_bpp/1.1/build/src/sd.c:3665:25: warning: bitwise comparison always evaluates to true [-Wtautological-compare]
if ((ptr[3] & 0x1E) != 0x03) {
^~
In file included from /var/lib/dkms/rts_bpp/1.1/build/src/rtsx_transport.h:28,
from /var/lib/dkms/rts_bpp/1.1/build/src/ms.c:28:
/var/lib/dkms/rts_bpp/1.1/build/src/rtsx_chip.h:330: warning: "SG_END" redefined
#define SG_END 0x02
In file included from ./include/linux/blkdev.h:28,
from /var/lib/dkms/rts_bpp/1.1/build/src/ms.c:23:
./include/linux/scatterlist.h:65: note: this is the location of the previous definition
#define SG_END 0x02UL
In file included from ./include/linux/bitmap.h:9,
from ./include/linux/cpumask.h:12,
from ./arch/x86/include/asm/paravirt.h:17,
from ./arch/x86/include/asm/irqflags.h:68,
from ./include/linux/irqflags.h:16,
from ./include/linux/rcupdate.h:39,
from ./include/linux/rculist.h:11,
from ./include/linux/pid.h:5,
from ./include/linux/sched.h:14,
from ./include/linux/blkdev.h:5,
from /var/lib/dkms/rts_bpp/1.1/build/src/rtsx_scsi.c:23:
In function ‘memcpy’,
inlined from ‘inquiry’ at /var/lib/dkms/rts_bpp/1.1/build/src/rtsx_scsi.c:367:3,
inlined from ‘rtsx_scsi_handler’ at /var/lib/dkms/rts_bpp/1.1/build/src/rtsx_scsi.c:2387:13:
./include/linux/string.h:348:4: error: call to ‘__read_overflow2’ declared with attribute error: detected read beyond size of object passed as 2nd parameter
__read_overflow2();
^~~~~~~~~~~~~~~~~~
make[1]: *** [scripts/Makefile.build:296: /var/lib/dkms/rts_bpp/1.1/build/src/rtsx_scsi.o] Fehler 1
make: *** [Makefile:1750: rts_bpp.ko] Fehler 2
make: Verzeichnis „/usr/src/linux-headers-4.20.17-towo.1-siduction-amd64“ wird verlassen
@towo könntest du bitte nachschauen, wieso beim installieren des Kernels zwei Fehler angezeigt werden der Kernel aber trotzdem geladen werden kann?
-
Wo werden denn 2 Fehler angezeigt?
Und für deinen rts_bpp Fehler kann ich nichts, das ist ein 3rd party dkms modul, welches Du selbst installiert hast.
-
Das die Fehler von irgendeinem Modul verursacht werden, Fehler 1 + Fehler 2.
Ich weiß leider nicht welches Modul da mal installiert wurde das diesen Fehler auslöst. Ich würde es deinstallieren wenn ich wüsste welches es wäre.
Und Danke für die Antwort.
-
scheint zu nem cardreader zu gehören
Linux driver for Realtek PCI-Express card reader chip.
Linux already has rtsx_pci driver which theoretically should work with
rtl8411 chip. But in fact it can only detect the chip and nothing more.
rts_bpp works fine with rtl8411 card reader and probably some others.
https://github.com/Ri0n/rts_bpp
-
Hallo Jürgen,
das wird es wohl sein.
Installiert hierzu habe ich nichts, könnte sein das der Kernel den verbauten Card-Reader des Notebooks von Tuxedo nicht erkennt.
Danke dir für den Tipp.
-
Installiert hierzu habe ich nichts
Soso. Auch nichts von Tuxedo?
-
Nee, ist nur Siduction installiert.
Tuxedo mit Linux Mint war Mal installiert und das auf einer anderen Platte, dort ist jetzt Debian stable (sda) drauf.
-
Also siduction installiert mit Sicherheit keine dkms-source und schonmal gar nicht, wenn Selbige in keinem Repo ist.
Und die 2 ominösen Fehler, hab ich bis jetzt auch noch nicht gesehen.
-
Danke für die Rückmeldung, ich weiß leider nicht mehr welche Software das mitgebracht hat.
Da du die Fehler nicht kennst ignoriere ich diese und forsche nach was dieses Zeug installiert hat.
Neuinstallation ist wohl das beste.
-
Da du die Fehler nicht kennst ignoriere ich diese und forsche nach was dieses Zeug installiert hat.
Willst Du mich veralbern? Du resest immer von 2 Fehlern, schreibst aber nicht welche Fehler.
-
DeKa, Du selbst weißt nicht, was Du wie irgendwann ins System gebracht hast (aber sowas wie ein optisch modifiziertes Bootmenu scheint wichtig zu sein). Das liest sich für mich nicht wie sauberes Arbeiten. Dazu machst Du's Dir unnötig schwer mit einem weshalb auch immer Dualboot zweier sehr ähnlicher Systeme.
Neuinstallation? Keine schlechte Idee in diesem Fall, aber sauber ein OS statt Dualboot (Frag für ein aktuelles Image towo/agaida/piper im IRC!). Für eventuell weitere nimm VBox (auch wenn die GA in letzterhältlicher Version von gestern 6.0.5-129380 auch noch nicht unter Kernel 5.0.3 verwendbar sind - was immer die da so lange zum Anpassen brauchen)!
-
Hallo @towo,
ich meinte nur diese Ausgabe von make.log:
make[1]: *** [scripts/Makefile.build:296: /var/lib/dkms/rts_bpp/1.1/build/src/rtsx_scsi.o] Fehler 1
make: *** [Makefile:1750: rts_bpp.ko] Fehler 2
make: Verzeichnis „/usr/src/linux-headers-4.20.17-towo.1-siduction-amd64“ wird verlassen
Ich möchte dich in keiner Form veralbern.
Wenn ich mich dir gegenüber nicht korrekt ausgedrückt, dich genervt habe ist das nicht mit Vorsatz geschehen und es tut mir sehr leid wenn ich dich angegriffen habe.
-
Wenn Dein System funktioniert, dann solltest Du einfach diesen Unsinn deinstallieren.
Anderenfalls, brauchst Du eine neuere Version dieser dkms-source, die auch mit kernel 4.20 bzw. in ein paar Tagen mit kernel 5.0 funktioniert.
Nochmal, das ist kein Paket, welches durch siduction installiert wurde, ich finde selbiges nämlich nicht in irgendeinem Debian Repo.
-
Ich habe auch einen Laptop von Tuxedo mit diesem Kartenleser
04:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTL8411B PCI Express Card Reader (rev 01)
Der benutzt den Treiber rtsx_pci der den rts_bpp ersetzt hat
https://wiki.debian.org/Realtek%20Barossa%20plus (https://wiki.debian.org/Realtek%20Barossa%20plus)
Allerdings hat der Leser immer wieder Probleme mit SD-Karten und den entsprechenden Spannungen. Daher verwende ich einen USB-Kartenleser.
-
root@siductionbox:# apt-cache policy dkms
dkms:
Installiert: 2.6.1-4
Installationskandidat: 2.6.1-4
Versionstabelle:
*** 2.6.1-4 500
500 http://ftp.uni-stuttgart.de/debian unstable/main amd64 Packages
100 /var/lib/dpkg/status
Dann kann das deinstalliert werden, oder?
Ist weg!
root@siductionbox:# apt remove dkms
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen.... Fertig
Die folgenden Pakete werden ENTFERNT:
dkms rts-bpp-dkms
0 aktualisiert, 0 neu installiert, 2 zu entfernen und 0 nicht aktualisiert.
Nach dieser Operation werden 1.096 kB Plattenplatz freigegeben.
Möchten Sie fortfahren? [J/n] j
(Lese Datenbank ... 299278 Dateien und Verzeichnisse sind derzeit installiert.)
Entfernen von rts-bpp-dkms (1.1) ...
-------- Uninstall Beginning --------
Module: rts_bpp
Version: 1.1
Kernel: 3.0.0-17-generic (x86_64)
-------------------------------------
Status: This module version was INACTIVE for this kernel.
depmod...(bad exit status: 1)
DKMS: uninstall completed.
------------------------------
Deleting module version: 1.1
completely from the DKMS tree.
------------------------------
Done.
Entfernen von dkms (2.6.1-4) ...
Trigger für siduction-dynamic-dms (2016.01.31) werden verarbeitet ...
Trigger für man-db (2.8.5-2) werden verarbeitet ...
-
root@siductionbox:# apt remove dkms
Herrlich! Davon hat kein Mensch geredet.
DKMS (https://de.wikipedia.org/wiki/Dynamic_Kernel_Module_Support)
-
Kernel 5.0.4 ist einwandfrei installiert worden, keine Error-Meldungen mehr.
deka@siductionbox:~$ inxi -F
System:
Host: siductionbox Kernel: 5.0.4-towo.1-siduction-amd64 x86_64 bits: 64
Desktop: Xfce 4.12.4
Distro: siduction 13.1.0 Firestarter - xfce - (201305202241)
[/size]Nachdem beim letzten mal dieses Modul mit deinstalliert wurde habe ich dkms natürlich wieder installiert.[size=78%]