Hi,
my hifiberry / beocreate setup seems to work quite well... until I try to unplug it. Almost every time I unplug / replug the board, the Pi crashes more or less badly at boot time. sometimes it freezes with a kernel panic, sometimes I still can get a ssh login and have a look at the dmesg.
there is nothing special about the hardware: Pi4B 2GB, beocreate, 32GB uSD card, hifiberry power supply (24V / 180W), ethernet, wifi.
Nothing special about the settings. I got crashes at startup even when rebooting a freshly installed system.
I got another Pi4B running hifiberryos with a hifiberry DAC and it works great.
here are some error lines in dmesg :
[ 3.581191] EXT4-fs error (device mmcblk0p2): ext4_lookup:1701: inode #4450: comm systemd-udevd: iget: bad extra_isize 64868 (inode size 256)
[ 3.583298] bcmgenet: Skipping UMAC reset
[ 3.586790] bcmgenet fd580000.ethernet: configuring instance for external RGMII
[ 3.587181] bcmgenet fd580000.ethernet eth0: Link is Down
[ 3.602089] EXT4-fs error (device mmcblk0p2): ext4_lookup:1701: inode #4450: comm systemd-udevd: iget: bad extra_isize 64868 (inode size 256)
[ 3.613818] EXT4-fs error (device mmcblk0p2): ext4_lookup:1701: inode #4450: comm systemd-udevd: iget: bad extra_isize 64868 (inode size 256)
then:
[ 3.904083] snd-rpi-simple soc:sound: ASoC: failed to init link HifiBerry DAC: -517
and again:
[ 7.440978] EXT4-fs error (device mmcblk0p2): ext4_lookup:1701: inode #4463: comm modprobe: iget: bad extra_isize 5877 (inode size 256)
[ 7.467841] EXT4-fs error (device mmcblk0p2): ext4_lookup:1701: inode #4463: comm systemd-udevd: iget: bad extra_isize 5877 (inode size 256)
[ 18.734996] EXT4-fs error (device mmcblk0p2): ext4_lookup:1701: inode #4463: comm modprobe: iget: bad extra_isize 5877 (inode size 256)
Device mmcblk0p2 is the hifiberryos partition, right ?
# blkid
/dev/mmcblk0p1: SEC_TYPE="msdos" UUID="AE9B-FF25" BLOCK_SIZE="512" TYPE="vfat"
/dev/mmcblk0p2: LABEL="hifiberryos" UUID="eb5ce84e-2178-47c6-b897-82e785f13086" BLOCK_SIZE="4096" TYPE="ext4"
/dev/mmcblk0p4: UUID="cfeb460a-367c-4f9c-89e1-60b18e250259" BLOCK_SIZE="4096" TYPE="f2fs"
I tried to reboot from ssh and force fsck (shutdown -rF now) but that did not work and I was unable to reconnect w/ ssh.
that occurs very often, almost every time I unplug - replug the board. I ended reflashing the card a dozen of times...
any idea ?
Thanks