LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-11-2006, 03:11 PM   #1
douglashoglan
LQ Newbie
 
Registered: Apr 2006
Posts: 6

Rep: Reputation: 0
THIS IS EASY. Help w/ terminology and driver/module


OK, I am a newbie. Here's the deal. I have a RedHat 4 EL system with a Symbios SCSI card not being recognized.

1.) I type uname -r and get: 2.6.9-34.EL
2.) in the /usr/src/kernels/2.6.9-34.EL-i686/.config file : #CONFIG_SCSI_SYM53C416 is not set. This is a autogenerated file.
3.) There is a sym53c416.h file in /usr/src/kernels/2.6.9-34.EL-i686/include/config/scsi directory when I cat it out it reads: #undef CONFIG_SCSI_SYM53C416

Now the questions:

A.) How do I get the card to be recognized? The sym53c416.h file doesn't seem to be a driver file to me. Do I need to compile a module, a kernel, what?
 
Old 05-11-2006, 04:12 PM   #2
drkstr
Senior Member
 
Registered: Feb 2006
Location: Seattle, WA: USA
Distribution: Slackware 11.0
Posts: 1,191

Rep: Reputation: 45
recompile the kernel from the source with the appropriate support for your hardware.

regards,
...drkstr
 
Old 05-11-2006, 06:11 PM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,125

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
Can be either compiled into the kernel or as a module, as (in this case) you don't appear to need it to boot. My preference is always to include support for my specific hardware, just in case.
Don't know if you even get the source with RHEL - best to try looking in the Redhat forum for some info/howtos. There will be a fair sized patchset for EL I would think, so just pulling a kernel from kernel.org is unlikely to fit the bill.
 
Old 05-11-2006, 06:56 PM   #4
douglashoglan
LQ Newbie
 
Registered: Apr 2006
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by drkstr
recompile the kernel from the source with the appropriate support for your hardware.

regards,
...drkstr

OK, thank you. How do you tell it which ones to include?
 
Old 05-11-2006, 06:59 PM   #5
douglashoglan
LQ Newbie
 
Registered: Apr 2006
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by syg00
Can be either compiled into the kernel or as a module, as (in this case) you don't appear to need it to boot. My preference is always to include support for my specific hardware, just in case.
Don't know if you even get the source with RHEL - best to try looking in the Redhat forum for some info/howtos. There will be a fair sized patchset for EL I would think, so just pulling a kernel from kernel.org is unlikely to fit the bill.

OK, you are correct the card is for a HP ScanJet 4 scanner, so I don't need it for hard drive boot. How do I build a module? Thank you. I will continue to look in that forum. I scanned it earlier and went through Newbie, and Tutorials-hardware as well.
 
Old 05-11-2006, 07:25 PM   #6
drkstr
Senior Member
 
Registered: Feb 2006
Location: Seattle, WA: USA
Distribution: Slackware 11.0
Posts: 1,191

Rep: Reputation: 45
I belive this device should be auto detected if you have scsi and usb support in the >= 2.4.12 kernel, along with the correct device driver set. You will need this patch for the later Once the source is patched, just go through the kernel config options until you see see the device you need to activate and compile it as a module.

When you get your kernel configured, do 'cat /proc/scsi/scsi' to see if it was detected
Code:
Attached devices: 
Host: scsi0 Channel: 00 Id: 00 Lun: 00
  Vendor: HP       Model: ScanJet 5300C    Rev: 4.00
  Type:   Scanner                          ANSI SCSI revision: 02
If not, please post the output.

regards,
...drkstr
 
Old 05-11-2006, 07:51 PM   #7
douglashoglan
LQ Newbie
 
Registered: Apr 2006
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by drkstr
I belive this device should be auto detected if you have scsi and usb support in the >= 2.4.12 kernel, along with the correct device driver set. You will need this patch for the later Once the source is patched, just go through the kernel config options until you see see the device you need to activate and compile it as a module.

When you get your kernel configured, do 'cat /proc/scsi/scsi' to see if it was detected
Code:
Attached devices: 
Host: scsi0 Channel: 00 Id: 00 Lun: 00
  Vendor: HP       Model: ScanJet 5300C    Rev: 4.00
  Type:   Scanner                          ANSI SCSI revision: 02
