Hi I'm new here
I am just a new man in kernel development, there is a question bother me for a time. Is it neccessary to have a virtual machine when developing or debugging kernel? Thanks.___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Re: Btrfs Issues
Is your btrfs on an external drive and did you remove the drive and then try to unmount the filesystem ? Thanks - Manish On Wed, Aug 27, 2014 at 1:22 PM, nick xerofo...@gmail.com wrote: When booting on an Ubuntu kernel I am hitting this in my dmesg with an external drive I have. I am wondering if this is a bug or just a common issue. 8518.918519] [ cut here ] [ 8518.918528] WARNING: CPU: 1 PID: 13778 at /build/buildd/linux-3.13.0/fs/btrfs/super.c:254 __btrfs_abort_transaction+0x50/0x110 [btrfs]() [ 8518.918529] btrfs: Transaction aborted (error -5) [ 8518.918530] Modules linked in: btrfs raid6_pq libcrc32c xor ses enclosure usb_storage bnep rfcomm bluetooth hid_generic usbhid hid eeepc_wmi asus_wmi sparse_keymap intel_rapl x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel kvm crct10dif_pclmul crc32_pclmul ghash_clmulni_intel snd_hda_codec_hdmi aesni_intel aes_x86_64 lrw gf128mul glue_helper ablk_helper cryptd serio_raw snd_hda_codec_realtek lpc_ich snd_hda_intel snd_hda_codec snd_hwdep snd_seq_midi snd_seq_midi_event snd_pcm snd_rawmidi snd_page_alloc fglrx(POF) snd_seq parport_pc snd_seq_device snd_timer ppdev wmi mei_me snd mei mac_hid lp parport soundcore amd_iommu_v2 video ahci libahci r8169 mii [ 8518.918560] CPU: 1 PID: 13778 Comm: umount Tainted: PF W O 3.13.0-34-generic #60-Ubuntu [ 8518.918561] Hardware name: System manufacturer System Product Name/P8Z68-V LE, BIOS 3506 01/17/2012 [ 8518.918562] 0009 8801c9ad5c50 8171bd94 8801c9ad5c98 [ 8518.918564] 8801c9ad5c88 810676cd fffb 880211d72800 [ 8518.918566] 8801c49d8000 a0bb2e90 060b 8801c9ad5ce8 [ 8518.918568] Call Trace: [ 8518.918573] [8171bd94] dump_stack+0x45/0x56 [ 8518.918576] [810676cd] warn_slowpath_common+0x7d/0xa0 [ 8518.918578] [8106773c] warn_slowpath_fmt+0x4c/0x50 [ 8518.918583] [a0b16f00] __btrfs_abort_transaction+0x50/0x110 [btrfs] [ 8518.918591] [a0b40ebe] cleanup_transaction+0x6e/0x290 [btrfs] [ 8518.918594] [810aaf00] ? prepare_to_wait_event+0x100/0x100 [ 8518.918601] [a0b41e3a] btrfs_commit_transaction+0x6ea/0x970 [btrfs] [ 8518.918608] [a0b3c00f] btrfs_commit_super+0x8f/0xa0 [btrfs] [ 8518.918614] [a0b3dac0] close_ctree+0x1e0/0x290 [btrfs] [ 8518.918617] [811d8c2c] ? evict_inodes+0x11c/0x130 [ 8518.918622] [a0b139b9] btrfs_put_super+0x19/0x20 [btrfs] [ 8518.918625] [811beda2] generic_shutdown_super+0x72/0xf0 [ 8518.918627] [811befe2] kill_anon_super+0x12/0x20 [ 8518.918631] [a0b15eb6] btrfs_kill_super+0x16/0x90 [btrfs] [ 8518.918634] [811bf33d] deactivate_locked_super+0x3d/0x60 [ 8518.918636] [811bf8f6] deactivate_super+0x46/0x60 [ 8518.918638] [811dc5f6] mntput_no_expire+0xd6/0x170 [ 8518.918640] [811ddb6e] SyS_umount+0x8e/0x100 [ 8518.918642] [8172c97f] tracesys+0xe1/0xe6 [ 8518.918644] ---[ end trace 1a6b295c1d8ad4c3 ]--- Nick ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Re: Btrfs Issues
On Wed, Aug 27, 2014 at 8:37 PM, nick xerofo...@gmail.com wrote: On 14-08-27 11:07 PM, Manish Katiyar wrote: Is your btrfs on an external drive and did you remove the drive and then try to unmount the filesystem ? Thanks - Manish On Wed, Aug 27, 2014 at 1:22 PM, nick xerofo...@gmail.com wrote: When booting on an Ubuntu kernel I am hitting this in my dmesg with an external drive I have. I am wondering if this is a bug or just a common issue. 8518.918519] [ cut here ] [ 8518.918528] WARNING: CPU: 1 PID: 13778 at /build/buildd/linux-3.13.0/fs/btrfs/super.c:254 __btrfs_abort_transaction+0x50/0x110 [btrfs]() [ 8518.918529] btrfs: Transaction aborted (error -5) [ 8518.918530] Modules linked in: btrfs raid6_pq libcrc32c xor ses enclosure usb_storage bnep rfcomm bluetooth hid_generic usbhid hid eeepc_wmi asus_wmi sparse_keymap intel_rapl x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel kvm crct10dif_pclmul crc32_pclmul ghash_clmulni_intel snd_hda_codec_hdmi aesni_intel aes_x86_64 lrw gf128mul glue_helper ablk_helper cryptd serio_raw snd_hda_codec_realtek lpc_ich snd_hda_intel snd_hda_codec snd_hwdep snd_seq_midi snd_seq_midi_event snd_pcm snd_rawmidi snd_page_alloc fglrx(POF) snd_seq parport_pc snd_seq_device snd_timer ppdev wmi mei_me snd mei mac_hid lp parport soundcore amd_iommu_v2 video ahci libahci r8169 mii [ 8518.918560] CPU: 1 PID: 13778 Comm: umount Tainted: PF W O 3.13.0-34-generic #60-Ubuntu [ 8518.918561] Hardware name: System manufacturer System Product Name/P8Z68-V LE, BIOS 3506 01/17/2012 [ 8518.918562] 0009 8801c9ad5c50 8171bd94 8801c9ad5c98 [ 8518.918564] 8801c9ad5c88 810676cd fffb 880211d72800 [ 8518.918566] 8801c49d8000 a0bb2e90 060b 8801c9ad5ce8 [ 8518.918568] Call Trace: [ 8518.918573] [8171bd94] dump_stack+0x45/0x56 [ 8518.918576] [810676cd] warn_slowpath_common+0x7d/0xa0 [ 8518.918578] [8106773c] warn_slowpath_fmt+0x4c/0x50 [ 8518.918583] [a0b16f00] __btrfs_abort_transaction+0x50/0x110 [btrfs] [ 8518.918591] [a0b40ebe] cleanup_transaction+0x6e/0x290 [btrfs] [ 8518.918594] [810aaf00] ? prepare_to_wait_event+0x100/0x100 [ 8518.918601] [a0b41e3a] btrfs_commit_transaction+0x6ea/0x970 [btrfs] [ 8518.918608] [a0b3c00f] btrfs_commit_super+0x8f/0xa0 [btrfs] [ 8518.918614] [a0b3dac0] close_ctree+0x1e0/0x290 [btrfs] [ 8518.918617] [811d8c2c] ? evict_inodes+0x11c/0x130 [ 8518.918622] [a0b139b9] btrfs_put_super+0x19/0x20 [btrfs] [ 8518.918625] [811beda2] generic_shutdown_super+0x72/0xf0 [ 8518.918627] [811befe2] kill_anon_super+0x12/0x20 [ 8518.918631] [a0b15eb6] btrfs_kill_super+0x16/0x90 [btrfs] [ 8518.918634] [811bf33d] deactivate_locked_super+0x3d/0x60 [ 8518.918636] [811bf8f6] deactivate_super+0x46/0x60 [ 8518.918638] [811dc5f6] mntput_no_expire+0xd6/0x170 [ 8518.918640] [811ddb6e] SyS_umount+0x8e/0x100 [ 8518.918642] [8172c97f] tracesys+0xe1/0xe6 [ 8518.918644] ---[ end trace 1a6b295c1d8ad4c3 ]--- Nick ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies No I just pulled it out and then I get this error. Maybe this is normally when not unmounted? Nick This is expected then. It was middle of a journal transaction when you pulled the device out. ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Board and OS suggestion
Hi All, As much of you will be doing experiments i need your advice. I want to run some secure OS on an embedded platform like raspberry pi or beagle board. Can you suggest me which board is good and any secure OS that you have try'ed? Any board having wi fi connectivity will be an advantage. Regards ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Re: Board and OS suggestion
What do you mean with a secure OS? What do you need it to do? (Also, is this related to the kernel?) On 28 Aug 2014 07:04, Robert Clove cloverob...@gmail.com wrote: Hi All, As much of you will be doing experiments i need your advice. I want to run some secure OS on an embedded platform like raspberry pi or beagle board. Can you suggest me which board is good and any secure OS that you have try'ed? Any board having wi fi connectivity will be an advantage. Regards ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
U64 Ordering in File System Code of Btrfs
Hey Guys, Thanks for the help so far. I am wondering after reading the btrfs code for certain functions there seem to be a lot of u64 variable and function returns of this type. Is this common in file system due to the disk being in a certain format and depending on the CPU being big or small endian that this needed to not reorder the disk parts that are being read into main memory and preserve the data's ordering? Cheers Nick ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies