ChanServ changed the topic of #haiku to: Open-source operating system that specifically targets personal computing. | https://haiku-os.org | Nightlies: https://download.haiku-os.org | Bugtracker: https://dev.haiku-os.org | SCM: https://git.haiku-os.org/ | Logs: https://oftc.irclog.whitequark.org/haiku | Matrix: #haiku:matrix.org | XMPP: #haiku%irc.oftc.net@irc.jabberfr.org
x10z has joined #haiku
x10z has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
x10z has joined #haiku
x10z has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
x10z has joined #haiku
x10z has quit []
x10z has joined #haiku
euandreh has quit [Quit: WeeChat 3.5]
euandreh has joined #haiku
mmu_man has quit [Ping timeout: 480 seconds]
Hannah has quit []
ablyss has joined #haiku
vdamewood has joined #haiku
x10z has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
vdamewood_ has joined #haiku
ablyss has quit [Quit: Leaving]
vdamewood has quit [Ping timeout: 480 seconds]
x10z has joined #haiku
x10z has quit []
<Not-d5e4> [haikuports/haikuports] Begasus pushed 1 commit to master [+1/-2/±0] https://github.com/haikuports/haikuports/compare/62f88296fc23...5d35dfc8cbfc
<Not-d5e4> [haikuports/haikuports] JadedCtrl 5d35dfc - frotz: bump version (#6934)
<Not-d5e4> [haikuports/haikuports] augiedoggie pushed 1 commit to master [+2/-2/±0] https://github.com/haikuports/haikuports/compare/5d35dfc8cbfc...b26e9e4b9dad
<Not-d5e4> [haikuports/haikuports] terrayi b26e9e4 - update koreanim version (#6920)
aeryndunham has quit [Ping timeout: 480 seconds]
Begasus has joined #haiku
<Begasus> g'morning peeps
Begasus_32 has joined #haiku
<Begasus> missed that one augiedoggie :)
<augiedoggie> i thought about pinging you to have you or extrowerk close it
<augiedoggie> easy enough to hit the button myself
<Begasus> right :)
<trungnt2910[m]> <waddlesplash> "likely it won't and this is..." <- Now it gives me a page fault.
<Begasus> eeps trungnt2910[m] "HaikuOS" ;)
<trungnt2910[m]> Begasus: Why not?
<Begasus> it's "Haiku" ;)
<Begasus> Some are pretty strict on the name use :)
B2IA has quit [Ping timeout: 480 seconds]
illwieckz has quit [Remote host closed the connection]
<jessicah> haha, yeah, there's no OS in the name
<jessicah> the website is haiku-os, because we couldn't get haiku
<Begasus> heading out, dogschool
<Begasus> bbl
<jessicah> trungnt2910[m]: it seems like a better option might be having an explicit flag for not readable/writable, so the fix protection flags thing can avoid setting flags that shouldn't be set instead of inferring it
<jessicah> or... that we find cases where 0 is passed when it should really have a read flag, and change those
illwieckz has joined #haiku
jmairboeck has joined #haiku
illwieckz has quit [Ping timeout: 480 seconds]
<trungnt2910[m]> <jessicah> "or... that we find cases where 0..." <- You mean cases that are scattered around the OS kernel?
<trungnt2910[m]> s/around/across/
<trungnt2910[m]> <jessicah> "trungnt2910: it seems like a..." <- So calls to `mmap` and `mprotect` from userland would set those flags (0 protection for user, explicitly not readable/writable for kernel) and `fix_protection` would catch these flags and stop making them accessible to the kernel, right?
<trungnt2910[m]> And this should also prevent messing up with kernel allocated memory like the ones used by drivers during boot?
<jessicah> possibly, it is an idea, I don't know how feasible that would be
illwieckz has joined #haiku
illwieckz has quit [Remote host closed the connection]
illwieckz has joined #haiku
<trungnt2910[m]> In Haiku's kernel `_kern_`something is a syscall while `_user_`something is the call's corresponding implementation in the kernel, right?
<jessicah> right
AlaskanEmily has quit [Remote host closed the connection]
tqh has joined #haiku
<trungnt2910[m]> This time, it boots!
tuaris has quit [Read error: Connection reset by peer]
<trungnt2910[m]> IT WORKS! IT ACTUALLY WORKS!
humdinger has joined #haiku
rennj has quit [Ping timeout: 480 seconds]
rennj has joined #haiku
<trungnt2910[m]> Might this patch have any consequences I don't know of (I'm just removing the kernel read/write flags for calls from userland).
MajorBiscuit has joined #haiku
vdamewood_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<jessicah> trungnt2910[m]: oh nice, are there still calls to the non-user function?
<trungnt2910[m]> jessicah: Yes, everything that is not a syscall handler.
<trungnt2910[m]> (Confirmed in my IDE)
<jessicah> cool
<jessicah> I'm sure at the very least, waddlesplash will like to review
doomquak1keen has joined #haiku
doomquakekeen has quit [Ping timeout: 480 seconds]
MajorBiscuit has quit [Ping timeout: 480 seconds]
binky has joined #haiku
MajorBiscuit has joined #haiku
<humdinger> hello binky. how are you doing?
<binky> ho, ho, humdinger. I'm trying out the Konversation IRC client.
<humdinger> ah. I bet you need to take a screenshot to upload to HaikuDepotServer...
<binky> Exactly right. You can read my...
<binky> ...mind.
<binky> done. bye bye
* binky waves
* humdinger waves back
binky has quit []
<humdinger> wait up, binky
humdinger has quit [Quit: Vision[]: Oi with the poodles already!!]
MajorBiscuit has quit [Ping timeout: 480 seconds]
<jessicah> trungnt2910[m]: does the rpath patch embed the actual path, or does it embed the variable "$ORIGIN"?
<jessicah> also, LD_LIBRARY_PATH is simply LIBRARY_PATH on Haiku
<jessicah> so anywhere that uses LD_LIBRARY_PATH needs patching for Haiku
<trungnt2910[m]> <jessicah> "trungnt2910: does the rpath..." <- It just embeds the variable $ORIGIN. However, it seems that Haiku does support that variable (And I actually tested that, the test printed a different error after the patch).
<trungnt2910[m]> (That error is, again, related to exception catching)
<trungnt2910[m]> <jessicah> "so anywhere that uses LD_LIBRARY..." <- I'll keep that in mind, will fix when it actually surfaces.
<jessicah> huh, so it does
<andreasdr[m]> Good moorning.
mmu_man has joined #haiku
tqh has quit [Quit: Leaving]
pch has quit []
pch has joined #haiku
<Begasus> augiedoggie, awake?
Gaspare has joined #haiku
vdamewood has joined #haiku
vdamewood_ has joined #haiku
vdamewood has quit [Ping timeout: 480 seconds]
Gaspare has quit [Quit: Gaspare]
Gaspare has joined #haiku
HaikuUser has joined #haiku
HaikuUser has quit []
<augiedoggie> Begasus: barely
<Begasus> ;)
<Begasus> maybe you could merge the PR for gcompris?
<augiedoggie> we can give it a try i guess
tqh has joined #haiku
<Not-d5e4> [haikuports/haikuports] augiedoggie pushed 1 commit to master [+1/-0/±1] https://github.com/haikuports/haikuports/compare/b26e9e4b9dad...2d065c1406da
<Not-d5e4> [haikuports/haikuports] augiedoggie 2d065c1 - gcompris: enable 32 bit (#6915)
<waddlesplash> jessicah: trungnt2910[m]: I do think we should change this for everything not just userland.
<waddlesplash> anyway I'll investigate more this coming week. thanks for the work so far
<augiedoggie> heh, looks like i forgot to remove the ? from the secondary architectures
Gaspare has quit [Quit: Gaspare]
<Not-d5e4> [haikuports/haikuports] augiedoggie pushed 1 commit to master [+0/-0/±1] https://github.com/haikuports/haikuports/compare/2d065c1406da...38040a898ff5
<Not-d5e4> [haikuports/haikuports] augiedoggie 38040a8 - gcompris: remove testing flag from secondary arch
pch has quit [Remote host closed the connection]
pch has joined #haiku
<trungnt2910[m]> <waddlesplash> "anyway I'll investigate more..." <- Glad to hear that. But if the impact is too far and wide and takes time to fix might you consider this patch as a _temporary_ fix for userland applications?
<trungnt2910[m]> > <@_oftc_waddlesplash:matrix.org> anyway I'll investigate more this coming week. thanks for the work so far
<trungnt2910[m]> * Glad to hear that. But if the impact of the change is too far and wide and takes time to adjust might you consider this patch as a _temporary_ fix for userland applications?
<waddlesplash> maybe but probably not because I suspect this makes things inconsistent between userland and kernel APIs
<waddlesplash> the consistency matters
<waddlesplash> i.e. create_area should behave identically whether called in userland or in the kernel, and while it probably doesn't already, we shouldn't make it worse.
<waddlesplash> anyway I don't expect the real change to take much longer and in fact you can likely start on it yourself if you want
<waddlesplash> just add a panic() to the original case where everything is 0 and then boot, and see what it trips on and fix it
<waddlesplash> e.g. the SCSI stack it appears
Gaspare has joined #haiku
pch is now known as kinkinkijkin
x10z has joined #haiku
<trungnt2910[m]> <waddlesplash> "just add a panic() to the..." <- Ok I'll try now.
<trungnt2910[m]> x512: Is this screen expected when using your libunwind?
<x512[m]> trungnt2910: Some components are missing and not yet uploaded (CompilerRT parts, stub libgcc_s.so) so yes.
<trungnt2910[m]> x512[m]: I'm aware of that, but does your machine show that exact error screen (and why is `DwarfManager` related)
kinkinkijkin has quit [Remote host closed the connection]
<trungnt2910[m]> x512[m]: Also is the stub `libgcc_s.so` the bunch of functions that you're currently calling `abort()`?
<x512[m]> I installed modified libroot.so it non-packaged directory for testing.
<x512[m]> No, stub libgcc_s.so is a shared library file with emptry source code and version script degining all libgcc_s versions.
<x512[m]> That crash is probably a result of hitting abort() in missing CompilerRT parts.
<x512[m]> degining -> defining
pch has joined #haiku
<trungnt2910[m]> What's the `libgcc.c` file then?
<x512[m]> Functions need to be implemented with CompilerRT code.
x10z has quit [Remote host closed the connection]
pch is now known as kinkinkijkin
<trungnt2910[m]> <x512[m]> "trungnt2910: Some components are..." <- "not yet uploaded"
<trungnt2910[m]> Do you have a local copy then?
<x512[m]> Yes.
x10z has joined #haiku
<trungnt2910[m]> <waddlesplash> "e.g. the SCSI stack it appears" <- SCSI calls something called a "locked pool" with only `B_CONTIGUOUS` (an area locking flag, I suppose)... (full message at https://matrix.org/_matrix/media/r0/download/matrix.org/pKWHxgUkqZcwOOPIEainqslj)
<trungnt2910[m]> > <@_oftc_waddlesplash:matrix.org> e.g. the SCSI stack it appears... (full message at https://matrix.org/_matrix/media/r0/download/matrix.org/MtZdweOCVtGVJLkPEFdsCvBI)
<trungnt2910[m]> Or should the pool itself contain protection flags?
Begasus_32 has quit [Quit: Vision[]: Gone to the dogs!]
x10z has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<x512[m]> Lock and protection are separate set of flags. Lock is actually enumeration and not flags.
<trungnt2910[m]> Oops, read the source a bit wrong...
<trungnt2910[m]> So many params for a single function...
<trungnt2910[m]> > <@trungnt2910:matrix.org> SCSI calls something called a "locked pool" with only `B_CONTIGUOUS` (an area locking flag, I suppose)... (full message at https://matrix.org/_matrix/media/r0/download/matrix.org/WjFTMZwlwcBDsJGNthOAoBtI)
AlaskanEmily has joined #haiku
Skipp_OSX has joined #haiku
<trungnt2910[m]> <waddlesplash> "e.g. the SCSI stack it appears" <- It seems to be scattered around the drivers in the kernel.
<trungnt2910[m]> After changing a few things that seems like resource buffers for these drivers, Haiku is booting.
Gaspare has quit [Quit: Gaspare]
HaikuUser has joined #haiku
austin987 has joined #haiku
Vitto has joined #haiku
HaikuUser has quit []
linearcannon has quit [Ping timeout: 480 seconds]
x10z has joined #haiku
<waddlesplash> trungnt2910[m]: nice!
<waddlesplash> we should likely check to see when this code was written and if any of it ever ran on BeOS
<waddlesplash> otherwise this is very probably the better solution by far
B2IA has joined #haiku
austin987 has quit [Remote host closed the connection]
austin987 has joined #haiku
Vitto has quit [Remote host closed the connection]
x10z has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bbjimmy has quit [Quit: Vision[]: i've been blurred!]
Vitto has joined #haiku
bbjimmy has joined #haiku
extrowerk has quit [Quit: Bye!]
extrowerk has joined #haiku
aeryndunham has joined #haiku
<PulkoMandy> B_CONTIGUOUS makes sure that the area is a single chunk of physical memory, meaning it can be used easily for DMA transfers
<trungnt2910[m]> <waddlesplash> "we should likely check to see..." <- So if that code was written a long time ago, it'd be safe to modify it to like this?
<waddlesplash> no, it's safe either way
<waddlesplash> the point is to check whether we are changing behavior from BeOS here, or whether this is a "Haiku-ism"
<waddlesplash> anyway, it is the weekend, so I'll still be in and out, and I can focus more on this tomorrow
<trungnt2910[m]> Most of the lines I checked are like 10 years ago.
<trungnt2910[m]> * checked are last changed like 10, * like 10 or more years ago.
<trungnt2910[m]> * Most of the lines I checked were last changed like 10 or more years ago.
Vitto has quit [Remote host closed the connection]
Vitto has joined #haiku
<trungnt2910[m]> <waddlesplash> "otherwise this is very probably..." <- If that's the case, I've uploaded my changes to the review server.
<trungnt2910[m]> Hope you can see it tomorrow.
elias has joined #haiku
<elias> does haiku support dual monitor setups?
<rennj> matrox g400,450 perhaps, beos had driver for...
<rennj> Xinerama foobar..
<rennj> (multiple heads using multiple GPUs) cards are supported on all heads (confirmed a G200MMS working OK)
HaikuUser has joined #haiku
Atomozero has joined #haiku
HaikuUser2 has joined #haiku
HaikuUser2 has quit []
HaikuUser has quit []
Atomozero has quit []
Atomozero has joined #haiku
x10z has joined #haiku
humdinger has joined #haiku
<andreasdr[m]> May I ask a question? Does Haiku use Harfbuzz?
humdinger_ has joined #haiku
humdinger is now known as Guest1186
humdinger_ is now known as humdinger
x10z has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
probono9 has quit [Quit: Ping timeout (120 seconds)]
probono9 has joined #haiku
TMM has quit [Remote host closed the connection]
Guest1186 has quit [Ping timeout: 480 seconds]
jezek2 has quit [Remote host closed the connection]
jezek2 has joined #haiku
x10z has joined #haiku
TMM has joined #haiku
<humdinger> andreasdr[m]: "pkgman search harfbuzz" says yes
puck_ has quit [Ping timeout: 480 seconds]
puck_ has joined #haiku
<wannabee[m]> humdinger: A port exists or Haiku uses it is 2 different thing.
linearcannon has joined #haiku
<humdinger> indeed, I misread... sorry
jezek2_ has joined #haiku
jezek2 has quit [Ping timeout: 480 seconds]
<andreasdr[m]> Wanted to know If Haiku OS uses internally Harfbuzz to do the text layouting. Like if it is used for what I usually see on Screen. Tracker and Deskbar :D
<humdinger> I don't really know, but when trying to uninstall harfbuzz, it'd uninstall most of the system's packages. So I guess it is used...
<humdinger> possibly by freetype(?)
<andreasdr[m]> Ah cool! Thank you!
<humdinger> though probably not all features, given that Haiku doesn't really support right-to-left languages AFAIK.
<andreasdr[m]> Oh. I would have thought that exactly HarfBuzz implements those things.
<humdinger> I suppose it would still need to be wired in in all places...
<andreasdr[m]> Hmm. Very good question. From an API point of view as developer I would be surprised a bit.
<humdinger> take a bucket of salt with that. I may be completely wrong...
<humdinger> wait for the devs to pipe up :)
Atomozero has quit [Ping timeout: 480 seconds]
<Begasus> g'night peeps
Begasus has quit [Quit: Leaving]
<andreasdr[m]> Good night Begasus
tuaris has joined #haiku
humdinger has quit [Quit: Vision[]: Oi with the poodles already!!]
aeryndunham has quit [Ping timeout: 480 seconds]
DKnoto has quit [Ping timeout: 480 seconds]
DKnoto has joined #haiku
ClaudioM has joined #haiku
m199 has joined #haiku
diver1 has joined #haiku
Diver is now known as Guest1201
diver1 is now known as Diver
Guest1201 has quit [Ping timeout: 480 seconds]
macdude22 has joined #haiku
jason123santa has left #haiku [Disconnected: Replaced by new connection]
jason123santa has joined #haiku
jmairboeck has quit [Quit: Konversation terminated!]
xet7 has quit [Remote host closed the connection]
xet7 has joined #haiku
jrabbit has joined #haiku
tqh has quit [Quit: Leaving]
aeryndunham has joined #haiku
MajorBiscuit has joined #haiku
macdude22 has quit [Quit: Textual IRC Client: www.textualapp.com]
aeryndunham has quit [Quit: Leaving]
MajorBiscuit has quit [Quit: WeeChat 3.4]
m199 has quit [Remote host closed the connection]
MajorBiscuit has joined #haiku
macdude22 has joined #haiku
ClaudioM has quit [Quit: leaving]
Vitto has quit [Ping timeout: 480 seconds]
kescher has quit [Quit: Bye]
kescher has joined #haiku
mmu_man has quit [Ping timeout: 480 seconds]
FloodServ has quit [Service unloaded]
FloodServ has joined #haiku
kikadf is now known as Guest3
FloodServ has quit [Service unloaded]
FloodServ has joined #haiku
Major_Biscuit has joined #haiku
x10z has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
MajorBiscuit has quit [Ping timeout: 480 seconds]
Major_Biscuit has quit []
jezek2_ is now known as jezek2
vdamewood_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ablyss has joined #haiku
HaikuUser has joined #haiku
HaikuUser has quit []