FreeBSD 10.3 BETA1&2 does not boot on Mac Pro 2008

2016-02-13 Thread claudiu vasadi
Hello all,

While trying to boot 10.3 amd64 uefi disk1 BETA1 and BETA2 iso on a Mac Pro
2008, I get the following message:

BETA1 -
http://s76.photobucket.com/user/da1_27/media/10.3-BETA1_zpswjatgfg2.jpg.html

BETA2 -
http://s76.photobucket.com/user/da1_27/media/10.3-BETA2_zpsfiedhsks.jpg.html

Right after displaying the message I see the Num Lock going off and on and
I can hear the optical unit moving the head a couple of times; after that,
complete silence.

When booting verbose, I get the exact same behavior and message.

Ideas?
-- 
Best regards,
Claudiu Vasadi
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


UEFI + ZFS i5 Dmesg

2016-02-13 Thread Thomas Laus
It looks like my reply to the verbose dmesg.boot did not make it to
the list.  I was able to boot the PC from a MSDOS 6.22 floppy using a
USB floppy drive.  I also can load OpenBSD 5.8 on this PC and it boots
normally.

My verbose dmesg.boot:

Table 'FACP' at 0xbf24f4b8
Table 'APIC' at 0xbf24f5c8
APIC: Found table at 0xbf24f5c8
APIC: Using the MADT enumerator.
MADT: Found CPU APIC ID 0 ACPI ID 1: enabled
SMP: Added CPU 0 (AP)
MADT: Found CPU APIC ID 2 ACPI ID 2: enabled
SMP: Added CPU 2 (AP)
MADT: Found CPU APIC ID 4 ACPI ID 3: enabled
SMP: Added CPU 4 (AP)
MADT: Found CPU APIC ID 6 ACPI ID 4: enabled
SMP: Added CPU 6 (AP)
Copyright (c) 1992-2016 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 11.0-CURRENT #0 r295345: Sat Feb  6 08:40:13 UTC 2016
r...@releng2.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64
FreeBSD clang version 3.7.1 (tags/RELEASE_371/final 255217) 20151225
WARNING: WITNESS option enabled, expect reduced performance.
PPIM 0: PA=0xa, VA=0x8261, size=0x1, mode=0
VT(vga): resolution 640x480
Preloaded elf kernel "/boot/kernel/kernel" at 0x8242b000.
Preloaded /boot/entropy "/boot/entropy" at 0x8242be48.
Preloaded elf obj module "/boot/kernel/zfs.ko" at 0x8242be98.
Preloaded elf obj module "/boot/kernel/opensolaris.ko" at 0x8242c680.
Calibrating TSC clock ... TSC clock: 3192150826 Hz
CPU: Intel(R) Core(TM) i5-6500 CPU @ 3.20GHz (3192.15-MHz K8-class CPU)
  Origin="GenuineIntel"  Id=0x506e3  Family=0x6  Model=0x5e  Stepping=3
  
Features=0xbfebfbff
  
Features2=0x7ffafbff
  AMD Features=0x2c100800
  AMD Features2=0x121
  Structured Extended 
Features=0x29c6fbb
  XSAVE Features=0xf
  VT-x: Basic Features=0xda0400
Pin-Based Controls=0x7f
Primary Processor 
Controls=0xfff9fffe
Secondary Processor 
Controls=0x1f7cff
Exit Controls=0xda0400
Entry Controls=0xda0400
EPT Features=0x6334141
VPID Features=0xf01
  TSC: P-state invariant, performance statistics
Data TLB: 1 GByte pages, 4-way set associative, 4 entries
Data TLB: 4 KB pages, 4-way set associative, 64 entries
Instruction TLB: 2M/4M pages, fully associative, 8 entries
Instruction TLB: 4KByte pages, 8-way set associative, 128 entries
64-Byte prefetching
Shared 2nd-Level TLB: 4 KByte /2 MByte pages, 6-way associative, 1536 entries. 
Also 1GBbyte pages, 4-way, 16 entries
L2 cache: 256 kbytes, 8-way associative, 64 bytes/line
real memory  = 17179869184 (16384 MB)
Physical memory chunk(s):
0x0001 - 0x00098fff, 561152 bytes (137 pages)
0x0010 - 0x001f, 1048576 bytes (256 pages)
0x0247 - 0xb8951fff, 3058573312 bytes (746722 pages)
0xb897d000 - 0xb8a21fff, 675840 bytes (165 pages)
0xb90a3000 - 0xbdb1bfff, 78090240 bytes (19065 pages)
0xb000 - 0xbfff, 4096 bytes (1 pages)
0x0001 - 0x00041f619fff, 13411393536 bytes (3274266 pages)
avail memory = 16442499072 (15680 MB)
Table 'FACP' at 0xbf24f4b8
Table 'APIC' at 0xbf24f5c8
Table 'FPDT' at 0xbf24f650
Table 'FIDT' at 0xbf24f698
Table 'MCFG' at 0xbf24f738
Table 'HPET' at 0xbf24f778
Table 'SSDT' at 0xbf24f7b0
Table 'LPIT' at 0xbf24fb20
Table 'SSDT' at 0xbf24fbb8
Table 'SSDT' at 0xbf24fe00
Table 'SSDT' at 0xbf2529b0
Table 'DBGP' at 0xbf2536a8
Table 'DBG2' at 0xbf2536e0
Table 'SSDT' at 0xbf253738
Table 'SSDT' at 0xbf253e40
Table 'UEFI' at 0xbf259130
Table 'SSDT' at 0xbf259178
Table 'ASF!' at 0xbf25a0d0
Table 'DMAR' at 0xbf25a028
DMAR: Found table at 0xbf25a028
x2APIC available but disabled by DMAR table
Event timer "LAPIC" quality 600
ACPI APIC Table: 
INTR: Adding local APIC 2 as a target
INTR: Adding local APIC 4 as a target
INTR: Adding local APIC 6 as a target
FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
FreeBSD/SMP: 1 package(s) x 4 core(s)
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  2
 cpu2 (AP): APIC ID:  4
 cpu3 (AP): APIC ID:  6
APIC: CPU 0 has ACPI ID 1
APIC: CPU 1 has ACPI ID 2
APIC: CPU 2 has ACPI ID 3
APIC: CPU 3 has ACPI ID 4
x86bios:  IVT 0x00-0x0004ff at 0xf800
x86bios: SSEG 0x098000-0x098fff at 0xfe03dabd
x86bios: EBDA 0x09c000-0x09 at 0xf809c000
x86bios:  ROM 0x0a-0x0fefff at 0xf80a
lapic0: CMCI unmasked
random: read 4096 bytes from preloaded cache
random: unblocking device.
ULE: setup cpu 0
ULE: setup cpu 1
ULE: setup cpu 2
ULE: setup cpu 3
ACPI: RSDP 0x000F0580 24 (v02 ALASKA)
ACPI: XSDT 0xBF22E0A0 BC (v01 ALASKA A M I01072009 AMI  
00010013)
ACPI: FACP 0xBF24F4B8 00010C (v05 ALASKA A M I01072009 AMI  
00010013)
ACPI: DSDT 0xBF22E1F8 0212BB (v02 ALASKA A M I01072009 INTL 
20120913)
ACPI: FACS 0xBFA21F80 40
ACPI: APIC 0xBF24F5C8 000

New academic vacancies at Computeroxy

2016-02-13 Thread Richard Huber
Computeroxy

Dear Colleague,

We are pleased to present you our specialised newsletter including your
academic vacancies in schools of computer, electrical and mathematical
sciences and engineering at Computeroxy.com worldwide.
Australia

Associate Professor/Professor of Maintenance Engineering  PRIORITY!
School of Engineering and Information Technology Charles Darwin
University

Postdoctoral Research Fellow in Artificial Intelligence 
Western Sydney University, School of Computing, Engineering, and
Mathematics

Research Fellow in Mathematics  
University of Melbourne, School of Mathematics and Statistics

Postdoctoral Fellow in Statistics 
Research School of Finance, Actuarial Studies and Statistics, Australian
National University

Research Fellow in Computer Science 
Department of Computing and Information Systems, Melbourne University

Austria

Research Group Leader, Theoretical Quantum Physics  PRIORITY!
The Institute for Quantum Optics and Quantum Information – Vienna

Head of Central Service Computer Science 
University of Innsbruck,Central of Computer Science

Assistant Professor of Nanosciences 
University of Innsbruck,Department of Engineering

Belgium

Senior Academic Staff, Experimental research on transport phenomena in
energy applications  PRIORITY!
KU Leuven

Postdoctoral position in Statistics 
Ghent Univgersity, Department of Applied mathematics,Computer Science
and Statistics

Faculty Position in Data Backup 
Ghent Univgersity, Department of Telecommunications and Information
Processing

Senior Lecturer in Data Analytics 
Ghent University, Department of Information Technology 

Canada

Research Chair Engineering Physics  PRIORITY!
Polytechnique Montréal

Instructor in Software Engineering 
University of Calgary, Department of Electrical and Computer Engineering

Tenure-Track Assistant Professor Position in Artificial Intelligence 
 University of Alberta, Department of Computing Science

Tenure-Track Assistant Professor Position in Software Systems 
 University of Alberta, Department of Computing Science

Assistant Professor of Dynamical Systems 
 University of Alberta, Department of Mathematical and Statistical
Sciences 

Term Assistant Professor of Maths 
 University of Alberta, Department of Mathematical and Statistical
Sciences 

Instructor in Computer Science 
University of Calgary, Department of Computer Science

China

Senior and Junior Faculty Positions, different disciplines of
Engineering and Sciences  PRIORITY!
Guangdong-Technion Israel Institute of Technology

Faculty positions in School of Information Science and Technology 
PRIORITY!
ShanghaiTech University China

Colombia

Head of the Department of Electrical and Electronic Engineering 
PRIORITY!
The Universidad de los Andes

Estonia

Professor for Cognitronics  PRIORITY!
Department of Electronics, Tallinn University of Technology

Finland

Tenure track or tenured position in algorithms, logic and complexity 
PRIORITY!
Aalto University School of Science, Finland

France

Full professor position in Computational Mechanics of Solids and
Structures  PRIORITY!
Université Pierre et Marie Curie

Germany

Research Assistant in Computer Science 
Technical University of Munich, Faculty of Software Engineering 

Research Assistant in Web Development 
Technical University of Munich, Department of Electrical and Computer
Engineering

PhD Positions in Multicore Processor Architectures 
Technical University of Munich, Institute for Integrated Systems

Research Assistant in Computer Architecture 
Technical University of Munich, Department of Informatics

Professorship of Computer Science 
Technical University of Munich, Faculty of Computer Science

Research Assistant in Electrical Engineering 
Technical University of Munich, Department of Electrical and Computer
Engineering

Research Associate in Cyber Security 
Institute of computer science, Chair Mobile and Distributed Systems,
University of Munich 

Research Associate in Mobile Internet 
Institute of computer science, Chair Mobile and Distributed Systems,
University of Munich 

Hong Kong

Professors of Systems Engineering and Engineering Management  PRIORITY!
The Chineese University of Hong Kong

Professors / Associate Professors / Assistant Professors of Energy and
Environmental Engineering  PRIORITY!
Department of Mechanical and Automation Engineering The Chinese
University of Hong Kong

Professors / Associate Professors / Assistant Professors of Robotics and
Automation  PRIORITY!
Department of Mechanical and Automation Engineering The Chinese
University of Hong Kong

Ireland

Postdoc recruitment in Computer Science and Electronic and Electrical
Engineering  PRIORITY!
CONNECT, Trinity College of Dublin, Ireland

Lectureship in Financial Mathematics 
University College Cork, School of Mathematical Sciences

Lecturer in Applied Mathematics 
University College Cork, School of Mathematical Sciences

Japan

Professor of Computer Science 
Kyoto University, Department of Computer Engi

Re: Is UEFI required for ZFS?

2016-02-13 Thread Konstantin Belousov
On Sat, Feb 13, 2016 at 03:46:16PM +, Mark Dixon wrote:
> I don't think I can clock it down, although the UEFI bios screens are
> massively confusing so I could be wrong.
> 
> Verbose dmesg:

Might be, try the following (mostly debugging) change.

diff --git a/sys/boot/i386/libi386/time.c b/sys/boot/i386/libi386/time.c
index c27dcf6..592d64a 100644
--- a/sys/boot/i386/libi386/time.c
+++ b/sys/boot/i386/libi386/time.c
@@ -97,8 +97,8 @@ time(time_t *t)
  * Resolution of this function is variable, but typically around
  * 1ms.
  */
-void
-delay(int period)
+static void
+delay_bios(int period)
 {
 v86.ctl = 0;
 v86.addr = 0x15;   /* int 0x15, function 0x86 */
@@ -107,3 +107,53 @@ delay(int period)
 v86.edx = period & 0x;
 v86int();
 }
+
+static uint64_t rd;
+
+static __inline uint64_t
+rdtsc(void)
+{
+   uint64_t rv;
+
+   __asm __volatile("rdtsc" : "=A" (rv));
+   return (rv);
+}
+
+static void
+delay_rdtsc_calibrate(void)
+{
+   int x1, x2;
+   uint64_t s, f;
+
+   for (x1 = bios_seconds(); x1 == (x2 = bios_seconds());)
+   ;
+   s = rdtsc();
+   for (; x2 == (x1 = bios_seconds());)
+   ;
+   f = rdtsc();
+   rd = f - s;
+   printf("rd %llx\n", rd);
+}
+
+static void
+delay_rdtsc(int period)
+{
+   uint64_t x;
+
+   x = rdtsc() + rd / 100;
+   while (rdtsc() < x)
+   ;
+}
+
+void
+delay(int period)
+{
+
+   if (0) {
+   delay_bios(period);
+   } else {
+   if (rd == 0)
+   delay_rdtsc_calibrate();
+   delay_rdtsc(period);
+   }
+}
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: Is UEFI required for ZFS?

2016-02-13 Thread Mark Dixon
Konstantin Belousov  gmail.com> writes:

> 
> On Fri, Feb 12, 2016 at 09:15:49PM +, Mark Dixon wrote:
> > > Can you put a dmesg.boot from the server ? An pciconf -lvb ?
> > > 
> > 
> > I have the exact same issue on the forum, so I can:
> As a blind shot, try to lower the CPU frequency in the BIOS, to 3 or even
> to 2 Ghz.  If you can try a dos (real dos from MS) on usb stick and see
> if it works it could be also telling.
> 
> Also, could you obtain verbose dmesg ?

I don't think I can clock it down, although the UEFI bios screens are
massively confusing so I could be wrong.

Verbose dmesg:

