Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Reliable MILO anybody?
@ 1997-06-23 20:26 Kay Choi
  1997-06-23 21:19 ` udb pcmcia (and sound) tzeruch
  0 siblings, 1 reply; 5+ messages in thread
From: Kay Choi @ 1997-06-23 20:26 UTC (permalink / raw)


Hi people

"reboot -r now" doesn't work all the times.  I found out that it is known
bug and hasn't fixed yet.  Are there anybody has PC164 and reliable MILO
with AUTOBOOT_TIMEOUT set correctly?

Kay Choi
Wavecraft Communications, Inc.
Phone) 818-550-0486
Fax) 818-550-0887

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 5+ messages in thread

* udb pcmcia (and sound)
  1997-06-23 20:26 Reliable MILO anybody? Kay Choi
@ 1997-06-23 21:19 ` tzeruch
  0 siblings, 0 replies; 5+ messages in thread
From: tzeruch @ 1997-06-23 21:19 UTC (permalink / raw)


This should be in a FAQ, but I can't seem to find it.

Is there any way to get pcmcia working with the UDB.  It seems to compile
properly, but I don't know if it is tcic or i82365 or some other driver.

Also, OSS conflicts with the NCR when I try playing a file.  Anyone know
what port (530), irq (9), and dma (1?) I need to set for this?

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: udb pcmcia (and sound)
       [not found] <97Jun23.171923edt.32257@brickwall.ceddec.com>
