Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Linux: Kernel

sound skips on 2.6.16.17

 

 

Linux kernel RSS feed   Index | Next | Previous | View Threaded


kernel at kolivas

Jun 17, 2006, 4:29 AM

Post #1 of 25 (2887 views)
Permalink
sound skips on 2.6.16.17

On Saturday 17 June 2006 19:58, Hugo Vanwoerkom wrote:
> ocilent1 wrote:
> > You don't happen to use a VIA chipset do you? For PCLinuxOS kernels, I
> > found that a few people with VIA based mobos started experiencing
> > sound problems (skipping / stuttering) once we hit 2.6.16.17. Backing out
> > the following 2 patches added in 2.6.16.17 seem to fix the problems.
> >
> > 1) PCI-VIA-quirk-fixup-additional-PCI-IDs.patch
> > 2) PCI-quirk-VIA-IRQ-fixup-should-only-run-for-VIA-southbridges.patch
> >
> > I have attached some patches you might want to try that reverse out the
> > above patches. You will need to apply the patches in the correct order
> > (as above)

> Works like a charm. End of the sound skips.

Not sure if this has been reported to lkml so I'm cc'ing it here and the
stable maintainer.

--
-ck
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo [at] vger
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/


cw at f00f

Jun 17, 2006, 7:41 PM

Post #2 of 25 (2797 views)
Permalink
Re: sound skips on 2.6.16.17 [In reply to]

On Sat, Jun 17, 2006 at 09:29:56PM +1000, Con Kolivas wrote:

> > > 1) PCI-VIA-quirk-fixup-additional-PCI-IDs.patch

that shouldn't break things, if it does I *really* want to know

> > > 2)
> PCI-quirk-VIA-IRQ-fixup-should-only-run-for-VIA-southbridges.patch

nor should that, so again i would like to know if this is the one that
makes a difference

> > Works like a charm. End of the sound skips.

what cpu/mainboard/etc
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo [at] vger
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/


ocilent1 at gmail

Jun 17, 2006, 9:04 PM

Post #3 of 25 (2805 views)
Permalink
Re: sound skips on 2.6.16.17 [In reply to]

On Sunday 18 June 2006 10:41, Chris Wedgwood wrote:
> On Sat, Jun 17, 2006 at 09:29:56PM +1000, Con Kolivas wrote:
> > > > 1) PCI-VIA-quirk-fixup-additional-PCI-IDs.patch
>
> that shouldn't break things, if it does I *really* want to know
>
> > > > 2)
> >
> > PCI-quirk-VIA-IRQ-fixup-should-only-run-for-VIA-southbridges.patch
>
> nor should that, so again i would like to know if this is the one that
> makes a difference
>
> > > Works like a charm. End of the sound skips.
>
> what cpu/mainboard/etc

It is the 2nd patch
(PCI-quirk-VIA-IRQ-fixup-should-only-run-for-VIA-southbridges.patch) that is
causing the sound stuttering/skipping problems for our users with VIA
chipsets. Backing out the first patch alone did not fix the problem
(PCI-VIA-quirk-fixup-additional-PCI-IDs.patch) but to back out the 2nd patch,
you need to have initially backed out the first patch, due to the way the
patches apply in series.

Because I was too lazy to make a new patch which backs out only the 2nd patch
(PCI-quirk-VIA-IRQ-fixup-should-only-run-for-VIA-southbridges.patch) changes,
I still have not confirmed if its the 2nd patch alone that is causing
breakage, or if its a combination of both of them.

It took me a long time to track down this problem, as I was spending all my
time looking at alsa related stuff, but then we finally found that it was
infact anything above the 2.6.16.17 stable release that was breaking things.
The obvious first target was to backout the VIA related changes made in the
2.6.16.17 release and bingo.... my testers with VIA chipsets were happy
again....

--
*ocilent1
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo [at] vger
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/


cw at f00f

Jun 17, 2006, 9:40 PM

Post #4 of 25 (2824 views)
Permalink
Re: sound skips on 2.6.16.17 [In reply to]

On Sun, Jun 18, 2006 at 12:04:29PM +0800, ocilent1 wrote:

> (PCI-quirk-VIA-IRQ-fixup-should-only-run-for-VIA-southbridges.patch)
> that is causing the sound stuttering/skipping problems for our users
> with VIA chipsets. Backing out the first patch alone did not fix the
> problem (PCI-VIA-quirk-fixup-additional-PCI-IDs.patch) but to back
> out the 2nd patch, you need to have initially backed out the first
> patch, due to the way the patches apply in series.

what mainboard/CPU do you have there?

