Topics

error during udrc-dkms

Bernard f6bvp
 

Here are my Compass beta 13 current software versions:

Linux compass-f6bvp 4.14.98-v7+ #1200 SMP Tue Feb 12 20:27:48 GMT 2019 armv7l GNU/Linux

Gnu C 6.3.0
Gnu make 4.1
binutils 2.28
util-linux 2.29.2
mount debug
module-init-tools 23
e2fsprogs 1.43.4
Linux C Library 2.24
Dynamic linker (ldd) 2.24
Net-tools 2.10-alpha
Kbd 2.0.3
Sh-utils 8.26
wireless-tools 30
Modules Loaded fuse rfcomm bnep hci_uart btbcm serdev bluetooth ecdh_generic pps_ldisc xt_tcpudp ip6table_filter ip6_tables iptable_filter joydev evdev ads1015 sg hwmon sc16is7xx tlv320aic32x4_i2c uas tlv320aic32x4 brcmfmac brcmutil cfg80211 rfkill udrc snd_soc_bcm2835_i2s snd_soc_core snd_compress snd_pcm_dmaengine snd_pcm snd_timer snd i2c_bcm2835 pps_gpio pps_core uio_pdrv_genirq fixed uio ax25 i2c_dev ip_tables x_tables ipv6
root@compass-f6bvp:/home/pi#


Building module:
cleaning build area...
make -j4 KERNELRELEASE=4.19.42-v7+ -C /lib/modules/4.19.42-v7+/build M=/var/lib/dkms/udrc/1.0.5/build....(bad exit status: 2)
Error! Bad return status for module build on kernel: 4.19.42-v7+ (armv7l)
Consult /var/lib/dkms/udrc/1.0.5/build/make.log for more information.
run-parts: /etc/kernel/postinst.d/udrc-dkms exited with return code 10
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.14.98-v7+ /boot/kernel7.img
run-parts: executing /etc/kernel/postinst.d/dkms 4.14.98-v7+ /boot/kernel7.img
/etc/kernel/postinst.d/dkms:
Error! echo
Your kernel headers for kernel 4.14.98-v7+ cannot be found at
/lib/modules/4.14.98-v7+/build or /lib/modules/4.14.98-v7+/source.
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 4.14.98-v7+ /boot/kernel7.img
run-parts: executing /etc/kernel/postinst.d/udrc-dkms 4.14.98-v7+ /boot/kernel7.img
/etc/kernel/postinst.d/udrc-dkms:

Kernel preparation unnecessary for this kernel. Skipping...

Building module:
cleaning build area...
make -j4 KERNELRELEASE=4.19.42+ -C /lib/modules/4.19.42+/build M=/var/lib/dkms/udrc/1.0.5/build....(bad exit status: 2)
Error! Bad return status for module build on kernel: 4.19.42+ (armv7l)
Consult /var/lib/dkms/udrc/1.0.5/build/make.log for more information.

Kernel preparation unnecessary for this kernel. Skipping...

Building module:
cleaning build area...
make -j4 KERNELRELEASE=4.19.42-v7+ -C /lib/modules/4.19.42-v7+/build M=/var/lib/dkms/udrc/1.0.5/build....(bad exit status: 2)
Error! Bad return status for module build on kernel: 4.19.42-v7+ (armv7l)
Consult /var/lib/dkms/udrc/1.0.5/build/make.log for more information.
run-parts: /etc/kernel/postinst.d/udrc-dkms exited with return code 10
Des erreurs ont été rencontrées pendant l'exécution :
/var/cache/apt/archives/raspberrypi-kernel_1.20190517-1_armhf.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@compass-f6bvp:/home/pi# ver
If some fields are empty or look unusual you may have an old version.
Compare to the current minimal requirements in Documentation/Changes.


Here follows /var/lib/dkms/udrc/1.0.5/build/make.log


