LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > slarm64
User Name
Password
slarm64 This forum is for the discussion of slarm64.

Notices


Reply
  Search this Thread
Old 03-30-2024, 10:49 AM   #1
SemiBeard
Member
 
Registered: Mar 2010
Location: Miami
Distribution: Slackware
Posts: 30

Rep: Reputation: 3
Directory errors after upgrading a bunch of packages


Hi Everyone,

So I have been catching up upgrading packages from
http://ftp.arm.slackware.com/slackwa...rch64-current/

But now I am unable to see permissions, nor date stamps of any files in the whole entire system.
for example, doing 'cd /' then ' ls -al' produces:
d????????? ? ? ? ? ? media
d????????? ? ? ? ? ? mnt
d????????? ? ? ? ? ? opt
d????????? ? ? ? ? ? proc
d????????? ? ? ? ? ? root
d????????? ? ? ? ? ? run
d????????? ? ? ? ? ? sbin
d????????? ? ? ? ? ? srv
d????????? ? ? ? ? ? swap
d????????? ? ? ? ? ? sys
d????????? ? ? ? ? ? tmp
d????????? ? ? ? ? ? tmp2
d????????? ? ? ? ? ? usr
d????????? ? ? ? ? ? var


Also, issuing 'ls /root (or any subdirectory name)' produces this message:
ls: cannot access '/root': Function not implemented Using /root as an example.

Doing ls of any specific filename produces this error: for example,
cd /bin
ls bash
ls: cannot access 'bash': Function not implemented


To do any work at all, I have to 'cd' to the subdirectory and then to an ls to at least get the file names to show up.

Should I recompile the kernel or upgrade the kernel from a rockpro64 kernel source.?

I dont know if it matters, but am running kernel 4.4.202

I already rebooted the rockpro64 but the issue still present.

Any ideas?

Thanks
 
Old 03-31-2024, 12:01 PM   #2
sndwvs
Senior Member
 
Registered: Aug 2014
Posts: 1,915

Rep: Reputation: Disabled
Quote:
Originally Posted by SemiBeard View Post
I dont know if it matters, but am running kernel 4.4.202
This is exactly what is important; in Patrick’s slackware, the glibc setting looks like this:
Code:
../configure \
  --prefix=/usr \
  --libdir=/usr/lib${LIBDIRSUFFIX} \
  --enable-kernel=4.4 \
  --with-headers=/usr/include \
  --enable-add-ons \
  --enable-profile \
  $DISABLE_NSCD \
  $WERROR \
  --infodir=/usr/info \
  --mandir=/usr/man \
  --with-tls \
  --with-__thread \
  --without-cvs \
  $TARGET-slackware-linux
in slackware aarch64:
Code:
../configure \
   \
   $SLKCONFARGS \
   \
   --prefix=/usr \
   --libdir=/usr/lib${LIBDIRSUFFIX} \
   --enable-kernel=5.4 \
   --with-headers=/usr/include \
   --enable-add-ons \
   --enable-profile \
   $DISABLE_NSCD \
   --infodir=/usr/info \
   --mandir=/usr/man \
   --with-tls \
   --with-__thread \
   --without-cvs \
   \
   --build=${SLK_ARCH_BUILD} \
   --host=${SLK_ARCH_HOST} || failconfig
slarm64 strictly adhered to the original scripts.
 
1 members found this post helpful.
Old 04-01-2024, 06:55 AM   #3
SemiBeard
Member
 
Registered: Mar 2010
Location: Miami
Distribution: Slackware
Posts: 30

Original Poster
Rep: Reputation: 3
Will upgrading the kernel fix this?

I got a 6.x kernel source.

Would installing new kernel fix my problem with the directory permissions not showing up?
 
Old 04-01-2024, 10:56 AM   #4
sndwvs
Senior Member
 
Registered: Aug 2014
Posts: 1,915

Rep: Reputation: Disabled
Quote:
Originally Posted by SemiBeard View Post
I got a 6.x kernel source.
Would installing new kernel fix my problem with the directory permissions not showing up?
yes, it will completely solve your problem: kernel-rk3399#6.8.2-1.pkg.tar.gz unpack and replace the files, also check that dtb is registered in /boot/uEnv.txt
 
1 members found this post helpful.
Old 04-08-2024, 01:09 PM   #5
SemiBeard
Member
 
Registered: Mar 2010
Location: Miami
Distribution: Slackware
Posts: 30

Original Poster
Rep: Reputation: 3
the dtb line in the uenv.txt file and older /boot contents?

hi There,

Thanks for your help. I am very close to rebooting my rockpro64 with the new kernel.

A couple of more questions:

Can you give an example of the dtb line in the uEnv.txt
Am confused if it points to the /boot/dtb subdirectory or a specific rockpro64.dtb file within it?

ie
dtb=/boot/dtb ?
or
dtb=rk3399-rockpro64.dtb ?



Also, my current /boot has some extra files:
boot.cmd
boot.scr

Do I keep these files using the new kernel?

thanks again
 
Old 04-08-2024, 02:23 PM   #6
sndwvs
Senior Member
 
Registered: Aug 2014
Posts: 1,915

Rep: Reputation: Disabled
Quote:
Originally Posted by SemiBeard View Post
hi There,

Thanks for your help. I am very close to rebooting my rockpro64 with the new kernel.

A couple of more questions:

Can you give an example of the dtb line in the uEnv.txt
Am confused if it points to the /boot/dtb subdirectory or a specific rockpro64.dtb file within it?

ie
dtb=/boot/dtb ?
or
dtb=rk3399-rockpro64.dtb ?



Also, my current /boot has some extra files:
boot.cmd
boot.scr

Do I keep these files using the new kernel?

thanks again
Hi,

The initial boot script is boot.cmd which is compiled into boot.scr and loaded by u-boot by default. it contains the prefix to DTB as /boot/dtb/ therefore it must be written in uEnv.txt fdtfile=rockchip/rk3399-rockpro64.dtb

Last edited by sndwvs; 04-08-2024 at 02:25 PM.
 
1 members found this post helpful.
Old 04-28-2024, 09:16 AM   #7
SemiBeard
Member
 
Registered: Mar 2010
Location: Miami
Distribution: Slackware
Posts: 30

Original Poster
Rep: Reputation: 3
RE: Directory errors after upgrading a bunch of packages

SOLVED.

Hey Admin, you can mark this as solved.

Thanks for helping.
Thanks for pointing me in the right direction.
 
1 members found this post helpful.
  


Reply

Tags
file systems



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Does a command, or a combination of commands exist that would move a bunch of files into a new directory and once that directory is full ... wh33t Linux - Software 12 08-04-2022 07:55 PM
have a bunch of letter character else when pressing Alt key + a (bunch) letter BudiKusasi Linux - Software 1 12-07-2021 04:30 AM
Errors, Errors, and more Errors (KDE 3.4.x GUI Errors) Dralnu Linux - Software 2 05-13-2006 08:30 AM
removing a bunch of packages.... Basslord1124 Fedora 5 03-03-2005 03:16 PM
linux 7.3: running startx gives a bunch of errors Yurich Linux - General 7 10-16-2003 03:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > slarm64

All times are GMT -5. The time now is 08:50 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