Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 190516

Summary: sys-apps/rescan-scsi-bus doesn't work without legacy /proc/scsi with recent kernels
Product: Gentoo Linux Reporter: Christian Korff <christian.korff>
Component: Current packagesAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Christian Korff 2007-08-28 13:14:01 UTC
sys-apps/rescan-scsi-bus doesn't work with the obsolete /proc/scsi

# rescan-scsi-bus.sh 
Error: SCSI subsystem not active

A workaround is to turn CONFIG_SCSI_PROC_FS on. I ran into this since the new sys-apps/sg3_utils/sg3_utils-1.24 requires rescan-scsi-bus.
I took a short look at the script. It's hardcoded to check if /proc/scsi is a directory. It looks like it has support for sysfs but still rely on at least this point on /proc/scsi.

So, I beliefe at least we should do a warning in the ebuild. But maybe someone has the time and intrest to really fix this.
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2008-01-15 09:11:00 UTC
fixed in cvs.