[Kernel-packages] [Bug 1998576] Re: UBSAN: shift-out-of-bounds in WiFi driver (iwlwifi/mvm/mac-ctxt.c)
>When I call those commands again then callstack is not seen, but monitor mode >not works and I am >unable to do wifi sniffing. Wifi sniffing stopped working >today. Reboot of PC does not help. Monitor mode works fine again. That was temporary issue with no wifi monitor mode. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1998576 Title: UBSAN: shift-out-of-bounds in WiFi driver (iwlwifi/mvm/mac-ctxt.c) Status in linux package in Ubuntu: Confirmed Bug description: Hello all! On Ubuntu 20.04.5 LTS, when I use the mdk3 tool (https://github.com/aircrack-ng/mdk3, also available in Ubuntu PPA), it raises a kernel exception in the Wi-Fi driver: UBSAN: shift-out-of-bounds in /build/linux-hwe-5.15-ZCQu4B/linux-hwe-5.15-5.15.0/drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c:669:22 shift exponent 65535 is too large for 64-bit type 'long unsigned int' The exact command I use is : mdk3 wlp2s0 b -f somefile.txt -a -s 200 (Where wlp2s0 is my main Wi-Fi interface.) Here is the full logs: Dec 2 09:22:38 red-october kernel: [ 1228.100538] Dec 2 09:22:38 red-october kernel: [ 1228.100614] UBSAN: shift-out-of-bounds in /build/linux-hwe-5.15-ZCQu4B/linux-hwe-5.15-5.15.0/drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c:669:22 Dec 2 09:22:38 red-october kernel: [ 1228.100714] shift exponent 65535 is too large for 64-bit type 'long unsigned int' Dec 2 09:22:38 red-october kernel: [ 1228.102683] CPU: 3 PID: 5865 Comm: ifconfig Tainted: P OE 5.15.0-53-generic #59~20.04.1-Ubuntu Dec 2 09:22:38 red-october kernel: [ 1228.102689] Hardware name: ASUSTeK COMPUTER INC. ROG Zephyrus G14 GA401II_GA401II/GA401II, BIOS GA401II.220 03/14/2022 Dec 2 09:22:38 red-october kernel: [ 1228.102693] Call Trace: Dec 2 09:22:38 red-october kernel: [ 1228.102696] Dec 2 09:22:38 red-october kernel: [ 1228.102701] dump_stack_lvl+0x4a/0x63 Dec 2 09:22:38 red-october kernel: [ 1228.102713] dump_stack+0x10/0x16 Dec 2 09:22:38 red-october kernel: [ 1228.102718] ubsan_epilogue+0x9/0x49 Dec 2 09:22:38 red-october kernel: [ 1228.102723] __ubsan_handle_shift_out_of_bounds.cold+0x61/0x10e Dec 2 09:22:38 red-october kernel: [ 1228.102734] iwl_mvm_mac_ctxt_cmd_listener.cold+0x20/0x32 [iwlmvm] Dec 2 09:22:38 red-october kernel: [ 1228.102770] iwl_mvm_mac_ctx_send+0x8b/0xd0 [iwlmvm] Dec 2 09:22:38 red-october kernel: [ 1228.102798] iwl_mvm_mac_ctxt_add+0x44/0xf0 [iwlmvm] Dec 2 09:22:38 red-october kernel: [ 1228.102821] iwl_mvm_mac_add_interface+0x133/0x350 [iwlmvm] Dec 2 09:22:38 red-october kernel: [ 1228.102847] drv_add_interface+0x4a/0x100 [mac80211] Dec 2 09:22:38 red-october kernel: [ 1228.102912] ieee80211_add_virtual_monitor+0x11a/0x330 [mac80211] Dec 2 09:22:38 red-october kernel: [ 1228.102980] ieee80211_do_open+0x867/0x970 [mac80211] Dec 2 09:22:38 red-october kernel: [ 1228.103041] ? ieee80211_check_concurrent_iface+0x158/0x1d0 [mac80211] Dec 2 09:22:38 red-october kernel: [ 1228.103104] ieee80211_open+0x70/0x90 [mac80211] Dec 2 09:22:38 red-october kernel: [ 1228.103165] __dev_open+0xe8/0x1a0 Dec 2 09:22:38 red-october kernel: [ 1228.103172] __dev_change_flags+0x190/0x200 Dec 2 09:22:38 red-october kernel: [ 1228.103178] dev_change_flags+0x26/0x70 Dec 2 09:22:38 red-october kernel: [ 1228.103183] devinet_ioctl+0x5f2/0x780 Dec 2 09:22:38 red-october kernel: [ 1228.103192] inet_ioctl+0x169/0x190 Dec 2 09:22:38 red-october kernel: [ 1228.103199] sock_do_ioctl+0x47/0x100 Dec 2 09:22:38 red-october kernel: [ 1228.103206] sock_ioctl+0xf3/0x310 Dec 2 09:22:38 red-october kernel: [ 1228.103211] ? syscall_exit_to_user_mode+0x27/0x50 Dec 2 09:22:38 red-october kernel: [ 1228.103218] ? do_syscall_64+0x69/0xc0 Dec 2 09:22:38 red-october kernel: [ 1228.103223] __x64_sys_ioctl+0x95/0xd0 Dec 2 09:22:38 red-october kernel: [ 1228.103232] do_syscall_64+0x5c/0xc0 Dec 2 09:22:38 red-october kernel: [ 1228.103236] ? irqentry_exit_to_user_mode+0x9/0x20 Dec 2 09:22:38 red-october kernel: [ 1228.103241] ? irqentry_exit+0x1d/0x30 Dec 2 09:22:38 red-october kernel: [ 1228.103246] ? exc_page_fault+0x89/0x170 Dec 2 09:22:38 red-october kernel: [ 1228.103252] entry_SYSCALL_64_after_hwframe+0x61/0xcb Dec 2 09:22:38 red-october kernel: [ 1228.103257] RIP: 0033:0x7f487d3b63ab Dec 2 09:22:38 red-october kernel: [ 1228.103263] Code: 0f 1e fa 48 8b 05 e5 7a 0d 00 64 c7 00 26 00 00 00 48 c7 c0 ff ff ff ff c3 66 0f 1f 44 00 00 f3 0f 1e fa b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d b5 7a 0d 00 f7 d8 64 89 01 48 Dec 2 09:22:38 red-october kernel: [ 1228.103267] RSP: 002b:7ffc147740a8 EFLAGS: 0202 ORIG_RAX: 0010 Dec 2 09:22:38 red-october kernel:
[Kernel-packages] [Bug 1998576] Re: UBSAN: shift-out-of-bounds in WiFi driver (iwlwifi/mvm/mac-ctxt.c)
Hello, I observe the same callstack on Ubuntu 20.04.06 LTS after trying to enable monitor mode: sudo ip link set dev wlp82s0 down sudo iwconfig wlp82s0 mode monitor // Callstack visible after that command sudo ip link set dev wlp82s0 up When I call those commands again then callstack is not seen, but monitor mode not works and I am unable to do wifi sniffing. Wifi sniffing stopped working today. Reboot of PC does not help. PC: Lenovo P53 Info about wifi driver: $ cat dmesg.txt | grep -E "wifi|wlp82s0" [ 29.785225] iwlwifi :52:00.0: enabling device ( -> 0002) [ 29.807499] iwlwifi :52:00.0: api flags index 2 larger than supported by driver [ 29.807514] iwlwifi :52:00.0: TLV_FW_FSEQ_VERSION: FSEQ Version: 89.3.35.37 [ 29.807735] iwlwifi :52:00.0: loaded firmware version 66.f1c864e0.0 cc-a0-66.ucode op_mode iwlmvm [ 29.971841] iwlwifi :52:00.0: BIOS contains WGDS but no WRDS [ 29.971851] iwlwifi :52:00.0: Detected Intel(R) Wi-Fi 6 AX200 160MHz, REV=0x340 [ 30.131778] iwlwifi :52:00.0: Detected RF HR B3, rfid=0x10a100 [ 30.201478] iwlwifi :52:00.0: base HW address: f8:e4:e3:d9:d2:ee [ 30.578367] iwlwifi :52:00.0 wlp82s0: renamed from wlan0 callstack: [ 502.483818] [ 502.483829] UBSAN: shift-out-of-bounds in /build/linux-hwe-5.15-x48ylI/linux-hwe-5.15-5.15.0/drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c:669:22 [ 502.483841] shift exponent 65535 is too large for 64-bit type 'long unsigned int' [ 502.483851] CPU: 0 PID: 5401 Comm: ip Tainted: P OE 5.15.0-69-generic #76~20.04.1-Ubuntu [ 502.483862] Hardware name: LENOVO 20QNS1T600/20QNS1T600, BIOS N2NET38W (1.23 ) 06/04/2020 [ 502.483866] Call Trace: [ 502.483871] [ 502.483877] dump_stack_lvl+0x4a/0x63 [ 502.483890] dump_stack+0x10/0x16 [ 502.483896] ubsan_epilogue+0x9/0x49 [ 502.483909] __ubsan_handle_shift_out_of_bounds.cold+0x61/0x10e [ 502.483929] iwl_mvm_mac_ctxt_cmd_listener.cold+0x20/0x32 [iwlmvm] [ 502.484008] iwl_mvm_mac_ctx_send+0x8b/0xd0 [iwlmvm] [ 502.484061] iwl_mvm_mac_ctxt_add+0x44/0xf0 [iwlmvm] [ 502.484108] iwl_mvm_mac_add_interface+0x133/0x350 [iwlmvm] [ 502.484153] drv_add_interface+0x47/0x100 [mac80211] [ 502.484266] ieee80211_add_virtual_monitor+0x11a/0x330 [mac80211] [ 502.484392] ieee80211_do_open+0x867/0x970 [mac80211] [ 502.484511] ? ieee80211_check_concurrent_iface+0x158/0x1d0 [mac80211] [ 502.484629] ieee80211_open+0x70/0x90 [mac80211] [ 502.484744] __dev_open+0xe5/0x1a0 [ 502.484757] __dev_change_flags+0x190/0x200 [ 502.484770] dev_change_flags+0x26/0x70 [ 502.484781] do_setlink+0x907/0xc40 [ 502.484796] ? __nla_validate_parse+0x4c/0x1a0 [ 502.484811] __rtnl_newlink+0x593/0xa10 [ 502.484822] ? __nla_reserve+0x41/0x60 [ 502.484832] ? __kmalloc_node_track_caller+0x1d0/0x4e0 [ 502.484843] ? skb_free_head+0x69/0x80 [ 502.484854] ? security_sock_rcv_skb+0x2c/0x50 [ 502.484868] ? netlink_deliver_tap+0x3d/0x230 [ 502.484876] ? sk_filter_trim_cap+0xc1/0x230 [ 502.484889] ? skb_queue_tail+0x48/0x60 [ 502.484898] ? sock_def_readable+0x4b/0x80 [ 502.484905] ? __netlink_sendskb+0x3f/0x60 [ 502.484913] ? netlink_unicast+0x21b/0x250 [ 502.484924] ? rtnl_getlink+0x37c/0x400 [ 502.484950] ? __cond_resched+0x19/0x40 [ 502.484963] ? kmem_cache_alloc_trace+0x15a/0x420 [ 502.484972] rtnl_newlink+0x49/0x70 [ 502.484982] rtnetlink_rcv_msg+0x15d/0x410 [ 502.484994] ? __cond_resched+0x19/0x40 [ 502.485004] ? rtnl_calcit.isra.0+0x130/0x130 [ 502.485015] netlink_rcv_skb+0x53/0x100 [ 502.485026] rtnetlink_rcv+0x15/0x20 [ 502.485034] netlink_unicast+0x1ab/0x250 [ 502.485043] netlink_sendmsg+0x23e/0x4a0 [ 502.485055] sock_sendmsg+0x66/0x70 [ 502.485067] sys_sendmsg+0x21c/0x290 [ 502.485076] ? copy_msghdr_from_user+0x5c/0x90 [ 502.485091] ___sys_sendmsg+0x81/0xc0 [ 502.485103] ? mntput_no_expire+0x4c/0x260 [ 502.485112] ? __cond_resched+0x19/0x40 [ 502.485123] ? security_file_free+0x54/0x60 [ 502.485132] ? call_rcu+0xa8/0x230 [ 502.485144] ? __fput+0x127/0x280 [ 502.485158] __sys_sendmsg+0x62/0xc0 [ 502.485171] ? handle_mm_fault+0xd9/0x2c0 [ 502.485181] __x64_sys_sendmsg+0x1f/0x30 [ 502.485191] do_syscall_64+0x59/0xc0 [ 502.485203] ? irqentry_exit_to_user_mode+0x9/0x20 [ 502.485211] ? irqentry_exit+0x1d/0x30 [ 502.485218] ? exc_page_fault+0x89/0x170 [ 502.485225] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 502.485235] RIP: 0033:0x7f342cf485e7 [ 502.485245] Code: 64 89 02 48 c7 c0 ff ff ff ff eb bb 0f 1f 80 00 00 00 00 f3 0f 1e fa 64 8b 04 25 18 00 00 00 85 c0 75 10 b8 2e 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 51 c3 48 83 ec 28 89 54 24 1c 48 89 74 24 10 [ 502.485252] RSP: 002b:7ffe89aee5a8 EFLAGS: 0246 ORIG_RAX: 002e [ 502.485263] RAX: ffda RBX: RCX: 7f342cf485e7 [ 502.485269] RDX: RSI:
[Kernel-packages] [Bug 1843018] Re: 5.0.0-27-generic: /proc//maps: Pathnames are '/' inside a container
My team has encountered this as well and it affects both our on-premise Linux as well as Azure VMs kernels. Last versions which were working for us are: - In azure case 5.0.0-1016-azure - In case of on-premise 5.0.0-25-generic After upgrading to 5.0.0.-1018-azure and 5.0.0-28, respectively, both stopped working. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1843018 Title: 5.0.0-27-generic: /proc//maps: Pathnames are '/' inside a container Status in linux package in Ubuntu: Confirmed Status in linux-azure package in Ubuntu: Confirmed Bug description: Using kernel 5.0.0-27-generic on Ubuntu 18.04 in a container, every pathname in /proc//maps is / instead of the mapped file path. This appears to be a regression in 5.0.0-27-generic; it works on 5.0.0-25-generic. The problem can be reproduced in various Ubuntu releases, e.g. 18.04 and 19.04. 5.0.0-25-generic (working): $ sudo docker run ubuntu cat /proc/1/maps 56324a3f5000-56324a3fd000 r-xp fc:01 665673 /bin/cat 56324a5fc000-56324a5fd000 r--p 7000 fc:01 665673 /bin/cat 56324a5fd000-56324a5fe000 rw-p 8000 fc:01 665673 /bin/cat 56324a8eb000-56324a90c000 rw-p 00:00 0 [heap] 7f8ab5f91000-7f8ab6178000 r-xp fc:01 666073 /lib/x86_64-linux-gnu/libc-2.27.so 7f8ab6178000-7f8ab6378000 ---p 001e7000 fc:01 666073 /lib/x86_64-linux-gnu/libc-2.27.so 7f8ab6378000-7f8ab637c000 r--p 001e7000 fc:01 666073 /lib/x86_64-linux-gnu/libc-2.27.so 7f8ab637c000-7f8ab637e000 rw-p 001eb000 fc:01 666073 /lib/x86_64-linux-gnu/libc-2.27.so 7f8ab637e000-7f8ab6382000 rw-p 00:00 0 7f8ab6382000-7f8ab63a9000 r-xp fc:01 666055 /lib/x86_64-linux-gnu/ld-2.27.so 7f8ab6583000-7f8ab65a7000 rw-p 00:00 0 7f8ab65a9000-7f8ab65aa000 r--p 00027000 fc:01 666055 /lib/x86_64-linux-gnu/ld-2.27.so 7f8ab65aa000-7f8ab65ab000 rw-p 00028000 fc:01 666055 /lib/x86_64-linux-gnu/ld-2.27.so 7f8ab65ab000-7f8ab65ac000 rw-p 00:00 0 7ffc25954000-7ffc25975000 rw-p 00:00 0 [stack] 7ffc259f1000-7ffc259f4000 r--p 00:00 0 [vvar] 7ffc259f4000-7ffc259f5000 r-xp 00:00 0 [vdso] ff60-ff601000 r-xp 00:00 0 [vsyscall] 5.0.0-27-generic (broken): $ sudo docker run ubuntu cat /proc/1/maps 55de0e052000-55de0e05a000 r-xp fc:01 665673 / 55de0e259000-55de0e25a000 r--p 7000 fc:01 665673 / 55de0e25a000-55de0e25b000 rw-p 8000 fc:01 665673 / 55de0fcb3000-55de0fcd4000 rw-p 00:00 0 [heap] 7f7a8d881000-7f7a8da68000 r-xp fc:01 666073 / 7f7a8da68000-7f7a8dc68000 ---p 001e7000 fc:01 666073 / 7f7a8dc68000-7f7a8dc6c000 r--p 001e7000 fc:01 666073 / 7f7a8dc6c000-7f7a8dc6e000 rw-p 001eb000 fc:01 666073 / 7f7a8dc6e000-7f7a8dc72000 rw-p 00:00 0 7f7a8dc72000-7f7a8dc99000 r-xp fc:01 666055 / 7f7a8de73000-7f7a8de97000 rw-p 00:00 0 7f7a8de99000-7f7a8de9a000 r--p 00027000 fc:01 666055 / 7f7a8de9a000-7f7a8de9b000 rw-p 00028000 fc:01 666055 / 7f7a8de9b000-7f7a8de9c000 rw-p 00:00 0 7ffc744bd000-7ffc744de000 rw-p 00:00 0 [stack] 7ffc7452d000-7ffc7453 r--p 00:00 0 [vvar] 7ffc7453-7ffc74531000 r-xp 00:00 0 [vdso] To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1843018/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp
[Kernel-packages] [Bug 1525554] Re: [HP ProBook 470 G3, Intel Skylake HDMI, Digital Out, HDMI] No sound at all
Hi ArnauC, I did the same steps as you (also have the same exact model) but the noise is not completely gone. It it somewhat better. The noise appears for 1-2 seconds. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1525554 Title: [HP ProBook 470 G3, Intel Skylake HDMI, Digital Out, HDMI] No sound at all Status in alsa-driver package in Ubuntu: Incomplete Status in linux package in Ubuntu: Incomplete Bug description: No sound on brand new HP ProBook 470 G3 after installing Ubuntu 14.04 on headphones or internal speakers. Connecting a USB headphone and microphone both work, though. ProblemType: Bug DistroRelease: Ubuntu 14.04 Package: alsa-base 1.0.25+dfsg-0ubuntu4 ProcVersionSignature: Ubuntu 3.19.0-39.44~14.04.1-generic 3.19.8-ckt9 Uname: Linux 3.19.0-39-generic x86_64 ApportVersion: 2.14.1-0ubuntu3.19 Architecture: amd64 AudioDevicesInUse: USERPID ACCESS COMMAND /dev/snd/controlC0: ronald 2199 F pulseaudio ronald 2513 F alsamixer CurrentDesktop: Unity Date: Sat Dec 12 19:36:01 2015 EcryptfsInUse: Yes InstallationDate: Installed on 2015-12-07 (5 days ago) InstallationMedia: Ubuntu 14.04.3 LTS "Trusty Tahr" - Beta amd64 (20150805) PackageArchitecture: all SourcePackage: alsa-driver Symptom: audio Symptom_AlsaPlaybackTest: ALSA playback test through plughw:PCH failed Symptom_Card: Built-in Audio - HDA Intel PCH Symptom_DevicesInUse: Error: command ['pkexec', 'fuser', '-v', '/dev/snd/by-path', '/dev/snd/hwC0D2', '/dev/snd/pcmC0D7p', '/dev/snd/pcmC0D3p', '/dev/snd/controlC0', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 127: Error executing command as another user: Not authorized This incident has been reported. Symptom_Jack: Digital Out, HDMI Symptom_Type: No sound at all Title: [HP ProBook 470 G3, Intel Skylake HDMI, Digital Out, HDMI] No sound at all UpgradeStatus: No upgrade log present (probably fresh install) dmi.bios.date: 09/30/2015 dmi.bios.vendor: HP dmi.bios.version: N78 Ver. 01.02 dmi.board.name: 8102 dmi.board.vendor: HP dmi.board.version: KBC Version 16.1F dmi.chassis.asset.tag: 5CD54286XY dmi.chassis.type: 10 dmi.chassis.vendor: HP dmi.modalias: dmi:bvnHP:bvrN78Ver.01.02:bd09/30/2015:svnHP:pnHPProBook470G3:pvr:rvnHP:rn8102:rvrKBCVersion16.1F:cvnHP:ct10:cvr: dmi.product.name: HP ProBook 470 G3 dmi.sys.vendor: HP To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/1525554/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp
[Kernel-packages] [Bug 1511855] Re: Some Sony Dualshock 4 controllers do not work in kernel 3.15+
I confirm the issue is present in Ubuntu 15.10 (kernel 4.2) and fixed by running latest 4.5 RC kernel. It is maybe worth to note the the issue regards only bluetooth connection. The controler works fine using USB cable also with previous kernel versions. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1511855 Title: Some Sony Dualshock 4 controllers do not work in kernel 3.15+ Status in linux package in Ubuntu: Incomplete Bug description: I'm testing in Ubuntu 15.10 with kernel 4.2.0-16.19 but this bug report actually applies to ALL kernels starting at 3.15 until the current 4.3rc7 and is not limited to Ubuntu. I have a brand new Sony DualShock 4 that seems to use a slightly different protocol than the hid-sony driver expects. I'm not sure why this controller is different. Maybe updated firmware from Sony or maybe because it has never been connected to a PS4. Whatever the case, the device descriptor size is different from what hid-sony expects and because of that it does not remap the descriptor table as required. This causes only the trackpad to function (the trackpad uses a different code path) and none of the other controls work. So basically the controller does not work at all. I have created a patch that fixes it. I have only tested the patch against kernel 4.2 and 4.3 but it's simple enough that it should be trivially portable to any 3.15+ kernel. The attached patch is based against the Ubuntu mainline-crack git v4.2 kernel. I posted to the LKML asking if the descriptor size check was even necessary but never got a response so I left it in. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1511855/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp
[Kernel-packages] [Bug 1326567] Re: [Asus M4A88T-M] problem with drm:drm_mode_addfb and drm:radeon_crtc_page_flip
Please, notify this bug has been resolved and the bug description is not adequate - the root couse is not hardware dependent. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1326567 Title: [Asus M4A88T-M] problem with drm:drm_mode_addfb and drm:radeon_crtc_page_flip Status in linux package in Ubuntu: Expired Bug description: My kern log is full of literally millions of entries like this: Jun 1 07:51:05 atkinson-phenomIIx4 kernel: [119346.952590] [drm:drm_mode_addfb], [FB:58] Jun 1 07:51:05 atkinson-phenomIIx4 kernel: [119346.952610] [drm:radeon_crtc_page_flip], flip-ioctl() cur_fbo = 8803de155400, cur_bbo = 880407586000 Jun 1 07:51:05 atkinson-phenomIIx4 kernel: [119346.952632] [drm:radeon_crtc_page_flip], flip-ioctl() cur_fbo = 8803de155400, cur_bbo = 880407586000 I have found places where other have the problem. But none seem to fix the problem. ProblemType: Bug DistroRelease: Ubuntu 14.04 Package: linux-image-3.13.0-27-generic 3.13.0-27.50 ProcVersionSignature: Ubuntu 3.13.0-27.50-generic 3.13.11 Uname: Linux 3.13.0-27-generic x86_64 ApportVersion: 2.14.1-0ubuntu3.2 Architecture: amd64 AudioDevicesInUse: USERPID ACCESS COMMAND /dev/snd/controlC2: oatkinson 3117 F pulseaudio /dev/snd/controlC1: oatkinson 3117 F pulseaudio /dev/snd/controlC0: oatkinson 3117 F pulseaudio CurrentDesktop: Unity Date: Wed Jun 4 16:21:04 2014 HibernationDevice: RESUME=UUID=17c46ec6-2541-4e10-9ec2-258d229f3bd8 InstallationDate: Installed on 2011-08-19 (1020 days ago) InstallationMedia: Ubuntu 11.04 Natty Narwhal - Release amd64 (20110427.1) IwConfig: eth0 no wireless extensions. lono wireless extensions. MachineType: System manufacturer System Product Name ProcFB: 0 radeondrmfb ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.13.0-27-generic root=UUID=3a8918dc-2e21-42ab-8e62-106b9b8f895e ro vesafb.invalid=1 drm.debug=0xe nopat plymouth:debug RelatedPackageVersions: linux-restricted-modules-3.13.0-27-generic N/A linux-backports-modules-3.13.0-27-generic N/A linux-firmware 1.127.2 RfKill: SourcePackage: linux StagingDrivers: zram UpgradeStatus: Upgraded to trusty on 2014-04-18 (47 days ago) dmi.bios.date: 12/23/2010 dmi.bios.vendor: American Megatrends Inc. dmi.bios.version: 2403 dmi.board.asset.tag: To Be Filled By O.E.M. dmi.board.name: M4A88T-M dmi.board.vendor: ASUSTeK Computer INC. dmi.board.version: Rev X.0x dmi.chassis.asset.tag: Asset-1234567890 dmi.chassis.type: 3 dmi.chassis.vendor: Chassis Manufacture dmi.chassis.version: Chassis Version dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr2403:bd12/23/2010:svnSystemmanufacturer:pnSystemProductName:pvrSystemVersion:rvnASUSTeKComputerINC.:rnM4A88T-M:rvrRevX.0x:cvnChassisManufacture:ct3:cvrChassisVersion: dmi.product.name: System Product Name dmi.product.version: System Version dmi.sys.vendor: System manufacturer To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1326567/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp
[Kernel-packages] [Bug 1326567] Re: [Asus M4A88T-M] problem with drm:drm_mode_addfb and drm:radeon_crtc_page_flip
Looking at the description of above macros at ./include/drm/drmP.h the logging is active only when drm.debug kernel option is set. Indeed I found this option in my /etc/default/grub file: GRUB_CMDLINE_LINUX_DEFAULT=plymouth:debug splash quiet drm.debug=0xe It seems the option is not default in recent Ubuntu release (at least 14.04), becouse restoring content of the file to default makes the line look like this: GRUB_CMDLINE_LINUX_DEFAULT=quiet splash How the drm.debug option did get to the configuration file I don't know. Maybe this is remainder from prevoius Ubuntu release ant stayed after upgrade ? Thus there is no need to recompile kernel modules, just remove the drm.debug kernel option from /etc/grub/default and regenerate grub configuration with update-grub. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1326567 Title: [Asus M4A88T-M] problem with drm:drm_mode_addfb and drm:radeon_crtc_page_flip Status in “linux” package in Ubuntu: Incomplete Bug description: My kern log is full of literally millions of entries like this: Jun 1 07:51:05 atkinson-phenomIIx4 kernel: [119346.952590] [drm:drm_mode_addfb], [FB:58] Jun 1 07:51:05 atkinson-phenomIIx4 kernel: [119346.952610] [drm:radeon_crtc_page_flip], flip-ioctl() cur_fbo = 8803de155400, cur_bbo = 880407586000 Jun 1 07:51:05 atkinson-phenomIIx4 kernel: [119346.952632] [drm:radeon_crtc_page_flip], flip-ioctl() cur_fbo = 8803de155400, cur_bbo = 880407586000 I have found places where other have the problem. But none seem to fix the problem. ProblemType: Bug DistroRelease: Ubuntu 14.04 Package: linux-image-3.13.0-27-generic 3.13.0-27.50 ProcVersionSignature: Ubuntu 3.13.0-27.50-generic 3.13.11 Uname: Linux 3.13.0-27-generic x86_64 ApportVersion: 2.14.1-0ubuntu3.2 Architecture: amd64 AudioDevicesInUse: USERPID ACCESS COMMAND /dev/snd/controlC2: oatkinson 3117 F pulseaudio /dev/snd/controlC1: oatkinson 3117 F pulseaudio /dev/snd/controlC0: oatkinson 3117 F pulseaudio CurrentDesktop: Unity Date: Wed Jun 4 16:21:04 2014 HibernationDevice: RESUME=UUID=17c46ec6-2541-4e10-9ec2-258d229f3bd8 InstallationDate: Installed on 2011-08-19 (1020 days ago) InstallationMedia: Ubuntu 11.04 Natty Narwhal - Release amd64 (20110427.1) IwConfig: eth0 no wireless extensions. lono wireless extensions. MachineType: System manufacturer System Product Name ProcFB: 0 radeondrmfb ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.13.0-27-generic root=UUID=3a8918dc-2e21-42ab-8e62-106b9b8f895e ro vesafb.invalid=1 drm.debug=0xe nopat plymouth:debug RelatedPackageVersions: linux-restricted-modules-3.13.0-27-generic N/A linux-backports-modules-3.13.0-27-generic N/A linux-firmware 1.127.2 RfKill: SourcePackage: linux StagingDrivers: zram UpgradeStatus: Upgraded to trusty on 2014-04-18 (47 days ago) dmi.bios.date: 12/23/2010 dmi.bios.vendor: American Megatrends Inc. dmi.bios.version: 2403 dmi.board.asset.tag: To Be Filled By O.E.M. dmi.board.name: M4A88T-M dmi.board.vendor: ASUSTeK Computer INC. dmi.board.version: Rev X.0x dmi.chassis.asset.tag: Asset-1234567890 dmi.chassis.type: 3 dmi.chassis.vendor: Chassis Manufacture dmi.chassis.version: Chassis Version dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr2403:bd12/23/2010:svnSystemmanufacturer:pnSystemProductName:pvrSystemVersion:rvnASUSTeKComputerINC.:rnM4A88T-M:rvrRevX.0x:cvnChassisManufacture:ct3:cvrChassisVersion: dmi.product.name: System Product Name dmi.product.version: System Version dmi.sys.vendor: System manufacturer To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1326567/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp
[Kernel-packages] [Bug 1326567] Re: [Asus M4A88T-M] problem with drm:drm_mode_addfb and drm:radeon_crtc_page_flip
There is also another place with produces the second type of message (drm:drm_mode_addfb) - in the file: linux-source-3.13.0/drivers/gpu/drm/drm_crtc.c: DRM_DEBUG_KMS([FB:%d]\n, fb-base.id); Commenting this and the line in prevoius post makes the kernel log to be quiet. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1326567 Title: [Asus M4A88T-M] problem with drm:drm_mode_addfb and drm:radeon_crtc_page_flip Status in “linux” package in Ubuntu: Incomplete Bug description: My kern log is full of literally millions of entries like this: Jun 1 07:51:05 atkinson-phenomIIx4 kernel: [119346.952590] [drm:drm_mode_addfb], [FB:58] Jun 1 07:51:05 atkinson-phenomIIx4 kernel: [119346.952610] [drm:radeon_crtc_page_flip], flip-ioctl() cur_fbo = 8803de155400, cur_bbo = 880407586000 Jun 1 07:51:05 atkinson-phenomIIx4 kernel: [119346.952632] [drm:radeon_crtc_page_flip], flip-ioctl() cur_fbo = 8803de155400, cur_bbo = 880407586000 I have found places where other have the problem. But none seem to fix the problem. ProblemType: Bug DistroRelease: Ubuntu 14.04 Package: linux-image-3.13.0-27-generic 3.13.0-27.50 ProcVersionSignature: Ubuntu 3.13.0-27.50-generic 3.13.11 Uname: Linux 3.13.0-27-generic x86_64 ApportVersion: 2.14.1-0ubuntu3.2 Architecture: amd64 AudioDevicesInUse: USERPID ACCESS COMMAND /dev/snd/controlC2: oatkinson 3117 F pulseaudio /dev/snd/controlC1: oatkinson 3117 F pulseaudio /dev/snd/controlC0: oatkinson 3117 F pulseaudio CurrentDesktop: Unity Date: Wed Jun 4 16:21:04 2014 HibernationDevice: RESUME=UUID=17c46ec6-2541-4e10-9ec2-258d229f3bd8 InstallationDate: Installed on 2011-08-19 (1020 days ago) InstallationMedia: Ubuntu 11.04 Natty Narwhal - Release amd64 (20110427.1) IwConfig: eth0 no wireless extensions. lono wireless extensions. MachineType: System manufacturer System Product Name ProcFB: 0 radeondrmfb ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.13.0-27-generic root=UUID=3a8918dc-2e21-42ab-8e62-106b9b8f895e ro vesafb.invalid=1 drm.debug=0xe nopat plymouth:debug RelatedPackageVersions: linux-restricted-modules-3.13.0-27-generic N/A linux-backports-modules-3.13.0-27-generic N/A linux-firmware 1.127.2 RfKill: SourcePackage: linux StagingDrivers: zram UpgradeStatus: Upgraded to trusty on 2014-04-18 (47 days ago) dmi.bios.date: 12/23/2010 dmi.bios.vendor: American Megatrends Inc. dmi.bios.version: 2403 dmi.board.asset.tag: To Be Filled By O.E.M. dmi.board.name: M4A88T-M dmi.board.vendor: ASUSTeK Computer INC. dmi.board.version: Rev X.0x dmi.chassis.asset.tag: Asset-1234567890 dmi.chassis.type: 3 dmi.chassis.vendor: Chassis Manufacture dmi.chassis.version: Chassis Version dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr2403:bd12/23/2010:svnSystemmanufacturer:pnSystemProductName:pvrSystemVersion:rvnASUSTeKComputerINC.:rnM4A88T-M:rvrRevX.0x:cvnChassisManufacture:ct3:cvrChassisVersion: dmi.product.name: System Product Name dmi.product.version: System Version dmi.sys.vendor: System manufacturer To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1326567/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp
[Kernel-packages] [Bug 1326567] Re: [Asus M4A88T-M] problem with drm:drm_mode_addfb and drm:radeon_crtc_page_flip
Thanks Christopher but I think my problem is pretty the same as in this bug report. Looking at the source code provided with Ubuntu 14.04 distribution it seems the reason is just some debug logging switched on in the kernel file: linux-source-3.13.0/drivers/gpu/drm/radeon/radeon_display.c There is radeon_crtc_page_flip function that contains: DRM_DEBUG_DRIVER(flip-ioctl() cur_fbo = %p, cur_bbo = %p\n, work-old_rbo, rbo); The command is called unconditionally. Solution seems to be simply removing or commenting out above line. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1326567 Title: [Asus M4A88T-M] problem with drm:drm_mode_addfb and drm:radeon_crtc_page_flip Status in “linux” package in Ubuntu: Incomplete Bug description: My kern log is full of literally millions of entries like this: Jun 1 07:51:05 atkinson-phenomIIx4 kernel: [119346.952590] [drm:drm_mode_addfb], [FB:58] Jun 1 07:51:05 atkinson-phenomIIx4 kernel: [119346.952610] [drm:radeon_crtc_page_flip], flip-ioctl() cur_fbo = 8803de155400, cur_bbo = 880407586000 Jun 1 07:51:05 atkinson-phenomIIx4 kernel: [119346.952632] [drm:radeon_crtc_page_flip], flip-ioctl() cur_fbo = 8803de155400, cur_bbo = 880407586000 I have found places where other have the problem. But none seem to fix the problem. ProblemType: Bug DistroRelease: Ubuntu 14.04 Package: linux-image-3.13.0-27-generic 3.13.0-27.50 ProcVersionSignature: Ubuntu 3.13.0-27.50-generic 3.13.11 Uname: Linux 3.13.0-27-generic x86_64 ApportVersion: 2.14.1-0ubuntu3.2 Architecture: amd64 AudioDevicesInUse: USERPID ACCESS COMMAND /dev/snd/controlC2: oatkinson 3117 F pulseaudio /dev/snd/controlC1: oatkinson 3117 F pulseaudio /dev/snd/controlC0: oatkinson 3117 F pulseaudio CurrentDesktop: Unity Date: Wed Jun 4 16:21:04 2014 HibernationDevice: RESUME=UUID=17c46ec6-2541-4e10-9ec2-258d229f3bd8 InstallationDate: Installed on 2011-08-19 (1020 days ago) InstallationMedia: Ubuntu 11.04 Natty Narwhal - Release amd64 (20110427.1) IwConfig: eth0 no wireless extensions. lono wireless extensions. MachineType: System manufacturer System Product Name ProcFB: 0 radeondrmfb ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.13.0-27-generic root=UUID=3a8918dc-2e21-42ab-8e62-106b9b8f895e ro vesafb.invalid=1 drm.debug=0xe nopat plymouth:debug RelatedPackageVersions: linux-restricted-modules-3.13.0-27-generic N/A linux-backports-modules-3.13.0-27-generic N/A linux-firmware 1.127.2 RfKill: SourcePackage: linux StagingDrivers: zram UpgradeStatus: Upgraded to trusty on 2014-04-18 (47 days ago) dmi.bios.date: 12/23/2010 dmi.bios.vendor: American Megatrends Inc. dmi.bios.version: 2403 dmi.board.asset.tag: To Be Filled By O.E.M. dmi.board.name: M4A88T-M dmi.board.vendor: ASUSTeK Computer INC. dmi.board.version: Rev X.0x dmi.chassis.asset.tag: Asset-1234567890 dmi.chassis.type: 3 dmi.chassis.vendor: Chassis Manufacture dmi.chassis.version: Chassis Version dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr2403:bd12/23/2010:svnSystemmanufacturer:pnSystemProductName:pvrSystemVersion:rvnASUSTeKComputerINC.:rnM4A88T-M:rvrRevX.0x:cvnChassisManufacture:ct3:cvrChassisVersion: dmi.product.name: System Product Name dmi.product.version: System Version dmi.sys.vendor: System manufacturer To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1326567/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp
[Kernel-packages] [Bug 1326567] Re: [Asus M4A88T-M] problem with drm:drm_mode_addfb and drm:radeon_crtc_page_flip
I have similiar problem but with different motherboard - K8T Neo2-F and Radeon 9550. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1326567 Title: [Asus M4A88T-M] problem with drm:drm_mode_addfb and drm:radeon_crtc_page_flip Status in “linux” package in Ubuntu: Incomplete Bug description: My kern log is full of literally millions of entries like this: Jun 1 07:51:05 atkinson-phenomIIx4 kernel: [119346.952590] [drm:drm_mode_addfb], [FB:58] Jun 1 07:51:05 atkinson-phenomIIx4 kernel: [119346.952610] [drm:radeon_crtc_page_flip], flip-ioctl() cur_fbo = 8803de155400, cur_bbo = 880407586000 Jun 1 07:51:05 atkinson-phenomIIx4 kernel: [119346.952632] [drm:radeon_crtc_page_flip], flip-ioctl() cur_fbo = 8803de155400, cur_bbo = 880407586000 I have found places where other have the problem. But none seem to fix the problem. ProblemType: Bug DistroRelease: Ubuntu 14.04 Package: linux-image-3.13.0-27-generic 3.13.0-27.50 ProcVersionSignature: Ubuntu 3.13.0-27.50-generic 3.13.11 Uname: Linux 3.13.0-27-generic x86_64 ApportVersion: 2.14.1-0ubuntu3.2 Architecture: amd64 AudioDevicesInUse: USERPID ACCESS COMMAND /dev/snd/controlC2: oatkinson 3117 F pulseaudio /dev/snd/controlC1: oatkinson 3117 F pulseaudio /dev/snd/controlC0: oatkinson 3117 F pulseaudio CurrentDesktop: Unity Date: Wed Jun 4 16:21:04 2014 HibernationDevice: RESUME=UUID=17c46ec6-2541-4e10-9ec2-258d229f3bd8 InstallationDate: Installed on 2011-08-19 (1020 days ago) InstallationMedia: Ubuntu 11.04 Natty Narwhal - Release amd64 (20110427.1) IwConfig: eth0 no wireless extensions. lono wireless extensions. MachineType: System manufacturer System Product Name ProcFB: 0 radeondrmfb ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.13.0-27-generic root=UUID=3a8918dc-2e21-42ab-8e62-106b9b8f895e ro vesafb.invalid=1 drm.debug=0xe nopat plymouth:debug RelatedPackageVersions: linux-restricted-modules-3.13.0-27-generic N/A linux-backports-modules-3.13.0-27-generic N/A linux-firmware 1.127.2 RfKill: SourcePackage: linux StagingDrivers: zram UpgradeStatus: Upgraded to trusty on 2014-04-18 (47 days ago) dmi.bios.date: 12/23/2010 dmi.bios.vendor: American Megatrends Inc. dmi.bios.version: 2403 dmi.board.asset.tag: To Be Filled By O.E.M. dmi.board.name: M4A88T-M dmi.board.vendor: ASUSTeK Computer INC. dmi.board.version: Rev X.0x dmi.chassis.asset.tag: Asset-1234567890 dmi.chassis.type: 3 dmi.chassis.vendor: Chassis Manufacture dmi.chassis.version: Chassis Version dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr2403:bd12/23/2010:svnSystemmanufacturer:pnSystemProductName:pvrSystemVersion:rvnASUSTeKComputerINC.:rnM4A88T-M:rvrRevX.0x:cvnChassisManufacture:ct3:cvrChassisVersion: dmi.product.name: System Product Name dmi.product.version: System Version dmi.sys.vendor: System manufacturer To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1326567/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp