[PC-BSD Testing] 9 alpha bootonly install failure

Bruce Cran bruce.cran at gmail.com
Thu Nov 4 16:38:53 PDT 2010


Hi,

I tried to install the 9 alpha snapshot today using the bootonly CD in
VirtualBox but it failed early on - the reason being that the snapshot
isn't present on the isc mirror.
However I also noticed a few issues:

- The "cleanup" phase doesn't zero the last sectors of the disk so
won't wipe the GPT entry.
- "mount: no : No such file or directory" in the logs.
- "/tmp: optimization changed from SPACE to TIME" - is /tmp big enough?
- "Recommended minimum kmem_size is 512MB; expect unstable behavior."
- does kmem_size need tuned?
- When selecting the netinstall mirror, the combobox goes off the
right side of the screen.
- The root password gets logged in plain text. Could the hash be logged instead?
- It might be nice to use the ATA_CAM option or the ahci driver by
default since it looks like it's the future.
- It might be a good idea to create partitions starting at a multiple
of 4KB to give good performance on WD Green disks.
Also, there shouldn't be a need to specify the size "-s 524286945"
because gpart will use the entire space by default.

I know there's probably nothing that can be done about it, but the
install freezes on VMWare Workstation - I guess the vmware video
driver is crashing.

# PC-SYSINSTALL LOG
Running: find-update-parts
mount: no : No such file or directory
Trying DHCP on em0  <Intel(R) PRO/1000 Legacy Network Connection 1.0.2>
Trying DHCP on em0  <Intel(R) PRO/1000 Legacy Network Connection 1.0.2>
kern.geom.debugflags: 0 -> 16
Deleting all gparts
Running: dd if=/dev/zero of=/dev/ad0 count=3000
3000+0 records in
3000+0 records out
1536000 bytes transferred in 1.478349 secs (1038997 bytes/sec)
Cleaning up ad0
Running: dd if=/dev/zero of=/dev/ad0 count=2048
2048+0 records in
2048+0 records out
1048576 bytes transferred in 0.966937 secs (1084430 bytes/sec)
Running gpart on ad0
Running: gpart create -s mbr ad0
ad0 created
Running gpart add on ad0
Running: gpart add -b 63 -s 524286945 -t freebsd -i 1 ad0
ad0s1 added
Cleaning up ad0s1
Running: dd if=/dev/zero of=/dev/ad0s1 count=1024
1024+0 records in
1024+0 records out
524288 bytes transferred in 0.202234 secs (2592482 bytes/sec)
NEWFS: /dev/ad0s1a - ZFS
Running: zpool create -m none -f tank0 ad0s1a
Running: zfs set atime=off tank0
Setting up ZFS boot loader support
Running: zpool set bootfs=tank0 tank0
Running: zpool export tank0
Running: dd if=/boot/zfsboot of=/dev/ad0s1 count=1
1+0 records in
1+0 records out
512 bytes transferred in 0.000528 secs (969519 bytes/sec)
Running: dd if=/boot/zfsboot of=/dev/ad0s1a skip=1 seek=1024
64+0 records in
64+0 records out
32768 bytes transferred in 0.014961 secs (2190227 bytes/sec)
Running: zpool import tank0


Running: zfs set atime=off tank0
zfs create -p tank0/var
Running: zfs create -p tank0/var
Running: zfs set mountpoint=/mnt/var tank0/var
Running: zfs set atime=off tank0/var
zfs create -p tank0/usr
Running: zfs create -p tank0/usr
Running: zfs set mountpoint=/mnt/usr tank0/usr
Running: zfs set atime=off tank0/usr
swapon ad0s1b
Running: swapon /dev/ad0s1b
FETCH: /mnt/usr/.fetch-PCBSD.tbz
Error: Failed to download
ftp://mirrors.isc.org/pub/pcbsd/9-CURRENT-20101030/i386/PCBSD.tbz
Running: umount -f /mnt
Running: umount /cdmnt-install
umount: /cdmnt-install: statfs: No such file or directory
umount: /cdmnt-install: unknown file system
Trying DHCP on em0  <Intel(R) PRO/1000 Legacy Network Connection 1.0.2>

Other log lines include:
/tmp: optimization changed from SPACE to TIME

ZFS WARNING: Recommended minimum kmem_size is 512MB; expect unstable behavior.
             Consider tuning vm.kmem_size and vm.kmem_size_max
             in /boot/loader.conf.

-- 
Bruce Cran


More information about the Testing mailing list