Subject: Re: xmknod form patch I applied
To: None <netbsd-bugs@NetBSD.ORG>
From: Christos Zoulas <christos@deshaw.com>
List: netbsd-bugs
Date: 02/07/1996 03:49:03
In article <01BAF4AA.C381EEC0@johnam.datastorm.com> root@beta.datastorm.com (John A. Maier) writes:
>Someone sent me a patch to add xmknod.  It kind of worked, first it =
>didn't properly patch everything, and it was very incomplete.
>
>After great trouble the program (filemgr) still doesn't work, but it =
>doesn't core either!  Now it exits cleanly with this at the end of the =
>kdump.
>
>   189 filemgr  CALL  #126 (unimplemented xmknod)(0x2,0xf7bfccd8,0x1180)
>   189 filemgr  RET   #126 (unimplemented xmknod) -1 errno 14 Bad =
>address
>   189 filemgr  CALL  write(0x2,0x809ab25,0x5)
>   189 filemgr  GIO   fd 2 wrote 5 bytes
>       "mknod"
>   189 filemgr  RET   write 5
>   189 filemgr  CALL  write(0x2,0x18374130,0x2)
>   189 filemgr  GIO   fd 2 wrote 2 bytes
>       ": "
>   189 filemgr  RET   write 2
>   189 filemgr  CALL  write(0x2,0x18376513,0xb)
>   189 filemgr  GIO   fd 2 wrote 11 bytes
>       "Bad address"
>   189 filemgr  RET   write 11/0xb
>   189 filemgr  CALL  write(0x2,0x18374134,0x1)
>   189 filemgr  GIO   fd 2 wrote 1 bytes
>       "
>       "
>   189 filemgr  RET   write 1
>   189 filemgr  CALL  lseek(0,0,0x1)
>   189 filemgr  RET   lseek 293/0x125
>   189 filemgr  CALL  lseek(0x4,0,0x1)
>   189 filemgr  RET   lseek 2357/0x935
>   189 filemgr  CALL  exit(0x1)    =20

If you just applied the patch, you need to run make in the compat/svr4
directory. Otherwise you can just sup a new copy and the changes are
going to be there.

christos