qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] OS/2 PPC booting making some progress(sorry this has co


From: Tero Kaarlela
Subject: Re: [Qemu-devel] OS/2 PPC booting making some progress(sorry this has correct entry point :)
Date: Sat, 21 May 2005 13:02:24 +0300
User-agent: Mozilla/5.0 (OS/2; U; Warp 4.5; en-US; rv:1.0.1) Gecko/20020919 IBM Web Browser for OS/2

Hi,

I have made some modifications to PPC PREP booting to get OS/2 bootloader working. Now I hopefully have made some progress (it isn't working yet but has gone forward on my opinion). So I have few questions at the moment:

  1. on debug 1. Is the opcode really invalid or just unsupported one?
2. on debug 2. What is this unaffected IO port 838 it tries to read & write ?
  3. Might that unsupported ioport prevent booting?
1. Booted with qemu-system-ppc -dummy-net -nographic -prep -cdrom os2.iso
     (and giving boot device ide_cdrom0)

Boot: 00ec0500 47ff0800 00000000 00000000
Bootinfos at : 200000

Now boot it... (0)

stack: 5bfff70 malloc_base: 0 0x05800000 0x06000000
PREP boot... 15ea00 100000
inb: port=0x0010
ERROR: unaffected IO port: 0814 read
Entering Little Endian mode...
outb: port=0x0280 data=0xc0

IBM Microkernel Bootloader (Power PC, Little Endian)
Press ENTER for manual boot...........
[PN_BOOT_DEV="automatic"] ide_cdrom0 (gave this device manually) ide: read addr=0x1f7 val=00
IDE: write addr=0x1f6 val=0xa0
IDE: write addr=0x1f7 val=0xa1
ide: CMD=a1
ide: read addr=0x1f7 val=00
Device initialization failed
invalid/unsupported opcode: 02 - 04 - 01 (08000048) 0x00000300 0
invalid/unsupported opcode: 02 - 04 - 01 (08000048) 0x00000700 0

Crashed!!

2. This works better(because ide_cdrom is actully there)
2. Booted with qemu-system-ppc -dummy-net -nographic -prep -cdrom os2.iso
(and giving boot device ide_cdrom2 + filesystem FAT_HARDDISK)

Boot: 00ec0500 47ff0800 00000000 00000000
Bootinfos at : 200000

Now boot it... (0)

stack: 5bfff70 malloc_base: 0 0x05800000 0x06000000
PREP boot... 15ea00 100000
inb: port=0x0010
ERROR: unaffected IO port: 0814 read
Entering Little Endian mode...
outb: port=0x0280 data=0xc0

IBM Microkernel Bootloader (Power PC, Little Endian)
Press ENTER for manual boot...........
[PN_BOOT_DEV="automatic"] ide_cdrom2 (gave this manually)
ide: read addr=0x177 val=40
IDE: write addr=0x176 val=0xa0
IDE: write addr=0x177 val=0xa1
ide: CMD=a1
ide: read addr=0x177 val=48
dma: read_chan 0x4 -> 14336
dma: read_chan 0x4 -> 14336
ide: write control addr=0x376 val=08
ERROR: unaffected IO port: 0838 read
ERROR: unaffected IO port write: 0838 => fd
ide: read addr=0x177 val=40
ide: read addr=0x177 val=40
IDE: write addr=0x171 val=0x00
IDE: write addr=0x174 val=0x00
IDE: write addr=0x175 val=0x08
IDE: write addr=0x176 val=0xa0
IDE: write addr=0x177 val=0xa0
ide: CMD=a0
ide: read addr=0x177 val=48
ide: read addr=0x172 val=01
ide: read addr=0x177 val=48
ATAPI limit=0x800 packet: 00 00 00 00 00 00 00 00 00 00 00 00
ERROR: unaffected IO port: 0838 read
ide: read addr=0x177 val=40
ERROR: unaffected IO port: 0838 read
ERROR: unaffected IO port write: 0838 => fd
ide: read addr=0x172 val=03
[PN_BOOT_FS="automatic"] FAT_HARDDISK (gave this manually but should be automatically regognized other option is FAT_FLOPPY)
ide: read addr=0x177 val=40
ide: read addr=0x177 val=40
IDE: write addr=0x171 val=0x00
IDE: write addr=0x174 val=0x00
IDE: write addr=0x175 val=0x08
IDE: write addr=0x176 val=0xa0
IDE: write addr=0x177 val=0xa0
ide: CMD=a0
ide: read addr=0x177 val=48
ide: read addr=0x172 val=01
ide: read addr=0x177 val=48
ATAPI limit=0x800 packet: 28 00 00 00 00 00 00 00 01 00 00 00
read: LBA=0 nb_sectors=1
reply: tx_size=2048 elem_tx_size=0 index=2048
byte_count_limit=2048
status=0x48
ERROR: unaffected IO port: 0838 read
ide: read addr=0x177 val=48
ERROR: unaffected IO port: 0838 read
ERROR: unaffected IO port write: 0838 => fd
ide: read addr=0x172 val=02
ide: read addr=0x174 val=00
ide: read addr=0x175 val=08
reply: tx_size=0 elem_tx_size=0 index=2048
status=0x40
ERROR: unaffected IO port: 0838 read
ide: read addr=0x177 val=40
ERROR: unaffected IO port: 0838 read
ERROR: unaffected IO port write: 0838 => fd
ide: read addr=0x172 val=03
we did NOT read the MBR!

Bootloader:  *** Reserved Exception (0x0) ***

srr0 = 0x15f068
srr1 = 0x2031
dsisr= 0x0
dar  = 0x0

Bootloader:  Entering infinite loop.

Tero



_______________________________________________
Qemu-devel mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/qemu-devel








reply via email to

[Prev in Thread] Current Thread [Next in Thread]