LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   driver problem (https://www.linuxquestions.org/questions/linux-newbie-8/driver-problem-147676/)

linuxdev 02-18-2004 02:06 PM

driver problem
 
I am doing rpmbuild using my .spec file and somehow getting the following prompt everytime:

D-Link DL2000-based Gigabit Ethernet support (CONFIG_DL2K) [M/n/y/?]
Intel(R) PRO/1000 Gigabit Ethernet support (CONFIG_E1000) [M/n/y/?]
Intel(R) IANS driver support (CONFIG_IANS) [N/y/m/?] (NEW)


It seems its ok till PRO/1000 but when it comes to IANS it gives me this prompt????

I checked the .config in my SOURCES directory and IANS is enabled at this location
along with .config in BUILD directory ..to me it seems it has something to do with code in
configure scripts....

#
# readln reads a line into $ans.
#
# readln prompt default oldval
#
function readln () {
if [ "$DEFAULT" = "-d" -a -n "$3" ]; then
echo "$1"
ans=$2
else
echo -n "$1"
[ -z "$3" ] && echo -n "(NEW) "
if [ "$NONINTERACTIVE" = "y" ]; then


It looks it gets NEW from this script.....pls help if have any idea???????????????

Rounan 02-20-2004 11:32 AM

it's an option that you haven't specified in your config, so it's asking if you don't want it, or if you forgot.
Tell it if you want IANS support. yes, no, or module.
that's it. ;)

If you don't know what IANS is, google for it, because I have no frikkin clue. ;) Unless you know you have an IANS device, I'd say "n".

--Rounan

linuxdev 02-20-2004 11:54 AM

Thank you for your reply....
I checked the .config file in SOURCES directory and BUILD directory and
IANS option has been enabled.........but still while doing rpmbuild from SPECS
directory I am getting that prompt for IANS ??????

Don't know what is wrong and where...:(

Rounan 02-20-2004 01:25 PM

... so what happens if you say "yes" ?

linuxdev 02-20-2004 01:41 PM

actually I am surprised to see that prompt as to my understanding IANS has already
been enabled...and eventually I want to put rpmbuild command in my script so that
build process becomes automated .....in other words everytime I don't have to say "yes"...
if I set the IANS options before while doing make menuconfig............

Rounan 02-22-2004 09:24 AM

Gotcha.
Sorry, thought you were just looking to get past the mysterious prompt. ;)

All I can think of is to check syntax in the config file... for some reason it's not picking up that option.
I understand what each call in that code snippet is doing, but without knowing the variables or the context, I can't get a picture of what it means. ;) I've got no experience in that kind of thing either...
You might want to report this as a bug to the software maintainer.

--Rounan


All times are GMT -5. The time now is 03:40 PM.