find_fast_cwd: WARNING: Couldn't compute FAST_CWD pointer 的问题有待解决

国外有同样问题的出现者,但无给出具体解决方法,我认为与兼容性有关。

Shark@Lau /home/dummynet/ipfw3-2012/binary
$ ./ipfw.exe -h
      0 [main] ipfw 15148 find_fast_cwd: WARNING: Couldn't compute FAST_CWD poin                                                                                                                ter.  Please report this problem to
the public mailing list cygwin@cygwin.com
ipfw syntax summary (but please do read the ipfw(8) manpage):


        ipfw [-abcdefhnNqStTv] <command>


where <command> is one of the following:


add [num] [set N] [prob x] RULE-BODY
{pipe|queue} N config PIPE-BODY
[pipe|queue] {zero|delete|show} [N{,N}]
nat N config {ip IPADDR|if IFNAME|log|deny_in|same_ports|unreg_only|reset|
                reverse|proxy_only|redirect_addr linkspec|
                redirect_port linkspec|redirect_proto linkspec}
set [disable N... enable N...] | move [rule] X to Y | swap X Y | show
set N {show|list|zero|resetlog|delete} [N{,N}] | flush
table N {add ip[/bits] [value] | delete ip[/bits] | flush | list}
table all {flush | list}


RULE-BODY:      check-state [PARAMS] | ACTION [PARAMS] ADDR [OPTION_LIST]
ACTION: check-state | allow | count | deny | unreach{,6} CODE |
               skipto N | {divert|tee} PORT | forward ADDR |
               pipe N | queue N | nat N | setfib FIB | reass
PARAMS:         [log [logamount LOGLIMIT]] [altq QUEUE_NAME]
ADDR:           [ MAC dst src ether_type ]
                [ ip from IPADDR [ PORT ] to IPADDR [ PORTLIST ] ]
                [ ipv6|ip6 from IP6ADDR [ PORT ] to IP6ADDR [ PORTLIST ] ]
IPADDR: [not] { any | me | ip/bits{x,y,z} | table(t[,v]) | IPLIST }
IP6ADDR:        [not] { any | me | me6 | ip6/bits | IP6LIST }
IP6LIST:        { ip6 | ip6/bits }[,IP6LIST]
IPLIST: { ip | ip/bits | ip:mask }[,IPLIST]
OPTION_LIST:    OPTION [OPTION_LIST]
OPTION: bridged | diverted | diverted-loopback | diverted-output |
        {dst-ip|src-ip} IPADDR | {dst-ip6|src-ip6|dst-ipv6|src-ipv6} IP6ADDR |
        {dst-port|src-port} LIST |
        estab | frag | {gid|uid} N | icmptypes LIST | in | out | ipid LIST |
        iplen LIST | ipoptions SPEC | ipprecedence | ipsec | iptos SPEC |
        ipttl LIST | ipversion VER | keep-state | layer2 | limit ... |
        icmp6types LIST | ext6hdr LIST | flow-id N[,N] | fib FIB |
        mac ... | mac-type LIST | proto LIST | {recv|xmit|via} {IF|IPADDR} |
        setup | {tcpack|tcpseq|tcpwin} NN | tcpflags SPEC | tcpoptions SPEC |
        tcpdatalen LIST | verrevpath | versrcreach | antispoof


Shark@Lau /home/dummynet/ipfw3-2012/binary
$ ./ipfw -f flush
      0 [main] ipfw 11424 find_fast_cwd: WARNING: Couldn't compute FAST_CWD poin                                                                                                                ter.  Please report this problem to
the public mailing list cygwin@cygwin.com
ipfw: socket: No error
my_socket failed 2, cannot talk to kernel module

具体解决方法即将给出。

  • 1
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 9
    评论
Cygwin警告:无法计算fast_cwd指针,这通常发生在以下情况下。 Cygwin是一个在Windows上实现类UNIX环境的兼容层。它允许用户在Windows系统上运行UNIX或类UNIX的命令行工具和应用程序。当使用Cygwin时,有时会出现警告信息:"couldn't compute fast_cwd pointer"。 这个警告通常是由于路径问题引起的。Cygwin程序在运行时需要确定当前工作目录(current working directory),以便正确执行相对路径的操作。然而,当无法计算fast_cwd指针时,可能会导致程序无法准确获取当前工作目录。 造成无法计算fast_cwd指针的原因可能有以下几个方面: 1.路径包含非英文字符:Cygwin可能无法正确处理路径中包含的非英文字符。确保路径中只使用英文字符或使用合适的字符编码解决问题。 2.路径过长:路径过长可能导致Cygwin无法计算fast_cwd指针。尝试将路径缩短,或使用更短的文件名以解决问题。 3.权限问题:如果当前用户没有足够的权限访问该路径,也可能导致无法计算fast_cwd指针。确保当前用户具有足够的权限来访问所需的目录。 解决问题的方法包括: 1.使用绝对路径:将路径更改为使用绝对路径,而不是相对路径,可以绕过计算fast_cwd指针的问题。 2.重命名或移动路径:尝试将路径缩短或更改为符合Cygwin要求的命名约定,以便Cygwin可以正确计算fast_cwd指针。 3.使用cygpath工具:Cygwin提供了cygpath工具,可以将Windows路径转换为Cygwin路径。尝试使用cygpath命令来转换路径并运行Cygwin程序。 总之,Cygwin警告信息"couldn't compute fast_cwd pointer"通常涉及到路径问题。通过检查路径中是否包含非英文字符、缩短路径长度、检查权限以及使用绝对路径或cygpath工具等方法,可以尝试解决问题

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 9
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值