Re: debugging a run of poudriere-bulk

2018-10-04 Thread Matthias Apitz
El día Thursday, October 04, 2018 a las 01:14:55PM +0930, Shane Ambler escribió:

> > How can I enter the jail interactively in the moment after the crash to 
> > rerun and
> > debug pkg-static?
> 
> Using
> 
> poudriere testport -j  -p  -i -o 
> 
> will drop you into the jail after the build stops, you then rerun make
> manually, check build logs... Logging out will then continue on and
> clean up the jail. You can also use -I instead of -i and it leaves the
> jail in place so you can manually connect to and stop the jail.
> 
> Note that poudriere uses a clean jail with only deps listed for the
> port, you can add extra BUILD_DEPENDS to get extra ports (gdb valgrind)
> installed with the test build.

Thanks! One should read man pages completely in advance and not only the
part of 'poudriere bulk ...'.

I did so and in nthis case the crash occurs *after* the package is
complete:


...
> Checking for pkg-plist issues (check-plist)
===> Parsing plist
===> Checking for items in STAGEDIR missing from pkg-plist
===> Checking for items in pkg-plist which are not in STAGEDIR
===> No pkg-plist issues found (check-plist)
=>> Checking for staging violations... done
===
===>  Building package for kde-workspace-kde4-4.11.22_26
file sizes/checksums  [2126]: .. done
packing files [2126]: .. done
packing directories  [0]: . done
===
=>> Recording filesystem state for preinst... done
===
===>  Installing for kde-workspace-kde4-4.11.22_26
===>  Checking if kde-workspace-kde4 already installed
===>   Registering installation for kde-workspace-kde4-4.11.22_26
Child process pid=75639 terminated abnormally: Segmentation faul
*** Error code 139

Stop.
make: stopped in /usr/ports/x11/kde-workspace-kde4
===
[00:13:29] Installing packages
[00:13:29] Installing run-depends for x11/kde-workspace-kde4 | 
kde-workspace-kde4-4.11.22_26


# ls -l 
/wrkdirs/usr/ports/x11/kde-workspace-kde4/work/pkg/kde-workspace-kde4-4.11.22_26.txz
-rw-r--r--  1 nobody  wheel  18338720 Oct  4 14:02 
/wrkdirs/usr/ports/x11/kde-workspace-kde4/work/pkg/kde-workspace-kde4-4.11.22_26.txz

Poudriere installs the package 'pkg' into the jail to could make use of
'pkg-static' (and other tools). Maybe it would be an idea to create
outside a special version of this package which have a special version
of 'pkg-static' in this, for example a shellsript with the name
pkg-static which is something like:

#!/bin/sh
echo $0 $* > /tmp/pkg-static-args.$$
truss -o /tmp/pkg-static.$$ /usr/local/sbin/pkgstatic.exec $*

to get more information about the crash.

Other ideas?

matthias

-- 
Matthias Apitz, ✉ g...@unixarea.de, http://www.unixarea.de/ +49-176-38902045
Public GnuPG key: http://www.unixarea.de/key.pub
October, 7 -- The GDR was different: Peace instead of Bundeswehr and wars, 
Druschba
instead of Nazis, to live instead of to survive.
___
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: Sound issues with Dell Latitude 7490 (kabylake)

2018-10-04 Thread Mario Lobo
Em qui, 4 de out de 2018 às 10:27, Jakob Alvermark 
escreveu:

