LMDE2 internet conn fail with 3.18.13-rt10mah+

More
10 years 2 months ago #78367 by jtc
Thank you for your detailed work. I will check this when the next time when I am on that PC.

there is the messages:

File Attachment:

File Name: messages.txt
File Size:1.03 MB



and dmesg:


File Attachment:

File Name: dmesg.txt
File Size:126.04 KB




Im already working on an alternative with Debian wheezy, and today when I tryed to optimize the latency times with "grub" options I already have a similar problem on wheezy

this is the "stock" wheezy configuration:
Code:
linux /boot/vmlinuz-3.2.0-4-rt-686-pae root=UUID=2948b065-03bb-46c6-b847-4b6f0dd70d76 ro initrd=/install/gtk/initrd.gz lapic quiet rootdelay=5

this is the LMDE2 configuration that had problems:
Code:
linux /boot/vmlinuz-3.18.13-rt10mah+ root=UUID=34501974-505a-490f-873f-4937e569da86 ro quiet splash isolcpus=2,3 intel_idle.max_cstate=0 processor.max_cstate=0

the modified wheezy configuration where I lost wifi connection to:
Code:
linux /boot/vmlinuz-3.2.0-4-rt-686-pae root=UUID=2948b065-03bb-46c6-b847-4b6f0dd70d76 ro initrd=/install/gtk/initrd.gz quiet splash isolcpus=2,3 intel_idle.max_cstate=0 processor.max_cstate=0 rootdelay=5

after this I remove :
Code:
intel_idle.max_cstate=0 processor.max_cstate=0

from this configuration and the wifi connection seems to be stable (needs more test).

can it be related in somehow with the wifi problems??


tnks

Please Log in or Create an account to join the conversation.

More
10 years 2 months ago - 10 years 2 months ago #78379 by ArcEye

this is the LMDE2 configuration that had problems:

linux /boot/vmlinuz-3.18.13-rt10mah+ root=UUID=34501974-505a-490f-873f-4937e569da86 ro quiet splash isolcpus=2,3 intel_idle.max_cstate=0 processor.max_cstate=0


If you google intel_idle.max_cstate=0 you will find lots of references to problems with networking, especially wifi.

There is some suggestion that using state 1 is a better option, but I have never bothered with these options and turn off all power management, turn fan speed to full etc in BIOS
I always disable suspend, hibernate etc at kernel level for the same reason (when I build the kernel - not through params)

I wish you had said exactly what you were doing in the beginning, these kernel parameters look like the problem, not the kernel itself.
You don't need brilliant latency to run with mesa cards, 50K is quite good enough.

You can quite often improve latency considerably on a multicore newer computer with larger processor caches, by running a dummy base thread at about 25 - 50us with nothing attached to it. Keeps the cores busy so the rt code remains in one cache.

Try it with latency-test 25us 1ms to test it out and look at the servo figures

The USB stick seems to be erroring and repeatedly connecting and disconnecting in the dmesg, but not looked at it very much in light of the preceding.
Code:
[ 3518.517107] rtl_usb:_usb_tx_post():<0-0> Urb has error status 0xFFFFFFB9 [ 3518.517152] rtl_usb:_usb_tx_post():<0-0> Urb has error status 0xFFFFFFB9 [ 3518.685108] usb 1-2.3: USB disconnect, device number 4 [ 3518.699454] rtl_usb: reg 0x102, usbctrl_vendorreq TimeOut! status:0xffffffed value=0x83040002 [ 3518.699468] rtl_usb: reg 0x422, usbctrl_vendorreq TimeOut! status:0xffffffed value=0x0 [ 3518.699480] rtl_usb: reg 0x542, usbctrl_vendorreq TimeOut! status:0xffffffed value=0x4d5 [ 3518.699496] rtl8192cu:rtl92cu_get_hw_reg():<0-0> switch case not processed [ 3518.699531] rtl_usb: reg 0x102, usbctrl_vendorreq TimeOut! status:0xffffffed value=0x3902b2a


Get rid of the kernel params and it should be fine
Last edit: 10 years 2 months ago by ArcEye.

Please Log in or Create an account to join the conversation.

More
10 years 2 months ago #78394 by jtc
today I tested without theses options on grub, and the problem persists...

I uninstalled network-manager but have errors installing wicd. so I believe that I'm stuck with no way to connect to the internet. Tomorrow I will decide if worth keeping try to fix that or just simply migrate to wheezy (this work is already done).

Please Log in or Create an account to join the conversation.

More
10 years 2 months ago #78414 by ArcEye

I uninstalled network-manager but have errors installing wicd. so I believe that I'm stuck with no way to connect to the internet


Without knowing what the errors are, can't assist. To revert just un-install wicd and re-install network-manager.
If the packages are still in /var/cache/apt/archives you don't need a network connection to do that.

Tomorrow I will decide if worth keeping try to fix that or just simply migrate to wheezy (this work is already done).


If wheezy is an option, just use the stock debian rt-preempt kernel, it works perfectly well
The following user(s) said Thank You: jtc

Please Log in or Create an account to join the conversation.

More
10 years 2 months ago #78432 by jtc
I already migrate to wheezy. With stock debian rt-preempt kernel and only isolcpus=2,3 on grub options it work very stable with a good latency.

Please Log in or Create an account to join the conversation.

Time to create page: 0.097 seconds
Powered by Kunena Forum