* Promise Ultra/66
@ 2000-05-16 17:32 Simon Piette
2000-05-16 20:39 ` Michel Lanners
0 siblings, 1 reply; 6+ messages in thread
From: Simon Piette @ 2000-05-16 17:32 UTC (permalink / raw)
To: linuxppc-dev
Hi,
I'm currently trying to get working a Promise Ultra/66 (BIOS v 1.14) on
a 2.2.12 kernel and/or a 2.2.15 kernel both from kernel.org, as Michael
Lanners used those. I would like to have it to work on a Umax J700/180
(the actual machine) and a StarMax 3200/240
For the former (2.2.12 kernel), I got the ide-2.2.12 patch form Andre
Hedrick (http://www.kernel.org/pub/linux/kernel/people/hedrick)
and applied the patch from Michael Lanners
(http://lists.linuxppc.org/listarcs/linuxppc-dev/199909/msg00146.html)
The patches applied without any hitch (no .rej). My config file got:
CONFIG_BLK_DEV_IDE=y
CONFIG_BLK_DEV_IDEDISK=y
CONFIG_BLK_DEV_IDECD=y
CONFIG_BLK_DEV_IDEPCI=y
CONFIG_BLK_DEV_IDEDMA=y
CONFIG_BLK_DEV_PDC202XX=y
CONFIG_BLK_DEV_IDE_PMAC=y
CONFIG_BLK_DEV_IDEDMA_PMAC=y
CONFIG_BLK_DEV_IDEDMA=y
CONFIG_BLK_DEV_LOOP=y
CONFIG_BLK_DEV_RAM=y
CONFIG_BLK_DEV_INITRD=y
CONFIG_BLK_DEV_IDE_MODES=y
CONFIG_BLK_DEV_SD=y
CONFIG_BLK_DEV_SR=y
And I can't built vmlinux:
make[1]: Entering directory `/mnt/biz/tmp/linux-2.2.12/arch/ppc/kernel'
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer -fno-strict-aliasing -D__powerpc__ -fsigned-char
-msoft-float -pipe -fno-builtin -ffixed-r2 -Wno-uninitialized -mmultiple
-mstring -c -o pmac_setup.o pmac_setup.c
In file included from pmac_setup.c:57:
/usr/src/linux/include/asm/ide.h:52: parse error before `*'
/usr/src/linux/include/asm/ide.h:55: warning: function declaration isn't
a prototype
pmac_setup.c:585: parse error before `*'
pmac_setup.c:585: warning: function declaration isn't a prototype
pmac_setup.c:593: redefinition of `ide_init_default_hwifs'
/usr/src/linux/include/asm/ide.h:98: `ide_init_default_hwifs' previously
defined here
make[1]: *** [pmac_setup.o] Error 1
make[1]: Leaving directory `/mnt/biz/tmp/linux-2.2.12/arch/ppc/kernel'
make: *** [_dir_arch/ppc/kernel] Error 2
I had to apply some patch from ML:
http://lists.linuxppc.org/listarcs/linuxppc-dev/199908/msg00096.html
then manually add:
--- pmac_setup.c.orig Mon May 15 19:39:53 2000
+++ pmac_setup.c Tue May 16 12:05:55 2000
@@ -41,6 +41,7 @@
#include <linux/blk.h>
#include <linux/vt_kern.h>
#include <linux/console.h>
+#include <linux/ide.h>
#include <linux/pci.h>
#include <asm/prom.h>
#include <asm/system.h>
And I got the same result than for 2.2.15...
For the latter (2.2.15), I took the ide.2.2.15.20000509.patch from A. Hedrick,
but I didn't applied Michael Lanners', since it looks as it's already
merged. Same .config, plus make oldconfig.
It build succesfully. I can boot with it (from a scsi drive). At boot,
it shows:
ide: Assuming 33MHz system bus speed for PIO modes; override with
idebus=xx
PDC20262: IDE controller on PCI bus 01 dev 00
PDC20262: device not capable of full native PCI mode
PDC20262: device disabled (BIOS)
BTW, I've tried with "idebus=66" as kernel args, but I'm not sure if my
mobo would support that.
For the record, here's the lspci -vvx output:
1:00.0 Unknown mass storage controller: Promise Technology, Inc.: Unknown device 4d38 (rev 01)
Subsystem: Unknown device 105a:4d33
Control: I/O- Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 32 set
Interrupt: pin A routed to IRQ 1
Region 0: I/O ports at 1070 [disabled]
Region 1: I/O ports at 1060 [disabled]
Region 2: I/O ports at 1050 [disabled]
Region 3: I/O ports at 1040 [disabled]
Region 4: I/O ports at 1000 [disabled]
Region 5: Memory at 80820000 (32-bit, non-prefetchable) [disabled]
Capabilities: [58] Power Management version 1
Flags: PMEClk- AuxPwr- DSI- D1- D2- PME-
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
00: 5a 10 38 4d 04 00 10 02 01 00 80 01 00 20 00 00
10: 71 10 00 00 61 10 00 00 51 10 00 00 41 10 00 00
20: 01 10 00 00 00 00 82 80 00 00 00 00 5a 10 33 4d
30: 00 00 80 80 58 00 00 00 00 00 00 00 0b 01 00 00
Do I have to setup the card BIOS on a PC before getting it to work?
Should I enable PCI_QUIRKS? Put the Promise Card in bus 0 instead?
Do I need addtionnal patches?
Comments, suggestions, kernel args?
Cheers,
Simon Piette
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Promise Ultra/66
2000-05-16 17:32 Promise Ultra/66 Simon Piette
@ 2000-05-16 20:39 ` Michel Lanners
2000-05-24 17:04 ` Simon Piette
0 siblings, 1 reply; 6+ messages in thread
From: Michel Lanners @ 2000-05-16 20:39 UTC (permalink / raw)
To: spiette; +Cc: linuxppc-dev
Hi there,
On 16 May, this message from Simon Piette echoed through cyberspace:
>
> Hi,
>
> I'm currently trying to get working a Promise Ultra/66 (BIOS v 1.14) on
> a 2.2.12 kernel and/or a 2.2.15 kernel both from kernel.org, as Michael
^^^^^^^
Make that Michel, but never mind ;-)
> Lanners used those. I would like to have it to work on a Umax J700/180
> (the actual machine) and a StarMax 3200/240
>
> For the former (2.2.12 kernel), I got the ide-2.2.12 patch form Andre
> Hedrick (http://www.kernel.org/pub/linux/kernel/people/hedrick)
> and applied the patch from Michael Lanners
> (http://lists.linuxppc.org/listarcs/linuxppc-dev/199909/msg00146.html)
Forget about these old patches. Go to my PCI page:
http://www.cpu.lu/~mlan/linux/dev/pci.html
and get yourself my latest patches for either 2.2.15 (kernel.org) or
2.3.99-pre7 (linuxcare.au) kernels. For 2.2.15, you need Andre's patches
in addition to mine. Apply his IDE patches first.
Have fun!
Michel
-------------------------------------------------------------------------
Michel Lanners | " Read Philosophy. Study Art.
23, Rue Paul Henkes | Ask Questions. Make Mistakes.
L-1710 Luxembourg |
email mlan@cpu.lu |
http://www.cpu.lu/~mlan | Learn Always. "
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Promise Ultra/66
2000-05-16 20:39 ` Michel Lanners
@ 2000-05-24 17:04 ` Simon Piette
2000-05-24 17:56 ` Michel Lanners
0 siblings, 1 reply; 6+ messages in thread
From: Simon Piette @ 2000-05-24 17:04 UTC (permalink / raw)
To: Michel Lanners; +Cc: linuxppc-dev
Hi,
* Michel Lanners (mlan@cpu.lu) [000516 16:51]:
> > For the former (2.2.12 kernel), I got the ide-2.2.12 patch form Andre
> > Hedrick (http://www.kernel.org/pub/linux/kernel/people/hedrick)
> > and applied the patch from Michel Lanners
> > (http://lists.linuxppc.org/listarcs/linuxppc-dev/199909/msg00146.html)
>
> Forget about these old patches. Go to my PCI page:
>
> http://www.cpu.lu/~mlan/linux/dev/pci.html
>
> and get yourself my latest patches for either 2.2.15 (kernel.org) or
> 2.3.99-pre7 (linuxcare.au) kernels. For 2.2.15, you need Andre's patches
> in addition to mine. Apply his IDE patches first.
Great! It's working without a hitch (but with a few kernel args!).
I have to say that I can't put my card in slot 3 or 4, but only in 1 or
2. Not an issue for me but you may want to know ...
Also, the Promise Card is the only one IDE controller on my Mac, but it
gets detected at ide2 and ide3. Not an isssue for me neither :-)
Thanks for your work! I'll post instructions on linuxppc-user ...
Cheers,
Simon
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Promise Ultra/66
2000-05-24 17:04 ` Simon Piette
@ 2000-05-24 17:56 ` Michel Lanners
2000-05-24 18:39 ` Simon Piette
0 siblings, 1 reply; 6+ messages in thread
From: Michel Lanners @ 2000-05-24 17:56 UTC (permalink / raw)
To: spiette; +Cc: linuxppc-dev
Hi Simon,
On 24 May, this message from Simon Piette echoed through cyberspace:
[about the promise/66 in a Mac]
>> Forget about these old patches. Go to my PCI page:
>>
>> http://www.cpu.lu/~mlan/linux/dev/pci.html
>>
>> and get yourself my latest patches for either 2.2.15 (kernel.org) or
>> 2.3.99-pre7 (linuxcare.au) kernels. For 2.2.15, you need Andre's patches
>> in addition to mine. Apply his IDE patches first.
To all those interested: there are new patches up for 2.2.15; I screwed
up with the older ones. Went back to an old version of my PCI patches.
Damn ;-)
> Great! It's working without a hitch (but with a few kernel args!).
Which ones are those? I need none; I could do with idebus=xx for bus
frequency; but the default is ok...
> I have to say that I can't put my card in slot 3 or 4, but only in 1 or
> 2. Not an issue for me but you may want to know ...
What was your machine again? There might be an issue either with bus
mastering (some brain-dead designs don't allow bus masters in all slots;
the Promise is a bus master) or with multiple PCI buses. In the first
case there's nothing you can do; in the second case I might have screwed
up my patches....
> Also, the Promise Card is the only one IDE controller on my Mac, but it
> gets detected at ide2 and ide3. Not an isssue for me neither :-)
CONFIG_BLK_DEV_OFFBOARD=y in your .config; the option is 'Boot off-board
chipsets first'. I guess reserving two IDE buses that are not actually
probed is braindamaged PC legacy ;-)
Be carefull when actually activating this, as your disks will change
devices, and your /etc/fstab will be out of sync!
> Thanks for your work! I'll post instructions on linuxppc-user ...
You're welcome ;-)
Michel
-------------------------------------------------------------------------
Michel Lanners | " Read Philosophy. Study Art.
23, Rue Paul Henkes | Ask Questions. Make Mistakes.
L-1710 Luxembourg |
email mlan@cpu.lu |
http://www.cpu.lu/~mlan | Learn Always. "
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Promise Ultra/66
2000-05-24 17:56 ` Michel Lanners
@ 2000-05-24 18:39 ` Simon Piette
2000-05-25 18:32 ` Michel Lanners
0 siblings, 1 reply; 6+ messages in thread
From: Simon Piette @ 2000-05-24 18:39 UTC (permalink / raw)
To: Michel Lanners; +Cc: linuxppc-dev
* Michel Lanners (mlan@cpu.lu) [000524 13:59]:
> Hi Simon,
>
> On 24 May, this message from Simon Piette echoed through cyberspace:
> [about the promise/66 in a Mac]
> >> Forget about these old patches. Go to my PCI page:
> >>
> >> http://www.cpu.lu/~mlan/linux/dev/pci.html
> >>
> >> and get yourself my latest patches for either 2.2.15 (kernel.org) or
> >> 2.3.99-pre7 (linuxcare.au) kernels. For 2.2.15, you need Andre's patches
> >> in addition to mine. Apply his IDE patches first.
>
> To all those interested: there are new patches up for 2.2.15; I screwed
> up with the older ones. Went back to an old version of my PCI patches.
> Damn ;-)
>
> > Great! It's working without a hitch (but with a few kernel args!).
>
> Which ones are those? I need none; I could do with idebus=xx for bus
> frequency; but the default is ok...
I use an IMS TwinTurbo card driver that I can't get to work in 2.2.15, so I'm
stuck with 2.2.12. I've had to add some hde=noautotune and
hde=4092,13,63 for an old Seagate ST32122A. None of those was needed
with 2.2.15.
>
> > I have to say that I can't put my card in slot 3 or 4, but only in 1 or
> > 2. Not an issue for me but you may want to know ...
>
> What was your machine again? There might be an issue either with bus
> mastering (some brain-dead designs don't allow bus masters in all slots;
> the Promise is a bus master) or with multiple PCI buses. In the first
> case there's nothing you can do; in the second case I might have screwed
> up my patches....
It's a Umax J700/180. lspci:
00:0b.0 Host bridge: Apple Computer Inc. Bandit PowerPC host bridge (rev 03)
00:0d.0 Unknown mass storage controller: Promise Technology, Inc.: Unknown device 4d38 (rev 01)
00:0e.0 Display controller: Integrated Micro Solutions Inc. IMS9129 (rev 01)
00:0f.0 PCI bridge: Digital Equipment Corporation DECchip 21052 (rev 01)
00:10.0 Class ff00: Apple Computer Inc. Grand Central I/O (rev 02)
>
> > Also, the Promise Card is the only one IDE controller on my Mac, but it
> > gets detected at ide2 and ide3. Not an isssue for me neither :-)
>
> CONFIG_BLK_DEV_OFFBOARD=y in your .config; the option is 'Boot off-board
> chipsets first'. I guess reserving two IDE buses that are not actually
> probed is braindamaged PC legacy ;-)
>
> Be carefull when actually activating this, as your disks will change
> devices, and your /etc/fstab will be out of sync!
OK. thanks.
Simon
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Promise Ultra/66
2000-05-24 18:39 ` Simon Piette
@ 2000-05-25 18:32 ` Michel Lanners
0 siblings, 0 replies; 6+ messages in thread
From: Michel Lanners @ 2000-05-25 18:32 UTC (permalink / raw)
To: spiette; +Cc: linuxppc-dev
Hi Simon,
On 24 May, this message from Simon Piette echoed through cyberspace:
>> > Great! It's working without a hitch (but with a few kernel args!).
>>
>> Which ones are those? I need none; I could do with idebus=xx for bus
>> frequency; but the default is ok...
>
> I use an IMS TwinTurbo card driver that I can't get to work in 2.2.15, so I'm
> stuck with 2.2.12. I've had to add some hde=noautotune and
> hde=4092,13,63 for an old Seagate ST32122A. None of those was needed
> with 2.2.15.
I've never had those problems with my Maxtor disk....
>> > I have to say that I can't put my card in slot 3 or 4, but only in 1 or
>> > 2. Not an issue for me but you may want to know ...
>>
>> What was your machine again? There might be an issue either with bus
>> mastering (some brain-dead designs don't allow bus masters in all slots;
>> the Promise is a bus master) or with multiple PCI buses. In the first
>> case there's nothing you can do; in the second case I might have screwed
>> up my patches....
>
> It's a Umax J700/180. lspci:
>
> 00:0b.0 Host bridge: Apple Computer Inc. Bandit PowerPC host bridge (rev 03)
> 00:0d.0 Unknown mass storage controller: Promise Technology, Inc.: Unknown device 4d38 (rev 01)
> 00:0e.0 Display controller: Integrated Micro Solutions Inc. IMS9129 (rev 01)
> 00:0f.0 PCI bridge: Digital Equipment Corporation DECchip 21052 (rev 01)
Aha. I suppose this bridge goes to bus 2, with slots 3 and 4. Either the
PCI code doesn't (for some unknown reason) support that bus, or it is
not master-capable. Can you send an lspci with some card in slot 3 or 4?
> 00:10.0 Class ff00: Apple Computer Inc. Grand Central I/O (rev 02)
Thanks
Michel
-------------------------------------------------------------------------
Michel Lanners | " Read Philosophy. Study Art.
23, Rue Paul Henkes | Ask Questions. Make Mistakes.
L-1710 Luxembourg |
email mlan@cpu.lu |
http://www.cpu.lu/~mlan | Learn Always. "
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2000-05-25 18:32 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-05-16 17:32 Promise Ultra/66 Simon Piette
2000-05-16 20:39 ` Michel Lanners
2000-05-24 17:04 ` Simon Piette
2000-05-24 17:56 ` Michel Lanners
2000-05-24 18:39 ` Simon Piette
2000-05-25 18:32 ` Michel Lanners
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).