Search logs:

channel logs for 2004 - 2010 are archived at http://tunes.org/~nef/logs/old/ ·· can't be searched

#osdev2 = #osdev @ Libera from 23may2021 to present

#osdev @ OPN/FreeNode from 3apr2001 to 23may2021

all other channels are on OPN/FreeNode from 2004 to present


http://bespin.org/~qz/search/?view=1&c=osdev&y=19&m=8&d=6

Tuesday, 6 August 2019

07:26:31 <ybyourmom> I now understand how to write my own iptables rules for NAT
07:26:38 <ybyourmom> I feel so powerful
07:26:41 <ybyourmom> I can rewrite the world
07:26:53 <ybyourmom> I can spoof any datagram
07:27:50 <ybyourmom> I am deception itself; I am the illusion, I am the mirage which leads a man to seek me desperately in the desert
07:28:34 <ybyourmom> I am the riddler
07:29:18 <ybyourmom> I am the faceless visage of confusion.
17:26:48 <j`ey> does qemu aarch64 only support EL0/EL1?
17:46:12 <j`ey> (yes sounds like it https://stackoverflow.com/questions/42824706/qemu-system-aarch64-entering-el1-when-emulating-a53-power-up)
19:08:47 <j`ey> well after a few hours of futzing around, I can switch from EL3 to EL1!
19:08:55 <zid> what's an EL
19:09:00 <zid> execution.. labrador?
19:09:14 <j`ey> Executin Level in aarch64
19:09:24 <zid> is it like cpl?
19:09:29 <zid> rings
19:09:30 <j`ey> it's like the rings
19:09:32 <j`ey> yeah
19:09:55 <zid> what's the mech for that on aarch64, some kind of syscall?
19:10:52 <j`ey> you have to set some registers: the state and link register, then 'eret' aka exception return
19:13:21 <zid> you said from 3 to 1, that sounds like 1 to 3... or are the numbers inverted?
19:13:45 <j`ey> bigger number, more priveleged
19:13:50 <zid> ah, opposite of x86
19:14:03 <j`ey> so I had this aarch64 training today
19:14:18 <j`ey> didn't help at all for my job, but helped me a lot with stuff that will be useful for osdev
19:21:14 <kpel> j`ey: It also helped your manager spend some of the training budget. Use it or lose it!
19:21:33 <kpel> they owe you :P
19:21:38 <j`ey> kpel: it was internal training :P
19:21:51 <kpel> ok, they don't owe you
21:09:18 <j`ey> geist: around?
21:09:57 <zid> no calling geist fat
21:10:37 <j`ey> square?
21:10:54 <freakazoid0223> what about an inode?
21:13:41 <zid> Your mum's an inode
21:13:45 <zid> oooooooooh!
21:40:30 <j`ey> it looks like LK doesnt set the no-sse flag, which is surprising, most things Ive seen suggest to turn that on
21:40:38 <j`ey> (or rather turn SSE off when building the kernel)
21:42:22 <zid> does it have mgeneral-regs-only though? :P
21:42:55 <j`ey> doesnt look like it..
21:44:16 <_mjg> does it always save/restore all the regs?
21:44:35 <_mjg> i mean it can work, whther it's worth it...
21:44:42 <zid> afaik they got rid of the dirty bit crap
21:44:47 <zid> and just always xsave
21:44:52 <zid> because it was just slower to check than do
21:45:00 <zid> and some shit in the kernel does use sse like crypt code
21:45:32 <zid> you have to do __enable_fpu or some crap first though I *think*
21:45:36 <zid> I'm not super well versed in this
21:46:50 <j`ey> I actually dunno where the save/restore is.. I assume its this, but it doesnt look like enough: https://github.com/littlekernel/lk/blob/master/arch/x86/64/asm.S#L10
21:47:02 <zid> oh lk is not linux kernel
21:47:03 <zid> haha
21:47:19 <j`ey> yeah sorry, I thought LK would be known here :P
21:48:12 <zid> what if it's default on his compiler
21:48:13 <zid> to not have sse
21:48:19 <zid> didn't think about that did you eh! noob
21:48:41 <j`ey> no u
21:50:40 <_mjg> you should ask him
21:50:47 <_mjg> now i'm mildly curious myself
21:51:07 <j`ey> I tried, but he's not around it seems
21:52:30 <zid> he might be fat we don't know
21:55:09 <j`ey> I think LLVM might be using 'movi' when it shouldnt
22:01:32 <j`ey> (and therefore using vector registers, and then crashing because I havent enabled them)