>
> On 10/4/18 2:24 PM, Mario Lobo wrote:
>
> Sorry for the delay, Jakob.  Here it is:
>
> [~]>sysctl dev.pcm
> Em qua, 3 de out de 2018 às 18:32, Jakob Alvermark 
> escreveu:
>
>> On 10/3/18 7:39 PM, Mario Lobo wrote:
>> > Em qua, 3 de out de 2018 às 14:03, Jakob Alvermark > >
>> > escreveu:
>> >
>> >> On 10/3/18 6:19 PM, Mario Lobo wrote:
>> >>
>> >> Em qua, 3 de out de 2018 às 10:10, David Wolfskill <
>> da...@catwhisker.org>
>> >> escreveu:
>> >>
>> >>> On Mon, Oct 01, 2018 at 11:12:25PM +0200, Jakob Alvermark wrote:
>>  
>>  Do the headphones work with this patch?
>> 
>>  Index: sys/dev/sound/pci/hda/hdaa.c
>>  ===
>>  --- sys/dev/sound/pci/hda/hdaa.c(revision 339076)
>>  +++ sys/dev/sound/pci/hda/hdaa.c(working copy)
>>  @@ -5034,11 +5034,13 @@
>> pincap = w->wclass.pin.cap;
>> 
>> /* Disable everything. */
>>  +/*
>> w->wclass.pin.ctrl &= ~(
>> HDA_CMD_SET_PIN_WIDGET_CTRL_HPHN_ENABLE |
>> HDA_CMD_SET_PIN_WIDGET_CTRL_OUT_ENABLE |
>> HDA_CMD_SET_PIN_WIDGET_CTRL_IN_ENABLE |
>> HDA_CMD_SET_PIN_WIDGET_CTRL_VREF_ENABLE_MASK);
>>  +*/
>> 
>> if (w->enable == 0) {
>> /* Pin is unused so left it disabled. */
>>  
>> >>> Thank you!  This addressed the long-standing (Reported:  2015-05-29
>> >>> 21:15 UTC) issue I have had with my laptop (Dell Precision M4800), as
>> >>> documented in
>> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200526
>> >>> -- now updated to reflect the fix.
>> >>>
>> >>> Peace,
>> >>> david
>> >>> --
>> >>> David H. Wolfskill  da...@catwhisker.org
>> >>> Trump is gaslighting us:
>> >>> https://www.bbc.com/news/world-us-canada-44959300
>> >>>
>> >>> See http://www.catwhisker.org/~david/publickey.gpg for my public key.
>> >>>
>> >> Thank you #2 !! The patch fixed my weird headphone sound too on
>> >> 11.2-STABLE!
>> >>
>> >> I still can't make the plugging-in switch work but it's ok. I created
>> >> scripts for that with
>> >>
>> >>
>> >> Can you send the output from 'sysctl dev.hdaa'?
>> >>
>> >>
>> >> Jakob
>> >>
>> > By the way, my note is ACER Aspire 5 A515-51G
>> >
>> > Here it is:
>> >
>> > [~]>sysctl dev.hdaa
>> > dev.hdaa.1.reconfig: 0
>>
>>
>> Could you send me the output of 'sysctl dev.pcm' as well?
>>
>> Thanks,
>>
>> Jakob
>>
>>
> Ok, try this:
>
> sysctl dev.hdaa.0.nid33_config="as=2 seq=15"
> sysctl dev.hdaa.0.reconfig=1
>
> It should make it auto-switch when you plug in headphones.
>
> If it works put this in /boot/loader.conf to make it default on boot:
>
> hint.hdaa.0.nid33.config="as=2 seq=15"
>
> Jakob
>

YES!! Thanks a million, Jakob!
Based on your previous answers, I tried to figure it out for myself and
tried this:

dev.hdaa.0.nid18_config="as=4 seq=15"
dev.hdaa.0.nid33_config="as=1 seq=15"

which obviously didn't work.

When you can (and if you wish to), could you elaborate on what
as=  and seq= do?

Again, thank you for your time to solve this for all of us!!

Count on a free beer here in Brasil from me!!

-- 
Mario Lobo
http://www.mallavoodoo.com.br
FreeBSD since version 2.2.8 [not Pro-Audio YET!!]
___
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 RAID support?

2018-10-04 Thread Warner Losh
On Thu, Oct 4, 2018 at 10:37 AM Allan Jude  wrote:

> On 2018-10-04 12:29, Zaphod Beeblebrox wrote:
> > Are there any plans to support AMD RAID?
> >
> > AMD RAID is _like_ Intel RAID, but has a number of differences.  One is
> > that it requires UEFI (without UEFI it does not boot, at least).  It
> comes
> > on/with AMD motherboards for Zen and Threadripper processors.  It also
> only
> > supports RAID 0/1/10, that is: no support for 5/50.
> >
> > Also, unlike Intel RAID, at least initially, the raw disks don't seem to
> > show up.  That's not entirely true: On some motherboards, NVME RAID is
> > supported and the NVME "disks" show up, but the SATA disks do not.
> >
> > Obviously this is all in the service of mounting the dual-boot windows
> > drive.
>
>
This sounds like there's two parts here. The first is that SATA disks
aren't showing up. This suggests a different HBA / driver might be needed
for them. Or some hacks to ahci to 'unlock' the ports that's preventing
discovery.

The GEOM issue is just a small matter of book keeping :)

