LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-16-2003, 10:34 AM   #16
smokybobo
LQ Newbie
 
Registered: Feb 2003
Posts: 29

Rep: Reputation: 15

Quote:
Originally posted by zigmund555
Using the ide-scsci because I thought that was required for CD-RWs to burn.
Yup, I still use ide-scsi, but mostly because I've been too lazy to go grab a new cdrecord version which handles ATAPI burners. With the 2.6 series kernel, provided userspace programs eventually support it, it should no longer be necessary to go with scsi emulation for ATAPI burners
 
Old 10-16-2003, 12:20 PM   #17
zigmund555
Member
 
Registered: Sep 2003
Location: Maryland
Distribution: Slackware -current
Posts: 87

Original Poster
Rep: Reputation: 15
Ok. Here's some updates:

The EXTRA VERSION in the makefile is set as -test7 by default. Should I change that?

I'm running module_init_tools 0.9.14 do I need to update?

compiler info - running gcc -v gave me:

--prefix=/usr --enable-shared --enable-threads=posix --enable-_cxa_atexit --disable-checking --with-gnu-ld --verbose --target=i486-slackware-linux --host=i486-slackware-linux
thread model: posix
gcc version 3.2.3

An example error cause during make_modules:

drivers/char/sx.c: In function 'sx_open':
drivers/char/sx.c: 1423: structure has no member named 'tty'
make [2]: *** [drivers/char/sx.o] Error 1
make [1]: *** [drivers/char] Error 2
make: *** [drivers] Error 2

and brings me back to root prompt. I always get this particular error. Some other modules give me errors but it is sporadic.
 
Old 10-17-2003, 07:25 PM   #18
smokybobo
LQ Newbie
 
Registered: Feb 2003
Posts: 29

Rep: Reputation: 15
Quote:
Originally posted by zigmund555
Ok. Here's some updates:

The EXTRA VERSION in the makefile is set as -test7 by default. Should I change that?
Well, if you already have a working -test7 kernel you want to keep, you'd probably want to change it so you don't mess around with a working kernel's sources. Otherwise, I wouldn't think it matters.

Quote:
Originally posted by zigmund555
I'm running module_init_tools 0.9.14 do I need to update?
That should be fine.

Quote:
Originally posted by zigmund555
An example error cause during make_modules:

drivers/char/sx.c: In function 'sx_open':
drivers/char/sx.c: 1423: structure has no member named 'tty'
make [2]: *** [drivers/char/sx.o] Error 1
make [1]: *** [drivers/char] Error 2
make: *** [drivers] Error 2

and brings me back to root prompt. I always get this particular error. Some other modules give me errors but it is sporadic.
Okay, the reason I don't get this error on my system is because I don't need that particular driver. Just FYI, 'sx' is the module for this driver: "Specialix SX (and SI) card support", and in menuconfig for -test7 kernel this is found in 'Device Drivers --> Character devices --> Non-standard serial port support'. Now, if you absolutely need this module, then you're probably out of luck for the -test7 kernel; you might want to try earlier kernels or wait for the next release, or you could try reading '/usr/src/linux/Documentation/sx.txt' and see if any information there might help. If you don't need it, then just remove the setting.

In general, when dealing with kernel compile errors, you can usually track down the corresponding module/option by looking at the error. As an example, if you were looking at the above error, you can narrow your search field down to some setting in the character devices section. For confirmation, if you're sure the particular driver was compilable in a previous kernel version, you can look for the module in '/lib/modules/kernelversion' and look at the path to the module for additional hints. Opening up the referenced source file (sx.c in the error above and the corresponding sx.h), you can read the first few lines of comments to hopefully find out the function of that particular module which may narrow down your search even further. In the above example, sx.h and sx.c specified it was a serial driver of some sort. All that is left to do is look at the help screens for any and all related serial options until you've found the source of your problem.

A good rule of thumb, though, unless you're setting up usermode-linux enabled kernel, any errors in the kernel compile process at all will usually mean something will not work or will not work properly. And even setting up usermode-linux, the only "normal" errors that is apparently perfectly harmless are module dependency errors when issuing 'make modules_install'.


Last edited by smokybobo; 10-17-2003 at 07:35 PM.
 
  


Reply



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
How to start kernel? paschim Linux - Software 6 10-10-2004 06:42 PM
Slackware kernel and lilo (i screwed up) jmonolith2001 Slackware - Installation 4 04-26-2004 10:49 PM
New kernel won't start TazG Debian 9 04-22-2004 06:07 PM
Various Problems After Kernel Recompile - Keyboard Screwed, "Illegal Instructions"... johnleemk Linux - General 0 02-04-2004 11:33 PM
Blast, I screwed my kernel up Darktyco Slackware 8 12-25-2003 01:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:59 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