mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Nicklas Bondesson" <nikomail@hotmail.com>
To: "'Walt H'" <waltabbyh@comcast.net>,
	"'Andre Hedrick'" <andre@linux-ide.org>
Cc: <linux-kernel@vger.kernel.org>
Subject: RE: Error mounting root fs on 72:01 using Promise FastTrak TX2000 (PDC20271)
Date: Tue, 23 Dec 2003 15:42:57 +0100	[thread overview]
Message-ID: <BAY8-DAV5Jher0wLmgf00011713@hotmail.com> (raw)
In-Reply-To: <3FE7BAC4.2040901@comcast.net>

[-- Attachment #1: Type: text/plain, Size: 1631 bytes --]

I just realised that I need to have the kernel patched with Walt's pdcraid
patch in order to get it to work. Conclusion: disable all Power Management
options and patch the kernel with Walt's pdcraid patch (attached). That will
do it. I think that Walt's patch should be included in the official kernel.

/Nicke 

-----Original Message-----
From: linux-kernel-owner@vger.kernel.org
[mailto:linux-kernel-owner@vger.kernel.org] On Behalf Of Walt H
Sent: den 23 december 2003 04:47
To: Nicklas Bondesson
Cc: linux-kernel@vger.kernel.org
Subject: Re: Error mounting root fs on 72:01 using Promise FastTrak TX2000
(PDC20271)

Nicklas Bondesson wrote:
> The patch did not work for me, in fact there was no change at all 
> (anything affected to me). The Promise ataraid driver never gets loaded.
> 
> /Nicke

Not sure what else to try. I see that you've already posted to the ata-raid
list, so I'd hope that somebody else would reply from there. The pdcraid
driver has not received much attention lately, so it may very well be broken
for your configuration. Promise has released a binary/source combo driver
similar to Nvidia's that will still work in 2.4 - you might give that a try.
I have a
PDC20276 based onboard raid setup, however, I use 2.6 with device mapper to
use it. It's a bit of a pain to setup ATM - especially if you want to boot
from it, but it can be done. Good luck,

-Walt


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

[-- Attachment #2: pdcraid.patch --]
[-- Type: application/octet-stream, Size: 628 bytes --]

--- /usr/src/temp/linux-2.4.21-xfs/linux/drivers/ide/raid/pdcraid.c	2003-12-22 17:59:09.653139067 -0800
+++ linux/drivers/ide/raid/pdcraid.c	2003-07-21 20:47:14.000000000 -0700
@@ -361,7 +361,11 @@
 	if (ideinfo->sect==0)
 		return 0;
-	lba = (ideinfo->capacity / (ideinfo->head*ideinfo->sect));
-	lba = lba * (ideinfo->head*ideinfo->sect);
-	lba = lba - ideinfo->sect;
+	if (ideinfo->head!=255) {
+		lba = (ideinfo->capacity / (ideinfo->head*ideinfo->sect));
+		lba = lba * (ideinfo->head*ideinfo->sect);
+		lba = lba - ideinfo->sect; }
+	else {
+		lba = ideinfo->capacity - ideinfo->sect;
+	}
 
 	return lba;

  parent reply	other threads:[~2003-12-23 14:43 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-20 19:44 Walt H
2003-12-20 23:54 ` Nicklas Bondesson
2003-12-21  1:01   ` Walt H
2003-12-21 14:54     ` Nicklas Bondesson
2003-12-21 16:32       ` Walt H
2003-12-21 17:21         ` Nicklas Bondesson
2003-12-22  0:05         ` Nicklas Bondesson
2003-12-22  1:35           ` Walt H
2003-12-22 13:38             ` Nicklas Bondesson
2003-12-22 15:05               ` Walt H
2003-12-22 15:31                 ` Nicklas Bondesson
2003-12-22 23:22             ` Nicklas Bondesson
2003-12-23  0:59             ` Nicklas Bondesson
2003-12-23  2:07               ` Walt H
2003-12-23  3:18                 ` Nicklas Bondesson
2003-12-23  3:47                   ` Walt H
2003-12-23 13:41                     ` Nicklas Bondesson
2003-12-23 13:56                     ` Nicklas Bondesson
2003-12-23 15:05                       ` Walt H
2003-12-23 16:10                         ` Nicklas Bondesson
2003-12-24  0:54                           ` Walt H
2003-12-23 14:42                     ` Nicklas Bondesson [this message]
  -- strict thread matches above, loose matches on Subject: below --
2003-12-28 16:26 Nicklas Bondesson
2003-12-28 16:56 ` Marcelo Tosatti
2003-12-28 17:06   ` Nicklas Bondesson
2003-12-20 13:33 Nicklas Bondesson

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=BAY8-DAV5Jher0wLmgf00011713@hotmail.com \
    --to=nikomail@hotmail.com \
    --cc=andre@linux-ide.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=waltabbyh@comcast.net \
    /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

all inboxes | Powered by JetHome®