Warner
___
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 RAID support?

2018-10-04 Thread Allan Jude
On 2018-10-04 12:29, Zaphod Beeblebrox wrote:
> Are there any plans to support AMD RAID?
> 
> AMD RAID is _like_ Intel RAID, but has a number of differences.  One is
> that it requires UEFI (without UEFI it does not boot, at least).  It comes
> on/with AMD motherboards for Zen and Threadripper processors.  It also only
> supports RAID 0/1/10, that is: no support for 5/50.
> 
> Also, unlike Intel RAID, at least initially, the raw disks don't seem to
> show up.  That's not entirely true: On some motherboards, NVME RAID is
> supported and the NVME "disks" show up, but the SATA disks do not.
> 
> Obviously this is all in the service of mounting the dual-boot windows
> drive.
> ___
> 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"
> 

Do you have any details on the metadata location and format?

GEOM Support for Intel RAID mostly consists of the ability to understand
the metadata on the drives and present the same RAID configuration to
the OS.

-- 
Allan Jude



signature.asc
Description: OpenPGP digital signature


best linux emulation for 12-current

2018-10-04 Thread tech-lists

Hi,

Which is the better package for linux emulation on 12-alpha8 - c6 or c7? 
Or something else?


Emulation is for boinc_client to take linux work

thanks
--
J.
___
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"


AMD RAID support?

2018-10-04 Thread Zaphod Beeblebrox
Are there any plans to support AMD RAID?

AMD RAID is _like_ Intel RAID, but has a number of differences.  One is
that it requires UEFI (without UEFI it does not boot, at least).  It comes
on/with AMD motherboards for Zen and Threadripper processors.  It also only
supports RAID 0/1/10, that is: no support for 5/50.

Also, unlike Intel RAID, at least initially, the raw disks don't seem to
show up.  That's not entirely true: On some motherboards, NVME RAID is
supported and the NVME "disks" show up, but the SATA disks do not.

Obviously this is all in the service of mounting the dual-boot windows
drive.
___
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: Sound issues with Dell Latitude 7490 (kabylake)

2018-10-04 Thread Jakob Alvermark


On 10/4/18 2:24 PM, Mario Lobo wrote:

Sorry for the delay, Jakob.  Here it is:

[~]>sysctl dev.pcm
Em qua, 3 de out de 2018 às 18:32, Jakob Alvermark 
mailto:ja...@alvermark.net>> escreveu:


On 10/3/18 7:39 PM, Mario Lobo wrote:
> Em qua, 3 de out de 2018 às 14:03, Jakob Alvermark
mailto:ja...@alvermark.net>>
> escreveu:
>
>> On 10/3/18 6:19 PM, Mario Lobo wrote:
>>
>> Em qua, 3 de out de 2018 às 10:10, David Wolfskill
mailto:da...@catwhisker.org>>
>> escreveu:
>>
>>> On Mon, Oct 01, 2018 at 11:12:25PM +0200, Jakob Alvermark wrote:
 
 Do the headphones work with this patch?

 Index: sys/dev/sound/pci/hda/hdaa.c

