public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
* insmod problem : Error seeking in /dev/kmem in kernel 2.4.22 on h
@ 2003-12-07 14:27 Deepak Kumar Gupta, Noida
  2003-12-08  0:02 ` insmod problem : Error seeking in /dev/kmem in kernel 2.4.22 on h pzx-6000 (2 CPU IA64 machine) Keith Owens
  0 siblings, 1 reply; 2+ messages in thread
From: Deepak Kumar Gupta, Noida @ 2003-12-07 14:27 UTC (permalink / raw)
  To: linux-ia64

Hello List

I am using 2 CPU (ia64) HP-zx-6000 workstation with kernel 2.4.22. I am
facing following problem: -

1. When I am trying to insert my own LKM, the klogd displays following
messages in /var/log/messages. Note that I have restarted klogd to have
error message on console (using command klogd -c 8). Modutils version is
2.4.13 (from insmod -V).
 
 kernel: klogd 1.4.1 log source = /proc/kmsg started
 kernel: Inspecting /boot/system.map
 kernel: Loaded 22816 symbols from /boot/System.map
 kernel: Symbols match kernel version 2.4.22
 kernel: Error seeking in /dev/kmem
 kernel: Symbol #mymodule, value 00829000
 kernel: Error adding kernel module table entry

2. After having above error, still the lsmod is able to show the entry of
module.

Can anybody tell me, what is the reason for this problem ?

Please CC reply to me also as I am not member of list.

Thanks in advance.

Thanks and Best Regards
Deepak Kumar Gupta
HCL Technologies Limited
India.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: insmod problem : Error seeking in /dev/kmem in kernel 2.4.22 on h pzx-6000 (2 CPU IA64 machine)
  2003-12-07 14:27 insmod problem : Error seeking in /dev/kmem in kernel 2.4.22 on h Deepak Kumar Gupta, Noida
@ 2003-12-08  0:02 ` Keith Owens
  0 siblings, 0 replies; 2+ messages in thread
From: Keith Owens @ 2003-12-08  0:02 UTC (permalink / raw)
  To: linux-ia64

On Sun, 7 Dec 2003 19:45:39 +0530 , 
"Deepak Kumar Gupta, Noida" <dkumar@noida.hcltech.com> wrote:
>Hello List
>
>I am using 2 CPU (ia64) HP-zx-6000 workstation with kernel 2.4.22. I am
>facing following problem: -
>
>1. When I am trying to insert my own LKM, the klogd displays following
>messages in /var/log/messages. Note that I have restarted klogd to have
>error message on console (using command klogd -c 8). Modutils version is
>2.4.13 (from insmod -V).
> 
> kernel: klogd 1.4.1 log source = /proc/kmsg started
> kernel: Inspecting /boot/system.map
> kernel: Loaded 22816 symbols from /boot/System.map
> kernel: Symbols match kernel version 2.4.22
> kernel: Error seeking in /dev/kmem
> kernel: Symbol #mymodule, value 00829000
> kernel: Error adding kernel module table entry
>
>2. After having above error, still the lsmod is able to show the entry of
>module.
>
>Can anybody tell me, what is the reason for this problem ?

It is a bug in klogd, tripped by the obsolete code in klogd that tries
to match addresses to symbols and almost always gets it wrong.  Add
  KLOGD_OPTIONS="-x"
to /etc/sysconfig/syslog to disabke the broken klogd code.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-12-08  0:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-12-07 14:27 insmod problem : Error seeking in /dev/kmem in kernel 2.4.22 on h Deepak Kumar Gupta, Noida
2003-12-08  0:02 ` insmod problem : Error seeking in /dev/kmem in kernel 2.4.22 on h pzx-6000 (2 CPU IA64 machine) Keith Owens

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox