tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: New "ahcisata0 port 1: device present" messages with NetBSD 9



mueller6725@ wrote:

> Would "sysctl hw.wd2.use_ncq=0" from the command line have the same effect?
> What about "sysctl -w hw.wd2.use_ncq=0" ?  What is the effect of "-w" here?

"man 8 sysctl" says
> -w	Sets the MIB style name given to the value given.
i.e. it just means "write a value".

Maybe some man page (wd(4)?) should mention what MID nob is provided?
I found it on reading src/sys/dev/ata/wd.c:wd_sysctl_attach():
 https://nxr.netbsd.org/xref/src/sys/dev/ata/wd.c?r=1.453#2184

> I have a similar problem getting "error reading fsbn ..." messages on a Western Digital Green hard drive,

The error could be caused by various reasons, including real errors.
I just confirmed by try and errors:
 - all power voltages were ok
 - replacing SATA cable didn't help
 - it only occured on 9.0_RC1 but not 8.1
 - disableing NCQ did show differences

> I do not get this problem with NetBSD 7.99.1 or with FreeBSD.

No idea here.

---
Izumi Tsutsui


Home | Main Index | Thread Index | Old Index