21:36:18 I'm setting up this server, and need to do some stuff on the KVM console. When the OS boots up (even into the installer) something switches the display into 1920x1080 mode and that makes it hard to see in the KVM viewer. Is there some loader or kernel option to tell it to keep VGA resolution? 21:36:50 there's a loader option but I don't know what it is. 21:36:55 there are also options to just use bigger fonts 21:37:21 The KVM viewer doesn't make it easy to scale down the stupid window. 21:37:38 And I haven't got serial setup and working yet. 21:37:49 there's a 'framebuffer' command 21:38:14 that loader.help talks about, which seems like what you'd want? 21:38:33 In the loader menu, I selected console "text". The graphics option is "off". Not sure why this is doing what it is... 21:38:43 that's for the OS etc, I believe 21:38:45 Where is loader.help? 21:38:51 //boot 21:38:56 I don't know how you get at it from in loader 21:39:13 tsoome would be the better person to check with, but it looks like we use the native EDID resolution 21:39:17 which looks like it gave you something huge 21:39:25 but 'framebuffer off' might do the trick? I don't know if you can do it interactively 21:39:29 that's the bit you need tsoome for 21:40:32 there's a toggle_framebuffer forth word, but I don't know if it's for the user or an implementation detail 21:40:42 but it looks like it flips the framebuffer off and redraws the screen 21:40:45 we pick the default recommended resolution from EDID, but you can use: framebuffer set XxY 21:41:05 thanks toomas, I was trying to work out the stack stuff that toggle_framebuffer wanted 21:41:10 I don't know what N would be :) 21:41:40 framebuffer off is really only good with bios boot to attempt to get to text mode 21:41:47 Hm, it's already switched to 1920x1080 before the loader menu is presented. 21:41:55 yeah, because EDID says so probably 21:41:56 This is while booting from USB. 21:42:05 that is, the screen it believes to be the screen has that resolution 21:42:11 Maybe I should try just unplugging the monitor? 21:42:21 yep, thats because your monitor is suggesting it. 21:42:33 I'd do what toomas says and break out and turn it down with `framebuffer` 21:42:40 'cos then you'll notice if the console goes somewhere weird 21:43:25 framebuffer command can be used from loader prompt, or you can add it to /boot/loader.rc.local 21:43:40 yeah, I meant the prompt since this is install media 21:43:41 Hi tsoome. Is there an easy way to tell it to keep the default or some small resolution? 21:43:56 this _is_ the default, otherwise what he just said :) 21:44:38 Well, the default when the firmware is running is something small like 800x600 (not sure what exactly). 21:44:44 otherwise if you unplug the monitor you'll get 800x600. 21:44:47 As soon as we run the loader, it changes. 21:44:56 framebuffer list will list the available resolutions 21:44:59 or if you run framebuffer 800x600 at the ok prompt 21:45:19 gwr: have you tried setting up SOL? 21:45:31 uh, 800x600 framebuffer? 21:45:32 if the IPMI port is configured, that might be easier 21:45:34 whichever way 21:45:49 Gah.. I can't even _read_ the output of the framebuffer command, tiny dark gray text on a huge black background :) 21:46:02 What can I type _blind_ ? 21:46:15 framebuffer set 800x600 21:46:44 ou, this is omnios? 21:46:55 OK. Resolution set, but text is still dark gray. 21:46:58 Yes, OmniOS 21:47:49 omnios does its own magic, they set some fixed resolution in attempt to present the screen in some way 21:47:55 is there an echo command? ESC[37m 21:48:01 OK, at least that I can zoom in and see things. 21:48:05 Thanks. 21:48:16 gwr: you said IIRC the system has an IPMI port, right? 21:48:24 set tem.fg_color=white 21:48:43 I'd rather keep a monitor on there for a while, as it can be tricky to get into the BIOS and such via the KVM (one is often too late to get in) 21:48:54 so keep the monitor on it 21:49:01 go in, configure the IPMI port 21:49:15 enable SOL (whatever they call it) 21:49:16 I'm using the IPMI 21:49:35 I don't see an enable SOL, as yet. Maybe I haven't found it. 21:49:43 what MB is it? 21:49:48 they all use different terms 21:50:20 i have a monitor on my home server, but it just collects dust 21:51:45 AsRock Rack X570D4U 21:52:40 set screen-font= should list you some options for glyph sizes but 800x600 does not give too many options there (large glyphs will end up with too small terminal size) 21:53:41 The IPMI KVM has the convenience of working from a comfortable position (not next to the server :) 21:55:14 it's under advanced in the setup 21:55:41 SOL gives you the convenience of copy/paste and kmdb from a comfortable position :) 21:56:25 and doesn't issues with browser compatability/quirks 21:56:31 or things like screen resolution issues :) 21:59:41 Advanced -> Super IO -> SOL :) 22:04:19 Is there a BIOS option to mirror stuff to the serial port? 22:06:28 SOL doesn't seem to be working. I can connect via ipmitool, but it acts like a disconnected serial port. 22:06:54 I'll chase that down later. 22:08:34 try booting w/ console as 'ttyb' 22:08:37 loader should mirror 22:08:57 but then illumos will only write to one console (whatever is passed to it from loader) 22:09:57 i think once that ticket about an smf temp disable exit code is integrated, distros could make things i think more seamless 22:10:09 Wow.. the damn colors. The dark blue for all the settings in the loader menu are dark blue on black (so basically invisible). 22:10:25 This KVM must show things darker than a normal monitor? Dunno... 22:10:34 does this help: https://www.asrockrack.com/support/faq.asp?id=31 22:10:42 I may have to go do this via the physical console. 22:11:29 That FAQ is for different (older) motherboards. 22:11:51 COM1 is wired out the back, COM2 goes to the BMC/IPMI 22:12:13 basically they can enable console-login:tty{a,b} + wscons, then whatever device is passed in as the console, that particular instance can temp disable itself 22:13:11 i have a change that does non-temp disable, but then if you boot w/ console set to something different, a bit of a pain 22:13:12 I use tem.bg_color=white tem.fg_color=black 22:13:30 can't see white on black too well... 22:14:41 I tried tem.fg_color=255 and that was a little better. "white" is apparently not 100% 22:15:50 Is "ipmitool -I lanplus ..." the right way to connect to that SOL? 22:16:25 I booted with console=ttyb but ipmitool is still connected to something unresponsive 22:19:27 ... sol activate 22:19:46 yeah.. though did you configure it in the BIOS setup? 22:19:54 sometimes the settings are a bit confusing w/ it 22:26:29 I don't see anything under the BIOS settins for SOL other than enable/disable, and the port/irq. (2f8/3) 22:31:34 So _this_ is an interesting discovery: If at the loader menu, I toggle the "graphics console" on and then off, I get back to a resolution and colors that are actually visible in the KVM. 22:32:09 I guess "graphics" mode is on even though the console setting is "text" ? 22:32:42 do you have 'Legacy Console Redirection Settings' ? next to SOL menu? 22:33:01 the "text" is really unfortunate name 22:33:19 No such BIOS setting. 22:33:45 or windows emergency management services? 22:34:11 Nope nothing like that. This mode makes KVM work though. 22:34:29 (meaning I can see what I'm doing now :) 22:34:39 My AMI does provide SPCR only when windows EMS is enabled, but my system does not have BMC 22:39:09 I want to split the default (0s1) partiton, and I'm concerned about misalignment. 22:39:40 Anyone remember the various ways to specify the new partition size in format? (so the size will be 4K aligned) 22:40:18 Suffixes: mb, gb, tb ... and "e"? and "b"? What's "e"? 22:40:57 b is block 22:41:45 e is the end block 22:41:53 e means you're specifying the final block yeah 22:42:05 Huh. Not in the format man page :) 22:42:20 Or maybe I'm looking at and old copy. 22:42:21 that man page can probably drink :) 22:42:44 Someday I should take another whack at "megabyte aligned partitions everywhere" 22:43:02 btw: this page is suggesting to check serial port speed (claims 38 to be default) https://www.truenas.com/community/resources/how-to-use-ipmitool-sol-with-asrock-motherboards-alternative-to-jviewer.51/ 22:43:22 The whole "simulated geometry" thing (with odd-aligned "sectors" per whatever) really screws things. 22:43:54 format isn't simulating a geometry here really you're just picking block offsets 22:45:05 How can I be sure of that? :) 22:46:45 prtvtoc on the raw device should tell you what bytes per block size and just the offsets 22:49:13 thx 22:49:44 If I setup machines more than once every few years, I might remember that stuff :) 22:50:09 Out of interest why are you using slices? 22:50:51 It's a bootalbe NVMe that was setup that way by the installer. I'd like to carve out some space to use as a ZIL 22:51:34 Ah ok 22:56:26 If you still are having trouble with ipmi I can double check another x570d4u bios config at some point. 22:57:01 Though someone may have unplugged the system I was thinking of. 23:02:54 This look right? 23:03:08 partition> print 23:03:08 Current partition table (unnamed): 23:03:08 Total disk sectors available: 500101741 + 16384 (reserved sectors) 23:03:10 Part Tag Flag First Sector Size Last Sector 23:03:12 0 system wm 256 256.00MB 524543 23:03:14 1 usr wm 524544 172.00GB 361234687 23:03:16 2 unassigned wm 0 0 0 23:03:18 3 usr wm 361234688 64.00GB 495452415 23:03:20 4 unassigned wm 0 0 0 23:03:22 5 unassigned wm 0 0 0 23:03:24 6 unassigned wm 0 0 0 23:03:26 8 reserved wm 500101775 8.00MB 500118158 23:03:28 pmartition> 23:14:43 That seems to work. 23:19:21 I haven't used format in years, because zfs 23:19:35 When installing into a pre-configured rpool, do I need to take any manual steps to get the loader installed? 23:19:58 This is the OmniOS installer. 23:35:12 one way to find out :)