TODO
From Linux PARISC Wiki
(Difference between revisions)
m (→Kernel patches) |
m (→Kernel patches) |
||
Line 231: | Line 231: | ||
** parisc: Drop hpux_stat64 struct from stat.h header file | ** parisc: Drop hpux_stat64 struct from stat.h header file | ||
** [http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=d0cf62fb63f760e98244d31396b3b58f3a1e326b '''parisc: Fixes and cleanups in kernel uapi header files'''] (backported to 3.18+) | ** [http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=d0cf62fb63f760e98244d31396b3b58f3a1e326b '''parisc: Fixes and cleanups in kernel uapi header files'''] (backported to 3.18+) | ||
+ | ** parisc: Fix wrong comment regarding first pmd entry flags | ||
+ | ** parisc: Drop definition of start_thread_som for HP-UX SOM binaries | ||
+ | ** parisc: Drop unused MADV_xxxK_PAGES flags from asm/mman.h | ||
+ | ** parisc: Add defines for Huge page support | ||
+ | ** parisc: Initialize the fault vector earlier in the boot process. | ||
+ | ** parisc: Increase initial kernel mapping to 32MB on 64bit kernel | ||
+ | ** parisc: Use long branch to do_syscall_trace_exit | ||
+ | ** parisc: Add Huge Page and HUGETLBFS support | ||
+ | ** parisc: Map kernel text and data on huge pages | ||
** parisc: Remove unused pcibios_init_bus() | ** parisc: Remove unused pcibios_init_bus() | ||
** parisc: Wire up mlock2 syscall | ** parisc: Wire up mlock2 syscall |
Revision as of 10:25, 13 December 2015
Contents |
PA-RISC Linux TODO (actually this is Helge's TODO list)
Status & TODO 2015-11-10
- Check with https://patchwork.kernel.org/patch/7738911/
- Debian packages:
- STARTED: vlc - linker does not drop dependencies to unneeded shared libs, https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=770741, problem arises due to __gmon_start__ symbol which then wrongly gets resolved e.g. by other shared libs. Fix for glibc is reported: https://sourceware.org/bugzilla/show_bug.cgi?id=19170
- elfutils -- testsuite error
- glib2.0 -- testsuite error
- gtk+3.0 -- testsuite error
- glibc -- update patches for 2.21
- libsoup2.4 -- testsuite error
- cupt
- libqb - testsuite error
- capnproto - testsuite errors: 1) nan != nan ->quiet vs. signalling nans"? __builtin_nanf("") returns 0x7fbfffff, 2) info._sifields._rt.si_sigval.sival_ptr -> hppa behaves correctly. Testsuite is wrong.
- vtk6 - dependency issues (other platforms have same problem)
- glibc: Ask to change the shm_nattch member of shmid64_ds from long to int (for 64bit userspace)
- convert irq handling to use CONFIG_IRQ_DOMAIN_HIERARCHY (serial port problem, action handler msising when registering irq)
- Due to very bad performance running multiple copies of dot program (Dave):
- Another issue that I have been wondering about is the performance of our kernel spinlock code. PA 8800 and PA 8900 processors have a cache line length of 128 bytes. I believe thereare some places where we assume 64 bytes. We also allocate spinlocks on 16 byte boundaries. We might get better performance if we allocated on 32 (PA 1.X) and 128 (PA 2.0). Helge: change: __PA_LDCW_ALIGNMENT
- I've also seen that better performance may be obtained by doing a byte store to spinlock prior to ldcw. This dirties the cache line and allows operation in cache in certain situations. I think this mainly applies to PA 1.X but I'm not sure. I have some example code somewhere. Helge: change struct arch_spinlock_t; in spinlock_types.h
- MOSTLY DONE: push gcc patch for variable CAS (gcc atomic ops, __sync_XXX) upstream (Kernel 3.17, http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=89206491201cbd1571009b36292af781cef74c1b) - packages needing rebuild: libatomic-ops (gauche and libgc have copies of libatomic-ops included), x265, ceph, lizardfs, firebird2.5, gauche, idba, mapsembler2, padevchooser, filezilla, idba, http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=785654
- __sync_val_compare_and_swap_8 missing in: openvdb, idba, lizardfs, ...
- gcc-4.9 commit: https://gcc.gnu.org/viewcvs/gcc?view=revision&revision=227914
- gcc-5.0 commit: https://gcc.gnu.org/viewcvs/gcc?view=revision&revision=227913
- kernel
- add asm/io.h file, needed for some debian packages, e.g. crrcsim
- implement ARCH_HAS_ELF_RANDOMIZE (arch_mmap_rnd() and such)
- use CONFIG_COMPAT_BINFMT_ELF and get rid of arch/parisc/kernel/binfmt_elf32.c
- implement kexec syscall
- Implement ltrace on hppa
- further implement seccomp syscal, e.g. more modes than just: SECCOMP_MODE_STRICT
- SLAB breaks, SLUB works, why? Mail from Guy Martin.
- sparsemem: http://lwn.net/Articles/439472/ -> convert to sparsemem (http://lwn.net/Articles/440056/), patch available from James
- modprobe ipmi_si loads the BMC driver, but it could be loaded automatically too..How to get CPU temp? (ipmi-chassis --get-chassis-status crashes the machine).
- 3.14 partly: return ((unsigned long) mapping >> 7) & ((SHMLBA >> PAGE_SHIFT) - 1); in arch/parisc/kernel/sys_parisc.c
- 3.14 partly: debian parisc perl bug (http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=721537) shows that mmap on parisc linux is horribly inefficient. We allocate huge maps for small files. This should be improved. Mailthread: " parisc mmap: private file maps" ,http://www.spinics.net/lists/linux-parisc/msg05083.html or https://rt.perl.org/Public/Bug/Display.html?id=119567 https://rt.perl.org/Public/Bug/Display.html?id=119567
- implement .con_font_set (consw) in sticon.c (to be able to change fonts at runtime)
- why does mc hangs when exiting on sticon ?
- better implementation to get stack pointer (in return_address(), in stack checker in irq.c, ...)
- physically broken memory in Dave's machine - utilize PDT (http://ftp.parisc-linux.org/docs/arch/pdc20-v1.1-Ch4-pdc.pdf (page #46)) - https://patchwork.kernel.org/patch/2541561/
- userspace
- add/port debian openmpi package (done: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=776730)
- teach "blkid" about palo partition
- STARTED (by Dave): fix haskell (ghc) hangs: futex(0xea00d08e, FUTEX_WAIT_PRIVATE, 2, NULL) = -1 EINVAL (Invalid argument). Solution: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=756260#15
- STARTED: fix linker -fpie support, https://sourceware.org/bugzilla/show_bug.cgi?id=18421
- fixes debian package iceweasel and others, see: http://www.openbsd.org/papers/nycbsdcon08-pie/
- TODO: Fix kernel to load -fpie compiled programs not at 0x400000
- STARTED: why is GNU AS so slow, e.g. when building freeorion, quantlib-swig or yade packages, testcases: openturns
- glibc: add backtrace() function, problems when building elfutils package: http://buildd.debian-ports.org/status/package.php?p=elfutils&suite=sid
- gcc: Add _builtin_thread_pointer() and _builtin_set_thread_pointer(), e.g.: https://gcc.gnu.org/ml/gcc-patches/2012-07/msg00428.html for glibc: ports/sysdeps/hppa/nptl/tls.h __set_cr27()
- provide libphobos packages - gcc-defaults - http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=763103
- why does acl2 build hangs process ?
- gdb crashes Kernel - http://permalink.gmane.org/gmane.linux.ports.parisc/5406
- debian-cd to use xorriso
- debian-cd: do not compress kernel.
- add wiki page about kernel cross-compiling
- Kernel: Hard to solve outstanding issues
- megaraid on my rp5470 hangs at boot (maybe because SCSI chassis not connected)? -> use new megaraid driver for debian -> maybe patch https://patchwork.kernel.org/patch/7738911/ needed to enable PCI-PCI bridge?
- Fix FireGL X1/X3 in C8000 - currently broken (no DRM and software accel is incredibly slow
plus colors in 24bpp mode are wrongseems ok in debian 8 sid / 3.16.7 kernel) - Info: manual "Radeon R5xx Acceleration" - http://www.x.org/docs/AMD/R5xx_Acceleration_v1.1.pdf and generic: http://www.botchco.com/agd5f/?p=50
- Kernel: still missing Linux kernel development (no patches available yet):
- Fix FTRACE: https://patchwork.kernel.org/patch/3554391/
- optimize flush_dcache_page() implementation like sparc. See Documentation/cachetlb.txt, e.g. used in aio subsystem
- Implement CONFIG_DEBUG_STACK_USAGE ?
- fix wrong _init notation in kernel
- NO_IRQ -> should be converted to (0) instead of (-1) -> Helge (check assembly, check in drivers/parisc/*)
- implement alternative coding for UP/SMP. See arch/x86/include/asm/alternative.h
- check assembly in drivers/parisc/*
- use pdc_add_valid() in kern_addr_valid(), protect against crashable acesses (like for superio-pc-drivers-detection in lp), add pdc_add_valid() to create a probe_kernel_read() implementation.
- arch/parisc/kernel/sys_parisc.c -> use SYSCALL_ALIAS() -> maybe
- on C8000, report 1 socket with 2 cores.
- implement HUGE pages (or even better transparent huge pages)
- Review gettimeofday and clock_gettime() implementation, possibly use a light-weight-syscall and rely on cr16 and cpu speed for more accurate timing? similiar to commit http://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/commit/?id=18ad51dd342a7eb09dbcd059d0b451b616d4dafc
- Kernel: Low priority patches needs further work
- Fix exception table entries to be of type int (32bit), even on 64bit kernel -> saves space. - https://patchwork.kernel.org/patch/3033801/ - partly done.
- disable FP-register save/restore at kernel entry? - https://patchwork.kernel.org/patch/3975291/
- enable 16k/64k kernel page sizes (still cacheflushing-issues with SCSI driver, additional work in glibc needed to deal with >4k page size, e.g. ld-loader alignments of data/code segments)
- Superdome support - can someone test? Should work better now with latest kernels.
- task_struct/thread_info split -- task_struct should not be visible in entry.S, we need to move some items into thread_info -- this includes pt_regs and maybe some of the flags (ptrace, etc)
- Visualize FX support (will probably never happen!)
- Debian packages / Userspace work
- IMPORTANT: fix OpenJDK - fixes required in zeroport (stack grows up!).
- 64-bit userspace, 64-bit binutils needs to be fixed to get multiple stub section support.
- gcc -> join 32- and 64bit compiler, make "-m64" work, get rid of hppa64-linux-gnu-gcc
- palo (PA-RISC Boot Loader):
- Modify (if possible), that palo can read (sequential) tftpbootable-vmlinuxes as well as the current boot-vmlinux images (simplifies build/handling)
- move decompression of Kernel to Linux kernel code instead of palo
Kernel patches
- Kernel 3.9:
- Integrate Dave Anglin's latest cacheflush patchset (fixes unusual userspace crashes) https://patchwork.kernel.org/patch/2480891/ - Dave
- add ucmpdi2() symbol to kernel - https://patchwork.kernel.org/patch/2468471/ - Dave
- patch to disable -mlong-calls compiler option when building kernel modules - https://patchwork.kernel.org/patch/2480001/
- James Bottomley's explanation of kernel gateway page - in 3.10
- lib/atomic64_test.c:131:2: warning: #warning Please implement atomic64_dec_if_positive for your architecture - in 3.10
- add interrupt statistics like x86 to /proc/interrupts - in 3.10
- kernel"-crashes in the area of do_softirq() - irq stacks implemented: https://patchwork.kernel.org/patch/2497501/
- test/build kernel with allmodconfig/allyesconfig
- error in lib/mpi/longlong.h,umul_ppmm() uses floating point -> https://patchwork.kernel.org/patch/2521621/
- update MAINTAINERS file, git tree -> https://patchwork.kernel.org/patch/2580161/
- lockdep issues with irqstack patch in UP configurations. Fixed -> https://patchwork.kernel.org/patch/2589321/
- add /proc/interrupt counters for floating point assist and unaligned handler traps -> https://patchwork.kernel.org/patch/2589161
- CONFIG_PREEMPT works now -> https://patchwork.kernel.org/patch/2624241/
- parisc: make default cross compiler search more robust (v3)
- parisc: fix SMP races when updating PTE and TLB entries in entry.S
- parisc: use long branch in fork_like macro
- parisc: only re-enable interrupts if we need to schedule or deliver signals when returning to userspace
- Kernel 3.10
- stifb broken (PCI broken?) -> https://patchwork.kernel.org/patch/2636821/ -> 3.10-rc4
- parport hangs / lp -> https://patchwork.kernel.org/patch/2638331/ -> 3.10-rc4
- MAINTAINERS update -> https://patchwork.kernel.org/patch/2636601/ -> 3.10-rc4
- Kernel 3.11:
- parport (lp) fix
- defaultconfig for C8000
- C8000 workstation support in 3.11 and 3.10.X stable (serial port irq, IOMMU range fixes, FireGL radeon AGP fix, vma memory fix)
- remove arch/parisc/kernel/sys32.h
- pa_memcpy() was broken on 64bit (due to gcc miscompiling nonstandard C-code)
- Kernel 3.12:
- Fix 64bit SMP kernel on HP Visualize J-6750, 32bit SMP does work (Machine owners: Dave Land, Domenico Andreoli) -> fixed in 3.12 and backported >= kernel 2.6.12 (http://git.kernel.org/cgit/linux/kernelgit/torvalds/linux.git/commit/?id=54e181e073fc1415e41917d725ebdbd7de956455)
- fix kernel crash when running "echo t > /proc/sysrq-trigger" http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=59b33f148cc08fb33cbe823fca1e34f7f023765e
- regenerate defconfigs to include CONFIG_DEVTMPFS=y and CONFIG_DEVTMPFS_MOUNT=y to avoid udev/initrd problems. Done. http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=c1b14041aa86800cfd9e21b280b0eaee885fa623
- IMPI/BMC patch from Thomas Bogendoerfer - http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=fdbeb7de700a3c8fc85d7e595a6bf1c92a27c0a1 - test with: "ipmitool sdr"
- Kernel 3.13
- STIcon broken on 64bit with > 4GB RAM - https://patchwork.kernel.org/patch/3149621/
- New defaultconfigs for 32- and 64-bit - https://patchwork.kernel.org/patch/2825923/, enabled BMC IPMI & disabled HP SDC for 64bit
- implement audit functionality, https://patchwork.kernel.org/patch/3046731/
- avoid dependencies on bzimage during make install, https://patchwork.kernel.org/patch/3069691/
- exception table entries can be of type int (32bit), even on 64bit kernel -> saves space. - https://patchwork.kernel.org/patch/3033801/
- Kernel 3.14
- Native types in uapi/asm/stat.h
- Dropped HP-UX Support: changed EWOULDBLOCK = EAGAIN -> https://patchwork.kernel.org/patch/3499551/ (important ABI change!)
- parisc: Make EWOULDBLOCK be equal to EAGAIN on parisc
- sticon font problem fixed, sticon now automatically chooses the Linux fb fonts if available instead of using the HP fonts
- parisc: add flexible mmap memory layout support
- parisc: convert uapi/asm/stat.h to use native types only
- parisc: wire up sched_setattr and sched_getattr
- parisc: fix cache-flushing
- Kernel 3.15
- epoll_pwait bug: debian packages libio-epoll-perl and python-falcon failed
- pthread_create() out-of-memory bug, failed only when used with GNU make, e.g. zeromq3 package. Reason: stack hard limit problems
- parisc: change value of SHMLBA from 0x00400000 to PAGE_SIZE (backported to v3.13+)
- parisc: add renameat2 syscall
- parisc: Improve LWS-CAS performance
- parisc: ratelimit userspace segfault printing
- parisc: Use generic uapi/asm/resource.h file
- parisc: remove _STK_LIM_MAX override
- parisc: fix epoll_pwait syscall on compat kernel
- parisc: change value of SHMLBA from 0x00400000 to PAGE_SIZE
- parisc: Replace __get_cpu_var uses for address calculation
- parisc: locks: remove redundant arch_*_relax operations
- parisc: wire up sys_utimes
- parisc: Remove unused CONFIG_PARISC_TMPALIAS code
- Kernel 3.16
- parisc: Eliminate memset after alloc_bootmem_pages
- parisc: Remove SA_RESTORER define
- parisc: drop unused defines and header includes
- parisc: fix fanotify_mark() syscall on 32bit compat kernel
- parisc: add serial ports of C8000/1GHz machine to hardware database
- Kernel 3.17
- parisc: Fix serial console for machines with serial port on superio chip
- parisc: Only use -mfast-indirect-calls option for 32-bit kernel builds
- parisc: pdc_stable.c: Avoid potential stack overflows
- parisc: pdc_stable.c: Cleaning up unnecessary use of memset in conjunction with strncpy
- parisc: ptrace: use secure_computing_strict()
- parisc: Implement new LWS CAS supporting 64 bit operations, CAS implementation: implement 1,2,4 and 8 byte CAS (backported to v3.13+)
- parisc: Wire up seccomp, getrandom and memfd_create syscalls
- parisc: dino: fix %d confusingly prefixed with 0x in format string
- parisc: sys_hpux: NUL terminator is one past the end
- parisc: Use get_signal() signal_setup_done()
- Kernel 3.18
- parisc: Reduce SIGRTMIN from 37 to 32 to behave like other Linux architectures (important ABI change!)
- parisc: Avoid using CONFIG_64BIT in userspace exported headers
- parisc: Use compat layer for msgctl, shmat, shmctl and semtimedop syscalls (backported to v3.10+)
- parisc: Use BUILD_BUG() instead of undefined functions
- parisc: Wire up bpf syscall
- Kernel 3.19
- parisc: fix out-of-register compiler error in ldcw inline assembler function
- Kernel 4.0
- parisc: Wire up execveat syscall
- parisc: Add error checks when building up signal trampoline handler
- parisc: hpux - Drop support for HP-UX binaries
- parisc: hpux - Do not compile hpux subdirectory
- parisc: hpux - Delete files in hpux subdirectory
- parisc: hpux - Remove hpux gateway page
- parisc: hpux - Remove HPUX syscall numbers
- fs/binfmt_som: Drop kernel support for HP-UX SOM binaries
- parisc/uaccess: fix sparse errors
- parisc: macro whitespace fixes
- parisc: Add compile-time check when adding new syscalls
- parisc: Fix pmd code to depend on PT_NLEVELS value, not on CONFIG_64BIT
- parisc: mm: don't count preallocated pmds
- Kernel 4.1
- parisc: Replace PT_NLEVELS with CONFIG_PGTABLE_LEVELS
- parisc: Eliminate sg_virt_addr() and private scatterlist.h
- parisc: copy_thread(): rename 'arg' argument to 'kthread_arg'
- parisc,metag: Fix crashes due to stack randomization on stack-grows-upwards architectures (backported to v3.16+)
- DONE: fix VA randomization regarding to stack limits (testcase: ocaml build, temporarily fix: echo 0 > /proc/sys/kernel/randomize_va_space or add to /etc/sysctl.conf: sys.kernel.randomize_va_space = 0)
- parisc: %pf is only for function pointers
- parisc: copy_thread(): rename 'arg' argument to 'kthread_arg'
- Kernel 4.2
- parisc: don't use module_init for non-modular core pdc_cons code
- parisc: use for_each_sg()
- stifb: Implement hardware accelerated copyarea
- parisc: Fix some PTE/TLB race conditions and optimize __flush_tlb_range based on timing results (backported to v3.18+)
- parisc: mm: Fix a memory leak related to pmd not attached to the pgd (backported to v4.0+)
- Kernel 4.3
- parisc: Define ioremap_uc and ioremap_wc
- PCI,parisc: Enable 64-bit bus addresses on PA-RISC
- parisc: Additionally check for in_atomic() in page fault handler
- parisc: Filter out spurious interrupts in PA-RISC irq handler - fixes crashes due to serial ports at boot on C8000 with PA8900 CPUs (backported to all)
- parisc: Drop CONFIG_SMP around update_cr16_clocksource()
- parisc: Use platform_device_register_simple("rtc-generic")
- parisc: Use double word condition in 64bit CAS operation - fixes 64bit gcc builtin atomics (backported to all)
- Kernel 4.4
- parisc: Change L1_CACHE_BYTES to 16
- net/xps: Fix calculation of initial number of xps queues
- parisc: reduce syslog debug output
- parisc: serial/mux: Convert to uart_console_device instead of open-coded
- parisc: Wire up userfaultfd syscall
- parisc: allocate sys_membarrier system call number
- parisc: Drop hpux_stat64 struct from stat.h header file
- parisc: Fixes and cleanups in kernel uapi header files (backported to 3.18+)
- parisc: Fix wrong comment regarding first pmd entry flags
- parisc: Drop definition of start_thread_som for HP-UX SOM binaries
- parisc: Drop unused MADV_xxxK_PAGES flags from asm/mman.h
- parisc: Add defines for Huge page support
- parisc: Initialize the fault vector earlier in the boot process.
- parisc: Increase initial kernel mapping to 32MB on 64bit kernel
- parisc: Use long branch to do_syscall_trace_exit
- parisc: Add Huge Page and HUGETLBFS support
- parisc: Map kernel text and data on huge pages
- parisc: Remove unused pcibios_init_bus()
- parisc: Wire up mlock2 syscall
- parisc: Disable huge pages on Mako machines
- [parisc iommu: fix panic due to trying to allocate too large region (backported to all)
Debian kernel and userspace programs
- PALO (http://git.kernel.org/cgit/linux/kernel/git/deller/palo.git/)
- DONE: increase palo command line from 128 bytes (max from kernel is 1024 currently) -> fixed in palo 1.92.
- DONE: accept /boot/ in front of files, strip path (e.g. "/boot") when given for kernel/ramdisk
- DONE: Migrate to git.kernel.org -> done: http://git.kernel.org/cgit/linux/kernel/git/deller/palo.git/
- DONE: add gzip-support (allow loading gzipped vmlinux files)
- DONE: in interactive mode, add reboot option command
- Debian kernel
- DONE: send patches to remove UP from debian kernels, use sil680 instead of siimage, see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=721191 -> fixed in 3.12 / 3.13
- DONE: Enable BMC in c8000 default kernel config - ipmi driver (CONFIG_IPMI_HANDLER=y) - http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=747482
- DONE: remove HIL RTC from debian kernel - it creates a backtrace at boot because we have already another rtc0 active.
- DONE: add ppdev driver, needed by CUPS, systemd reports missing module load (3.17 & 3.16 kernel)
- DONE: Add crc-modules, event, isofs, jfs, mouse, sata, sound, squashfs, udf, uinput, scsi-common, scsi-extra, loop, serial and usb-serial debian-installer packages
- DONE: Kernel build problem: a) disable -mfast-indirect-calls in Makefile, b) gcc compiler bug in > gcc-4.8.3-3
- DONE: Drop HPUX-support from kernel (Kernel 4.0)
- Debian installer:
- DONE: test xorriso (Thomas Schmitt, scdbackup)
- DONE: Build real debian-installer CD. See: https://wiki.debian.org/Simple-CDD/Howto
- DONE: we need a kernel debian package (3.10 based or higher)
- DONE: palo-installer: fix palo entry "root=/dev/sda5" to become "root=UUID=XXXX"
- binutils:
- DONE: linker -fpie support, https://sourceware.org/bugzilla/show_bug.cgi?id=18421
- gcc:
- DONE: Linker reports "XXX referenced in section `.data.rel.ro.local' of YYY: defined in discarded section `.text._ZXXX"
- DONE: Qt5/KDE signal & slot issue: Pointers to method types need canonicalization before comparison, fixed in gcc: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68079
- glibc:
- DONE: Problem building libcap-ng...The problem is the call to __tls_get_addr clobbers the value loaded into %r26 for the printf call. -> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59777
- DONE: eglibc mmap bug with localedef (see debian bugzilla http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=741243)
- Debian userspace:
- DONE: qt4-x11: Improve atomic support on parisc (https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=741190)
ABI breakages (HP-UX support)
- We dropped HP-UX support in kernel 3.14 by changing EWOULDBLOCK==EAGAIN. (I believe we should pull the plug on HP-UX entirely. If there ever was enough interest, It should be supported in a VM. Machines are relatively cheap now. So, if someone needs hpux, they can buy a machine for it.) We have a more diverse user space under Linux and I believe in supporting open source, so we should focus on it -> http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=f5a408d53edef3af07ac7697b8bc54a755628450
- Changed RTSIGMIN to 32 (from 37) - http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=1f25df2eff5b25f52c139d3ff31bc883eee9a0ab
- debian glibc report: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=766605
- debian kernel bug report: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=766635
- September 7th 2014: First delivery with vmlinux-3.16.0-4 (aka linux-image-3.16.0-4-parisc64-smp_3.16.7-1_hppa.deb)
- rebuild of following packages needed:
- unxz-utils: rebuild unxz to fix usage of SIGXFSZ
- strace and gdb: fix signal names/numbers
- libgc: gives "Cannot set SIG_THR_RESTART handler" error since SIG_THR_RESTART has been SIGXCPU which is now used for threads
- (maybe) gcc-4.9 which links against libgc...? (affects objc related code only)
- dietlibc (patch sent upstream) - https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=769105 TODO: make patch for dietlibc to use LONG_LONG_PAIR for ftruncate64() and then rebuild util-vserver package
parisc-linux.org Homepage and Debian build server infrastructure work
- DONE: Ask Thibaut to add ftp mirror of http://ftp.parisc-linux.org/debian_ports on http://www.fr.parisc-linux.org/
- DONE: Set up a buildd server for debian-ports/unstable & experimental -> http://unstable.buildd.net/index-hppa.html
- DONE: contact pannonmage@gmail.com (Nemeth Balint, Budapest) to set up buildd server - mail from 04.08.2013
- Offer from Mike Hosken <mike@csystems.co.nz> for A400 system as buildd - mail from 18.09.2014 and 17.05.2015
- DONE: set up buildd server on ESIEE's A500 (Thibaut) - mail from 13.08.2013
- DONE Sep 12 2014: migrate mail forward service for parisc-linux.org to A500 machine
- DONE Sep 12 2014: restore web-based http://ftp.parisc-linux.org service
- DONE Nov 24 2014: Import old hppa mailing list archives to gmane.org - http://dir.gmane.org/gmane.linux.ports.parisc
- Homepage migration:
- DONE: Migration of parisc-linux.org website to https://parisc.wiki.kernel.org
- DONE: Migration of wiki.parisc-linux.org website to https://parisc.wiki.kernel.org
- DONE: Domain owner before: Matt Taggart <matt@lackof.org>, Expiration Date:09-Aug-2014; Since August 2014 is Helge Deller domain owner of parisc-linux.org
- DONE: DNS takeover by Thibaut Varenet on 11/11/2013 - see: http://article.gmane.org/gmane.linux.ports.parisc/5478
- DONE: former Server administrator of parisc-linux.org: Dann Frazier - dannf@dannf.org, former technical contact at HP: brett.johnson@hp.com, Since August 2014 administrator/owner: Helge Deller
Updates for next newsletter
- fixed 64bit SMP kernel & sticon on machines with more than 4GB RAM
- Dave found O_SYNC bug in glibc (Typo in hppa __O_SYNC define in <bits/fcntl.h>)
- lots of syscall fixes regarding compat kernel
- Migration parisc-linux.org
- debian-ports.org access
- 3.13 with all patches in (coherency)
- buildds running
- wiki migration finished (05 Feb 2014)
- old parisc-linux kernel mailinglist imported into gmane.org - http://dir.gmane.org/gmane.linux.ports.parisc - 23 Nov 2014
- parisc-linux domain is now owned by Helge (August 2014)
- Debian 8.0 installer images available.
Testsuites, kernel and userspace testing tools
- https://github.com/linux-test-project/ltp - Linux Test Project
- http://codemonkey.org.uk/projects/trinity/ - Trinity - A Linux System call fuzz tester.
- GLIBC issues: https://sourceware.org/glibc/wiki/PortStatus
- We also have a problem with poll in rpcbind on 32-bit kernels. Runs forever. Not analyzed yet.
- glib2.0 atomic bug: Dave: I see the problem building various packages -- apt is is one. It occurs when multiple dot processes are started by graph when package documentation is being generated. The number of dot processes spawned depends on the number of processors on the build system. However, the faults occur even on a UP system. I debugged one of these segvs enough to see that the problem occurred in a glib2.0 library. It's using the GCC "sync" interface.
- From Dave: gcc thread issues including thread cancellation, glib2.0 problem, maybe __tls_get_addr clobber too?
TODO Drivers
- IPMI support on rp-class / Support graceful shutdown from BMC on rp servers (`PC -GRACEFUL`)
- write Lasi floppy driver
- write Suckyio floppy driver
- write spifi driver (rbrad)
- modify ncr53c8xx driver for Outfield (735 & 755)
- write GSC FDDI driver
- write Timi ASIC (74x) support
- EISA DMA support
Review all the todo entries below!
- ns87415 dma doesn't work reliably on suckyio-systems
- investigate not putting in extable entries for put_kernel_asm; will probably reduce kernel size
- fix HIL problem: ksoftirqd/0 eats 56% cpu (kernel 2.4 & kernel 2.6) - see FAQ: http://www.parisc-linux.org/faq/index.html and http://article.gmane.org/gmane.linux.ports.parisc/278/match=use+lower+nice+level+ksoftirqd+hil+enabled