Re: New kernel 2.4.21 and Sparc
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Monday 16 June 2003 19:33, Kenneth Johansson wrote: On Mon, 2003-06-16 at 16:58, Elie De Brauwer wrote: I little quick response, the 2.4.21 package works perfectly on my Sun Blade 100, installed from the first time, loaded perfectly after reboot after following the threads the past few days i think it has to be said that the kernel package can actually work Can you create and use a swapfile ?? Since i never used a swapfile it tried to create and use one, but it seems that it fails, am I doing something wrong ? Or is there some other problem ? Kafka:~# dd if=/dev/zero of=/swapfile bs=1024 count=65536 65536+0 records in 65536+0 records out 67108864 bytes transferred in 3.052310 seconds (21986254 bytes/sec) Kafka:~# mkswap /swapfile Assuming pages of size 8192 (not 4096) Setting up swapspace version 1, size = 67166 kB Kafka:~# swapon /swapfile swapon: /swapfile: Invalid argument - -- Homepage: http://www.de-brauwer.be BSD is for Unix lover Linux is for windows haters, I run Linux -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE+7qTtpSQix3Sc+ZgRAgpyAJ0Qho7AOaF/7hJU4YcCvSD5mPP/YQCeLx5g rbJghc4RWIkOwM2WTOlHLdQ= =tyHy -END PGP SIGNATURE-
Re: New kernel 2.4.21 and Sparc
On Tue, 2003-06-17 at 07:19, Elie De Brauwer wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Monday 16 June 2003 19:33, Kenneth Johansson wrote: On Mon, 2003-06-16 at 16:58, Elie De Brauwer wrote: I little quick response, the 2.4.21 package works perfectly on my Sun Blade 100, installed from the first time, loaded perfectly after reboot after following the threads the past few days i think it has to be said that the kernel package can actually work Can you create and use a swapfile ?? Since i never used a swapfile it tried to create and use one, but it seems that it fails, am I doing something wrong ? No you are doing it right. Or is there some other problem ? Looks like it :(
Re: New kernel 2.4.21 and Sparc
Andreas Tille [EMAIL PROTECTED] wrote: personal problem is solved. This does not solve the problem that kernel-image-2.4.19-sun4u(from stable) kernel-image-2.4.21-sparc64 (from unstable) throw these errors and I really have no idea what might cause this trouble. Make sure you have modutils = 2.4.19. Those kernels are built with a relatively recent version (not in woody) of binutils which requires a new modutils. Fortunately those errors are harmless so you should just say no when the postinst asks you to abort. -- Debian GNU/Linux 3.0 is out! ( http://www.debian.org/ ) Email: Herbert Xu ~{PmVHI~} [EMAIL PROTECTED] Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Re: New kernel 2.4.21 and Sparc
On Tue, 17 Jun 2003, Herbert Xu wrote: kernel-image-2.4.19-sun4u(from stable) ^^ Make sure you have modutils = 2.4.19. Those kernels are built with a relatively recent version (not in woody) of binutils which requires a new modutils. Well this might be the reason. Sorry, I'm not able to check because the box in question went today into production. I use to compile kernels without modules (for security reasons) and as I said I was successful here. (By the way - would this mean I could remove modutils completely?) Fortunately those errors are harmless so you should just say no when the postinst asks you to abort. Hmm, this might work but I would regard it as RC bug because kernel-image-2.4.19-sun4u is not installable in stable. It should depend from a working modutils package and this package has to go into stable. I would like to file a bug report if noone instists. Kind regards Andreas.
Re: New kernel 2.4.21 and Sparc
On Fri, 13 Jun 2003, Ben Collins wrote: I bet you compiled it with gcc-3.3. Upgraded the gcc and gcc-3.2 packages, and rebuild, or just install the kernel-image-2.4.21-sparc64 package. I failed compiling a working kernel fpr my UltraSparc 10, running stable and egcs64. Thus I tried this hint, but it also fails with the messages printed in the end of this mail. It is the same as I reported in this list with subject Some issues with UltraSparc 10. Any hint Andreas. Reading Package Lists... Building Dependency Tree... Selected version 29 (Debian:unstable) for kernel-image-2.4.21-sparc64 Sorry, kernel-image-2.4.21-sparc64 is already the newest version. 0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1 packages not fully installed or removed. Need to get 0B of archives. After unpacking 0B will be used. Setting up kernel-image-2.4.21-sparc64 (29) ... depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/arch/sparc64/solaris/solaris.o depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/drivers/block/nbd.o depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/drivers/bluetooth/hci_uart.o depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/drivers/bluetooth/hci_usb.o depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/drivers/bluetooth/hci_vhci.o depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/drivers/char/drm/ffb.o depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/drivers/char/drm/tdfx.o depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/drivers/char/lp.o depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/drivers/fc4/fc4.o depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/drivers/fc4/soc.o depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/drivers/fc4/socal.o depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/drivers/ide/ide-floppy.o depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/drivers/ide/ide-tape.o depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/drivers/ide/pci/aec62xx.o depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/drivers/ide/pci/amd74xx.o depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/drivers/ide/pci/cs5530.o depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/drivers/ide/pci/cy82c693.o depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/drivers/ide/pci/hpt34x.o depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/drivers/ide/pci/hpt366.o depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/drivers/ide/pci/opti621.o depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/drivers/ide/pci/pdc202xx_new.o depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/drivers/ide/pci/pdc202xx_old.o depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/drivers/ide/pci/piix.o depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/drivers/ide/pci/rz1000.o depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/drivers/ide/pci/sc1200.o depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/drivers/ide/pci/serverworks.o depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/drivers/ide/pci/siimage.o depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/drivers/ide/pci/sis5513.o depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/drivers/ide/pci/slc90e66.o depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/drivers/ide/pci/trm290.o depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/drivers/ide/pci/via82cxxx.o depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/drivers/ide/raid/ataraid.o depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/drivers/ide/raid/hptraid.o depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/drivers/ide/raid/pdcraid.o depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/drivers/ieee1394/amdtp.o depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/drivers/ieee1394/cmp.o depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/drivers/ieee1394/dv1394.o depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/drivers/ieee1394/eth1394.o depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/drivers/ieee1394/ieee1394.o depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/drivers/ieee1394/ohci1394.o depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/drivers/ieee1394/raw1394.o depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/drivers/ieee1394/sbp2.o depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/drivers/ieee1394/video1394.o depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/drivers/input/joydev.o depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/drivers/md/linear.o depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/drivers/md/lvm-mod.o depmod: *** Unresolved symbols in /lib/modules/2.4.21/kernel/drivers/md/md.o depmod: ***
Re: New kernel 2.4.21 and Sparc
On Mon, Jun 16, 2003 at 03:42:12PM +0200, Andreas Tille wrote: On Fri, 13 Jun 2003, Ben Collins wrote: I bet you compiled it with gcc-3.3. Upgraded the gcc and gcc-3.2 packages, and rebuild, or just install the kernel-image-2.4.21-sparc64 package. I failed compiling a working kernel fpr my UltraSparc 10, running stable and egcs64. Thus I tried this hint, but it also fails with the messages printed in the end of this mail. It is the same as I reported in this list with subject Some issues with UltraSparc 10. Damn, what the hell have you built into this kernel? Do me a favor, build a kernel like this: cp arch/sparc64/defconfig .config make-kpkg ... That should work for you. When it does, change some options to suit your needs. -- Debian - http://www.debian.org/ Linux 1394 - http://www.linux1394.org/ Subversion - http://subversion.tigris.org/ Deqo - http://www.deqo.com/
Re: New kernel 2.4.21 and Sparc
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Monday 16 June 2003 15:42, Andreas Tille wrote: On Fri, 13 Jun 2003, Ben Collins wrote: I bet you compiled it with gcc-3.3. Upgraded the gcc and gcc-3.2 packages, and rebuild, or just install the kernel-image-2.4.21-sparc64 package. I failed compiling a working kernel fpr my UltraSparc 10, running stable and egcs64. Thus I tried this hint, but it also fails with the messages printed in the end of this mail. It is the same as I reported in this list with subject Some issues with UltraSparc 10. I little quick response, the 2.4.21 package works perfectly on my Sun Blade 100, installed from the first time, loaded perfectly after reboot after following the threads the past few days i think it has to be said that the kernel package can actually work greetings - -- Homepage: http://www.de-brauwer.be BSD is for Unix lover Linux is for windows haters, I run Linux -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE+7dsEpSQix3Sc+ZgRAqLIAKDU4rJR8zlNMXBsdS5q9Mh1jJvpNwCglEXU N6I7k0ecxhCSxFaztdmKVIY= =sKlW -END PGP SIGNATURE-
Re: New kernel 2.4.21 and Sparc
On Mon, 16 Jun 2003, Ben Collins wrote: I failed compiling a working kernel fpr my UltraSparc 10, running stable and egcs64. Thus I tried this hint, but it also fails with the messages printed in the end of this mail. It is the same as I reported in this list with subject Some issues with UltraSparc 10. Damn, what the hell have you built into this kernel? Not me - you builded this image which failed. I just obtained it from Debian-Mirror! Do me a favor, build a kernel like this: But now I'm able to get a working Kernel by compiling it myself using xour /boot/config* as template by stripping the unnecessary parts. I guess my own compile failed because of including the wrong IDE driver. So *my* personal problem is solved. This does not solve the problem that kernel-image-2.4.19-sun4u(from stable) kernel-image-2.4.21-sparc64 (from unstable) throw these errors and I really have no idea what might cause this trouble. Kind regards Andreas.
Re: New kernel 2.4.21 and Sparc
On Mon, 2003-06-16 at 16:58, Elie De Brauwer wrote: I little quick response, the 2.4.21 package works perfectly on my Sun Blade 100, installed from the first time, loaded perfectly after reboot after following the threads the past few days i think it has to be said that the kernel package can actually work Can you create and use a swapfile ??
Re: New kernel 2.4.21 and Sparc
On Fri, Jun 13, 2003 at 08:31:02PM -0400, Ben Collins wrote: This is very confusing. What version of gcc shoud I be using to compile kernels on the Sparc? You can uninstall gcc-3.3. You compiled with the right version. I suspect you did something wrong though. Try my kernel-image-2.4.21-sparc64 package. If that works, use the /boot/config-2.4.21 as a starting point for compiling your own. OK, your kernel-image-2.4.21-sparc64 worked just fine. I then went back to compiling my own kernel with similar configuration to the one you used for your kernel-image package but it still didn't work. In an act of desesperation I ran make mrproper, make menuconfig again (setting the same options I had before) and build my kernel again (make dep boot modules modules_install). This time the thing worked. So, I don't know exactly what was causing problems. Maybe it was something that make clean was not fixing. Whatever it was it's gone, and 2.4.21 seems to be a pretty good kernel on the Sparc. Thanks for the help. Cheers, Eloy.-
Re: New kernel 2.4.21 and Sparc
On Sat, 2003-06-14 at 15:13, Ben Collins wrote: On Sat, Jun 14, 2003 at 03:06:20PM +0200, Andreas Tille wrote: On Fri, 13 Jun 2003, Ben Collins wrote: suspect you did something wrong though. Try my kernel-image-2.4.21-sparc64 package. If that works, use the /boot/config-2.4.21 as a starting point for compiling your own. Any hint what would be the right compiler for a woody machine? I have better than a hint, egcs64 package. Typical I just upgraded my kernel and used gcc (GCC) 3.2.3 (Debian) The result is actually running now what problems could I expect ?? The original reason for upgrading was that I noticed that the old version I was running could not use swapfiles but that problem still exist. #mkswap .swapfile Assuming pages of size 8192 (not 4096) Setting up swapspace version 1, size = 8200 kB # swapon .swapfile swapon: .swapfile: Invalid argument In syslog I get this Swap area shorter than signature indicates
Re: New kernel 2.4.21 and Sparc
On Fri, 13 Jun 2003, Ben Collins wrote: suspect you did something wrong though. Try my kernel-image-2.4.21-sparc64 package. If that works, use the /boot/config-2.4.21 as a starting point for compiling your own. Any hint what would be the right compiler for a woody machine? Kind regards Andreas.
Re: New kernel 2.4.21 and Sparc
On Sat, Jun 14, 2003 at 03:06:20PM +0200, Andreas Tille wrote: On Fri, 13 Jun 2003, Ben Collins wrote: suspect you did something wrong though. Try my kernel-image-2.4.21-sparc64 package. If that works, use the /boot/config-2.4.21 as a starting point for compiling your own. Any hint what would be the right compiler for a woody machine? I have better than a hint, egcs64 package. -- Debian - http://www.debian.org/ Linux 1394 - http://www.linux1394.org/ Subversion - http://subversion.tigris.org/ Deqo - http://www.deqo.com/
Re: New kernel 2.4.21 and Sparc
I wish I had seen this thread before I rebooted into a 2.4.21 kernel compiled with gcc 3.3. The x86 kernel compiles fine with 3.3, I was under the assumption that sparc would be fine as well. Now I rebooted without access to the machine, and I can't bring it up into the backup kernel until Monday :( BTW, I see no kernel-image-2.4.21 for sparc, where are they located?
Re: New kernel 2.4.21 and Sparc
On Fri, Jun 13, 2003 at 05:55:38PM -0400, Eloy A. Paris wrote: Hi, Has anyone had problem booting the just-released 2.4.21 kernel on an Ultra 5? Here it just hangs at: Rebooting with command: boot Boot device: disk File and args: SILO boot: Remapping the kernel... done. Booting Linux... Thanks God my silo.conf has a backup image (/vmlinux.old), so I was able to boot the previous kernel I had been running (2.4.19). Kernel compiled on this same box, which runs Debian unstable. I bet you compiled it with gcc-3.3. Upgraded the gcc and gcc-3.2 packages, and rebuild, or just install the kernel-image-2.4.21-sparc64 package. -- Debian - http://www.debian.org/ Linux 1394 - http://www.linux1394.org/ Subversion - http://subversion.tigris.org/ Deqo - http://www.deqo.com/
Re: New kernel 2.4.21 and Sparc
On Fri, Jun 13, 2003 at 06:37:34PM -0400, Ben Collins wrote: On Fri, Jun 13, 2003 at 05:55:38PM -0400, Eloy A. Paris wrote: Hi, Has anyone had problem booting the just-released 2.4.21 kernel on an Ultra 5? Here it just hangs at: [...] I bet you compiled it with gcc-3.3. Upgraded the gcc and gcc-3.2 packages, and rebuild, or just install the kernel-image-2.4.21-sparc64 package. Hhmmm, I have all these gcc packages installed: $ dpkg -l gcc* | grep ^.i ii gcc3.2-6 The GNU C compiler. ii gcc-2.95 2.95.4-17 The GNU C compiler. ii gcc-3.23.2.3-4The GNU C compiler ii gcc-3.2-base 3.2.3-4The GNU Compiler Collection (base package) ii gcc-3.33.3-3 The GNU C compiler ii gcc-3.3-base 3.3-3 The GNU Compiler Collection (base package) But my default gcc is version 3.2.3, and my kernel was compiled with this version: $ strings vmlinux | grep gcc Linux version 2.4.21 ([EMAIL PROTECTED]) (gcc version 3.2.3 (Debian)) #16 Fri Jun 13 18:11:31 EDT 2003 This is very confusing. What version of gcc shoud I be using to compile kernels on the Sparc? Cheers, Eloy.-
Re: New kernel 2.4.21 and Sparc
$ strings vmlinux | grep gcc Linux version 2.4.21 ([EMAIL PROTECTED]) (gcc version 3.2.3 (Debian)) #16 Fri Jun 13 18:11:31 EDT 2003 This is very confusing. What version of gcc shoud I be using to compile kernels on the Sparc? You can uninstall gcc-3.3. You compiled with the right version. I suspect you did something wrong though. Try my kernel-image-2.4.21-sparc64 package. If that works, use the /boot/config-2.4.21 as a starting point for compiling your own. -- Debian - http://www.debian.org/ Linux 1394 - http://www.linux1394.org/ Subversion - http://subversion.tigris.org/ Deqo - http://www.deqo.com/
Re: New kernel 2.4.21 and Sparc
On Fri, Jun 13, 2003 at 08:31:02PM -0400, Ben Collins wrote: You can uninstall gcc-3.3. You compiled with the right version. I suspect you did something wrong though. Try my kernel-image-2.4.21-sparc64 package. If that works, use the /boot/config-2.4.21 as a starting point for compiling your own. Ok, will do that (on Monday, when I am back at work and can rescue the box if something goes wrong.) Thanks! Eloy.-