Werner 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/Twitter feed: #armbian-rss | Logs: -> irc.armbian.com
<ArmbianHelper>
^ Error retrieving title. Check the log for more details.
<nekomancer[m]>
build on impish, `./compile.sh docker BOARD=odroidn2 BRANCH=edge`
<nekomancer[m]>
`RELEASE=jammy`
lemonzest has quit [Quit: WeeChat 3.4]
oida has quit [Ping timeout: 240 seconds]
amazingfate_ has joined #armbian
xoan5 has joined #armbian
amazingfate has quit [Ping timeout: 276 seconds]
xoan has quit [Ping timeout: 248 seconds]
xoan5 is now known as xoan
oida has joined #armbian
oida has quit [Client Quit]
oida has joined #armbian
archetech has joined #armbian
amazingfate has joined #armbian
amazingfate_ has quit [Ping timeout: 240 seconds]
amazingfate_ has joined #armbian
pablocastellanos has quit [Ping timeout: 248 seconds]
amazingfate has quit [Ping timeout: 276 seconds]
amazingfate has joined #armbian
amazingfate_ has quit [Ping timeout: 240 seconds]
darsie has quit [Ping timeout: 272 seconds]
pablocastellanos has joined #armbian
<Armbian-Discord>
<lanefu> Nek
<Armbian-Discord>
<lanefu> See if you can run losetup -f someimage.img
amazingfate_ has joined #armbian
<Armbian-Discord>
<lanefu> And see what errors are there and dmesg
amazingfate has quit [Ping timeout: 276 seconds]
<Armbian-Discord>
<IgorPec> nekomancer[m] your docker is not in privileged mode
<Armbian-Discord>
<IgorPec> "[ error ] Device node /dev/loop0p1 does not exist"
amazingfate_ has quit [Remote host closed the connection]
amazingfate has joined #armbian
amazingfate_ has joined #armbian
archetech has quit [Quit: Konversation terminated!]
amazingfate has quit [Ping timeout: 246 seconds]
c0rnelius has quit [Ping timeout: 260 seconds]
archetech_n2 has joined #armbian
amazingfate_ is now known as amazingfate
amazingfate_ has joined #armbian
amazingfate has quit [Ping timeout: 256 seconds]
amazingfate_ is now known as amazingfate
amazingfate_ has joined #armbian
amazingfate has quit [Ping timeout: 276 seconds]
lemonzest has joined #armbian
abws has quit [Ping timeout: 256 seconds]
amazingfate_ has quit [Read error: Connection reset by peer]
amazingfate has joined #armbian
slacker_HD has joined #armbian
archetech_n2 has quit [Quit: Konversation terminated!]
amazingfate_ has joined #armbian
amazingfate has quit [Ping timeout: 246 seconds]
marco44 has quit [Quit: ZNC 1.8.2+deb2+b1 - https://znc.in]
marco44 has joined #armbian
amazingfate_ has quit [Ping timeout: 256 seconds]
slacker_HD has quit [Quit: Connection closed]
archetech has joined #armbian
BCMM has joined #armbian
<BCMM>
the hard drive in my Odroid HC2 spins up when i SSH in. it's running bullseye, and i'm reasonably sure it didn't do this when it was running buster
<BCMM>
any idea why this is happening, and how to begin debugging this?
<BCMM>
in particular, any information about how the MOTD is generated would be appreciated
<BCMM>
i'm not by any means sure, but i suspect that whatever it's doing to discover my HDD mount and display how full it is involves actually reading the FS
<kolla>
check mount, if filesystem is mounted sync
<BCMM>
kolla: it is not mounted sync
indy has quit [Read error: Connection reset by peer]
indy has joined #armbian
<BCMM>
hmm. i've done `echo 1 > /proc/sys/vm/block_dump`, and connecting with ssh spins up the drive without producing any dmesg output
archetech has quit [Quit: Konversation terminated!]
pablocastellanos has quit [Ping timeout: 246 seconds]
pablocastellanos has joined #armbian
<Armbian-Discord>
<IgorPec> Bcmm it is possible that df of /dev/sda is default. or was at some point. Check /etc/defauls/armbian-motd and /etc/update.motd/30*
<BCMM>
just doing df shouldn't spin up the disk, as far as i can see
<BCMM>
i've set `STORAGE=/dev/nope`, just for debugging, and it does seem to have stopped the behaviour
<BCMM>
but i don't really understand what was causing it in the first place
<BCMM>
@IgorPec oh, i bet it's because it's reading temperatures with smartctl
<BCMM>
hmm, that doesn't, in isolation, seem to spin up the drive. but i've seen things that normally shouldn't cause spin-ups do it before on this controller
<BCMM>
thing is, i can run `smartctl -l scttempsts /dev/sda` without it spinning up
<BCMM>
starting to think there's a difference in behaviours between it spinning down on the timer and me spinning it down manually with hdparm for testing
lemonzest has quit [Quit: WeeChat 3.4]
<[TheBug]>
it could be using hdparm -H
<[TheBug]>
but usually thats more specific to Hitachi drives
<[TheBug]>
there is also hddtemp
<[TheBug]>
it could leverage that and it could do something different
<BCMM>
[TheBug]: the actual command in /etc/update-motd.d/30-armbian-sysinfo is `smartctl -l scttempsts $DISK`
<BCMM>
(unfortunately i can't find any way of `resetting` things other than waiting several minutes, so i haven't yet confirmed that that's the line that's doing it)
archetech has quit [Quit: Konversation terminated!]
<BCMM>
mine?
<BCMM>
[TheBug]: it's a SATA drive, connected to the HC2's built-in USB-SATA bridge (JMS578)
<BCMM>
have just confirmed that reading the temperature with smartctl makes it spin up
<[TheBug]>
so its actually USB is the answer and yes, USB controllers can do some funny things
<BCMM>
yeah, this controller definitely has some weirdness
<[TheBug]>
cause some times they emulate the response, others it polls for it
<[TheBug]>
so you can see what you describe where maybe one call to it doesn't spin it up, but another does
<BCMM>
`smartctl -l scttempsts /dev/sda` spins up the drive under some circumstance but not under others
<BCMM>
i wonder if the controller internally caches the response for some period of time
<[TheBug]>
that would be my guess
<BCMM>
what it *looks* like is that `hdparm -y /dev/sda` puts it in a subtly different state than just waiting for it to spin down on its own does
<BCMM>
but the passage of time is a confounding variable of course
<BCMM>
spin up/spin down is definitely weird on this controller. setting an automatic spin down time on the drive via hdparm does nothing; you have to set it via the controller using it's firmware flashing tool...
crabbedhaloablut has quit [Remote host closed the connection]
crabbedhaloablut has joined #armbian
lemonzest has joined #armbian
<BCMM>
can't even reliably find out whether it's spinning without making it spin up :(
norwich has quit [Ping timeout: 256 seconds]
haritz has joined #armbian
norwich has joined #armbian
norwich has quit [Ping timeout: 256 seconds]
norwich has joined #armbian
norwich has quit [Ping timeout: 250 seconds]
norwich has joined #armbian
norwich has quit [Ping timeout: 256 seconds]
norwich has joined #armbian
kolla has quit [Quit: %fog relay%]
kolla has joined #armbian
norwich has quit [Ping timeout: 256 seconds]
norwich has joined #armbian
c0rnelius has joined #armbian
BCMM has quit [Read error: Connection reset by peer]