You are not logged in.

#76 2010-01-12 13:44:45

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,472
Website

Re: The Arch Hurd Project

As far as I can tell, that would require a lot of coding... so not going to happen anytime soon.

Offline

#77 2010-01-12 19:40:05

Barrucadu
Member
From: York, England
Registered: 2008-03-30
Posts: 1,158
Website

Re: The Arch Hurd Project

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

#78 2010-01-12 20:53:36

apollokk
Member
From: Please delete me!
Registered: 2009-03-23
Posts: 157
Website

Re: The Arch Hurd Project

Even it's difficult it's a very good work. smile

Community appreciates it a lot. big_smile


/me wants you to detele this account... please delete it.

Offline

#79 2010-01-12 21:39:02

Ravenman
Member
Registered: 2009-07-03
Posts: 236

Re: The Arch Hurd Project

Hi to everyone.

I can't help with code programming, but I'll await the first (and installable) release of this big project. smile

Thank you by your hard and excellent work. big_smile

Offline

#80 2010-01-13 02:31:58

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,472
Website

Re: The Arch Hurd Project

Barrucadu wrote:

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

#81 2010-01-13 04:37:21

Acecero
Member
Registered: 2008-06-21
Posts: 1,373

Re: The Arch Hurd Project

I'm having issues with the git repos in the crosshurd.sh script shown below. Can I have some assistance?

http://omploader.org/vMzhweQ

I would like to get as far as you guys with the testing.

Offline

#82 2010-01-13 05:34:53

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,472
Website

Re: The Arch Hurd Project

That looks like an old script.  Try the newer ones from here: http://allanmcrae.com/hurd/

Offline

#83 2010-01-13 06:21:30

Acecero
Member
Registered: 2008-06-21
Posts: 1,373

Re: The Arch Hurd Project

I downloaded the latest crosshurd-20100112, but I'm still running into problems.

I tried the makeall script and it returns me this.

I decided to do the manual way and got a 404 message from downloading binutils.

Am I missing something?

Offline

#84 2010-01-13 06:29:59

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,472
Website

Re: The Arch Hurd Project

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

#85 2010-01-13 06:58:52

Acecero
Member
Registered: 2008-06-21
Posts: 1,373

Re: The Arch Hurd Project

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

#86 2010-01-13 09:31:00

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,472
Website

Re: The Arch Hurd Project

Acecero wrote:

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

#87 2010-01-13 14:26:52

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,472
Website

Re: The Arch Hurd Project

Can someone try building gnumach with the configure flag "--enable-device-drivers=qemu" and see if that helps the qemu boot...

Offline

#88 2010-01-13 14:33:49

Barrucadu
Member
From: York, England
Registered: 2008-03-30
Posts: 1,158
Website

Re: The Arch Hurd Project

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 big_smile

Offline

#89 2010-01-13 14:35:03

flamelab
Member
From: Athens, Hellas (Greece)
Registered: 2007-12-26
Posts: 2,160

Re: The Arch Hurd Project

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

#90 2010-01-13 15:20:57

Barrucadu
Member
From: York, England
Registered: 2008-03-30
Posts: 1,158
Website

Re: The Arch Hurd Project

Ooh, noticed a small bug in the makeall script: it doesn't make grub.

Offline

#91 2010-01-13 15:26:16

Barrucadu
Member
From: York, England
Registered: 2008-03-30
Posts: 1,158
Website

Re: The Arch Hurd Project

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

#92 2010-01-13 23:12:54

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,472
Website

Re: The Arch Hurd Project

flamelab wrote:

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.

Barrucadu wrote:

Ooh, noticed a small bug in the makeall script: it doesn't make grub.

Fixed.

Offline

#93 2010-01-13 23:13:55

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,472
Website

Re: The Arch Hurd Project

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

Offline

#94 2010-01-13 23:28:24

Barrucadu
Member
From: York, England
Registered: 2008-03-30
Posts: 1,158
Website

Re: The Arch Hurd Project

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.

Offline

#95 2010-01-14 14:58:51

Atsutane
Package Maintainer (PM)
From: Germany
Registered: 2008-08-18
Posts: 96

Re: The Arch Hurd Project

I'm surprised, there's already a german news article about the project: Arch Hurd in Arbeit(Arch Hurd in progress/development).


[blog - mostly german] - [JabberID: atsutane 0x40 freethoughts 0x2E de] - [identi.ca]

Offline

#96 2010-01-14 15:12:15

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,472
Website

Re: The Arch Hurd Project

Barrucadu wrote:
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

#97 2010-01-14 18:17:00

kolbycrouch
Member
Registered: 2008-07-18
Posts: 218

Re: The Arch Hurd Project

@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

#98 2010-01-15 01:23:48

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,472
Website

Re: The Arch Hurd Project

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

#99 2010-01-15 02:47:33

chris200x9
Member
Registered: 2008-03-05
Posts: 30

Re: The Arch Hurd Project

Hey, I'm new to these forums but I would like to help. Will play around with it this weekend. smile

Offline

#100 2010-01-15 02:56:03

MiloCB04
Member
From: Chihuahua, Mexico
Registered: 2009-12-01
Posts: 4

Re: The Arch Hurd Project

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

Board footer

Powered by FluxBB