2003-08-22 00:03:47

by Christopher Curtis

[permalink] [raw]
Subject: 2.4.22-rc2 PCMCIA problems

Hello,

I've been using kernel 2.4.22-pre6 with the smbfs LFS patch and the
airo-lock-tx-fix.patch from Daniel Ritz <[email protected]> with much
success relative to 2.4.21. Since I needed to make a minor change to my
configuration, and because I got another "BAP setup error" and effective
crash (it scrolled a stack dump continuously and kept scrolling slower
until it got so confused it just locked up) I decided to try 2.4.22-rc2
which seems to have incorporated [other?] airo patches.

However, with this new kernel, I can no longer 'modprobe airo_cs'
successfully, even though I've done a proper(?) 'depmod -a'. I can
'modprobe i82365' successfully followed by a successful 'modprobe ds',
but a 'cardctl ident' gives a series of "unable to map address space"
type errors, that go something like this:

Aug 21 23:40:22 j23 kernel: Linux Kernel Card Services 3.1.22
Aug 21 23:40:22 j23 kernel: options: [pci] [cardbus] [pm]
Aug 21 23:40:22 j23 kernel: ds: no socket drivers loaded!
Aug 21 23:40:22 j23 kernel: unloading Kernel Card Services
Aug 21 23:40:41 j23 kernel: Linux Kernel Card Services 3.1.22
Aug 21 23:40:41 j23 kernel: options: [pci] [cardbus] [pm]
Aug 21 23:40:41 j23 kernel: Intel PCIC probe:
Aug 21 23:40:41 j23 kernel: Vadem VG-468 ISA-to-PCMCIA at port 0x3e0
ofs 0x00, 2 sockets
Aug 21 23:40:41 j23 kernel: host opts [0]: none
Aug 21 23:40:41 j23 kernel: host opts [1]: none
Aug 21 23:40:41 j23 kernel: ISA irqs (scanned) = 7,10,14 polling
interval = 1000 ms
Aug 21 23:41:01 j23 kernel: cs: unable to map card memory!
Aug 21 23:41:01 j23 last message repeated 5 times

Thought someone might like to know ... I'm going back to -pre6 ...

regards,
Chris


2003-08-22 12:33:41

by Christopher Curtis

[permalink] [raw]
Subject: Re: 2.4.22-rc2 PCMCIA problems

In a message I wrote but didn't get because I'm not on the mailing list,
I wrote:

> I've been using kernel 2.4.22-pre6 with the smbfs LFS patch and the
[...]
> However, with this new kernel, I can no longer 'modprobe airo_cs'
[...]


Naturally, this was the result of my own foolishness. I wanted to let
everyone know that there's no need to look into this, even though y'all
seem to have already deduced this. Everything appears to be working.

regards,
Chris

2003-08-22 14:37:41

by Mehmet Ali Suzen

[permalink] [raw]
Subject: Running SMP 2.4.21 #2 SMP Kernel on single processor : Memory Leakage?

Hi All,
I am running RedHat Linux 9 Linux 2.4.21 SMP and
memory usage is increasing regularly even if
no heavy service like (radiusd,mysqld, httpd, named) is not
running. After some time I get Out of Memory
messages and system hungs!

It sounds stupid but we are running single cpu.
Would it be possible to have a memory leakage due to SMP
operations? Board is Intel Server Board SE7501BR2 and
cpu info:

processor : 0
vendor_id : GenuineIntel
cpu family : 15
model : 2
model name : Intel(R) Xeon(TM) CPU 2.40GHz
stepping : 7
cpu MHz : 2392.346
cache size : 512 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm
bogomips : 4771.02

processor : 1
vendor_id : GenuineIntel
cpu family : 15
model : 2
model name : Intel(R) Xeon(TM) CPU 2.40GHz
stepping : 7
cpu MHz : 2392.346
cache size : 512 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm


Many thanks for the commets
Cheers,
Mehmet
bogomips : 4784.12


2003-08-22 19:40:28

by Dan Kegel

[permalink] [raw]
Subject: Re: Running SMP 2.4.21 #2 SMP Kernel on single processor : Memory Leakage?

Mehmet Ali Suzen <msuzen@mail ! north-cyprus ! net> wrote:
> I am running RedHat Linux 9 Linux 2.4.21 SMP ...

Then you should contact a Red Hat Linux forum for support.

