VirtualBox

Opened 15 years ago

Closed 9 years ago

#3378 closed defect (obsolete)

VirtualBox (Mac OS X) dies with OpenSolaris guest during early boot with kernel debugger interaction

Reported by: Mark Johnson Owned by:
Component: VMM Version: VirtualBox 2.1.2
Keywords: Cc:
Guest type: Solaris Host type: Mac OS X

Description (last modified by Frank Mehnert)

This is on a 32-bit only Macbook Pro. For guest; ACPI is on, everything else is off. Turning on VT-x does not make the problem go away. It works fine on metal.

Using a stock OpenSolaris 2008.11 guest, enter the kernel debugger. To do this:

   o when the grub line comes up, hit 'e'
   o go to the splashimage line and hit 'd' to delete it
   o go to the foreground line and hit 'd' to delete it
   o go to the backgound line and hit 'd' to delete it
   o go to the kernel$ line and hit 'e' to EDIT it
      o hit backspace/delete to remove ",console=graphics"
      o use the arrow keys to move the cursor before the -B $ZFS-BOOTFS, and add -kd
         o the line should now look like
               kernel$ /platform/i86pc/kernel/$ISADIR/unix -kd -B $ZFS-BOOTFS
      o hit return to enter changes and go back
      o hit 'b' to boot

Wait for the kmdb prompt [0]>

   o at the kmdb prompt, set the var and continue..  vbox guest will die here
     and be left in a "aborted" state. 
     NOTE: Make sure initial k is lower case.. virtual box always seems to
     capitalize it (a bug?) and I have to delete and type it again.

      o kobj_file_bufsize?W 0x100000
      o :c

From the guest log...

00:00:01.112 PIIX3 ATA: LUN#0: disk, PCHS=16383/16/63, total number of sectors 20971520
00:00:01.112 PIIX3 ATA: LUN#1: no unit
00:00:01.113 PIIX3 ATA: LUN#2: CD/DVD, total number of sectors 0, passthrough disabled
00:00:01.113 PIIX3 ATA: LUN#3: no unit
00:00:01.113 PIIX3 ATA: Ctl#0: finished processing RESET
00:00:01.113 PIIX3 ATA: Ctl#1: finished processing RESET
00:00:01.114 Port0: no driver attached
00:00:01.114 AHCI ATA: LUN#0: no unit
00:00:01.114 AHCI ATA: LUN#1: no unit
00:00:01.114 ATA: Ctl: finished processing RESET
00:00:01.114 AHCI ATA: LUN#0: no unit
00:00:01.114 AHCI ATA: LUN#1: no unit
00:00:01.114 ATA: Ctl: finished processing RESET
00:00:01.114 ATA: Ctl: finished processing RESET
00:00:01.114 ATA: Ctl: finished processing RESET
00:00:01.115 NAT: passing domain name sfbay.sun.com
00:00:01.115 NAT: DNS address: 129.145.155.220
00:00:01.115 NAT: ignored DNS address: 129.145.154.118
00:00:01.115 Audio: Trying driver 'coreaudio'.
00:00:01.115 Audio: set_record_source ars=0 als=0 (not implemented)
00:00:01.198 DevPcBios: ATA LUN#0 LCHS=1024/255/63
00:00:01.199 PGMR3InitFinalize: 4 MB PSE mask 00000000ffffffff
00:00:01.230 VM: Halt method global1 (5)
00:00:01.230 Changing the VM state from 'CREATING' to 'CREATED'.
00:00:01.230 Changing the VM state from 'CREATED' to 'RUNNING'.
00:00:01.240 Guest Log: BIOS: VirtualBox 2.1.2
00:00:01.240 PIT: mode=2 count=0x10000 (65536) - 18.20 Hz (ch=0)
00:00:01.259 PIIX3 ATA: Ctl#0: RESET, DevSel=0 AIOIf=0 CmdIf0=0x00 (-1 usec ago) CmdIf1=0x00 (-1 usec ago)
00:00:01.259 PIIX3 ATA: Ctl#0: finished processing RESET
00:00:01.284 Guest Log: BIOS: ata0-0: PCHS=16383/16/63 LCHS=1024/255/63
00:00:01.285 PIIX3 ATA: Ctl#1: RESET, DevSel=0 AIOIf=0 CmdIf0=0x00 (-1 usec ago) CmdIf1=0x00 (-1 usec ago)
00:00:01.286 PIIX3 ATA: Ctl#1: finished processing RESET
00:00:01.287 PIT: mode=2 count=0x48d3 (18643) - 64.00 Hz (ch=0)
00:00:01.307 Display::handleDisplayResize(): uScreenId = 0, pvVRAM=20b7c000 w=640 h=480 bpp=32 cbLine=0xA00
00:00:03.765 PIT: mode=2 count=0x10000 (65536) - 18.20 Hz (ch=0)
00:00:03.768 Guest Log: BIOS: CDROM boot failure code : 0003
00:00:03.768 Guest Log: BIOS: Boot from CD-ROM failed
00:00:03.770 Guest Log: BIOS: Booting from Hard Disk...
00:00:03.770 PIIX3 ATA: Ctl#0: RESET, DevSel=0 AIOIf=0 CmdIf0=0x20 (-1 usec ago) CmdIf1=0x00 (-1 usec ago)
00:00:03.770 PIIX3 ATA: Ctl#0: finished processing RESET
00:00:03.774 Display::handleDisplayResize(): uScreenId = 0, pvVRAM=00000000 w=720 h=400 bpp=0 cbLine=0x0
00:00:03.802 PIIX3 ATA: Ctl#0: RESET, DevSel=0 AIOIf=0 CmdIf0=0x20 (-1 usec ago) CmdIf1=0x00 (-1 usec ago)
00:00:03.802 PIIX3 ATA: Ctl#0: finished processing RESET
00:00:04.244 Display::handleDisplayResize(): uScreenId = 0, pvVRAM=20b7c000 w=640 h=480 bpp=0 cbLine=0x140
00:00:54.710 Guest Log: BIOS: int13_harddisk: function 42. LBA out of range
00:00:54.711 Guest Log: BIOS: int13_harddisk: function 02, parameters out of range 0000/0000/0001!
00:00:54.711 Guest Log: BIOS: int13_harddisk: function 02, parameters out of range 0000/0000/0001!
00:00:54.711 Guest Log: BIOS: int13_harddisk: function 02, parameters out of range 0000/0000/0001!
00:00:54.712 Guest Log: BIOS: int13_harddisk: function 02, parameters out of range 0000/0000/0001!
00:00:54.712 Guest Log: BIOS: int13_harddisk: function 02, parameters out of range 0000/0000/0001!
00:00:54.712 Guest Log: BIOS: int13_harddisk: function 02, parameters out of range 0000/0000/0001!
00:00:55.336 Guest Log: BIOS: int13_harddisk: function 42. LBA out of range
00:00:55.336 Guest Log: BIOS: int13_harddisk: function 02, parameters out of range 0000/0000/0001!
00:00:55.336 Guest Log: BIOS: int13_harddisk: function 02, parameters out of range 0000/0000/0001!
00:00:55.336 Guest Log: BIOS: int13_harddisk: function 02, parameters out of range 0000/0000/0001!
00:00:55.337 Guest Log: BIOS: int13_harddisk: function 02, parameters out of range 0000/0000/0001!
00:00:55.337 Guest Log: BIOS: int13_harddisk: function 02, parameters out of range 0000/0000/0001!
00:00:55.337 Guest Log: BIOS: int13_harddisk: function 02, parameters out of range 0000/0000/0001!
00:00:55.337 Guest Log: BIOS: int13_harddisk: function 42. LBA out of range
00:00:55.337 Guest Log: BIOS: int13_harddisk: function 02, parameters out of range 0000/0000/0001!
00:00:55.337 Guest Log: BIOS: int13_harddisk: function 02, parameters out of range 0000/0000/0001!
00:00:55.338 Guest Log: BIOS: int13_harddisk: function 02, parameters out of range 0000/0000/0001!
00:00:55.338 Guest Log: BIOS: int13_harddisk: function 02, parameters out of range 0000/0000/0001!
00:00:55.338 Guest Log: BIOS: int13_harddisk: function 02, parameters out of range 0000/0000/0001!
00:00:55.338 Guest Log: BIOS: int13_harddisk: function 02, parameters out of range 0000/0000/0001!
00:00:55.338 Guest Log: BIOS: int13_harddisk: function 42. LBA out of range
00:00:55.338 Guest Log: BIOS: int13_harddisk: function 02, parameters out of range 0000/0000/0001!
00:00:55.339 Guest Log: BIOS: int13_harddisk: function 02, parameters out of range 0000/0000/0001!
00:00:55.339 Guest Log: BIOS: int13_harddisk: function 02, parameters out of range 0000/0000/0001!
00:00:55.339 Guest Log: BIOS: int13_harddisk: function 02, parameters out of range 0000/0000/0001!
00:00:55.339 Guest Log: BIOS: int13_harddisk: function 02, parameters out of range 0000/0000/0001!
00:00:55.339 Guest Log: BIOS: int13_harddisk: function 02, parameters out of range 0000/0000/0001!
00:00:55.339 Guest Log: BIOS: int13_harddisk: function 42. LBA out of range
00:00:55.339 Guest Log: BIOS: int13_harddisk: function 02, parameters out of range 0000/0000/0001!
00:00:55.340 Guest Log: BIOS: int13_harddisk: function 02, parameters out of range 0000/0000/0001!
00:00:55.340 Guest Log: BIOS: int13_harddisk: function 02, parameters out of range 0000/0000/0001!
00:00:55.340 Guest Log: BIOS: int13_harddisk: function 02, parameters out of range 0000/0000/0001!
00:00:55.340 Guest Log: BIOS: int13_harddisk: function 02, parameters out of range 0000/0000/0001!
00:00:55.340 Guest Log: BIOS: int13_harddisk: function 02, parameters out of range 0000/0000/0001!
00:00:55.340 Guest Log: BIOS: int13_harddisk: function 42. LBA out of range
00:00:55.341 Guest Log: BIOS: int13_harddisk: function 02, parameters out of range 0000/0000/0001!
00:00:55.341 Guest Log: BIOS: int13_harddisk: function 02, parameters out of range 0000/0000/0001!
00:00:55.341 Guest Log: BIOS: int13_harddisk: function 02, parameters out of range 0000/0000/0001!
00:00:55.341 Guest Log: BIOS: int13_harddisk: function 02, parameters out of range 0000/0000/0001!
00:00:55.341 Guest Log: BIOS: int13_harddisk: function 02, parameters out of range 0000/0000/0001!
00:00:55.341 Guest Log: BIOS: int13_harddisk: function 02, parameters out of range 0000/0000/0001!
00:00:55.341 Guest Log: BIOS: int13_harddisk: function 42. LBA out of range
00:00:55.341 Guest Log: BIOS: int13_harddisk: function 02, parameters out of range 0000/0000/0001!
00:00:55.342 Guest Log: BIOS: int13_harddisk: function 02, parameters out of range 0000/0000/0001!
00:00:55.342 Guest Log: BIOS: int13_harddisk: function 02, parameters out of range 0000/0000/0001!
00:00:55.342 Guest Log: BIOS: int13_harddisk: function 02, parameters out of range 0000/0000/0001!
00:00:55.342 Guest Log: BIOS: int13_harddisk: function 02, parameters out of range 0000/0000/0001!
00:00:55.342 Guest Log: BIOS: int13_harddisk: function 02, parameters out of range 0000/0000/0001!
00:01:06.444 Display::handleDisplayResize(): uScreenId = 0, pvVRAM=00000000 w=720 h=400 bpp=0 cbLine=0x0
00:03:15.284 
00:03:15.284 !!Assertion Failed!!
00:03:15.284 Expression: <NULL>
00:03:15.284 Location  : /Volumes/ServerHD2/Users2/vbox/tinderbox/mac-rel/src/recompiler_new/VBoxRecompiler.c(4346) cpu_abort
00:03:15.284 fatal error in recompiler cpu: triple fault

Change History (3)

comment:1 by Technologov, 14 years ago

This combination of Mac and Solaris is imba rare. Let's divide it.

  1. Can you try on newer VBox ?
  1. Can you try the same Solaris VM on a different host OS ?
  1. Can you try a different guest OS on your Mac host ?

-Technologov

comment:2 by Mark Johnson, 14 years ago

3.0.12 vbox on 64-bit Windows 7 host with OpenSolaris b127 with -kd kernel options works as expected

Different guests work fine on the mac... Also Solaris works fine.. It was just if you boot into the Solaris debugger and entry the value above before booting the kernel. It should return back to the debugger.

3.0.12 vbox on 32-bit Mac os X (10.6.2) with with OpenSolaris b127 still has that same problem.

Also, the first key pressed is still incorrectly capitalized on both hosts.

comment:3 by Frank Mehnert, 9 years ago

Description: modified (diff)
Resolution: obsolete
Status: newclosed
Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use