*Synopsis*: BAD TRAP with missing /boot/solaris/devicedb/master
CR 6948324 changed on May 4 2010 by <User 1-5Q-12772>
=== Field ============ === New Value ============= === Old Value =============
Commit to Fix in Build snv_140
Evaluation New Note
Status 6-Fix Understood 3-Accepted
Status 7-Fix in Progress 6-Fix Understood
Targeted Release solaris_nevada
====================== =========================== ===========================
*Change Request ID*: 6948324
*Synopsis*: BAD TRAP with missing /boot/solaris/devicedb/master
Product: solaris
Category: driver
Subcategory: acpi
Type: Defect
Subtype:
Status: 7-Fix in Progress
Substatus:
Priority: 2-High
Introduced In Release:
Introduced In Build:
Responsible Engineer: <User 1-5Q-12772>
Keywords: opensolaris, pkg-refactoring
=== *Description* ============================================================
Category
kernel
Sub-Category
boot-x86
Description
While experimenting with a minimized SX:CE to Indiana upgrade based on the
procedure
in http://blogs.sun.com/edp/entry/moving_from_nevada_and_live, the initial boot
failed with a bad TRAP:
SunOS Release 5.11 Version snv_134 64-bit
Copyright 1983-2010 Sun Microsystems, Inc. All rights reserved.
Use is subject to license terms.
features:
61036fff<cpuid,nx,asysc,sse2,sse,pat,cx8,pae,mca,mmx,cmov,de,pge,mtrr,msr,tsc,lgpg>
mem = 12516392K (0x2fbf0a000)
panic[cpu0]/thread=fffffffffbc2e820: BAD TRAP: type=d (#gp General protection)
rp=fffffffffbc50460 addr=ffffffffffffffff
#gp General protection
addr=0xffffffffffffffff
pid=0, pc=0xfffffffff7898358, sp=0xfffffffffbc50550, eflags=0x10002
cr0: 8005003b<pg,wp,ne,et,ts,mp,pe> cr4: 6f8<xmme,fxsr,pge,mce,pae,pse,de>
cr2: bfe0000ccr3: 8c00000cr8: f
rdi: ffffffffffffffff rsi: fffffffffbc505b0 rdx: 400
rcx: 1 r8: ff53f000e2c3f0 r9: ff53f000e2c3f1
rax: ffffffffffffffff rbx: fffffffffbc505b0 rbp: fffffffffbc505a0
r10: ffffff03d75e6000 r11: fffffffffbe1d7f0 r12: 0
r13: fffffffffbc2dbb0 r14: 400 r15: ffffffffffffffff
fsb: 200000000 gsb: fffffffffbc2fa60 ds: 0
es: 0 fs: 0 gs: 0
trp: d err: 0 rip: fffffffff7898358
cs: 30 rfl: 10002 rsp: fffffffffbc50550
ss: 38
fffffffffbc50340 unix:die+10f ()
fffffffffbc50450 unix:trap+43e ()
fffffffffbc50460 unix:cmntrap+e6 ()
fffffffffbc505a0 acpica:mf_lex+48 ()
fffffffffbc509e0 acpica:get_line+38 ()
fffffffffbc50a00 acpica:process_master_file+26 ()
fffffffffbc50a30 acpica:acpi_isa_device_enum+107 ()
fffffffffbc50ad0 isa:isa_enumerate+107 ()
fffffffffbc50af0 unix:impl_bus_initialprobe+60 ()
fffffffffbc50b20 unix:impl_setup_ddi+130 ()
fffffffffbc50b30 genunix:create_devinfo_tree+b7 ()
fffffffffbc50b40 genunix:setup_ddi+13 ()
fffffffffbc50b70 unix:startup_modules+297 ()
fffffffffbc50b80 unix:startup+50 ()
fffffffffbc50bb0 genunix:main+2c ()
fffffffffbc50bc0 unix:_locore_start+92 ()
This happens due to fact that /boot/solaris/devicedb/master is missing, but
acpica (from system/kernel) lacks the required dependency on
system/boot/real-mode. In fact, that package is a complete misnomer these
days: there's no real-mode support involved anymore, the term is wrong on
SPARC anyway, and the UFS mboot files are obsolete with UFS boot support gone.
It's probably better to just include it in system/kernel than adding a
dependency.
Frequency
Always
Regression
no
Steps to Reproduce
Install a minimal BE with only SUNWcs, SUNWcsd,
system/kernel/platform
release/name
driver/network/bge
system/kernel
driver/usb
and try to boot it.
Expected Result
Booting works.
Actual Result
Bad trap as above.
Error Message(s)
Test Case
Workaround
Additional configuration information
*** (#1 of 1): 2010-04-29 09:23:51 GMT+00:00 <User 1-9HOB9N>
=== *Public Comments* ========================================================
Investigating why this code fragment doesn't protect
us from the bad trap when the file is not present:
if ((file = kobj_open_file(masterfile)) == NULL) {
cmn_err(CE_WARN, "!cannot open master file: %s", masterfile);
return;
}
*** (#1 of 1): 2010-05-04 16:21:36 GMT+00:00 <User 1-5Q-12772>
=== *Workaround* =============================================================
=== *Additional Details* =====================================================
Targeted Release: solaris_nevada
Commit To Fix In Build: snv_140
Fixed In Build:
Integrated In Build:
Verified In Build:
See Also:
Duplicate of:
Hooks:
Hook1:
Hook2:
Hook3:
Hook4:
Hook5:
Hook6: <email address omitted>
Program Management:
Root Cause:
Fix Affects Documentation: No
Fix Affects Localization: No
=== *History* ================================================================
Date Submitted: 2010-04-29 09:23:51 GMT+00:00
Submitted By: <User 1-9HOB9N>
Status Changed Date Updated Updated By
3-Accepted 2010-05-04 16:21:36 GMT+00:00 <User 1-5Q-12772>
6-Fix Understood 2010-05-04 17:51:34 GMT+00:00 <User 1-5Q-12772>
7-Fix in Progress 2010-05-04 17:57:17 GMT+00:00 <User 1-5Q-12772>
=== *Service Request* ========================================================
Impact: Significant
Functionality: Primary
Severity: 2
Product Name: solaris
Product Release: solaris_nevada
Product Build: snv_134
Operating System: solaris_nevada
Hardware: x86
Submitted Date: 2010-04-29 09:23:51 GMT+00:00
=== *Multiple Release (MR) Cluster* - 0 ======================================
_______________________________________________
on-ips-dev mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/on-ips-dev