Jump to content

need kernel source header to install 537EP (modem)


shengchieh
 Share

Recommended Posts

Hi

 

I'm trying to install the driver for 537EP. It needs the kernel source

header. I went to Mandriva contrl center, search for kernel, and tried

to install kernel-source-2.6-2.6.12-15mdk which is on the special

edition Mandriva 2006 DVD. Unfortunately, a small window pops

up complaining

 

The following package has bad signatures:

kernel-source-2.6-2.6.12-15mdk: Missing signature

((no key found) OK)

Do you want to continue installation?

"No" (<- default) "Yes"

 

If I choose "yes" despite the bad signature, Mandriva control center looks

like it installing this kernel source, but then, this file shows up as uninstalled.

 

Are there any workaround? Will updating the kernel install it? I have 2006

Mandriva, not the latest 2007. I just want to install the 2006 kernel.

 

Alternatively, are there any workaround to install the 537EP driver (that

does not require the kernel source)? I'm using

 

http://www.intel.com/design/modems/support/drivers.htm

 

given to me by MadTux (who made this PC).

 

Sheng-Chieh

:wall:

Link to comment
Share on other sites

Thank for replying. I did the urpmi command as suggested and got

 

--

[root@localhost local]# urpmi kernel-source

The package(s) are already installed

The following package names were assumed: kernel-source-2.6

--

 

Then I went ahead and tryied to install the 537EP driver without success.

I got (after running make clean to cleanup previous stuffs)

--

[root@localhost intel-537EP-2.60.80.0-mdk10-up]# make 537

Module precompile check

Current running kernel is: 2.6.12-15mdk

/lib/modules... autoconf.h exists

diff: /boot/vmlinuz.autoconf.h: No such file or directory

autoconf.h matches running kernel

diff: /boot/vmlinuz.version.h: No such file or directory

version.h matches running kernel

2.6.12-15mdk

make[1]: Entering directory `/usr/local/537EP/intel-537EP-2.60.80.0-mdk10-up/coredrv'

make -C /lib/modules/2.6.12-15mdk/build SUBDIRS=/usr/local/537EP/intel-537EP-2.60.80.0-mdk10-up/coredrv modules

make[2]: Entering directory `/usr/src/linux-2.6.12-15mdk'

 

WARNING: Symbol version dump /usr/src/linux-2.6.12-15mdk/Module.symvers

is missing; modules will have no dependencies and modversions.

 

CC [M] /usr/local/537EP/intel-537EP-2.60.80.0-mdk10-up/coredrv/coredrv.o

/usr/local/537EP/intel-537EP-2.60.80.0-mdk10-up/coredrv/coredrv.c:70: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_NOVERS'

/usr/local/537EP/intel-537EP-2.60.80.0-mdk10-up/coredrv/coredrv.c:70: warning: parameter names (without types) in function declaration

/usr/local/537EP/intel-537EP-2.60.80.0-mdk10-up/coredrv/coredrv.c:70: warning: data definition has no type or storage class

/usr/local/537EP/intel-537EP-2.60.80.0-mdk10-up/coredrv/coredrv.c: In function 'power_callback':

/usr/local/537EP/intel-537EP-2.60.80.0-mdk10-up/coredrv/coredrv.c:295: error: 'PM_SAVE_STATE' undeclared (first use in this function)

/usr/local/537EP/intel-537EP-2.60.80.0-mdk10-up/coredrv/coredrv.c:295: error: (Each undeclared identifier is reported only once

/usr/local/537EP/intel-537EP-2.60.80.0-mdk10-up/coredrv/coredrv.c:295: error: for each function it appears in.)

/usr/local/537EP/intel-537EP-2.60.80.0-mdk10-up/coredrv/coredrv.c: In function 'open':

/usr/local/537EP/intel-537EP-2.60.80.0-mdk10-up/coredrv/coredrv.c:394: warning: 'pm_register' is deprecated (declared at include/linux/pm.h:106)

/usr/local/537EP/intel-537EP-2.60.80.0-mdk10-up/coredrv/coredrv.c: In function 'close':

/usr/local/537EP/intel-537EP-2.60.80.0-mdk10-up/coredrv/coredrv.c:416: warning: 'pm_unregister' is deprecated (declared at include/linux/pm.h:111)

