Re: FreeBSD 1.1 under -current :-)

From: Julian Elischer <julian_at_elischer.org>
Date: Fri, 6 Feb 2004 01:49:52 -0800 (PST)
hate replying to myself but I forgot the ktrace output.

On Fri, 6 Feb 2004, Julian Elischer wrote:

> 
> 
> On Fri, 6 Feb 2004, Julian Elischer wrote:
> 
> > 
> > well this is not really a -current question, but..
> > I unpacked a freebsd 1.1 cdrom into a subdirectory
> > and after kldloading the aout module, chroot'd into it..
> > 
> [...]
> > 
> > then it all blows up..
> > 
> > does anyone remember if there was an extra step we used to have to do?
> > did we have to have  a populated /usr/obj to start with?
> > if so where did we get it from?
> > 
> I've tracked it down to mkdir -p
> not being able to work.
> 
> does anyone remember if there was a change to statfs or fstat
> or similar that would stop a 1.1 binary from working correctly?
> 
> interestingly, I think this MAY have.....worked about 9 months ago..
> I ran into the 30000 PID problem previously
> doing a make world and I think it got beyond this point.
> 
jules# ktrace ./mkdir -p /tmp/xx/xx
mkdir: : No such file or directory
jules# kdump |more
  4690 ktrace   RET   ktrace 0
  4690 ktrace   CALL  execve(0xbfbfedcf,0xbfbfece8,0xbfbfecf8)
  4690 ktrace   NAMI  "./mkdir"
  4690 mkdir    RET   execve 0
  4690 mkdir    CALL  umask(0)
  4690 mkdir    RET   umask 18/0x12
  4690 mkdir    CALL  old.stat(0xbfbfeddb,0xbfbfecd8)
  4690 mkdir    RET   old.stat -1 errno 2 No such file or directory
  4690 mkdir    CALL  mkdir(0xbfbfeddb,0x1ed)
  4690 mkdir    RET   mkdir -1 errno 2 No such file or directory
  4690 mkdir    CALL  write(0x2,0xbfbfe5e8,0x23)
  4690 mkdir    GIO   fd 2 wrote 35 bytes
       "mkdir: : No such file or directory
       "
  4690 mkdir    RET   write 35/0x23
  4690 mkdir    CALL  exit(0x1)
jules# 

> my guess is that someone has broken "old.stat" as it never even tries to
> do a NAMEI.
> 
> 
> 
> _______________________________________________
> freebsd-current_at_freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"
> 
Received on Fri Feb 06 2004 - 00:49:55 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:41 UTC