Re: [CentOS] soft lockup after set multicast_router of bridge and it's port to 2

2018-01-10 Thread wuzhouhui

Never mind, commit 1a040eaca1a2 (bridge: fix multicast router rlist endless 
loop)
fixes it.

> -原始邮件-
> 发件人: wuzhouhui 
> 发送时间: 2018-01-10 15:19:09 (星期三)
> 收件人: centos@centos.org
> 抄送: wuzhouhui14 
> 主题: soft lockup after set multicast_router of bridge and it's port to 2
> 
> OS: CentOS 6.5.
> 
> After I set multicast_router of bridge and it's port to 2, like following:
> echo 2 > /sys/devices/virtual/net/eth81/bridge/multicast_router
> echo 2 > /sys/devices/virtual/net/bond2/brport/multicast_router
> Then soft lockup occured:
> Message from syslogd@node-0 at Jan  9 15:47:12 ...
>  kernel:BUG: soft lockup - CPU#0 stuck for 61s! [swapper:0]
> And the call trace is
> RIP: 0010:[]  [] 
> br_multicast_flood+0x88/0x140 [bridge]
> RSP: 0018:88013bc038f0  EFLAGS: 0246
> RAX: 88404f816020 RBX: 88013bc03940 RCX: 88204e40a640
> RDX: 882002b9ce01 RSI: 882002b9ce80 RDI: 
> RBP: 8100bb93 R08: 0001 R09: ff09f4a1
> R10: 88202c884070 R11:  R12: 88013bc03870
> R13: 882002b9ce80 R14: 88013bc03860 R15: 8151b225
> FS:  () GS:88013bc0() 
> knlGS:
> CS:  0010 DS: 0018 ES: 0018 CR0: 8005003b
> CR2: 7fa11a942000 CR3: 01a85000 CR4: 001407e0
> DR0:  DR1:  DR2: 
> DR3:  DR6: fffe0ff0 DR7: 0400
> Process swapper (pid: 0, threadinfo 81a0, task 
> 81a8d020)
> Stack:
>  880be7e100028813 882002b9ce80 882002b9ce80 a04f3930
>  880be7e1 882002b9ce80 882002b9ce80 88200286c042
>  88202ae7c6e0 882002b9ceb8 88013bc03950 a04f36d5
> Call Trace:
>   
>  [] ? __br_forward+0x0/0xd0 [bridge]
>  [] ? br_multicast_forward+0x15/0x20 [bridge]
>  [] ? br_handle_frame_finish+0x144/0x2a0 [bridge]
>  [] ? br_nf_pre_routing_finish+0x238/0x350 [bridge]
>  [] ? br_nf_pre_routing+0x48b/0x7b0 [bridge]
>  [] ? __kfree_skb+0x47/0xa0
>  [] ? nf_iterate+0x69/0xb0
>  [] ? br_handle_frame_finish+0x0/0x2a0 [bridge]
>  [] ? nf_hook_slow+0x76/0x120
>  [] ? br_handle_frame_finish+0x0/0x2a0 [bridge]
>  [] ? br_handle_frame+0x18c/0x250 [bridge]
>  [] ? __netif_receive_skb+0x529/0x750
>  [] ? __alloc_skb+0x7a/0x180
>  [] ? netif_receive_skb+0x58/0x60
>  [] ? napi_skb_finish+0x50/0x70
>  [] ? napi_gro_receive+0x39/0x50
>  [] ? bnx2x_rx_int+0x83f/0x1630 [bnx2x]
>  [] ? perf_event_task_sched_out+0x4c/0x70
>  [] ? bnx2x_poll+0x23e/0x2f0 [bnx2x]
>  [] ? net_rx_action+0x103/0x2f0
>  [] ? __do_softirq+0xc1/0x1e0
>  [] ? handle_IRQ_event+0x60/0x170
>  [] ? call_softirq+0x1c/0x30
>  [] ? do_softirq+0x65/0xa0
>  [] ? irq_exit+0x85/0x90
>  [] ? do_IRQ+0x75/0xf0
>  [] ? ret_from_intr+0x0/0x11
>  
>  [] ? mwait_idle+0x77/0xd0
>  [] ? atomic_notifier_call_chain+0x1a/0x20
>  [] ? cpu_idle+0xb6/0x110
>  [] ? rest_init+0x7a/0x80
>  [] ? start_kernel+0x405/0x411
>  [] ? x86_64_start_reservations+0x125/0x129
>  [] ? x86_64_start_kernel+0x115/0x124
> 
> Does anyone know the reason?
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] 1600x900 not available

