lkml.org 
[lkml]   [1999]   [Jun]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 2.2.9-ac2 locks solid
On Mon, 7 Jun 1999, Alan Cox wrote:

>The rest however is rather obvious 8) _iff_ you are using rt signals.

glibc 2.1 seems to use RT signals for multi-threading, which would explain
why I couldn't do it with plain old GIMP 1.0.2.

>kernel/signal.c: send_sig_info uses GFP_KERNEL from a bh.
>
>Change
>
> struct signal_queue *q = 0;
>
> if (nr_queued_signals < max_queued_signals) {
> q = (struct signal_queue *)
> kmem_cache_alloc(signal_queue_cachep, GFP_KERNEL);
> }
>
>to use GFP_ATOMIC instead and let me know

It survived up to filling all of swap this time. When it came time for the
kernel to kill things, it printed a few oopses though. Not sure if IKD or
the real kernel made them:

Linux version 2.2.7 (root@moving.m-l.org) (gcc version egcs-2.91.66 19990314 (egcs-1.1.2 release)) #8 SMP Mon Jun 7 10:46:37 EDT 1999
Intel MultiProcessor Specification v1.1
Virtual Wire compatibility mode.
OEM ID: OEM00000 Product ID: PROD00000000 APIC at: 0xFEE00000
Processor #0 Pentium(tm) APIC version 17
Processor #1 Pentium(tm) APIC version 17
I/O APIC #2 Version 17 at 0xFEC00000.
Processors: 2
mapped APIC to ffffe000 (fee00000)
mapped IOAPIC to ffffd000 (fec00000)
Detected 232108138 Hz processor.
Console: colour VGA+ 132x43
Calibrating delay loop... 462.03 BogoMIPS
Memory: 128432k/131072k available (684k kernel code, 416k reserved, 1540k data, 0k init)
Checking 386/387 coupling... OK, FPU using exception 16 error reporting.
Checking 'hlt' instruction... OK.
Intel Pentium with F0 0F bug - workaround enabled.
POSIX conformance testing by UNIFIX
mcount_init
per-CPU timeslice cutoff: 1.56 usecs.
CPU0: Intel Pentium MMX stepping 03
calibrating APIC timer ...
..... CPU clock speed is 232.0997 MHz.
..... system bus clock speed is 66.3140 MHz.
Booting processor 1 eip 2000
Calibrating delay loop... 463.67 BogoMIPS
OK.
CPU1: Intel Pentium MMX stepping 03
Total of 2 processors activated (925.70 BogoMIPS).
enabling symmetric IO mode... ...done.
ENABLING IO-APIC IRQs
init IO_APIC IRQs
IO-APIC pin 0, 20, 21, 22, 23 not connected.
NMI Watchdog activated on source IRQ 0
number of MP IRQ sources: 21.
number of IO-APIC registers: 24.
testing the IO APIC.......................
.... register #00: 02000000
....... : physical APIC id: 02
.... register #01: 00170011
....... : max redirection entries: 0017
....... : IO APIC version: 0011
.... register #02: 00000000
....... : arbitration: 00
.... IRQ redirection table:
NR Log Phy Mask Trig IRR Pol Stat Dest Deli Vect:
00 000 00 1 0 0 0 0 0 0 00
01 000 00 0 0 0 0 0 1 1 59
02 0FF 0F 0 0 0 0 0 1 4 51
03 000 00 0 0 0 0 0 1 1 61
04 000 00 0 0 0 0 0 1 1 69
05 000 00 0 0 0 0 0 1 1 71
06 000 00 0 0 0 0 0 1 1 79
07 000 00 0 0 0 0 0 1 1 81
08 000 00 0 0 0 0 0 1 1 89
09 000 00 0 0 0 0 0 1 1 91
0a 000 00 0 0 0 0 0 1 1 99
0b 000 00 0 0 0 0 0 1 1 A1
0c 000 00 0 0 0 0 0 1 1 A9
0d 000 00 1 0 0 0 0 0 0 00
0e 000 00 0 0 0 0 0 1 1 B1
0f 000 00 0 0 0 0 0 1 1 B9
10 0FF 0F 1 1 0 1 0 1 1 C1
11 0FF 0F 1 1 0 1 0 1 1 C9
12 0FF 0F 1 1 0 1 0 1 1 D1
13 0FF 0F 1 1 0 1 0 1 1 D9
14 000 00 1 0 0 0 0 0 0 00
15 000 00 1 0 0 0 0 0 0 00
16 000 00 1 0 0 0 0 0 0 00
17 000 00 1 0 0 0 0 0 0 00
IRQ to pin mappings:
IRQ0 -> 2
IRQ1 -> 1
IRQ3 -> 3
IRQ4 -> 4
IRQ5 -> 5
IRQ6 -> 6
IRQ7 -> 7
IRQ8 -> 8
IRQ9 -> 9
IRQ10 -> 10
IRQ11 -> 11
IRQ12 -> 12
IRQ13 -> 13
IRQ14 -> 14
IRQ15 -> 15
IRQ16 -> 16
IRQ17 -> 17
IRQ18 -> 18
IRQ19 -> 19
.................................... done.
PCI: PCI BIOS revision 2.10 entry at 0xfb5a0
PCI: Using configuration type 1
PCI: Probing PCI hardware
PCI->APIC IRQ transform: (B0,I17,P0) -> 19
PCI->APIC IRQ transform: (B0,I19,P0) -> 17
PCI->APIC IRQ transform: (B0,I19,P0) -> 17
PCI->APIC IRQ transform: (B0,I20,P0) -> 16
Linux NET4.0 for Linux 2.2
Based upon Swansea University Computer Society NET3.039
NET4: Unix domain sockets 1.0 for Linux NET4.0.
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
Starting kswapd v 1.5
Serial driver version 4.27 with no serial options enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
ttyS01 at 0x02f8 (irq = 3) is a 16550A
hda: Maxtor 71000 A, ATA DISK drive
hdb: HP CD-Writer+ 7100, ATAPI CDROM drive
hdc: IBM-DTTA-371010, ATA DISK drive
hdd: LEOPTICS INC. 32X CDROM, ATAPI CDROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: Maxtor 71000 A, 958MB w/64kB Cache, CHS=1946/16/63
hdc: IBM-DTTA-371010, 9641MB w/465kB Cache, CHS=19590/16/63
Partition check:
hda: hda1
hdc: hdc1 hdc2 hdc3 hdc4
VFS: Mounted root (ext2 filesystem) readonly.
Freeing unused kernel memory: 0k freed
Adding Swap: 130532k swap-space (priority 0)
Out of memory for gimp.

