NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/49398 (i386-current GENERIC (i915drmkms) boot hangs if monitor powered off)



The following reply was made to PR kern/49398; it has been noted by GNATS.

From: "John D. Baker" <jdbaker%mylinuxisp.com@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: kern/49398 (i386-current GENERIC (i915drmkms) boot hangs if
 monitor powered off)
Date: Tue, 20 Oct 2015 22:42:46 -0500 (CDT)

 On Tue, 20 Oct 2015, John D. Baker wrote:
 
 > So, now look at the "detect()" function as it relates to i915 things...
 
 In "intel_crt.c", in "intel_crt_load_detect()", the last debugging
 printf displayed is in the construct:
 
 [...]
         if (!IS_GEN2(dev)) {
 		/* ... not taken ... */
         } else {
 [...]
 printf("In %s: line %d\n", __FILE__, __LINE__);
                         
                 /*      
                  * Wait for the border to be displayed
                  */
                 while (I915_READ(pipe_dsl_reg) >= vactive)
                         ;
                 while ((dsl = I915_READ(pipe_dsl_reg)) <= vsample)
                         ;
 [...]
         }
 
 Alas, I wasn't paying attention so I don't know if it's the first or
 the second spin loop that is stuck.  Adding another line and going again.
 
 -- 
 |/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
 |\ / jdbaker[snail]mylinuxisp[flyspeck]com    OpenBSD            FreeBSD
 | X  No HTML/proprietary data in email.   BSD just sits there and works!
 |/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645
 


Home | Main Index | Thread Index | Old Index