Port-amd64 archive

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

Re: HP BL465c G7 (2x Opteron 6172) doesn't boot install CD



Hi Anders,

Am 03.11.2011 um 20:03 schrieb Anders Hjalmarsson:

> Note that you will not get through a complete build with this
> patch unless you change
> sys/arch/i386/stand/netboot/Makefile.netboot to have ROM_SIZE= 65536
> 
> Hope this helps.


thanks, that was the hint I needed (I'm familiar with build.sh and also with 
cross-compiliing, but I never needed to tweak the netboot parameters).

So I was also to successfully build the distribution (simply took current 
sources with the date releng had the latest successful build) and iso images 
with your patches enabled.

And.. the kernel boots, at least up to a certain point:

http://www.atlas.uni-wuppertal.de/~harenber/amd64_2.png     <-- shows the 
messages you patched into the kernel
http://www.atlas.uni-wuppertal.de/~harenber/amd64_3.png     <-- here the kernel 
stops booting
 
Same output: I attached a (virtual) serial console to it and was able to run it 
with a debugger attached, but either the system is really frozen or I wasn't 
able to successfully sent a break through this emulation (it's not really 
documented how to do it), however, it worked later, so I assume the machine is 
really frozen. See:

Attempting Boot From CD-ROM

NetBSD/x86 cd9660 Primary Bootstrap

Test if A20 is already enabled
testa20: failed
A20 is not already enabled
Try biosA20
biosA20 fail
testa20: failed
A20 kbd nok
testa20: 0 iter
A20 92 ok

> consdev com0

>> NetBSD/x86 BIOS Boot, Revision 5.9 (from NetBSD 5.99.56)
>> Memory: 636/3144704 k
> boot cd0a:netbsd -d
11976248+626664+590072 [816048+539020]=0xee0870
Loading cd0a:/stand/amd64/5.99.56/modules/cd9660/cd9660.kmod  
fatal breakpoint trap in supervisor mode
trap type 1 code 0 rip ffffffff80252bc5 cs 8 rflags 202 cr2 0 cpl 8 rsp 
ffffffff80ff3ed0
Stopped in pid 0.1 (system) at  netbsd:breakpoint+0x5:  leave
db{0}> cont
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007, 2008, 2009, 2010, 2011
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 5.99.56 (GENERIC) #0: Thu Nov  3 23:16:45 CET 2011
        
