I see "HFS+-fs: walked past end of dir" in syslog intermittedly while transfering files to the iPOD on FireWire with gtkpod. But the file system seems not be/get damaged as it works fine. Here is the log: -- connecting the iPOD Aug 13 13:54:19 gimli kernel: ieee1394: Node resumed: ID:BUS[0-00:1023] GUID[000a2700027111d4] Aug 13 13:54:19 gimli kernel: ieee1394: Node changed: 0-00:1023 -> 0-01:1023 Aug 13 13:54:19 gimli kernel: scsi5 : SCSI emulation for IEEE-1394 SBP-2 Devices Aug 13 13:54:20 gimli kernel: ieee1394: sbp2: Logged into SBP-2 device Aug 13 13:54:20 gimli kernel: ieee1394: Node 0-00:1023: Max speed [S400] - Max payload [2048] Aug 13 13:54:21 gimli kernel: Vendor: Apple Model: iPod Rev: 1.53 Aug 13 13:54:21 gimli kernel: Type: Direct-Access ANSI SCSI revision: 02 Aug 13 13:54:23 gimli kernel: sda: Spinning up disk....ready Aug 13 13:54:23 gimli kernel: SCSI device sda: 29297520 512-byte hdwr sectors (15000 MB) Aug 13 13:54:23 gimli kernel: sda: test WP failed, assume Write Enabled Aug 13 13:54:23 gimli kernel: SCSI device sda: 29297520 512-byte hdwr sectors (15000 MB) Aug 13 13:54:23 gimli kernel: sda: test WP failed, assume Write Enabled Aug 13 13:54:23 gimli kernel: sda: [mac] sda1 sda2 sda3 Aug 13 13:54:23 gimli kernel: Attached scsi removable disk sda at scsi5, channel 0, id 0, lun 0 Aug 13 13:54:23 gimli kernel: Attached scsi generic sg0 at scsi5, channel 0, id 0, lun 0, type 0 Aug 13 13:54:23 gimli scsi.agent[23884]: disk at /devices/pci0000:00/0000:00:0b.0/fw-host0/000a2700027111d4/000a2700027111d4-0/host5/target5:0:0/5:0:0:0 -- working with gtkpod Aug 13 13:54:32 gimli kernel: HFS+-fs: walked past end of dir Aug 13 13:54:56 gimli last message repeated 3 times Aug 13 13:55:08 gimli kernel: HFS+-fs: walked past end of dir Aug 13 13:55:08 gimli kernel: HFS+-fs: walked past end of dir -- logging out with echo 1 > ignore_driver in sysfs Aug 13 13:55:17 gimli kernel: ieee1394: sbp2: Logged out of SBP-2 device -- disconnecting the iPOD Aug 13 13:55:21 gimli kernel: ieee1394: Node changed: 0-01:1023 -> 0-00:1023 Aug 13 13:55:21 gimli kernel: ieee1394: Node suspended: ID:BUS[0-00:1023] GUID[000a2700027111d4]
Please first make sure that the filesystem is correct. This kernel print suggests an inconsistent filesystem.
Okay, thanks. Looks like I will have to port Apple's latest diskdev_cmds to Linux. We'll see.
It appears that the filesystem is journaled, which the hfsplus driver doesn't support. But kernels before 2.6.15 did not check for the journaled flag thus effectively writing to an inconsistent filesystem. http://www.kernel.org/git/?p=linux/kernel/git/stable/linux-2.6.15.y.git;a=commitdiff;h=b0b623c3b22d57d6941b200321779d56c4e79e6b