Hi Ben, On 12/06/2013 04:01 AM, Ben Hutchings wrote: > On Sun, 2013-09-08 at 22:26 +0200, Helge Deller wrote: >> After the request to reduce the kernels to e.g. SMP-only, my thought was >> to provide only 32bit-UP and 64bit SMP kernels. >> To be sure I asked on the parisc mailing list. The whole thread can be read >> here: >> http://comments.gmane.org/gmane.linux.ports.parisc/5283 >> >> Summary: >> - yes, there exists quite some 32bit-only parisc SMP machines. >> - the J5600 is SMP capable in both 32bit and 64bit mode, but currently it >> only boots Linux with a 32bit SMP kernel and crashes with a 64bit SMP >> kernel. >> We are working on resolving this... > [...] > > Looks like you fixed this one: > > commit 54e181e073fc1415e41917d725ebdbd7de956455 > Author: Helge Deller <del...@gmx.de> > Date: Sat Oct 26 23:19:25 2013 +0200 > > parisc: Do not crash 64bit SMP kernels on machines with >= 4GB RAM > > Can you send a new config patch?
actually I worked on a few more issues which were mentioned here in this bugreport... :-) Attached is a new patch - I hope I could address most questions. Some notes: - CONFIG_DEVTMPFS wasn't set before -> needed to be able to boot - CONFIG_HP_SDC_RTC - RTC driver is buggy and not needed - we use BIOS/PDC - CONFIG_MEGARAID_NEWGEN=y -> use new megaraid instead of old. Old one crashed one of my machines. - CONFIG_MLONGCALLS=y - needed for 64bit kernel. This is fixed upstream with kernel 3.13 and can be removed as soon as the debian kernel uses 3.13. Upstream commits (which I don't plan to backport): b8d8fccd68c36a19fef9768d06aa150bbc8cdd74 161bd3bf60ee2c5765455ad3e3da967d03449f4a 5ecbe3c3c690b5ab493c730c317475287a9e8b45 - CONFIG_PATA_SIL680=m, you suggested to use this one instead of SIIMAGE. Worked. SIL680-patch upstream for 3.13: a16ab68ee96005382738c706fd06bdd874d9185b - CONFIG_E1000=m, needed, existing configs only included e100. - AGP/DRM are now modules. Otherwise we don't have any output on the C8000 machines. As suggested I dropped parisc-smp and parisc64, still keeping parisc and parisc64-smp. We now can switch to use gcc-4.8 like the other arches. The control-file needs update to reflect this (not included here). Can you modify it by hand, if not, I can send a patch for that. Helge
diff -up ./config/hppa/config.org ./config/hppa/config --- ./config/hppa/config.org 2013-10-17 02:11:54.000000000 +0200 +++ ./config/hppa/config 2013-11-25 11:06:59.000000000 +0100 @@ -27,6 +27,11 @@ CONFIG_PARISC_PAGE_SIZE_4KB=y ## # CONFIG_PARTITION_ADVANCED is not set +# +# Generic Driver Options +# +CONFIG_DEVTMPFS=y + ## ## file: drivers/ata/Kconfig ## @@ -128,7 +133,7 @@ CONFIG_KEYBOARD_HIL=m ## CONFIG_INPUT_MISC=y # CONFIG_INPUT_UINPUT is not set -CONFIG_HP_SDC_RTC=m +# CONFIG_HP_SDC_RTC=m ## ## file: drivers/input/mouse/Kconfig @@ -472,7 +477,7 @@ CONFIG_SCSI_NCR53C8XX_SYNC=20 ## ## file: drivers/scsi/megaraid/Kconfig.megaraid ## -# CONFIG_MEGARAID_NEWGEN is not set +CONFIG_MEGARAID_NEWGEN=y CONFIG_MEGARAID_MM=m CONFIG_MEGARAID_MAILBOX=m CONFIG_MEGARAID_LEGACY=m diff -up ./config/hppa/config.parisc64-smp.org ./config/hppa/config.parisc64-smp --- ./config/hppa/config.parisc64-smp.org 2013-10-17 02:11:54.000000000 +0200 +++ ./config/hppa/config.parisc64-smp 2013-12-07 20:01:27.000000000 +0100 @@ -8,11 +8,34 @@ CONFIG_PA8X00=y CONFIG_64BIT=y CONFIG_SMP=y CONFIG_NR_CPUS=8 +CONFIG_MLONGCALLS=y ## ## file: mm/Kconfig ## ## choice: Memory model -# CONFIG_FLATMEM_MANUAL is not set -## end choice +CONFIG_DISCONTIGMEM_MANUAL=y +CONFIG_DISCONTIGMEM=y +## +## file: drivers/ata/Kconfig +## +CONFIG_PATA_SIL680=m + +# +# Generic fallback / legacy drivers +# +CONFIG_FUSION=y +CONFIG_FUSION_SPI=m + +# +# Distributed Switch Architecture drivers +# +CONFIG_E1000=m + +# and for ATI FireGL DRM in C8000 workstation +CONFIG_DRM_RADEON=m +CONFIG_AGP=m +CONFIG_AGP_PARISC=m +CONFIG_VGA_ARB=y +CONFIG_DRM=m diff -up ./config/hppa/config.parisc-smp.org ./config/hppa/config.parisc-smp diff -up ./config/hppa/defines.org ./config/hppa/defines --- ./config/hppa/defines.org 2013-10-17 02:11:54.000000000 +0200 +++ ./config/hppa/defines 2013-12-08 22:47:15.000000000 +0100 @@ -1,35 +1,22 @@ [base] -flavours: - parisc - parisc-smp - parisc64 - parisc64-smp +flavours: parisc parisc64-smp kernel-arch: parisc -compiler: gcc-4.4 [image] suggests: palo [parisc_description] hardware: 32-bit PA-RISC +hardware-long: HP PA-RISC 32-bit systems with max. 4 GB RAM -[parisc-smp_description] -hardware: multiprocessor 32-bit PA-RISC - -[parisc64_base] -cflags: -fno-cse-follow-jumps -override-host-type: hppa64-linux-gnu - -[parisc64_description] -hardware: 64-bit PA-RISC +[parisc64-smp_description] +hardware: multiprocessor 64-bit PA-RISC +hardware-long: HP PA-RISC 64-bit SMP systems with support for more than 4 GB RAM [parisc64-smp_base] cflags: -fno-cse-follow-jumps override-host-type: hppa64-linux-gnu -[parisc64-smp_description] -hardware: multiprocessor 64-bit PA-RISC - [relations] -gcc-4.4: gcc-4.4, binutils-hppa64, gcc-4.4-hppa64 +gcc-4.8: gcc-4.8, binutils-hppa64, gcc-4.8-hppa64