----- 原始邮件 -----
发件人:<[email protected]>
收件人:"Kevin O'Connor" <[email protected]>
主题:回复:Re: [SeaBIOS] about ZoneHigh occupying ram from last address of below 4G 
ram
日期:2015年04月15日 21点15分



----- 原始邮件 -----
发件人:Kevin O'Connor <[email protected]>
收件人:[email protected]
抄送人:seabios <[email protected]>
主题:Re: [SeaBIOS] about ZoneHigh occupying ram from last address of below 4G ram
日期:2015年04月15日 00点45分



On Tue, Apr 14, 2015 at 11:57:08PM +0800, [email protected] wrote:
> I'm using seabios 1.7.5-0 for kvm ,and I find some problem when
> using windows 7 64bit bandvirtual machine.If I configure the windows
> 7 64bit vm memory to 8GB ,the vm can't boot up very often(some
> win7-64bit version easy to trigger) .I use trace-cmd tool to trace
> it ,the vm just scan from last ram of below 4G(0xc000_0000) to 4G
> address byte by byte.This is very time-consuming.From E820 table,the
> address range contain nothing(it is an address hole).
> 
> I query clue from seabios because I can't find any problems in kvm
> or qemu. seabios keep a range of ram from last address below 4G as
> zonehigh ram .I guess the windows os see a not aligned ram address
> space and scan from 0xc000_0000. so I try to change the ZoneHigh to
> low address space (I choose 128MB,grub use from 1MB address
> space).after I changed,I can boot win7-64bit vm normally.
> 
> So I want to know whether changing ZoneHigh to 128MB can be a
> general modification.
I haven't seen any other reports of issues like this with Win7. I
suspect something else is going on. Please provide the full debug log
(as described at: http://seabios.org/Debugging ) with an unmodified
seabios from both a succesful boot event and a failed boot event.
-Kevin

 
I just can' boot succesfully if I use unmodified seabios (vm using 8 GB 
memory).I will try again.
The attachment is the output of seabios when booting failed.
 
SeaBIOS (version rel-1.7.5-0-ge51488c-20140602_164612-nilsson.home.kraxel.org)
No Xen hypervisor found.
Running on QEMU (i440fx)
Running on KVM
RamSize: 0xc0000000 [cmos]
Relocating init from 0x000dfbd9 to 0xbffaeb00 (size 70708)
Found QEMU fw_cfg
RamBlock: addr 0x0000000000000000 len 0x00000000c0000000 [e820]
RamBlock: addr 0x0000000100000000 len 0x0000000140000000 [e820]
Moving pm_base to 0x600
CPU Mhz=2139
=== PCI bus & bridge init ===
PCI: pci_bios_init_bus_rec bus = 0x0
=== PCI device probing ===
Found 8 PCI devices (max PCI bus is 00)
=== PCI new allocation pass #1 ===
PCI: check devices
=== PCI new allocation pass #2 ===
PCI: IO: c000 - c0af
PCI: 32: 00000000c0000000 - 00000000fec00000
PCI: map device bdf=00:03.0  bar 1, addr 0000c000, size 00000040 [io]
PCI: map device bdf=00:04.0  bar 0, addr 0000c040, size 00000040 [io]
PCI: map device bdf=00:01.2  bar 4, addr 0000c080, size 00000020 [io]
PCI: map device bdf=00:01.1  bar 4, addr 0000c0a0, size 00000010 [io]
PCI: map device bdf=00:03.0  bar 6, addr feb80000, size 00040000 [mem]
PCI: map device bdf=00:03.0  bar 0, addr febc0000, size 00020000 [mem]
PCI: map device bdf=00:02.0  bar 6, addr febe0000, size 00010000 [mem]
PCI: map device bdf=00:02.0  bar 1, addr febf0000, size 00001000 [mem]
PCI: map device bdf=00:04.0  bar 1, addr febf1000, size 00001000 [mem]
PCI: map device bdf=00:02.0  bar 0, addr fc000000, size 02000000 [prefmem]
PCI: init bdf=00:00.0 id=8086:1237
PCI: init bdf=00:01.0 id=8086:7000
PIIX3/PIIX4 init: elcr=00 0c
PCI: init bdf=00:01.1 id=8086:7010
PCI: init bdf=00:01.2 id=8086:7020
PCI: init bdf=00:01.3 id=8086:7113
Using pmtimer, ioport 0x608
PCI: init bdf=00:02.0 id=1013:00b8
PCI: init bdf=00:03.0 id=8086:100e
PCI: init bdf=00:04.0 id=1af4:1001
PCI: Using 00:02.0 for primary VGA
Found 2 cpu(s) max supported 2 cpu(s)
Copying PIR from 0xbffbfca3 to 0x000f0f90
Copying MPTABLE from 0x00006db0/bffa5b20 to 0x000f0e80
Copying SMBIOS entry point from 0x00006db0 to 0x000f0c50
Scan for VGA option rom
Running option rom at c000:0003
Start SeaVGABIOS (version 
rel-1.7.5-0-ge51488c-20140602_164645-nilsson.home.kraxel.org)
enter vga_post:
   a=00000010  b=0000ffff  c=00000000  d=0000ffff ds=0000 es=f000 ss=0000
  si=00000000 di=00006ae0 bp=00000000 sp=00006d16 cs=f000 ip=d2ea  f=0000
