--
You received this message because you are subscribed to the Google Groups "Alt-F" group.
To post to this group, send email to al...@googlegroups.com.
To unsubscribe from this group, send email to alt-f+un...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/alt-f?hl=en.
Excelent!
Have you read the HowToFixOrCustomizeFirmware wiki entry?
http://code.google.com/p/alt-f/wiki/HowToFixOrCustomizeFirmware
aufs might be a pain! There is au aufs.sh utility to handle the most common
operations.
...
> The package does not use the alt-f build tools because the ipkg build
> scripts
> didn't handle some of the file types in the debian chroot
> image properly.
You mean the mkpkg.sh script? Can you elaborate, please?
Thanks.
...
> Since, My current alt-f tree
> required a good number of changes to get these packages built. I'd be
> happy to try and clean them up a bit (hopefully eliminating most of
> the changes) to include upstream. However, I would certainly
> understand if Joao doesn't feel they should be included in the tree
> since the aren't designed for a flashable distro.
I appreciate your efforts, thanks.
Please send your diff from the current tree, no need to clean it up. I will
give it a glimpse and ask for the cleanup if merging makes sense.
Not all changes/submissions has to be for the base firmware, Alt-F also has
disk-installable packages.
You will find the configuration file in the .config-pkgs file at the root at
the tree, just move .config-pkgs to .config and do a make ... menuconfig. I
often create a new build root for packages only.
I downloaded your first announced packages, but the huge size discouraged me.
The src package had almost nothing, if I remember correctly.
Is it possible to download the chroot binary from a well know debian site,
using the pre/postinstall package script?
I explain: I had in the past thinking in providing meta-packages, without
almost no content. The pre or postinstall script would do the download of the
real package from the package feed and install it.
An untested example to of postinstall script from an hypothetical Alt-F
package named subversion-1.5.2-1.ipkg:
wget http://www.inreto.de/dns323/fun-plug/0.5/packages/subversion-1.5.2-1.tgz
\
-o tmp/subversion-1.5.2-1.tgz
funpkg -i tmp/subversion-1.5.2-1.tgz
-------------------------------------------------------------------------------------------------------
A related question for you, which seems to be an experienced debian person:
You might also read my experiments with Squeeze:
http://forum.dsmg600.info/viewtopic.php?pid=38452#p38452
The relevant part:
> I kexec a recent (spliced) netboot.img from a running Alt-F kernel, no
> flashing involved. Once booted, the netboot kernel worked at 1000 but not
> at 100mbps (*) -- I continued the installation at 1gbps. Near the
> installation end, the installer flashed a new kernel (2.6.32-23) and
> performed a reboot. After reboot 2.6.32-23 worked at both speeds.
> So I kexec a Alt-F kernel (built without CONFIG_MARVELL_PHY) from within
> squeeze, and it worked also at both speeds. Then I flashed the new Alt-F
> kernel, and after a reboot is works at both speeds.
>
> As a side effect of all this, I now have squeeze installed on a disk, and I
> can kexec it from within Alt-F! Nice. I now have debian as an Alt-F
> "package" smile
>
> Does any debian user knows how can one disable the flash installation step
> of the installer? That would allow me to automated the installation of
> debian only on disk, and allow users to run it from within Alt-F without
> extra flashing.
The last paragraph is the key one: do you know how can one avoid the final
debian flashing?
> I downloaded your first announced packages, but the huge size discouraged me.
I could probably build a smaller package if I remove things like docs and man pages. I didn't because I figured some people would want them.
> The src package had almost nothing, if I remember correctly.
That's correct it doesn't include the chroot tree. Just the scripts and configs to build the .ipk
> Is it possible to download the chroot binary from a well know debian site,
> using the pre/postinstall package script?
Not that I can think of, the file contains a base Debian squeeze root filesystem that I cross compiled using the debian tools. As far as I know there aren't images like that on the debian servers just the debbootstrap scripts to generate them.
Further stuff is installed from the normal Debian repositories though.
> I explain: I had in the past thinking in providing meta-packages, without
> almost no content. The pre or postinstall script would do the download of the
> real package from the package feed and install it.
> An untested example to of postinstall script from an hypothetical Alt-F
> package named subversion-1.5.2-1.ipkg:
The debian-iscsi package is essentially that, the preinst script does the apt-get in the chroot environment of the necessary packages and installs /etc/init.d/debian.iscsi start script and several .cgi scripts in /usr/www/cgi-bin for the web interface. So the whole package is really nothing but scripts.
It's really easy to build a package like this for stuff that has a web interface. I have a fairly generic start script that calls the start script in the chroot and a cgi template that runs the web interface in an iframe. I got sabnzbdplus running this way this morning.
I need to automate the build process though.
> -------------------------------------------------------------------------------------------------------
> A related question for you, which seems to be an experienced debian person:
>
> You might also read my experiments with Squeeze:
> http://forum.dsmg600.info/viewtopic.php?pid=38452#p38452
I'll have to take a look if I get more time. I was already wondering how hard it would be to get the alt-f fun-plug to use the kernel from the debian chroot, since if that worked I wouldn't have to compile and build alt-f specific kernel modules for things like the device mapper and drbd.
I find it odd that you were noticing network issues with the various kernel versions since during my iSCSI testing it was pretty obvious the network was the bottleneck (hdparm -t /dev/sda when run from a shell on the dns-323 gives me 37MB/s, if I export an iSCSI lun from that disk and run hdparm -t on it I see about 15MB/s, this is to a host connected via a cat-6 cable directly to the DNS-323 for the test, so it appears there is either a driver or hardware issue with the Nic causing the poor performance)
> I'll have to take a look if I get more time. I was already wondering how
> hard it would be to get the alt-f fun-plug to use the kernel from the
> debian chroot,
I don't see any reason why you couldn't do that. Have you tried?
As a matter of fact I don't understand your motivation on using Alt-F to
chroot debian...
> since if that worked I wouldn't have to compile and build
> alt-f specific kernel modules for things like the device mapper and drbd.
As I told earlier, I intend to make a kernel-modules disk-installable package.
Just post those you need. Although I can't promise when I will do it.
> I find it odd that you were noticing network issues with the various kernel
> versions since during my iSCSI testing it was pretty obvious the network
> was the bottleneck (hdparm -t /dev/sda when run from a shell on the
> dns-323 gives me 37MB/s, if I export an iSCSI lun from that disk and run
> hdparm -t on it I see about 15MB/s, this is to a host connected via a
> cat-6 cable directly to the DNS-323 for the test, so it appears there is
> either a driver or hardware issue with the Nic causing the poor
> performance)
I noticed a degraded network transfer speed (sustained) since earlier Alt-F
releases. Don't know why, and Alt-F really needs tuning in some aspects.
Since the appearance of multi-cores/GHz/GB PCs, performance tuning is becoming
a lost art :-)
For iSCSI you might benefit from using a greater MTU, at least the size of a
page. Never used, speculating.
I use to compare the DNS-323 Soc performance to an old P3@500MHz I had.
That is the reasons why I think that the cpu will not be able to handle the
many software layers needed by some protocols.
I remember setting up raid-0 on the old P3 and see no performance improvement
over using a single standard disk.
The following ad-hoc tests shows that there is some room to play with, but not
too much:
http://groups.google.com/group/alt-f/browse_frm/thread/6165b89e775f6ead#