sungem 0.97 driver doesn't work with "Sun GigabitEthernet/P 2.0" card.

sungem 0.97 driver doesn't work with "Sun GigabitEthernet/P 2.0" card.

Post by Fredrik Ohr » Tue, 13 Aug 2002 23:00:08



Hello!

I have salvaged a Sun GigabitEthernet/P 2.0 card from a retired Sun server
and am trying to put it to use.

Inserting the driver gives the following in dmesg:


eth2: Sun GEM (PCI) 10/100/1000BaseT Ethernet 00:00:00:00:00:00
gem: SW reset is ghetto.

Notice the missing MAC address.

Configuring the card gives the following:



eth2      Link encap:Ethernet  HWaddr 00:00:00:00:00:00  
          inet addr:129.xxx.xxx.17  Bcast:129.xxx.xxx.127  Mask:255.255.255.128
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:4294967170
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:4294967254
          collisions:4294967212 txqueuelen:100
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
          Interrupt:22 Base address:0x7000

Notice the bogus frame, carrier and collision error counts.

When trying to communicate with the box using 129.xxx.xxx.17 it will
advertize the MAC address of eth0 on ARP queries. This means that to other
machines 129.xxx.xxx.17 seems to work just fine but in reality the
traffic passes over eth0, not the sungem card. Similar things seems to
happen when trying to do outward connections.

Gritty system details:

Plain 2.4.19 kernel.
ASUS TR-DLS mobo with ServerWorks LE chipset.
The card is 64-bit and sits in a 64-bit PCI slot.


01:02.0 Ethernet controller: Sun Microsystems Computer Corp. GEM (rev 01)
        Flags: bus master, 66Mhz, slow devsel, latency 32, IRQ 22
        Memory at f5800000 (32-bit, non-prefetchable) [size=2M]
        Expansion ROM at 40000000 [size=1M]
00: 8e 10 ad 2b 16 00 a0 04 01 00 00 02 08 20 00 00
10: 00 00 80 f5 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 00
30: 01 00 00 40 00 00 00 00 00 00 00 00 09 01 40 40

What can I do to help debug and fix this?

Regards,
Fredrik

--
   "It is easy to be blinded to the essential uselessness of computers by
   the sense of accomplishment you get from getting them to work at all."
                                                   - Douglas Adams

Fredrik ?hrn                               Chalmers University of Technology

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

 
 
 

sungem 0.97 driver doesn't work with "Sun GigabitEthernet/P 2.0" card.

Post by David S. Mille » Wed, 14 Aug 2002 03:10:05



   Date: Mon, 12 Aug 2002 15:53:11 +0200 (CEST)

   gem: SW reset is ghetto.

If you get this message you won't get a working card at all.

Most likely the BIOS isn't assigning resources to the card
correctly.  Some x86 guru would need to look at PCI config
space dumps to figure out what might be going wrong.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

 
 
 

sungem 0.97 driver doesn't work with "Sun GigabitEthernet/P 2.0" card.

Post by Fredrik Ohr » Wed, 14 Aug 2002 04:50:04




>    Date: Mon, 12 Aug 2002 15:53:11 +0200 (CEST)

>    gem: SW reset is ghetto.

> If you get this message you won't get a working card at all.

> Most likely the BIOS isn't assigning resources to the card
> correctly. Some x86 guru would need to look at PCI config
> space dumps to figure out what might be going wrong.

OK, I also have an identical card sitting in a Sun Enterprise 450 box.
In case someone can tell me how to do it in Solaris 8 I can check how
the card is configured there.

BTW, please CC me as I'm not subscribed to the list.

Regards,
Fredrik

--
   "It is easy to be blinded to the essential uselessness of computers by
   the sense of accomplishment you get from getting them to work at all."
                                                   - Douglas Adams

Fredrik ?hrn                               Chalmers University of Technology

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

 
 
 

sungem 0.97 driver doesn't work with "Sun GigabitEthernet/P 2.0" card.

Post by David S. Mille » Wed, 14 Aug 2002 04:50:06


No, doing the test from solaris/Sparc isn't going to work.

You're trying this on an x86 system right?  If so that's the crux of
the problem, you need to dump the PCI resources from Linux for some
x86 wizard to look at.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

 
 
 

sungem 0.97 driver doesn't work with "Sun GigabitEthernet/P 2.0" card.

Post by Willy Tarrea » Wed, 14 Aug 2002 07:50:04



> OK, I also have an identical card sitting in a Sun Enterprise 450 box.
> In case someone can tell me how to do it in Solaris 8 I can check how
> the card is configured there.

the most verbose I've found is "prtconf -v". I remember a long time ago,
someone showed me something which strangely looked like lspci with an
hex dump, but I don't remember what, unfortunately.

I hope this helps a bit.
Willy

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

 
 
 

1. Why doesn't echo "text" 'command' "more text" work?

                 ^                                        ^
Wrong quotes, should be -
   echo "You have" `grep Subject: /usr/spool/mail/me | wc -l` "messages."
or -
   echo "You have `grep Subject: /usr/spool/mail/me | wc -l` messages."

But, another problem is, if you've no mail, /usr/spool/mail/me does not
exist, leading grep to say:
   grep: can't open /usr/spool/mail/me
Wc will still report 0.

You might try -
   sh -c 'echo "You have `grep 2>/dev/null Subject: /usr/spool/mail/me | wc -l` messages."'

Hope this helps.

2. SS10, Maxtor MXT-1240S & Solaris 2.2 SCSI problems

3. HELP: Compiling PPP 2.2.0e on 1.2.84 w/ gcc 2.7.2

4. It Doesn't Matter (much) If Sun Doesn't "Support" Dataless

5. Cannot FORMAT w/Advanced Controller/Drive Array

6. FTP works, but "ls" or "dir" doesn't ???

7. adaptec 2940 on compaq despro 5133

8. "ps" command doesn't work--> boot process got stuck!!

9. """"""""My SoundBlast 16 pnp isn't up yet""""""""""""

10. SiS 7018 sound card doesn't work, "modprobe trident" failed

11. GETSERVBYNAME()????????????????????"""""""""""""

12. Screen doesn't unblank with "screenblank" and "xlock" under 2.3