fvdw on raspi4

fvdw on raspi4

Postby matzi » Wed Nov 13, 2019 3:17 pm

I did the first test with thisconfiguration. It gives me a failure when trying to install an externel USBHDD:
in /etc/.setup.fs/setupjob.log it says:
<b>Erstellung reset.sh ist jetzt in Arbeit</b><br>
Vorgefundene Festplatte: sda(575842314134384C4E323534-0:0_WD_Elements_25A2) <br>
Lösche die Partitionstabelle auf sda: OK<br>
Erstelle eine neue Partitionstabelle ms-dos für sda: <br>
=><span style="color:red;"><b>Fehler (Festplatte nicht gefunden)</b></span><br>
<br><b>Erstellung reset.sh wird neu gestartet</b><br>
<span style="color:red;"><b>Festplatte nicht gefunden (sda)</b></span><br>


Can you workout the german message?

Obviously it does not find the HDD although it shows up as inititable in the dialogue before.
matzi
Donator VIP
Donator VIP
 
Posts: 253
Joined: Wed Jul 06, 2011 8:08 am
Location: Hannover Germany

Re: fvdw on raspi4

Postby fvdw » Wed Nov 13, 2019 3:32 pm

Hi Matzi

I see this in your post
.../etc/.setup.fs/setupjob.log...

what program do you use to setup he HDD ? :scratch
fvdw
Site Admin - expert
 
Posts: 13243
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: fvdw on raspi4

Postby matzi » Wed Nov 13, 2019 3:38 pm

It is a message from the fvdw web interface when trying to initialise the hdd.

Meanwhile I did a step further. Plugged the hdd to the other bank of usb connectors (whitemarked).
There it works! Formatting is running.

I will continue reporting later but not today. My Wife has birthday today!
matzi
Donator VIP
Donator VIP
 
Posts: 253
Joined: Wed Jul 06, 2011 8:08 am
Location: Hannover Germany

Re: fvdw on raspi4

Postby fvdw » Wed Nov 13, 2019 4:13 pm

oke

congratulations to your wife's birthday :-D

There are two types of usb connectors usb-2.0 and 3.0 maybe we miss the usb-3.0 driver, if I remember wel the white ones are usb-2.0
fvdw
Site Admin - expert
 
Posts: 13243
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: fvdw on raspi4

Postby Jocko » Wed Nov 13, 2019 8:08 pm

Hi Matzi,

This issue happens when the script tries to set the new partition table whereas the device is not yet linked up (After deleting the table the script links down the device and up again to update the sys environment)

So maybe on raspberry the delay is not enough according to the USB port used
Jocko
Site Admin - expert
 
Posts: 11367
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: fvdw on raspi4

Postby matzi » Thu Nov 14, 2019 7:50 pm

Hi Fvdw and Jocko,

to inestigate the proeblem further I connected two usb disks now (one hdd one sdd) both are formatted. The Usb devices menue shows:

T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=480 MxCh= 1
D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=01 MxPS=64 #Cfgs= 1
P: Vendor=1d6b ProdID=0002 Rev=04.19
S: Manufacturer=Linux 4.19.66-1-ARCH xhci-hcd
S: Product=xHCI Host Controller
S: SerialNumber=0000:01:00.0
C: #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub

T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=480 MxCh= 4
D: Ver= 2.10 Cls=09(hub ) Sub=00 Prot=01 MxPS=64 #Cfgs= 1
P: Vendor=2109 ProdID=3431 Rev=04.20
S: Product=USB2.0 Hub
C: #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=100mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub

T: Bus=01 Lev=02 Prnt=02 Port=02 Cnt=01 Dev#= 3 Spd=480 MxCh= 0
D: Ver= 2.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=1058 ProdID=25a2 Rev=10.21
S: Manufacturer=Western Digital
S: Product=Elements 25A2
S: SerialNumber=575842314134384C4E323534
C: #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=500mA
I: If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage

T: Bus=01 Lev=02 Prnt=02 Port=03 Cnt=02 Dev#= 4 Spd=480 MxCh= 0
D: Ver= 2.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=0080 ProdID=a001 Rev=02.04
S: Manufacturer=TOSHIBA
S: Product=External USB 3.0
S: SerialNumber=201503310007F
C: #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=500mA
I: If#= 0 Alt= 1 #EPs= 4 Cls=08(stor.) Sub=06 Prot=62 Driver=uas

T: Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=5000 MxCh= 4
D: Ver= 3.00 Cls=09(hub ) Sub=00 Prot=03 MxPS= 9 #Cfgs= 1
P: Vendor=1d6b ProdID=0003 Rev=04.19
S: Manufacturer=Linux 4.19.66-1-ARCH xhci-hcd
S: Product=xHCI Host Controller
S: SerialNumber=0000:01:00.0
C: #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub

T: Bus=03 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=480 MxCh= 1
D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=01 MxPS=64 #Cfgs= 1
P: Vendor=1d6b ProdID=0002 Rev=04.19
S: Manufacturer=Linux 4.19.66-1-ARCH dwc_otg_hcd
S: Product=DWC OTG Controller
S: SerialNumber=fe980000.usb
C: #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub


But in the disks setup menue (Manage disks and volumes) they do not show up. Only one volume on SDcard is shown.

During the boot process some failure occur on the hdmi display but these are not in the bootlog file. Can I somehow log the complete boot process?

