Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
kernel-bug with reiser4
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
rer
n00b
n00b


Joined: 26 Mar 2010
Posts: 33

PostPosted: Sat Apr 17, 2010 12:43 pm    Post subject: kernel-bug with reiser4 Reply with quote

Hi,

I have occaisionally a null-pointer kernel-bug concerning reiser4. I don't know under which circumstances it appears, but as far as i know it seem to appear only a while after I resumed from suspend(tuxonice), not the after a fresh reboot. I've noticed this problem since kernel 2.6.31, now I use 2.6.33 on a x86-32 environment. After the bug, the kernel continues to run, but the system becomes unstable. Anyone same experience? I've patched a vanilla and a gentoo-kernel with edwards latest 'official' patches

Here the log:
Apr 16 22:24:20 rolli5 kernel: [15896.241188] BUG: unable to handle kernel NULL
pointer dereference at (null)
Apr 16 22:24:20 rolli5 kernel: [15896.241196] IP: [<f95f5e98>] checkin_logical_c
luster+0xb7/0x17c [reiser4]
Apr 16 22:24:20 rolli5 kernel: [15896.241228] *pde = 00000000
Apr 16 22:24:20 rolli5 kernel: [15896.241231] Oops: 0000 [#1]
Apr 16 22:24:20 rolli5 kernel: [15896.241234] last sysfs file: /sys/devices/syst
em/cpu/cpu0/cpufreq/scaling_governor
Apr 16 22:24:20 rolli5 kernel: [15896.241237] Modules linked in: ppp_async crc_c
citt ppp_generic slhc fuse xt_tcpudp ipt_LOG iptable_filter ipt_MASQUERADE iptab
le_nat nf_nat nf_conntrack_ipv4 nf_conntrack nf_defrag_ipv4 ip_tables x_tables a
f_packet rfcomm bridge stp llc bnep sco l2cap crc16 reiser4 tun option usbserial
btusb bluetooth rfkill prism2_usb(C) dvb_usb_dibusb_mb dvb_usb_dibusb_common mt
2060 dib3000mc dibx000_common dvb_pll dib3000mb dvb_usb dvb_core usb_storage usb
_libusual usblp snd_via82xx gameport radeonfb snd_ac97_codec sr_mod cdrom rtc_cm
os fb_ddc rtc_core ac97_bus snd_pcm rtc_lib i2c_algo_bit snd_timer ehci_hcd ther
mal snd_page_alloc uhci_hcd pata_via button i2c_core snd_mpu401_uart pata_acpi e
vdev usbcore skge ata_generic snd_rawmidi snd soundcore
Apr 16 22:24:20 rolli5 kernel: [15896.241282]
Apr 16 22:24:20 rolli5 kernel: [15896.241287] Pid: 10972, comm: java Tainted: G
C 2.6.33-gentoo #11 K8VSEDX/To Be Filled By O.E.M.
Apr 16 22:24:20 rolli5 kernel: [15896.241291] EIP: 0060:[<f95f5e98>] EFLAGS: 002
10246 CPU: 0
Apr 16 22:24:20 rolli5 kernel: [15896.241314] EIP is at checkin_logical_cluster+
0xb7/0x17c [reiser4]
Apr 16 22:24:20 rolli5 kernel: [15896.241317] EAX: 00000001 EBX: 00000000 ECX: 0
0000000 EDX: cec9795c
Apr 16 22:24:20 rolli5 kernel: [15896.241320] ESI: 00000000 EDI: d413bd40 EBP: 0
0000000 ESP: d413bcf0
Apr 16 22:24:20 rolli5 kernel: [15896.241323] DS: 007b ES: 007b FS: 0000 GS: 00
33 SS: 0068
Apr 16 22:24:20 rolli5 kernel: [15896.241326] Process java (pid: 10972, ti=d413a
000 task=e58646e0 task.ti=d413a000)
Apr 16 22:24:20 rolli5 kernel: [15896.241328] Stack:
Apr 16 22:24:20 rolli5 kernel: [15896.241330] cec9795c 00000000 00000000 000000
00 00000000 d413bd40 00000000 f95f75f0
Apr 16 22:24:20 rolli5 kernel: [15896.241335] <0> cec9795c 00000000 f0cdb680 d41
3bd98 cec9795c f95f785a c105eb05 f0cdb880
Apr 16 22:24:20 rolli5 kernel: [15896.241340] <0> 00000000 00000000 c14ed0c0 fff
ffff4 00000000 00000000 00000000 00000000
Apr 16 22:24:20 rolli5 kernel: [15896.241346] Call Trace:
Apr 16 22:24:20 rolli5 kernel: [15896.241371] [<f95f75f0>] ? capture_page_clust
er+0x9f/0xcb [reiser4]
Apr 16 22:24:20 rolli5 kernel: [15896.241395] [<f95f785a>] ? write_end_cryptcom
press+0x23e/0x24f [reiser4]
Apr 16 22:24:20 rolli5 kernel: [15896.241401] [<c105eb05>] ? __alloc_pages_node
mask+0xef/0x48a
Apr 16 22:24:20 rolli5 kernel: [15896.241426] [<f95f4bd4>] ? reiser4_write_end_
careful+0xe7/0x151 [reiser4]
Apr 16 22:24:20 rolli5 kernel: [15896.241432] [<c1059f3e>] ? pagecache_write_en
d+0x32/0x3a
Apr 16 22:24:20 rolli5 kernel: [15896.241437] [<c108f961>] ? pipe_to_file+0xed/
0xf8
Apr 16 22:24:20 rolli5 kernel: [15896.241441] [<c108e958>] ? splice_from_pipe_f
eed+0x3e/0xb9
Apr 16 22:24:20 rolli5 kernel: [15896.241445] [<c108f874>] ? pipe_to_file+0x0/0
xf8
Apr 16 22:24:20 rolli5 kernel: [15896.241449] [<c108f7f2>] ? generic_file_splic
e_write+0xb3/0x135
Apr 16 22:24:20 rolli5 kernel: [15896.241453] [<c108f73f>] ? generic_file_splic
e_write+0x0/0x135
Apr 16 22:24:20 rolli5 kernel: [15896.241456] [<c108eefe>] ? do_splice_from+0x5
6/0x5d
Apr 16 22:24:20 rolli5 kernel: [15896.241460] [<c108ef19>] ? direct_splice_acto
r+0x14/0x18
Apr 16 22:24:20 rolli5 kernel: [15896.241464] [<c108f5f9>] ? splice_direct_to_a
ctor+0xe5/0x199
Apr 16 22:24:20 rolli5 kernel: [15896.241467] [<c108ef05>] ? direct_splice_acto
r+0x0/0x18
Apr 16 22:24:20 rolli5 kernel: [15896.241471] [<c108f71f>] ? do_splice_direct+0
x72/0x92
Apr 16 22:24:20 rolli5 kernel: [15896.241476] [<c1079657>] ? do_sendfile+0x14f/
0x199
Apr 16 22:24:20 rolli5 kernel: [15896.241480] [<c1079767>] ? sys_sendfile+0x45/
0x88
Apr 16 22:24:20 rolli5 kernel: [15896.241484] [<c1002610>] ? sysenter_do_call+0
x12/0x26
Apr 16 22:24:20 rolli5 kernel: [15896.241487] Code: 74 09 31 ed 83 f8 02 75 1f e
b 05 8b 6f 3c eb 18 8b 57 0c 8b 42 04 03 02 31 d2 05 ff 0f 00 00 83 d2 00 0f ac
d0 0c 89 c5 8b 77 48 <8b> 06 f6 c4 01 74 27 8b 04 24 e8 a6 3f fe ff e8 92 96 fe
ff 8b
Apr 16 22:24:20 rolli5 kernel: [15896.241511] EIP: [<f95f5e98>] checkin_logical_
cluster+0xb7/0x17c [reiser4] SS:ESP 0068:d413bcf0
Apr 16 22:24:20 rolli5 kernel: [15896.241536] CR2: 0000000000000000
Apr 16 22:24:20 rolli5 kernel: [15896.241539] ---[ end trace 1da559583eca64e2 ]-
--
Apr 16 22:44:20 rolli5 -- MARK --
Back to top
View user's profile Send private message
Shining Arcanine
Veteran
Veteran


Joined: 24 Sep 2009
Posts: 1110

PostPosted: Sat Apr 17, 2010 12:51 pm    Post subject: Reply with quote

I think it is safe to say that this is an issue in the patches that add reiser4 support to the kernel. I have never touched the kernel sources on my system; I just compile them and they works, so without more information, I doubt I could fix this. Perhaps some kernel whiz here might be able to do it, but I think it would be a good idea to contact edwards about this; they are his patches, so he should be in the best position to figure out the cause of this.
Back to top
View user's profile Send private message
rer
n00b
n00b


Joined: 26 Mar 2010
Posts: 33

PostPosted: Sat Apr 17, 2010 4:14 pm    Post subject: Reply with quote

same bug in the zen-patches 2.6.32-zen7 and .33-zen1 for vanilla-kernels. Looks like the well known bdi-flushing bug as it seems to appear when system syncs, but i thought this bug was fixed more than 3 month ago. Funny also, it seems to appear only after a resume, looks like some fs-state is not saved/restored correctly
Back to top
View user's profile Send private message
luciano
Tux's lil' helper
Tux's lil' helper


Joined: 18 Nov 2004
Posts: 127

PostPosted: Tue Apr 27, 2010 9:19 am    Post subject: Reply with quote

I raised this on the reiserfs mailing list last month, and I think Edward will fix it:

http://marc.info/?l=reiserfs-devel&m=126901737829237&w=2

It was introduced either in 2.6.32 or 2.6.33. If you want to avoid this problem, downgrade back to 2.6.31.

I hope that they include reiser4 in the main kernel soon. It's my favourite filesystem and been using it for a good couple of years with no probs - this is the first time I had anything.

Btw, you may want to run fsck on your system after this occurrs.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum