2000-12-19 01:48:47

by Ingo Rohloff

[permalink] [raw]
Subject: A way to crash an 2.4-test11 kernel

Hi,

I found a way to crash an SMP 2.4-test11 kernel:

1. Create a BIG file (lets say about 300-400 MByte)
2. use losetup and the loop device to create an
ext2 filesystem within the file
3. mount the file
4. copy huge amounts of data into the file.
(for example copy your /usr directory into it.)

-> Kernel deadlocks after some time.

Could someone try to reproduce this behaviour ?

so long
Ingo


2000-12-23 14:43:49

by Harald Welte

[permalink] [raw]
Subject: Re: A way to crash an 2.4-test11 kernel

On Tue, Dec 19, 2000 at 03:25:31AM +0000, Ingo Rohloff wrote:
> Hi,
>
> I found a way to crash an SMP 2.4-test11 kernel:
>
> 1. Create a BIG file (lets say about 300-400 MByte)
> 2. use losetup and the loop device to create an
> ext2 filesystem within the file
> 3. mount the file
> 4. copy huge amounts of data into the file.
> (for example copy your /usr directory into it.)
>
> -> Kernel deadlocks after some time.
>
> Could someone try to reproduce this behaviour ?

Well... I've once encountered this kind of problem while porting
the kerneli patch (loopback encryption, ...) and thought it is
a problem of the kerneli patch. I've never thought about the
possibility that this problem even occurs without encryption.

The other issue is: I wasn't able to reproduce this problem either :(

> so long
> Ingo

--
Live long and prosper
- Harald Welte / [email protected] http://www.gnumonks.org
============================================================================
GCS/E/IT d- s-: a-- C+++ UL++++$ P+++ L++++$ E--- W- N++ o? K- w--- O- M-
V-- PS+ PE-- Y+ PGP++ t++ 5-- !X !R tv-- b+++ DI? !D G+ e* h+ r% y+(*)