what does 'lspci -n' say?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo [at] vger
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/


ocilent1 at gmail

Jun 17, 2006, 9:49 PM

Post #5 of 25 (2801 views)
Permalink
Re: sound skips on 2.6.16.17 [In reply to]

On Sunday 18 June 2006 12:40, Chris Wedgwood wrote:
> On Sun, Jun 18, 2006 at 12:04:29PM +0800, ocilent1 wrote:
> > (PCI-quirk-VIA-IRQ-fixup-should-only-run-for-VIA-southbridges.patch)
> > that is causing the sound stuttering/skipping problems for our users
> > with VIA chipsets. Backing out the first patch alone did not fix the
> > problem (PCI-VIA-quirk-fixup-additional-PCI-IDs.patch) but to back
> > out the 2nd patch, you need to have initially backed out the first
> > patch, due to the way the patches apply in series.
>
> what mainboard/CPU do you have there?
>
> what does 'lspci -n' say?

I personally don't have any via mb's.... I just package the kernels... I will
try and get some more detailed info from my testers for you....
--
*ocilent1
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo [at] vger
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/


rociobarroso at att

Jun 18, 2006, 4:06 AM

Post #6 of 25 (2799 views)
Permalink
Re: sound skips on 2.6.16.17 [In reply to]

Chris Wedgwood wrote:
> On Sat, Jun 17, 2006 at 09:29:56PM +1000, Con Kolivas wrote:
>
>
>>>> 1) PCI-VIA-quirk-fixup-additional-PCI-IDs.patch
>>>>
>
> that shouldn't break things, if it does I *really* want to know
>
>
>>>> 2)
>>>>
>> PCI-quirk-VIA-IRQ-fixup-should-only-run-for-VIA-southbridges.patch
>>
>
> nor should that, so again i would like to know if this is the one that
> makes a difference
>
>
>>> Works like a charm. End of the sound skips.
>>>
>
> what cpu/mainboard/etc
>
>
CPU: athlon thoroughbred xp 2700+
mobo: EP=8VTAI
Chipset: VIA AGPset: VIA KT880 + VT8237
Memory: 2x512MB DDR
BIOS: Award BIOS dated 11/24/2004






-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo [at] vger
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/


rociobarroso at att

Jun 18, 2006, 4:11 AM

Post #7 of 25 (2810 views)
Permalink
Re: sound skips on 2.6.16.17 [In reply to]

Chris Wedgwood wrote:
> On Sun, Jun 18, 2006 at 12:04:29PM +0800, ocilent1 wrote:
>
>
>> (PCI-quirk-VIA-IRQ-fixup-should-only-run-for-VIA-southbridges.patch)
>> that is causing the sound stuttering/skipping problems for our users
>> with VIA chipsets. Backing out the first patch alone did not fix the
>> problem (PCI-VIA-quirk-fixup-additional-PCI-IDs.patch) but to back
>> out the 2nd patch, you need to have initially backed out the first
>> patch, due to the way the patches apply in series.
>>
>
> what mainboard/CPU do you have there?
>
> what does 'lspci -n' say?
>
>

/home/hugoSun Jun 18-06:08:30HDC1# lspci -n
0000:00:00.0 0600: 1106:0269
0000:00:00.1 0600: 1106:1269
0000:00:00.2 0600: 1106:2269
0000:00:00.3 0600: 1106:3269
0000:00:00.4 0600: 1106:4269
0000:00:00.7 0600: 1106:7269
0000:00:01.0 0604: 1106:b198
0000:00:0a.0 0300: 10de:0181 (rev a2)
0000:00:0b.0 0104: 1095:3112 (rev 02)
0000:00:0c.0 0401: 1102:0007
0000:00:0f.0 0101: 1106:0571 (rev 06)
0000:00:10.0 0c03: 1106:3038 (rev 81)
0000:00:10.1 0c03: 1106:3038 (rev 81)
0000:00:10.2 0c03: 1106:3038 (rev 81)
0000:00:10.3 0c03: 1106:3038 (rev 81)
0000:00:10.4 0c03: 1106:3104 (rev 86)
0000:00:11.0 0601: 1106:3227
0000:00:11.5 0401: 1106:3059 (rev 60)
0000:00:12.0 0200: 1106:3065 (rev 78)
0000:01:00.0 0300: 10de:0185 (rev c1)


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo [at] vger
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/


vsu at altlinux

Jun 18, 2006, 6:10 AM

Post #8 of 25 (2819 views)
Permalink
Re: sound skips on 2.6.16.17 [In reply to]

