kerrn.log

5 risposte [Ultimo contenuto]
Davide0
Offline
Iscritto: 12/01/2015

Hello to everyone, I know I'v already asked a question about kern.log, but now the problem appears again. In fact my kern.log now is 346mb, yesterday was 3.5GB but I cleaned it. In one day it increased a lot (as the syslog) and maybe the next reboot will be about 3GB and than will be bigger. I tried to disable the wifi on my laptop by BIOS, and I am using a free compatible wifi usb adapter. My laptop is a modern Lenovo Ideapad 110, and this is the block that appears in the kern.log that is repeated until the end of the file:

Nov 17 11:26:19 davidoff kernel: [ 15.124789] WARNING: CPU: 3 PID: 36 at drivers/usb/core/urb.c:449 usb_submit_urb+0x536/0x5a0
Nov 17 11:26:19 davidoff kernel: [ 15.124790] Modules linked in: snd_mixer_oss snd_pcm aesni_intel(+) aes_x86_64 snd_seq_midi btusb crypto_simd snd_seq_midi_event snd_rawmidi glue_helper hci_uart ath9k_htc btrtl btbcm ath9k_common serdev ath9k_hw btqca btintel ath cryptd mac80211 cfg80211 bluetooth snd_seq uvcvideo intel_cstate snd_seq_device snd_timer intel_rapl_perf ecdh_generic videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 videobuf2_core videodev snd soundcore rtsx_usb_ms memstick media dm_multipath wdat_wdt mei_me mei joydev peaq_wmi ideapad_laptop sparse_keymap input_leds serio_raw input_polldev wmi_bmof intel_lpss_acpi i2c_hid intel_lpss hid intel_pch_thermal shpchp tpm_crb pinctrl_sunrisepoint acpi_pad mac_hid pinctrl_intel parport_pc ppdev coretemp lp parport btrfs zstd_decompress zstd_compress xxhash raid10 raid456 async_raid6_recov
Nov 17 11:26:19 davidoff kernel: [ 15.124829] async_memcpy async_pq async_xor async_tx xor raid6_pq libcrc32c raid1 raid0 multipath linear dm_mirror dm_region_hash dm_log rtsx_usb_sdmmc rtsx_usb i915 i2c_algo_bit drm_kms_helper syscopyarea sysfillrect sysimgblt psmouse r8169 ahci mii libahci fb_sys_fops drm wmi video
Nov 17 11:26:19 davidoff kernel: [ 15.124846] CPU: 3 PID: 36 Comm: kworker/3:1 Not tainted 4.14.0-gnu #1
Nov 17 11:26:19 davidoff kernel: [ 15.124847] Hardware name: LENOVO 80TL/Lenovo V110-15ISK, BIOS 1KCN28WW 11/15/2016
Nov 17 11:26:19 davidoff kernel: [ 15.124851] Workqueue: events request_firmware_work_func
Nov 17 11:26:19 davidoff kernel: [ 15.124852] task: ffff942939df5e00 task.stack: ffffa95fc07d0000
Nov 17 11:26:19 davidoff kernel: [ 15.124854] RIP: 0010:usb_submit_urb+0x536/0x5a0
Nov 17 11:26:19 davidoff kernel: [ 15.124855] RSP: 0000:ffffa95fc07d3b38 EFLAGS: 00010292
Nov 17 11:26:19 davidoff kernel: [ 15.124857] RAX: 000000000000002b RBX: ffff942936990300 RCX: 0000000000000000
Nov 17 11:26:19 davidoff kernel: [ 15.124857] RDX: 0000000000000001 RSI: ffff94293ed8dc68 RDI: ffff94293ed8dc68
Nov 17 11:26:19 davidoff kernel: [ 15.124858] RBP: ffffa95fc07d3ba8 R08: 000000000000ebe0 R09: ffffffffb534bdc8
Nov 17 11:26:19 davidoff kernel: [ 15.124859] R10: 0000000000000302 R11: 0000000000000301 R12: 00000000014000c0
Nov 17 11:26:19 davidoff kernel: [ 15.124860] R13: ffff94293990d000 R14: 0000000000000001 R15: 0000000000000001
Nov 17 11:26:19 davidoff kernel: [ 15.124861] FS: 0000000000000000(0000) GS:ffff94293ed80000(0000) knlGS:0000000000000000
Nov 17 11:26:19 davidoff kernel: [ 15.124862] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Nov 17 11:26:19 davidoff kernel: [ 15.124863] CR2: 00007f44b31de6de CR3: 000000008ee09003 CR4: 00000000003606e0
Nov 17 11:26:19 davidoff kernel: [ 15.124864] Call Trace:
Nov 17 11:26:19 davidoff kernel: [ 15.124868] ? __kmalloc+0x195/0x220
Nov 17 11:26:19 davidoff kernel: [ 15.124872] hif_usb_send+0x1a3/0x370 [ath9k_htc]
Nov 17 11:26:19 davidoff kernel: [ 15.124875] htc_issue_send.constprop.2+0x6d/0x90 [ath9k_htc]
Nov 17 11:26:19 davidoff kernel: [ 15.124877] htc_connect_service+0x145/0x1c0 [ath9k_htc]
Nov 17 11:26:19 davidoff kernel: [ 15.124880] ath9k_wmi_connect+0x49/0x60 [ath9k_htc]
Nov 17 11:26:19 davidoff kernel: [ 15.124883] ? ath9k_hif_usb_exit+0x20/0x20 [ath9k_htc]
Nov 17 11:26:19 davidoff kernel: [ 15.124885] ? ath9k_wmi_ctrl_tx+0x20/0x20 [ath9k_htc]
Nov 17 11:26:19 davidoff kernel: [ 15.124888] ath9k_init_htc_services.isra.6+0x30/0x250 [ath9k_htc]
Nov 17 11:26:19 davidoff kernel: [ 15.124891] ath9k_htc_probe_device+0xf7/0x9b0 [ath9k_htc]
Nov 17 11:26:19 davidoff kernel: [ 15.124894] ath9k_htc_hw_init+0x11/0x30 [ath9k_htc]
Nov 17 11:26:19 davidoff kernel: [ 15.124896] ath9k_hif_usb_firmware_cb+0x9b/0x1c0 [ath9k_htc]
Nov 17 11:26:19 davidoff kernel: [ 15.124899] request_firmware_work_func+0x36/0x60
Nov 17 11:26:19 davidoff kernel: [ 15.124901] process_one_work+0x13b/0x350
Nov 17 11:26:19 davidoff kernel: [ 15.124902] worker_thread+0x4d/0x390
Nov 17 11:26:19 davidoff kernel: [ 15.124905] kthread+0x109/0x140
Nov 17 11:26:19 davidoff kernel: [ 15.124906] ? process_scheduled_works+0x40/0x40
Nov 17 11:26:19 davidoff kernel: [ 15.124909] ? kthread_destroy_worker+0x60/0x60
Nov 17 11:26:19 davidoff kernel: [ 15.124911] ret_from_fork+0x25/0x30
Nov 17 11:26:19 davidoff kernel: [ 15.124913] Code: 45 a8 44 88 4d c0 44 89 55 b8 e8 c6 c7 f1 ff 44 8b 45 a8 48 8b 55 b0 48 89 c6 44 89 f9 48 c7 c7 30 ad d3 b4 31 c0 e8 75 47 a2 ff <0f> ff 44 8b 55 b8 44 0f b6 4d c0 e9 74 fc ff ff 49 8b 95 e8 00
Nov 17 11:26:19 davidoff kernel: [ 15.124941] ---[ end trace c556eadab1db02ff ]---
Nov 17 11:26:19 davidoff kernel: [ 15.126741] usb 1-2.1: BOGUS urb xfer, pipe 1 != type 3

Davide0
Offline
Iscritto: 12/01/2015

And also I am using the last version of Linux-libre 4.14

Time4Tea
Offline
Iscritto: 07/16/2017

This seems strange. Does it only happen with that kernel version?

Things I can think of are that you might be able to change the kernel log level by editing the boot parameters in GRUB, to reduce how much it is printing to the log. Or, you could try making some sort of looping shell script or daemon that deletes the log file every 5 minutes, or when it reaches a certain size.

Although, neither of those would address the underlying cause.

Magic Banana

I am a member!

I am a translator!

Offline
Iscritto: 07/24/2010

It is this issue: https://dev.openwrt.org/ticket/21929

Do you have any USB3 port? Plugging the Wifi adapter in it may solve your problem. Otherwise, try a newer version of the firmware for its chipset by downloading the deb package on https://packages.debian.org/buster/all/firmware-ath9k-htc/download and installing it (with 'sudo dpkg -i' or double-clicking on the deb file after installing GDebi).

jxself
Offline
Iscritto: 09/13/2010

Also to throw in that my new linux-libre-firmware project also includes the latest version of this firmware.

Announcement:
https://jxself.org/firmware.shtml

The git repository:
https://jxself.org/git/?p=linux-libre-firmware.git

Release tarballs with pre-compiled firmware (and source):
https://jxself.org/firmware/

Davide0
Offline
Iscritto: 12/01/2015

Ok, I'll try to follow all your steps, thanks to everyone! And If I have problems again I'll let you know