public inbox for linux-btrfs@vger.kernel.org
 help / color / mirror / Atom feed
* Oops on a converted ext4 system
@ 2009-05-26  6:27 Tomasz Chmielewski
  2009-05-26  9:14 ` Chris Mason
  0 siblings, 1 reply; 5+ messages in thread
From: Tomasz Chmielewski @ 2009-05-26  6:27 UTC (permalink / raw)
  To: linux-btrfs

I converted an ext4 filesystem with btrfs-convert, mounted it, and wanted to do "lzop -d ...".

The result was an immediate Oops (btrfs is on LVM, on dm-crypt, on /dev/sdb which is USB-connected).


mini-904.img.lzo dentry_open failed
BUG: unable to handle kernel paging request at ffffffcd
IP: [<c01b5f36>] fput+0x6/0x30
*pde = 00575067 *pte = 00000000
Oops: 0002 [#1] SMP
last sysfs file: /sys/block/sda/removable
Modules linked in: kqemu sha256_generic aes_i586 aes_generic cbc usb_storage dm_crypt btrfs zlib_deflate crc32c libcrc32c tun radeon drm usblp af_packet ipv6 binfmt_misc loop dm_mirror dm_region_hash dm_log dm_mod cpufreq_ondemand cpufreq_conservative cpufreq_powersave p4_clockmod freq_table speedstep_lib snd_intel8x0 snd_ac97_codec ac97_bus snd_seq_dummy snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device joydev snd_pcm_oss snd_pcm snd_timer usbhid hid snd_mixer_oss snd dvb_usb_dibusb_mc dvb_usb_dibusb_common dib3000mc dibx000_common dvb_usb soundcore rng_core dvb_core r8169 sg sr_mod iTCO_wdt snd_page_alloc mii intel_agp agpgart shpchp rtc_cmos processor pci_hotplug i2c_i801 thermal button ehci_hcd iTCO_vendor_support i2c_core uhci_hcd evdev usbcore ata_generic ide_pci_generic pata_acp
 i piix ide_gd_mod ide_core ahci ata_piix libata sd_mod scsi_mod crc_t10dif ext4 jbd2 crc16

Pid: 11454, comm: lzop Not tainted (2.6.30-0.rc7.1mdv #1) MS-6728
EIP: 0060:[<c01b5f36>] EFLAGS: 00010282 CPU: 0
EIP is at fput+0x6/0x30
EAX: ffffffb5 EBX: ffffffb5 ECX: ffffffd9 EDX: ffffffcd
ESI: f5269964 EDI: 00000004 EBP: c4fd3e70 ESP: c4fd3e70
 DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068
Process lzop (pid: 11454, ti=c4fd2000 task=c1cb9880 task.ti=c4fd2000)
Stack:
 c4fd3e98 c022eb15 c0486207 f5269964 00fd3e88 df884430 df884410 c4fd3f04
 c9f912a0 f5269908 c4fd3ebc c01bce4c c4fd3ebc c01bf48c 00008001 00000024
 00008001 c4fd3f04 00000024 c4fd3f70 c01c03db c4fd3f04 c17c9ae0 00000000
Call Trace:
 [<c022eb15>] ? ima_path_check+0x195/0x1d0
 [<c01bce4c>] ? may_open+0xbc/0x240
 [<c01bf48c>] ? do_path_lookup+0x6c/0x190
 [<c01c03db>] ? do_filp_open+0x16b/0x900
 [<c0185961>] ? unlock_page+0x41/0x50
 [<c019ae98>] ? __do_fault+0x318/0x400
 [<c019bdb7>] ? handle_mm_fault+0xf7/0x6a0
 [<c01b2915>] ? do_sys_open+0x55/0xf0
 [<c01b2a19>] ? sys_open+0x29/0x40
 [<c0103a3c>] ? sysenter_do_call+0x12/0x28
Code: ff ff ff 8b 70 44 85 f6 90 8d 74 26 00 0f 84 e5 fe ff ff 31 c9 89 da 83 c8 ff ff d6 e9 d0 fe ff ff 8d 74 26 00 55 89 e5 8d 50 18 <f0> ff 0a 0f 94 c1 84 c9 75 08 5d c3 8d b6 00 00 00 00 e8 13 fe
EIP: [<c01b5f36>] fput+0x6/0x30 SS:ESP 0068:c4fd3e70
CR2: 00000000ffffffcd
---[ end trace 86b77908c796fc8f ]---



-- 
Tomasz Chmielewski
http://wpkg.org

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Oops on a converted ext4 system
  2009-05-26  6:27 Oops on a converted ext4 system Tomasz Chmielewski
@ 2009-05-26  9:14 ` Chris Mason
  2009-05-26  9:22   ` Tomasz Chmielewski
  0 siblings, 1 reply; 5+ messages in thread
From: Chris Mason @ 2009-05-26  9:14 UTC (permalink / raw)
  To: Tomasz Chmielewski; +Cc: linux-btrfs

On Tue, May 26, 2009 at 08:27:28AM +0200, Tomasz Chmielewski wrote:
> I converted an ext4 filesystem with btrfs-convert, mounted it, and wanted to do "lzop -d ...".
>
> The result was an immediate Oops (btrfs is on LVM, on dm-crypt, on /dev/sdb which is USB-connected).
>
>
> mini-904.img.lzo dentry_open failed
> BUG: unable to handle kernel paging request at ffffffcd
> IP: [<c01b5f36>] fput+0x6/0x30
> *pde = 00575067 *pte = 00000000
> Oops: 0002 [#1] SMP
> last sysfs file: /sys/block/sda/removable
> Modules linked in: kqemu sha256_generic aes_i586 aes_generic cbc usb_storage dm_crypt btrfs zlib_deflate crc32c libcrc32c tun radeon drm usblp af_packet ipv6 binfmt_misc loop dm_mirror dm_region_hash dm_log dm_mod cpufreq_ondemand cpufreq_conservative cpufreq_powersave p4_clockmod freq_table speedstep_lib snd_intel8x0 snd_ac97_codec ac97_bus snd_seq_dummy snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device joydev snd_pcm_oss snd_pcm snd_timer usbhid hid snd_mixer_oss snd dvb_usb_dibusb_mc dvb_usb_dibusb_common dib3000mc dibx000_common dvb_usb soundcore rng_core dvb_core r8169 sg sr_mod iTCO_wdt snd_page_alloc mii intel_agp agpgart shpchp rtc_cmos processor pci_hotplug i2c_i801 thermal button ehci_hcd iTCO_vendor_support i2c_core uhci_hcd evdev usbcore ata_generic ide_pci_generic pata_a
 cpi piix ide_gd_mod ide_core ahci ata_piix libata sd_mod scsi_mod crc_t10dif ext4 jbd2 crc16
>
> Pid: 11454, comm: lzop Not tainted (2.6.30-0.rc7.1mdv #1) MS-6728

Does this kernel have any extra patches in it?

-chris

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Oops on a converted ext4 system
  2009-05-26  9:14 ` Chris Mason
