RE: input/output error @boot

2017-03-06 Thread Dexuan Cui
> From: Dexuan Cui
> I committed r314770 just now to minimize the impact:
> https://svnweb.freebsd.org/base?view=revision=314770
> 
> Please let me know in case this can't solve the issue.
 
Sorry, r314770  has a bug, so I had to commit r314828:
https://svnweb.freebsd.org/base?view=revision=314828

Please make sure you use the latest code, i.e. >= r314828.

Thanks,
-- Dexuan
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


RE: Boot failure - svn up from this morning

2017-03-06 Thread Dexuan Cui
> From: Dexuan Cui
> I committed r314770 just now to minimize the impact:
> https://svnweb.freebsd.org/base?view=revision=314770
> 
> Please let me know in case this can't solve the issue.
 
Sorry, r314770  has a bug, so I had to commit r314828 for this:
https://svnweb.freebsd.org/base?view=revision=314828

Please make sure you use the latest code, i.e. >= r314828.

Thanks,
-- Dexuan
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


make.conf

2017-03-06 Thread Roberto Rodriguez Jr
Good evening gentlemen or good morning I would like to know what kind of
settings you would like us testers to have in our configuration. For
example I simply establish a CPU type just for basic assembly optimization
but what other settings would you recommend to set so that when we
recompile and build world we have the environment you would like us to
test. Where the definition of testing could be: we install packages and
execute X11 environment and try to connect to the internet and run all
kinds of different applications so that end users also can have the same
experience and understand that the system is cohesive.
?
too much?
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


RE: input/output error @boot

2017-03-06 Thread Roberto Rodriguez Jr
Very excellent! looks good ... I do it when I get home from work. Thank u

On Mar 6, 2017 9:06 AM, "Dexuan Cui"  wrote:

> Hi Roberto,
>
> I’m not sure if the snapshot is built daily or weekly.
>
>
>
> To have this latest fix, I suggest you re-buildworld.
>
> If you have done buildworld in your local directory, then you only need to
> rebuild the EFI loader:
>
>
>
> 'wget' the patch (https://github.com/freebsd/freebsd/commit/
> f61d2c287970bdfb013deafb416e82a844415031.patch)
>
> cd' into your FREEBSD_SOURCE_ROOT/sys/boot/ and run "patch -p3 <
> the_patch_name".
>
> If you have run 'make buildworld", just run 'make' in the sys/boot/
> directory and copy the new loader.efi into the boot folder, e.g. in my
> side, I use
>
> cp -iv  /usr/obj/root/bsd.git/sys/boot/efi/loader/loader.efi
> /boot/loader.efi
>
>
>
> Thanks,
>
> -- Dexuan
>
>
>
> *From:* Roberto Rodriguez Jr [mailto:rob.rodz@gmail.com]
> *Sent:* Monday, March 6, 2017 20:33
> *To:* Dexuan Cui 
> *Cc:* FreeBSD Current 
> *Subject:* RE: input/output error @boot
>
>
>
> Hey I do appreciate the work and time put into this issue. I will update
> my sources when I chroot from the USB, need to find out how first, ;) and
> do I rebuildworld  or just download the lastest head snapshot? Im new to
> testing with others. Thank you very much
>
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Re: Strange kernel build breakage (after r314283?)

2017-03-06 Thread Lev Serebryakov
On 06.03.2017 20:10, Lev Serebryakov wrote:

>  I've got this error when tried to update my -CURRENT VM to r314772:
> 
> /data/src/sys/cam/cam_xpt.c:84:1: error: static_assert failed
> "XPT_PRINT_LEN is too large"
> _Static_assert(XPT_PRINT_LEN <= XPT_PRINT_MAXLEN, "XPT_PRINT_LEN is too
> large");
> ^  ~
> 
>  I didn't define any XPT_ macro by hands, but I have
> 
> options PRINTF_BUFR_SIZE=1024
> 
>  in my kernel config.
 Yep, removing this option helps, but it is surprising and not obvious
at all!

-- 
// Lev Serebryakov
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


CFT: aacraid users

2017-03-06 Thread Andriy Gapon

If you currently use aacraid(4) driver and can afford to run a test,
could you please test if you get any regressions after applying the following 
patch?

https://reviews.freebsd.org/D9900.diff

Thank you!

-- 
Andriy Gapon
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Strange kernel build breakage (after r314283?)

2017-03-06 Thread Lev Serebryakov

 I've got this error when tried to update my -CURRENT VM to r314772:

/data/src/sys/cam/cam_xpt.c:84:1: error: static_assert failed
"XPT_PRINT_LEN is too large"
_Static_assert(XPT_PRINT_LEN <= XPT_PRINT_MAXLEN, "XPT_PRINT_LEN is too
large");
^  ~

 I didn't define any XPT_ macro by hands, but I have

options PRINTF_BUFR_SIZE=1024

 in my kernel config.

-- 
// Lev Serebryakov
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: How many versions of clang/llvm are currently required to maintain a system

2017-03-06 Thread rb
Hi,

> On 6 Mar 2017, at 14:16, Kurt Jaeger  wrote:
> 
> Hi!
> 
>> A big chunk of this is down to lang/pure. The upstream links for
>> pure at bitbucket.org have mysteriously disappeared; those who care
>> may get an uneasy feeling.
> 
> https://bitbucket.org/purelang/pure-lang/downloads/
> 
> has 0.66 ?

Let me rephrase that: the link http://purelang.bitbucket.org/ quoted on 
https://wiki.freebsd.org/ObsoleteLLVMVersions doesn’t work, should be 
https://bitbucket.org/purelang/

> -- 
> p...@opsec.eu+49 171 3101372 3 years to 
> go !
> 

--
Bob Bishop
r...@gid.co.uk




___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Re: PowerMac G5 and KMS

2017-03-06 Thread 小野寛生
Thank you.

Just unconditionally disabling AGP in R300 initialization made
radeonkms to load successfully.
It seems that no tunables for FreeBSD are described instead of
MODULE_PARM_DESC and module_param_named.
So, I have to learn how to add them to the source code.
(/usr/src/sys/dev/drm2/os_freebsd.c seem to help.)

Anyway, it worked. thank you.

Some problems remain. The virtual screen is larger than the real one and
I cannot see the command line I am inputting, and I did not yet test X  as
there seem to be problems in building them from ports, but that are
other things.


2017-03-06 13:03 GMT+09:00 Herminio Hernandez, Jr.
:
> Per the radeon man page here. However this option has been removed after
> 10.2. Under Linux the you set it in yaboot bootloader by using
> 'radeon.agpmode=-1'. I do not know if this will work in loader.conf
>
>
>
>   Option "BusType""string"
> Used  to  replace  previous ForcePCIMode option.  Should only be
> used when driver's bus detection is incorrect  or  you  want  to
> force an AGP card to PCI mode. You should NEVER force a PCI card
> to AGP bus.
> PCI-- PCI bus
> AGP-- AGP bus
> PCIE   -- PCI Express bus
> (used only when DRI is enabled)
> The default is auto detect.
>
>
>
> On Sun, Mar 5, 2017 at 3:35 PM, Hiroo Ono (小野寛生)
>  wrote:
>>
>> Thank you. I see the point.
>>
>> 2017-03-05 17:20 GMT+09:00 Herminio Hernandez Jr.
>> :
>> > Try to force the Radeon driver into PCI mode. Under Linux doing this
>> > stops
>> > the blank screen and locks.
>>
>> Could anyone tell me how to do it? Can it be done from FreeBSD?
>> I googled a little but could not find anything useful (maybe search
>> words were not
>> appropriate), so how to do it on Linux helps me also.
>>
>> pciconf -lc says:
>> vgapci0@pci0:0:16:0: class=0x3 card=0x41501002 chip=0x41501002
>> rev=0x00 hdr=0x00
>>   cap 02[58] = AGP v3 8x 4x SBA disabled]
>>   cap 01[50] = powerspec 2 supports D0 D1 D2 D3 current D0
>
>
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Re: How many versions of clang/llvm are currently required to maintain a system

2017-03-06 Thread Kurt Jaeger
Hi!

> A big chunk of this is down to lang/pure. The upstream links for
> pure at bitbucket.org have mysteriously disappeared; those who care
> may get an uneasy feeling.

https://bitbucket.org/purelang/pure-lang/downloads/

has 0.66 ?

-- 
p...@opsec.eu+49 171 3101372 3 years to go !
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: How many versions of clang/llvm are currently required to maintain a system

2017-03-06 Thread Chris H
On Mon, 6 Mar 2017 01:16:00 -0600 Mark Linimon  wrote

> Please see https://wiki.freebsd.org/ObsoleteLLVMVersions .
The perfect answer. Thank you, Mark!

--Chris
> 
> mcl


___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


RE: input/output error @boot

2017-03-06 Thread Dexuan Cui
Hi Roberto,
I’m not sure if the snapshot is built daily or weekly.

To have this latest fix, I suggest you re-buildworld.
If you have done buildworld in your local directory, then you only need to 
rebuild the EFI loader:

'wget' the patch 
(https://github.com/freebsd/freebsd/commit/f61d2c287970bdfb013deafb416e82a844415031.patch)
cd' into your FREEBSD_SOURCE_ROOT/sys/boot/ and run "patch -p3 < 
the_patch_name".
If you have run 'make buildworld", just run 'make' in the sys/boot/ directory 
and copy the new loader.efi into the boot folder, e.g. in my side, I use
cp -iv  /usr/obj/root/bsd.git/sys/boot/efi/loader/loader.efi /boot/loader.efi

Thanks,
-- Dexuan

From: Roberto Rodriguez Jr [mailto:rob.rodz@gmail.com]
Sent: Monday, March 6, 2017 20:33
To: Dexuan Cui 
Cc: FreeBSD Current 
Subject: RE: input/output error @boot

Hey I do appreciate the work and time put into this issue. I will update my 
sources when I chroot from the USB, need to find out how first, ;) and do I 
rebuildworld  or just download the lastest head snapshot? Im new to testing 
with others. Thank you very much
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Re: AMD CPU/APU temperature driver

2017-03-06 Thread Cy Schubert
In message <20170306090406.GA1869@c720-r292778-amd64>, Matthias Apitz 
writes:
> El día Monday, March 06, 2017 a las 05:04:31AM +0300, Rozhuk Ivan escribió:
> 
> > Hi!
> > 
> > 
> > New amdtemp driver needs more testers!
> > 
> > 
> > https://reviews.freebsd.org/D9759
> > 
> > Fast buld/install:
> > ...download and apply patch...
> > kldunload amdtemp
> > cd /usr/src/sys/modules/amdtemp/
> > make
> > make install
> > make cleandir
> > kldload amdtemp
> > 
> > 
> > rus/eng: http://netlab.dhis.org/wiki/ru:software:freebsd:amdtemp
> 
> Hi,
> 
> The English version of the Wiki gives only: This topic does not exist
> yet. Is there an English version?

I get the following:

This topic does not exist yet

You've followed a link to a topic that doesn't exist yet. If permissions 
allow, you may create it by clicking on \u201cCreate this page\u201d.


I have three older AMD X2 boxes in my basement. I could give it a spin when 
I get a chance.


-- 
Cheers,
Cy Schubert 
FreeBSD UNIX:     Web:  http://www.FreeBSD.org

The need of the many outweighs the greed of the few.


___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


RE: input/output error @boot

2017-03-06 Thread Roberto Rodriguez Jr
Hey I do appreciate the work and time put into this issue. I will update my
sources when I chroot from the USB, need to find out how first, ;) and do I
rebuildworld  or just download the lastest head snapshot? Im new to testing
with others. Thank you very much
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: AMD CPU/APU temperature driver

2017-03-06 Thread Olivier Cochard-Labbé
On Mon, Mar 6, 2017 at 3:04 AM, Rozhuk Ivan  wrote:

> Hi!
>
>
> New amdtemp driver needs more testers!
>
>
> https://reviews.freebsd.org/D9759
>
>
​
This patch apply correctly (on 12-head r314770), but a "make buildkernel"
failed with

​--- all_subdir_amdtemp ---
/usr/src/sys/modules/amdtemp/../../dev/amdtemp/amdtemp.c:1083:54: error:
too few arguments to function call, expected 11, have 10
regs[i].oid_handler, regs[i].fmt, regs[i].descr);
   ^
/usr/src/sys/sys/sysctl.h:1017:1: note: 'sysctl_add_oid' declared here
struct sysctl_oid *sysctl_add_oid(struct sysctl_ctx_list *clist,
^
/usr/src/sys/modules/amdtemp/../../dev/amdtemp/amdtemp.c:1099:54: error:
too few arguments to function call, expected 11, have 10
regs[i].oid_handler, regs[i].fmt, regs[i].descr);
   ^
/usr/src/sys/sys/sysctl.h:1017:1: note: 'sysctl_add_oid' declared here
struct sysctl_oid *sysctl_add_oid(struct sysctl_ctx_list *clist,
^
2 errors generated.
*** [amdtemp.o] Error code 1
​
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Re: PowerMac G5 and KMS

2017-03-06 Thread Herminio Hernandez, Jr.
Per the radeon man page *here
.
*However this option has been removed after 10.2. Under Linux the you
set it in yaboot bootloader by using 'radeon.agpmode=-1'. I do not
know if this will work in loader.conf



  *Option* *"BusType"*  *"**string**"*
  Used  to  replace  previous ForcePCIMode option.  Should only be
  used when driver's bus detection is incorrect  or  you  want  to
  force an AGP card to PCI mode. You should NEVER force a PCI card
  to AGP bus.
  PCI-- PCI bus
  AGP-- AGP bus
  PCIE   -- PCI Express bus
  (used only when DRI is enabled)
  The default is *auto* *detect.*



On Sun, Mar 5, 2017 at 3:35 PM, Hiroo Ono (小野寛生) <
hiroo.ono+free...@gmail.com> wrote:

> Thank you. I see the point.
>
> 2017-03-05 17:20 GMT+09:00 Herminio Hernandez Jr.
> :
> > Try to force the Radeon driver into PCI mode. Under Linux doing this
> stops
> > the blank screen and locks.
>
> Could anyone tell me how to do it? Can it be done from FreeBSD?
> I googled a little but could not find anything useful (maybe search
> words were not
> appropriate), so how to do it on Linux helps me also.
>
> pciconf -lc says:
> vgapci0@pci0:0:16:0: class=0x3 card=0x41501002 chip=0x41501002
> rev=0x00 hdr=0x00
>   cap 02[58] = AGP v3 8x 4x SBA disabled]
>   cap 01[50] = powerspec 2 supports D0 D1 D2 D3 current D0
>
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

