2002-12-07 02:19:46

by Milan Roubal

[permalink] [raw]
Subject: IDE feature request

Hi to you,
I tryed to find patch for kernel that allows more than
10 ide devices instaled on system with no luck.
I tryed to patch the kernel by myself, so it works,
but the patch is only change magic number 10 to 12.
I have got this:
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
ide2 at 0x3020-0x3027,0x3016 on irq 11
ide3 at 0x3018-0x301f,0x3012 on irq 11
ide4 at 0x5040-0x5047,0x5036 on irq 12
ide6 at 0x5058-0x505f,0x504e on irq 12
ide7 at 0x5050-0x5057,0x504a on irq 12
ide8 at 0x5070-0x5077,0x5066 on irq 12
ide9 at 0x5068-0x506f,0x5062 on irq 12
ide: at 0x6020-0x6027,0x6016 on irq 12
ide; at 0x6018-0x601f,0x6012 on irq 12
so ":" and ";" isn't ideal, hdparm dislikes
my devices hdx and so on. Now I would like to try
more than 20 ide devices in one computer and I would like
to hear about any system solution of this real problem
to me. If the number of IDE devices supported will be increased
to 32, I think it would be ideal to any time.
Is there any special reason why is there maximum 10 IDE devices?
Thanx for answer
Milan Roubal
[email protected]


2002-12-08 01:05:53

by Alan

[permalink] [raw]
Subject: Re: IDE feature request

On Sat, 2002-12-07 at 02:25, Milan Roubal wrote:
> I tryed to patch the kernel by myself, so it works,
> but the patch is only change magic number 10 to 12.
> I have got this:
> ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
> ide1 at 0x170-0x177,0x376 on irq 15
> ide2 at 0x3020-0x3027,0x3016 on irq 11
> ide3 at 0x3018-0x301f,0x3012 on irq 11
> ide4 at 0x5040-0x5047,0x5036 on irq 12
> ide6 at 0x5058-0x505f,0x504e on irq 12
> ide7 at 0x5050-0x5057,0x504a on irq 12
> ide8 at 0x5070-0x5077,0x5066 on irq 12
> ide9 at 0x5068-0x506f,0x5062 on irq 12
> ide: at 0x6020-0x6027,0x6016 on irq 12
> ide; at 0x6018-0x601f,0x6012 on irq 12
> so ":" and ";" isn't ideal, hdparm dislikes

Fix ide.c to generate a b c d e f and you should be able to get 16.


2002-12-08 23:41:59

by Petr Sebor

[permalink] [raw]
Subject: Re: IDE feature request

On Sun, Dec 08, 2002 at 01:09:34AM +0000, Alan Cox wrote:
> Fix ide.c to generate a b c d e f and you should be able to get 16.

Like this?

-Petr


Attachments:
(No filename) (147.00 B)
ide.diff (402.00 B)
Download all attachments

2002-12-09 15:08:21

by Alan

[permalink] [raw]
Subject: Re: IDE feature request

On Mon, 2002-12-09 at 14:21, Henning P. Schmiedehausen wrote:
> you will get the same problem again, once someone is able to cram more than
> 16 IDE hosts into a box. Why not go for ide%d (ide0-9, ide10-99)?
>
> If we go to idea - idef now, we will be stuck with that for ages.

Minimal change for 2.4 - you run out of minors anyway 8)

2002-12-09 14:25:45

by John Bradford

[permalink] [raw]
Subject: Re: IDE feature request

> > > Fix ide.c to generate a b c d e f and you should be able to get 16.
> > Like this?
> Hmm,
>
> you will get the same problem again, once someone is able to cram more than
> 16 IDE hosts into a box. Why not go for ide%d (ide0-9, ide10-99)?

The code that was posted did 0-9 then a-z, which is good for 36. That
*should* be enough for most applications for a few years.

John.

2002-12-09 14:20:45

by Alex Riesen

[permalink] [raw]
Subject: Re: IDE feature request

On Mon, Dec 09, 2002 at 02:21:17PM +0000, Henning P. Schmiedehausen wrote:
> >On Sun, Dec 08, 2002 at 01:09:34AM +0000, Alan Cox wrote:
> >> Fix ide.c to generate a b c d e f and you should be able to get 16.
> >Like this?
>
> you will get the same problem again, once someone is able to cram more than
> 16 IDE hosts into a box. Why not go for ide%d (ide0-9, ide10-99)?

"%x" ? 0 1 2 3 4 5 6 7 8 9 a b c d e f ... 10 11 .. hdeadbeef :)

> If we go to idea - idef now, we will be stuck with that for ages.

Subject: Re: IDE feature request

Petr Sebor <[email protected]> writes:


>--azLHFNyN32YCQGCU
>Content-Type: text/plain; charset=us-ascii
>Content-Disposition: inline

>On Sun, Dec 08, 2002 at 01:09:34AM +0000, Alan Cox wrote:
>> Fix ide.c to generate a b c d e f and you should be able to get 16.

>Like this?

Hmm,

you will get the same problem again, once someone is able to cram more than
16 IDE hosts into a box. Why not go for ide%d (ide0-9, ide10-99)?

If we go to idea - idef now, we will be stuck with that for ages.

Regards
Henning

--
Dipl.-Inf. (Univ.) Henning P. Schmiedehausen -- Geschaeftsfuehrer
INTERMETA - Gesellschaft fuer Mehrwertdienste mbH [email protected]

Am Schwabachgrund 22 Fon.: 09131 / 50654-0 [email protected]
D-91054 Buckenhof Fax.: 09131 / 50654-20