Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 190516 - sys-apps/rescan-scsi-bus doesn't work without legacy /proc/scsi with recent kernels
Summary: sys-apps/rescan-scsi-bus doesn't work without legacy /proc/scsi with recent k...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal with 1 vote (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-28 13:14 UTC by Christian Korff
Modified: 2008-01-15 09:11 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.