Re: fxp half-duplex problemm

2001-12-13 Thread David Greenman

>Well, in the case of fxp(4), the man page is quite clear:
>
> The fxp driver supports the following media options:
>
> full-duplex   Set full duplex operation
>
>(end of list)
>
>It doesn't really make sense to have separate options for half and
>full duplex, because they are mutually exclusive anyway. So one of
>them was dropped. I'm not sure, but it seems to be the case with all
>NIC drivers using the common miibus code.

   I agree that the two options are mutually exclusive, but I don't agree
that it doesn't make sense to have both. It's not clear if there is a default
or what it defaults to or when such a default is relevant. There needs to
be a "half-duplex" option to make this explicitly clear in the configuration.

-DG

David Greenman
Co-founder, The FreeBSD Project - http://www.freebsd.org
President, TeraSolutions, Inc. - http://www.terasolutions.com
Pave the road of life with opportunities.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-stable" in the body of the message



Re: fxp half-duplex problemm

2001-12-13 Thread Dimitry Andric

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 2001-12-14 at 05:00:46 David Greenman wrote:

>>That will give you "ifconfig: SIOCSIFMEDIA: Device not configured",
>>because this mediaopt option is not (no longer?) supported for fxp(4).

DG>I would consider that a bug.

Well, in the case of fxp(4), the man page is quite clear:

 The fxp driver supports the following media options:

 full-duplex   Set full duplex operation

(end of list)

It doesn't really make sense to have separate options for half and
full duplex, because they are mutually exclusive anyway. So one of
them was dropped. I'm not sure, but it seems to be the case with all
NIC drivers using the common miibus code.

Cheers,
- --
Dimitry Andric <[EMAIL PROTECTED]>
PGP Key: http://www.xs4all.nl/~dim/dim.asc
Fingerprint: 7AB462D2CE35FC6D42394FCDB05EA30A2E2096A3
Lbh ner abj va ivbyngvba bs gur QZPN

-BEGIN PGP SIGNATURE-
Version: PGP 6.5i
Comment: http://www.gn.apc.org/duncan/stoa_cover.htm

iQA/AwUBPBlwd7BeowouIJajEQLq7QCdEHn20kFde6UgdVK5trNsuV9SeuYAnjEn
6qJ4wFrGy6vqd9sNegF0c98L
=5Ft5
-END PGP SIGNATURE-


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-stable" in the body of the message



Re: fxp half-duplex problemm

2001-12-13 Thread David Greenman

>-BEGIN PGP SIGNED MESSAGE-
>Hash: SHA1
>
>On 2001-12-13 at 19:22:30 David Greenman wrote:
>
>DG>How about:
>
>DG> ifconfig fxp0 media 100basetx mediaopt half-duplex
>
>That will give you "ifconfig: SIOCSIFMEDIA: Device not configured",
>because this mediaopt option is not (no longer?) supported for fxp(4).

   I would consider that a bug.

-DG

David Greenman
Co-founder, The FreeBSD Project - http://www.freebsd.org
President, TeraSolutions, Inc. - http://www.terasolutions.com
Pave the road of life with opportunities.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-stable" in the body of the message



Re[2]: fxp half-duplex problemm

2001-12-13 Thread Dimitry Andric

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 2001-12-13 at 19:22:30 David Greenman wrote:

DG>How about:

DG> ifconfig fxp0 media 100basetx mediaopt half-duplex

