public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Art Boulatov <art@ksu.ru>
To: linux-kernel@vger.kernel.org
Subject: [SoftwareRAID in 2.4.1] md_import_device() returned -22
Date: Sun, 04 Feb 2001 03:08:53 +0300	[thread overview]
Message-ID: <3A7C9D95.6090501@ksu.ru> (raw)

Hi,

Could anybody please help me to resolve why this error is returned?
(md_import_device() returned -22)

I'm trying to setup software RAID0
on Asus CUR-DLS (dual channel ULTRA2 SCSI - sym53c896).

kernel is pure 2.4.1(SMP),
with devfs, sym53c8xx and raid0 support linked in.

raidtools are 19990824-0.90 from kernel.org.

Here is /etc/raidtab:
-----
raiddev         /dev/md/0

raid-level      0

persistent-superblock   1

chunk-size      16

nr-raid-disks   2

device  /dev/scsi/host0/bus0/target0/lun0/part1
raid-disk       0

device  /dev/scsi/host0/bus0/target1/lun0/part1
raid-disk       1

#same bus because I have only one cable right now :)

---------

And here is what I got with "mkraid /dev/md/0":
---------
handling MD device /dev/md/0
analyzing super-block
disk 0: /dev/scsi/host0/bus0/target0/lun0/part1, 17921008kB, raid 
superblock at 17920896kB
disk 1: /dev/scsi/host0/bus0/target1/lun0/part1, 17921008kB, raid 
superblock at 17920896kB
mkraid: aborted, see the syslog and /proc/mdstat for potential clues.
----------

And syslog says:
--------
modprobe: modprobe: Can't locate module block-major-8
kernel: md: could not lock scsi/host0/bus0/target0/lun0/part1, 
zero-size? Marking faulty.
kernel: md: error, md_import_device() returned -22
-----------

Is that "modprobe" line causing problem?
But I have compiled scsi driver in...

Or is that a devfs issue or am I doing anything wrong?

I would really be glad to get some pointers to the answer,
since I can't figure that out myself.

Thanks a lot,
Art.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

                 reply	other threads:[~2001-02-04  0:20 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=3A7C9D95.6090501@ksu.ru \
    --to=art@ksu.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