Am Mittwoch, 23. Juni 2010 20:59:37 schrieb Andrew:
> 23.06.2010 21:41, KP Kirchdoerfer пишет:
> > Am Sonntag, 13. Juni 2010 00:19:42 schrieb Andrew:
> >> After rebuild all looks OK. Image is working.
> >>
> >> It'll be enough good to leave initramfs 'as is', that can consume up to
> >> half of physical memory, or we'll use switch_root  (which is currently
> >> buggy - it doesn't umount /proc&  /sys from old root fs; so even I don't
> >> shure that it actually cleans filesystem after switching) or pivot_root
> >> + some clean-up for creating  root tmpfs with limited size? Is it
> >> actually needed?
> >>
> >> In few days, when I'll get free time, I'll try to enable devtmpfs
> >> instead of manual creation of device files, and look what it actually
> >> does, and how successfully it'll replace device creation scripts. It
> >> isn't critical milestone for beta release, but IMHO will be gladly seen
> >> in stable release, enhanced by busybox's mdev and some other very useful
> >> features.
> >
> > Andrew;
> >
> > I've made a fresh rebuild from cvs and installed on my router.
> >
> > To package initd.lrp I had to remove the line
> >                         #include<files>
> > from buildtool.cfg cause thatis missing.
> > Following that I've been avble to build an initrd.lrp
> >
> > Starting the new version results in the error:
> >
> > LINUXRC: Bering - Initrd - 4.0.0 Rev 8 uClibc 0.9.30.3
> > modprobe: module 'isofs' not found
> > modprobe: module 'vfat' not found
> >
> > What am I missing?
> > kp
>
> Strange. 'files' is generated by buildtool.mk from 'mod', which is also
> generated by script from input filelist and kernel's modules.dep
> Can you give me log of initrd building (actually - part of execution
> buildtool.mk 'build' part)?

There are a some errors which may explain the pb:

make: Gehe in Verzeichnis '/opt/buildtool26/source/initrd'
touch ./.configured
sort: invalid option -- V
„sort --help“ gibt weitere Informationen.
sort: invalid option -- V
„sort --help“ gibt weitere Informationen.
mkdir -p /opt/buildtool26/build/config
mkdir -p /opt/buildtool26/build/config/var/lib/lrpkg
mkdir -p /opt/buildtool26/build/config/boot/etc
BT_STAGING_DIR=/opt/buildtool26/staging BT_KERNEL_RELEASE= \
                    sh /opt/buildtool26/tools/getdep.sh "ata_.*" ahci ehci-hcd 
uhci-hcd \
                    ohci-hcd usb-storage sd_mod sr_mod isofs vfat floppy >mod
cat: /opt/buildtool26/staging/lib/modules//modules.dep: No such file or 
directory
cat: /opt/buildtool26/staging/lib/modules//modules.dep: No such file or 
directory
cat: /opt/buildtool26/staging/lib/modules//modules.dep: No such file or 
directory
cat: /opt/buildtool26/staging/lib/modules//modules.dep: No such file or 
directory
cat: /opt/buildtool26/staging/lib/modules//modules.dep: No such file or 
directory
cat: /opt/buildtool26/staging/lib/modules//modules.dep: No such file or 
directory
cat: /opt/buildtool26/staging/lib/modules//modules.dep: No such file or 
directory
cat: /opt/buildtool26/staging/lib/modules//modules.dep: No such file or 
directory
cat: /opt/buildtool26/staging/lib/modules//modules.dep: No such file or 
directory
cat: /opt/buildtool26/staging/lib/modules//modules.dep: No such file or 
directory
cat: /opt/buildtool26/staging/lib/modules//modules.dep: No such file or 
directory
#cat mod|sed 's/[a-z]*\/[a-z_/-]*\///g; s/\.ko//g; 
s/ /\n/g'>/opt/buildtool26/build/config/boot/etc/modules
echo -e "isofs\nvfat">/opt/buildtool26/build/config/boot/etc/modules
rm -f files
(BT_KERNEL_RELEASE=; for i in `cat mod`; do echo -e "<File>\n\tSource\t= 
lib/modules/$BT_KERNEL_RELEASE/$i\n\t\
        Filename\t= lib/modules/$(echo $i|sed 's/[a-z]*\/[a-z_/-]*\///g')\n\t\
        Type\t= binary\n\tType\t= module\n\tPermissions\t= 
644\n</File>">>files; 
done)
cp -a README /opt/buildtool26/build/config/boot/etc     
cp -a root.blk.mk /opt/buildtool26/build/config/var/lib/lrpkg   
cp -a root.dev.mk /opt/buildtool26/build/config/var/lib/lrpkg
cp -a root.linuxrc /opt/buildtool26/build/config/var/lib/lrpkg
cp -a /opt/buildtool26/build/config/* /opt/buildtool26/staging
touch ./.build
make: Verlasse Verzeichnis '/opt/buildtool26/source/initrd'


kp

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo

_______________________________________________
leaf-devel mailing list
leaf-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-devel

Reply via email to