Re: hp aio : netbsd won't boot ...

2014-09-25 Thread Manuel Bouyer
On Thu, Sep 25, 2014 at 11:56:32AM +0530, Mayuresh Kathe wrote:
 it says something along the lines of disk busy, can't be used.
 
 This helps a bit (the exact error message would be better).
 Are your trying to install NetBSD current, or a release ?
 
 i am trying to install netbsd 6.1.4 amd64 via a cd.

Strange; the disk busy could be a known problem with recent -current,
but for 6.1.4 I can't see what it could be.
What is the output of 'fdisk wd0' and 'disklabel wd0' ?

-- 
Manuel Bouyer bou...@antioche.eu.org
 NetBSD: 26 ans d'experience feront toujours la difference
--


Re: hp aio : netbsd won't boot ...

2014-09-25 Thread Gerard Lally
At date and time Thu, 25 Sep 2014 01:42:47 +0530, Mayuresh Kathe wrote:

 okay, i finally got myself a low end machine at an affordable price.
 http://hpshopping.in/HP_18-5019il_All-in-One_Desktop_PC
 
 the problems started after unpacking the machine.
 
 netbsd 6.1.4 (amd64) install cd just won't boot.
 after fiddling around with the bios (which looks like uefi), it booted, but 
 refused to install, after some more coaxing moved till the newfs execution 
 phase and then barfed.
 
 i tested with a bunch of other operating systems (ubuntu 14.04 and omnios), 
 which it install and boot up like a charm.
 
 at the moment, have upgraded the memory to 4gb, and run netbsd 6.1.4 via 
 virtual box under ubuntu (desktop) 14.04, but the resource consumption is 
 crazy, i can't even fire up firefox while running netbsd in that mode.
 
 any ideas about how i could make netbsd work on bare metal?
 or should i simply upgrade the memory to a total of 8gb (which is going to be 
 quite difficult a proposition at the moment)?

Have you disabled Secure Boot?

-- 
Gerard Lally



Re: hp aio : netbsd won't boot ...

2014-09-25 Thread Mayuresh Kathe

On 2014-09-25 14:15, Manuel Bouyer wrote:

On Thu, Sep 25, 2014 at 11:56:32AM +0530, Mayuresh Kathe wrote:

it says something along the lines of disk busy, can't be used.

This helps a bit (the exact error message would be better).
Are your trying to install NetBSD current, or a release ?

i am trying to install netbsd 6.1.4 amd64 via a cd.


Strange; the disk busy could be a known problem with recent -current,
but for 6.1.4 I can't see what it could be.
What is the output of 'fdisk wd0' and 'disklabel wd0' ?


`fdisk wd0` output below.
Disk: /dev/rwd0d
NetBSD disklabel disk geometry:
cylinders: 969021, heads: 16, sectors/track: 63 (1008 sectors/cylinder)
total sectors: 976773168

BIOS disk geometry:
cylinders: 1023, heads: 255, sectors/track: 63 (16065 sectors/cylinder)
total sectors: 976773168

Partitions aligned to 16065 sector boundaries, offset 63

Partition table:
0: GPT Protective MBR (sysid 238)
start 1, size 976773167 (476940 MB, Cyls 0/0/2-60801/80/63)
PBR is not  bootable: Bad magic number (0x)
1: UNUSED
2: UNUSED
3: UNUSED
No active partition.


`disklabel wd0` output below.
# /dev/rwd0d:
type: ESDI
disk: WDC WD5000AAKX-6
label: fictitious
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 16
sectors/cylinder: 1008
cylinders: 969021
total sectors: 976773168
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0  # microseconds
track-to-track seek: 0 # microseconds
drivedata: 0

5 partitions:
#sizeoffsetfstype [fsize bsize cpg/sgs]
 d: 976773168 0unused  0 0# (Cyl. 0 - 
969020)
 e: 976773167 1   unknown # (Cyl. 0*- 
969020)

disklabel: boot block size 0
disklabel: super block size 0


well, that's all i got from the two commands you'd suggested.

i got them by dropping into the shell through the install menu.

thanks,

~mayuresh



Re: hp aio : netbsd won't boot ...

2014-09-25 Thread Mayuresh Kathe

On 2014-09-25 17:15, Manuel Bouyer wrote:

On Thu, Sep 25, 2014 at 05:11:37PM +0530, Mayuresh Kathe wrote:

nothing special, just followed the prompts.


I guess you did something special; like use existing partitions when
there's no existing parititon.
Anyway, the problem is there ...


nope, i'd chosen set sizes of netbsd partitions, and then followed the 
defaults.


~mayuresh



Re: hp aio : netbsd won't boot ...

2014-09-25 Thread Mayuresh Kathe

On 2014-09-25 17:41, Eric Haszlakiewicz wrote:

On Thu, Sep 25, 2014 at 04:35:05PM +0530, Mayuresh Kathe wrote:
`fdisk wd0` output below.

...

Partition table:
0: GPT Protective MBR (sysid 238)
start 1, size 976773167 (476940 MB, Cyls 0/0/2-60801/80/63)
PBR is not  bootable: Bad magic number (0x)


Does NetBSD 6.1.4 create GPT partitions?  If not, maybe this was
preexisting.  Try a dd if=/dev/zero of=/dev/rwd0d for a few seconds
to clear out the start of the disk, then start over.


yes...
your suggestion worked. :)

install proceeding smoothly, should take a few minutes to complete.
hope nothing new and strange crops up now. ;)

thanks eric.

~mayuresh



Re: hp aio : netbsd won't boot ...

2014-09-25 Thread David Lord
On 25 Sep 2014 at 11:56, Mayuresh Kathe wrote:

 On 2014-09-25 11:22, Manuel Bouyer wrote:
  On Thu, Sep 25, 2014 at 02:59:11AM +0530, Mayuresh Kathe wrote:
  as i'd mentioned before, the newfs command failed to work during
  installation process.
  
  this doesn't help
 
 yeah, figured, that's why i'd sent the following mail too, somehow it 
 didn't make it through.
 
 - another email sent to the list begins -
 
 okay, i retried installation of 6.1.4 on the system after disabling 
 'uefi' boot option in the bios settings.
 
 the installation stopped at the file system creation step, messages as 
 below;
 
 Status: Command failed
 Command: /sbin/newfs -V2 -O 2 -b 32768 -f 4096 /dev/rwd0a
 Hit enter to continue
 
 newfs: /dev/rwd0a: open for read: Device busy
 
 i had faced a similar problem on a previous (dying) machine, thought it 
 to be because of the system's hdd.
 
 now what i have is a brand new system, don't quite know how to proceed.
 
 any help/pointers would be appreciated. :)
 
Hi

it might not help but on both NetBSD-6/i386 and current/amd64,
I've had the same error when I've previously used the utilities
and had various mounts active, both local partitions and nfs and
then went back to complete the install which then failed. After
rebooting and selelecting the installer there was no problem and
installs completed ok.


David

 


bootsplash for netbsd?

2014-09-25 Thread Mayuresh Kathe
hello,

perhaps my googling skills are bad, but i couldn't find a way
to present a bootsplash under netbsd.

does it exist?
if it does, where may i find more information about it's usage?

thanks,

-mayuresh



Re: bootsplash for netbsd?

2014-09-25 Thread Roy Bixler
On Thu, Sep 25, 2014 at 07:58:03PM +0530, Mayuresh Kathe wrote:
 perhaps my googling skills are bad, but i couldn't find a way
 to present a bootsplash under netbsd.
 
 does it exist?
 if it does, where may i find more information about it's usage?

It is under the GENERIC kernel configuration of NetBSD-6.1.4:

# enable splash screen support; requires genfb or radeonfb
#optionsSPLASHSCREEN

It looks like, at minimum, you have to build your own kernel with that
option enabled.  I've never tried it, so I don't know what other
requirements there might be to make it work.

I did find a blog posting that might be useful though:

http://www.feyrer.de/NetBSD/bx/blosxom.cgi/index.front?-tags=vesa

-- 
Roy Bixler rcbix...@nyx.net
The fundamental principle of science, the definition almost, is this: the
sole test of the validity of any idea is experiment.
-- Richard P. Feynman


postinstall reference files without /usr/src

2014-09-25 Thread J. Lewis Muir
Hello, NetBSD Users.

I built the netbsd-6 CVS branch from source using BUILD-NetBSD from
(pkgsrc) sysutils/etcmanage (0.8.2).  This creates a directory named
releasedir which contains the binary sets and kernel.  I then copy these
binary set and kernel files to a target machine where I install them
using INSTALL-NetBSD.  Doing this enables me to not keep a source tree
on the target machine nor build from source on the target machine.

After running INSTALL-NetBSD on the target machine, I want to run
postinstall check.  Unfortunately, this does not work because
/usr/src does not exist.  Looking at the postinstall(8) man page shows
me that there's a '-s' option to specify reference files.  So, I can
do postinstall -s [RELEASEDIR]/amd64/binary/sets/etc.tgz check where
[RELEASEDIR] is the path to the releasedir directory I copied over.  For
this form of the '-s' option, it says the etc.tgz file must be specified
and the xetc.tgz file is optional.  My question is, are all the other
set files optional too?  Or put another way, is the '-s' option only for
specifying etc.tgz and xetc.tgz, or is it also intended to be used for
base.tgz, comp.tgz, and so on, and by not specifying those, some checks
will be skipped?

Thank you!

Lewis