← Back to team overview

kernel-packages team mailing list archive

Re: [Bug 1592566] Re: can't write to a BTRFS disk with my powermac

 

I installed Lubuntu a month ago, and I first selected BTRFS for the root filesystem, as on my amd64 machines. It didn't work so I choose ext4 for the root file system.
 
 Last week, when I first tried tu use my BTRFS fomated external drive, the kernel was in version 4.4.0-22. I couldn't write to it, as I can't now with version 4.4.0.24.
 
ppc64 kernels are not available on http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.7-rc3-yakkety/. I will try to compile it from sources, and let you know if it works.
 
Thanks a lot for your help!

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1592566

Title:
  can't write to a BTRFS disk with my powermac

Status in linux package in Ubuntu:
  Incomplete

Bug description:
  Hi,
  When I try to write to my BTRFS formated external disk, I get an error message explaining the file system is mounted read only. Indeed, I can still read data in it.

  A dmesg shows the following errors:

  [  143.354977] usb 1-2: new high-speed USB device number 4 using ehci-pci
  [  143.564941] usb 1-2: New USB device found, idVendor=04e8, idProduct=61b5
  [  143.564955] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
  [  143.564963] usb 1-2: Product: Samsung M3 Portable
  [  143.564971] usb 1-2: Manufacturer: Samsung M3 Portable
  [  143.564978] usb 1-2: SerialNumber: D93E7DFA1900009A
  [  143.668941] usbcore: registered new interface driver usb-storage
  [  143.694409] scsi host5: uas
  [  143.694601] usbcore: registered new interface driver uas
  [  143.696560] scsi 5:0:0:0: Direct-Access     Samsung  M3 Portable      1402 PQ: 0 ANSI: 6
  [  143.698592] sd 5:0:0:0: Attached scsi generic sg3 type 0
  [  147.091177] sd 5:0:0:0: [sdc] 3907029168 512-byte logical blocks: (2.00 TB/1.82 TiB)
  [  147.091194] sd 5:0:0:0: [sdc] 4096-byte physical blocks
  [  147.092774] sd 5:0:0:0: [sdc] Write Protect is off
  [  147.092785] sd 5:0:0:0: [sdc] Mode Sense: 53 00 00 08
  [  147.093629] sd 5:0:0:0: [sdc] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
  [  147.109068]  sdc: sdc1
  [  147.113161] sd 5:0:0:0: [sdc] Attached SCSI disk
  [  147.744379] BTRFS: device fsid bf584dbe-6bf6-4847-8b32-cb0d22bead69 devid 1 transid 17546 /dev/sdc1
  [  148.044853] BTRFS info (device sdc1): disk space caching is enabled
  [  148.044867] BTRFS: has skinny extents
  [  181.329491] BTRFS: Transaction aborted (error -17)
  [  181.329573] ------------[ cut here ]------------
  [  181.329577] WARNING: at /build/linux-t3xCGW/linux-4.4.0/fs/btrfs/extent-tree.c:2927
  [  181.329580] Modules linked in: uas usb_storage drbg ansi_cprng ctr ccm arc4 zd1211rw mac80211 cfg80211 input_leds mac_hid snd_aoa_codec_onyx snd_aoa snd_seq_midi snd_seq_midi_event rtc_generic snd_rawmidi snd_seq snd_seq_device snd_timer snd soundcore shpchp uio_pdrv_genirq uio parport_pc ppdev lp parport autofs4 btrfs xor raid6_pq windfarm_cpufreq_clamp windfarm_smu_sensors windfarm_smu_controls windfarm_pm112 windfarm_pid sil164 hid_generic nouveau windfarm_lm75_sensor windfarm_max6690_sensor i2c_algo_bit firewire_ohci windfarm_smu_sat windfarm_core firewire_core ttm crc_itu_t drm_kms_helper usbhid ata_generic hid drm tg3 ptp uninorth_agp pps_core
  [  181.329658] CPU: 0 PID: 1490 Comm: btrfs-transacti Not tainted 4.4.0-24-powerpc64-smp #43-Ubuntu
  [  181.329663] task: c00000007a633db0 ti: c00000007d2c0000 task.ti: c00000007d2c0000
  [  181.329666] NIP: d000000001d99274 LR: d000000001d99270 CTR: 0000000000000000
  [  181.329670] REGS: c00000007d2c3690 TRAP: 0700   Not tainted  (4.4.0-24-powerpc64-smp)
  [  181.329672] MSR: 9000000000029032 <SF,HV,EE,ME,IR,DR,RI>  CR: 24f72442  XER: 20000000
  [  181.329683] SOFTE: 1 
                 GPR00: d000000001d99270 c00000007d2c3910 d000000001e8f2d0 0000000000000026 
                 GPR04: c00000025de09ad0 c00000025de0c360 0000000000000036 00000000000002ab 
                 GPR08: 0000000000000007 c0000000010150fc 000000025cdf6000 0000000000000018 
                 GPR12: 0000000048f72444 c00000000fdc0000 c0000000000f9f40 c00000007d082b80 
                 GPR16: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 
                 GPR20: c00000007de65800 0000000000000001 0000000000000000 c00000007b765090 
                 GPR24: c00000007b784170 c00000007b784160 0000000000000000 c00000007b784000 
                 GPR28: c00000007de65800 c00000007b765000 c00000024e12bc00 ffffffffffffffef 
  [  181.329801] NIP [d000000001d99274] .btrfs_run_delayed_refs+0x364/0x3a0 [btrfs]
  [  181.329846] LR [d000000001d99270] .btrfs_run_delayed_refs+0x360/0x3a0 [btrfs]
  [  181.329848] Call Trace:
  [  181.329894] [c00000007d2c3910] [d000000001d99270] .btrfs_run_delayed_refs+0x360/0x3a0 [btrfs] (unreliable)
  [  181.329941] [c00000007d2c39e0] [d000000001d9a5e0] .btrfs_write_dirty_block_groups+0x1d0/0x300 [btrfs]
  [  181.329995] [c00000007d2c3ab0] [d000000001e4e3fc] .commit_cowonly_roots+0x284/0x36c [btrfs]
  [  181.330044] [c00000007d2c3b90] [d000000001db37f8] .btrfs_commit_transaction+0x708/0xc40 [btrfs]
  [  181.330093] [c00000007d2c3c70] [d000000001daf114] .transaction_kthread+0x2a4/0x340 [btrfs]
  [  181.330101] [c00000007d2c3d30] [c0000000000fa04c] .kthread+0x10c/0x130
  [  181.330108] [c00000007d2c3e30] [c000000000009534] .ret_from_kernel_thread+0x58/0xa4
  [  181.330111] Instruction dump:
  [  181.330114] 7d4048a8 7d474378 7ce049ad 40a2fff4 7c0004ac 7949f7e3 40a2001c 3d420000 
  [  181.330124] 7fe4fb78 e86a8900 480be205 e8410028 <0fe00000> 3d220000 7fa3eb78 e8a98908 
  [  181.330134] ---[ end trace f2ee5bb68a7c169e ]---
  [  181.330181] BTRFS: error (device sdc1) in btrfs_run_delayed_refs:2927: errno=-17 Object already exists
  [  181.330187] BTRFS info (device sdc1): forced readonly
  [  181.330875] BTRFS warning (device sdc1): Skipping commit of aborted transaction.
  [  181.330887] BTRFS: error (device sdc1) in cleanup_transaction:1746: errno=-17 Object already exists

  ProblemType: Bug
  DistroRelease: Ubuntu 16.04
  Package: linux-image-4.4.0-24-powerpc64-smp 4.4.0-24.43
  ProcVersionSignature: Ubuntu 4.4.0-24.43-powerpc64-smp 4.4.10
  Uname: Linux 4.4.0-24-powerpc64-smp ppc64
  ApportVersion: 2.20.1-0ubuntu2.1
  Architecture: powerpc
  AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1:
  CRDA: N/A
  CurrentDesktop: LXDE
  Date: Tue Jun 14 22:58:25 2016
  HibernationDevice: RESUME=UUID=d4dc68d8-9f2f-4ece-b5bf-891fd8ff92e2
  ProcFB: 0 nouveaufb
  ProcKernelCmdLine: root=/dev/sdb3 ro quiet splash
  RelatedPackageVersions:
   linux-restricted-modules-4.4.0-24-powerpc64-smp N/A
   linux-backports-modules-4.4.0-24-powerpc64-smp  N/A
   linux-firmware                                  1.157
  RfKill:
   0: phy0: Wireless LAN
   	Soft blocked: no
   	Hard blocked: no
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1592566/+subscriptions


Follow ups

References