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
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?
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"
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"