and running the rpmbuild --rebuild rts5229-1.07-4.11.src.rpm command gives me error:
**Installazione di rts5229-1.07-4.11.src.rpm in corso
avvertimento: rts5229-1.07-4.11.src.rpm: Header V3 DSA/SHA1 Signature, ID chiave c86537de: NOKEY
errore: linea 28: I token delle dipendenze devono iniziare per alfanumerico, '_' o '/': BuildRequires: %kernel_module_package_buildreqs**
Yes, you cannot use Apper to compile or install a src rpm. You cannot really “install” a src rpm anyway.
and running the rpmbuild --rebuild rts5229-1.07-4.11.src.rpm command gives me error:
**Installazione di rts5229-1.07-4.11.src.rpm in corso
avvertimento: rts5229-1.07-4.11.src.rpm: Header V3 DSA/SHA1 Signature, ID chiave c86537de: NOKEY
errore: linea 28: I token delle dipendenze devono iniziare per alfanumerico, '_' o '/': BuildRequires: %kernel_module_package_buildreqs**
Please post the output in english. Not everybody here speaks Italian.
Apparently it is a problem with the %kernel_module_package_buildreqs macro though.
Do you have the appropriate kernel-syms for your kernel installed?
From the package’s description:
This package is needed for compiling kernel module packages with proper
package dependencies.
Try to unpack and compile the source directly, you should find it in ~/rpmbuild/SOURCES/.
Installing rts5229-1:07-4.11.src.rpm in progress
Warning: rts5229-1:07-4.11.src.rpm: Header V3 DSA/SHA1 Signature, key ID c86537de: NOKEY
error: line 28: Dependency tokens must begin with alpha-numeric, '_' or '/': BuildRequires:% kernel_module_package_buildreqs
I tried to compile with make, but
make
cp -f ./define.release ./define.h
cp: can not stat of ". / define.release": File or directory does not exist
make: *** [default] Error 1
Installing rts5229-1:07-4.11.src.rpm in progress
Warning: rts5229-1:07-4.11.src.rpm: Header V3 DSA/SHA1 Signature, key ID c86537de: NOKEY
error: line 28: Dependency tokens must begin with alpha-numeric, '_' or '/': BuildRequires:% kernel_module_package_buildreqs
Apparently there is an offending space between the ‘%’ and the rest. Try to remove that in the spec file.
Or is that just a typo in your post? I don’t see that space in the package on OBS.
I tried to compile with make, but
make
cp -f ./define.release ./define.h
cp: can not stat of “. / define.release”: File or directory does not exist
make: *** [default] Error 1
Apparently the file define.release is missing in the archive. But define.debug is there, so try “make debug” instead of just “make”.
But AFAICS that pakage does not build for Factory (kernel 4.14) anyway. No idea about the kernel from 13.1 (3.11), it builds for 12.3 though.
You would need to patch it I suppose, but I don’t know how.
cp -f ./define.debug ./define.h
make -C /lib/modules/3.14.4-2.gbebeb6f-default/build/ SUBDIRS= modules
make[1]: Entering directory /lib/modules/3.14.4-2.gbebeb6f-default/build' make [1]: *** No rule to generate the target "modules". Stop. make[1]: Leaving directory /lib/modules/3.14.4-2.gbebeb6f-default/build’
make: *** [debug] Errore 2
You don’t seem to have the necessary kernel development packages installed.
Please install kernel-syms matching to you kernel as I already wrote. You might need kernel-source as well.
And try to run “make prepare” or “make modules” inside the kernel source directory (/usr/src/linux)
Error in Yast2:
Subprocess failed. Error: RPM failed: error: unpacking of archive failed on file /lib/modules/3.14.4-2.gbebeb6f-default/build: cpio: rename failed - Is a directory
:O
But my SD card reader does not read anything...
But that module is installed and should support your reader.
What is the output of:
"/sbin/lspci -nnk | grep -A3 5289"
What happens when you manually try to load the driver:
sudo /sbin/modprobe -v rtsx_pci
Please post the output of “dmesg|tail” afterwards.
How can I reinstall this rtsx_pci.ko driver?
By re-installing the kernel package. But this should not be necessary as the driver is actually installed.
or How can downgrade the kernel?
Select “Versions” in YaST to specifically install/remove certain package versions.
But probably you still have it installed anyway. You can boot it in “Advanced Options” in the boot menu.
Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. Device [10ec:5289] (rev 01)
Subsystem: ASUSTeK Computer Inc. Device [1043:202f]
Kernel driver in use: rtsx_pci
Kernel modules: rtsx_pci
Nothing
My output:
[36537.737056] SFW2-INext-DROP-DEFLT IN=wlp3s0 OUT= MAC= SRC=fe80:0000:0000:0000:6e71:d9ff:fea7:ea85 DST=ff02:0000:0000:0000:0000:0000:0000:00fb LEN=84 TC=0 HOPLIMIT=255 FLOWLBL=0 PROTO=UDP SPT=5353 DPT=5353 LEN=44
[37969.250312] nouveau E PFIFO][0000:01:00.0] write fault at 0x0000000000 [INVALID_STORAGE_TYPE] from BAR3/BAR_WRITE on channel 0x003fe38000 [unknown]
[37969.250427] nouveau E PFIFO][0000:01:00.0] write fault at 0x0000001000 [INVALID_STORAGE_TYPE] from BAR3/BAR_WRITE on channel 0x003fe38000 [unknown]
[37969.250756] nouveau E PFIFO][0000:01:00.0] write fault at 0x0000104000 [INVALID_STORAGE_TYPE] from BAR3/BAR_WRITE on channel 0x003fe38000 [unknown]
[37969.250778] nouveau E PFIFO][0000:01:00.0] write fault at 0x0000080000 [INVALID_STORAGE_TYPE] from BAR1/BAR_WRITE on channel 0x003fe1f000 [unknown]
[37969.250801] nouveau E PFIFO][0000:01:00.0] write fault at 0x0000000000 [INVALID_STORAGE_TYPE] from BAR3/BAR_WRITE on channel 0x003fe38000 [unknown]
[37974.729063] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20131218/nsarguments-95)
[37974.729539] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20131218/nsarguments-95)
[37974.729964] nouveau E PFIFO][0000:01:00.0] write fault at 0x0000000000 [INVALID_STORAGE_TYPE] from BAR1/BAR_WRITE on channel 0x003fe1f000 [unknown]
[37974.730041] nouveau ! PFIFO][0000:01:00.0] unhandled status 0x08000000
Yes, because it is already loaded.
No idea why it doesn’t work then.
Have you tried a 3.11 kernel as well?
My output:
[36537.737056] SFW2-INext-DROP-DEFLT IN=wlp3s0 OUT= MAC= SRC=fe80:0000:0000:0000:6e71:d9ff:fea7:ea85 DST=ff02:0000:0000:0000:0000:0000:0000:00fb LEN=84 TC=0 HOPLIMIT=255 FLOWLBL=0 PROTO=UDP SPT=5353 DPT=5353 LEN=44
[37969.250312] nouveau E PFIFO][0000:01:00.0] write fault at 0x0000000000 [INVALID_STORAGE_TYPE] from BAR3/BAR_WRITE on channel 0x003fe38000 [unknown]
[37969.250427] nouveau E PFIFO][0000:01:00.0] write fault at 0x0000001000 [INVALID_STORAGE_TYPE] from BAR3/BAR_WRITE on channel 0x003fe38000 [unknown]
[37969.250756] nouveau E PFIFO][0000:01:00.0] write fault at 0x0000104000 [INVALID_STORAGE_TYPE] from BAR3/BAR_WRITE on channel 0x003fe38000 [unknown]
[37969.250778] nouveau E PFIFO][0000:01:00.0] write fault at 0x0000080000 [INVALID_STORAGE_TYPE] from BAR1/BAR_WRITE on channel 0x003fe1f000 [unknown]
[37969.250801] nouveau E PFIFO][0000:01:00.0] write fault at 0x0000000000 [INVALID_STORAGE_TYPE] from BAR3/BAR_WRITE on channel 0x003fe38000 [unknown]
[37974.729063] ACPI Warning: _SB_.PCI0.PEG0.PEGP.DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20131218/nsarguments-95)
[37974.729539] ACPI Warning: _SB.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20131218/nsarguments-95)
[37974.729964] nouveau E PFIFO][0000:01:00.0] write fault at 0x0000000000 [INVALID_STORAGE_TYPE] from BAR1/BAR_WRITE on channel 0x003fe1f000 [unknown]
[37974.730041] nouveau ! PFIFO][0000:01:00.0] unhandled status 0x08000000
That’s unrelated because you did not actually load the module (as it has been loaded already during boot)
Well, I remove only build and the installation is successful… but
I’m getting errors with the commands
make prepare
scripts/kconfig/conf --silentoldconfig Kconfig
make[1]: *** No rule to generate the target «/usr/src/linux-3.14.4-2.gbebeb6f/arch/x86/syscalls/syscall_32.tbl», necessary for «arch/x86/syscalls/../include/generated/uapi/asm/unistd_32.h». Stop.
make: *** [archheaders] Error 2
make menuconfig
*** Unable to find the ncurses libraries or the
*** required header files.
*** 'make menuconfig' requires the ncurses libraries.
***
*** Install ncurses (ncurses-devel) and try again.
***
make[1]: *** [scripts/kconfig/dochecklxdialog] Errore 1
make: *** [menuconfig] Error 2
make xconfig
CHECK qt
* Unable to find the QT4 tool qmake. Trying to use QT3
*
* Unable to find any QT installation. Please make sure that
* the QT4 or QT3 development package is correctly installed and
* either qmake can be found or install pkg-config or set
* the QTDIR environment variable to the correct location.
*
make[1]: *** No rule to generate the target «scripts/kconfig/.tmp_qtcheck», necessary for «scripts/kconfig/qconf.o». Stop.
make: *** [xconfig] Error 2
make prepare
make[1]: *** No rule to generate the target «/usr/src/linux-3.14.4-2.gbebeb6f/arch/x86/syscalls/syscall_32.tbl», necessary for «arch/x86/syscalls/../include/generated/uapi/asm/unistd_32.h». Stop.
make: *** [archheaders] Error 2
linux-8yf3:/usr/src/linux # make modules
make[1]: *** No rule to generate the target «/usr/src/linux-3.14.4-2.gbebeb6f/arch/x86/syscalls/syscall_32.tbl», necessary for «arch/x86/syscalls/../include/generated/uapi/asm/unistd_32.h». Stop.
make: *** [archheaders] Error 2
Now I try to downgrade the kernel, if SD Card works then I keep the default kernel on 13.1
After downgrade of kernel to the previous one, my SD card is now recognized and read. Thanks for your help and I apologize if I have wasted your time. Next time I will avoid so fresh updates if everything works! :\