You are not logged in.
As far as I can tell, that would require a lot of coding... so not going to happen anytime soon.
Offline
Has anybody managed to get this to boot (in a virtual machine or otherwise)?
Following the instructions for GRUB here just causes grub to freeze after entering 'boot'. I get the same problem trying to boot from a spare partition. Hurd doesn't support SATA drives, but it did boot up enough to complain about not being able to see the hard drive at one point…
I'll play around with it.
edit: If I recompile it for i586, Hurd boots into a kernel panic, but at least it does something.
Last edited by Barrucadu (2010-01-12 20:33:56)
Offline
Even it's difficult it's a very good work.
Community appreciates it a lot.
/me wants you to detele this account... please delete it.
Offline
Hi to everyone.
I can't help with code programming, but I'll await the first (and installable) release of this big project.
Thank you by your hard and excellent work.
Offline
Has anybody managed to get this to boot (in a virtual machine or otherwise)?
Following the instructions for GRUB here just causes grub to freeze after entering 'boot'. I get the same problem trying to boot from a spare partition. Hurd doesn't support SATA drives, but it did boot up enough to complain about not being able to see the hard drive at one point…
I'll play around with it.
edit: If I recompile it for i586, Hurd boots into a kernel panic, but at least it does something.
I get the same issue when using i686 in qemu. Will rebuild for i586 now and see...
Edit: i586 has a panic - http://allanmcrae.com/images/hurd-boot.png
Debian uses i486 so how about we continue walking down the low optimisation path and see if things get better? If not, time to go to hurd-bugs list.
Offline
I'm having issues with the git repos in the crosshurd.sh script shown below. Can I have some assistance?
I would like to get as far as you guys with the testing.
Offline
That looks like an old script. Try the newer ones from here: http://allanmcrae.com/hurd/
Offline
Offline
from outside the scripts directory run ".scripts/makeall" or otherwise use "source <file>" as this will keep the environmental variables set in those scripts.
Offline
Thanks Allan, that helped. It's compiling away.
I put the link for the newer crosshurd scripts on the wiki page to help.
EDIT: do I need to be in a chroot environment for this build?
Last edited by Acecero (2010-01-13 07:51:58)
Offline
EDIT: do I need to be in a chroot environment for this build?
No.
Here is my notes on how to create a qemu image:
# create image
qemu-img create -f raw hurd.img 1GB
# format the disk
losetup /dev/loop0 hurd.img
fdisk /dev/loop0
losetup -d /dev/loop0
# make filesystem
# partition should start at sector 63. Check with fdist -ul hurd.img
losetup -o 32256 /dev/loop0 hurd.img
mkfs.ext2 -b 4096 -I 128 -o hurd -F /dev/loop0
# mount image
mkdir $ROOT/mnt
mount -o loop /dev/loop0 $ROOT/mnt
#build hurd and copy it to image
./scripts/makeall
cp -a $ROOT/hurd/* $ROOT/mnt (as root)
IMPORTANT: un-mount before using in qemu
umount $ROOT/hurd
losetup -d /dev/loop0
#Download a grub boot image
# yuck..
wget http://www.dolda2000.com/~fredrik/grub.img
qemu -boot a -fda grub.img -hda hurd.img
The follow instructions here: http://www.debian.org/ports/hurd/hurd-install
Edit: the i486-pc-gnu image made using these scripts does not boot either...
Offline
Can someone try building gnumach with the configure flag "--enable-device-drivers=qemu" and see if that helps the qemu boot...
Offline
Ok, now rebuilding everything for i686-pc-gnu with that flag added to the gnumach configure line.
In a few hours we'll see if it was a waste of time or not
Offline
Mini fix: in the "makeall" script, you should fix ./scripts/<script>, since the scripts aren't in a subdir (./scripts/) but the in the same dir as "makeall" ( ./ )
Offline
Ooh, noticed a small bug in the makeall script: it doesn't make grub.
Offline
Still hangs on i686 with "--enable-device-drivers=qemu". Rebuilding for i586 now…
edit: Panic on i586 still.
Last edited by Barrucadu (2010-01-13 16:16:38)
Offline
Mini fix: in the "makeall" script, you should fix ./scripts/<script>, since the scripts aren't in a subdir (./scripts/) but the in the same dir as "makeall" ( ./ )
In the readme is says to "source scripts/makeall" in which case it does needs the ./scripts in front.... But then again, user friendlyness of these scripts is not an aim at the moment. Getting something that works is.
Ooh, noticed a small bug in the makeall script: it doesn't make grub.
Fixed.
Offline
Still hangs on i686 with "--enable-device-drivers=qemu". Rebuilding for i586 now…
edit: Panic on i586 still.
OK. I take it you get the same panic as in the screenshot I posted? We should follow up on the hurd-help mailing list
Offline
Barrucadu wrote:Still hangs on i686 with "--enable-device-drivers=qemu". Rebuilding for i586 now…
edit: Panic on i586 still.
OK. I take it you get the same panic as in the screenshot I posted? We should follow up on the hurd-help mailing list
Yes, same panic.
Offline
I'm surprised, there's already a german news article about the project: Arch Hurd in Arbeit(Arch Hurd in progress/development).
Offline
Allan wrote:Barrucadu wrote:Still hangs on i686 with "--enable-device-drivers=qemu". Rebuilding for i586 now…
edit: Panic on i586 still.
OK. I take it you get the same panic as in the screenshot I posted? We should follow up on the hurd-help mailing list
Yes, same panic.
I tried a build with the old toolchain (glibc-2.7 and gcc-4.1.2) and I end up with the same error.
Offline
@allan, is it loading mach that panics or the hurd?
not much experiencing with cross compiling, but ill try to get something going on a computer i ran gnu on.
P.S. how exactly does hurd handle init?
Last edited by kolbycrouch (2010-01-14 18:19:16)
Offline
I got a response on hurd-help:
http://lists.gnu.org/archive/html/help- … 00003.html
The comment about i686 does not sound so good...
Offline
Hey, I'm new to these forums but I would like to help. Will play around with it this weekend.
Offline
This is an interesting project, I try to follow it and i would like to participate in this, but I'm new in this class of stuff, how can i help?
Offline