Logging SPAM (GPIO_IN=08)

Since the update of today the logs of my RPi1 osmc installation are being spammed with these lines:

Aug 04 21:28:51 osmc kernel: GPIO_IN=08
Aug 04 21:28:51 osmc kernel: @@@@- #2  rtw_ps_processor==> rfstate:rf_on
Aug 04 21:28:53 osmc kernel: GPIO_IN=08
Aug 04 21:28:53 osmc kernel: @@@@- #2  rtw_ps_processor==> rfstate:rf_on
Aug 04 21:28:55 osmc kernel: GPIO_IN=08
Aug 04 21:28:55 osmc kernel: @@@@- #2  rtw_ps_processor==> rfstate:rf_on
Aug 04 21:28:57 osmc kernel: GPIO_IN=08
Aug 04 21:28:57 osmc kernel: @@@@- #2  rtw_ps_processor==> rfstate:rf_on
Aug 04 21:28:59 osmc kernel: GPIO_IN=08
Aug 04 21:28:59 osmc kernel: @@@@- #2  rtw_ps_processor==> rfstate:rf_on
Aug 04 21:29:01 osmc kernel: GPIO_IN=08
Aug 04 21:29:01 osmc kernel: @@@@- #2  rtw_ps_processor==> rfstate:rf_on

On average 60 lines per minute…
Any suggestions how to stop this?

What do you have connected to that GPIO pin ? Please also post your config.txt.

Raspberry Pi (1) B+.
Nothing connected to GPIO.

 osmc@osmc:~ $ cat /boot/config.txt
sdram_freq=400
core_freq=375
over_voltage=0
force_turbo=0
over_voltage_sdram=0
arm_freq=850
initial_turbo=0
start_x=1
sdtv_aspect=0
disable_overscan=1
gpu_mem_256=112
gpu_mem_512=144
hdmi_ignore_cec_init=1

version info:

21:41:30  21.374458 T:3024040496  NOTICE: Starting Kodi (15.1-RC1 Git:Unknown). Platform: Linux ARM 32-bit

uname -a

Linux osmc 4.1.3-2-osmc #1 PREEMPT Tue Aug 4 13:29:12 UTC 2015 armv6l GNU/Linux

And today’s cold-start log is here: http://pastebin.com/Yuvnskkt

N.B. There also seems to be a wifi problem, but it’s getting drowned by the GPIO. So, it’ll have to wait.

There are no other reports of this GPIO message in the log - have you installed any software via APT that could potentially be trying to use the GPIO lines ?

I tend to post-install htop, screen and rsync
I also keep the system updated with apt-get update and apt-get upgrade.

And I’m running raspdiagd (see here). I have no reason to suspect that one.

Link to ps aux output: http://pastebin.com/JjZirvQc

Could it be one of these?:

 osmc@osmc:~ $ sudo dpkg -l |grep lirc
ii  armv6l-eventlircd-osmc               1.1.6                       armhf        eventlircd for OSMC
ii  armv6l-lirc-osmc                     0.9.0-5                     armhf        lirc for osmc
ii  armv6l-remote-osmc                   1.1.6                       armhf        Remote support for OSMC, achieved with lirc and eventlircd

No those three packages are all a standard part of OSMC. Anything ending in -osmc is one of our packages.

Run MyOSMC updates or sudo apt-get update && sudo apt-get dist-upgrade to confirm you have received ALL available updates for your system.

 osmc@osmc:~ $ sudo apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... The following package was automatically installed and is no longer required:
  rbp1-image-4.1.2-1-osmc
Use 'apt-get autoremove' to remove it.
Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Unplug your WiFi adapter.

Does it go away?

Sam

@sam_nazarko: It seems it does. I pulled the WIFI-dongle at 16:02 and pushed it back in at 16:12.
See the log below.

Please remember that I have had this dongle for over 2 years. I monitor the logs daily. So, I’m very sure this started after the update of two days ago.

As I mentioned before there’s also a problem with the WIFI. I didn’t want to go into details on that in this thread because I didn’t want to cloud the issue. If this is related I can also lookup parts of the log that show the WIFI problems. There may be some hints in the log linked to below though.

link to log

I have the same issue. Just updated and the logs were full of “GPIO_IN=08” and “@@@@- #2 rtw_ps_processor==> rfstate:rf_on”.
After pulling the wifi dongle the logs stop.

I use this wifi adapter: Edimax EW-7811Un

Hi chaps,

I’ve build a Pi 1 kernel for now so the original poster can test to see if this issue goes away.

Please login via SSH and run the following commands:


wget http://collaborate.osmc.tv/index.php/s/s5f4cJyv1jAA65K/download -O rbp1-image-osmc.deb
sudo dpkg -i --force-all rbp1-image-osmc.deb
sudo reboot

You should be able to verify you are running the new kernel with

uname -a

which should return a compile date of 7th August (today)

The good news for now is that this log does not write to SD card so you’re not wearing it out with excessive writes.

Let me know how it goes

Sam

@sam_nazarko : Please be patient. I’m away for a couple of days. I’ll come back to you with the results in about a week.

Sorry for any inconvenience this may cause you.

@vanMacG can you test this on a Pi 1 or should I build a Pi 2 build for you?

Sam

I only have a Pi2, sorry.
If you could make a build I’ll gladly test it!

Thanks in advance.

@sam_nazarko : I received an update today, but the problem is still there.

I have not released it as an update. I don’t have time to produce a Pi 2 build, so I am waiting for OP to confirm if the issue is gone with the experimental kernel

Sam

Hi @sam_nazarko! I just installed the patch:

$ sudo dpkg -i --force-all rbp1-image-osmc.deb
(Reading database ... 26712 files and directories currently installed.)
Preparing to unpack rbp1-image-osmc.deb ...
Examining /etc/kernel/preinst.d/
run-parts: executing /etc/kernel/preinst.d/preprocess-rbp 4.1.3-2-osmc /boot/vmlinuz-4.1.3-2-osmc
Done.
Unpacking rbp1-image-4.1.3-2-osmc (2) over (2) ...
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 4.1.3-2-osmc /boot/vmlinuz-4.1.3-2-osmc
Setting up rbp1-image-4.1.3-2-osmc (2) ...

 Hmm. There is a symbolic link /lib/modules/4.1.3-2-osmc/build
 However, I can not read it: No such file or directory
 Therefore, I am deleting /lib/modules/4.1.3-2-osmc/build


 Hmm. The package shipped with a symbolic link /lib/modules/4.1.3-2-osmc/source
 However, I can not read the target: No such file or directory
 Therefore, I am deleting /lib/modules/4.1.3-2-osmc/source

Running depmod.
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.1.3-2-osmc /boot/vmlinuz-4.1.3-2-osmc

run-parts: executing /etc/kernel/postinst.d/inform-updater 4.1.3-2-osmc /boot/vmlinuz-4.1.3-2-osmc
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 4.1.3-2-osmc /boot/vmlinuz-4.1.3-2-osmc
run-parts: executing /etc/kernel/postinst.d/process-vmlinuz-rbp 4.1.3-2-osmc /boot/vmlinuz-4.1.3-2-osmc

After rebooting:

$ uname -a
Linux osmc 4.1.3-2-osmc #1 PREEMPT Fri Aug 7 11:03:02 UTC 2015 armv6l GNU/Linux

The latest logs are here: http://pastebin.com/vy8iz4jq
To me it looks like this didn’t fix the issue.