All of lore.kernel.org
 help / color / mirror / Atom feed
From: robinx99-hi6Y0CQ0nG0@public.gmane.org
To: users-JrjvKiOkagjYtjvyW6yDsg@public.gmane.org
Subject: Kernel Bug after corrupted filesystem
Date: Tue, 30 Dec 2008 14:19:53 +0100	[thread overview]
Message-ID: <20081230131953.298540@gmx.net> (raw)

[-- Attachment #1: Type: text/plain, Size: 949 bytes --]

Hi,
I am experimenting with nilfs2 for a while now, because I like the Idea of this filesystem. The filesystem I have problems with now is a more complex problem. I used just for testing purpose a file on an ext3 filesystem as a cryptoloop device and I used nilfs2 on the loopback device. It worked for about half a year without a problem. But I have no Idea what was actualy going wrong (ext3 problem, cryptoloop problem, nilfs problem?) and I don't know if a filesystem under normal conditations get corrupted like this (actualy no real data loss either, because almost all files existed elswhere)

But when I now try to mount the nilfs2 filesystem it does not work. No result from the mount command, but the attached in dmsg. The system is still useable, but I am not able to shut it down (have to hold power button 3 seconds). And I am not able to unload the nilfs module either (is in use)

Hope this helps to further improve nilfs2.

robinx99

[-- Attachment #2: dmesg --]
[-- Type: application/octet-stream, Size: 12898 bytes --]

[  585.410148] NILFS: INFO: recovery required for readonly filesystem.                                                                                                              
[  585.410161] NILFS: write access will be enabled during recovery.                                                                                                                 
[  585.515146] ------------[ cut here ]------------                                                                                                                                 
[  585.515156] kernel BUG at /root/nilfs/nilfs-2.0.5/fs/btree.c:503!                                                                                                                
[  585.515162] invalid opcode: 0000 [1] SMP                                                                                                                                         
[  585.515169] CPU 1                                                                                                                                                                
[  585.515174] Modules linked in: nilfs2 af_packet binfmt_misc rfcomm bridge stp bnep sco l2cap bluetooth vboxdrv ppdev ipv6 acpi_cpufreq cpufreq_conservative cpufreq_stats 
cpufreq_powersave cpufreq_userspace cpufreq_ondemand freq_table container sbs sbshc pci_slot iptable_filter ip_tables x_tables ext2 aes_x86_64 aes_generic cbc dm_crypt 
dm_mod sbp2 parport_pc lp parport loop snd_hda_intel snd_pcm_oss arc4 snd_mixer_oss ecb crypto_blkcipher snd_pcm iwlagn iwlcore snd_seq_dummy rfkill snd_seq_oss mac80211 
joydev sdhci_pci snd_seq_midi uvcvideo snd_rawmidi cfg80211 acer_wmi compat_ioctl32 serio_raw sdhci mmc_core videodev v4l1_compat pcspkr evdev psmouse led_class ricoh_mmc 
nvidia(P) snd_seq_midi_event i2c_core snd_seq snd_timer snd_seq_device iTCO_wdt snd iTCO_vendor_support soundcore wmi video output battery ac button snd_page_alloc 
intel_agp shpchp pci_hotplug ext3 jbd mbcache sr_mod cdrom sd_mod crc_t10dif sg ata_piix pata_acpi usbhid hid ohci1394 ieee1394 ata_generic ahci libata scsi_mod dock tg3 
libphy ehci_hcd uhci_hcd usbcore raid10 raid456 async_xor async_memcpy async_tx xor raid1 raid0 multipath linear md_mod thermal processor fan fuse vesafb fbcon tileblit 
font bitblit softcursor                                                    
[  585.515398] Pid: 7993, comm: mount.nilfs2 Tainted: P          2.6.27-11-generic #1                                                                                               
[  585.515404] RIP: 0010:[<ffffffffa0f900f4>]  [<ffffffffa0f900f4>] nilfs_btree_do_lookup+0x214/0x220 [nilfs2]                                                                      
[  585.515435] RSP: 0018:ffff8800538535b8  EFLAGS: 00010212                                                                                                                         
[  585.515440] RAX: 0000000000000040 RBX: ffff8800565b0000 RCX: 00000000c0000100                                                                                                    
[  585.515445] RDX: 0000000000000002 RSI: ffff880053853518 RDI: ffff880001002680                                                                                                    
[  585.515450] RBP: ffff880053853618 R08: 0000000000000000 R09: 00000000ffffffff                                                                                                    
[  585.515455] R10: 0000000000000000 R11: 0000000000000000 R12: ffff8800566e0800                                                                                                    
[  585.515460] R13: ffff880048838018 R14: 0000000000000001 R15: 0000000000000000                                                                                                    
[  585.515466] FS:  00007f840e7736e0(0000) GS:ffff88007f802880(0000) knlGS:0000000000000000                                                                                         
[  585.515472] CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b                                                                                                                    
[  585.515477] CR2: 00007fff1679b000 CR3: 000000004985a000 CR4: 00000000000006e0                                                                                                    
[  585.515483] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000                                                                                                    
[  585.515488] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400                                                                                                    
[  585.515494] Process mount.nilfs2 (pid: 7993, threadinfo ffff880053852000, task ffff88005660d9c0)                                                                                 
[  585.515499] Stack:  0000000000000000 00000002803139fc ffff880053853638 0000000000001471                                                                                          
[  585.515511]  0000000200000000 0000000000000246 00000000538535f8 ffff8800566e0700                                                                                                 
[  585.515521]  ffff880048838018 00000000fffffff4 0000000000000001 ffff8800538536d8                                                                                                 
[  585.515530] Call Trace:                                                                                                                                                          
[  585.515552]  [<ffffffffa0f9016e>] nilfs_btree_lookup+0x6e/0xb0 [nilfs2]                                                                                                          
[  585.515573]  [<ffffffffa0f8f989>] nilfs_bmap_lookup_at_level+0x49/0xa0 [nilfs2]                                                                                                  
[  585.515594]  [<ffffffffa0f8f9ff>] nilfs_bmap_lookup+0x1f/0x40 [nilfs2]                                                                                                           
[  585.515613]  [<ffffffffa0f8da26>] nilfs_mdt_submit_block+0xe6/0x1a0 [nilfs2]                                                                                                     
[  585.515633]  [<ffffffffa0f8db0b>] nilfs_mdt_read_block+0x2b/0x150 [nilfs2]                                                                                                       
[  585.515653]  [<ffffffffa0f8dd6b>] nilfs_mdt_get_block+0x6b/0x2b0 [nilfs2]                                                                                                        
[  585.515664]  [<ffffffff80313b1b>] ? alloc_buffer_head+0x4b/0x60                                                                                                                  
[  585.515670]  [<ffffffff80313859>] ? set_bh_page+0x9/0x50                                                                                                                         
[  585.515679]  [<ffffffff8050367e>] ? _spin_lock+0xe/0x20                                                                                                                          
[  585.515702]  [<ffffffffa0fa00a2>] nilfs_palloc_get_entry_block+0x62/0x70 [nilfs2]                                                                                                
[  585.515725]  [<ffffffffa0f94ad1>] nilfs_dat_translate+0x31/0xd0 [nilfs2]                                                                                                         
[  585.515746]  [<ffffffffa0f8e4ef>] nilfs_btnode_submit_block+0x16f/0x260 [nilfs2]                                                                                                 
[  585.515766]  [<ffffffffa0f8e5f4>] nilfs_btnode_get+0x14/0x80 [nilfs2]                                                                                                            
[  585.515786]  [<ffffffffa0f8f64d>] nilfs_bmap_get_block+0x1d/0x20 [nilfs2]                                                                                                        
[  585.515806]  [<ffffffffa0f9000f>] nilfs_btree_do_lookup+0x12f/0x220 [nilfs2]                                                                                                     
[  585.515826]  [<ffffffffa0f9016e>] nilfs_btree_lookup+0x6e/0xb0 [nilfs2]                                                                                                          
[  585.515846]  [<ffffffffa0f8f989>] nilfs_bmap_lookup_at_level+0x49/0xa0 [nilfs2]                                                                                                  
[  585.515866]  [<ffffffffa0f8f9ff>] nilfs_bmap_lookup+0x1f/0x40 [nilfs2]                                                                                                           
[  585.515885]  [<ffffffffa0f8da26>] nilfs_mdt_submit_block+0xe6/0x1a0 [nilfs2]                                                                                                     
[  585.515905]  [<ffffffffa0f8db0b>] nilfs_mdt_read_block+0x2b/0x150 [nilfs2]                                                                                                       
[  585.515924]  [<ffffffffa0f8dd6b>] nilfs_mdt_get_block+0x6b/0x2b0 [nilfs2]                                                                                                        
[  585.515932]  [<ffffffff80503576>] ? _spin_lock_irq+0x16/0x20                                                                                                                     
[  585.515938]  [<ffffffff80503384>] ? __down_write_nested+0xc4/0xd0                                                                                                                
[  585.515961]  [<ffffffffa0f9d3d8>] nilfs_cpfile_get_checkpoint+0x68/0x210 [nilfs2]                                                                                                
[  585.515982]  [<ffffffffa0f8d319>] ? nilfs_mdt_set_entry_size+0x9/0x40 [nilfs2]                                                                                                   
[  585.516002]  [<ffffffffa0f8a668>] nilfs_attach_checkpoint+0xc8/0x1b0 [nilfs2]                                                                                                    
[  585.516020]  [<ffffffffa0f8b250>] nilfs_get_sb+0x430/0x700 [nilfs2]                                                                                                              
[  585.516029]  [<ffffffff802bbb0b>] ? kstrdup+0x5b/0x80                                                                                                                            
[  585.516037]  [<ffffffff802d5c0d>] ? alloc_pages_current+0xad/0x110                                                                                                               
[  585.516050]  [<ffffffff802ec4f1>] vfs_kern_mount+0x81/0x180                                                                                                                      
[  585.516060]  [<ffffffff802ec663>] do_kern_mount+0x53/0x110                                                                                                                       
[  585.516067]  [<ffffffff803080bc>] do_new_mount+0x9c/0xd0                                                                                                                         
[  585.516073]  [<ffffffff80308765>] do_mount+0x245/0x270                                                                                                                           
[  585.516081]  [<ffffffff802d5c0d>] ? alloc_pages_current+0xad/0x110                                                                                                               
[  585.516089]  [<ffffffff802b126d>] ? __get_free_pages+0x1d/0x50                                                                                                                   
[  585.516096]  [<ffffffff80308850>] sys_mount+0xc0/0xf0                                                                                                                            
[  585.516105]  [<ffffffff8021285a>] system_call_fastpath+0x16/0x1b                                                                                                                 
[  585.516109]                                                                                                                                                                      
[  585.516112]
[  585.516114] Code: c0 0f 84 4a fe ff ff 31 c0 48 83 7d b0 00 0f 84 42 fe ff ff 48 8b 45 b0 48 89 30 31 c0 e9 34 fe ff ff 0f 1f 44 00 00 0f 0b eb fe <0f> 0b eb fe 0f 1f 84 
00 00 00 00 00 55 48 89 e5 48 83 ec 40 48
[  585.516199] RIP  [<ffffffffa0f900f4>] nilfs_btree_do_lookup+0x214/0x220 [nilfs2]
[  585.516223]  RSP <ffff8800538535b8>
[  585.516245] ---[ end trace cc281b2a8a93bbfa ]---



[-- Attachment #3: Type: text/plain, Size: 158 bytes --]

_______________________________________________
users mailing list
users-JrjvKiOkagjYtjvyW6yDsg@public.gmane.org
https://www.nilfs.org/mailman/listinfo/users

             reply	other threads:[~2008-12-30 13:19 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-30 13:19 robinx99-hi6Y0CQ0nG0 [this message]
     [not found] ` <20081230131953.298540-hi6Y0CQ0nG0@public.gmane.org>
2008-12-31  2:53   ` Kernel Bug after corrupted filesystem Ryusuke Konishi
     [not found]     ` <20081231.115354.105606600.ryusuke-sG5X7nlA6pw@public.gmane.org>
2008-12-31  3:12       ` Ryusuke Konishi
2008-12-31 11:17       ` Dennis Peiler
     [not found]         ` <20081231111707.25420-hi6Y0CQ0nG0@public.gmane.org>
2008-12-31 14:36           ` Ryusuke Konishi
     [not found]             ` <20081231.233620.76970897.ryusuke-sG5X7nlA6pw@public.gmane.org>
2009-01-01  8:34               ` dennis-peiler-hi6Y0CQ0nG0
2009-01-01  9:31               ` robinx99-hi6Y0CQ0nG0
     [not found]                 ` <20090101093121.302730-hi6Y0CQ0nG0@public.gmane.org>
2009-01-01 15:27                   ` Ryusuke Konishi
     [not found]                     ` <20090102.002735.88475791.ryusuke-sG5X7nlA6pw@public.gmane.org>
2009-01-03  7:54                       ` robinx99-hi6Y0CQ0nG0
     [not found]                         ` <20090103075438.264510-hi6Y0CQ0nG0@public.gmane.org>
2009-01-03 16:10                           ` Ryusuke Konishi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20081230131953.298540@gmx.net \
    --to=robinx99-hi6y0cq0ng0@public.gmane.org \
    --cc=users-JrjvKiOkagjYtjvyW6yDsg@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.