Re: fsck_ufs: cannot alloc 3166749884 bytes for inoinfo

From: Don Lewis (truckman_at_FreeBSD.org)
Date: 02/28/05

  • Next message: Randy Bush: "Re: patch: fix 30 second hang while resuming"
    Date: Sun, 27 Feb 2005 18:51:40 -0800 (PST)
    To: kris@obsecurity.org
    
    

    On 26 Feb, Kris Kennaway wrote:
    > A recent panic left my FS with some serious corruption, which fsck is
    > unable to repair:
    >
    > # fsck_ufs -b 376512 -fy /var
    > Alternate super block location: 376512
    > ** /dev/twed0s1e
    > ** Last Mounted on
    > ** Phase 1 - Check Blocks and Sizes
    > fsck_ufs: cannot alloc 3166749884 bytes for inoinfo
    >
    > (same holds for any superblock I've tried).

    It looks like the problem is that cg_initediblk is corrupted in one of
    the cylinder groups. It should never be larger than fs_ipg, and pass5()
    silently enforces this limit. We could do the same in pass1(), except
    that if it ever got set to too small a value, such as 0, fsck would
    think a bunch of files were missing.

    _______________________________________________
    freebsd-current@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-current
    To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"


  • Next message: Randy Bush: "Re: patch: fix 30 second hang while resuming"

    Relevant Pages

    • Re: fsck_ufs: cannot alloc 3166749884 bytes for inoinfo
      ... > A recent panic left my FS with some serious corruption, which fsck is ... > unable to repair: ... > Alternate super block location: ... What does dumpfs say about the contents of the superblock? ...
      (freebsd-current)
    • Re: Background fsck causes kernel panic
      ... the solution is to force a fsck to repair all ... corruption and then proceed (optionally disabling bg fsck ...
      (freebsd-stable)
    • Re: EXCEL file corruption
      ... that, in those 7 minutes, I just did a lot of minor cell formatting. ... lot of copying and pasting, EXCEL can just get confused (for example, if you ... Nobody has addressed the automatic repair cycle EXCEL went into, ... Is this different from the corruption that most people see where they have ...
      (microsoft.public.excel.programming)
    • Re: EXCEL file corruption
      ... I also agree with your un-scientific remark about Excel sometimes getting ... with code applying & deleting many formats, though at all times I was under ... But it's certainly not the only reason for corruption. ... Nobody has addressed the automatic repair cycle EXCEL went into, ...
      (microsoft.public.excel.programming)
    • Re: EXCEL file corruption
      ... repair, I don't think I had the choice to save or open the corrupt file. ... corruption that could have been growing in the file for a while and could be ... I'm really trying to understand what usually corrupts EXCEL files (e.g., ... wiping out cosmetics only, not equations and/or data). ...
      (microsoft.public.excel.programming)