Re: FreeBSD-5.0 xl0 problem

2003-02-02 Thread Doug Reynolds
On Mon, 27 Jan 2003 03:21:45 -0500, Roman wrote:

>I currently installed FreeBSD-5.0 and having problem configuring xl 
>card. Dmesg shows that kernel picks it up:
>
>xl0: <3Com 3c905B-TX Fast Etherlink XL> port 0xe400-0xe47f mem 
>0xe000-0xe07f irq 11 at device 9.0 on pci0
>xl0: Ethernet address: 00:50:da:7d:f1:c3
>
>after i do "ifconfig xl0 up" it seems like the card shuts down, the 
>link indicator on the hub as well as on the card itself goes blank...
>
>Here is ifconfig before i do anything:
>
>xl0: flags=8802 mtu 1500
> options=3
> ether 00:50:da:7d:f1:c3
> media: Ethernet 100baseTX  (100baseTX 
>)
> status: active
>lp0: flags=8810 mtu 1500
>lo0: flags=8049 mtu 16384
> inet6 ::1 prefixlen 128
> inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
> inet 127.0.0.1 netmask 0xff00
>
>ifconfig after "ifconfig xl0 up":
>
>  xl0: flags=8843 mtu 1500
> options=3
> inet6 fe80::250:daff:fe7d:f1c3%xl0 prefixlen 64 scopeid 0x1
> ether 00:50:da:7d:f1:c3
> media: Ethernet 100baseTX  (none)
>lp0: flags=8810 mtu 1500
>lo0: flags=8049 mtu 16384
> inet6 ::1 prefixlen 128
> inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
> inet 127.0.0.1 netmask 0xff00
>
>
>With 4.7 there is no such problem. Is there is a way to load "old" 
>(4.7) xl driver?
>Thank you.
>roman.

running 5.0-RELEASE without any problems, what does your rc.conf look
like?

xl0: flags=8843 mtu 1500
inet 192.168.1.1 netmask 0xff00 broadcast 192.168.1.255
inet6 fe80::260:8ff:febd:eb7e%xl0 prefixlen 64 scopeid 0x1 
ether 00:60:08:bd:eb:7e
media: Ethernet autoselect (100baseTX )
status: active
xl1: flags=8843 mtu 1500
inet6 fe80::260:8ff:febd:ebbd%xl1 prefixlen 64 scopeid 0x2 
inet  netmask 0xff00 broadcast
255.255.255.255
ether 00:60:08:bd:eb:bd
media: Ethernet autoselect (100baseTX )
status: active
lp0: flags=8810 mtu 1500
lo0: flags=8049 mtu 16384
inet6 ::1 prefixlen 128 
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4 
inet 127.0.0.1 netmask 0xff00 
---
doug reynolds | the maverick | [EMAIL PROTECTED]



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



Re: FreeBSD-5.0 xl0 problem

2003-01-28 Thread Alex

Dear/Beste Roman,

Monday, January 27, 2003, 9:21:45 AM, you wrote:

> I currently installed FreeBSD-5.0 and having problem configuring xl 
> card. Dmesg shows that kernel picks it up:

> xl0: <3Com 3c905B-TX Fast Etherlink XL> port 0xe400-0xe47f mem 
> 0xe000-0xe07f irq 11 at device 9.0 on pci0
> xl0: Ethernet address: 00:50:da:7d:f1:c3

> after i do "ifconfig xl0 up" it seems like the card shuts down, the 
> link indicator on the hub as well as on the card itself goes blank...

> Here is ifconfig before i do anything:

> xl0: flags=8802 mtu 1500
>  options=3
>  ether 00:50:da:7d:f1:c3
>  media: Ethernet 100baseTX  (100baseTX 
> )
>  status: active
> lp0: flags=8810 mtu 1500
> lo0: flags=8049 mtu 16384
>  inet6 ::1 prefixlen 128
>  inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
>  inet 127.0.0.1 netmask 0xff00

> ifconfig after "ifconfig xl0 up":

>   xl0: flags=8843 mtu 1500
>  options=3
>  inet6 fe80::250:daff:fe7d:f1c3%xl0 prefixlen 64 scopeid 0x1
>  ether 00:50:da:7d:f1:c3
>  media: Ethernet 100baseTX  (none)
> lp0: flags=8810 mtu 1500
> lo0: flags=8049 mtu 16384
>  inet6 ::1 prefixlen 128
>  inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
>  inet 127.0.0.1 netmask 0xff00


> With 4.7 there is no such problem. Is there is a way to load "old" 
> (4.7) xl driver?
> Thank you.
> roman.

You could try to take the source files for the xl driver from 4.7 and
put them with the 5.0 source than follow a normal make world (from the
handbook)

There located in /usr/src/sys/modules/xl and /usr/src/sys/pci (if_xl.c
opt_bdg.h device_if.h bus_if.h pci_if.h).

It would be nice if you checked the bugs pages and send a PR if its
missing.

>From Mat:

> I also use 3com's with the xl driver and I have no such issues:
> 
> xl0: <3Com 3c905B-TX Fast Etherlink XL> port 0xe400-0xe47f mem 0xea00-
> 0xea7f irq 12 at device 15.0 on pci0
> xl0: Ethernet address: 00:a0:24:ac:e1:b4
> xl1: <3Com 3c905-TX Fast Etherlink XL> port 0xe800-0xe83f irq 11 at device 
> 17.0 on pci0
> xl1: Ethernet address: 00:60:08:6d:1e:3b
> 
> Both are configured and working first on FreeBSD5.0-RELEASE and now on 5.0-
> CURRENT after I cvsup'd over the weekend.
> 
> The only problems I have seen which I did not see with 4.x-STABLE was the 
> following errors:
> 
> xl1: transmission error: 90
> xl1: tx underrun, increasing tx start threshold to 120 bytes
> 
> This occured as I was transferring a large amount of data over a samba mount, 
> but I have not seen it since and the card is still working normally.

I also got a xl1 card. I got the same errors when i was running 4.5 or
4.4 (i don't remember that well). All was ok when i updated later.

-- 
Best regards/Met vriendelijke groet,
Alex


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



Re: FreeBSD-5.0 xl0 problem

2003-01-27 Thread Matt
> I currently installed FreeBSD-5.0 and having problem configuring xl 
> card. Dmesg shows that kernel picks it up:

*snip*

I also use 3com's with the xl driver and I have no such issues:

xl0: <3Com 3c905B-TX Fast Etherlink XL> port 0xe400-0xe47f mem 0xea00-
0xea7f irq 12 at device 15.0 on pci0
xl0: Ethernet address: 00:a0:24:ac:e1:b4
xl1: <3Com 3c905-TX Fast Etherlink XL> port 0xe800-0xe83f irq 11 at device 
17.0 on pci0
xl1: Ethernet address: 00:60:08:6d:1e:3b

Both are configured and working first on FreeBSD5.0-RELEASE and now on 5.0-
CURRENT after I cvsup'd over the weekend.

The only problems I have seen which I did not see with 4.x-STABLE was the 
following errors:

xl1: transmission error: 90
xl1: tx underrun, increasing tx start threshold to 120 bytes

This occured as I was transferring a large amount of data over a samba mount, 
but I have not seen it since and the card is still working normally.

---
Matt ([EMAIL PROTECTED])
http://www.xtaz.co.uk/
---

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