daily CVS update output

2022-01-04 Thread NetBSD source update


Updating src tree:
P src/distrib/sets/lists/debug/ad.mipsel
P src/etc/Makefile
P src/lib/libc/gen/exec.3
P src/lib/libc/rpc/getnetpath.c
P src/lib/libc/stdlib/getopt_long.3
P src/libexec/httpd/CHANGES
P src/libexec/httpd/bozohttpd.8
P src/libexec/httpd/bozohttpd.c
P src/libexec/httpd/bozohttpd.h
P src/sys/arch/aarch64/aarch64/pmap.c
P src/sys/arch/evbarm/hdl_g/hdlg_machdep.c
P src/sys/arch/mips/include/pmap.h
P src/sys/conf/Makefile.kern.inc

Updating xsrc tree:


Killing core files:



Updating release-8 src tree (netbsd-8):

Updating release-8 xsrc tree (netbsd-8):



Updating release-9 src tree (netbsd-9):

Updating release-9 xsrc tree (netbsd-9):




Updating file list:
-rw-rw-r--  1 srcmastr  netbsd  43623204 Jan  5 03:11 ls-lRA.gz


Re: HEADS UP: Merging drm update (Lenovo X230 mode switch issue in UEFI mode only, BIOS works)

2022-01-04 Thread RVP

On Tue, 4 Jan 2022, Matthias Petermann wrote:

RVP's tip was good and I can also confirm on my side that the problem is not 
fundamentally caused by the actual UEFI boot process, but that only the 
enabling/disabling of the CSM affects it. Also, the problem did not exist in 
NetBSD 9.2 at all.




Can you check something else as well?

Compile a kernel with:

-
# Give us a choice of fonts based on monitor size
#optionsFONT_BOLD8x16
#optionsFONT_BOLD16x32
options FONT_SPLEEN12x24
-

ie. with a non-standard font. On my Asus X202E laptop (in CSM mode) the
system comes up OK, but, X hangs as soon as you start it with this
message being repeated every 3 secs. in the logs. (Power-off using the
power button works correctly and the system does an orderly shutdown
which is why I could collect these logs.)

-
Dec 27 09:04:51 x202e /netbsd: [ 234.6986941] heartbeat rcs0 heartbeat 
{prio:-2147483645} not ticking
Dec 27 09:04:51 x202e /netbsd: [ 234.6986941] heartbeat Awake? 4
Dec 27 09:04:51 x202e /netbsd: [ 234.6986941] heartbeat Barriers?: no
Dec 27 09:04:51 x202e /netbsd: [  34.6986941] heartbeat Latency: 27us
Dec 27 09:04:51 x202e /netbsd: [ 234.6986941] heartbeat Heartbeat: 3000 
ms ago
Dec 27 09:04:51 x202e /netbsd: [ 234.6986941] heartbeat Reset count: 0 
(global 0)
Dec 27 09:04:51 x202e /netbsd: [ 234.6986941] heartbeat Requests:
Dec 27 09:04:51 x202e /netbsd: [ 234.6986941] heartbeat active  
3:4*-  @ 6000ms: X[2108]
Dec 27 09:04:51 x202e /netbsd: [ 234.6986941] heartbeat 
ring->start:  0x7fffa000
Dec 27 09:04:51 x202e /netbsd: [ 234.6986941] heartbeat 
ring->head:   0x0248
Dec 27 09:04:51 x202e /netbsd: [ 234.6986941] heartbeat 
ring->tail:   0x04a8
Dec 27 09:04:51 x202e /netbsd: [ 234.6986941] heartbeat 
ring->emit:   0x04a8
Dec 27 09:04:51 x202e /netbsd: [ 234.6986941] heartbeat 
ring->space:  0x3d60
Dec 27 09:04:51 x202e /netbsd: [  34.6986941] heartbeat 
ring->hwsp:   0x7fffe100
Dec 27 09:04:51 x202e /netbsd: [ 234.6986941] heartbeat [head 0248, postfix 
0300, tail 0318, batch 0x_5000]:
Dec 27 09:04:51 x202e /netbsd: [ 234.6986941] warning: 
/usr/src/sys/external/bsd/drm2/dist/drm/i915/gt/intel_engine_cs.c:1234: 
WARN_ON_ONCE(hex_dump_to_buffer(buf + pos, len - pos, rowsize, sizeof(u32), line, 
sizeof(line), 0) >= sizeof(line))heartbeat [] 027a 02001000  
 027a 1c4c1501 80f0ff7f 
Dec 27 09:04:51 x202e /netbsd: [ 234.6986941] 027a a1501001 80f0ff7f 
 0111 2022 f
Dec 27 09:04:51 x202e /netbsd: [ 234.6986941] heartbeat [0020] 027a 
a1501001 80f0ff7f  0111 2022  0111
Dec 27 09:04:51 x202e /netbsd: [ 234.6986941] 2822 bf7f 01004012 
2822 00f0ff7f 0111 c
Dec 27 09:04:51 x202e /netbsd: [ 234.6986941] heartbeat [0040] 2822 
bf7f 01004012 2822 00f0ff7f 0111 c020 00020002
Dec 27 09:04:51 x202e /netbsd: [ 234.6986941] 027a a1501001 80f0ff7f 
 027a 02001000 0
Dec 27 09:04:51 x202e /netbsd: [ 234.6986941] 2822 60] 027a 
a1501001 80f0ff7f  027a 02001000  
Dec 27 09:04:51 x202e /netbsd: [ 234.6986941] 027a 1c4c1501 80f0ff7f 
 0004  0
Dec 27 09:04:51 x202e /netbsd: [ 234.6986941] heartbeat [0080] 027a 
1c4c1501 80f0ff7f  0004  000c 0c01ff7f
Dec 27 09:04:51 x202e /netbsd: [ 234.6986941] heartbeat [0080] 027a 
1c4c1501 80f0ff7f 0 0
Dec 27 09:04:51 x202e /netbsd: [ 234.6986941] heartbeat [0080]  
0104 8018 0050 00018018 a010 027a a1501001
Dec 27 09:04:51 x202e /netbsd: [ 234.6986941] 00e1ff7f 0400 0001 

Dec 27 09:04:51 x202e /netbsd: 
Dec 27 09:04:51 x202e /netbsd: [ 234.6986941] heartbeat 	On hold?: 0

Dec 27 09:04:51 x202e /netbsd: [ 234.6986941] heartbeat MMIO base:  
0x2000
Dec 27 09:04:51 x202e /netbsd: [ 234.6986941] heartbeat CCID: 0x7fff010d
Dec 27 09:04:51 x202e /netbsd: [ 234.6986941] heartbeat RING_START: 
0x7fffa000
Dec 27 09:04:51 x202e /netbsd: [ 234.6986941] heartbeat RING_HEAD:  
0x02e8
Dec 27 09:04:51 x202e /netbsd: [ 234.6986941] heartbeat RING_TAIL:  
0x04a8
Dec 27 09:04:51 x202e /netbsd: [ 234.6986941] heartbeat RING_CTL:   
0x3001
Dec 27 09:04:51 x202e /netbsd: [ 234.6986941] heartbeat RING_MODE:  
0x4000
Dec 27 09:04:51 x202e /netbsd: [ 234.6986941] heartbeat RING_IMR: 
ffde
Dec 27 09:04:51 x202e /netbsd: [ 234.6986941] heartbeat ACTHD:  
0x_02e8
Dec 27 09:04:51 x202e /netbsd: [ 234.6986941] heartbeat BBADDR: 
0x_7fff1230
Dec 27 09:04:51 x202e /netbsd: [ 234.6986941] heartbeat DMA_FADDR: 
0x_7fffa2e8
Dec 27 09:04:51 x202e /netbsd: [ 234.6986941] heartbeat 

Re: HEADS UP: Merging drm update

2022-01-04 Thread Ryo ONODERA
Hi,

Taylor R Campbell  writes:

>> Date: Mon, 03 Jan 2022 22:08:26 +0900
>> From: Ryo ONODERA 
>> 
>> Ryo ONODERA  writes:
>> 
>> > __engines_record_defaults
>> > intel_gt_wait_for_idle
>> > intel_gt_retire_requests_timeout
>> > dma_fence_wait_timeout
>> > i915_fence_wait (via *fence->ops->wait)
>> > i915_request_wait
>> >
>> > In i915_request_wait, DRM_SPIN_TIMED_WAIT_UNTIL sets timeout=0
>> > and i915_request_wait returns timeout=-ETIME.
>
> Thanks, I think there's something going wrong either with submitting
> requests or noticing that they're submitted, but it only happens on
> some machines.  It might be related to some of the other panics around
> requests, like the cv_is_valid panic in signal_irq_work (56561), or it
> might be something is mapped wrong or there's a missing cache flush /
> bus_dmamap_sync...  Will investigate when I have a chance.

Thank you.

I will try to figure out my problem.

-- 
Ryo ONODERA // r...@tetera.org
PGP fingerprint = 82A2 DC91 76E0 A10A 8ABB  FD1B F404 27FA C7D1 15F3