Hi,

I've been using reiser4 on single-core amd64 for a long time and had no 
major problems, only a few corruptions detected every 2-3 months which 
is an acceptable speed tradeoff for me. Several days ago I've upraded to 
amd x2 and rebuild the kernel with SMP support. Everything was fine, 
reiser4 sustained high load for a couple of days, but yesterday I got an 
OOPS while running very I/O intensive processes:

Unable to handle kernel NULL pointer dereference at 0000000000000280 RIP: 
<ffffffff8804b400>{:reiser4:get_tree+0}
PGD 7a8f3067 PUD 7dbf2067 PMD 0 
Oops: 0000 [1] PREEMPT SMP 
CPU 1 
Modules linked in: it87 hwmon_vid eeprom i2c_isa iptable_nat ipt_REJECT 
iptable_filter ipt_MARK ipt_owner iptable_mangle ip_tables snd_pcm_oss 
snd_mixer_oss snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device eth1394 
uhci_hcd usbhid ohci1394 ieee1394 usblp 8139too usb_storage nvidia snd_intel8x0 
snd_ac97_codec snd_ac97_bus snd_pcm snd_timer snd snd_page_alloc ehci_hcd 
ohci_hcd i2c_nforce2 usbcore nls_koi8_r ntfs reiser4 zlib_deflate ip_nat_irc 
ip_conntrack_irc ip_nat_ftp ip_nat ip_conntrack_ftp ip_conntrack 
cpufreq_ondemand powernow_k8 freq_table nls_cp866
Pid: 8917, comm: mysqld Tainted: P      2.6.14-archck5 #3
RIP: 0010:[<ffffffff8804b400>] <ffffffff8804b400>{:reiser4:get_tree+0}
RSP: 0018:ffff810075781620  EFLAGS: 00010206
RAX: 0000000049b00000 RBX: ffff81006774f850 RCX: ffff81006774f850
RDX: ffff81007ffbe000 RSI: 00000000000000d0 RDI: 0000000000000000
RBP: ffff810075781978 R08: ffff810021db8000 R09: 0000000000000026
R10: 0000000000000026 R11: ffffffff88063970 R12: ffff810073f93080
R13: ffff810075781a88 R14: 0000000000000003 R15: ffff810070529a00
FS:  0000000041802960(0063) GS:ffffffff804ad880(0000) knlGS:00000000ae102bb0
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000280 CR3: 000000007aa01000 CR4: 00000000000006e0
Process mysqld (pid: 8917, threadinfo ffff810075780000, task ffff81007efae380)
Stack: ffffffff88071282 ffff81006117c1c0 ffffffff8806eda9 ffff810075781a68 
       ffffffff88073cd1 0000000020308e24 ffffffff8806eda9 0000000000000000 
       0000000000049b00 0000000049b00000 
Call Trace:<ffffffff88071282>{:reiser4:write_extent+194} 
<ffffffff8806eda9>{:reiser4:nr_units_extent+9}
       <ffffffff88073cd1>{:reiser4:item_length_by_coord+17}
       <ffffffff8806eda9>{:reiser4:nr_units_extent+9} 
<ffffffff88063de7>{:reiser4:lookup_node40+1079}
       <ffffffff88033733>{:reiser4:jload_gfp+499} 
<ffffffff880480a5>{:reiser4:cbk_node_lookup+805}
       <ffffffff88063962>{:reiser4:plugin_by_coord_node40+50}
       <ffffffff88073c61>{:reiser4:obtain_item_plugin+17} 
<ffffffff88073d52>{:reiser4:unit_key_by_coord+34}
       <ffffffff880639a5>{:reiser4:key_at_node40+53} 
<ffffffff880639a5>{:reiser4:key_at_node40+53}
       <ffffffff880550f1>{:reiser4:leftmost_key_in_node+49}
       <ffffffff88048cf9>{:reiser4:coord_by_handle+2953} 
<ffffffff8028dab1>{__make_request+1249}
       <ffffffff88049024>{:reiser4:coord_by_key+196} 
<ffffffff8806eda9>{:reiser4:nr_units_extent+9}
       <ffffffff880707eb>{:reiser4:extent_readpage_filler+219}
       <ffffffff88070710>{:reiser4:extent_readpage_filler+0}
       <ffffffff88070710>{:reiser4:extent_readpage_filler+0}
       <ffffffff8015fb1b>{read_cache_pages+139} 
<ffffffff8015d2f2>{buffered_rmqueue+594}
       <ffffffff8804f89b>{:reiser4:reiser4_readpages+123} 
<ffffffff8015fd2a>{__do_page_cache_readahead+378}
       <ffffffff88048f1d>{:reiser4:object_lookup+253} 
<ffffffff8016000d>{blockable_page_cache_readahead+109}
       <ffffffff801602b0>{page_cache_readahead+384} 
<ffffffff88070ac1>{:reiser4:read_extent+321}
       <ffffffff8805b087>{:reiser4:read_unix_file+871} 
<ffffffff8017aa56>{vfs_read+230}
       <ffffffff8017af44>{sys_pread64+100} <ffffffff8010dd36>{system_call+126}
       

Code: 48 8b 87 80 02 00 00 48 83 c0 20 c3 66 66 66 90 31 d2 48 85 
RIP <ffffffff8804b400>{:reiser4:get_tree+0} RSP <ffff810075781620>
CR2: 0000000000000280
 <1>Unable to handle kernel NULL pointer dereference at 0000000000000070 RIP: 
<ffffffff8804073d>{:reiser4:try_capture+429}
PGD 7a8f3067 PUD 7dbf2067 PMD 0 
Oops: 0000 [2] PREEMPT SMP 
CPU 1 
Modules linked in: it87 hwmon_vid eeprom i2c_isa iptable_nat ipt_REJECT 
iptable_filter ipt_MARK ipt_owner iptable_mangle ip_tables snd_pcm_oss 
snd_mixer_oss snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device eth1394 
uhci_hcd usbhid ohci1394 ieee1394 usblp 8139too usb_storage nvidia snd_intel8x0 
snd_ac97_codec snd_ac97_bus snd_pcm snd_timer snd snd_page_alloc ehci_hcd 
ohci_hcd i2c_nforce2 usbcore nls_koi8_r ntfs reiser4 zlib_deflate ip_nat_irc 
ip_conntrack_irc ip_nat_ftp ip_nat ip_conntrack_ftp ip_conntrack 
cpufreq_ondemand powernow_k8 freq_table nls_cp866
Pid: 20006, comm: mysqld Tainted: P      2.6.14-archck5 #3
RIP: 0010:[<ffffffff8804073d>] <ffffffff8804073d>{:reiser4:try_capture+429}
RSP: 0018:ffff810006c41a98  EFLAGS: 00010293
RAX: ffff810021f82820 RBX: ffff81000db23d80 RCX: ffff81006774f8a8
RDX: ffff81006774f8a8 RSI: 0000000000000002 RDI: 0000000000000000
RBP: ffff810013d726c0 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000008
R13: ffff81004d9cdc40 R14: fffffffffffffff8 R15: 0000000000000000
FS:  000000004398e960(0063) GS:ffffffff804ad880(0000) knlGS:00000000a3c72bb0
CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
CR2: 0000000000000070 CR3: 000000007aa01000 CR4: 00000000000006e0
Process mysqld (pid: 20006, threadinfo ffff810006c40000, task ffff810021f82820)
Stack: 0000000000000001 ffff810013d72788 ffff810013d72770 ffffffff88073cb1 
       0000000006c41b48 ffff81006774f8a8 000000017aa4c410 0000000200000000 
       0000000000000000 00000000fffffe09 
Call Trace:<ffffffff88073cb1>{:reiser4:item_body_by_coord_hard+17}
       <ffffffff88038fc6>{:reiser4:longterm_lock_znode+870}
       <ffffffff8804d205>{:reiser4:lock_neighbor+197} 
<ffffffff8804d344>{:reiser4:reiser4_get_parent_flags+84}
       <ffffffff88045301>{:reiser4:flush_current_atom+2209}
       <ffffffff8805a639>{:reiser4:writepages_unix_file+2089}
       <ffffffff8803f1c9>{:reiser4:txn_end+409} 
<ffffffff8803f599>{:reiser4:txn_restart+9}
       <ffffffff8803f633>{:reiser4:force_commit_atom_nolock+99}
       <ffffffff8803fb94>{:reiser4:sync_atom+84} 
<ffffffff88059da8>{:reiser4:commit_file_atoms+392}
       <ffffffff8805a6df>{:reiser4:sync_unix_file+63} 
<ffffffff801588d4>{__filemap_fdatawrite_range+148}
       <ffffffff8017c96e>{do_fsync+190} <ffffffff8010dd36>{system_call+126}
       

Code: 49 8b 7e 78 e8 aa a9 2f f8 85 c0 0f 84 ac 00 00 00 49 8b 7e 
RIP <ffffffff8804073d>{:reiser4:try_capture+429} RSP <ffff810006c41a98>
CR2: 0000000000000070
 <6>note: mysqld[20006] exited with preempt_count 4





After rebooting (with sync+unmount using magic SysRQ) I've checked the 
filesystem, here's the report:

FSCK: Node (15064625), item (0), [29:1(SD):0:2a:0]: does not look like a valid 
SD plugin set extention: wrong pset member count detected (12). 
FSCK: Node (15064625), item (0), [29:1(SD):0:2a:0]: does not look like a valid 
stat data. 
FSCK: Node (15064625), item (0), [29:1(SD):0:2a:0]: broken item found. Remove 
it. 
FSCK: Node (15064625): The left delimiting key [2a:0(NAME):0:0:0] in the parent 
node (15064624), pos (0/4294967295) does not match the first key 
[29:1(SD):0:2a:0] in the node. Fixed. 
FSCK: Node (11514349), item (0): 1 mergable units were found in the extent40 
unit. Fixed. 
FSCK: Failed to recognize the plugin for the directory [29:0:2a]. 
FSCK: Trying to recover the directory [29:0:2a] with the default plugin--dir40. 
FSCK: The file [29:0:2a] does not have a StatData item. Creating a new one. 
Plugin dir40. 
FSCK: Node (15064625), item (0), [29:0:2a] (stat40): wrong size (0), Fixed to 
(14). 
FSCK: Node (15064625), item (0), [29:0:2a] (stat40): wrong bytes (0), Fixed to 
(700). 

reiser4 code is from the 2.6.14-archck5 kernel which, according to it's 
homepage, uses reiser4 from 2.6.14-rc5-mm1 with some additional fixes.

my .config is attached.

-- 
/KoS
* Frontpage, allowing more people who can't design to be on the web.

Attachment: .config.gz
Description: application/gunzip

Reply via email to