Re: x86/genfb_machdep.c multiplies width with stride

2013-07-27 Thread Johnny Billquist

On 2013-07-27 01:25, Erik Fair wrote:


On Jul 25, 2013, at 07:37, Michael Lorenz macal...@netbsd.org wrote:


Easy mistake to make and hard to catch since it rarely ever causes trouble (unless 
you're running some weird video mode where width  height)


I believe that's called portrait mode and these days it's not so much weird 
as just uncommon … except in tablets where people are flipping screens around from portrait to 
landscape and back to portrait again with pretty wild abandon. Probably a good idea for NetBSD to 
support that mode of video operation.


Just FYI, at my work, it's not even uncommon. About half the people are 
sitting at work stations using 24 monitors sitting in portrait mode.


Johnny



Re: Booting with dk0 root

2013-07-27 Thread Ryo ONODERA
Hi,

From: mlel...@serpens.de (Michael van Elst), Date: Fri, 26 Jul 2013 23:37:07 
+ (UTC)

 j...@ziaspace.com (John Klos) writes:
 
Apparently we can't compile a kernel with netbsd root on dk0 type ffs 
because dk0 isn't something the kernel knows about until later. How does 
one use a gpt wedge as a root filesystem? I'm loading the kernel from a 
CompactFlash but would like the root filesystem to be on a 4 TB drive.
 
 The kernel itself deduces the root disk from the boot device,
 this is heavily machine dependent. If what it finds is also
 represented by an autodetected wedge, it will use that wedge.
 
 The wedge then may or may not be dk0, depending on scan and
 partition order. But you can use the wedge name to identify
 it in /etc/fstab.

I want to install NetBSD/amd64 current to my MacBook Air with
gpt partitioning.

Procedure in
http://wiki.netbsd.org/users/jakllsch/gptboot/
is works for you?

With this procedure, I cannot boot NetBSD from dkwedge root
(kernel is in dk0).
I know sysinst does not support such installation yet.

--
Ryo ONODERA // ryo...@yk.rim.or.jp
PGP fingerprint = 82A2 DC91 76E0 A10A 8ABB  FD1B F404 27FA C7D1 15F3