Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: David Paul Zimmerman <dpz@apple.com>
Subject: Re: Sound v.s. Ethernet on AlphaStation 250? (fwd)
Date: Wed, 7 Feb 96 13:22:44 -0800	[thread overview]
Message-ID: <9602072122.AA28018@alink-gw.apple.com> (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

             reply	other threads:[~1996-02-07 21:22 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-02-07 21:22 David Paul Zimmerman [this message]
1996-02-07 21:50 ` Sound v.s. Ethernet on AlphaStation 250? (fwd) Erik Troan
1996-02-08  2:21 ` Jim_Nance
1996-02-08 14:37   ` Jay Estabrook - Alpha Migration Tools - LINUX Project
  -- strict thread matches above, loose matches on Subject: below --
1996-02-08 15:54 Jim Nance
1996-02-08  6:02 David Paul Zimmerman
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
read-only archive

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