Hi,

I'm testing bering-uclibc 2.2 beta 4

The new leaf.cfg is really great !
But ....

I tried to load the modules for ide-cdrom support ( cdrom.o , ide-*.o,
isofs...) from the config floppy
( to be able to use the standard initrd.lrp)
( I was testing a kernel that crashed with the modules in initrd-ide.lrp )

So
Here is my leaf.cfg
-----
# This file is parsed as a shell script
# Kernel command line parameters are available as KCMD_<variable>
# ie: KCMD_LRP contains the LRP= portion of the kernel command line
# NOTE: For kernel command line settings that do not include an equals
# sign (ie: rw or similar), the variable is set to itself, allowing
# for easy testing (ie: KCMD_rw=rw).

# LRP and PKGPATH variables now support whitespace (space, tab, newline)
# as well as commas for seperators.

# Uncomment for more verbose execution.
VERBOSE=1
# Other variables you might want to set in this file include:
# LRP  Packages to load
# PKGPATH Device(s) to load packages from
# syst_size Size of root ramdisk
# tmp_size Size of /tmp ramdisk
# log_size Size of /var/log ramdisk

# Example:
#LRP="$KCMD_LRP rsync"
#LRP="root hdsupp libm iptables keyboard p9100 upnp config etc local modules
dnsmasq ppp pppoe dropbear weblet shorwall ulogd ezipupd squid-2"
LRP="root wireless wireutil libm ulogd iptables keyboard config etc local
modules uhotplug dnsmasq ppp pppoe weblet shorwall"
PKGPATH="/dev/fd0u1440:msdos,/dev/cdrom:iso9660"
syst_size=32M
log_size=4M
tmp_size=4M
 insmod $MNT/cdrom.o
 insmod $MNT/ide-cor.o
 insmod $MNT/ide-cd.o
 insmod $MNT/ide-dsk.o
 insmod $MNT/ide-det.o
 insmod $MNT/isofs.o
 insmod $MNT/vfat.o

------
but it didn't worked ;-(

panic after linuxrc
It seems that the /dev/cdrom computation done in /var/lib/lrpkg/root.blk.mk
is done too early ( before leaf.cfg parsing)
the packages cannot be loaded from /dev/cdrom

After discussion with Eric Spakman, it seems that the /dev/cdrom computation
could be moved to  root.dev.mk
that's executed after leaf.cfg parsing

Charles ?? any clever idea ???


Kind regards,
Etienne Charlier





-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com

_______________________________________________
leaf-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-devel

Reply via email to