From: Matthew Dharm <mdharm-kernel@one-eyed-alien.net>
To: BERECZ Szabolcs <szabi@inf.elte.hu>
Cc: linux-kernel@vger.kernel.org
Subject: Re: mount /dev/hdb2 /usr; swapon /dev/hdb2 keeps flooding
Date: Sat, 12 May 2001 16:25:01 -0700 [thread overview]
Message-ID: <20010512162501.A9471@one-eyed-alien.net> (raw)
In-Reply-To: <Pine.A41.4.31.0105130055400.19270-100000@pandora.inf.elte.hu>
In-Reply-To: <Pine.A41.4.31.0105130055400.19270-100000@pandora.inf.elte.hu>; from szabi@inf.elte.hu on Sun, May 13, 2001 at 01:00:39AM +0200
[-- Attachment #1: Type: text/plain, Size: 2854 bytes --]
I was under the impression that you need to call swapon on swap partitions,
and not on mounted filesystems.
Matt
On Sun, May 13, 2001 at 01:00:39AM +0200, BERECZ Szabolcs wrote:
> Hi!
>
> root@kama3:/home/szabi# cat /proc/mounts
> ...
> /dev/hdb2 /usr ext2 rw 0 0
> ...
> root@kama3:/home/szabi# swapon /dev/hdb2
> set_blocksize: b_count 1, dev ide0(3,66), block 2, from c0126b48
> set_blocksize: b_count 1, dev ide0(3,66), block 3, from c0126b48
> set_blocksize: b_count 1, dev ide0(3,66), block 4, from c0126b48
> set_blocksize: b_count 1, dev ide0(3,66), block 5, from c0126b48
> set_blocksize: b_count 1, dev ide0(3,66), block 6, from c0126b48
> set_blocksize: b_count 1, dev ide0(3,66), block 7, from c0126b48
> set_blocksize: b_count 1, dev ide0(3,66), block 8, from c0126b48
> set_blocksize: b_count 1, dev ide0(3,66), block 1, from c0126b48
> Unable to find swap-space signature
> swapon: /dev/hdb2: Invalid argument
> root@kama3:/home/szabi#
>
> and then set_blocksize keeps flooding the console, not continuously,
> but 20-40 lines at a time, then it sleeps a bit, sometimes half a
> minute (caused by kupdated?)
>
> root@kama3:/home/szabi# mount -o remount,ro /usr
> ll_rw_block: device 03:42: only 4096-char blocks implemented (1024)
> root@kama3:/home/szabi#
>
> once I got these:
> ll_rw_block: device 03:42: only 4096-char blocks implemented (1024)
> EXT2-fs error (device ide0(3,66)): ext2_write_inode: unable to read inode block
> - inode=2084, block=8207
> ll_rw_block: device 03:42: only 4096-char blocks implemented (1024)
> EXT2-fs error (device ide0(3,66)): ext2_write_inode: unable to read inode block
> - inode=6328, block=24609
> ...
>
> szabi@kama3:/hdc1/kernel/linux-2.4.4-ac6# gdb vmlinux
> (gdb) disas 0xc0126b48
> ...
> 0xc0126b43 <sys_swapon+371>: call 0xc012bcc0 <set_blocksize>
> 0xc0126b48 <sys_swapon+376>: mov 0xe8(%edi),%edi
> 0xc0126b4e <sys_swapon+382>: mov %edi,0xffffffd0(%ebp)
> ...
>
> I tried it on several partitions, and it worked on /dev/hdc,
> and did not work on /dev/hdb
> on /dev/hdb all the filesystems are ext2
> on /dev/hdc one fs is a new, clean ext2, the others are reiserfs
>
> so I really don't know what's the problem.
>
> do you need any other information?
>
> Bye,
> Szabi
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
--
Matthew Dharm Home: mdharm-usb@one-eyed-alien.net
Maintainer, Linux USB Mass Storage Driver
C: Like the Furby?
DP: He gives me the creeps. Think the SPCA will take him?
-- Cobb and Dust Puppy
User Friendly, 1/2/1999
[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]
next prev parent reply other threads:[~2001-05-12 23:26 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-05-12 23:00 BERECZ Szabolcs
2001-05-12 23:23 ` Alexander Viro
2001-05-12 23:32 ` Alan Cox
2001-05-12 23:42 ` Alexander Viro
2001-05-13 13:04 ` Jesse Pollard
2001-05-13 0:00 ` Guest section DW
2001-05-12 23:33 ` BERECZ Szabolcs
2001-05-12 23:39 ` Alexander Viro
2001-05-12 23:54 ` BERECZ Szabolcs
2001-05-13 14:21 ` Gerhard Mack
2001-05-13 16:23 ` Alan Cox
2001-05-14 9:29 ` 2.2.19 and RAID levels Riccardo Facchetti
2001-05-14 9:30 ` Alan Cox
2001-05-12 23:25 ` Matthew Dharm [this message]
2001-05-12 23:42 ` mount /dev/hdb2 /usr; swapon /dev/hdb2 keeps flooding BERECZ Szabolcs
2001-05-13 2:17 ` ashridah
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=20010512162501.A9471@one-eyed-alien.net \
--to=mdharm-kernel@one-eyed-alien.net \
--cc=linux-kernel@vger.kernel.org \
--cc=szabi@inf.elte.hu \
/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
all inboxes | Powered by JetHome®