Bug 215568

Summary: [cam] 'camcontrol rescan all' broken: CAMIOCOMMAND ioctl failed: Invalid argument
Product: Base System Reporter: emz
Component: kernAssignee: freebsd-bugs mailing list <bugs>
Status: New ---    
Severity: Affects Many People CC: ae, glebius
Priority: --- Keywords: regression
Version: 11.0-RELEASE   
Hardware: Any   
OS: Any   

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?