Jurij Smakov, le Sat 04 Feb 2012 12:16:25 +0000, a écrit :
> I've noticed that, yet again, sparc daily netboot image is too large
> to boot. Last time we mitigated the problem by removing the support
> for wireless networking. I'm going to poke around again to see what
> else can be get rid of, please let me know if you have any ideas.
AIUI, linux can now have support for uncompressing bzip2, lzma and lzo.
Trying them on amd64's initrd:
Doesn't it seem worthwhile to enable lzma support in the kernel to save
more than 2M here?
Samuel
--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20120205130911.GM4148@type.famille.thibault.fr">ht tp://lists.debian.org/20120205130911.GM4148@type.famille.thibault.fr
02-05-2012, 12:55 PM
Bastian Blank
Sparc netboot image is too large to boot (again)
On Sun, Feb 05, 2012 at 02:09:11PM +0100, Samuel Thibault wrote:
> AIUI, linux can now have support for uncompressing bzip2, lzma and lzo.
The amd64 image have support for gzip, bzip2, lzma and the xz variant.
Bastian
--
... bacteriological warfare ... hard to believe we were once foolish
enough to play around with that.
-- McCoy, "The Omega Glory", stardate unknown
--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20120205135549.GA2554@wavehammer.waldi.eu.org">htt p://lists.debian.org/20120205135549.GA2554@wavehammer.waldi.eu.org
02-05-2012, 01:11 PM
Samuel Thibault
Sparc netboot image is too large to boot (again)
Bastian Blank, le Sun 05 Feb 2012 14:55:49 +0100, a écrit :
> On Sun, Feb 05, 2012 at 02:09:11PM +0100, Samuel Thibault wrote:
> > AIUI, linux can now have support for uncompressing bzip2, lzma and lzo.
>
> CONFIG_RD_GZIP=y
> CONFIG_RD_BZIP2=y
> CONFIG_RD_LZMA=y
> CONFIG_RD_XZ=y
> CONFIG_RD_LZO=y
>
> The amd64 image have support for gzip, bzip2, lzma and the xz variant.
Ah, right, it's not explicitly set in the linux-2.6 configs, but
automatically enabled by Kconfig.
So, anything against using xz compression instead? (except that there
might be quite a few scripts to update from initrd.gz to initrd.xz...)
Samuel
--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20120205141148.GB4463@type.famille.thibault.fr">ht tp://lists.debian.org/20120205141148.GB4463@type.famille.thibault.fr
02-17-2012, 07:00 PM
Jurij Smakov
Sparc netboot image is too large to boot (again)
On Sun, Feb 05, 2012 at 03:11:48PM +0100, Samuel Thibault wrote:
> Bastian Blank, le Sun 05 Feb 2012 14:55:49 +0100, a écrit :
> > On Sun, Feb 05, 2012 at 02:09:11PM +0100, Samuel Thibault wrote:
> > > AIUI, linux can now have support for uncompressing bzip2, lzma and lzo.
> >
> > CONFIG_RD_GZIP=y
> > CONFIG_RD_BZIP2=y
> > CONFIG_RD_LZMA=y
> > CONFIG_RD_XZ=y
> > CONFIG_RD_LZO=y
> >
> > The amd64 image have support for gzip, bzip2, lzma and the xz variant.
>
> Ah, right, it's not explicitly set in the linux-2.6 configs, but
> automatically enabled by Kconfig.
>
> So, anything against using xz compression instead? (except that there
> might be quite a few scripts to update from initrd.gz to initrd.xz...)
Samuel, thanks a lot for all ideas. Using xz on the sparc's netboot
initrd image reduces its size dramatically:
-rw-r--r-- 1 jurij jurij 4341553 Feb 17 18:50 initrd.gz
-rw-r--r-- 1 jurij jurij 3083408 Feb 17 18:51 initrd.xz
Attached patch implements the switch. It's not particularly elegant,
but minimally intrusive, only affecting the building ot sparc's
netboot image. I would like to commit it some time next week, unless
anyone objects.
Best regards,
--
Jurij Smakov jurij@wooyd.org
Key: http://www.wooyd.org/pgpkey/ KeyID: C99E03CC
02-18-2012, 07:58 PM
Bastian Blank
Sparc netboot image is too large to boot (again)
On Fri, Feb 17, 2012 at 08:00:24PM +0000, Jurij Smakov wrote:
> Attached patch implements the switch. It's not particularly elegant,
> but minimally intrusive, only affecting the building ot sparc's
> netboot image. I would like to commit it some time next week, unless
> anyone objects.
I would do that for all architectures. There is no reason to use gzip on
any of them.
Bastian
--
"We have the right to survive!"
"Not by killing others."
-- Deela and Kirk, "Wink of An Eye", stardate 5710.5
--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20120218205825.GA25892@wavehammer.waldi.eu.org">ht tp://lists.debian.org/20120218205825.GA25892@wavehammer.waldi.eu.org
02-19-2012, 10:50 AM
Jurij Smakov
Sparc netboot image is too large to boot (again)
On Sat, Feb 18, 2012 at 09:58:25PM +0100, Bastian Blank wrote:
> On Fri, Feb 17, 2012 at 08:00:24PM +0000, Jurij Smakov wrote:
> > Attached patch implements the switch. It's not particularly elegant,
> > but minimally intrusive, only affecting the building ot sparc's
> > netboot image. I would like to commit it some time next week, unless
> > anyone objects.
>
> I would do that for all architectures. There is no reason to use gzip on
> any of them.
I wouldn't want to break the netboot images for other arches by
making changes which are not really required. Each architecture
probably has some considerations I'm not necessarily aware of, so I
would suggest to individual architecture porters to test xz
compression out, paving the way to making it the default.
Best regards,
--
Jurij Smakov jurij@wooyd.org
Key: http://www.wooyd.org/pgpkey/ KeyID: C99E03CC
--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20120219115009.GA3919@wooyd.org">http://lists.debian.org/20120219115009.GA3919@wooyd.org