Re: NICs not in GENERIC

2012-02-23 Thread Alexander Leidinger

Quoting Scott Long sco...@samsco.org (from Wed, 22 Feb 2012 08:42:39 -0700):


On Feb 22, 2012, at 1:22 AM, Alexander Leidinger wrote:

Quoting Scott Long sco...@samsco.org (from Tue, 21 Feb 2012  
17:45:04 -0700):



On Feb 21, 2012, at 7:56 AM, Alexander Leidinger wrote:


Hi,

is there a specific reason that the following NICs are not (or  
shall not be) in GENERIC (at least on i386)?

- if_cas: is compiled as a module, Sun hardware, non-x86 only?
- if_gem: is compiled as a module, Apple/Sun, non-x86 only?
- if_hme: is compiled as a module, Sun hardware, non-x86 only?


If these aren't for i386 hardware, then why would they need to be  
in the i386 GENERIC profile?


I didn't told they aren't for i386 (Sun and Apple produce(d) x86  
hardware). If they would have been non-x86 drivers (I assume you've  
seen the answer from Marius), the bug would have been that they are  
build as modules on x86.




Let it go.


Can you please rephrase this for a non-native english speaker please?  
I don't understand what is the subject of your message. Do you ask to  
not include those 3 into GENERIC, or do you ask to forget you asked  
initially?


Bye,
Alexander.

--
Every time I look at you I am more convinced of Darwin's theory.

http://www.Leidinger.netAlexander @ Leidinger.net: PGP ID = B0063FE7
http://www.FreeBSD.org   netchild @ FreeBSD.org  : PGP ID = 72077137

___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: NICs not in GENERIC

2012-02-23 Thread Daniel Braniss
 On Tue, Feb 21, 2012 at 03:56:56PM +0100, Alexander Leidinger wrote:
  Hi,
  
  is there a specific reason that the following NICs are not (or shall  
  not be) in GENERIC (at least on i386)?
 
 No specific reason for these two:
 
   - if_cxgb
   - if_cxgbe
 
 But I do prefer to load them as modules (and as late as possible --
 after sysctl.conf has been processed and any nmbclusters, nmbjumboXX
 settings have taken affect).
 
 Other than root over NFS, is there any reason to have NIC drivers in
 GENERIC?

even with root over NFS (aka diskless/dataless) you can load the nic module via
loader.conf.

 
 Regards,
 Navdeep
 ___
 freebsd-current@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-current
 To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org
 


___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: NICs not in GENERIC

2012-02-22 Thread Alexander Leidinger

Quoting Scott Long sco...@samsco.org (from Tue, 21 Feb 2012 17:45:04 -0700):


On Feb 21, 2012, at 7:56 AM, Alexander Leidinger wrote:


Hi,

is there a specific reason that the following NICs are not (or  
shall not be) in GENERIC (at least on i386)?

- if_cas: is compiled as a module, Sun hardware, non-x86 only?
- if_gem: is compiled as a module, Apple/Sun, non-x86 only?
- if_hme: is compiled as a module, Sun hardware, non-x86 only?


If these aren't for i386 hardware, then why would they need to be in  
the i386 GENERIC profile?


I didn't told they aren't for i386 (Sun and Apple produce(d) x86  
hardware). If they would have been non-x86 drivers (I assume you've  
seen the answer from Marius), the bug would have been that they are  
build as modules on x86.


Bye,
Alexander.

--
Anyone who goes to a psychiatrist ought to have his head examined.
-- Samuel Goldwyn

http://www.Leidinger.netAlexander @ Leidinger.net: PGP ID = B0063FE7
http://www.FreeBSD.org   netchild @ FreeBSD.org  : PGP ID = 72077137

___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: NICs not in GENERIC

2012-02-22 Thread Alexander Leidinger
Quoting Navdeep Parhar n...@freebsd.org (from Wed, 22 Feb 2012  
01:55:40 +):



On Tue, Feb 21, 2012 at 05:44:01PM -0700, Scott Long wrote:


On Feb 21, 2012, at 10:51 AM, Navdeep Parhar wrote:

 On Tue, Feb 21, 2012 at 03:56:56PM +0100, Alexander Leidinger wrote:
 Hi,

 is there a specific reason that the following NICs are not (or shall
 not be) in GENERIC (at least on i386)?

 No specific reason for these two:

 - if_cxgb
 - if_cxgbe

 But I do prefer to load them as modules (and as late as possible --
 after sysctl.conf has been processed and any nmbclusters, nmbjumboXX
 settings have taken affect).

 Other than root over NFS, is there any reason to have NIC drivers in
 GENERIC?


GENERIC is the kernel profile that's used during installation, and the
installer (at one point in time) supported installing over NFS and FTP.


If the installer itself can come up without the NIC driver it should be
able to load any NIC driver KLD it wants and then reach the install
media (NFS, FTP, etc.) over the network.  Or is it that the installer's
root fs didn't have any KLDs back then?


Do we have support for that in our installer?

Anyway, the case where a cxgb* NIC is the only or preferred NIC (no  
idea if such systems exist) and the admin wants to net-boot into the  
installer is an use-case we should not overlook.


BTW: I prefer to load a lot via modules myself, and I want to get a  
modular kernel config into FreeBSD. The work on the modular kernel  
config let me discover those NICs which are not in GENERIC. Apart from  
that only WAN/leased-line/pseudo-NICs and 2 wireless drivers which  
need firmware from ports are not in GENERIC.


Bye,
Alexander.

--
Bill Dickey is learning me his experience.
-- Yogi Berra in his rookie season

http://www.Leidinger.netAlexander @ Leidinger.net: PGP ID = B0063FE7
http://www.FreeBSD.org   netchild @ FreeBSD.org  : PGP ID = 72077137

___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: NICs not in GENERIC

2012-02-22 Thread Alexander Leidinger
Quoting Marius Strobl mar...@alchemy.franken.de (from Tue, 21 Feb  
2012 23:42:52 +0100):



On Tue, Feb 21, 2012 at 03:56:40PM +0100, Alexander Leidinger wrote:

Hi,

is there a specific reason that the following NICs are not (or shall
not be) in GENERIC (at least on i386)?
 - if_cas: is compiled as a module, Sun hardware, non-x86 only?
 - if_cxgb
 - if_cxgbe
 - if_gem: is compiled as a module, Apple/Sun, non-x86 only?
 - if_hme: is compiled as a module, Sun hardware, non-x86 only?
 - if_ic: no man-page
 - if_ipheth: no man-page
 - if_mos: USB NIC
 - if_mxge
 - if_my
 - if_nxge
 - if_vtnet: virtual NIC for hypervisors



As for cas(4), gem(4) and hme(4) the corresponding MACs also exist as
add-on cards and these drivers work just fine on x86 (actually should
do so on all architectures). Although some people also use or at least
used these cards in x86 machines, I thought it still would be uncommon
enough to put cards built for OFW machines into x86 ones to deliberately
not add these drivers to the x86 GENERICs. Fell free to do so if you
want though.


The GENERIC kernel on i386 takes about 15 MB on disk. The modules for  
cas/gem/hme take about 115 KB. It does not look like this would hurt  
from a file size perspective, but would give the benefit of users of  
the GENERIC kernel to have those NICs work out of the box in the  
installer.


Bye,
Alexander.

--
A person who has nothing looks at all there is and wants something.
A person who has something looks at all there is and wants all the rest.

http://www.Leidinger.netAlexander @ Leidinger.net: PGP ID = B0063FE7
http://www.FreeBSD.org   netchild @ FreeBSD.org  : PGP ID = 72077137

___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: NICs not in GENERIC

2012-02-22 Thread Scott Long

On Feb 22, 2012, at 1:22 AM, Alexander Leidinger wrote:

 Quoting Scott Long sco...@samsco.org (from Tue, 21 Feb 2012 17:45:04 -0700):
 
 On Feb 21, 2012, at 7:56 AM, Alexander Leidinger wrote:
 
 Hi,
 
 is there a specific reason that the following NICs are not (or shall not 
 be) in GENERIC (at least on i386)?
 - if_cas: is compiled as a module, Sun hardware, non-x86 only?
 - if_gem: is compiled as a module, Apple/Sun, non-x86 only?
 - if_hme: is compiled as a module, Sun hardware, non-x86 only?
 
 If these aren't for i386 hardware, then why would they need to be in the 
 i386 GENERIC profile?
 
 I didn't told they aren't for i386 (Sun and Apple produce(d) x86 hardware). 
 If they would have been non-x86 drivers (I assume you've seen the answer from 
 Marius), the bug would have been that they are build as modules on x86.
 

Let it go.

Scott


___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


NICs not in GENERIC

2012-02-21 Thread Alexander Leidinger

Hi,

is there a specific reason that the following NICs are not (or shall  
not be) in GENERIC (at least on i386)?

 - if_cas: is compiled as a module, Sun hardware, non-x86 only?
 - if_cxgb
 - if_cxgbe
 - if_gem: is compiled as a module, Apple/Sun, non-x86 only?
 - if_hme: is compiled as a module, Sun hardware, non-x86 only?
 - if_ic: no man-page
 - if_ipheth: no man-page
 - if_mos: USB NIC
 - if_mxge
 - if_my
 - if_nxge
 - if_vtnet: virtual NIC for hypervisors

Bye,
Alexander.

--
Progress might have been all right once, but it's gone on too long.
-- Ogden Nash

http://www.Leidinger.netAlexander @ Leidinger.net: PGP ID = B0063FE7
http://www.FreeBSD.org   netchild @ FreeBSD.org  : PGP ID = 72077137

___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: NICs not in GENERIC

2012-02-21 Thread Andrew Gallatin

On 02/21/12 09:56, Alexander Leidinger wrote:

Hi,

is there a specific reason that the following NICs are not (or shall not
be) in GENERIC (at least on i386)?





- if_mxge