@ 2009-05-26  9:22   ` Tomasz Chmielewski
  2009-05-26 12:28     ` Tomasz Chmielewski
  0 siblings, 1 reply; 5+ messages in thread
From: Tomasz Chmielewski @ 2009-05-26  9:22 UTC (permalink / raw)
  To: Chris Mason, Tomasz Chmielewski, linux-btrfs

Chris Mason wrote:
> On Tue, May 26, 2009 at 08:27:28AM +0200, Tomasz Chmielewski wrote:
>> I converted an ext4 filesystem with btrfs-convert, mounted it, and wanted to do "lzop -d ...".
>>
>> The result was an immediate Oops (btrfs is on LVM, on dm-crypt, on /dev/sdb which is USB-connected).
>>
>>
>> mini-904.img.lzo dentry_open failed
>> BUG: unable to handle kernel paging request at ffffffcd
>> IP: [<c01b5f36>] fput+0x6/0x30
>> *pde = 00575067 *pte = 00000000
>> Oops: 0002 [#1] SMP
>> last sysfs file: /sys/block/sda/removable
>> Modules linked in: kqemu sha256_generic aes_i586 aes_generic cbc usb_storage dm_crypt btrfs zlib_deflate crc32c libcrc32c tun radeon drm usblp af_packet ipv6 binfmt_misc loop dm_mirror dm_region_hash dm_log dm_mod cpufreq_ondemand cpufreq_conservative cpufreq_powersave p4_clockmod freq_table speedstep_lib snd_intel8x0 snd_ac97_codec ac97_bus snd_seq_dummy snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device joydev snd_pcm_oss snd_pcm snd_timer usbhid hid snd_mixer_oss snd dvb_usb_dibusb_mc dvb_usb_dibusb_common dib3000mc dibx000_common dvb_usb soundcore rng_core dvb_core r8169 sg sr_mod iTCO_wdt snd_page_alloc mii intel_agp agpgart shpchp rtc_cmos processor pci_hotplug i2c_i801 thermal button ehci_hcd iTCO_vendor_support i2c_core uhci_hcd evdev usbcore ata_generic ide_pci_generic pata_
 acpi piix ide_gd_mod ide_core ahci ata_piix libata sd_mod scsi_mod crc_t10dif ext4 jbd2 crc16
>>
>> Pid: 11454, comm: lzop Not tainted (2.6.30-0.rc7.1mdv #1) MS-6728
> 
> Does this kernel have any extra patches in it?

It's a distribution kernel with this description: "NOTE: This kernel has 
no patches and no third-party drivers".
So there shouldn't be any extra patches in it.


-- 
Tomasz Chmielewski
http://wpkg.org

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Oops on a converted ext4 system
  2009-05-26  9:22   ` Tomasz Chmielewski
@ 2009-05-26 12:28     ` Tomasz Chmielewski
  2009-05-26 21:25       ` Tomasz Chmielewski
  0 siblings, 1 reply; 5+ messages in thread
From: Tomasz Chmielewski @ 2009-05-26 12:28 UTC (permalink / raw)
  To: Chris Mason, Tomasz Chmielewski, linux-btrfs

Tomasz Chmielewski wrote:

>>> Pid: 11454, comm: lzop Not tainted (2.6.30-0.rc7.1mdv #1) MS-6728
>>
>> Does this kernel have any extra patches in it?
> 
> It's a distribution kernel with this description: "NOTE: This kernel has 
> no patches and no third-party drivers".
> So there shouldn't be any extra patches in it.

BTW, mini-904.img.lzo is ~57 GB big; I wanted to uncompress it on the 
same btrfs filesystem with 15 GB left; but it failed immediately.


-- 
Tomasz Chmielewski
http://wpkg.org


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Oops on a converted ext4 system
  2009-05-26 12:28     ` Tomasz Chmielewski
@ 2009-05-26 21:25       ` Tomasz Chmielewski
  0 siblings, 0 replies; 5+ messages in thread
From: Tomasz Chmielewski @ 2009-05-26 21:25 UTC (permalink / raw)
  To: Chris Mason, Tomasz Chmielewski, linux-btrfs

Tomasz Chmielewski wrote:
> Tomasz Chmielewski wrote:
> 
>>>> Pid: 11454, comm: lzop Not tainted (2.6.30-0.rc7.1mdv #1) MS-6728
>>>
>>> Does this kernel have any extra patches in it?
>>
>> It's a distribution kernel with this description: "NOTE: This kernel 
>> has no patches and no third-party drivers".
>> So there shouldn't be any extra patches in it.
> 
> BTW, mini-904.img.lzo is ~57 GB big; I wanted to uncompress it on the 
> same btrfs filesystem with 15 GB left; but it failed immediately.

I rebooted the system and tried once again - after uncompressing about 3 
GB, it didn't like the checksums:

# lzop -d mini-904.img.lzo
lzop: mini-904.img.lzo: Checksum error

# dmesg
btrfs no csum found for inode 9874460 start 2604158976
btrfs no csum found for inode 9874460 start 2604163072
btrfs no csum found for inode 9874460 start 2604167168
btrfs no csum found for inode 9874460 start 2604171264
btrfs no csum found for inode 9874460 start 2604175360
btrfs no csum found for inode 9874460 start 2604179456
btrfs no csum found for inode 9874460 start 2604183552
btrfs no csum found for inode 9874460 start 2604187648
btrfs no csum found for inode 9874460 start 2604191744
btrfs no csum found for inode 9874460 start 2604195840
btrfs csum failed ino 9874460 off 2604167168 csum 2329941848 private 0
btrfs csum failed ino 9874460 off 2604163072 csum 318014017 private 0
btrfs csum failed ino 9874460 off 2604158976 csum 414044261 private 0
btrfs csum failed ino 9874460 off 2604195840 csum 3818597601 private 0
btrfs csum failed ino 9874460 off 2604191744 csum 315821168 private 0
btrfs csum failed ino 9874460 off 2604187648 csum 2401592681 private 0
btrfs csum failed ino 9874460 off 2604183552 csum 402930804 private 0
btrfs csum failed ino 9874460 off 2604179456 csum 2710516765 private 0
btrfs csum failed ino 9874460 off 2604175360 csum 3446408033 private 0
btrfs csum failed ino 9874460 off 2604171264 csum 3221630271 private 0


-- 
Tomasz Chmielewski
http://wpkg.org

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-05-26 21:25 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-26  6:27 Oops on a converted ext4 system Tomasz Chmielewski
2009-05-26  9:14 ` Chris Mason
2009-05-26  9:22   ` Tomasz Chmielewski
2009-05-26 12:28     ` Tomasz Chmielewski
2009-05-26 21:25       ` Tomasz Chmielewski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox