Linux::debian

From www.deloptes.org
Jump to navigation Jump to search

Backporting

A good guide to backporting is at

  https://raphaelhertzog.com/2010/12/15/howto-to-rebuild-debian-packages/

A deb-src line in sources.list for unstable is needed to do:

 apt-get source libsane-common/unstable

Then:

 apt-get build-deps libsane-common/unstable

should get the dependencies from stable to build libsane-common and libsane.

firefox custom alternatives

update-alternatives --install /etc/alternatives/firefox x-www-browser /opt/custom/firefox/firefox 300
update-alternatives --set x-www-browser /opt/custom/firefox/firefox

Configurations

Some notes on kernel configuration options (linux 3.3.8) with some notes about intel splash on a intel chipset notebook. Most of the following is a server setup on AMD though.

CPU Frequency

Set min / max values

create file if not existing

/etc/default/cpufrequtils

define min/max value and governor

GOVERNOR="ondemand"
MAX_SPEED="3.6GHz"
MIN_SPEED="1.4GHz"

Kernel Configuration

  ┌───────────────────────────────────────────── General setup ──────────────────────────────────────────────┐
  ...
  │ ┌──────────────────────────────────────────────────────────────────────────────────────────────────────┐ │
  │ │                [*] Prompt for development and/or incomplete code/drivers                             │ │
  │ │                ()  Cross-compiler tool prefix                                                        │ │
  │ │                (eko4) Local version - append to kernel release                                       │ │
  │ │                [*] Automatically append version information to the version string                    │ │
  │ │                    Kernel compression mode (Gzip)  --->                                              │ │
  │ │                ((none)) Default hostname                                                             │ │
  │ │                [*] Support for paging of anonymous memory (swap)                                     │ │
  │ │                [*] System V IPC                                                                      │ │
  │ │                [*] POSIX Message Queues                                                              │ │
  │ │                [*] BSD Process Accounting                                                            │ │
  │ │                [ ]   BSD Process Accounting version 3 file format                                    │ │
  │ │                [*] open by fhandle syscalls                                                          │ │
  │ │                [ ] Export task/process statistics through netlink (EXPERIMENTAL)                     │ │
  │ │                [*] Auditing support                                                                  │ │
  │ │                [*]   Enable system-call auditing support                                             │ │
  │ │                [ ]   Make audit loginuid immutable                                                   │ │
  │ │                    IRQ subsystem  --->                                                               │ │
  │ │                    RCU Subsystem  --->                                                               │ │
  │ │                < > Kernel .config support                                                            │ │
  │ │                (15) Kernel log buffer size (16 => 64KB, 17 => 128KB)                                 │ │
  │ │                [ ] Control Group support  --->                                                       │ │
  │ │                -*- Namespaces support  --->                                                          │ │
  │ │                [ ] Automatic process group scheduling                                                │ │
  │ │                [*] Enable deprecated sysfs features to support old userspace tools                   │ │
  │ │                [ ]   Enable deprecated sysfs features by default                                     │ │
  │ │                -*- Kernel->user space relay support (formerly relayfs)                               │ │
  │ │                [*] Initial RAM filesystem and RAM disk (initramfs/initrd) support                    │ │
  │ │                ()    Initramfs source file(s)                                                        │ │
  │ │                [*] Optimize for size                                                                 │ │
  │ │                [ ] Configure standard kernel features (expert users)  --->                           │ │
  │ │                [ ] Embedded system                                                                   │ │
  │ │                    Kernel Performance Events And Counters  --->                                      │ │
  │ │                [ ] Disable heap randomization                                                        │ │
  │ │                    Choose SLAB allocator (SLAB)  --->                                                │ │
  │ │                [ ] Profiling support                                                                 │ │
  │ │                [ ] Kprobes                                                                           │ │
  │ │                [ ] Optimize trace point call sites                                                   │ │
  │ │                    GCOV-based kernel profiling  --->                                                 │ │
  ...
  ┌───────────────────────────────────────────── RCU Subsystem ──────────────────────────────────────────────┐
  ...
  │ ┌──────────────────────────────────────────────────────────────────────────────────────────────────────┐ │
  │ │                    RCU Implementation (Tree-based hierarchical RCU)  --->                            │ │
  │ │                [ ] Enable tracing for RCU                                                            │ │
  │ │                (32) Tree-based hierarchical RCU fanout value                                         │ │
  │ │                [ ] Disable tree-based hierarchical RCU auto-balancing                                │ │
  │ │                [ ] Accelerate last non-dyntick-idle CPU's grace periods                              │ │
  │ │                                                                                                      │ │
  ┌─────────────────────────────────────────── Namespaces support ───────────────────────────────────────────┐
  ...
  │ ┌──────────────────────────────────────────────────────────────────────────────────────────────────────┐ │
  │ │                --- Namespaces support                                                                │ │
  │ │                [*]   UTS namespace                                                                   │ │
  │ │                [*]   IPC namespace                                                                   │ │
  │ │                [ ]   User namespace (EXPERIMENTAL)                                                   │ │
  │ │                [*]   PID Namespaces                                                                  │ │
  │ │                [*]   Network namespace                                                               │ │
  ┌───────────────────────────────────── Enable loadable module support ─────────────────────────────────────┐
  ...
  │ ┌──────────────────────────────────────────────────────────────────────────────────────────────────────┐ │
  │ │                --- Enable loadable module support                                                    │ │
  │ │                [ ]   Forced module loading                                                           │ │
  │ │                [*]   Module unloading                                                                │ │
  │ │                [*]     Forced module unloading                                                       │ │
  │ │                [*]   Module versioning support                                                       │ │
  │ │                [ ]   Source checksum for all modules                                                 │ │

  ┌───────────────────────────────────────── Enable the block layer ─────────────────────────────────────────┐
  ...
  │ ┌──────────────────────────────────────────────────────────────────────────────────────────────────────┐ │
  │ │                --- Enable the block layer                                                            │ │
  │ │                -*-   Block layer SG support v4                                                       │ │
  │ │                -*-   Block layer SG support v4 helper lib                                            │ │
  │ │                [ ]   Block layer data integrity support                                              │ │
  │ │                      Partition Types  --->                                                           │ │
  │ │                      IO Schedulers  --->                                                             │ │

  ┌───────────────────────────────────────────── IO Schedulers ──────────────────────────────────────────────┐
  ...
  │ ┌──────────────────────────────────────────────────────────────────────────────────────────────────────┐ │
  │ │                < > Deadline I/O scheduler                                                            │ │
  │ │                <*> CFQ I/O scheduler                                                                 │ │
  │ │                    Default I/O scheduler (CFQ)  --->                                                 │ │
  │ │                                                                                                      │ │

  ┌────────────────────────────────────── Processor type and features ───────────────────────────────────────┐
  ...
  │ ┌──────────────────────────────────────────────────────────────────────────────────────────────────────┐ │
  │ │                [*] Tickless System (Dynamic Ticks)                                                   │ │
  │ │                [*] High Resolution Timer Support                                                     │ │
  │ │                [*] Symmetric multi-processing support                                                │ │
  │ │                [*] Enable MPS table                                                                  │ │
  │ │                [ ] Support for extended (non-PC) x86 platforms                                       │ │
  │ │                [*] Single-depth WCHAN output                                                         │ │
  │ │                [ ] Paravirtualized guest support  --->                                               │ │
  │ │                [ ] Memtest                                                                           │ │
  │ │                    Processor family (Generic-x86-64)  --->                                           │ │
  │ │                [ ] IBM Calgary IOMMU support                                                         │ │
  │ │                [ ] Enable Maximum number of SMP Processors and NUMA Nodes                            │ │
  │ │                (8) Maximum number of CPUs                                                            │ │
  │ │                [ ] SMT (Hyperthreading) scheduler support                                            │ │
  │ │                [*] Multi-core scheduler support                                                      │ │
  │ │                [ ] Fine granularity task level IRQ time accounting                                   │ │
  │ │                    Preemption Model (Voluntary Kernel Preemption (Desktop))  --->                    │ │
  │ │                [*] Reroute for broken boot IRQs                                                      │ │
  │ │                [*] Machine Check / overheating reporting                                             │ │
  │ │                [*]   Intel MCE features                                                              │ │
  │ │                [*]   AMD MCE features                                                                │ │
  │ │                <M> Machine check injector support                                                    │ │
  │ │                < > Dell laptop support                                                               │ │
  │ │                <M> /dev/cpu/microcode - microcode support                                            │ │
  │ │                [*]   Intel microcode patch loading support                                           │ │
  │ │                [*]   AMD microcode patch loading support                                             │ │
  │ │                <M> /dev/cpu/*/msr - Model-specific register support                                  │ │
  │ │                <M> /dev/cpu/*/cpuid - CPU information support                                        │ │
  │ │                [ ] Numa Memory Allocation and Scheduler Support                                      │ │
  │ │                    Memory model (Sparse Memory)  --->                                                │ │
  │ │                [*] Sparse Memory virtual memmap                                                      │ │
  │ │                [ ] Allow for memory hot-add                                                          │ │
  │ │                -*- Allow for memory compaction                                                       │ │
  │ │                -*- Page migration                                                                    │ │
  │ │                [ ] Enable KSM for page merging                                                       │ │
  │ │                (65536) Low address space to protect from user allocation                             │ │
  │ │                [ ] Enable recovery from hardware memory errors                                       │ │
  │ │                [*] Transparent Hugepage Support                                                      │ │
  │ │                      Transparent Hugepage Support sysfs defaults (always)  --->                      │ │
  │ │                [*] Enable cleancache driver to cache clean pages if tmem is present                  │ │
  │ │                [*] Check for low memory corruption                                                   │ │
  │ │                [ ]   Set the default setting of memory_corruption_check                              │ │
  │ │                (64) Amount of low memory, in kilobytes, to reserve for the BIOS                      │ │
  │ │                -*- MTRR (Memory Type Range Register) support                                         │ │
  │ │                [*]   MTRR cleanup support                                                            │ │
  │ │                (0)     MTRR cleanup enable value (0-1)                                               │ │
  │ │                (1)     MTRR cleanup spare reg num (0-7)                                              │ │
  │ │                [ ] EFI runtime service support                                                       │ │
  │ │                [*] Enable seccomp to safely compute untrusted bytecode                               │ │
  │ │                [ ] Enable -fstack-protector buffer overflow detection (EXPERIMENTAL)                 │ │
  │ │                    Timer frequency (300 HZ)  --->                                                    │ │
  │ │                [ ] kexec system call                                                                 │ │
  │ │                [ ] kernel crash dumps                                                                │ │
  │ │                [ ] Build a relocatable kernel                                                        │ │
  │ │                -*- Support for hot-pluggable CPUs                                                    │ │
  │ │                [ ] Compat VDSO support                                                               │ │
  │ │                [ ] Built-in kernel command line                                                      │ │

  ┌─────────────────────────────────── Power management and ACPI options ────────────────────────────────────┐
  ...
  │ ┌──────────────────────────────────────────────────────────────────────────────────────────────────────┐ │
  │ │                [*] Suspend to RAM and standby                                                        │ │
  │ │                [*] Hibernation (aka 'suspend to disk')                                               │ │
  │ │                (/dev/md4) Default resume partition                                                   │ │
  │ │                [*] Run-time PM core functionality                                                    │ │
  │ │                [ ] Power Management Debug Support                                                    │ │
  │ │                [*] ACPI (Advanced Configuration and Power Interface) Support  --->                   │ │
  │ │                [ ] SFI (Simple Firmware Interface) Support  --->                                     │ │
  │ │                    CPU Frequency scaling  --->                                                       │ │
  │ │                -*- CPU idle PM support                                                               │ │
  │ │                [ ]   Cpuidle Driver for Intel Processors                                             │ │
  │ │                    Memory power savings  --->                                                        │ │
  │ │                                                                                                      │ │

  ┌─────────────────────── ACPI (Advanced Configuration and Power Interface) Support ────────────────────────┐
  ...
  │                                                                                                          │
  │ ┌──────────────────────────────────────────────────────────────────────────────────────────────────────┐ │
  │ │                --- ACPI (Advanced Configuration and Power Interface) Support                         │ │
  │ │                [ ]   Deprecated /proc/acpi files                                                     │ │
  │ │                [ ]   Deprecated power /proc/acpi directories                                         │ │
  │ │                < >   EC read/write access through /sys/kernel/debug/ec                               │ │
  │ │                [ ]   Deprecated /proc/acpi/event support                                             │ │
  │ │                <M>   AC Adapter                                                                      │ │
  │ │                <M>   Battery                                                                         │ │
  │ │                <M>   Button                                                                          │ │
  │ │                <M>   Video                                                                           │ │
  │ │                <M>   Fan                                                                             │ │
  │ │                [ ]   Dock                                                                            │ │
  │ │                <M>   Processor                                                                       │ │
  │ │                <M>   Processor Aggregator                                                            │ │
  │ │                <M>   Thermal Zone                                                                    │ │
  │ │                [ ]   Debug Statements                                                                │ │
  │ │                < >   PCI slot detection driver                                                       │ │
  │ │                {M}   Container and Module Devices (EXPERIMENTAL)                                     │ │
  │ │                <M>   Smart Battery System                                                            │ │
  │ │                -*-   Hardware Error Device                                                           │ │
  │ │                <M>   Allow ACPI methods to be inserted/replaced at run time                          │ │
  │ │                [*]   ACPI Platform Error Interface (APEI)                                            │ │
  │ │                [*]     APEI Generic Hardware Error Source                                            │ │
  │ │                < >     APEI Error INJection (EINJ)                                                   │ │
  │ │                < >     APEI Error Record Serialization Table (ERST) Debug Support                    │ │
  │ └──────────────────────────────────────────────────────────────────────────────────────────────────────┘ │

  ┌───────────────────────────────────────── CPU Frequency scaling ──────────────────────────────────────────┐
  ...
  │ ┌──────────────────────────────────────────────────────────────────────────────────────────────────────┐ │
  │ │                [*] CPU Frequency scaling                                                             │ │
  │ │                <M>   CPU frequency translation statistics                                            │ │
  │ │                [*]     CPU frequency translation statistics details                                  │ │
  │ │                      Default CPUFreq governor (userspace)  --->                                      │ │
  │ │                <M>   'performance' governor                                                          │ │
  │ │                <M>   'powersave' governor                                                            │ │
  │ │                -*-   'userspace' governor for userspace frequency scaling                            │ │
  │ │                <M>   'ondemand' cpufreq policy governor                                              │ │
  │ │                <M>   'conservative' cpufreq governor                                                 │ │
  │ │                      x86 CPU frequency scaling drivers  --->                                         │ │
  │ │                                                                                                      │ │

  ┌─────────────────────────────────── x86 CPU frequency scaling drivers ────────────────────────────────────┐
  ...
  │ ┌──────────────────────────────────────────────────────────────────────────────────────────────────────┐ │
  │ │                <M> Processor Clocking Control interface driver                                       │ │
  │ │                <M> ACPI Processor P-States driver                                                    │ │
  │ │                <M> AMD Opteron/Athlon64 PowerNow!                                                    │ │
  │ │                < > Intel Enhanced SpeedStep (deprecated)                                             │ │
  │ │                < > Intel Pentium 4 clock modulation                                                  │ │
  │ │                    *** shared options ***                                                            │ │
  │ │                                                                                                      │ │

  ┌───────────────────────────────────────── Bus options (PCI etc.) ─────────────────────────────────────────┐
  ...
  │ ┌──────────────────────────────────────────────────────────────────────────────────────────────────────┐ │
  │ │                [*] PCI support                                                                       │ │
  │ │                [*]   Support mmconfig PCI config space access                                        │ │
  │ │                [*]   PCI Express support                                                             │ │
  │ │                [ ]     Root Port Advanced Error Reporting support                                    │ │
  │ │                -*-     PCI Express ASPM control                                                      │ │
  │ │                [ ]       Debug PCI Express ASPM                                                      │ │
  │ │                [*] Message Signaled Interrupts (MSI and MSI-X)                                       │ │
  │ │                [ ] PCI Debugging                                                                     │ │
  │ │                < > PCI Stub driver                                                                   │ │
  │ │                [*] Interrupts on hypertransport devices                                              │ │
  │ │                [ ] PCI IOV support                                                                   │ │
  │ │                [ ] PCI PRI support                                                                   │ │
  │ │                [ ] PCI PASID support                                                                 │ │
  │ │                <*> PCI IO-APIC hotplug support                                                       │ │
  │ │                < > PCCard (PCMCIA/CardBus) support  --->                                             │ │
  │ │                < > Support for PCI Hotplug  --->                                                     │ │
  │ │                [ ] RapidIO support                                                                   │ │
  │ │                                                                                                      │ │

  ┌──────────────────────────────────────────── Graphics support ────────────────────────────────────────────┐
  ...
  │ ┌──────────────────────────────────────────────────────────────────────────────────────────────────────┐ │
  │ │                < > /dev/agpgart (AGP Support)  --->                                                  │ │
  │ │                -*- VGA Arbitration                                                                   │ │
  │ │                (2)   Maximum number of GPUs                                                          │ │
  │ │                [*] Laptop Hybrid Graphics - GPU switching support                                    │ │
  │ │                <M> Direct Rendering Manager (XFree86 4.1.0 and higher DRI support)  --->             │ │
  │ │                < > Intel GMA500 Stub Driver                                                          │ │
  │ │                <M> Lowlevel video output switch controls                                             │ │
  │ │                {*} Support for frame buffer devices  --->                                            │ │
  │ │                -*- Backlight & LCD device support  --->                                              │ │
  │ │                    Console display driver support  --->                                              │ │
  │ │                [*] Bootup logo  --->                                                                 │ │
  │ │                                                                                                      │ │

server intel chipset

  ┌──────────────────── Direct Rendering Manager (XFree86 4.1.0 and higher DRI support) ─────────────────────┐
  ...
  │ ┌──────────────────────────────────────────────────────────────────────────────────────────────────────┐ │
  │ │                --- Direct Rendering Manager (XFree86 4.1.0 and higher DRI support)                   │ │
  │ │                < >   3dfx Banshee/Voodoo3+                                                           │ │
  │ │                < >   ATI Rage 128                                                                    │ │
  │ │                < >   ATI Radeon                                                                      │ │
  │ │                < >   Matrox g200/g400                                                                │ │
  │ │                < >   Via unichrome video cards                                                       │ │
  │ │                < >   Savage video cards                                                              │ │
  │ │                <M>   DRM driver for VMware Virtual GPU                                               │ │
  │ │                <M>   Intel GMA5/600 KMS Framebuffer                                                  │ │
  │ │                [ ]     Intel GMA600 support (Experimental)                                           │ │
  │ │                [ ]     Intel GMA3600/3650 support (Experimental)                                     │ │
  │ │                                                                                                      │ │

notebook intel chipset

  ┌──────────────────── Direct Rendering Manager (XFree86 4.1.0 and higher DRI support) ─────────────────────┐
  ...
  │ ┌──────────────────────────────────────────────────────────────────────────────────────────────────────┐ │
  │ │                --- Direct Rendering Manager (XFree86 4.1.0 and higher DRI support)                   │ │
  │ │                < >   3dfx Banshee/Voodoo3+                                                           │ │
  │ │                < >   ATI Rage 128                                                                    │ │
  │ │                < >   ATI Radeon                                                                      │ │
  │ │                <M>   Intel 8xx/9xx/G3x/G4x/HD Graphics                                               │ │
  │ │                [*]     Enable modesetting on intel by default                                        │ │
  │ │                < >   Matrox g200/g400                                                                │ │
  │ │                < >   SiS video cards                                                                 │ │
  │ │                < >   Via unichrome video cards                                                       │ │
  │ │                < >   Savage video cards                                                              │ │
  │ │                <M>   DRM driver for VMware Virtual GPU                                               │ │
  │ │                                                                                                      │ │

notebook intel chipset i915 with splash activ

  ┌──────────────────────────────────── Support for frame buffer devices ────────────────────────────────────┐
  ...
  │ ┌──────────────────────────────────────────────────────────────────────────────────────────────────────┐ │
  │ │                --- Support for frame buffer devices                                                  │ │
  │ │                [ ]   Enable firmware EDID                                                            │ │
  │ │                [ ]   Framebuffer foreign endianness support  --->                                    │ │
  │ │                -*-   Enable Video Mode Handling Helpers                                              │ │
  │ │                [ ]   Enable Tile Blitting Support                                                    │ │
  │ │                      *** Frame buffer hardware drivers ***                                           │ │
  │ │                < >   Cirrus Logic support                                                            │ │
  │ │                < >   Permedia2 support                                                               │ │
  │ │                < >   CyberPro 2000/2010/5000 support                                                 │ │
  │ │                < >   Arc Monochrome LCD board support                                                │ │
  │ │                [ ]   Asiliant (Chips) 69000 display support                                          │ │
  │ │                [ ]   IMS Twin Turbo display support                                                  │ │
  │ │                < >   VGA 16-color graphics support                                                   │ │
  │ │                < >   Userspace VESA VGA graphics support                                             │ │
  │ │                [ ]   VESA VGA graphics support                                                       │ │
  │ │                < >   N411 Apollo/Hecuba devkit support                                               │ │
  │ │                < >   Hercules mono graphics support                                                  │ │
  │ │                < >   Epson S1D13XXX framebuffer support                                              │ │
  │ │                < >   nVidia Framebuffer Support                                                      │ │
  │ │                < >   nVidia Riva support                                                             │ │
  │ │                < >   Intel LE80578 (Vermilion) support                                               │ │
  │ │                < >   Matrox acceleration                                                             │ │
  │ │                < >   ATI Radeon display support                                                      │ │
  │ │                < >   ATI Rage128 display support                                                     │ │
  │ │                < >   ATI Mach64 display support                                                      │ │
  │ │                < >   S3 Trio/Virge support                                                           │ │
  │ │                < >   SiS/XGI display support                                                         │ │
  │ │                < >   VIA UniChrome (Pro) and Chrome9 display support                                 │ │
  │ │                < >   NeoMagic display support                                                        │ │
  │ │                < >   IMG Kyro support                                                                │ │
  │ │                < >   3Dfx Banshee/Voodoo3/Voodoo5 display support                                    │ │
  │ │                < >   3Dfx Voodoo Graphics (sst1) support                                             │ │
  │ │                < >   VIA VT8623 support                                                              │ │
  │ │                < >   Trident/CyberXXX/CyberBlade support                                             │ │
  │ │                < >   ARK 2000PV support                                                              │ │
  │ │                < >   Fujitsu carmine frame buffer support                                            │ │
  │ │                < >   Toshiba Mobile IO FrameBuffer support                                           │ │
  │ │                < >   Silicon Motion SM501 framebuffer support                                        │ │
  │ │                <M>   SMSC UFX6000/7000 USB Framebuffer support                                       │ │
  │ │                < >   Displaylink USB Framebuffer support                                             │ │
  │ │                < >   Virtual Frame Buffer support (ONLY FOR TESTING!)                                │ │
  │ │                < >   E-Ink Metronome/8track controller support                                       │ │
  │ │                < >   Fujitsu MB862xx GDC support                                                     │ │
  │ │                < >   E-Ink Broadsheet/Epson S1D13521 controller support                              │ │

  ┌───────────────────────────────────── Console display driver support ─────────────────────────────────────┐
  ...
  │ ┌──────────────────────────────────────────────────────────────────────────────────────────────────────┐ │
  │ │                -*- VGA text console                                                                  │ │
  │ │                [*]   Enable Scrollback Buffer in System RAM                                          │ │
  │ │                (64)    Scrollback Buffer Size (in KB)                                                │ │
  │ │                {*} Framebuffer Console support                                                       │ │
  │ │                -*-   Map the console to the primary display device                                   │ │
  │ │                [*]   Framebuffer Console Rotation                                                    │ │
  │ │                [*] Select compiled-in fonts                                                          │ │
  │ │                [ ]   VGA 8x8 font                                                                    │ │
  │ │                -*-   VGA 8x16 font                                                                   │ │
  │ │                [ ]   Mac console 6x11 font (not supported by all drivers)                            │ │
  │ │                [ ]   console 7x14 font (not supported by all drivers)                                │ │
  │ │                [ ]   Pearl (old m68k) console 8x8 font                                               │ │
  │ │                [ ]   Acorn console 8x8 font                                                          │ │
  │ │                [ ]   Mini 4x6 font                                                                   │ │
  │ │                [ ] Sparc console 8x16 font                                                           │ │
  │ │                [ ] Sparc console 12x22 font (not supported by all drivers)                           │ │
  │ │                [ ] console 10x18 font (not supported by all drivers)                                 │ │

