Re: [debian-sparc] Re: Image too large to fit into destination with 2.6.0-test9
Hello, On Wed, 26 Nov 2003, Peter Keel wrote: * on the Tue, Nov 25, 2003 at 06:44:23AM -0800, David S. Miller wrote: On Tue, 25 Nov 2003 15:34:58 +0100 Thomas Habets [EMAIL PROTECTED] wrote: I thought that was what mattered, but is it fixable? 3MB is not enough for everybody. I'd say it's hardly enough for anybody actually. It's more than enough, it's enough to fit the build that results from using arch/sparc64/defconfig which includes all onboard stock devices Sun ever put into an UltraSPARC system. Ha! I turned off sound, parallel, framebuffer, the CD-Rom and all related filesystems, all network-filesystems and really everything I don't need, even things I'd need, like ipsec and ipv6. And I get 3.9MB with that, 4.8MB with all I'd like to have. But there's LVM and Raid and iptables in there. And ext3. And it's of course not enough to just have the stock devices in there, you need filesystems and other things as well. Strange. On my Ultra1, I have FB compiled in (Creator3D), parallel, SCSI with logging, all RAID LVM, a lot of networking options (iptables, IPIP, GRE, netlink, fwmark, IPV6, QOS, Net scheduler, ...), PPP, PPPOE, ext2/3, FAT/VFAT/UMSDOS, NFS client, module support, and my kernel is only 3.4 MB, and boots perfectly. Once gzipped, it is 1.4MB large. The boot firmware only provides a few MEG of space with which we can unpack things. Uh-uh.. And this of course gets worse with 64bit, and the 32bit-wide instructions won't help either? So in fact, I'm like struggling with some (640kb or around) memory-limit of lilo in the old times? Only that this isn't the magical bill-gates-says-640k-is-enough barrier but something else (the magical david-s-miller-says-3mb- is-enough-barrier?? ;)))? Is it the firmware which does this, or is this a hardware-barrier (like IC too small)? David Miller is not the author of the SUN firmware. This limit is imposed by the OBP. -- Erwann ABALEA [EMAIL PROTECTED] - RSA PGP Key ID: 0x2D0EABD5 - C'est pas avec la censure que tu vas censurer les censeurs. -+- JL in GNU : Las, censeurs pour l'échafaud -+-
Re: Image too large to fit into destination with 2.6.0-test9
On Tue, 25 Nov 2003 15:34:58 +0100 Thomas Habets [EMAIL PROTECTED] wrote: I thought that was what mattered, but is it fixable? 3MB is not enough for everybody. I'd say it's hardly enough for anybody actually. It's more than enough, it's enough to fit the build that results from using arch/sparc64/defconfig which includes all onboard stock devices Sun ever put into an UltraSPARC system. Is it SILO or the kernel that needs to be fixed? The boot firmware only provides a few MEG of space with which we can unpack things. You guys are building way WAAAY too much crap statically into your kernels, use modules and be happy.
Re: Image too large to fit into destination with 2.6.0-test9
Is it SILO or the kernel that needs to be fixed? Is it like the zImage/bzImage issue of where in memory the kernel is placed, and if so, can it be made to load elsewhere? There's nothing to fix. This limitation comes from the OBP firmware. I've been building kernels just fine for a long time, and not hit this limit recently. So long as you use the arch/sparc{,64}/boot/image file, and use modules, you shouldn't either. The kernel supports modules for a reason. -- Debian - http://www.debian.org/ Linux 1394 - http://www.linux1394.org/ Subversion - http://subversion.tigris.org/ WatchGuard - http://www.watchguard.com/
Re: Image too large to fit into destination with 2.6.0-test9
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wednesday 19 November 2003 16:59, Ben Collins wrote: Unstripped arch/sparc/boot/image: 2.9M Nov 19 01:57 /boot/vmlinux-2.6.0-test9 1.2M Nov 19 01:58 /boot/vmlinuz-2.6.0-test 2.9M should be perfectly fine to boot. I can't imagine SILO rejecting that as too big. I can, since it did. Maybe debian woody has an old version for silo? - - typedef struct me_s { char name[] = { Thomas Habets }; char email[] = { [EMAIL PROTECTED] }; char kernel[]= { Linux 2.4 }; char *pgpKey[] = { http://www.habets.pp.se/pubkey.txt; }; char pgp[] = { A8A3 D1DD 4AE0 8467 7FDE 0945 286A E90A AD48 E854 }; char coolcmd[] = { echo '. ./_. ./_'_;. ./_ }; } me_t; -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.3 (GNU/Linux) iD8DBQE/u5vRKGrpCq1I6FQRAlNEAKD69R5HNu7CiTWtn1ev5FmjobofWgCfZLWc EocO3pBaY5GLRKDFkxSsGB4= =T3bf -END PGP SIGNATURE-
Re: Image too large to fit into destination with 2.6.0-test9
On Wed, Nov 19, 2003 at 05:35:21PM +0100, Thomas Habets wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wednesday 19 November 2003 16:59, Ben Collins wrote: Unstripped arch/sparc/boot/image: 2.9M Nov 19 01:57 /boot/vmlinux-2.6.0-test9 1.2M Nov 19 01:58 /boot/vmlinuz-2.6.0-test 2.9M should be perfectly fine to boot. I can't imagine SILO rejecting that as too big. I can, since it did. Maybe debian woody has an old version for silo? It shouldn't matter, but you can always try using the unstable version. -- Debian - http://www.debian.org/ Linux 1394 - http://www.linux1394.org/ Subversion - http://subversion.tigris.org/ WatchGuard - http://www.watchguard.com/
Re[2]: Image too large to fit into destination with 2.6.0-test9
On 19/11/2003 at 17.35 Thomas Habets wrote: 2.9M should be perfectly fine to boot. I can't imagine SILO rejecting that as too big. I can, since it did. Happened to me, too. It starts complaining at about 2 megabytes. SILO is the Unstable package, but it didn't help. Bye Antonello P.s.: Thanks for the advice on mounting ext3 volumes from debian/sparc to debian/x86. Using advanced partition selection, it works like a breeze. My data is now safe ;).
Image too large to fit into destination with 2.6.0-test9
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I'm sure you know from the subject what this is about. Yes, everything that can be a module is a module, and only things I need are compiled in. Still I get the above message. I've tried booting: vmlinux gzip vmlinux gzip -9 vmlinux arch/sparc/image gzip arch/sparc/image gzip -9 arch/sparc/image strip -R .comment -R .note vmlinux -o vmlinux.stripped How am I supposed to boot the kernel? Should I torture silo? - - typedef struct me_s { char name[] = { Thomas Habets }; char email[] = { [EMAIL PROTECTED] }; char kernel[]= { Linux 2.4 }; char *pgpKey[] = { http://www.habets.pp.se/pubkey.txt; }; char pgp[] = { A8A3 D1DD 4AE0 8467 7FDE 0945 286A E90A AD48 E854 }; char coolcmd[] = { echo '. ./_. ./_'_;. ./_ }; } me_t; -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.3 (GNU/Linux) iD8DBQE/ukbkKGrpCq1I6FQRAir3AKCFIttxGhFRAVmy9b88Lke102pO0QCg167s K/cQzlR9J+Vp+ZKdd/5Nso8= =f5Hm -END PGP SIGNATURE-
Re: Image too large to fit into destination with 2.6.0-test9
Thomas, Silo has gzip built in. You can just gzip the kernel image, and then just point silo at the .gz file, and it'll do all the rest for you. --Adam -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I'm sure you know from the subject what this is about. Yes, everything that can be a module is a module, and only things I need are compiled in. Still I get the above message. I've tried booting: vmlinux gzip vmlinux gzip -9 vmlinux arch/sparc/image gzip arch/sparc/image gzip -9 arch/sparc/image strip -R .comment -R .note vmlinux -o vmlinux.stripped How am I supposed to boot the kernel? Should I torture silo? - - typedef struct me_s { char name[] = { Thomas Habets }; char email[] = { [EMAIL PROTECTED] }; char kernel[]= { Linux 2.4 }; char *pgpKey[] = { http://www.habets.pp.se/pubkey.txt; }; char pgp[] = { A8A3 D1DD 4AE0 8467 7FDE 0945 286A E90A AD48 E854 }; char coolcmd[] = { echo '. ./_. ./_'_;. ./_ }; } me_t; -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.3 (GNU/Linux) iD8DBQE/ukbkKGrpCq1I6FQRAir3AKCFIttxGhFRAVmy9b88Lke102pO0QCg167s K/cQzlR9J+Vp+ZKdd/5Nso8= =f5Hm -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Image too large to fit into destination with 2.6.0-test9
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tuesday 18 November 2003 17:34, [EMAIL PROTECTED] wrote: Silo has gzip built in. You can just gzip the kernel image, and then just point silo at the .gz file, and it'll do all the rest for you. That's what I meant I tried with the gzip-lines below. Sorry for being unclear. I've tried booting: vmlinux gzip vmlinux gzip -9 vmlinux arch/sparc/image gzip arch/sparc/image gzip -9 arch/sparc/image strip -R .comment -R .note vmlinux -o vmlinux.stripped ... and the last one gzipped - - typedef struct me_s { char name[] = { Thomas Habets }; char email[] = { [EMAIL PROTECTED] }; char kernel[]= { Linux 2.4 }; char *pgpKey[] = { http://www.habets.pp.se/pubkey.txt; }; char pgp[] = { A8A3 D1DD 4AE0 8467 7FDE 0945 286A E90A AD48 E854 }; char coolcmd[] = { echo '. ./_. ./_'_;. ./_ }; } me_t; -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.3 (GNU/Linux) iD8DBQE/uk8DKGrpCq1I6FQRAgS0AJsEQEXO7crZI0xluXGQ9y9rDwvYPwCg5xTm Amod0rhCC4t1rf6ybv2TVn0= =ZfVt -END PGP SIGNATURE-
Re: Image too large to fit into destination with 2.6.0-test9
On Tue, Nov 18, 2003 at 05:55:31PM +0100, Thomas Habets wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tuesday 18 November 2003 17:34, [EMAIL PROTECTED] wrote: Silo has gzip built in. You can just gzip the kernel image, and then just point silo at the .gz file, and it'll do all the rest for you. That's what I meant I tried with the gzip-lines below. Sorry for being unclear. you must 'make image' first then use arch/sparc64/boot/image for silo. -solca
Re: Image too large to fit into destination with 2.6.0-test9
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tuesday 18 November 2003 18:10, Otto Solares wrote: you must 'make image' first then use arch/sparc64/boot/image for silo. You mean sparc, not sparc64? It's a sparcstation 4, not an ultrasparc. Like I said, I tried arch/sparc/boot/image. I tried it raw and I tried it gzipped, I've also tried it strippedgzipped, which got it down to 3.0M, 1.3M gzipped (gzip -9) So: cp arch/sparc/boot/image . strip -R .comment -R .note image -o image.stripped # i've tried w/o this gzip -9 image.stripped # I've tried w/o this cp image.stripped.gz /boot/vmlinuz-2.6.0-test9 I used make all, which accoring to make help includes make image - - typedef struct me_s { char name[] = { Thomas Habets }; char email[] = { [EMAIL PROTECTED] }; char kernel[]= { Linux 2.4 }; char *pgpKey[] = { http://www.habets.pp.se/pubkey.txt; }; char pgp[] = { A8A3 D1DD 4AE0 8467 7FDE 0945 286A E90A AD48 E854 }; char coolcmd[] = { echo '. ./_. ./_'_;. ./_ }; } me_t; -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.3 (GNU/Linux) iD8DBQE/umuXKGrpCq1I6FQRApJOAJ0c3CI3yQNRudjqxgHvFaIIoWxSgQCaApc0 yIZeuctnVcfilsWyxLHHQZc= =eHF4 -END PGP SIGNATURE-
Re: Image too large to fit into destination with 2.6.0-test9
On Tue, Nov 18, 2003 at 07:57:27PM +0100, Thomas Habets wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tuesday 18 November 2003 18:10, Otto Solares wrote: you must 'make image' first then use arch/sparc64/boot/image for silo. You mean sparc, not sparc64? It's a sparcstation 4, not an ultrasparc. Good, i have a ss4 too. Like I said, I tried arch/sparc/boot/image. I tried it raw and I tried it gzipped, I've also tried it strippedgzipped, which got it down to 3.0M, 1.3M gzipped (gzip -9) So: cp arch/sparc/boot/image . strip -R .comment -R .note image -o image.stripped # i've tried w/o this gzip -9 image.stripped # I've tried w/o this cp image.stripped.gz /boot/vmlinuz-2.6.0-test9 I used make all, which accoring to make help includes make image these are the steps i do to compile a 2.6 kernel on my ss4: cp arch/sparc/defconfig .config make oldconfig make make image make modules make modules_install cp arch/sparc/boot/image /boot/vmlinuz silo -U -f # not needed but anyway... :) The only problem i have with my ss4 and kernel 2.6 is the lack of keyboard and mouse, i have looked deeply in the sunzilog code and can't find a solution. -solca
Re: Image too large to fit into destination with 2.6.0-test9
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tuesday 18 November 2003 20:40, Otto Solares wrote: these are the steps i do to compile a 2.6 kernel on my ss4: ... cp arch/sparc/boot/image /boot/vmlinuz That doesn't work for me. Maybe I'm using too many features. But since I removed all but the needed ones, and put as much as possible in modules, if it won't run with this config then it's useless to me. And I really want a nice working IPsec :-( silo -U -f # not needed but anyway... :) I'm assuming here that this won't have a chance of fixing it? (it's a drag to reboot the box just to try this, since it's in use, and has some screens that need manual starting (no, not IRC :P)). The only problem i have with my ss4 and kernel 2.6 is the lack of keyboard and mouse, Oh, good to know. Not that I need it right now, but still good to know. - - typedef struct me_s { char name[] = { Thomas Habets }; char email[] = { [EMAIL PROTECTED] }; char kernel[]= { Linux 2.4 }; char *pgpKey[] = { http://www.habets.pp.se/pubkey.txt; }; char pgp[] = { A8A3 D1DD 4AE0 8467 7FDE 0945 286A E90A AD48 E854 }; char coolcmd[] = { echo '. ./_. ./_'_;. ./_ }; } me_t; -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.3 (GNU/Linux) iD8DBQE/uoRuKGrpCq1I6FQRAifDAKD9dzTKeSH20F2rLEM4488aBVPxDQCgsL3w XSsUTd0kRA8/06h/sKm4vRs= =DFhY -END PGP SIGNATURE-
Re: Image too large to fit into destination with 2.6.0-test9
On Tue, Nov 18, 2003 at 07:57:27PM +0100, Thomas Habets wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tuesday 18 November 2003 18:10, Otto Solares wrote: you must 'make image' first then use arch/sparc64/boot/image for silo. You mean sparc, not sparc64? It's a sparcstation 4, not an ultrasparc. Like I said, I tried arch/sparc/boot/image. I tried it raw and I tried it gzipped, I've also tried it strippedgzipped, which got it down to 3.0M, 1.3M gzipped (gzip -9) Sounds to me like you just need to make some things modules. -- Debian - http://www.debian.org/ Linux 1394 - http://www.linux1394.org/ Subversion - http://subversion.tigris.org/ WatchGuard - http://www.watchguard.com/