If not, please post the output.

regards,
...drkstr

OK, I am a hopeless Windows case. My vers. is 2.6.9-34.EL so I meet your first criteria. Where do I look for the correct device driver set or activate it? What tool do I use to compile a module? I saw something about make module. The guides for RHEL 4 don't even have anything for compile in them, I looked. I have a RHN subsription too.

-Doug
 
Old 05-11-2006, 07:56 PM   #8
cs-cam
Senior Member
 
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,545

Rep: Reputation: 57
Quote:
Code:
#CONFIG_SCSI_SYM53C416 is not set
Take that line, edit it to say this:
Code:
CONFIG_SCSI_SYM53C416=y
and then in that directory, type 'make' then 'make modules_install' and you should be done. modprobe <module name> and scan away.
 
Old 05-11-2006, 08:17 PM   #9
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,125

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
Sorry,been out walking the mutts.
"=m" maybe if you merely want it as a module ???.
 
Old 05-11-2006, 08:34 PM   #10
douglashoglan
LQ Newbie
 
Registered: Apr 2006
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by syg00
Sorry,been out walking the mutts.
"=m" maybe if you merely want it as a module ???.

I thought that you weren't supposed to modify the .config file, that it was generated automatically. I am confused, I really like Linux, I find it challenging and new ( i know not really new.). Windows was getting old.

Thank you for hanging in there with me. Well I did try to get to run make and then make install_modules, but got errors. Rebooted, mouse failed, so I went and used my 2.6.9-5.EL load. Back to square one.


I know this just comes down to placing driver files in the right location, having the drivers load, and making a module, then calling that module. I just need it in baby steps.

Sorry.
 
Old 05-11-2006, 09:01 PM   #11
cs-cam
Senior Member
 
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,545

Rep: Reputation: 57
Quote:
Originally Posted by syg00
Sorry,been out walking the mutts.
"=m" maybe if you merely want it as a module ???.
Heh, uhhh yeah... that'd be the one I was thinking about

If you're having difficulty with the new kernel, try checking the output of dmesg and look for anything that strikes you as wrong. You don't need to be a guru for the word error or failed to mean bad things
 
Old 05-11-2006, 09:03 PM   #12
douglashoglan
LQ Newbie
 
Registered: Apr 2006
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by cs-cam
Heh, uhhh yeah... that'd be the one I was thinking about

If you're having difficulty with the new kernel, try checking the output of dmesg and look for anything that strikes you as wrong. You don't need to be a guru for the word error or failed to mean bad things

OK make menuconfig is a kewl tool. I'll tinker some more. Have a great evening!!! Thanks all!!!!!
 
Old 05-12-2006, 03:21 AM   #13
drkstr
Senior Member
 
Registered: Feb 2006
Location: Seattle, WA: USA
Distribution: Slackware 11.0
Posts: 1,191

Rep: Reputation: 45
Quote:
and then in that directory, type 'make' then 'make modules_install' and you should be done. modprobe <module name> and scan away.
I have always compiled with 'make && make modules && make modules_install && make install', or if I am just adding new modules; 'make modules && make modules_install'. Does 'make modules' get included in the first make command? There is no reason to be redundant, should I just leave that part out from now on?

regards,
...drkstr
 
Old 05-12-2006, 05:16 PM   #14
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,125

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
For 2.6 kernels, for a full install all that is required is "make && make modules_install".
 
Old 05-12-2006, 05:34 PM   #15
drkstr
Senior Member
 
Registered: Feb 2006
Location: Seattle, WA: USA
Distribution: Slackware 11.0
Posts: 1,191

Rep: Reputation: 45
Thanks for the info, I guess I'm behind the times

regards,
...drkstr
 
  


Reply

Tags
modules, scsi



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
snmp terminology alaios Linux - Networking 8 09-10-2005 06:40 PM
Wireless (working module, just need a lil' help, should be easy) Dark Carnival Linux - Laptop and Netbook 11 06-22-2005 06:11 PM
OpenGL terminology question shilo Slackware 6 03-02-2005 08:00 PM
Linux terminology hernan Linux - Newbie 3 01-14-2005 04:22 PM
Understanding terminology digantk Linux - General 9 10-18-2002 06:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:39 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration