Bug#1021315: Linux kernel very slow to boot

2022-12-06 Thread eHenry Berg
Hi,

The reason why it was very slow to boot up, was because of the file
system check.

# nano /boot/firmware/cmdline.txt
dwc_otg.lpm_enable=0 console=tty0 root=/dev/mmcblk0p3 rootfstype=f2fs
elevator=deadline fsck.repair=yes rootwait cma=416M
->
dwc_otg.lpm_enable=0 console=tty0 root=/dev/mmcblk0p3 rootfstype=f2fs
elevator=deadline rootwait cma=416M

I erased "fsck.repair=yes" from the cmdline.txt above and now it boots up fast.

Please close this bug.

Best Regards,
Evald



Bug#935456: No GPU hardware detected with kernel 5.2 for Rpi2b and Rpi3b

2021-02-11 Thread eHenry Berg
Hi,

I tested the below hardware now.
Kernel 5.10.0-3 with device_tree from the same kernel (5.10.0-3):

armhfCard   arm64Card
Rpi2b   Success NotPossible32bitCpu
Rpi3b   Success Success*1)
Rpi3b+  Success Success*1)

*1) Digital audio not working (HDMI)

Success means Gpu (Kde) and analog audio work!
I do not have the hardware for Rpi4b.

Best Regards,
Evald



Bug#935456: No GPU hardware detected with kernel 5.2 for Rpi2b and Rpi3b

2019-09-08 Thread eHenry Berg
Hi,

Kernel 5.2.0-2 with device_tree from kernel 4.19 works:

armhfCard   arm64Card
4.19.0-5:
Rpi2b   Success NotPossible32bitCpu
Rpi3b   Success Success
Rpi3b+  Success Success
5.2.0-2 with device_tree from kernel 4.19:
Rpi2b   Success*1)  NotPossible32bitCpu
Rpi3b   Success*1)  Success*1)
Rpi3b+  Success*1)  Success*1)  // Bug report 939633

# cat cmdline.txt
dwc_otg.lpm_enable=0 console=tty0 root=/dev/mmcblk0p3 rootfstype=f2fs
elevator=deadline fsck.repair=yes rootwait cma=416M

# cat config.txt// Rpi3b, armhfCard
device_tree=bcm2837-rpi-3-b.dtb.4.19
kernel=vmlinuz-5.2.0-2-armmp
initramfs initrd.img-5.2.0-2-armmp followkernel

*1) "Success" 5.2.0-2 with device_tree from kernel 4.19:
Kde runs very well and stable. The exception is the Hdmi audio which
does not work.
shutdown -h now // It does not disconnect the power to the monitor. It
leaves the monitor on with the text (last row): "reboot: System
halted"
shutdown -r now // It does not restart. It leaves the monitor on with
the text (last row): "Reboot failed -- System halted"
Shutdown processes:
 Stopped Login Service
 Manage Sound Card  // Delay for about a minute with text rows coming
before "A stop job is running for"...


Rpi3b logs for different configurations (in a search for hdmi audio problem):

---

4.19 kernel and device_tree=bcm2837-rpi-3-b.dtb.4.19:  // Hdmi audio works!

# journalctl|grep -i bcm
Sep 07 19:06:19 irena kernel: Kernel command line:
video=HDMI-A-1:1920x1080@60 dma.dmachans=0x7f35
bcm2709.boardrev=0xa02082 bcm2709.serial=0x3f3d54e2
bcm2709.uart_clock=4800 smsc95xx.macaddr=B8:27:EB:3D:54:E2
vc_mem.mem_base=0x3ec0 vc_mem.mem_size=0x4000
dwc_otg.lpm_enable=0 console=tty0 root=/dev/mmcblk0p3 rootfstype=f2fs
elevator=deadline fsck.repair=yes rootwait cma=416M
Sep 07 19:06:19 irena kernel: bcm2835: system timer (irq = 27)
Sep 07 19:06:19 irena kernel: bcm2835-mbox 3f00b880.mailbox: mailbox enabled
Sep 07 19:06:19 irena kernel: i2c-bcm2835 3f805000.i2c: Could not read
clock-frequency property
Sep 07 19:06:19 irena kernel: sdhost-bcm2835 3f202000.mmc: loaded -
DMA enabled (>1)
Sep 07 19:06:20 irena kernel: bcm2835-wdt 3f10.watchdog: Broadcom
BCM2835 watchdog timer
Sep 07 19:06:20 irena kernel: bcm2835-rng 3f104000.rng: hwrng registered
Sep 07 19:06:21 irena kernel: brcmfmac: brcmf_fw_alloc_request: using
brcm/brcmfmac43430-sdio for chip BCM43430/1

