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

2016-06-26 Thread elvisplatini
** Tags added: kernel-bug-exists-upstream

-- 
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: D93E7DFA199A
  [  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: c0007a633db0 ti: c0007d2c task.ti: 
c0007d2c
  [  181.329666] NIP: d1d99274 LR: d1d99270 CTR: 

  [  181.329670] REGS: c0007d2c3690 TRAP: 0700   Not tainted  
(4.4.0-24-powerpc64-smp)
  [  181.329672] MSR: 90029032   CR: 24f72442  
XER: 2000
  [  181.329683] SOFTE: 1 
 GPR00: d1d99270 c0007d2c3910 d1e8f2d0 
0026 
 GPR04: c0025de09ad0 c0025de0c360 0036 
02ab 
 GPR08: 0007 c10150fc 00025cdf6000 
0018 
 GPR12: 48f72444 cfdc c00f9f40 
c0007d082b80 
 GPR16:    
 
 GPR20: c0007de65800 0001  
c0007b765090 
 GPR24: c0007b784170 c0007b784160  
c0007b784000 
 GPR28: c0007de65800 c0007b765000 c0024e12bc00 
ffef 
  [  181.329801] NIP [d1d99274] .btrfs_run_delayed_refs+0x364/0x3a0 
[btrfs]
  [  181.329846] LR [d1d99270] .btrfs_run_delayed_refs+0x360/0x3a0 
[btrfs]
  [  181.329848] Call Trace:
  [  181.329894] [c0007d2c3910] [d1d99270] 
.btrfs_run_delayed_refs+0x360/0x3a0 [btrfs] (unreliable)
  [  181.329941] [c0007d2c39e0] [d1d9a5e0] 
.btrfs_write_dirty_block_groups+0x1d0/0x300 [btrfs]
  [  181.329995] [c0007d2c3ab0] [d1e4e3fc] 
.commit_cowonly_roots+0x284/0x36c [btrfs]
  [  181.330044] [c0007d2c3b90] [d1db37f8] 
.btrfs_commit_transaction+0x708/0xc40 [btrfs]
  [  181.330093] [c0007d2c3c70] [d1daf114] 
.transaction_kthread+0x2a4/0x340 [btrfs]
  [  181.330101] [c0007d2c3d30] [c00fa04c] .kthread+0x10c/0x130
  [  181.330108] [c0007d2c3e30] [c0009534] 
.ret_from_kernel_thread+0x58/0xa4
  [  181.330111] Instruction dump:
  [  181.330114] 

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

2016-06-18 Thread elvisplatini
and cotes by quotes, and go to sleep...

-- 
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: D93E7DFA199A
  [  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: c0007a633db0 ti: c0007d2c task.ti: 
c0007d2c
  [  181.329666] NIP: d1d99274 LR: d1d99270 CTR: 

  [  181.329670] REGS: c0007d2c3690 TRAP: 0700   Not tainted  
(4.4.0-24-powerpc64-smp)
  [  181.329672] MSR: 90029032   CR: 24f72442  
XER: 2000
  [  181.329683] SOFTE: 1 
 GPR00: d1d99270 c0007d2c3910 d1e8f2d0 
0026 
 GPR04: c0025de09ad0 c0025de0c360 0036 
02ab 
 GPR08: 0007 c10150fc 00025cdf6000 
0018 
 GPR12: 48f72444 cfdc c00f9f40 
c0007d082b80 
 GPR16:    
 
 GPR20: c0007de65800 0001  
c0007b765090 
 GPR24: c0007b784170 c0007b784160  
c0007b784000 
 GPR28: c0007de65800 c0007b765000 c0024e12bc00 
ffef 
  [  181.329801] NIP [d1d99274] .btrfs_run_delayed_refs+0x364/0x3a0 
[btrfs]
  [  181.329846] LR [d1d99270] .btrfs_run_delayed_refs+0x360/0x3a0 
[btrfs]
  [  181.329848] Call Trace:
  [  181.329894] [c0007d2c3910] [d1d99270] 
.btrfs_run_delayed_refs+0x360/0x3a0 [btrfs] (unreliable)
  [  181.329941] [c0007d2c39e0] [d1d9a5e0] 
.btrfs_write_dirty_block_groups+0x1d0/0x300 [btrfs]
  [  181.329995] [c0007d2c3ab0] [d1e4e3fc] 
.commit_cowonly_roots+0x284/0x36c [btrfs]
  [  181.330044] [c0007d2c3b90] [d1db37f8] 
.btrfs_commit_transaction+0x708/0xc40 [btrfs]
  [  181.330093] [c0007d2c3c70] [d1daf114] 
.transaction_kthread+0x2a4/0x340 [btrfs]
  [  181.330101] [c0007d2c3d30] [c00fa04c] .kthread+0x10c/0x130
  [  181.330108] [c0007d2c3e30] [c0009534] 
.ret_from_kernel_thread+0x58/0xa4
  [  181.330111] Instruction dump:
  [  181.330114] 

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

2016-06-18 Thread elvisplatini
and replace had by add ;-) ?

-- 
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: D93E7DFA199A
  [  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: c0007a633db0 ti: c0007d2c task.ti: 
c0007d2c
  [  181.329666] NIP: d1d99274 LR: d1d99270 CTR: 

  [  181.329670] REGS: c0007d2c3690 TRAP: 0700   Not tainted  
(4.4.0-24-powerpc64-smp)
  [  181.329672] MSR: 90029032   CR: 24f72442  
XER: 2000
  [  181.329683] SOFTE: 1 
 GPR00: d1d99270 c0007d2c3910 d1e8f2d0 
0026 
 GPR04: c0025de09ad0 c0025de0c360 0036 
02ab 
 GPR08: 0007 c10150fc 00025cdf6000 
0018 
 GPR12: 48f72444 cfdc c00f9f40 
c0007d082b80 
 GPR16:    
 
 GPR20: c0007de65800 0001  
c0007b765090 
 GPR24: c0007b784170 c0007b784160  
c0007b784000 
 GPR28: c0007de65800 c0007b765000 c0024e12bc00 
ffef 
  [  181.329801] NIP [d1d99274] .btrfs_run_delayed_refs+0x364/0x3a0 
[btrfs]
  [  181.329846] LR [d1d99270] .btrfs_run_delayed_refs+0x360/0x3a0 
[btrfs]
  [  181.329848] Call Trace:
  [  181.329894] [c0007d2c3910] [d1d99270] 
.btrfs_run_delayed_refs+0x360/0x3a0 [btrfs] (unreliable)
  [  181.329941] [c0007d2c39e0] [d1d9a5e0] 
.btrfs_write_dirty_block_groups+0x1d0/0x300 [btrfs]
  [  181.329995] [c0007d2c3ab0] [d1e4e3fc] 
.commit_cowonly_roots+0x284/0x36c [btrfs]
  [  181.330044] [c0007d2c3b90] [d1db37f8] 
.btrfs_commit_transaction+0x708/0xc40 [btrfs]
  [  181.330093] [c0007d2c3c70] [d1daf114] 
.transaction_kthread+0x2a4/0x340 [btrfs]
  [  181.330101] [c0007d2c3d30] [c00fa04c] .kthread+0x10c/0x130
  [  181.330108] [c0007d2c3e30] [c0009534] 
.ret_from_kernel_thread+0x58/0xa4
  [  181.330111] Instruction dump:
  [  181.330114] 7d4048a8 

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

2016-06-18 Thread elvisplatini
should I had cotes around the tag?

'kernel-bug-exists-upstream'

-- 
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: D93E7DFA199A
  [  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: c0007a633db0 ti: c0007d2c task.ti: 
c0007d2c
  [  181.329666] NIP: d1d99274 LR: d1d99270 CTR: 

  [  181.329670] REGS: c0007d2c3690 TRAP: 0700   Not tainted  
(4.4.0-24-powerpc64-smp)
  [  181.329672] MSR: 90029032   CR: 24f72442  
XER: 2000
  [  181.329683] SOFTE: 1 
 GPR00: d1d99270 c0007d2c3910 d1e8f2d0 
0026 
 GPR04: c0025de09ad0 c0025de0c360 0036 
02ab 
 GPR08: 0007 c10150fc 00025cdf6000 
0018 
 GPR12: 48f72444 cfdc c00f9f40 
c0007d082b80 
 GPR16:    
 
 GPR20: c0007de65800 0001  
c0007b765090 
 GPR24: c0007b784170 c0007b784160  
c0007b784000 
 GPR28: c0007de65800 c0007b765000 c0024e12bc00 
ffef 
  [  181.329801] NIP [d1d99274] .btrfs_run_delayed_refs+0x364/0x3a0 
[btrfs]
  [  181.329846] LR [d1d99270] .btrfs_run_delayed_refs+0x360/0x3a0 
[btrfs]
  [  181.329848] Call Trace:
  [  181.329894] [c0007d2c3910] [d1d99270] 
.btrfs_run_delayed_refs+0x360/0x3a0 [btrfs] (unreliable)
  [  181.329941] [c0007d2c39e0] [d1d9a5e0] 
.btrfs_write_dirty_block_groups+0x1d0/0x300 [btrfs]
  [  181.329995] [c0007d2c3ab0] [d1e4e3fc] 
.commit_cowonly_roots+0x284/0x36c [btrfs]
  [  181.330044] [c0007d2c3b90] [d1db37f8] 
.btrfs_commit_transaction+0x708/0xc40 [btrfs]
  [  181.330093] [c0007d2c3c70] [d1daf114] 
.transaction_kthread+0x2a4/0x340 [btrfs]
  [  181.330101] [c0007d2c3d30] [c00fa04c] .kthread+0x10c/0x130
  [  181.330108] [c0007d2c3e30] [c0009534] 
.ret_from_kernel_thread+0x58/0xa4
  [  181.330111] Instruction 

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

2016-06-18 Thread elvisplatini
oops, I forgot the tag:

kernel-bug-exists-upstream


- Mail original -
De: "regis etourmy" 
À: "Bug 1592566" <1592...@bugs.launchpad.net>
Envoyé: Samedi 18 Juin 2016 23:59:10
Objet: Re: [Bug 1592566] Re: can't write to a BTRFS disk with my powermac


Hi,

I built the mainline kernel v4.7-rc3-yakkety today. The problem still
exists running this kernel:


[   53.638010] IPv6: ADDRCONF(NETDEV_CHANGE): wlx001cdfdd052f: link becomes 
ready
[  284.799611] usb 1-2: new high-speed USB device number 4 using ehci-pci
[  285.009477] usb 1-2: New USB device found, idVendor=04e8, idProduct=61b5
[  285.009492] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  285.009501] usb 1-2: Product: Samsung M3 Portable
[  285.009509] usb 1-2: Manufacturer: Samsung M3 Portable
[  285.009518] usb 1-2: SerialNumber: D93E7DFA199A
[  285.113800] usbcore: registered new interface driver usb-storage
[  285.142745] scsi host5: uas
[  285.142982] usbcore: registered new interface driver uas
[  285.145458] scsi 5:0:0:0: Direct-Access Samsung  M3 Portable  1402 
PQ: 0 ANSI: 6
[  285.176919] sd 5:0:0:0: Attached scsi generic sg3 type 0
[  288.510792] sd 5:0:0:0: [sdc] 3907029168 512-byte logical blocks: (2.00 
TB/1.82 TiB)
[  288.510801] sd 5:0:0:0: [sdc] 4096-byte physical blocks
[  288.512275] sd 5:0:0:0: [sdc] Write Protect is off
[  288.512282] sd 5:0:0:0: [sdc] Mode Sense: 53 00 00 08
[  288.513024] sd 5:0:0:0: [sdc] Write cache: enabled, read cache: enabled, 
doesn't support DPO or FUA
[  288.528924]  sdc: sdc1
[  288.532525] sd 5:0:0:0: [sdc] Attached SCSI disk
[  289.152668] BTRFS: device fsid bf584dbe-6bf6-4847-8b32-cb0d22bead69 devid 1 
transid 17693 /dev/sdc1
[  289.439843] BTRFS info (device sdc1): disk space caching is enabled
[  289.439853] BTRFS info (device sdc1): has skinny extents
[  322.787805] [ cut here ]
[  322.787900] WARNING: CPU: 1 PID: 1833 at fs/btrfs/inode.c:945 
.cow_file_range+0x4a4/0x500 [btrfs]
[  322.787904] Modules linked in: uas usb_storage drbg ansi_cprng ctr ccm arc4 
zd1211rw mac80211 cfg80211 snd_aoa_fabric_layout input_leds mac_hid 
snd_aoa_codec_onyx snd_aoa snd_seq_midi rtc_generic snd_aoa_i2sbus 
snd_seq_midi_event snd_rawmidi snd_seq snd_aoa_soundbus snd_seq_device snd_pcm 
snd_timer rack_meter 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 
hid_generic sil164 windfarm_max6690_sensor windfarm_lm75_sensor 
windfarm_smu_sat windfarm_core firewire_ohci nouveau firewire_core ata_generic 
crc_itu_t usbhid hid tg3 i2c_algo_bit ttm drm_kms_helper ptp drm pps_core 
uninorth_agp
[  322.788006] CPU: 1 PID: 1833 Comm: btrfs-transacti Not tainted 
4.7.0-rc3-custom #1
[  322.788010] task: c0007c354080 ti: c0007ba3c000 task.ti: 
c0007ba3c000
[  322.788014] NIP: d1dc0594 LR: d1dc0aa4 CTR: d1dc0160
[  322.788018] REGS: c0007ba3ec70 TRAP: 0700   Not tainted  
(4.7.0-rc3-custom)
[  322.788020] MSR: 9202b032   CR: 
24442282  XER: 2000
[  322.788038] SOFTE: 1 
   GPR00: d1dc0aa4 c0007ba3eef0 d1e983c0 
c0007d7c12b0 
   GPR04: f8f8e000  0003 
c0007ba3f318 
   GPR08: d1e983c0 0001 d1e954da 
d1e60ea0 
   GPR12: d1dc0160 cfdc0900 0004 
c0007d7c51c0 
   GPR16: c0007ba3f318 c0007d7c51c0 0003 
f8f8e000 
   GPR20:  c0007a444000 c0007d7c12b0 
c0007d806000 
   GPR24: 0004 c0007ba3f318 c0007ba3f3d0 
c0007a444000 
   GPR28:  c0007d7c12b0 ffea 
0001 
[  322.788141] NIP [d1dc0594] .cow_file_range+0x4a4/0x500 [btrfs]
[  322.788191] LR [d1dc0aa4] .run_delalloc_nocow+0x4b4/0xb80 [btrfs]
[  322.788194] Call Trace:
[  322.788198] [c0007ba3eef0] [] 0x 
(unreliable)
[  322.788250] [c0007ba3f010] [d1dc0aa4] 
.run_delalloc_nocow+0x4b4/0xb80 [btrfs]
[  322.788300] [c0007ba3f170] [d1dc15d4] 
.run_delalloc_range+0x464/0x480 [btrfs]
[  322.788353] [c0007ba3f2a0] [d1de06c4] 
.writepage_delalloc.isra.10+0x1c4/0x230 [btrfs]
[  322.788406] [c0007ba3f360] [d1de2d10] 
.__extent_writepage+0x100/0x430 [btrfs]
[  322.788459] [c0007ba3f430] [d1de3310] 
.extent_write_cache_pages.isra.7.constprop.21+0x2d0/0x470 [btrfs]
[  322.788512] [c0007ba3f5b0] [d1de4c7c] 
.extent_writepages+0x7c/0xb0 [btrfs]
[  322.788562] [c0007ba3f670] [d1dba410] 
.btrfs_writepages+0x40/0x60 [btrfs]
[  322.788571] [c0007ba3f6f0] [c026df3c] .do_writepages+0x5c/0xc0
[  322.788578] 

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

2016-06-18 Thread elvisplatini
Hi,

I built the mainline kernel v4.7-rc3-yakkety today. The problem still
exists running this kernel:


[   53.638010] IPv6: ADDRCONF(NETDEV_CHANGE): wlx001cdfdd052f: link becomes 
ready
[  284.799611] usb 1-2: new high-speed USB device number 4 using ehci-pci
[  285.009477] usb 1-2: New USB device found, idVendor=04e8, idProduct=61b5
[  285.009492] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  285.009501] usb 1-2: Product: Samsung M3 Portable
[  285.009509] usb 1-2: Manufacturer: Samsung M3 Portable
[  285.009518] usb 1-2: SerialNumber: D93E7DFA199A
[  285.113800] usbcore: registered new interface driver usb-storage
[  285.142745] scsi host5: uas
[  285.142982] usbcore: registered new interface driver uas
[  285.145458] scsi 5:0:0:0: Direct-Access Samsung  M3 Portable  1402 
PQ: 0 ANSI: 6
[  285.176919] sd 5:0:0:0: Attached scsi generic sg3 type 0
[  288.510792] sd 5:0:0:0: [sdc] 3907029168 512-byte logical blocks: (2.00 
TB/1.82 TiB)
[  288.510801] sd 5:0:0:0: [sdc] 4096-byte physical blocks
[  288.512275] sd 5:0:0:0: [sdc] Write Protect is off
[  288.512282] sd 5:0:0:0: [sdc] Mode Sense: 53 00 00 08
[  288.513024] sd 5:0:0:0: [sdc] Write cache: enabled, read cache: enabled, 
doesn't support DPO or FUA
[  288.528924]  sdc: sdc1
[  288.532525] sd 5:0:0:0: [sdc] Attached SCSI disk
[  289.152668] BTRFS: device fsid bf584dbe-6bf6-4847-8b32-cb0d22bead69 devid 1 
transid 17693 /dev/sdc1
[  289.439843] BTRFS info (device sdc1): disk space caching is enabled
[  289.439853] BTRFS info (device sdc1): has skinny extents
[  322.787805] [ cut here ]
[  322.787900] WARNING: CPU: 1 PID: 1833 at fs/btrfs/inode.c:945 
.cow_file_range+0x4a4/0x500 [btrfs]
[  322.787904] Modules linked in: uas usb_storage drbg ansi_cprng ctr ccm arc4 
zd1211rw mac80211 cfg80211 snd_aoa_fabric_layout input_leds mac_hid 
snd_aoa_codec_onyx snd_aoa snd_seq_midi rtc_generic snd_aoa_i2sbus 
snd_seq_midi_event snd_rawmidi snd_seq snd_aoa_soundbus snd_seq_device snd_pcm 
snd_timer rack_meter 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 
hid_generic sil164 windfarm_max6690_sensor windfarm_lm75_sensor 
windfarm_smu_sat windfarm_core firewire_ohci nouveau firewire_core ata_generic 
crc_itu_t usbhid hid tg3 i2c_algo_bit ttm drm_kms_helper ptp drm pps_core 
uninorth_agp
[  322.788006] CPU: 1 PID: 1833 Comm: btrfs-transacti Not tainted 
4.7.0-rc3-custom #1
[  322.788010] task: c0007c354080 ti: c0007ba3c000 task.ti: 
c0007ba3c000
[  322.788014] NIP: d1dc0594 LR: d1dc0aa4 CTR: d1dc0160
[  322.788018] REGS: c0007ba3ec70 TRAP: 0700   Not tainted  
(4.7.0-rc3-custom)
[  322.788020] MSR: 9202b032   CR: 
24442282  XER: 2000
[  322.788038] SOFTE: 1 
   GPR00: d1dc0aa4 c0007ba3eef0 d1e983c0 
c0007d7c12b0 
   GPR04: f8f8e000  0003 
c0007ba3f318 
   GPR08: d1e983c0 0001 d1e954da 
d1e60ea0 
   GPR12: d1dc0160 cfdc0900 0004 
c0007d7c51c0 
   GPR16: c0007ba3f318 c0007d7c51c0 0003 
f8f8e000 
   GPR20:  c0007a444000 c0007d7c12b0 
c0007d806000 
   GPR24: 0004 c0007ba3f318 c0007ba3f3d0 
c0007a444000 
   GPR28:  c0007d7c12b0 ffea 
0001 
[  322.788141] NIP [d1dc0594] .cow_file_range+0x4a4/0x500 [btrfs]
[  322.788191] LR [d1dc0aa4] .run_delalloc_nocow+0x4b4/0xb80 [btrfs]
[  322.788194] Call Trace:
[  322.788198] [c0007ba3eef0] [] 0x 
(unreliable)
[  322.788250] [c0007ba3f010] [d1dc0aa4] 
.run_delalloc_nocow+0x4b4/0xb80 [btrfs]
[  322.788300] [c0007ba3f170] [d1dc15d4] 
.run_delalloc_range+0x464/0x480 [btrfs]
[  322.788353] [c0007ba3f2a0] [d1de06c4] 
.writepage_delalloc.isra.10+0x1c4/0x230 [btrfs]
[  322.788406] [c0007ba3f360] [d1de2d10] 
.__extent_writepage+0x100/0x430 [btrfs]
[  322.788459] [c0007ba3f430] [d1de3310] 
.extent_write_cache_pages.isra.7.constprop.21+0x2d0/0x470 [btrfs]
[  322.788512] [c0007ba3f5b0] [d1de4c7c] 
.extent_writepages+0x7c/0xb0 [btrfs]
[  322.788562] [c0007ba3f670] [d1dba410] 
.btrfs_writepages+0x40/0x60 [btrfs]
[  322.788571] [c0007ba3f6f0] [c026df3c] .do_writepages+0x5c/0xc0
[  322.788578] [c0007ba3f770] [c025a4a8] 
.__filemap_fdatawrite_range+0xf8/0x180
[  322.788630] [c0007ba3f860] [d1dd366c] 
.btrfs_fdatawrite_range+0x3c/0xa0 [btrfs]
[  322.788684] [c0007ba3f8f0] [d1e10c60] 
.__btrfs_write_out_cache.isra.10+0x4c0/0x530 [btrfs]
[  

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

2016-06-16 Thread elvisplatini
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: D93E7DFA199A
  [  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: c0007a633db0 ti: c0007d2c task.ti: 
c0007d2c
  [  181.329666] NIP: d1d99274 LR: d1d99270 CTR: 

  [  181.329670] REGS: c0007d2c3690 TRAP: 0700   Not tainted  
(4.4.0-24-powerpc64-smp)
  [  181.329672] MSR: 90029032   CR: 24f72442  
XER: 2000
  [  181.329683] SOFTE: 1 
 GPR00: d1d99270 c0007d2c3910 d1e8f2d0 
0026 
 GPR04: c0025de09ad0 c0025de0c360 0036 
02ab 
 GPR08: 0007 c10150fc 00025cdf6000 
0018 
 GPR12: 48f72444 cfdc c00f9f40 
c0007d082b80 
 GPR16:    
 
 GPR20: c0007de65800 0001  
c0007b765090 
 GPR24: c0007b784170 c0007b784160  
c0007b784000 
 GPR28: c0007de65800 c0007b765000 c0024e12bc00 
ffef 
  [  181.329801] NIP [d1d99274] .btrfs_run_delayed_refs+0x364/0x3a0 
[btrfs]
  [  181.329846] LR [d1d99270] .btrfs_run_delayed_refs+0x360/0x3a0 
[btrfs]
  [  181.329848] Call Trace:
  [  181.329894] [c0007d2c3910] [d1d99270] 
.btrfs_run_delayed_refs+0x360/0x3a0 [btrfs] (unreliable)
  [  181.329941] [c0007d2c39e0] [d1d9a5e0] 
.btrfs_write_dirty_block_groups+0x1d0/0x300 [btrfs]
  [  

[Kernel-packages] [Bug 1592566] [NEW] can't write to a BTRFS disk with my powermac

2016-06-14 Thread elvisplatini
Public bug reported:

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: D93E7DFA199A
[  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: c0007a633db0 ti: c0007d2c task.ti: 
c0007d2c
[  181.329666] NIP: d1d99274 LR: d1d99270 CTR: 
[  181.329670] REGS: c0007d2c3690 TRAP: 0700   Not tainted  
(4.4.0-24-powerpc64-smp)
[  181.329672] MSR: 90029032   CR: 24f72442  XER: 
2000
[  181.329683] SOFTE: 1 
   GPR00: d1d99270 c0007d2c3910 d1e8f2d0 
0026 
   GPR04: c0025de09ad0 c0025de0c360 0036 
02ab 
   GPR08: 0007 c10150fc 00025cdf6000 
0018 
   GPR12: 48f72444 cfdc c00f9f40 
c0007d082b80 
   GPR16:    
 
   GPR20: c0007de65800 0001  
c0007b765090 
   GPR24: c0007b784170 c0007b784160  
c0007b784000 
   GPR28: c0007de65800 c0007b765000 c0024e12bc00 
ffef 
[  181.329801] NIP [d1d99274] .btrfs_run_delayed_refs+0x364/0x3a0 
[btrfs]
[  181.329846] LR [d1d99270] .btrfs_run_delayed_refs+0x360/0x3a0 [btrfs]
[  181.329848] Call Trace:
[  181.329894] [c0007d2c3910] [d1d99270] 
.btrfs_run_delayed_refs+0x360/0x3a0 [btrfs] (unreliable)
[  181.329941] [c0007d2c39e0] [d1d9a5e0] 
.btrfs_write_dirty_block_groups+0x1d0/0x300 [btrfs]
[  181.329995] [c0007d2c3ab0] [d1e4e3fc] 
.commit_cowonly_roots+0x284/0x36c [btrfs]
[  181.330044] [c0007d2c3b90] [d1db37f8] 
.btrfs_commit_transaction+0x708/0xc40 [btrfs]
[  181.330093] [c0007d2c3c70] [d1daf114] 
.transaction_kthread+0x2a4/0x340 [btrfs]
[  181.330101] [c0007d2c3d30] [c00fa04c] .kthread+0x10c/0x130
[  181.330108] [c0007d2c3e30] [c0009534] 
.ret_from_kernel_thread+0x58/0xa4
[  181.330111] Instruction dump:
[  181.330114] 7d4048a8 7d474378 7ce049ad 40a2fff4 7c0004ac 7949f7e3 40a2001c 
3d42 
[  181.330124] 7fe4fb78 e86a8900 480be205 e8410028 <0fe0> 3d22 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