<bslsk05>
www.nasm.us: NASM - The Netwide Assembler
<chiselfuse>
> NASM has the capacity to define other special symbols beginning with a double period: for example, ..start is used to specify the entry point in the obj output format (see section 8.4.6), ..imagebase is used to find out the offset from a base address of the current image in the win64 output format (see section 8.6.1). So just keep in mind that symbols beginning with a double period are special.
<chiselfuse>
i can't find info on this, i thought it was `_start`, not `..start`. it says dots are for local variables, then says this...
Left_Turn has joined #osdev
<kof673>
it does note those are for specific output formats
<Ermine>
the fact I've tried out OpenIndiana for a few seconds doesn't make me illumos lover
<heat>
netbsduser, they seem to really like rust over there
<heat>
if there's anything you can fault the old solaris people (bmc, etc) for, lack of adapting to new technologies isn't it
bauen1 has quit [Ping timeout: 268 seconds]
X-Scale has joined #osdev
<Ermine>
Meanwhile, fedora installer can't detect my ssd for some reason
<nortti>
how's the ssd attached?
<Ermine>
sata
<Ermine>
The kernel detects it just fine, it's installer issue
<nortti>
that's curious
<Ermine>
therefore I'll probably go with btwOS. Eh
xenos1984 has quit [Ping timeout: 264 seconds]
xenos1984 has joined #osdev
<heat>
weird
<heat>
Ermine, hmm is your ssd in raid mode?
<Ermine>
no
<Ermine>
I have nothing to raid it with
<heat>
yeah but have you seen in the BIOS settings?
<heat>
from a quick google i think it can fuck with fedora
<Ermine>
SATA Mode Selection is set to AHCI
<Ermine>
Anyway, my storage configuration is basic. It's fedora which can't get their installer right in 2024, which is LUL
<heat>
onyx doesn't have an installer, so the onyx installer is never wrong
<Ermine>
sounds like minimalist take
<heat>
i'm simply an arch btw enjoyer
linear_cannon has quit [Ping timeout: 256 seconds]
<heat>
minimalists would have you write your own install script in POSIX sh
<heat>
somehow abusing pipes along the way
linear_cannon has joined #osdev
housemate has joined #osdev
dalme has quit [Ping timeout: 268 seconds]
X-Scale has quit [Ping timeout: 250 seconds]
frkzoid has quit [Ping timeout: 256 seconds]
<Ermine>
arch has an installer
xenos1984 has quit [Ping timeout: 268 seconds]
X-Scale has joined #osdev
bauen1 has joined #osdev
<heat>
that's for the WEAK to use
xenos1984 has joined #osdev
X-Scale has quit [Ping timeout: 250 seconds]
<Ermine>
I'm weak ngl
netbsduser has quit [Ping timeout: 256 seconds]
<heat>
you should try installing it manually
<heat>
you'll find it to be pretty easy
<zid>
It is monday for real now my dudes
<heat>
the guide basically tells you what to do, essentially <configure this and that, pacstrap -S base <desired packages>, arch-chroot /mnt, you're in your new system now
<heat>
just don't forget installing a bootloader!
frkazoid333 has joined #osdev
netbsduser has joined #osdev
<Ermine>
heat: I've installed it several times manually, so I know how this works
<Ermine>
I'm too lazy for that
<heat>
sad
housemate has quit [Quit: "I saw it in a TikTok video and thought that it was the smartest answer ever" ~AnonOps Radio [LOL]]
daniel_h has joined #osdev
eevv has joined #osdev
<kof673>
> hpasmd is a binary-only crap that is required on these servers for the fan regulation to work. Without it, fans run at full speed, producing too much noise and consuming power.
<kof673>
which is just to say.....the hw is one thing, this sounds like deliberate software issue because they want to keep their "binary-only"
spenc has left #osdev [#osdev]
<eevv>
Anyone ever tried to make a custom PE 64-bit file and run into "the application was unable to start correctly" error? The error code is 0xc000007b. I have one section `.text` that is located virtually and physically (in file) at address 0x1000 (the file and virtual alignments are both 4k). I set my entry address to 0x1000 and base code 0x1000, but
<eevv>
when I set the entry address to 0, there is no application, however I think it tries to execute the header as if it were code...
<eevv>
there is no application error*
<geist>
hmm, well that sounds like a plausible thing
X-Scale has joined #osdev
josuedhg has joined #osdev
daniel_h has quit [Read error: Connection reset by peer]
navi has joined #osdev
<heat>
geist, remember that thing about your (fuchsia) mmio helpers being in inline asm cuz stores were like merged or something?
<heat>
in what case is it permissible for that to happen?
<zid>
PE is annoying like that, it's very picky but hard to know what it's being picky about
<heat>
ahhh the problem wasn't that stores were merged, it's that they were using movd and other SSE instructions
node1 has joined #osdev
GeDaMo has quit [Quit: 0wt 0f v0w3ls.]
Starfoxxes has quit [Remote host closed the connection]
eddof13 has joined #osdev
<geist>
right, even on ARM, using writeback in load/stores is no bueno for VM
eddof13 has quit [Client Quit]
eddof13 has joined #osdev
<geist>
note you'll only notice it if you're running on KVM, but i was seeing it in particular cases with gcc 14 on a rpi 5 + KVM
<geist>
on x86 i think for the most part it's hard to find an instruction kvm wont emulate, but they can emulate less efficiently, so sticking to a simple mov is a clean path
<heat>
yeah
<heat>
also TIL on clang address_space(any number) Just Works
<geist>
yea that's kinda interesting
<geist>
if you're looking at the LK mmio stuff i definitely got that from fuchsia, and it has a nice property of not letting you mix/match it
<geist>
or something
<heat>
yep
<heat>
it works exactly like linux sparse, that's where they got it from
<heat>
__user (and __iomem) is defined noderef and address_space(random number)
<heat>
although sparse has the aditional feature of not being able to cast between them at all, you need a "force cast" for that
dutch has quit [Quit: WeeChat 4.3.1]
divine has quit [Ping timeout: 268 seconds]
vdamewood has joined #osdev
<heat>
i don't really understand what's going on but my plasma+wayland setup seems to randomly send tabs to programs
<heat>
i alt tab away from the editor or the browser and, boom, new tab just dropped
[Kalisto]5 has joined #osdev
[Kalisto] has quit [Ping timeout: 256 seconds]
[Kalisto]5 is now known as [Kalisto]
eddof13 has quit [Quit: eddof13]
<nikolar>
KERNAL
<zid>
nikolapdp is it 10pm yet
<vdamewood>
zid: It is somewhere.
<zid>
somewhere doesn't count if you're waiting for a thing though
<nikolar>
It is zid
<nikolar>
For you
<zid>
great, time to madly refresh nyaa then
<nikolar>
Do that
node1 has quit [Quit: Client closed]
X-Scale has quit [Quit: Client closed]
<Ermine>
heat: do you mean tab key?
<gog>
nyaa
<heat>
yep
<eevv>
Alright I figured out the PE thing, just set OS and subsystem versions to something small, if you set to 10 then it probably expects like manifest xmls and stuff
<eevv>
PE is so undocumented its cray cray out here
<netbsduser>
it's a direct descendent of COFF itself
<netbsduser>
you could try XCOFF or ECOFF if you want to have a different flavour