/usr/local/537EP/intel-537EP-2.60.80.0-mdk10-up/coredrv/coredrv.c: In function 'hamproc_write':

/usr/local/537EP/intel-537EP-2.60.80.0-mdk10-up/coredrv/coredrv.c:660: warning: ignoring return value of 'copy_from_user', declared with attribute warn_unused_result

/usr/local/537EP/intel-537EP-2.60.80.0-mdk10-up/coredrv/coredrv.c: At top level:

/usr/local/537EP/intel-537EP-2.60.80.0-mdk10-up/coredrv/coredrv.c:754: warning: initialization from incompatible pointer type

/usr/local/537EP/intel-537EP-2.60.80.0-mdk10-up/coredrv/coredrv.c:755: warning: initialization from incompatible pointer type

/usr/local/537EP/intel-537EP-2.60.80.0-mdk10-up/coredrv/coredrv.c: In function 'kScheduleDPC':

/usr/local/537EP/intel-537EP-2.60.80.0-mdk10-up/coredrv/coredrv.c:861: warning: implicit declaration of function 'pm_access'

/usr/local/537EP/intel-537EP-2.60.80.0-mdk10-up/coredrv/coredrv.c: In function 'dspdrv_CommRamISR':

/usr/local/537EP/intel-537EP-2.60.80.0-mdk10-up/coredrv/coredrv.c:877: warning: function declaration isn't a prototype

make[3]: *** [/usr/local/537EP/intel-537EP-2.60.80.0-mdk10-up/coredrv/coredrv.o] Error 1

make[2]: *** [_module_/usr/local/537EP/intel-537EP-2.60.80.0-mdk10-up/coredrv] Error 2

make[2]: Leaving directory `/usr/src/linux-2.6.12-15mdk'

make[1]: *** [537core_26] Error 2

make[1]: Leaving directory `/usr/local/537EP/intel-537EP-2.60.80.0-mdk10-up/coredrv'

2.6.12-15mdk

Failed to build driver

--

What can I do about this error?

[btw, what does *** means? missing coredrv?]

 

Sheng-Chieh

Link to comment
Share on other sites

I tried to "start" again. I.e., wipe out the kernel source stripped I added yesterday

and the directory 537EP tarball created. Trying to install the complete kernel

source via urpmi unsuccessfully. I get a bad signature. Why that?

 

--

[root@localhost 537EP]# urpmi kernel-source

One of the following packages is needed:

1- kernel-source-2.6-2.6.12-15mdk.i586 : The source code for the Linux kernel. (to install)

2- kernel-source-stripped-2.6-2.6.12-15mdk.i586 : The source code of the Linux kernel stripped for post build. (to install)

What is your choice? (1-2) 1

 

warning: /var/cache/urpmi/rpms/kernel-source-2.6-2.6.12-15mdk.i586.rpm: Header V3 DSA signature: NOKEY, key ID 22458a98

The following packages have bad signatures:

/var/cache/urpmi/rpms/kernel-source-2.6-2.6.12-15mdk.i586.rpm: Missing signature ((no key found) OK)

--

 

Sheng-Chieh

Link to comment
Share on other sites

*** bump ***

 

any advice? What does bad signature means? Did my files get

corrupted?

 

You think the best solution is to reinstall Mandriva? I do have

the Mandriva 2006 special edition disk. I'm thinking of forcing

the installation to install kppp, wvdial, and the kernel

source. Think that the easiest approach to my problem?

 

Sheng-Chieh

Link to comment
Share on other sites

I spent yesterday reinstalling everything, but still could install

the kernel source. It makes no difference on whether I try

to install the kernel source while installing everything else

or using urpmi kernel-source. I get a bad signature error.

 

I can successfully add the stripped kernel source, but it isn't

enough. I still get the error as posted earlier.

 

When I use urpmi kernel-source, I'm always asked to put

the installation (Mandriva special edition DVD) into the

CD/DVD drive. Is there a way to install the kernel source

from somewhere else?

 

Sheng-Chieh

 

p.s. [Fyi, I'm not part of Mandriva club if that makes any differenc.]

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...