# journalctl|grep -i hdmi
Sep 07 19:06:19 irena kernel: Kernel command line:
video=HDMI-A-1:1920x1080@60 dma.dmachans=0x7f35
bcm2709.boardrev=0xa02082 bcm2709.serial=0x3f3d54e2
bcm2709.uart_clock=4800 smsc95xx.macaddr=B8:27:EB:3D:54:E2
vc_mem.mem_base=0x3ec0 vc_mem.mem_size=0x4000
dwc_otg.lpm_enable=0 console=tty0 root=/dev/mmcblk0p3 rootfstype=f2fs
elevator=deadline fsck.repair=yes rootwait cma=416M
Sep 07 19:06:19 irena kernel: vc4_hdmi 3f902000.hdmi: ASoC: Failed to
create component debugfs directory
Sep 07 19:06:19 irena kernel: vc4_hdmi 3f902000.hdmi: vc4-hdmi-hifi
<-> 3f902000.hdmi mapping ok
Sep 07 19:06:19 irena kernel: vc4_hdmi 3f902000.hdmi: ASoC: no DMI vendor name!
Sep 07 19:06:19 irena kernel: vc4-drm soc:gpu: bound 3f902000.hdmi
(ops vc4_hdmi_ops [vc4])
Sep 07 19:07:17 irena sddm-greeter[549]: Adding view for "HDMI-1"
QRect(0,0 1920x1080)

# journalctl -p 3
-- Logs begin at Sun 2019-09-08 06:20:52 UTC, end at Sun 2019-09-08
07:42:01 UTC. --
Sep 08 06:20:54 irena kernel: brcmfmac mmc1:0001:1: firmware: failed
to load brcm/brcmfmac43430-sdio.bin (-2)
Sep 08 06:20:54 irena kernel: firmware_class: See
https://wiki.debian.org/Firmware for information about missing
firmware
Sep 08 06:20:55 irena kernel: brcmfmac: brcmf_sdio_htclk: HT Avail
timeout (100): clkctl 0x50
Sep 08 06:20:58 irena lircd-0.10.1[384]: Cannot stat socket path
/var/run/lirc/lircd: No such file or directory
Sep 08 06:20:58 irena lircd-0.10.1[384]: Error: Cannot setup input
file descriptor.
Sep 08 06:21:04 irena ntpd[481]: error resolving pool
0.debian.pool.ntp.org: Temporary failure in name resolution (-3)
Sep 08 06:21:05 irena ntpd[481]: error resolving pool
1.debian.pool.ntp.org: Temporary failure in name resolution (-3)

---

5.2 kernel and device_tree=bcm2837-rpi-3-b.dtb.5.2:  // KDE does not work!

# journalctl|grep -i bcm
Sep 07 19:00:21 irena kernel: Kernel command line:
video=HDMI-A-1:1920x1080@60 dma.dmachans=0x7f35
bcm2709.boardrev=0xa02082 bcm2709.serial=0x3f3d54e2
bcm2709.uart_clock=4800 smsc95xx.macaddr=B8:27:EB:3D:54:E2
vc_mem.mem_base=0x3ec0 vc_mem.mem_size=0x4000
dwc_otg.lpm_enable=0 console=tty0 root=/dev/mmcblk0p3 rootfstype=f2fs
elevator=deadline fsck.repair=yes rootwait cma=416M
Sep 07 19:00:21 irena kernel: bcm2835: system timer (irq = 27)
Sep 07 19:00:21 irena kernel: bcm2835-power bcm2835-power: Broadcom
BCM2835 power domains driver
Sep 07 19:00:21 irena kernel: bcm2835-mbox 3f00b880.mailbox: mailbox enabled
Sep 07 19:00:21 irena kernel: i2c-bcm2835 3f805000.i2c: Could not read
clock-frequency property
Sep 07 19:00:21 

Bug#939633: Rpi3+ hangs with kernel 5.2 device_tree

2019-09-07 Thread eHenry Berg
Package: linux-image-armmp
Version: 5.2.0-2

Hello,

I have made a guide for Debian on Rpi here:
https://github.com/evasjo/DebianSbcRaspberry

I have 1 device (Rpi3+) and 2 environments (cards).

armhfCard   arm64Card
4.19.0-5Success Success
5.2.0-2 Failure Failure

New firmware for armhfCard  2018-08-05 -> 2019-08-17// It did not 
help.
New firmware for arm64Card  2018-12-25 -> 2019-08-17// It did not 
help.

# cat cmdline.txt
dwc_otg.lpm_enable=0 console=tty0 root=/dev/mmcblk0p3 rootfstype=f2fs
elevator=deadline fsck.repair=yes rootwait cma=416M

# cat config.txt   // armhfCard
device_tree=bcm2837-rpi-3-b-plus.dtb.5.2
kernel=vmlinuz-5.2.0-2-armmp
initramfs initrd.img-5.2.0-2-armmp followkernel

# cat config.txt// arm64Card
arm_control=0x200
device_tree=bcm2837-rpi-3-b-plus.dtb.5.2
kernel=vmlinuz-5.2.0-2-arm64
initramfs initrd.img-5.2.0-2-arm64 followkernel

# cat /etc/apt/sources.list
deb http://ftp.fi.debian.org/debian sid main contrib non-free

# cat /etc/initramfs-tools/modules
crc32
crc32c
f2fs

# cat /etc/modules
f2fs
vc4

# cat /etc/dphys-swapfile
 CONF_SWAPSIZE=1024 // This row is uncommented

# uname -a  // armhfCard
Linux irena 5.2.0-2-armmp #1 SMP Debian 5.2.9-2 (2019-08-21) armv7l GNU/Linux

# uname -a  // arm64Card
Linux atlas 5.2.0-2-arm64 #1 SMP Debian 5.2.9-2 (2019-08-21) aarch64 GNU/Linux

# less /var/log/syslog.1| grep "bcm2835-power"  // No new errors (ASB)
# zcat /var/log/syslog.2.gz| grep "bcm2835-power"// No new errors (ASB)
# zcat /var/log/syslog.3.gz| grep "bcm2835-power"// No new errors (ASB)

Error cases below are with 5.2 kernel and its device_tree.
"Hangs" below means that you cannot do anything more with your mouse
or keyboard. You have to switch off and on the electricity.

Reproducible errors:

ReprodError1 week35:  // armhfCard  // Intermittent error week36
a. Start the computer and wait for the SDDM display manager
b. Give Ctrl + Alt + F2 and wait approximately 5 seconds
c. It writes below the login row: "bcm2835-power bcm2835-power: Failed
to disable ASB master for v3d"// Hangs.

ReprodErrorAvoid1 week35:  // armhfCard
a. Start the computer and wait for the SDDM display manager
b. Give Ctrl + Alt + F2
c. Login with root
d. # tail -f /var/log/syslog

ReprodError2:  // arm64Card
a. Start the computer and wait for the SDDM display manager
b. Login with the keyboard, but do not touch the mouse.
c. Kde start normally and everything is visible.  // Hangs.

ReprodErrorAvoid2:  // arm64Card.
a. Start the computer and wait for the SDDM display manager
b. Login with the keyboard and move the mouse (little is enough).
c. Kde start normally and works for the time being.

ReprodError3 week36:  // armhfCard
a. Start the computer and wait for the SDDM display manager
b. Wait for the cursor to blink in the input field 40-45 seconds. // Hangs

Intermittent errors:

IntermError1:  // arm64Card and armhfCard
a. Start Kde
b. Push the Window key and write for example fakon
c. Backspace (try correct it to falkon) // Hangs

IntermError2:  // armhfCard.
a. Start Kde
b. Start Konsole and # tail -f /var/log/syslog  // No additonal
(error) rows after the computer was hanged
c. Start editor Kate and a file and arrow key down  // Hangs. The
mouse cursor was gone.

IntermError3:  // armhfCard.
a. Start Kde
b. Start Konsole and # tail -f /var/log/syslog  // No additonal
(error) rows after the computer was hanged
c. Start browser Falkon  // Hangs. The Falkon window, the mouse cursor
and everything else, were visible.

IntermError4:  // armhfCard.
a. Start the computer and wait for the SDDM display manager
b. Give password and enter  // Hangs

IntermError5:  // ar64fCard.
a. Start Kde
b. Start browser Falkon
c. Give url address and choose arrow down to the right in the window.  // Hangs.


Graphic in kernel 4.19.0-5 works without any problem (maybe locks few
times per month and a break of electricity is needed).
Graphic in kernel 5.2 with its device_tree, locks few times per hour
and a break of electricity is needed.

I have a feeling that the culprit is the error message "bcm2835-power
bcm2835-power: Failed to disable ASB master for v3d" which I got for
"ReprodError1" for armhfCard.

This configuration works (device_tree from kernel 4.19), but then
"bcm2835-power" is not used:
# cat config.txt
device_tree=bcm2837-rpi-3-b-plus.dtb.4.19
kernel=vmlinuz-5.2.0-2-armmp
initramfs initrd.img-5.2.0-2-armmp followkernel

Best Regards,
Evald



Bug#935456: No GPU hardware detected with kernel 5.2 for Rpi2b and Rpi3b

2019-08-22 Thread eHenry Berg
Package: linux-image-armmp
Version: 5.2.0-2

Hello,

I have made a guide for Debian on Rpi here:
https://github.com/evasjo/DebianSbcRaspberry

I have 3 devices (Rpi) and 2 environments (cards).

armhfCard   arm64Card
4.19.0-5:
Rpi2b   Success NotPossible32bitCpu
Rpi3b   Success Success
Rpi3b+  Success Success
5.2.0-2:
Rpi2b   Failure NotPossible32bitCpu
Rpi3b   Failure Failure
Rpi3b+  Success Success

The display manager SDDM does not start with kernel 5.2" for combinations above.

New firmware for armhfCard  2018-08-05 -> 2019-08-17// It did not 
help.
New firmware for arm64Card  2018-12-25 -> 2019-08-17// It did not 
help.

# cat cmdline.txt
dwc_otg.lpm_enable=0 console=tty0 console=${serial}
root=/dev/mmcblk0p3 rootfstype=f2fs elevator=deadline fsck.repair=yes
rootwait cma=416M

# cat config.txt   // armhfCard
device_tree=bcm2837-rpi-3-b-plus.dtb.5.2
kernel=vmlinuz-5.2.0-2-armmp
initramfs initrd.img-5.2.0-2-armmp followkernel

# cat config.txt// arm64Card
arm_control=0x200
device_tree=bcm2837-rpi-3-b-plus.dtb.5.2
kernel=vmlinuz-5.2.0-2-arm64
initramfs initrd.img-5.2.0-2-arm64 followkernel

# cat /etc/apt/sources.list
deb http://ftp.fi.debian.org/debian sid main contrib non-free

# cat /etc/initramfs-tools/modules
crc32
crc32c
f2fs

# cat /etc/modules
f2fs
vc4

"Failure" logs:
# journalctl|grep -i vc4// No rows i.e. no GPU hardware detected
# lsmod|grep -i vc4 // There are rows i.e. the module is loaded
# journalctl|grep -i bcm
bcm2835-power bcm2835-power: Timeout waiting for grafx power OK // A
lot of these rows

"Success", 4.19.0-5:
Kde is running.
shutdown -h now // It does disconnect the power to the monitor.
shutdown -r now // It restarts the computer.

"Success", 5.2.0-2 (5.2.9.1):
Kde is running.
shutdown -h now // It does not disconnect the power to the monitor. It
leaves the monitor on with the text (last row): "reboot: System
halted"
shutdown -r now // It does not restart. It leaves the monitor on with
the text (last row): "Reboot failed -- System halted"

The "Failure" culprit seems to be "bcm2835-power" for Rpi2b and Rpi3b.

Best Regards,
Evald



Bug#856505: snd_bcm2835 included on 4.19 kernel in experimental

2018-11-29 Thread eHenry Berg
Hi!

This is my souces.list, but I got your message:
# cat /etc/apt/sources.list
deb http://ftp.fi.debian.org/debian sid main contrib non-free
#
I have been working with Dkms with this:
https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git/tree/drivers/staging/vc04_services
with branch staging-testing.
I got both vchiq.ko and snd-bcm2835.ko compiled and installed, but I
think I am in the same situation like you.

This is what Raspian give:
nov 24 16:36:03 raspberrypi kernel: snd_bcm2835: module is from the
staging directory, the quality is unknown, you have been warned.
nov 24 16:36:03 raspberrypi kernel: bcm2835_alsa bcm2835_alsa: card
created with 8 channels

Debian armhf with gregkh driver source give this:
Nov 28 21:04:46 irena kernel: vchiq: loading out-of-tree module taints kernel.
Nov 28 21:04:46 irena kernel: vchiq: vchiq_init_state: slot_zero =
61f93cc4, is_master = 0
Nov 28 21:04:46 irena systemd-modules-load[190]: Inserted module 'snd_bcm2835'

lsmod and /proc/modules look okay i.e. modules have been loaded.
/proc/asound is not populated with the new driver i.e. we do not have
communication interface with the hardware.

I just recently got the modules installed. I think like you that the
dtb is the culprit. I have not studied how I can get dts compiled
without the whole kernel yet, but maybe you can test the below.
Here is a link:
https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git/tree/drivers/staging/vc04_services/bcm2835-audio/TODO
audio: audio {
compatible = "brcm,bcm2835-audio";
brcm,pwm-channels = <8>;
};

I think the 4 rows with audio should be inserted into this
https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git/tree/arch/arm/boot/dts/bcm283x.dtsi
after
vc4: gpu {
compatible = "brcm,bcm2835-vc4";
};

Can you put these 4 rows in bcm283x.dtsi in Debian. Test the new dtb
you got after this. Is /proc/asound populated with the new driver now?

4 °C in Aland Islands regards,
Evald



Bug#856505: No driver for BCM2835 audio output

2018-09-19 Thread eHenry Berg
Hello,

snd-bcm2835 has reached the staging section of the linux kernel,
according to these links:
https://www.raspberrypi.org/forums/viewtopic.php?f=50=222946
 
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/staging/vc04_services/bcm2835-audio/bcm2835.c?h=v4.14

# uname -r
4.18.0-1-arm64

# /sbin/modprobe snd-bcm2835
 modprobe: FATAL: Module snd-bcm2835 not found in directory
/lib/modules/4.18.0-1-arm64

# grep -i SND_BCM2835 /boot/config-4.18.0-1-arm64
 CONFIG_SND_BCM2835_SOC_I2S=m
 # CONFIG_SND_BCM2835 is not set

Is it possible to add staging driver snd-bcm2835 in Debian?
I use flavour amd64, armmp and armmp-lpae.

Best Regards,
Evald



Bug#884601: Raspberry pi 3 and 2 hang at boot with kernel 4.14

2018-06-03 Thread eHenry Berg
I tested version 4.16 with lpae:
# apt-get install linux-image-4.16.0-2-armmp-lpae

My both  Rpi2 and Rpi3 show:
# uname -a
Linux irena 4.16.0-2-armmp-lpae #1 SMP Debian 4.16.12-1 (2018-05-27)
armv7l GNU/Linux
#

Version 4.16 works with lpae!
This bug can therefore be closed.

By the way, I made a guide for 32-bit and 64-bit for Debian for Raspberry Pi:
https://github.com/evasjo/DebianSbcRaspberry

// Evald



Bug#884601: Raspberry pi 3 and 2 hang at boot with kernel 4.14

2018-05-09 Thread eHenry Berg
Hi,

This bug report is about linux-image-armmp-lpae. I tested
linux-image-armmp with versions 4.15.0-3 and 4.16.0-1, it works!
This bug 884601 can therefore be closed.
I am planning to put out a guide for 32-bit and 64-bit how to install
Debian desktop on Raspberry, but I have another Debian bug 897925
which means web browsers do not work for 32-bit.

Best Regards,
Evald



Bug#884601: Raspberry pi 3 and 2 hang at boot with kernel 4.14

2018-01-07 Thread eHenry Berg
Hi,

Thank you for your responses. I used the information from this script
to get a clean Debian environment:
https://www.raspberrypi.org/forums/viewtopic.php?t=104981=745746
 https://github.com/ShorTie8/my_pi_os
  my_pi_os.sh

My /etc/fstab:
#
proc/proc   procdefaults  0   0
/dev/mmcblk0p1  /boot/firmware  vfatnoauto,noatime0   2
/dev/mmcblk0p2  /boot   ext2defaults,noatime  0   0
/dev/mmcblk0p3  /   f2fsdefaults,noatime  0   0
/dev/sda1   /evsj   f2fsdefaults,noatime  0   0

My /etc/apt/sources.list:
deb http://ftp.fi.debian.org/debian sid main contrib non-free
deb-src http://ftp.fi.debian.org/debian sid main contrib non-free

