Skip to contentSkip to conversation

kernel oops with 10T filesystem

DISCUSSION Enrico Cavalli 1 participant 3 messages Nov 13, 2006 – Nov 14, 2006 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

Hello, we are getting random kernel opps with a 10T reiserfs (v 3.6)

The filesystem is mounted from a FC controller. We exclude hardware problems at the moment. Another machine works on a 11T fs without any apparent problems.

We are using linux 2.6.18.1, on debian 3.1.

FC driver is qla2300 from qlogic.

This is what I see in logs

BUG: unable to handle kernel paging request at virtual address 07b5f4df
 printing eip:
c01a7828
*pde = 00000000
Oops: 0002 [#1]
SMP
Modules linked in: xt_tcpudp xt_state iptable_filter iptable_nat ip_nat
ip_tables x_tables ipv6 8250 serial_core dm_mod qla2300 qla2xxx
qla2xxx_conf intermodule ip_conntrack_ftp ip_conntrack
CPU:    0
EIP:    0060:[<c01a7828>]    Tainted: GF     VLI
EFLAGS: 00010287   (2.6.18.1 #2)

EIP is at cleanup_bitmap_list+0x53/0xa7
eax: 07b5f4df ebx: f8d3e000 ecx: f8d3e0d0 edx: cfb9d248
esi: 07b5f4d7 edi: 00002c90 ebp: f8d3e0fc esp: d5631d40
ds: 007b es: 007b ss: 0068
Process umount (pid: 5879, ti=d5630000 task=c6b10a70 task.ti=d5630000)

Stack: d5f3ee00 eef7e440 eef7e440 00000002 d5f3ee00 c01a7cde 00000001
c01a86fa
       00001000 00000705 f6db1f58 00000000 00000803 00000000 ddc2f000
000007f1
       00000100 00000000 00000000 f8d3e000 00000001 

This is a debugreisers output.

debugreiserfs /dev/sde
debugreiserfs 3.6.19 (2003 www.namesys.com)

Filesystem state: consistency is not checked after last mounting

Reiserfs super block in block 16 on 0x840 of format 3.6 with standard journal
Count of blocks on the device: 2441871360
Number of bitmaps: 8984
Blocksize: 4096
Free blocks (count of blocks - used [journal, bitmaps, data, reserved] blocks): 2265270265
Root block: 10606881
Filesystem is NOT clean
Tree height: 5
Hash function used to sort names: "r5"
Objectid map size 2, max 972
Journal parameters:

        Device [0x0]
        Magic [0x7efbef9d]
        Size 8193 blocks (including 1 for journal header) (first block

18)
Max transaction length 1024 blocks
Max batch size 900 blocks
Max commit age 30
Blocks reserved by journal: 0
Fs state field: 0x0:
sb_version: 2
inode generation number: 13972
UUID: <no libuuid installed>
LABEL:
Set flags in SB:
ATTRIBUTES CLEAN

Also, if I try reiserfsck I get this error:

###########
reiserfsck --check started at Mon Nov 13 13:05:01 2006
###########
Replaying journal..
Reiserfs journal '/dev/sde' in blocks [18..8211]: 0 transactions replayed
reiserfs_open_ondisk_bitmap: wrong either bitmaps number, count of blocks or blocksize, run with --rebuild-sb to fix it
reiserfsck: Could not open bitmap

Problem persists even if I use the --rebuild-sb switch. (This happens also on the twin machine that works correctly).

What can It be? I would be grateful if someone could give me any usefulf hint.

Best regards,

Signature · 4 lines
Enrico Cavalli
CILEA - via R. Sanzio 4, 20090 - Segrate (MI), Italy
phone: +39 02 26995.1 - fax: +39 02 2135520 - skype: enricocavalli
PGP Fingerprint: 3762 7B1B 743E 029C 8F94  8ADE BC4B 43A7 0485 30E5
#2 lore raw
In reply to a message not in the archive
Quoted 10 lines · Vladimir V. Saveliev

Hello

Quoted 2 lines · Enrico Cavalli

Hello, we are getting random kernel opps with a 10T reiserfs (v 3.6)

reiserfs records number of bitmap blocks in 16 bit wide field of super block.
10T filesystem uses more than 65536 bitmap blocks, therefore, super block field is incorrect and that may cause the problem. IIRC, there was recently a patch to fix this problem, but I can not find it now.
Can anybody point us to that patch, please? If not or if I am confused and such a patch never existed, I will make a patch for you to try.

Ok, so maybe a solution would be using 8k as block size? Or this would not be a solution?

I wonder why the twin machine does not exibit the same problem (with a 11T fs, but maybe it depends on the number of allocated blocks)...

Thank you very much for your help and prompt response.

Best regards,

Quoted 1 line
Signature · 4 lines
Enrico Cavalli
CILEA - via R. Sanzio 4, 20090 - Segrate (MI), Italy
phone: +39 02 26995.1 - fax: +39 02 2135520 - skype: enricocavalli
PGP Fingerprint: 3762 7B1B 743E 029C 8F94  8ADE BC4B 43A7 0485 30E5
#3 lore raw
Quoted 4 lines · Enrico Cavalli

Ok, so maybe a solution would be using 8k as block size? Or this would not be a solution?

It seems that using 8k makes the filesystem not mountable (but reiserfsck works....)

Quoted 1 line
Signature · 4 lines
Enrico Cavalli
CILEA - via R. Sanzio 4, 20090 - Segrate (MI), Italy
phone: +39 02 26995.1 - fax: +39 02 2135520 - skype: enricocavalli
PGP Fingerprint: 3762 7B1B 743E 029C 8F94  8ADE BC4B 43A7 0485 30E5