Re: kernel version of module editable where

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> From: Artemio <artemio()artemio!net>
> From: Ken Moffat <ken()kenmoffat!uklinux!net>

Solved per your cogent hints, thank you.

For example, I have turned on the ( USB support -->
USB Mass Storage verbose ) in Knoppix 3.2 booted from
CD, without reburning the CD.

I now think I was lost in disentangling Two
interacting bonehead newbie errors:

// 1 of 2

I think I saw the complaint "couldn't find the kernel
version the module was compiled for" from `modprobe`
only when the `strings` of my .o lacked a
"kernel_version".

To get a kernel_version in my .o, I choose m rather
than y in my `make config`.  (-: I wonder, did that
hurt to read as much as it hurt to write. :-)

// 2 of 2

I think I saw no "couldn't find" complaint when my
KERNELRELEASE was wrong, instead I saw only:
insmod ... failed
insmod usb-storage failed

Of course `grep -r 2.4.20 .` by definition does not
find the head of the ./Makefile for me, which I needed
to change to say:

VERSION = 2
PATCHLEVEL = 4
SUBLEVEL = 20
EXTRAVERSION = -xfs
KERNELRELEASE=$(VERSION).$(PATCHLEVEL).$(SUBLEVEL)$(EXTRAVERSION)

> > I think I saw

I'll write again if I fail to reproduce my "I think I
saw"s.

Pat LaVarre p.lavarre@ieee.org
http://members.aol.com/plscsi/tools/knoppix.html


__________________________________
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http://calendar.yahoo.com
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux