2.4.20 scsi problem
Dear sir,
I'm writing to you since you're in the linux kernel maintainers list as the SCSI and block device subsystem guys.
I'm not sure you guys are really maintainers anymore, so I take the risk of cc-ing the mailing list.
I just downloaded linux kernel 2.4.20 sources and compiled them to upgrade from 2.4.18.
I'm seeing a problem with the scsi subsystem: there is no block-major-8 device registered. I am using a laptop with scsi-pcmcia adapter, and usb-storage scsi emulation, but no low-level driver. I can use my usb cdrom drive (sr device used by usb-storage).
But, after inserting my pcmcia adapter or pluging in my usb-storage devive, I cannot mount the disk (/dev/sda1 in my case) as I used to with 2.4.18. The only error message is:
modprobe: modprobe: Can't locate module block-major-8
Here's the information I think is relevant to the problem. If you need more, please let me know.
My configuration file shows the following:
#
# SCSI support
#CONFIG_SCSI=y
#
# SCSI support type (disk, tape, CD-ROM)
#CONFIG_BLK_DEV_SD=yCONFIG_SD_EXTRA_DEVS=40
# CONFIG_CHR_DEV_ST is not set
# CONFIG_CHR_DEV_OSST is not set CONFIG_BLK_DEV_SR=y
# CONFIG_BLK_DEV_SR_VENDOR is not set CONFIG_SR_EXTRA_DEVS=4CONFIG_CHR_DEV_SG=m
#
# Some SCSI devices (e.g. CD jukebox) support multiple LUNs #CONFIG_SCSI_DEBUG_QUEUES=yCONFIG_SCSI_MULTI_LUN=yCONFIG_SCSI_CONSTANTS=yCONFIG_SCSI_LOGGING=y
#
# SCSI low-level drivers
#
(none set)
A cat /proc/devices gives me:
Block devices:
2 fd
3 ide0
7 loop
11 sr
43 nbd
A lsmod:
Module Size Used by Not tainted
sg 28796 0 (unused) usb-storage 22968 0
Dmesg gives:
...
SCSI subsystem driver Revision: 1.00
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2 Linux Kernel Card Services 3.1.22
options: [pci] [cardbus] [pm]
...
A cat /proc/scsi/scsi gives me;
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
Vendor: PHILIPS Model: PCRW406 Rev: I2,2
Type: CD-ROM ANSI SCSI revision: 02
When pluging my usb-storage hard drive, it´s recognized by usb-storage just fine and shows as scsi1.
Compiling sd as a module instead of in the kernel does not seem to change anything. Nor compiling with a scsi low-level driver. It seems that I need an actual scsi device at boot time in order to see block device 8 (not tested, I don´t have such a device)
Thanks,
------------------------------------------------------------------------
Eric GAUDET <[email protected]>
Le 01-Dec-2002 a 18:32:24
------------------------------------------------------------------------
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 3 lines · Eric GAUDET
# SCSI low-level drivers
#
(none set)
That sounds like your problem to me
-- En reponse de "Re: 2.4.20 scsi problem" de Alan Cox, le 02-Dec-2002 :
Quoted 6 lines · Eric GAUDET
Quoted 3 lines
# SCSI low-level drivers
#
(none set)That sounds like your problem to me
Unfortuately, as I said in my earlier message:
Quoted 4 lines
Quoted 4 lines
Compiling sd as a module instead of in the kernel does not seem to change anything. Nor compiling with a scsi low-level driver. It seems that I need an actual scsi device at boot time in order to see block device 8 (not tested, I don´t have such a device)
Just for kicks, I tried with:CONFIG_SCSI_AHA152X=y
but it does not seem to help.
The .config I used for 2.4.18 (the one that is working fine), and the one for 2.4.20 are exactly the same, I just loaded it with make oldconfig without changing a thing. I can send those two config files if it helps.
Anyway, just asking for scsi disk support should be enough to see block device 8 (and it used to work just fine) without needing a low-level driver at boot
time: I boot on my ide driver and plug my external scsi HD (really a usb HD using scsi subsystem) afterwards.
dmesg used to report:
SCSI subsystem driver Revision: 1.00 request_module[scsi_hostadapter]: Root fs not mounted
Now it says:
SCSI subsystem driver Revision: 1.00
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
Do this mean nobody else is seeing the problem?
Thanks,
------------------------------------------------------------------------
Eric GAUDET <[email protected]>
Le 02-Dec-2002 a 19:38:34
------------------------------------------------------------------------
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html