[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Segfault avec shutdown



Bonjour tout le monde,

J'ai eut un problème bizzare hier: j'ai recompilé un noyau (2.4.20 d/l
sur kernel.org), copier tous les fichiers nécéssaires au bon endroit,
mais j'ai complétement oublié de relancé lilo, bref, je veut rebooter
(avec la commande /sbin/reboot, lien vers /sbin/halt) et là, j'ai eut
droit un jolie segfault.

J'ai donc fait un strace pour avoir plus d'info: 
[...]
[pid 10490] read(3,	"\10\0\0\0\25\1\0\0pts/1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"...,384) = 384
[pid 10490] fcntl64(3, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET,start=0, len=0}) = 0
[pid 10490] rt_sigaction(SIGALRM, {0x80493a0, [], 0x4000000}, NULL, 8) = 0
[pid 10490] alarm(0)                    = 1
[pid 10490] alarm(0)                    = 0
[pid 10490] rt_sigaction(SIGALRM, {0x4010db70, [], 0x4000000},{0x80493a0, [], 0x4000000}, 8) = 0
[pid 10490] alarm(1)                    = 0
[pid 10490] fcntl64(3, F_SETLKW, {type=F_RDLCK, whence=SEEK_SET,start=0, len=0}) = 0
[pid 10490] read(3, "", 384)            = 0
[pid 10490] fcntl64(3, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=0, len=0}) = 0
[pid 10490] rt_sigaction(SIGALRM, {0x80493a0, [], 0x4000000}, NULL, 8) = 0
[pid 10490] alarm(0)                    = 1
[pid 10490] close(3)                    = 0
[pid 10490] _exit(0)                    = ?
--- SIGCHLD (Child exited) ---
unlink("/var/run/shutdown.pid")         = 0
unlink("/etc/nologin")                  = -1 ENOENT (No such file or directory)
sync( <unfinished ...>
+++ killed by SIGSEGV +++

J'ai aussi ça dans les logs, un beau Ooops:
Dec 27 23:01:55 localhost kernel:  printing eip:
Dec 27 23:01:55 localhost kernel: c01336f4
Dec 27 23:01:55 localhost kernel: Oops: 0000
Dec 27 23:01:55 localhost kernel: CPU:    0
Dec 27 23:01:55 localhost kernel: EIP:    0010:[wait_for_buffers+36/144] Not tainted
Dec 27 23:01:55 localhost kernel: EFLAGS: 00010202
Dec 27 23:01:55 localhost kernel: eax: 00000000   ebx: 00000013   ecx:00000000   edx: 00000001
Dec 27 23:01:55 localhost kernel: esi: 000040f7   edi: 00000013   ebp:00000000   esp: c9355f50
Dec 27 23:01:55 localhost kernel: ds: 0018   es: 0018   ss: 0018
Dec 27 23:01:55 localhost kernel: Process shutdown (pid: 10386,	stackpage=c9355000)
Dec 27 23:01:55 localhost kernel: Stack: 00000000 00000001 00000001 bffff8cc c0133778 00000000 00000001 00000001 
Dec 27 23:01:55 localhost kernel:        00000001 00000000 00000000	c01337c7 00000000 00000001 00000001 00000000 
Dec 27 23:01:55 localhost kernel:        00000000 00000002 00000000	00000000 0804c850 bffffb94 c01338a0 00000000 
Dec 27 23:01:55 localhost kernel: Call Trace: [wait_for_locked_buffers+24/48] [sync_buffers+55/80] [fsync_dev+48/64] [sys_sync+7/16] [system_call+51/56]
Dec 27 23:01:55 localhost kernel: 
Dec 27 23:01:55 localhost kernel: Code: 8b 7f 20 f6 43 18 04 75 13 83 7c 24 1c 00 74 3c 53 e8 86 0b 
Dec 27 23:02:13 localhost kernel:  <1>Unable to handle kernel NULL pointer dereference at virtual address 00000033

Cela ne vient pas de la mémoire, déjà tester avec memtest86 (+3h30 et 7
test passés avec succès).

La config: Athlon 1600+, 2x256 Mo de RAM (DDR2100).

Une idée ?

Merci d'avance

-- 
"L'adversaire est vulnérable lorsqu'il croît avoir gagné."

Attachment: pgp0A3wi4Csj7.pgp
Description: PGP signature


Reply to: