V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  zhuzhi90  ›  全部回复第 2 页 / 共 2 页
回复总数  37
1  2  
2019-06-16 09:09:41 +08:00
回复了 bxb100 创建的主题 全球工单系统 饿了么挂了...
我这里使用正常啊, 最近一个月, 每日三餐都正常.
坐标合肥.
2019-06-16 09:06:58 +08:00
回复了 skiy 创建的主题 程序员 百度网盘居然出 Linux 版了
上述 protoc-3.8.9-linux-x86_64.zip 是误键入, 应该为 protoc-3.8.0-linux-x86_64.zip. 键盘不适应键位输入错了.
2019-06-16 09:05:14 +08:00
回复了 skiy 创建的主题 程序员 百度网盘居然出 Linux 版了
系统 ubuntu 16.04, 将 rpm 包通过 alien 转化为 deb 包之后安装.

cd 到 /opt/baidunetdisk/ 之下, 运行 ./baidunetdisk, 得到如下错误:

[libprotobuf FATAL google/protobuf/stubs/common.cc:61] This program requires version 3.3.0 of the Protocol Buffer runtime library, but the installed version is 2.6.1. Please update your library. If you compiled the program yourself, make sure that your headers are from the same version of Protocol Buffers as your link-time library. (Version verification failed in "./protobuf/cms_protocol.pb.cc".)
terminate called after throwing an instance of 'google::protobuf::FatalException'
what(): This program requires version 3.3.0 of the Protocol Buffer runtime library, but the installed version is 2.6.1. Please update your library. If you compiled the program yourself, make sure that your headers are from the same version of Protocol Buffers as your link-time library. (Version verification failed in "./protobuf/cms_protocol.pb.cc".)
Aborted (core dumped)

运行 protoc --version 得到版本为 2.6.1, 在 https://github.com/protocolbuffers/protobuf/releases 页面中下载 protoc-3.8.9-linux-x86_64.zip, 解压缩后将 protoc 替换掉原有的 /usr/bin/protoc

再次运行 protoc --version 得到版本为 3.8.0, 尝试启动 baidunetdisk, 还是得到同样的错误.

我还尝试了添加 ppa 源, 安装 protoc 3.1.0(双版本并存), 但是 baidunetdisk 任然识别为 2.6.1. 我想要移除 protoc 2.6.1, 发现有太多程序的依赖会被打破, 所以没敢移除.

有没有大佬知道这个问题怎么解决啊.
2019-05-10 21:22:46 +08:00
回复了 wesall100200 创建的主题 知乎 知乎怎么知道我秃头掉发的?
@RiESA 哈哈, 一下子没忍住笑出了声
2019-03-19 18:43:55 +08:00
回复了 zhuzhi90 创建的主题 Linux Ubuntu 18.04.2 LTS 下无法发现新添加硬盘
今天我用 860evo 2TB 重新试了, 成功认盘. 目前我倾向于问题是由供电不足引起的.

我在外网翻了一些论坛, 发现也有人用企业盘出现问题, 他解决的方法是外接供电和 sata 线. 我不想折腾了, 860evo 能用就好了. 企业盘作为 mlc 的 sata 盘, 当做 "传家宝" 好了...
2019-03-19 18:42:28 +08:00
回复了 zhuzhi90 创建的主题 Linux Ubuntu 18.04.2 LTS 下无法发现新添加硬盘
@wsy2220 嗯, 开了的. MBR, GPT 分区都试了.
2019-03-18 20:50:42 +08:00
回复了 tiantianchini 创建的主题 Linux 请问 ubuntu ‘其他软件’的源可以换吗?
我和你的源一样的, 可以正常更新. 坐标 合肥联通 和 北京(长城宽带).
2019-03-18 20:21:37 +08:00
回复了 zhuzhi90 创建的主题 Linux Ubuntu 18.04.2 LTS 下无法发现新添加硬盘
我又去查了下资料:

s3610 的 2.5-inch 1.6T 盘在仅有 5V 供电情况下的功耗(仅列出写, 读取模式功耗较低):

Active Write - RMS Average: 6.8w
Active Write - Burst: 10.7w
Active Write - Max Burst: 12.2w

尖峰概率约为 0.25%.

nuc sata 供电口是 5 脚, 分别是 5v, 5v, 3.3v, 接地, 接地, 型号是 Molex* part number 53398-0571.
去查了生产商的资料, 电流最大值是 1A per contact. nuc 实际接了 1,2,4,5 针脚, 也就是 5v 供电最大 2A, 就 10w.

这样看供电是肯定不足了.

官网查得 860evo 2T 的功耗才 平均 3w, 最大 4w, 西部数据蓝盘 ssd 2TB 的功耗最大也就 3.8w.

结论就是: 家用 nuc 别上企业盘...自作自受.
当时想着企业盘, 是 mlc, 耐用度又高...没想到碰到供电不足的问题.
2019-03-18 17:07:20 +08:00
回复了 zhuzhi90 创建的主题 Linux Ubuntu 18.04.2 LTS 下无法发现新添加硬盘
@ooxxcc 请问这种情况有没有可能是供电不足引起的呀? s3610 供电是 5V 1.4A.
2019-03-18 16:49:29 +08:00
回复了 zhuzhi90 创建的主题 Linux Ubuntu 18.04.2 LTS 下无法发现新添加硬盘
运行 gdisk -l /dev/sda 结果如下:

gdisk -l /dev/sda
GPT fdisk (gdisk) version 1.0.3

Problem reading disk in BasicMBRData::ReadMBRData()!
Warning! Read error 22; strange behavior now likely!
Warning! Read error 22; strange behavior now likely!
Partition table scan:
MBR: MBR only
BSD: not present
APM: not present
GPT: not present


***************************************************************
Found invalid GPT and valid MBR; converting MBR to GPT format
in memory.
***************************************************************

Disk /dev/sda: 0 sectors, 0 bytes
Model: LK1600GEYMV
Sector size (logical/physical): 512/4096 bytes
Disk identifier (GUID): 658D893D-FE14-45CC-B824-5A5CA8E50300
Partition table holds up to 128 entries
Main partition table begins at sector 2 and ends at sector 33
First usable sector is 34, last usable sector is 18446744073709551582
Partitions will be aligned on 2048-sector boundaries
Total free space is 0 sectors (0 bytes)

Number Start (sector) End (sector) Size Code Name
2019-03-18 16:46:17 +08:00
回复了 zhuzhi90 创建的主题 Linux Ubuntu 18.04.2 LTS 下无法发现新添加硬盘
运行 hdparm -I /dev/sda 结果如下:

/dev/sda:

ATA device, with non-removable media
Model Number: LK1600GEYMV
Serial Number: BTHC73260CVW1P6PGN
Firmware Revision: 4IWTHPG2
Transport: Serial, ATA8-AST, SATA 1.0a, SATA II Extensions, SATA Rev 2.5, SATA Rev 2.6, SATA Rev 3.0
Standards:
Used: unknown (minor revision code 0x0028)
Supported: 10 9 8 7 6 5
Likely used: 10
Configuration:
Logical max current
cylinders 16383 0
heads 16 0
sectors/track 63 0
--
LBA user addressable sectors: 0
LBA48 user addressable sectors: 0
Logical Sector size: 512 bytes
Physical Sector size: 4096 bytes
Logical Sector-0 offset: 0 bytes
device size with M = 1024*1024: 8063 MBytes
device size with M = 1000*1000: 8455 MBytes (8 GB)
cache/buffer size = unknown
Form Factor: 2.5 inch
Nominal Media Rotation Rate: Solid State Device
Capabilities:
LBA, IORDY(can be disabled)
Queue depth: 32
Standby timer values: spec'd by Standard, with device specific minimum
R/W multiple sector transfer: Max = 1 Current = 1
DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 *udma5
Cycle time: min=120ns recommended=120ns
PIO: pio0 pio1 pio2 pio3 pio4
Cycle time: no flow control=120ns IORDY flow control=120ns
Commands/features:
Enabled Supported:
* SMART feature set
* Power Management feature set
* Write cache
* Look-ahead
* WRITE_BUFFER command
* READ_BUFFER command
* NOP cmd
* DOWNLOAD_MICROCODE
* 48-bit Address feature set
* Mandatory FLUSH_CACHE
* FLUSH_CACHE_EXT
* SMART error logging
* SMART self-test
* General Purpose Logging feature set
* WRITE_{DMA|MULTIPLE}_FUA_EXT
* 64-bit World wide name
* IDLE_IMMEDIATE with UNLOAD
* WRITE_UNCORRECTABLE_EXT command
* {READ,WRITE}_DMA_EXT_GPL commands
* Segmented DOWNLOAD_MICROCODE
* unknown 119[6]
* Gen1 signaling speed (1.5Gb/s)
* Gen2 signaling speed (3.0Gb/s)
* Gen3 signaling speed (6.0Gb/s)
* Native Command Queueing (NCQ)
* Phy event counters
* READ_LOG_DMA_EXT equivalent to READ_LOG_EXT
DMA Setup Auto-Activate optimization
* Software settings preservation
* SMART Command Transport (SCT) feature set
* SCT Error Recovery Control (AC3)
* SCT Features Control (AC4)
* SCT Data Tables (AC5)
* reserved 69[2]
* reserved 69[4]
* Data Set Management TRIM supported (limit 4 blocks)
* Deterministic read ZEROs after TRIM
Logical Unit WWN Device Identifier: 55cd2e414deb2074
NAA : 5
IEEE OUI : 5cd2e4
Unique ID : 14deb2074
Checksum: correct
2019-03-18 16:42:34 +08:00
回复了 zhuzhi90 创建的主题 Linux Ubuntu 18.04.2 LTS 下无法发现新添加硬盘
补充:

我尝试对 /dev/sda 测速:

$hdparm -t /dev/sda

显示结果如下:

/dev/sda:
Timing buffered disk reads: read() hit EOF - device too small
2019-03-18 16:31:30 +08:00
回复了 zhuzhi90 创建的主题 Linux Ubuntu 18.04.2 LTS 下无法发现新添加硬盘
dmesg 当中我找到的可能的信息:

> [ 3.368038] ata3: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
> [ 3.369365] ata3.00: ACPI cmd ef/10:06:00:00:00:00 (SET FEATURES) succeeded
> [ 3.369367] ata3.00: ACPI cmd f5/00:00:00:00:00:00 (SECURITY FREEZE LOCK) filtered out
> [ 3.369764] ata3.00: ACPI cmd b1/c1:00:00:00:00:00 (DEVICE CONFIGURATION OVERLAY) filtered out
> [ 3.370737] ata3.00: ATA-10: LK1600GEYMV, 4IWTHPG2, max UDMA/100
> [ 3.371134] ata3.00: 0 sectors, multi 1: LBA NCQ (depth 31/32), AA
> [ 3.372701] ata3.00: ACPI cmd ef/10:06:00:00:00:00 (SET FEATURES) succeeded
> [ 3.372702] ata3.00: ACPI cmd f5/00:00:00:00:00:00 (SECURITY FREEZE LOCK) filtered out
> [ 3.373118] ata3.00: ACPI cmd b1/c1:00:00:00:00:00 (DEVICE CONFIGURATION OVERLAY) filtered out
> [ 3.373964] ata3.00: configured for UDMA/100
> [ 3.374574] scsi 2:0:0:0: Direct-Access ATA LK1600GEYMV HPG2 PQ: 0 ANSI: 5
> [ 3.375377] sd 2:0:0:0: Attached scsi generic sg0 type 0
> [ 3.375553] sd 2:0:0:0: [sda] 0 512-byte logical blocks: (0 B/0 B)
> [ 3.375554] sd 2:0:0:0: [sda] 4096-byte physical blocks
> [ 3.375622] sd 2:0:0:0: [sda] Write Protect is off
> [ 3.375623] sd 2:0:0:0: [sda] Mode Sense: 00 3a 00 00
> [ 3.375686] sd 2:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
> [ 3.376432] sd 2:0:0:0: [sda] Attached SCSI disk

我对 linux 不是很在行, 第一次遇到这样的情况.
2019-03-02 19:45:18 +08:00
回复了 aLazarus 创建的主题 MacBook Pro 没错,又是我,又是 mbp2018 键盘卡住了
thinkpad x1c, 装个 linux, 每年清灰换硅脂, 七年了, 一点问题都没有, 键盘也很好用.
从我个人感觉来说, thinkpad 的 tpx 系列还是坚固耐用, E 系列不能用(第二台笔记本).
苹果笔记本颜值高但是硬件溢价太高了.
2018-01-07 17:46:49 +08:00
回复了 v2gg 创建的主题 全球工单系统 *.gitbooks.io(包括 gitbooks.io) gitbook.com 疑似 Down
应该是 www.gitbook.com 吧?我的能打开的。
具体的书是 user_name.gitbooks.io/book_name/content/
@neetrorschach 恩,我的 vultr 东京也不行了,目前使用 d-o 的新加坡
大佬,你好,我是菜鸟。我按照你的教程一步步设置,udp2raw 有时候能脸上,有时候又会断掉。同样的,tinyvpn 也会出现 [FATAL]***exited 的情况。我是长城宽带,会不会和运营商有关系啊。 我试过成功 ssh 到 10.22.22.1 上,udp2raw 也成功握手,给出 id,但这两个都会隔一段时间自己断开了。
1  2  
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   5632 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 30ms · UTC 06:53 · PVG 14:53 · LAX 22:53 · JFK 01:53
Developed with CodeLauncher
♥ Do have faith in what you're doing.