root%vmware01.pleiades.uni-wuppertal.de@localhost:/usr/current/obj/sys/arch/amd64/compile/GENERIC
total memory = 65531 MB
avail memory = 63644 MB
mainbus0 (root)
cpu0 at mainbus0 apid 16: AMD Opteron(tm) Processor 6172, id 0x100f91
cpu1 at mainbus0 apid 32: AMD Opteron(tm) Processor 6172, id 0x100f91
cpu2 at mainbus0 apid 17: AMD Opteron(tm) Processor 6172, id 0x100f91
cpu3 at mainbus0 apid 33: AMD Opteron(tm) Processor 6172, id 0x100f91
cpu4 at mainbus0 apid 18: AMD Opteron(tm) Processor 6172, id 0x100f91
cpu5 at mainbus0 apid 34: AMD Opteron(tm) Processor 6172, id 0x100f91
cpu6 at mainbus0 apid 19: AMD Opteron(tm) Processor 6172, id 0x100f91
cpu7 at mainbus0 apid 35: AMD Opteron(tm) Processor 6172, id 0x100f91
cpu8 at mainbus0 apid 20: AMD Opteron(tm) Processor 6172, id 0x100f91
cpu9 at mainbus0 apid 36: AMD Opteron(tm) Processor 6172, id 0x100f91
cpu10 at mainbus0 apid 21: AMD Opteron(tm) Processor 6172, id 0x100f91
cpu11 at mainbus0 apid 37: AMD Opteron(tm) Processor 6172, id 0x100f91
cpu12 at mainbus0 apid 22: AMD Opteron(tm) Processor 6172, id 0x100f91
cpu13 at mainbus0 apid 38: AMD Opteron(tm) Processor 6172, id 0x100f91
cpu14 at mainbus0 apid 23: AMD Opteron(tm) Processor 6172, id 0x100f91
cpu15 at mainbus0 apid 39: AMD Opteron(tm) Processor 6172, id 0x100f91
cpu16 at mainbus0 apid 24: AMD Opteron(tm) Processor 6172, id 0x100f91
cpu17 at mainbus0 apid 40: AMD Opteron(tm) Processor 6172, id 0x100f91
cpu18 at mainbus0 apid 25: AMD Opteron(tm) Processor 6172, id 0x100f91
cpu19 at mainbus0 apid 41: AMD Opteron(tm) Processor 6172, id 0x100f91
cpu20 at mainbus0 apid 26: AMD Opteron(tm) Processor 6172, id 0x100f91
cpu21 at mainbus0 apid 42: AMD Opteron(tm) Processor 6172, id 0x100f91
cpu22 at mainbus0 apid 27: AMD Opteron(tm) Processor 6172, id 0x100f91
cpu23 at mainbus0 apid 43: AMD Opteron(tm) Processor 6172, id 0x100f91
ioapic0 at mainbus0 apid 8
ioapic1 at mainbus0 apid 9
acpi0 at mainbus0: Intel ACPICA 20110623
hpet0 at acpi0: high precision event timer (mem 0xfed00000-0xfed00400)
MOMB (PNP0C02) at acpi0 not configured
MI0 (IPI0001) at acpi0 not configured
attimer1 at acpi0 (TIME, PNP0100): io 0x40-0x43 irq 0
pcppi1 at acpi0 (BEEP, PNP0800): io 0x61
midi0 at pcppi1: PC speaker
sysbeep0 at pcppi1
pckbc1 at acpi0 (KBD, PNP0303) (kbd port): io 0x60,0x64 irq 1
pckbc2 at acpi0 (PS2M, PNP0F13) (aux port): irq 12
COMB (PNP0501) at acpi0 not configured
PMI0 (ACPI000D) at acpi0 not configured
attimer1: attached to pcppi1
pckbd0 at pckbc1 (kbd slot)
pckbc1: using irq 1 for kbd slot
wskbd0 at pckbd0 mux 1
pms0 at pckbc1 (aux slot)
pckbc1: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
ipmi0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1
pchb0 at pci0 dev 0 function 0: vendor 0x1002 product 0x5a10 (rev. 0x02)
ppb0 at pci0 dev 3 function 0: vendor 0x1002 product 0x5a17 (rev. 0x00)
ppb0: PCI Express 2.0 <Root Port of PCI-E Root Complex>
pci1 at ppb0 bus 4
vendor 0x19a2 product 0x0700 (ethernet network, revision 0x02) at pci1 dev 0 
function 0 not configured
vendor 0x19a2 product 0x0700 (ethernet network, revision 0x02) at pci1 dev 0 
function 1 not configured
vendor 0x19a2 product 0x0702 (miscellaneous mass storage, revision 0x02) at 
pci1 dev 0 function 2 not configured
vendor 0x19a2 product 0x0702 (miscellaneous mass storage, revision 0x02) at 
pci1 dev 0 function 3 not configured
ppb1 at pci0 dev 4 function 0: vendor 0x1002 product 0x5a18 (rev. 0x00)
ppb1: PCI Express 2.0 <Root Port of PCI-E Root Complex>
pci2 at ppb1 bus 3
ciss has not been converted to device_t
ciss0 at pci2 dev 0 function 0: HP Smart Array 11
ciss0: interrupting at ioapic1 pin 0
ciss0: 1 LD, HW rev 2, FW 3.50/3.50
scsibus0 at ciss0: 1 target, 1 lun per target
ppb2 at pci0 dev 10 function 0: vendor 0x1002 product 0x5a1d (rev. 0x00)
ppb2: PCI Express 2.0 <Root Port of PCI-E Root Complex>
pci3 at ppb2 bus 2
vendor 0x103c product 0x3306 (miscellaneous system, revision 0x04) at pci3 dev 
0 function 0 not configured
vendor 0x103c product 0x3307 (miscellaneous system, revision 0x04) at pci3 dev 
0 function 2 not configured
uhci0 at pci3 dev 0 function 4: vendor 0x103c product 0x3300 (rev. 0x01)
uhci0: interrupting at ioapic1 pin 1
usb0 at uhci0: USB revision 1.0
ixpide0 at pci0 dev 17 function 0: ATI Technologies IXP IDE Controller (rev. 
0x00)
ixpide0: using ioapic0 pin 16 for native-PCI interrupt
atabus0 at ixpide0 channel 0
atabus1 at ixpide0 channel 1
ohci0 at pci0 dev 18 function 0: vendor 0x1002 product 0x4397 (rev. 0x00)
ohci0: interrupting at ioapic0 pin 22
ohci0: OHCI version 1.0, legacy support
usb1 at ohci0: USB revision 1.0
ohci1 at pci0 dev 18 function 1: vendor 0x1002 product 0x4398 (rev. 0x00)
ohci1: interrupting at ioapic0 pin 22
ohci1: OHCI version 1.0, legacy support
usb2 at ohci1: USB revision 1.0
ehci0 at pci0 dev 18 function 2: vendor 0x1002 product 0x4396 (rev. 0x00)
ehci0: interrupting at ioapic0 pin 23
ehci0: dropped intr workaround enabled

