next up previous contents
Next: B. CD Labels Up: Sidious Linux 10.04 Previous: 13. Information for   Contents

A. Technical Information


Subsections

A..1 Locations of configuration files

A..2 Details of how Sidious boots

There are four ways that Sidious Linux can boot. All use the same init=/etc/initrc Bourne shell script as the starting point after the kernel is loaded.

A..2.1 kernel-root

When the root filesystem is a type supported by the Sidious kernel (without modules), then it can be the filesystem mounted by the kernel as root. Currently, support is built-in for:

Additionally, the `` -smp'' kernel supports NFS and XFS. (The standard kernel cannot mount XFS directly and must load XFS from a module.)

This method of booting is best suited for configurations with low memory and/or low disk space. It is configured by running LILO with the right root= option, and no initrd option. /etc/initrc detects that mode 1 is being used by seeing that the root file system is not a RAM disk. If it is a RAM disk, then one of the other two boot methods is being used:

A..2.2 pivot-root

For laptops, there are problems with the first booting method, which can be solved by using an initial RAM disk (initrd) as the original root filesystem mounted by the kernel. A script inside the the initial RAM disk (/etc/initrc) then loads kernel support for the desired root filesystem and mounts it for you. This is described in /usr/src/linux/Documentation/initrd.txt. The advantages are:

A..2.3 initrd-root

Similar to pivot-root, except the root filesystem stays the initial RAM disk. If the /etc/initrc script finds no suitable root partition, it drops to an interactive bash shell. This is usually used for installation or rescue floppies.

A..2.4 nfs-root

If the "NFS-Root Server" option is enabled on another Sidious host, any number of disk-less clients on the same subnet can boot sharing the same root filesystem as the server. The boot procedure follows these steps:

A..2.5 Detailed sequence for pivot-root method

  1. The PC BIOS loads LILO from one of three places: Modern PC BIOSes support all three of these modes.

  2. LILO loads and executes the secondary boot loader. The location on the filesystem at lilo-install time is: /boot/boot.b

  3. LILO maps an EXT2 ramdisk image (compressed for floppies). The location on the filesystem at lilo-install time is: /boot/kernel-sidious.initrd

    This image contains modules for several kernel versions at once. It must contain XFS modules if they are not part of the kernel. The other important thing on this image is the /etc/sidious.config file which contains SIDIOUS_ROOT*.

  4. LILO maps a modular kernel and boots the kernel. The location on the filesystem at install time is: /boot/kernel-2.4.xxx

  5. Kernel uncompresses itself and boots.

  6. Kernel starts built-in drivers, EXT2 and initrd must be supported.

  7. Kernel copies the mapped version of /boot/initrd.img -> /dev/rd/0, automatically uncompressing it if needed.

  8. Kernel frees original copy of initrd and mounts /dev/rd/0 as root.

  9. Kernel starts ``init'', process ID 1. As specified by LILO, this is the sh script /etc/initrc located inside the RAM disk.

  10. /etc/initrc reads configuration from /etc/sidious.config. This is the central point for most settings in Sidious Linux. The reconfig utility provides an easy way to change settings inside this file.

  11. /etc/initrc starts the devfsd, which manages the /dev/ directory and creates links with conventional names for Linux devices, like `` /dev/hda1'' for the first hard disk partition.

  12. /etc/initrc looks for the real root partition and mounts it on /new-root.

  13. /etc/initrc then uses the ``pivot_root'' system call to make /new-root the new "/" and the original root directory becomes "/initrd/".

  14. /etc/initrc looks for the /boot/kernel-sidious.initrd file, and if it is uncompressed and the loop driver is supported in the Kernel, then it unmounts /dev/rd/0 from /initrd and mounts the initrd file on /initrd. /dev/rd/0 originally came from the initrd, so the contents are still the same, but changes to sidious.config (which lives inside initrd) and other files in /initrd/ will be remembered on reboot. (NOTE: This is now pretty useless, because all of the settings that a user would want to change are now in /etc/sidious.config, not /initrc/etc/sidious.config which only affects the very early booting steps.)

  15. /sbin/init is run by /etc/initrc. init is configured by /etc/inittab.

A..2.6 Booting Bugs

A..3 BIOS Settings for specific machines

In general, if a machine has a ``Plug-and-Play OS'' option in its BIOS menu, this should be turned off. Windows should work fine either way, and Linux will have a better chance of booting with all your peripherals correctly configured if you turn this OFF.

A..3.1 BIOS Settings for Dell Precision 210s and 410s


Time: and Date: (set clock to UNIVERSAL TIME ... try "date -u")

Diskette Drive A:   3.5 inch, 1.44 MB
Diskette Drive B:     Not Installed

Drives:
Primary   Type Cyls Hds  Pre   LZ Sec Size
 Drive 0: Auto (only if present, otherwise machine boots slowly!)
 Drive 1: Auto (only if present, otherwise machine boots slowly!)
Secondary
 Drive 0: Auto (only if present, otherwise machine boots slowly!)
 Drive 1: Auto (only if present, otherwise machine boots slowly!)

  Reserved Memory:        None
        CPU Speed:       XXX MHz
         Num Lock:        On
             ACPI:        Off
Chassis Intrusion:    Not Detected
Thermal Power-off:      Enabled
  Video DAC Snoop:        Off

  Keyboard Errors:    Do Not Report (otherwise won't boot w/o keyboard)
  System Password:     Not Enabled
  Password Status:      Unlocked
    Boot Sequence:   Device List (press Ctrl + -> to edit list)
                              Diskette Drive A:
                              PXE (if it is there at all, put it here.)
                              CD-ROM device
                              Hard drive C:
   Setup Password:     Not Enabled
    Auto Power On:    Disabled  00:00
 Power Management:      Disabled
    Wakeup On LAN:       Off

            Sound:       On
              NIC:       On (Don't select On/PXE off or netboot won't work!)
            Mouse:       On
    Serial Port 1:       Auto
    Serial Port 2:       Auto
    Parallel Port:       378h
    Parallel Mode:       PS/2
    IDE Hard Disk:       Auto
         Diskette:       Auto
          Speaker:       On
(not on 210s)SCSI: Primary & Secondary (Slows booting, but won't hurt)

A..3.2 BIOS Settings for Dell Precision 610s and 420s


System Time ....................................... (Set to UTC "date -u")
System Date ....................................... (Set to UTC "date -u")

Diskette Drive A: ................................. 3.5 inch, 1.44 MB
(except for the fundware machine, which is "Not Installed")
Diskette Drive B: ................................. Not Installed
Zip Floppy Support ................................ Disabled

Primary Drive 0 ................................... Auto
Primary Drive 1 ................................... Auto or OFF
Secondary Drive 0 ................................. Auto or OFF
Secondary Drive 1 ................................. Auto or OFF


Boot Sequence ..................................... (Press enter ->)
    1. Diskette drive (if present)
    2. CD-ROM device
    3. Hard drive C:

System Memory ..................................... (Whatever it says)
CPU Information ................................... (Press enter ->)
                     CPU Speed .................... Normal

Integrated Devices ................................ (Press enter ->)
                     Sound ........................ On
                     Network Interfae Controller... On
                     SCSI Controllers.............. On
                     Mouse Port.................... On
                     USB Emulation................. Off
                     Serial Port 1................. Auto
                     Serial Port 2................. Auto
                     Parallel Port................. (Press enter again! ->)
                                Mode............... PS/2
                                I/O Address........ 378h
                     IDE Interface................. Auto
                     Diskette Interface............ Auto
                     PC Speaker.................... On
                     Primary Video Controller...... AGP
                     Video DAC Snoop............... Off
PCI IRQ Assignment (Yikes!) ....................... (Don't mess with this)
System Security ................................... (Don't enable this)

Keyboard NumLock .................................. On
Report Keyboard Errors ............................ Do Not Report

Auto Power On ..................................... Disabled
Remote Wake Up .................................... Off
AC Power Recovery ................................. Last

A..4 I-Opener stuff

A..4.1 I-Opener CPU core voltage settings

Look for ``SW4'' on the motherboard next to the CPU socket.


pos:
  2  1  V
 ---------
  0  0  2.0
  0  1  2.2
  1  0  2.6
  1  1  2.8

When upgrading from a Rise MP6 (2.8V core) to AMD K6-III (2.2V core) you need to flip SW4 position 2 to the other side. Then boot immediately into the BIOS setup and double that it is reporting the correct voltage for your CPU before allowing the machine to run for extended periods!

A..4.2 I-Opener BIOS settings


STANDARD CMOS SETUP

  Date: (Preferably, set these to Universal Time (UTC)
  Time:  othwerise see the CMOS_CLOCK setting in sidious.conf)

  Drive C : Auto ... ... Auto
  Drive D : Auto ... ... Auto
  Drive A : None
  Drive B : None
  Video   : EGA/VGA
  Halt on : All, but Keyboard

BIOS FEATURES SETUP

  Virus Warning           : Disabled
  CPU Internal Cache      : Enabled
  External Cache          : Disabled
  Quick Power On          : Disabled
  Boot Sequence           : C only
  Swap Floppy Drive       : Disabled
  Boot Up Floppy Seek     : Disabled
  Boot Up NumLock Status  : Off
  Gate A20 Option         : Fast
  Memory Parity/ECC Check : Disabled
  Typematic Rate Setting  : Disabled
                 Rate     : 6
                 Delay    : 250
  Security Option         : Setup
  PCI/VGA Palette Snoop   : Disabled
  OS Select for DRAM>64MB : Non-OS2
  All Shadow Settings     :*Disabled*

CHIPSET FEATURES SETUP

  DRAM Timing             : SDRAM 10ns
  SDRAM Cycle Length      :*2*
  DRAM Read Pipeline      : Enabled
  Sustained 3T Write      : Enabled
  Cache R/WPU W Pipeline  : Enabled
  CPU Timing              : Fast
  Video BIOS Cacheable    : Enabled
  System BIOS Cacheable   : Enabled
  Memory Hole             : Disabled
  Init Display First      : PCI Slot
  Framebuffer Size        : 8MB
  AGP Aperture Size       : 64MB
  OnChip USB              : Enabled
  USB Keyboard Support    : Disabled

POWER MANAGEMENT SETUP

  Power Management        : User Define
  PM Control by APM       :*Yes*
  Video Off method        :*DPMS*
  Video Off After         :*NA*
  Modem IRQ               : 3
  Doze Mode               :*Disable*
  Suspend Mode            :*Disable* (breaks pegasus driver)
  HDD Power Down          : 4 Min
  Soft-Off by PWRTBTN     : Instant-Off
  PWRON After PW-Fail     : Former-Sts
     ** PM Events **
  VGA                     : OFF
  LPT & COM               : NONE
  HDD & FDD               : OFF
  PCI Master              : OFF
  RTC Alarm Resume        : Disabled
  Modem Ring Resume       : Disabled
  Primary INTR            : OFF
( IRQ3 ... IRQ15          : P P P D P D S S S P P P D ... not displayed)

PNP/PCI CONFIGURATION

  Resources Controller by : Auto
  Reset Config Data       : Disabled

  CPU to PCI Write Buffer : Enabled
  PCI Dynamic Bursting    : Enabled
  PCI Master 0 WS Write   : Enabled
  PCI Delay Transaction   : Enabled
  PCI#2 Access #1 Retry   : Enabled
  AGP Master 1 WS Write   : Enabled
  AGP Master 1 WS Read    : Disabled

  Assign IRQ For USB      : Enabled
  Assign IRQ For VGA      : Enabled

INTEGRATED PERIPHERALS

  OnChip IDE Channel0     : Enabled
  IDE Prefetch Mode       : Enabled
  IDE HDD Block Mode      : Enabled
  Primary Master PIO      : Auto
  Primary Slave PIO       : Auto

  Onboard FDD Controller  : Disabled
  Onboard Serial Port 1   : Auto
  Onboard Serial Port 2   : Auto
  UART 2 Mode             : Standard

  Onboard Parallel Port   : 378/IRQ7
  Onboard Parallel Mode   : Normal (not optimal?)

A..4.3 I-Opener Keyboard mappings

Key symbols for loadkeys from the I-Opener keyboard.


59-68 Back -> Print
87 Hangup
88 Home
127 Blank Key
125 Pizza
110 Prev
107 Next
102 Help
111 Delete
104 PgUp
109 PgDn


A..5 Detailed Changes for Sidious 9.x

Read the ``Release Notes'' for a higher-level view of what's different.

Changes in Sidious 9.39

Changes in Sidious 9.38d

Changes in Sidious 9.38c

Changes in Sidious 9.38

Changes in Sidious 9.36

Changes in 9.35 for Laptops:

Changes in Sidious 9.32

Changes in Sidious 9.30

Changes in Sidious 9.28

Changes in Sidious 9.26

Changes in Sidious 9.24

Changes in Sidious 9.22

Changes in Sidious 9.20

Changes in Sidious 9.19

Changes in Sidious 9.18

Changes in Sidious 9.16

Changes in Sidious 9.15

Changes in Sidious 9.14

Changes in Sidious 9.13

Changes in Sidious 9.12

Changes in Sidious 9.11

Changes in Sidious 9.10

Changes in Sidious-9.9

Changes in Sidious-9.8

Changes in Sidious 9.7

Changes in Sidious 9.6

Changes in Sidious 9.5

Changes in Sidious 9.4

Changes in Sidious 9.3

Changes in Sidious 9.2

Changes in Sidious 9.1

Changes in Sidious 9.0 (libc6, a few programs are still libc5)

A..6 Detailed Changes for Sidious 8.x

Changes in Sidious 8.38e

Changes in Sidious 8.38

Changes in Sidious 8.36d

Changes in Sidious 8.36c

Changes in Sidious 8.36a

Changes in Sidious 8.36

Changes in Sidious 8.35

Changes in Sidious 8.34

Changes in Sidious 8.29

Changes in Sidious 8.26

Changes in Sidious 8.18

Changes in Sidious 8.17

Changes in Sidious 8.15

Changes in Sidious 8.13

Changes in Sidious 8.12

Changes in Sidious 8.11

Changes in Sidious 8.7

Changes in Sidious 8.6

Changes in Sidious 8.5

Changes in Sidious 8.4

Changes in Sidious 8.3 (libc5, except for aviplay)

Changes in Sidious 8.2

Changes in Sidious 8.1

Changes in Sidious 8.0

Changes in Sidious 7.2

Changes in Sidious 7.1

Changes in Sidious 7.0

Changes in Sidious 6.0


next up previous contents
Next: B. CD Labels Up: Sidious Linux 10.04 Previous: 13. Information for   Contents
root
2006-05-11