* 2.4.20 scsi problem
@ 2002-12-02 6:58 Eric GAUDET
2002-12-02 22:15 ` Alan Cox
0 siblings, 1 reply; 4+ messages in thread
From: Eric GAUDET @ 2002-12-02 6:58 UTC (permalink / raw)
To: groudier, axboe; +Cc: linux-scsi
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=us-ascii, Size: 2999 bytes --]
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=y
CONFIG_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=4
CONFIG_CHR_DEV_SG=m
#
# Some SCSI devices (e.g. CD jukebox) support multiple LUNs
#
CONFIG_SCSI_DEBUG_QUEUES=y
CONFIG_SCSI_MULTI_LUN=y
CONFIG_SCSI_CONSTANTS=y
CONFIG_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 <eric@rti-zone.org>
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 majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: 2.4.20 scsi problem
2002-12-02 6:58 Eric GAUDET
@ 2002-12-02 22:15 ` Alan Cox
2002-12-03 7:27 ` Eric GAUDET
0 siblings, 1 reply; 4+ messages in thread
From: Alan Cox @ 2002-12-02 22:15 UTC (permalink / raw)
To: Eric GAUDET; +Cc: groudier, axboe, linux-scsi
On Mon, 2002-12-02 at 06:58, Eric GAUDET wrote:
> # SCSI low-level drivers
> #
> (none set)
That sounds like your problem to me
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: 2.4.20 scsi problem
2002-12-02 22:15 ` Alan Cox
@ 2002-12-03 7:27 ` Eric GAUDET
0 siblings, 0 replies; 4+ messages in thread
From: Eric GAUDET @ 2002-12-03 7:27 UTC (permalink / raw)
To: Alan Cox; +Cc: groudier, axboe, linux-scsi
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=us-ascii, Size: 1833 bytes --]
-- En reponse de "Re: 2.4.20 scsi problem" de Alan Cox, le 02-Dec-2002 :
> On Mon, 2002-12-02 at 06:58, Eric GAUDET wrote:
>> # SCSI low-level drivers
>> #
>> (none set)
>
> That sounds like your problem to me
Unfortuately, as I said in my earlier message:
>> 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 <eric@rti-zone.org>
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 majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: 2.4.20 scsi problem
@ 2002-12-03 12:22 Nicholas Berry
0 siblings, 0 replies; 4+ messages in thread
From: Nicholas Berry @ 2002-12-03 12:22 UTC (permalink / raw)
To: alan, eric; +Cc: groudier, axboe, linux-scsi
Hi.
Do you have an entry like:
alias block-major-8 sd_mod
in /etc/modules.conf?
Nik
> >>> Eric GAUDET <eric@rti-zone.org> 12/03/02 02:27AM >>>
> -- En reponse de "Re: 2.4.20 scsi problem" de Alan Cox, le 02-Dec-2002 :
> > On Mon, 2002-12-02 at 06:58, Eric GAUDET wrote:
> >> # SCSI low-level drivers
> >> #
> >> (none set)
> >
> > That sounds like your problem to me
>
> Unfortuately, as I said in my earlier message:
> >> 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)
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2002-12-03 12:22 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-12-03 12:22 2.4.20 scsi problem Nicholas Berry
-- strict thread matches above, loose matches on Subject: below --
2002-12-02 6:58 Eric GAUDET
2002-12-02 22:15 ` Alan Cox
2002-12-03 7:27 ` Eric GAUDET
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox