Port-sparc archive

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

Re: SMP status ?



BERTRAND Joel a écrit :
matthew green a écrit :
OK, my systems are not stable either. can you try this patch and let me
know how it goes? it's just a workaround, and may not apply cleanly.
(it's from a while back when i was more familiar with this problem.)

http://www.netbsd.org/~mrg/ipi_savefpstate.diff

With SS-II or HS ?

        Hello,

I have applied your patch on an uptodate NetBSD source tree. I have only added a prototype for ipi_savefpstate (void
ipi_savefpstate(struct lwp *);)

        When SS20 boots, I obtain :

NetBSD 5.99.43 (GENERIC.MP) #1: Sun Jan  9 14:59:20 CET 2011
        root@riemann:/usr/src/obj/sys/arch/sparc/compile/GENERIC.MP
total memory = 511 MB
avail memory = 496 MB
timecounter: Timecounters tick every 10.000 msec
bootpath: /iommu@f,e0000000/sbus@f,e0001000/espdma@f,400000/esp@f,800000/sd@3,0
mainbus0 (root): SUNW,SPARCstation-20: hostid 72786e83
cpu0 at mainbus0: mid 8: RT620/625 @ 200 MHz, on-chip FPU
cpu0: 512K byte write-back, 32 bytes/line, sw flush: cache enabled
cpu1 at mainbus0: mid 10: RT620/625 @ 200 MHz, on-chip FPU
cpu1: 512K byte write-back, 32 bytes/line, sw flush: cache enabled
obio0 at mainbus0
...
eccmemctl0 at mainbus0 ioaddr 0x0: version 0x0/0x2
cpu0: booting secondary processors: cpu1
scsibus0: waiting 2 seconds for devices to settle...
wskbd0 at kbd0 mux 1
dbri0: speakerbox detected
dbri0: cs4215 rev E found at offset 8
stray interrupt cpu0 ipl 0xc pc=0xf013b24c npc=0xf014ec30 psr=0x1e4000c7<S,PS>
audio0 at dbri0: full duplex, playback, capture, mmap
sd0 at scsibus0 target 3 lun 0: <FUJITSU, MAW3073NC, 0104> disk fixed
sd0: 70136 MB, 78753 cyl, 2 head, 911 sec, 512 bytes/sect x 143638992 sectors sd0: sync (100.00ns offset 15), 8-bit (10.000MB/s) transfers, tagged queueing cd0 at scsibus0 target 6 lun 0: <TOSHIBA, XM-4101TASUNSLCD, 3424> cdrom removabe
cd0: async, 8-bit transfers
kbd0: reset failed
ra dumps on sd0b
root file system type: ffs
xcall(cpu1,0xf000abdc): couldn't ping cpus: cpu0
trap type 0x7: pc=0xf01508e8 npc=0xf013ff74 psr=0x1e100bc0<S,PS>
kernel: alignment fault trap
Stopped in pid 11.1 (date) at netbsd:lwp_exit_switchaway+0x4c: ld [%l2 + 0x10], %o0
db{1}> trace
lwp_exit_switchaway(0xf407b8c0, 0x0, 0xf42a19d0, 0xf03e4c08, 0x0, 0x16) at netbs
d:exit1+0x40c
exit1(0xf407b8c0, 0x0, 0x20032464, 0xf4235fb0, 0x2, 0xf0502000) at netbsd:sys_ex
it+0x2c
sys_exit(0xf407b8c0, 0xf4235f20, 0xf4235f40, 0x0, 0x0, 0x6) at netbsd:syscall_pl
ain+0xe0
syscall_plain(0x401, 0xf4235fb0, 0x20275da8, 0x1, 0x0, 0x27770) at 0xf0008844
db{1}>

        Best regards,

        JKB


Home | Main Index | Thread Index | Old Index