tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: bad dir ino 4 at offset 80: mangled entry

Hi Ken,

Thanks for your reply. 

I will try to debug the problem.  

Are there any pre-built ramdisk images for ARM (size less than/= 5MB) built 
over other hosts (netbsd/linux) so that I test it on my target machine.  This 
will also confirm the problem is with the cross-compiled tools under Cygwin 
(esp. nbmakefs).


--- On Fri, 3/13/09, Ken Hornstein <> wrote:

From: Ken Hornstein <>
Subject: Re: bad dir ino 4 at offset 80: mangled entry
To: "newbie" <>
Date: Friday, March 13, 2009, 11:49 AM

>I am using Cygwin to build the kernel + ramdisk image to be loaded onto a
>ARM based target machine. 

You're not the first person to report this.  It is clearly some issue with
the NetBSD tools that are cross-compiled under Cygwin (my guess is
that the problem lies in nbmakefs).  From what I have seen, the kernel
is fine, it's just the ramdisk filesystem image is corrupt.

However, since no one has stepped up and debugged the problem, it has not
been fixed.  I don't think many of the NetBSD hard-core developers
cross-compile under Cygwin.  If you want to solve the problem, the best
way is to roll up your sleeves and track it down.


Home | Main Index | Thread Index | Old Index