Click to See Complete Forum and Search --> : Kernel Config


aaron
01-24-2002, 11:50 AM
Hello,
I'm attempting to setup an IDE CDRW under linux. I'm working my way through the Howto at www.linuxdocs.org (http://www.linuxdocs.org) and they state that I need IDE-SCSI either compiled into the kernel or loaded as a module.

Is there a way for me to view how my current kernel is configured? It is the out-of-the-box kernel, so I have no idea whats in it.

Thanks!

Aaron

demetrius
01-24-2002, 12:03 PM
Look in /usr/src/linux/ for a file called .config which should be the configuration file for your current kernel. The items maked 'y' are in the kernel, those with a 'm' are modules.

Alex Cavnar, aka alc6379
01-24-2002, 12:27 PM
Actually, That file won't be there if that's your kernel from your initial install... Your best bet would be to go ahead and compile a new kernel with IDE-SCSI support.

Choozo
01-24-2002, 03:46 PM
Depending on which distro/version you installed, the IDE CD-RW should already be set up to run (provided the CD-RW unit was physically attached to your box at installtime).... or 'kudzu' might detect it and configure it if attached later on? (if your distro have 'kudzu'?)

Mandrake 7.2 and up does that anyways.

Cheers :)

X_console
01-24-2002, 09:44 PM
Try looking around in your / directory. In Slackware, the config file is in /boot.

toolshed
01-25-2002, 10:59 AM
tyr just appeniding to boot parameters...and see what happens...hdx=ide-scsi

scsi emulation of ide to whatever device as in hdx x as the cd drive letter

[ 25 January 2002: Message edited by: toolshed ]

7
01-25-2002, 11:10 AM
It's unlikely that your cdr was set up for you, but you never know, all the bells and whistles these user-friendly distros have...
Try:
cdrecord -scanbus

If you see your drive, then you've got SCSI emulation setup okay. If not, then the easiest way to get it setup, without ****ing on with modules and kernel arguments is to:

Turn off IDE CDROM support, turn on scsi emulation on the same menu screen and turn on SCSI CDROM support under the SCSI menu. You _do not need_ the emulation option under the SCSI menu.

Then install the kernel.


Oh yeah, the drives will then be attached to srX. Mine are on sr0 and sr1. I've read that sometimes they are attached to sgX... a dmesg | grep scsi will show you.

[ 25 January 2002: Message edited by: 7 ]