Bug 215568 - [cam] 'camcontrol rescan all' broken: CAMIOCOMMAND ioctl failed: Invalid argument
Summary: [cam] 'camcontrol rescan all' broken: CAMIOCOMMAND ioctl failed: Invalid argu...
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 11.0-RELEASE
Hardware: Any Any
: --- Affects Many People
Assignee: freebsd-bugs (Nobody)
Keywords: regression
Depends on:
Reported: 2016-12-26 07:35 UTC by emz
Modified: 2016-12-27 09:50 UTC (History)
2 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description emz 2016-12-26 07:35:02 UTC
camcontrol rescan all is broken, cannot rescan the buses, 100% reproducible since 11.0-RELEASE (from initial release to p5). Was working on 10.3-STABLE.

# 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     emz@bsdrookie.norma.com.:/usr/obj/usr/src/sys/BSDROOKIE  amd64
# camcontrol rescan all
camcontrol: CAMIOCOMMAND ioctl failed: Invalid argument

Kernel and userland are in sync:

# uname -K 
# uname -U 

It's reproducible even on 11.0-RELEASE Live CD, on different machines.
Comment 1 Andrey V. Elsukov freebsd_committer 2016-12-27 09:50:11 UTC
It seems the problem was fixed in r309943. Is it suitable to make an errata with this change?