Table 'FACP' at 0x866249f0
Table 'APIC' at 0x86624b00
APIC: Found table at 0x86624b00
APIC: Using the MADT enumerator.
MADT: Found CPU APIC ID 0 ACPI ID 1: enabled
SMP: Added CPU 0 (AP)
MADT: Found CPU APIC ID 2 ACPI ID 2: enabled
SMP: Added CPU 2 (AP)
MADT: Found CPU APIC ID 4 ACPI ID 3: enabled
SMP: Added CPU 4 (AP)
MADT: Found CPU APIC ID 6 ACPI ID 4: enabled
SMP: Added CPU 6 (AP)
MADT: Found CPU APIC ID 1 ACPI ID 5: enabled
SMP: Added CPU 1 (AP)
MADT: Found CPU APIC ID 3 ACPI ID 6: enabled
SMP: Added CPU 3 (AP)
MADT: Found CPU APIC ID 5 ACPI ID 7: enabled
SMP: Added CPU 5 (AP)
MADT: Found CPU APIC ID 7 ACPI ID 8: enabled
SMP: Added CPU 7 (AP)
Copyright (c) 1992-2016 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 10.3-BETA2 #0 r295552: Fri Feb 12 01:09:31 UTC 2016
r...@releng1.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64
FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 208032) 20140512
PPIM 0: PA=0xa, VA=0x82c1, size=0x1, mode=0
VT(vga): resolution 640x480
Preloaded elf kernel "/boot/kernel/kernel" at 0x829eb000.
Preloaded elf obj module "/boot/kernel/zfs.ko" at 0x829ebde8.
Preloaded elf obj module "/boot/kernel/opensolaris.ko" at 0x829ec610.
Preloaded elf obj module "/boot/kernel/linux.ko" at 0x829ecc40.
Preloaded elf obj module "/boot/kernel/linux_common.ko" at 0x829ed528.
Preloaded elf obj module "/boot/kernel/if_tap.ko" at 0x829edc58.
Preloaded elf obj module "/boot/kernel/aio.ko" at 0x829ee2c0.
Preloaded elf obj module "/boot/kernel/coretemp.ko" at 0x829ee968.
Preloaded elf obj module "/boot/modules/nvidia.ko" at 0x829eef18.
Preloaded elf obj module "/boot/kernel/drm.ko" at 0x829ef540.
Preloaded elf obj module "/boot/modules/vboxdrv.ko" at 0x829efbe8.
Preloaded elf obj module "/boot/kernel/fuse.ko" at 0x829f01d8.
Preloaded elf obj module "/boot/kernel/ng_ubt.ko" at 0x829f0880.
Preloaded elf obj module "/boot/kernel/ng_hci.ko" at 0x829f0e68.
Preloaded elf obj module "/boot/kernel/ng_bluetooth.ko" at 0x829f1490.
Preloaded elf obj module "/boot/kernel/netgraph.ko" at 0x829f1a40.
Preloaded elf obj module "/boot/kernel/if_ipheth.ko" at 0x829f20f0.
Preloaded elf obj module "/boot/kernel/uether.ko" at 0x829f2760.
Calibrating TSC clock ... TSC clock: 4008172549 Hz
CPU: Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz (4008.17-MHz K8-class CPU)
  Origin="GenuineIntel"  Id=0x506e3  Family=0x6  Model=0x5e  Stepping=3
  Features=0xbfebfbff
  Features2=0x7ffafbbf
  AMD Features=0x2c100800
  AMD Features2=0x121
  Structured Extended Features=0x29c6fbf
  XSAVE Features=0xf
  VT-x: Basic Features=0xda0400
Pin-Based Controls=0x7f
Primary Processor Controls=0xfff9fffe
Secondary Processor Controls=0x1ffcff
Exit Controls=0xda0400
Entry Controls=0xda0400
EPT Features=0x6334141
VPID Features=0xf01
  TSC: P-state invariant, performance statistics
Data TLB: 1 GByte pages, 4-way set associative, 4 entries
Data TLB: 4 KB pages, 4-way set associative, 64 entries
Instruction TLB: 2M/4M pages, fully associative, 8 entries
Instruction TLB: 4KByte pages, 8-way set associative, 64 entries
64-Byte prefetching
Shared 2nd-Level TLB: 4 KByte /2 MByte pages, 6-way associative, 1536 entries. 
Also 1GBbyte pages, 4-way, 16 entries
L2 cache: 256 kbytes, 8-way associative, 64 bytes/line
real memory  = 68719476736 (65536 MB)
Physical memory chunk(s):
0x0001 - 0x00098fff, 561152 bytes (137 pages)
0x0010 - 0x001f, 1048576 bytes (256 pages)
0x02a39000 - 0x7eda6fff, 2083971072 bytes (508782 pages)
0x7edf2000 - 0x7ee36fff, 282624 bytes (69 pages)
0x7f948000 - 0x84ed7fff, 89718784 bytes (21904 pages)
0x87fff000 - 0x87ff, 4096 bytes (1 pages)
0x0001 - 0x00100b366fff, 64612626432 bytes (15774567 pages)
avail memory = 66583150592 (63498 MB)
Event timer "LAPIC" quality 600
ACPI APIC Table: 
INTR: Adding local APIC 1 as a target
INTR: Adding local APIC 2 as a target
INTR: Adding local APIC 3 as a target
INTR: Adding local

Re: Is UEFI required for ZFS?

2016-02-13 Thread Konstantin Belousov
On Fri, Feb 12, 2016 at 09:15:49PM +, Mark Dixon wrote:
> > Can you put a dmesg.boot from the server ? An pciconf -lvb ?
> > 
> 
> I have the exact same issue on the forum, so I can:
As a blind shot, try to lower the CPU frequency in the BIOS, to 3 or even
to 2 Ghz.  If you can try a dos (real dos from MS) on usb stick and see
if it works it could be also telling.

Also, could you obtain verbose dmesg ?
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"