* reiserfs remount problem (Re: Linux 2.4.17-rc2)
2001-12-18 20:26 Linux 2.4.17-rc2 Marcelo Tosatti
@ 2001-12-19 14:08 ` Masaru Kawashima
2001-12-19 14:26 ` [reiserfs-list] " Oleg Drokin
2001-12-19 14:52 ` Masaru Kawashima
2001-12-19 17:57 ` Linux 2.4.17-rc2: highmem breaks loop, affs Matthias Andree
` (3 subsequent siblings)
4 siblings, 2 replies; 11+ messages in thread
From: Masaru Kawashima @ 2001-12-19 14:08 UTC (permalink / raw)
To: Marcelo Tosatti; +Cc: lkml, reiserfs-list
Hi,
On Tue, 18 Dec 2001 18:26:03 -0200 (BRST)
Marcelo Tosatti <marcelo@conectiva.com.br> wrote:
> - Reiserfs fixes (Oleg Drokin/Chris Mason)
There is still reiserfs remount problem with 2.4.17-rc2.
ksymoops 2.4.1 on i686 2.4.17-rc2. Options used
-V (default)
-K (specified)
-l /proc/modules (default)
-o /lib/modules/2.4.17-rc2/ (default)
-m /usr/src/linux/System.map (default)
No modules in ksyms, skipping objects
No ksyms, skipping lsmod
CPU: 0
EIP: 0010:[<c0159f54>] Not tainted
Using defaults from ksymoops -t elf32-i386 -a i386
EFLAGS: 00010202
eax: 00000003 ebx: 00000003 ecx: 00000000 edx: 00000000
esi: df81b048 edi: df81b000 ebp: 00001000 esp: df829b08
ds: 0018 es: 0018 ss: 0018
Process mount (pid: 119, stackpage=df829000)
Stack: 00000006 df6468c0 df829d3c 00000000 c17e2b80 c0122223 08056c54 dfb80440
00000001 df97bf20 c01222d9 dfb80440 dfef8c00 dfef8c00 00000003 00000000
00000000 c17e0680 00000001 00000000 00000002 00000000 00000000 df829bb4
Call Trace: [<c0122223>] [<c01222d9>] [<c015a2dd>] [<c015a0ba>] [<c0132b15>]
[<c0124566>] [<c0133206>] [<c015a0a4>] [<c015c2db>] [<c015a0a4>] [<c015c3c8>]
[<c0163b2e>] [<c016191b>] [<c01621b5>] [<c0135372>] [<c01440d5>] [<c0144365>]
[<c0144224>] [<c0144444>] [<c0106d73>]
Code: 0f 0b 83 7c 24 58 00 75 13 8b 46 08 89 44 24 48 c7 44 24 4c
>>EIP; c0159f54 <_get_block_create_0+748/85c> <=====
Trace; c0122223 <do_no_page+137/190>
Trace; c01222d9 <handle_mm_fault+5d/c0>
Trace; c015a2dd <reiserfs_get_block+10d/eac>
Trace; c015a0ba <reiserfs_get_block_create_0+16/1c>
Trace; c0132b15 <__block_prepare_write+f5/23c>
Trace; c0124566 <find_or_create_page+c6/dc>
Trace; c0133206 <block_prepare_write+22/5c>
Trace; c015a0a4 <reiserfs_get_block_create_0+0/1c>
Trace; c015c2db <grab_tail_page+8b/128>
Trace; c015a0a4 <reiserfs_get_block_create_0+0/1c>
Trace; c015c3c8 <reiserfs_truncate_file+50/1b0>
Trace; c0163b2e <reiserfs_warning+1e/24>
Trace; c016191b <finish_unfinished+25b/2e4>
Trace; c01621b5 <reiserfs_remount+141/150>
Trace; c0135372 <do_remount_sb+a6/d4>
Trace; c01440d5 <do_remount+75/a0>
Trace; c0144365 <do_mount+f1/14c>
Trace; c0144224 <copy_mount_options+50/a0>
Trace; c0144444 <sys_mount+84/c4>
Trace; c0106d73 <system_call+33/38>
Code; c0159f54 <_get_block_create_0+748/85c>
00000000 <_EIP>:
Code; c0159f54 <_get_block_create_0+748/85c> <=====
0: 0f 0b ud2a <=====
Code; c0159f56 <_get_block_create_0+74a/85c>
2: 83 7c 24 58 00 cmpl $0x0,0x58(%esp,1)
Code; c0159f5b <_get_block_create_0+74f/85c>
7: 75 13 jne 1c <_EIP+0x1c> c0159f70 <_get_block_create_0+764/85c>
Code; c0159f5d <_get_block_create_0+751/85c>
9: 8b 46 08 mov 0x8(%esi),%eax
Code; c0159f60 <_get_block_create_0+754/85c>
c: 89 44 24 48 mov %eax,0x48(%esp,1)
Code; c0159f64 <_get_block_create_0+758/85c>
10: c7 44 24 4c 00 00 00 movl $0x0,0x4c(%esp,1)
Code; c0159f6b <_get_block_create_0+75f/85c>
17: 00
Thanks.
--
Masaru Kawashima <masaruk@gol.com>
^ permalink raw reply [flat|nested] 11+ messages in thread* Re: [reiserfs-list] reiserfs remount problem (Re: Linux 2.4.17-rc2)
2001-12-19 14:08 ` reiserfs remount problem (Re: Linux 2.4.17-rc2) Masaru Kawashima
@ 2001-12-19 14:26 ` Oleg Drokin
2001-12-19 14:52 ` Masaru Kawashima
1 sibling, 0 replies; 11+ messages in thread
From: Oleg Drokin @ 2001-12-19 14:26 UTC (permalink / raw)
To: Masaru Kawashima; +Cc: lkml, reiserfs-list, chris
Hello!
On Wed, Dec 19, 2001 at 11:08:12PM +0900, Masaru Kawashima wrote:
> > - Reiserfs fixes (Oleg Drokin/Chris Mason)
> There is still reiserfs remount problem with 2.4.17-rc2.
Hmmm.
Few things needs to be verified:
Is your reiserfs root partition 3.5 or 3.6 format? (can be checked in /proc/fs/reiserfs/.../version
Try to boot of different media (rescue disk/CD) and run resiserfsck on your root partition,
is there any errors? If yes - then fix them (with reiserfsck --rebuild-tree probably),
and try to boot off your root disk again.
Remember to read FAQ entry on reiserfsck --rebuild-tree on namesys.com web site.
> >>EIP; c0159f54 <_get_block_create_0+748/85c> <=====
> 00000000 <_EIP>:
> Code; c0159f54 <_get_block_create_0+748/85c> <=====
> 0: 0f 0b ud2a <=====
Ok, so it is this code in _get_block_create_0:
if (!is_direct_le_ih (ih)) {
BUG ();
}
Hm.
Is your root partition big?
I want to look at it is that's possible.
At least at the metadata (reiserfsutils contains tools to extract metadata from disk drive,
if you'd extract such metadata and send it to me before you run reiserfsck - that would be great)
Thank you.
Bye,
Oleg
^ permalink raw reply [flat|nested] 11+ messages in thread* Re: [reiserfs-list] reiserfs remount problem (Re: Linux 2.4.17-rc2)
2001-12-19 14:08 ` reiserfs remount problem (Re: Linux 2.4.17-rc2) Masaru Kawashima
2001-12-19 14:26 ` [reiserfs-list] " Oleg Drokin
@ 2001-12-19 14:52 ` Masaru Kawashima
2001-12-19 15:01 ` Oleg Drokin
2001-12-19 15:21 ` Masaru Kawashima
1 sibling, 2 replies; 11+ messages in thread
From: Masaru Kawashima @ 2001-12-19 14:52 UTC (permalink / raw)
To: Oleg Drokin; +Cc: linux-kernel, reiserfs-list, chris
Hi,
On Wed, 19 Dec 2001 17:26:44 +0300
Oleg Drokin <green@namesys.com> wrote:
> Hello!
>
> On Wed, Dec 19, 2001 at 11:08:12PM +0900, Masaru Kawashima wrote:
>
> > > - Reiserfs fixes (Oleg Drokin/Chris Mason)
>
> > There is still reiserfs remount problem with 2.4.17-rc2.
> Hmmm.
> Few things needs to be verified:
> Is your reiserfs root partition 3.5 or 3.6 format? (can be checked in /proc/fs/reiserfs/.../version
It's 3.6 format.
# cat /proc/fs/reiserfs/version
ReiserFS version 3.6.25 [built into kernel]
# cat /proc/fs/reiserfs/*/version
new format with checks off
new format with checks off
new format with checks off
new format with checks off
new format with checks off
> Try to boot of different media (rescue disk/CD) and run resiserfsck on your root partition,
> is there any errors?
I've tried reiserfsck with booting from spare root partition
formatted with ext3. But there was no errors.
> Is your root partition big?
Yes. It's 85GB. And it's on a software raid (raid0) partition.
> I want to look at it is that's possible.
> At least at the metadata (reiserfsutils contains tools to extract metadata from disk drive,
> if you'd extract such metadata and send it to me before you run reiserfsck - that would be great)
--
Masaru Kawashima <masaruk@gol.com>
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [reiserfs-list] reiserfs remount problem (Re: Linux 2.4.17-rc2)
2001-12-19 14:52 ` Masaru Kawashima
@ 2001-12-19 15:01 ` Oleg Drokin
2001-12-19 15:21 ` Masaru Kawashima
1 sibling, 0 replies; 11+ messages in thread
From: Oleg Drokin @ 2001-12-19 15:01 UTC (permalink / raw)
To: Masaru Kawashima; +Cc: linux-kernel, reiserfs-list, chris
Hello!
On Wed, Dec 19, 2001 at 11:52:03PM +0900, Masaru Kawashima wrote:
> > > > - Reiserfs fixes (Oleg Drokin/Chris Mason)
> > > There is still reiserfs remount problem with 2.4.17-rc2.
> > Hmmm.
> > Few things needs to be verified:
> > Is your reiserfs root partition 3.5 or 3.6 format? (can be checked in /proc/fs/reiserfs/.../version
> It's 3.6 format.
> # cat /proc/fs/reiserfs/*/version
> new format with checks off
Hm. You said you are running 2.4.17-rc2, this is output from older kernel.
Or do you mean it is only 2.4.17-rc2 that cannot remount root read-write?
> I've tried reiserfsck with booting from spare root partition
> formatted with ext3. But there was no errors.
Hm.
> > Is your root partition big?
> Yes. It's 85GB. And it's on a software raid (raid0) partition.
Ok, I still want the metadata from this partition (read man on debugreiserfsck on -p option),
and tell me you reiserfsutils version.
Also were there any reiserfs specific error messages prior to the oops?
Bye,
Oleg
^ permalink raw reply [flat|nested] 11+ messages in thread* Re: [reiserfs-list] reiserfs remount problem (Re: Linux 2.4.17-rc2)
2001-12-19 14:52 ` Masaru Kawashima
2001-12-19 15:01 ` Oleg Drokin
@ 2001-12-19 15:21 ` Masaru Kawashima
2001-12-19 15:26 ` Oleg Drokin
1 sibling, 1 reply; 11+ messages in thread
From: Masaru Kawashima @ 2001-12-19 15:21 UTC (permalink / raw)
To: Oleg Drokin; +Cc: linux-kernel, reiserfs-list, chris
Hi,
> > # cat /proc/fs/reiserfs/*/version
> > new format with checks off
> Hm. You said you are running 2.4.17-rc2, this is output from older kernel.
> Or do you mean it is only 2.4.17-rc2 that cannot remount root read-write?
Yes, the cat output was from 2.4.16. Kernels before -rc1 can remount
this root partition without errors.
> Ok, I still want the metadata from this partition (read man on debugreiserfsck on -p option),
> and tell me you reiserfsutils version.
Ok, I'll try that tomorrow.
(In Japan, it's midnight. I want to go to sleep now.)
> Also were there any reiserfs specific error messages prior to the oops?
There was no error message from reiserfs.
Thank you.
--
Masaru Kawashima <masaruk@gol.com>
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [reiserfs-list] reiserfs remount problem (Re: Linux 2.4.17-rc2)
2001-12-19 15:21 ` Masaru Kawashima
@ 2001-12-19 15:26 ` Oleg Drokin
0 siblings, 0 replies; 11+ messages in thread
From: Oleg Drokin @ 2001-12-19 15:26 UTC (permalink / raw)
To: Masaru Kawashima; +Cc: linux-kernel, reiserfs-list, chris
Hello!
On Thu, Dec 20, 2001 at 12:21:17AM +0900, Masaru Kawashima wrote:
> > Ok, I still want the metadata from this partition (read man on debugreiserfsck on -p option),
> > and tell me you reiserfsutils version.
> Ok, I'll try that tomorrow.
> (In Japan, it's midnight. I want to go to sleep now.)
Good night, then.
> > Also were there any reiserfs specific error messages prior to the oops?
> There was no error message from reiserfs.
This is suspicious, because there is reiserfs_warning call in call trace you've sent us.
Bye,
Oleg
^ permalink raw reply [flat|nested] 11+ messages in thread
* Linux 2.4.17-rc2: highmem breaks loop, affs
2001-12-18 20:26 Linux 2.4.17-rc2 Marcelo Tosatti
2001-12-19 14:08 ` reiserfs remount problem (Re: Linux 2.4.17-rc2) Masaru Kawashima
@ 2001-12-19 17:57 ` Matthias Andree
2001-12-20 10:58 ` Linux 2.4.17-rc2 Rasmus Andersen
` (2 subsequent siblings)
4 siblings, 0 replies; 11+ messages in thread
From: Matthias Andree @ 2001-12-19 17:57 UTC (permalink / raw)
To: lkml
On Tue, 18 Dec 2001, Marcelo Tosatti wrote:
> So here it goes 2.4.17-rc2... as expected, bugfixes only.
A Highmem (4G) enabled kernel breaks loop and affs, without Highmem, it
is ok (SMP enabled kernel, 1 GB RAM):
depmod: *** Unresolved symbols in /lib/modules/2.4.17-rc2/kernel/drivers/block/loop.o
depmod: kunmap_high
depmod: create_bounce
depmod: highmem_start_page
depmod: kmap_high
depmod: *** Unresolved symbols in /lib/modules/2.4.17-rc2/kernel/fs/affs/affs.o
depmod: kunmap_high
depmod: highmem_start_page
depmod: kmap_high
I can provide a .config if needed.
^ permalink raw reply [flat|nested] 11+ messages in thread* Re: Linux 2.4.17-rc2
2001-12-18 20:26 Linux 2.4.17-rc2 Marcelo Tosatti
2001-12-19 14:08 ` reiserfs remount problem (Re: Linux 2.4.17-rc2) Masaru Kawashima
2001-12-19 17:57 ` Linux 2.4.17-rc2: highmem breaks loop, affs Matthias Andree
@ 2001-12-20 10:58 ` Rasmus Andersen
2001-12-20 18:32 ` Linux 2.4.17-rc2 -- unresolved symbols Maciek Nowacki
2001-12-20 21:29 ` Linux 2.4.17-rc2 Rasmus Andersen
4 siblings, 0 replies; 11+ messages in thread
From: Rasmus Andersen @ 2001-12-20 10:58 UTC (permalink / raw)
To: Marcelo Tosatti; +Cc: lkml
On Tue, Dec 18, 2001 at 06:26:03PM -0200, Marcelo Tosatti wrote:
>
> Hi,
>
> So here it goes 2.4.17-rc2... as expected, bugfixes only.
Hi.
Due to the (hideous) construct of multiple drivers in drivers/scsi
doing #include "NCR5380.c", we need the following patch to make
NCR5380_timer_fn static.
--- linux-2417r2/drivers/scsi/NCR5380.c.old Thu Dec 20 11:50:43 2001
+++ linux-2417r2/drivers/scsi/NCR5380.c Thu Dec 20 11:45:48 2001
@@ -612,7 +612,7 @@
* Locks: disables irqs, takes and frees io_request_lock
*/
-void NCR5380_timer_fn(unsigned long unused)
+static void NCR5380_timer_fn(unsigned long unused)
{
struct Scsi_Host *instance;
--
Rasmus(rasmus@jaquet.dk)
If at first you don't succeed, chainsaw juggling is not for you.
-- Anonymous
^ permalink raw reply [flat|nested] 11+ messages in thread* Re: Linux 2.4.17-rc2 -- unresolved symbols
2001-12-18 20:26 Linux 2.4.17-rc2 Marcelo Tosatti
` (2 preceding siblings ...)
2001-12-20 10:58 ` Linux 2.4.17-rc2 Rasmus Andersen
@ 2001-12-20 18:32 ` Maciek Nowacki
2001-12-20 21:29 ` Linux 2.4.17-rc2 Rasmus Andersen
4 siblings, 0 replies; 11+ messages in thread
From: Maciek Nowacki @ 2001-12-20 18:32 UTC (permalink / raw)
To: Marcelo Tosatti; +Cc: lkml
Hi,
Compiling everything as modules yields some unresolved symbols (UP):
depmod: *** Unresolved symbols in modules/kernel/drivers/net/wan/comx.o
depmod: *** Unresolved symbols in modules/kernel/fs/binfmt_elf.o
(binfmt_elf compiled as module since Christian Koenig's multiboot patches
theoretically allow this.. but I can't really test :-( )
More info (.config, ...?) available upon request.
Maciek
^ permalink raw reply [flat|nested] 11+ messages in thread* Re: Linux 2.4.17-rc2
2001-12-18 20:26 Linux 2.4.17-rc2 Marcelo Tosatti
` (3 preceding siblings ...)
2001-12-20 18:32 ` Linux 2.4.17-rc2 -- unresolved symbols Maciek Nowacki
@ 2001-12-20 21:29 ` Rasmus Andersen
4 siblings, 0 replies; 11+ messages in thread
From: Rasmus Andersen @ 2001-12-20 21:29 UTC (permalink / raw)
To: Marcelo Tosatti; +Cc: lkml
On Tue, Dec 18, 2001 at 06:26:03PM -0200, Marcelo Tosatti wrote:
>
> Hi,
>
> So here it goes 2.4.17-rc2... as expected, bugfixes only.
Hi.
I get the following error during kernel linking when compiling
with CONFIG_SERIAL=m and CONFIG_SERIAL_ACPI=y (at least, thats
my guess. .config snippet below).
drivers/char/char.o: In function `setup_serial_acpi':
drivers/char/char.o(.text.init+0x10fb): undefined reference to `early_serial_setup'
gmake: *** [vmlinux] Error 1
I would provide a patch but can't :)
#
# Character devices
#
CONFIG_VT=y
CONFIG_VT_CONSOLE=y
CONFIG_SERIAL=m
CONFIG_SERIAL_ACPI=y
CONFIG_SERIAL_EXTENDED=y
CONFIG_SERIAL_MANY_PORTS=y
CONFIG_SERIAL_SHARE_IRQ=y
CONFIG_SERIAL_DETECT_IRQ=y
CONFIG_SERIAL_MULTIPORT=y
CONFIG_HUB6=y
CONFIG_SERIAL_NONSTANDARD=y
CONFIG_COMPUTONE=m
--
Regards,
Rasmus(rasmus@jaquet.dk)
^ permalink raw reply [flat|nested] 11+ messages in thread