Re: [netbsd-users] 8.1 sysinst script/logging failures

2019-12-11 Thread Malcolm Herbert
It looks as if 9.0_RC1 sysinst works as advertised for generating an install 
script, will work with that and can probably backport the bits I need from 
there to work with 8.1, thanks all.

Regards,
Malcolm

-- 
Malcolm Herbert
m...@mjch.net


8.1 sysinst script/logging failures

2019-12-11 Thread Malcolm Herbert
As suggested in a different thread, sysinst has the capability to log the steps 
it took to create an install as a shell script.  Unfortunately when I tried it 
I got failures with an NetBSD-8.1-amd64.iso image running under VirtualBox 
5.2.6.  The path I took through sysinst was as follows:

a: installation messages in English
a:unchanged (keyboard type)
e:utility menu
e:logging functions
a:logging: on
b:scripting: on
x:exit
x:exit
a:install netbsd to hard disk
b:yes
a:wd0 (16GB, vbox harddisk)
a:this is the correct geometry
b:use the entire disk
a:yes (do you want to install the netbsd bootcode)
b:use existing partition sizes
x:partition sizes ok
name:(blank)

at this point I get a segfault and the terminal appears to be in noecho mode:

[1]   Segmentation fault  ${cmd}

If I repeat the above and put in a name for the disk, I get the same error.

/tmp/sysinst.log contains:
executing: gpt -qr header wd0
Creating disklabel VBOX HARDDISK   in /tmp/disktab.VBOX HARDDISK
executing: sh -c 'cat /tmp/disktab.* > /tmp/disktab'

/tmp/sysinst.sh contains:
gpt -qr header wd0
cat <> /etc/disktab
(a disk tab entry, however it appears to contain a lot of control characters, 
not just printable ascii)
EOF
sh -c 'cat /tmp/disktab.* > /tmp/disktab'

I am happy to run up a 9.0_RC1 and test the same there.  At the moment I don't 
have this VM in a state where I can copy files from it, so my description above 
is necessarily vague for the content of /etc/disktab - /tmp/disktab looks fine 
with no binary characters that I can see ...

Regards,
Malcolm

-- 
Malcolm Herbert
m...@mjch.net


Re: No HDMI output on Lenovo V145, NetBSD 8.0

2019-12-11 Thread Brett Lymn
On Wed, Dec 11, 2019 at 08:52:03AM +0530, Mayuresh wrote:
> 
> Touchpad is still not working.
> 

Dang.  Is it getting identified in the dmesg?

--
Sent from my NetBSD device.

"We are were wolves",
"You mean werewolves?",
"No we were wolves, now we are something else entirely",
"Oh"


Re: Setting default route and specify interface to be used

2019-12-11 Thread Robert Elz
Date:Wed, 11 Dec 2019 18:49:41 +0100
From:Rocky Hotas 
Message-ID:  <20191211174941.qujrbqx4x44pddbz@delpotro>

  | Is there a way to perform this configuration in NetBSD, as in Linux?

>From route(8) - the manual page for the route command ...

 In a change or add command where the destination and gateway are not
 sufficient to specify the route the -ifp or -ifa modifiers may be used to
 determine the interface or interface address.

Try that.

kre



Setting default route and specify interface to be used

2019-12-11 Thread Rocky Hotas
Hi all :)!
I use two different NICs, Ethernet and WiFi, in a laptop. I need
to change the configuration for gateway, IP and nameservers,
according to the LAN I join. In particular, I would like to set a
static IP address for the WiFi NIC and to set a router as default
gateway. I am currently able to do this, using dhcpcd(8) with a
dedicated `arping' section in dhcpcd.conf(5). But I would like to
avoid running dhcpcd(8) in this scenario, if it is possible.

Suppose that the NIC is initially down. I run:

ifconfig   netmask  up

The route configuration is a problem. In fact, the default routing
table has:

DestinationGatewayFlagsRefs  UseMtu Interface
default   UG  --  -  


I would like to have  replacing , but I
didn't manage to set this. If I delete the default route, then put
 down, and re-add the  route as default,
`Interface' keeps being set to `'. In Linux, it is
possible to set the interface, instead:

route add default gw  

But the synopsis in NetBSD's route(8) does not apparently accept a
`

Re: Old BPB too big, use -f

2019-12-11 Thread Hauke Fath

On 2019-12-10 18:13, Martin Husemann wrote:

On Tue, Dec 10, 2019 at 02:19:10PM +0100, Hauke Fath wrote:

I tried setting up a gpt/gpt raid1 from sysinst a few weeks ago, and it
dumped core pretty quickly. Is this a known issue?


No - how did you do it? (Just a rough sketch of the process should be enough
to reproduce it).


Easy and repeatable:

[boot netbsd-9 install cd on amd64, 2 SCSI disks]

sysinst menus:

Utility Menu
Partition a disk
Create software RAID
RAID level 1
a:
Add:  --> segmentation fault

Cheerio,
hauke

--
 The ASCII Ribbon CampaignHauke Fath
() No HTML/RTF in email Institut für Nachrichtentechnik
/\ No Word docs in email TU Darmstadt
 Respect for open standards  Ruf +49-6151-16-21344


Re: No HDMI output on Lenovo V145, NetBSD 8.0

2019-12-11 Thread Mayuresh
On Wed, Dec 11, 2019 at 12:52:53PM +0530, Mayuresh wrote:
> On Wed, Dec 11, 2019 at 09:03:07AM +0530, Mayuresh wrote:
> > BTW in pkgsrc I see last commit of 14 Nov 19. I do not know whether that
> > would be into the base. May be will try pkg x11 as a last resort.

9.0RC1 + pkgsrc-current's amdgpu driver didn't work... Same errors that I
mentioned on the thread.

Over to lubuntu + qemu / virtualbox now.

Mayuresh