On Sat, 17 Jun 2006 19:41:30 -0700 Chris Wedgwood wrote:

> On Sat, Jun 17, 2006 at 09:29:56PM +1000, Con Kolivas wrote:
>
> > > > 1) PCI-VIA-quirk-fixup-additional-PCI-IDs.patch
>
> that shouldn't break things, if it does I *really* want to know
>
> > > > 2)
> > PCI-quirk-VIA-IRQ-fixup-should-only-run-for-VIA-southbridges.patch
>
> nor should that, so again i would like to know if this is the one that
> makes a difference
>
> > > Works like a charm. End of the sound skips.
>
> what cpu/mainboard/etc

Here I have ASUS A8V Deluxe (VIA K8T800Pro + VT8237), and cannot
reproduce the problem in a "normal" way (even when booting with
"acpi=off noapic"), but I have some evidence that a problem really
exists.

VT8237 contains this AC97 controller:

0000:00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller (rev 60)
Subsystem: ASUSTeK Computer Inc. A8V Deluxe motherboard (Realtek ALC850 codec)
Control: I/O+ Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Interrupt: pin C routed to IRQ 5
Region 0: I/O ports at d800
Capabilities: [c0] Power Management version 2
Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
00: 06 11 59 30 01 00 10 02 60 00 01 04 00 00 00 00
10: 01 d8 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 43 10 2a 81
30: 00 00 00 00 c0 00 00 00 00 00 00 00 05 03 00 00
40: 01 cc 00 00 10 00 00 00 00 00 00 00 00 00 00 00
50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
c0: 01 00 02 06 00 00 00 00 00 00 00 00 00 00 00 00
d0: 01 00 02 00 00 00 00 00 00 00 00 00 00 00 00 00
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

The device ID is 1106:3059 - it is not included in the list for
quirk_via_irq(). However, I have tried to boot with "noapic", and by
trying to change the INTERRUPT_LINE register with setpci have confirmed
that this register is used to set up interrupt routing. In APIC mode
this register has no effect on VT8237.

We may just add 1106:3059 to the list of PCI IDs which need
quirk_via_irq(). However, is this really a proper solution? What
exactly was broken with the original quirk code, which was applied to
all VIA devices - just a wrong printk, or some real breakage?


annabellesgarden at yahoo

Jun 18, 2006, 6:35 AM

Post #9 of 25 (2813 views)
Permalink
Re: sound skips on 2.6.16.17 [In reply to]

--- Hugo Vanwoerkom <rociobarroso [at] att> schrieb:

> Chris Wedgwood wrote:
> > On Sun, Jun 18, 2006 at 12:04:29PM +0800, ocilent1 wrote:
> >
> >
> >> (PCI-quirk-VIA-IRQ-fixup-should-only-run-for-VIA-southbridges.patch)
> >> that is causing the sound stuttering/skipping problems for our users
> >> with VIA chipsets. Backing out the first patch alone did not fix the
> >> problem (PCI-VIA-quirk-fixup-additional-PCI-IDs.patch) but to back
> >> out the 2nd patch, you need to have initially backed out the first
> >> patch, due to the way the patches apply in series.
> >>
> >
> > what mainboard/CPU do you have there?
> >
> > what does 'lspci -n' say?
> >
> >
>
> /home/hugoSun Jun 18-06:08:30HDC1# lspci -n
> 0000:00:00.0 0600: 1106:0269
> 0000:00:00.1 0600: 1106:1269
> 0000:00:00.2 0600: 1106:2269
> 0000:00:00.3 0600: 1106:3269
> 0000:00:00.4 0600: 1106:4269
> 0000:00:00.7 0600: 1106:7269
> 0000:00:01.0 0604: 1106:b198
> 0000:00:0a.0 0300: 10de:0181 (rev a2)
> 0000:00:0b.0 0104: 1095:3112 (rev 02)
> 0000:00:0c.0 0401: 1102:0007
> 0000:00:0f.0 0101: 1106:0571 (rev 06)
> 0000:00:10.0 0c03: 1106:3038 (rev 81)
> 0000:00:10.1 0c03: 1106:3038 (rev 81)
> 0000:00:10.2 0c03: 1106:3038 (rev 81)
> 0000:00:10.3 0c03: 1106:3038 (rev 81)
> 0000:00:10.4 0c03: 1106:3104 (rev 86)
> 0000:00:11.0 0601: 1106:3227
> 0000:00:11.5 0401: 1106:3059 (rev 60)
> 0000:00:12.0 0200: 1106:3065 (rev 78)
> 0000:01:00.0 0300: 10de:0185 (rev c1)
>

