Installing and running FreeBSD on a Toshiba Magnia SG30
workgroup server appliance.


These servers seem to come pre-installed with a customized version
of Red Hat 8.  Should run FreeBSD pretty well, though, I think.  :)


###########################

Hardware:

	Celeron 1.2GHz
	256 MB RAM
	40G laptop hard drive

Details:

	Serial port 0 is connected to LCD display on front of unit
	Serial port 1 is connected to the mini-din serial port on the
	  back of the unit.  This 
	Default OS runs serial console at 115200
	BIOS displays to serial port at 115200
	Serial connection to LCD is 9600

###########################

Booting FreeBSD:

1. Attach USB keyboard to USB ports on the back.  You'll need this to change
BIOS to net-boot

2. Compile 'pxeboot' with console on sio1:
	Set BOOT_COMCONSOLE_PORT = 0x2f8 in /etc/make.conf
	Set LOADER_TFTP_SUPPORT=YES in /etc/make.conf

	cd /usr/src/sys/boot; make; make
	grab /usr/src/sys/boot/i386/pxeldr/pxeboot

See: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/serialconsole-setup.html
for more details.

3. Compile kernel with console on sio1:
	Change sio1 line to 'device sio1 at isa? port IO_COM2 flags 0x10 irq 3'
	Copy kernel to /kernel.MAGNIA on boot tftp server

####################################

Configure bootp to boot file 'pxeboot' for the magnia
Configure /boot/loader.rc on tftp server:

	load /kernel.MAGNIA
	load -t mfs_root /
	set vfs.root.mountfrom="ufs:/dev/md0c"
	autoboot 5


Connect 115200 baud serial port to rear serial port

Press 'F8' on USB keyboard to activate boot menu.
Select BBS-0 to boot from network

Boot the kernel.

Quickly switch the serial terminal to 9600 to watch FreeBSD boot messages

######################################

Boot messages using modified GENERIC:

Copyright (c) 1992-2001 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        The Regents of the University of California. All rights reserved.
FreeBSD 4.4-RELEASE #0: Wed Oct 29 22:34:00 GMT 2003
    jmalone@setup2.intranet:/usr/src/sys/compile/GENERIC
Timecounter "i8254"  frequency 1193182 Hz
CPU: Pentium III/Pentium III Xeon/Celeron (1208.46-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x6b4  Stepping = 4
  Features=0x383f9ff
real memory  = 268369920 (262080K bytes)
avail memory = 253423616 (247484K bytes)
Preloaded elf kernel "kernel.MAGNIAGEN" at 0xc07aa000.
Preloaded mfsroot "/mfsroot-bl1" at 0xc07aa0a8.
Pentium Pro MTRR support enabled
md0: Malloc disk
Using $PIR table, 9 entries at 0xc00f7ea0
npx0:  on motherboard
npx0: INT 16 interface
pcib0:  on motherboard
pci0:  on pcib0
pcib1:  at device 1.0 on pci0
pci1:  on pcib1
isab0:  at device 7.0 on pci0
isa0:  on isab0
atapci0:  port 0xfc00-0xfc0f at device 7.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
uhci0:  port 0xe800-0xe81f irq 11 at device 7.2 on pci0
usb0:  on uhci0
usb0: USB revision 1.0
uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1:  port 0xec00-0xec1f irq 11 at device 7.3 on pci0
usb1:  on uhci1
usb1: USB revision 1.0
uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
chip1:  at device 7.4 on pci0
rl0:  port 0xe400-0xe4ff mem 0xdfffff00-0xdfffffff irq 7 at device 8.0 on pci0
rl0: Ethernet address: 00:10:c6:1f:4c:19
miibus0:  on rl0
rlphy0:  on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp0:  port 0xe000-0xe03f mem 0xdffc0000-0xdffdffff,0xdfffe000-0xdfffefff irq 15 at device 9.0 on pci0
fxp0: Ethernet address 00:10:c6:1f:4c:18
inphy0:  on miibus1
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
pci_cfgintr_search: linked (5) to configured irq 15 at 0:9:0
pci_cfgintr: 0:10 INTA routed to irq 15
pcic0:  irq 15 at device 10.0 on pci0
pcic0: PCI Memory allocated: 0x44000000
pcic0: Warning: O2micro OZ68xx chips may not work
pccard0:  on pcic0
pci_cfgintr_search: linked (5) to configured irq 15 at 0:9:0
pci_cfgintr: 0:10 INTA routed to irq 15
pcic1:  irq 15 at device 10.1 on pci0
pcic1: PCI Memory allocated: 0x44001000
pcic1: Warning: O2micro OZ68xx chips may not work
pccard1:  on pcic1
pci_cfgintr_search: linked (1) to configured irq 0 at 0:1:0
pci_cfgintr: 0:11 INTA routed to irq 0
pcic2:  irq 0 at device 11.0 on pci0
pcic2: PCI Memory allocated: 0x44002000
pci_cfgintr_search: linked (1) to configured irq 0 at 0:1:0
pci_cfgintr: 0:11 INTA routed to irq 0
pcic2: Warning: O2micro OZ68xx chips may not work
pccard2:  on pcic2
uhci2:  port 0xd800-0xd81f irq 11 at device 12.0 on pci0
usb2:  on uhci2
usb2: USB revision 1.0
uhub2: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
uhci3:  port 0xdc00-0xdc1f irq 15 at device 12.1 on pci0
usb3:  on uhci3
usb3: USB revision 1.0
uhub3: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub3: 2 ports with 2 removable, self powered
pci0:  at 12.2 irq 11
orm0: