Linux PARISC architecture development
 help / color / mirror / Atom feed
* [parisc-linux] How to configure EISA network card in 715/80
@ 2002-01-11 15:38 Rafael Herrera
  2002-01-11 15:43 ` Matthew Wilcox
  0 siblings, 1 reply; 12+ messages in thread
From: Rafael Herrera @ 2002-01-11 15:38 UTC (permalink / raw)
  To: parisc-linux

Hello,

I'm currently testing the distribution from 0.9.3 on a 715/80 machine. 
I'm running the latest CVS kernel and I have it networked, using the AUI 
port, and also running an X server.

The computer has an EISA slot with a network card that I can't identify. 
The main chips appear to be:

LUCENT/Hewlett Packard
100 VG
1821 - 1400

LUCENT
2X01 MC
Regatta 100

Intel
N82503
L7201918

The card has two ports, a 10 Mbit/sec and a 100Mbit/sec.

Is there a driver for this card?

Thanks.

-- 
      Rafael

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

* Re: [parisc-linux] How to configure EISA network card in 715/80
  2002-01-11 15:38 [parisc-linux] How to configure EISA network card in 715/80 Rafael Herrera
@ 2002-01-11 15:43 ` Matthew Wilcox
  2002-01-11 16:07   ` Rafael Herrera
  0 siblings, 1 reply; 12+ messages in thread
From: Matthew Wilcox @ 2002-01-11 15:43 UTC (permalink / raw)
  To: raffo; +Cc: parisc-linux

On Fri, Jan 11, 2002 at 10:38:05AM -0500, Rafael Herrera wrote:
> LUCENT/Hewlett Packard
> 100 VG
> 1821 - 1400
> 
> LUCENT
> 2X01 MC
> Regatta 100
> 
> Intel
> N82503
> L7201918
> 
> The card has two ports, a 10 Mbit/sec and a 100Mbit/sec.
> 
> Is there a driver for this card?

yep it's the hp100 driver.  i've used it myself (when i got a ping back
from it, i declared the eisa code good enough to commit :-).  in config,
that's: HP 10/100VG PCLAN (ISA, EISA, PCI) support' CONFIG_HP100

btw, the 100Mbit port is 100VG, not 100TX so you need 100VG equipment
to work with it.  the 10Mbit port is vanilla 10baseT though.

-- 
Revolutions do not require corporate support.

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

* Re: [parisc-linux] How to configure EISA network card in 715/80
  2002-01-11 15:43 ` Matthew Wilcox
@ 2002-01-11 16:07   ` Rafael Herrera
  2002-01-11 16:17     ` Matthew Wilcox
  2002-01-11 19:38     ` Christian Suder
  0 siblings, 2 replies; 12+ messages in thread
From: Rafael Herrera @ 2002-01-11 16:07 UTC (permalink / raw)
  To: parisc-linux

[-- Attachment #1: Type: text/plain, Size: 503 bytes --]

Matthew Wilcox wrote:

> yep it's the hp100 driver.  i've used it myself (when i got a ping back
> from it, i declared the eisa code good enough to commit :-).  in config,
> that's: HP 10/100VG PCLAN (ISA, EISA, PCI) support' CONFIG_HP100
 

It does not seem to be found. See my attached dmesg.


> btw, the 100Mbit port is 100VG, not 100TX so you need 100VG equipment
> to work with it.  the 10Mbit port is vanilla 10baseT though.


I can get a hold onsome of that equipment.

Thanks.
-- 
      Rafael

[-- Attachment #2: dmesg1 --]
[-- Type: text/plain, Size: 7391 bytes --]

Linux version 2.4.17-pa6 (raffo@inca) (gcc version 3.0.2 20010829 (prerelease)) #11 Fri Jan 11 10:56:42 EST 2002
FP[0] enabled: Rev 1 Model 13
The 32-bit Kernel has started...
Determining PDC firmware type: Snake.
model 00006190 00000481 00000000 00000000 7795c3b3 00000000 00000004 00000072 00000072
vers  0000000b
model 9000/715
Total Memory: 48 Mb
pagetable_init
On node 0 totalpages: 12288
zone(0): 12288 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: HOME=/ TERM=linux root=/dev/sda2 eisa_irq_edge=3,4,5,7,9,10,11,14,15 console=tty0 sti=1 sti_font=VGA8x16
Console: colour dummy device 160x64
Calibrating delay loop... 79.66 BogoMIPS
Memory: 45348k available
Dentry-cache hash table entries: 8192 (order: 4, 65536 bytes)
Inode-cache hash table entries: 4096 (order: 3, 32768 bytes)
Mount-cache hash table entries: 1024 (order: 1, 8192 bytes)
Buffer-cache hash table entries: 1024 (order: 0, 4096 bytes)
Page-cache hash table entries: 16384 (order: 4, 65536 bytes)
Searching for devices...
Found devices:
1. Mirage 80 GSC Builtin Graphics (10) at 0xf8000000 [1], versions 0x10, 0x0, 0x85
2. Mirage 80 Core BA (11) at 0xf0100000 [2], versions 0x2b, 0x0, 0x81
3. Mirage 80 Core SCSI (10) at 0xf0106000 [2/0/1], versions 0x2b, 0x0, 0x82
4. Mirage 80 Core LAN (802.3) (10) at 0xf0107000 [2/0/2], versions 0x2b, 0x0, 0x8a
5. Mirage 80 Core RS-232 (10) at 0xf0105000 [2/0/4], versions 0x2b, 0x0, 0x8c
6. Mirage 80 Core Centronics (10) at 0xf0102000 [2/0/6], versions 0x2b, 0x0, 0x74
7. Mirage 80 Audio (10) at 0xf0104000 [2/0/8], versions 0x2b, 0x0, 0x7b
8. Mirage 80 Core PC Floppy (10) at 0xf010a000 [2/0/10], versions 0x2b, 0x0, 0x83
9. Mirage 80 Core PS/2 Port (10) at 0xf0108000 [2/0/11], versions 0x2b, 0x0, 0x84
10. Mirage 80 Core PS/2 Port (10) at 0xf0108100 [2/0/12], versions 0x2b, 0x0, 0x84
11. Pace Wax BA (11) at 0xf0200000 [5], versions 0x10, 0x0, 0x8e
12. Pace Core HIL (10) at 0xf0201000 [5/0/1], versions 0x10, 0x0, 0x73
13. Mirage 80 Wax RS-232 (10) at 0xf0202000 [5/0/2], versions 0x10, 0x0, 0x8c
14. Mirage 80 (0) at 0xfffbe000 [8], versions 0x619, 0x0, 0x4
15. Mirage 80 (1) at 0xfffbf000 [9], versions 0x4f, 0x0, 0x9
CPU(s): 1 x PA7100LC (PCX-L) at 80.000000 MHz
Lasi version 0 at 0xf0100000 found.
LED display at f010c000 registered
Wax at 0xf0200000 found.
Wax: HIL Keyboard-NMI registered.
POSIX conformance testing by UNIFIX
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Enabled gecko-style soft power switch.
Starting kswapd
parport_init_chip: initialize bidirectional-mode.
parport0: PC-style at 0xf0102800, irq 88 [PCSPP,TRISTATE]
STI word mode ROM at f0024000, hpa=f8000000
STI word mode ROM, id 2b4ded6d-40a00499, conforms to spec rev. 8.04
STI device: HPA208LC1280
Console: switching to colour frame buffer device 160x64
fb0: stifb 1280x1024-8 frame buffer device, id: 2b4ded6d, mmio: 0xf8100000
pty: 256 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI enabled
ttyS00 at iomem 0xf0105800 (irq = 90) is a 16550A
ttyS01 at iomem 0xf0202800 (irq = 121) is a 16550A
PS/2 keyboard port at 0xf0108000 (irq 69) found, device attached.
PS/2 psaux port at 0xf0108100 (irq 69) found, device attached.
Found HIL at 0xf0201000, IRQ 126
HIL: no keyboard present.
Warning : device (10, 0x10, 0x0, 0x73) NOT claimed by HIL
lp0: using parport0 (interrupt-driven).
Generic RTC Driver v1.02 05/27/1999 Sam Creasey (sammy@oh.verio.com)
block: 128 slots per queue, batch=32
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize

PCI or EISA Host Bus Adapter 0 not registered. in16(0x100) returning -1

PCI or EISA Host Bus Adapter 0 not registered. in16(0x120) returning -1

PCI or EISA Host Bus Adapter 0 not registered. in16(0x140) returning -1

PCI or EISA Host Bus Adapter 0 not registered. in16(0x160) returning -1

PCI or EISA Host Bus Adapter 0 not registered. in16(0x180) returning -1

PCI or EISA Host Bus Adapter 0 not registered. in16(0x1a0) returning -1

PCI or EISA Host Bus Adapter 0 not registered. in16(0x1c0) returning -1

PCI or EISA Host Bus Adapter 0 not registered. in16(0x1e0) returning -1

PCI or EISA Host Bus Adapter 0 not registered. in16(0x200) returning -1

PCI or EISA Host Bus Adapter 0 not registered. in16(0x220) returning -1

PCI or EISA Host Bus Adapter 0 not registered. in16(0x240) returning -1

PCI or EISA Host Bus Adapter 0 not registered. in16(0x260) returning -1

PCI or EISA Host Bus Adapter 0 not registered. in16(0x280) returning -1

PCI or EISA Host Bus Adapter 0 not registered. in16(0x2a0) returning -1

PCI or EISA Host Bus Adapter 0 not registered. in16(0x2c0) returning -1

PCI or EISA Host Bus Adapter 0 not registered. in16(0x2e0) returning -1

PCI or EISA Host Bus Adapter 0 not registered. in16(0x300) returning -1

PCI or EISA Host Bus Adapter 0 not registered. in16(0x320) returning -1

PCI or EISA Host Bus Adapter 0 not registered. in16(0x340) returning -1

PCI or EISA Host Bus Adapter 0 not registered. in16(0x360) returning -1

PCI or EISA Host Bus Adapter 0 not registered. in16(0x380) returning -1

PCI or EISA Host Bus Adapter 0 not registered. in16(0x3a0) returning -1

PCI or EISA Host Bus Adapter 0 not registered. in16(0x3c0) returning -1

PCI or EISA Host Bus Adapter 0 not registered. in16(0x3e0) returning -1
loop: loaded (max 8 devices)
Found i82596 at 0xf0107000, IRQ 87
eth0: 82596 at 0xf0107000, 08 00 09 3B F2 06 IRQ 87.
82596.c $Revision: 1.27 $
SCSI subsystem driver Revision: 1.00
53c700: Version 2.6 By James.Bottomley@HansenPartnership.com
scsi0: 53c710 rev 2 
scsi0 : LASI SCSI 53c700
scsi0: (3:0) Synchronous at offset 8, period 100ns
  Vendor: QUANTUM   Model: XP34550S          Rev: LXY1
  Type:   Direct-Access                      ANSI SCSI revision: 02
scsi0: (3:1) Synchronous at offset 8, period 100ns
  Vendor: NEC       Model: CD-ROM DRIVE:461  Rev: 2.3d
  Type:   CD-ROM                             ANSI SCSI revision: 02
scsi0: (4:1) Synchronous at offset 8, period 124ns
Attached scsi disk sda at scsi0, channel 0, id 3, lun 0
scsi0: (3:0) Enabling Tag Command Queuing
sda: Spinning up disk....ready
SCSI device sda: 8890760 512-byte hdwr sectors (4552 MB)
Partition check:
 sda: sda1 sda2 sda3 sda4
Attached scsi CD-ROM sr0 at scsi0, channel 0, id 4, lun 0
sr0: scsi-1 drive
Uniform CD-ROM driver Revision: 3.12
Lasi Harmony Audio rev. 0 at 0xf0104000, using IRQ 82
sticonsole_init: searching for STI ROMs
md: linear personality registered as nr 1
md: raid0 personality registered as nr 2
md: raid1 personality registered as nr 3
md: raid5 personality registered as nr 4
raid5: measuring checksumming speed
   8regs     :    60.800 MB/sec
   8regs_prefetch:    60.800 MB/sec
   32regs    :    88.400 MB/sec
   32regs_prefetch:    88.400 MB/sec
raid5: using function: 32regs_prefetch (88.400 MB/sec)
md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 4096 bind 8192)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
VFS: Mounted root (ext2 filesystem) readonly.
NOT FREEING INITMEM
Adding Swap: 249136k swap-space (priority -1)
scsi0 (3:0) Target is suffering from tag starvation.
eth0: link ok.

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

* Re: [parisc-linux] How to configure EISA network card in 715/80
  2002-01-11 16:07   ` Rafael Herrera
@ 2002-01-11 16:17     ` Matthew Wilcox
  2002-01-11 16:21       ` Rafael Herrera
  2002-01-11 23:17       ` Hamish Moffatt
  2002-01-11 19:38     ` Christian Suder
  1 sibling, 2 replies; 12+ messages in thread
From: Matthew Wilcox @ 2002-01-11 16:17 UTC (permalink / raw)
  To: raffo; +Cc: parisc-linux

On Fri, Jan 11, 2002 at 11:07:45AM -0500, Rafael Herrera wrote:
> 1. Mirage 80 GSC Builtin Graphics (10) at 0xf8000000 [1], versions 0x10, 0x0, 0x85
> 2. Mirage 80 Core BA (11) at 0xf0100000 [2], versions 0x2b, 0x0, 0x81
> 3. Mirage 80 Core SCSI (10) at 0xf0106000 [2/0/1], versions 0x2b, 0x0, 0x82
> 4. Mirage 80 Core LAN (802.3) (10) at 0xf0107000 [2/0/2], versions 0x2b, 0x0, 0x8a
> 5. Mirage 80 Core RS-232 (10) at 0xf0105000 [2/0/4], versions 0x2b, 0x0, 0x8c
> 6. Mirage 80 Core Centronics (10) at 0xf0102000 [2/0/6], versions 0x2b, 0x0, 0x74
> 7. Mirage 80 Audio (10) at 0xf0104000 [2/0/8], versions 0x2b, 0x0, 0x7b
> 8. Mirage 80 Core PC Floppy (10) at 0xf010a000 [2/0/10], versions 0x2b, 0x0, 0x83
> 9. Mirage 80 Core PS/2 Port (10) at 0xf0108000 [2/0/11], versions 0x2b, 0x0, 0x84
> 10. Mirage 80 Core PS/2 Port (10) at 0xf0108100 [2/0/12], versions 0x2b, 0x0, 0x84
> 11. Pace Wax BA (11) at 0xf0200000 [5], versions 0x10, 0x0, 0x8e
> 12. Pace Core HIL (10) at 0xf0201000 [5/0/1], versions 0x10, 0x0, 0x73
> 13. Mirage 80 Wax RS-232 (10) at 0xf0202000 [5/0/2], versions 0x10, 0x0, 0x8c
> 14. Mirage 80 (0) at 0xfffbe000 [8], versions 0x619, 0x0, 0x4
> 15. Mirage 80 (1) at 0xfffbf000 [9], versions 0x4f, 0x0, 0x9

This is rather strange.  I see no EISA adapter.  Sure, we have Wax in
its role as a bus adapter, with its HIL & RS-232 subdevices, but there's
no EISA device.  Anyone know why this might be?

(iirc, it normally shows up as device 6).

-- 
Revolutions do not require corporate support.

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

* Re: [parisc-linux] How to configure EISA network card in 715/80
  2002-01-11 16:17     ` Matthew Wilcox
@ 2002-01-11 16:21       ` Rafael Herrera
  2002-01-11 16:27         ` Matthew Wilcox
  2002-01-11 23:17       ` Hamish Moffatt
  1 sibling, 1 reply; 12+ messages in thread
From: Rafael Herrera @ 2002-01-11 16:21 UTC (permalink / raw)
  To: parisc-linux

Matthew Wilcox wrote:

> On Fri, Jan 11, 2002 at 11:07:45AM -0500, Rafael Herrera wrote:
> 
>>1. Mirage 80 GSC Builtin Graphics (10) at 0xf8000000 [1], versions 0x10, 0x0, 0x85
>>2. Mirage 80 Core BA (11) at 0xf0100000 [2], versions 0x2b, 0x0, 0x81
>>3. Mirage 80 Core SCSI (10) at 0xf0106000 [2/0/1], versions 0x2b, 0x0, 0x82
>>4. Mirage 80 Core LAN (802.3) (10) at 0xf0107000 [2/0/2], versions 0x2b, 0x0, 0x8a
>>5. Mirage 80 Core RS-232 (10) at 0xf0105000 [2/0/4], versions 0x2b, 0x0, 0x8c
>>6. Mirage 80 Core Centronics (10) at 0xf0102000 [2/0/6], versions 0x2b, 0x0, 0x74
>>7. Mirage 80 Audio (10) at 0xf0104000 [2/0/8], versions 0x2b, 0x0, 0x7b
>>8. Mirage 80 Core PC Floppy (10) at 0xf010a000 [2/0/10], versions 0x2b, 0x0, 0x83
>>9. Mirage 80 Core PS/2 Port (10) at 0xf0108000 [2/0/11], versions 0x2b, 0x0, 0x84
>>10. Mirage 80 Core PS/2 Port (10) at 0xf0108100 [2/0/12], versions 0x2b, 0x0, 0x84
>>11. Pace Wax BA (11) at 0xf0200000 [5], versions 0x10, 0x0, 0x8e
>>12. Pace Core HIL (10) at 0xf0201000 [5/0/1], versions 0x10, 0x0, 0x73
>>13. Mirage 80 Wax RS-232 (10) at 0xf0202000 [5/0/2], versions 0x10, 0x0, 0x8c
>>14. Mirage 80 (0) at 0xfffbe000 [8], versions 0x619, 0x0, 0x4
>>15. Mirage 80 (1) at 0xfffbf000 [9], versions 0x4f, 0x0, 0x9
>>
> 
> This is rather strange.  I see no EISA adapter.  Sure, we have Wax in
> its role as a bus adapter, with its HIL & RS-232 subdevices, but there's
> no EISA device.  Anyone know why this might be?
> 
> (iirc, it normally shows up as device 6).

If it's of any help, the card is connected through an add-on card to the 
main board. The chips on the add-on card are: TACT84544BPC, TACT84543BPP 
and TACT84541CPC.

-- 
      Rafael

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

* Re: [parisc-linux] How to configure EISA network card in 715/80
  2002-01-11 16:21       ` Rafael Herrera
@ 2002-01-11 16:27         ` Matthew Wilcox
  2002-01-11 17:54           ` Rafael E. Herrera
  2002-01-12  1:35           ` Rafael Herrera
  0 siblings, 2 replies; 12+ messages in thread
From: Matthew Wilcox @ 2002-01-11 16:27 UTC (permalink / raw)
  To: raffo; +Cc: parisc-linux

On Fri, Jan 11, 2002 at 11:21:59AM -0500, Rafael Herrera wrote:
> If it's of any help, the card is connected through an add-on card to the 
> main board. The chips on the add-on card are: TACT84544BPC, TACT84543BPP 
> and TACT84541CPC.

Yep, I'm familiar with that board.  Normally when it's plugged in, PDC
reports the EISA adapter.  Can you try unplugging it & replugging it to
see if that helps?  You cold also try messing around at the PDC prompt,
see whether anything can see it.  As you may have guessed, I have no
idea what the problem is and I'm suggesting things at random :-)

-- 
Revolutions do not require corporate support.

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

* Re: [parisc-linux] How to configure EISA network card in 715/80
  2002-01-11 16:27         ` Matthew Wilcox
@ 2002-01-11 17:54           ` Rafael E. Herrera
  2002-01-12  1:35           ` Rafael Herrera
  1 sibling, 0 replies; 12+ messages in thread
From: Rafael E. Herrera @ 2002-01-11 17:54 UTC (permalink / raw)
  To: parisc-linux

Matthew Wilcox wrote:

> On Fri, Jan 11, 2002 at 11:21:59AM -0500, Rafael Herrera wrote:
> 
>>If it's of any help, the card is connected through an add-on card to the 
>>main board. The chips on the add-on card are: TACT84544BPC, TACT84543BPP 
>>and TACT84541CPC.
> 
> Yep, I'm familiar with that board.  Normally when it's plugged in, PDC
> reports the EISA adapter.  Can you try unplugging it & replugging it to
> see if that helps?  You cold also try messing around at the PDC prompt,
> see whether anything can see it.  As you may have guessed, I have no
> idea what the problem is and I'm suggesting things at random :-)


I'll try when I get back home.

Raf

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

* Re: [parisc-linux] How to configure EISA network card in 715/80
  2002-01-11 16:07   ` Rafael Herrera
  2002-01-11 16:17     ` Matthew Wilcox
@ 2002-01-11 19:38     ` Christian Suder
  2002-01-11 20:00       ` Matthew Wilcox
  1 sibling, 1 reply; 12+ messages in thread
From: Christian Suder @ 2002-01-11 19:38 UTC (permalink / raw)
  To: parisc-linux

I do see those same messages :


>PCI or EISA Host Bus Adapter 0 not registered. in16(0x100) returning -1

running newer kernels on a C110 with a NE1000 NIC. With 2.4.9-pa23 it works 
nicely. Here is the output with a newer kernel 2.4.17-pa3 :

15. Raven T' Wax EISA BA (11) at 0xfc000000 [8/20/5], versions 0x1e, 0x0, 
0x90,
  additional addresses: 0xf4000000
16. U2-IOA BC GSC+ Port (7) at 0xf5fbf000 [8/63], versions 0x501, 0x1, 0xc
17. U2-IOA BC Runway Port (12) at 0xfff8a000 [10], versions 0x580, 0x7, 0xb
18. Coral SGC Graphics (10) at 0xf6000000 [10/20], versions 0x4, 0x0, 0x77
19. U2-IOA BC GSC+ Port (7) at 0xf5fff000 [10/63], versions 0x501, 0x1, 0xc
20. Raven 120 T' (0) at 0xfffa0000 [32], versions 0x58e, 0x0, 0x4
21. SkyHawk 100/120 (1) at 0xfffb1000 [49], versions 0x49, 0x0, 0x9
CPU(s): 1 x PA7200 (PCX-T') at 120.000000 MHz
ccio found U2 at 0xfff88000
ccio found U2 at 0xfff8a000
Lasi version 0 at 0xffd00000 found.
Wax at 0xffe00000 found.
Wax: HIL Keyboard-NMI registered.
Wax EISA Adapter found at 0xfc000000
EISA: failed to claim EISA Bus address space!

Note the message in the last line !

Maybe that gives some hint what its going on,

         Christian

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

* Re: [parisc-linux] How to configure EISA network card in 715/80
  2002-01-11 19:38     ` Christian Suder
@ 2002-01-11 20:00       ` Matthew Wilcox
  2002-01-11 21:54         ` Matthew Wilcox
  0 siblings, 1 reply; 12+ messages in thread
From: Matthew Wilcox @ 2002-01-11 20:00 UTC (permalink / raw)
  To: Christian Suder; +Cc: parisc-linux

On Fri, Jan 11, 2002 at 11:38:02AM -0800, Christian Suder wrote:
> running newer kernels on a C110 with a NE1000 NIC. With 2.4.9-pa23 it works 
> nicely. Here is the output with a newer kernel 2.4.17-pa3 :
> Wax EISA Adapter found at 0xfc000000
> EISA: failed to claim EISA Bus address space!
> 
> Note the message in the last line !
> 
> Maybe that gives some hint what its going on,

This is a very different problem -- your machine at least finds the
EISA adapter.  I'm interesting in debugging it though; please send a
full dmesg to me in personal mail.

-- 
Revolutions do not require corporate support.

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

* Re: [parisc-linux] How to configure EISA network card in 715/80
  2002-01-11 20:00       ` Matthew Wilcox
@ 2002-01-11 21:54         ` Matthew Wilcox
  0 siblings, 0 replies; 12+ messages in thread
From: Matthew Wilcox @ 2002-01-11 21:54 UTC (permalink / raw)
  To: Matthew Wilcox; +Cc: Christian Suder, parisc-linux

On Fri, Jan 11, 2002 at 08:00:16PM +0000, Matthew Wilcox wrote:
> This is a very different problem -- your machine at least finds the
> EISA adapter.  I'm interesting in debugging it though; please send a
> full dmesg to me in personal mail.

based on the information you sent, try this patch:

Index: drivers/gsc/dino.c
===================================================================
RCS file: /var/cvs/linux/drivers/gsc/dino.c,v
retrieving revision 1.51
diff -u -p -r1.51 dino.c
--- drivers/gsc/dino.c	2002/01/09 00:13:53	1.51
+++ drivers/gsc/dino.c	2002/01/11 21:37:44
@@ -466,15 +464,6 @@ dino_bios_init(void)
  * Claim an 8MB chunk of unused IO space and call the generic PCI routines
  * to set up the addresses of the devices on this bus.
  */
-#ifdef CONFIG_IOMMU_CCIO
-struct ioc;
-void ccio_extend_mmio_range(struct ioc *ioc);
-struct resource * ccio_find_parisc_resource(struct ioc *ioc);
-#else /* !CONFIG_IOMMU_CCIO */
-#define ccio_extend_mmio_range()
-#define ccio_find_parisc_resource(x) &iomem_resource
-#endif /* !CONFIG_IOMMU_CCIO */
-
 #define _8MB 0x00800000
 static void __init
 dino_card_setup(struct pci_bus *bus, unsigned long base_addr)
Index: drivers/gsc/eisa.c
===================================================================
RCS file: /var/cvs/linux/drivers/gsc/eisa.c,v
retrieving revision 1.13
diff -u -p -r1.13 eisa.c
--- drivers/gsc/eisa.c	2001/11/13 20:42:43	1.13
+++ drivers/gsc/eisa.c	2002/01/11 21:37:44
@@ -311,16 +311,22 @@ static void init_eisa_pic(void)
 static int __devinit eisa_probe(struct parisc_device *dev)
 {
 	int result;
+	struct resource *parent_resource;
+
 	char *name = is_mongoose(dev) ? "Mongoose" : "Wax";
 
 	printk(KERN_INFO "%s EISA Adapter found at 0x%08lx\n", 
 		name, dev->hpa);
-   
+
+	eisa_dev.hba.dev = dev;
+	eisa_dev.hba.iommu = ccio_get_iommu(dev);
+	parent_resource = ccio_find_parisc_resource(eisa_dev.hba.iommu);
+
 	eisa_dev.hba.lmmio_space.name = "EISA";
 	eisa_dev.hba.lmmio_space.start = (unsigned long) 0xfffffffffc000000;
 	eisa_dev.hba.lmmio_space.end = (unsigned long) 0xffffffffffbfffff;
 	eisa_dev.hba.lmmio_space.flags = IORESOURCE_MEM;
-	result = request_resource(&iomem_resource, &eisa_dev.hba.lmmio_space);
+	result = request_resource(parent_resource, &eisa_dev.hba.lmmio_space);
 	if (result < 0) {
 		printk(KERN_ERR "EISA: failed to claim EISA Bus address space!\n");
 		return result;
Index: include/asm-parisc/pci.h
===================================================================
RCS file: /var/cvs/linux/include/asm-parisc/pci.h,v
retrieving revision 1.39
diff -u -p -r1.39 pci.h
--- include/asm-parisc/pci.h	2002/01/07 23:51:15	1.39
+++ include/asm-parisc/pci.h	2002/01/11 21:37:46
@@ -247,11 +247,16 @@ extern inline void pcibios_register_hba(
 
 #ifdef CONFIG_IOMMU_CCIO
 struct parisc_device;
+struct ioc;
 void * ccio_get_iommu(struct parisc_device *dev);
 struct pci_dev * ccio_get_fake(struct parisc_device *dev);
+void ccio_extend_mmio_range(struct ioc *ioc);
+struct resource * ccio_find_parisc_resource(struct ioc *ioc);
 #else /* !CONFIG_IOMMU_CCIO */
-#define ccio_get_iommu(dev) (NULL)
-#define ccio_get_fake(dev) (NULL)
+#define ccio_get_iommu(dev) do { } while (0)
+#define ccio_get_fake(dev) do { } while (0)
+#define ccio_extend_mmio_range(ioc) do { } while (0)
+#define ccio_find_parisc_resource(x) &iomem_resource
 #endif /* !CONFIG_IOMMU_CCIO */
 
 #ifdef CONFIG_IOMMU_SBA

-- 
Revolutions do not require corporate support.

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

* Re: [parisc-linux] How to configure EISA network card in 715/80
  2002-01-11 16:17     ` Matthew Wilcox
  2002-01-11 16:21       ` Rafael Herrera
@ 2002-01-11 23:17       ` Hamish Moffatt
  1 sibling, 0 replies; 12+ messages in thread
From: Hamish Moffatt @ 2002-01-11 23:17 UTC (permalink / raw)
  To: parisc-linux

On Fri, Jan 11, 2002 at 04:17:05PM +0000, Matthew Wilcox wrote:
> This is rather strange.  I see no EISA adapter.  Sure, we have Wax in
> its role as a bus adapter, with its HIL & RS-232 subdevices, but there's
> no EISA device.  Anyone know why this might be?
> 
> (iirc, it normally shows up as device 6).

FWIW, it's device #11 for me. On a 712/80:

Found devices:
1. Mirage 80 GSC Builtin Graphics (10) at 0xf8000000 [1], versions 0x10, 0x0, 0x85
2. Mirage 80 Core BA (11) at 0xf0100000 [2], versions 0x2b, 0x0, 0x81
3. Mirage 80 Core SCSI (10) at 0xf0106000 [2/0/1], versions 0x2b, 0x0, 0x82
4. Mirage 80 Core LAN (802.3) (10) at 0xf0107000 [2/0/2], versions 0x2b, 0x0, 0x8a
5. Mirage 80 Core RS-232 (10) at 0xf0105000 [2/0/4], versions 0x2b, 0x0, 0x8c
6. Mirage 80 Core Centronics (10) at 0xf0102000 [2/0/6], versions 0x2b, 0x0, 0x74
7. Mirage 80 Audio (10) at 0xf0104000 [2/0/8], versions 0x2b, 0x0, 0x7b
8. Mirage 80 Core PC Floppy (10) at 0xf010a000 [2/0/10], versions 0x2b, 0x0, 0x83
9. Mirage 80 Core PS/2 Port (10) at 0xf0108000 [2/0/11], versions 0x2b, 0x0, 0x84
10. Mirage 80 Core PS/2 Port (10) at 0xf0108100 [2/0/12], versions 0x2b, 0x0, 0x84
11. Mirage 80 Wax EISA BA (11) at 0xfc000000 [4], versions 0x2b, 0x0, 0x90
12. Pace Wax BA (11) at 0xf0200000 [5], versions 0x10, 0x0, 0x8e
13. Pace Core HIL (10) at 0xf0201000 [5/0/1], versions 0x10, 0x0, 0x73
14. Mirage 80 Wax RS-232 (10) at 0xf0202000 [5/0/2], versions 0x10, 0x0, 0x8c
15. Mirage 80  (0) at 0xfffbe000 [8], versions 0x619, 0x0, 0x4
16. Mirage 80 (1) at 0xfffbf000 [9], versions 0x4f, 0x0, 0x9

I don't have anything on the EISA bus that I'm aware of; nothing
that I need to use anyway.

Hamish
-- 
Hamish Moffatt VK3SB <hamish@debian.org> <hamish@cloud.net.au>

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

* Re: [parisc-linux] How to configure EISA network card in 715/80
  2002-01-11 16:27         ` Matthew Wilcox
  2002-01-11 17:54           ` Rafael E. Herrera
@ 2002-01-12  1:35           ` Rafael Herrera
  1 sibling, 0 replies; 12+ messages in thread
From: Rafael Herrera @ 2002-01-12  1:35 UTC (permalink / raw)
  To: parisc-linux

[-- Attachment #1: Type: text/plain, Size: 1118 bytes --]

Matthew Wilcox wrote:

> 
> Yep, I'm familiar with that board.  Normally when it's plugged in, PDC
> reports the EISA adapter.  Can you try unplugging it & replugging it to
> see if that helps?  You cold also try messing around at the PDC prompt,
> see whether anything can see it.  As you may have guessed, I have no
> idea what the problem is and I'm suggesting things at random :-)


I re-set the add-on card and this time the WAX card was detected. See 
the attached dmesg. The hp100 network card does not appear to be 
detected, though. If it's loaded, is there something I can look at to 
see if it's really there? Should it be reported as eth1?

As a side note, when turning on the machine I get these messages:


BootRom Version    1.6
Memory Size:  48 MB
----------------------------------------------------------------------------


(c) Copyright 1990-1994, Hewlett-Packard Company.
All rights reserved

Press <ESCAPE> to stop boot sequence.


Warning: One or more EISA cards could not be configured.
          Autoselect and search will ignore unconfigured
          cards.

<...>

Thanks.
-- 
      Rafael

[-- Attachment #2: dmesg1 --]
[-- Type: text/plain, Size: 5687 bytes --]

Linux version 2.4.17-pa6 (raffo@inca) (gcc version 3.0.2 20010829 (prerelease)) #15 Fri Jan 11 20:20:05 EST 2002
FP[0] enabled: Rev 1 Model 13
The 32-bit Kernel has started...
Determining PDC firmware type: Snake.
model 00006190 00000481 00000000 00000000 7795c3b3 00000000 00000004 00000072 00000072
vers  0000000b
model 9000/715
Total Memory: 48 Mb
pagetable_init
On node 0 totalpages: 12288
zone(0): 12288 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: root=/dev/sda2 HOME=/ eisa_irq_edge=3,4,5,7,9,10,11,14,15 console=tty0 sti=0 sti_font=VGA8x16 TERM=linux
Console: colour dummy device 160x64
Calibrating delay loop... 79.66 BogoMIPS
Memory: 45348k available
Dentry-cache hash table entries: 8192 (order: 4, 65536 bytes)
Inode-cache hash table entries: 4096 (order: 3, 32768 bytes)
Mount-cache hash table entries: 1024 (order: 1, 8192 bytes)
Buffer-cache hash table entries: 1024 (order: 0, 4096 bytes)
Page-cache hash table entries: 16384 (order: 4, 65536 bytes)
Searching for devices...
Found devices:
1. Mirage 80 GSC Builtin Graphics (10) at 0xf8000000 [1], versions 0x10, 0x0, 0x85
2. Mirage 80 Core BA (11) at 0xf0100000 [2], versions 0x2b, 0x0, 0x81
3. Mirage 80 Core SCSI (10) at 0xf0106000 [2/0/1], versions 0x2b, 0x0, 0x82
4. Mirage 80 Core LAN (802.3) (10) at 0xf0107000 [2/0/2], versions 0x2b, 0x0, 0x8a
5. Mirage 80 Core RS-232 (10) at 0xf0105000 [2/0/4], versions 0x2b, 0x0, 0x8c
6. Mirage 80 Core Centronics (10) at 0xf0102000 [2/0/6], versions 0x2b, 0x0, 0x74
7. Mirage 80 Audio (10) at 0xf0104000 [2/0/8], versions 0x2b, 0x0, 0x7b
8. Mirage 80 Core PC Floppy (10) at 0xf010a000 [2/0/10], versions 0x2b, 0x0, 0x83
9. Mirage 80 Core PS/2 Port (10) at 0xf0108000 [2/0/11], versions 0x2b, 0x0, 0x84
10. Mirage 80 Core PS/2 Port (10) at 0xf0108100 [2/0/12], versions 0x2b, 0x0, 0x84
11. Mirage 80 Wax EISA BA (11) at 0xfc000000 [4], versions 0x2b, 0x0, 0x90
12. Pace Wax BA (11) at 0xf0200000 [5], versions 0x10, 0x0, 0x8e
13. Pace Core HIL (10) at 0xf0201000 [5/0/1], versions 0x10, 0x0, 0x73
14. Mirage 80 Wax RS-232 (10) at 0xf0202000 [5/0/2], versions 0x10, 0x0, 0x8c
15. Mirage 80 (0) at 0xfffbe000 [8], versions 0x619, 0x0, 0x4
16. Mirage 80 (1) at 0xfffbf000 [9], versions 0x4f, 0x0, 0x9
CPU(s): 1 x PA7100LC (PCX-L) at 80.000000 MHz
Lasi version 0 at 0xf0100000 found.
LED display at f010c000 registered
Wax at 0xf0200000 found.
Wax: HIL Keyboard-NMI registered.
Wax EISA Adapter found at 0xfc000000
POSIX conformance testing by UNIFIX
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Enabled gecko-style soft power switch.
Starting kswapd
parport_init_chip: initialize bidirectional-mode.
parport0: PC-style at 0xf0102800, irq 88 [PCSPP,TRISTATE]
STI word mode ROM at f0024000, hpa=f8000000
STI word mode ROM, id 2b4ded6d-40a00499, conforms to spec rev. 8.04
STI device: HPA208LC1280
Console: switching to colour frame buffer device 160x64
fb0: stifb 1280x1024-8 frame buffer device, id: 2b4ded6d, mmio: 0xf8100000
pty: 256 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI enabled
ttyS00 at iomem 0xf0105800 (irq = 90) is a 16550A
ttyS01 at iomem 0xf0202800 (irq = 121) is a 16550A
PS/2 keyboard port at 0xf0108000 (irq 69) found, device attached.
PS/2 psaux port at 0xf0108100 (irq 69) found, device attached.
Found HIL at 0xf0201000, IRQ 126
HIL: timed out, assuming no keyboard present.
Warning : device (10, 0x10, 0x0, 0x73) NOT claimed by HIL
lp0: using parport0 (interrupt-driven).
Generic RTC Driver v1.02 05/27/1999 Sam Creasey (sammy@oh.verio.com)
block: 128 slots per queue, batch=32
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
loop: loaded (max 8 devices)
Found i82596 at 0xf0107000, IRQ 87
eth0: 82596 at 0xf0107000, 08 00 09 3B F2 06 IRQ 87.
82596.c $Revision: 1.27 $
SCSI subsystem driver Revision: 1.00
53c700: Version 2.6 By James.Bottomley@HansenPartnership.com
scsi0: 53c710 rev 2 
scsi0 : LASI SCSI 53c700
scsi0: (3:0) Synchronous at offset 8, period 100ns
  Vendor: QUANTUM   Model: XP34550S          Rev: LXY1
  Type:   Direct-Access                      ANSI SCSI revision: 02
scsi0: (3:1) Synchronous at offset 8, period 100ns
  Vendor: NEC       Model: CD-ROM DRIVE:461  Rev: 2.3d
  Type:   CD-ROM                             ANSI SCSI revision: 02
scsi0: (4:1) Synchronous at offset 8, period 124ns
Attached scsi disk sda at scsi0, channel 0, id 3, lun 0
scsi0: (3:0) Enabling Tag Command Queuing
SCSI device sda: 8890760 512-byte hdwr sectors (4552 MB)
Partition check:
 sda: sda1 sda2 sda3 sda4
Attached scsi CD-ROM sr0 at scsi0, channel 0, id 4, lun 0
sr0: scsi-1 drive
Uniform CD-ROM driver Revision: 3.12
Lasi Harmony Audio rev. 0 at 0xf0104000, using IRQ 82
sticonsole_init: searching for STI ROMs
md: linear personality registered as nr 1
md: raid0 personality registered as nr 2
md: raid1 personality registered as nr 3
md: raid5 personality registered as nr 4
raid5: measuring checksumming speed
   8regs     :    60.800 MB/sec
   8regs_prefetch:    60.800 MB/sec
   32regs    :    88.400 MB/sec
   32regs_prefetch:    88.400 MB/sec
raid5: using function: 32regs_prefetch (88.400 MB/sec)
md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 4096 bind 8192)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
VFS: Mounted root (ext2 filesystem) readonly.
NOT FREEING INITMEM
Adding Swap: 249136k swap-space (priority -1)
eth0: link ok.

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

end of thread, other threads:[~2002-01-12  1:35 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-01-11 15:38 [parisc-linux] How to configure EISA network card in 715/80 Rafael Herrera
2002-01-11 15:43 ` Matthew Wilcox
2002-01-11 16:07   ` Rafael Herrera
2002-01-11 16:17     ` Matthew Wilcox
2002-01-11 16:21       ` Rafael Herrera
2002-01-11 16:27         ` Matthew Wilcox
2002-01-11 17:54           ` Rafael E. Herrera
2002-01-12  1:35           ` Rafael Herrera
2002-01-11 23:17       ` Hamish Moffatt
2002-01-11 19:38     ` Christian Suder
2002-01-11 20:00       ` Matthew Wilcox
2002-01-11 21:54         ` Matthew Wilcox

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