had sound skipping here too with likely the same southbridge:
(AMD64 K8T800 mobo)
# lspci -n
00:00.0 0600: 1106:0282
00:00.1 0600: 1106:1282
00:00.2 0600: 1106:2282
00:00.3 0600: 1106:3282
00:00.4 0600: 1106:4282
00:00.7 0600: 1106:7282
00:01.0 0604: 1106:b188
00:0b.0 0200: 10ec:8169 (rev 10)
00:0f.0 0101: 1106:0571 (rev 06)
00:10.0 0c03: 1106:3038 (rev 81)
00:10.1 0c03: 1106:3038 (rev 81)
00:10.2 0c03: 1106:3038 (rev 81)
00:10.3 0c03: 1106:3038 (rev 81)
00:10.4 0c03: 1106:3104 (rev 86)
00:11.0 0601: 1106:3227
00:11.5 0401: 1106:3059 (rev 60)
00:18.0 0600: 1022:1100
00:18.1 0600: 1022:1101
00:18.2 0600: 1022:1102
00:18.3 0600: 1022:1103
01:00.0 0300: 10de:0185 (rev c1)

backing out above patches didn't help.
Enabling variable samplerate support by loading
snd-via82xx like this:
# rmmod snd-via82xx
# modprobe snd-via82xx dxs_support=5
made the difference here.

Also I completely disabled PCI-quirk-VIA-IRQ-fixup here without
any negative impact.
When active, it reports nonsense here:
"PCI: VIA IRQ fixup for 0000:00:0f.0, from 255 to 0"
"PCI: VIA IRQ fixup for 0000:00:10.0, from 11 to 3"


Karsten



___________________________________________________________
Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo [at] vger
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/


ocilent1 at gmail

Jun 18, 2006, 8:54 PM

Post #10 of 25 (2817 views)
Permalink
Re: sound skips on 2.6.16.17 [In reply to]

On Sunday 18 June 2006 12:40, Chris Wedgwood wrote:
> On Sun, Jun 18, 2006 at 12:04:29PM +0800, ocilent1 wrote:
> > (PCI-quirk-VIA-IRQ-fixup-should-only-run-for-VIA-southbridges.patch)
> > that is causing the sound stuttering/skipping problems for our users
> > with VIA chipsets. Backing out the first patch alone did not fix the
> > problem (PCI-VIA-quirk-fixup-additional-PCI-IDs.patch) but to back
> > out the 2nd patch, you need to have initially backed out the first
> > patch, due to the way the patches apply in series.
>
> what mainboard/CPU do you have there?
>
> what does 'lspci -n' say?

It is a compaq presario with KM266 mobo AMD XP2200+

[root [at] localhos ~]# lspci -n
00:00.0 0600: 1106:3116
00:01.0 0604: 1106:b091
00:0b.0 0200: 10ec:8139 (rev 10)
00:10.0 0c03: 1106:3038 (rev 80)
00:10.1 0c03: 1106:3038 (rev 80)
00:10.2 0c03: 1106:3038 (rev 80)
00:10.3 0c03: 1106:3104 (rev 82)
00:11.0 0601: 1106:3177
00:11.1 0101: 1106:0571 (rev 06)
00:11.5 0401: 1106:3059 (rev 50)
01:00.0 0300: 10de:002d (rev 15)


[root [at] localhos ~]# lspci -m
00:00.0 "Host bridge" "VIA Technologies, Inc." "VT8375 [KM266/KL266]
Host Bridge" "FIRST INTERNATIONAL Computer Inc" "Unknown device 9012"
00:01.0 "PCI bridge" "VIA Technologies, Inc." "VT8633 [Apollo Pro266 AGP]" ""
""
00:0b.0 "Ethernet controller" "Realtek Semiconductor Co., Ltd."
"RTL-8139/8139C/8139C+" -r10 "FIRST INTERNATIONAL Computer Inc"
"Unknown device 9012"
00:10.0 "USB Controller" "VIA Technologies, Inc." "VT82xxxxx UHCI USB
1.1 Controller" -r80 "FIRST INTERNATIONAL Computer Inc" "Unknown
device 9012"
00:10.1 "USB Controller" "VIA Technologies, Inc." "VT82xxxxx UHCI USB
1.1 Controller" -r80 "FIRST INTERNATIONAL Computer Inc" "Unknown
device 9012"
00:10.2 "USB Controller" "VIA Technologies, Inc." "VT82xxxxx UHCI USB
1.1 Controller" -r80 "FIRST INTERNATIONAL Computer Inc" "Unknown
device 9012"
00:10.3 "USB Controller" "VIA Technologies, Inc." "USB 2.0" -r82 -p20
"FIRST INTERNATIONAL Computer Inc" "Unknown device 9012"
00:11.0 "ISA bridge" "VIA Technologies, Inc." "VT8235 ISA Bridge"
"FIRST INTERNATIONAL Computer Inc" "Unknown device 9012"
00:11.1 "IDE interface" "VIA Technologies, Inc."
"VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE" -r06 -p8a
"FIRST INTERNATIONAL Computer Inc" "Unknown device 9012"
00:11.5 "Multimedia audio controller" "VIA Technologies, Inc."
"VT8233/A/8235/8237 AC97 Audio Controller" -r50 "FIRST INTERNATIONAL
Computer Inc" "Unknown device 9012"
01:00.0 "VGA compatible controller" "nVidia Corporation" "NV5M64 [RIVA
TNT2 Model 64/Model 64 Pro]" -r15 "" ""

