SUMMARY: Sun Fire V480 and ce.conf for Onboard Ethernet Interfaces

From: Larry Anta (lanta_at_ryerson.ca)
Date: 12/15/03

  • Next message: David Stapleton: "sudo version 1.6.7p5 : using -H -u options on Solaris 8"
    Date: Mon, 15 Dec 2003 11:19:21 -0500
    To: sunmanagers@sunmanagers.org
    
    

    I received no replies to my query, but the following did the trick.

    # vi /platform/sun4u/kernel/drv/ce.conf
    # cat /platform/sun4u/kernel/drv/ce.conf
    name="pci108e,abba" parent="/pci@9,700000" unit-address="2"
    adv_autoneg_cap=0 adv_10hdx_cap=0 adv_10fdx_cap=0 adv_100hdx_cap=0
    adv_100fdx_cap=1 adv_1000hdx_cap=0 adv_1000fdx_cap=0 adv_100T4_cap=0;
    #

    Note that the file contains only one line.

    With the above ce.conf file, ce0 (the bottom-most interface on my V480)
    comes up FDX/100 with autonegotiation disabled.

    The problem was in the documentation (cited below, in the original query).
    The parent parameter needed a '/' and the adv parameters needed underscores
    rather than hyphens.

    ----- Original Message -----
    From: "Larry Anta" <lanta@ryerson.ca>
    To: <sunmanagers@sunmanagers.org>
    Sent: Friday, November 28, 2003 11:48 AM
    Subject: Sun Fire V480 and ce.conf for Onboard Ethernet Interfaces

    > I guess I need a "Configuring the ce Device Driver for Complete Dolts"
    > manual.
    >
    > Would someone please toss me a frickin bone here about how to configure
    the
    > two onboard ethernet interfaces that are integrated into a V480 (no
    ethernet
    > adapter is installed, just the RSC adapter in the RSC slot, which I'm not
    > concerned with at this point).
    >
    > Solaris 8 (7/03)
    > OBP 4.10.7 2003/06/11 07:03
    > Patch 111883-14 is on
    >
    >
    > /: grep ce /etc/driver_aliases
    > usb_mid "usb,device"
    > ce "pci108e,abba"
    > ce "pci100b,35"
    > pcelx "pccard101,589"
    > pcelx "pccard101,562,0"
    >
    > /: grep ce /etc/path_to_inst
    > "/pci@9,700000/network@2" 0 "ce"
    > "/pci@9,600000/network@1" 1 "ce"
    >
    > /: cat /platform/sun4u/kernel/drv/ce.conf
    > # Following is all on one line:
    > adv-autoneg-cap=0 adv-10hdx-cap=0 adv-10fdx-cap=0 adv-100hdx-cap=0
    > adv-100fdx-cap=1 adv-1000hdx-cap=0 adv-1000fdx-cap=0 adv-100T4-cap=0;
    >
    > This much works like a charm, disabling autonegotiation and forcing 100
    FDX.
    >
    > The problems start when I try to configure just ce0, rather than all ce's.
    > Ie. when I start using name=, parent=, and unit-address= parameters.
    >
    > The Product Notes for the V480 (816-0905-14, p.9) recommend reading the
    > GigaSwift Ethernet Adapter Installation and User's Guide (816-1702-11) for
    > information on configuring the ONBOARD network interfaces, ie. for details
    > of ce.conf (even though I have no such adapter). Fine. Over to
    > 816-1702-11. The section "Setting Parameters Using the ce.conf File"
    (pages
    > 51-53) is an evil joke that give tantalizing clues about what might work.
    > The one example given (that uses the name=, parent=, and unit-address=
    > parameters) doesn't use the previous portions of that section in which the
    > terms name, parent, and unit address are illucidated. (Great time to
    switch
    > from the general to the specific, ughh.)
    >
    > My first guess was that the name is pci108e,abba. When that didn't seem
    to
    > work I remembered that 816-1702-11 was about GigaSwift adapters. Maybe I
    > need pci100b,35 instead. No luck. But is it because I've got the
    > unit-address wrong? I'd been specifying "2" (because I'm trying to get
    ce0
    > to specify ce0). "2" seems to be right according to 816-1702-11, but
    > "docs.sun.com's 'Solaris 8 HW 7/03 on Sun Hardware Collection >> Platform
    > Notes: Sun GigaSwift Ethernet Device Driver >> Configuring Driver
    Parameters
    > >> Setting ce Driver Parameters'" says no, the unit address would be "9,7"
    > in my case. Hmm.
    >
    > Then there is the issue of the parent. Page 52 of 816-1702-11 says the
    > parent in my case would be pci@9 while page 53 implies it would be
    > pci@9,70000 in my case.
    >
    > I've tried many combinations of name/parent/unit-address and my ce0 comes
    up
    > HDX. When I leave out name/parent/unit-address (leaving just the ce.conf
    > file shown above), ce0 comes up FDX the way I want.
    >
    > I have considered the ndd approach but prefer to have a working ce.conf
    file
    > since ndd commands for the ce driver in rcX.d scripts is not supported by
    > Sun (816-1702-11, page 51); nor are 'set' commands supported in
    /etc/system
    > (816-0905-14, page 9).
    >
    > Is Sun just trying to sell more education to complement their poor
    technical
    > writing or am I just completely clueless? (Rhetorical question; please
    > don't answer.) Thanks!
    > _______________________________________________
    > sunmanagers mailing list
    > sunmanagers@sunmanagers.org
    > http://www.sunmanagers.org/mailman/listinfo/sunmanagers
    _______________________________________________
    sunmanagers mailing list
    sunmanagers@sunmanagers.org
    http://www.sunmanagers.org/mailman/listinfo/sunmanagers


  • Next message: David Stapleton: "sudo version 1.6.7p5 : using -H -u options on Solaris 8"

    Relevant Pages

    • Re: changing a datasets contents
      ... The problem I have is that I want to be able to change the value in my select statements where clause in my code. ... I can't seem to find any way to access the select statement that I created in the table adapter, nor understand how the parameter I created links to this query. ... on the form, when you "drag and drop" the fields on the form, go to the code, and look for the tableadapter. ...
      (microsoft.public.dotnet.languages.vb)
    • Re: changing a datasets contents
      ... Once you setup a query / table adapter with a "@Filter" ... on the form, when you "drag and drop" the fields on the form, go to the code, and look for the tableadapter. ... I need to be able to change the query via vb.net at run time ... My question is that the query that I build in the dataset wizard in my project, needs to now change its where clause. ...
      (microsoft.public.dotnet.languages.vb)
    • Re: changing a datasets contents
      ... then opened up the dataset and added another table adapter "query" to the customers datatable. ... SELECT CustID, CustName FROM dbo.Customers ... By default this will use the table adapter. ...
      (microsoft.public.dotnet.languages.vb)
    • Re: Selecting Data
      ... The Adapter moves ... > No I am not using "join" in my query. ... > seperate queries to fill each table or can I use one query like above to ... >>> shows the data in the order details table however only with the order ...
      (microsoft.public.dotnet.framework.adonet)
    • Re: Dataset bug
      ... Not by me, by VisualStudio. ... After you add to adapter a new query via wizard ... according to required sql params. ...
      (microsoft.public.dotnet.framework.adonet)