* Re: Slow network transfers and problems with Mylex controller
2003-07-16 10:28 Slow network transfers and problems with Mylex controller Simon Jensen
@ 2003-07-17 11:56 ` Steven N. Hirsch
0 siblings, 0 replies; 2+ messages in thread
From: Steven N. Hirsch @ 2003-07-17 11:56 UTC (permalink / raw)
[-- Attachment #1: Type: text/plain, Size: 1260 bytes --]
Simon Jensen wrote:
> I had problems getting my Mylex DAC960 (PD I think) to work under RedHat
> 7.1... So i dropped getting it to work, and installed the drives on another
> scsi controller without RAID capabilities.
> Is there any easy way to get this controller to work. I would prefer to have
> "/" on a RAID partition to increase performance.
Was the error along the lines of a panic when root could not be mounted?
If so, you've been bit by the fact that the kernel needs help mapping
a logical device name (e.g. /dev/sdaX) to the physical device major +
minor number. I opened a Bugzilla issue with RedHat about this last
year. Not sure if the underlying issue was ever fixed, but the
workaround is to specify the root device in the form XXYY, where 'XX' is
the major device number and 'YY' the minor - both in hexadecimal format.
Example: If your root is intended to be on /rd/c0d0p3, you would specify
root=3003 to Grub (or, more likely, lilo). In lilo, I think this needs
to look like append="root=3003", but it's been a while and I'm fuzzy on
the syntax.
See RH Bugzilla Issue #65207 for the entire thread. Alternately, you
can patch the kernel such that init recognizes the Mylex device files
directly (see attached).
Steve
[-- Attachment #2: dac960_mount.diff --]
[-- Type: text/plain, Size: 813 bytes --]
--- linux-2.4.19-pre8-ac4/init/do_mounts.c.orig Thu May 16 18:55:12 2002
+++ linux-2.4.19-pre8-ac4/init/do_mounts.c Wed May 22 18:29:24 2002
@@ -150,6 +150,24 @@
{ "pdd", 0x2d30 },
{ "pcd", 0x2e00 },
{ "pf", 0x2f00 },
+#if defined(CONFIG_BLK_DEV_DAC960) || defined(CONFIG_BLK_DEV_DAC960_MODULE)
+ { "rd/c0d0p",0x3000 },
+ { "rd/c0d1p",0x3008 },
+ { "rd/c0d2p",0x3010 },
+ { "rd/c0d3p",0x3018 },
+ { "rd/c0d4p",0x3020 },
+ { "rd/c0d5p",0x3028 },
+ { "rd/c0d6p",0x3030 },
+ { "rd/c0d7p",0x3038 },
+ { "rd/c0d8p",0x3040 },
+ { "rd/c0d9p",0x3048 },
+ { "rd/c0d10p",0x3050 },
+ { "rd/c0d11p",0x3058 },
+ { "rd/c0d12p",0x3060 },
+ { "rd/c0d13p",0x3068 },
+ { "rd/c0d14p",0x3070 },
+ { "rd/c0d15p",0x3078 },
+#endif
{ "apblock", APBLOCK_MAJOR << 8},
{ "ddv", DDV_MAJOR << 8},
{ "jsfd", JSFD_MAJOR << 8},
^ permalink raw reply [flat|nested] 2+ messages in thread