<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="https://dev1galaxy.org/extern.php?action=feed&amp;tid=3470&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / ascii installer-ARM64 question]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=3470</link>
		<description><![CDATA[The most recent posts in ascii installer-ARM64 question.]]></description>
		<lastBuildDate>Fri, 08 May 2020 10:42:11 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: ascii installer-ARM64 question]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=21520#p21520</link>
			<description><![CDATA[<p>Hello:</p><div class="quotebox"><cite>tuxd3v wrote:</cite><blockquote><div><p>If you find a very low power harddrive ...</p></div></blockquote></div><p>I came across a drive made an PATA model by Transcend.<br />Could be used with any old USB to 2.5&quot; IDE adaptor.</p><p>The specs are these: </p><p>2.5&quot; PATA SSD<br />TS32GPSD330<br />---<br />Capacities vary from 32Gb to 128Gb<br />---<br />DC +5V&#160; 0.3A&#160; &#160; &#160; &lt;-------- <span class="bbc">This</span> </p><p><a href="https://www.transcend-info.com/Embedded/Products/No-836" rel="nofollow">https://www.transcend-info.com/Embedded/Products/No-836</a></p><p>I don&#039;t know if their SATA SSD drives have the same power spec.</p><p><a href="https://www.transcend-info.com/Search.aspx?q=sata+2.5" rel="nofollow">https://www.transcend-info.com/Search.aspx?q=sata+2.5</a></p><p>Cheers,</p><p>A.</p>]]></description>
			<author><![CDATA[dummy@example.com (Altoid)]]></author>
			<pubDate>Fri, 08 May 2020 10:42:11 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=21520#p21520</guid>
		</item>
		<item>
			<title><![CDATA[Re: ascii installer-ARM64 question]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=21398#p21398</link>
			<description><![CDATA[<p>Hello:</p><div class="quotebox"><cite>FM81 wrote:</cite><blockquote><div><p>... not related to the power-supply-USB-problem; it was for seeing whats inside &#039;/proc/config.gz&#039; !</p></div></blockquote></div><p>Yes, I know.</p><p>What I meant to say was that what I <em>thought</em> was an issue ie: usb-storage.ko not being present was <em>not</em> the problem as it was part of the kernel.<br />The problem actually being a power supply one.</p><p>Thanks for your input.</p><p>Cheers,</p><p>A.</p>]]></description>
			<author><![CDATA[dummy@example.com (Altoid)]]></author>
			<pubDate>Sun, 03 May 2020 16:56:46 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=21398#p21398</guid>
		</item>
		<item>
			<title><![CDATA[Re: ascii installer-ARM64 question]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=21396#p21396</link>
			<description><![CDATA[<p>My answer was was not related to the power-supply-USB-problem; it was for seeing whats inside &#039;/proc/config.gz&#039; !</p><p>Regards, FM_81</p>]]></description>
			<author><![CDATA[dummy@example.com (FM81)]]></author>
			<pubDate>Sun, 03 May 2020 14:00:43 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=21396#p21396</guid>
		</item>
		<item>
			<title><![CDATA[Re: ascii installer-ARM64 question]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=21393#p21393</link>
			<description><![CDATA[<p>Hello:</p><div class="quotebox"><cite>FM81 wrote:</cite><blockquote><div><p>... a</p><div class="codebox"><pre><code>modprobe configs</code></pre></div><p> ...</p></div></blockquote></div><p>No ...</p><p>Here it is:</p><div class="codebox"><pre><code>groucho@rpidevuan:~$ sudo modprobe configs
groucho@rpidevuan:~$ </code></pre></div><p>But the issue has been solved.<br />Problem was a PS thing, long cable with voltage drop.</p><p>See my previous post.</p><p>Cheers,</p><p>A.</p>]]></description>
			<author><![CDATA[dummy@example.com (Altoid)]]></author>
			<pubDate>Sun, 03 May 2020 12:22:25 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=21393#p21393</guid>
		</item>
		<item>
			<title><![CDATA[Re: ascii installer-ARM64 question]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=21392#p21392</link>
			<description><![CDATA[<p>Hello:</p><div class="quotebox"><cite>tuxd3v wrote:</cite><blockquote><div><p>The important thing is that ...</p></div></blockquote></div><p>... it dawned on me that I was being obtuse.&#160; =^ 7</p><p>After thinking about it a while longer I realised that I had missed an obvious test.</p><p>The charger I have seems to be well built, relabeled for local sale so I don&#039;t know who makes it.<br />It is not a switching PS, just 220V Chinese made design, good quality plastic and not at all shoddy like some I others have seen.</p><p>But like I mentioned, it is obviously made for the smartphone market.<br />And one thing that many of these chargers have in common is the rather long cable.</p><p>This one in particular has a ~1.00 meter cable hard wired from the charger to the mini USB plug.<br />On the charger&#039;s back, an additional three illuminated USB ports can be found.</p><p>Suspecting a voltage drop on the charger&#039;s cable I ran one last test.</p><p>Raspberry Pi<br />RPi plugged into charger&#039;s USB1&#160; &lt;----- <span class="bbc">using a different/shorter cable instead of the PS hard wired one</span>.<br />Drive plugged into RPi&#039;s USB1<br />Power plugged into RPi&#039;s USB2<br />Result: <ins><strong>works</strong></ins></p><p>So there it is ...<br />Not the RPi or the charger but the <span class="bbu">long cable causing a voltage drop</span>.</p><p><span class="bbu">Conclusion</span><br />The RPi on <strong>can</strong> run a HDD with a 700mA draw (using two USB ports) provided the charger is working properly.<br />I have not added anything else yet (keyboard, mouse, HDMI cable) but I still have two free USB ports on the charger.</p><p>This charger was evidently hindered by the long/small gauge cable.</p><p>I&#039;ll see if I can figure out how to take it apart without destroying the case to eliminate/shorten the long cable by 60% or replace it with a heavier gauge USB cable. </p><div class="quotebox"><cite>tuxd3v wrote:</cite><blockquote><div><p>An example ...</p></div></blockquote></div><p>Yes, I have seen that disk start up can be 1.5 to 2.0 x the stated draw on the label.<br />Usually not advertised in the brochure unless expensive server stuff for IBM, Sun, Dell.</p><div class="quotebox"><cite>tuxd3v wrote:</cite><blockquote><div><p>The USB 2.0 Specification ...</p></div></blockquote></div><p>Have a look at the link to the RPi power stats.<br />I&#039;ve read that the RPi does not follow the power spec too closely if at all.</p><div class="quotebox"><cite>tuxd3v wrote:</cite><blockquote><div><p>... Global limitation of 600mA ...</p></div></blockquote></div><p>The RPi3+ has a default 600mA global but can be used at 1200mA global with the proper setting in the <span class="bbc">/boot/config.txt</span> file.</p><div class="quotebox"><cite>tuxd3v wrote:</cite><blockquote><div><p>... hard drive that is very very low power ...</p></div></blockquote></div><p>The Kingston 120Gb SSD I have my workstation&#039;s system on draws 1.0A. </p><div class="quotebox"><cite>tuxd3v wrote:</cite><blockquote><div><p>... find a very low power harddrive ...</p></div></blockquote></div><p>I once heard of a Western Digital HDD specially made for the RPi.<br />It had a USB3.0 port instead of the usual SATA but it seems to have been discontinued.</p><p>All the 2.5&quot; SATA drives I have come across have a peak draw of 1.0A.</p><p>I&#039;m set on using these Samsung HDD because they are just 40Gb and are just short of indestructible.<br />I used them for years to back up my office/maintenance files and as my storage needs grew, ended up in a drawer.<br />Now I can use them again as they are perfect for the use I&#039;ll give the RPi.</p><p>Thanks a lot for your input.</p><p>Cheers,</p><p>A.</p>]]></description>
			<author><![CDATA[dummy@example.com (Altoid)]]></author>
			<pubDate>Sun, 03 May 2020 12:17:12 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=21392#p21392</guid>
		</item>
		<item>
			<title><![CDATA[Re: ascii installer-ARM64 question]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=21390#p21390</link>
			<description><![CDATA[<div class="quotebox"><cite>tuxd3v wrote:</cite><blockquote><div><p>unfortunatly you couldn&#039;t check &#039;/proc/config.gz&#039; because its not present.. <img src="https://dev1galaxy.org/img/smilies/sad.png" width="15" height="15" alt="sad" /></p></div></blockquote></div><p>Have you done a</p><div class="codebox"><pre><code>modprobe configs</code></pre></div><p>before? After that <strong>/proc/config.gz</strong> is present on my RPi3 and RPi4, but before it wasn&#039;t ...</p><p>Best Regards, FM_81</p>]]></description>
			<author><![CDATA[dummy@example.com (FM81)]]></author>
			<pubDate>Sun, 03 May 2020 08:28:35 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=21390#p21390</guid>
		</item>
		<item>
			<title><![CDATA[Re: ascii installer-ARM64 question]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=21388#p21388</link>
			<description><![CDATA[<p>You welcome,<br />The important thing is that you managed to take some conclusions from it, and see the limitations you have on your config.. <img src="https://dev1galaxy.org/img/smilies/smile.png" width="15" height="15" alt="smile" /></p><p>I also tested a lot, but with the power supply I have.. no way( I need to find another way.. ), I have rpi1, which I believe is more limited than rpi3..<br />The hard-drives disks, don&#039;t spin.. <img src="https://dev1galaxy.org/img/smilies/sad.png" width="15" height="15" alt="sad" /></p><p>An example case:<br />I have a NAS( 3 Seagate Ironworlf disks ),<br />After startup, power consumption goes around 22-25Watts( normal operation ),<br /><span class="bbu">But when disks start spinning at beginning</span>... I see in my PowerMeter spikes of around ~60Watts.. which is more than 2x the power consumption in operation..<br />Yes they are brief, but they are there..<br />Then around 40watts, after that they start consuming ~20-25watts( normal operation )..</p><p>My NAS disks are 3.5&quot;( with 2.5&quot;&#160; disks numbers are off-course a lot lower accordingly.. ), but it gives me the notion of <span class="bbu">power needed to start a drive vs normal utilization</span>( after spinning up the plates )..</p><p>The USB 2.0 Specification says that is can deliver &quot;<span class="bbu">5 units of 100mA each</span>&quot;, so by the Specification we are talking about <strong>500mA Max</strong>( I believe its per port.. ).<br />One thing are Specifications, other thing is the real hardware around which is made to be cheap, so it can be competitive..<br />chargers,power regulators, usb hubs, circuitry limitation designs, Lots of factors.. </p><p>Yeah,<br />I would say that, if it has a Global limitation of 600mA,<br />The best option would be to find a hard drive that is very very low power( which nowadays will be each time more difficult to find.. ).</p><p>If you find a very low power harddrive, that works well on this devices,<br />Please let us know <img src="https://dev1galaxy.org/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></description>
			<author><![CDATA[dummy@example.com (tuxd3v)]]></author>
			<pubDate>Sun, 03 May 2020 04:57:34 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=21388#p21388</guid>
		</item>
		<item>
			<title><![CDATA[Re: ascii installer-ARM64 question]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=21387#p21387</link>
			<description><![CDATA[<p>Hello again:</p><div class="quotebox"><cite>tuxd3v wrote:</cite><blockquote><div><p>... seems to be compiled in the kernel.<br />... couldn&#039;t check &#039;/proc/config.gz&#039; because its not present.</p></div></blockquote></div><p>I see ...</p><div class="quotebox"><cite>tuxd3v wrote:</cite><blockquote><div><p>... disk is 2.5&quot;?</p></div></blockquote></div><p>Yes.</p><p>On your reply, I decided that it would be be a good idea to step back a bit and look at this from the hardware side.<br />So I ran some additional tests.</p><p>All tests are with machines running Devuan ascii 2.0<br />32-bit version on a netbook / 64-bit version on a WS and the RPi3B+</p><p>There are various testing stages:</p><p>Stage 1<br />Netbook<br />Drive plugged into USB1<br />Power plugged into USB2<br />Result: works as expected, properly detected and accesible.</p><p>Stage 2<br />Workstation<br />Drive plugged into USB1<br />Power plugged into USB2<br />Result: works as expected, properly detected and accesible.</p><p>Stage 3<br />Raspberry Pi<br />Drive plugged into USB1<br />Power plugged into USB2<br />Result: does not work</p><p>Stage 3-1<br />Raspberry Pi<br />Drive plugged into USB1<br />Power plugged into netbooks&#039; USB1<br />Result: does not work</p><p>Stage 3-2<br />Raspberry Pi<br />Drive plugged into USB1<br />Power plugged into workstation&#039;s USB1<br />Result: does not work</p><p>Stage 3-3<br />Raspberry Pi<br />Drive plugged into USB1<br />Power plugged into PS USB charging port<br />Result: <strong><ins>works</ins></strong>&#160; &#160;8^o! </p><p>Great, problem solved but ...<br />This drive draws ~700mA and probably uses a bit more to start up.</p><p>The USB ports in both the netbook and the workstation obviously provide enough power.<br />ie: Port USB1 + Port USB2 in each machine provide enough power for the drive</p><p>Now, if the drive does not work when using power from the workstation/netbook USB ports, it begs the question:</p><p>How much power are/voltage the RPi&#039;s USB ports providing then?<br />Obviously less than the 500mA that they should be.</p><p>The red light stays on, no indication of a power issue.</p><p>The RPi&#039;s power supply (says) it is rated at 5.0v 5100mA max, more than the usual 2500/3000mA.</p><p>By default, the RPi USB ports are rated at a max global of 600mA but a <a href="https://elinux.org/RPiconfig#USB_Power" rel="nofollow">line</a> in the <span class="bbc">/boot/config.txt</span> file sets it to 1200mA max.</p><div class="codebox"><pre><code>max_usb_current=1</code></pre></div><div class="quotebox"><cite>tuxd3v wrote:</cite><blockquote><div><p>... could be the same problem I have ...</p></div></blockquote></div><p>Don&#039;t know if it is the same but it is definitely (like you said) a power supply problem.</p><p>I think that the PS I have can probably manage the stated 5100mA but <em>not</em> at a stable 5.0V.<br />Which is why the drive won&#039;t spin.</p><p>I think it is a smartphone type charger and those are not necessarily made to put out rock stable 5.0v as they are used to charge 3.8 volt Li-ion/Li-iPo batteries.<br />I&#039;ll have to look for something else.</p><p>Thank you very much for you input, you have been most helpful.<br />Kudos, you had it right from the start.&#160; ;^ )</p><p>Now I can see about installing the image in the SDD.</p><p>Cheers,</p><p>A.</p>]]></description>
			<author><![CDATA[dummy@example.com (Altoid)]]></author>
			<pubDate>Sun, 03 May 2020 02:52:53 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=21387#p21387</guid>
		</item>
		<item>
			<title><![CDATA[Re: ascii installer-ARM64 question]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=21385#p21385</link>
			<description><![CDATA[<p>You welcome,<br />yeah it seems to be compiled in the kernel.. <img src="https://dev1galaxy.org/img/smilies/smile.png" width="15" height="15" alt="smile" /></p><p>unfortunatly you couldn&#039;t check &#039;/proc/config.gz&#039; because its not present.. <img src="https://dev1galaxy.org/img/smilies/sad.png" width="15" height="15" alt="sad" /></p><p>your HD disk is 2.5&quot;?<br />insert it with both USB ports(including) the power supply, and do a dmesg, to check if its controller is detected.</p><p>check with: &#039;sg_scan -i&#039; and &#039;sg_map -sd&#039;, probably it will appears as &#039;/dev/sg0&#039; and would be mapped to &#039;/dev/sda&#039;<br />check also with &#039;lsblk&#039;</p><p>It could be the same problem I have( in my case I suspect of power supply because my board is badly powered.. that&#039;s why I also tested with a pendrive.. )</p><p>You have I think 4x usb2.0,<br />If you had at least a real usb3.0( since it can negotiate more power deliver ), but then again, if power supply for the base board is not enough, having usb3.0 will not help because the power will end delivered in all by the power supply first..</p><p>My USB Harddrive adapter controller is detected,<br />But not enough power for him and also to power the disk <img src="https://dev1galaxy.org/img/smilies/sad.png" width="15" height="15" alt="sad" /></p><p>In your config you have 2 things:<br />1) a USB&lt;-&gt;Sata adapter<br />2) a Harddrive</p><p>both consume power, the harddrive should consume more, and so maybe you get the USB&lt;-&gt;Sata adapter, detected, but not the disk <img src="https://dev1galaxy.org/img/smilies/sad.png" width="15" height="15" alt="sad" /></p><p>This is what hapens in my case:</p><div class="codebox"><pre><code>[34772.896837] usb 1-1.2: Manufacturer: ASMedia
[34772.901150] usb 1-1.2: SerialNumber: 00000000000000000000
[34772.919034] usb-storage 1-1.2:1.0: USB Mass Storage device detected
[34772.932325] scsi host0: usb-storage 1-1.2:1.0
[34773.955039] scsi 0:0:0:0: Direct-Access     ASMT     2105             0    PQ: 0 ANSI: 5
[34773.975426] sd 0:0:0:0: [sda] Attached SCSI removable disk
[34773.984745] sd 0:0:0:0: Attached scsi generic sg0 type 0
[34793.627510] usb 1-1.2: USB disconnect, device number 7
[34803.653748] usb 1-1.2: new high-speed USB device number 8 using dwc2
[34804.107548] usb 1-1.2: New USB device found, idVendor=174c, idProduct=5106, bcdDevice= 0.01
[34804.116038] usb 1-1.2: New USB device strings: Mfr=2, Product=3, SerialNumber=1
[34804.123406] usb 1-1.2: Product: AS2105
[34804.127295] usb 1-1.2: Manufacturer: ASMedia
[34804.131600] usb 1-1.2: SerialNumber: 00000000000000000000
[34804.147473] usb-storage 1-1.2:1.0: USB Mass Storage device detected
[34804.163076] scsi host0: usb-storage 1-1.2:1.0
[34805.235612] scsi 0:0:0:0: Direct-Access     ASMT     2105             0    PQ: 0 ANSI: 5
[34805.256014] sd 0:0:0:0: [sda] Attached SCSI removable disk
[34805.265445] sd 0:0:0:0: Attached scsi generic sg0 type 0</code></pre></div><p>In my case it has only power to conect to the USB&lt;-&gt;Sata controller, but not to provide the suficient power to the disk controllers and mottors to spin the disks.. so dmesg ends like that..<br />Regards,</p>]]></description>
			<author><![CDATA[dummy@example.com (tuxd3v)]]></author>
			<pubDate>Sat, 02 May 2020 23:17:19 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=21385#p21385</guid>
		</item>
		<item>
			<title><![CDATA[Re: ascii installer-ARM64 question]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=21384#p21384</link>
			<description><![CDATA[<p>Hello tux:</p><div class="quotebox"><cite>tuxd3v wrote:</cite><blockquote><div><p>... experiment in the rpi3 with a flash pen drive ...</p></div></blockquote></div><p>Let&#039;s see:</p><div class="codebox"><pre><code>groucho@rpidevuan:~$ dmesg
[ 1562.439264] usb 1-1.3: new high-speed USB device number 5 using dwc_otg
[ 1562.647134] usb 1-1.3: New USB device found, idVendor=0951, idProduct=1665
[ 1562.647349] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1562.647541] usb 1-1.3: Product: DataTraveler 2.0
[ 1562.647665] usb 1-1.3: Manufacturer: Kingston
[ 1562.647782] usb 1-1.3: SerialNumber: 50E549C693551F61991E1D42
[ 1562.649518] usb-storage 1-1.3:1.0: USB Mass Storage device detected
[ 1562.653027] scsi host0: usb-storage 1-1.3:1.0
[ 1563.699699] scsi 0:0:0:0: Direct-Access     Kingston DataTraveler 2.0 0000 PQ: 0 ANSI: 4
[ 1563.701152] sd 0:0:0:0: Attached scsi generic sg0 type 0
[ 1563.703372] sd 0:0:0:0: [sda] 15151168 512-byte logical blocks: (7.76 GB/7.22 GiB)
[ 1563.705501] sd 0:0:0:0: [sda] Write Protect is off
[ 1563.705667] sd 0:0:0:0: [sda] Mode Sense: 23 00 00 00
[ 1563.707595] sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn&#039;t support DPO or FUA
[ 1563.718191]  sda: sda1 sda2
[ 1563.726191] sd 0:0:0:0: [sda] Attached SCSI removable disk
groucho@rpidevuan:~$ </code></pre></div><div class="codebox"><pre><code>root@rpidevuan:/home/groucho# sg_map -sd
/dev/sg0  /dev/sda
root@rpidevuan:/home/groucho# </code></pre></div><div class="quotebox"><cite>tuxd3v wrote:</cite><blockquote><div><p>... just in case, to check if it works..</p></div></blockquote></div><p>It does.</p><div class="quotebox"><cite>tuxd3v wrote:</cite><blockquote><div><p>... sort that out, maybe (if the config is present in the kernel)</p></div></blockquote></div><div class="codebox"><pre><code>groucho@rpidevuan:~$ zgrep -Ei &quot;_USB_STORAGE|_BLK_DEV_SD&quot; /proc/config.gz
gzip: /proc/config.gz: No such file or directory
groucho@rpidevuan:~$ </code></pre></div><div class="quotebox"><cite>tuxd3v wrote:</cite><blockquote><div><p>... need that module.</p></div></blockquote></div><p>Quite so.</p><div class="quotebox"><cite>tuxd3v wrote:</cite><blockquote><div><p>... test with a usb pendrive</p></div></blockquote></div><p>See above.</p><p>What to do now?</p><p>Thanks a lot for your help.</p><p>Cheers,</p><p>A.</p>]]></description>
			<author><![CDATA[dummy@example.com (Altoid)]]></author>
			<pubDate>Sat, 02 May 2020 22:56:10 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=21384#p21384</guid>
		</item>
		<item>
			<title><![CDATA[Re: ascii installer-ARM64 question]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=21383#p21383</link>
			<description><![CDATA[<p>hello Altoid,</p><p>It could be..<br />But I would experiment in the rpi3 with a flash pen drive, just in case, to check if it works..</p><p>Anyway,<br />You can sort that out, maybe( if the config is present in the kernel.. )..</p><div class="codebox"><pre><code>zgrep -Ei &quot;_USB_STORAGE|_BLK_DEV_SD&quot; /proc/config.gz</code></pre></div><p>1) If its not present then its what we were expecting..<br />You will need that module..</p><p>2) If everything seems ok to you,<br />With is been available, compiled not as a module[ =y ]<br />then I advice to test with a usb pendrive</p><p>Check if it was compiled in the kernel <img src="https://dev1galaxy.org/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></description>
			<author><![CDATA[dummy@example.com (tuxd3v)]]></author>
			<pubDate>Sat, 02 May 2020 22:11:02 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=21383#p21383</guid>
		</item>
		<item>
			<title><![CDATA[Re: ascii installer-ARM64 question]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=21382#p21382</link>
			<description><![CDATA[<p>Hello:</p><div class="quotebox"><cite>tuxd3v wrote:</cite><blockquote><div><p>... suspect of a power supply problem.</p></div></blockquote></div><p>I don&#039;t think so.<br />In my Devuan ascii workstation ...</p><div class="codebox"><pre><code>groucho@devuan:~$ uname -a
Linux devuan 4.9.0-12-amd64 #1 SMP Debian 4.9.210-1 (2020-01-20) x86_64 GNU/Linux
groucho@devuan:~$ </code></pre></div><div class="codebox"><pre><code>groucho@devuan:~$ lsmod | grep -i usb
usb_storage            73728  2 uas
usbserial              49152  1 pl2303
usbhid                 53248  0
hid                   122880  2 hid_generic,usbhid
usbcore               253952  10 usbhid,usb_storage,ehci_hcd,uhci_hcd,usbserial,xhci_pci,uas,pl2303,xhci_hcd,ehci_pci
scsi_mod              225280  11 aic7xxx,sd_mod,usb_storage,scsi_transport_sas,mptscsih,libata,scsi_transport_spi,uas,sr_mod,sg,mptsas
usb_common             16384  1 usbcore
groucho@devuan:~$ </code></pre></div><p>... when I plug the drive in, I get this:</p><div class="codebox"><pre><code>groucho@devuan:~$ sudo dmesg -C
groucho@devuan:~$ sudo dmesg
[  497.160012] usb 4-6: new high-speed USB device number 6 using ehci-pci
[  497.313765] usb 4-6: New USB device found, idVendor=05e3, idProduct=0702
[  497.313769] usb 4-6: New USB device strings: Mfr=2, Product=3, SerialNumber=0
[  497.313772] usb 4-6: Product: TS0MHDENC
[  497.313775] usb 4-6: Manufacturer: Transcend
[  497.314304] usb-storage 4-6:1.0: USB Mass Storage device detected
[  497.314372] usb-storage 4-6:1.0: Quirks match for vid 05e3 pid 0702: 520
[  497.314424] scsi host8: usb-storage 4-6:1.0
[  498.339040] scsi 8:0:0:0: Direct-Access     SAMSUNG  MP0402H          0811 PQ: 0 ANSI: 0
[  498.339464] sd 8:0:0:0: Attached scsi generic sg6 type 0
[  498.340280] sd 8:0:0:0: [sdf] 78242976 512-byte logical blocks: (40.1 GB/37.3 GiB)
[  498.341520] sd 8:0:0:0: [sdf] Test WP failed, assume Write Enabled
[  498.342771] sd 8:0:0:0: [sdf] Cache data unavailable
[  498.342776] sd 8:0:0:0: [sdf] Assuming drive cache: write through
[  498.355294]  sdf: sdf1
[  498.359398] sd 8:0:0:0: [sdf] Attached SCSI disk
groucho@devuan:~$ </code></pre></div><div class="quotebox"><cite>tuxd3v wrote:</cite><blockquote><div><p>... when I attach a 2.5&quot; disk, I see it ...</p></div></blockquote></div><p>I see it as /dev/sg6:</p><div class="codebox"><pre><code>groucho@devuan:~$ sudo sg_map -sd
/dev/sg0
/dev/sg1  /dev/sda
/dev/sg2  /dev/sdb
/dev/sg3  /dev/sdc
/dev/sg4  /dev/sdd
/dev/sg5  /dev/sde
/dev/sg6  /dev/sdf      &lt;--- here it is
groucho@devuan:~$ </code></pre></div><div class="quotebox"><cite>tuxd3v wrote:</cite><blockquote><div><p>... also &#039;sg_scan -i&#039; ...</p></div></blockquote></div><p>I also see it there:</p><div class="codebox"><pre><code>groucho@devuan:~$ sudo sg_scan -i
/dev/sg0: scsi1 channel=0 id=0 lun=0 [em]
    TSSTcorp  CDDVDW SH-222AB   SB00 [rmb=1 cmdq=0 pqual=0 pdev=0x5] 
/dev/sg1: scsi5 channel=0 id=0 lun=0 [em]
    ATA       KINGSTON SV300S3  BBF0 [rmb=0 cmdq=1 pqual=0 pdev=0x0] 
/dev/sg2: scsi7 channel=0 id=0 lun=0
    IBM-ESXS  VPBA073C3ETS11 N  A496 [rmb=0 cmdq=1 pqual=0 pdev=0x0] 
/dev/sg3: scsi7 channel=0 id=1 lun=0
    SEAGATE   ST3300555SS       T107 [rmb=0 cmdq=1 pqual=0 pdev=0x0] 
/dev/sg4: scsi7 channel=0 id=2 lun=0
    IBM-ESXS  GNA073C3ESTT0Z N  BH0D [rmb=0 cmdq=1 pqual=0 pdev=0x0] 
/dev/sg5: scsi7 channel=0 id=3 lun=0
    ATA       SEAGATE ST32500N  3AZQ [rmb=0 cmdq=1 pqual=0 pdev=0x0] 
/dev/sg6: scsi8 channel=0 id=0 lun=0 [em]
    SAMSUNG   MP0402H           0811 [rmb=0 cmdq=0 pqual=0 pdev=0x0]          &lt;---- here it is
groucho@devuan:~$ </code></pre></div><p>So I think we can rule out any power supply related issues.</p><p>The Transcend TS0MHDENC controller (05e3 pid 0702: 520) has ID 05e3:0702 and uses the GL811E chip made by Genesys Logic, which is supported in the Debian kernel through the usb-storage module.</p><p>Si it would seem that the problem is that the needed module is not part of the image.<br />Is there a way to load it or a driver?</p><p>Thanks a lot for your input.<br />Cheers,</p><p>A.</p>]]></description>
			<author><![CDATA[dummy@example.com (Altoid)]]></author>
			<pubDate>Sat, 02 May 2020 20:15:34 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=21382#p21382</guid>
		</item>
		<item>
			<title><![CDATA[Re: ascii installer-ARM64 question]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=21379#p21379</link>
			<description><![CDATA[<p>hello,<br />You can test it with a usb pen drive, and Eliminate the power consumption variable of the hard drive <img src="https://dev1galaxy.org/img/smilies/smile.png" width="15" height="15" alt="smile" /></p><p>I, for instance, with <a href="http://arm-files.devuan.org/devuan_beowulf_3.0.0_armel_rpi1_0.3.img.xz" rel="nofollow">this</a> Image on rpi1, and a pendrive inserted, have this on dmesg output:</p><div class="codebox"><pre class="vscroll"><code>root@stealth:~# dmesg|grep -Ei &quot;usb-storage|scsi|sd&quot; --color
[    0.116884] SCSI subsystem initialized
[    1.614692] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
[    1.669305] Loading iSCSI transport class v2.0-870.
[    1.670782] usbcore: registered new interface driver usb-storage
[    1.674223] sdhci: Secure Digital Host Controller Interface driver
[    1.674248] sdhci: Copyright(c) Pierre Ossman
[    1.775904] sdhost-bcm2835 20202000.mmc: loaded - DMA enabled (&gt;1)
[    1.776342] sdhci-pltfm: SDHCI platform and OF driver helper
[    2.079053] mmc0: new high speed SDHC card at address 59b4
[    9.642520] usb-storage 1-1.2:1.0: USB Mass Storage device detected
[    9.662141] scsi host0: usb-storage 1-1.2:1.0
[   10.733319] scsi 0:0:0:0: Direct-Access     ASMT     2105             0    PQ: 0 ANSI: 5
[   10.760260] sd 0:0:0:0: [sda] Attached SCSI removable disk
[   10.854416] sd 0:0:0:0: Attached scsi generic sg0 type 0
[11946.453478] usb-storage 1-1.2:1.0: USB Mass Storage device detected
[11946.469115] scsi host0: usb-storage 1-1.2:1.0
[11947.535614] scsi 0:0:0:0: Direct-Access     Generic  Flash Disk       8.07 PQ: 0 ANSI: 4
[11947.551405] sd 0:0:0:0: [sda] 15769600 512-byte logical blocks: (8.07 GB/7.52 GiB)
[11947.563219] sd 0:0:0:0: Attached scsi generic sg0 type 0
[11947.575380] sd 0:0:0:0: [sda] Write Protect is off
[11947.580253] sd 0:0:0:0: [sda] Mode Sense: 23 00 00 00
[11947.588448] sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn&#039;t support DPO or FUA
[11947.623158]  sda: sda1 sda2
[11947.637772] sd 0:0:0:0: [sda] Attached SCSI removable disk
root@stealth:~# dmesg|grep -Ei &quot;usb-storage|scsi| sd &quot; --color
[    0.116884] SCSI subsystem initialized
[    1.614692] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
[    1.669305] Loading iSCSI transport class v2.0-870.
[    1.670782] usbcore: registered new interface driver usb-storage
[    9.642520] usb-storage 1-1.2:1.0: USB Mass Storage device detected
[    9.662141] scsi host0: usb-storage 1-1.2:1.0
[   10.733319] scsi 0:0:0:0: Direct-Access     ASMT     2105             0    PQ: 0 ANSI: 5
[   10.760260] sd 0:0:0:0: [sda] Attached SCSI removable disk
[   10.854416] sd 0:0:0:0: Attached scsi generic sg0 type 0
[11946.453478] usb-storage 1-1.2:1.0: USB Mass Storage device detected
[11946.469115] scsi host0: usb-storage 1-1.2:1.0
[11947.535614] scsi 0:0:0:0: Direct-Access     Generic  Flash Disk       8.07 PQ: 0 ANSI: 4
[11947.551405] sd 0:0:0:0: [sda] 15769600 512-byte logical blocks: (8.07 GB/7.52 GiB)
[11947.563219] sd 0:0:0:0: Attached scsi generic sg0 type 0
[11947.575380] sd 0:0:0:0: [sda] Write Protect is off
[11947.580253] sd 0:0:0:0: [sda] Mode Sense: 23 00 00 00
[11947.588448] sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn&#039;t support DPO or FUA
[11947.637772] sd 0:0:0:0: [sda] Attached SCSI removable disk</code></pre></div><p>But I also doesn&#039;t have the usb-storage module,<br />Because it was built in[ =Y ]( not compiled has a module.. ).</p><p>And it works..</p><p>Now, when I attach a 2.5&quot; disk, I see it as a /dev/sg0,<br />and I can run</p><div class="codebox"><pre><code># sg_map -sd
/dev/sg0  /dev/sda</code></pre></div><p>also &#039;sg_scan -i&#039;,<br />But it doesn&#039;t appear as a block device, only the controller is detected, I suspect of a power supply problem..</p>]]></description>
			<author><![CDATA[dummy@example.com (tuxd3v)]]></author>
			<pubDate>Sat, 02 May 2020 18:14:20 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=21379#p21379</guid>
		</item>
		<item>
			<title><![CDATA[Re: ascii installer-ARM64 question]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=21376#p21376</link>
			<description><![CDATA[<p>Hello:</p><div class="quotebox"><cite>tuxd3v wrote:</cite><blockquote><div><p>... insert the drives ...<br />... with the 5v ...<br />... what you get with &#039;<span class="bbc">dmesg</span>&#039; ?</p></div></blockquote></div><p>I have to check again, see below.</p><div class="quotebox"><cite>tuxd3v wrote:</cite><blockquote><div><p>...&#160; the module was not compiled ....</p></div></blockquote></div><p>Yes, I think you&#039;re right.<br />Support was not compiled into the kernel.</p><div class="quotebox"><cite>tuxd3v wrote:</cite><blockquote><div><p><span class="bbc">modinfo usb-storage</span></p></div></blockquote></div><p>It confirms that usb-storage is not in the system:</p><div class="codebox"><pre><code>groucho@rpidevuan:~$ sudo modinfo usb-stotage 
[sudo] password for groucho: 
modinfo: ERROR: Module usb-stotage not found.</code></pre></div><div class="codebox"><pre><code>groucho@rpidevuan:~$ find /lib/modules -name \*usb-storage\*.ko
groucho@rpidevuan:~$</code></pre></div><p>This si a config for sub-storage, on kernel 5.4.x:<br />[</p><div class="codebox"><pre><code>#
# NOTE: USB_STORAGE depends on SCSI but BLK_DEV_SD may
#
# also be needed; see USB_STORAGE Help for more info
#
CONFIG_USB_STORAGE=y
# CONFIG_USB_STORAGE_DEBUG is not set
CONFIG_USB_STORAGE_REALTEK=m
CONFIG_REALTEK_AUTOPM=y
CONFIG_USB_STORAGE_DATAFAB=m
CONFIG_USB_STORAGE_FREECOM=m
CONFIG_USB_STORAGE_ISD200=m
CONFIG_USB_STORAGE_USBAT=m
CONFIG_USB_STORAGE_SDDR09=m
CONFIG_USB_STORAGE_SDDR55=m
CONFIG_USB_STORAGE_JUMPSHOT=m
CONFIG_USB_STORAGE_ALAUDA=m
CONFIG_USB_STORAGE_ONETOUCH=m
CONFIG_USB_STORAGE_KARMA=m
CONFIG_USB_STORAGE_CYPRESS_ATACB=m
CONFIG_USB_STORAGE_ENE_UB6250=m
CONFIG_USB_UAS=m</code></pre></div><div class="quotebox"><cite>tuxd3v wrote:</cite><blockquote><div><p>... the SCSI sg driver..</p></div></blockquote></div><p>It is part of sg3_utils<br />Just installed it.</p><div class="codebox"><pre><code>--- snip ---
The following NEW packages will be installed:
libsgutils2-2 sg3-utils
--- snip ---</code></pre></div><p>Added it to <span class="bbc">/etc/modules</span> and rebooted:</p><div class="codebox"><pre><code>groucho@rpidevuan:~$ lsmod
Module                  Size  Used by
ipv6                  516096  24
sg                     36864  0
brcmfmac              274432  0
brcmutil               16384  1 brcmfmac
sha256_generic         20480  0
cfg80211              741376  1 brcmfmac
rfkill                 32768  1 cfg80211
snd_bcm2835            40960  0
snd_pcm               126976  1 snd_bcm2835
snd_timer              36864  1 snd_pcm
snd                    90112  3 snd_timer,snd_bcm2835,snd_pcm
sdhci_iproc            16384  0
vchiq                 352256  1 snd_bcm2835
uio_pdrv_genirq        16384  0
uio                    24576  1 uio_pdrv_genirq
groucho@rpidevuan:~$ </code></pre></div><p>This is <span class="bbc">dmesg</span> with the sg module loaded:</p><div class="codebox"><pre><code>groucho@rpidevuan:~$ dmesg | grep -i &quot;error\|warning\|fail\|segfault\|fatal&quot;
[    0.812942] Error: Driver &#039;sdhost-bcm2835&#039; is already registered, aborting...
[    2.421514] random: 3 urandom warning(s) missed due to ratelimiting
[    2.846463] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[    2.852017] cfg80211: failed to load regulatory.db
groucho@rpidevuan:~$</code></pre></div><div class="codebox"><pre class="vscroll"><code>groucho@rpidevuan:~$ dmesg | grep -i usb
[    0.104319] usbcore: registered new interface driver usbfs
[    0.104417] usbcore: registered new interface driver hub
[    0.104568] usbcore: registered new device driver usb
[    0.303073] usbcore: registered new interface driver lan78xx
[    0.305142] usbcore: registered new interface driver smsc95xx
[    0.770854] dwc_otg 3f980000.usb: DWC OTG Controller
[    0.772811] dwc_otg 3f980000.usb: new USB bus registered, assigned bus number 1
[    0.774815] dwc_otg 3f980000.usb: irq 9, io mem 0x00000000
[    0.780952] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    0.782967] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.784977] usb usb1: Product: DWC OTG Controller
[    0.786941] usb usb1: Manufacturer: Linux 4.16.14-v8+ dwc_otg_hcd
[    0.788925] usb usb1: SerialNumber: 3f980000.usb
[    0.791621] hub 1-0:1.0: USB hub found
[    0.796676] usbcore: registered new interface driver usb-storage
[    0.823327] usbcore: registered new interface driver usbhid
[    0.825439] usbhid: USB HID core driver
[    1.203380] usb 1-1: new high-speed USB device number 2 using dwc_otg
[    1.394850] usb 1-1: New USB device found, idVendor=0424, idProduct=2514
[    1.397220] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    1.400429] hub 1-1:1.0: USB hub found
[    1.687369] usb 1-1.1: new high-speed USB device number 3 using dwc_otg
[    1.777885] usb 1-1.1: New USB device found, idVendor=0424, idProduct=2514
[    1.780230] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    1.783450] hub 1-1.1:1.0: USB hub found
[    2.663363] usb 1-1.1.1: new high-speed USB device number 4 using dwc_otg
[    2.754116] usb 1-1.1.1: New USB device found, idVendor=0424, idProduct=7800
[    2.756640] usb 1-1.1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    2.971360] usbcore: registered new interface driver brcmfmac
groucho@rpidevuan:~$ </code></pre></div><p>No USB related errors and drive not detected/recognised.<br />ie: idVendor=05e3, idProduct=0702</p><p>Thanks in advance,</p><p>A.</p>]]></description>
			<author><![CDATA[dummy@example.com (Altoid)]]></author>
			<pubDate>Sat, 02 May 2020 12:24:45 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=21376#p21376</guid>
		</item>
		<item>
			<title><![CDATA[Re: ascii installer-ARM64 question]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=21374#p21374</link>
			<description><![CDATA[<p>hello Altoid,<br />when you insert the drives in the usb, powered with the 5v, everything ok, what you get with &#039;<span class="bbc">dmesg</span>&#039; ?</p><p>it could be that the module was not compiled for it..<br />if you do:<br /><span class="bbc">modinfo usb-storage</span></p><p>what is the output?</p><p>you can also do:<br /><span class="bbc">find /lib/modules -name \*usb-storage\*.ko</span> to check..</p><p>This si a config for sub-storage, on kernel 5.4.x:<br />[</p><div class="codebox"><pre><code>#
# NOTE: USB_STORAGE depends on SCSI but BLK_DEV_SD may
#

#
# also be needed; see USB_STORAGE Help for more info
#
CONFIG_USB_STORAGE=y
# CONFIG_USB_STORAGE_DEBUG is not set
CONFIG_USB_STORAGE_REALTEK=m
CONFIG_REALTEK_AUTOPM=y
CONFIG_USB_STORAGE_DATAFAB=m
CONFIG_USB_STORAGE_FREECOM=m
CONFIG_USB_STORAGE_ISD200=m
CONFIG_USB_STORAGE_USBAT=m
CONFIG_USB_STORAGE_SDDR09=m
CONFIG_USB_STORAGE_SDDR55=m
CONFIG_USB_STORAGE_JUMPSHOT=m
CONFIG_USB_STORAGE_ALAUDA=m
CONFIG_USB_STORAGE_ONETOUCH=m
CONFIG_USB_STORAGE_KARMA=m
CONFIG_USB_STORAGE_CYPRESS_ATACB=m
CONFIG_USB_STORAGE_ENE_UB6250=m
CONFIG_USB_UAS=m</code></pre></div><p>you need also the SCSI sg driver..<br />I see it there but not been used..</p><p>regards,</p>]]></description>
			<author><![CDATA[dummy@example.com (tuxd3v)]]></author>
			<pubDate>Sat, 02 May 2020 06:07:51 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=21374#p21374</guid>
		</item>
	</channel>
</rss>
