Cobalt Kernel Patch

From Parvi - Open source software and patches

Jump to: navigation, search


This patch adds hardware functionality to the x86-based Sun Cobalt and Qube servers.


  • Version: 2.6.32
  • Last Update: 13:44, 3 December 2009 (UTC)
  • Language(s): C



Base Configurations

Future Changes

  • Ruler Support: Broken right now because someone removed the pci_dev and busproc from the ide_hwif_t struct. I have to track down how this changed.

Change Log

  • linux-cobalt-2.6.32-2009120301.jeffw.patch:
    • Just fuzz this time around
  • linux-cobalt-2.6.31-2009112901.jeffw.patch:
    • arch/x86/kernel/traps_32.c code moved to arch/x86/kernel/traps.c
    • include/asm-x86/setup.h code moved to arch/x86/include/asm/setup.h
    • Huge fuzz (max offset 170 lines!)
  • linux-cobalt-2.6.27-20081101.jeffw.patch:
    • COBALT_MIPS_LCD no longer needed, removed from Makefiles and Kconfigs
    • Fuzziness and moves
  • linux-cobalt-
    • Stripped the reboot code from arch/x86/kernel/process_32.c which caused reboots on core dumps
    • Added COBALT_NEWCMDLINE to configuration to fix the commandline passing issue
    • Stripped out the checksum ignore for the e100 driver as it's already provided, but added configuration directive to activate the option (E100_IGNORE_CSUM) when built in to the kernel
    • Changed locations of a bunch of code due to constant changing of 32/64 bit code separation.
  • linux-cobalt-2.6.24-gentoo-r4-2008050401.illogical.patch:
    • Fixed patch hunk failures
    • Changed arch/i386 to arch/x86
    • Changed arch/x86 files to patch 32 bit files
  • linux-cobalt-2.6.23-r3-2007121901.illogical.patch:
    • Fixed patch hunk failures
    • Re-arranged compiler directives in drivers/char/nvram.c
    • Swapped SA_SHIRQ for IRQF_SHARED in drivers/cobalt/acpi.c as the former is deprecated
    • Fixed the incompatible pointer type in drivers/cobalt/acpi.c
  • linux-cobalt-2.6.22-r9-2007111201.jimg.patch:
    • Repaired patch hunk failures
    • Made PCI changes to reflect changes in the kernel
    • Fixed 'make cobalt'
    • Added default configs
  • linux-cobalt-2.6.20-r1-2007022201.illogical.patch:
    • Add support for /proc/cobalt/powermode. Allow GenV RaQs to power on after a power loss.
  • linux-cobalt-2.6.20-2007021901.illogical.patch:
    • Repaired two patch hunk failures
  • linux-cobalt-
    • Removed all references to include/linux/config.h
    • The notifier_chain_register kernel function was renamed to atomic_notifier_chain_register
    • Fixed the shutdown and reboot issues
  • linux-cobalt-
    • Silly kernel maintainers made one line into two lines, breaking arch/i386/kernel/traps.c. Oh well, fixed.
  • linux-cobalt-2.6.15.gentoo-r1.2006020302.illogical.patch:
    • Fixed a declaration warning for wait_for_flush()
  • linux-cobalt-2.6.14-gentoo-r5.2005122901.illogical.patch:
    • Restructured portions to work with changes in the kernel
  • 2.6.12-gentoo-r6.2005073002:
    • Fixed the warning drivers/char/nvram.c:56:1: warning: "MACH" redefined
  • 2.6.12-gentoo-r6.2005073001:
    • In 2.6.12 the eepro100 driver broke, so the move was made to the e100 driver, which had to be altered to semi-ignore back EEPROM checksums.
    • Tested with gentoo-sources, runs just dandy.
    • Created a minimal base config for generation III and V Cobalts.
    • With the help of plasmaroo the last 4 warnings are gone for good.
  • 2.6.10:
    • gcc-3.4.3 support added by cleaning up a bunch of code. Not fun, but needed.
Copyright © 2005-2014 Jeff Walter