libera/#devuan-arm/ Tuesday, 2023-07-18

agneliboot_scripts=boot.scr.uimg boot.scr06:47
agnelithis variable in your u-boot conf you need to change to get gnartest.scr to be recognized06:48
agnelifor example: setenv boot_scripts gnartest.scr boot.scr yyhaaa.ext etc0.etc06:50
agnelithen saveenv and next reboot u-boot will be looking for the listed files exactly in that order06:51
agnelido you have ls comand compiled in u-boot?06:56
agnelils mmc 0:1 /06:56
agnelishould list your current boot command06:56
agnelils mmc 0:2 /06:56
agnelishould list your current / partition06:56
agneli*should list your current /boot partition :)06:56
agnelialso this command could come useful https://u-boot.readthedocs.io/en/latest/usage/cmd/part.html07:00
agneliyou can really really check what partitions are visible there by their UUIDs07:00
agnelithis prints my pt on my emmc: part list mmc 007:01
agnelipart list mmc 107:02
agneliMMC: no card present07:02
agnelithis says my sdcard is not preset :)07:02
agnelithere are very nice examples at the end of the part.html document shared above07:03
agneliso you can really really list and read all partitions in your *.scr boot script to check everything07:04
agnelithere must be a logical reason why the card behaves like it behaves07:04
agneliit is not windows to have some non-deterministic behavior07:05
agneliand from what you are saying - you are able to mount that very same card / partition on that very same port/device (pb laptop) while booted from emmc07:06
agnelithe card is OK and nothing is alergic07:06
agnelithere is some very simple configuration bug to be resolved07:06
agnelijust toy for the 15 minutes with the above commands and that is all it is needed. and I am still saying root=UUID is the fast and easy solution07:07
agneliall the above commands I tested on my device's u-boot shell07:08
agnelimy uboot is a mainile from earlier this year with some tegra2 specific patches I was testing, that were supposed to be mainlined07:10
agnelignarface: why do not you get latest official mainline u-boot? some patches?07:11
agnelialso I think it is time you kindly share some outputs, words are just words, can have different meaning for different ppl, chances are I do not understand what you are saying in the way you want me to understand...07:30
agneli:)07:30
agnelidid I miss anything interesting? :)20:01
onefangNo one said anything since you left.20:03
agneli;)20:03
agnelithx20:03
gnarfaceagneli: i left badblocks running on it through last night. no errors. i'm copying the install to it again right now.20:03
agneliI am telling you our card is OK20:04
agneliand if you want to really check use f3 nothing else20:04
gnarfacewell, i had to be sure20:04
agneliit will give you everything icnluding coctail at the end of the check20:04
gnarfacebut i think now the only explanation has to be that the card is too slow to work20:05
agnelinah, it would not mount20:05
gnarfacei think with this hardware it might be different20:06
agneliI encourage you to use commands I provided in the morning20:06
gnarfacedue to poor controller design or something20:06
agneliI tested them all on my device20:06
gnarfacei did try all those, nothing unexpected returned20:06
gnarfacethank you for the references by the way20:06
agneliso from uboot shell you are able to list files on the toor partition of the card in question20:06
agneliis that correct understanding?20:06
gnarfaceboth cards, yes. and their boot.scr files were different in size so i knew they were actually different20:07
agnelils mmc X:Y / ?20:07
gnarfaceyea20:07
agneliso card works 100%20:07
agneliroot=UUID :)20:07
gnarfacein answer to your question about why i haven't actually pasted output though, you should know that i have to disassemble the stupid thing to re-enable the serial console, and as that causes a lot of wear on the plastic housing i'm reluctant to do it except as an emergency measure20:08
agneliach crap20:08
agneliexcuse me20:08
agnelii keep forgettin20:08
gnarfacesee, it actually shares the audio jack with the serial connector, and i have to toggle an internal dip switch to change modes (this is one of the very early models)20:08
agneliI actually had a laptop serive shop to solder ma a connector20:09
agneliand I have all pulled out outside20:09
agneliso for me it is very easy20:09
gnarfacei have considered drilling a hole in the case where the switch is, but i don't want it to be easier for dust to get in there20:09
agneliin fact I have serial connected as a sort of dockstation :)20:09
agnelii used kensington lock hole to pull the tinnest eth cable I could find20:10
gnarfaceheh, clever20:10
gnarfaceno kensington lock holes on these things though20:10
agneliI have ethernet connector sticking out with all singals provided by debug prot20:10
agneliserial inluded20:10
agneliso excuse me for that again20:11
agnelianway - whatever we are saying is just pointing at one direction - UUID, something strange happens20:11
agneliwhen kernel boots20:12
gnarfaceif this doesn't work i think i might try the same copy method to a 16GB microSD of the same brand, and if that works i'll just consider the 64GB one haunted20:12
agnelibtw20:12
agneliwhen kernel boots20:12
agneliyou have all possible logging enabled to the console, I mean lcd/panel20:12
agnelidoes it detect everything as it should?20:12
gnarfaceyea, i'm not passing "quiet" so a bunch of text goes by20:13
gnarfaceit detects the display fine20:13
agneliput the highest level possible20:13
agneliwhat I have, idr20:13
agneli7?20:13
gnarfacebut it quickly kernel panics then starts a 10 second counter to reboot20:13
agneliI am talking about mmc devices20:13
agnelipanics?20:14
agnelii was sure it was init not found20:14
gnarfaceyes, it says init not found then panics20:14
gnarfaceor maybe it panics then says init not found20:14
agneliach20:14
gnarfacei think the "init not found" part is an indirect result of the panic, not the cause20:15
gnarfacethere's a bunch of crap that looks like a dump from a read error or something too20:15
agnelif320:15
agneliplease do run full test with f320:16
gnarfacenoted, but badblocks found no bad block even with a destructive read+write test20:16
agnelii am 100% sure you have some flaky cells20:16
agnelii doubt badblocks will find those20:16
agneliI _never_ has those issues20:16
agnelibut my colleague actually just boght a pbp and aliexpress card20:16
agneliand that is exactly the case20:17
agneli3 flaky cells20:17
gnarfacehmm20:17
agnelisomtimes ok sometimes not20:17
agnelif320:17
agneliidk why ppl are prefering f3 over badblocks20:17
agnelimaybe it does sth differenlty20:17
agneliidnot care20:17
agnelibut i trust they wisdom and they say f3 :)20:18
agnelihttps://packages.debian.org/en/stable/utils/f320:18
agneliunless it panics because init not found20:19
agnelithen root=UUID :)20:20
gnarfaceagneli: heh, you're gonna love this one. i used a different brand microSD->SD adapter in the USB->SD adapter for this write, and it boots now21:29
gnarfaceso, the microSD is not defective, but the adapter that came with it is21:29
agneliyou never checksummed the result?21:29
gnarfaceno, because i figured dd would throw errors!21:30
agneliach it was not a direct copy21:30
agnelitime to sleep21:30
agneliso it was one of those errors that well... are hard to spot :)21:30
gnarfaceseems that way21:31
agnelibut yeah21:31
agneliyou counquered it21:31
agnelicongratulations21:31
gnarfacei thought i'd already tried this, but on the previous attempt i must have switched back and forth interchangeably21:31
gnarfacethanks for helping21:31
agneliit was my pleasure gnarface21:31
agneliit really was21:32
gnarfacei would have given up on it if not for your persistence. i really appreciate it.21:32
agnelito quote Han Solo: "I know." :)21:33
agnelii am glad I helped21:33
gnarfacethe thing is, this is really stupid, i was told to throw away the pine64 microSD adapters, i was warned they're defective, but i tested them and kept the one that seemed to work... but it turns out that risk was not worth it. samsung adapter working fine.21:33
gnarfacebut i really didn't expect something like this could happen without dd complaining at all21:34
gnarfaceon the other ones, dd would complain, so i knew they were bad right away21:34
gnarfaceand to top that off, the error seemed like it must have happened in the same place every time... the possibility of this type of failure is completely baffling to me21:35
agnelii have my storeis with shitsung...21:35
agnelii have writen it on the wall today21:35
agnelinever again _any_ shitsung devices21:36
gnarfacewell today it's what worked21:36
agneliunfrotunatelly i have a lot already21:36
agneli:)21:36
agneliI am joking a bit21:36
gnarfaceonly other ones i have here besides the stack of apparently busted pine64 ones is 1 SanDisk and one Patriot21:36
agneliI am happy you have your solution21:36
gnarfaceany opinions on reliability for SanDisk or Patriot?21:37
agnelii am suing exclusively sandisk for sdcards21:37
agnelinever any issues21:37
gnarfacenoted, i like them too, but their rep has tanked lately21:37
agnelimine all are like 2yrs old21:37
agneliwhat happend?21:37
agnelithey screwed up under Western Digital?21:38
gnarfacenot sure, just starting about less than 2 years ago, lots of people over on irc.pine64.org started complaining that their SanDisk SDs and microSDs died very quickly. i suspect a rash of counterfeit devices may be to blame though.21:40
agnelii think so21:40
agnelii have 2 32 GB used bought like 4 years ago21:40
agnelion both is gentoo21:41
agneliwithout any binary packages21:41
agneliall compiled over and over again21:41
agneli0 failures21:41
agnelii woudl bet on counterfeits... aliexpress is full of them21:41
agneliyou can get them even free provided you buy android based iphone from them... :)21:42
gnarfaceagneli: you can bet i will certainly checksum the backup this time22:55

Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!