Speaking for mxge, it requires the better part of 1MB worth of
firmware files, and it is a rather uncommon device.  I never
added it to GENERIC because I was trying to avoid bloating the
kernel.  It works just fine as a module.

Drew
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: NICs not in GENERIC

2012-02-21 Thread Navdeep Parhar
On Tue, Feb 21, 2012 at 03:56:56PM +0100, Alexander Leidinger wrote:
 Hi,
 
 is there a specific reason that the following NICs are not (or shall  
 not be) in GENERIC (at least on i386)?

No specific reason for these two:

  - if_cxgb
  - if_cxgbe

But I do prefer to load them as modules (and as late as possible --
after sysctl.conf has been processed and any nmbclusters, nmbjumboXX
settings have taken affect).

Other than root over NFS, is there any reason to have NIC drivers in
GENERIC?

Regards,
Navdeep
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: NICs not in GENERIC

2012-02-21 Thread Scott Long

On Feb 21, 2012, at 7:56 AM, Alexander Leidinger wrote:

 Hi,
 
 is there a specific reason that the following NICs are not (or shall not be) 
 in GENERIC (at least on i386)?
 - if_cas: is compiled as a module, Sun hardware, non-x86 only?
 - if_gem: is compiled as a module, Apple/Sun, non-x86 only?
 - if_hme: is compiled as a module, Sun hardware, non-x86 only?

If these aren't for i386 hardware, then why would they need to be in the i386 
GENERIC profile?

Scott

___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: NICs not in GENERIC

2012-02-21 Thread Scott Long

On Feb 21, 2012, at 10:51 AM, Navdeep Parhar wrote:

 On Tue, Feb 21, 2012 at 03:56:56PM +0100, Alexander Leidinger wrote:
 Hi,
 
 is there a specific reason that the following NICs are not (or shall  
 not be) in GENERIC (at least on i386)?
 
 No specific reason for these two:
 
 - if_cxgb
 - if_cxgbe
 
 But I do prefer to load them as modules (and as late as possible --
 after sysctl.conf has been processed and any nmbclusters, nmbjumboXX
 settings have taken affect).
 
 Other than root over NFS, is there any reason to have NIC drivers in
 GENERIC?
 

GENERIC is the kernel profile that's used during installation, and the 
installer (at one point in time) supported installing over NFS and FTP.  
GENERIC was also a good smoke test to see if FreeBSD would run on a newly 
purchased machine, since it included most drivers.

Scott


___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: NICs not in GENERIC

2012-02-21 Thread YongHyeon PYUN
On Tue, Feb 21, 2012 at 03:56:56PM +0100, Alexander Leidinger wrote:
 Hi,
 
 is there a specific reason that the following NICs are not (or shall  
 not be) in GENERIC (at least on i386)?
  - if_cas: is compiled as a module, Sun hardware, non-x86 only?
  - if_cxgb
  - if_cxgbe

Last time I tried cas(4) on i386, it worked without problems and I
think all Sun add-on cards would work.
However as Scott said, it would be rare to see these Sun
controllers on x86 world.

  - if_gem: is compiled as a module, Apple/Sun, non-x86 only?
  - if_hme: is compiled as a module, Sun hardware, non-x86 only?
  - if_ic: no man-page
  - if_ipheth: no man-page
  - if_mos: USB NIC
  - if_mxge
  - if_my
  - if_nxge
  - if_vtnet: virtual NIC for hypervisors
 
 Bye,
 Alexander.
 
 -- 
 Progress might have been all right once, but it's gone on too long.
   -- Ogden Nash
 
 http://www.Leidinger.netAlexander @ Leidinger.net: PGP ID = B0063FE7
 http://www.FreeBSD.org   netchild @ FreeBSD.org  : PGP ID = 72077137
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: NICs not in GENERIC

2012-02-21 Thread Navdeep Parhar
On Tue, Feb 21, 2012 at 05:44:01PM -0700, Scott Long wrote:
 
 On Feb 21, 2012, at 10:51 AM, Navdeep Parhar wrote:
 
  On Tue, Feb 21, 2012 at 03:56:56PM +0100, Alexander Leidinger wrote:
  Hi,
  
  is there a specific reason that the following NICs are not (or shall  
  not be) in GENERIC (at least on i386)?
  
  No specific reason for these two:
  
  - if_cxgb
  - if_cxgbe
  
  But I do prefer to load them as modules (and as late as possible --
  after sysctl.conf has been processed and any nmbclusters, nmbjumboXX
  settings have taken affect).
  
  Other than root over NFS, is there any reason to have NIC drivers in
  GENERIC?
  
 
 GENERIC is the kernel profile that's used during installation, and the
 installer (at one point in time) supported installing over NFS and FTP.

If the installer itself can come up without the NIC driver it should be
able to load any NIC driver KLD it wants and then reach the install
media (NFS, FTP, etc.) over the network.  Or is it that the installer's
root fs didn't have any KLDs back then?

Navdeep

 GENERIC was also a good smoke test to see if FreeBSD would run on a newly
 purchased machine, since it included most drivers.
 
 Scott
 
 
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org