Re: Early panic at boot: exclusive sleep mutex hdac1 (HDA driver mutex) ...

2015-03-22 Thread David Wolfskill
On Thu, Mar 19, 2015 at 07:23:19AM -0700, David Wolfskill wrote:
> As noted in a thread on -mobile yesterday, I'm replacing my long-serving
> Dell M4400 laptop with a newer model (M4800) -- you can see -mobile
> archives for additional details if you're interested.
> 
> What prompted this note was:
> * When I tried to boot head/i386, I got a rather quick panic (well
>   before any file systems were mounted -- and before any swap space was
>   allocated, so I didn't have a place for a crash dump.
> ...

I was able to copy over a GENERIC head/r280342 kernel from my build
machine to the laptop; that booted, and I was then able to do a source
"upgrade" on the laptop:

FreeBSD g1-254.catwhisker.org 11.0-CURRENT FreeBSD 11.0-CURRENT #1546  
r280342M/280343:1100066: Sun Mar 22 10:45:54 PDT 2015 
r...@g1-254.catwhisker.org:/common/S4/obj/usr/src/sys/CANARY  i386

So I should be able to resume daily tracking of head on my laptop. :-)

(I also reviewed my kernel config file; it turns out that all of
the sound-related stuff had been commented out, so I removed all
of those lines: all other things being equal, I prefer "simpler.")

Peace,
david
-- 
David H. Wolfskill  da...@catwhisker.org
Those who murder in the name of God or prophet are blasphemous cowards.

See http://www.catwhisker.org/~david/publickey.gpg for my public key.


pgpgaoesoG5S7.pgp
Description: PGP signature


Early panic at boot: exclusive sleep mutex hdac1 (HDA driver mutex) ...

2015-03-19 Thread David Wolfskill
As noted in a thread on -mobile yesterday, I'm replacing my long-serving
Dell M4400 laptop with a newer model (M4800) -- you can see -mobile
archives for additional details if you're interested.

What prompted this note was:
* When I tried to boot head/i386, I got a rather quick panic (well
  before any file systems were mounted -- and before any swap space was
  allocated, so I didn't have a place for a crash dump.

* Much to my (positive) surprise, when I looked at /var/run/dmesg.bo0t
  (after having rebooted from my stable/10 slice, and in the process
  of reviewing my kernel config to see if I could configure around
  the panic)), I found some verbose boot messages from the attempted
  boot under head.

So that latter actually provided a bit of information that might be
useful for debugging, so I copied it to
, as dmesg.boot.

Here's an excerpt from it, in case that's useful.  (I didn't want to
spam the world with the whole 74KB thing):

FreeBSD 11.0-CURRENT #1544  r280166M/280167:1100065: Tue Mar 17 07:04:10 PDT 
2015
r...@g1-251.catwhisker.org:/common/S4/obj/usr/src/sys/CANARY i386
FreeBSD clang version 3.6.0 (tags/RELEASE_360/final 230434) 20150225
WARNING: WITNESS option enabled, expect reduced performance.
WARNING: DIAGNOSTIC option enabled, expect reduced performance.
MEMGUARD DEBUGGING ALLOCATOR INITIALIZED:
MEMGUARD map base: 0xc7c0
MEMGUARD map size: 104964 KBytes
VT: running with driver "vga".
CPU: Intel(R) Core(TM) i7-4810MQ CPU @ 2.80GHz (2793.59-MHz 686-class CPU)
  Origin="GenuineIntel"  Id=0x306c3  Family=0x6  Model=0x3c  Stepping=3
  
Features=0xbfebfbff
  
Features2=0x7ffafbff
  AMD Features=0x2c10
  AMD Features2=0x21
  Structured Extended 
Features=0x27ab
  XSAVE Features=0x1
  VT-x: PAT,HLT,MTF,PAUSE,EPT,UG,VPID
  TSC: P-state invariant, performance statistics
real memory  = 8589934592 (8192 MB)
avail memory = 3368755200 (3212 MB)
Event timer "LAPIC" quality 600
ACPI APIC Table: 
FreeBSD/SMP: Multiprocessor System Detected: 8 CPUs
FreeBSD/SMP: 1 package(s) x 4 core(s) x 2 SMT threads
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
 cpu2 (AP): APIC ID:  2
 cpu3 (AP): APIC ID:  3
 cpu4 (AP): APIC ID:  4
 cpu5 (AP): APIC ID:  5
 cpu6 (AP): APIC ID:  6
 cpu7 (AP): APIC ID:  7
