From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII X-Google-Thread: 111c93,93a83b29c35088f0 X-Google-Attributes: gid111c93,public X-Google-ArrivalTime: 2003-04-30 15:20:03 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!shelby.stanford.edu!not-for-mail From: Richard Mortimer Humphrey Newsgroups: comp.os.linux.alpha Subject: Re: ATA-133 interface on a 164LX ? Works great, but not with TWO! Date: Wed, 30 Apr 2003 15:12:45 -0700 Message-ID: <3EB04A5D.3060908@ccrma.stanf0rd.edu> References: <3EAF3685.6060606@ccrma.stanf0rd.edu> NNTP-Posting-Host: cmn22.stanford.edu Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Trace: news.Stanford.EDU 1051740766 7773 171.64.197.171 (30 Apr 2003 22:12:46 GMT) X-Complaints-To: news@news.stanford.edu User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20021003 X-Accept-Language: en-us, en Xref: archiver1.google.com comp.os.linux.alpha:7585 Actually I solved it! That's a very good point but it turns out one ribbon equals one interface. In the kernel source in ide-pci.c it uses the constant MAX_HWIFS which I assumed(!) was 10. I put in a printk and it's 4! I knew this was defined in a .h somewhere but where? I got frustrated and went into include/ in the kernel source three and did a brute-force search of different wildcard depths till I got: grep MAX_HWIFS */* | grep -i define Here is what I got! Pretty logical place for it, really! asm-alpha/ide.h:#define MAX_HWIFS 4 asm-arm/ide.h:#define MAX_HWIFS 4 asm-cris/ide.h:#define MAX_HWIFS 4 asm-i386/ide.h:#define MAX_HWIFS 10 asm-i386/ide.h:#define MAX_HWIFS 6 asm-ia64/ide.h:#define MAX_HWIFS 10 asm-ia64/ide.h:#define MAX_HWIFS 6 asm-m68k/ide.h:#define MAX_HWIFS 4 /* same as the other archs */ asm-mips64/ide.h:#define MAX_HWIFS 10 asm-mips64/ide.h:#define MAX_HWIFS 6 asm-mips/ide.h:#define MAX_HWIFS 10 asm-mips/ide.h:#define MAX_HWIFS 6 asm-parisc/ide.h:#define MAX_HWIFS 2 asm-ppc64/ide.h:#define MAX_HWIFS 4 asm-ppc/ide.h:#define MAX_HWIFS 8 asm-s390/ide.h:#define MAX_HWIFS 0 asm-s390x/ide.h:#define MAX_HWIFS 0 asm-sh/ide.h:#define MAX_HWIFS 2 asm-sparc64/ide.h:#define MAX_HWIFS 2 asm-sparc/ide.h:#define MAX_HWIFS 2 asm-x86_64/ide.h:#define MAX_HWIFS 10 asm-x86_64/ide.h:#define MAX_HWIFS 6 Who knows why they did that, I guess they didn't expect autoprobed interfaces on alpha. I changed it to a 6 and recompiled. Six drives on six different ribbons, everything works!! Yay! I have no idea how high you can actually go. No intention of finding out either! Now I have to do some testing to make sure this is reliable and stable, but so far it looks pretty good and the speed of this box is pretty respectable for a six year old machine! So far, it does what I want. I'll just back things up as best I can until I completely trust it. It's all my data.... Now I can get some sleep.... Thanks, =Rich _____________________________________________________________________ Richard Mortimer Humphrey CCRMA M�ns Rullg�rd wrote: > Richard Mortimer Humphrey writes: > > >>I've got that working but I have a new problem. >> >>I have a Promise ATA133 ( pdc20269 ) controller in my machine, a >>PC164LX 533, running Redhat 7.2 on 2.4.20. You could put the system on >>the ATA-133 but to boot, you need a drive on the primary with a kernel >>on it. >> >> >>My problem is that I want to use TWO pdc20269 cards. They are >>recognized just fine and appear to function but the kernel won't >>support more than four ide interfaces for some reason, it says 'too >>many ide interfaces, no room in table' which is just wierd because it >>should support up to ten. > > > Have you checked the configuration option for this? Two onboard and > four addin channels make a total of 12 interfaces. >