lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20130228161714.GV4007@schottelius.org>
Date:	Thu, 28 Feb 2013 17:17:14 +0100
From:	Nico Schottelius <nico-lkml-20130225@...ottelius.org>
To:	LKML <linux-kernel@...r.kernel.org>
Subject: [BUG] bcm5974: Mouse disappears after suspend/resume

Hello,

for some kernel versions (probably starting around 3.5) I see that
after some amount of suspend & resume cycles, the mouse is not
visible anymore.  partly [0] and full dmesg output attached.

Hardware is the MacBook Air 4.2.

Last tested kernel is 3.7.9-1-ARCH. Now the interesting bits:

Unloading and reloading the module SEVERAL times, makes it work again:

    [15:48] brief:~# while true; do rmmod bcm5974; sleep 0.3; modprobe bcm5974; sleep 0.5; done

I need to let the loop run until I see

    [101637.155073] usbcore: registered new interface driver bcm5974

in dmesg. Afterwards I reset the mouse sensitivity using

    xinput --set-prop bcm5974 "Trackpad Sensitivity" 0.3

Does anyone spot the source of the problem / is anyone aware of a working
version?

Cheers,

Nico

[0] 

[101585.841496] X: page allocation failure: order:4, mode:0xc0d0
[101585.841500] Pid: 692, comm: X Tainted: G        W    3.7.9-1-ARCH #1
[101585.841502] Call Trace:
[101585.841509]  [<ffffffff811266d9>] warn_alloc_failed+0xe9/0x140
[101585.841513]  [<ffffffff814b3d72>] ? __alloc_pages_direct_compact+0x1b8/0x1ca
[101585.841516]  [<ffffffff8112a17f>] __alloc_pages_nodemask+0x6ef/0x960
[101585.841519]  [<ffffffff81165fd0>] alloc_pages_current+0xb0/0x120
[101585.841522]  [<ffffffff8112598e>] __get_free_pages+0xe/0x50
[101585.841526]  [<ffffffff8116cf49>] kmalloc_order_trace+0x39/0xf0
[101585.841529]  [<ffffffff8116fd8a>] __kmalloc+0x17a/0x190
[101585.841541]  [<ffffffffa04420d5>] evdev_open+0x85/0x1e0 [evdev]
[101585.841545]  [<ffffffff81188d2b>] chrdev_open+0x9b/0x1c0
[101585.841548]  [<ffffffff81182b43>] do_dentry_open+0x203/0x290
[101585.841550]  [<ffffffff81188c90>] ? cdev_put+0x30/0x30
[101585.841553]  [<ffffffff81182e85>] finish_open+0x35/0x50
[101585.841555]  [<ffffffff81192c1e>] do_last+0x31e/0xeb0
[101585.841558]  [<ffffffff8118fba8>] ? link_path_walk+0x78/0x950
[101585.841561]  [<ffffffff81122589>] ? __generic_file_aio_write+0x1b9/0x3b0
[101585.841563]  [<ffffffff8119386c>] path_openat+0xbc/0x530
[101585.841565]  [<ffffffff81194051>] do_filp_open+0x41/0xa0
[101585.841567]  [<ffffffff811a0f59>] ? __alloc_fd+0xe9/0x140
[101585.841570]  [<ffffffff81183d94>] do_sys_open+0xf4/0x1e0
[101585.841573]  [<ffffffff81183ea1>] sys_open+0x21/0x30
[101585.841577]  [<ffffffff814c365d>] system_call_fastpath+0x1a/0x1f
[101585.841578] Mem-Info:
[101585.841579] Node 0 DMA per-cpu:
[101585.841581] CPU    0: hi:    0, btch:   1 usd:   0
[101585.841582] CPU    1: hi:    0, btch:   1 usd:   0
[101585.841584] CPU    2: hi:    0, btch:   1 usd:   0
[101585.841585] CPU    3: hi:    0, btch:   1 usd:   0
[101585.841586] Node 0 DMA32 per-cpu:
[101585.841588] CPU    0: hi:  186, btch:  31 usd:   0
[101585.841589] CPU    1: hi:  186, btch:  31 usd:   0
[101585.841590] CPU    2: hi:  186, btch:  31 usd:   0
[101585.841591] CPU    3: hi:  186, btch:  31 usd:   0
[101585.841592] Node 0 Normal per-cpu:
[101585.841593] CPU    0: hi:  186, btch:  31 usd:   0
[101585.841595] CPU    1: hi:  186, btch:  31 usd:  42
[101585.841596] CPU    2: hi:  186, btch:  31 usd:   0
[101585.841597] CPU    3: hi:  186, btch:  31 usd:   0
[101585.841600] active_anon:177056 inactive_anon:185005 isolated_anon:0
 active_file:209006 inactive_file:216379 isolated_file:0
 unevictable:3185 dirty:242 writeback:0 unstable:0
 free:98036 slab_reclaimable:63082 slab_unreclaimable:8364
 mapped:38372 shmem:75471 pagetables:8538 bounce:0
 free_cma:0
