From owner-freebsd-bugs@FreeBSD.ORG Tue Nov 4 09:20:54 2014 Return-Path: Delivered-To: freebsd-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C81867E3 for ; Tue, 4 Nov 2014 09:20:54 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id AE803E98 for ; Tue, 4 Nov 2014 09:20:54 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id sA49Ksck043115 for ; Tue, 4 Nov 2014 09:20:54 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 194806] New: [sound] [snd_hda]Creative SB0880 X-Fi: sometimes driver can't see the device Date: Tue, 04 Nov 2014 09:20:54 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.1-RC2 X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: d.akiyakov@gmail.com X-Bugzilla-Status: Needs Triage X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Nov 2014 09:20:54 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194806 Bug ID: 194806 Summary: [sound] [snd_hda]Creative SB0880 X-Fi: sometimes driver can't see the device Product: Base System Version: 10.1-RC2 Hardware: Any OS: Any Status: Needs Triage Severity: Affects Only Me Priority: --- Component: kern Assignee: freebsd-bugs@FreeBSD.org Reporter: d.akiyakov@gmail.com Created attachment 149019 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=149019&action=edit system info Hello, I've already created today one report about my sound device (https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194804), but besides there is still another bug, which I want to explain. You can find my system specs in attachment. >From the time I bought this device (Creative SB0880 X-Fi) it always was a russian roulette with device nice definition on systems load. In older versions of FreeBSD (before 10.1) you could get a loading screen without any warnings or you could get something like: "pcm0: chn_write(): pcm0:play:dsp0.p1: play interrupt timeout, channel dead", and in that case device was not working, so, sometimes I had to reboot system many times to get sound card works. For some time I did not notice this error more (play interrupt timeout, channel dead), but driver still can't see the device sometimes. Bellow I show what happens on load now: # pciconf -lv -a hdac2 hdac2@pci0:6:0:0: class=0x040300 card=0x00421102 chip=0x000b1102 rev=0x04 hdr=0x00 vendor = 'Creative Labs' device = 'X-Fi Titanium series [EMU20k2]' class = multimedia subclass = HDA ******************************************************************************************** dmesg | grep 'hdac2' ### device works fine in this case ******************************************************************************************** hdac2: mem 0xfbff0000-0xfbffffff,0xfbc00000-0xfbdfffff,0xfa000000-0xfaffffff irq 17 at device 0.0 on pci6 hdacc5: at cad 1 on hdac2 hdac2: Unexpected unsolicited response from address 0: 00000000 hdac2: Command timeout on address 1 hdac2: Unexpected unsolicited response from address 0: 00000000 hdac2: Command timeout on address 1 hdac2: Unexpected unsolicited response from address 0: 00000000 hdac2: Command timeout on address 1 hdac2: Unexpected unsolicited response from address 0: 00000000 hdac2: Command timeout on address 1 hdac2: Unexpected unsolicited response from address 0: 00000000 hdac2: Command timeout on address 1 ******************************************************************************************** dmesg | grep 'hda' ### device works fine in this case ******************************************************************************************** hdac0: mem 0xf5e78000-0xf5e7bfff irq 22 at device 7.0 on pci0 hdac1: mem 0xf9ffc000-0xf9ffffff irq 17 at device 0.1 on pci4 hdac2: mem 0xfbff0000-0xfbffffff,0xfbc00000-0xfbdfffff,0xfa000000-0xfaffffff irq 17 at device 0.0 on pci6 hdacc0: at cad 0 on hdac0 hdaa0: at nid 1 on hdacc0 pcm0: at nid 28,34,25,35,29 and 26,30,27 on hdaa0 pcm1: at nid 32 on hdaa0 pcm2: at nid 33 on hdaa0 hdacc1: at cad 0 on hdac1 hdaa1: at nid 1 on hdacc1 pcm3: at nid 5 on hdaa1 hdacc2: at cad 1 on hdac1 hdaa2: at nid 1 on hdacc2 pcm4: at nid 5 on hdaa2 hdacc3: at cad 2 on hdac1 hdaa3: at nid 1 on hdacc3 pcm5: at nid 5 on hdaa3 hdacc4: at cad 3 on hdac1 hdaa4: at nid 1 on hdacc4 pcm6: at nid 5 on hdaa4 hdacc5: at cad 1 on hdac2 hdaa5: at nid 1 on hdacc5 hdac2: Unexpected unsolicited response from address 0: 00000000 hdac2: Command timeout on address 1 hdac2: Unexpected unsolicited response from address 0: 00000000 hdac2: Command timeout on address 1 hdaa5: WARNING: nid=4 has zero cnid entnum=2 j=0 index=0 entries=127 found=0 res=0x00000000 hdaa5: WARNING: nid=4 has zero cnid entnum=2 j=1 index=0 entries=127 found=1 res=0x00000000 hdaa5: WARNING: nid=4 has zero cnid entnum=2 j=0 index=2 entries=127 found=2 res=0x00000000 hdaa5: WARNING: nid=4 has zero cnid entnum=2 j=1 index=2 entries=127 found=3 res=0x00000000 hdaa5: WARNING: nid=4 has zero cnid entnum=2 j=0 index=4 entries=127 found=4 res=0x00000000 hdaa5: WARNING: nid=4 has zero cnid entnum=2 j=1 index=4 entries=127 found=5 res=0x00000000 hdaa5: WARNING: nid=4 has zero cnid entnum=2 j=0 index=6 entries=127 found=6 res=0x00000000 hdaa5: WARNING: nid=4 has zero cnid entnum=2 j=1 index=6 entries=127 found=7 res=0x00000000 hdaa5: WARNING: nid=4 has zero cnid entnum=2 j=0 index=8 entries=127 found=8 res=0x00000000 hdaa5: WARNING: nid=4 has zero cnid entnum=2 j=1 index=8 entries=127 found=9 res=0x00000000 hdaa5: WARNING: nid=4 has zero cnid entnum=2 j=0 index=10 entries=127 found=10 res=0x00000000 hdaa5: WARNING: nid=4 has zero cnid entnum=2 j=1 index=10 entries=127 found=11 res=0x00000000 hdaa5: WARNING: nid=4 has zero cnid entnum=2 j=0 index=12 entries=127 found=12 res=0x00000000 hdaa5: WARNING: nid=4 has zero cnid entnum=2 j=1 index=12 entries=127 found=13 res=0x00000000 hdaa5: WARNING: nid=4 has zero cnid entnum=2 j=0 index=14 entries=127 found=14 res=0x00000000 hdaa5: WARNING: nid=4 has zero cnid entnum=2 j=1 index=14 entries=127 found=15 res=0x00000000 hdaa5: WARNING: nid=4 has zero cnid entnum=2 j=0 index=16 entries=127 found=16 res=0x00000000 hdaa5: WARNING: nid=4 has zero cnid entnum=2 j=1 index=16 entries=127 found=17 res=0x00000000 hdaa5: WARNING: nid=4 has zero cnid entnum=2 j=0 index=18 entries=127 found=18 res=0x00000000 hdaa5: WARNING: nid=4 has zero cnid entnum=2 j=1 index=18 entries=127 found=19 res=0x00000000 hdaa5: WARNING: nid=4 has zero cnid entnum=2 j=0 index=20 entries=127 found=20 res=0x00000000 hdaa5: WARNING: nid=4 has zero cnid entnum=2 j=1 index=20 entries=127 found=21 res=0x00000000 hdaa5: WARNING: nid=4 has zero cnid entnum=2 j=0 index=22 entries=127 found=22 res=0x00000000 hdaa5: WARNING: nid=4 has zero cnid entnum=2 j=1 index=22 entries=127 found=23 res=0x00000000 hdaa5: WARNING: nid=4 has zero cnid entnum=2 j=0 index=24 entries=127 found=24 res=0x00000000 hdaa5: WARNING: nid=4 has zero cnid entnum=2 j=1 index=24 entries=127 found=25 res=0x00000000 hdaa5: WARNING: nid=4 has zero cnid entnum=2 j=0 index=26 entries=127 found=26 res=0x00000000 hdaa5: WARNING: nid=4 has zero cnid entnum=2 j=1 index=26 entries=127 found=27 res=0x00000000 hdaa5: WARNING: nid=4 has zero cnid entnum=2 j=0 index=28 entries=127 found=28 res=0x00000000 hdaa5: WARNING: nid=4 has zero cnid entnum=2 j=1 index=28 entries=127 found=29 res=0x00000000 hdaa5: WARNING: nid=4 has zero cnid entnum=2 j=0 index=30 entries=127 found=30 res=0x00000000 hdaa5: WARNING: nid=4 has zero cnid entnum=2 j=1 index=30 entries=127 found=31 res=0x00000000 hdaa5: WARNING: nid=4 has zero cnid entnum=2 j=0 index=32 entries=127 found=32 res=0x00000000 hdaa5: Adding 0 (nid=4): Max connection reached! max=32 hdac2: Unexpected unsolicited response from address 0: 00000000 hdac2: Command timeout on address 1 hdaa5: WARNING: nid=6 has zero cnid entnum=2 j=0 index=0 entries=127 found=0 res=0x00000000 hdaa5: WARNING: nid=6 has zero cnid entnum=2 j=1 index=0 entries=127 found=1 res=0x00000000 hdaa5: WARNING: nid=6 has zero cnid entnum=2 j=0 index=2 entries=127 found=2 res=0x00000000 hdaa5: WARNING: nid=6 has zero cnid entnum=2 j=1 index=2 entries=127 found=3 res=0x00000000 hdaa5: WARNING: nid=6 has zero cnid entnum=2 j=0 index=4 entries=127 found=4 res=0x00000000 hdaa5: WARNING: nid=6 has zero cnid entnum=2 j=1 index=4 entries=127 found=5 res=0x00000000 hdaa5: WARNING: nid=6 has zero cnid entnum=2 j=0 index=6 entries=127 found=6 res=0x00000000 hdaa5: WARNING: nid=6 has zero cnid entnum=2 j=1 index=6 entries=127 found=7 res=0x00000000 hdaa5: WARNING: nid=6 has zero cnid entnum=2 j=0 index=8 entries=127 found=8 res=0x00000000 hdaa5: WARNING: nid=6 has zero cnid entnum=2 j=1 index=8 entries=127 found=9 res=0x00000000 hdaa5: WARNING: nid=6 has zero cnid entnum=2 j=0 index=10 entries=127 found=10 res=0x00000000 hdaa5: WARNING: nid=6 has zero cnid entnum=2 j=1 index=10 entries=127 found=11 res=0x00000000 hdaa5: WARNING: nid=6 has zero cnid entnum=2 j=0 index=12 entries=127 found=12 res=0x00000000 hdaa5: WARNING: nid=6 has zero cnid entnum=2 j=1 index=12 entries=127 found=13 res=0x00000000 hdaa5: WARNING: nid=6 has zero cnid entnum=2 j=0 index=14 entries=127 found=14 res=0x00000000 hdaa5: WARNING: nid=6 has zero cnid entnum=2 j=1 index=14 entries=127 found=15 res=0x00000000 hdaa5: WARNING: nid=6 has zero cnid entnum=2 j=0 index=16 entries=127 found=16 res=0x00000000 hdaa5: WARNING: nid=6 has zero cnid entnum=2 j=1 index=16 entries=127 found=17 res=0x00000000 hdaa5: WARNING: nid=6 has zero cnid entnum=2 j=0 index=18 entries=127 found=18 res=0x00000000 hdaa5: WARNING: nid=6 has zero cnid entnum=2 j=1 index=18 entries=127 found=19 res=0x00000000 hdaa5: WARNING: nid=6 has zero cnid entnum=2 j=0 index=20 entries=127 found=20 res=0x00000000 hdaa5: WARNING: nid=6 has zero cnid entnum=2 j=1 index=20 entries=127 found=21 res=0x00000000 hdaa5: WARNING: nid=6 has zero cnid entnum=2 j=0 index=22 entries=127 found=22 res=0x00000000 hdaa5: WARNING: nid=6 has zero cnid entnum=2 j=1 index=22 entries=127 found=23 res=0x00000000 hdaa5: WARNING: nid=6 has zero cnid entnum=2 j=0 index=24 entries=127 found=24 res=0x00000000 hdaa5: WARNING: nid=6 has zero cnid entnum=2 j=1 index=24 entries=127 found=25 res=0x00000000 hdaa5: WARNING: nid=6 has zero cnid entnum=2 j=0 index=26 entries=127 found=26 res=0x00000000 hdaa5: WARNING: nid=6 has zero cnid entnum=2 j=1 index=26 entries=127 found=27 res=0x00000000 hdaa5: WARNING: nid=6 has zero cnid entnum=2 j=0 index=28 entries=127 found=28 res=0x00000000 hdaa5: WARNING: nid=6 has zero cnid entnum=2 j=1 index=28 entries=127 found=29 res=0x00000000 hdaa5: WARNING: nid=6 has zero cnid entnum=2 j=0 index=30 entries=127 found=30 res=0x00000000 hdaa5: WARNING: nid=6 has zero cnid entnum=2 j=1 index=30 entries=127 found=31 res=0x00000000 hdaa5: WARNING: nid=6 has zero cnid entnum=2 j=0 index=32 entries=127 found=32 res=0x00000000 hdaa5: Adding 0 (nid=6): Max connection reached! max=32 pcm7: at nid 13,14,15,16,17 and 19 on hdaa5 pcm8: at nid 18 and 23 on hdaa5 pcm9: at nid 20 on hdaa5 ******************************************************************************************** dmesg | grep 'hda' ### device works fine in this case ******************************************************************************************** hdac0: mem 0xf5e78000-0xf5e7bfff irq 22 at device 7.0 on pci0 hdac1: mem 0xf9ffc000-0xf9ffffff irq 17 at device 0.1 on pci4 hdac2: mem 0xfbff0000-0xfbffffff,0xfbc00000-0xfbdfffff,0xfa000000-0xfaffffff irq 17 at device 0.0 on pci6 hdacc0: at cad 0 on hdac0 hdaa0: at nid 1 on hdacc0 pcm0: at nid 28,34,25,35,29 and 26,30,27 on hdaa0 pcm1: at nid 32 on hdaa0 pcm2: at nid 33 on hdaa0 hdacc1: at cad 0 on hdac1 hdaa1: at nid 1 on hdacc1 pcm3: at nid 5 on hdaa1 hdacc2: at cad 1 on hdac1 hdaa2: at nid 1 on hdacc2 pcm4: at nid 5 on hdaa2 hdacc3: at cad 2 on hdac1 hdaa3: at nid 1 on hdacc3 pcm5: at nid 5 on hdaa3 hdacc4: at cad 3 on hdac1 hdaa4: at nid 1 on hdacc4 pcm6: at nid 5 on hdaa4 hdacc5: at cad 1 on hdac2 hdaa5: at nid 1 on hdacc5 hdac2: Unexpected unsolicited response from address 0: 00000000 hdac2: Command timeout on address 1 hdac2: Unexpected unsolicited response from address 0: 00000000 hdac2: Command timeout on address 1 hdaa5: WARNING: Invalid child range nid=16 index=0 j=0 entnum=4 prevcnid=0 cnid=127 res=0xffffffff hdaa5: WARNING: Invalid child range nid=16 index=0 j=1 entnum=4 prevcnid=127 cnid=127 res=0xffffffff hdaa5: WARNING: Invalid child range nid=16 index=0 j=2 entnum=4 prevcnid=127 cnid=127 res=0xffffffff hdaa5: WARNING: Invalid child range nid=16 index=0 j=3 entnum=4 prevcnid=127 cnid=127 res=0xffffffff hdac2: Unexpected unsolicited response from address 0: 00000000 hdac2: Command timeout on address 1 hdac2: Unexpected unsolicited response from address 0: 00000000 hdac2: Command timeout on address 1 pcm7: at nid 13,14,15,17 and 19 on hdaa5 pcm8: at nid 18 and 23 on hdaa5 pcm9: at nid 20 on hdaa5 ******************************************************************************************** dmesg | grep 'hda' ### in this case you can see that device was NOT FOUND ******************************************************************************************** hdac0: mem 0xf5e78000-0xf5e7bfff irq 22 at device 7.0 on pci0 hdac1: mem 0xf9ffc000-0xf9ffffff irq 17 at device 0.1 on pci4 hdac2: mem 0xfbff0000-0xfbffffff,0xfbc00000-0xfbdfffff,0xfa000000-0xfaffffff irq 17 at device 0.0 on pci6 hdacc0: at cad 0 on hdac0 hdaa0: at nid 1 on hdacc0 pcm0: at nid 28,34,25,35,29 and 26,30,27 on hdaa0 pcm1: at nid 32 on hdaa0 pcm2: at nid 33 on hdaa0 hdacc1: at cad 0 on hdac1 hdaa1: at nid 1 on hdacc1 pcm3: at nid 5 on hdaa1 hdacc2: at cad 1 on hdac1 hdaa2: at nid 1 on hdacc2 pcm4: at nid 5 on hdaa2 hdacc3: at cad 2 on hdac1 hdaa3: at nid 1 on hdacc3 pcm5: at nid 5 on hdaa3 hdacc4: at cad 3 on hdac1 hdaa4: at nid 1 on hdacc4 pcm6: at nid 5 on hdaa4 hdacc5: at cad 1 on hdac2 hdaa5: at nid 1 on hdacc5 hdac2: Unexpected unsolicited response from address 0: 00000000 hdac2: Command timeout on address 1 hdac2: Unexpected unsolicited response from address 0: 00000000 hdac2: Command timeout on address 1 hdac2: Unexpected unsolicited response from address 0: 00000000 hdac2: Command timeout on address 1 hdac2: Unexpected unsolicited response from address 0: 00000000 hdac2: Command timeout on address 1 -- You are receiving this mail because: You are the assignee for the bug.