--
*ocilent1
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo [at] vger
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/


rlrevell at joe-job

Jun 19, 2006, 2:24 PM

Post #11 of 25 (2817 views)
Permalink
Re: sound skips on 2.6.16.17 [In reply to]

On Mon, 2006-06-19 at 11:54 +0800, ocilent1 wrote:
> On Sunday 18 June 2006 12:40, Chris Wedgwood wrote:
> > On Sun, Jun 18, 2006 at 12:04:29PM +0800, ocilent1 wrote:
> > > (PCI-quirk-VIA-IRQ-fixup-should-only-run-for-VIA-southbridges.patch)
> > > that is causing the sound stuttering/skipping problems for our users
> > > with VIA chipsets. Backing out the first patch alone did not fix the
> > > problem (PCI-VIA-quirk-fixup-additional-PCI-IDs.patch) but to back
> > > out the 2nd patch, you need to have initially backed out the first
> > > patch, due to the way the patches apply in series.
> >
> > what mainboard/CPU do you have there?
> >
> > what does 'lspci -n' say?
>
> It is a compaq presario with KM266 mobo AMD XP2200+
>

Here is lspci -n output from another user on the ALSA lists who is
afflicted by this bug:

00:00.0 Class 0600: 1106:0204
00:00.1 Class 0600: 1106:1204
00:00.2 Class 0600: 1106:2204
00:00.3 Class 0600: 1106:3204
00:00.4 Class 0600: 1106:4204
00:00.7 Class 0600: 1106:7204
00:01.0 Class 0604: 1106:b188
00:0a.0 Class 0200: 10ec:8139 (rev 10)
00:0f.0 Class 0101: 1106:0571 (rev 06)
00:10.0 Class 0c03: 1106:3038 (rev 81)
00:10.1 Class 0c03: 1106:3038 (rev 81)
00:10.2 Class 0c03: 1106:3038 (rev 81)
00:10.3 Class 0c03: 1106:3038 (rev 81)
00:10.4 Class 0c03: 1106:3104 (rev 86)
00:11.0 Class 0601: 1106:3227
00:11.5 Class 0401: 1106:3059 (rev 60)
00:18.0 Class 0600: 1022:1100
00:18.1 Class 0600: 1022:1101
00:18.2 Class 0600: 1022:1102
00:18.3 Class 0600: 1022:1103
01:00.0 Class 0300: 1002:4151
01:00.1 Class 0380: 1002:4171

Is it likely to be fixed in 2.6.17.1?

Lee

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo [at] vger
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/


cw at f00f

Jun 19, 2006, 2:50 PM

Post #12 of 25 (2804 views)
Permalink
Re: sound skips on 2.6.16.17 [In reply to]

On Mon, Jun 19, 2006 at 05:24:40PM -0400, Lee Revell wrote:

> Is it likely to be fixed in 2.6.17.1?

I think clearly we'll have to do something.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo [at] vger
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/


rlrevell at joe-job

Jun 20, 2006, 11:35 AM

Post #13 of 25 (2794 views)
Permalink
Re: sound skips on 2.6.16.17 [In reply to]

On Mon, 2006-06-19 at 14:50 -0700, Chris Wedgwood wrote:
> On Mon, Jun 19, 2006 at 05:24:40PM -0400, Lee Revell wrote:
>
> > Is it likely to be fixed in 2.6.17.1?
>
> I think clearly we'll have to do something.

I see that no fix made it into 2.6.17.1 or 2.6.16.22.

What is the downside of simply reverting the patch that introduced the
regression?

Lee

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo [at] vger
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/


cw at f00f

Jun 20, 2006, 12:36 PM