[101585.841603] Node 0 DMA free:15360kB min:252kB low:312kB high:376kB active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:0kB unevictable:0kB isolated(anon):0kB isolated(file):0kB present:15104kB mlocked:0kB dirty:0kB writeback:0kB mapped:0kB shmem:0kB slab_reclaimable:0kB slab_unreclaimable:0kB kernel_stack:0kB pagetables:0kB unstable:0kB bounce:0kB free_cma:0kB writeback_tmp:0kB pages_scanned:0 all_unreclaimable? yes
[101585.841607] lowmem_reserve[]: 0 2137 3899 3899
[101585.841610] Node 0 DMA32 free:324604kB min:36904kB low:46128kB high:55356kB active_anon:210168kB inactive_anon:238856kB active_file:575428kB inactive_file:604712kB unevictable:1692kB isolated(anon):0kB isolated(file):0kB present:2188752kB mlocked:1692kB dirty:724kB writeback:0kB mapped:71080kB shmem:118084kB slab_reclaimable:206552kB slab_unreclaimable:7012kB kernel_stack:1824kB pagetables:6576kB unstable:0kB bounce:0kB free_cma:0kB writeback_tmp:0kB pages_scanned:0 all_unreclaimable? no
[101585.841614] lowmem_reserve[]: 0 0 1762 1762
[101585.841616] Node 0 Normal free:52180kB min:30420kB low:38024kB high:45628kB active_anon:498056kB inactive_anon:501164kB active_file:260596kB inactive_file:260804kB unevictable:11048kB isolated(anon):0kB isolated(file):0kB present:1804320kB mlocked:11048kB dirty:244kB writeback:0kB mapped:82408kB shmem:183800kB slab_reclaimable:45776kB slab_unreclaimable:26444kB kernel_stack:1632kB pagetables:27576kB unstable:0kB bounce:0kB free_cma:0kB writeback_tmp:0kB pages_scanned:28 all_unreclaimable? no
[101585.841620] lowmem_reserve[]: 0 0 0 0
[101585.841623] Node 0 DMA: 0*4kB 0*8kB 0*16kB 0*32kB 0*64kB 0*128kB 0*256kB 0*512kB 1*1024kB 1*2048kB 3*4096kB = 15360kB
[101585.841629] Node 0 DMA32: 16067*4kB 19303*8kB 5883*16kB 365*32kB 1*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 324564kB
[101585.841634] Node 0 Normal: 11027*4kB 497*8kB 0*16kB 0*32kB 0*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 1*4096kB = 52180kB
[101585.841640] 522097 total pagecache pages
[101585.841641] 20384 pages in swap cache
[101585.841643] Swap cache stats: add 6262319, delete 6241935, find 2616629/3353715
[101585.841644] Free swap  = 8055800kB
[101585.841645] Total swap = 8386556kB
[101585.851330] 1048048 pages RAM
[101585.851339] 57808 pages reserved
[101585.851345] 1273115 pages shared
[101585.851350] 790534 pages non-shared



-- 
PGP key: 7ED9 F7D3 6B10 81D7 0EC5  5C09 D7DC C8E4 3187 7DF0

View attachment "dmesg.mouse-does-not-work-3.7.5-1-ARCH" of type "text/plain" (171285 bytes)

View attachment "dmesg.mouse-does-not-work-3.7.9-1-ARCH" of type "text/plain" (300145 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