cirrus init
cirrus init 2
Attempting to allocate VGA stack via pmm call to f000:d362
pmm call arg1=0
VGA stack allocated at ef590
Turning on vga text mode console
set VGA mode 3
cirrus mode switch regular
SeaBIOS (version rel-1.7.5-0-ge51488c-20140602_164612-nilsson.home.kraxel.org)
UHCI init on dev 00:01.2 (io=c080)
Found 1 lpt ports
Found 1 serial ports
Searching bootorder for: /pci@i0cf8/isa@1/fdc@03f0/floppy@0
ATA controller 1 at 1f0/3f4/0 (irq 14 dev 9)
ATA controller 2 at 170/374/0 (irq 15 dev 9)
found virtio-blk at 0:4
Searching bootorder for: /pci@i0cf8/*@4
ps2_read_data count==0 
KBD: kbd: read data=0xaa,ps2_cmd 0 
DVD/CD [ata1-0: QEMU DVD-ROM ATAPI-4 DVD/CD]
Searching bootorder for: /pci@i0cf8/*@1,1/drive@1/disk@0
PS2 keyboard initialized
All threads complete.
Scan for option roms
Running option rom at c980:0003
pmm call arg1=1
pmm call arg1=0
pmm call arg1=1
pmm call arg1=0
Searching bootorder for: /pci@i0cf8/*@3
Searching bootorder for: /rom@genroms/kvmvapic.bin
Searching bootorder for: HALT
drive 0x000f0ba0: PCHS=16383/16/63 translation=lba LCHS=1024/255/63 s=31457280
Running option rom at ca80:0003
Space available for UMB: cd000-ed000, f0000-f0b40
Returned 131072 bytes of ZoneHigh
e820 map has 8 items:
  0: 0000000000000000 - 000000000009fc00 = 1 RAM
  1: 000000000009fc00 - 00000000000a0000 = 2 RESERVED
  2: 00000000000f0000 - 0000000000100000 = 2 RESERVED
  3: 0000000000100000 - 00000000bffe0000 = 1 RAM
  4: 00000000bffe0000 - 00000000c0000000 = 2 RESERVED
  5: 00000000feffc000 - 00000000ff000000 = 2 RESERVED
  6: 00000000fffc0000 - 0000000100000000 = 2 RESERVED
  7: 0000000100000000 - 0000000240000000 = 1 RAM
enter handle_19:
  NULL
Booting from Hard Disk...
Booting from 0000:7c00
set VGA mode 3
cirrus mode switch regular
set VGA mode 3
cirrus mode switch regular
set VGA mode 3
cirrus mode switch regular
VBE current mode=3
VBE mode info request: 3
VBE mode info request: 3
VBE mode info request: 101
VBE mode info request: 111
VBE mode info request: 110
VBE mode info request: 112
VBE mode info request: 103
VBE mode info request: 114
VBE mode info request: 113
VBE mode info request: 105
VBE mode info request: 117
VBE mode info request: 116
VBE mode info request: 115
VBE mode info request: 118
VBE mode set: 4118
set VGA mode 118
VBE mode info request: 118
VBE current mode=4118
VBE current mode=4118
VBE mode info request: 118
VBE mode info request: 118
VBE mode info request: 118

_______________________________________________
SeaBIOS mailing list
[email protected]
http://www.seabios.org/mailman/listinfo/seabios

Reply via email to