From: Sergey Vlasov <vsu@altlinux.ru>
To: linux-kernel@vger.kernel.org
Subject: Re: iswraid calling modprobe when scsi statically compiled?
Date: Thu, 15 Jan 2004 21:09:50 +0300 [thread overview]
Message-ID: <20040115210950.6f2a4e9e.vsu@altlinux.ru> (raw)
In-Reply-To: 200401151847570144.05F52854@192.168.128.16
On Thu, 15 Jan 2004 18:47:57 +0100 Carlos Velasco wrote:
> I'm trying to use Intel Software Raid provided patch in:
> http://marc.theaimsgroup.com/?l=linux-kernel&m=106972332715043&w=2
>
> However, it seems to be calling modprobe although SCSI support is
> statically configured in the kernel:
>
> modules.conf:
> alias block-major-8 sd_mod
>
> .config (kernel):
> CONFIG_SCSI=y
> CONFIG_BLK_DEV_SD=y
> CONFIG_SD_EXTRA_DEVS=40
>
> Booting:
>
> <6>iswraid: Intel(tm) Software RAID driver Version 0.0.6
> <3>kmod: failed to exec /sbin/modprobe -s -k block-major-8, errno = 2
> <-- ***
> <7>iswraid: No raid array found
> <6>SCSI subsystem driver Revision: 1.00
> <7>libdata version 0.81 loaded.
> <7>ata_piix version 0.95
> <7>PCI: Setting latency timer of device 00:1f.2 to 64
> <6>ata1: SATA max UDMA/133 cmd 0xC000 ctl 0xC402 bmdma 0xD000 irq 18
> <6>ata2: SATA max UDMA/133 cmd 0xC800 ctl 0xC402 bmdma 0xD000 irq 18
> <7>ata1: dev 0 cfg 49:2f00 82:7c69 83:7f09 84:4003 85:7c69 86:3e01
> 87:4003 88:407f
> <6>ata1: dev 0 ATA, max UDMA/133, 160086528 sectors (lba48)
> <6>ata1: dev 0 configured for UDMA/133
> <7>ata2: dev 0 cfg 49:2f00 82:7c69 83:7f09 84:4003 85:7c69 86:3e01
> 87:4003 88:407f
> <6>ata2: dev 0 ATA, max UDMA/133, 160086528 sectors (lba48)
> <6>ata2: dev 0 configured for UDMA/133
> <6>scsi0 : ata_piix
> <6>scsi1 : ata_piix
> ...
>
> It can't succed because I'm booting without modprobe at all (Intel RAID
> card is the only one controller).
> Any help would be apreciated.
The problem is in the initialization ordering. iswraid must initialize
after SCSI, but it is located in the IDE drivers directory, and
therefore is initialized before SCSI. So it won't work when built into
the kernel.
If you build iswraid as module and load it from initrd (after the SCSI
subsystem is initialized and raw drives are detected), it should work.
next prev parent reply other threads:[~2004-01-15 18:09 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-01-15 17:47 iswraid calling modprobe when scsi statically compiled? Carlos Velasco
2004-01-15 18:09 ` Sergey Vlasov [this message]
-- strict thread matches above, loose matches on Subject: below --
2004-01-15 19:05 Kannanthanam, Boji T
2004-01-19 21:49 Beratco Matei jr.
2004-01-20 10:30 ` Re[2]: " Carlos Velasco
2004-01-22 15:17 ` Beratco Matei jr.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040115210950.6f2a4e9e.vsu@altlinux.ru \
--to=vsu@altlinux.ru \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox