LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM
User Name
Password
Slackware - ARM This forum is for the discussion of Slackware ARM.

Notices


Reply
  Search this Thread
Old 11-18-2021, 12:31 PM   #61
sndwvs
Senior Member
 
Registered: Aug 2014
Posts: 1,917

Original Poster
Rep: Reputation: Disabled

update kernel 5.15.2
slarm64-current-aarch64-server-raspberry_pi_3-5.15.2-build-20211118.img.zst
slarm64-current-aarch64-server-raspberry_pi_3-5.15.2-build-20211118.img.zst.sha256
slarm64-current-aarch64-xfce-raspberry_pi_3-5.15.2-build-20211118.img.zst
slarm64-current-aarch64-xfce-raspberry_pi_3-5.15.2-build-20211118.img.zst.sha256
 
1 members found this post helpful.
Old 11-26-2021, 10:34 AM   #62
larrybpsu
Member
 
Registered: Oct 2005
Location: Uniontown PA, USA
Distribution: Slackware
Posts: 65

Rep: Reputation: 16
Happy to see a new build, so I tried booting it up this morning.

As part of the initrd, it starts loading modules then throws an error:

mount: mounting /dev/mmcblk0p2 on /mnt failed: No such file or directory

then starts a maintenance shell.

My wireless usb keyboard isn't initialized yet...so I can't attempt to fix anything.

Any pointers for correcting this?
 
Old 11-26-2021, 01:29 PM   #63
sndwvs
Senior Member
 
Registered: Aug 2014
Posts: 1,917

Original Poster
Rep: Reputation: Disabled
try replacing in config.txt
Code:
#kernel=u-boot.bin
kernel=Image
 
Old 11-27-2021, 07:12 PM   #64
larrybpsu
Member
 
Registered: Oct 2005
Location: Uniontown PA, USA
Distribution: Slackware
Posts: 65

Rep: Reputation: 16
With the 'server' image....the 'kernel=Image' in config.txt allows a system boot. Looks like it resizes the linuxroot partition, then reboots.

It proceeds to load drivers, then the video goes dead after loading the bcm2835 drivers.

With the 'xfce' image, pretty much the same.

I've tried connecting via ssh since I can't get a console, but the root login isn't taking a blank password. Checked the sshd.config file - root is allowed in.

I remember there being a default root password in past builds, but the README for the image just has "login: root" no password. I looked at other devices, and they are the same.

Is anyone else running this release without issues?

The loss of the video on the hdmi port ... show stopper.
 
Old 11-28-2021, 03:01 AM   #65
sndwvs
Senior Member
 
Registered: Aug 2014
Posts: 1,917

Original Poster
Rep: Reputation: Disabled
setting a password is requested at the first login, you can set it by doing chroot.
also it looks like a problem with the video driver, try commenting out or adding other parameters:
Code:
[pi3]
# These are not applied automatically? Needed to use respective upstream drivers.
#dtoverlay=vc4-kms-v3d,cma-default
dtoverlay=dwc
 
Old 11-28-2021, 12:00 PM   #66
larrybpsu
Member
 
Registered: Oct 2005
Location: Uniontown PA, USA
Distribution: Slackware
Posts: 65

Rep: Reputation: 16
Commenting out that line causes the same video loss.

Without being able to log in on the console, can't set root password and can't ssh in.

Yeah, it's probably something with the drivers. Two builds ago worked...nothing since. Don't remember the kernel version it was. Since I'm just tinkering with the pi, I didn't keep a backup.
 
Old 11-29-2021, 02:15 PM   #68
larrybpsu
Member
 
Registered: Oct 2005
Location: Uniontown PA, USA
Distribution: Slackware
Posts: 65

Rep: Reputation: 16
Just tried the new build w/5.15.5 kernel.... set 'kernel=Image' in config.txt.

Still a no-go with the video over hdmi

It does the initial boot, loads some drivers...then video is gone.
 
Old 11-29-2021, 03:16 PM   #69
sndwvs
Senior Member
 
Registered: Aug 2014
Posts: 1,917

Original Poster
Rep: Reputation: Disabled
show the output of
Code:
lsmod
 
Old 11-29-2021, 04:32 PM   #70
larrybpsu
Member
 
Registered: Oct 2005
Location: Uniontown PA, USA
Distribution: Slackware
Posts: 65

Rep: Reputation: 16
I can not login to the console....no video.

Can't login via ssh, since there's no 'root' password.

Let me see if I can hack in a password to the shadow file and connect vi ssh.
 
Old 11-29-2021, 06:41 PM   #71
larrybpsu
Member
 
Registered: Oct 2005
Location: Uniontown PA, USA
Distribution: Slackware
Posts: 65

Rep: Reputation: 16
Ok....swiped a hash out of my desktop and put it in the shadow on the linuxroot partition.

NOW I can ssh in!

Here's the lsmod output:



Code:
Module                  Size  Used by
cmac                   16384  2
algif_hash             20480  1
aes_arm64              16384  2
algif_skcipher         20480  1
af_alg                 32768  6 algif_hash,algif_skcipher
bnep                   28672  2
8021q                  32768  0
garp                   16384  1 8021q
stp                    20480  1 garp
llc                    20480  2 stp,garp
ipv6                  552960  28
joydev                 24576  0
snd_soc_hdmi_codec     20480  0
spidev                 24576  0
vc4                   278528  0
cec                    53248  1 vc4
hci_uart               49152  1
drm_kms_helper        294912  1 vc4
btbcm                  24576  1 hci_uart
drm                   577536  2 drm_kms_helper,vc4
drm_panel_orientation_quirks    24576  1 drm
snd_soc_core          245760  2 vc4,snd_soc_hdmi_codec
brcmfmac              331776  0
snd_compress           20480  1 snd_soc_core
snd_pcm_dmaengine      20480  1 snd_soc_core
syscopyarea            16384  1 drm_kms_helper
sysfillrect            16384  1 drm_kms_helper
brcmutil               24576  1 brcmfmac
sysimgblt              16384  1 drm_kms_helper
fb_sys_fops            16384  1 drm_kms_helper
backlight              20480  2 drm_kms_helper,drm
bluetooth             475136  26 hci_uart,btbcm,bnep
cfg80211              872448  1 brcmfmac
bcm2835_isp            32768  0
bcm2835_codec          49152  0
bcm2835_v4l2           45056  0
ecdh_generic           16384  1 bluetooth
ecc                    36864  1 ecdh_generic
rfkill                 36864  5 bluetooth,cfg80211
bcm2835_mmal_vchiq     40960  3 bcm2835_codec,bcm2835_v4l2,bcm2835_isp
v4l2_mem2mem           40960  1 bcm2835_codec
videobuf2_vmalloc      20480  1 bcm2835_v4l2
videobuf2_dma_contig    24576  2 bcm2835_codec,bcm2835_isp
videobuf2_memops       20480  2 videobuf2_vmalloc,videobuf2_dma_contig
dwc2                  192512  0
videobuf2_v4l2         32768  4 bcm2835_codec,bcm2835_v4l2,v4l2_mem2mem,bcm2835_isp
raspberrypi_hwmon      16384  0
videobuf2_common       65536  8 bcm2835_codec,videobuf2_vmalloc,videobuf2_dma_contig,videobuf2_v4l2,bcm2835_v4l2,v4l2_mem2mem,videobuf2_memops,bcm2835_isp
roles                  20480  1 dwc2
snd_bcm2835            28672  0
videodev              266240  6 bcm2835_codec,videobuf2_v4l2,bcm2835_v4l2,videobuf2_common,v4l2_mem2mem,bcm2835_isp
snd_pcm               135168  5 snd_bcm2835,snd_soc_hdmi_codec,snd_compress,snd_soc_core,snd_pcm_dmaengine
mc                     61440  6 videodev,bcm2835_codec,videobuf2_v4l2,videobuf2_common,v4l2_mem2mem,bcm2835_isp
i2c_bcm2835            16384  0
snd_timer              36864  1 snd_pcm
spi_bcm2835            24576  0
snd                    98304  6 snd_bcm2835,snd_soc_hdmi_codec,snd_timer,snd_compress,snd_soc_core,snd_pcm
vc_sm_cma              36864  2 bcm2835_mmal_vchiq,bcm2835_isp
uio_pdrv_genirq        16384  0
uio                    24576  1 uio_pdrv_genirq
For what it is worth, here's a chunk of dmesg about the video driver:

Code:
[    3.867277] Console: switching to colour dummy device 80x25
[    3.868375] vc4-drm soc:gpu: bound 3f400000.hvs (ops vc4_hvs_ops [vc4])
[    3.871947] dwc2 3f980000.usb: EPs: 8, dedicated fifos, 4080 entries in SPRAM
[    3.872330] dwc2 3f980000.usb: DWC OTG Controller
[    3.872379] dwc2 3f980000.usb: new USB bus registered, assigned bus number 1
[    3.872436] dwc2 3f980000.usb: irq 51, io mem 0x3f980000
[    3.872753] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.15
[    3.872782] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.872802] usb usb1: Product: DWC OTG Controller
[    3.872818] usb usb1: Manufacturer: Linux 5.15.5 dwc2_hsotg
[    3.872834] usb usb1: SerialNumber: 3f980000.usb
[    3.873956] hub 1-0:1.0: USB hub found
[    3.874032] hub 1-0:1.0: 1 port detected
[    3.877693] vc4-drm soc:gpu: bound 3f400000.hvs (ops vc4_hvs_ops [vc4])
[    3.883131] vc4-drm soc:gpu: bound 3f400000.hvs (ops vc4_hvs_ops [vc4])
[    3.890754] vc4-drm soc:gpu: bound 3f400000.hvs (ops vc4_hvs_ops [vc4])
[    4.066659] vc4-drm soc:gpu: bound 3f400000.hvs (ops vc4_hvs_ops [vc4])
[    4.071238] vc4-drm soc:gpu: bound 3f902000.hdmi (ops vc4_hdmi_ops [vc4])
[    4.071422] of_clk_hw_onecell_get: invalid index 15
[    4.071443] [drm:vc4_vec_bind [vc4]] *ERROR* Failed to get clock: -2
[    4.071514] vc4-drm soc:gpu: failed to bind 3f806000.vec (ops vc4_vec_ops [vc4]): -2
[    4.074130] vc4-drm soc:gpu: master bind failed: -2
[    4.074187] vc4-drm: probe of soc:gpu failed with error -2
[    4.075455] udevd[408]: error opening ATTR{/sys/devices/platform/soc/3f902000.hdmi/sound/card1/controlC1/../uevent} for writing: No such file or directory
Looks like there IS something wrong in the video driver.
 
Old 11-29-2021, 10:26 PM   #72
sndwvs
Senior Member
 
Registered: Aug 2014
Posts: 1,917

Original Poster
Rep: Reputation: Disabled
add module to exception:
Code:
echo -e "\nvc4\nvc4-drm" > /etc/modprobe.d/blacklist-vc4.conf
 
Old 11-30-2021, 07:55 AM   #73
larrybpsu
Member
 
Registered: Oct 2005
Location: Uniontown PA, USA
Distribution: Slackware
Posts: 65

Rep: Reputation: 16
Added the blacklist file, but produces same result.
Loss of hdmi video after a couple seconds, and similar error in dmesg.
 
Old 11-30-2021, 06:08 PM   #74
larrybpsu
Member
 
Registered: Oct 2005
Location: Uniontown PA, USA
Distribution: Slackware
Posts: 65

Rep: Reputation: 16
Yeah!!!!! I got it to ACTUALLY blacklist the vc4 modules,

The proper .conf file setup is:

Code:
blacklist vc4
blacklist vc4-drm
From shell:

Code:
echo -e "\nblacklist vc4\nblacklist vc4-drm" > /etc/modprobe.d/blacklist-vc4.conf
I now get video on the hdmi screen and I can login on the console using the xfce image.

Hope this helps other folks with the Pi 3.
 
Old 12-07-2021, 09:17 AM   #75
sndwvs
Senior Member
 
Registered: Aug 2014
Posts: 1,917

Original Poster
Rep: Reputation: Disabled
discussion here
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Raspberry Pi 4 bcm2711 (aarch64) sndwvs Slackware - ARM 90 12-17-2021 04:37 AM
LXer: Raspberry Pi: Combine a Raspberry Pi with up to 4 Raspberry Pi Zeros for less than US$50 with the Cluster HAT LXer Syndicated Linux News 0 07-05-2019 12:03 PM
LXer: AArch64 Called For Merging To GCC Trunk LXer Syndicated Linux News 0 10-23-2012 05:42 PM
LXer: ARM64/AArch64 Support Going Into Linux 3.7 Kernel LXer Syndicated Linux News 0 10-02-2012 06:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM

All times are GMT -5. The time now is 10:53 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration