The driver for hme fails to initialize the build in network adapter, on boot, with the following messages: hme0: <Sun HME 10/100 Ethernet> mem 0x8000-0xffff at device 1.1 on pci0 miibus0: <MII bus> on hme0 nsphy0: <DP83840 10/100 media interface> on miibus0 nsphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto hme0: Ethernet address: 08:00:20:e6:87:de hme0: couldn't establish interrupt there is also this: stray vector interrupt 2029 Which I suspect is related. The device has been tested with a Solaris 9 installation and works fine. I also tested with FreeBSD 6.0 RC1: same fault. Full message log: Oct 31 16:14:05 thor kernel: stray vector interrupt 2029 Oct 31 16:14:05 thor kernel: Copyright (c) 1992-2005 The FreeBSD Project. Oct 31 16:14:05 thor kernel: Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 Oct 31 16:14:05 thor kernel: The Regents of the University of California. All rights reserved. Oct 31 16:14:05 thor kernel: FreeBSD 5.4-RELEASE #0: Sun May 8 22:21:34 UTC 2005 Oct 31 16:14:05 thor kernel: root@binkley.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC Oct 31 16:14:06 thor kernel: real memory = 2147483648 (2048 MB) Oct 31 16:14:06 thor kernel: avail memory = 2082840576 (1986 MB) Oct 31 16:14:06 thor kernel: cpu0: Sun Microsystems UltraSparc-II Processor (400.00 MHz CPU) Oct 31 16:14:06 thor kernel: cpu1: Sun Microsystems UltraSparc-II Processor (400.00 MHz CPU) Oct 31 16:14:06 thor kernel: FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs Oct 31 16:14:06 thor kernel: nexus0: <Open Firmware Nexus device> Oct 31 16:14:06 thor kernel: nexus0: <associations>, type (unknown) (no driver attached) Oct 31 16:14:06 thor kernel: pcib0: <U2P UPA-PCI bridge> on nexus0 Oct 31 16:14:06 thor kernel: pcib0: Psycho, impl 0, version 4, ign 0x7c0, bus B Oct 31 16:14:06 thor kernel: initializing counter-timer Oct 31 16:14:06 thor kernel: Timecounter "counter-timer" frequency 1000000 Hz quality 100 Oct 31 16:14:06 thor kernel: pcib0 dvma: DVMA map: 0xfc000000 to 0xffffffff Oct 31 16:14:06 thor kernel: pci0: <OFW PCI bus> on pcib0 Oct 31 16:14:06 thor kernel: ebus0: <PCI-EBus2 bridge> mem 0x71000000-0x717fffff,0x70000000-0x70ffffff at device 1.0 on pci0 Oct 31 16:14:06 thor kernel: auxio0: <Sun Auxiliary I/O> addr 0x140072f000-0x140072f003,0x140072c000-0x140072c003,0x140072a000-0x140072a003,0x1400728000-0x1400728003,0x1400726000-0x1400726003 on ebus0 Oct 31 16:14:06 thor kernel: ebus0: <power> addr 0x1400724000-0x1400724003 (no driver attached) Oct 31 16:14:06 thor kernel: ebus0: <SUNW,pll> addr 0x1400504000-0x1400504002 (no driver attached) Oct 31 16:14:06 thor kernel: ebus0: <sc> addr 0x1400500000-0x1400500007 (no driver attached) Oct 31 16:14:06 thor kernel: puc0: <Siemens SAB 82532 dual channel SCC> addr 0x1400400000-0x140040007f irq 43 on ebus0 Oct 31 16:14:06 thor kernel: uart0: <SAB 82532 v3.2, channel A> on puc0 Oct 31 16:14:06 thor kernel: uart0: CTS oflow Oct 31 16:14:06 thor kernel: uart0: console (9600,n,8,1) Oct 31 16:14:06 thor kernel: uart1: <SAB 82532 v3.2, channel B> on puc0 Oct 31 16:14:06 thor kernel: uart1: CTS oflow Oct 31 16:14:06 thor kernel: puc1: <Siemens SAB 82532 dual channel SCC> addr 0x1400200000-0x140020007f irq 35 on ebus0 Oct 31 16:14:06 thor kernel: uart2: <SAB 82532 v3.2, channel A> on puc1 Oct 31 16:14:06 thor kernel: uart2: CTS oflow Oct 31 16:14:06 thor kernel: uart3: <SAB 82532 v3.2, channel B> on puc1 Oct 31 16:14:06 thor kernel: uart3: CTS oflow Oct 31 16:14:06 thor kernel: uart4: <16550 or compatible> addr 0x14003083f8-0x14003083ff irq 41 on ebus0 Oct 31 16:14:06 thor kernel: uart5: <16550 or compatible> addr 0x14003062f8-0x14003062ff irq 33 on ebus0 Oct 31 16:14:06 thor kernel: ebus0: <ecpp> addr 0x1400700000-0x140070000f,0x1400300398-0x1400300399,0x14003043bc-0x14003043cb irq 33 (no driver attached) Oct 31 16:14:06 thor kernel: eeprom0: <EEPROM/clock> addr 0x1400000000-0x1400001fff on ebus0 Oct 31 16:14:06 thor kernel: eeprom0: model mk48t59 Oct 31 16:14:06 thor kernel: eeprom0: hostid 80e687de Oct 31 16:14:06 thor kernel: ebus0: <flashprom> addr 0x1000000000-0x10000fffff,0x1000000000-0x10000fffff (no driver attached) Oct 31 16:14:06 thor kernel: ebus0: <SUNW,envctrltwo> addr 0x1400600000-0x1400600003 irq 37,40 (no driver attached) Oct 31 16:14:06 thor kernel: hme0: <Sun HME 10/100 Ethernet> mem 0x8000-0xffff at device 1.1 on pci0 Oct 31 16:14:06 thor kernel: miibus0: <MII bus> on hme0 Oct 31 16:14:06 thor kernel: nsphy0: <DP83840 10/100 media interface> on miibus0 Oct 31 16:14:06 thor kernel: nsphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto Oct 31 16:14:06 thor kernel: hme0: Ethernet address: 08:00:20:e6:87:de Oct 31 16:14:06 thor kernel: hme0: couldn't establish interrupt Oct 31 16:14:06 thor kernel: nsphy0: detached Oct 31 16:14:06 thor kernel: miibus0: detached Oct 31 16:14:06 thor kernel: device_attach: hme0 attach returned 22 Oct 31 16:14:06 thor kernel: sym0: <875> port 0x400-0x4ff mem 0x12000-0x12fff,0x10000-0x100ff at device 3.0 on pci0 Oct 31 16:14:06 thor kernel: sym0: No NVRAM, ID 7, Fast-20, SE, parity checking Oct 31 16:14:06 thor kernel: sym1: <875> port 0x800-0x8ff mem 0x16000-0x16fff,0x14000-0x140ff at device 3.1 on pci0 Oct 31 16:14:06 thor kernel: sym1: No NVRAM, ID 7, Fast-20, SE, parity checking Oct 31 16:14:06 thor kernel: pci0: <display> at device 2.0 (no driver attached) Oct 31 16:14:06 thor kernel: xl0: <3Com 3c905B-TX Fast Etherlink XL> port 0xc00-0xc7f mem 0x1800000-0x180007f at device 5.0 on pci0 Oct 31 16:14:06 thor kernel: miibus0: <MII bus> on xl0 Oct 31 16:14:06 thor kernel: xlphy0: <3Com internal media interface> on miibus0 Oct 31 16:14:06 thor kernel: xlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto Oct 31 16:14:06 thor kernel: xl0: Ethernet address: 00:50:da:79:fb:1f Oct 31 16:14:06 thor kernel: pcib1: <U2P UPA-PCI bridge> on nexus0 Oct 31 16:14:06 thor kernel: pcib1: Psycho, impl 0, version 4, ign 0x7c0, bus A Oct 31 16:14:06 thor kernel: pci1: <OFW PCI bus> on pcib1 Oct 31 16:14:06 thor kernel: gem0: <Sun GEM Gigabit Ethernet Adaptor> mem 0x200000-0x3fffff at device 1.0 on pci1 Oct 31 16:14:06 thor kernel: gem0: phy probe failed: 6 Oct 31 16:14:06 thor kernel: gem0: could not be configured Oct 31 16:14:06 thor kernel: device_attach: gem0 attach returned 6 Oct 31 16:14:06 thor kernel: nexus0: <rsc>, type system-service-processor (no driver attached) Oct 31 16:14:06 thor kernel: nexus0: <mc>, type memory-controller (no driver attached) Oct 31 16:14:06 thor kernel: Timecounters tick every 10.000 msec Oct 31 16:14:06 thor kernel: Waiting 15 seconds for SCSI devices to settle Oct 31 16:14:06 thor kernel: SMP: AP CPU #1 Launched! Oct 31 16:14:06 thor kernel: cd0 at sym0 bus 0 target 6 lun 0 Oct 31 16:14:06 thor kernel: cd0: <TOSHIBA DVD-ROM SD-M1401 1007> Removable CD-ROM SCSI-2 device Oct 31 16:14:06 thor kernel: cd0: 20.000MB/s transfers (20.000MHz, offset 16) Oct 31 16:14:06 thor kernel: cd0: cd present [1025240 x 512 byte records] Oct 31 16:14:06 thor kernel: da0 at sym0 bus 0 target 8 lun 0 Oct 31 16:14:06 thor kernel: da0: <SEAGATE ST336704LSUN36G 0326> Fixed Direct Access SCSI-3 device Oct 31 16:14:06 thor kernel: da0: 40.000MB/s transfers (20.000MHz, offset 16, 16bit), Tagged Queueing Enabled Oct 31 16:14:06 thor kernel: da0: 34732MB (71132959 512 byte sectors: 255H 63S/T 4427C) Oct 31 16:14:06 thor kernel: Mounting root from ufs:/dev/da0a How-To-Repeat: Fresh clean binary install and ever after.
On Mon, Oct 31, 2005 at 04:49:04PM +0000, Simon Rigét wrote: > > >Description: > The driver for hme fails to initialize the build in network adapter, on boot, with the following messages: > > hme0: <Sun HME 10/100 Ethernet> mem 0x8000-0xffff at device 1.1 on pci0 > miibus0: <MII bus> on hme0 > nsphy0: <DP83840 10/100 media interface> on miibus0 > nsphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto > hme0: Ethernet address: 08:00:20:e6:87:de > hme0: couldn't establish interrupt > The underlying problem is an incorrect entry for the second on-board UART in the interrupt map provided by the firmware which further down the road causes hme(4) to fail to attach to the on-board HME. 6.0-RELEASE will contain a hack to work around the problem (already part of RELENG_6 and RELENG_6_0) and a proper solution is being worked on. > there is also this: > > stray vector interrupt 2029 > > Which I suspect is related. That's the interrupt of the second timer embedded in the Host-PCI bridge which is set up by the firmware and typically fires before FreeBSD can disable it. Read: unrelated and harmless. Marius -- This mail was scanned by AntiVir Milter. This product is licensed for non-commercial use. See www.antivir.de for details.
State Changed From-To: open->patched Mark as patched (fixed in sys/sparc64/pci/psycho.c rev. 1.55), assign to me as MFC-reminder.
Responsible Changed From-To: freebsd-sparc64->marius Mark as patched (fixed in sys/sparc64/pci/psycho.c rev. 1.55), assign to me as MFC-reminder.
State Changed From-To: patched->closed Close, fix was MFC'ed to RELENG_6 in sys/sparc64/pci/psycho.c rev. 1.53.2.1 and to RELENG_5 in rev. 1.52.2.2.