Re: [hackers] Re: BCM4401 ethernet driver

2003-08-28 Thread Greg 'groggy' Lehey
On Tuesday, 26 August 2003 at 20:31:22 +0100, Duncan Barclay wrote:
>
> On 26-Aug-2003 [EMAIL PROTECTED] wrote:
>> Greetings;
>>
>> Wondering whatever further may have come of this discussion regarding
>> FreeBSD support of the built-in ethernet for the Dell Inspiron 8500 Notebook.
>> Running a dual-boot system with MS Windows XP and FreeBSD 4.8 Release since
>> 5.1
>> wouldn't seem to install, but not even sure how to make use of drivers beyond
>> including their device code in the kernel configuration file, which may just
>> be an issue with this current release.
>
> I fixed the RX problem yesterday. Take a look at
> http://people.freebsd.org/~dmlb/
> and grab the lastest bcm_...tar.gz file. Untar this into /sys
> then
> cd /sys/modules/bcm
> make
> make install
> kldload if_bcm
>
> This driver is for -current only.

OK, I've tried this on my Inspiron 5100, and it works without any
recognizable problems:

  $ time scp wantadilla:/dumpa/echunga/0/src.gz /dev/null
  src.gz 100%   28GB  10.0MB/s   48:41
  real48m41.751s
  user15m41.577s
  sys 4m23.766s

netstat -i shows:

input (bcm0)   output
   packets  errs  bytespackets  errs  bytes colls
  7452 0   11280248   5373 0 361578 0
  7502 0   11358028   5416 0 364512 0
  7435 0   11256590   5366 0 361116 0
  7504 0   11361056   5416 0 364464 0
  7460 0   11292512   5384 0 362352 0
  7500 0   11355000   5412 0 364200 0
  7451 0   11279390   5379 0 362022 0
  7503 0   11358088   5414 0 364332 0
  7417 0   11228874   5359 0 360654 0

I'd say that this cut is good enough to commit to -CURRENT.

Greg
--
See complete headers for address and phone numbers


pgp0.pgp
Description: PGP signature


Re: [hackers] Re: BCM4401 ethernet driver

2003-08-27 Thread Kenneth D. Merry
On Tue, Aug 26, 2003 at 20:31:22 +0100, Duncan Barclay wrote:
> On 26-Aug-2003 [EMAIL PROTECTED] wrote:
> > Greetings;
> > 
> > Wondering whatever further may have come of this discussion regarding
> > FreeBSD support of the built-in ethernet for the Dell Inspiron 8500 Notebook.
> > Running a dual-boot system with MS Windows XP and FreeBSD 4.8 Release since
> > 5.1
> > wouldn't seem to install, but not even sure how to make use of drivers beyond
> > including their device code in the kernel configuration file, which may just
> > be an issue with this current release.
> 
> I fixed the RX problem yesterday. Take a look at
> http://people.freebsd.org/~dmlb/
> and grab the lastest bcm_...tar.gz file. Untar this into /sys
> then
> cd /sys/modules/bcm
> make
> make install
> kldload if_bcm
> 
> This driver is for -current only.
> 
> Once I've done a bit more work on it and committed it, I'll back port to
> -stable.

I'm still having the "bcm0: strange type for core 0x" panic when I
load it as a module.

When I compile it into the kernel, I get a panic on boot.  The stack trace
is:

bcm_ring_rx_eof()
bcm_intr()
ithread_loop()
fork_exit()
fork_trampoline()

The specific place in bcm_ring_rx_eof() it is bailing out is:

(kgdb) list *(bcm_ring_rx_eof+0x62)
0xc019e402 is in bcm_ring_rx_eof (../../../dev/bcm/if_bcm.c:958).
953 struct mbuf *m;
954 struct bcm_rxh  *rxh;
955 int j = 0, len, flags;
956
957 m = scp->desc_rx_bis[con].mbuf;
958 rxh = mtod(m, struct bcm_rxh *);
959 do {
960 /* XXX  DELAY(1); */
961 bus_dmamap_sync(scp->tag_mbuf,
962 scp->desc_rx_bis[con].dmamap,

i.e. the mtod() call there.

At that point the interface hasn't been configured at all...

I've got a Dell 8500 laptop.

Ken
-- 
Kenneth Merry
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: [hackers] Re: BCM4401 ethernet driver

2003-08-26 Thread Duncan Barclay

On 26-Aug-2003 [EMAIL PROTECTED] wrote:
> Greetings;
> 
> Wondering whatever further may have come of this discussion regarding
> FreeBSD support of the built-in ethernet for the Dell Inspiron 8500 Notebook.
> Running a dual-boot system with MS Windows XP and FreeBSD 4.8 Release since
> 5.1
> wouldn't seem to install, but not even sure how to make use of drivers beyond
> including their device code in the kernel configuration file, which may just
> be an issue with this current release.

I fixed the RX problem yesterday. Take a look at
http://people.freebsd.org/~dmlb/
and grab the lastest bcm_...tar.gz file. Untar this into /sys
then
cd /sys/modules/bcm
make
make install
kldload if_bcm

This driver is for -current only.

Once I've done a bit more work on it and committed it, I'll back port to
-stable.

Duncan
 
> Other than that, may also ask if anyone's just managed to get the Motorola
> SB4200 Cable Modem to work through the USB port instead.
> 
> Thank you,
> 
> 
> [freebsd.hackers]
> 
> Subject: Re: [hackers] Re: BCM4401 ethernet driver
> From: [EMAIL PROTECTED] (Tony Meman)
> Newsgroups: freebsd.hackers
> Organization: TAC News Gateway
> Date: Jun 18 2003 02:52:22
> References: 1
> 
> David Gilbert wrote:
>> Duncan> I am in the process of rewriting this driver for FreeBSD. It
>> Duncan> can transmit, but RX is not yet going properly. As this is
>> Duncan> evening work, it's likely to take at elast another week.
>> 
>> 
>>>>This is the onboard ethernet on my dell inspiron 8500 laptop and I
>> 
>> I'm pretty sure this is the chipset on my Dell D800 laptop.  I would
>> be interested in testing the drivers, too.  I'm running 5.1-RELEASE.
>> 
>> Dave.
> 
> This ethernet is onboard on some Asus A7V8X mother boards (VIA KT400
> chipset). I'm running the linux/windows drivers from Broadcom site
> without problems.
> 
> If you need more ppl testing the driver I'd be glad to help. I'm running
> 4.8-STABLE but could upgrade to 5.1-RELEASE if required.
> 
> Regards,
> 
> --
> Tony Meman
> 
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> 
> -- 
> COMPUTERBILD 15/03: Premium-e-mail-Dienste im Test
> --
> 1. GMX TopMail - Platz 1 und Testsieger!
> 2. GMX ProMail - Platz 2 und Preis-Qualitätssieger!
> 3. Arcor - 4. web.de - 5. T-Online - 6. freenet.de - 7. daybyday - 8. e-Post
> 
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> 

-- 

Duncan Barclay  | 
[EMAIL PROTECTED]   | 
[EMAIL PROTECTED]| 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: [hackers] Re: BCM4401 ethernet driver

2003-08-26 Thread dcswest
Greetings;

Wondering whatever further may have come of this discussion regarding
FreeBSD support of the built-in ethernet for the Dell Inspiron 8500 Notebook. 
Running a dual-boot system with MS Windows XP and FreeBSD 4.8 Release since 5.1
wouldn't seem to install, but not even sure how to make use of drivers beyond
including their device code in the kernel configuration file, which may just
be an issue with this current release.

Other than that, may also ask if anyone's just managed to get the Motorola
SB4200 Cable Modem to work through the USB port instead.

Thank you,


[freebsd.hackers]

Subject: Re: [hackers] Re: BCM4401 ethernet driver
From: [EMAIL PROTECTED] (Tony Meman)
Newsgroups: freebsd.hackers
Organization: TAC News Gateway
Date: Jun 18 2003 02:52:22
References: 1

David Gilbert wrote:
> Duncan> I am in the process of rewriting this driver for FreeBSD. It
> Duncan> can transmit, but RX is not yet going properly. As this is
> Duncan> evening work, it's likely to take at elast another week.
> 
> 
>>>This is the onboard ethernet on my dell inspiron 8500 laptop and I
> 
> I'm pretty sure this is the chipset on my Dell D800 laptop.  I would
> be interested in testing the drivers, too.  I'm running 5.1-RELEASE.
> 
> Dave.

This ethernet is onboard on some Asus A7V8X mother boards (VIA KT400
chipset). I'm running the linux/windows drivers from Broadcom site
without problems.

If you need more ppl testing the driver I'd be glad to help. I'm running
4.8-STABLE but could upgrade to 5.1-RELEASE if required.

Regards,

--
Tony Meman

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

-- 
COMPUTERBILD 15/03: Premium-e-mail-Dienste im Test
--
1. GMX TopMail - Platz 1 und Testsieger!
2. GMX ProMail - Platz 2 und Preis-Qualitätssieger!
3. Arcor - 4. web.de - 5. T-Online - 6. freenet.de - 7. daybyday - 8. e-Post

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: [hackers] Re: BCM4401 ethernet driver

2003-06-18 Thread Duncan Barclay

On 18-Jun-2003 David Gilbert wrote:
>> "Duncan" == Duncan Barclay <[EMAIL PROTECTED]> writes:
> 
> Duncan> I am in the process of rewriting this driver for FreeBSD. It
> Duncan> can transmit, but RX is not yet going properly. As this is
> Duncan> evening work, it's likely to take at elast another week.
> 
>>> This is the onboard ethernet on my dell inspiron 8500 laptop and I
> 
> I'm pretty sure this is the chipset on my Dell D800 laptop.  I would
> be interested in testing the drivers, too.  I'm running 5.1-RELEASE.
> 
> Dave.

cool - are you a bit of hacker? If so, you should be able to cope with the
request below, and the explaination. If not, or you don't understand the
stuff below, then maybe the driver is not yet ready
for you (no offence intended).

The driver is not very ready (as I have some problems interrupt problems),
but can transmit. Receive is not working - well not even written. If you can
build

http://people.freebsd.org/~dmlb/bcm.tar.gz

as a module, kldload it and then
ifconfig bcm0 192.168.0.1
ping -c 1 192.168.0.0
and send me the copious dmesg output I would be very grateful.

The mahcine I am developing on has a problem with interrupts. There is a
problem with RX DMA descriptors that I haven't figured out. Sebastian
sent me a log this morning and he has the same interrupt problem as I do.

Thanks

Duncan 

-- 

Duncan Barclay  | 
[EMAIL PROTECTED]   | 
[EMAIL PROTECTED]| 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: [hackers] Re: BCM4401 ethernet driver

2003-06-17 Thread Tony Meman
David Gilbert wrote:
Duncan> I am in the process of rewriting this driver for FreeBSD. It
Duncan> can transmit, but RX is not yet going properly. As this is
Duncan> evening work, it's likely to take at elast another week.

This is the onboard ethernet on my dell inspiron 8500 laptop and I
I'm pretty sure this is the chipset on my Dell D800 laptop.  I would
be interested in testing the drivers, too.  I'm running 5.1-RELEASE.
Dave.
This ethernet is onboard on some Asus A7V8X mother boards (VIA KT400
chipset). I'm running the linux/windows drivers from Broadcom site
without problems.
If you need more ppl testing the driver I'd be glad to help. I'm running
4.8-STABLE but could upgrade to 5.1-RELEASE if required.
Regards,

--
Tony Meman
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


[hackers] Re: BCM4401 ethernet driver

2003-06-17 Thread David Gilbert
> "Duncan" == Duncan Barclay <[EMAIL PROTECTED]> writes:

Duncan> I am in the process of rewriting this driver for FreeBSD. It
Duncan> can transmit, but RX is not yet going properly. As this is
Duncan> evening work, it's likely to take at elast another week.

>> This is the onboard ethernet on my dell inspiron 8500 laptop and I

I'm pretty sure this is the chipset on my Dell D800 laptop.  I would
be interested in testing the drivers, too.  I'm running 5.1-RELEASE.

Dave.

-- 

|David Gilbert, Velocet Communications.   | Two things can only be |
|Mail:   [EMAIL PROTECTED] |  equal if and only if they |
|http://daveg.ca  |   are precisely opposite.  |
=GLO
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"