That will give you "ifconfig: SIOCSIFMEDIA: Device not configured",
because this mediaopt option is not (no longer?) supported for fxp(4).
By NOT specifying any mediaopt option, you specify half-duplex
implicitly. Or you can `subtract' the full-duplex option with
"-mediaopt full-duplex", as stated earlier.

At the moment there are some NICs (fxp, xl, etc) that have this way of
specifying half/full-duplex, and some others --not sure which-- don't,
so these have an explicit "half-duplex" mediaopt. The man pages don't
always agree with reality, however... :(

Cheers,
- --
Dimitry Andric <[EMAIL PROTECTED]>
PGP Key: http://www.xs4all.nl/~dim/dim.asc
Fingerprint: 7AB462D2CE35FC6D42394FCDB05EA30A2E2096A3
Lbh ner abj va ivbyngvba bs gur QZPN

-BEGIN PGP SIGNATURE-
Version: PGP 6.5i
Comment: http://www.gn.apc.org/duncan/stoa_cover.htm

iQA/AwUBPBlq37BeowouIJajEQId4QCfQtYVs4kxr9Xbd8DXX2p0fX2Lf1cAoOW2
JN5yz90YkVPoVtMnvEQ5ZrMs
=45Ke
-END PGP SIGNATURE-


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-stable" in the body of the message



rl driver panics w/ large file transfer (Was: Re: 4.4-STABLEcrashes...)

2001-12-13 Thread Dan Kogai
on 01.12.13 4:44 AM, Alex Popa at [EMAIL PROTECTED] wrote:
> During the bonnie++ runs iostat showed some 22M/s activity on each disk,
> so I am beginning to suspect there has to be a correlation between heavy
> disk I/O and heavy network I/O (my initial crashes occured when someone
> was making a large backup over SMB to the server, at about 9M/s disk
> activity) in order to get the crashes.

 I had a similar simptom when I tried to backup a huge chunk of files
(about 30GB) over NFS.  The box panic seems to panic at random but it always
crashed at the same point.

> Dec 13 19:28:57 gm0 /kernel: Fatal trap 12: page fault while in kernel mode
> Dec 13 19:28:57 gm0 /kernel: fault virtual address  = 0x3a
> Dec 13 19:28:57 gm0 /kernel: fault code = supervisor write, page not
> present
> Dec 13 19:28:57 gm0 /kernel: instruction pointer= 0x8:0xc02d1c56
> Dec 13 19:28:57 gm0 /kernel: stack pointer  = 0x10:0xc03a5974
> Dec 13 19:28:57 gm0 /kernel: frame pointer  = 0x10:0xc03a5a14
> Dec 13 19:28:57 gm0 /kernel: code segment   = base 0x0, limit
> 0xf, type 0x1b
> Dec 13 19:28:57 gm0 /kernel: = DPL 0, pres 1, def32 1, gran 1
> Dec 13 19:28:57 gm0 /kernel: processor eflags   = interrupt enabled, resume,
> IOPL = 0
> Dec 13 19:28:57 gm0 /kernel: current process= Idle
> Dec 13 19:28:57 gm0 /kernel: interrupt mask = net tty
> Dec 13 19:28:57 gm0 /kernel: trap number= 12
> Dec 13 19:28:57 gm0 /kernel: panic: page fault

  I checked the disk, I check the source.  I tried both 4.4-RELEASE kernel
and 4.4-STABLE.  Same result.
  In a desperate search I changed the NIC from on-baord rl  to vr card  and voila! it's
gone!
  It seems that rl crashes when the throughput passes 20MBps or 20% of
theoretical max.
  Well, the source says rl sucks as follows.

/*
 * The RealTek 8139 PCI NIC redefines the meaning of 'low end.' This is
 * probably the worst PCI ethernet controller ever made, with the possible
 * exception of the FEAST chip made by SMC. The 8139 supports bus-master
 * DMA, but it has a terrible interface that nullifies any performance
 * gains that bus-master DMA usually offers.
 * [snip]
 */

  So I said no wonder but I still hate to see the panic in the middle of
large file transfer and long fsck to come.  You should rather choke the
throughput instead

Dan the Man with too Many NICs to deal with

--
_  Dan Kogai
  __/    CEO, DAN co. ltd.
 /__ /-+-/  2-8-14-418 Shiomi Koto-ku Tokyo 135-0052 Japan
   /--/--- mailto: [EMAIL PROTECTED] / http://www.dan.co.jp/ -
__/  /Tel:+81 3-5665-6131   Fax:+81 3-5665-6132
 PGP Key: http://www.dan.co.jp/‾dankogai/dankogai.pgp.asc



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-stable" in the body of the message


Re: 4.4-STABLE crashes - suspects new ata-driver over wd-driver

2001-12-13 Thread Neal

>On Wed, Dec 12, 2001 at 09:44:56PM +0200, Alex Popa wrote:
>
>> disk I/O and heavy network I/O (my initial crashes occured when someone
>> was making a large backup over SMB to the server, at about 9M/s disk
>
>I can't really offer any sort of useful help on any part of this
>problem, except for this:
>
>Quick poll:  How many of you with this problem are running samba?
>
>-- 
>Bob <[EMAIL PROTECTED]> | Please don't spill hot things on Bob.
>
>To Unsubscribe: send mail to [EMAIL PROTECTED]
>with "unsubscribe freebsd-stable" in the body of the message
>

I'm not running Samba and I get the freeze then reboot problem. I do have 
Netatalk running mind you but it's rarely used. The problem only ever 
happens under disc load when I do a 'portsdb -Uu' command.

I never used to get the problem but I can't quite recall when it started. 
It was definately after upgrading to 4.4 and to UDMA-100.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-stable" in the body of the message



Re: route add - ??

2001-12-13 Thread Doug White

On Wed, 12 Dec 2001 [EMAIL PROTECTED] wrote:

> netstat -r

Could you use 'netstat -rn' instead of just -r? The names aren't too
useful when they get chopped off.

> 
> Destination   Gateway FlagsRefsUse  Netif Expire
> default   gateway-38  UGSc 59  0ep0
> localhost localhost   UH   1  713   lo0
> 147.11.38/24  link#6  UC   1   0ep0
> gateway-380:0:c:7:ac:26 UHLW   58  0ep0575
>
> Now I do
> 
> route add -net 192.103.54.0 64.81.55.1

It's usually customary to specify a netmask with -net, although not
required.  You can use CIDR net/mask syntax if you like. Is a /24 what you
want?


Doug White|  FreeBSD: The Power to Serve
[EMAIL PROTECTED] |  www.FreeBSD.org


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-stable" in the body of the message



Re: Installing over nfs

2001-12-13 Thread Wency Arzadon

> If memory serves me right, Wency Arzadon wrote:
> 
> > I've been installing freebsd44 with source tree I downloaded.
> > 
> > I know the files are compress and tar.. My question is I'm trying to 
> > modify the source that gets installed especially src/etc/* files. I know
> > this can be many ways, and i tried modifying src/setc.aa setc.inf, along
> > with the files in ..src/etc, but its not working. 
> > I'm using boot floppies, kernel, mfsroot, install.cfg, but its not
> > installing the files i want, any pointers.
> 
> First, this question belongs on freebsd-questions, not freebsd-stable.

Thanks, like i said i'm new to this mailing list and OS.

> 
> If you're installing FreeBSD on a new machine, the files from the src 
> distribution are only needed or used if you want to recompile some part 
> of FreeBSD later.  But they're not really a necessary part of getting 
> the machine running, in the same way that the bin distribution is.
> 
> I suggest that you take a look at the Installation chapter of the 
> FreeBSD handbook, which can be found on the FreeBSD Web site:
> 
> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install.html
> 
> If you have any questions after that, you can send them to
> [EMAIL PROTECTED], but you'll need to be much more specific
> as to what you're trying to do and how.  Saying "it doesn't install"
> doesn't give people enough information to help you.
> 
> Good luck,
> 
> Bruce.

Thanks for responding so quickly.

Wency

> 
> 



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-stable" in the body of the message



Re: Installing over nfs

2001-12-13 Thread Bruce A. Mah

If memory serves me right, Wency Arzadon wrote:

> I've been installing freebsd44 with source tree I downloaded.
> 
> I know the files are compress and tar.. My question is I'm trying to 
> modify the source that gets installed especially src/etc/* files. I know
> this can be many ways, and i tried modifying src/setc.aa setc.inf, along
> with the files in ..src/etc, but its not working. 
> I'm using boot floppies, kernel, mfsroot, install.cfg, but its not
> installing the files i want, any pointers.

First, this question belongs on freebsd-questions, not freebsd-stable.

If you're installing FreeBSD on a new machine, the files from the src 
distribution are only needed or used if you want to recompile some part 
of FreeBSD later.  But they're not really a necessary part of getting 
the machine running, in the same way that the bin distribution is.

I suggest that you take a look at the Installation chapter of the 
FreeBSD handbook, which can be found on the FreeBSD Web site:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install.html

If you have any questions after that, you can send them to
[EMAIL PROTECTED], but you'll need to be much more specific
as to what you're trying to do and how.  Saying "it doesn't install"
doesn't give people enough information to help you.

Good luck,

Bruce.





msg38413/pgp0.pgp
Description: PGP signature


subscribe

2001-12-13 Thread Daniel Lang


subscribe

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-stable" in the body of the message



[no subject]

2001-12-13 Thread Daniel Lang



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-stable" in the body of the message



Installing over nfs

2001-12-13 Thread Wency Arzadon

Hi All,

I'm sort of new to freebsd...and to this mailing list.

I've been installing freebsd44 with source tree I downloaded.

I know the files are compress and tar.. My question is I'm trying to 
modify the source that gets installed especially src/etc/* files. I know
this can be many ways, and i tried modifying src/setc.aa setc.inf, along
with the files in ..src/etc, but its not working. 
I'm using boot floppies, kernel, mfsroot, install.cfg, but its not
installing the files i want, any pointers.

Sorry for long email.

.../4.4-RELEASE> ls
ERRATA.HTM  RELNOTES.HTMcompat21docbook.css ports
ERRATA.TXT  RELNOTES.TXTcompat22filename.txtproflibs
HARDWARE.HTMXF86336 compat3xfloppiessrc
HARDWARE.TXTbin compat4xgames   src.org.bak
INSTALL.HTM catpagescrypto  infostable-supfile
INSTALL.TXT cdrom.inf   dictkernel  supfile.cvsup
README.HTM  compat1xdistfiles   manpages
README.TXT  compat20doc packages

Wency


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-stable" in the body of the message



HEADS UP! GENERIC/Kernel configs using maxusers of 0 will autosize but require new config binary.

2001-12-13 Thread Matthew Dillon

The simplified version of the maxusers auto-sizing has been MFCd but
people need to be aware that to use it you need to update your kernel
source AND recompile /usr/src/usr.sbin/config.  If you use an old config
with a kernel conf specifying a maxusers of 0 you will get a warning and
maxusers will be forced to 8 by the old config binary.

-Matt
Matthew Dillon 
<[EMAIL PROTECTED]>

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-stable" in the body of the message