HFS+ driver unstable, causes data loss
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Linux |
New
|
Undecided
|
Unassigned | ||
hfsprogs (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: hfsprogs
My setup: MacBook Pro dual-booting in Snow Leopard (10.6.5) and Maverick (10.10). hfsprogs is version 332.25-8.
I've created a partition to share files between OS X and Ubuntu, formatted as HFS+. As I've started to use this partition, I've noticed a variety of troubling problems. I've been able to reproduce the following:
1) Deleting a directory causes a segfault, system freeze, and irreparable partition
- Format the partition with the OS X Disk Utility (HFS+, no journaling)
- Restore a particular large directory from a Time Machine backup to the partition
- Restart in Ubuntu
- Invoke "rm -r" targeting the directory
- segfault occurs
- Various applications freeze, and it's impossible to cleanly shut down
- OS X Disk Utility reports that the disk can't be repaired
2) Deleting a file causes fsck errors
- Format the partition with the OS X Disk Utility (HFS+, no journaling)
- Copy a 20 KB text file (abcd.txt, attached) to the partition
- Restart in Ubuntu
- Invoke fsck on the partition: no errors
- Invoke "rm" targeting the file
- Invoke fsck on the partition: errors ("Invalid volume file count", "Invalid volume free block count")
3) Writing a directory causes Disk Utility errors
- Format the partition with the OS X Disk Utility (HFS+, no journaling)
- Restart in Ubuntu
- Copy ("cp -R") a certain large directory to the partition
- Invoke fsck on the partition: no errors
- Restart in OS X
- Run OS X Disk Utility's verification on the partition: error ("Unused node is not erased")
---
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.23.
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
Card hw:0 'Intel'/'HDA Intel at 0xc1d00000 irq 45'
Mixer name : 'Cirrus Logic CS4206'
Components : 'HDA:10134206,
Controls : 19
Simple ctrls : 12
Card1.Amixer.info:
Card hw:1 'NVidia'/'HDA NVidia at 0xc1080000 irq 16'
Mixer name : 'Nvidia GT220 HDMI'
Components : 'HDA:10de000a,
Controls : 16
Simple ctrls : 4
DistroRelease: Ubuntu 10.10
HibernationDevice: RESUME=
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
MachineType: Apple Inc. MacBookPro6,2
NonfreeKernelMo
Package: linux (not installed)
ProcCmdLine: BOOT_IMAGE=
ProcEnviron:
PATH=(custom, user)
LANG=C
SHELL=/bin/bash
ProcVersionSign
Regression: No
RelatedPackageV
Reproducible: Yes
RfKill:
Tags: maverick kernel-fs needs-upstream-
Uname: Linux 2.6.35-22-generic x86_64
UserGroups: adm admin cdrom dialout dip fax floppy fuse lpadmin netdev plugdev sambashare tape video
dmi.bios.date: 07/26/10
dmi.bios.vendor: Apple Inc.
dmi.bios.version: MBP61.88Z.
dmi.board.
dmi.board.name: Mac-F22586C8
dmi.board.vendor: Apple Inc.
dmi.board.version: MacBookPro6,2
dmi.chassis.type: 10
dmi.chassis.vendor: Apple Inc.
dmi.chassis.
dmi.modalias: dmi:bvnAppleInc
dmi.product.name: MacBookPro6,2
dmi.product.
dmi.sys.vendor: Apple Inc.
I thought hfsplus was provided entirely by hfsprogs, but I guess it's part of the kernel. I'll run apport-collect to gather my system info.