On Fri, 2005-09-16 at 15:58 +0100, Peter Grandi wrote:
> >>> On Fri, 16 Sep 2005 15:16:15 +0100,
> >>> [EMAIL PROTECTED] (Peter Grandi) said:
> 
> [ ... ]
> 
> >>> * Some of my tests were tree traversals, [ ... ] the timings
> >>> be with '-o noatime', unfortunately I got a crash because
> >>> of that.
> 
> shaggy> noatime is used a lot, I don't think noatime was a
> shaggy> direct cause of the problem, [ ... ]
> 
> pg_jfs> I concur. I have tried to reproduce it subsequently but
> pg_jfs> did not happen again, but then I now remember I did this
> pg_jfs> on an empty filesystem being freshly loaded, so perhaps
> pg_jfs> it is a corner case.  I'll do another test.
> 
> Spoke too soon, it happened again, and I got a backtrace (I
> haven't applied the patch you just sent me yet). It does not
> look directly JFS related.

No, I googled and found a similar oops reported on a -ck kernel with
reiserfs: http://bhhdoa.org.au/pipermail/ck/2005-August/004136.html

I haven't read the whole thread, so I don't know what's known about it
yet.

> I was doing tests with various log sizes (strange results
> still), with and without 'noatime' and with the 'cfq' or the
> 'anticipatory' elevators, having switched to 'anticipatory' a
> bit earlier, and post-boot elevator switching seems a bit buggy.
> 
> But it is curious that it happened as I specified 'noatime' and
> not without.

Try my patch and avoid anticipatory, and I think that you may be okay.

> ----------------------------------------------------------------
> Unable to handle kernel NULL pointer dereference at virtual address 0000000c
>  printing eip:
> c02f2ecf
> *pde = 00000000
> Oops: 0000 [#1]
> DEBUG_PAGEALLOC
> Modules linked in: videodev loop binfmt_misc snd_cmipci snd_opl3_lib 
> snd_hwdep snd_seq_oss snd_seq_midi snd_seq_midi_event snd_seq snd_via82xx 
> gameport snd_ac97_codec snd_pcm_oss snd_mixer_oss snd_pcm snd_timer 
> snd_page_alloc snd_mpu401_uart snd_rawmidi snd_seq_device snd soundcore 3c59x 
> mii parport_pc lp parport video thermal processor fan container button 
> battery ac it87 eeprom i2c_sensor i2c_isa i2c_dev i2c_core ntfs nls_iso8859_1 
> nls_cp850 sg sr_mod ide_scsi scsi_mod 8250 serial_core nvram rtc
> CPU:    0
> EIP:    0060:[as_queue_empty+15/64]    Not tainted VLI
> EFLAGS: 00210086   (2.6.13p) 
> EIP is at as_queue_empty+0xf/0x40
> eax: 0000000c   ebx: c05e0c58   ecx: c02f2ec0   edx: 00000000
> esi: c05e0ee0   edi: c05e0ee0   ebp: c3436cbc   esp: c3436cbc
> ds: 007b   es: 007b   ss: 0068
> Process mount (pid: 20241, threadinfo=c3436000 task=daeccb10)
> Stack: c3436cc8 c02e7b16 dfdf47d8 c3436d00 c0310842 dfdf47d8 c3436ce4 
> 00000000 
>        d7e9435c c11ba940 00200086 dfdf45fc c3436dc8 c14027e0 dfdf45fc 
> c3436dc8 
>        c14027e0 c3436d10 c0310cd6 dfdef1e0 ffffffff c3436d20 c02ea649 
> dfdf45fc 
> Call Trace:
>  [show_stack+127/160] show_stack+0x7f/0xa0
>  [show_registers+343/448] show_registers+0x157/0x1c0
>  [die+332/688] die+0x14c/0x2b0
>  [do_page_fault+921/1791] do_page_fault+0x399/0x6ff
>  [error_code+79/84] error_code+0x4f/0x54
>  [elv_queue_empty+38/48] elv_queue_empty+0x26/0x30
>  [ide_do_request+130/1264] ide_do_request+0x82/0x4f0
>  [do_ide_request+38/48] do_ide_request+0x26/0x30
>  [__generic_unplug_device+57/64] __generic_unplug_device+0x39/0x40
>  [generic_unplug_device+124/352] generic_unplug_device+0x7c/0x160
>  [blk_backing_dev_unplug+41/48] blk_backing_dev_unplug+0x29/0x30
>  [block_sync_page+62/80] block_sync_page+0x3e/0x50
>  [sync_page+70/80] sync_page+0x46/0x50
>  [__wait_on_bit_lock+93/112] __wait_on_bit_lock+0x5d/0x70
>  [__lock_page+132/144] __lock_page+0x84/0x90
>  [do_generic_mapping_read+875/1088] do_generic_mapping_read+0x36b/0x440
>  [__generic_file_aio_read+445/496] __generic_file_aio_read+0x1bd/0x1f0
>  [generic_file_read+170/208] generic_file_read+0xaa/0xd0
>  [vfs_read+213/432] vfs_read+0xd5/0x1b0
>  [sys_read+75/128] sys_read+0x4b/0x80
>  [syscall_call+7/11] syscall_call+0x7/0xb
> Code: b8 70 99 47 c0 89 44 24 04 e8 9e 0b e3 ff e8 d9 1c e1 ff e9 fb fe ff ff 
> 8d 74 26 00 55 89 e5 8b 45 08 8b 40 0c 8b 50 04 8d 42 0c <39> 42 0c 75 1c 8d 
> 42 14 39 42 14 75 14 8b 42 2c 39 00 74 11 8d 
>  drivers/block/ll_rw_blk.c:1475: spin_lock(drivers/ide/ide.c:c052ad08) 
> already locked by drivers/block/ll_rw_blk.c/1475
> ----------------------------------------------------------------

David Kleikamp
IBM Linux Technology Center



-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Jfs-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jfs-discussion

Reply via email to