Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Mar 2003 14:09:23 +0200
From:      Marian Dobre <mari@onix.ro>
To:        Jake Burkholder <jake@locore.ca>
Cc:        freebsd-sparc <freebsd-sparc@FreeBSD.ORG>
Subject:   Re: Sparc64 and standard PCI devices
Message-ID:  <3E71C673.6050205@onix.ro>
References:  <3E6F9524.30801@onix.ro> <20030312155136.E50948@locore.ca> <3E702867.9090200@onix.ro> <20030313015122.F50948@locore.ca> <3E704319.7090105@onix.ro> <20030313145327.H50948@locore.ca> <3E70F465.7000204@onix.ro> <20030313191049.J50948@locore.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
Hello,

I've recompiled the kernel with your patch and I also removed the rl 
card. Now im getting timeouts on the xl device.

Marian

stray vector interrupt 2029
Copyright (c) 1992-2003 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
	The Regents of the University of California. All rights reserved.
FreeBSD 5.0-CURRENT #7: Fri Mar 14 08:27:09 CET 2003
     root@freebsd.onix.ro:/usr/obj/usr/src/sys/CUSTOM
Preloaded elf kernel "/boot/kernel/kernel" at 0xc0430000.
Timecounter "tick"  frequency 248000000 Hz
cpu0: Sun Microsystems UltraSparc-II Processor (248.00 MHz CPU)
Model: SUNW,Ultra-4
cpu1: Sun Microsystems UltraSparc-II Processor (248.00 MHz CPU)
cpu2: Sun Microsystems UltraSparc-II Processor (248.00 MHz CPU)
cpu3: Sun Microsystems UltraSparc-II Processor (248.00 MHz CPU)
FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
Allocating major#253 to "net"
Allocating major#252 to "pci"
nexus0: <OpenFirmware Nexus device>
nexus0: <associations>, type (unknown) (no driver attached)
pcib0: <U2P UPA-PCI bridge> on nexus0
pcib0: Psycho, impl 0, version 4, ign 0x7c0
initialializing counter-timer
Timecounter "counter-timer"  frequency 1000000 Hz
DVMA map: 0xfe000000 to 0xffffffff
pcib0: intr map (pci) 0: 0x7c0
pcib0: intr map (pci) 1: 0x7c4
pcib0: intr map (pci) 2: 0x7d0
pcib0: intr map (pci) 3: 0x7d4
pcib0: intr map (pci) 4: 0x800007d0
pcib0: intr map (pci) 5: 0x800007d4
pcib0: intr map (pci) 6: 0x7d8
pcib0: intr map (pci) 7: 0x7dc
pcib0: intr map (obio) 0: 0x7e0, clr: 0x1800
pcib0: intr map (obio) 1: 0x7e1, clr: 0x1808
pcib0: intr map (obio) 2: 0x7e2, clr: 0x1810
pcib0: intr map (obio) 3: 0x7e3, clr: 0x1818
pcib0: intr map (obio) 4: 0x7e4, clr: 0x1820
pcib0: intr map (obio) 5: 0x800007e5, clr: 0x1828
pcib0: intr map (obio) 6: 0x7e6, clr: 0x1830
pcib0: intr map (obio) 7: 0x7e7, clr: 0x1838
pcib0: intr map (obio) 8: 0x7e8, clr: 0x1840
pcib0: intr map (obio) 9: 0x7e9, clr: 0x1848
pcib0: intr map (obio) 10: 0x7ea, clr: 0x1850
pcib0: intr map (obio) 11: 0x7eb, clr: 0x1858
psycho at 0/0/0: setting bus #s to 0/0/0
device 0/1/0: latency timer 10 -> 82
pcib0: ofw_pci_init: no interrupt mapping found for 0/1/0 (preset 0)
device 0/1/1: latency timer 10 -> 82
pcib0: ofw_pci_init: mapping intr for 0/1/1 to 33 (preset was 0)
device 0/3/0: latency timer 17 -> 140
pcib0: ofw_pci_init: mapping intr for 0/3/0 to 32 (preset was 0)
device 0/2/0: latency timer 17 -> 140
pcib0: ofw_pci_init: mapping intr for 0/2/0 to 38 (preset was 0)
pci0: <PCI bus> on pcib0
ebus0: revision 0x01
ebus0: <PCI-EBus2 bridge> mem 
0x71000000-0x717fffff,0x70000000-0x70ffffff at device 1.0 on pci0
ebus0: <auxio> addr 
0x140072f000-0x140072f003,0x140072c000-0x140072c003,0x140072a000-0x140072a003,0x1400728000-0x1400728003,0x1400726000-0x1400726003 
(no driver attached)
ebus0: <power> addr 0x1400724000-0x1400724003 irq 2034,2021 (no driver 
attached)
ebus0: <SUNW,pll> addr 0x1400504000-0x1400504002 (no driver attached)
ebus0: <sc> addr 0x1400500000-0x1400500007 (no driver attached)
ebus0: <se> addr 0x1400400000-0x140040007f irq 43 (no driver attached)
ebus0: <su> addr 0x14003083f8-0x14003083ff irq 41 (no driver attached)
ebus0: <su> addr 0x14003062f8-0x14003062ff irq 42 (no driver attached)
ebus0: <ecpp> addr 
0x1400700000-0x140070000f,0x1400300398-0x1400300399,0x14003043bc-0x14003043cb 
irq 2018 (no driver attached)
ebus0: <fdthree> addr 
0x1400720000-0x1400720003,0x1400706000-0x140070600f,0x14003023f0-0x14003023f7 
irq 2023 (no driver attached)
eeprom0: <EBus EEPROM/clock> addr 0x1400000000-0x1400001fff on ebus0
eeprom0: model mk48t59
eeprom0: hostid 8090c976
ebus0: <flashprom> addr 
0x1000000000-0x10000fffff,0x1000000000-0x10000fffff (no driver attached)
ebus0: <SUNW,envctrl> addr 0x1400600000-0x1400600003 irq 2021,2024 (no 
driver attached)
hme0: <Sun HME 10/100 Ethernet> mem 0x8000-0xffff irq 33 at device 1.1 
on pci0
hme0: Ethernet address: 08:00:20:90:c9:76
miibus0: <MII bus> on hme0
nsphy0: <DP83840 10/100 media interface> on miibus0
nsphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
pcib0: psycho_setup_intr: INO 33, map 0x1008, clr 0x1808
sym0: <875> port 0x800-0x8ff mem 0x16000-0x16fff,0x14000-0x140ff irq 38 
at device 2.0 on pci0
sym0: No NVRAM, ID 7, Fast-20, SE, parity checking
pcib0: psycho_setup_intr: INO 38, map 0x1030, clr 0x1830
sym1: <875> port 0x400-0x4ff mem 0x12000-0x12fff,0x10000-0x100ff irq 32 
at device 3.0 on pci0
sym1: No NVRAM, ID 7, Fast-20, SE, parity checking
pcib0: psycho_setup_intr: INO 32, map 0x1000, clr 0x1800
pcib1: <U2P UPA-PCI bridge> on nexus0
pcib1: Psycho, impl 0, version 4, ign 0x7c0
pcib1: intr map (pci) 0: 0x800007c0
pcib1: intr map (pci) 1: 0x800007c4
pcib1: intr map (pci) 2: 0x800007d0
pcib1: intr map (pci) 3: 0x800007d4
pcib1: intr map (pci) 4: 0x800007d0
pcib1: intr map (pci) 5: 0x800007d4
pcib1: intr map (pci) 6: 0x800007d8
pcib1: intr map (pci) 7: 0x7dc
pcib1: intr map (obio) 0: 0x800007e0, clr: 0x1800
pcib1: intr map (obio) 1: 0x800007e1, clr: 0x1808
pcib1: intr map (obio) 2: 0x800007e2, clr: 0x1810
pcib1: intr map (obio) 3: 0x800007e3, clr: 0x1818
pcib1: intr map (obio) 4: 0x800007e4, clr: 0x1820
pcib1: intr map (obio) 5: 0x800007e5, clr: 0x1828
pcib1: intr map (obio) 6: 0x800007e6, clr: 0x1830
pcib1: intr map (obio) 7: 0x800007e7, clr: 0x1838
pcib1: intr map (obio) 8: 0x800007e8, clr: 0x1840
pcib1: intr map (obio) 9: 0x800007e9, clr: 0x1848
pcib1: intr map (obio) 10: 0x800007ea, clr: 0x1850
pcib1: intr map (obio) 11: 0x800007eb, clr: 0x1858
psycho at 128/0/0: setting bus #s to 128/1/1
pci1: <PCI bus> on pcib1
nexus0: <mc>, type memory-controller (no driver attached)
pcib2: <U2P UPA-PCI bridge> on nexus0
pcib2: Psycho, impl 0, version 4, ign 0x100
initialializing counter-timer
Timecounter "counter-timer"  frequency 1000000 Hz
DVMA map: 0xfe000000 to 0xffffffff
pcib2: intr map (pci) 0: 0x100
pcib2: intr map (pci) 1: 0x104
pcib2: intr map (pci) 2: 0x110
pcib2: intr map (pci) 3: 0x114
pcib2: intr map (pci) 4: 0x80000110
pcib2: intr map (pci) 5: 0x80000114
pcib2: intr map (pci) 6: 0x118
pcib2: intr map (pci) 7: 0x11c
pcib2: intr map (obio) 0: 0x120, clr: 0x1800
pcib2: intr map (obio) 1: 0x121, clr: 0x1808
pcib2: intr map (obio) 2: 0x122, clr: 0x1810
pcib2: intr map (obio) 3: 0x123, clr: 0x1818
pcib2: intr map (obio) 4: 0x124, clr: 0x1820
pcib2: intr map (obio) 5: 0x80000125, clr: 0x1828
pcib2: intr map (obio) 6: 0x126, clr: 0x1830
pcib2: intr map (obio) 7: 0x127, clr: 0x1838
pcib2: intr map (obio) 8: 0x128, clr: 0x1840
pcib2: intr map (obio) 9: 0x129, clr: 0x1848
pcib2: intr map (obio) 10: 0x12a, clr: 0x1850
pcib2: intr map (obio) 11: 0x12b, clr: 0x1858
psycho at 0/0/0: setting bus #s to 0/2/2
device 2/2/0: latency timer 8 -> 82
pcib2: ofw_pci_init: mapping intr for 2/2/0 to 1 (preset was 0)
pci2: <PCI bus> on pcib2
pci2: <network, ethernet> at device 2.0 (no driver attached)
pcib3: <U2P UPA-PCI bridge> on nexus0
pcib3: Psycho, impl 0, version 4, ign 0x100
pcib3: intr map (pci) 0: 0x80000100
pcib3: intr map (pci) 1: 0x80000104
pcib3: intr map (pci) 2: 0x80000110
pcib3: intr map (pci) 3: 0x80000114
pcib3: intr map (pci) 4: 0x80000110
pcib3: intr map (pci) 5: 0x80000114
pcib3: intr map (pci) 6: 0x80000118
pcib3: intr map (pci) 7: 0x8000011c
pcib3: intr map (obio) 0: 0x80000120, clr: 0x1800
pcib3: intr map (obio) 1: 0x80000121, clr: 0x1808
pcib3: intr map (obio) 2: 0x80000122, clr: 0x1810
pcib3: intr map (obio) 3: 0x80000123, clr: 0x1818
pcib3: intr map (obio) 4: 0x80000124, clr: 0x1820
pcib3: intr map (obio) 5: 0x80000125, clr: 0x1828
pcib3: intr map (obio) 6: 0x80000126, clr: 0x1830
pcib3: intr map (obio) 7: 0x80000127, clr: 0x1838
pcib3: intr map (obio) 8: 0x80000128, clr: 0x1840
pcib3: intr map (obio) 9: 0x80000129, clr: 0x1848
pcib3: intr map (obio) 10: 0x8000012a, clr: 0x1850
pcib3: intr map (obio) 11: 0x8000012b, clr: 0x1858
psycho at 128/0/0: setting bus #s to 128/3/3
pci3: <PCI bus> on pcib3
pcib4: <U2P UPA-PCI bridge> on nexus0
pcib4: Psycho, impl 0, version 4, ign 0x180
initialializing counter-timer
Timecounter "counter-timer"  frequency 1000000 Hz
DVMA map: 0xfe000000 to 0xffffffff
pcib4: intr map (pci) 0: 0x180
pcib4: intr map (pci) 1: 0x184
pcib4: intr map (pci) 2: 0x190
pcib4: intr map (pci) 3: 0x194
pcib4: intr map (pci) 4: 0x80000190
pcib4: intr map (pci) 5: 0x80000194
pcib4: intr map (pci) 6: 0x198
pcib4: intr map (pci) 7: 0x19c
pcib4: intr map (obio) 0: 0x1a0, clr: 0x1800
pcib4: intr map (obio) 1: 0x1a1, clr: 0x1808
pcib4: intr map (obio) 2: 0x1a2, clr: 0x1810
pcib4: intr map (obio) 3: 0x1a3, clr: 0x1818
pcib4: intr map (obio) 4: 0x1a4, clr: 0x1820
pcib4: intr map (obio) 5: 0x800001a5, clr: 0x1828
pcib4: intr map (obio) 6: 0x1a6, clr: 0x1830
pcib4: intr map (obio) 7: 0x1a7, clr: 0x1838
pcib4: intr map (obio) 8: 0x1a8, clr: 0x1840
pcib4: intr map (obio) 9: 0x1a9, clr: 0x1848
pcib4: intr map (obio) 10: 0x1aa, clr: 0x1850
pcib4: intr map (obio) 11: 0x1ab, clr: 0x1858
psycho at 0/0/0: setting bus #s to 0/4/4
device 4/2/0: latency timer 32 -> 264
pcib4: ofw_pci_init: mapping intr for 4/2/0 to 1 (preset was 1)
device 4/4/0: latency timer 8 -> 66
pcib4: ofw_pci_init: mapping intr for 4/4/0 to 1 (preset was 138)
pci4: <PCI bus> on pcib4
pci4: <network, ethernet> at device 2.0 (no driver attached)
pci4: <display, VGA> at device 4.0 (no driver attached)
pcib5: <U2P UPA-PCI bridge> on nexus0
pcib5: Psycho, impl 0, version 4, ign 0x180
pcib5: intr map (pci) 0: 0x80000180
pcib5: intr map (pci) 1: 0x80000184
pcib5: intr map (pci) 2: 0x80000190
pcib5: intr map (pci) 3: 0x80000194
pcib5: intr map (pci) 4: 0x80000190
pcib5: intr map (pci) 5: 0x80000194
pcib5: intr map (pci) 6: 0x80000198
pcib5: intr map (pci) 7: 0x8000019c
pcib5: intr map (obio) 0: 0x800001a0, clr: 0x1800
pcib5: intr map (obio) 1: 0x800001a1, clr: 0x1808
pcib5: intr map (obio) 2: 0x800001a2, clr: 0x1810
pcib5: intr map (obio) 3: 0x800001a3, clr: 0x1818
pcib5: intr map (obio) 4: 0x800001a4, clr: 0x1820
pcib5: intr map (obio) 5: 0x800001a5, clr: 0x1828
pcib5: intr map (obio) 6: 0x800001a6, clr: 0x1830
pcib5: intr map (obio) 7: 0x800001a7, clr: 0x1838
pcib5: intr map (obio) 8: 0x800001a8, clr: 0x1840
pcib5: intr map (obio) 9: 0x800001a9, clr: 0x1848
pcib5: intr map (obio) 10: 0x800001aa, clr: 0x1850
pcib5: intr map (obio) 11: 0x800001ab, clr: 0x1858
psycho at 128/0/0: setting bus #s to 128/5/5
pci5: <PCI bus> on pcib5
Timecounters tick every 10.000 msec
Waiting 15 seconds for SCSI devices to settle
Allocating major#251 to "devstat"
SMP: AP CPU #3 Launched!
SMP: AP CPU #2 Launched!
SMP: AP CPU #1 Launched!
da0 at sym1 bus 0 target 0 lun 0
da0: <SEAGATE ST336706LC 0108> Fixed Direct Access SCSI-3 device
da0: 40.000MB/s transfers (20.000MHz, offset 16, 16bit), Tagged Queueing 
Enabled
da0: 35003MB (71687370 512 byte sectors: 255H 63S/T 4462C)
da1 at sym1 bus 0 target 1 lun 0
da1: <SEAGATE ST336706LC 0108> Fixed Direct Access SCSI-3 device
da1: 40.000MB/s transfers (20.000MHz, offset 16, 16bit), Tagged Queueing 
Enabled
da1: 35003MB (71687370 512 byte sectors: 255H 63S/T 4462C)
cd0 at sym0 bus 0 target 6 lun 0
cd0: <PIONEER CD-ROM DR-124X 1.00> Removable CD-ROM SCSI-2 device
cd0: 4.629MB/s transfers (4.629MHz, offset 8)
cd0: cd present [161606 x 2048 byte records]
Mounting root from ufs:/dev/da0a
WARNING: / was not properly dismounted
xl0: <3Com 3c905C-TX Fast Etherlink XL> port 0x400-0x47f mem 
0x2000-0x207f irq 1 at device 2.0 on pci2
pcib2: psycho_setup_intr: INO 1, map 0xc00, clr 0x1408
xl0: Ethernet address: 00:04:75:cf:90:2a
miibus1: <MII bus> on xl0
ukphy0: <Generic IEEE 802.3u media interface> on miibus1
ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
stray vector interrupt 272
xl0: watchdog timeout
xl0: watchdog timeout
xl0: watchdog timeout


Jake Burkholder wrote:
> Apparently, On Thu, Mar 13, 2003 at 11:13:09PM +0200,
> 	Marian Dobre said words to the effect of;
> 
> 
>>Hey Jake,
>>
>>Here's the dmesg output. Please let me know if there's more info you need.
> 
> 
> Ok, it looks like there's a problem with the 3c905c and using io space
> for register access.  Can you try this patch?  If you still get device
> timeouts try removing the rl card.
> 
> Jake
> 
> Index: pci/if_xl.c
> ===================================================================
> RCS file: /home/ncvs/src/sys/pci/if_xl.c,v
> retrieving revision 1.131
> diff -u -r1.131 if_xl.c
> --- pci/if_xl.c	4 Mar 2003 20:19:26 -0000	1.131
> +++ pci/if_xl.c	13 Mar 2003 23:57:36 -0000
> @@ -147,7 +147,9 @@
>   * driver will use memory mapped I/O, which may be faster but which
>   * might not work on some devices.
>   */
> +#if 0
>  #define XL_USEIOSPACE
> +#endif
>  
>  #include <pci/if_xlreg.h>
>  
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-sparc" in the body of the message
> 



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-sparc" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3E71C673.6050205>