RE: Boot failure - svn up from this morning

2017-03-06 Thread Dexuan Cui
> From: owner-freebsd-curr...@freebsd.org [mailto:owner-freebsd-
> curr...@freebsd.org] On Behalf Of Dexuan Cui
> Hi Chris,
> Thank you very much for the screenshots!!!
> 
> On the host there is a 1MB LoaderData memory range, which splits
> the big Conventional Memory range into a small one (15MB) and a
> big one: the small one is too small to hold the staging area.
> 
> I'm going to post a patch shortly.

Can you please try the below patch?
https://reviews.freebsd.org/D9904
You can find the URL of the "Download Raw Diff" in the page and
'wget' the patch and then apply it.

It should be able to fix the recent UEFI-boot issue introduced by me.

You may not need to re-buildworld. Please this link to replace the
bad 'loader.efi':
https://lists.freebsd.org/pipermail/freebsd-current/2017-March/064979.html

I'm planning to commit the patch later today in about 6 hours, because
I'm pretty confident in the patch and it should fix the critical issue...

Thanks,
-- Dexuan
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


RE: Boot failure - svn up from this morning

2017-03-06 Thread Dexuan Cui
> From: Dexuan Cui
> Sent: Monday, March 6, 2017 13:10
> Can you please try the below patch?
> https://reviews.freebsd.org/D9904
> You can find the URL of the "Download Raw Diff" in the page and
> 'wget' the patch and then apply it.
> 
> It should be able to fix the recent UEFI-boot issue introduced by me.
> 
> You may not need to re-buildworld. Please this link to replace the
> bad 'loader.efi':
> https://lists.freebsd.org/pipermail/freebsd-current/2017-March/064979.html
> 
> I'm planning to commit the patch later today in about 6 hours, because
> I'm pretty confident in the patch and it should fix the critical issue...

I committed r314770 just now to minimize the impact:
https://svnweb.freebsd.org/base?view=revision=314770

Please let me know in case this can't solve the issue.

 Thanks,
-- Dexuan
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


RE: input/output error @boot

2017-03-06 Thread Dexuan Cui
> From: Dexuan Cui
> Sent: Monday, March 6, 2017 14:35
> To: 'Roberto Rodriguez Jr' ; freebsd-
> curr...@freebsd.org
> Subject: RE: input/output error @boot
> 
> > From: owner-freebsd-curr...@freebsd.org [mailto:owner-freebsd-
> > curr...@freebsd.org] On Behalf Of Roberto Rodriguez Jr
> > Sent: Monday, March 6, 2017 04:05
> > To: freebsd-current@freebsd.org
> > Subject: Re: input/output error @boot
> >
> > When I get to the house I'll try to patch it and see if I get any results.
> > Thank u very much
> 
> Hi Roberto,
> I posted https://reviews.freebsd.org/D9904 to fix the issue.
> It would be great if you can try this patch directly.
> 
> I'm planning to commit the patch to the HEAD in ~3 hours.
 
I committed r314770 just now to minimize the impact:
https://svnweb.freebsd.org/base?view=revision=314770

Please let me know in case this can't solve the issue.

 Thanks,
-- Dexuan
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: AMD CPU/APU temperature driver

2017-03-06 Thread Matthias Apitz
El día Monday, March 06, 2017 a las 05:04:31AM +0300, Rozhuk Ivan escribió:

> Hi!
> 
> 
> New amdtemp driver needs more testers!
> 
> 
> https://reviews.freebsd.org/D9759
> 
> Fast buld/install:
> ...download and apply patch...
> kldunload amdtemp
> cd /usr/src/sys/modules/amdtemp/
> make
> make install
> make cleandir
> kldload amdtemp
> 
> 
> rus/eng: http://netlab.dhis.org/wiki/ru:software:freebsd:amdtemp

Hi,

The English version of the Wiki gives only: This topic does not exist
yet. Is there an English version?

Thanks

matthias


-- 
Matthias Apitz, ✉ g...@unixarea.de, ⌂ http://www.unixarea.de/  ☎ 
+49-176-38902045
Aus "Nie wieder Krieg!" wurde "Nie wieder Krieg ohne Deutschlands Truppen"
The "No wars anymore!" changed now to "No wars anymore without German battle 
groups!"
El "¡Nunca jamás guerra!" ha cambiado a "¡Nunca jamás guerra sin tropas 
alemanas!" 
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Re: How many versions of clang/llvm are currently required to maintain a system

2017-03-06 Thread Bob Bishop
Hi,

A big chunk of this is down to lang/pure. The upstream links for pure at 
bitbucket.org have mysteriously disappeared; those who care may get an uneasy 
feeling.

> On 6 Mar 2017, at 07:16, Mark Linimon  wrote:
> 
> Please see https://wiki.freebsd.org/ObsoleteLLVMVersions .
> 
> mcl
> ___
> freebsd-current@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
> 

--
Bob Bishop
r...@gid.co.uk




___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"