Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Re: Sound v.s. Ethernet on AlphaStation 250? (fwd)
@ 1996-02-08 15:54 Jim Nance
  0 siblings, 0 replies; 10+ messages in thread
From: Jim Nance @ 1996-02-08 15:54 UTC (permalink / raw)


Jay Estabrook - Alpha Migration Tools - LINUX Project wrote:
> 
> > > >when compared to SRM/aboot. That said, MILO has been enhanced recently to
> > > >allow boots from off the CDROM for CD distribution installs, which I think
> > > >neither SRM nor aboot support?
> >
> > SRM does support it, thats how you install Digital Unix.
> 
> Sheesh, you'd think I'd be able to remember something I prolly did a hundred
> times, when it was only a year ago I left the DU group... :-)

I did not even look to see who I was replying to when I sent that
message.  Now Im sort of embarassed :-)

Anyway here is what works and what does not:
	1) I have tools which will modify an ISO image such that
	   SRM can find aboot in the ISO image.  This was pretty
	   trivial to write.

	2) I have added the ISO support from MILO to aboot so that
	   aboot can find the kernel on the CD.  This is not working
	   yet, but at least it still works enough to still boot from
	   an ext2 FS.  It should not be too difficult to get it working, but
	   it will be a little while before I can get back to it again.

Jim

^ permalink raw reply	[flat|nested] 10+ messages in thread
* Re: Sound v.s. Ethernet on AlphaStation 250? (fwd)
@ 1996-02-08  6:02 David Paul Zimmerman
  0 siblings, 0 replies; 10+ messages in thread
From: David Paul Zimmerman @ 1996-02-08  6:02 UTC (permalink / raw)


>aboot needs support for the iso9660 filesystem, which it doesn't have
>yet, though it is being worked on. Additionally, the iso image will need
>to be mastered with a bit of magic to let SRM find aboot.

That makes sense.  I keep forgetting that CD-ROMs aren't your typical 
SCSI disk....

dp

^ permalink raw reply	[flat|nested] 10+ messages in thread
* Re: Sound v.s. Ethernet on AlphaStation 250? (fwd)
@ 1996-02-07 21:22 David Paul Zimmerman
  1996-02-07 21:50 ` Erik Troan
  1996-02-08  2:21 ` Jim_Nance
  0 siblings, 2 replies; 10+ messages in thread
From: David Paul Zimmerman @ 1996-02-07 21:22 UTC (permalink / raw)


>You should be able to switch over to the ARC console and not blow away
>anything. However, booting via ARC normally requires having a small (2Mb)
>partition to hold the MILO and linload executables in, a bit of a bother
>when compared to SRM/aboot. That said, MILO has been enhanced recently to
>allow boots from off the CDROM for CD distribution installs, which I think
>neither SRM nor aboot support?

Actually, I did hedge my bets and created the system with a floppy-size 
(1.5MB) /dev/sda1 :-)  I'm just not using it right now.  I don't see why 
SRM wouldn't allow me to boot from CDROM, though -- I would think it 
would be something like "boot dka400" (just as I was able to boot from 
floppy with "boot dva0").

>It could be that the SRM console is assigning the IRQs it wants, regardless
>of the slots things appear in.
>
>Do a "cat /proc/pci" to ensure that the IRQ's are what you expect, and that
>there aren't any other conflicts, if you haven't already. Also, what does
>"cat /proc/interrupts" say? Does it agree with "ifconfig"?

I've been cross-checking against all of that... it's all always checked 
out just fine.  Here's the current state:

root@gala# cat /proc/pci
PCI devices found:
  Bus  0, device  13, function  0:
    Ethernet controller: DEC DC21041 (rev 17).
      Medium devsel.  Fast back-to-back capable.  IRQ 15.  Master 
Capable.  Latency=255.
      I/O at 0x10000.
      Non-prefetchable 32 bit memory at 0x9000000.
  Bus  0, device  12, function  0:
    Display controller: DEC DC21030 (rev 3).
      Medium devsel.  Fast back-to-back capable.  Master Capable.  
Latency=255.
      Prefetchable 32 bit memory at 0x10000000.
  Bus  0, device  11, function  0:
    Ethernet controller: DEC DC21040 (rev 35).
      Medium devsel.  Fast back-to-back capable.  IRQ 10.  Master 
Capable.  Latency=255.
      I/O at 0x10400.
      Non-prefetchable 32 bit memory at 0x21000000.
  Bus  0, device   7, function  0:
    Non-VGA device: Intel 82378IB (rev 132).
      Medium devsel.  Master Capable.  No bursts.
  Bus  0, device   6, function  0:
    SCSI storage controller: NCR 53c810 (rev 2).
      Medium devsel.  IRQ 11.  Master Capable.  Latency=255.
      I/O at 0x10800.
      Non-prefetchable 32 bit memory at 0x29000000.
root@gala# cat /proc/interrupts
 1:      234   keyboard
10:   534093   DE435 (eth1)
11:    15094 + 53c7,8xx
15:        0   DE435 (eth0)
root@gala# ifconfig
lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Bcast:127.255.255.255  Mask:255.0.0.0
          UP BROADCAST LOOPBACK RUNNING  MTU:2000  Metric:1
          RX packets:45516 errors:0 dropped:0 overruns:0
          TX packets:45516 errors:0 dropped:0 overruns:0

eth0      Link encap:10Mbps Ethernet  HWaddr 00:00:F8:00:B1:44
          inet addr:17.128.124.34  Bcast:17.128.127.255  
Mask:255.255.252.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0
          TX packets:41 errors:9 dropped:0 overruns:9
          Interrupt:15

eth1      Link encap:10Mbps Ethernet  HWaddr 08:00:2B:E7:57:AD
          inet addr:17.128.120.34  Bcast:17.128.123.255  
Mask:255.255.252.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:267149 errors:0 dropped:0 overruns:0
          TX packets:267202 errors:5 dropped:0 overruns:5
          Interrupt:10 Base address:0x400

root@gala#

This is running a test kernel where I moved IRQ 10 to the head of the IRQ 
table in bios32.c, followed by IRQ 15, IRQ 9, and IRQ 11.  Normally I'll 
have IRQ 15 first, followed by 10, 9, and 11, where all I'm doing is 
swapping 9 and 10.  For more humor value, here's my boot sequence as 
reported by dmesg:

root@gala# dmesg
Console: 16 point font, 400 scans
Console: colour TGA 80x25, 1 virtual console (max 63)
Alpha PCI BIOS32 revision 0.03
Probing PCI hardware.
bios32 WARNING: slot 12, function 0 requests  134217728B of contiguous 
address  space---do
n't use sparse memory  accesses on this device!!
Calibrating delay loop.. ok - 265.81 BogoMIPS
Memory: 126888k available
Swansea University Computer Society NET3.033 for Linux 1.3.50
NET3: Unix domain sockets 0.10 BETA for Linux NET3.033.
Swansea University Computer Society TCP/IP for NET3.033
IP Protocols: IGMP, ICMP, UDP, TCP
Appletalk 0.14 for Linux NET3.032
VFS: Diskquotas version dquot_5.6.0 initialized
Linux version 1.3.57 (root@gala.apple.com) (gcc version 2.7.1) #8 Wed Feb 
7 00:32:27 PST 1
996
Serial driver version 4.11 with no serial options enabled
tty00 at 0x03f8 (irq = 4) is a 16550A
tty01 at 0x02f8 (irq = 3) is a 16550A
lp0 at 0x03bc, (polling)
PS/2 auxiliary pointing device detected -- driver installed.
Floppy drive(s): fd0 is 2.88M
Started kswapd v$Revision: 1.1 $
FDC 0 is a National Semiconductor PC87306
scsi-ncr53c7,8xx : at PCI bus 0, device 6,  function 0
scsi-ncr53c7,8xx : NCR53c810 at memory 0x29000000, io 0x10800, irq 11
scsi0 : burst length 2
scsi0 : reset ccf to 3 from 0
scsi0 : NCR code relocated to 0x47fcc68c (virt 0xfffffc0007fcc68c)
scsi0 : test 1 started
scsi0 : NCR53c{7,8}xx (rel 17)
scsi : 1 host.
scsi0 : target 0 accepting period 100ns offset 8 10.00MHz FAST SCSI-II
scsi0 : setting target 0 to period 100ns offset 8 10.00MHz FAST SCSI-II
  Vendor: DEC       Model: RZ28M    (C) DEC  Rev: 0568
  Type:   Direct-Access                      ANSI SCSI revision: 02
Detected scsi disk sda at scsi0, channel 0, id 0, lun 0
scsi0 : target 1 accepting period 100ns offset 8 10.00MHz FAST SCSI-II
scsi0 : setting target 1 to period 100ns offset 8 10.00MHz FAST SCSI-II
  Vendor: DEC       Model: RZ26N    (C) DEC  Rev: 0466
  Type:   Direct-Access                      ANSI SCSI revision: 02
