NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

kern/42736: spdmem(4) reports incorrect RAM type



>Number:         42736
>Category:       kern
>Synopsis:       spdmem(4) reports incorrect RAM type
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Feb 04 03:00:00 +0000 2010
>Originator:     Erik E. Fair
>Release:        NetBSD 5.0_STABLE
>Organization:
International Organization of Internet Clock Watchers
>Environment:
        
        
System: NetBSD digital.clock.org 5.0_STABLE NetBSD 5.0_STABLE (FLAPJACK2) #3: 
Mon Oct 19 09:16:40 PDT 2009 
root%fast.clock.org@localhost:/var/obj/sys/arch/sparc64/compile/FLAPJACK2 
sparc64
Architecture: sparc64
Machine: sparc64

NetBSD 5.0_STABLE (FLAPJACK2) #3: Mon Oct 19 09:16:40 PDT 2009
        
root%fast.clock.org@localhost:/var/obj/sys/arch/sparc64/compile/FLAPJACK2
total memory = 2048 MB
avail memory = 1998 MB
timecounter: Timecounters tick every 10.000 msec
mainbus0 (root): SUNW,UltraAX-i2 (Netra T1 200): hostid XXXXXXXX
cpu0 at mainbus0: SUNW,UltraSPARC-IIe @ 500 MHz, UPA id 0
cpu0: 32K instruction (32 b/l), 16K data (32 b/l), 1024K external (64 b/l)
psycho0 at mainbus0
psycho0: SUNW,sabre: impl 0, version 0: ign 7c0 bus range 0 to 2; PCI bus 0
psycho_alloc_extent: no "available" property
psycho_alloc_extent: no "available" property
DVMA map: c0000000 to e0000000
IOTSB: 238a000 to 240a000
pci0 at psycho0
pci0: i/o space, memory space enabled
ppb0 at pci0 dev 1 function 1: Sun Microsystems Simba PCI bridge (rev. 0x13)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
ebus0 at pci1 dev 12 function 0
ebus0: Sun Microsystems PCIO Ebus2 (US III), revision 0x01
flashprom at ebus0 addr 0-fffff not configured
clock0 at ebus0 addr 0-1fff: mk48t59
ebus_attach: idprom: incomplete
lom0 at ebus0 addr 200000-200003 ipl 42: SUNW,lomh: LOMlite2 rev 3.10
lom0: 4 fan(s), 1 PSU(s), 1 temp sensor(s)
lom0: Watchdog timer configured.
alipm0 at pci1 dev 3 function 0: 74KHz clock
iic0 at alipm0: I2C bus
spdmem0 at iic0 addr 0x54
spdmem0: SDRAM memory, data ECC, 133MHz (PC-1100)
spdmem0: 13 rows, 11 cols, 11 banks, 4 banks/chip, 7.5ns cycle time
spdmem0: tAA-tRCD-tRP-tRAS: 3-20-20-45
spdmem0: voltage LvTTL (not 5V tolerant), refresh time 7.8us (self-refreshing)
spdmem1 at iic0 addr 0x55
spdmem1: SDRAM memory, data ECC, 512MB, 133MHz (PC-1100)
spdmem1: 13 rows, 11 cols, 1 banks, 4 banks/chip, 7.5ns cycle time
spdmem1: tAA-tRCD-tRP-tRAS: 3-20-20-45
spdmem1: voltage LvTTL (not 5V tolerant), refresh time 7.8us (self-refreshing)
spdmem2 at iic0 addr 0x56
spdmem2: SDRAM memory, data ECC, 512MB, 133MHz (PC-1100)
spdmem2: 13 rows, 11 cols, 1 banks, 4 banks/chip, 7.5ns cycle time
spdmem2: tAA-tRCD-tRP-tRAS: 3-20-20-44
spdmem2: voltage LvTTL (not 5V tolerant), refresh time 7.8us (self-refreshing)
spdmem3 at iic0 addr 0x57
spdmem3: SDRAM memory, data ECC, 512MB, 133MHz (PC-1100)
spdmem3: 13 rows, 11 cols, 1 banks, 4 banks/chip, 7.5ns cycle time
spdmem3: tAA-tRCD-tRP-tRAS: 3-20-20-45
spdmem3: voltage LvTTL (not 5V tolerant), refresh time 7.8us (self-refreshing)
admtemp0 at iic0 addr 0x18: ADM1021 or compatible environmental sensor
ebus1 at pci1 dev 7 function 0
ebus1: Acer Labs M1533 PCI-ISA Bridge, revision 0x00
power at ebus1 addr 2000-2007 ipl 37 not configured
com0 at ebus1 addr 3f8-3ff ipl 43: ns16550a, working fifo
com0: console
com1 at ebus1 addr 2e8-2ef ipl 43: ns16550a, working fifo
gem0 at pci1 dev 12 function 1: Sun Microsystems ERI Ethernet (rev. 0x01)
gem0: interrupting at ivec 3006
ukphy0 at gem0 phy 1: Generic IEEE 802.3u media interface
ukphy0: OUI 0x0008bb, model 0x0002, rev. 1
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
gem0: Ethernet address xx:xx:xx:xx:xx:xx, 2KB RX fifo, 2KB TX fifo
ohci0 at pci1 dev 12 function 3: Sun Microsystems USB controller (rev. 0x01)
ohci0: interrupting at ivec 24
ohci0: OHCI version 1.0, legacy support
usb0 at ohci0: USB revision 1.0
aceride0 at pci1 dev 13 function 0
aceride0: Acer Labs M5229 UDMA IDE Controller (rev. 0xc3)
aceride0: bus-master DMA support present
aceride0: primary channel configured to native-PCI mode
aceride0: using ivec 180c for native-PCI interrupt
atabus0 at aceride0 channel 0
aceride0: secondary channel configured to native-PCI mode
atabus1 at aceride0 channel 1
gem1 at pci1 dev 5 function 1: Sun Microsystems ERI Ethernet (rev. 0x01)
gem1: interrupting at ivec 301c
ukphy1 at gem1 phy 1: Generic IEEE 802.3u media interface
ukphy1: OUI 0x0008bb, model 0x0002, rev. 1
ukphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
gem1: Ethernet address xx:xx:xx:xx:xx:xx, 2KB RX fifo, 2KB TX fifo
ohci1 at pci1 dev 5 function 3: Sun Microsystems USB controller (rev. 0x01)
ohci1: interrupting at ivec 26
ohci1: OHCI version 1.0, legacy support
usb1 at ohci1: USB revision 1.0
ppb1 at pci0 dev 1 function 0: Sun Microsystems Simba PCI bridge (rev. 0x13)
pci2 at ppb1 bus 2
pci2: i/o space, memory space enabled
esiop0 at pci2 dev 8 function 0: Symbios Logic 53c896 (ultra2-wide scsi)
esiop0: using on-board RAM
esiop0: interrupting at ivec 1820
scsibus0 at esiop0: 16 targets, 8 luns per target
esiop1 at pci2 dev 8 function 1: Symbios Logic 53c896 (ultra2-wide scsi)
esiop1: using on-board RAM
esiop1: interrupting at ivec 1820
scsibus1 at esiop1: 16 targets, 8 luns per target
bge0 at pci2 dev 5 function 0: Broadcom BCM5705 Gigabit Ethernet
bge0: interrupting at ivec 15
bge0: ASIC BCM5705 A1 (0x3001), Ethernet address xx:xx:xx:xx:xx:xx
bge0: setting short Tx thresholds
brgphy0 at bge0 phy 1: BCM5705 1000BASE-T media interface, rev. 1
brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 
1000baseT-FDX, auto
pcons at mainbus0 not configured
timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
timecounter: Timecounter "tick-counter" frequency 500000000 Hz quality 100
No counter-timer -- using %tick at 500MHz as system clock.
scsibus0: waiting 2 seconds for devices to settle...
scsibus1: waiting 2 seconds for devices to settle...
atapibus0 at atabus0: 2 targets
uhub0 at usb0: Sun Microsystem OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 4 ports with 4 removable, self powered
uhub1 at usb1: Sun Microsystem OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 4 ports with 4 removable, self powered
cd0 at atapibus0 drive 0: <CD-224E, , 1.7A> cdrom removable
IPsec: Initialized Security Association Processing.
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
cd0(aceride0:0:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA)
sd0 at scsibus0 target 0 lun 0: <SEAGATE, ST373405LC, 0003> disk fixed
sd0: 70007 MB, 29550 cyl, 8 head, 606 sec, 512 bytes/sect x 143374741 sectors
sd0: sync (25.00ns offset 31), 16-bit (80.000MB/s) transfers, tagged queueing
sd1 at scsibus0 target 1 lun 0: <ModusLnk, MXJ3300SC800600X, 5704> disk fixed
sd1: 279 GB, 78753 cyl, 8 head, 930 sec, 512 bytes/sect x 585937500 sectors
sd1: sync (25.00ns offset 31), 16-bit (80.000MB/s) transfers, tagged queueing
root on sd0a dumps on sd0b
root file system type: ffs

>Description:

        On a Sun Netra T1 model 200 (500 MHz UltraSPARC IIe),
        NetBSD 5's spdmem(4) driver reports the RAM as:

        spdmem0 at iic0 addr 0x54
        spdmem0: SDRAM memory, data ECC, 133MHz (PC-1100)
        spdmem0: 13 rows, 11 cols, 11 banks, 4 banks/chip, 7.5ns cycle time
        spdmem0: tAA-tRCD-tRP-tRAS: 3-20-20-45
        spdmem0: voltage LvTTL (not 5V tolerant), refresh time 7.8us 
(self-refreshing)

        This system in fact uses PC-133 SDRAM, not PC-1100.

        This problem also manifests on the Sun Fire V120 which is
        a speed-bumped version of the samee motherboard.

>How-To-Repeat:
        Boot a NetBSD 5 kernel
        read the autoconf output
        note the mismatch between NetBSD reported RAM type, and actual RAM type.
        file NetBSD problem report

>Fix:
        

>Unformatted:
        
        


Home | Main Index | Thread Index | Old Index