Hi.

On 22.12.2016 11:51, Eugene M. Zheganin wrote:
Hi,

could anyone tell me where am I wrong:

# camcontrol rescan all
camcontrol: CAMIOCOMMAND ioctl failed: Invalid argument
# uname -U
1100122
# uname -K
1100122
# uname -a
FreeBSD bsdrookie.norma.com. 11.0-RELEASE-p5 FreeBSD 11.0-RELEASE-p5 #0
r310364: Wed Dec 21 19:03:58 YEKT 2016
e...@bsdrookie.norma.com.:/usr/obj/usr/src/sys/BSDROOKIE  amd64

Furthermore, there's definitely something wrong on my machine, because smartctl complains too:

# smartctl -a /dev/ada1
smartctl 6.4 2015-06-04 r4109 [FreeBSD 11.0-RELEASE-p5 amd64] (local build)
Copyright (C) 2002-15, Bruce Allen, Christian Franke, www.smartmontools.org

error sending CAMIOCOMMAND ioctl: Inappropriate ioctl for device

# smartctl -a /dev/ada0
smartctl 6.4 2015-06-04 r4109 [FreeBSD 11.0-RELEASE-p5 amd64] (local build)
Copyright (C) 2002-15, Bruce Allen, Christian Franke, www.smartmontools.org

error sending CAMIOCOMMAND ioctl: Inappropriate ioctl for device
Unable to get CAM device list
/dev/ada0: Unable to detect device type
Please specify device type with the -d option.

Use smartctl -h to get a usage summary

ktrace part, if it will help:

[...]
  4291 smartctl NAMI  "/dev/xpt0"
  4291 smartctl RET   openat 3
  4291 smartctl CALL  ioctl(0x3,0xc4d81802,0x7fffffffa978)
  4291 smartctl RET   ioctl -1 errno 25 Inappropriate ioctl for device

Does anyone have an idea on how to fix things back to normal ?

Thanks.
_______________________________________________
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"

Reply via email to