Out of memory for gimp.

Out of memory for gimp.
SysRq: Terminate All Tasks

Out of memory for gimp.

Out of memory for gimp.

Out of memory for jpeg.

Out of memory for gimp.

Out of memory for jpeg.

Out of memory for jpeg.
Unable to handle kernel NULL pointer dereference at virtual address 00000000
current->tss.cr3 = 0708c000, %cr3 = 0708c000
*pde = 00000000
Oops: 0002
CPU: 0
EIP: 0010:[<c0117552>]
EFLAGS: 00010246
eax: 00002694 ebx: c00807f8 ecx: 00000000 edx: c00807e0
esi: c1964000 edi: c1965f68 ebp: c1965f84 esp: c1965f58
ds: 0018 es: 0018 ss: 0018
Process gimp (pid: 112, process nr: 63, stackpage=c1965000)
Stack: bf7ffc98 c1964000 c1965f68 c1965f70 c1964000 c00807fc 00000000 00000000
00007e7c c00807f8 c011746c c1965fb4 c0194258 c00807f8 00000000 00000000
c0114b78 c1964000 bf7ffec0 bf7ffc98 c1965fc4 c00807f8 080e3c74 bf7ffbdc
Call Trace: [<c011746c>] [<c0194258>] [<c0114b78>] [<c0108b8d>]
Code: c7 05 00 00 00 00 00 00 00 00 8b 75 d8 c7 06 02 00 00 00 31
Out of memory for script-fu.

Out of memory for gimp.
SysRq: Terminate All Tasks

Out of memory for gimp.

Out of memory for gimp.

Out of memory for gimp.

Out of memory for gimp.

Out of memory for script-fu.

Out of memory for script-fu.

Out of memory for script-fu.

Out of memory for gimp.

Out of memory for gimp.

Out of memory for script-fu.

Out of memory for script-fu.
Unable to handle kernel NULL pointer dereference at virtual address 00000000
current->tss.cr3 = 06ce6000, %cr3 = 06ce6000
*pde = 00000000
Oops: 0002
CPU: 0
EIP: 0010:[<c0117552>]
EFLAGS: 00010246
eax: 00002694 ebx: c0080e78 ecx: 00000000 edx: c0080e60
esi: c2788000 edi: c2789f68 ebp: c2789f84 esp: c2789f58
ds: 0018 es: 0018 ss: 0018
Process gimp (pid: 340, process nr: 75, stackpage=c2789000)
Stack: 0852e308 c2788000 c2789f68 c2789f70 c2788000 c0080e7c 00000000 00000000
0001b6bf c0080e78 c011746c c2789fb4 c0194258 c0080e78 00000000 00000000
c0114b78 c2788000 40265c24 0852e308 c2788000 c0080e78 4030d43d 0852e2e4
Call Trace: [<c011746c>] [<c0194258>] [<c0114b78>] [<c0108b8d>]
Code: c7 05 00 00 00 00 00 00 00 00 8b 75 d8 c7 06 02 00 00 00 31
Out of memory for gimp.

Out of memory for X.
Unable to handle kernel NULL pointer dereference at virtual address 00000000
current->tss.cr3 = 02600000, %cr3 = 02600000
*pde = 00000000
Oops: 0002
CPU: 1
EIP: 0010:[<c0117552>]
EFLAGS: 00010246
eax: 00002694 ebx: c0080c78 ecx: 00000020 edx: c0080c60
esi: c2cf4000 edi: c2cf5f68 ebp: c2cf5f84 esp: c2cf5f58
ds: 0018 es: 0018 ss: 0018
Process gimp (pid: 391, process nr: 70, stackpage=c2cf5000)
Stack: 0852ea08 c2cf4000 c2cf5f68 c2cf5f70 c2cf4000 c0080c7c 00000000 00000000
0001baae c0080c78 c011746c c2cf5fb4 c0194258 c0080c78 00000000 00000000
c0114b78 c2cf4000 40265c24 0852ea08 c2cf4000 c0080c78 4030d43d 0852e9e4
Call Trace: [<c011746c>] [<c0194258>] [<c0114b78>] [<c0108b8d>]
Code: c7 05 00 00 00 00 00 00 00 00 8b 75 d8 c7 06 02 00 00 00 31
Out of memory for gimp.
Unable to handle kernel NULL pointer dereference at virtual address 00000000
current->tss.cr3 = 01017000, %cr3 = 01017000
*pde = 00000000
Oops: 0002
CPU: 1
EIP: 0010:[<c0117552>]
EFLAGS: 00010246
eax: 00002694 ebx: c00808f8 ecx: 00000020 edx: c00808e0
esi: c7f16000 edi: c7f17f68 ebp: c7f17f84 esp: c7f17f58
ds: 0018 es: 0018 ss: 0018
Process gimp (pid: 355, process nr: 80, stackpage=c7f17000)
Stack: 0852e308 c7f16000 c7f17f68 c7f17f70 c7f16000 c00808fc 00000000 00000000
0001b4e2 c00808f8 c011746c c7f17fb4 c0194258 c00808f8 00000004 00000000
c0114b78 c7f16000 40265c24 0852e308 c7f16000 c00808f8 4030d43d 0852e2e4
Call Trace: [<c011746c>] [<c0194258>] [<c0114b78>] [<c0108b8d>]
Code: c7 05 00 00 00 00 00 00 00 00 8b 75 d8 c7 06 02 00 00 00 31
Out of memory for gimp.
SysRq: Terminate All Tasks

---- decoded ----
\
 
 \ /
  Last update: 2005-03-22 13:52    [W:0.092 / U:0.140 seconds]
©2003-2014 Jasper Spaans. Advertise on this site