server

  ┌───────────────────────────────────── Console display driver support ─────────────────────────────────────┐
  ...
  │ ┌──────────────────────────────────────────────────────────────────────────────────────────────────────┐ │
  │ │                -*- VGA text console                                                                  │ │
  │ │                [ ]   Enable Scrollback Buffer in System RAM                                          │ │
  │ │                {*} Framebuffer Console support                                                       │ │
  │ │                -*-   Map the console to the primary display device                                   │ │
  │ │                [*]   Framebuffer Console Rotation                                                    │ │
  │ │                [*] Select compiled-in fonts                                                          │ │
  │ │                [ ]   VGA 8x8 font                                                                    │ │
  │ │                -*-   VGA 8x16 font                                                                   │ │
  │ │                [ ]   Mac console 6x11 font (not supported by all drivers)                            │ │
  │ │                [ ]   console 7x14 font (not supported by all drivers)                                │ │
  │ │                [ ]   Pearl (old m68k) console 8x8 font                                               │ │
  │ │                [ ]   Acorn console 8x8 font                                                          │ │
  │ │                [ ]   Mini 4x6 font                                                                   │ │
  │ │                [ ] Sparc console 8x16 font                                                           │ │
  │ │                [ ] Sparc console 12x22 font (not supported by all drivers)                           │ │
  │ │                [ ] console 10x18 font (not supported by all drivers)                                 │ │
  │ │                                                                                                      │ │

  ┌───────────────────────────────────────────── Device Drivers ─────────────────────────────────────────────┐
  ...
  │ ┌────────────────^(-)──────────────────────────────────────────────────────────────────────────────────┐ │
  │ │                <M> Sound card support  --->                                                          │ │
  │ │                [*] HID Devices  --->                                                                 │ │
  │ │                [*] USB support  --->                                                                 │ │
  │ │                < > Ultra Wideband devices (EXPERIMENTAL)  --->                                       │ │
  │ │                < > MMC/SD/SDIO card support  --->                                                    │ │
  │ │                < > Sony MemoryStick card support (EXPERIMENTAL)  --->                                │ │
  │ │                -*- LED Support  --->                                                                 │ │
  │ │                [ ] Accessibility support  --->                                                       │ │
  │ │                < > InfiniBand support  --->                                                          │ │
  │ │                [*] EDAC (Error Detection And Correction) reporting  --->                             │ │
  │ │                [*] Real Time Clock  --->                                                             │ │
  │ │                [*] DMA Engine support  --->                                                          │ │
  │ │                [ ] Auxiliary Display support  --->                                                   │ │
  │ │                {M} Userspace I/O drivers  --->                                                       │ │
  │ │                    Virtio drivers  --->                                                              │ │
  │ │                    Microsoft Hyper-V guest support  --->                                             │ │
  │ │                [ ] Staging drivers  --->                                                             │ │
  │ │                [*] X86 Platform Specific Device Drivers  --->                                        │ │
  │ │                    Hardware Spinlock drivers  --->                                                   │ │
  │ │                [*] IOMMU Hardware Support  --->                                                      │ │
  │ │                [ ] Virtualization drivers  --->                                                      │ │
  │ │                [*] Generic Dynamic Voltage and Frequency Scaling (DVFS) support  --->                │ │

  ┌────────────────────── Generic Dynamic Voltage and Frequency Scaling (DVFS) support ──────────────────────┐
  ...
  │ ┌──────────────────────────────────────────────────────────────────────────────────────────────────────┐ │
  │ │                --- Generic Dynamic Voltage and Frequency Scaling (DVFS) support                      │ │
  │ │                      *** DEVFREQ Governors ***                                                       │ │
  │ │                [*]   Simple Ondemand                                                                 │ │
  │ │                [*]   Performance                                                                     │ │
  │ │                [*]   Powersave                                                                       │ │
  │ │                [*]   Userspace                                                                       │ │
  │ │                      *** DEVFREQ Drivers ***                                                         │ │
  │ │                                                                                                      │ │
  ┌──────────────────────────────────────────── Library routines ────────────────────────────────────────────┐
  ...
  │ ┌──────────────────────────────────────────────────────────────────────────────────────────────────────┐ │
  │ │                {M} CRC-CCITT functions                                                               │ │
  │ │                {M} CRC16 functions                                                                   │ │
  │ │                <M> CRC calculation for the T10 Data Integrity Field                                  │ │
  │ │                {M} CRC ITU-T V.41 functions                                                          │ │
  │ │                -*- CRC32 functions                                                                   │ │
  │ │                <M> CRC7 functions                                                                    │ │
  │ │                {M} CRC32c (Castagnoli, et al) Cyclic Redundancy-Check                                │ │
  │ │                <M> CRC8 function                                                                     │ │
  │ │                -*- XZ decompression support                                                          │ │
  │ │                <M> XZ decompressor tester                                                            │ │
  │ │                [*] Averaging functions                                                               │ │
  │ │                <M> CORDIC algorithm                                                                  │ │
  │ │                                                                                                      │ │

  ┌───────────────────────────── Multiple devices driver support (RAID and LVM) ─────────────────────────────┐
  ...
  │ ┌──────────────────────────────────────────────────────────────────────────────────────────────────────┐ │
  │ │                --- Multiple devices driver support (RAID and LVM)                                    │ │
  │ │                <M>   RAID support                                                                    │ │
  │ │                <M>     Linear (append) mode                                                          │ │
  │ │                <M>     RAID-0 (striping) mode                                                        │ │
  │ │                <M>     RAID-1 (mirroring) mode                                                       │ │
  │ │                < >     RAID-10 (mirrored striping) mode                                              │ │
  │ │                <M>     RAID-4/RAID-5/RAID-6 mode                                                     │ │
  │ │                <M>     Multipath I/O support                                                         │ │
  │ │                <M>     Faulty test module for MD                                                     │ │
  │ │                <M>   Device mapper support                                                           │ │
  │ │                [ ]     Device mapper debugging support                                               │ │
  │ │                <M>     Crypt target support                                                          │ │
  │ │                <M>     Snapshot target                                                               │ │
  │ │                <M>     Mirror target                                                                 │ │
  │ │                <M>   Zero target                                                                     │ │
  │ │                <M>   Multipath target                                                                │ │
  │ │                < >     I/O Path Selector based on the number of in-flight I/Os                       │ │
  │ │                < >     I/O Path Selector based on the service time                                   │ │
  │ │                                                                                                      │ │

 ┌─────────────────────────────────────────── I2O device support ───────────────────────────────────────────┐
 ...
 │ ┌──────────────────────────────────────────────────────────────────────────────────────────────────────┐ │
 │ │                --- I2O device support                                                                │ │
 │ │                [*]   Enable LCT notification                                                         │ │
 │ │                [*]   Enable Adaptec extensions                                                       │ │
 │ │                [*]     Enable 64-bit DMA                                                             │ │
 │ │                <M>   I2O Configuration support                                                       │ │
 │ │                [ ]     Enable ioctls (OBSOLETE)                                                      │ │
 │ │                <M>   I2O Bus Adapter OSM                                                             │ │
 │ │                <M>   I2O Block OSM                                                                   │ │
 │ │                <M>   I2O SCSI OSM                                                                    │ │
 │ │                <M>   I2O /proc support                                                               │ │

How_to_configure_cpufreqd

Alternatives

Configure default browser to custom firefox installation

  • list:
update-alternatives --list www-browser
/usr/bin/lynx.cur
/usr/bin/w3m
  • install:
sudo update-alternatives --install /etc/alternatives/x-www-browser www-browser /opt/custom/firefox/firefox 1
[sudo] password for <user>:
update-alternatives: renaming www-browser link from /usr/bin/www-browser to /etc/alternatives/x-www-browser.
<user>@<host>:/home-lisa/emanoil$ update-alternatives --list www-browser
/opt/custom/firefox/firefox
/usr/bin/lynx.cur
/usr/bin/w3m
  • set:
sudo update-alternatives --set www-browser /opt/custom/firefox/firefox

Terminal

Size

For anyone that would like to find the terminal window size, which can also be important can use these commands:

Code:

 WIDTH=`tput cols`
 HEIGHT=`tput lines`

Disable nepomuk in KDE4

1. First you have to stop it:

 qdbus org.kde.NepomukServer /nepomukserver quit

2. Then disable nepomuk autostart:

 sudo mv /usr/share/autostart/nepomukserver.desktop /usr/share/autostart/nepomukserver.desktop.piece-of-crap

3. Remove nepomuk database:

 rm -rf .kde/share/apps/nepomuk

SAMBA PDC and Windows 7

http://wiki.ubuntuusers.de/Samba_Server_PDC

Custom kernel users should update sysctl

  • create file "/etc/sysctl.d/99-custom.conf" with following content
# https://www.debian.org/releases/jessie/amd64/release-notes/ch-whats-new.en.html#newdistro

fs.protected_symlinks = 1


  • execute
# sysctl -p /etc/sysctl.d/99-custom.conf



Citrix

http://packages.debian.org/wheezy/i386/libxp6/download

required

 ctxusb-2.2.0_amd64.deb
 ctxusb-2.2.0_i386.deb
 ctxusb_2.4.285639_amd64.deb
 icaclient_12.1.0_amd64.deb
 icaclient_13.1.0.285639_amd64.deb
 libmotif-common_2.3.4-4_all.deb
 libxm4_2.3.4-4_i386.deb
 nspluginwrapper_1.4.4-1_amd64.deb
 nspluginwrapper_1.4.4-2_amd64.deb
 nspluginwrapper_1.4.4-3_amd64.deb
 openmotif_2.3.1-2_amd64.deb