You are not logged in.

#326 2010-03-16 12:17:16

Giselher
Member
From: Austria
Registered: 2010-02-02
Posts: 150
Website

Re: The Arch Hurd Project

melpo wrote:

Nice, I hope microperl will be enough for now, but perl shouldn't be that big of a problem and it is a definite must have.

On something unrelated, I believe only gnumach needs to be built for i586 everything else seems to work fine with march=i686 so I will be making the packages for i686 now. Now I was thinking what is the better choice for the arch value, 'i686' or something like 'i686-hurd'?

Also we should maybe start moving discussions to the archhurd mailing list, it would be more convinient than one large thread. I will post the arch value question on the list too, so if you have any suggestions answer there if possible smile

Building miniperl and perl works but it freezes sometimes and i have some half compiled files.
---
Sry, I will start a discussion in the archhurd mailing list about perl.

Last edited by Giselher (2010-03-16 12:18:27)

Offline

#327 2010-03-16 12:18:22

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

Re: The Arch Hurd Project

Building the kernel for a different architecture than the rest of the system sends big warning bells up for me...  But then again, it seem the reason why the i686 build did not boot was gnumach not initialising enough of the processor to use all of i686 instruction set early enough.  So maybe this is fine.  And i686 and i586 are not that different. 

I will respond to arch value on the list tongue

Offline

#328 2010-04-09 03:02:55

coolkaine
Member
From: Spain
Registered: 2010-02-03
Posts: 24
Website

Re: The Arch Hurd Project

apollokk wrote:

gcc-g++ possible problem?

checking for C compiler default output file name... configure: error: in `/mnt/data/hurd-project/build/cross-gcc-build':
configure: error: C compiler cannot create executables
See `config.log' for more details.
make: *** No rule to make target `all-gcc'.  Stop.
make: *** No rule to make target `all-target-libgcc'.  Stop.

Hi. I have the same problem here. Did you fixed it in some way? Or someone know something about this?
Many thanks.

Offline

#329 2010-04-09 03:08:18

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

Re: The Arch Hurd Project

Have a look at the Arch Hurd web site.  There are prebuilt packages that you can install into a qemu image and have a working toolchain.  Join the mailing list if you want more info/help.

Offline

#330 2010-04-09 10:48:45

coolkaine
Member
From: Spain
Registered: 2010-02-03
Posts: 24
Website

Re: The Arch Hurd Project

Allan wrote:

Have a look at the Arch Hurd web site.  There are prebuilt packages that you can install into a qemu image and have a working toolchain.  Join the mailing list if you want more info/help.

Ok Allan, I´ll do that cool

Offline

#331 2010-04-09 15:44:05

coolkaine
Member
From: Spain
Registered: 2010-02-03
Posts: 24
Website

Re: The Arch Hurd Project

Hi again. When I try to install with pacman some packages from the repository, e.g. hurd, I get the following error

luis ~/hurd  $  fakeroot pacman -Sy hurd --config /home/luis/hurd/etc/pacman.conf
:: Synchronizing package databases...
core is up to date
extra is up to date
warning: hurd-20100317-1 is up to date -- reinstalling
resolving dependencies...
looking for inter-conflicts...

Targets (1): hurd-20100317-1 

Total Download Size:    0.00 MB
Total Installed Size:   20.05 MB

Proceed with installation? [Y/n]
checking package integrity...
(1/1) checking for file conflicts                   [#################################################################################] 100%
(1/1) upgrading hurd                                [#################################################################################] 100%
error: could not change the root directory (Operation not permitted)
error: command failed to execute correctly


This error is normal at the moment, or I am doing something wrong with fakeroot?

Many thanks smile

Last edited by coolkaine (2010-04-09 15:45:07)

Offline

#332 2010-04-09 21:53:27

Giselher
Member
From: Austria
Registered: 2010-02-02
Posts: 150
Website

Re: The Arch Hurd Project

coolkaine wrote:

Hi again. When I try to install with pacman some packages from the repository, e.g. hurd, I get the following error

luis ~/hurd  $  fakeroot pacman -Sy hurd --config /home/luis/hurd/etc/pacman.conf
:: Synchronizing package databases...
core is up to date
extra is up to date
warning: hurd-20100317-1 is up to date -- reinstalling
resolving dependencies...
looking for inter-conflicts...

Targets (1): hurd-20100317-1 

Total Download Size:    0.00 MB
Total Installed Size:   20.05 MB

Proceed with installation? [Y/n]
checking package integrity...
(1/1) checking for file conflicts                   [#################################################################################] 100%
(1/1) upgrading hurd                                [#################################################################################] 100%
error: could not change the root directory (Operation not permitted)
error: command failed to execute correctly


This error is normal at the moment, or I am doing something wrong with fakeroot?

Many thanks smile

Do  you have write permission as user.

If no, chown $USER:users mounted-qemu-imge -vR

If yes, show me your pacman-hurd.conf.

EDIT:
The error is due to the install files, which want to acces your root system. Do NOT use sudo.

Last edited by Giselher (2010-04-09 21:55:21)

Offline

#333 2010-04-09 22:09:40

coolkaine
Member
From: Spain
Registered: 2010-02-03
Posts: 24
Website

Re: The Arch Hurd Project

Here is my custom pacman.conf

# GENERAL OPTIONS
#
[options]
# The following paths are commented out with their default values listed.
# If you wish to use different paths, uncomment and update the paths.
RootDir     = /home/luis/hurd/
DBPath      = /home/luis/hurd/var/lib/pacman/
CacheDir    = /home/luis/hurd/var/cache/pacman/pkg/
#LogFile     = /var/log/pacman.log
HoldPkg     = pacman glibc
# If upgrades are available for these packages they will be asked for first
SyncFirst   = pacman
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
#XferCommand = /usr/bin/curl %u > %o
#CleanMethod = KeepInstalled
..
..
[core]
# Add your preferred servers here, they will be used first
Include = /home/luis/hurd/pacman.d/mirrorlist

[extra]
# Add your preferred servers here, they will be used first
Include = /home/luis/hurd/pacman.d/mirrorlist

Giselher I am not use sudo, I just had used 'fakeroot pacman -Sy hurd --config /home/luis/hurd/pacman.conf' as a normal user. hmm

Last edited by coolkaine (2010-04-09 22:14:33)

Offline

#334 2010-04-09 22:20:59

Giselher
Member
From: Austria
Registered: 2010-02-02
Posts: 150
Website

Re: The Arch Hurd Project

The error message will appear every time you run pacman in linux with packages that have install files, so ignore them.
Once you have the essential packages you should run pacman in hurd to install packages.

But you could set LogFile = /home/luis/hurd/var/log/pacman.log

Offline

#335 2010-04-09 22:56:41

coolkaine
Member
From: Spain
Registered: 2010-02-03
Posts: 24
Website

Re: The Arch Hurd Project

Giselher wrote:

The error message will appear every time you run pacman in linux with packages that have install files, so ignore them.
Once you have the essential packages you should run pacman in hurd to install packages.

But you could set LogFile = /home/luis/hurd/var/log/pacman.log

Yes, only appear with packages that have install files smile.
Other question.

# Create the image
qemu-img create -f raw hurd.img 1GB

# Make and format partition
losetup /dev/loop0 hurd.img
fdisk /dev/loop0
losetup -d /dev/loop0
# 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 /mnt

# Then, build hurd and copy to /mnt

# Unmount
umount /mnt
losetup -d /dev/loop0

# Download a grub boot image
wget http://www.dolda2000.com/~fredrik/grub.img

# Note: If networking doesn't work make sure model=pcnet is set
qemu -boot a -fda grub.img -hda hurd.img -net nic,vlan=1,model=pcnet -net user,vlan=1

That means that I have to copy only the "hurd" package files to /mnt?
So when I run "qemu -boot a -fda grub.img -hda hurd.img", I can see grub, but if I do "find /boot/gnumach" I get an error.
Sorry tongue

Offline

#336 2010-04-09 23:30:11

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

Re: The Arch Hurd Project

coolkaine wrote:

That means that I have to copy only the "hurd" package files to /mnt?
So when I run "qemu -boot a -fda grub.img -hda hurd.img", I can see grub, but if I do "find /boot/gnumach" I get an error.

No, that comment is referring to if you're compiling stuff from the crosshurd scripts.

Offline

#337 2010-04-10 00:00:13

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

Re: The Arch Hurd Project

You can use the "--root" option for pacman and point it at your qemu image mount point then using sudo is fine....

Offline

#338 2010-04-10 02:45:18

coolkaine
Member
From: Spain
Registered: 2010-02-03
Posts: 24
Website

Re: The Arch Hurd Project

Hi. I think that I have some mistake on the menu.lst, because when I make "qemu -hda hurd.img", the screen goes freeze saying
"Booting from hard disk...
_"

I´d tried loading the grub.img but, I dont´t know how configure grub in this way. I mean, grub.img is not on hurd.img. tongue

Offline

#339 2010-04-10 02:47:44

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

Re: The Arch Hurd Project

You either need to download a grub image and boot from that (the Debian Hurd page has instructions) or...

cp lib/grub/i386-pc/* boot/grub

from within your mounted image.

Offline

#340 2010-05-04 08:59:38

xheyther
Member
Registered: 2009-10-18
Posts: 40

Re: The Arch Hurd Project

You've certainly already seen it, but just in case, arch hurd is evoked in this post on gnu.org : http://www.gnu.org/software/hurd/news/2010-04-30.html

Cheers !

Offline

#341 2010-05-05 20:22:05

Duologic
Member
From: Belgium
Registered: 2007-11-11
Posts: 249

Re: The Arch Hurd Project

I would like to run Arch Hurd on an old Pentium III to compile packages. Is this possible and where should I start?
If it becomes a success, I'd might join the Hurd!

Offline

#342 2010-05-05 20:36:24

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

Re: The Arch Hurd Project

You can install Arch Hurd with pacman, so an Archlinux LiveCD is all you need. It is possible to install using the current Arch Hurd livecd (see latest news), but it's not exactly an easy or smooth process, so I'd avoid that method until the installer is finished.

And, of course, your friendly Arch Hurd dev team are available on IRC in #archhurd on irc.freenode.net for any help smile

Offline

#343 2010-05-05 21:24:22

coolkaine
Member
From: Spain
Registered: 2010-02-03
Posts: 24
Website

Re: The Arch Hurd Project

Barrucadu wrote:

You can install Arch Hurd with pacman, so an Archlinux LiveCD is all you need. It is possible to install using the current Arch Hurd livecd (see latest news), but it's not exactly an easy or smooth process, so I'd avoid that method until the installer is finished.

And, of course, your friendly Arch Hurd dev team are available on IRC in #archhurd on irc.freenode.net for any help smile

Congratulations! All your job is simply awesome. Maybe this is the start of a great microkernel based distribution >D

Offline

#344 2010-05-06 00:27:14

Duologic
Member
From: Belgium
Registered: 2007-11-11
Posts: 249

Re: The Arch Hurd Project

I'm going to try it out on that PIII, after viewing the wiki page it seems feasible.

Offline

#345 2010-05-10 11:31:10

daedhel
Member
From: Québec, Canada
Registered: 2009-01-17
Posts: 40
Website

Re: The Arch Hurd Project

I would like to contribute, but my strenght is with web stuff, as I am a web consultant. Would you guys be interested in having your own bbs, just like archlinux.org at bbs.archhurd.org ? Or something similar, that I could help with ?

Regards

Offline

#346 2010-05-10 12:25:08

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

Re: The Arch Hurd Project

daedhel wrote:

I would like to contribute, but my strenght is with web stuff, as I am a web consultant.

That's mostly what I do, as that's also my strength. However, having a small web team to spread the work could be quite useful.

daedhel wrote:

Would you guys be interested in having your own bbs, just like archlinux.org at bbs.archhurd.org ? Or something similar, that I could help with ?

I'm planning to add a forum and an AUR (using the code of the Arch AUR, to make porting AUR helpers very easy) at some point in the future; I was going to work on the AUR this weekend but was a bit tired.

If you can think of anything else, that'd be a great help. And I'll think about a web team.

Offline

#347 2010-05-10 16:42:25

daedhel
Member
From: Québec, Canada
Registered: 2009-01-17
Posts: 40
Website

Re: The Arch Hurd Project

Barrucadu wrote:

That's mostly what I do, as that's also my strength. However, having a small web team to spread the work could be quite useful.


I'm planning to add a forum and an AUR (using the code of the Arch AUR, to make porting AUR helpers very easy) at some point in the future; I was going to work on the AUR this weekend but was a bit tired.

If you can think of anything else, that'd be a great help. And I'll think about a web team.

TheArch Hurd's AUR is a great idea! However, before officially implementing it, it could be a good thing to review the flaws of the original and correct them so we could use a better version from the beginning. This would allow newcomers to get used to the improved version from the start, and not have to learn to use two AURs.

I'd really be happy to contribute in a web team! Let me know what happens.

Regards

Offline

#348 2010-05-10 18:56:56

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

Re: The Arch Hurd Project

Ok, if you want to be in the brand-new web team, you're in smile
Start hanging around on the mailing lists and in IRC, and I'm sure we'll think of things that the website needs.

Offline

#349 2010-05-11 07:51:39

daedhel
Member
From: Québec, Canada
Registered: 2009-01-17
Posts: 40
Website

Re: The Arch Hurd Project

Alright! smile

Offline

#350 2010-06-30 15:20:05

schuay
Package Maintainer (PM)
From: Austria
Registered: 2008-08-19
Posts: 564

Re: The Arch Hurd Project

http://www.h-online.com/open/features/G … 30942.html

Grats, you're in the news (page 3)

Offline

Board footer

Powered by FluxBB