22 April 2023
A
00:32
Ashen πŸ‡¦πŸ‡Ί πŸ‡ΊπŸ‡Έ
In reply to this message
RMA it
NP
05:14
Nikheel Patel
Anyone from India here? Are you able to buy orange pi 5 or 5b from India?
05:15
Is ali express still banned in India?
AS
05:33
Ajay Sahu
In reply to this message
Hi I have bought orange pi from crazy pi
05:34
Orange pi 5 ,8 GB is available at Rs 12,500 /-
05:35
You can order from the above or call them.for enquires their office is in bangalore
05:37
I have been using Orange pi since a month it's been worth tne price and effort put in finding it..it's quite fast,efficient and runs ubuntu smoothly.. way way way. Better than raspberry pi and miles ahead of it in performance
Timur invited Timur
T
06:23
Timur
Hello all
A
06:55
Ashen πŸ‡¦πŸ‡Ί πŸ‡ΊπŸ‡Έ
In reply to this message
Sticker
Not included, change data exporting settings to download.
πŸ’₯, 32.5 KB
Aleks Leka invited Aleks Leka
M
16:42
MK
In reply to this message
Can it play 1080p AV1 video ?
Flavio invited Flavio
AS
17:00
Ajay Sahu
I have tried 4k video it works well
Sara Barone invited Sara Barone
.
18:56
.Charles (pm=ban)
i got probleme with my orange 5 ,
each reboot , mac adress from local network change ...
i cant fix local ip ....
where i can fix it ?
BM
19:28
Bhoo M
In reply to this message
How do i do it without any external tool.
19:31
i see the device as realtek SSD. so i think its not an power issue. Now i connected with USB 3.0, where it is not shows in Filesystem.
C
19:32
ChoHag
Buy an analyser or overdo it with a huge plug.
19:32
It's just one of those easy-to-rule-out problems that you solve by not cheaping out on the wallwart.
BM
19:33
Bhoo M
hmm..
C
19:34
ChoHag
Once you've ruled out electrical problems you can switch out various devices, sockets and cables to pinpoint which cheap piece of junk is faulty.
BM
19:35
Bhoo M
hmm..Let me try with a different cable which is not provided by WD SSD.
C
19:36
ChoHag
Rule of thumb for cables is shorter is better.
LP
19:36
Laurent P
In reply to this message
What says ls -l /dev/sd* ?
19:38
And then fdisk with p command
BM
19:41
Bhoo M
19:41
fdisk with p?
C
19:42
ChoHag
fdisk waits for commands. The p commands prints the partition table.
LP
19:42
Laurent P
fdisk /dev/sda
C
19:42
ChoHag
Alternatively fdisk -l /dev/XXX
LP
19:42
Laurent P
For some reason system does not recognise partitions
19:43
Should be /dev/sdaX
BM
19:44
Bhoo M
C
19:44
ChoHag
You need to check what the kernel says. Read your dmesg.
19:44
Or these days I think they finally got devfs right so look in /dev to see what the kernel's detected.
BM
19:45
Bhoo M
LP
19:46
Laurent P
Execute as root
C
19:46
ChoHag
That too but it won't make the device file magically turn up.
LP
19:48
Laurent P
I got "no access" as regular user, but no "no such file..."
19:49
dmesg | grep sda ?
BM
19:50
Bhoo M
root@orangepi4-lts:/home/bhoo# fdisk -l /dev/sdaX
fdisk: cannot open /dev/sdaX: No such file or directory
C
19:50
ChoHag
Yes you said.
19:50
The device isn't detected or it has another name.
19:50
Check your dmesg.
LP
19:50
Laurent P
Not sdaX, sda simply
BM
19:51
Bhoo M
C
19:51
ChoHag
Well there you go.
19:52
It's even colour coded now.
19:52
(Red is bad)
BM
19:52
Bhoo M
read capacity failed?
C
19:53
ChoHag
It will be a command. Command 16, Read Capacity. It failed to execute.
19:53
ie. computer can't communicate with the drive.
LP
19:53
Laurent P
Bad cable? USB 2 not 3?
C
19:54
ChoHag
Most likely any command would fail and Read Capacity is the first that linux sends.
BM
19:54
Bhoo M
same cable connected with USB 2.0 works
LP
19:54
Laurent P
Have You ex pendrive to plug instead of this drive?
19:55
Usb2 is 10x slower
BM
19:55
Bhoo M
i have one pendrive wanted to try on the same port?
LP
19:55
Laurent P
Yes
C
19:56
ChoHag
You need to get something in a working state, then change exactly one part at a time into your desired state until it breaks.
BM
19:56
Bhoo M
can unplug on the go or need to shutdown before i do - like is there any cmd to safely remove in linux?
LP
19:56
Laurent P
Unplug
C
19:56
ChoHag
eg. start with the wrong cable and drive in the desired port. Check that's all working fine. Switch cable. Repeat.
LP
19:56
Laurent P
No partition is mounted
C
19:57
ChoHag
It doesn't look like you need to mount anything. Just check that linux sees the device and a node shows up in /dev representing it (or dmesg says stats about the device it found).
19:58
Clear out distractions. Boot into an empty OS on a device with nothing plugged into it. Get root shell and, ideally, have the kernel spit out its sewage onto your terminal so you can see it reacting to you plugging/unplugging things.
20:00
If you must use X run xconsole, probably as root, which should watch dmesg for you.
BM
20:00
Bhoo M
you know now i connected with a USB 2.0 cable with the same port its detected.
LP
20:00
Laurent P
And pendrive is USB2 or 3?
BM
20:01
Bhoo M
not yet connected the pendrive
20:01
LP
20:02
Laurent P
fake USB3 cable?
BM
20:02
Bhoo M
and this
C
20:03
ChoHag
@SmartBhoo the only thing that matters is that /dev/sda and its fellows showed up.
20:03
Everything after that, like the automounting, is just gravy.
20:04
Make sure your drive works on everything else you plug it in then change your usb-2-to-other-drive setup to that drive one component at a time.
20:05
Don't be tempted to change two things at the same time because you Just Know It'll Be Fine.
LP
20:05
Laurent P
"...now i connected with a USB 2.0 CABLE..." so he changed only cable?
BM
20:06
Bhoo M
LP
20:06
Laurent P
UGREEN should be OK
BM
20:06
Bhoo M
yes only the USB cable i changed - this one is the Ugreen original cable where its not detecting in USB 3.0 port
LP
20:07
Laurent P
faulty cable?
BM
20:07
Bhoo M
however the same above cable i connected in USB 2.0 it works
20:07
i doubt the USB 3.0 is not working as expected?
C
20:07
ChoHag
Something clearly isn't.
20:08
You have to find it, methodically.
20:08
Good money's on the cheap components.
LP
20:08
Laurent P
You connected USB2 CABLE or USB2 PORT?
BM
20:10
Bhoo M
Here is the thing I did-
1. This is the cable I replaced which worked.
LP
20:11
Laurent P
ok, show lsusb with WORKING cable
BM
20:12
Bhoo M
The port I used is
20:13
here you go now NVME is connected with working cable and same port as above
C
20:13
ChoHag
Are you trying to diagnose why your device doesn't work in the top port or are you just trying to get your device working on this pi?
20:14
Also are you actually reading anything in here or are you running "try stuff, post results" on repeat?
LP
20:15
Laurent P
OK, now we can see, it is connected as USB2
C
20:15
ChoHag
Because you've had a whole bunch of advice/questions from at least two of us with no direct response to any of it.
LP
20:15
Laurent P
Incompatibility between USB3 controller and USB3 device chip?
20:16
Dou You have USB3 pen?
BM
20:16
Bhoo M
In reply to this message
my concern is i want the try to use the NVME in USB 3.0 to get full speed instead of USB 2.0. And i want to know USB 3.0 is faulty or the cable
C
20:17
ChoHag
So test each part in isolation until you find your fault.
20:17
There's at least the 3-tuple (computer cable drive) so change each piece one at a time with spares until you find combinations that don't work.
BM
20:18
Bhoo M
I assume it’s 3.0 let me pop it
C
20:18
ChoHag
Or if you just want to get it working, plug it into the port that works and solve some more interesting problem.
BM
20:22
Bhoo M
when i tried the USB above it doesnt detected
20:23
with USB 3.0 in the above port.
LP
20:23
Laurent P
and other port?
BM
20:23
Bhoo M
ill replace with USB 2.0 pendrive in the same port
20:25
This one now guess USB 2.0 in the same port. It detected.
20:26
with usb 2.0 pendrive
20:27
with USb 2.0 pendrive in the USB 3.0 port . it detects.
20:28
so its not a cable fault Orange pi 4 LTS USB 3.0 fault?
C
20:28
ChoHag
Could be.
20:28
It's hard to rule it in or out if you don't do any diagnosis.
20:29
You can't change a whole bunch of things at the same time. If you do, any one of them is suspect.
BM
20:30
Bhoo M
How abt this USB c type this should work?
LP
20:30
Laurent P
look at fdisk output -> drive "1.88GB" but partitions with crazy sizes
20:30
"1.7T"
C
20:31
ChoHag
That could be because the drive is uninitialised.
LP
20:31
Laurent P
I have OPi4 (not LTS) and it works
BM
20:31
Bhoo M
yes this is not partitioned fresh USB 2.0
C
20:31
ChoHag
The errors posted way back when indicated that whatever the problem is, it occurs far deeper in the stack than when it can even derive partition sizes.
20:32
If you cat /dev/random into a file and look at its "partition table" you'll see something similar.
20:33
The problem is most likely electronic or firmware, in either the pi, the drive or the cable.
BM
20:34
Bhoo M
after all the testing i could say its a issue with the port USB 3.0 in the Opi 4 LTS.
20:34
Let me try the USB c whether it works.
LP
20:35
Laurent P
What is this NVME drive power expectation? More or less 0.5A (500mA)?
20:36
I had problems with OPi 3(4) USB3 ports with drives (HDD) needing more than 0.5
20:36
same for OPi3LTS
C
20:37
ChoHag
Is it possible to provide your drive with an independent power source?
20:37
Rule that problem out completely.
BM
20:43
Bhoo M
Okay thanks let me use this USB 2.0 atleast.
20:43
Any easy way to copy the image to NVME now from armbian? so that i can use the NVME to boot?
LP
20:43
Laurent P
What about C-type port?
20:45
You shoud have option in armbian's "nand-sata-install" -> boot from emmc/SD, system on USB"
BM
20:45
Bhoo M
In reply to this message
it doesnt detected sharing the output vis USB C type now
20:46
LP
20:46
Laurent P
isn't C-type shared with lower USB2? Check board specs
BM
20:47
Bhoo M
LP
20:47
Laurent P
As You can see 2 USB3 controllers, so it should work
BM
20:49
Bhoo M
u mean this?
LP
20:49
Laurent P
yes, description about USB-C port
BM
20:50
Bhoo M
LP
20:52
Laurent P
Nothing about "USB-C shared with USB2"?
BM
20:53
Bhoo M
not yet checking the WIKI of Opi 4 LTS
20:54
LP
20:54
Laurent P
BTW, what You just showed isn't about 4 (not LTS)?
BM
20:54
Bhoo M
its about LTS
20:58
unfortunately nothing more on the USB C type
20:59
strange thing is the USB C type with same cable works in Windows 10 😊
LP
21:00
Laurent P
yes strange, suggests HW is OK, but problem with drivers (kernel)
21:01
try to ask on Armbian forum
BM
21:01
Bhoo M
hmm.. Good thought
LP
21:02
Laurent P
and USB3 (A type) with Win?
BM
21:04
Bhoo M
21:04
This cable I mean
21:05
USB C type which was provided by UGreen
LP
21:06
Laurent P
OK, this is working in Win, (You said), now check, if A-type to C-type (in A-type port) work in Windoze
21:06
to see if A-type port is ok or not
BM
21:07
Bhoo M
sure
21:09
This one works in windows as well
21:09
Drive detected in windows
LP
21:10
Laurent P
so HW looks ok, both ports. Driver (kernel) problem.
21:10
Did You do apt update -> apt upgrade on Armbian? This may change kernel version.
BM
21:10
Bhoo M
Let me give a try now
21:11
As side note, i tried with Manjaro linux yesterday same behavior
LP
21:11
Laurent P
~same kernel
BM
21:12
Bhoo M
yeah.. initially thought it could linux OS issue 😊 to rule out it.
21:13
just "apt update " ?
LP
21:13
Laurent P
then apt upgrade
21:13
then reboot if it says "kernel version changed"
BM
21:14
Bhoo M
updating
21:15
LP
21:19
Laurent P
lets try upgrade....
21:20
or apt list --upgradable as recommended
21:20
if there is something about kernel
BM
21:21
Bhoo M
In reply to this message
this works and its updating
21:21
Kernel: 5.15.93-rockchip64 - current ver
LP
21:24
Laurent P
uname -a ?
BM
21:24
Bhoo M
Linux orangepi4-lts 5.15.93-rockchip64 #23.02.2 SMP PREEMPT Fri Feb 17 23:48:36 UTC 2023 aarch64 aarch64 aarch64 GNU/Linux
21:25
apt upgrade completed- need restart?
LP
21:25
Laurent P
You may, but not a must as kernet wasn't changed
BM
21:26
Bhoo M
yeah i dont see any diff in kernel. let me do a quick restrt
21:34
Linux orangepi4-lts 5.15.93-rockchip64 #23.02.2 SMP PREEMPT Fri Feb 17 23:48:36 UTC 2023 aarch64 aarch64 aarch64 GNU/Linux
21:34
😞 no luck
21:34
ill post in the Armbian forum
21:36
now any way to clone the current Armbian to NVME?
21:37
clonezilla or any linux tool builtin, pls?
cd
21:39
cross dev
In reply to this message
dd for the root vol, then update /etc/fstab
LP
21:41
Laurent P
nand-sata-install on Armbian
BM
21:41
Bhoo M
@Laurentppol @ChoHag - Thank you so much for helping me to identify the issue. Much Appreciated!
LP
21:41
Laurent P
as this NMVE is seen as USB drive
BM
21:41
Bhoo M
In reply to this message
now the NVME is empty
LP
21:42
Laurent P
there is no "NMVE" option in nand-sata-install :)
BM
21:42
Bhoo M
i need a exact copy of the cuurent image so that i can boot via NVME.
21:42
Am i missing something?
LP
21:43
Laurent P
try what I said
BM
21:43
Bhoo M
okay 😊
LP
21:44
Laurent P
You have to BOOT from eMMC / SD, then "system on USB"
21:44
(options)
BM
21:48
Bhoo M
Sda2
21:49
i choose the option you mentioned on first
21:49
then i need to choose 2 - since SSD in SDa2
21:49
right?
LP
21:50
Laurent P
yes
21:50
both sda1 and sda2 are on SSD, 2 patitions
BM
21:50
Bhoo M
ah okay
21:50
i ma choosing ext4
LP
21:51
Laurent P
ok
21:51
will not be readable under windoze
21:51
(or maybe there is already driver?)
BM
21:52
Bhoo M
formatting in progress
21:53
In reply to this message
fine for now
LP
21:53
Laurent P
BTW, don't your system fit in eMMC (if You have)?
BM
21:54
Bhoo M
its 16 gb EMMC
LP
21:54
Laurent P
what says df ?
BM
21:54
Bhoo M
LP
21:54
Laurent P
look for line with only / at beginning
BM
21:55
Bhoo M
LP
21:55
Laurent P
and ls -l /dev/mmc*
BM
21:56
Bhoo M
LP
21:56
Laurent P
so You are booting from eMMC? No uSD card inserted?
BM
21:57
Bhoo M
yes.. i am booting from EMMC
21:57
i have SD card with Manjaro
21:57
In reply to this message
yes no SD card inserted now
LP
21:58
Laurent P
SD has priority with OPis, as I remember
BM
21:58
Bhoo M
yes.. i noticed the same
22:00
basically this Armbian by default copies the current image to SSD?
22:01
when we run the nand-sata-install and format the SSD
LP
22:01
Laurent P
yes, and sets bootloader to USB/NVME
BM
22:03
Bhoo M
In reply to this message
πŸ‘πŸ½
22:03
its prompting for reboot- so after reboot it should go in SSD
LP
22:04
Laurent P
system transferred?
BM
22:04
Bhoo M
LP
22:04
Laurent P
so it should
BM
22:05
Bhoo M
i can see files in the SSD as well
LP
22:05
Laurent P
You should see change in df "/" from mmcblk... to /sda2
BM
22:06
Bhoo M
LP
22:06
Laurent P
after reboot?
BM
22:06
Bhoo M
nope yet to reboot
22:07
restarting now
22:11
?
LP
22:12
Laurent P
what after root passwd?
22:13
mount ?
BM
22:16
Bhoo M
Strange not accepting root password- says incorrect
22:17
Let me try default root password- Orangepi
22:17
Nothing works
LP
22:18
Laurent P
CTRL-D ?
BM
22:18
Bhoo M
Works
22:18
Nope again same screen
LP
22:18
Laurent P
this is not passwd, only "continue despite problem"
22:19
like does not see USB drive...
22:20
no USB3 drivers in initrd?
BM
22:21
Bhoo M
Restarted again let me see
LP
22:22
Laurent P
or problem is with partition type (GPT) not "DOS"
22:22
partition table
BM
22:22
Bhoo M
Oh
22:22
Same screen
LP
22:23
Laurent P
let's try SD card...
BM
22:23
Bhoo M
Or can we try removing the SSD?
22:23
Emmc should have a copy
LP
22:23
Laurent P
in Linux "neverending reboot" doesn't help :)
BM
22:24
Bhoo M
In reply to this message
Ha ha
LP
22:24
Laurent P
let's try, but bootloader is set to look for USB
BM
22:24
Bhoo M
Ok let me try removing SSD
LP
22:24
Laurent P
and I didn't tried to change it manually
BM
22:26
Bhoo M
It’s not coming up
LP
22:27
Laurent P
at all? I expected this
BM
22:27
Bhoo M
Yeah.. let me wait for few more secs..
22:28
No luck
LP
22:29
Laurent P
boot from SD, then connect SSD, and look into mounted disk etc/fstab , whath there
BM
22:30
Bhoo M
Okay
22:38
LP
22:40
Laurent P
and blkid ?
BM
22:41
Bhoo M
LP
22:44
Laurent P
fdisk -l /dev/sda
22:44
looks like root filesystem is on but /boot directory is not ok
22:45
it points to /dev/sda1 for some reason
BM
22:47
Bhoo M
In reply to this message
Permission denied
LP
22:47
Laurent P
as root
22:49
wait a moment, fdisk -l /dev/mmcblk1
BM
22:49
Bhoo M
22:50
LP
22:53
Laurent P
open eMMC, what's there? especially boot directory
BM
22:55
Bhoo M
LP
22:58
Laurent P
is there /dev/mmcblk0 ?
BM
22:58
Bhoo M
LP
22:58
Laurent P
as 1 looks as SD card
BM
22:59
Bhoo M
yes
22:59
22:59
nope blk0 is SDcard
23:00
blk1 is emmc
LP
23:01
Laurent P
ls -l /dev/mmc*
BM
23:02
Bhoo M
LP
23:03
Laurent P
mount , again, to see if eMMC is mounted
BM
23:03
Bhoo M
how?
LP
23:04
Laurent P
just post output of "mount"
BM
23:05
Bhoo M
LP
23:07
Laurent P
ok, let's try step by step: make "disk1" in /mnt ; then "mount /dev/mmcblk1p1 /mnt/disk1"
BM
23:09
Bhoo M
okay..
23:09
mount disk1?
LP
23:09
Laurent P
as in parantheses
BM
23:09
Bhoo M
ok
23:10
mount: disk1: can't find in /etc/fstab.
mount: (hint) your fstab has been modified, but systemd still uses
the old version; use 'systemctl daemon-reload' to reload.
LP
23:10
Laurent P
as root?
23:15
and whats in boot dir of SSD?
23:15
is such dir there?
BM
23:16
Bhoo M
yes and its empty
23:17
LP
23:20
Laurent P
ok, mount the emmcblk1p1 as root
23:20
let's see what is there
23:21
or in "other locations" do You see eMMC?
BM
23:22
Bhoo M
LP
23:22
Laurent P
"15GB volume"
BM
23:23
Bhoo M
you are right
23:23
it has the boot and it has the Armbian files
LP
23:23
Laurent P
what is in boot?
BM
23:24
Bhoo M
LP
23:29
Laurent P
let's try: copy all from "15GB/boot" to SSD boot , then edit SSD etc/fstab to # lines between "tmpfs" (not including) and "UUID" (not including). OR, add first "UUID=" to line after "tmpfs"
23:29
but You can copy anyway
BM
23:30
Bhoo M
ok
LP
23:31
Laurent P
show fstab after
BM
23:32
Bhoo M
permisison denied from gui
23:32
cant copy
LP
23:33
Laurent P
:O can't copy FROM boot or TO SSD/boot?
BM
23:33
Bhoo M
yes
LP
23:33
Laurent P
from or to?
BM
23:33
Bhoo M
while pasting it doesnt allow
AL
23:34
Aleks Leka
A
Aleks Leka 22.04.2023 23:17:50
SN
23:35
Shadow Nightmares
In reply to this message
LP
23:36
Laurent P
mount | grep sda
23:37
or run file manager from GUI as root
LP
23:38
Laurent P
are You pasting to SSD?
BM
23:38
Bhoo M
yes
23:38
SSD boot
23:40
In reply to this message
cmd pls
LP
23:40
Laurent P
what is name of file manager?
23:41
or install "mc" , it is clone of Norton Commander (if You know what it was)
BM
23:42
Bhoo M
LP
23:43
Laurent P
ooops, it is almost 1AM here... time to some sleep
BM
23:44
Bhoo M
sure Thank you for the help. Let me try sometime tomorrow if it works
LP
23:44
Laurent P
in meantime You may post this to Armbian too
BM
23:44
Bhoo M
in the meanwhile i try to copy the boot files to 1TB boot folder which is empty
LP
23:44
Laurent P
maybe they will answer how to change boot process
23:45
ok
BM
23:45
Bhoo M
sure thanks a lot!