DKMS make.log for udrc-1.0.5 for kernel 4.19.42-v7+ (armv7l)
mardi 28 mai 2019, 22:40:14 (UTC+0200)
make : on entre dans le répertoire « /usr/src/linux-headers-4.19.42-v7+ »
CC [M] /var/lib/dkms/udrc/1.0.5/build/udrc.o
CC [M] /var/lib/dkms/udrc/1.0.5/build/tlv320aic32x4.o
CC [M] /var/lib/dkms/udrc/1.0.5/build/tlv320aic32x4-i2c.o
CC [M] /var/lib/dkms/udrc/1.0.5/build/tlv320aic32x4-spi.o
/var/lib/dkms/udrc/1.0.5/build/tlv320aic32x4.c:471:49: warning: 'struct snd_soc_codec' declared inside parameter list will not be visible outside of this definition or declaration
static inline long aic32x4_get_mclk_rate(struct snd_soc_codec *codec)
^~~~~~~~~~~~~
/var/lib/dkms/udrc/1.0.5/build/tlv320aic32x4.c: In function 'aic32x4_get_mclk_rate':
/var/lib/dkms/udrc/1.0.5/build/tlv320aic32x4.c:474:33: error: implicit declaration of function 'snd_soc_codec_get_drvdata' [-Werror=implicit-function-declaration]
struct aic32x4_priv *aic32x4 = snd_soc_codec_get_drvdata(codec);
^~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/udrc/1.0.5/build/tlv320aic32x4.c:474:33: warning: initialization makes pointer from integer without a cast [-Wint-conversion]
In file included from ./include/linux/gpio/driver.h:5:0,
from ./include/asm-generic/gpio.h:13,
from ./arch/arm/include/asm/gpio.h:10,
from ./include/linux/gpio.h:59,
from /var/lib/dkms/udrc/1.0.5/build/tlv320aic32x4.c:31:
/var/lib/dkms/udrc/1.0.5/build/tlv320aic32x4.c:484:15: error: dereferencing pointer to incomplete type 'struct snd_soc_codec'
dev_err(codec->dev, "Unsupported master clock rate %ld", mclk_rate);
^
./include/linux/device.h:1442:11: note: in definition of macro 'dev_err'
_dev_err(dev, dev_fmt(fmt), ##__VA_ARGS__)
^~~
/var/lib/dkms/udrc/1.0.5/build/tlv320aic32x4.c: In function 'aic32x4_set_dai_sysclk':
/var/lib/dkms/udrc/1.0.5/build/tlv320aic32x4.c:491:41: error: 'struct snd_soc_dai' has no member named 'codec'
struct snd_soc_codec *codec = codec_dai->codec;
^~
/var/lib/dkms/udrc/1.0.5/build/tlv320aic32x4.c:492:33: warning: initialization makes pointer from integer without a cast [-Wint-conversion]
struct aic32x4_priv *aic32x4 = snd_soc_codec_get_drvdata(codec);
^~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/udrc/1.0.5/build/tlv320aic32x4.c: In function 'aic32x4_set_dai_fmt':
/var/lib/dkms/udrc/1.0.5/build/tlv320aic32x4.c:507:41: error: 'struct snd_soc_dai' has no member named 'codec'
struct snd_soc_codec *codec = codec_dai->codec;
^~
/var/lib/dkms/udrc/1.0.5/build/tlv320aic32x4.c:512:16: error: implicit declaration of function 'snd_soc_read' [-Werror=implicit-function-declaration]
iface_reg_1 = snd_soc_read(codec, AIC32X4_IFACE1);
^~~~~~~~~~~~
/var/lib/dkms/udrc/1.0.5/build/tlv320aic32x4.c:556:2: error: implicit declaration of function 'snd_soc_write' [-Werror=implicit-function-declaration]
snd_soc_write(codec, AIC32X4_IFACE1, iface_reg_1);
^~~~~~~~~~~~~
/var/lib/dkms/udrc/1.0.5/build/tlv320aic32x4.c: In function 'aic32x4_hw_params':
/var/lib/dkms/udrc/1.0.5/build/tlv320aic32x4.c:566:35: error: 'struct snd_soc_dai' has no member named 'codec'
struct snd_soc_codec *codec = dai->codec;
^~
/var/lib/dkms/udrc/1.0.5/build/tlv320aic32x4.c:567:33: warning: initialization makes pointer from integer without a cast [-Wint-conversion]
struct aic32x4_priv *aic32x4 = snd_soc_codec_get_drvdata(codec);
^~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/udrc/1.0.5/build/tlv320aic32x4.c:572:36: error: passing argument 1 of 'aic32x4_get_mclk_rate' from incompatible pointer type [-Werror=incompatible-pointer-types]
mclk_rate = aic32x4_get_mclk_rate(codec);
^~~~~
/var/lib/dkms/udrc/1.0.5/build/tlv320aic32x4.c:471:20: note: expected 'struct snd_soc_codec *' but argument is of type 'struct snd_soc_codec *'
static inline long aic32x4_get_mclk_rate(struct snd_soc_codec *codec)
^~~~~~~~~~~~~~~~~~~~~
In file included from ./include/linux/gpio/driver.h:5:0,
from ./include/asm-generic/gpio.h:13,
from ./arch/arm/include/asm/gpio.h:10,
from ./include/linux/gpio.h:59,
from /var/lib/dkms/udrc/1.0.5/build/tlv320aic32x4.c:31:
/var/lib/dkms/udrc/1.0.5/build/tlv320aic32x4.c:576:16: error: dereferencing pointer to incomplete type 'struct snd_soc_codec'
dev_err(codec->dev, "Sampling rate not supported\n");
^
./include/linux/device.h:1442:11: note: in definition of macro 'dev_err'
_dev_err(dev, dev_fmt(fmt), ##__VA_ARGS__)
^~~
/var/lib/dkms/udrc/1.0.5/build/tlv320aic32x4.c:654:2: error: implicit declaration of function 'snd_soc_update_bits' [-Werror=implicit-function-declaration]
snd_soc_update_bits(codec, AIC32X4_DACSETUP, AIC32X4_DAC_CHAN_MASK,
^~~~~~~~~~~~~~~~~~~
/var/lib/dkms/udrc/1.0.5/build/tlv320aic32x4.c: In function 'aic32x4_mute':
/var/lib/dkms/udrc/1.0.5/build/tlv320aic32x4.c:662:35: error: 'struct snd_soc_dai' has no member named 'codec'
struct snd_soc_codec *codec = dai->codec;
^~
/var/lib/dkms/udrc/1.0.5/build/tlv320aic32x4.c: At top level:
/var/lib/dkms/udrc/1.0.5/build/tlv320aic32x4.c:673:42: warning: 'struct snd_soc_codec' declared inside parameter list will not be visible outside of this definition or declaration
static int aic32x4_set_bias_level(struct snd_soc_codec *codec,
^~~~~~~~~~~~~
/var/lib/dkms/udrc/1.0.5/build/tlv320aic32x4.c: In function 'aic32x4_set_bias_level':
/var/lib/dkms/udrc/1.0.5/build/tlv320aic32x4.c:676:33: warning: initialization makes pointer from integer without a cast [-Wint-conversion]
struct aic32x4_priv *aic32x4 = snd_soc_codec_get_drvdata(codec);
^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ./include/linux/gpio/driver.h:5:0,
from ./include/asm-generic/gpio.h:13,
from ./arch/arm/include/asm/gpio.h:10,
from ./include/linux/gpio.h:59,
from /var/lib/dkms/udrc/1.0.5/build/tlv320aic32x4.c:31:
/var/lib/dkms/udrc/1.0.5/build/tlv320aic32x4.c:687:17: error: dereferencing pointer to incomplete type 'struct snd_soc_codec'
dev_err(codec->dev, "Failed to enable master clock\n");
^
./include/linux/device.h:1442:11: note: in definition of macro 'dev_err'
_dev_err(dev, dev_fmt(fmt), ##__VA_ARGS__)
^~~
/var/lib/dkms/udrc/1.0.5/build/tlv320aic32x4.c: At top level:
/var/lib/dkms/udrc/1.0.5/build/tlv320aic32x4.c:784:39: warning: 'struct snd_soc_codec' declared inside parameter list will not be visible outside of this definition or declaration
static int aic32x4_codec_probe(struct snd_soc_codec *codec)
^~~~~~~~~~~~~
/var/lib/dkms/udrc/1.0.5/build/tlv320aic32x4.c: In function 'aic32x4_codec_probe':
/var/lib/dkms/udrc/1.0.5/build/tlv320aic32x4.c:786:33: warning: initialization makes pointer from integer without a cast [-Wint-conversion]
struct aic32x4_priv *aic32x4 = snd_soc_codec_get_drvdata(codec);
^~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/udrc/1.0.5/build/tlv320aic32x4.c: At top level:
/var/lib/dkms/udrc/1.0.5/build/tlv320aic32x4.c:840:15: error: variable 'soc_codec_dev_aic32x4' has initializer but incomplete type
static struct snd_soc_codec_driver soc_codec_dev_aic32x4 = {
^~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/udrc/1.0.5/build/tlv320aic32x4.c:841:2: error: unknown field 'probe' specified in initializer
.probe = aic32x4_codec_probe,
^
/var/lib/dkms/udrc/1.0.5/build/tlv320aic32x4.c:841:11: warning: excess elements in struct initializer
.probe = aic32x4_codec_probe,
^~~~~~~~~~~~~~~~~~~
/var/lib/dkms/udrc/1.0.5/build/tlv320aic32x4.c:841:11: note: (near initialization for 'soc_codec_dev_aic32x4')
/var/lib/dkms/udrc/1.0.5/build/tlv320aic32x4.c:842:2: error: unknown field 'set_bias_level' specified in initializer
.set_bias_level = aic32x4_set_bias_level,
^
/var/lib/dkms/udrc/1.0.5/build/tlv320aic32x4.c:842:20: warning: excess elements in struct initializer
.set_bias_level = aic32x4_set_bias_level,
^~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/udrc/1.0.5/build/tlv320aic32x4.c:842:20: note: (near initialization for 'soc_codec_dev_aic32x4')
/var/lib/dkms/udrc/1.0.5/build/tlv320aic32x4.c:843:2: error: unknown field 'suspend_bias_off' specified in initializer
.suspend_bias_off = true,
^
/var/lib/dkms/udrc/1.0.5/build/tlv320aic32x4.c:843:22: warning: excess elements in struct initializer
.suspend_bias_off = true,
^~~~
/var/lib/dkms/udrc/1.0.5/build/tlv320aic32x4.c:843:22: note: (near initialization for 'soc_codec_dev_aic32x4')
/var/lib/dkms/udrc/1.0.5/build/tlv320aic32x4.c:845:2: error: unknown field 'component_driver' specified in initializer
.component_driver = {
^
/var/lib/dkms/udrc/1.0.5/build/tlv320aic32x4.c:845:22: error: extra brace group at end of initializer
.component_driver = {
^
/var/lib/dkms/udrc/1.0.5/build/tlv320aic32x4.c:845:22: note: (near initialization for 'soc_codec_dev_aic32x4')
/var/lib/dkms/udrc/1.0.5/build/tlv320aic32x4.c:845:22: warning: excess elements in struct initializer
/var/lib/dkms/udrc/1.0.5/build/tlv320aic32x4.c:845:22: note: (near initialization for 'soc_codec_dev_aic32x4')
/var/lib/dkms/udrc/1.0.5/build/tlv320aic32x4.c: In function 'aic32x4_probe':
/var/lib/dkms/udrc/1.0.5/build/tlv320aic32x4.c:1074:8: error: implicit declaration of function 'snd_soc_register_codec' [-Werror=implicit-function-declaration]
ret = snd_soc_register_codec(dev,
^~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/udrc/1.0.5/build/tlv320aic32x4.c: In function 'aic32x4_remove':
/var/lib/dkms/udrc/1.0.5/build/tlv320aic32x4.c:1092:2: error: implicit declaration of function 'snd_soc_unregister_codec' [-Werror=implicit-function-declaration]
snd_soc_unregister_codec(dev);
^~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/udrc/1.0.5/build/tlv320aic32x4.c: At top level:
/var/lib/dkms/udrc/1.0.5/build/tlv320aic32x4.c:840:36: error: storage size of 'soc_codec_dev_aic32x4' isn't known
static struct snd_soc_codec_driver soc_codec_dev_aic32x4 = {
^~~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
scripts/Makefile.build:309 : la recette pour la cible « /var/lib/dkms/udrc/1.0.5/build/tlv320aic32x4.o » a échouée
make[1]: *** [/var/lib/dkms/udrc/1.0.5/build/tlv320aic32x4.o] Erreur 1
Makefile:1524 : la recette pour la cible « _module_/var/lib/dkms/udrc/1.0.5/build » a échouée
make: *** [_module_/var/lib/dkms/udrc/1.0.5/build] Erreur 2
make : on quitte le répertoire « /usr/src/linux-headers-4.19.42-v7+ »


Regards and 73's
Bernard, f6bvp

---
L'absence de virus dans ce courrier électronique a été vérifiée par le logiciel antivirus Avast.
https://www.avast.com/antivirus

Gayland Gump
 

I seem to be getting the same error when I perform a sudo apt-get upgrade on my DRAWS Beta 13 install based on a quick comparison of the make.log noted above.  I'd be a tad more confident if I knew enough French to be certain the the final errors reported above were identical with my English versions..

Basil Gunn
 

I've confirmed the error and don't need anymore reports.
/Basil

Gayland Gump <kg7gcf@...> writes:

I seem to be getting the same error when I perform a sudo apt-get upgrade on my DRAWS Beta 13 install based on a quick comparison of the make.log noted above. I'd be a tad more confident if I knew enough French to be certain the the final errors reported above were identical with my English versions..

Basil Gunn
 

Bernard,

The tlv320aic3204 driver in the 4.19.42 kernel will NOT work
reliably. You need to stick with the 4.14.98 kernel until all of Anna's
patches work their way into the main stream kernel.

From Anna:

ALSA changed the API to some of their calls, and the old TLV320 driver
doesn’t have the calls. The new TLV320 driver is in the Raspbian
kernel, but it won’t work reliably until I get the final patch pushed
in the kernel.
Do NOT do an apt-get upgrade for a while until this gets fixed.
I have taken apt-get upgrade out of prog_refresh.sh script.

/Basil

f6bvp <f6bvp@...> writes:

Here are my Compass beta 13 current software versions:

Linux compass-f6bvp 4.14.98-v7+ #1200 SMP Tue Feb 12 20:27:48 GMT 2019
armv7l GNU/Linux

Gnu C 6.3.0
Gnu make 4.1
binutils 2.28
util-linux 2.29.2
mount debug
module-init-tools 23
e2fsprogs 1.43.4
Linux C Library 2.24
Dynamic linker (ldd) 2.24
Net-tools 2.10-alpha
Kbd 2.0.3
Sh-utils 8.26
wireless-tools 30
Modules Loaded fuse rfcomm bnep hci_uart btbcm serdev bluetooth
ecdh_generic pps_ldisc xt_tcpudp ip6table_filter ip6_tables
iptable_filter joydev evdev ads1015 sg hwmon sc16is7xx tlv320aic32x4_i2c
uas tlv320aic32x4 brcmfmac brcmutil cfg80211 rfkill udrc
snd_soc_bcm2835_i2s snd_soc_core snd_compress snd_pcm_dmaengine snd_pcm
snd_timer snd i2c_bcm2835 pps_gpio pps_core uio_pdrv_genirq fixed uio
ax25 i2c_dev ip_tables x_tables ipv6

Bernard f6bvp
 

Hi Basil,

Thanks for the explanations about TLV320 driver in new 4.19.42 kernel.
When upgraded it will certainly make an interesting jump.

73 de Bernard f6bvp

Le 29 mai 2019 à 07:02, Basil Gunn <@basil860> a écrit :


Bernard,

The tlv320aic3204 driver in the 4.19.42 kernel will NOT work
reliably. You need to stick with the 4.14.98 kernel until all of Anna's
patches work their way into the main stream kernel.

From Anna:

ALSA changed the API to some of their calls, and the old TLV320 driver
doesn’t have the calls. The new TLV320 driver is in the Raspbian
kernel, but it won’t work reliably until I get the final patch pushed
in the kernel.
Do NOT do an apt-get upgrade for a while until this gets fixed.
I have taken apt-get upgrade out of prog_refresh.sh script.

/Basil

f6bvp <f6bvp@...> writes:

Here are my Compass beta 13 current software versions:

Linux compass-f6bvp 4.14.98-v7+ #1200 SMP Tue Feb 12 20:27:48 GMT 2019
armv7l GNU/Linux

Gnu C 6.3.0
Gnu make 4.1
binutils 2.28
util-linux 2.29.2
mount debug
module-init-tools 23
e2fsprogs 1.43.4
Linux C Library 2.24
Dynamic linker (ldd) 2.24
Net-tools 2.10-alpha
Kbd 2.0.3
Sh-utils 8.26
wireless-tools 30
Modules Loaded fuse rfcomm bnep hci_uart btbcm serdev bluetooth
ecdh_generic pps_ldisc xt_tcpudp ip6table_filter ip6_tables
iptable_filter joydev evdev ads1015 sg hwmon sc16is7xx tlv320aic32x4_i2c
uas tlv320aic32x4 brcmfmac brcmutil cfg80211 rfkill udrc
snd_soc_bcm2835_i2s snd_soc_core snd_compress snd_pcm_dmaengine snd_pcm
snd_timer snd i2c_bcm2835 pps_gpio pps_core uio_pdrv_genirq fixed uio
ax25 i2c_dev ip_tables x_tables ipv6


Steve, N9VW
 

Basil,
It seems that I was bitten by the upgrade issue as well. Will a notice be sent out to all when it is safe to do an "apt-get upgrade" on the system?

Thanks
Steve, N9VW

On 5/28/2019 10:02 PM, Basil Gunn wrote:
Bernard,

The tlv320aic3204 driver in the 4.19.42 kernel will NOT work
reliably. You need to stick with the 4.14.98 kernel until all of Anna's
patches work their way into the main stream kernel.

From Anna:

ALSA changed the API to some of their calls, and the old TLV320 driver
doesn’t have the calls. The new TLV320 driver is in the Raspbian
kernel, but it won’t work reliably until I get the final patch pushed
in the kernel.
Do NOT do an apt-get upgrade for a while until this gets fixed.
I have taken apt-get upgrade out of prog_refresh.sh script.

/Basil

f6bvp <f6bvp@...> writes:

Here are my Compass beta 13 current software versions:

Linux compass-f6bvp 4.14.98-v7+ #1200 SMP Tue Feb 12 20:27:48 GMT 2019
armv7l GNU/Linux

Gnu C 6.3.0
Gnu make 4.1
binutils 2.28
util-linux 2.29.2
mount debug
module-init-tools 23
e2fsprogs 1.43.4
Linux C Library 2.24
Dynamic linker (ldd) 2.24
Net-tools 2.10-alpha
Kbd 2.0.3
Sh-utils 8.26
wireless-tools 30
Modules Loaded fuse rfcomm bnep hci_uart btbcm serdev bluetooth
ecdh_generic pps_ldisc xt_tcpudp ip6table_filter ip6_tables
iptable_filter joydev evdev ads1015 sg hwmon sc16is7xx tlv320aic32x4_i2c
uas tlv320aic32x4 brcmfmac brcmutil cfg80211 rfkill udrc
snd_soc_bcm2835_i2s snd_soc_core snd_compress snd_pcm_dmaengine snd_pcm
snd_timer snd i2c_bcm2835 pps_gpio pps_core uio_pdrv_genirq fixed uio
ax25 i2c_dev ip_tables x_tables ipv6

Gayland Gump
 

Basil, are there any ways to know when Anna's patches will be in place so that we can do upgrades?

Gayland
KG7GCF


On Tue, May 28, 2019 at 10:02 PM Basil Gunn <basil@...> wrote:

Bernard,

The tlv320aic3204 driver in the 4.19.42 kernel will NOT work
reliably. You need to stick with the  4.14.98 kernel until all of Anna's
patches work their way into the main stream kernel.

From  Anna:

> ALSA changed the API to some of their calls, and the old TLV320 driver
> doesn’t have the calls.  The new TLV320 driver is in the Raspbian
> kernel, but it won’t work reliably until I get the final patch pushed
> in the kernel.

Do NOT do an apt-get upgrade for a while until this gets fixed.
I have taken apt-get upgrade out of prog_refresh.sh script.

/Basil

f6bvp <f6bvp@...> writes:

> Here are my Compass beta 13 current software versions:
>
> Linux compass-f6bvp 4.14.98-v7+ #1200 SMP Tue Feb 12 20:27:48 GMT 2019
> armv7l GNU/Linux
>
> Gnu C                  6.3.0
> Gnu make               4.1
> binutils               2.28
> util-linux             2.29.2
> mount                  debug
> module-init-tools      23
> e2fsprogs              1.43.4
> Linux C Library        2.24
> Dynamic linker (ldd)   2.24
> Net-tools              2.10-alpha
> Kbd                    2.0.3
> Sh-utils               8.26
> wireless-tools         30
> Modules Loaded         fuse rfcomm bnep hci_uart btbcm serdev bluetooth
> ecdh_generic pps_ldisc xt_tcpudp ip6table_filter ip6_tables
> iptable_filter joydev evdev ads1015 sg hwmon sc16is7xx tlv320aic32x4_i2c
> uas tlv320aic32x4 brcmfmac brcmutil cfg80211 rfkill udrc
> snd_soc_bcm2835_i2s snd_soc_core snd_compress snd_pcm_dmaengine snd_pcm
> snd_timer snd i2c_bcm2835 pps_gpio pps_core uio_pdrv_genirq fixed uio
> ax25 i2c_dev ip_tables x_tables ipv6




Basil Gunn
 

On the systems I have tried to do the apt-get upgrade, the kernel
upgrade failed ... which is a good thing. The 4.14.98-v7+ kernel is
working fine for me on those systems. What I'm saying is if you try to
do an apt-get upgrade it is not catastrophic. The kernel upgrade should
fail & you will be left with a working system.

I will let you know when an 'apt-get upgrade' is working as expected.
I am thinking this will be several months out. A patch must be accepted
in the Linux kernel (see kernel.org) and then Raspbian will choose a
kernel to include in their distribution.

/Basil
Steve, N9VW <steve@...> writes:

Basil,
It seems that I was bitten by the upgrade issue as well. Will a notice
be sent out to all when it is safe to do an "apt-get upgrade" on the system?

Thanks
Steve, N9VW

On 5/28/2019 10:02 PM, Basil Gunn wrote:
Bernard,

The tlv320aic3204 driver in the 4.19.42 kernel will NOT work
reliably. You need to stick with the 4.14.98 kernel until all of Anna's
patches work their way into the main stream kernel.

From Anna:

ALSA changed the API to some of their calls, and the old TLV320 driver
doesn’t have the calls. The new TLV320 driver is in the Raspbian
kernel, but it won’t work reliably until I get the final patch pushed
in the kernel.
Do NOT do an apt-get upgrade for a while until this gets fixed.
I have taken apt-get upgrade out of prog_refresh.sh script.

/Basil

f6bvp <f6bvp@...> writes:

Here are my Compass beta 13 current software versions:

Linux compass-f6bvp 4.14.98-v7+ #1200 SMP Tue Feb 12 20:27:48 GMT 2019
armv7l GNU/Linux

Gnu C 6.3.0
Gnu make 4.1
binutils 2.28
util-linux 2.29.2
mount debug
module-init-tools 23
e2fsprogs 1.43.4
Linux C Library 2.24
Dynamic linker (ldd) 2.24
Net-tools 2.10-alpha
Kbd 2.0.3
Sh-utils 8.26
wireless-tools 30
Modules Loaded fuse rfcomm bnep hci_uart btbcm serdev bluetooth
ecdh_generic pps_ldisc xt_tcpudp ip6table_filter ip6_tables
iptable_filter joydev evdev ads1015 sg hwmon sc16is7xx tlv320aic32x4_i2c
uas tlv320aic32x4 brcmfmac brcmutil cfg80211 rfkill udrc
snd_soc_bcm2835_i2s snd_soc_core snd_compress snd_pcm_dmaengine snd_pcm
snd_timer snd i2c_bcm2835 pps_gpio pps_core uio_pdrv_genirq fixed uio
ax25 i2c_dev ip_tables x_tables ipv6


Basil Gunn
 

I can tell you when the patch is accepted into the mainline Linux kernel
but I have no visibility into when it will be in the kernel used by
Raspbian.

If you want to follow the kernel patch process, subscribe to the linux-i2c vger
list here: http://vger.kernel.org/vger-lists.html#linux-i2c

There are a couple of Linux kernel subsystem list archive links there as
well. Search for McDermond.

/Basil



Gayland Gump <kg7gcf@...> writes:

Basil, are there any ways to know when Anna's patches will be in place so
that we can do upgrades?

Gayland
KG7GCF


On Tue, May 28, 2019 at 10:02 PM Basil Gunn <@basil860> wrote:


Bernard,

The tlv320aic3204 driver in the 4.19.42 kernel will NOT work
reliably. You need to stick with the 4.14.98 kernel until all of Anna's
patches work their way into the main stream kernel.

From Anna:

ALSA changed the API to some of their calls, and the old TLV320 driver
doesn’t have the calls. The new TLV320 driver is in the Raspbian
kernel, but it won’t work reliably until I get the final patch pushed
in the kernel.
Do NOT do an apt-get upgrade for a while until this gets fixed.
I have taken apt-get upgrade out of prog_refresh.sh script.

/Basil

f6bvp <f6bvp@...> writes:

Here are my Compass beta 13 current software versions:

Linux compass-f6bvp 4.14.98-v7+ #1200 SMP Tue Feb 12 20:27:48 GMT 2019
armv7l GNU/Linux

Gnu C 6.3.0
Gnu make 4.1
binutils 2.28
util-linux 2.29.2
mount debug
module-init-tools 23
e2fsprogs 1.43.4
Linux C Library 2.24
Dynamic linker (ldd) 2.24
Net-tools 2.10-alpha
Kbd 2.0.3
Sh-utils 8.26
wireless-tools 30
Modules Loaded fuse rfcomm bnep hci_uart btbcm serdev bluetooth
ecdh_generic pps_ldisc xt_tcpudp ip6table_filter ip6_tables
iptable_filter joydev evdev ads1015 sg hwmon sc16is7xx tlv320aic32x4_i2c
uas tlv320aic32x4 brcmfmac brcmutil cfg80211 rfkill udrc
snd_soc_bcm2835_i2s snd_soc_core snd_compress snd_pcm_dmaengine snd_pcm
snd_timer snd i2c_bcm2835 pps_gpio pps_core uio_pdrv_genirq fixed uio
ax25 i2c_dev ip_tables x_tables ipv6



 

It should also be mentioned, you can use apt-get upgrade package-name to upgrade packages without upgrading everything.  Eg. sudo apt-get upgrade nano only upgrades the nano editor (and packages that it depends upon) and will not do a general upgrade.

The general rule of thumb should be to only upgrade when needed, eg. to address a bug/new feature or security issue, not just because there is a newer version.



On Wed, May 29, 2019 at 11:33 AM Basil Gunn <basil@...> wrote:

On the systems I have tried to do the apt-get upgrade, the kernel
upgrade failed ... which is a good thing. The 4.14.98-v7+ kernel is
working fine for me on those systems.  What I'm saying is if you try to
do an apt-get upgrade it is not catastrophic. The kernel upgrade should
fail & you will be left with a working system.

I will let you know when an 'apt-get upgrade' is working as expected.
I am thinking this will be several months out. A patch must be accepted
in the Linux kernel (see kernel.org) and then Raspbian will choose a
kernel to include in their distribution.

/Basil
Steve, N9VW <steve@...> writes:

> Basil,
> It seems that I was bitten by the upgrade issue as well. Will a notice
> be sent out to all when it is safe to do an "apt-get upgrade" on the system?
>
> Thanks
> Steve, N9VW
>
> On 5/28/2019 10:02 PM, Basil Gunn wrote:
>> Bernard,
>>
>> The tlv320aic3204 driver in the 4.19.42 kernel will NOT work
>> reliably. You need to stick with the  4.14.98 kernel until all of Anna's
>> patches work their way into the main stream kernel.
>>
>>  From  Anna:
>>
>>> ALSA changed the API to some of their calls, and the old TLV320 driver
>>> doesn’t have the calls.  The new TLV320 driver is in the Raspbian
>>> kernel, but it won’t work reliably until I get the final patch pushed
>>> in the kernel.
>> Do NOT do an apt-get upgrade for a while until this gets fixed.
>> I have taken apt-get upgrade out of prog_refresh.sh script.
>>
>> /Basil
>>
>> f6bvp <f6bvp@...> writes:
>>
>>> Here are my Compass beta 13 current software versions:
>>>
>>> Linux compass-f6bvp 4.14.98-v7+ #1200 SMP Tue Feb 12 20:27:48 GMT 2019
>>> armv7l GNU/Linux
>>>
>>> Gnu C                  6.3.0
>>> Gnu make               4.1
>>> binutils               2.28
>>> util-linux             2.29.2
>>> mount                  debug
>>> module-init-tools      23
>>> e2fsprogs              1.43.4
>>> Linux C Library        2.24
>>> Dynamic linker (ldd)   2.24
>>> Net-tools              2.10-alpha
>>> Kbd                    2.0.3
>>> Sh-utils               8.26
>>> wireless-tools         30
>>> Modules Loaded         fuse rfcomm bnep hci_uart btbcm serdev bluetooth
>>> ecdh_generic pps_ldisc xt_tcpudp ip6table_filter ip6_tables
>>> iptable_filter joydev evdev ads1015 sg hwmon sc16is7xx tlv320aic32x4_i2c
>>> uas tlv320aic32x4 brcmfmac brcmutil cfg80211 rfkill udrc
>>> snd_soc_bcm2835_i2s snd_soc_core snd_compress snd_pcm_dmaengine snd_pcm
>>> snd_timer snd i2c_bcm2835 pps_gpio pps_core uio_pdrv_genirq fixed uio
>>> ax25 i2c_dev ip_tables x_tables ipv6
>>
>>
>>
>
>
>





--
John D. Hays
Kingston, WA
K7VE

 

Larry W7PAN
 

Basil,

Wish I had seen this thread earlier, I got the same error.  Hope the info below helps others that may not be so familiar with dpkg.

After the failure to upgrade the kernel, the dpkg install and configuration of other upgraded apps may not have completed and the system may be in a usable but possibly unstable state.

Issuing the command sudo dpkg -C will perform an audit and will return a list of apps not installed and/or configured.  If none are found it returns nothing and the apps have been upgraded.

If a list was returned then issuing the command sudo dpkg --configure -a should complete the install and configuration of the other upgraded apps.  Issuing the command sudo dpkg -C again will confirm this is the case.

Larry - W7PAN