Kernel 4.14:
Test1: console=tty0 console=${serial} root=/dev/mmcblk0p3
rootfstype=f2fs rw elevator=deadline fsck.repair=yes net.ifnames=0
rootwait
Test2: dwc_otg.lpm_enable=0 console=tty0 root=/dev/mmcblk0p3
rootfstype=f2fs elevator=deadline rootwait
Test3: rpi2 and rpi3
Test4: .dtb from 4.14 and 4.13.
Test5: Firmware from
anonscm.debian.org/cgit/pkg-raspi/raspi3-firmware.git/tree/boot
Test6: Disabled Sddm i.e. Gui to Cli interface
Test7: /etc/modules: f2fs,vc4; I removed vc4
Test8: Firmware from github.com/raspberrypi/firmware/tree/next
// All tests failed, same unsuccess as before

Kernel 4.13 works!

Another issue and maybe another bug number:
My rpi3 Bluetooth (or wlan) did not work before or now. Installation:
apt-get install firmware-brcm80211
cp from Rasbian /lib/firmware/brcm/brcmfmac43430-sdio.txt to my Debian
/lib/firmware/brcm/brcmfmac43430-sdio.txt// No success
wget -N 
https://anonscm.debian.org/cgit/pkg-raspi/raspi3-firmware.git/plain/brcm80211/brcmfmac43430-sdio.txt
   // No success

Best Regards,
Evald



Bug#884601: Raspberry pi 3 and 2 hang at boot with kernel 4.14

2017-12-17 Thread eHenry Berg
Package: linux-image-4.14.0-1-armmp-lpae
Version: 4.14.0-1

Firmware branch master: https://github.com/raspberrypi/firmware
Debian sid
I use HDMI-DVI cable.

Unsuccessful bug report of firmware:
https://github.com/raspberrypi/firmware/issues/915

cmdline.txt:
dwc_otg.lpm_enable=0 console=ttyAMA0,115200 console=tty1
root=/dev/mmcblk0p3 rootfstype=f2fs elevator=deadline rootwait

config.txt:
device_tree=bcm2837-rpi-3-b.dtb // From 4.13
kernel=vmlinuz-4.13.0-1-armmp-lpae
initramfs initrd.img-4.13.0-1-armmp-lpae followkernel
// Works very good!

config.txt:
device_tree=bcm2837-rpi-3-b.dtb // From 4.14
kernel=vmlinuz-4.14.0-1-armmp-lpae
initramfs initrd.img-4.14.0-1-armmp-lpae followkernel
// Black screen in the middle of the boot, never got kde login.

Video of the screen with my camera:
Welcome to Debian GNU/Linux Buster/sid!
...
Set up automount Aritrary Exectuble File
Mounting Kernel Debug File
Starting Restore / save
Listening on Journal Socket
Mounting Huge Pages File
Reached target Swap
Starting Create list of required
Listening on Journal Audit Socket
Starting Journal Service
vc4 hdmi 3f902000.hdmi: vc4-hdmi-hifi
vc4 hdmi 3f902000.hdmi: ASoC: no DMI
Mounted Kernel Debug File System-hdmi-hifi
// Black screen


Best Regards,
Evald



Bug#856505: No sound in Raspberry Pi 2, missing module?

2017-03-01 Thread eHenry Berg
Package: linux-image-4.9.0-2-armmp-lpae
Version: 4.9.0-2

My Raspberry Pi 2 does not give any sound from the 3.5 mm jack.

# cat /etc/apt/sources.list
deb http://ftp.fi.debian.org/debian sid main contrib non-free
deb-src http://ftp.fi.debian.org/debian sid main contrib non-free

# ls /proc/asound
ls: cannot access '/proc/asound': No such file or directory
# modprobe snd-bcm2835
modprobe: FATAL: Module snd-bcm2835 not found in directory
/lib/modules/4.9.0-2-armmp-lpae

In Rasbian configuration:
https://github.com/raspberrypi/linux/blob/rpi-4.9.y/arch/arm/configs/bcm2709_defconfig
CONFIG_SND_BCM2835=m

In Debian configuration:
/boot/config-4.9.0-2-armmp-lpae
I do not have "CONFIG_SND_BCM2835=m".

I think the sound does not work for me because the module snd-bcm2835
does not exist.
Can you configure kernel version 4.10 to include snd-bcm2835 as a
module, when it comes to sid.

Best Regards,
Evald