Detected scsi disk sdb at scsi0, channel 0, id 1, lun 0
scsi0 : target 4 accepting period 236ns offset 8 4.23MHz synchronous SCSI
scsi0 : setting target 4 to period 248ns offset 8 4.03MHz synchronous SCSI
  Vendor: DEC       Model: RRD45   (C) DEC   Rev: 1645
  Type:   CD-ROM                             ANSI SCSI revision: 02
Detected scsi CD-ROM sr0 at scsi0, channel 0, id 4, lun 0
scsi : detected 1 SCSI cdrom 2 SCSI disks total.
SCSI Hardware sector size is 512 bytes on device sda
SCSI Hardware sector size is 512 bytes on device sdb
eth0: DE435 at 10000 (PCI bus 0, device 13), h/w address 
00:00:f8:00:b1:44,
      and requires IRQ15 (not probed).
de4x5.c:v0.32 6/26/95 davies@wanton.lkg.dec.com
eth1: DE435 at 10400 (PCI bus 0, device 11), h/w address 
08:00:2b:e7:57:ad,
      and requires IRQ10 (not probed).
de4x5.c:v0.32 6/26/95 davies@wanton.lkg.dec.com
eth1: region already allocated at 0x0000.
eth1: region already allocated at 0x0400.
Partition check:
  sda: sda1 sda2 sda3 sda4
  sdb: sdb1 sdb2 sdb3 sdb4 sdb5
VFS: Mounted root (ext2 filesystem) readonly.
Adding Swap: 262936k swap-space
Adding Swap: 131256k swap-space
[EXT II FS 0.5b, 95/08/09, bs=1024, fs=1024, gc=8, bpg=8192, ipg=2056, 
mo=fffffc00003455ad
]
eth0: Searching for media... media is TP.
eth1: Searching for media... media is TP.
root@gala#

>Also, in re: the "flood ping" results from your later mail, is there any
>chance that eth0 has not been "routed"? Can't imagine why the interface
>doesn't show the outgoing ping messages in the count, although if it's not
>interrupting, perhaps it doesn't count them as sent? I dunno... :-(

That's the first thing I thought of, but things look OK on that front:

root@gala# netstat -r -n
Kernel routing table
Destination     Gateway         Genmask         Flags Metric Ref Use    
Iface
17.128.124.0    0.0.0.0         255.255.252.0   U     0      0        4 
eth0
17.128.120.0    0.0.0.0         255.255.252.0   U     0      0       14 
eth1
127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        5 lo
0.0.0.0         17.128.120.1    0.0.0.0         UG    1      0       29 
eth1
root@gala# netstat -i -n
Kernel Interface table
Iface   MTU Met  RX-OK RX-ERR RX-DRP RX-OVR  TX-OK TX-ERR TX-DRP TX-OVR 
Flags
lo     2000   0  45516      0      0      0  45516      0      0      0 
BLRU
eth0   1500   0      0      0      0      0     41      9      0      9 
BRU
eth1   1500   0 267186      0      0      0 267239      5      0      5 
BRU
root@gala#

>The 530 is for the CS chip, the 388 is the standard for the OPL FM syth
>chip, I believe. I don't know why it talks about *2* DMA channels; usually
>if there are 2, one is 8-bit, the other 16, but 0 and 1 are 8-bit; maybe one
>for the OPL as well? Dunno...  And, yeah, if it seems to want DMA 0, go with
>it...

Luckily I've got a 2nd A250 as a test station once I deal with the 
Ethernet thing :-)  I just noticed that an appendix in the A250 manual 
indicates that I/O addr 0388-038B is for "Sound card MIDI".  Funny... all 
the sound card seems to have is standard audio miniplugs.

dp

^ permalink raw reply	[flat|nested] 10+ messages in thread
* Re: Sound v.s. Ethernet on AlphaStation 250? (fwd)
@ 1996-02-07  9:22 David Paul Zimmerman
  0 siblings, 0 replies; 10+ messages in thread
From: David Paul Zimmerman @ 1996-02-07  9:22 UTC (permalink / raw)


> I notice that an ifconfig shows the errant Ethernet as not having a base 
address.  Could be > related :-)

Stranger and stranger.  Reading the ifconfig source shows that it doesn't 
always print the base address, and that my not seeing it isn't 
necessarily a problem.  OK.  But what I _have_ noticed is definite clue 
material:  a flood ping to an eth0 host only increases eth0's TX packet 
count by a couple, and doesn't touch its RX packet count.  However the 
*loopback* interface TX and RX counts go up by what I'd have expected to 
see on eth0 (like, BIG numbers).

Now I'm confused :-)

dp

^ permalink raw reply	[flat|nested] 10+ messages in thread
* Re: Sound v.s. Ethernet on AlphaStation 250? (fwd)
@ 1996-02-07  4:06 David Paul Zimmerman
  1996-02-07 19:35 ` Jay Estabrook - Alpha Migration Tools - LINUX Project
  0 siblings, 1 reply; 10+ messages in thread
From: David Paul Zimmerman @ 1996-02-07  4:06 UTC (permalink / raw)


>Yes, and no... :-)

Great! and Damn! :-)

>If you are booting LINUX from ARC via MILO, you could change the kernel's
>setup of the IRQ's assigned to the PCI slots in arch/alpha/kernel/bios32.c
>fixup code (ie in the code that inits the PIRQ registers).

I'm actually using aboot 0.3... for some strange reason, I'm a little 
reluctant to blow away flashware, and SRM w/aboot is more familiar 
SunOS/BSD territory for me.  But your pointer to bios32.c was very 
helpful.

>The PCI "slot" that the TGA is in may currently be setup in the PIRQs with
>IRQ 15, for example; simply switch whatever the TGA slot's IRQ for IRQ 9 in
>the PIRQ setup code, thus giving the DE435 the non-conflicting IRQ, as the
>TGA doesn't use its IRQ anyway.

Just for kicks, I tried physically swapping the TGA and the DE435 PCI 
cards, but IRQ 9 moved with the DE435.  It weirded me out for a second, 
but seemed to make it clear that maybe what I really wanted to do was 
tell bios32.c either that interrupt 9 wasn't available for allocation 
(since it isn't, eh?), or at least sort it behind my only remaining 
unused PCI interrupt - IRQ 10.  Having done the latter, I'm still having 
the same trouble with hearing traffic, but the card did take IRQ 10 (and 
a lot of <sc ...> console errors went away), so I think I'm on the right 
track.

I notice that an ifconfig shows the errant Ethernet as not having a base 
address.  Could be related :-)

>BTW, the AS250 is a *nice* box, quite fast from all I've heard... :-)

'Tis true!  Small and ripping fast.  Nice array of standard ports, too... 
I needed some extra disk space, so I just grabbed a Sun SCSI disk, threw 
it on the external micro-SCSI connector, and went to town.

From the config file, MSS_DMA was set to 0; if this card is at all like the
>"card" built into the MULTIA/UDB, it will use DMA 3. And note that the MULTIA
>"card" is hardwired to the adress/IRQ/DMA, ie there's no registers for setting
>them as on a normal MSS. Now, this may be incorrect info for the card in the
>AS250, so your mileage may vary. If your card *has* those registers, it should
>be settable to avoid IRQ 9, by choosing some other IRQ that's free.

The card has jumpers for rehoming the I/O base address, but apparently 
not the IRQ.  The AlphaStation 250 User Information manual says that the 
PCXBJ device sits on slot 2, at IOBASE 530, 388 (eh?), with DMAmode and 
chan 0, 1 (eh?), and IRQ 9.  SRM's "iconfig" utility tells me that SRM's 
add_sound macro chooses I/O 530, IRQ 9, and DMA 0.  That's why I tried 
using DMA 0, at least.  Having worked around the IRQ issue, I'm leaving 
the sound device unconfigured for now, though I'd like to get it working 
at some point.

>Do you have any machine and/or soundcard specs for this beastie? If not, I
>may know someone who is at least familiar with it enough to confirm/deny our
>suspicions...

Painfully few.  I'm going on scraps of info that the 250 User Info manual 
has (which only sporadically includes sound card info in its various 
tables) and output from SRM's iconfig (which I tend to trust a little 
more).

dp

^ permalink raw reply	[flat|nested] 10+ messages in thread
[parent not found: <9602061824.AA05316@ives.amt.tay1.dec.com>]

end of thread, other threads:[~1996-02-08 15:54 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-02-08 15:54 Sound v.s. Ethernet on AlphaStation 250? (fwd) Jim Nance
  -- strict thread matches above, loose matches on Subject: below --
1996-02-08  6:02 David Paul Zimmerman
1996-02-07 21:22 David Paul Zimmerman
1996-02-07 21:50 ` Erik Troan
1996-02-08  2:21 ` Jim_Nance
1996-02-08 14:37   ` Jay Estabrook - Alpha Migration Tools - LINUX Project
1996-02-07  9:22 David Paul Zimmerman
1996-02-07  4:06 David Paul Zimmerman
1996-02-07 19:35 ` Jay Estabrook - Alpha Migration Tools - LINUX Project
     [not found] <9602061824.AA05316@ives.amt.tay1.dec.com>
1996-02-06 19:02 ` Jay Estabrook - Alpha Migration Tools - LINUX Project

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