from this point on, sending a break doesn't bring me back to the debugger.

However, disabling uhci* and uhub* devices with userconf brings me up to here

usb0: root device is not a hub
usb1: root device is not a hub
usb2: root device is not a hub
usb3: root device is not a hub
usb4: root device is not a hub
fatal breakpoint trap in supervisor mode
trap type 1 code 0 rip ffffffff80252bc5 cs 8 rflags 202 cr2 0 cpl 8 rsp 
ffff8000ba168a98
Stopped in pid 0.2 (system) at  netbsd:breakpoint+0x5:  leave
db{0}> cont
fatal breakpoint trap in supervisor mode
trap type 1 code 0 rip ffffffff80252bc5 cs 8 rflags 202 cr2 0 cpl 8 rsp 
ffff8000ba168838
Stopped in pid 0.2 (system) at  netbsd:breakpoint+0x5:  leave
db{0}> bt
breakpoint() at netbsd:breakpoint+0x5
comintr() at netbsd:comintr+0x518
Xintr_ioapic_edge10() at netbsd:Xintr_ioapic_edge10+0xee
--- interrupt ---
bus_space_read_4() at netbsd:bus_space_read_4+0xa
intr_biglock_wrapper() at netbsd:intr_biglock_wrapper+0x1d
Xintr_ioapic_level6() at netbsd:Xintr_ioapic_level6+0xf6
--- interrupt ---
inl() at netbsd:inl+0x7
AcpiHwReadPort() at netbsd:AcpiHwReadPort+0xcc
AcpiHwRead() at netbsd:AcpiHwRead+0x5c
acpitimer_read_fast() at netbsd:acpitimer_read_fast+0x11
acpicpu_cstate_idle_enter() at netbsd:acpicpu_cstate_idle_enter+0x61
acpicpu_cstate_idle() at netbsd:acpicpu_cstate_idle+0xbc
idle_loop() at netbsd:idle_loop+0x17c
db{0}>

Any thoughts would be really much appreciated.

Thanks

   Torsten


--
<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
<>                                                              <>
<> Dr. Torsten Harenberg     harenberg%physik.uni-wuppertal.de@localhost  <>
<> Bergische Universitaet                                       <>
<> FB C - Physik             Tel.: +49 (0)202 439-3521          <>
<> Gaussstr. 20              Fax : +49 (0)202 439-2811          <>
<> 42097 Wuppertal                                              <>
<>                                                              <>
<><><><><><><>< Of course it runs NetBSD http://www.netbsd.org ><> 




Home | Main Index | Thread Index | Old Index