#
…

2022-07-29

00:55chadmed has joined #asahi-dev
01:13VinDuv has joined #asahi-dev
01:13fossdd has quit [Remote host closed the connection]
01:13fossdd has joined #asahi-dev
01:15c10l has quit [Quit: Ping timeout (120 seconds)]
01:16dingodoppelt has quit [Quit: ZNC 1.9.x-git-170-9be0cae1 - https://znc.in]
01:16flying_sausages has joined #asahi-dev
01:17c10l has joined #asahi-dev
01:18ChaosPrincess has quit [Remote host closed the connection]
01:18ChaosPrincess has joined #asahi-dev
01:18Retr0id2 has joined #asahi-dev
01:20Retr0id2 is now known as Retr0id
01:20dingodoppelt has joined #asahi-dev
01:50riker77_ has joined #asahi-dev
01:53riker77 has quit [Ping timeout: 480 seconds]
01:53riker77_ is now known as riker77
02:43phiologe has joined #asahi-dev
02:46PhilippvK has quit [Ping timeout: 480 seconds]
03:18PyroPeter_ has joined #asahi-dev
03:20PyroPeter has quit [Ping timeout: 480 seconds]
03:59mini0n has joined #asahi-dev
04:04kov has quit [Quit: Coyote finally caught me]
04:07lawq has joined #asahi-dev
04:09lawq has quit [Remote host closed the connection]
05:26doggkruse has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
05:32chadmed has quit [Ping timeout: 480 seconds]
05:33chadmed has joined #asahi-dev
05:40mini0n has quit [Remote host closed the connection]
05:44MajorBiscuit has joined #asahi-dev
05:57chadmed has quit [Ping timeout: 480 seconds]
05:58chadmed has joined #asahi-dev
06:00chadmed_ has joined #asahi-dev
06:21bisko has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
06:40the_lanetly_052__ has joined #asahi-dev
06:44chadmed has quit [Read error: Connection reset by peer]
07:03the_lanetly_052__ has quit [Ping timeout: 480 seconds]
07:14marcanha, that's a cute trick
07:18marcanand that's cheaper than the ref boards
07:18marcanhmm, tempting
07:18marcanstill need a drive enclosure to go with it, though
07:22chadmed_i have a very cunning plan on that front, it's horrible and evil and revolting but it's cunning nonetheless
07:28marcannot the prettiest though
07:29marcan(and not a proper hotplug bay)
07:30marcanor you could get a proper server backplane: https://www.aliexpress.com/item/4001326310382.html
07:32arthat looks like an HP-compatible cage
07:32marcanyes, it is
07:32marcanalso, this one looks janky but more like what I'd want: https://www.aliexpress.com/item/1005002898932490.html
07:32aroh, it even says "DL380 G7"
07:32marcancomes with the trays and no weird connections
07:32chadmed_silverstone sell a micro atx case with a sas backplane on it. my idea was to erm..."secure" the mac mini where the motherboard goes, get an HBA and hook it up to one of those tb dev boards, take 5V from a USB port on the mac to a relay and have that trigger an ATX PSU to power the drives
07:33chadmed_self contained, unsafe, impractical sleeper mac server :P
07:33chadmed_perfect for all your production machine needs
07:33marcanthat works :')
07:34marcanoh, they literally have just the trays, like that aliexpress link but less janky: https://www.amazon.com/Silverstone-SST-FS304B-Aluminium-Trayless-Backplane/dp/B019LS5U7Y
07:35marcanI might want to go with that and just design/3D print something for the TB adapter bit
07:39rkjnsnThere are some SATA port multiplier enclosures that support hot plug and look pretty nice, if one is okay sharing one 6Gb/s link across multiple drives. The problem is that in my experience, Linux port multiplier support has been pretty terrible with every host controller + port multiplier combination I've ever tried it with.
07:43chadmed_we have enough TB ports to just add more HBAs :P
07:44chadmed_if youre adding enough drives to need more ports then the cost of a secondhand LSI card and a tb dev board (or your very nifty little solution) is vastly dwarfed by the cost of drives
07:45chadmed_the case im looking at comes with 5 hotswap ports already with room to add 5 more using that very silverstone cage linked above so if youre spending $200 for the cage plus $x for the drives, another ~$200 on a tb board and HBA is worth it
07:46marcanthere's also this USB one which might not be bad? https://www.amazon.co.jp/dp/B07NHCBD6F
07:47marcanI might grab one and give it a spin, could easily move 4 drives into it from my existing NAS for now and see how they fare
07:48marcanI wonder what chipset they use
07:48marcanthey at least clame sane speeds, unlike those chinese bottlenecked "raid" models
07:54Dementor[m]marcan: some of these enclosures do their own raid which is really bad
07:54marcanthose all have terrible bottlenecks
07:54marcanthat one doesn't though
07:55marcanI wonder what architecture it has, maybe just 4 controllers and a hub?
07:56Dementor[m]I wonder if everything going out via one USB 3 cable is going to cause any bottleneck
07:56chadmed_bandwidth wise on sequential reads probably not but id be interested in seeing random read/write performance
07:57Dementor[m]Did anyone try to run Zfs on an M1?
07:57chadmed_it probably wont even matter unless you put SSDs in there
07:57marcanoh, a previous model had a USB3 DFP too, heh
07:57marcanokay, that one is definitely a 5-port hub with 4 controllers then
07:58Dementor[m]marcan: I assume that's a good thing as far as speeds right?
07:58marcanchadmed_: I care about bandwidth, which is why I wouldn't use those terribad RAID enclosures (they are bottlenecked way, way lower than USB3 itself)
07:58marcanbut this one looks good
07:58marcanif it can do >500MB/s aggregate that's good enough for me
07:58marcanDementor[m]: yes
07:58Dementor[m]Also relaying on hardware raid can cause you to lose your data if the enclosure dies
07:59chadmed_99% of hw raid solutions just do not offer any real advantage over software anymore anyway apart from offloading the actual grunt work
07:59marcanah, the 5-bay model has the DFP
07:59marcanso 6-port hub then?
07:59marcanI don't use RAID anyway
08:00Dementor[m]marcan: DFP?
08:00marcandownstream facing port
08:00marcanI'm going to grab the 4-bay model and give it a try
08:00marcan200 bucks for everything I need is reasonable (plus, being USB3, I can already use it with the Mac Minis on the A ports)
08:00marcan(also good incentive to fix USB3 on the Mac Studio)
08:01Dementor[m]marcan: are you going to try and run zfs on it?
08:01marcanno, I use cephfs
08:01marcanI'm going to get 3 of them and set up a proper 3-server cluster
08:01marcanprobably mac studio, m1 mac mini, and future m2 mac mini when it comes (maybe the 10G versions thereof)
08:01Dementor[m]Isn't it a bit of an overkill haha
08:02marcannot really, I already use cephfs, splitting it up among hosts is logical
08:02chadmed_Dementor[m]: the question is never why, its why not
08:02Dementor[m]I mean I have a home lab with a lot of over engineered stuff myself
08:03Dementor[m]So I get it
08:03Dementor[m]Would love to hear how well it works after you test it out
08:04marcanjust ordered one, if it works as advertised I'll get 2 more
08:04marcanand probably just move my existing drives to them for now, and do the mac migration later
08:04Dementor[m]We need a asahi-Nas channel 😂
08:08marcanindeed :')
08:10Dementor[m]marcan: the only thing you'll need is ipmi 😉
08:12chadmed_ has quit [Quit: Konversation terminated!]
08:15marcanwell the 10G mini and mac studio kind of have that
08:16marcanit's on the list to reverse engineer ;)
08:18mazmarcan: btw, do you have any write-up of what is needed to write the USB FW uploader on the Studio?
08:19marcannot really, I need to look at it again
08:19leitao has joined #asahi-dev
08:19marcanit's just some ugly poking around the cfg space and BARs, throwing the blobs in in a weird interleaved form
08:19mazOK. let me know if I can help, I have a vested interest in having it working! ;-)
08:19marcanplus we need to write a firmware extractor for it
08:21marcanI'll put it on my list of low-hanging fruit for the next couple of weeks :)
08:21dottedmagmarcan: Any idea why it is interleaved this way? I doubt Apple HW or SW engineer woke up one day and thought "let's interleave blobs because we like to make everything very complicated"
08:21mazthanks!
08:21marcansomething something SRAM blocks
08:21marcansome silicon engineer decided to take a shortcut
08:21marcanthis isn't apple, it's asmedia
08:22marcanentirely possible this was intended as a "debug" interface only for bring-up or whatever, and apple just decided to use it in production because it fit their purposes better
08:22mazthey probably saved a handful of gates by doing so.
08:57bisko has joined #asahi-dev
09:30svenalright, I guess it’s time to submit Bluetooth this weekend and then get back to thunderbolt and see if it hates me less this time
09:31Stary has quit [Quit: ZNC - http://znc.in]
09:32mazsven: I'm sure it has mellowed down over time... ;-)
09:40Stary has joined #asahi-dev
09:48_jannau_that USB 5 bay storage case looks identical to sabrent DS-SC5B (US) or raidsonic ib-3805-c31 (EU). I didn't find any information which hub or usb2sata chips they use
09:55ketteniswonder if someone could lobby asmedia to provide firmware dor that usb chip that is redistributable
10:05chengsun_ has quit [Quit: Quit]
10:05chengsun has joined #asahi-dev
10:11MajorBiscuit has quit [Ping timeout: 480 seconds]
10:26chadmed has joined #asahi-dev
11:08MajorBiscuit has joined #asahi-dev
11:48leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
12:24nsklaus_ has quit [Quit: Textual IRC Client: www.textualapp.com]
12:26bisko has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
12:31nsklaus has joined #asahi-dev
12:48leitao has joined #asahi-dev
12:59jluthra has quit [Remote host closed the connection]
12:59jluthra has joined #asahi-dev
13:58FoxboronNot sure if this is relevant, but Linus got an arch64 laptop and apparently building the Asahi kernel :)
14:00Dcow[m]oh my ;) that's cool
14:02j`eyFoxboron: yeah, an m2 one
14:03Foxboronj`ey: Ah, so he is running Asahi. Cool
14:04j`eyasahi kernel, but fedora
14:04mpshm, is M1 better than M1pro
14:04mpsuh, is M2 better than M1pro
14:04Dcow[m]in some way yes, in some no
14:05Tramtristgot my M2 yesterday... according to the forums its a huge debate
14:05Tramtristscreen is better M1pro for sure.. as is write speed of SSD
14:05Dcow[m]I'd saw it's better than M1
14:05Tramtristthough fanless/weight of M2 is big selling point
14:05mpsI'm waiting answer from reseller to see will I buy M1pro or M2
14:05Tramtristthis is probably OT
14:06j`eyyes OT for -dev at least
14:07mpsOT but helped me :)
14:18mini0n has joined #asahi-dev
16:01MajorBiscuit has quit [Quit: WeeChat 3.5]
17:41roxfan2 has quit [Remote host closed the connection]
17:43roxfan has joined #asahi-dev
17:44___nick___ has joined #asahi-dev
17:44___nick___ has quit []
17:46___nick___ has joined #asahi-dev
18:02Dementor[m]<marcan> "well the 10G mini and mac studio..." <- they have ipmi ?
18:07roxfan has quit [Remote host closed the connection]
18:09roxfan has joined #asahi-dev
19:41leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
19:49SuperED has joined #asahi-dev
19:53leitao has joined #asahi-dev
19:56SuperED has quit [Remote host closed the connection]
20:07___nick___ has quit [Ping timeout: 480 seconds]
20:18ping_47Maybe is this the key to "rosetta" like experience? https://www.freedesktop.org/software/systemd/man/binfmt.d.html
20:21j`eyyeah that package already installs the binfmt stuff
20:25arping_47: that's what i basically do on my x86_64 desktop to emulate arm64 stuff
20:25ar(when i'm too lazy to properly crosscompile stuff, and decide to let my cpu just brute-force through the emulation)
20:26ping_47I'm trying to fix the qemu-user-static that's failing with current version of qemu, checking if the rc-0 of 7.1 fix it
20:27j`eyalthough that package installs a binfmt thing for arm64 binaries, someone had an issue with that here
20:34ping_47I'm step before trying to make the qemu static libraries to work first
20:34ping_47one step*
20:39dingodoppelt has quit [Quit: ZNC 1.9.x-git-170-9be0cae1 - https://znc.in]
20:39mpsping_47: not sure for Arch but all this works fine on alpine
20:40dingodoppelt has joined #asahi-dev
20:46leitao has quit [Ping timeout: 480 seconds]
20:54amarioguy has joined #asahi-dev
22:49Wisp404 has joined #asahi-dev
23:05psykose has quit [Remote host closed the connection]
23:06psykose has joined #asahi-dev
23:06ptrc has quit [Remote host closed the connection]
23:06ptrc has joined #asahi-dev
23:26Wisp404 has quit [Remote host closed the connection]
…