@ 1997-06-23 21:27 ` Paul Wouters
  0 siblings, 0 replies; 5+ messages in thread
From: Paul Wouters @ 1997-06-23 21:27 UTC (permalink / raw)


On Mon, 23 Jun 1997 tzeruch@ceddec.com wrote:

> Is there any way to get pcmcia working with the UDB.  It seems to compile
> properly, but I don't know if it is tcic or i82365 or some other driver.

 I'd expect a i82365, but I havent tried it yet.

> Also, OSS conflicts with the NCR when I try playing a file.  Anyone know
> what port (530), irq (9), and dma (1?) I need to set for this?

From my UDB:

# cat /proc/interrupts 
 1:     4805   keyboard
 4:     9777 + serial
 8:        0 + rtc
 9:        1   SoundPort
11:     6083 + 53c8xx
12:     8350   PS/2 Mouse

#cat /proc/ioports    
0060-006f : keyboard
0070-007f : rtc
02f8-02ff : serial(auto)
03f0-03f5 : floppy
03f7-03f7 : floppy DIR
03f8-03ff : serial(auto)
0530-0533 : WSS config
0534-0537 : CS4231A
b000-b07f : QSILVER's
b400-b47f : ncr53c8xx

I have no conflicts with sound/scsi.
(And if anyone has a working mp3 player, drop me a line ;)

Paul

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: udb pcmcia (and sound)
@ 1997-06-23 23:24 Bob Bottomley
  0 siblings, 0 replies; 5+ messages in thread
From: Bob Bottomley @ 1997-06-23 23:24 UTC (permalink / raw)


--- On Mon, 23 Jun 1997 17:19:56 -0400  tzeruch@ceddec.com wrote:
> Is there any way to get pcmcia working with the UDB.  It seems to compile
> properly, but I don't know if it is tcic or i82365 or some other driver.

Yes, I got mine working on Friday on my UDB 166 with RH 4.2. I now have a 
PC Card modem and can read the SRAM cards from my Zoomer. Here is what I did:

Get modules working. To do this, you need modutils-2.1.42. You can find this
is the alphabits directory on RedHat. You will probably never get through to 
redhat.com and most of the mirror sites do not seem to mirror alphabits. So 
try this URL:

ftp://ftp.varesearch.com/pub/mirrors/redhat/alphabits/

Be sure to read the last part of the README about the define required for 
an alpha running binutils before 2.7.0.9 (which mine certainly was).

I installed modutils and then recompiled the kernel with module support. 
Believe it or not -- it worked!

I tested it out by configuring floppy support as a module.

Now get pcmcia-cs-2.9.6. You can find this at:

ftp://hyper.stanford.edu/pub/pcmcia/

This will compile and install, but it won't work (module ds.o will not load). 
After prowling through the mailing list archives, I found a patch from Richard 
Henderson. Most of it seemed to be installed already except for two parts. I 
installed them and then everything worked. Here are the excerpts from his 
patch (Note: do not use the patch command to install these, I did not check 
that the line numbers are still accurate, but they are easy to find):

diff -rup pcmcia-cs-2.9.2/include/pcmcia/k_compat.h pcmcia-cs-2.9.2-rth/include/pcmcia/k_compat.h
--- pcmcia-cs-2.9.2/include/pcmcia/k_compat.h	Wed Mar 12 14:23:34 1997
+++ pcmcia-cs-2.9.2-rth/include/pcmcia/k_compat.h	Sat Apr 12 19:47:14 1997
@@ -127,7 +128,7 @@ char kernel_version[] = UTS_RELEASE;
 #endif
 
 #ifdef __alpha__
-#define get_user(x, ptr) __get_user(x, ptr)
+#define get_user(x, ptr) ((x) = __get_user((ptr), sizeof(*(ptr))))
 #else
 #define get_user(x, ptr) \
 ((sizeof(*ptr) == 4) ? (x = get_fs_long(ptr)) : \

diff -rup pcmcia-cs-2.9.2/modules/Makefile pcmcia-cs-2.9.2-rth/modules/Makefile
--- pcmcia-cs-2.9.2/modules/Makefile	Tue Nov 26 02:21:58 1996
+++ pcmcia-cs-2.9.2-rth/modules/Makefile	Sat Apr 12 19:40:25 1997
@@ -19,6 +19,11 @@ ifdef CONFIG_MODVERSIONS
 XFLAGS := $(XFLAGS) $(MFLAG)
 endif
 
+ifdef CONFIG_ALPHA_LCA
+CFLAGS += -ffixed-8
+endif
+
+
 SRCS = \
 	i82365.c tcic.c cs.c cistpl.c rsrc_mgr.c bulkmem.c ds.c \
 	serial_cs.c pcmem_cs.c memory_cs.c ftl_cs.c \

I don't know that the second part is actually needed, but I figured it 
wouldn't hurt. The real problem was with get_user.

After that just follow the PCMCIA howto. The UDB has a i82365 controller.

There was one more gotcha. A test in ifup was backwards and with PCMCIA 
turned on, the ethernet port was not brought up. Here is a patch:

diff -rup /etc/sysconfig/network-scripts/ifup.orig /etc/sysconfig/network-scripts/ifup
--- /etc/sysconfig/network-scripts/ifup.orig    Mon Jun 23 16:54:28 1997
+++ /etc/sysconfig/network-scripts/ifup Fri Jun 20 13:31:22 1997
@@ -39,7 +39,7 @@ else
     PCMCIA=no
 fi
 
-if [ $DEVICETYPE = "eth" -a "foo${ISPCMCIA}" = "foo" ]; then
+if [ $DEVICETYPE = "eth" -a "foo${ISPCMCIA}" != "foo" ]; then
     # this is a horrible hack to work around prior brokenness 
     if [ "$PCMCIA" = "yes" -a "foo$2" = "fooboot" ]; then
        # cardmgr will start us up properly

> 
> Also, OSS conflicts with the NCR when I try playing a file.  Anyone know
> what port (530), irq (9), and dma (1?) I need to set for this?

The sound settings for the UDB are:

Windows Sound Sytem  DMA 3  Port 530  IRQ 9

--------------------------------------------------------------------------
"It is by caffeine alone I set my mind in motion.
It is by the juice of cola that thoughts acquire speed,
the hands acquire shaking, the shaking become a warning.
It is by caffeine alone I set my mind in motion."
                               --The Programmer's Creed

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: udb pcmcia (and sound)
@ 1997-06-25 22:46 Rui-Tao Dong ~{6-HpLN~}
  0 siblings, 0 replies; 5+ messages in thread
From: Rui-Tao Dong ~{6-HpLN~} @ 1997-06-25 22:46 UTC (permalink / raw)


>>>>> "bob" == Bob Bottomley <Robert.A.Bottomley.Jr@cdc.com> writes:

 bob> Yes, I got mine working on Friday on my UDB 166 with RH 4.2. I now
 bob> have a PC Card modem and can read the SRAM cards from my Zoomer. Here
 bob> is what I did:

 bob> Get modules working. To do this, you need modutils-2.1.42. You can
 bob> find this is the alphabits directory on RedHat. You will probably
 bob> never get through to redhat.com and most of the mirror sites do not
 bob> seem to mirror alphabits. So try this URL:

 bob> ftp://ftp.varesearch.com/pub/mirrors/redhat/alphabits/

 bob> Be sure to read the last part of the README about the define required
 bob> for an alpha running binutils before 2.7.0.9 (which mine certainly
 bob> was).

 bob> I installed modutils and then recompiled the kernel with module
 bob> support.  Believe it or not -- it worked!

 bob> I tested it out by configuring floppy support as a module.

You are certainly luckier than I am.  I have a stock 4.2. I
uncommented AXP_BROKEN_GAS and compiled modutils-2.1.42.  I patched my
kernel to 2.0.30 and applied Alpha-diff 2.0.30.

Top of the kernel config reads

CONFIG_MODULES=y
CONFIG_MODVERSIONS=y
CONFIG_KERNELD=y

Everything compiles OK and the kernel boots fine, but I got memory
violations with depmod.  Hand inserting modules also failed.

I got most of the modules and PCMCIA 2.8.23 working under RH 4.0 with
2.0.27.  I could mount (read-only) and read my Zoomer formated SRAM,
but popping it back to Zoomer yields "New card, do you want to format
it?"  The same thing was happening with my wife's NEC Versa notebook
with much older PCMCIA packages.  (DOS couldn't recogized the card at
all ...)

Regards,

Rui-Tao Dong ~{6-HpLN~}	<rdong@internetMCI.com>, Mission Viejo, California

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~1997-06-25 22:46 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-06-23 20:26 Reliable MILO anybody? Kay Choi
1997-06-23 21:19 ` udb pcmcia (and sound) tzeruch
     [not found] <97Jun23.171923edt.32257@brickwall.ceddec.com>
1997-06-23 21:27 ` Paul Wouters
  -- strict thread matches above, loose matches on Subject: below --
1997-06-23 23:24 Bob Bottomley
1997-06-25 22:46 Rui-Tao Dong ~{6-HpLN~}

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox