Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 08 Apr 2017 08:15:20 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 218478] [patch] Ultra30 panics during boot with PCI card
Message-ID:  <bug-218478-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D218478

            Bug ID: 218478
           Summary: [patch] Ultra30 panics during boot with PCI card
           Product: Base System
           Version: 10.3-RELEASE
          Hardware: sparc64
                OS: Any
            Status: New
          Keywords: patch
          Severity: Affects Some People
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs@FreeBSD.org
          Reporter: iwama@t3.rim.or.jp
          Keywords: patch

Created attachment 181584
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D181584&action=
=3Dedit
patch for pshyco.c

When Ultra30 with one or more PCI cards boots, it panics. However, when Ult=
ra30
with no PCI card boots, it boots normally.
Panic will occur on any PCI card. I tried the following PCI cards: Sun Quad
FastEthernet PCI Adapter, Sun Quad GigaSwift PCI-X Adapter and Sun StorEdge
PCI/PCI-X Dual Ultra320 SCSI Host Adapter(LSI22320-S).

I think that 10.3-RELEASE, 10.3-STABLE, 11.0-RELEASE, 11.0-STABLE and
12.0-CURRENT are affected, but 10.2-RELEASE and earlier are *not* affected.

boot log of 12.0-CURRENT with Sun Quad GigaSwift PCI-X Adapter:
un Ultra 30 UPA/PCI (UltraSPARC-II 296MHz), No Keyboard
OpenBoot 3.9, 1152 MB memory installed, Serial #xxxxxxx.
Ethernet address 8:0:20:xx:xx:xx, Host ID: xxxxxxxx.

ok=20
ok probe-scsi-all
/pci@1f,4000/scsi@3
Target 0=20
  Unit 0   Disk     MAXTOR  ATLAS10K4_146SCADFM0
Target 1=20
  Unit 0   Disk     MAXTOR  ATLAS10K4_146SCADFM0
Target 6=20
  Unit 0   Removable Read Only device    NEC     CD-ROM DRIVE:4661.17

ok=20
ok boot cdrom
Initializing Memory \=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
           Initializing Memory
/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\=
|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-=
\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/=
-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|=
/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\=
|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-=
\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
Initializing Memory
\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/=
-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
Initializing Memory
\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/=
-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|=
/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\=
|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
Initializing Memory
\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/=
-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|=
/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\=
|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-
                                                                     Boot
device: /pci@1f,4000/scsi@3/disk@6,0:f  File and args:=20

>> FreeBSD/sparc64 boot block
   Boot path:   /pci@1f,4000/scsi@3/disk@6,0:f
   Boot loader: /boot/loader
Consoles: Open Firmware console=20=20

FreeBSD/sparc64 bootstrap loader, Revision 1.0
(Fri Feb  3 04:55:02 UTC 2017 root@releng3.nyi.freebsd.org)
bootpath=3D"/pci@1f,4000/scsi@3/disk@6,0:a"
|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|Loading
/boot/defaults/loader.conf
/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\=
|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-=
\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/=
-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-/boot/kernel/kernel
data=3D0xd5ca40+0x197b38
\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/=
-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|=
/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\=
|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-=
\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/=
-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/syms=3D[0x8+0xe3e80-\|/=
-\|/-\|/-\|/-\|/-\|/-\|/-+0x8+0xd32e1\|/-\|/-\|/-\|/-\|/-\|/-\|]
/-\|/-\|/-\|
Hit [Enter] to boot immediately, or any other key for command prompt.
Booting [/boot/kernel/kernel] in 9 seconds... Booting [/boot/kernel/kernel]=
 in
8 seconds... Booting [/boot/kernel/kernel] in 7 seconds... Booting
[/boot/kernel/kernel] in 6 seconds... Booting [/boot/kernel/kernel] in 5
seconds... Booting [/boot/kernel/kernel] in 4 seconds... Booting
[/boot/kernel/kernel] in 3 seconds... Booting [/boot/kernel/kernel] in 2
seconds... Booting [/boot/kernel/kernel] in 1 second... Booting
[/boot/kernel/kernel]...=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
/-\|/jumping to kernel entry at 0xc00b8000.
GDB: no debug ports present
KDB: debugger backends: ddb
KDB: current backend: ddb
Copyright (c) 1992-2017 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 is a registered trademark of The FreeBSD Foundation.
FreeBSD 12.0-CURRENT #0 r313113: Fri Feb  3 04:57:15 UTC 2017
    root@releng3.nyi.freebsd.org:/usr/obj/sparc64.sparc64/usr/src/sys/GENER=
IC
sparc64
gcc version 4.2.1 20070831 patched [FreeBSD]
WARNING: WITNESS option enabled, expect reduced performance.
real memory  =3D 1207959552 (1152 MB)
avail memory =3D 1149927424 (1096 MB)
cpu0: Sun Microsystems UltraSparc-II Processor (295.99 MHz CPU)
random: entropy device external interface
kbd0 at kbdmux0
nexus0: <Open Firmware Nexus device>
pcib0: <U2P UPA-PCI bridge> mem
0x1fe00004000-0x1fe00005fff,0x1fe01000000-0x1fe010000ff,0x1fe00000000-0x1fe=
0000cfff
irq 2033,2030,2031,2021,2024,2034 on nexus0
pcib0: Psycho, impl 0, version 4, IGN 0x1f, bus B, 33MHz
initializing counter-timer
Timecounter "pcib0" frequency 1000000 Hz quality 100
pcib0: DVMA map: 0xfc000000 to 0xffffffff 8192 entries, streaming buffer
pcib0: [GIANT-LOCKED]
pcib0: [GIANT-LOCKED]
pci0: <OFW PCI bus> on pcib0
ebus0: <PCI-EBus2 bridge> mem 0x70000000-0x70ffffff,0x71000000-0x717fffff at
device 1.0 on pci0
pcib1: <U2P UPA-PCI bridge> mem
0x1fe00002000-0x1fe00003fff,0x1fe01800000-0x1fe018000ff,0x1fe00000000-0x1fe=
0000cfff
irq 2032,2030,2031,2021,2024,2034 on nexus0
pcib1: Psycho, impl 0, version 4, IGN 0x1f, bus A, 66MHz
pci1: <OFW PCI bus> on pcib1
pcib2: <OFW PCI-PCI bridge> at device 1.0 on pci1
pci2: <OFW PCI bus> on pcib2
auxio0: <Sun Auxiliary I/O> addr
0x1400726000-0x1400726003,0x1400728000-0x1400728003,0x140072a000-0x140072a0=
03,0x140072c000-0x140072c003,0x140072f000-0x140072f003
on ebus0
ebus0: <power> addr 0x1400724000-0x1400724003 irq 37,50 (no driver attached)
ebus0: <SUNW,pll> addr 0x1400504000-0x1400504002 (no driver attached)
ebus0: <sc> addr 0x1400500000-0x1400500007 (no driver attached)
scc0: <Siemens SAB 82532 dual channel SCC> addr 0x1400400000-0x140040007f i=
rq
43 on ebus0
uart0: <SAB 82532 v3.2, channel A> on scc0
stray vector interrupt 2029
uart0: CTS oflow
uart0: console (9600,n,8,1)
uart1: <SAB 82532 v3.2, channel B> on scc0
uart1: CTS oflow
uart2: <16550 or compatible> addr 0x14003083f8-0x14003083ff irq 41 on ebus0
uart2: keyboard (1200,n,8,1)
uart2: keyboard not present
uart3: <16550 or compatible> addr 0x14003062f8-0x14003062ff irq 42 on ebus0
ebus0: <ecpp> addr
0x14003043bc-0x14003043cb,0x1400300398-0x1400300399,0x1400700000-0x14007000=
0f
irq 34 (no driver attached)
ebus0: <fdthree> addr
0x14003023f0-0x14003023f7,0x1400706000-0x140070600f,0x1400720000-0x14007200=
03
irq 39 (no driver attached)
eeprom0: <EEPROM/clock> addr 0x1400000000-0x1400001fff on ebus0
eeprom0: model mk48t59
ebus0: <flashprom> addr 0x1000000000-0x10000fffff,0x1000000000-0x10000fffff=
 (no
driver attached)
pcm0: <Sun Audiocs> addr
0x1400200000-0x14002000ff,0x1400702000-0x140070200f,0x1400704000-0x14007040=
0f,0x1400722000-0x1400722003
irq 35,36 on ebus0
pcm0: <CS4231A Codec Id. 10>
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> PHY 1 on miibus0
nsphy0:  none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
hme0: Ethernet address: 08:00:20:89:61:0d
sym0: <875> port 0x400-0x4ff mem 0x10000-0x100ff,0x11000-0x11fff at device =
3.0
on pci0
sym0: No NVRAM, ID 7, Fast-20, SE, parity checking
cas0: <NS DP83065 Saturn Gigabit Ethernet> mem 0x200000-0x3fffff at device =
0.0
on pci2
panic: trap: fast data access mmu miss (kernel)
cpuid =3D 0
KDB: stack backtrace:
vpanic() at vpanic+0x1b4
panic() at panic+0x20
trap() at trap+0x5cc
-- fast data access mmu miss tar=3D0 %o7=3D0xc09f99a8 --
userland() at psycho_route_interrupt+0xf8
user trace: trap %o7=3D0xc09f99a8
pc 0xc09f99f8, sp 0xc1415e51
done
KDB: enter: panic
[ thread pid 0 tid 100000 ]
Stopped at      kdb_enter+0x80: ta              %xcc, 1
db>

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-218478-8>