Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Feb 2004 01:49:52 -0800 (PST)
From:      Julian Elischer <julian@elischer.org>
To:        FreeBSD current users <current@FreeBSD.ORG>
Subject:   Re: FreeBSD 1.1 under -current :-)
Message-ID:  <Pine.BSF.4.21.0402060148430.24800-100000@InterJet.elischer.org>
In-Reply-To: <Pine.BSF.4.21.0402060138180.24800-100000@InterJet.elischer.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
> 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0402060148430.24800-100000>