P.S. I use small usb disks with power supplyfrom usb. Not sure if it matters, just for information. I think there is no power issue because the web interface works fine.

P.P.S. Can I change thesystems name ? I have two system with the same Name now (fvdwsl-base). Win10 cannot differentiate that.
matzi
Donator VIP
Donator VIP
 
Posts: 253
Joined: Wed Jul 06, 2011 8:08 am
Location: Hannover Germany

Re: fvdw on raspi4

Postby fvdw » Thu Nov 14, 2019 9:29 pm

I will hook up my rspb4 and see if I get same issue

About system name , you can change it in the webinterface.
system mangement > Lan setup

the fvdw-sl boot scripts are logged in /boot.log but I guess you mean kernel boot.
The command
Code: Select all
dmesg

gives the kernel boot messages. If you want to view per page use
Code: Select all
dmesg | more
and use space bar to load new page
fvdw
Site Admin - expert
 
Posts: 13243
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: fvdw on raspi4

Postby fvdw » Thu Nov 14, 2019 9:50 pm

I did some test
without any usb connected I have this output in usb devices
Code: Select all
T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=480 MxCh= 1
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=1d6b ProdID=0002 Rev=04.19
S:  Manufacturer=Linux 4.19.66-1-ARCH xhci-hcd
S:  Product=xHCI Host Controller
S:  SerialNumber=0000:01:00.0
C:  #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub

T:  Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  2 Spd=480 MxCh= 4
D:  Ver= 2.10 Cls=09(hub  ) Sub=00 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=2109 ProdID=3431 Rev=04.20
S:  Product=USB2.0 Hub
C:  #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=100mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub

T:  Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=5000 MxCh= 4
D:  Ver= 3.00 Cls=09(hub  ) Sub=00 Prot=03 MxPS= 9 #Cfgs=  1
P:  Vendor=1d6b ProdID=0003 Rev=04.19
S:  Manufacturer=Linux 4.19.66-1-ARCH xhci-hcd
S:  Product=xHCI Host Controller
S:  SerialNumber=0000:01:00.0
C:  #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub

T:  Bus=03 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=480 MxCh= 1
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=1d6b ProdID=0002 Rev=04.19
S:  Manufacturer=Linux 4.19.66-1-ARCH dwc_otg_hcd
S:  Product=DWC OTG Controller
S:  SerialNumber=fe980000.usb
C:  #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub

it means the hubs are recognized as well usb-2.0 as 3.0 and the corresponding drivers are loaded

I see the same output also in your case. Beside that it showed two disk

when I connect a usb disk to the white usb port I get this added
Code: Select all
T:  Bus=01 Lev=02 Prnt=02 Port=02 Cnt=01 Dev#=  5 Spd=480 MxCh= 0
D:  Ver= 2.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=0480 ProdID=0901 Rev=00.00
S:  Manufacturer=TOSHIBA
S:  Product=External USB 3.0
S:  SerialNumber=20190413004949F
C:  #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=500mA
I:  If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage


when connecting it to the blue port (usb-3.0) I get this added
Code: Select all
T:  Bus=02 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  2 Spd=5000 MxCh= 0
D:  Ver= 3.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 9 #Cfgs=  1
P:  Vendor=0480 ProdID=0901 Rev=00.00
S:  Manufacturer=TOSHIBA
S:  Product=External USB 3.0
S:  SerialNumber=20190413004949F
C:  #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=896mA
I:  If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage


This means the kernel recognizes the disk and load the driver so far so good,usb 2.0 and 3.0 are working
fvdw
Site Admin - expert
 
Posts: 13243
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: fvdw on raspi4

Postby fvdw » Thu Nov 14, 2019 10:01 pm

Now web interface
With default settings nothing shows up in web interface only sd card.

When changing "switch usb mount mode" setting disk setup>external disk from mount all usb disk as externel disk to
"Advanced mode : Linux or FAT partition are mounted as internal partition"

An disconnecting the usb disk and reconnecting it again it shows up in as weel the disk setup menu and external disks window
usb-1.JPG
usb-2.JPG


Note that I used an exfat formatted disk and have installed also the exfat driver

It means we have a bug when mounting usb disk as external disks, when mounting as internal disk it seems to work ok

next add a second usb stick
You do not have the required permissions to view the files attached to this post.
fvdw
Site Admin - expert
 
Posts: 13243
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: fvdw on raspi4

Postby fvdw » Thu Nov 14, 2019 10:06 pm

adding a second usb disk (usb-stick) it is showing up in usb devices
Code: Select all
T:  Bus=01 Lev=02 Prnt=02 Port=02 Cnt=01 Dev#=  6 Spd=480 MxCh= 0
D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=1234 ProdID=abcd Rev=01.00
S:  Manufacturer=General
S:  Product=UDisk
S:  SerialNumber=Љ
C:  #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=100mA
I:  If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage

However it doesn't show up in disk setup but it shows up in external disks (as sdb=internal but it is mounted as share = external)
So also here a bug although it could be because it is an ext2 partition, possible it this is a reason but then it should ti should not get an "sd" prefix but "se"

usb-21.JPG
usb-22.JPG


need to discuss with Jocko to eliminate the bugs
You do not have the required permissions to view the files attached to this post.
fvdw
Site Admin - expert
 
Posts: 13243
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Next

Return to Raspberry Pi 1, 2, 3 and 4

Who is online

Users browsing this forum: No registered users and 2 guests

cron