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
<sg94> hey all, so i have a ryzen 7640 framework that seems to hang at the Haiku bootloader. had this issue months ago just had too much going on to sit and make any further investigations.
<sg94> question is how do i get any information about that to make a bug report? no syslog or serial header? works fine on a ryzen 5000 series laptop chip and desktop 7900x but the laptop just has a black screen, no safe mode, no error message, just nothing.
<sg94> secure boot disabled - win11 and suse work fine. using nightly from a couple nights ago. also tried nightly from may with same issues,
<sg94> is this info good enough to make a bug report?
Habbie has quit [Ping timeout: 480 seconds]
Habbie has joined #haiku
<waddlesplash> sg94: are you booting with BIOS or EFI? this is a known problem with the BIOS loader on Ryzen and there are tickets about it already
<waddlesplash> the EFI loader works however, so just use that
<waddlesplash> oh, black screen? hm that may be a different problem
<waddlesplash> most of the ones I know hang with a Haiku logo with no icons lit
<sg94> yep EFI.
<sg94> can't even access the options menu (holding space)
<waddlesplash> odd
<waddlesplash> are you booting straight from USB? through rEFInd?
<sg94> i tried booting directly (via system boot menu) and with refind too
<waddlesplash> ah
<waddlesplash> and you just get a black screen... ouch
<sg94> same results either way
<waddlesplash> yeah not sure what can be done at this stage. serial out is ideal but if you don't have hookup that's not possible
<waddlesplash> you can make a bug report but I don't have much confidence that anyone will come along and help debug it, without any more info than that...
<waddlesplash> did you look at the forum topics about Framework machines? did anyone else have a similar issue?
* waddlesplash can't remember, he hasn't paid too much attention to Framework machines specifically
erysdren has quit [Quit: Konversation terminated!]
<sg94> did a quick search and it looks like a few people had this but no solutions? https://discuss.haiku-os.org/t/introducing-the-new-and-upgraded-framework-laptop/12203/6
<waddlesplash> ouch
<waddlesplash> yeah, without any sort of indicator of what's happening, not going to work out
<waddlesplash> one idea might be: install an EFI shell and start the Haiku loader from there
<waddlesplash> (if you can't get serial out that is)
<waddlesplash> we can produce hacked-up Haiku EFI loaders that don't initialize the bootsplash but just print stuff to the EFI console
<sg94> as far as serial out goes, i'm doubting a usb->serial thing would work here would it?
<sg94> and i don't know if the board has some kinda serial port hookup or if i'm willing to chance that.
<waddlesplash> no, it wouldn't
<waddlesplash> or, well, it would only if the EFI BIOS supports that
<sg94> hmm didn't know that would be a thing, i'll try to pick one up sometime and see if that works
mmu_man has quit [Ping timeout: 480 seconds]
nipos has left #haiku [Error from remote client]
dqk_ has joined #haiku
<arraybolt3> sg94: if you're very determined, it looks like the Framework has debug serial things *somewhere*, and also apparently at least one model supports closed-case debugging on the right-rear USB-C port if you know how to access that
nipos has joined #haiku
dqk has quit [Ping timeout: 480 seconds]
mmu_man has joined #haiku
<arraybolt3> actually figuring out where those debugging serial thingies are seems like a challenge though because Framework isn't able to release full board schematics.
<arraybolt3> (or they won't, one of the two, no telling which)
<sg94> oh weird, thought with being big on repair that was a thing they were doing
<arraybolt3> makes me a bit upset to see them say "we're releasing the board schematics to repair shops so that you have a laptop that's truly yours" no you didn't. You released board schematics to repair shops so that I have a laptop that I can get someone else to help fix if needed. If it was "truly mine" you'd make the schematics available to me too.
<arraybolt3> I mean I don't think it's entirely their fault, but it still stinks.
<arraybolt3> anyway, one assumes someone who's determined enough can figure out which pins provide the serial debugging functionality. The CCD thingy I found was for debugging the embedded controller, so it may or may not have actually worked
<sg94> yeah i'm not sure if i have that kinda determination `:)
<arraybolt3> I probably wouldn't either :P
<sg94> i just got this thing not too long ago don't want to be putting it up to chance with my lack of meticulousity and patience putting wires on spots and hoping for serial io
<arraybolt3> reasonably
<sg94> waddlesplash: i did get an EFI shell on here and tried to launch it, still does the same thing, if you can point me to a spot where i can get that modified efi boot. i'll give that a shot see if i can get any kinda useful info
OscarL has quit [Quit: Gone with the wind]
* arraybolt3 is getting a new KFocus Ir16 tomorrow so I get "shiny new important thing don't want to break" :P
<waddlesplash> sg94: if you have some C++ skills I can point you to what to edit
<sg94> sounds good.
* arraybolt3 thinks it's awesome that "oh just modify your bootloader, that'll get the answer" is something you can actually do in open-source work
<waddlesplash> :)
<sg94> when in doubt, printf("it out");
<waddlesplash> so here's main()
<waddlesplash> I would try adding a dprintf or something past the serial_enable
<waddlesplash> also commenting out this
<waddlesplash> see what happens then
<waddlesplash> if that fails to produce something I have a few other ideas
<waddlesplash> you can build just the EFI loader with jam: "jam -q -jN haiku_loader.efi"
<waddlesplash> (after having configured crosstools and whatever else)
<waddlesplash> and then throw that on your ESP even without a Haiku partition
<waddlesplash> this is a good test actually, once the EFI loader works enough to display something we will just get the menus with "no boot partitions found..."
bjorkint0sh has quit [Quit: "Every day, computers are making people easier to use." David Temkin]
dalme has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
<sg94> cool i'll give that a shot and keep you posted!
_-Caleb-_ has left #haiku [#haiku]
_-Caleb-_ has joined #haiku
mmu_man has quit [Ping timeout: 480 seconds]
bjorkintosh has joined #haiku
Vidrep_64 has quit [Quit: Vision[]: i've been blurred!]
tuaris has quit [Quit: Leaving.]
walkingdisaster has joined #haiku
walkingdisaster has quit []
HaikuUser has joined #haiku
HaikuUser has quit [Quit: Vision[]: i've been blurred!]
DKnoto has quit [Ping timeout: 480 seconds]
DKnoto has joined #haiku
Begasus has joined #haiku
<Begasus> g'morning peeps
<Begasus> waddlesplash, still up? https://0x0.st/Xy9J.jpg that's the KDL message on launch here
<Begasus> bugger, and package-deamon issue still there :/
Begasus has quit [Quit: Vision[]: i've been blurred!]
Begasus has joined #haiku
<Begasus> waddlesplash, fixed (for now) it seems
<Begasus> I had "samba" cmd's in UserBootscript, and with full-sync the samba4 package was uninstalled
<Begasus> commented the lines out for now, will do a test with the package installed ...
<Begasus> samba4 rebuild for openssl3 first
Halamix2 has quit [Quit: Gone (and/or ZNC is doing something stupid)]
Halamix2 has joined #haiku
walkingdisaster has joined #haiku
<oanderso[m]> waddlesplash: I think it would make sense to split up the WIP arm64 MMU patch and land it in smaller pieces. Some of them seem pretty obviously correct and land-able right away.
jmairboeck has joined #haiku
<Begasus> nice, patchset still apply on latest samba4 :)
<Begasus> not bad :) Warning: POLICY WARNING: "/packaging/samba4/lib/libsamba-util.so.0" needs library "libicui18n.so.75", but the package doesn't seem to declare that as a requirement
<phschafft> Good morning.
<Begasus> Moin phschafft :)
<phschafft> :)
TMM has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
TMM has joined #haiku
Begasus has quit [Quit: Vision[]: i've been blurred!]
<phschafft> sometimes it's hard to guess right at the start what operations will be performance hotspots.
linuxmaster1 has quit [Quit: Leaving.]
Begasus has joined #haiku
mmu_man has joined #haiku
<botifico> [haikuports/haikuports] Begasus pushed 1 commit to master [+0/-0/±1] https://github.com/haikuports/haikuports/compare/49a792d18a64...2a5b730715b0
<botifico> [haikuports/haikuports] kwyxz 2a5b730 - temporarily using a git revision to fix broken command-line arguments and enable use with ES-DE (#10851)
<botifico> [haikuports/haikuports] Begasus pushed 1 commit to master [+2/-0/±0] https://github.com/haikuports/haikuports/compare/2a5b730715b0...a7d3de0f30fc
<botifico> [haikuports/haikuports] ilzu a7d3de0 - Added port for Seer (seergdb) (#10812)
linuxmaster has joined #haiku
linuxmaster has quit [Ping timeout: 480 seconds]
linuxmaster has joined #haiku
Begasus has quit [Quit: Vision[]: i've been blurred!]
Begasus has joined #haiku
<Begasus> I guess there is a reason samba4 isn't enabled :P
<Begasus> 2024-08-23 11:04:36 DAEMON 'nmbd'[611]: samba_tevent: abort: pthread_mutex_unlock failed
barbs has joined #haiku
Nephele has joined #haiku
HaikuUser has joined #haiku
DKnoto has quit [Ping timeout: 480 seconds]
HaikuUser2 has joined #haiku
HaikuUser has quit []
HaikuUser2 has quit []
DKnoto has joined #haiku
<Nephele> hello there
* phschafft waves to nephele.
<Nephele> just tried the beta5 image on a akoya netbook
<Nephele> "64bit image requires 64bit cpu", pah!
<Nephele> But the gcc2 versin seems to boot nice and quick
<phschafft> :)
<Nephele> oh nice, powerstatus correctly installed on it's own :3
<Nephele> wifi works, touchpad works, battery works. neat!
<phschafft> :))
Anarchos has joined #haiku
<Nephele> My only complaint now is that the brightness slider is broken (i.e spuriously present, doesn't do anything)
<Anarchos> pkgman update doesn't show new beta5 haiku package on x86_gcc2
Begasus has quit [Quit: Vision[]: i've been blurred!]
mmu_man has quit [Ping timeout: 480 seconds]
Begasus has joined #haiku
barbs has left #haiku [WeeChat 3.0]
DKnoto has quit [Ping timeout: 480 seconds]
DKnoto has joined #haiku
HaikuUser has joined #haiku
<Anarchos> ah i finally found which acpi device is the accelerometer on my laptop : it is ACCE001
HaikuUser has quit [Quit: Vision[]: i've been blurred!]
_-Caleb-_ has left #haiku [#haiku]
_-Caleb-_ has joined #haiku
HaikuUser has joined #haiku
mmu_man has joined #haiku
<Anarchos> hello mmu_man
* HaikuUser waves
<Begasus> Hi Anarchos
<HaikuUser> Hi Begasus
<Begasus> HI nephele :)
<Nephele> Should work on wifi handover :D
<Nephele> damn annoying, have "only" three times my wifi listed, but still. With a newer chipset it will be 6 times. And with the next router "generation" with 6ghz wifi it would be 9 times!
<Begasus> should check PR for lxml frol OscarL ...
marzzbar has quit [Ping timeout: 480 seconds]
<Anarchos> Begasus i finally found the accelerometer in my laptop : it is the ACCE001 device in the ACPI device tree
<Begasus> so now ... next step? :)
<Anarchos> Begasus write a driver to read its info ...
<Anarchos> Begasus the win7 install (which i wiped off) at a driver that shutdown the system when accel is too high, not to damage the disk in case of a fall.
flag has joined #haiku
HaikuUser has quit [Quit: Vision[]: i've been blurred!]
Nephele has quit [Quit: Vision[]: i've been blurred!]
mmu_man has quit [Ping timeout: 480 seconds]
<Begasus> sounds like a interesting challenge Anarchos
flag_ has quit [Ping timeout: 480 seconds]
<botifico> [haikuports/haikuports] Begasus pushed 1 commit to master [+1/-1/±0] https://github.com/haikuports/haikuports/compare/a7d3de0f30fc...dffa44150559
<botifico> [haikuports/haikuports] OscarL dffa441 - lxml: update to version 5.3.0. (#10861)
mmu_man has joined #haiku
_-Caleb-_ has left #haiku [#haiku]
_-Caleb-_ has joined #haiku
<Begasus> tokodon still broken here :/
<Begasus> k, linking both libs in non-packaged fixes it
HaikuUser has joined #haiku
<HaikuUser> hello
<Begasus> Akregator up and running too
<Begasus> Hi HaikuUser
<HaikuUser> havent used IRC in a while, how do i change my nick?
<phschafft> /nick bla...
HaikuUser is now known as ASDF1234
<ASDF1234> thanks
<phschafft> :)
ASDF1234 has quit []
HaikuUser has joined #haiku
<HaikuUser> im trying haiku in a VM, i like how fast and simple it is
<HaikuUser> oh my nick didnt save lol
<phschafft> if you want to keep it you might need to set it in the settings of your client.
HaikuUser is now known as ASDF1234
Anarchos has quit [Quit: Vision[]: i've been blurred!]
Nephele has joined #haiku
Anarchos has joined #haiku
ASDF1234 has quit [Quit: Vision[]: i've been blurred!]
* Anarchos is back
<Nephele> back from the ... afk ? :D
<phschafft> :)
andreasdr[m] has joined #haiku
<andreasdr[m]> Hi there.
<jmairboeck> PulkoMandy: are the os/*/*Defs.h headers meant to be includable from C? At least AppDefs.h and MediaDefs.h contain #ifdef __cplusplus
<Begasus> Arrr andreasdr[m] :)
<Begasus> Hi jmairboeck :)
<jmairboeck> Hi Begasus!
<jmairboeck> I'm currently going through the headers to find potential gcc2 issues: https://review.haiku-os.org/c/haiku/+/8094
Nephele has quit [Quit: Vision[]: i've been blurred!]
<andreasdr[m]> Hi Begasus.
<Begasus> still checking up on changes needed for gettting KDE stuff up and running here
mmu_man has quit [Ping timeout: 480 seconds]
novaphoenix has quit [Quit: gone fishing]
novaphoenix has joined #haiku
<x512[m]> trungnt2910: Do GDB support multiple CPU architectures? Or it is needed to build separate one for each architecture? I want to use it with QEMU so Haiku-specific handling is not needed.
Anarchos has quit [Quit: Vision[]: i've been blurred!]
Coldfirex has quit [Remote host closed the connection]
HaikuUser has joined #haiku
HaikuUser is now known as BeeLibby
BeeLibby has quit []
mmu_man has joined #haiku
<Begasus> whoot! plasmatube back up and running :)
<Begasus> note, don't use ffmpeg6 for qt6multimedia/mpv*(?)
Coldfirex has joined #haiku
tuaris has joined #haiku
_-Caleb-_ has left #haiku [#haiku]
_-Caleb-_ has joined #haiku
walkingdisaster has quit [Quit: Vision[]: i've been blurred!]
walkingdisaster has joined #haiku
_-Caleb-_ has left #haiku [#haiku]
_-Caleb-_ has joined #haiku
mmu_man has quit [Ping timeout: 480 seconds]
bbjimmy has quit [Quit: Vision[]: i've been blurred!]
mmu_man has joined #haiku
_-Caleb-_ has left #haiku [#haiku]
walkingdisaster has quit [Quit: Vision[]: i've been blurred!]
_-Caleb-_ has joined #haiku
HaikuUser has joined #haiku
HaikuUser has quit []
<Begasus> k, Lazarus still good to build latest CudaText :D
mmu_man has quit [Ping timeout: 480 seconds]
<PulkoMandy> jmairboeck: Ideally any headers could be included safely from C even if they don't define anything? Unless there is a reason to not do that, but I can't think of one
<PulkoMandy> oanderso[m]: I agree splitting the arm mmu patch is a good idea if we can start merging some parts already. I'll try to help with the gode reviews and refresh my arm knowledge a bit
<jmairboeck> ok, thanks. Most of the BeAPI headers don't have #ifdef __cplusplus guards, but the *Defs headers mostly do.
erysdren has joined #haiku
<nekobot> [haiku/haiku] waddlesplash pushed 1 commit to master [hrev58002] - https://git.haiku-os.org/haiku/log/?qt=range&q=764365384d3b+%5E8ce920280db3
<nekobot> [haiku/haiku] 764365384d3b - Tracker: Do not alter selection on Copy and Cut or Copy more, Cut more.
<nekobot> [haiku/haiku] waddlesplash pushed 2 commits to master [hrev58003] - https://git.haiku-os.org/haiku/log/?qt=range&q=b278b9823250+%5E764365384d3b
<nekobot> [haiku/haiku] 653d40cc9317 - kernel/arm64: Use virtual rather than physical timers.
<nekobot> [haiku/haiku] b278b9823250 - arm64: Disable timer when not in use.
<nekobot> [haiku/haiku] waddlesplash pushed 1 commit to master [hrev58004] - https://git.haiku-os.org/haiku/log/?qt=range&q=e595b7fd4bc7+%5Eb278b9823250
<nekobot> [haiku/haiku] e595b7fd4bc7 - headers/bsd: fix comments after #endif
<Begasus> x512[m], cairo build finished fine here
diver1 has quit [Quit: Leaving.]
bbjimmy has joined #haiku
<Begasus> xcairo failed
_-Caleb-_ has left #haiku [#haiku]
_-Caleb-_ has joined #haiku
<trungnt2910[m]> <x512[m]> "trungnt2910: Do GDB support..." <- It does support targets from multiple archs.
<trungnt2910[m]> If you just use GDB with QEMU, then only whatever tdep code used for QEMU is required.
<trungnt2910[m]> By default all of the tdeps are compiled.
<x512[m]> Does it need additional configure flags to support multiple arch?
<trungnt2910[m]> Normally it should support multiple archs.
<trungnt2910[m]> The architecture detection code is in the tdep files.
<trungnt2910[m]> When the "ABI sniffer" reports a match, the corresponding target (OS, arch combo) is selected.
<x512[m]> GDB with kernel also works.
orealis has quit [Quit: yap...]
<trungnt2910[m]> Actually not by default.
<trungnt2910[m]> You'd need to pass configure flags...
<trungnt2910[m]> x512[m]: Wait... what? Are you stepping through early boot kernel code with GDB from QEMU's GDB stub?
<x512[m]> Yes.
<x512[m]> Boot loader and kernel can be debugged with QEMU + GDB.
<x512[m]> GDB commands in screenshot "qemu.gdb".
<x512[m]> Breakpoints work.
orealis has joined #haiku
<trungnt2910[m]> Looks nice, but actually this could have worked before the Haiku GDB port.
<Coldfirex> bada$$
<trungnt2910[m]> Since it does not seem to use the Haiku tdep code.
<x512[m]> Do not know is it possible to break on exception. But probably easier to set breakpoint on trap handler.
<trungnt2910[m]> break panic
<x512[m]> When building GDB with non-Haiku targets, it will fail if use negated error codes define.
Anarchos has joined #haiku
<x512[m]> <trungnt2910[m]> "break panic" <- And it works.
<x512[m]> It will be nice to have some mechanism of automatic loaded kernel add-on registration in GDB.
<x512[m]> waddlesplash may be also interested.
nosycat has joined #haiku
mmu_man has joined #haiku
<waddlesplash> x512[m]: yes, I have a TODO list item to get kernel addons registered at GDB without needing to specify offsets manually, somehow
<waddlesplash> haven't investigated yet
<waddlesplash> trungnt2910[m]: yes, I've been using GDB with the QEMU gdbstub for a while now
<x512[m]> waddlesplash: It also worked for me with haiku_loader. You need to pass ELF file to GDB before it converted to PE/RAW.
<x512[m]> Offset can be calculated by subtracting entry point addresses.
<waddlesplash> hmm
rexbinary_ has joined #haiku
<Anarchos> hello mmu_man
rexbinary has quit [Ping timeout: 480 seconds]
rexbinary_ is now known as rexbinary
<Begasus> nextcloud-client up and running again too :D
rexbinary_ has joined #haiku
rexbinary has quit [Ping timeout: 480 seconds]
rexbinary_ is now known as rexbinary
HaikuUser has joined #haiku
HaikuUser has quit []
mmu_man has quit [Ping timeout: 480 seconds]
smalltalkman__ has quit []
sg94 has quit [Ping timeout: 480 seconds]
nosycat has quit [Quit: Leaving]
mmu_man has joined #haiku
mmu_man is now known as Guest1260
Guest1260 has quit [Read error: Connection reset by peer]
mmu_man has joined #haiku
gouchi has joined #haiku
gouchi has quit [Remote host closed the connection]
gouchi has joined #haiku
gouchi has quit []
<botifico> [haiku/website] korli pushed 1 commit to master [+2/-0/±1] https://github.com/haiku/website/compare/5d30d449a7c8...9a061a539110
<botifico> [haiku/website] diegoroux 9a061a5 - blog/diegoroux: final report. (#709)
_-Caleb-_ has left #haiku [#haiku]
_-Caleb-_ has joined #haiku
HaikuUser has joined #haiku
HaikuUser has quit []
<Begasus> closing down here
<Begasus> cu peeps!
Begasus has quit [Quit: Vision[]: i've been blurred!]
DKnoto has quit [Ping timeout: 480 seconds]
nipos has left #haiku [Error from remote client]
nipos has joined #haiku
DKnoto has joined #haiku
jmairboeck has quit [Quit: Konversation terminated!]
HaikuUser has joined #haiku
HaikuUser has quit []
yann64 has joined #haiku
bjorkintosh has quit [Quit: "Every day, computers are making people easier to use." David Temkin]
HaikuUser has joined #haiku
HaikuUser has quit []
<Halian> o/
Anarchos has quit [Quit: Vision[]: i've been blurred!]
Anarchos has joined #haiku
TMM has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
TMM has joined #haiku
Anarchos has quit [Quit: Vision[]: i've been blurred!]
yann64 has quit [Quit: yann64]
bjorkintosh has joined #haiku
HaikuUser has joined #haiku
<HaikuUser> hi
<erysdren> hi
HaikuUser has quit [Quit: Vision[]: i've been blurred!]
Chai-T-Rex has joined #haiku
ChaiTRex has quit [Ping timeout: 480 seconds]
B2IA has quit [Remote host closed the connection]
B2IA has joined #haiku
Coldfirex has quit [Remote host closed the connection]
HaikuUser has joined #haiku
marzzbar has joined #haiku
Coldfirex has joined #haiku
erysdren has quit [Quit: Konversation terminated!]
HaikuUser has quit [Quit: Vision[]: i've been blurred!]
diver has joined #haiku