posted by Clinton De Young on Mon 3rd Mar 2003 03:07 UTC

"Configuring for sound, ext3 and burners"

CONFIGURING YOUR KERNEL FOR SOUND

Now that you have gone through the entire kernel once, let's go back and configure support for sound, journaling file systems, and CD burners. We will start with sound.

Click on the "Sound" button, which is the third button down in the third column (it may be in a different location if you are using a different version of the kernel, but it should be labeled "Sound" still). This will bring up the "Sound" window.

The first item on this window says, "Sound Card Support". You need to set this to 'Y'. Then, you need to select the correct sound card from the list of sound cards presented here. For example, I have a Sound Blaster Live! Value card. To enable support for this card, I want to set the "Creative SBLive! (EMU10K1)" option to 'Y'.

Another popular card is the "Creative Ensoniq AudioPCI 97 (ES1371)". If you aren't sure what card you have, or if your card is built into your motherboard, try setting this option to 'Y'. More often than not your sound card will work with this setting.

If you know which card you have, set the appropriate option to 'Y' and set everything else to 'N' (except for the first option, "Sound Card Support" of course). When you are done, click on the "Main Menu" button.

CONFIGURING DEBIAN TO SUPPORT CD BURNERS

Next, let's configure your machine to support a CD burner. Linux only supports SCSI CD burners, so if you have one, you should already be able to burn CDs under Linux. Most people, however, own IDE CD burners and by default these are not supported per se under Linux.

Fortunately, the Linux kernel can be configured to support your IDE CD burner through SCSI emulation. To set this up, we will need to go into a couple of different areas in the Linux Kernel Configuration utility.

The first area we need to configure is the "ATA/IDE/MFM/RLL Support" area. From the main configuration screen, click on the button labeled "ATA/IDE/MFM/RLL Support". This will bring up a Window with only two items on it. The second item is a button labeled "IDE, ATA and ATAPI Block Devices". Click on this to bring up a new window.

You should now be on the "IDE, ATA and ATAPI Block Devices" window. There are several different ways to configure your machine to support your IDE CD burner as a SCSI device, however, for the sake of simplicity; I have chosen to do it as described below.

First, you need to disable support in your kernel for IDE CD-ROM drives. Do this by setting the "Include IDE/ATAPI CDROM Support" option to 'N'.

Next, you need to enable SCSI emulation support by setting "SCSI Emulation" to 'Y'.

NOTE: For those who like to complain that I didn't do something a certain way that you happen to like, I know this may not the preferred way to add support for a CD burner, but it works and it is simple (after all, this article is geared towards new users). Once you are comfortable with configuring your kernel, feel free to add support for IDE CDROMs back into the kernel and specify which CDROM drives should be considered SCSI via the 'append="hdx=ide-scsi' in lilo.conf. I'm not going to cover that method in this article.

Click the 'OK' button to close this window, and then click on the "Main Menu" button of the "ATA/IDE/MFM/RLL Support" to close it as well. You should now be back at the main menu.

Next, click on the "SCSI Support" button on the main menu.

On the "SCSI Support" window, set the following options to 'Y':
SCSI Support
SCSI Disk Support
SCSI CD-ROM Support
SCSI Generic Support
Enable Extra Checks in New Queuing Code

Set everything else to 'N'.

NOTE: It is usually difficult for new users to track down SCSI issues, and you usually don't need to when you are only using SCSI emulation as we are here. If you would like to support SCSI error logging (for fun or because you are having a problem), then you can also enable the following options:

Verbose SCSI Error Reporting
SCSI Logging Facility

That's it. Click on the "Main Menu" button to close the SCSI window.

ENABLING SUPPORT FOR THE EXT3 FILE SYSTEM (YOU WANT TO DO THIS)

Finally, let's enable support for the EXT3 file system. There are other journaling file systems supported by the Linux kernel as well, such as JFS and ReiserFS, but I am only going to focus on EXT3 in this article. EXT3 is very stable and if something does go wrong, you already have the tools to work with and make corrections to the file system since it is compatible with the standard EXT2 filesystem.

To enable EXT3 support, from the main configuration window, click on the "File Systems" button. This will bring up the File Systems window. Scroll down to the "EXT3 Jounaling File System Support" option and set it to 'Y'. Leave everything else on this window at its default (unless there are other filesystems you want to use; such as vfat, which allows you to mount Windows FAT32 partitions).

When you set the "EXT3 Jounaling File System Support" option to 'Y', the item right below in, EXT3 debugging, will become enabled. Leave it at the default 'N'.

The sound and SCSI support are now configured for us (well, except for changing the /dev/cdrom device to point to the right place, which we'll do later), but we are not quite finished with the EXT3 support yet. However, we must compile the kernel before going on with those tasks.

Click the "Main Menu" button to close this window.

Table of contents
  1. "Intro, Downloading the kernel"
  2. "Step by Step Kernel building, requirements"
  3. "Configuring the kernel"
  4. "Configuring for sound, ext3 and burners"
  5. "Compilation, Installing the kernel"
  6. "ext3 journaling, troubleshooting, conclusion"
e p (0)    59 Comment(s)

Technology White Papers

See More