<Duggan>
Looking in TreeIterator::Traverse in BPlusTree.cpp... trying to figure out how to determine the type of node... am I even close to being in the right place?
frkzoid has quit [Ping timeout: 480 seconds]
OscarL has quit [Remote host closed the connection]
frkzoid has joined #haiku
frkazoid333 has joined #haiku
freakazoid332 has quit [Ping timeout: 480 seconds]
freakazoid332 has joined #haiku
LinuxUserHaiku has joined #haiku
frkzoid has quit [Ping timeout: 480 seconds]
frkzoid has joined #haiku
frkazoid333 has quit [Ping timeout: 480 seconds]
frkazoid333 has joined #haiku
<Duggan>
I ask because I've run across something that assumes dirent has d_type
freakazoid332 has quit [Ping timeout: 480 seconds]
<OscarL>
According to some stackoverflow answers (because otherwise I wouldn't even know what you're talking about :-P)... not all filesystems support that, and thus the code should fall back to using lstat().
<OscarL>
... in case of missing dirent missing d_type or being of an unknown value.
<augiedoggie>
there are a number of patches at haikuports relating to d_type
<Duggan>
OscarL, I saw the same stuff, just trying to see if I was to implement it, how to do it.... unfortunately the code I'm working with assumes it's present
<Duggan>
augiedoggie thanks, I'll take a look
frkzoid has joined #haiku
<Duggan>
OscarL oh lol I see...
<Duggan>
is depot.haiku-os.org no longer used?
<OscarL>
it works, in case you want to browse the available package via web, I guess.
<Duggan>
yeah, that's where I went first
<Duggan>
as far as changes go, that part is easy, trying to figure out how to populate the field with a value is the hard part hehe
<Duggan>
"that part" meaning adding the field and defines
<Duggan>
via one example I've seen, the constants are defined from the S_IF* constants in sys/stat.h, so that should keep compatibility with other sources I would think
freakazoid332 has quit [Ping timeout: 480 seconds]
<Duggan>
was in kernel_interface.cpp in bfs_read_dir() which calls GetNextEntry() which is an inline call to TreeIterator::Traverse .... somewhere in those is where I'll need to make changes
<Duggan>
OscarL it uses those constants, yes
* OscarL
understood some of those words :-P
<OscarL>
Regarding available packages: HaikuDepot or "> pkgman search <something>" also works. Which one is more convenient, depends... if you're "just browsing", or already know what you are looking for.
<Duggan>
so far I'm relying pretty heavily on TextSearch on the source tree lol
<OscarL>
You and me both! :-D
<OscarL>
I'm ultra rusty.
<Duggan>
dirent::readdir() calls _kern_read_dir() from there it goes into function pointer magic mode and comes out the other end in kernel_interface.cpp (at least for bfs, I imagine changes would have to be made to the other FS modules as well so as to not break things)
<Duggan>
I mean, technically, as long as dirent initializes d_type to be DT_UNKNOWN, if they don't touch it (and don't need to), no harm no foul
<Duggan>
thanks augiedoggie, I'll read up on it
<Duggan>
I don't know that it's a linux thing, as where I've run into it is in mesa... which is also used in the various Unices as I understand
<Duggan>
(specifically for shader caching, which can (somehow?) be disabled and might be an easier fix, but still...)
ablyss has joined #haiku
<Duggan>
I made a copy of the repo specifically for hacking on this, and I wouldn't feel bad just scrapping it, so it's not like it's a big deal (to me)
<botifico>
[haikuports/haikuports] Begasus f3c36a7 - gimp, revbump for dependencies (#7260)
<PulkoMandy>
Duggan, my understanding of d_type is that it is not necessarily filled. The idea is that some filesystems store the type in the parent directory, and some store it in the file/directory inode itself. In the latter case you have to call stat() to access that info. I think Linux clearly documents that, d_type is filled there only if the info is available at the parent directory level
<PulkoMandy>
so even on Linux, code shouldn't rely on d_type being always set, it will work on some filesystems but not others
smalltalkman has joined #haiku
jmairboeck has joined #haiku
LinuxUserHaiku has quit [Read error: No route to host]
<nekobot>
[haiku/haiku] 24ba2ee638e8 - Update translations from Pootle
<Begasus>
strange that gimp seems to install locale files in $dataDir/locale and $prefix/share/locale (build failure on buildmaster)
<Begasus>
mv $prefix/share/locale $dataDir (guess this won't work as $dataDir/locale is already there (I assume mv $prefix/share/locale/* $dataDir/locale would fix it?)
LinuxUserHaiku has quit [Quit: Vision[]: Will return later or busy]
<Begasus>
fine, python3.11 build is OK :)
Begasus_32 has quit [Quit: Vision[]: Gone to the dogs!]
Begasus_64 has joined #haiku
KapiX has joined #haiku
<Begasus>
bbl
tuaris has quit [Read error: Connection reset by peer]
mmu_man has joined #haiku
skunky3 has joined #haiku
HaikuUser has quit [Quit: Vision[]: i've been blurred!]
HaikuUser has joined #haiku
matt3 has joined #haiku
<klarre[m]>
Hi! Just installed Haiku, but when starting the computer it cant find a bootable device. Any ideas of how to debug this? My system is set to uefi. Could that be an issue maybe?
<BrunoSpr>
hello and welcome to Haiku! klarre[m] have you tried right click and mout a volume?
<klarre[m]>
Thanks! :)This is very early in the boot process. The computer itself cant find a bootable device. Might not be Haiku related, but other Linux distros works fine, so not sure where the problem lies.
<BrunoSpr>
Have you tried with an USB stick?
<klarre[m]>
Yes, I installed from a USB stick.
<BrunoSpr>
thenn you have to use drivesetup to partition and format
<klarre[m]>
I did that and used BeFS. Should I set anything else there? Will it install a boot menu automatically?
rennj has joined #haiku
<BrunoSpr>
not a dev but it does not create a boot menu automatically
<klarre[m]>
Ok. Where can i do that?
KapiX has quit [Quit: KapiX]
<BrunoSpr>
you have to use the bootmanager it was in Installer I think
<klarre[m]>
Ok. Will have a look again then. Thanks.
<BrunoSpr>
ok but be careful with it
<BrunoSpr>
It will show if your partition is found
<BrunoSpr>
DriveSetup will show you too if you correctly formated the partition
<Begasus>
np, that's why we have a team to checkup on PR's :)
<Begasus>
prepareInstalledDevelLibs libmd4c
<OscarL>
I'm *slowly* learning as I go... and theres SO much to learn... git, gerrit, github, python, C++, makefiles, jamfiles, haikuporter, bash.... My head is about to explode :-P
<Begasus>
You probably want to add the other library there also
<Begasus>
as there are 2 libraries involved now (didn't check that)
<Begasus>
hehe
Saijin_Naib[m] is now known as Saijin_Naib
<OscarL>
Regarding that md4c recipe... I'll do my best this afernoon, Begasus, after I do some more reading on Haikuporter's documentation (so I can say something more than just "I understood some of those words" :-P) Thanks again!
<OscarL>
I also spent some time documenting my learning progress with regards of updating .patchset files.
<OscarL>
WAY too many rewrites :-D
<Begasus>
hehe
<Begasus>
as always a "wip" :)
<OscarL>
If I keep refinining it... it may end up being actually a .py script tool :-D
<andreasdr[m]>
Good morning there!
<Begasus>
Moin andreasdr[m] !
<OscarL>
hello there andreasdr[m]!
<andreasdr[m]>
Good morning Begasus and OscarL
<andreasdr[m]>
Whats going on in Haiku-World?
<OscarL>
I applied, reverted, reaplied those python patches so many times, that I'm considering automating parts of it.
<andreasdr[m]>
Sounds good.
<OscarL>
Begasus: have you used patchutils tools for dealing with .patchset files?
<OscarL>
I found an "mbox_split.py" on gist.github.com, that I adapted for my needs. Works wonders splitting big .patchsets into individual "per-commit" files.
<Begasus>
nope OscarL I try to use the ones around, if not ... "hp name -b" (extract), make changes that I are working, then "hp name -e" (extract patchset)
<Begasus>
well, with the git commit applied :)
<OscarL>
and then you can use filterdiff and splitdiff from the patchutils packages to split/filter them further.
<Begasus>
I try to splitt patches where possible, so I can remove/add them where needed, without doing a full patch again
<OscarL>
I was trying to isolate the parts that didn't applied cleanly, use filterdiff to leave those out... apply the rest... and then use filterdiff again, but to only get the problematic ones.
<Begasus>
lol, shouldn't that be the other way around and you get the working ones? ;)
<OscarL>
I guess it will be better if I just put my latest "too long, didn't read" version of my guide up in some wiki.
<Begasus>
It helps when you are getting older ;)
<OscarL>
I use it both ways Begasus. I first expclude the bad parts, that leaves the good ones ready to be applied.
<Begasus>
ah fine then
<OscarL>
Then getting only the "bad" parts, so I can concentrate on less code :-D
<Begasus>
maybe create a package for it? ;)
<OscarL>
I might, lol! But I'm affraid I might be reinventing the wheel.
<Begasus>
;)
<OscarL>
I almost sure there's a better proceess just using git, or something.
<Begasus>
k, time to head over to the grandchildren
<OscarL>
enjoy them Begasus! Be Well!
<Begasus>
OscarL, how do you create a "new" patchset?
<OscarL>
hp -e package_name
<Begasus>
when files change here I use git to add a commit that haikuporter turns into the patchset
<OscarL>
to extract the commits from the working .git repo
<Begasus>
ah k, fine then ;)
<Begasus>
heading out, cu later!
<OscarL>
see you!
matt3 has left #haiku [#haiku]
<OscarL>
klarre[m]: if you're using uefi, BootManager wont be of any help (that's for BIOS/MBR systems).
<OscarL>
klarre[m]: Are you using the beta3 or a recently nightly image on that USB stick of yours?
<OscarL>
theres has been activity regarding EFI boot, including it on the latest .iso, and such.
<OscarL>
As I only have BIOS systems, won't be of much help. Let's see if I can find some links for you.
<PulkoMandy>
on EFI systems there is some manual installation to do at the moment
<botifico>
[haikuports/haikuports] threedeyes dda732e - Flameshot: bump version
floof58 has quit [Quit: floof58]
floof58 has joined #haiku
arti_ has quit []
arti has joined #haiku
<klarre[m]>
<PulkoMandy> "klarre, I think this guide..." <- This link solved it for me. Booting fine now. :)
<OscarL>
PulkoMandy: Thanks for the ponteirs/explanations regarding #17955. I'll try to see if I can progress further after your input.
rennj has quit [Ping timeout: 480 seconds]
rennj has joined #haiku
systwi has quit [Read error: Connection reset by peer]
systwi has joined #haiku
HaikuUser2 has joined #haiku
HaikuUser2 has quit []
rennj has quit [Ping timeout: 480 seconds]
bbjimmy has quit [Quit: Vision[]: i've been blurred!]
rennj has joined #haiku
bitigchi_2 has quit [Read error: Connection reset by peer]
rennj has quit [Ping timeout: 480 seconds]
matt3 has joined #haiku
matt3 has left #haiku [#haiku]
rennj has joined #haiku
<klarre[m]>
I have followed this https://www.haiku-os.org/docs/userguide/en/workshop-wlan.html but even though I have unzipped the drivers from the zip archive it seems like install-wifi-firmwares.sh still tries to fetch them online. Where is that script located so I can see what it does?
HaikuUser2 has joined #haiku
HaikuUser2 has quit []
<OscarL>
klarre[m]: you can use the "Find" (ALT+F, or CTRL+F on the desktop, depending on your keyboard settings).... it shows it is under: /boot/system/bin
<OscarL>
"> which install-wifi-firmware.sh" from a Terminal window works too.
<nephele>
easist way is probably cat $(command -v scriptname)
<OscarL>
PulkoMandy: Found it! There are two int32 member variables that are inialized in the "normal" constructor, but were left uninitialized in the SysInfoView(BArchive*) constructor.
<OscarL>
"> whence" works too :)
humdinger has joined #haiku
mmu_man has quit [Ping timeout: 480 seconds]
mmu_man has joined #haiku
<klarre[m]>
"failed to find a match for "cmd:b43_fwcutter": Name not found" when running install-wifi-firmwares.sh on a newly installed beta 3 without Internet, but with downloaded wifi firmwares as here https://www.haiku-os.org/docs/userguide/en/workshop-wlan.html Any ideas what might cause this? :/
<OscarL>
klarre[m]: use: "pkgman install b43_cutter" and see if that fixes it.
<OscarL>
*b43_fcutter", sorry.
<OscarL>
you can use "pkgman search something_here" to search for available packages.
<OscarL>
(I just did "pkgman search cutter" for example, an that shows that "Broadcom firmware cutter" package, uninstalled on my system, but available for install)
OrangeBomb has quit [Ping timeout: 480 seconds]
<klarre[m]>
Cannot be found. But I dont even have wired network (no cable).
<humdinger>
klarre[m]: you used the script to download the firmwares from another OS?
<klarre[m]>
Yes
<humdinger>
which OS?
<klarre[m]>
Arch Linux
<humdinger>
do you see the b43_fwcutter in the generted zip?
<Begasus>
cleaning the build first to do a clean check
<OscarL>
But not pressure, please! optimizations is a "nice to have" only.
<Begasus>
np, there is no pressure ;)
<OscarL>
great! Thank you!
<Begasus>
gimp didn't work out as I expected
<Begasus>
so might as well do a clean check on python3.11 (nothing else planned atm) :)
<Begasus>
OscarL, did you change something(s) in the patchset by now?
<OscarL>
I haven't touched it since that commit, no.
<Begasus>
Thanks, I'll give it a go once the build has been cleaned
<OscarL>
and thus, it's not ready for the general public :-D
<Begasus>
np, just want to check the --enable-optimizations :)
<OscarL>
I'm wary of the location it uses for installed libraries/packages and such... specially when using things like "pip install --user".
<Begasus>
if I hit the same issue as you did I can at least confirm :)
<OscarL>
excellent, Begasus.
matt3 has joined #haiku
<matt3>
hi Begasus
<matt3>
hi OscarL
<OscarL>
those issues I mention with pip... I think there might be present in older versions too, and that was part of what was having me confused about Python in Haiku some weeks ago :-)
* OscarL
now has coffee, nice.
<Begasus>
I never used pip to install python package, so if there is an issue it would be good if this would be resolved :)
<OscarL>
hope you're feeling well matt3!
<matt3>
love your enemy too OscarL ...
<OscarL>
I ran in all sort of weird issues, I still blame 90% of those on me... but there was something fishy :-D
<OscarL>
Nice to be in a relative good mood for a change here, matt3, not gonna lie :-D
<matt3>
giving love to everybody ... ;D
<Begasus>
OscarL, there have been mentions about pip install * , so I guess you are not that far of ;)
<matt3>
pip or pyp ?
<matt3>
python package => pyp
<Begasus>
OK, re-start build for python3.11 with optimizations enabled
<Begasus>
time for the dogs and then some food :)
<Begasus>
bbl
<OscarL>
later!
<matt3>
cu ...
<matt3>
me too : turning back to win ...
matt3 has left #haiku [#haiku]
matt3 has joined #haiku
matt3 has left #haiku [#haiku]
<Begasus>
OscarL, build restarted with optimizations, so far no issues on 32bit
bitigchi_2 has quit [Read error: Connection reset by peer]
rennj has quit [Ping timeout: 480 seconds]
rennj has joined #haiku
rennj has quit [Ping timeout: 480 seconds]
Begasus_32 has quit [Quit: Vision[]: Gone to the dogs!]
<Begasus>
build failure, will try to post some more information tomorrow OscarL
bitigchi_2 has joined #haiku
<Begasus>
heading down, g'night peeps!
Begasus has quit [Quit: Leaving]
freakazoid332 has joined #haiku
rennj has joined #haiku
<andreasdr[m]>
Good night!
frkzoid has quit [Ping timeout: 480 seconds]
floof58 is now known as Guest2648
floof58 has joined #haiku
Guest2648 has quit [Ping timeout: 480 seconds]
frkzoid has joined #haiku
bitigchi_2 has quit [Remote host closed the connection]
freakazoid332 has quit [Ping timeout: 480 seconds]
arti has quit [Remote host closed the connection]
arti has joined #haiku
jmairboeck has quit [Quit: Konversation terminated!]
vdamewood has joined #haiku
fjmorazan has quit []
fjmorazan has joined #haiku
DKnoto has quit [Ping timeout: 480 seconds]
<rennj>
Chris P. Bacon has logged in!
<rennj>
pkg search beta4?
<klarre[m]>
Managed to install wifi drivers using the install-wifi-firmwares.sh script. Unfortunately I cannot scan for networks. Should I enable the driver somehow? How do I know if my Broadcom BCM4352 chipset is supported?
<rennj>
android roaming ssh mosh vs temux+tmux+openssh
<rennj>
would it not be under haiku os networking preference
<rennj>
Here we see the wireless device, using the iprowifi4965 driver. From the pop-up menu you select the WLAN to connect to. After every WLAN name in the menu, you're shown a little icon representing the signal strength.
<rennj>
if the device doesnt show up under networking probably got issues
<klarre[m]>
The adapter isnt available in the list in network settings. :(
<rennj>
allows the isolation of PCI Express resources for manageability and performance reasons.
<rennj>
m.2 device is much more its pciE,usb.acpi
<rennj>
grr ahci
<rennj>
not acpi
<rennj>
heh power management
<rennj>
Buses exposed through the M.2 connector include PCI Express 3.0 and newer, Serial ATA (SATA) 3.0 and USB 3.0; all these standards are backward compatible.
<rennj>
my vmware all had access to the bluetooth/wifi combo card i had...bluetooth was on usb, and the wifi was on pciE
bitigchi_2 has quit [Ping timeout: 480 seconds]
vdamewood has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
OrangeBomb has joined #haiku
vezhlys has quit [Remote host closed the connection]
<rennj>
Chris P. Bacon has entered the channel
m199 has joined #haiku
gouchi has quit [Remote host closed the connection]
skunky3 has quit [Remote host closed the connection]