tomcat probe 中文fail中文是什么意思

Posts - 6,
Articles - 0,
Comments - 0
17:46 by LittleMan, ... 阅读,
当在glusterfs中将服务器加到存储池中,及运行&gluster peer probe server&命令,
遇到peer probe: failed: Probe returned with unknown errno 107错误时,可以从以下几个方面解决问题
1、查看目标服务器上的防火墙是否关闭
2、查看glusterd在两台机器上都启动并运行
3、检查两台服务器能否ping的通failed to connect captureipagent please restart probe什么意思_百度知道&&&&&&& 最近在Zynq板上启动linaro桌面系统时,发现一个奇怪的问题,系统在启动到最后,已经打印了如下信息:[drm] Initialized axi_hdmi_drm 1.0.0
on minor 0,按理说后面就该是登录系统并显示shell提示符了,但后面显示:VFS: Cannot open root device &mmcblk0p2& or unknown-block(179,2): error -30,即打不开SD卡的第二个分区,之前使用这张卡可正常启动的,而且没有做任何改动。于是我们重新制作桌面文件系统,结果问题依旧。很不解?!下面是启动信息:
U-Boot 2013.01 (Jun 04 2013 - 09:22:41)
DRAM:& 512 MiB
WARNING: Caches not enabled
MMC:&& zynq_sdhci: 0
SF: Detected S25FL256S with page size 64 KiB, total 32 MiB
*** Warning - bad CRC, using default environment
In:&&& serial
Out:&& serial
Err:&& serial
Net:&& Gem.e000b000
Hit any key to stop autoboot:& 0
Copying Linux from SD to RAM...
Device: zynq_sdhci
Manufacturer ID: 2
Name: SA08G
Tran Speed:
Rd Block Len: 512
SD version 2.0
High Capacity: Yes
Capacity: 7.3 GiB
Bus Width: 4-bit
reading uImage
3158312 bytes read in 485 ms (6.2 MiB/s)
reading devicetree.dtb
8172 bytes read in 13 ms (613.3 KiB/s)
## Booting kernel from Legacy Image at
&& Image Name:&& Linux-3.6.0
&& Image Type:&& ARM Linux Kernel Image (uncompressed)
&& Data Size:&&& 3158248 Bytes = 3 MiB
&& Load Address:
&& Entry Point:&
&& Verifying Checksum ... OK
## Flattened Device Tree blob at 02a00000
&& Booting using the fdt blob at 0x02a00000
&& Loading Kernel Image ... OK
&& Loading Device Tree to 1fb4f000, end 1fb53feb ... OK
Starting kernel ...
Uncompressing Linux... done, booting the kernel.
Booting Linux on physical CPU 0
Linux version 3.6.0 () (gcc version 4.6.1 (Sourcery CodeBench Lite ) ) #1 SMP PREEMPT Sun Jun 2 13:37:48 CST 2013
CPU: ARMv7 Processor [413fc090] revision 0 (ARMv7), cr=18c5387d
CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
Machine: Xilinx Zynq Platform, model: Xilinx Zynq ZED
bootconsole [earlycon0] enabled
cma: CMA: reserved 40 MiB at 1d000000
Memory policy: ECC disabled, Data cache writealloc
PERCPU: Embedded 7 pages/cpu @c0fcf000 s d1
Built 1 zonelists in Zone order, mobility grouping on.& Total pages: 130048
Kernel command line: console=ttyPS0,115200 root=/dev/mmcblk0p2 rw earlyprintk rootfstype=ext4 rootwait devtmpfs.mount=0
PID hash table entries: 2048 (order: 1, 8192 bytes)
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
Memory: 512MB = 512MB total
Memory: 6556k available, 57732k reserved, 0K highmem
Virtual kernel memory layout:
&&& vector& : 0xffff0000 - 0xffff1000&& (&& 4 kB)
&&& fixmap& : 0xfff00000 - 0xfffe0000&& ( 896 kB)
&&& vmalloc : 0xe0800000 - 0xff000000&& ( 488 MB)
&&& lowmem& : 0xc0000000 - 0xe0000000&& ( 512 MB)
&&& pkmap&& : 0xbfe00000 - 0xc0000000&& (&& 2 MB)
&&& modules : 0xbf000000 - 0xbfe00000&& (& 14 MB)
&&&&& .text : 0xc0008000 - 0xc0614ce4&& (6196 kB)
&&&&& .init : 0xc0615000 - 0xc063dec0&& ( 164 kB)
&&&&& .data : 0xc063e000 - 0xc06bcb80&& ( 507 kB)
&&&&&& .bss : 0xc06bcba4 - 0xc0bc4850&& (5152 kB)
Preemptible hierarchical RCU implementation.
&&&&&&& RCU lockdep checking is enabled.
&&&&&&& Dump stacks of tasks blocking RCU-preempt GP.
&&&&&&& RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
NR_IRQS:512
MIO pin 11 not assigned()
xslcr mapped to e0802000
Zynq clock init
timer #0 at e0804000, irq=43
sched_clock: 32 bits at 100 Hz, resolution ns, wraps every ms
Console: colour dummy device 80x30
Lock dependency validator: Copyright (c) 2006 Red Hat, Inc., Ingo Molnar
... MAX_LOCKDEP_SUBCLASSES:& 8
... MAX_LOCK_DEPTH:&&&&&&&&& 48
... MAX_LOCKDEP_KEYS:&&&&&&& 8191
... CLASSHASH_SIZE:&&&&&&&&& 4096
... MAX_LOCKDEP_ENTRIES:&&&& 16384
... MAX_LOCKDEP_CHAINS:&&&&& 32768
... CHAINHASH_SIZE:&&&&&&&&& 16384
&memory used by lock dependency info: 3695 kB
&per task-struct memory footprint: 1152 bytes
Calibrating delay loop... 1332.01 BogoMIPS (lpj=6660096)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
CPU0: thread -1, cpu 0, socket 0, mpidr
hw perfevents: enabled with ARMv7 Cortex-A9 PMU driver, 7 counters available
Setting up static identity map for 0x3a61a8 - 0x3a61dc
L310 cache controller enabled
l2x0: 8 ways, CACHE_ID 0x, AUX_CTRL 0x, Cache size: 524288 B
CPU1: Booted secondary processor
CPU1: thread -1, cpu 1, socket 0, mpidr
Brought up 2 CPUs
SMP: Total of 2 processors activated (2664.03 BogoMIPS).
devtmpfs: initialized
NET: Registered protocol family 16
DMA: preallocated 256 KiB pool for atomic coherent allocations
xgpiops e000a000.gpio: gpio at 0xe000a000 mapped to 0xe080c000
hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
hw-breakpoint: maximum watchpoint size is 4 bytes.
bio: create slab &bio-0& at 0
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
Linux video capture interface: v2.00
Advanced Linux Sound Architecture Driver Version 1.0.25.
Switching to clocksource xttcps_clocksource
NET: Registered protocol family 2
TCP established hash table entries: 16384 (order: 5, 131072 bytes)
TCP bind hash table entries: 16384 (order: 7, 589824 bytes)
TCP: Hash tables configured (established 16384 bind 16384)
TCP: reno registered
UDP hash table entries: 256 (order: 2, 20480 bytes)
UDP-Lite hash table entries: 256 (order: 2, 20480 bytes)
NET: Registered protocol family 1
msgmni has been set to 991
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
xuartps e0001000.uart: failed to get alias id, errno -19
e000console [ttyPS0] enabled, bootconsole disabled
console [ttyPS0] enabled, bootconsole disabled
xdevcfg f8007000.devcfg: ioremap f8007000 to e0814000 with size 1000
[drm] Initialized drm 1.1.0
platform 6c000000.axi_hdmi: Driver axi-hdmi requests probe deferral
brd: module loaded
loop: module loaded
xqspips e000d000.spi: master is unqueued, this is deprecated
xqspips e000d000.spi: at 0xE000D000 mapped to 0xE0816000, irq=51
libphy: XEMACPS mii bus: probed
xemacps e000b000.eth: pdev-&id -1, baseaddr 0xe000b000, irq 54
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ULPI transceiver vendor/product ID 0x7
Found TI TUSB1210 ULPI transceiver.
ULPI integrity check: passed.
xusbps-ehci xusbps-ehci.0: Xilinx PS USB EHCI Host Controller
xusbps-ehci xusbps-ehci.0: new USB bus registered, assigned bus number 1
xusbps-ehci xusbps-ehci.0: irq 53, io mem 0x
xusbps-ehci xusbps-ehci.0: USB 2.0 started, EHCI 1.00
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
mousedev: PS/2 mouse device common for all mice
i2c /dev entries driver
usbcore: registered new interface driver uvcvideo
USB Video Class driver (1.1.1)
sdhci: Secure Digital Host Controller Interface driver
sdhci: Copyright(c) Pierre Ossman
sdhci-pltfm: SDHCI platform and OF driver helper
mmc0: Invalid maximum block size, assuming 512 bytes
mmc0: SDHCI controller on e0100000.sdhci [e0100000.sdhci] using ADMA
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
mmc0: new high speed SDHC card at address 1234
mmcblk0: mmc0:1234 SA08G 7.28 GiB (ro)
&mmcblk0: p1 p2
adv9: Failed to add route AIFIN-&TMDS
adv7511-hdmi-snd adv7511_hdmi_snd.4:& adv7511 &-& 75c00000.axi-spdif-tx mapping ok
INFO: task swapper/0:1 blocked for more than 20 seconds.
&echo 0 & /proc/sys/kernel/hung_task_timeout_secs& disables this message.
swapper/0&&&&&& D c03a4a84&&&& 0&&&& 1&&&&& 0 0x
[&c03a4a84&] (__schedule+0x540/0x658) from [&c03a24f0&] (schedule_timeout+0x18/0x164)
[&c03a24f0&] (schedule_timeout+0x18/0x164) from [&c03a441c&] (wait_for_common+0xe0/0x174)
[&c03a441c&] (wait_for_common+0xe0/0x174) from [&c01cd0e0&] (_request_firmware_load+0xe0/0x180)
[&c01cd0e0&] (_request_firmware_load+0xe0/0x180) from [&c01cd970&] (request_firmware+0x74/0xb0)
[&c01cd970&] (request_firmware+0x74/0xb0) from [&c02d3d70&] (_process_sigma_firmware+0x1c/0x1b4)
[&c02d3d70&] (_process_sigma_firmware+0x1c/0x1b4) from [&c02d3f20&] (process_sigma_firmware_regmap+0x18/0x24)
[&c02d3f20&] (process_sigma_firmware_regmap+0x18/0x24) from [&c02c7c38&] (adau17x1_load_firmware+0x58/0x7c)
[&c02c7c38&] (adau17x1_load_firmware+0x58/0x7c) from [&c02c81ec&] (adau1761_probe+0x2a8/0x30c)
[&c02c81ec&] (adau1761_probe+0x2a8/0x30c) from [&c02bc284&] (soc_probe_codec+0x18c/0x29c)
[&c02bc284&] (soc_probe_codec+0x18c/0x29c) from [&c02bcf24&] (snd_soc_register_card+0x724/0x10f4)
[&c02bcf24&] (snd_soc_register_card+0x724/0x10f4) from [&c01c7160&] (platform_drv_probe+0x14/0x18)
[&c01c7160&] (platform_drv_probe+0x14/0x18) from [&c01c6240&] (driver_probe_device+0xb4/0x1ec)
[&c01c6240&] (driver_probe_device+0xb4/0x1ec) from [&c01c63e0&] (__driver_attach+0x68/0x8c)
[&c01c63e0&] (__driver_attach+0x68/0x8c) from [&c01c4c30&] (bus_for_each_dev+0x48/0x74)
[&c01c4c30&] (bus_for_each_dev+0x48/0x74) from [&c01c59b4&] (bus_add_driver+0x98/0x220)
[&c01c59b4&] (bus_add_driver+0x98/0x220) from [&c01c6858&] (driver_register+0x9c/0x13c)
[&c01c6858&] (driver_register+0x9c/0x13c) from [&c0008544&] (do_one_initcall+0x90/0x164)
[&c0008544&] (do_one_initcall+0x90/0x164) from [&c06158e0&] (kernel_init+0xf8/0x1b8)
[&c06158e0&] (kernel_init+0xf8/0x1b8) from [&c000e308&] (kernel_thread_exit+0x0/0x8)
4 locks held by swapper/0/1:
&#0:& (&__lockdep_no_validate__){......}, at: [&c01c63b8&] __driver_attach+0x40/0x8c
&#1:& (&__lockdep_no_validate__){......}, at: [&c01c63c8&] __driver_attach+0x50/0x8c
&#2:& (&card-&mutex){+.+.+.}, at: [&c02bca74&] snd_soc_register_card+0x274/0x10f4
&#3:& (umhelper_sem){++++.+}, at: [&c0034b1c&] usermodehelper_read_trylock+0x4c/0xb8
INFO: task swapper/0:1 blocked for more than 20 seconds.
&echo 0 & /proc/sys/kernel/hung_task_timeout_secs& disables this message.
swapper/0&&&&&& D c03a4a84&&&& 0&&&& 1&&&&& 0 0x
[&c03a4a84&] (__schedule+0x540/0x658) from [&c03a24f0&] (schedule_timeout+0x18/0x164)
[&c03a24f0&] (schedule_timeout+0x18/0x164) from [&c03a441c&] (wait_for_common+0xe0/0x174)
[&c03a441c&] (wait_for_common+0xe0/0x174) from [&c01cd0e0&] (_request_firmware_load+0xe0/0x180)
[&c01cd0e0&] (_request_firmware_load+0xe0/0x180) from [&c01cd970&] (request_firmware+0x74/0xb0)
[&c01cd970&] (request_firmware+0x74/0xb0) from [&c02d3d70&] (_process_sigma_firmware+0x1c/0x1b4)
[&c02d3d70&] (_process_sigma_firmware+0x1c/0x1b4) from [&c02d3f20&] (process_sigma_firmware_regmap+0x18/0x24)
[&c02d3f20&] (process_sigma_firmware_regmap+0x18/0x24) from [&c02c7c38&] (adau17x1_load_firmware+0x58/0x7c)
[&c02c7c38&] (adau17x1_load_firmware+0x58/0x7c) from [&c02c81ec&] (adau1761_probe+0x2a8/0x30c)
[&c02c81ec&] (adau1761_probe+0x2a8/0x30c) from [&c02bc284&] (soc_probe_codec+0x18c/0x29c)
[&c02bc284&] (soc_probe_codec+0x18c/0x29c) from [&c02bcf24&] (snd_soc_register_card+0x724/0x10f4)
[&c02bcf24&] (snd_soc_register_card+0x724/0x10f4) from [&c01c7160&] (platform_drv_probe+0x14/0x18)
[&c01c7160&] (platform_drv_probe+0x14/0x18) from [&c01c6240&] (driver_probe_device+0xb4/0x1ec)
[&c01c6240&] (driver_probe_device+0xb4/0x1ec) from [&c01c63e0&] (__driver_attach+0x68/0x8c)
[&c01c63e0&] (__driver_attach+0x68/0x8c) from [&c01c4c30&] (bus_for_each_dev+0x48/0x74)
[&c01c4c30&] (bus_for_each_dev+0x48/0x74) from [&c01c59b4&] (bus_add_driver+0x98/0x220)
[&c01c59b4&] (bus_add_driver+0x98/0x220) from [&c01c6858&] (driver_register+0x9c/0x13c)
[&c01c6858&] (driver_register+0x9c/0x13c) from [&c0008544&] (do_one_initcall+0x90/0x164)
[&c0008544&] (do_one_initcall+0x90/0x164) from [&c06158e0&] (kernel_init+0xf8/0x1b8)
[&c06158e0&] (kernel_init+0xf8/0x1b8) from [&c000e308&] (kernel_thread_exit+0x0/0x8)
4 locks held by swapper/0/1:
&#0:& (&__lockdep_no_validate__){......}, at: [&c01c63b8&] __driver_attach+0x40/0x8c
&#1:& (&__lockdep_no_validate__){......}, at: [&c01c63c8&] __driver_attach+0x50/0x8c
&#2:& (&card-&mutex){+.+.+.}, at: [&c02bca74&] snd_soc_register_card+0x274/0x10f4
&#3:& (umhelper_sem){++++.+}, at: [&c0034b1c&] usermodehelper_read_trylock+0x4c/0xb8
adaub: Failed to firmware
zed-adau1761-snd zed_adau1761_snd.7:& adau-hifi &-& .axi-i2s mapping ok
TCP: cubic registered
NET: Registered protocol family 17
VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
Registering SWP/SWPB emulation handler
drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
ALSA device list:
& #0: HDMI monitor
& #1: ZED ADAU1761
No connectors reported connected with modes
[drm] Cannot find any crtc or sizes - going
Console: switching to colour frame buffer device 128x48
fb0:& frame buffer device
drm: registered panic notifier
[drm] Initialized axi_hdmi_drm 1.0.0
on minor 0
VFS: Cannot open root device &mmcblk0p2& or unknown-block(179,2): error -30
Please append a correct &root=& here are the available partitions:
b300&&&&&&&& 7639040 mmcblk0& driver: mmcblk
& b301&&&&&&&&& 489274 mmcblk0p1 0-
& b302&&&&&&&& 7149581 mmcblk0p2 0-
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(179,2)
[&c001334c&] (unwind_backtrace+0x0/0xe0) from [&c039f0cc&] (panic+0x88/0x1e0)
[&c039f0cc&] (panic+0x88/0x1e0) from [&c0615cdc&] (mount_block_root+0x238/0x288)
[&c0615cdc&] (mount_block_root+0x238/0x288) from [&c0615fd0&] (prepare_namespace+0x160/0x1c0)
[&c0615fd0&] (prepare_namespace+0x160/0x1c0) from [&c0615960&] (kernel_init+0x178/0x1b8)
[&c0615960&] (kernel_init+0x178/0x1b8) from [&c000e308&] (kernel_thread_exit+0x0/0x8)
CPU1: stopping
[&c001334c&] (unwind_backtrace+0x0/0xe0) from [&c0012320&] (ipi_cpu_stop+0x3c/0x6c)
[&c0012320&] (ipi_cpu_stop+0x3c/0x6c) from [&c00126a4&] (handle_IPI+0x68/0xb4)
[&c00126a4&] (handle_IPI+0x68/0xb4) from [&c000847c&] (gic_handle_irq+0x54/0x5c)
[&c000847c&] (gic_handle_irq+0x54/0x5c) from [&c000d3c4&] (__irq_svc+0x44/0x78)
Exception stack(0xdcc77fa0 to 0xdcc77fe8)
7fa0: dcceaf0 dcc77fd8 dcc6e0c0 1cc15 10c0387d c06bcf54
7fc0: 3fc090 00 dcc77fe8 dcc7c
[&c000d3c4&] (__irq_svc+0x44/0x78) from [&c000e36c&] (default_idle+0x28/0x30)
[&c000e36c&] (default_idle+0x28/0x30) from [&c000e558&] (cpu_idle+0x8c/0xe4)
[&c000e558&] (cpu_idle+0x8c/0xe4) from [&&] (0x39c134)
panic occurred, switching back to text console
&&&&&&& 今天终于发现了问题的所在,原来是SD卡在使用过程中不小心被锁定了,SD卡处于写保护状态,将SD卡解锁,上面的问题就解决了。而且还发现,SD卡处于写保护状态时,如果直接使用笔记本自带的读卡器访问SD卡,则不可写入;但是如果使用USB接口的读卡器,则可以正常读写SD卡,而我们一直使用的是USB接口的SD卡读卡器,所以之前没有发现这个问题。
旗下网站:
与非门科技(北京)有限公司 All Rights Reserved.
京ICP证:070212号
北京市公安局备案编号: 京ICP备:号2185人阅读
零碎札记(4)
今天拿了两台旧机器(PentiumD)想搭一个分布式文件系统来玩玩,看看和HDFS对比有哪些使用上的不同。
安装应该是很容易:操作系统Fedora17
32位,留了大片的磁盘空间不做分区(51GBout
of 73GB)。
然后用yum安装;
然后发现需要将glusterd 这个daemon启动……
好了,到了peer
probe。几个钟都卡在unknown
error 107上。
[root@gluster0 sbin]# ./gluster peer probe gluster1
Probe unsuccessful
Probe returned with unknown errno 107
* 两台机器分别在/etc/hosts上命名为 gluster0和&gluster1
查了netstat,端口24007已经打开。没有理由的。没有用DNS但已经都在/etc/hosts文件上做了登记……
[ 17:34:32.369306] I [glusterd-handler.c:685:glusterd_handle_cli_probe] 0-glusterd: Received CLI probe req gluster1 24007
[ 17:34:32.371086] I [glusterd-handler.c:428:glusterd_friend_find] 0-glusterd: Unable to find hostname: gluster1
[ 17:34:32.371129] I [glusterd-handler.c:2245:glusterd_probe_begin] 0-glusterd: Unable to find peerinfo for host: gluster1 (24007)
[ 17:34:32.371776] I [rpc-clnt.c:968:rpc_clnt_connection_init] 0-management: setting frame-timeout to 600
[ 17:34:32.380750] I [glusterd-handler.c:2227:glusterd_friend_add] 0-management: connect returned 0
[ 17:34:32.380917] E [socket.c:1715:socket_connect_finish] 0-management: connection to
failed (No route to host)
[ 17:34:32.381070] I [glusterd-handler.c:2423:glusterd_xfer_cli_probe_resp] 0-glusterd: Responded to CLI, ret: 0
0-glusterd: Unable to find hostname: gluster1
-------------------
靠,上代码。编译,调试——用gdb 挂上glusterd进程。
glusterd_friend_find_by_hostname (const char *hoststr,
glusterd_peerinfo_t
**peerinfo)
glusterd_conf_t
*priv = NULL;
glusterd_peerinfo_t
*entry = NULL;
struct addrinfo
*addr = NULL;
struct addrinfo
*p = NULL;
*host = NULL;
struct sockaddr_in6
*s6 = NULL;
struct sockaddr_in
*s4 = NULL;
struct in_addr
*in_addr = NULL;
hname[1024] = {0,};
this = THIS;
GF_ASSERT (hoststr);
GF_ASSERT (peerinfo);
*peerinfo = NULL;
GF_ASSERT (priv);
list_for_each_entry (entry, &priv-&peers, uuid_list) {
if (!strncasecmp (entry-&hostname, hoststr,
gf_log (this-&name, GF_LOG_DEBUG,
&Friend %s found.. state: %d&, hoststr,
entry-&state.state);
*peerinfo =
ret = getaddrinfo (hoststr, NULL, NULL, &addr);
if (ret != 0) {
gf_log (this-&name, GF_LOG_ERROR,
&error in getaddrinfo: %s\n&,
gai_strerror(ret));
for (p = p != NULL; p = p-&ai_next) {
switch (p-&ai_family) {
case AF_INET:
s4 = (struct sockaddr_in *) p-&ai_
in_addr = &s4-&sin_
case AF_INET6:
s6 = (struct sockaddr_in6 *) p-&ai_
in_addr =(struct in_addr *) &s6-&sin6_
default: ret = -1;
host = inet_ntoa(*in_addr);
ret = getnameinfo (p-&ai_addr, p-&ai_addrlen, hname,
1024, NULL, 0, 0);
list_for_each_entry (entry, &priv-&peers, uuid_list) {
if (!strncasecmp (entry-&hostname, host,
1024) || !strncasecmp (entry-&hostname,hname,
gf_log (this-&name, GF_LOG_DEBUG,
&Friend %s found.. state: %d&,
hoststr, entry-&state.state);
*peerinfo =
freeaddrinfo (addr);
gf_log (this-&name, GF_LOG_DEBUG, &Unable to find friend: %s&, hoststr);
freeaddrinfo (addr);
return -1;
跟了一下,发现奇怪问题:entry这个局部指针变量是在哪里赋值?
entry为NULL,第一次的list_for_each_entry() 循环,可是一次都没有进去。
ret = getaddrinfo (hoststr, NULL, NULL, &addr);
entry就莫名其妙有了值,但这个值是有问题的。
猜测,可能漏了为entry赋值,而entry应该赋值为传入的peerinfo变量的头元素;有无内存溢出?
为了验证猜测,看看这个循环的原型:
google了一下:
http://lxr./source/include/linux/list.h#L418
* list_for_each_entry
iterate over list of given type
the type * to use as a loop cursor.
the head for your list.
* @member:
the name of the list_struct within the struct.
#define list_for_each_entry(pos, head, member)
for (pos = list_entry((head)-&next, typeof(*pos), member);
&pos-&member != (head);
pos = list_entry(pos-&member.next, typeof(*pos), member))
原来只是一个宏定义,本质是对成员做一个for循环。
参考知识库
* 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场
访问:14820次
排名:千里之外
原创:18篇
(5)(2)(2)(2)(1)(1)(1)(2)(1)(2)扫描二维码登录
请用微信扫描左边二维码获得验证码
* 填写验证码
* 无需输入用户名密码,安全可靠 (需要微信已绑定)
安装probe提示Failed to connect captureIpAgent,please restart probe
威望 1341 个
礼品券 5 个
专家指数 1
注册 专业方向&
回答问题数
回答被采纳数
回答采纳率
大神求解?????
附件下载列表:
(12.13 KB)
对本帖内容的看法?
作者的更多帖子
威望 36243 个
礼品券 25 个
专家指数 253
注册 专业方向&
GSM网络优化与编程
回答问题数
回答被采纳数
回答采纳率
技术问题,回答得专家指数,快速升级
· · · · · · · · · ·
把Windows Installer服务启动下,重启再打开,有可能会好。
对本帖内容的看法?
积分 10496
威望 108038 个
礼品券 27 个
专家指数 36
注册 专业方向&
回答问题数
回答被采纳数
回答采纳率
1、把Windows Installer服务启动下,再重启可能会好。
2、用安装包(不要在“卸载或更改程序”)卸载这个软件,重新安装以便。另外,Microsoft.NET_Framework_v4.0那个插件也要装上。
3、您用的是cat3还是cat4测试,两者在设备类型设置时略微有些不同。
对本帖内容的看法?
威望 133 个
礼品券 0 个
专家指数 3
注册 专业方向&
回答问题数
回答被采纳数
回答采纳率
在网上下载vcredist2008不要用最新的
对本帖内容的看法?
您即将访问其它网站
您即将访问的地址是其它网站的内容,MSCBSC将不再对其安全性和可靠性负责,请自行判断是否继续前往
精彩通信图库
当前时区 GMT+8, 现在时间是
   本站统一服务邮箱:}

我要回帖

更多关于 probe 中文 的文章

更多推荐

版权声明:文章内容来源于网络,版权归原作者所有,如有侵权请点击这里与我们联系,我们将及时删除。

点击添加站长微信