===
 --- sys/dev/sound/pci/hda/hdaa.c (revision 339076)
 +++ sys/dev/sound/pci/hda/hdaa.c (working copy)
 @@ -5034,11 +5034,13 @@
            pincap = w->wclass.pin.cap;

            /* Disable everything. */
 +        /*
            w->wclass.pin.ctrl &= ~(
 HDA_CMD_SET_PIN_WIDGET_CTRL_HPHN_ENABLE |
 HDA_CMD_SET_PIN_WIDGET_CTRL_OUT_ENABLE |
 HDA_CMD_SET_PIN_WIDGET_CTRL_IN_ENABLE |
 HDA_CMD_SET_PIN_WIDGET_CTRL_VREF_ENABLE_MASK);
 +        */

            if (w->enable == 0) {
                /* Pin is unused so left it disabled. */
 
>>> Thank you!  This addressed the long-standing (Reported: 
2015-05-29
>>> 21:15 UTC) issue I have had with my laptop (Dell Precision
M4800), as
>>> documented in
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200526
>>> -- now updated to reflect the fix.
>>>
>>> Peace,
>>> david
>>> --
>>> David H. Wolfskill da...@catwhisker.org

>>> Trump is gaslighting us:
>>> https://www.bbc.com/news/world-us-canada-44959300
>>>
>>> See http://www.catwhisker.org/~david/publickey.gpg for my
public key.
>>>
>> Thank you #2 !! The patch fixed my weird headphone sound too on
>> 11.2-STABLE!
>>
>> I still can't make the plugging-in switch work but it's ok. I
created
>> scripts for that with
>>
>>
>> Can you send the output from 'sysctl dev.hdaa'?
>>
>>
>> Jakob
>>
> By the way, my note is ACER Aspire 5 A515-51G
>
> Here it is:
>
> [~]>sysctl dev.hdaa
> dev.hdaa.1.reconfig: 0


Could you send me the output of 'sysctl dev.pcm' as well?

Thanks,

Jakob



Ok, try this:

sysctl dev.hdaa.0.nid33_config="as=2 seq=15"
sysctl dev.hdaa.0.reconfig=1

It should make it auto-switch when you plug in headphones.

If it works put this in /boot/loader.conf to make it default on boot:

hint.hdaa.0.nid33.config="as=2 seq=15"

Jakob

___
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: Sound issues with Dell Latitude 7490 (kabylake)

2018-10-04 Thread Mario Lobo
Sorry for the delay, Jakob.  Here it is:

[~]>sysctl dev.pcm
dev.pcm.2.bitperfect: 0
dev.pcm.2.buffersize: 65536
dev.pcm.2.play.vchanformat: s16le:2.0
dev.pcm.2.play.vchanrate: 48000
dev.pcm.2.play.vchanmode: passthrough
dev.pcm.2.play.vchans: 1
dev.pcm.2.play.32bit: 24
dev.pcm.2.%parent: hdaa1
dev.pcm.2.%pnpinfo:
dev.pcm.2.%location: nid=3
dev.pcm.2.%driver: pcm
dev.pcm.2.%desc: Intel Kabylake (HDMI/DP 8ch)
dev.pcm.1.bitperfect: 0
dev.pcm.1.buffersize: 65536
dev.pcm.1.play.vchanformat: s16le:2.0
dev.pcm.1.play.vchanrate: 48000
dev.pcm.1.play.vchanmode: fixed
dev.pcm.1.play.vchans: 1
dev.pcm.1.play.32bit: 24
dev.pcm.1.%parent: hdaa0
dev.pcm.1.%pnpinfo:
dev.pcm.1.%location: nid=33
dev.pcm.1.%driver: pcm
dev.pcm.1.%desc: Realtek ALC255 (Front Analog Headphones)
dev.pcm.0.bitperfect: 0
dev.pcm.0.buffersize: 65536
dev.pcm.0.rec.vchanformat: s16le:2.0
dev.pcm.0.rec.vchanrate: 48000
dev.pcm.0.rec.vchanmode: fixed
dev.pcm.0.rec.vchans: 1
dev.pcm.0.rec.autosrc: 2
dev.pcm.0.rec.32bit: 24
dev.pcm.0.play.vchanformat: s16le:2.0
dev.pcm.0.play.vchanrate:
48000

dev.pcm.0.play.vchanmode:
fixed

dev.pcm.0.play.vchans:
1

dev.pcm.0.play.32bit: 24
dev.pcm.0.%parent: hdaa0
dev.pcm.0.%pnpinfo:
dev.pcm.0.%location: nid=20,18
dev.pcm.0.%driver: pcm
dev.pcm.0.%desc: Realtek ALC255 (Internal Analog)
dev.pcm.%parent:

Em qua, 3 de out de 2018 às 18:32, Jakob Alvermark 
escreveu:

> On 10/3/18 7:39 PM, Mario Lobo wrote:
> > Em qua, 3 de out de 2018 às 14:03, Jakob Alvermark 
> > escreveu:
> >
> >> On 10/3/18 6:19 PM, Mario Lobo wrote:
> >>
> >> Em qua, 3 de out de 2018 às 10:10, David Wolfskill <
> da...@catwhisker.org>
> >> escreveu:
> >>
> >>> On Mon, Oct 01, 2018 at 11:12:25PM +0200, Jakob Alvermark wrote:
>  
>  Do the headphones work with this patch?
> 
>  Index: sys/dev/sound/pci/hda/hdaa.c
>  ===
>  --- sys/dev/sound/pci/hda/hdaa.c(revision 339076)
>  +++ sys/dev/sound/pci/hda/hdaa.c(working copy)
>  @@ -5034,11 +5034,13 @@
> pincap = w->wclass.pin.cap;
> 
> /* Disable everything. */
>  +/*
> w->wclass.pin.ctrl &= ~(
> HDA_CMD_SET_PIN_WIDGET_CTRL_HPHN_ENABLE |
> HDA_CMD_SET_PIN_WIDGET_CTRL_OUT_ENABLE |
> HDA_CMD_SET_PIN_WIDGET_CTRL_IN_ENABLE |
> HDA_CMD_SET_PIN_WIDGET_CTRL_VREF_ENABLE_MASK);
>  +*/
> 
> if (w->enable == 0) {
> /* Pin is unused so left it disabled. */
>  
> >>> Thank you!  This addressed the long-standing (Reported:  2015-05-29
> >>> 21:15 UTC) issue I have had with my laptop (Dell Precision M4800), as
> >>> documented in https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200526
> >>> -- now updated to reflect the fix.
> >>>
> >>> Peace,
> >>> david
> >>> --
> >>> David H. Wolfskill  da...@catwhisker.org
> >>> Trump is gaslighting us:
> >>> https://www.bbc.com/news/world-us-canada-44959300
> >>>
> >>> See http://www.catwhisker.org/~david/publickey.gpg for my public key.
> >>>
> >> Thank you #2 !! The patch fixed my weird headphone sound too on
> >> 11.2-STABLE!
> >>
> >> I still can't make the plugging-in switch work but it's ok. I created
> >> scripts for that with
> >>
> >>
> >> Can you send the output from 'sysctl dev.hdaa'?
> >>
> >>
> >> Jakob
> >>
> > By the way, my note is ACER Aspire 5 A515-51G
> >
> > Here it is:
> >
> > [~]>sysctl dev.hdaa
> > dev.hdaa.1.reconfig: 0
>
>
> Could you send me the output of 'sysctl dev.pcm' as well?
>
> Thanks,
>
> Jakob
>
>

-- 
Mario Lobo
http://www.mallavoodoo.com.br
FreeBSD since version 2.2.8 [not Pro-Audio YET!!]
___
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"


FreeBSD 12 PowerPC won’t boot at all.

2018-10-04 Thread Alex McKeever
Subject says it all, that and it inverts the boot selector when selected. 
Tested it on my eMac G4 1.25 GHz (Retail). Last version of FreeBSD that works 
for me is 11.1, as 11.2 doesn’t boot all the way (hangs on cryptosoft0)


Sent from Yahoo Mail for iPhone
___
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"


Fw: Problem starting Xorg

2018-10-04 Thread Filippo Moretti
 

   - Forwarded Message - From: Filippo Moretti 
To: Niclas Zeising Sent: 
Wednesday, October 3, 2018, 9:46:59 AM GMT+2Subject: Re: Problem starting Xorg
  My mobo is a asus M4A87TD I enclose the files requiredthank youFilippo

On Tuesday, October 2, 2018, 8:28:32 PM GMT+2, Niclas Zeising 
 wrote:  
 
 On 10/2/18 7:02 PM, Filippo Moretti wrote:
> I get the following error while attemptong to start xorg,that did work until 
> today,amd64 alpha3drmn0:error:no GEM object associated to handle 0x0400 
> can't  create framebufferany help appreciatedFilippo

Hi!
Can you provde your Xorg log, as well as information about the hardware 
you are using, and which ports you have installed, and the output of 
kldstat -v | grep drm.  Thank you!
Regards
-- 
Niclas
___
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"


rc.conf
Description: Binary data


dmesg
Description: Binary data


kldstat
Description: Binary data


pkgs
Description: Binary data
___
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"


Is there a standard way to check patch before submitting for review or upstreaming?

2018-10-04 Thread Rajesh Kumar
Hi,

Do we have any standard tools/process in FreeBSD to check/validate the
patch for basic issues before we submit them for review or upstreaming?
Basically, something like checkpatch.pl in Linux.

Thanks,
Rajesh.
___
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: Is there a standard way to check patch before submitting for review or upstreaming?

2018-10-04 Thread Hans Petter Selasky

On 10/4/18 1:08 PM, Rajesh Kumar wrote:

Hi,

Do we have any standard tools/process in FreeBSD to check/validate the
patch for basic issues before we submit them for review or upstreaming?
Basically, something like checkpatch.pl in Linux.

Thanks,
Rajesh.


Hi,

There is something in /usr/src/tools/tools/indent_wrapper .

--HPS

___
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"