daily CVS update output

2022-07-07 Thread NetBSD source update


Updating src tree:
P src/share/man/man9/ioctl.9
P src/sys/arch/mips/include/types.h
P src/sys/compat/common/uipc_syscalls_40.c
P src/sys/dev/nvmm/nvmm.c
P src/sys/dev/pci/if_mcx.c
P src/sys/dev/pci/if_rge.c
P src/sys/dev/pci/nvme_pci.c
P src/sys/dev/scsipi/if_se.c
P src/sys/net/if.c
P src/sys/uvm/uvm_device.c
P src/sys/uvm/uvm_mmap.c
P src/tests/usr.bin/xlint/lint1/msg_132.c

Updating xsrc tree:
P xsrc/external/mit/xf86-video-wsfb/dist/src/wsfb_driver.c


Killing core files:




Updating file list:
-rw-rw-r--  1 srcmastr  netbsd  41096412 Jul  8 03:03 ls-lRA.gz


Re: i386/amd64 image generated trough mkimage stuck on primary bootsrap at boot

2022-07-07 Thread RVP

On Thu, 7 Jul 2022, br0nko wrote:


bash-5.1# vndconfig vnd0 /home/phil/alix-netbsd.9.2.img
bash-5.1# fdisk -vv /dev/rvnd0
installboot -v -o timeout=5 /dev/rsd0a /usr/mdec/bootxx_ffsv1



Is rsd0a where you copied /usr/mdec/boot, and dies rsd0a start at the
same sector as rsd0c (the NetBSD slice)? A disklabel output would
be useful...

-RVP


Re: i386/amd64 image generated trough mkimage stuck on primary bootsrap at boot

2022-07-07 Thread Mike Pumford

On 07/07/2022 15:40, br0nko wrote:

Hi,

0: NetBSD (sysid 169)
 start 63, size 1568384 (766 MB, Cyls 0/1/1-97/160/62), Active
 beg: cylinder0, head   1, sector  1
 end: cylinder   97, head 160, sector 62
 Information from PBR:
 Not bootable: All bytes are identical (0x00)
 Not bootable: Bad magic number (0x)

No MBR boot code in the partition table.

fdisk -i /dev/rvnd0

should resolve that I think.



i386/amd64 image generated trough mkimage stuck on primary bootsrap at boot

2022-07-07 Thread br0nko
Hi,

I wanted to resurrect an old i386 alix box, and I did follow the guide to 
create a custom image trough mkimage 
(https://www.netbsd.org/docs/guide/en/chap-inst-media.html#chap-inst-media-creating-live-images).
 I did first try on amd64 so that I can first test on my laptop. Build was 
successful but when I boot the USB key, I'm stuck on primary bootstrap 
("NetBSD/x86 ffsv1 Primary Bootstrap"), no error. However I can boot it from 
grub (installed on the laptop hard-drive) , image is fully functional that way.

Here's what fdisk show:

=
bash-5.1# vndconfig vnd0 /home/phil/alix-netbsd.9.2.img
bash-5.1# fdisk -vv /dev/rvnd0
Disk: /dev/rvnd0
NetBSD disklabel disk geometry:
cylinders: 765, heads: 64, sectors/track: 32 (2048 sectors/cylinder)
total sectors: 1568447, bytes/sector: 512

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

Partitions aligned to 16065 sector boundaries, offset 63

Partition table:
0: NetBSD (sysid 169)
start 63, size 1568384 (766 MB, Cyls 0/1/1-97/160/62), Active
beg: cylinder0, head   1, sector  1
end: cylinder   97, head 160, sector 62
Information from PBR:
Not bootable: All bytes are identical (0x00)
Not bootable: Bad magic number (0x)
1:  (sysid 0)
start 0, size 0
beg: cylinder0, head   0, sector  0
end: cylinder0, head   0, sector  0
2:  (sysid 0)
start 0, size 0
beg: cylinder0, head   0, sector  0
end: cylinder0, head   0, sector  0
3:  (sysid 0)
start 0, size 0
beg: cylinder0, head   0, sector  0
end: cylinder0, head   0, sector  0
First active partition: 0
Drive serial number: 0 (0x)
=

I did try to reinstall the primary bootstrap:

installboot -v -o timeout=5 /dev/rsd0a /usr/mdec/bootxx_ffsv1

But it didn't fix the problem either.
I'm running out of ideas, I don't really see what I'm missing. Any help would 
be highly appreciated.

Br0nko