Post #14 of 25 (2802 views)
Permalink
Re: sound skips on 2.6.16.17 [In reply to]

On Tue, Jun 20, 2006 at 02:35:29PM -0400, Lee Revell wrote:

> I see that no fix made it into 2.6.17.1 or 2.6.16.22.

both came out very quickly and i was waiting on the results from a
couple of people

> What is the downside of simply reverting the patch that introduced the
> regression?

it breaks for some other people, it's not clear what the 'right' fix
here should be, but it might end up being the lesser of two evils

it would be *really* nice if someone from VIA could weigh in here
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo [at] vger
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/


69rydzyk69 at gmail

Jun 24, 2006, 7:08 AM

Post #15 of 25 (2817 views)
Permalink
Re: sound skips on 2.6.16.17 [In reply to]

On 6/20/06, Chris Wedgwood <cw [at] f00f> wrote:
> On Tue, Jun 20, 2006 at 02:35:29PM -0400, Lee Revell wrote:
>
> > I see that no fix made it into 2.6.17.1 or 2.6.16.22.
>
> both came out very quickly and i was waiting on the results from a
> couple of people
>
> > What is the downside of simply reverting the patch that introduced the
> > regression?
>
> it breaks for some other people, it's not clear what the 'right' fix
> here should be, but it might end up being the lesser of two evils
>
> it would be *really* nice if someone from VIA could weigh in here
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo [at] vger
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo [at] vger
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/


rlrevell at joe-job

Jun 27, 2006, 3:25 PM

Post #16 of 25 (2796 views)
Permalink
Re: sound skips on 2.6.16.17 [In reply to]

On Tue, 2006-06-20 at 12:36 -0700, Chris Wedgwood wrote:
> On Tue, Jun 20, 2006 at 02:35:29PM -0400, Lee Revell wrote:
>
> > I see that no fix made it into 2.6.17.1 or 2.6.16.22.
>
> both came out very quickly and i was waiting on the results from a
> couple of people
>
> > What is the downside of simply reverting the patch that introduced the
> > regression?
>
> it breaks for some other people, it's not clear what the 'right' fix
> here should be, but it might end up being the lesser of two evils
>
> it would be *really* nice if someone from VIA could weigh in here

Any progress on this? I don't see a fix in 2.6.17.2.

Lee

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo [at] vger
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/


cw at f00f

Jun 27, 2006, 3:48 PM

Post #17 of 25 (2802 views)
Permalink
Re: sound skips on 2.6.16.17 [In reply to]

On Tue, Jun 27, 2006 at 06:25:56PM -0400, Lee Revell wrote:

> Any progress on this? I don't see a fix in 2.6.17.2.

i'm still trying to get details on why ACPI suffices for some people
but not all

i'm hoping to avoid something gross like a whitelist where we avoid
the quirk and do it otherwise but that might be the best option right
now
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo [at] vger
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/


rlrevell at joe-job

Jul 7, 2006, 9:33 AM

Post #18 of 25 (2804 views)
Permalink
Re: sound skips on 2.6.16.17 [In reply to]

On Tue, 2006-06-27 at 15:48 -0700, Chris Wedgwood wrote:
> On Tue, Jun 27, 2006 at 06:25:56PM -0400, Lee Revell wrote:
>
> > Any progress on this? I don't see a fix in 2.6.17.2.
>
> i'm still trying to get details on why ACPI suffices for some people
> but not all
>
> i'm hoping to avoid something gross like a whitelist where we avoid
> the quirk and do it otherwise but that might be the best option right
> now

Two more reports possibly related to this bug:

https://bugtrack.alsa-project.org/alsa-bug/view.php?id=2248
https://bugtrack.alsa-project.org/alsa-bug/view.php?id=2263

Lee

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo [at] vger
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/


cw at f00f

Jul 7, 2006, 10:00 AM

Post #19 of 25 (2788 views)
Permalink
Re: sound skips on 2.6.16.17 [In reply to]

On Fri, Jul 07, 2006 at 12:33:05PM -0400, Lee Revell wrote:

> Two more reports possibly related to this bug:
>
> https://bugtrack.alsa-project.org/alsa-bug/view.php?id=2248
> https://bugtrack.alsa-project.org/alsa-bug/view.php?id=2263

One is definately affected by this.

Can we get an lspci -n from both of these if we haven't seen them
before?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo [at] vger
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/


rlrevell at joe-job

Jul 7, 2006, 11:00 AM

Post #20 of 25 (2781 views)
Permalink
Re: sound skips on 2.6.16.17 [In reply to]

On Fri, 2006-07-07 at 10:00 -0700, Chris Wedgwood wrote:
> On Fri, Jul 07, 2006 at 12:33:05PM -0400, Lee Revell wrote:
>
> > Two more reports possibly related to this bug:
> >
> > https://bugtrack.alsa-project.org/alsa-bug/view.php?id=2248
> > https://bugtrack.alsa-project.org/alsa-bug/view.php?id=2263
>
> One is definately affected by this.
>
> Can we get an lspci -n from both of these if we haven't seen them
> before?

#2248 has lspci output attached already, and I requested it for #2263.

Lee

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo [at] vger
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/


ocilent1 at gmail

Jul 18, 2006, 11:03 PM

Post #21 of 25 (2775 views)
Permalink
Re: sound skips on 2.6.16.17 [In reply to]

On Saturday 08 July 2006 01:00, Chris Wedgwood wrote:
> On Fri, Jul 07, 2006 at 12:33:05PM -0400, Lee Revell wrote:
> > Two more reports possibly related to this bug:
> >
> > https://bugtrack.alsa-project.org/alsa-bug/view.php?id=2248
> > https://bugtrack.alsa-project.org/alsa-bug/view.php?id=2263
>
> One is definately affected by this.
>
> Can we get an lspci -n from both of these if we haven't seen them
> before?

Hows progress on this bug? Don't suppose we have got an official fix for this
somewhere on the horizon?

--
*ocilent1
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo [at] vger
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/


cw at f00f

Jul 18, 2006, 11:33 PM

Post #22 of 25 (2785 views)
Permalink
Re: sound skips on 2.6.16.17 [In reply to]

On Wed, Jul 19, 2006 at 02:03:25PM +0800, ocilent1 wrote:

> Hows progress on this bug? Don't suppose we have got an official fix
> for this somewhere on the horizon?

Daniel Drake posted this recently, I've not had a chance to look over
it in detail but it's probably the best tested suggestion thus far.

Does it work for you?



[PATCH] PCI quirk_via_irq behaviour change

The most recent VIA IRQ quirk changes have broken various VIA devices for
some users. We are not able to add these devices to the blacklist as they
are also available in PCI-card form, and running the quirk on these devices
brings us back to square one (running the VIA quirk on non-VIA boards where
the quirk is not needed).

This patch, based on suggestions from Sergey Vlasov, implements a scheme
similar to but more restrictive than the scheme we had in 2.6.16 and earlier.
It runs the quirk on all VIA hardware, but only if a VIA southbridge was
detected on the system.

There is still a downside to this patch: if the user inserts a VIA PCI card
into a VIA-based motherboard, the quirk will also run on the VIA PCI card.
This corner case is hard to avoid.

However, I think this patch should be applied because:
- The quirk won't run on Chris's non-VIA system, which was the cause of
change in the first place.
- Affected sata_via users will be able to boot again
- Nobody really has a full understanding of the problem and the issues,
so I think this "compromise solution" should be acceptable for now.

Signed-off-by: Daniel Drake <dsd [at] gentoo>

Index: linux/drivers/pci/quirks.c
===================================================================
--- linux.orig/drivers/pci/quirks.c
+++ linux/drivers/pci/quirks.c
@@ -648,10 +648,37 @@ DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_V
* Some of the on-chip devices are actually '586 devices' so they are
* listed here.
*/
+
+static int via_irq_fixup_needed = -1;
+
+/*
+ * As some VIA hardware is available in PCI-card form, we need to restrict
+ * this quirk to VIA PCI hardware built onto VIA-based motherboards only.
+ * We try to locate a VIA southbridge before deciding whether the quirk
+ * should be applied.
+ */
+static const struct pci_device_id via_irq_fixup_tbl[] = {
+ {
+ .vendor = PCI_VENDOR_ID_VIA,
+ .device = PCI_ANY_ID,
+ .subvendor = PCI_ANY_ID,
+ .subdevice = PCI_ANY_ID,
+ .class = PCI_CLASS_BRIDGE_ISA << 8,
+ .class_mask = 0xffff00,
+ },
+ { 0, },
+};
+
static void quirk_via_irq(struct pci_dev *dev)
{
u8 irq, new_irq;

+ if (via_irq_fixup_needed == -1)
+ via_irq_fixup_needed = pci_dev_present(via_irq_fixup_tbl);
+
+ if (!via_irq_fixup_needed)
+ return;
+
new_irq = dev->irq & 0xf;
pci_read_config_byte(dev, PCI_INTERRUPT_LINE, &irq);
if (new_irq != irq) {
@@ -661,13 +688,7 @@ static void quirk_via_irq(struct pci_dev
pci_write_config_byte(dev, PCI_INTERRUPT_LINE, new_irq);
}
}
-DECLARE_PCI_FIXUP_ENABLE(PCI_VENDOR_ID_VIA, PCI_DEVICE_ID_VIA_82C586_0, quirk_via_irq);
-DECLARE_PCI_FIXUP_ENABLE(PCI_VENDOR_ID_VIA, PCI_DEVICE_ID_VIA_82C586_1, quirk_via_irq);
-DECLARE_PCI_FIXUP_ENABLE(PCI_VENDOR_ID_VIA, PCI_DEVICE_ID_VIA_82C586_2, quirk_via_irq);
-DECLARE_PCI_FIXUP_ENABLE(PCI_VENDOR_ID_VIA, PCI_DEVICE_ID_VIA_82C586_3, quirk_via_irq);
-DECLARE_PCI_FIXUP_ENABLE(PCI_VENDOR_ID_VIA, PCI_DEVICE_ID_VIA_82C686, quirk_via_irq);
-DECLARE_PCI_FIXUP_ENABLE(PCI_VENDOR_ID_VIA, PCI_DEVICE_ID_VIA_82C686_4, quirk_via_irq);
-DECLARE_PCI_FIXUP_ENABLE(PCI_VENDOR_ID_VIA, PCI_DEVICE_ID_VIA_82C686_5, quirk_via_irq);
+DECLARE_PCI_FIXUP_ENABLE(PCI_VENDOR_ID_VIA, PCI_ANY_ID, quirk_via_irq);

/*
* VIA VT82C598 has its device ID settable and many BIOSes
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo [at] vger
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/


ocilent1 at gmail

Jul 19, 2006, 4:25 AM

Post #23 of 25 (2777 views)
Permalink
Re: sound skips on 2.6.16.17 [In reply to]

On Wednesday 19 July 2006 14:33, Chris Wedgwood wrote:
> On Wed, Jul 19, 2006 at 02:03:25PM +0800, ocilent1 wrote:
> > Hows progress on this bug? Don't suppose we have got an official fix
> > for this somewhere on the horizon?
>
> Daniel Drake posted this recently, I've not had a chance to look over
> it in detail but it's probably the best tested suggestion thus far.
>
> Does it work for you?
>
>

Thanks for the heads up. I'll build a kernel for one of my affected users to
test.

Cheers!
--
*ocilent1
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo [at] vger
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/


rociobarroso at att

Jul 19, 2006, 6:47 AM

Post #24 of 25 (2751 views)
Permalink
Re: sound skips on 2.6.16.17 [In reply to]

Chris Wedgwood wrote:
> On Wed, Jul 19, 2006 at 02:03:25PM +0800, ocilent1 wrote:
>
>
>> Hows progress on this bug? Don't suppose we have got an official fix
>> for this somewhere on the horizon?
>>
>
> Daniel Drake posted this recently, I've not had a chance to look over
> it in detail but it's probably the best tested suggestion thus far.
>
> Does it work for you?
>
>
>
<snip>

I tried that on 2.6.17-ck1 with good results:

...
patching file drivers/pci/quirks.c
Hunk #1 succeeded at 638 (offset -10 lines).
Hunk #2 succeeded at 678 (offset -10 lines).
...

Regards,

Hugo
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo [at] vger
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/


ocilent1 at gmail

Jul 19, 2006, 6:51 AM

Post #25 of 25 (2757 views)
Permalink
Re: sound skips on 2.6.16.17 [In reply to]

On Wednesday 19 July 2006 21:47, Hugo Vanwoerkom wrote:
> Chris Wedgwood wrote:
> > On Wed, Jul 19, 2006 at 02:03:25PM +0800, ocilent1 wrote:
> >> Hows progress on this bug? Don't suppose we have got an official fix
> >> for this somewhere on the horizon?
> >
> > Daniel Drake posted this recently, I've not had a chance to look over
> > it in detail but it's probably the best tested suggestion thus far.
> >
> > Does it work for you?
>
> <snip>
>
> I tried that on 2.6.17-ck1 with good results:
>
> ...
> patching file drivers/pci/quirks.c
> Hunk #1 succeeded at 638 (offset -10 lines).
> Hunk #2 succeeded at 678 (offset -10 lines).
> ...
>
> Regards,
>
> Hugo

Yep, I can also report that my sacrificial test user also said the patch works
well on his VIA system.

Cheers!
--
*ocilent1
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo [at] vger
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

Linux kernel RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.