public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: walt <wa1ter@myrealbox.com>
To: linux-kernel@vger.kernel.org
Subject: Re: 2.4.21-pre5-ac2:  kernel oops with "swapoff -a"
Date: Sat, 08 Mar 2003 16:52:02 +0000	[thread overview]
Message-ID: <3E6A1FB2.8040007@myrealbox.com> (raw)
In-Reply-To: <fa.ohdbn4e.1rgcs92@ifi.uio.no>

Alan Cox wrote:
> On Sat, 2003-03-08 at 11:07, walt wrote:
> 
>>When I do "swapoff -a" I still see the kernel oops that began with -pre4-ac7
>>and has propagated to every 'ac' kernel since then.

> Can you send me an strace swapoff -a ?

# strace swapon -a
execve("/sbin/swapon", ["swapon", "-a"], [/* 36 vars */]) = 0
uname({sys="Linux", node="k9.localnet", ...}) = 0
brk(0)                                  = 0x804aa08
open("/etc/ld.so.preload", O_RDONLY)    = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
close(3)                                = 0
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=49489, ...}) = 0
mmap2(NULL, 49489, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40014000
close(3)                                = 0
open("/lib/libc.so.6", O_RDONLY)        = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\0_\1\000"..., 1024) = 1024
fstat64(3, {st_mode=S_IFREG|0755, st_size=1411261, ...}) = 0
mmap2(NULL, 1236740, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40021000
mprotect(0x40146000, 36612, PROT_NONE)  = 0
mmap2(0x40146000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x124) 
= 0x40146000
mmap2(0x4014b000, 16132, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4014b000
close(3)                                = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x4014f000
munmap(0x40014000, 49489)               = 0
brk(0)                                  = 0x804aa08
brk(0x804ba08)                          = 0x804ba08
brk(0x804c000)                          = 0x804c000
open("/proc/swaps", O_RDONLY|O_LARGEFILE) = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x40014000
read(3, "Filename\t\t\tType\t\tSize\tUsed\tPrior"..., 1024) = 36
read(3, "", 1024)                       = 0
close(3)                                = 0
munmap(0x40014000, 4096)                = 0
open("/etc/fstab", O_RDONLY)            = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=1205, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x40014000
read(3, "# Copyright 1999-2002 Gentoo Tec"..., 4096) = 1205
stat64("/dev/hda10", {st_mode=S_IFBLK|0600, st_rdev=makedev(3, 10), ...}) = 0
swapon("/dev/hda10")                    = 0
read(3, "", 4096)                       = 0
_exit(0)                                = ?

========================================================================

# strace swapoff -a
execve("/sbin/swapoff", ["swapoff", "-a"], [/* 36 vars */]) = 0
uname({sys="Linux", node="k9.localnet", ...}) = 0
brk(0)                                  = 0x804aa08
open("/etc/ld.so.preload", O_RDONLY)    = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
close(3)                                = 0
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=49489, ...}) = 0
mmap2(NULL, 49489, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40014000
close(3)                                = 0
open("/lib/libc.so.6", O_RDONLY)        = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\0_\1\000"..., 1024) = 1024
fstat64(3, {st_mode=S_IFREG|0755, st_size=1411261, ...}) = 0
mmap2(NULL, 1236740, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40021000
mprotect(0x40146000, 36612, PROT_NONE)  = 0
mmap2(0x40146000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x124) 
= 0x40146000
mmap2(0x4014b000, 16132, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4014b000
close(3)                                = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x4014f000
munmap(0x40014000, 49489)               = 0
brk(0)                                  = 0x804aa08
brk(0x804ba08)                          = 0x804ba08
brk(0x804c000)                          = 0x804c000
open("/proc/swaps", O_RDONLY|O_LARGEFILE) = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x40014000
read(3, "Filename\t\t\tType\t\tSize\tUsed\tPrior"..., 1024) = 99
read(3, "", 1024)                       = 0
close(3)                                = 0
munmap(0x40014000, 4096)                = 0
swapoff("/dev/ide/host0/bus0/target0/lun0/part10") = 0
open("/etc/fstab", O_RDONLY)            = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=1205, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x40014000
read(3, "# Copyright 1999-2002 Gentoo Tec"..., 4096) = 1205
swapoff("/dev/hda10")                   = -1 EINVAL (Invalid argument)
read(3, "", 4096)                       = 0
_exit(0)                                = ?


       reply	other threads:[~2003-03-09  0:38 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <fa.ft2aqc1.154k31h@ifi.uio.no>
     [not found] ` <fa.ohdbn4e.1rgcs92@ifi.uio.no>
2003-03-08 16:52   ` walt [this message]
     [not found] <fa.hhhab3c.11n83hg@ifi.uio.no>
     [not found] ` <fa.fk1qpc0.s4022c@ifi.uio.no>
2003-03-08 18:51   ` 2.4.21-pre5-ac2: kernel oops with "swapoff -a" walt
2003-03-08 11:07 walt
2003-03-08 22:40 ` Alan Cox
2003-03-08 21:42   ` John Bradford

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3E6A1FB2.8040007@myrealbox.com \
    --to=wa1ter@myrealbox.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox