Recently, Somebody Somewhere wrote these words
> > Where does the thing hide out? /dev/??? What kernel options are
> > missing?
> > Kernel, btw is 2.6.12.1
> >
> > Here's the SCSI stuff (anything ommitted is unset)
[SNIP] 

>  I think your problem is there - CONFIG_SCSI_DISK is needed.  I had
>  this problem yesterday (kernel saw the camera in sys.log, but when I
>  tried to mount it /dev/sda1 wasn't a valid block device).  I'm
>  assuming this is a camera you can just mount as a vfat filesystem.

I can just mount it in another OS anyhow, before that crashes.

> 
>  At some point, usb-storage stopped depending on scsi_disk, although
>  the help says you may need to select scsi_disk.  Perhaps as a
>  consequence, an old .config run through 'make oldconfig' may not have
>  scsi_disk enabled.
> 
I don't agree because I don't have that option in 2.6.12.1. Here's the
full output of 'grep SCSI .config' and I did suffer through the full
config because I have no confidence in 'make oldconfig' after the last
time I used it.

CONFIG_BLK_DEV_IDESCSI=m
# SCSI device support
CONFIG_SCSI=m
CONFIG_SCSI_PROC_FS=y
# SCSI support type (disk, tape, CD-ROM)
# Some SCSI devices (e.g. CD jukebox) support multiple LUNs
# CONFIG_SCSI_MULTI_LUN is not set
# CONFIG_SCSI_CONSTANTS is not set
# CONFIG_SCSI_LOGGING is not set
# SCSI Transport Attributes
# CONFIG_SCSI_SPI_ATTRS is not set
# CONFIG_SCSI_FC_ATTRS is not set
# CONFIG_SCSI_ISCSI_ATTRS is not set
# SCSI low-level drivers
# CONFIG_SCSI_3W_9XXX is not set
# CONFIG_SCSI_ACARD is not set
# CONFIG_SCSI_AACRAID is not set
# CONFIG_SCSI_AIC7XXX is not set
# CONFIG_SCSI_AIC7XXX_OLD is not set
# CONFIG_SCSI_AIC79XX is not set
# CONFIG_SCSI_DPT_I2O is not set
# CONFIG_SCSI_ADVANSYS is not set
# CONFIG_SCSI_SATA is not set
# CONFIG_SCSI_BUSLOGIC is not set
# CONFIG_SCSI_CPQFCTS is not set
# CONFIG_SCSI_DMX3191D is not set
# CONFIG_SCSI_EATA is not set
# CONFIG_SCSI_EATA_PIO is not set
# CONFIG_SCSI_FUTURE_DOMAIN is not set
# CONFIG_SCSI_GDTH is not set
# CONFIG_SCSI_IPS is not set
# CONFIG_SCSI_INITIO is not set
# CONFIG_SCSI_INIA100 is not set
# CONFIG_SCSI_PPA is not set
# CONFIG_SCSI_IMM is not set
# CONFIG_SCSI_SYM53C8XX_2 is not set
# CONFIG_SCSI_IPR is not set
# CONFIG_SCSI_PCI2000 is not set
# CONFIG_SCSI_PCI2220I is not set
# CONFIG_SCSI_QLOGIC_ISP is not set
# CONFIG_SCSI_QLOGIC_FC is not set
# CONFIG_SCSI_QLOGIC_1280 is not set
CONFIG_SCSI_QLA2XXX=m
# CONFIG_SCSI_QLA21XX is not set
# CONFIG_SCSI_QLA22XX is not set
# CONFIG_SCSI_QLA2300 is not set
# CONFIG_SCSI_QLA2322 is not set
# CONFIG_SCSI_QLA6312 is not set
# CONFIG_SCSI_LPFC is not set
# CONFIG_SCSI_DC395x is not set
# CONFIG_SCSI_DC390T is not set
# CONFIG_SCSI_NSP32 is not set
# CONFIG_SCSI_DEBUG is not set
# NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support' may also be
# needed; see USB_STORAGE Help for more information

Going to the kernel help, I found the help on scsi disk support, and it
now appears to be BLK_DEV_SD, which, byu some lucky chance, I did have
compiled into the kernel as a module. Jammy side up twice in a row!
The 2 extra options Craig suggested were
CONFIG_BLK_DEV_SD=y
CONFIG_CHR_DEV_SG=y

I think I have them both as "m", but they are in there. SCSI is the
exception, not the rule here. The relevant part of the help on
USB_STORAGE states

s option Selects (turns on, enables) SCSI, but you 
probably also need SCSI device support; SCSI disk support
(BLK_DEV_SD) for most usb storage devices.

I really feel the next thing to be fixed is hotplug, as udev seems to
come and go correctly, but there is a noticeable lack of hotplug (See
the other thread).

--

        With Best Regards,


        Declan Moriarty.
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to