Subject: RE: kern/13244: ThunderLAN (tl) fails on DeskPro 4000M 5233MMX
To: 'Manuel Bouyer' <bouyer@antioche.lip6.fr>
From: Mine Sakiyama <msakiyam@nortelnetworks.com>
List: port-i386
Date: 02/12/2002 11:08:40
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C1B3F8.AEB5B5D0
Content-Type: text/plain;
	charset="iso-8859-1"

Thanks for the reply, I have done ifconfig tl0 media 10BaseT instance 1, and
still it has no connection. Below is the dmesg and ifconfig results for more
details. tl0 is connected to 10BaseT switch and tl0 has to be running at
10BaseT, so I am though of stuck here. 
Thanks
# ifconfig tl0 media 10BaseT instance 1
# ifconfig tl0
tl0: flags=8863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        address: 00:08:c7:40:82:5b
        media: Ethernet 10baseT instance 1 (10baseT)
        status: no carrier
        inet 10.0.0.1 netmask 0xff000000 broadcast 10.255.255.255
        inet6 fe80::208:c7ff:fe40:825b%tl0 prefixlen 64 scopeid 0x2
# dmesg
NetBSD 1.5.2 (GENERIC) #3: Sat Aug 18 23:37:05 CEST 2001
    he@hamster.urc.uninett.no:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel Pentium II (Klamath) (686-class), 266.46 MHz
total memory = 65152 KB
avail memory = 55108 KB
using 840 buffers containing 3360 KB of memory
BIOS32 rev. 0 found at 0xed000
mainbus0 (root)
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled
pchb0 at pci0 dev 0 function 0
pchb0: Intel 82443LX PCI AGP Controller (PAC) (rev. 0x03)
ppb0 at pci0 dev 1 function 0: Intel 82443LX AGP Interface (PAC) (rev. 0x03)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
vga1 at pci1 dev 0 function 0: Matrox MGA Millennium II 2164WA-B AG (rev.
0x00)
wsdisplay0 at vga1: console (80x25, vt100 emulation)
ex0 at pci0 dev 13 function 0: 3Com 3c905-TX 10/100 Ethernet (rev. 0x0)
ex0: interrupting at irq 11
ex0: MAC address 00:60:08:a5:fb:e7
nsphy0 at ex0 phy 24: DP83840 10/100 media interface, rev. 1
nsphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
ahc1 at pci0 dev 15 function 0
ahc1: interrupting at irq 11
ahc1: Using left over BIOS settings
ahc1: aic7860 Single Channel A, SCSI Id=7, 3/255 SCBs
scsibus0 at ahc1 channel 0: 8 targets, 8 luns per target
tl0 at pci0 dev 16 function 0
tl0: Compaq Deskpro 4000 5233MMX
tl0: Ethernet address 00:08:c7:40:82:5b
tl0: interrupting at irq 11
lxtphy0 at tl0 phy 1: LXT970 10/100 media interface, rev. 0
lxtphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
tlphy0 at tl0 phy 31: ThunderLAN 10baseT media interface, rev. 6
tlphy0: 10base5, 10baseT, 10baseT-FDX, auto
pcib0 at pci0 dev 20 function 0
pcib0: Intel 82371AB PCI-to-ISA Bridge (PIIX4) (rev. 0x01)
pciide0 at pci0 dev 20 function 1: Intel 82371AB IDE controller (PIIX4)
(rev. 0x01)
pciide0: bus-master DMA support present
pciide0: primary channel wired to compatibility mode
pciide0: disabling primary channel (no drives)
pciide0: secondary channel wired to compatibility mode
atapibus0 at pciide0 channel 1
cd0 at atapibus0 drive 0: <HITACHI CDR-8235, , 0004> type 5 cdrom removable
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 1
pciide0: secondary channel interrupting at irq 15
cd0(pciide0:1:0): using PIO mode 0, DMA mode 1 (using DMA data transfers)
uhci0 at pci0 dev 20 function 2: Intel 82371AB USB Host Controller (PIIX4)
(rev. 0x01)
uhci0: interrupting at irq 11
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
Intel 82371AB Power Management Controller (PIIX4) (miscellaneous bridge,
revision 0x01) at pci0 dev 20 function 3 not configured
isa0 at pcib0
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
pckbc0 at isa0 port 0x60-0x64
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
lpt0 at isa0 port 0x378-0x37b irq 7
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
sysbeep0 at pcppi0
isapnp0 at isa0 port 0x279: ISA Plug 'n Play device support
npx0 at isa0 port 0xf0-0xff: using exception 16
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
isapnp0: read port 0x203
isapnp0: <ESS ES1869 Plug and Play AudioD, ESS0006, , > port 0x800/8 not
configured
ess0 at isapnp0 port 0x220/16,0x388/4,0x330/2 irq 5 drq 1,0
ess0:: ESS Technology ES1869 [version 0x688b]
ess0: audio1 interrupting at irq 5
audio0 at ess0: half duplex, mmap, independent
opl0 at ess0: model OPL3
midi1 at opl0: ESS Yamaha OPL3
biomask ef45 netmask ef45 ttymask ffc7
scsibus0: waiting 2 seconds for devices to settle...
ahc1: target 0 synchronous at 10.0MHz, offset = 0xf
ahc1: target 0 using tagged queuing
sd0 at scsibus0 target 0 lun 0: <COMPAQPC, VIKING 4.5 NSE, 8807> SCSI2
0/direct fixed
sd0: 4094 MB, 6144 cyl, 8 head, 170 sec, 512 bytes/sect x 8386000 sectors
boot device: sd0
root on sd0a dumps on sd0b
root file system type: ffs
wsdisplay0: screen 1 added (80x25, vt100 emulation)
wsdisplay0: screen 2 added (80x25, vt100 emulation)
wsdisplay0: screen 3 added (80x25, vt100 emulation)
wsdisplay0: screen 4 added (80x25, vt100 emulation)
wsmux1: connecting to wsdisplay0
#

#
-----Original Message-----
From: Manuel Bouyer [mailto:bouyer@antioche.lip6.fr]
Sent: Tuesday, February 12, 2002 8:27 AM
To: Sakiyama, Mine [SC8:5932:EXCH]
Cc: 'port-i386@netbsd.org'
Subject: Re: kern/13244: ThunderLAN (tl) fails on DeskPro 4000M 5233MMX


On Mon, Feb 11, 2002 at 02:46:18PM -0800, Mine Sakiyama wrote:
> Hello.
> 
> I have Compaq Desktop pro 4000 which has NetBSD 1.5.2 installed (connected
> to 10BaseT network)  and I have the exact same proble as described in the
> below string of mail. And I  have no idea hot to apply this fix. Could
> someone let me know how to do it. 
> 
> # uname -a
> NetBSD  1.5.2 NetBSD 1.5.2 (GENERIC) #3: Sat Aug 18 23:37:05 CEST 2001
> he@hamster.urc.uninett.no:/usr/src/sys/arch/i386/compile/GENERIC i386
> #
> 
> Thank you very much. 
> 
> Mine Sakiyama
> Systems Administrator
> Computer Sciences Corporation
> NortelNetworks
> mailto:msakiyam@nortelnetworks.com
> 
> 
> 
> 
> 
> Subject: kern/13244: ThunderLAN (tl) fails on DeskPro 4000M 5233MMX
> To: None <gnats-bugs@gnats.netbsd.org>
> From: Andrew Gillham <gillham@vaultron.com>
> List: netbsd-bugs
> Date: 06/18/2001 22:59:23 
> >Number:         13244
> >Category:       kern
> >Synopsis:       ThunderLAN (tl) fails on DeskPro 4000M 5233MMX
> >Confidential:   no
> >Severity:       serious
> >Priority:       medium
> >Responsible:    kern-bug-people
> >State:          open
> >Class:          sw-bug
> >Submitter-Id:   net
> >Arrival-Date:   Mon Jun 18 23:07:00 PDT 2001
> >Closed-Date:
> >Last-Modified:
> >Originator:     Andrew Gillham
> >Release:        June 17, 2001
> >Organization:
> 	None
> >Environment:
> System: NetBSD flash.vaultron.com 1.5W NetBSD 1.5W (FLASH) #0: Fri Jun 8
> 17:57:45 PDT 2001
> root@flash.vaultron.com:/usr/src/sys/arch/i386/compile/FLASH i386
> 
> 
> >Description:
> 	The 'tl' driver recognizes the onboard ThunderLAN on the Compaq
> 	DeskPro 4000M 5233MMX, but the 'tlphy' incorrectly claims to support
> 	10Base-T, when in fact it should be handled by the 'lxtphy' driver.
> 
> >How-To-Repeat:
> Here is the dmesg for 'tl0' from this system:
> tl0 at pci0 dev 16 function 0
> tl0: Compaq Deskpro 4000 5233MMX
> tl0: Ethernet address 00:80:5f:9d:20:b3
> tl0: interrupting at irq 11
> lxtphy0 at tl0 phy 1: LXT970 10/100 media interface, rev. 0
> lxtphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
> tlphy0 at tl0 phy 31: ThunderLAN 10baseT media interface, rev. 6
> tlphy0: 10base5, 10baseT, 10baseT-FDX, auto
> 
> Notice how both the lxtphy0 and tlphy0 drivers claim to support 10baseT?
> Well the UTP port is only wired to the lxtphy0, so it breaks if you try
> to use 10Mbit/s mode.  This works ok at 100BaseTX though.
> 
> >Fix:
> With this simple patch the tlphy0 correctly claims to only support
10base5,
> and the lxtphy0 is able to do autonegotiation and support 10base-T also.
> It is believed that all Deskpro 4000 systems (4000 and 4000M) are 10/100
> capable and need this patch.  The man page for 'tl' claims the 4000 is
> untested so this should not break any known working systems.
> 
> dmesg with patch:
> tl0 at pci0 dev 16 function 0
> tl0: Compaq Deskpro 4000 5233MMX
> tl0: Ethernet address 00:80:5f:9d:20:b3
> tl0: interrupting at irq 11
> lxtphy0 at tl0 phy 1: LXT970 10/100 media interface, rev. 0
> lxtphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
> tlphy0 at tl0 phy 31: ThunderLAN 10baseT media interface, rev. 6
> tlphy0: 10base5
> 
> Patch:
> It might also be appropriate to change the "Deskpro 4000" listed to
> "Deskpro 4000M" or perhaps "Deskpro 4000 or 4000M", etc.

This is fixed in -current and on the 1.5 branch.
If you can't switch to the 1.5.3_ALPHA snapshot, you can use:
ifconfig tl0 media 10baseT instance 1
(you can also use this in sysinst's "media options" form).

--
Manuel Bouyer, LIP6, Universite Paris VI.           Manuel.Bouyer@lip6.fr
--

------_=_NextPart_001_01C1B3F8.AEB5B5D0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2654.89">
<TITLE>RE: kern/13244: ThunderLAN (tl) fails on DeskPro 4000M =
5233MMX</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=3D2>Thanks for the reply, I have done ifconfig tl0 media =
10BaseT instance 1, and still it has no connection. Below is the dmesg =
and ifconfig results for more details. tl0 is connected to 10BaseT =
switch and tl0 has to be running at 10BaseT, so I am though of stuck =
here. </FONT></P>

<P><FONT SIZE=3D2>Thanks</FONT>
<BR><FONT SIZE=3D2># ifconfig tl0 media 10BaseT instance 1</FONT>
<BR><FONT SIZE=3D2># ifconfig tl0</FONT>
<BR><FONT SIZE=3D2>tl0: =
flags=3D8863&lt;UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST&gt; =
mtu 1500</FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; address: =
00:08:c7:40:82:5b</FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; media: =
Ethernet 10baseT instance 1 (10baseT)</FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; status: =
no carrier</FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; inet =
10.0.0.1 netmask 0xff000000 broadcast 10.255.255.255</FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; inet6 =
fe80::208:c7ff:fe40:825b%tl0 prefixlen 64 scopeid 0x2</FONT>
<BR><FONT SIZE=3D2># dmesg</FONT>
<BR><FONT SIZE=3D2>NetBSD 1.5.2 (GENERIC) #3: Sat Aug 18 23:37:05 CEST =
2001</FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp; =
he@hamster.urc.uninett.no:/usr/src/sys/arch/i386/compile/GENERIC</FONT>
<BR><FONT SIZE=3D2>cpu0: Intel Pentium II (Klamath) (686-class), 266.46 =
MHz</FONT>
<BR><FONT SIZE=3D2>total memory =3D 65152 KB</FONT>
<BR><FONT SIZE=3D2>avail memory =3D 55108 KB</FONT>
<BR><FONT SIZE=3D2>using 840 buffers containing 3360 KB of =
memory</FONT>
<BR><FONT SIZE=3D2>BIOS32 rev. 0 found at 0xed000</FONT>
<BR><FONT SIZE=3D2>mainbus0 (root)</FONT>
<BR><FONT SIZE=3D2>pci0 at mainbus0 bus 0: configuration mode 1</FONT>
<BR><FONT SIZE=3D2>pci0: i/o space, memory space enabled</FONT>
<BR><FONT SIZE=3D2>pchb0 at pci0 dev 0 function 0</FONT>
<BR><FONT SIZE=3D2>pchb0: Intel 82443LX PCI AGP Controller (PAC) (rev. =
0x03)</FONT>
<BR><FONT SIZE=3D2>ppb0 at pci0 dev 1 function 0: Intel 82443LX AGP =
Interface (PAC) (rev. 0x03)</FONT>
<BR><FONT SIZE=3D2>pci1 at ppb0 bus 1</FONT>
<BR><FONT SIZE=3D2>pci1: i/o space, memory space enabled</FONT>
<BR><FONT SIZE=3D2>vga1 at pci1 dev 0 function 0: Matrox MGA Millennium =
II 2164WA-B AG (rev. 0x00)</FONT>
<BR><FONT SIZE=3D2>wsdisplay0 at vga1: console (80x25, vt100 =
emulation)</FONT>
<BR><FONT SIZE=3D2>ex0 at pci0 dev 13 function 0: 3Com 3c905-TX 10/100 =
Ethernet (rev. 0x0)</FONT>
<BR><FONT SIZE=3D2>ex0: interrupting at irq 11</FONT>
<BR><FONT SIZE=3D2>ex0: MAC address 00:60:08:a5:fb:e7</FONT>
<BR><FONT SIZE=3D2>nsphy0 at ex0 phy 24: DP83840 10/100 media =
interface, rev. 1</FONT>
<BR><FONT SIZE=3D2>nsphy0: 10baseT, 10baseT-FDX, 100baseTX, =
100baseTX-FDX, auto</FONT>
<BR><FONT SIZE=3D2>ahc1 at pci0 dev 15 function 0</FONT>
<BR><FONT SIZE=3D2>ahc1: interrupting at irq 11</FONT>
<BR><FONT SIZE=3D2>ahc1: Using left over BIOS settings</FONT>
<BR><FONT SIZE=3D2>ahc1: aic7860 Single Channel A, SCSI Id=3D7, 3/255 =
SCBs</FONT>
<BR><FONT SIZE=3D2>scsibus0 at ahc1 channel 0: 8 targets, 8 luns per =
target</FONT>
<BR><FONT SIZE=3D2>tl0 at pci0 dev 16 function 0</FONT>
<BR><FONT SIZE=3D2>tl0: Compaq Deskpro 4000 5233MMX</FONT>
<BR><FONT SIZE=3D2>tl0: Ethernet address 00:08:c7:40:82:5b</FONT>
<BR><FONT SIZE=3D2>tl0: interrupting at irq 11</FONT>
<BR><FONT SIZE=3D2>lxtphy0 at tl0 phy 1: LXT970 10/100 media interface, =
rev. 0</FONT>
<BR><FONT SIZE=3D2>lxtphy0: 10baseT, 10baseT-FDX, 100baseTX, =
100baseTX-FDX, auto</FONT>
<BR><FONT SIZE=3D2>tlphy0 at tl0 phy 31: ThunderLAN 10baseT media =
interface, rev. 6</FONT>
<BR><FONT SIZE=3D2>tlphy0: 10base5, 10baseT, 10baseT-FDX, auto</FONT>
<BR><FONT SIZE=3D2>pcib0 at pci0 dev 20 function 0</FONT>
<BR><FONT SIZE=3D2>pcib0: Intel 82371AB PCI-to-ISA Bridge (PIIX4) (rev. =
0x01)</FONT>
<BR><FONT SIZE=3D2>pciide0 at pci0 dev 20 function 1: Intel 82371AB IDE =
controller (PIIX4) (rev. 0x01)</FONT>
<BR><FONT SIZE=3D2>pciide0: bus-master DMA support present</FONT>
<BR><FONT SIZE=3D2>pciide0: primary channel wired to compatibility =
mode</FONT>
<BR><FONT SIZE=3D2>pciide0: disabling primary channel (no =
drives)</FONT>
<BR><FONT SIZE=3D2>pciide0: secondary channel wired to compatibility =
mode</FONT>
<BR><FONT SIZE=3D2>atapibus0 at pciide0 channel 1</FONT>
<BR><FONT SIZE=3D2>cd0 at atapibus0 drive 0: &lt;HITACHI CDR-8235, , =
0004&gt; type 5 cdrom removable</FONT>
<BR><FONT SIZE=3D2>cd0: 32-bit data port</FONT>
<BR><FONT SIZE=3D2>cd0: drive supports PIO mode 4, DMA mode 1</FONT>
<BR><FONT SIZE=3D2>pciide0: secondary channel interrupting at irq =
15</FONT>
<BR><FONT SIZE=3D2>cd0(pciide0:1:0): using PIO mode 0, DMA mode 1 =
(using DMA data transfers)</FONT>
<BR><FONT SIZE=3D2>uhci0 at pci0 dev 20 function 2: Intel 82371AB USB =
Host Controller (PIIX4) (rev. 0x01)</FONT>
<BR><FONT SIZE=3D2>uhci0: interrupting at irq 11</FONT>
<BR><FONT SIZE=3D2>usb0 at uhci0: USB revision 1.0</FONT>
<BR><FONT SIZE=3D2>uhub0 at usb0</FONT>
<BR><FONT SIZE=3D2>uhub0: Intel UHCI root hub, class 9/0, rev =
1.00/1.00, addr 1</FONT>
<BR><FONT SIZE=3D2>uhub0: 2 ports with 2 removable, self powered</FONT>
<BR><FONT SIZE=3D2>Intel 82371AB Power Management Controller (PIIX4) =
(miscellaneous bridge, revision 0x01) at pci0 dev 20 function 3 not =
configured</FONT></P>

<P><FONT SIZE=3D2>isa0 at pcib0</FONT>
<BR><FONT SIZE=3D2>com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, =
working fifo</FONT>
<BR><FONT SIZE=3D2>com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, =
working fifo</FONT>
<BR><FONT SIZE=3D2>pckbc0 at isa0 port 0x60-0x64</FONT>
<BR><FONT SIZE=3D2>pckbd0 at pckbc0 (kbd slot)</FONT>
<BR><FONT SIZE=3D2>pckbc0: using irq 1 for kbd slot</FONT>
<BR><FONT SIZE=3D2>wskbd0 at pckbd0: console keyboard, using =
wsdisplay0</FONT>
<BR><FONT SIZE=3D2>pms0 at pckbc0 (aux slot)</FONT>
<BR><FONT SIZE=3D2>pckbc0: using irq 12 for aux slot</FONT>
<BR><FONT SIZE=3D2>wsmouse0 at pms0 mux 0</FONT>
<BR><FONT SIZE=3D2>lpt0 at isa0 port 0x378-0x37b irq 7</FONT>
<BR><FONT SIZE=3D2>pcppi0 at isa0 port 0x61</FONT>
<BR><FONT SIZE=3D2>midi0 at pcppi0: PC speaker</FONT>
<BR><FONT SIZE=3D2>sysbeep0 at pcppi0</FONT>
<BR><FONT SIZE=3D2>isapnp0 at isa0 port 0x279: ISA Plug 'n Play device =
support</FONT>
<BR><FONT SIZE=3D2>npx0 at isa0 port 0xf0-0xff: using exception =
16</FONT>
<BR><FONT SIZE=3D2>fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2</FONT>
<BR><FONT SIZE=3D2>fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 =
sec</FONT>
<BR><FONT SIZE=3D2>isapnp0: read port 0x203</FONT>
<BR><FONT SIZE=3D2>isapnp0: &lt;ESS ES1869 Plug and Play AudioD, =
ESS0006, , &gt; port 0x800/8 not configured</FONT>
<BR><FONT SIZE=3D2>ess0 at isapnp0 port 0x220/16,0x388/4,0x330/2 irq 5 =
drq 1,0</FONT>
<BR><FONT SIZE=3D2>ess0:: ESS Technology ES1869 [version 0x688b]</FONT>
<BR><FONT SIZE=3D2>ess0: audio1 interrupting at irq 5</FONT>
<BR><FONT SIZE=3D2>audio0 at ess0: half duplex, mmap, =
independent</FONT>
<BR><FONT SIZE=3D2>opl0 at ess0: model OPL3</FONT>
<BR><FONT SIZE=3D2>midi1 at opl0: ESS Yamaha OPL3</FONT>
<BR><FONT SIZE=3D2>biomask ef45 netmask ef45 ttymask ffc7</FONT>
<BR><FONT SIZE=3D2>scsibus0: waiting 2 seconds for devices to =
settle...</FONT>
<BR><FONT SIZE=3D2>ahc1: target 0 synchronous at 10.0MHz, offset =3D =
0xf</FONT>
<BR><FONT SIZE=3D2>ahc1: target 0 using tagged queuing</FONT>
<BR><FONT SIZE=3D2>sd0 at scsibus0 target 0 lun 0: &lt;COMPAQPC, VIKING =
4.5 NSE, 8807&gt; SCSI2 0/direct fixed</FONT>
<BR><FONT SIZE=3D2>sd0: 4094 MB, 6144 cyl, 8 head, 170 sec, 512 =
bytes/sect x 8386000 sectors</FONT>
<BR><FONT SIZE=3D2>boot device: sd0</FONT>
<BR><FONT SIZE=3D2>root on sd0a dumps on sd0b</FONT>
<BR><FONT SIZE=3D2>root file system type: ffs</FONT>
<BR><FONT SIZE=3D2>wsdisplay0: screen 1 added (80x25, vt100 =
emulation)</FONT>
<BR><FONT SIZE=3D2>wsdisplay0: screen 2 added (80x25, vt100 =
emulation)</FONT>
<BR><FONT SIZE=3D2>wsdisplay0: screen 3 added (80x25, vt100 =
emulation)</FONT>
<BR><FONT SIZE=3D2>wsdisplay0: screen 4 added (80x25, vt100 =
emulation)</FONT>
<BR><FONT SIZE=3D2>wsmux1: connecting to wsdisplay0</FONT>
<BR><FONT SIZE=3D2>#</FONT>
</P>

<P><FONT SIZE=3D2>#</FONT>
<BR><FONT SIZE=3D2>-----Original Message-----</FONT>
<BR><FONT SIZE=3D2>From: Manuel Bouyer [<A =
HREF=3D"mailto:bouyer@antioche.lip6.fr">mailto:bouyer@antioche.lip6.fr</=
A>]</FONT>
<BR><FONT SIZE=3D2>Sent: Tuesday, February 12, 2002 8:27 AM</FONT>
<BR><FONT SIZE=3D2>To: Sakiyama, Mine [SC8:5932:EXCH]</FONT>
<BR><FONT SIZE=3D2>Cc: 'port-i386@netbsd.org'</FONT>
<BR><FONT SIZE=3D2>Subject: Re: kern/13244: ThunderLAN (tl) fails on =
DeskPro 4000M 5233MMX</FONT>
</P>
<BR>

<P><FONT SIZE=3D2>On Mon, Feb 11, 2002 at 02:46:18PM -0800, Mine =
Sakiyama wrote:</FONT>
<BR><FONT SIZE=3D2>&gt; Hello.</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; I have Compaq Desktop pro 4000 which has NetBSD =
1.5.2 installed (connected</FONT>
<BR><FONT SIZE=3D2>&gt; to 10BaseT network)&nbsp; and I have the exact =
same proble as described in the</FONT>
<BR><FONT SIZE=3D2>&gt; below string of mail. And I&nbsp; have no idea =
hot to apply this fix. Could</FONT>
<BR><FONT SIZE=3D2>&gt; someone let me know how to do it. </FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; # uname -a</FONT>
<BR><FONT SIZE=3D2>&gt; NetBSD&nbsp; 1.5.2 NetBSD 1.5.2 (GENERIC) #3: =
Sat Aug 18 23:37:05 CEST 2001</FONT>
<BR><FONT SIZE=3D2>&gt; =
he@hamster.urc.uninett.no:/usr/src/sys/arch/i386/compile/GENERIC =
i386</FONT>
<BR><FONT SIZE=3D2>&gt; #</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; Thank you very much. </FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; Mine Sakiyama</FONT>
<BR><FONT SIZE=3D2>&gt; Systems Administrator</FONT>
<BR><FONT SIZE=3D2>&gt; Computer Sciences Corporation</FONT>
<BR><FONT SIZE=3D2>&gt; NortelNetworks</FONT>
<BR><FONT SIZE=3D2>&gt; <A =
HREF=3D"mailto:msakiyam@nortelnetworks.com">mailto:msakiyam@nortelnetwor=
ks.com</A></FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; Subject: kern/13244: ThunderLAN (tl) fails on =
DeskPro 4000M 5233MMX</FONT>
<BR><FONT SIZE=3D2>&gt; To: None =
&lt;gnats-bugs@gnats.netbsd.org&gt;</FONT>
<BR><FONT SIZE=3D2>&gt; From: Andrew Gillham =
&lt;gillham@vaultron.com&gt;</FONT>
<BR><FONT SIZE=3D2>&gt; List: netbsd-bugs</FONT>
<BR><FONT SIZE=3D2>&gt; Date: 06/18/2001 22:59:23 </FONT>
<BR><FONT SIZE=3D2>&gt; =
&gt;Number:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
13244</FONT>
<BR><FONT SIZE=3D2>&gt; =
&gt;Category:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; kern</FONT>
<BR><FONT SIZE=3D2>&gt; =
&gt;Synopsis:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ThunderLAN (tl) fails =
on DeskPro 4000M 5233MMX</FONT>
<BR><FONT SIZE=3D2>&gt; &gt;Confidential:&nbsp;&nbsp; no</FONT>
<BR><FONT SIZE=3D2>&gt; =
&gt;Severity:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; serious</FONT>
<BR><FONT SIZE=3D2>&gt; =
&gt;Priority:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; medium</FONT>
<BR><FONT SIZE=3D2>&gt; &gt;Responsible:&nbsp;&nbsp;&nbsp; =
kern-bug-people</FONT>
<BR><FONT SIZE=3D2>&gt; =
&gt;State:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
open</FONT>
<BR><FONT SIZE=3D2>&gt; =
&gt;Class:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
sw-bug</FONT>
<BR><FONT SIZE=3D2>&gt; &gt;Submitter-Id:&nbsp;&nbsp; net</FONT>
<BR><FONT SIZE=3D2>&gt; &gt;Arrival-Date:&nbsp;&nbsp; Mon Jun 18 =
23:07:00 PDT 2001</FONT>
<BR><FONT SIZE=3D2>&gt; &gt;Closed-Date:</FONT>
<BR><FONT SIZE=3D2>&gt; &gt;Last-Modified:</FONT>
<BR><FONT SIZE=3D2>&gt; &gt;Originator:&nbsp;&nbsp;&nbsp;&nbsp; Andrew =
Gillham</FONT>
<BR><FONT SIZE=3D2>&gt; =
&gt;Release:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; June 17, =
2001</FONT>
<BR><FONT SIZE=3D2>&gt; &gt;Organization:</FONT>
<BR><FONT SIZE=3D2>&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; None</FONT>
<BR><FONT SIZE=3D2>&gt; &gt;Environment:</FONT>
<BR><FONT SIZE=3D2>&gt; System: NetBSD flash.vaultron.com 1.5W NetBSD =
1.5W (FLASH) #0: Fri Jun 8</FONT>
<BR><FONT SIZE=3D2>&gt; 17:57:45 PDT 2001</FONT>
<BR><FONT SIZE=3D2>&gt; =
root@flash.vaultron.com:/usr/src/sys/arch/i386/compile/FLASH =
i386</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; &gt;Description:</FONT>
<BR><FONT SIZE=3D2>&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; The 'tl' driver =
recognizes the onboard ThunderLAN on the Compaq</FONT>
<BR><FONT SIZE=3D2>&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; DeskPro 4000M =
5233MMX, but the 'tlphy' incorrectly claims to support</FONT>
<BR><FONT SIZE=3D2>&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 10Base-T, when =
in fact it should be handled by the 'lxtphy' driver.</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; &gt;How-To-Repeat:</FONT>
<BR><FONT SIZE=3D2>&gt; Here is the dmesg for 'tl0' from this =
system:</FONT>
<BR><FONT SIZE=3D2>&gt; tl0 at pci0 dev 16 function 0</FONT>
<BR><FONT SIZE=3D2>&gt; tl0: Compaq Deskpro 4000 5233MMX</FONT>
<BR><FONT SIZE=3D2>&gt; tl0: Ethernet address 00:80:5f:9d:20:b3</FONT>
<BR><FONT SIZE=3D2>&gt; tl0: interrupting at irq 11</FONT>
<BR><FONT SIZE=3D2>&gt; lxtphy0 at tl0 phy 1: LXT970 10/100 media =
interface, rev. 0</FONT>
<BR><FONT SIZE=3D2>&gt; lxtphy0: 10baseT, 10baseT-FDX, 100baseTX, =
100baseTX-FDX, auto</FONT>
<BR><FONT SIZE=3D2>&gt; tlphy0 at tl0 phy 31: ThunderLAN 10baseT media =
interface, rev. 6</FONT>
<BR><FONT SIZE=3D2>&gt; tlphy0: 10base5, 10baseT, 10baseT-FDX, =
auto</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; Notice how both the lxtphy0 and tlphy0 drivers =
claim to support 10baseT?</FONT>
<BR><FONT SIZE=3D2>&gt; Well the UTP port is only wired to the lxtphy0, =
so it breaks if you try</FONT>
<BR><FONT SIZE=3D2>&gt; to use 10Mbit/s mode.&nbsp; This works ok at =
100BaseTX though.</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; &gt;Fix:</FONT>
<BR><FONT SIZE=3D2>&gt; With this simple patch the tlphy0 correctly =
claims to only support 10base5,</FONT>
<BR><FONT SIZE=3D2>&gt; and the lxtphy0 is able to do autonegotiation =
and support 10base-T also.</FONT>
<BR><FONT SIZE=3D2>&gt; It is believed that all Deskpro 4000 systems =
(4000 and 4000M) are 10/100</FONT>
<BR><FONT SIZE=3D2>&gt; capable and need this patch.&nbsp; The man page =
for 'tl' claims the 4000 is</FONT>
<BR><FONT SIZE=3D2>&gt; untested so this should not break any known =
working systems.</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; dmesg with patch:</FONT>
<BR><FONT SIZE=3D2>&gt; tl0 at pci0 dev 16 function 0</FONT>
<BR><FONT SIZE=3D2>&gt; tl0: Compaq Deskpro 4000 5233MMX</FONT>
<BR><FONT SIZE=3D2>&gt; tl0: Ethernet address 00:80:5f:9d:20:b3</FONT>
<BR><FONT SIZE=3D2>&gt; tl0: interrupting at irq 11</FONT>
<BR><FONT SIZE=3D2>&gt; lxtphy0 at tl0 phy 1: LXT970 10/100 media =
interface, rev. 0</FONT>
<BR><FONT SIZE=3D2>&gt; lxtphy0: 10baseT, 10baseT-FDX, 100baseTX, =
100baseTX-FDX, auto</FONT>
<BR><FONT SIZE=3D2>&gt; tlphy0 at tl0 phy 31: ThunderLAN 10baseT media =
interface, rev. 6</FONT>
<BR><FONT SIZE=3D2>&gt; tlphy0: 10base5</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; Patch:</FONT>
<BR><FONT SIZE=3D2>&gt; It might also be appropriate to change the =
&quot;Deskpro 4000&quot; listed to</FONT>
<BR><FONT SIZE=3D2>&gt; &quot;Deskpro 4000M&quot; or perhaps =
&quot;Deskpro 4000 or 4000M&quot;, etc.</FONT>
</P>

<P><FONT SIZE=3D2>This is fixed in -current and on the 1.5 =
branch.</FONT>
<BR><FONT SIZE=3D2>If you can't switch to the 1.5.3_ALPHA snapshot, you =
can use:</FONT>
<BR><FONT SIZE=3D2>ifconfig tl0 media 10baseT instance 1</FONT>
<BR><FONT SIZE=3D2>(you can also use this in sysinst's &quot;media =
options&quot; form).</FONT>
</P>

<P><FONT SIZE=3D2>--</FONT>
<BR><FONT SIZE=3D2>Manuel Bouyer, LIP6, Universite Paris =
VI.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
Manuel.Bouyer@lip6.fr</FONT>
<BR><FONT SIZE=3D2>--</FONT>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01C1B3F8.AEB5B5D0--