Debian Bug report logs - #204866
Fails to repair filesystem

version graph

Package: hfsplus; Maintainer for hfsplus is Debian QA Group <[email protected]>; Source for hfsplus is src:hfsplus (PTS, buildd, popcon).

Reported by: [email protected]

Date: Sun, 10 Aug 2003 21:48:02 UTC

Severity: wishlist

Tags: upstream

Found in version 1.0.4-2

Reply or subscribe to this bug.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to [email protected], Jens Schmalzing <[email protected]>:
Bug#204866; Package hfsplus. (full text, mbox, link).


Acknowledgement sent to Ivo Timmermans <[email protected]>:
New Bug report received and forwarded. Copy sent to Jens Schmalzing <[email protected]>. (full text, mbox, link).


Message #5 received at [email protected] (full text, mbox, reply):

From: Ivo Timmermans <[email protected]>
To: Debian Bug Tracking System <[email protected]>
Subject: Fails to repair filesystem
Date: Sun, 10 Aug 2003 23:42:50 +0200
[Message part 1 (text/plain, inline)]
Package: hfsplus
Version: 1.0.4-2
Severity: wishlist

Hi,

I have a 15 GB iPod with a damaged filesystem after the kernel hung
during unmount (after having modified the fs of course...).

hpfsck fails to repair this:

    # hpfsck -v /dev/scsi/host0/bus0/target0/lun0/part3 > /tmp/hpfsck.log
    checkbtree_key_by_index: offset out of range 7600 >= 1000
    hpfsck: hpfsck: no error (Success)

The file /tmp/hpfsck.log is attached.


-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux scarlet 2.4.20-xfs-hfsplus #1 zo jun 15 11:15:31 CEST 2003 i686
Locale: LANG=nl_NL, LC_CTYPE=nl_NL

Versions of packages hfsplus depends on:
hi  libc6                         2.3.1-17   GNU C Library: Shared libraries an
ii  libhfsp0                      1.0.4-2    shared library to access HFS+ form

-- no debconf information

[/tmp/hpfsck.log (text/plain, attachment)]

Information forwarded to [email protected], Jens Schmalzing <[email protected]>:
Bug#204866; Package hfsplus. (full text, mbox, link).


Acknowledgement sent to Jens Schmalzing <[email protected]>:
Extra info received and forwarded to list. Copy sent to Jens Schmalzing <[email protected]>. (full text, mbox, link).


Message #10 received at [email protected] (full text, mbox, reply):

From: Jens Schmalzing <[email protected]>
To: Ivo Timmermans <[email protected]>
Cc: [email protected]
Subject: Re: Bug#204866: Fails to repair filesystem
Date: 12 Aug 2003 10:28:14 +0200
Hi,

Ivo Timmermans <[email protected]> writes:

> I have a 15 GB iPod with a damaged filesystem after the kernel hung
> during unmount (after having modified the fs of course...).
> 
> hpfsck fails to repair this:

> Kernel: Linux scarlet 2.4.20-xfs-hfsplus #1 zo jun 15 11:15:31 CEST 2003 i686

I reckon that this is an early version of the HFS+ patch from
ardistech.com you are using?  In my experience, this driver likes to
damage file systems in a way that even fsck_hfs and Disk Utility
cannot restore them to a sane state.  I would strongly advise that you
re-initialize your iPod and upgrade your kernel.  Both 2.4.21-ben2 and
2.4.21-ac4 contain more mature support for HFS+.

Apart from this general guess and recommendation, I have no idea what
is happening here.  If you read the first few Megabytes from the raw
device and send them to me, maybe I can debug the problem.

Regards, Jens.

-- 
J'qbpbe, le m'en fquz pe j'qbpbe!
Le veux aimeb et mqubib panz je pézqbpbe je djuz tqtaj!



Information forwarded to [email protected], Jens Schmalzing <[email protected]>:
Bug#204866; Package hfsplus. (full text, mbox, link).


Acknowledgement sent to [email protected]:
Extra info received and forwarded to list. Copy sent to Jens Schmalzing <[email protected]>. (full text, mbox, link).


Message #15 received at [email protected] (full text, mbox, reply):

From: Ivo Timmermans <[email protected]>
To: Jens Schmalzing <[email protected]>
Cc: [email protected]
Subject: Re: Bug#204866: Fails to repair filesystem
Date: Tue, 12 Aug 2003 10:43:32 +0200
Jens Schmalzing wrote:
> Ivo Timmermans <[email protected]> writes:
> > Kernel: Linux scarlet 2.4.20-xfs-hfsplus #1 zo jun 15 11:15:31 CEST 2003 i686
> 
> I reckon that this is an early version of the HFS+ patch from
> ardistech.com you are using?  In my experience, this driver likes to
> damage file systems in a way that even fsck_hfs and Disk Utility
> cannot restore them to a sane state.  I would strongly advise that you
> re-initialize your iPod and upgrade your kernel.  Both 2.4.21-ben2 and
> 2.4.21-ac4 contain more mature support for HFS+.

Yes, it's the driver from Ardistech, from 13/6.  Other than this I've
had more problems with the underlying sbp2 module than with hfsplus,
but oh well, I have a backup :)
Any idea where I could get a reliable mkfs.hfsplus?

> Apart from this general guess and recommendation, I have no idea what
> is happening here.  If you read the first few Megabytes from the raw
> device and send them to me, maybe I can debug the problem.

http://home.o2w.net/~ivo/ipod-fs-10M.bz2  (207kB)

Thanks!


	Ivo

-- 
Software isn't released, it's allowed to escape.



Changed Bug submitter from Ivo Timmermans <[email protected]> to [email protected]. Request was from Ivo Timmermans <[email protected]> to [email protected]. (full text, mbox, link).


Tags added: upstream Request was from Aurélien GÉRÔME <[email protected]> to [email protected]. (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Thu May 15 16:18:01 2025; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.