Skip to content

Instantly share code, notes, and snippets.

@Grogdor
Created January 27, 2016 12:37
Show Gist options
  • Save Grogdor/f90938fae30ae4386614 to your computer and use it in GitHub Desktop.
Save Grogdor/f90938fae30ae4386614 to your computer and use it in GitHub Desktop.
Sun Fire V100 serial cable pinout and LOM notes for booting FreeBSD
avail memory = 764035072 (728 MB)
cpu0: Sun Microsystems UltraSparc-IIe Processor (548.00 MHz CPU)
1 - brown
2 - red
3 - orange
4 - yellow
5 - green
6 - blue
7 - purple
8 - gray
9 - black
8,6,2,5,5,3,4,7
gray, blue, red, green, green, orange, yellow, purple
ok boot cdrom
Boot device: /pci@1f,0/ide@d/cdrom@3,0:f File and args:
Can't read disk label.
Can't open disk label package
Can't open boot device
ok nvunalias cdrom
ok nvalias cdrom /pci@1f,0/ide@d/cdrom@2,0:f
ok nvstore
ok boot cdrom
===== ERROR ======
Fast Data Access MMU Miss
ok setenv auto-boot? false
auto-boot? = false
ok reset-all
==================
ok boot cdrom
Boot device: /pci@1f,0/ide@d/cdrom@2,0:f File and args:
>> FreeBSD/sparc64 boot block...
==================
ok boot disk
Boot device: /pci@1f,0/ide@d/disk@2,0 F args:
Can't read disk label.
Can't open disk label package
// I think I was using the wrong arch install disc here!
Can't open boot device
ok probe-all
ok probe-ide
Device 0 ( Primary Master )
ATA Model: MAXTOR 6L080J4
Device 1 ( Primary Slave )
Not Present
Device 2 ( Secondary Master )
Removable ATAPI Model: CD-224E
Device 3 ( Secondary Slave )
Not Present
ok boot /pci@1f,0/ide@d/disk@0,0
Boot device: /pci@1f,0/ide@d/disk@0,0 File and args:
>> FreeBSD/sparc64 boot block...
Boot path: /pci@1f,0/ide@d/disk@0,0:a
Boot loader: /boot/loader
Re: SunFire V100 / Solaris 10 LOM Trouble
Mar 8, 2008 10:29 PM (reply 4 of 6) (In reply to #2 )
Hey there tparikka,
Here is the "Cheat sheet" I created for interfacing with the LOM on my SunFire V100. The answer to your problems is probably here. If you still have questions, ask a more specific one based on these docs.
=== BEFORE INSTALLING SOLARIS ON A SUN FIRE (SPARC BASED SYSTEM) ===
- Serial Adapter and RJ45 Standard cable Required
- Use Serial Port on another computer and A LOM on Sunfire
- Important B Serial is used to communicate to another box
- Setup 9600 8N1 and use Minicom /dev/ttyS0
- Hit enter and you should just get in!!
NOTE: 3 Modes for interfacing with the SUNFIRE
There are 3 different kinds of modes to enter commands
1. LOM Mode -> LOM > (This is the prompt)
2. OpenBoot PROM mode -> ok (This is the prompt)
3. Unix Shell -> # (This is the prompt)
== SETUP USER IN LOM ==
NOTE: At ANY time in SOLARIS you can drop down to the LOM with the special keys "#."
NOTE: This applies ONLY when logged in via SERIAL PORT
NOTE: If logged in via LAN PORT, you can't drop down to the LOM
LOM> console -> To return to COMMAND PROMPT "#"
LOM> help -> Shows "Help" for LOM
= I am trying to boot off a CDROM to install Solaris 10 =
Console speed = 9600 8N1 -> Can't make it faster
LOM> set bootmode forth -> In order to control the boot process set the bootmode
LOM> show bootmode
LOM> reset
NOTE: I reviewed the LOM mode and there isn't much I can do here except set the "Bootmode"
NOTE: I did setup a USER: xxxxx PASS: xxxxx & gave FULL ACCESS
== OPENNBOOT PROM MODE ==
NOTE: once the "Bootmode" is set and the system is "reset" you get into "OpenBoot Prom" mode
NOTE: If no devices are being shown, then there is a problem!
SOLUTION: Unhook all devices, power down the system and Unhook the Power cord for 30 secs
CHECK: does this solve the problem? NO!
ok probe-all -> DO THIS FIRST! IMPORTANT!
ok probe-ide -> This shows all the IDE devices
= OTHER COMMANDS =
ok reset-all
ok boot cdrom -> Boot from CDROM
ok boot disk0:a -> Boot off Disk0 Slice A
NOTE: If CDROM is on another drive port, edit the command directly
boot-device disk0:a disk net disk net
= When you are ready to BOOT from a CDROM do this ==
ok setenv boot-device cdrom -> Set the boot device to CDROM
ok reset-all -> System will reboot and Load CDROM
= OTHER OPTIONAL COMMANDS =
ok setenv boot-device disk0:a disk net -> Set the boot device to CDROM (after OS install)
ok reset-all
NOTE: If you are at the ok prompt you can try and boot off the disk
ok boot disk
IDE Port Near PSU = Drive 0 Drive 1 (BOOT DRIVE EMPTY)
IDE Port Near RAM = Drive 2 Drive 3 (MIRROR DRIVE CDROM)
Detecting Drives is a little Finicky!!
- For the CDROM to get detected as a SLAVE (DRIVE 3) the system needs HD as Master (Drive 2)
- Otherwise setup CDROM as a Master with it's jumper
- Further, the alias is wrong, you need to edit it a bit to boot from the correct device
= PROBLEM Booting =
Note: everytime I boot the system tries to boot off the NET
Note: need to change this to booting off the disk
ok setenv auto-boot? true -> Command to auto-boot
ok setenv diag-switch? false -> Command to take diagnostics OFF!
ok auto-boot? true -> Command to set auto-boot
ok help nvramrc -> to view options for storing NV settings
ok nvstore -> to update NV settings
devalias
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment