Re: [Fedora-livecd-list] Failed to create LiveCD
by Adam M. Dutko
"It should work on FC3 or later (the pilgrim tools for OLPC that this is
based on is running on RHEL4 which is a downstream of FC3) but I haven't
tested on anything but FC6 and Rawhide."
Correct. It should work. I'm glad I'm potentially indirectly helping
with OLPC with this debug session... :-) (That is of course if I'm not
reaching a hardware limit or overlooking something very simple.) I'm in the
middle of running the tests I mentioned earlier and should have results
before 10 EST -- I think.
"The response from kernel people to a _loop device_ experiencing I/O errors
was: "cute"."
Isn't it?
"They suggested your system is either OOM or you're running of disk space /
disk quota. Is this the case?"
A quick sample...
[amd59c@laptop livecd-tools]$ free
total used free shared buffers cached
Mem: 742252 730672 11580 0 67924 336684
-/+ buffers/cache: 326064 416188
Swap: 1534196 300 1533896
[amd59c@laptop livecd-tools]$ free
total used free shared buffers cached
Mem: 742252 730920 11332 0 67940 336748
-/+ buffers/cache: 326232 416020
Swap: 1534196 300 1533896
[amd59c@laptop livecd-tools]$ free
total used free shared buffers cached
Mem: 742252 730920 11332 0 67940 336812
-/+ buffers/cache: 326168 416084
Swap: 1534196 300 1533896
[amd59c@laptop livecd-tools]$ free
total used free shared buffers cached
Mem: 742252 731044 11208 0 67940 336868
-/+ buffers/cache: 326236 416016
Swap: 1534196 300 1533896
[amd59c@laptop livecd-tools]$ free
total used free shared buffers cached
Mem: 742252 731044 11208 0 67944 336932
-/+ buffers/cache: 326168 416084
Swap: 1534196 300 1533896
[amd59c@laptop livecd-tools]$ free
total used free shared buffers cached
Mem: 742252 730096 12156 0 62700 338788
-/+ buffers/cache: 328608 413644
Swap: 1534196 300 1533896
[amd59c@laptop livecd-tools]$ free
total used free shared buffers cached
Mem: 742252 730220 12032 0 62700 338820
-/+ buffers/cache: 328700 413552
Swap: 1534196 300 1533896
[amd59c@laptop livecd-tools]$
I seem to be hovering around 11-12M free. I have a total of 756MB
physical ram but some is shared with the graphics card. Here is a quick
rundown of diskspace:
[amd59c@laptop livecd-tools]$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VG_00-LV_000
961M 185M 727M 21% /
/dev/hda1 99M 9.7M 84M 11% /boot
tmpfs 363M 0 363M 0% /dev/shm
/dev/mapper/VG_00-LV_001
1.9G 555M 1.3G 31% /home
/dev/mapper/VG_00-LV_006
3.8G 210M 3.4G 6% /opt
/dev/mapper/VG_00-LV_007
5.7G 289M 5.1G 6% /sw
/dev/mapper/VG_00-LV_008
3.8G 72M 3.6G 2% /swdata/sys
/dev/mapper/VG_00-LV_009
2.9G 1.6G 1.2G 59% /swpkg/sys
/dev/mapper/VG_00-LV_002
961M 28M 884M 4% /tmp
/dev/mapper/VG_00-LV_004
1.9G 591M 1.3G 33% /var
/dev/mapper/VG_00-LV_003
6.8G 6.0G 460M 94% /usr
/dev/mapper/VG_00-LV_005
3.8G 212M 3.4G 6% /usr/local
/dev/loop0 3.0G 72M 2.9G 3%
/var/tmp/livecd-creator/build-tmpIG3wWz/install_root
/dev 363M 168K 363M 1%
/var/tmp/livecd-creator/build-tmpIG3wWz/install_root/dev
/var/tmp/livecd-creator/build-tmpIG3wWz/yum-cache
1.9G 591M 1.3G 33%
/var/tmp/livecd-creator/build-tmpIG3wWz/install_root/var/cache/yum
Yes /usr is high, but not to worry...I'm not building from there
because the "scratch" is mounted under /var/tmp ... Unless there is
something weird boing on???
I don't have quotas implemented on this system.
"Note that the files backing the loop devices are sparse files so the
creation of them works even when you don't have enough free space. The
reason for sparse files is that we don't have to spend time writing 4GB of
zero's to a file."
Yup. You did a good job on design.
-Adam
17 years, 3 months
Failed to create LiveCD
by Adam M. Dutko
I've tried several times to do the following...
livecd-creator --repo=c6,
http://download.fedora.redhat.com/pub/fedora/linux/core/6/i386/os/--repo=...,
http://download.fedora.redhat.com/pub/fedora/linux/core/updates/6/i386/--...,
http://people.redhat.com/davidz/livecd/i386/ --repo=e6,
http://download.fedora.redhat.com/pub/fedora/linux/extras/6/i386/--packag...
--fslabel=Fedora-6-Zod-LiveCD
but I keep getting the following error. I've deleted and rebuilt my
database, and I have plenty of filesystem space, and memory on the build
system, so I'm not sure what's going wrong...
rpmdb: PANIC: fatal region error detected; run recovery
error: db4 error(-30977) from db->close: DB_RUNRECOVERY: Fatal error, run
database recovery
rpmdb: PANIC: fatal region error detected; run recovery
error: db4 error(-30977) from db->close: DB_RUNRECOVERY: Fatal error, run
database recovery
rpmdb: PANIC: fatal region error detected; run recovery
error: db4 error(-30977) from db->close: DB_RUNRECOVERY: Fatal error, run
database recovery
rpmdb: PANIC: fatal region error detected; run recovery
error: db4 error(-30977) from dbenv->close: DB_RUNRECOVERY: Fatal error, run
database recovery
rpmdb: PANIC: fatal region error detected; run recovery
error: db4 error(-30977) from db->close: DB_RUNRECOVERY: Fatal error, run
database recovery
rpmdb: PANIC: fatal region error detected; run recovery
error: db4 error(-30977) from dbenv->close: DB_RUNRECOVERY: Fatal error, run
database recovery
Error installing packages
Error during installation...
Any help or advice is appreciated.
-Adam
17 years, 3 months
Potential Code Reorganization
by Adam M. Dutko
First off, I'd like to say "Thank you!" to David for the wonderful code
base. :-) This morning I started reading through the code for the
livecd-creator component and I think it might be beneficial to insert a
check into the main routine to check the users system for essential tools
(toolsets) before continuing with the build process. I suggest this be done
because my first build failed because I did not have squashfs-tools
installed and hence, did not have the mksquashfs program to complete the
build.
Maybe it can be something as easy as:
if ( open('/sbin/mksquashfs', 'r') ):
print "Squash-tools installed, continuing with build..."
else:
print "Please install the 'squash-tools' rpm using yum then try again."
quit
This idea could be expanded to test for all necessary tools needed to build
the iso and should be performed "up-front" before they can proceed. If a
user is missing one (or more) then we can tell them which rpm to install
using yum to fix the problem. If they are missing none, we can move onto
the build routine. This way, installation support questions might be
minimized on the mailing list. Just a thought. Let me know if this is
something that should be pursued and I'll submit a patch. Thanks.
-Adam
17 years, 3 months
Re: [Fedora-livecd-list] Potential Code Reorganization
by Adam M. Dutko
Good to know. I compiled the livecd-tools package from source, and didn't
install the rpm, so that would be why. :-) Quick, related question... Do
we simply post patch code to fedora-livecd(a)redhat.com in response to the
comments (read as needs/desires) contained in the source, and in response to
the feature requests on the wiki? Or do we first coordinate what we'd like
to write, then submit it to fedora-livecd(a)redhat.com for
approval/inspection? Thanks.
17 years, 3 months
Re: [Fedora-livecd-list] Failed to create LiveCD
by Adam M. Dutko
Thomas,
I tried the basic cd described in the readme, and got to a boot error
when the kernel tried to mount /proc. I was able to spin one when I
included --package=policycoreutils, but then it dropped me to a basic shell
when it encountered the following chunk of code in mayflower:
exec /sbin/run-init -c ./dev/console /sysroot \$init \$initargs
echo "---------------------------------"
echo "WARNING: Error running run-init!"
echo "---------------------------------"
echo
echo "Dropping to a shell. Good luck!"
echo
bash
Like the error states, I don't believe I included a package (or packages)
related to system initialization in the basic livecd. Because of the above
errors, I moved onto the full livecd creation script, which then led me to
the error I posted a little while ago... My next move will be to create a
local yum repo and spin one from that repo. Have you had similar problems?
or heard of anything like what I've encountered?
-Adam
17 years, 3 months
wireless and liveCD
by tony
I have been reading the list but not working on my liveCD because my
machine died. One issue that I have with Fedora is the impossibility of
using ndiswrapper to load Windows drivers for unsupported WiFi chipsets.
I have a very nice $2 on ebay Linksys WUSB11v.4 adaptor that caused me
much jumping though very large hoops to get working because of the 4K
stack issue:
http://ndiswrapper.sourceforge.net/mediawiki/index.php/Fedora
I followed the instructions there to download a precompiled Fedora 6 kernel
It appears to be pretty much impossible to build a liveCD that uses a
wireless connection which is a shame because many of the aDSL bundles
available now have a WiFi enabled box.
Cheers
Tony
17 years, 3 months
(no subject)
by Ahm ed
Quote-
Hi Ahmed
Before Compilation, In Temporary build change line LANG="en_US.UTF-8 "
in file "/etc/sysconfig/i18n" for default language. After changing it
during build process it will take the language change in that line as
default.
Regards
Jassy
-End Quote
Thank you Jassy!
17 years, 3 months
Boot error
by Vnpenguin
Hi all,
Using David's package, I'm trying to create myself a livecd with
/etc/livecd/10-fedora-livecd-base.conf like config. I obtain iso file,
ok, but when trying to boot it with qemu, I see:
...
root (cd)
Filesystem type is iso9660, using whole disk
kernel /boot/vmlinuz ro quiet root=CDLABEL=LiveCD-20061227
rootfstype=iso9660 livecd
[Linux-bzImage, setup=0x1e00, size=0x1b997f]
initrd /boot/livecd-initramfs.img
[Linux-initrd @ 0xc522000, 0x2cd149 bytes]
Uncompressing Linux... Ok, boot the kernel.
PCI: PIIX3: Enabling Passive Release on 0000:00:01.0
mount: unknown filesystem type 'squashfs'
Bug in initramfs /init detected. Fropping to a shell. Good luck!
bash: no job control in this shell
bash-3.1#
I use FC6's latest packages. Don't known how to fix this.
Any help will be appreciated.
TIA && Happy New Year !
--
http://vnoss.org
17 years, 3 months
Re: [Fedora-livecd-list] no boot for live CD
by William Estrada
> Message: 2 Date: Mon, 1 Jan 2007 19:55:13 +0100 From: Vnpenguin <vnpenguin(a)vnoss.org> Subject: Re: [Fedora-livecd-list] no boot for live CD To: fedora-livecd-list(a)redhat.com Message-ID: <bdd64e1c0701011055o56531478r4172fe7fe08c436b(a)mail.gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed On 1/1/07, William Estrada <MrUmunhum(a)popdial.com> wrote:
>
>>> Hi gang,
>>>
>>> Just downloaded FC-6-i386-livecd-1.iso and burned it with Xcdroast. Tried to boot on my laptop
>>> and all I get is a grub prompt.
>>>
>>> Did I do something wrong?? What is the right way to burn the CD??
>
>
> In announce message of David, there is a line:
>
> SHA1SUM: 8771d21af1974492424438cbe42f1bae0161ea96 FC-6-i386-livecd-1.iso
>
> Have you checked SHA1SUM downloaded iso before writing cd ?
> Just run "sha1sum FC-6-i386-livecd-1.iso" and compare the output
> string with one above.
>
sha1sum FC-6-i386-livecd-1.iso
db62c5969bc457a60e4a4f41a8eee6f9a44bfa8f FC-6-i386-livecd-1.iso
I will try and download it again!
--
Thanks for your time.
William Estrada
Email : MrUmunhum at popdial dot com
Resume : www.Mt-Umunhum-Wireless.net/resume/william_estrada.html
HTTP : www.Mt-Umunhum-Wireless.net
17 years, 3 months
localizations
by Ahm ed
{sorry if this question is redundant in any way}
Can anyone tell me how to set a particular localization as the default
one for the live-cd? I think I know how to add the localization to the
live-cd, I just don't know how to make it the DEFAULT language.
17 years, 3 months