ArmbianHelper changed the topic of #armbian to: armbian - Linux for ARM development boards | www.armbian.com | Github: github.com/armbian | Commits: #armbian-commits | Developer talk: #armbian-devel | Forum feed: #armbian-rss | Off-Topic: #armbian-offtopic | Logs: -> irc.armbian.com
ikmaak has quit [Ping timeout: 248 seconds]
ikmaak has joined #armbian
maknho has quit [Ping timeout: 250 seconds]
maknho has joined #armbian
TRS-80 has quit [Quit: Good night!]
<DC-IRC> <Tonymac32> Tonymac32 is accepting any beer fund donations as well 😉
lyri has quit [Remote host closed the connection]
buzzmarshall has quit [Quit: Konversation terminated!]
RecursiveG has quit [Quit: ZNC 1.8.2 - https://znc.in]
RecursiveG has joined #armbian
RecursiveG has quit [Client Quit]
RecursiveG has joined #armbian
RecursiveG has quit [Client Quit]
RecursiveG has joined #armbian
lemonzest has joined #armbian
aasami_ has joined #armbian
<DC-IRC> <Werner> Debian released RC1 of upcoming Bookworm release: https://www.debian.org/devel/debian-installer/News/2023/20230403
HerculeP has joined #armbian
Herc has quit [Ping timeout: 248 seconds]
archetech has joined #armbian
alekksander has joined #armbian
Suspect has joined #armbian
marco44 has quit [Quit: ZNC 1.8.2+deb2+b1 - https://znc.in]
marco44 has joined #armbian
<DC-IRC> <dieselnutjob> I am having some trouble with a SATA hard disk connected to my Orange Pi4 LTS running Armbian. If It boot Armbian and manually mount the partition it's fine, but if I add it to /etc/fstab it fails, fails to boot (drops to single user, I think it's called) and corrupts the file system. Basically I think it's trying to mount the disk before it's spun up properly. Has anyone got any ideas?
<DC-IRC> <Werner> You could try to delay the mount, like adding _netdev as mount option and fool the OS in thinking it is a network drive that needs networking up in order before being mounted.
<DC-IRC> <Werner> Other possibility would be not use fstab but a small script placed in rc.local that starts with a delay and then executes mount.
<DC-IRC> <dieselnutjob> I'm amazed that there isn't some kind of "are you ready yet?" handshake between the disk and Linux kernel with a back off mechanism. Mounting a partition on a disc that isn't ready and then actually corrupting it seems buggy.
<archetech> I boot usb3 sata hdd on n2 I use rootwait on kern line
Suspect has quit [Quit: Leaving]
jclsn has joined #armbian
jclsn has quit [Client Quit]
jclsn has joined #armbian
<DC-IRC> <dieselnutjob> I'm using the Orange Pi miniPCIE extender fitted with a miniPCIE to SATA converter board. I suspect it comes up somewhat sooner in the boot process than USB.
<DC-IRC> <dieselnutjob> Maybe the driver for that miniPCIE to SATA isn't the best. I'll have to look into that.
rpardini has joined #armbian
rpardini has quit [Client Quit]
jclsn has quit [Quit: WeeChat 3.8]
jclsn has joined #armbian
<DC-IRC> <Tenkawa> @dieselnutjob make sure to check the fs_passno and fs_freq fields in your fstab for that mount point too
<DC-IRC> <Tenkawa> if its set too high it will try to mount too early
<DC-IRC> <Tenkawa> (high being in high in order)
archetech has quit [Quit: Konversation terminated!]
archetech has joined #armbian
lyri has joined #armbian
tafa has quit [Quit: ZNC - https://znc.in]
tafa has joined #armbian
<DC-IRC> <kaption> Hello all
<DC-IRC> <dieselnutjob> I put 0 and 2
lyri has quit [Ping timeout: 276 seconds]
lyri has joined #armbian
<nekomancer[m]> <archetech> "I boot usb3 sata hdd on n2 I..." <- uboot on microsd?
MrFixIt has quit [Ping timeout: 248 seconds]
MrFixIt has joined #armbian
<archetech> n2 has p-boot
<archetech> kexec
<archetech> no stinkin uboot
<nekomancer[m]> and have to use hdmi monitor and usb keyboard to use that tool
<archetech> nope
<archetech> ive put uboot onto usb3 hdd's too at start of disk
<archetech> like on arch
<DC-IRC> <c0rnelius> could also erase the spi, flash uboot and boot usb that way.
<DC-IRC> <c0rnelius> although thats effort.
<archetech> then ya cant multi boot
<DC-IRC> <c0rnelius> multi boot what?
<archetech> many distros
<DC-IRC> <c0rnelius> don't know. maybe not..? the boot order would be usb sd mmc.
<DC-IRC> <c0rnelius> i don't use pboot anyway, so I don't really care. but it is an option.
gabes has quit [Quit: The Lounge - https://thelounge.chat]
<archetech> it would be a specific uboot now when mainline is out ill flash ml uboot to rock5b spi and multi boot any distro that uses mline
<DC-IRC> <c0rnelius> guess u could use extlinux to create a menu? seems doable. then u could multi boot whatever.
gabes has joined #armbian
<archetech> on n2 I just change the boot.ini root= line to boot w/e I want
<DC-IRC> <c0rnelius> but as i said thats effort. if u want multi boot on a n2 with a cute lil menu just use pboot.
<DC-IRC> <c0rnelius> u don't need pboot to if ur just editing the root=
<DC-IRC> <c0rnelius> without modding the u-boot to check usb first, the boot order would be sd mmc usb. so in theory if u wanted to boot another distro, off sd or mmc, you could flash it there. when done pull the card and boot back off usb.
<archetech> need pboot to read boot.ini
<DC-IRC> <c0rnelius> there is a patch armbian uses I believe to enable boot.ini on mainline. its like a one or two line edit.
<DC-IRC> <c0rnelius> unless they are using boot.scr now?
<archetech> armb uses extlinux and boot.scr
<archetech> depnds on the sbc
<DC-IRC> <c0rnelius> nah it depends on the u-boot and how it was modded.
<DC-IRC> <c0rnelius> mainline by default yes. uses extlinux boot.scr
<archetech> and that depends on who makes the mage
<DC-IRC> <c0rnelius> you can make it use other stuff
<archetech> image
<DC-IRC> <c0rnelius> yeap. depends where the img comes from.
gabes has quit [Quit: The Lounge - https://thelounge.chat]
<archetech> for rock5 armb has 3 ways to boot images old is boot.scr then extlinux and grub
<DC-IRC> <c0rnelius> Last i checked that CE u-boot isn't compatible with mainline at all.
<archetech> kern 6.4 should give us rock5 users mline
<DC-IRC> <c0rnelius> using grub is just enabling EFI in uboot and the kernel and installing grub. its not magic or anything.
<archetech> not fully baked but usable
gabes has joined #armbian
<DC-IRC> <c0rnelius> i see that is coming alone. rk3588 in u-boot.
<DC-IRC> <c0rnelius> along*
Unit193 has quit [Ping timeout: 612 seconds]
Suspect has joined #armbian
alekksander has quit [Ping timeout: 255 seconds]
Suspect has quit [Ping timeout: 255 seconds]
Suspect has joined #armbian
Laskolnyk has quit [Remote host closed the connection]
Laskolnyk has joined #armbian
<DC-IRC> <dieselnutjob> I got my sata drive reliable. I wrote a systemd entry that runs after sshd and it runs a script that has sleep 60 and then mounts the partition. I can now modify other systemd entries (like syncthing and samba) so that they won't start until after the partition loading entry.
<DC-IRC> <dieselnutjob> why is /etc/systemd/system/samba-ad-dc.service a symlink to /dev/null ?
<DC-IRC> <paddy042> sounds nifty
<DC-IRC> <Tenkawa> @dieselnutjob do you use your samba setup as an active directory domain controller? if not.. thats probably why
HerculeP is now known as Herc
<DC-IRC> <dieselnutjob> I guess not. I'm trying to figure out which entry in systemd is for the samba file server thingy
<archetech> systemctl list-units
<archetech> smbd nmbd
<DC-IRC> <Tenkawa> @dieselnutjob /lib/systemd/system/smbd.service
<DC-IRC> <Tenkawa> and nmbd
<DC-IRC> <Tenkawa> I had enough of samba back in my Windows admin days
junaid_ has joined #armbian
junaid_ has quit [Client Quit]
junaid_ has joined #armbian
<DC-IRC> <c0rnelius> thats been broken for ages. debian just says to ignore it. `samba-ad-dc.service `
<DC-IRC> <dieselnutjob> when I do systemctl list-units there is a smdb.service and a nmdb.service, but they don't appear in /etc/systemd/system
<DC-IRC> <Tenkawa> @c0rnelius its only used for domain controllers anyway...not sure why its even in the pkg
<DC-IRC> <Tenkawa> @dieselnutjob its not a system service
<DC-IRC> <Tenkawa> the dc one "would" be if it worked... that can be used for login auth
zeemate has joined #armbian
<DC-IRC> <dieselnutjob> I see that they are in /lib/systemd/system
<DC-IRC> <c0rnelius> what exactly are u trying to do? why mess with the service instead of the conf file.
<DC-IRC> <Tenkawa> Yeah.. that's a good question
<DC-IRC> <Tenkawa> systemd is fragile enough
<DC-IRC> <c0rnelius> setting up samba is usually pretty straight forward. depending on the version and distro you may need to adjust the client and server protocol used, but thats usually it.
<DC-IRC> <Tenkawa> yeah
<archetech> yeah
<DC-IRC> <c0rnelius> oh yeah! `kool-aid guy crashes thru wall`
archetech has quit [Quit: Leaving]
archetech has joined #armbian
<archetech> Desktop: KDE Plasma v: 5.27.4 Distro: Flammable Linux
<archetech> fresh plasma aaah
<archetech> System: Hardkernel ODROID-N2Plus
gabes has quit [Quit: The Lounge - https://thelounge.chat]
gabes has joined #armbian
gabes has quit [Client Quit]
gabes has joined #armbian
<DC-IRC> <dieselnutjob> I want smbd and syncthing to not start until after the partition has mounted. The partition isn't mounting until 60s after sshd starts. It seems to work.
<DC-IRC> <c0rnelius> smbd doesn't care if its mounted. once it mounts it becomes available.
junaid_ has quit [Remote host closed the connection]
Unit193 has joined #armbian
<DC-IRC> <dieselnutjob> syncthing could be interesting. If the daemon comes up but the mount point is empty then will the other end start deleting everything in that folder....
lyri has quit [Remote host closed the connection]
<stipa> i haven't gotten deleting problems if one of my disks isn't mounted
<stipa> syncthing spits in logs that it can't reach the disk
<stipa> syncthing should detect the disk mount automatically if it starts before the mounting, i'm not sure about the samba
<stipa> test it with test setup
<DC-IRC> <dieselnutjob> syncthing seems okay if it is sharing a subfolder of the mount point rather than the mount point itself, because instead of sharing an empty folder it's sharing a subfolder that doesn't exist so it gives up
<stipa> i share subfolders, that's correct
<DC-IRC> <dieselnutjob> A more ontopic question:- when I first installed Armbian when I ssh'd into the box I got a nice Armbian logo and some stats like drive space and SoC temperature. I liked it. But it's disappeared and I don't know why. How did that work?
<archetech> what day is it
<stipa> camel day?
<stipa> dieselnutjob if you like temperature sensors check out lm-sensors
<stipa> check htop as wll
<stipa> for the MOTD disappearing check out https://forum.armbian.com/topic/19180-how-to-modify-motd/
aasami_ has quit [Quit: leaving]
<stipa> archetech: how come you don't have H3 ?
<archetech> got a rock5
<archetech> would be overlap
<stipa> is it ok?
<archetech> and I have a tiger lake laptop
<stipa> rock5b
<archetech> ok its ginormous
<stipa> it has the punch
<archetech> just hate waiting for slow azz devs
<archetech> I have kde and gnome on 960 ssd its nuts
<stipa> help them
<stipa> it's around 4 GBs
<archetech> right like I can do kernel/gpu dev
<stipa> than waiting it is
<archetech> n2+ has those too usb3 ssd
<archetech> im set with my custom LFS DE's on them
<DC-IRC> <dieselnutjob> add `/etc/update-motd.d/30-armbian-sysinfo` to the bottom of my ~.profile file and I like the result
<stipa> good
<DC-IRC> <dieselnutjob> how hot can an RK3399 get before I should worry?
<DC-IRC> <dieselnutjob> but they throttle themselves rather than doing any damage, right?
<stipa> i don't have one
<stipa> i would guess throttle
<DC-IRC> <dieselnutjob> would be nice to get the output of this added `sudo hddtemp /dev/sda
<DC-IRC> <dieselnutjob> /dev/sda: WDC WD30EFRX-68EUZN0: 34°C`
<stipa> it should start throttling at 80..
<stipa> 125 °C is a storage temp
<stipa> Emergency Shutdown - 85°C
zeemate has quit [Ping timeout: 248 seconds]
<archetech> needs a fan ...bad
<stipa> that wifi antenna could benefit of being outside the case
<DC-IRC> <dieselnutjob> bigger heatsink and wifi doesn't work on the O Pi4 LTS anyway
<DC-IRC> <dieselnutjob> I specifically wanted it fanless
<archetech> dude..its a rk3399
<stipa> how fast is writing and reading of that disk?
<archetech> they always need a fan
<stipa> if it's only for NAS he could clock it down to the lowest freq
<DC-IRC> <dieselnutjob> My pinebook pro seems fine without one
<archetech> now my N2+ that nneds no fan even when compiling
<archetech> massive quality design for heavy load
<DC-IRC> <dieselnutjob> ` hdparm -tT /dev/sda
<DC-IRC> <dieselnutjob> /dev/sda:
<DC-IRC> <dieselnutjob> Timing cached reads: 2800 MB in 2.00 seconds = 1400.80 MB/sec
<DC-IRC> <dieselnutjob> Timing buffered disk reads: 422 MB in 3.00 seconds = 140.57 MB/sec`
<stipa> ok for the spinning rust i guess
<DC-IRC> <dieselnutjob> I can always make some L bracket the thermally couples the SoC to the side of the case. I put the drive on standoffs so that (hopefully) the drive is a bit immunised from the temp of the case.
<archetech> Timing cached reads: 3384 MB in 2.00 seconds = 1692.19 MB/sec
<archetech> Timing buffered disk reads: 892 MB in 3.13 seconds = 285.41 MB/sec
<archetech> usb3
<archetech> beat ya
<archetech> silly w/ a dead trout
<DC-IRC> <dieselnutjob> congrats. USB3 would probably have been cheaper as well
<archetech> thats a $20 256GB ssd on n2 usb3
<DC-IRC> <dieselnutjob> I don't know whether the electronics or the HDD is the throttle. Anyway it hopefully won't overheat in the summer or run up a huge electric bill
<archetech> my rock5 is 10 times faster over nvme
<archetech> 2800 read 1600 write
<stipa> wow
<stipa> from a shitty sd card to that...
<archetech> ok maybe not 10 times but quite a diff
<stipa> that must be felt
<archetech> ya everythings instant on the rock5 De wise
<DC-IRC> <dieselnutjob> I can watch a movie over smb protocol so that's good enough for me
<archetech> and its not even tuned yet
<archetech> when gpu and cpu mainline /panfrost come its will be insane fast
<stipa> there are some gpu hacks
<stipa> on the armbian page of the board
<archetech> yeah thats a boost but still only about 40% of its ability
<archetech> with current drivers
<stipa> panfrost is on OFTC
<stipa> you can chat with the devs
<archetech> ive been there I did the pfrost driver testing with them 2 yrs ago for G52
<stipa> fancy
<archetech> r5 is a G610
<archetech> its way faster but new tech
<archetech> collabra is on it
<stipa> what's that?
<DC-IRC> <dieselnutjob> On another note, I have a Debian bookworm image working on a PineTab 2 with plasma-mobile. The development team went with desktop KDE on Arch but I prefer my build. Is there an Armbian channel that I should be sharing this with? plasma-mobile seems a bit niche but for a touch device I really think it's the way to go. Where to discuss it?
<stipa> what do you have in mind?
<stipa> there are channels #armbian-desktop #armbian-devel on libera, maybe there are equivalents on discord
<DC-IRC> <dieselnutjob> Whatever people want
<archetech> your build ?
<DC-IRC> <dieselnutjob> It's very vanilla Debian. Kernel lifted from their arch build and a few config changes (like disabling sleep)
<archetech> ha thats a hack a build implies using source like I do LFS
<DC-IRC> <dieselnutjob> The kernel isn't mainline though. They did some of their own drivers
<stipa> you could be a maintainer for pine tab 2 if it's on the list of supported hardware
<stipa> it could be added if it's not on it most likely
<DC-IRC> <dieselnutjob> They aren't on sale yet so unlikely
<DC-IRC> <dieselnutjob> Their kernel source is available, it isn't mainline though. 6.2 with some new drivers
<stipa> IgorPec: could help you out with that if you're in it for
<stipa> add it on the list
<archetech> pinetab2 I been waiting a decade for decent linux tab aint seen one yet
<archetech> same for a linux phone
<archetech> theres some MT8xxx stuf should be interesting soon
<DC-IRC> <dieselnutjob> I love to try Ubuntu touch on a Fairphone 4. The PinePhone pro doesn't have 5G
<archetech> 8 cores 8gb
<stipa> MS surface models are supported, don't know how they work in reality, some models are completely supported
<archetech> PT2 w/ kde plasma is about the state of the art atm
<archetech> so thats nice
<DC-IRC> <dieselnutjob> It's time to break the android / iOS duopoly.
<archetech> I should associate myself with an arm distro id be swimmin in free gear ;p
<nekomancer[m]> <archetech> "my rock5 is 10 times faster over..." <- chia mining?
<nekomancer[m]> or... what for?
<archetech> desktops dude desktops gotta have that speedy response time
<archetech> NAS is so blah get a sbc install OMV then watch it rot
<nekomancer[m]> nas with one spinning sata over usb disk or one nvme (up to 2 tb) disk? what for?
<archetech> go back n read
<archetech> no spinning sata was mentioned but I do use them too
* nekomancer[m] not understand meaning of "then watch it rot"
<stipa> it means "useless"
<archetech> yes
<nekomancer[m]> 3-4×16 TB sata + 1-2×2 TB nvme
<nekomancer[m]> * TB nvme will be usable nas
<nekomancer[m]> thank you
<archetech> talk to the Bug he has a nice armb NAS in a cardboard box ;)
<nekomancer[m]> meh
<archetech> last time I used a cardboard box was 1974 for school supplies lol
<archetech> erasers glue some hard candy
<stipa> card board is green and ecological
<archetech> pencils!
<stipa> [TheBug]: is oil activist
<archetech> im old they gonna shoot me soon lol