ioapic0  irqs 0-23 on motherboard
...
hdacc0:  at cad 0 on hdac0
hdaa0:  at nid 1 on hdacc0
hdaa0: Subsystem ID: 0x102805cc
hdaa0: NumGPIO=0 NumGPO=0 NumGPI=0 GPIWake=0 GPIUnsol=0
hdaa0: Original pins configuration:
hdaa0: nid   0xas seq device   conn  jackloccolor   misc
hdaa0:  4 585600f0 15 0  Digital-out   None  Digital 0x18   Unknown 0
hdaa0:  5 185600f0 15 0  Digital-out   Jack  Digital 0x18   Unknown 0
hdaa0:  6 585600f0 15 0  Digital-out   None  Digital 0x18   Unknown 0
hdaa0:  7 185600f0 15 0  Digital-out   Jack  Digital 0x18   Unknown 0
hdaa0: Patched pins configuration:
hdaa0: nid   0xas seq device   conn  jackloccolor   misc
hdaa0:  4 585600f0 15 0  Digital-out   None  Digital 0x18   Unknown 0 DISA
hdaa0:  5 185600f0 15 0  Digital-out   Jack  Digital 0x18   Unknown 0
hdaa0:  6 585600f0 15 0  Digital-out   None  Digital 0x18   Unknown 0 DISA
hdaa0:  7 185600f0 15 0  Digital-out   Jack  Digital 0x18   Unknown 0
hdaa0: 2 associations found:
hdaa0: Association 0 (15) out:
hdaa0:  Pin nid=5 seq=0
hdaa0: Association 1 (15) out:
hdaa0:  Pin nid=7 seq=0
hdaa0: Tracing association 0 (15)
hdaa0:  Pin 5 traced to DAC 8
hdaa0: Association 0 (15) trace succeeded
hdaa0: Tracing association 1 (15)
hdaa0:  Pin 7 traced to DAC 9
hdaa0: Association 1 (15) trace succeeded
hdaa0: Looking for additional DAC for association 0 (15)
hdaa0: Looking for additional DAC for association 1 (15)
hdaa0: Tracing input monitor
hdaa0: Tracing other input monitors
hdaa0: Tracing beeper
hdaa0: FG config/quirks: forcestereo ivref50 ivref80 ivref100 ivref
pcm0:  at nid 5 on hdaa0
pcm0: Playback:
pcm0:  Stream cap: 0x0005 AC3 PCM
pcm0: PCM cap: 0x000e07f0 16 20 24 bits, 32 44 48 88 96 176 192 KHz
pcm0: DAC: 8
pcm0: 
pcm0: nid=5 [pin: Digital-out (Jack)]
pcm0:   + <- nid=8 [audio output] [src: pcm]
pcm0: 
pcm0: Mixer "vol" -> "none": child=0x0010
pcm0: Mixer "pcm": parent="vol"
pcm0: Soft PCM mixer ENABLED
pcm0: Playback channel matrix is: unknown, assuming 7.1 (disconnected)
pcm1:  at nid 7 on hdaa0
pcm1: Playback:
pcm1:  Stream cap: 0x0005 AC3 PCM
pcm1: PCM cap: 0x000e07f0 16 20 24 bits, 32 44 48 88 96 176 192 KHz
pcm1: DAC: 9
pcm1: 
pcm1: nid=7 [pin: Digital-out (Jack)]
pcm1:   + <- nid=9 [audio output] [src: pcm]
pcm1: 
pcm1: Mixer "vol" -> "none": child=0x0010
pcm1: Mixer "pcm": parent="vol"
pcm1: Soft PCM mixer ENABLED
pcm1: Playback channel matrix is: unknown, assuming 7.1 (disconnected)
hdacc1:  at cad 0 on hdac1
hdaa1:  at nid 1 on hdacc1
hdaa1: Subsystem ID: 0x102805cc
hdaa1: NumGPIO=5 NumGPO=0 NumGPI=0