2018-01-10 Thread Sean Smith
My laptop is a Dell XPS-13 running CentOS 7.  It has a 13" 1920x1080 
screen and it's a bit difficult for my mid-40s eyesight.  Fedora and 
Debian, on this laptop, give me the option of choosing 1600x900 which is 
much easier for me to read but CentOS doesn't show this resolution as 
available.


I followed the steps I found in a post on stackexchange using xrandr, 
substituting 1600x900 where applicable and it worked but, once I 
rebooted, it went back to 1920x1080 with no 1600x900 option in 
settings-display.


Is there a way I can add 1600x900 resolution the list of available 
resolutions in settings-display?


Thanks,

Sean



___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] 1600x900 not available

2018-01-10 Thread Giles Coochey

On 10/01/2018 14:43, Sean Smith wrote:
My laptop is a Dell XPS-13 running CentOS 7.  It has a 13" 1920x1080 
screen and it's a bit difficult for my mid-40s eyesight.  Fedora and 
Debian, on this laptop, give me the option of choosing 1600x900 which 
is much easier for me to read but CentOS doesn't show this resolution 
as available.


I followed the steps I found in a post on stackexchange using xrandr, 
substituting 1600x900 where applicable and it worked but, once I 
rebooted, it went back to 1920x1080 with no 1600x900 option in 
settings-display.


Is there a way I can add 1600x900 resolution the list of available 
resolutions in settings-display? 
Bit of a generic answer, and not a solution, but the problem for you 
isn't the resolution, it is the DPI you have set, isn't there a way for 
you to change the DPI without losing out on the quality of the screen?

___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] 1600x900 not available

2018-01-10 Thread Sean Smith
I have no idea how.  All I can find is the Hi-DPi settings in 
Gnome-Tweak but, of course, it only lets  me choose to scale from "1" to 
"2" which makes things way too big.




On 01/10/2018 08:54 AM, Giles Coochey wrote:


Is there a way I can add 1600x900 resolution the list of available 
resolutions in settings-display? 
Bit of a generic answer, and not a solution, but the problem for you 
isn't the resolution, it is the DPI you have set, isn't there a way 
for you to change the DPI without losing out on the quality of the 
screen?

___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos

se
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] 1600x900 not available

2018-01-10 Thread Scott Robbins
On Wed, Jan 10, 2018 at 08:43:08AM -0600, Sean Smith wrote:
> My laptop is a Dell XPS-13 running CentOS 7.  It has a 13" 1920x1080
> screen and it's a bit difficult for my mid-40s eyesight.  Fedora and
> Debian, on this laptop, give me the option of choosing 1600x900 which is
> much easier for me to read but CentOS doesn't show this resolution as
> available.
> 
> I followed the steps I found in a post on stackexchange using xrandr,
> substituting 1600x900 where applicable and it worked but, once I
> rebooted, it went back to 1920x1080 with no 1600x900 option in
> settings-display.

You can put the xrandr command in your .xinitrc if you boot into text mode.
I'm sure there's a place to put it for booting into GUI mode as well,
though I'm not sure of the location.

You can also play around with .Xdefaults--sometimes, setting dpi can help.
For example, my yoga2 has, in .Xdefaults

Xft.dpi:192

Which increases font size.  

-- 
Scott Robbins
PGP keyID EB3467D6
( 1B48 077D 66F6 9DB0 FDC2 A409 FA54 EB34 67D6 )
gpg --keyserver pgp.mit.edu --recv-keys EB3467D6

___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] 1600x900 not available

2018-01-10 Thread Scott Robbins
On Wed, Jan 10, 2018 at 09:25:04AM -0600, Sean Smith wrote:
> I have no idea how.  All I can find is the Hi-DPi settings in Gnome-Tweak
> but, of course, it only lets  me choose to scale from "1" to "2" which
> makes things way too big.
> 

It's better to not top post if possible.  :)  

There is an xrandr scale command as well. If for example, your output is
eDP1 then 
xrandr --output eDP1 --scale .8x.8  

The smaller the scaling, the larger the size, so I think that .5x.5 would
be what the tweak tool is offering.

-- 
Scott Robbins
PGP keyID EB3467D6
( 1B48 077D 66F6 9DB0 FDC2 A409 FA54 EB34 67D6 )
gpg --keyserver pgp.mit.edu --recv-keys EB3467D6

___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos