kernel-packages team mailing list archive
-
kernel-packages team
-
Mailing list archive
-
Message #161304
[Bug 1534647] Re: Collateral damage due to kernel configuration change enabling CONFIG_ZONE_DEVICE (Kernel 4.4 amd64)
Thank you for confirming this issue still exists, despite "fix committed,"
and that it also disables correct functioning of package 'mudita24'.
Characterizing #12 further (via
" for i in linux-image*.deb; do dpkg --contents $i | grep snd-ice1712.ko ; done "),
I notice the presence of the ice1712 module in rc7
/lib/modules/4.4.0-040400rc7-generic/kernel/sound/pci/ice1712/snd-ice1712.ko
by rc8, it has gone missing. It continues missing in the 4.4.0 release and 4.4.1 as well.
snd-ice1712.ko is *not* present in the 4.4.0 or 4.4.1 lowlatency kernels
as discussed in #5, #6, #7. Therefore no "ICEnsemble ICE1712 (Envy24)"
cards will work, even, with low-latency kernel.
The file is present in wily 4.3.0 and 4.3.5 kernels:
/lib/modules/4.3.0-040300-generic/kernel/sound/pci/ice1712/snd-ice1712.ko
/lib/modules/4.3.5-040305-generic/kernel/sound/pci/ice1712/snd-ice1712.ko
And though absent in 4.5.0 RC1, the file reappears in the latest RC4
/lib/modules/4.5.0-040500rc4-generic/kernel/sound/pci/ice1712/snd-ice1712.ko
Question: When/where will a 4.4 release become available with at least
some collateral damage, such as the "ICEnsemble ICE1712 (Envy24)" listed
in the bug description, working again? Many of the other listed PCI
cards are no-longer used or needed. However, the "Envy24" cards are
still used by those doing music or media production in Linux because
they have unique features -- in particular, extremely low-latency, and a
built-in 20-channel 36-bit wide hardware digital audio mixer:
http://www.viatech.com/en/silicon/legacy/audio/envy24/
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1534647
Title:
Collateral damage due to kernel configuration change enabling
CONFIG_ZONE_DEVICE (Kernel 4.4 amd64)
Status in linux package in Ubuntu:
Fix Committed
Status in mudita24 package in Ubuntu:
Confirmed
Status in linux source package in Xenial:
Fix Committed
Status in mudita24 source package in Xenial:
Confirmed
Bug description:
Late in the kernel 4.4 RC (Release Candidate) cycle (between rc7 and
rc8), Ubuntu implemented an amd64 kernel configuration change enabling
CONFIG_ZONE_DEVICE.
The related email: https://lists.ubuntu.com/archives/kernel-
team/2016-January/067683.html
The commit message does mention collateral damage: "In effect, this precludes devices that can only DMA from memory addresses below 16MB".
Indeed we already have a complaint about a sound card that doesn't work as of kernel 4.4-rc8.
If CONFIG_ZONE_DEVICE is enabled, then CONFIG_ZONE_DMA is forced to disabled, which in turn forces these devices, all are sound cards, and their derivative devices, to be disabled:
Avance Logic ALS300/ALS300+
ALi M5451 PCI Audio Controller
Aztech AZF3328 / PCI168
Emu10k1 (SB Live!, Audigy, E-mu APS)
Emu10k1X (Dell OEM Version)
ESS ES1938/1946/1969 (Solo-1)
ESS ES1968/1978 (Maestro-1/2/2E)
ICEnsemble ICE1712 (Envy24)
ESS Allegro/Maestro3
S3 SonicVibes
Trident 4D-Wave DX/NX; SiS 7018.
References: linux/mm/Kconfig; linux/sound/pci/Kconfig
One test done (suggested by apw on IRC) was to remove the dependency of ZONE_DEVICE on !ZONE_DMA, but that causes:
"#error ZONES_SHIFT -- too many zones configured adjust calculation", as apw predicted.
In a mindless way, I tried to allow more zones in linux/include/linux/page-flags-layout.h, but that caused a bunch of "shifting by too many bits type errors. Anyway it seems that MAX_NR_ZONES is, at least partially, hard coded to 4 in some array definitions and such.
Please do not ask me to do "apport-collect" for this bug report as it
is not needed, nor relevant.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1534647/+subscriptions
References