been running parts of pedigree on linux with valgrind
kwolf
That sounds really useful
Just recompiled userspace programs for Linux?
That would be another advantage of using POSIX
miselin
yeah, currently recompiling userspace programs on linux
running the gui using an SDL shim
kwolf
Nice
I think the last time I ran Pedigree it didn't have a working GUI yet
miselin
just have to ignore the libsdl leaks on linux ;)
kwolf
heh
miselin
yeah, the gui is a huge work in progress still, but running on linux is speeding up my development
kwolf
I'd guess so
miselin
it's kinda cheating, but oh well :)
kwolf
I don't think so
As long as it ends up running on Pedigree, anything is allowed
Occasionally I've been doing the same. Our ext2 driver only started to work reliably when we switched to developing it and running test cases on Linux.
miselin
right
kwolf
Lately I've been trying to get tyndur to work reasonably well on an old laptop. Unfortunately there is no Linux shortcut for real hardware. :-)
miselin
the tooling is substantially better on not-$youros :)
yeah that's true
my biggest problem with real hardware so far has been usb
kwolf
Meanwhile I can boot that laptop from a USB stick and even use the network
AHCI CD-ROM and sound are still missing/not working
And the "just works" mode of networking is missing as well ;-)
miselin
:)
kwolf
What USB controllers and devices do you (or did you try to?) support?
miselin
uhci/ohci/ehci controllers, all tested IIRC
tested on real hw that is
and devices is usb HID, mass storage, and a particular usb nic chipset (dm9601) because i had one
kwolf
So pretty much everything that you could need
miselin
it's entirely possible to use pedigree with usb input devices and have the root partition on a usb drive
it's just that i need to fix bugs so the experience improves :)
kwolf
With mass storage "experience improves" translates as "it doesn't eat your filesystem"? ;-)
miselin
nah, it's okay with the filesystem, but the system is still a bit shaky sometimes
it's getting better, but it's not as stable as i'd like
kwolf
I know that feeling
Though I think Pedigree has always been more stable than tyndur
miselin
pedigree likes using memory though, and when it leaks it slowly gets closer to taking down the system :)
kwolf
You need to run your kernel in valgrind :-)
miselin
that would be nice, and i have thought about how to do that :)
it'd require a 'linux' target where the kernel runs as a process. problem is, that never lets drivers get checked
but it could definitely test the userspace / libc / kernel interaction, with valgrind and gdb to help out
kwolf
This linux target would just be another architecture?
miselin
right
kwolf
That should work, but it sounds like a lot of work
miselin
it most definitely is a lot of work
this is probably why i haven't done it yet :)
i have some good ideas about how to do it, but haven't had the desire to really work on it too much
kwolf
I wonder if you could somehow attach that Linux process to a qemu for the hardware part
miselin
eg, 'disk' driver which is just a disk image, plenty of use of mmap, etc
kwolf
If you run qemu with the qtest machine, i.e. no real guest, it could work
travis-ci joined the channel
travis-ci
miselin/pedigree/develop (b0cdd11 - Matthew Iselin): The build is still failing.