atom feed38 messages in org.freebsd.freebsd-archRe: Trimming the default /boot/device...
FromSent OnAttachments
John BaldwinJan 26, 2009 6:47 am 
Rink SpringerJan 26, 2009 7:15 am 
Alfred PerlsteinJan 26, 2009 12:37 pm 
John BaldwinJan 26, 2009 1:40 pm 
Alfred PerlsteinJan 26, 2009 2:02 pm 
John BaldwinJan 26, 2009 2:36 pm 
M. Warner LoshJan 27, 2009 10:38 pm 
M. Warner LoshJan 27, 2009 10:39 pm 
M. Warner LoshJan 27, 2009 10:43 pm 
John BaldwinJan 28, 2009 6:30 am 
M. Warner LoshJan 28, 2009 8:48 am 
Garance A DrosehnJan 28, 2009 10:08 am 
M. Warner LoshJan 28, 2009 11:23 am 
John BaldwinJan 28, 2009 12:40 pm 
M. Warner LoshJan 28, 2009 1:42 pm 
Garance A DrosehnJan 28, 2009 1:50 pm 
John BaldwinJan 28, 2009 2:20 pm 
M. Warner LoshJan 28, 2009 2:41 pm 
John BaldwinJan 28, 2009 2:58 pm 
David O'BrienJan 31, 2009 1:31 am 
M. Warner LoshJan 31, 2009 8:25 pm 
David O'BrienJan 31, 2009 8:43 pm 
Andriy GaponFeb 6, 2009 4:17 am 
John BaldwinFeb 6, 2009 6:37 am 
Andriy GaponFeb 6, 2009 7:22 am 
John BaldwinFeb 6, 2009 8:06 am 
M. Warner LoshFeb 6, 2009 8:25 am 
John BaldwinFeb 6, 2009 8:37 am 
John BaldwinFeb 6, 2009 8:42 am 
Andriy GaponFeb 6, 2009 8:47 am 
Andriy GaponFeb 6, 2009 8:48 am 
John BaldwinFeb 6, 2009 8:55 am 
Andriy GaponFeb 6, 2009 9:04 am 
M. Warner LoshFeb 6, 2009 9:05 am 
Andriy GaponFeb 6, 2009 9:14 am 
John BaldwinFeb 6, 2009 9:54 am 
John BaldwinFeb 6, 2009 9:54 am 
Andriy GaponFeb 9, 2009 5:28 am 
Subject:Re: Trimming the default /boot/device.hints
From:John Baldwin (jh@freebsd.org)
Date:Feb 6, 2009 6:37:32 am
List:org.freebsd.freebsd-arch

On Friday 06 February 2009 7:17:52 am Andriy Gapon wrote:

on 01/02/2009 06:26 M. Warner Losh said the following: ...

hint.sc.0.at="isa" hint.sc.0.flags="0x100" ... I'm too chicken to remove the hint.sc.0 hints, but maybe they can go.

I've just tried this (7.1/i386) as those were the last hints, it turned out to be not that scary :) I just didn't get the system console, i.e. there were no kernel messages during boot and no system console at VT0 afterwards. VT0 became and stayed completely blank/black after loader finished its job. But the system successfully went into multi-user mode, getty-s and X started normally.

Yes, it's just the issue of the console that matters. If that could be made to work w/o needing the hint then we could remove it.

OTOH, with this hint present I see the following in verbose dmesg: ... sc: sc0 already exists; skipping it

This is because it tried to add itself via an identify routine when it already existed.

... sc0: <System console> at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sc0: fb0, kbd1, terminal emulator: sc (syscons terminal)

A little bit puzzling.

And from the code in sys/isa/syscons_isa.c (scidentify) it seems that sc needs not a hint to get attached. Puzzled again.

Yes, it only needs the hint for it to be a console device.