

gene1934
Members-
Posts
93 -
Joined
-
Last visited
Content Type
Forums
Store
Crowdfunding
Applications
Events
Raffles
Community Map
Everything posted by gene1934
-
25.04 won't boot on bananapi-m5
gene1934 replied to gene1934's topic in Software, Applications, Userspace
I dropped back to Armbian_24.5.1_Bananapim5_bookworm_current_6.6.31_xfce_desktop.img and while it working, the boot find order of the drives is still random, no two boots is a row report the same lsblk order of disk vs sd* assigbnents. Only by using LABELS have I succeeded in getting them (7 drives) mounted in /etx./fstab. After that dated install an apt upgrade spent about an hour updating 270 some pkgs Just tried to get some of the other partitions mounted and usable, using LABEL= to ID them, got 2 of the 3 on a 1T toshiba drive, but found swapoff -a works, but swapon -a does not, won't even restore whats found at boot. This is from fdisk, also a reboot changed /dev/sdd into /dev/sdb Command (m for help): p Disk /dev/sdb: 931.51 GiB, 1000204886016 bytes, 1953525168 sectors Disk model: MQ01ABD100V Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes Disklabel type: dos Disk identifier: 0x481e1363 Device Boot Start End Sectors Size Id Type /dev/sdb1 2048 102402047 102400000 48.8G 83 Linux /dev/sdb2 102402048 1748725759 1646323712 785G 83 Linux /dev/sdb3 1748725760 1953523711 204797952 97.7G 82 Linux swap / Solaris but its not swapon-able, note the dos disklable, it s/b gpt, it was done with gparted. ?????? Is there a conversion utility to make gpt or should I wait on working keyboard/mouse kit and let gparted blow it away? So I did, changed 3 parts to 2 and refornatted both and found that swapon should use label's but fails and the reboot to do that moved the toshiba drive from /dev/sdb to /dev/sdd. Howinhell can I stabilize tiis????? -
close investigation it seems to use grub, not bootp, card written does not show any activity of green led even after 10 minutes from powerup. Do you have some of the magic twanger needed to boot a pi? Thank you, gene1934
-
finally must have hit the target on the automount vs /etc/fstab, for future reference, I added: /dev/mapper/myvg-striped_logical_volume /dm-0 gfs2 defaults 0 1 to /etc/fstab & rebooted twice to be sure.
-
back to the 15TiB lvm, what can I put in /etc/fstab to make it mount automatically on boot, with RH's public version of gfs2 for a file system It mounts just fine from the cli with a pretty simple "mount -t gfs2 /dm-0" as root of course. giving a df report of: /dev/mapper/myvg-striped_logical_volume 16104789168 1057496 16103731672 1% /dm-0 Thanks a bunch. gene1934
-
Android? heard of it, never used it. Don't even have an operational hell-fone, chip expired years ago. root@amanda:~# uname -a Linux amanda 6.12.32-current-meson64 #1 SMP PREEMPT Wed Jun 4 12:43:54 UTC 2025 aarch64 aarch64 aarch64 GNU/Linux This thing is being put together to run amanda, the backup program from ancient unix history, used at CERN and numerous large medical facility's. Runs fine on wintel hdwe but has now been recompiled for arm64's. I'll put a gpt table on it and format it to ext4 & hope it reboots. Thanks a bunch, Steeman.
-
won;t that blow away those 2 4meg boot0 and boot1 locations that lsblk see's? What are they used for? Thank you eselarm
-
humm mounted it w/o formatting, ran df didn't show, and didn't reboot, had to power it down & took double the normal time to reboot. on reboot looks ok mmcblk0 appears to be the 128G u-sd card as / and mmcblk1 179:32 0 14.6G 0 disk mmcblk1boot0 179:64 0 4M 1 disk mmcblk1boot1 179:96 0 4M 1 disk appears to be the eMMC chip, however inspecting it with fdisk does not show the sub parts, only root@amanda:~# fdisk /dev/mmcblk1 Welcome to fdisk (util-linux 2.39.3). Changes will remain in memory only, until you decide to write them. Be careful before using the write command. Device does not contain a recognized partition table. Created a new DOS (MBR) disklabel with disk identifier 0x75f202df. Command (m for help): p Disk /dev/mmcblk1: 14.56 GiB, 15634268160 bytes, 30535680 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0x75f202df is it safe to format to ext4? Thank you eselarm
-
that would be "mmcblk1 179:0 0 14.6G 0 disk" So should be usable if placed in /etc/fstab? whole output of lsblk in bulky: root@amanda:/# lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS sda 8:0 0 931.5G 0 disk ├─sda1 8:1 0 48.8G 0 part /buildbot ├─sda2 8:2 0 785G 0 part /hold └─sda3 8:3 0 97.7G 0 part [SWAP] sdb 8:16 0 3.6T 0 disk └─sdb1 8:17 0 3.3T 0 part └─myvg-striped_logical_volume 251:0 0 15T 0 lvm /mnt sdc 8:32 0 3.6T 0 disk └─sdc1 8:33 0 3.3T 0 part └─myvg-striped_logical_volume 251:0 0 15T 0 lvm /mnt sdd 8:48 0 3.7T 0 disk └─sdd1 8:49 0 3.3T 0 part └─myvg-striped_logical_volume 251:0 0 15T 0 lvm /mnt sde 8:64 0 3.7T 0 disk └─sde1 8:65 0 3.3T 0 part └─myvg-striped_logical_volume 251:0 0 15T 0 lvm /mnt sdf 8:80 0 3.6T 0 disk └─sdf1 8:81 0 3.3T 0 part └─myvg-striped_logical_volume 251:0 0 15T 0 lvm /mnt mmcblk1 179:0 0 14.6G 0 disk mmcblk1boot0 179:32 0 4M 1 disk mmcblk1boot1 179:64 0 4M 1 disk mmcblk0 179:96 0 119.1G 0 disk └─mmcblk0p1 179:97 0 117.9G 0 part /var/log.hdd / zram0 250:0 0 1.8G 0 disk [SWAP] zram1 250:1 0 50M 0 disk /var/log zram2 250:2 0 0B 0 disk root@amanda:/# but what are the next 2 4meg boot0 & boot1 used for? uboot pointers? or?? Thank you eselarm
-
There is several gigabytes of eMMC memory prepasted on the bpi-m5 that I would like to train amanda's database to use as its a heck of a lot faster & longer lasting than the 128G u-sd it is booting from. What is the procedure to mount it and make it usable as r/w memory?
-
ok, i blew away the amtapes VG and recreated a "myvg" using the same PV list. Doesn't show except in vgscan, where it reports this: root@amanda:/# vgscan Found volume group "myvg" using metadata type lvm2 I've played the 10,000 monkeys scene with lvcreate but have only gotten errors. systemctl daemon-reload takes most of a second but /dev remains empty of any sign of something I can mount and run df on. root@amanda:/# vgs VG #PV #LV #SN Attr VSize VFree myvg 5 0 0 wz--n- <16.69t <16.69t Now, following the redhat link many posts above I get to mkfs.ext4 dm-0 and it claims zero capacity. root@amanda:~# mount -text4 /dev/dm-0 /dm-0 mount: /dm-0: wrong fs type, bad option, bad superblock on /dev/mapper/myvg-dm--0, missing codepage or helper program, or other error. dmesg(1) may have more information after failed mount system call. dmesg says:EXT4-fs (dm-0): VFS: Can't find ext4 filesystem Thank you for any clarification, gene1934
-
I expect I have royally screwed it up but i have something mounted as /dm-0 that looks like 1% of what I expected. And I have forgotten the shell command that reports the size and % used of a mounted filesystem. Ahh, df and its report says I've created /dev/dm-0 on the 128G u-sd it boots from. So I apparently need to delete /dev/amtapes which is a link to new_volume_group which points to /dev/dm-0 and start all over again. How do I do that? I'd kill for a man page that actually explained this. An endless list of options but no defaults. Currently I think I have this: root@amanda:/# pvscan PV /dev/sda1 VG amtapes lvm2 [<3.34 TiB / <3.34 TiB free] PV /dev/sdc1 VG amtapes lvm2 [<3.34 TiB / <3.34 TiB free] PV /dev/sdd1 VG amtapes lvm2 [<3.34 TiB / <3.34 TiB free] PV /dev/sde1 VG amtapes lvm2 [<3.34 TiB / <3.34 TiB free] PV /dev/sdf1 VG amtapes lvm2 [<3.34 TiB / <3.34 TiB free] Total: 5 [<16.69 TiB] / in use: 5 [<16.69 TiB] / in no VG: 0 [0 ] But might need to recreate it from empty space now. I do know how to blank the drives.
-
now I must confess this is not on armbian, but on debian image, and at 6.1.4, in the above link. the mkfs.gfs2 is command not found. and apt can't find it either, so I seem to be missing a pkg. What main pkg would I install to get it?
-
I might have bypassed the bug, I partitioned and formatted the 1T toshiba and it has now rebooted fully 2 times. And I have configured a vgroup labeled "amtapes". So what next, it (amtapes) is not visible in /dev yet so can't be mounted for use.
-
I think I've found a bug. I've now installed a 2nd Hub to spread the load to 3 drives a hub.A full powerdown reboot now finds the drives, at stable but odd addrresses but a reboot as root misses both hubs and finds nothing. 100% Repeatable. 3 drives plugged into each hub. So the load currants s/b under the hubs protective tripoff point. PSU is good for 20 amps. Hubs are identical, Chinese Achoro 7 port, all ports rated for usb-3.2 traffic. Works from powerup, fails for reboot. I think i'm in deeper than my IQ expected Why? Cheers, Gene1934, a CET back in $DAYJOB time.
-
I'm not out of the woods yet. I installed a bigger cache drive and its startup current kills the hub all this is plugged into, so ATM I'm in the process of mounting a 2nd fast hub to split the current up into something these funkity hubs can handle w/o shutdowns. With glue curing times, about another 36 hours to know if that is the fix.
-
1TB toshiba drive arrived & installed. Too much startup current for hub, hub shuts down instantly and in 3 powerdown reboots, no drives detected. unplugged last 2 drives leaving 4 plugged in, all 4 left plugged in, sda, sdb, sdc, sdd found ok. so an almost $40 Hub is piece of excrement. Do you know of a 7 port usb3.2 hub that can handle 6 drives? Ought to survive 5 amps per port used current. Or maybe good enough since I still have 2 open usb ports on the bpi-m5, and another hub just like this piece of shit, but I'll have to print another mount for the second hub. That will take a couple days as I'll have to give shoe-goo a chance to cure in addition to reworking another psu cord for the hub. And find another 1 foot std usb cable. Might spread it's drive tree out to 3 loads per hub to equalize and reduce the individual hub load. So I'm off to print the mount for a 2nd hub. Probably back later. These are all like tires I haven't kicked, yet. ;o)> At what stage in the setup do I apply a label to the drive so it survives the LVM configuration/creation? It would be a much shorter list to build if disk labels could be used. Thank you. Gene Heskett, old (90) retired CET.
-
Thank you, I'll try that in the morning.
-
Trouble setting up lvm2. vgcreate wrong because drive order is not now the plugin order on hub according to dmeg. interchanged cables vs ports for out of order discovery and rebooted but problem unchanged ack dmesg. So how do I blow away the volume_group that does not get made due to this error, so I can re vgcreate a new lvm? An hour later, I have tried, rearranging cable vs ports on the hub but the rusty drive stays at /dev/sdd# when it was /dev/sdf# b4 everything was partitioned. What the heck is going on? For this to stand a snow balls chance in hell of working, I MUST have stable drive id's. Can vgcreate use PARTUUID's instead of /dev/sda /dev/sdb etc as identifiers? Thank you, Gene1934 Thank you.
-
fussing about duplicate post, yes, same problem, different but identical machine. I have several of these bpi-m5's in service here, And its happened several times while I have reached the age of 90 where short term memory is only weeks. This then. with your link to systemd stuff, is bad code you inherited, blindly. My solution to that was/is to make hostname immutable after editing it. Much simpler than reading thru half a gigabyte of purposely opaque docs looking for clues. With the advent of led backlighting for monitor screens, CRT screens no longer get burnt in. So one thing badly needed is a bright red, much bigger mouse pointer that moves at about 1/10 th of its present speed, and an easy way to totally disable screen and mouse blanking. On a 3d printer, they are both a hindrance, adding 10 to 30 seconds to taking action when a printer malfunctions. And because I use this OS heavily, I also donate a smallish bit of my SS income to your cause on a monthly basis. Thank you Igor.
-
up all night, finally got it working. list of stuff I did: download latest 2505 bookworm-xfce and reburn the u-us card 3 times. copied 40 entry /etc/hosts file from working machine. edit /etc/hostname to change it to unique name amanda, then make it immutable as that did not survive a reboot. rm 10-* in etc/netplan, rename armbian.yaml to 10-armbian.yam editing it as needed, and edit /etc/nsswitch.conf to make network setup start as "hostname files dns" rebooting after each stage. So hostname now stays at amanda, and nsswitch.conf works as ordered. I can ping yahoo.com in addition to my other local machines and have now updated 208 pkgs. rebooted looks ok. Now I can get back to making a 20T lvm out of 5 4T SSD's, But first some breakfast and a shot of insulin, and a nap while the local weather settles, its poured piss out of a cowbarn boot most of the night. Thank you for the links, they were educational.
-
Network setup in the latest bookworm+xfce's armbian config won't allow a network setup I've been using for 25 years. Its an all ipv4 static setup using hosts files. It apparetly asumes only valid ipv6 addresses but the nearest ipv6 enabled ISP is over 100 miles away from me in north central West Virginia USA.The idea is it will query the router for any name not found in the /etc/hosts file. Thhe switch trigger being a hardcopy /etc/resolv.conf. This is normally and instantly accomplished as dd-wrt caches previously looked up addresses. And if not found in dd-wrt's cache it relays the request to my ISP's dns server. BUT BUT BUT armbian-config refuses to accept valid ipv4 addresses by hashing them to apparently random errors, digits duplicated or left out When looking at the results no dhcp4 or 6 of is enabled as expected. So how do I fix this first boot problem? This is all on a banannapi-m5 I intend to make an amanda-3.5.4 based nas out of. Thanks for any help. The solved x tag is a lie as it won't post w/o it.
-
Long Boot Delay on Banana Pi M5 in Headless Mode
gene1934 replied to alex_laco's topic in Banana Pi M5
thanks, pulled it. -
Long Boot Delay on Banana Pi M5 in Headless Mode
gene1934 replied to alex_laco's topic in Banana Pi M5
These are usb3 labeled adapters, I did have problems earlier on a pi3b using another brand of adapter, but these startech adapters have been bulletproof, for years. c0rnelius current kernel is .6.12.22-current-meson64, will this patch apply? I've also found data on these drives indicating a 20W peak power for write operations. My present drive psu is a pretty hot usb wall wort, so based on 5x20, I have a 100W rated supply from amazon should be here midweek, and which will also power a 5" fan in one end of the drive cage. Which should move enough air to cool the drives. The question is now about the 7 port usb3 hub, can it deliver the 4 amps per port these drives need during a wright operatoin. Probably can't be answered until I can get a scope on the line. And that won't be done till the far end of the week. ;o}... If & when i get the psu i'll likely be back with more pix. Thanks until then. . . Cheers Gene. -
Long Boot Delay on Banana Pi M5 in Headless Mode
gene1934 replied to alex_laco's topic in Banana Pi M5
just did another upgrade, 128 pkgs. no errors now but only 3 of the 5 drives show, but drives possibly too warm.drives are warm, need additional cooling. have 5" fan in front of enclosier but which pins do I connect it to? Or should I connect that big a fan direct to psu?