prioryjim
Posts: 108
Joined: Tue Mar 06, 2012 12:23 pm
Location: Preston, UK

Is there some form of auto kernel update on Jessie

Tue Nov 08, 2016 10:09 am

I have a serial to USB dongle.
I have a shell script that reads the USB tty port continually. It gets packets every few minutes.
This works OK for days/weeks but occasionally I see it has stopped.
In dmesg I see

dvb_usb_v2: 'Realtek RTL2832U reference design' successfully deinitialized and disconnected

And other similar entries.

Is some form of auto update stopping my process ?
If so how do I disable it ?

Thanks
Jim

User avatar
topguy
Posts: 6491
Joined: Tue Oct 09, 2012 11:46 am
Location: Trondheim, Norway

Re: Is there some form of auto kernel update on Jessie

Tue Nov 08, 2016 12:22 pm

Even if there was a process downloading and installing newer versions of the kernel it would still not affect the running kernel.

The message you chose to show was for a DVB stick so obviously not the serial device. I want to see more of the "dmesg" output or maybe from "journalctl"

ShiftPlusOne
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 6229
Joined: Fri Jul 29, 2011 5:36 pm
Location: The unfashionable end of the western spiral arm of the Galaxy

Re: Is there some form of auto kernel update on Jessie

Tue Nov 08, 2016 12:31 pm

No, there are no automatic updates of any sort.

prioryjim
Posts: 108
Joined: Tue Mar 06, 2012 12:23 pm
Location: Preston, UK

Re: Is there some form of auto kernel update on Jessie

Tue Nov 08, 2016 2:38 pm

OK that was TV stick !
Typically

Code: Select all

[Sun Oct 23 23:15:36 2016] usb 1-1.3: new full-speed USB device number 4 using dwc_otg
[Sun Oct 23 23:15:37 2016] usb 1-1.3: New USB device found, idVendor=10c4, idProduct=ea60
[Sun Oct 23 23:15:37 2016] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[Sun Oct 23 23:15:37 2016] usb 1-1.3: Product: CP2102 USB to UART Bridge Controller
[Sun Oct 23 23:15:37 2016] usb 1-1.3: Manufacturer: Silicon Labs
[Sun Oct 23 23:15:37 2016] usb 1-1.3: SerialNumber: 0001
[Sun Oct 23 23:15:41 2016] cp210x 1-1.3:1.0: cp210x converter detected
[Sun Oct 23 23:15:41 2016] usb 1-1.3: cp210x converter now attached to ttyUSB0
I will wait till it stops next time and capture some more relevant dmesg logs.
Thanks
Jim

prioryjim
Posts: 108
Joined: Tue Mar 06, 2012 12:23 pm
Location: Preston, UK

Re: Is there some form of auto kernel update on Jessie

Wed Nov 23, 2016 8:48 am

It happened yesterday dmesg was

cp210x ttyUSB0: usb_serial_generic_read_bulk_callback - urb stopped: -32

I think it's a know bug so don't bother with it.
Seems to work if I restart my app.
So will produce a script to restart it if stopped.
Thanks
Jim

Return to “Troubleshooting”