Current-Users archive

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

Re: Mangled file system directory panic (Christos Zoulas) writes:
> In article <>,
> Jarle Greipsland  <> wrote:
>>> The panic messages reported by crash is something like:
>>> System panicked: /mnt: bad dir ino 42369 at offset 560: NUL in name []
>>i=0, namlen=4
[ ... ]
>>I have since managed to pin-point where things started to go
>>wrong -- CVS commit-wise.  A -current kernel from CVS with tag
>>'2016.' works just fine, while a kernel with tag
>>'2016.' panics.  The only significant commit in
>>that interval is a change of compiler for the i386 port to GCC
>>5.3 (
>>Are there known bugs in our compiler for (plain) i486 systems?
> Please try compiling ufs_lookup.c with -O0...
I have now tried a kernel with the following lines in the config
makeoptions     CPUFLAGS="-march=i486 -fno-tree-vrp"
makeoptions     "CPUFLAGS.ufs_lookup.c"+="-O0"
makeoptions     DEBUG="-g"      # compile full symbol table

It still panics.
"I remarked to Dennis that easily half the code I was writing in Multics was
 error recovery code. He said, "We left all that stuff out. If there's an
 error, we have this routine called panic, and when it is called, the machine
 crashes, and you holler down the hall, 'Hey, reboot it.'"
       Tom van Vleck and Dennis Ritchie about Multics <-> UNIX relationship

Home | Main Index | Thread Index | Old Index