From: Sergey Vlasov <vsu@altlinux.ru>
To: Guido Diepen <guido@jcwodan.nl>
Cc: linux-ide@vger.kernel.org, linux-hotplug-devel@lists.sourceforge.net
Subject: Re: Again problems with PDC20268 and vol_id
Date: Fri, 09 Mar 2007 16:08:56 +0000 [thread overview]
Message-ID: <20070309190856.c86efd73.vsu@altlinux.ru> (raw)
In-Reply-To: <4964.131.211.80.61.1173446203.squirrel@hammerhead.dyndns.org>
[-- Attachment #1.1: Type: text/plain, Size: 2484 bytes --]
On Fri, 9 Mar 2007 14:16:43 +0100 (CET) Guido Diepen wrote:
> some time ago I mentioned on this mailing list that I had some problems
> with udev in combination with a promise PCI IDE controler (PDC20268
> chipset). As soon as I had udev enabled, one of the things that was done
> during device creation was a call to the vol_id program. Whenever vol_id
> was executed on one of the drives attached to this extra IDE controller,
> my system would freeze with the following snippet of errors:
>
> hdg: dma_intr: status=0x51 { DriveRead SeekComplete Error}
> hdg: dma_intr: error=0x10 {SectorIdNotFound }, LBAsect= ... (rest of this
> I could not see anymore on the foto I took of the screen)
However, that value is important - together with the kernel messages
printed during detection of drivers. Most likely the sector number is
out of range for your disk, and the disk replies to such access with
the SectorIdNotFound error.
Just provide the full dmesg output if you are unsure which lines are
relevant for the problem.
> ide: failed opcode was: unknown
>
> This error repeats a couple of times, then I get the message:
> hdg: DMA disabled
> PDC202XX: Secondary channel reset.
> ide3: reset: success
> hdg: task_in_intr: status=0x59 { DriveReady SeekComplete ...
> hdg: task_in_intr: error=0x10 {SectorIdNotFound }, LBAsect ...
>
> This particular harddrive is a 120 GB Maxtor 4G120J6 drive and is split
> into two equal size partitions of 58GB and this error only occurred when
> the vol_id was ran on the second partition (hdg2) and nothing happened
> when running it on the first partition.
Please provide also the "fdisk -l -u /dev/hdg" output.
Is the partition table correct? Maybe the partition extends beyond
the end of physical disk for some reason, and when the kernel tries to
access last blocks of the partition, it actually tries to read sectors
beyond the actual drive capacity, which fails and exposes broken error
handling in the Promise IDE driver.
I have added the linux-ide mailing list to Cc: - problems related to
IDE/ATA drivers (both old IDE, which you are using currently, and
newer libata) should be discussed there.
> I started looking more into the problem and found out that the vol_id
> program would only crash IF it was looking for raid. If I rain the vol_id
> program with the option --skip-raid, everything worked flawless.
With --skip-raid vol_id does not look for Linux software RAID
superblocks, which are located at the end of device.
[-- Attachment #1.2: Type: application/pgp-signature, Size: 189 bytes --]
[-- Attachment #2: Type: text/plain, Size: 345 bytes --]
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
[-- Attachment #3: Type: text/plain, Size: 226 bytes --]
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
next prev parent reply other threads:[~2007-03-09 16:08 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-09 13:16 Again problems with PDC20268 and vol_id Guido Diepen
2007-03-09 13:35 ` Kay Sievers
2007-03-09 16:08 ` Sergey Vlasov [this message]
2007-03-09 16:51 ` Guido Diepen
2007-03-09 17:24 ` Sergey Vlasov
2007-03-10 9:57 ` Guido Diepen
2007-03-10 15:52 ` Bartlomiej Zolnierkiewicz
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=20070309190856.c86efd73.vsu@altlinux.ru \
--to=vsu@altlinux.ru \
--cc=guido@jcwodan.nl \
--cc=linux-hotplug-devel@lists.sourceforge.net \
--cc=linux-ide@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).