Re: 2.3.11 fixed port filtering on my box

Matthias Hanisch (matze@camline.com)
Fri, 23 Jul 1999 11:32:33 +0200 (METDST)


This message is in MIME format. The first part should be readable text,
while the remaining parts are likely unreadable without MIME-aware tools.
Send mail to mime@docserver.cac.washington.edu for more info.

---559023410-1172162473-932722353=:12950
Content-Type: TEXT/PLAIN; charset=US-ASCII

On Sun, 22 Aug 1999, mullein wrote:

> Just wanted to make an observation, in case anyone else is playing with
> dev kernels.
> I noticed that when I compiled 2.3.10 with port filtering enabled, booting
> the kernel resulted in a message on boot (immediately after lilo prompt)
> Out of Memory
> System Halted
> I was going to report this, but wanted to do some more research before
> submitting. However, I downloaded 2.3.11 last night, compiled it with the
> same config file, and it boots and works. in fact, i'm using 2.3.11 right
> now.
> If anyone is interested in the conditions of my failed 2.3.10 boot, I'd be
> happy to provide them.

We have discussed this yesterday, see mails with the Subject
"Out of memory -- System halted".

Problem is that the heap buffer, which is used for internal data
structures while uncompressing the kernel image, is too small for certain
byte patterns in a compressed image.

This seems to happen very seldom (or maybe the failure is not reported
because the problems disappears magically with the next kernel version).

You could try the following patch which defines the same heap buffer size
as it is used in zlib, if you have a kernel again which reports out of
memory at decompressing stage.

Matze

-- 
Matthias Hanisch   office: matze@camline.com   private: matze@pingu.franken.de
                           +49 8137 935-219             +49 8441 82387

"CAPS - Software from Experts for Experts"

---559023410-1172162473-932722353=:12950 Content-Type: TEXT/PLAIN; charset=US-ASCII; name="heap.diff" Content-Transfer-Encoding: BASE64 Content-ID: <Pine.SC5.4.10.9907231132330.12950@cam8.camline.com> Content-Description: raise heap limit Content-Disposition: attachment; filename="heap.diff"

LS0tIGxpbnV4L2FyY2gvaTM4Ni9ib290L2NvbXByZXNzZWQvbWlzYy5jLm9y aWcJVGh1IEp1bCAyMiAxNDowOToyNCAxOTk5DQorKysgbGludXgvYXJjaC9p Mzg2L2Jvb3QvY29tcHJlc3NlZC9taXNjLmMJVGh1IEp1bCAyMiAxNDoxMDoz NSAxOTk5DQpAQCAtMTA0LDcgKzEwNCw3IEBADQogI2RlZmluZSBMT1dfQlVG RkVSX1NUQVJUICAgICAgMHgyMDAwDQogI2RlZmluZSBMT1dfQlVGRkVSX0VO RCAgICAgICAweDkwMDAwDQogI2RlZmluZSBMT1dfQlVGRkVSX1NJWkUgICAg ICAoIExPV19CVUZGRVJfRU5EIC0gTE9XX0JVRkZFUl9TVEFSVCApDQotI2Rl ZmluZSBIRUFQX1NJWkUgICAgICAgICAgICAgMHgyMDAwDQorI2RlZmluZSBI RUFQX1NJWkUgICAgICAgICAgICAgMHgyZDAwCS8qIHNhbWUgYXMgaW4gemxp YiAqLw0KIHN0YXRpYyBpbnQgaGlnaF9sb2FkZWQgPTA7DQogc3RhdGljIHVj aCAqaGlnaF9idWZmZXJfc3RhcnQgLyogPSAodWNoICopKCgodWxnKSZlbmQp ICsgSEVBUF9TSVpFKSovOw0KIA0K ---559023410-1172162473-932722353=:12950--

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/