From: Alexander K. <ak-...@cy...> - 2007-08-20 09:06:15
|
Hi all, I've been looking into Morphix to create a live CD for our open source PKI/trust center project OpenXPKI. For now, I've been trying to create the lightgui ISO as a start. I've used the following command: # isomaker -b ./basemod-2.6.17.xml -m ./lightgui.xml -r http://www.morphix.org/debian -p grub-gfxboot-iso-udeb -p morphix-cdrom-misc-udeb -p morphix-grub-menulist-udeb -p morphix-iso-grubtheme ./lightgui.iso (adapted from the documentation with a HEAD basemod-2.6.17.xml and lightgui.xml) But I get a lot of error messages and an ISO which does not boot completely as it seems to be missing quite a number of files. The output of the command is available at http://build0.cynops.de/lightgui.txt I'd be happy for any suggestions on how to proceed or how to further debug this problem ... Thanks in advance, Alex -- Dipl.-Math. Alexander Klink | IT-Security Engineer ak-...@cy... | working @ urn:oid:1.3.6.1.4.1.11417 |
From: Brendan S. <me...@ba...> - 2007-08-20 10:10:51
|
Hi Alex, On 20/08/07, Alexander Klink <ak-...@cy...> wrote: > The output of the command is available at http://build0.cynops.de/lightgui.txt I have had a quick look at build output. Looks like the base built ok, but the MainModule did not build. "Exec: /usr/bin/cdebootstrap sid /tmp/libmorphix-jtjIOr ftp://ftp.debian.org/debian E: Couldn't install system due to errors!" As the _cdeboostrap_ failed, there was no apt available in the chroot to complete the mainmodules build. Looking at the autobuilds logs:- http://www.morphix.org/autobuilds/mainmod/sid/ "Exec: /usr/sbin/debootstrap sid /tmp/libmorphix-dHCak6 ftp://127.0.0.1/debian" Have you got morphix-mmaker (0.4-41) or later installed. ? See:- http://morphix.svn.sourceforge.net/viewvc/morphix/trunk/mmaker/debian/changelog?view=markup http://morphix.svn.sourceforge.net/viewvc/morphix/trunk/mmaker/debian/changelog?view=log Also are you building on an etch, lenny or etch debain system ? Alex, Paul, - I am not sure if you need to have sid installed (and debootstrap) to build sid ? Regards, Brendan |
From: Alex de L. <al...@de...> - 2007-08-20 16:45:50
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Brendan Sleight wrote: > Also are you building on an etch, lenny or etch debain system ? > > Alex, Paul, - I am not sure if you need to have sid installed (and > debootstrap) to build sid ? I'd assume there are difficulties debootstrapping sid from within etch, as the packages required to debootstrap in sid tend to change every so often. Alex, the simplest way to figure out what is going wrong with the sid-debootstrap this is to run: `/usr/bin/cdebootstrap sid /tmp/libmorphix-something ftp://ftp.debian.org/debian` from within the VM. Upgrading to sid or using the etch suite in your lightgui template should solve this. cheers, Alex -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGycUlQeuQA5TF/UsRAityAJ4sNGDjNTOI10fYsfKusd5CIp2bfgCcDi2Z tpVeeJ7Xw6WkhoTgaWH0Vpw= =AoK+ -----END PGP SIGNATURE----- |
From: Alexander K. <ak-...@cy...> - 2007-08-20 10:35:00
|
Hi Predrag, On Mon, Aug 20, 2007 at 11:49:11AM +0200, Predrag Minic wrote: > What is your host kernel? debian:/home/klink/morphix# uname -a Linux debian 2.4.27-2-386 #1 Wed Aug 17 09:33:35 UTC 2005 i686 GNU/Linux > Can you boot into the morphing-morphix and > build the iso with the same command from there? Good idea, I'll try that next. Best regards, Alex -- Dipl.-Math. Alexander Klink | IT-Security Engineer ak-...@cy... | working @ urn:oid:1.3.6.1.4.1.11417 |
From: Alexander K. <ak-...@cy...> - 2007-08-20 10:38:25
|
Hi Brendan, thanks for the quick reply. On Mon, Aug 20, 2007 at 10:45:03AM +0100, Brendan Sleight wrote: > On 20/08/07, Alexander Klink <ak-...@cy...> wrote: > Have you got morphix-mmaker (0.4-41) or later installed. ? Yes, 0.4-42. > Also are you building on an etch, lenny or etch debain system ? It's a sarge system, could this be part of the problem? As it is a testing VM anyway, I can easily update it to (etch|lenny|sid) if it helps ... Best regards, Alex -- Dipl.-Math. Alexander Klink | IT-Security Engineer ak-...@cy... | working @ urn:oid:1.3.6.1.4.1.11417 |
From: Brendan S. <bm...@ba...> - 2007-08-20 17:40:58
|
Hi Alex K, Predrag, et al, Please reply direct to list. I find it confusing to follow a thread otherwise. ---------- Forwarded message ---------- From: Alexander Klink Date: 20-Aug-2007 11:38 Subject: Re: [Morphix-user] Problems with morphing (kernel too old, etc.) To: Brendan Sleight > > > Also are you building on an etch, lenny or etch debain system ? > It's a sarge system, could this be part of the problem? As it is a On 20/08/07, Alex de Landgraaf <al...@de...> wrote: > I'd assume there are difficulties debootstrapping sid from within etch, As the host system is _sarge_ - old stable and we are trying to build sid, I'd recommend trying to build in host etch or newer. For some reason sarge is trying to use cdebootstrap rather than debootstrap to build the mainmodule. Debootstrap can create a Debian base system from scratch, without requiring the availability of dpkg or apt. See log ( http://build0.cynops.de/lightgui.txt ):- "/usr/sbin/chroot: cannot run command `/usr/bin/apt-get': No such file or directory" However before upgrading is debootstrap installed ? Hope this helps, Brendan |
From: Alexander K. <ak-...@cy...> - 2007-08-21 15:34:28
|
Hi *, thanks for the help so far, I am getting a bit closer ... On Mon, Aug 20, 2007 at 12:34:44PM +0200, Alexander Klink wrote: > > Can you boot into the morphing-morphix and > > build the iso with the same command from there? > Good idea, I'll try that next. Been there, done that, did not work :-( I am getting something along the lines of ... cloop: Can't open device read-write * Overlaying using unionfs ... Registering unionfs 1.3 unionfs: debugging is not enabled unionfs: debugging is not enabled unionfs: debugging is not enabled Buffer I/O error on device cloop1, logical block 198059 Buffer I/O error on device cloop1, logical block 198060 Buffer I/O error on device cloop1, logical block 198061 Buffer I/O error on device cloop1, logical block 198062 Buffer I/O error on device cloop1, logical block 198063 Buffer I/O error on device cloop1, logical block 198064 Buffer I/O error on device cloop1, logical block 198065 Buffer I/O error on device cloop1, logical block 198066 Buffer I/O error on device cloop1, logical block 198059 Buffer I/O error on device cloop1, logical block 198060 chroot: cannot run command `cp': Input/output error chroot: cannot run command `loadkeys': No such file or directory chroot: cannot run command `useradd': Input/output error [...] when booting into the ISO (I/O errors on a CD _image_ - !?). The build log is at http://build0.cynops.de/lightgui_mm.log, but from what I can tell, it looks more or less correct. Any more ideas? Best regards, Alex -- Dipl.-Math. Alexander Klink | IT-Security Engineer ak-...@cy... | working @ urn:oid:1.3.6.1.4.1.11417 |
From: Predrag M. <mi...@gm...> - 2007-08-21 16:22:33
|
I have bumped into that, i thought it was maybe some my bad setup. Try downgrading your morphing tools (I'll try to see if I have any notes from back then). Iso was definitely not done well, but everything else was good, as I recall. I was able to get a good iso by taking the trees from /tmp and buidling the iso by hand. Best regards, Pedja On 8/21/07, Alexander Klink <ak-...@cy...> wrote: > Hi *, > > thanks for the help so far, I am getting a bit closer ... > > On Mon, Aug 20, 2007 at 12:34:44PM +0200, Alexander Klink wrote: > > > Can you boot into the morphing-morphix and > > > build the iso with the same command from there? > > Good idea, I'll try that next. > Been there, done that, did not work :-( > I am getting something along the lines of ... > > cloop: Can't open device read-write > * Overlaying using unionfs ... > Registering unionfs 1.3 > unionfs: debugging is not enabled > unionfs: debugging is not enabled > unionfs: debugging is not enabled > Buffer I/O error on device cloop1, logical block 198059 > Buffer I/O error on device cloop1, logical block 198060 > Buffer I/O error on device cloop1, logical block 198061 > Buffer I/O error on device cloop1, logical block 198062 > Buffer I/O error on device cloop1, logical block 198063 > Buffer I/O error on device cloop1, logical block 198064 > Buffer I/O error on device cloop1, logical block 198065 > Buffer I/O error on device cloop1, logical block 198066 > Buffer I/O error on device cloop1, logical block 198059 > Buffer I/O error on device cloop1, logical block 198060 > chroot: cannot run command `cp': Input/output error > chroot: cannot run command `loadkeys': No such file or directory > chroot: cannot run command `useradd': Input/output error > [...] > > when booting into the ISO (I/O errors on a CD _image_ - !?). > > The build log is at http://build0.cynops.de/lightgui_mm.log, but from > what I can tell, it looks more or less correct. > > Any more ideas? > > Best regards, > Alex > -- > Dipl.-Math. Alexander Klink | IT-Security Engineer > ak-...@cy... | working @ urn:oid:1.3.6.1.4.1.11417 > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Morphix-user mailing list > Mor...@li... > https://lists.sourceforge.net/lists/listinfo/morphix-user > |
From: Brendan S. <bm...@ba...> - 2007-08-21 19:51:04
|
Hi *, On 21/08/07, Alexander Klink wrote: > when booting into the ISO (I/O errors on a CD _image_ - !?). > > The build log is at http://build0.cynops.de/lightgui_mm.log, but from > what I can tell, it looks more or less correct. > This was actually much better and nearly a complete build. From the build log :- "Your module is available as /tmp/libmorphix-hn4D66/base/morphix" The base again built ok. The mainmodule build process started:- "Exec: /usr/sbin/debootstrap sid /tmp/libmorphix-Z3n5Zs ftp://ftp.debian.org/debian I: Retrieving Release I: Retrieving Packages I: Validating Packages" Howver you did not have enough disk space:- "E: You don't have enough free space in /var/cache/apt/archives/." > Any more ideas? Use a hd partition with more free space. Or use an etch VM. On 21/08/07, Predrag Minic wrote: > I have bumped into that, i thought it was maybe some my bad setup. Was this using MorphingMorphix ? If so was it was the partition that did not support file permissions. Did you get this message:- "Setting up Morphing Morphix This partition does support file permissions. We need to make a 2.5G file on the partition to be used as tmp file space." Feedback on MorphingMorphix is useful as I am trying to finish the next release. Hope this helps, Brendan |
From: Alexander K. <ak-...@cy...> - 2007-08-22 08:15:18
|
Hi Brendan, On Tue, Aug 21, 2007 at 08:50:58PM +0100, Brendan Sleight wrote: > Howver you did not have enough disk space:- > "E: You don't have enough free space in /var/cache/apt/archives/." Oh, thanks for the thorough reading, I must have missed that. > > Any more ideas? > Use a hd partition with more free space. Or use an etch VM. OK, I'll try again, probably tomrrow. Best regards, Alex -- Dipl.-Math. Alexander Klink | IT-Security Engineer ak-...@cy... | working @ urn:oid:1.3.6.1.4.1.11417 |