[email protected] for the most part only discusses
fairly vanilla kernels, especially the ones published at
http://kernel.org. Perhaps you could try loading one of
those kernels, and seeing if the problem exists there?
If it does, please write back with more info.

- Dan

--
Dan Kegel
http://www.kegel.com
http://counter.li.org/cgi-bin/runscript/display-person.cgi?user=78045

2003-08-23 12:22:08

by Mehmet Ali Suzen

[permalink] [raw]
Subject: Re: Running SMP 2.4.21 #2 SMP Kernel on single processor : Memory Leakage?

On Fri, Aug 22, 2003 at 10:21:33AM -0700, Dan Kegel wrote:
> Mehmet Ali Suzen <msuzen@mail ! north-cyprus ! net> wrote:
> > I am running RedHat Linux 9 Linux 2.4.21 SMP ...
>
> Then you should contact a Red Hat Linux forum for support.
>
> [email protected] for the most part only discusses
> fairly vanilla kernels, especially the ones published at

it was a compiled kernel.

> http://kernel.org. Perhaps you could try loading one of
> those kernels, and seeing if the problem exists there?
> If it does, please write back with more info.
>
> - Dan
>
> --
> Dan Kegel
> http://www.kegel.com
> http://counter.li.org/cgi-bin/runscript/display-person.cgi?user=78045
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/

2003-08-23 17:04:38

by Mehmet Ali Suzen

[permalink] [raw]
Subject: Re: Running SMP 2.4.21 #2 SMP Kernel on single processor : Memory Leakage?

On Sat, Aug 23, 2003 at 09:39:17AM -0700, Dan Kegel wrote:
> > it was a compiled kernel.
>
> Ah, if you were running a kernel.org kernel, apologies.

No need. And we didn't want to apply rc in the production.

> I haven't seen the problem you describe, so I'm shooting in
> the dark, but:
>
> How long does the problem take to occur after boot?

Actually machine was up about 2 weeks for testing. After
we got to production. It gets mad.

> What kind of load are you putting on the system?

Radiusd, mysqld, named and httpd are the most active processes.

> Have you checked the output of ps and /proc/slabinfo to
> look for obvious bloats?

Nothing in the process table generates expanding memory.
2-3 hours ago problem suddenly smears out.

We suspect that commenting in named.conf log options and reload rncd
has solved the problem. Which is bizzare, because we have already
tried without named.

Mehmet

PS: from named.conf
logging {
//channel syslog_errors {
// Syslog logging: typically daemon, if we choose local1,
// some message still go to daemon (bug), so we leave daemon for now .
// syslog daemon;
//syslog local1; severity info;
//};
//category default {
// syslog_errors; // you can log to as many channels
// default_syslog; // by default goes to daemon in syslog
//};
// ignore all "lame server" errors (only do this if none of the lame
// servers belong to you; otherwise, fix them)

category lame-servers{ null; };
//category statistics { null; }; // We don't need stats for this server

// enable for testing/debugging:
//category default { file_log; syslog_errors; };
//category panic { file_log; };
//category packet { file_log; };
//category eventlib { file_log; };
//other categories; queries, cname, config, load, notify, parser,
//response-checks, security, statistics, update, xfer-in, xfer-out
};


2003-08-23 17:20:36

by Dan Kegel

[permalink] [raw]
Subject: Re: Running SMP 2.4.21 #2 SMP Kernel on single processor : Memory Leakage?

Mehmet Ali Suzen wrote:
>>> I am running RedHat Linux 9 Linux 2.4.21 SMP ...
>>
>>Then you should contact a Red Hat Linux forum for support.
>
> it was a compiled kernel.

Ah, if you were running a kernel.org kernel, apologies.

> I am running RedHat Linux 9 Linux 2.4.21 SMP and
> memory usage is increasing regularly even if
> no heavy service like (radiusd,mysqld, httpd, named) is not
> running. After some time I get Out of Memory
> messages and system hungs!
>
> It sounds stupid but we are running single cpu.
> Would it be possible to have a memory leakage due to SMP
> operations? Board is Intel Server Board SE7501BR2

I haven't seen the problem you describe, so I'm shooting in
the dark, but:

How long does the problem take to occur after boot?
What kind of load are you putting on the system?
Have you checked the output of ps and /proc/slabinfo to
look for obvious bloats?

- Dan
--
Dan Kegel
http://www.kegel.com
http://counter.li.org/cgi-bin/runscript/display-person.cgi?user=78045