Linux-1U Features

Linux-1U Chassis

Linux-1U Systems

Linux-1U Comparason

Linux-1U LCD FrontPanels

IDE vs SCSI
CPU Specs
Memory Specs


Store-Testing

24x7 Server Admin

FREE 1U Systems

Other 1U Systems

1U Power Supplies
1U MotherBoard
1U Riser Cards
HeatSinks/Fans
BarCodes
1U Misc Parts

Racks-n-Cabinets
SerialConsole
KVM

InstallationSupport

DiagnosticTesting
Tuning-Optimization


About/Contact Us

LegalInfo


1U Rackmount Chassis

Custom-Chassis.com

Linux-1U.net

1U-ITX.net


ITX-Blades.net


Small PC cases

Mini-Box.net

Wrap-Box.net

Wrap-OS.net


Wan-Sim.net



Linux-Consulting.com

Linux-CAE.net

Linux-Sec.net

Linux-Boot.net

Linux-Backup.net

Linux-Wireless.org

Linux-Office.net

Linux-Video.net

Linux-VOIP.net

Linux-Jobs.net

Linux-Diff.net

1U-Raid5.net

Linux-Howto.net


Spam Reporting



Free Linux CDs

ISO9660.org

Distro-CD.org

Patch-CD.org



Linux-Distributions






















Contact



Linux is a registered trademark of
Linus Torvalds

More Linux Legalese


Linux-1U.net/CDRW


Supported CDRW Drives


CDRW Apps


CDRW Howto


Kernel Config Options


CDRW Modules


Lilo/Grub Boot Options

Writing a CDRW


Standalone Bootable CDROM


Testing Your CDROM



Kernel Options

Sample Kernel Config File

Kernel Config Options

  • NOTE: if you use modules, you will need a corresponding initrd for these kernel options

  • Make sure each of these kernel options is defined ( =y or =m )

      egrep -i "BLK_DEV_LOOP|BLK_DEV_RAM|BLK_DEV_RAM_SIZE" /usr/local/src/linux-2.4.22/.config | grep -v ^#

      egrep -i "CONFIG_BLK_DEV_S|CONFIG_BLK_DEV_IDECD|BLK_DEV_IDESCSI" /usr/local/src/linux-2.4.22/.config | grep -v ^#

      egrep -i "CONFIG_SCSI|CONFIG_BLK_DEV_SR|CONFIG_BLK_DEV_SG" /usr/local/src/linux-2.4.22/.config | grep -v ^#

      egrep -i "CONFIG_MINIX_FS|CONFIG_JOLIET|CONFIG_ISO9660_FS" /usr/local/src/linux-2.4.22/.config | grep -v ^#

  • Kernel Options
Module Name Description
    Block Section:
    CONFIG_BLK_DEV_LOOP=m
loop LoopBack device
    CONFIG_BLK_DEV_RAM=m
    CONFIG_BLK_DEV_RAM_SIZE=16384
rd RAM Disk

    ATA/IDE Section:
    CONFIG_BLK_DEV_???=m
cdrom mounting cdrw
    CONFIG_BLK_DEV_IDECD=m
ide-cd IDE CDROM
    CONFIG_BLK_DEV_IDESCSI=m
ide-scsi SCSI Emulation

    SCSI Section:
    CONFIG_SCSI=m
scsi_mod SCSI
    CONFIG_BLK_DEV_SR=m
sr_mod SCSI CDROM
    CONFIG_CHR_DEV_SG=m
sg SCSI Generic
( /dev/sg* )

    FileSys Section:
    CONFIG_ISO9660_FS=y
isofs ISO9660 CDROM
    CONFIG_JOLIET=y
joliet MS Joliet
    CONFIG_MINIX_FS=m
minix Minix

Devices

  • Make sure you have the proper device drivers
    • ls -la /dev/loop /dev/loop?
    • ls -la /dev/ram /dev/ram?
    • ls -la /dev/sg /dev/sg?
    • ls -la /dev/pg /dev/pg?

    • Create the Missing device drivers
      • cd /dev ; ./MAKEDEV loop ; ./MAKEDEV sg ; ./MAKEDEV ram
      • cd /dev ; for i in 0 1 2 3 4 5 6 7; do mknod loop$i b 7 $i; done
      • cd /dev ; for i in 0 1 2 3 4 5 6 7; do mknod sg$i c 21 $i; done
      • cd /dev ; for i in 0 1 2 3 4 5 6 7; do mknod ram$i c 1 $i; done

  • cat /proc/devices
    Character devices:
1 mem
2 pty
21 sg <----- "SCSI Generic device"
    Block devices:
2 fd
7 loop <----- we even can use the loop-devices
8 sd
11 sr <----- "SCSI CDROM"

  • lsmod
sg 32556 0 (autoclean)
sr_mod 16152 0
ide-scsi 10576 0
scsi_mod 72564 2 [sg ide-scsi]
cdrom 34144 0 (unused)



Copyright © 2000
Linux-1U
All Rights Reserved.
Updated: Sat Feb 5 19:23:05 2005 PDT