[prev in list] [next in list] [prev in thread] [next in thread] 

List:       bochs-dev
Subject:    FreeBSD install disks boot! (patch)
From:       Greg Alexander <yakovlev () usa ! com>
Date:       2000-12-22 18:49:59
[Download RAW message or body]

--383584442.977510999112.JavaMail.root@web183-mc
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

Okay, I found the ide controller problem and added a patch to support it.

So, to boot the freebsd install disks:
1.) use a hard disk image.  If you don't have one, the default one uses a
bunch of zeros which causes a divide by zero error.  This is potentially a
freebsd bug, but I'm not sure if it's worth fixing.

2.) boot normally using the kern and mfsroot disks.

3.) when you set up the kernel, disable the mouse driver.  This still
doesn't work.  None of the other drivers cause any problems.  (unless you
don't have a hard disk image installed, in which case you should remove the
ATA/ATAPI drivers to fix problem 1, above.)

4.) continue on normally.  I was able to use the fixit.flp image to mount a
freeDOS image and read it, so things should be working fairly well.


The patches needed are my earlier vga one and the attached hard disk one.


______________________________________________
FREE Personalized Email at Mail.com
Sign up at http://www.mail.com/?sr=signup
--383584442.977510999112.JavaMail.root@web183-mc
Content-Type: text/plain; name=diffs3.txt
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename=diffs3.txt
Content-Description: 
Content-ID: 

*** ../../clean/bochs-2000_0325a/iodev/harddrv.cc	Sat Mar 25 21:28:49 2000
--- iodev//harddrv.cc	Fri Dec 22 11:53:53 2000
***************
*** 1413,1418 ****
--- 1413,1433 ----
  	  }
            break;
  
+         case 0xef: // set features
+ 	  switch(BX_SELECTED_CONTROLLER.features) {
+ 	    case 0x02: // Enable and
+ 	    case 0x82: //  Disable write cache.
+ 	    case 0xAA: // Enable and
+ 	    case 0x55: //  Disable look-ahead cache.
+ 	      bx_printf("disk: SET FEATURES subcommand not supported by disk.\n");
+ 	      command_aborted(value);
+ 	    break;
+ 
+ 	    default:
+ 	      bx_panic("disk: SET FEATURES with unknown subcommand: 0x%02x\n", (unsigned) \
BX_SELECTED_CONTROLLER.features ); + 	  }
+ 	  break;
+ 
          case 0x40: //
            if (bx_options.newHardDriveSupport) {
  	    if (BX_SELECTED_HD.device_type != IDE_DISK)

--383584442.977510999112.JavaMail.root@web183-mc--



_______________________________________________
Bochs-developers mailing list
Bochs-developers@redhat.com
https://listman.redhat.com/mailman/listinfo/bochs-developers


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic