From: Peter Leipold <ple@upcmail.hu>
To: linux-hotplug@vger.kernel.org
Subject: Re: udev doesn't detect ddf-format raid array
Date: Fri, 03 Oct 2008 07:59:07 +0000 [thread overview]
Message-ID: <200810030959.07743.ple@upcmail.hu> (raw)
In-Reply-To: <200810022309.49346.ple@upcmail.hu>
[-- Attachment #1: Type: text/plain, Size: 1615 bytes --]
On Friday 03 October 2008 00.47.23 Kay Sievers wrote:
> Likely, that volume_id needs a fix. I never really tested with a real
> ddf volume.
>
> What udev version are you running?
0.125-7
But I downloaded 0.129 yesterday and compiled it (I cannot install it
system-wide, as I'm not that expert to know what stuff needs to be copied
where, and I don't want to break this system). I tried to run udevadm and
vol_id from the place of the compilation, the former didn't work, the latter
gave the same result as in the 0.125 version:
# ./udev-129/udev/udevadm info --query=all --name=sda
device node not found
# ./udev-129/extras/volume_id/vol_id /dev/sda2
ID_FS_USAGE=filesystem
ID_FS_TYPE=ext3
ID_FS_VERSION=1.0
ID_FS_UUID=db631065-7ca8-45fc-bf60-a9259a732dec
ID_FS_UUID_ENC=db631065-7ca8-45fc-bf60-a9259a732dec
ID_FS_LABEL=
ID_FS_LABEL_ENC=
ID_FS_LABEL_SAFE=
> Is this an Adaptec controller?
Yes, it's their simplest 2-port card, model name 1220SA I think. It has a
Silicon Image chip on it, the kernel use the sata_sil24 driver to reach the
drives.
> Can you send me a copy of the sectors containing the ddf header? Along
> with the exact dd commandline you used to extract it, so can copy it
> to a drive and test it.
Attached. I hope I did the right thing. I got the offset and size with
dmraid's help (dumping raid metadata). So these dd commands resulted the same
files as dmraid -rD:
dd if=/dev/sda of=sda_ddf1.dat bs=1 count=6144 skip=200048559616
dd if=/dev/sdb of=sdb_ddf1.dat bs=1 count=6144 skip=200049641472
(As I wrote, because one disk has a HPA, the offsets do differ.)
Thanks,
Peter
[-- Attachment #2: sda_ddf1.dat --]
[-- Type: application/octet-stream, Size: 6144 bytes --]
[-- Attachment #3: sdb_ddf1.dat --]
[-- Type: application/octet-stream, Size: 6144 bytes --]
next prev parent reply other threads:[~2008-10-03 7:59 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-02 21:09 udev doesn't detect ddf-format raid array Peter
2008-10-02 22:47 ` Kay Sievers
2008-10-03 7:59 ` Peter Leipold [this message]
2008-10-03 8:17 ` Kay Sievers
2008-10-03 8:59 ` Peter Leipold
2008-10-03 13:33 ` Kay Sievers
2008-10-03 16:53 ` Peter Leipold
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=200810030959.07743.ple@upcmail.hu \
--to=ple@upcmail.hu \
--cc=linux-hotplug@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;
as well as URLs for NNTP newsgroup(s).