Current-Users archive

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

timekeeper/RAM pullups panic sparc



The recent pull-ups of changes/improvements to interacting the the
timekeeper/RAM devices found in sparc/sparc64 (and other) systems panics
real and emulated 32-bit sparc systems when the clock driver attaches:

Real hardware:

[   1.0000000] mainbus0 (root): SUNW,SPARCstation-5: hostid 8075a355
[   1.0000000] cpu0 at mainbus0: FMI,MB86904 @ 85 MHz, on-chip FPU
[   1.0000000] cpu0: 16K instruction (32 b/l), 8K data (16 b/l): cache enabled
[   1.0000000] obio0 at mainbus0
[   1.0000000] clock0 at obio0 slot 0 offset 0x200000: mk48t08cpu0: data fault: pc=0xf032c2b0 addr=0x24 sfsr=0x126<PERR=0,LVL=0x1,AT=0x1,FT=0x1,FAV>
[   1.0000000] panic: kernel fault
[   1.0000000] cpu0: Begin traceback...
[   1.0000000] 0x0(0xf037f6f0, 0xf0400fc8, 0xf0437ab0, 0x104, 0xf0437c00, 0xf0436c00) at netbsd:panic+0x20
[   1.0000000] panic(0xf037f6f0, 0x0, 0xf032c2b0, 0x24, 0xf0400fe8, 0xf040ac00) at netbsd:mem_access_fault4m+0x600
[   1.0000000] mem_access_fault4m(0x9, 0x126, 0x24, 0xf04010c0, 0xf0409ec0, 0xf0409b40) at netbsd:memfault_sun4m+0xec
[   1.0000000] memfault_sun4m(0xf04011f8, 0x24, 0x1f, 0x8, 0xf040ac00, 0x5) at netbsd:sysctl_createv+0xe0
[   1.0000000] sysctl_createv(0x3f, 0x2, 0x0, 0xf0401348, 0xfffffffd, 0x1) at netbsd:mk48txx_attach+0x13c
[   1.0000000] mk48txx_attach(0xf09fc1c0, 0xf038b988, 0xffffffff, 0xf09fc1d0, 0xfffffffd, 0x6) at netbsd:clockattach+0x2c
[   1.0000000] clockattach(0xf09fc1c0, 0xffd2c790, 0xf0401578, 0x1, 0x0, 0x0) at netbsd:config_attach_internal+0x24c
[   1.0000000] config_attach_internal(0xf0a17580, 0x1, 0xf0401578, 0x0, 0xf03b0510, 0xf0436800) at netbsd:config_found_acquire+0x48
[   1.0000000] config_found_acquire(0xf040e500, 0xf0401578, 0xf000f804, 0xf040155c, 0xf0a173c0, 0xf0401474) at netbsd:config_found+0x10
[   1.0000000] config_found(0xf0a173c0, 0xf0401578, 0xf000f804, 0xf040155c, 0xf0401578, 0xf0401570) at netbsd:sbus_attach_common+0x158
[   1.0000000] sbus_attach_common(0xf09f57c0, 0xf037c948, 0xffd2c5dc, 0xf034c050, 0xf034c050, 0xffd2c790) at netbsd:config_attach_internal+0x24c
[   1.0000000] config_attach_internal(0xf0a173c0, 0x1, 0xf04017a8, 0x0, 0xf037c948, 0xf0436800) at netbsd:config_found_acquire+0x48
[   1.0000000] config_found_acquire(0xf040e4d0, 0xf04017a8, 0xf00143dc, 0xf040176c, 0xf0a17040, 0xf040166c) at netbsd:config_found+0x10
[   1.0000000] config_found(0xf0a17040, 0xf04017a8, 0xf00143dc, 0xf040176c, 0xf040176c, 0xf0401780) at netbsd:mainbus_attach+0x424
[   1.0000000] mainbus_attach(0xf03a7890, 0xf0a17040, 0xf0402ad8, 0xf037c948, 0xffd24e90, 0xf034c330) at netbsd:config_attach_internal+0x24c
[   1.0000000] config_attach_internal(0xf0a17040, 0x1, 0x0, 0x0, 0xf037e560, 0xf0436800) at netbsd:config_rootfound+0x54
[   1.0000000] config_rootfound(0xf037e560, 0x0, 0x3, 0x0, 0xf0433400, 0xf040e4a0) at netbsd:cpu_configure+0x360
[   1.0000000] cpu_configure(0xf037e528, 0xf037e530, 0x0, 0xf0402ad8, 0xf0433000, 0xffefa399) at netbsd:main+0x448
[   1.0000000] main(0xf0409800, 0xf037de20, 0x0, 0x9fcd6, 0xffaf000, 0x3322) at netbsd:nmi_sun4m+0xb1c
[   1.0000000] cpu0: End traceback...
Stopped in pid 0.0 (system) at  netbsd:cpu_Debugger+0x4:        or              
%o7, %g0, %g1
db> 

qemu-system-sparc:

[   1.0000000] mainbus0 (root): SUNW,SPARCstation-20: hostid 72123456
[   1.0000000] cpu0 at mainbus0: TI,TMS390S10 @ 170 MHz, on-chip FPU
[   1.0000000] cpu0: physical 20K instruction (32 b/l), 8K data (16 b/l), 1024K external (32 b/l): cache enabled
[   1.0000000] obio0 at mainbus0
[   1.0000000] clock0 at obio0 slot 0 offset 0x200000: mk48t08cpu0: data fault: pc=0xf03a9584 addr=0x0 sfsr=0x126<PERR=0,LVL=0x1,AT=0x1,FT=0x1,FAV>
[   1.0000000] panic: kernel fault
[   1.0000000] cpu0: Begin traceback...
[   1.0000000] 0x0(0xf03ffbe0, 0xf04972b8, 0xf04d4c70, 0x104, 0xf04d4c00, 0xf04d4000) at netbsd:panic+0x20
[   1.0000000] panic(0xf03ffbe0, 0x0, 0xf03a9584, 0x0, 0xf04972d8, 0xf04a8c00) at netbsd:mem_access_fault4m+0x60c
[   1.0000000] mem_access_fault4m(0x9, 0x126, 0x0, 0xf04973b0, 0xf04a7f40, 0xf04a7bc0) at netbsd:memfault_sun4m+0xec
[   1.0000000] memfault_sun4m(0xf04974e8, 0x24, 0x1f, 0x8, 0xf04a8c00, 0x5) at netbsd:sysctl_createv+0xe0
[   1.0000000] sysctl_createv(0x3f, 0x2, 0x0, 0xf0497638, 0xfffffffd, 0x1) at netbsd:mk48txx_attach+0x13c
[   1.0000000] mk48txx_attach(0xf191f1c0, 0xf0414b00, 0xffffffff, 0xf191f1d0, 0xfffffffd, 0x6) at netbsd:clockattach+0x48
[   1.0000000] clockattach(0xf191f1c0, 0xffd37a08, 0xf0497868, 0x1, 0x0, 0xf0497c00) at netbsd:config_attach_internal+0x24c
[   1.0000000] config_attach_internal(0xf193b580, 0x1, 0xf0497868, 0x0, 0xf0403248, 0xf04d3800) at netbsd:config_found_acquire+0x48
[   1.0000000] config_found_acquire(0xf04acb64, 0xf0497868, 0xf001a5c0, 0xf049784c, 0xf193b3c0, 0xf0497764) at netbsd:config_found+0x10
[   1.0000000] config_found(0xf193b3c0, 0xf0497868, 0xf001a5c0, 0xf049784c, 0xf0497868, 0xf0497860) at netbsd:sbus_attach_common+0x16c
[   1.0000000] sbus_attach_common(0xf191a880, 0xf03fb3d8, 0xffd3753c, 0xf03c9d40, 0xf03c9d40, 0xffd37a08) at netbsd:config_attach_internal+0x24c
[   1.0000000] config_attach_internal(0xf193b3c0, 0x1, 0xf0497a90, 0x0, 0xf03fb3d8, 0xf04d3800) at netbsd:config_found_acquire+0x48
[   1.0000000] config_found_acquire(0xf04ac8dc, 0xf0497a90, 0xf0026ca0, 0xf0497a54, 0xf193b040, 0xf049795c) at netbsd:config_found+0x10
[   1.0000000] config_found(0xf193b040, 0xf0497a90, 0xf0026ca0, 0xf0497a54, 0xf0497a54, 0xf0497a68) at netbsd:mainbus_attach+0x34c
[   1.0000000] mainbus_attach(0xffd359e0, 0xf193b040, 0xf04997f0, 0xf0497a54, 0xffd2c330, 0xf03ca318) at netbsd:config_attach_internal+0x24c
[   1.0000000] config_attach_internal(0xf193b040, 0x1, 0x0, 0x0, 0xf03fe800, 0xf04d3800) at netbsd:config_rootfound+0x54
[   1.0000000] config_rootfound(0xf03fe800, 0x0, 0x0, 0x0, 0xf04d0800, 0xf04ac8ac) at netbsd:cpu_configure+0x4e8
[   1.0000000] cpu_configure(0xf00269ec, 0x0, 0xf04997f0, 0xf0497c00, 0xf04d0000, 0xffd5e26a) at netbsd:main+0x43c
[   1.0000000] main(0xf04d0000, 0xf04a7800, 0x2000, 0x8000000, 0x3efe0000, 0x9999) at netbsd:nmi_sun4m+0xce0
[   1.0000000] cpu0: End traceback...
Stopped in pid 0.0 (system) at  netbsd:cpu_Debugger+0x4:        or              
%o7, %g0, %g1
db>

-- 
|/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
|\ / jdbaker[snail]consolidated[flyspeck]net  OpenBSD            FreeBSD
| X  No HTML/proprietary data in email.   BSD just sits there and works!
|/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645


Home | Main Index | Thread Index | Old Index