Re: ktrace on NFSroot failing?

2022-03-28 Thread Rick Macklem
John Baldwin  wrote:
> On 3/10/22 8:14 AM, Mateusz Guzik wrote:
>> On 3/10/22, Bjoern A. Zeeb  wrote:
>>> Hi,
>>>
>>> I am having a weird issue with ktrace on an nfsroot machine:
>>>
>>> root:/tmp # ktrace sleep 1
>>> root:/tmp # kdump
>>> -559038242  Events dropped.
>>> kdump: bogus length 0xdeadc0de
>>>
>>> Anyone seen something like this before?
>>>
>>
>> I just did a quick check and it definitely fails on nfs mounts:
>> # ktrace pwd
>> /root/mjg
>> # kdump
>> -559038242  Events dropped.
>> kdump: bogus length 0xdeadc0de
>>
>> I don't have time to look into it this week though.
I have committed the patch (that was attached to a previous email)
to main, since bz@ confirmed via email that it fixed the ktrace problem
for him.

>Possibly related: core dumps are no longer working for me on NFS
>mounts.  I get a 0 byte foo.core instead of a valid core dump.
If core dumps still fail for a main with the patch, please let us know,
so we can investigate further.

Thanks and sorry for the breakage, rick

--
John Baldwin



Re: Deprecating ISA sound cards

2022-03-28 Thread Ed Maste
On Sat, 19 Mar 2022 at 15:30, Eirik Øverby  wrote:
>
> I won't be arguing hard
> for keeping these drivers (seeing as I'm clearly the oddball for having
> FreeBSD running on hardware which has 1) ISA bus and 2) ISA sound
> cards..)

On Sat, 19 Mar 2022 at 17:24, Chris  wrote:
>
> I have a board running freebsd that has 2 GUS cards in it running
> simultaneously. Sniff... cést la vié

These drivers will (eventually) need to be updated for Giant locking /
spl* leftovers, or be removed. I assumed that these were all
museum-class hardware and nobody would use them with contemporary
FreeBSD; NYC*BUG dmesgd[1] seemed to concur.

That said, I don't think they have a significant maintenance burden in
the near term. Any of these drivers that will actually be used with
FreeBSD 14 could have their retirement postponed. If this is desired,
please identify the specific driver(s), follow up here with a
confirmation that they work with 12.3/13.0/CURRENT, and ideally send a
dmesg to dmesgd. As far as I can tell there are no GUS cards listed in
dmesgd at all.

(I also had an original GF1 Ultrasound with 1MB on board although I
think it sadly went to e-waste. I never used it with FreeBSD, and it
seems the snd_gusc driver only supports UltraSound MAX and newer
anyhow.)

[1] https://dmesgd.nycbug.org/index.cgi



Re: loading amfgpu results in immefiate power off on 12.3-STABLE r371721

2022-03-28 Thread Emmanuel Vadot
On Sun, 27 Mar 2022 12:33:34 -0600
Warner Losh  wrote:

> On Sun, Mar 27, 2022 at 11:09 AM Pete Wright  wrote:
> 
> >
> >
> > On 3/25/22 21:42, Chris wrote:
> > > This probably isn't the correct list. But it's the closest of
> > > all the lists I'm subscribed to. Please forgive me.
> > > OK so here's what happened. I couldn't get the trackpad on a
> > > Dell laptop I just got to work in FreeBSD-13. So after a couple
> > > of days, I gave up and tried 12.3-STABLE r371721 today. Once I got
> > > the network (wifi) going. I pkg installed drm-kmod && it's depends.
> > > Added kld_list="amdgpu" to rc.conf && rebooted. The moment it
> > > loaded, the screen went black and it powered off. Booted to
> > > single-user, fsck && cp /var/log/messages to ~/ .
> > > I'm attaching a copy in case it sheds any light on the cause.
> > > The most interesting thing about all this, is that amdgpu
> > > worked flawlessly on 13 -- go figure.
> > >
> >
> > this discussion is probably best suited for the freebsd-x11 mailing
> > list, but i think you can try a couple things:
> >
> > - give NomadBSD a spin (https://nomadbsd.org/).  it's a live USB image
> > that does a really good job at auto-detecting hardware and giving you
> > nice desktop.  it's based on freebsd-13.0.  you can also install it on
> > your disk if everything looks good.  i frequently use it to test
> > hardware support on new systems i encounter.
> >
> > - it's hard to tell without any hardware info provided, but its possible
> > you have an older AMD gpu, as such you might want to try using radeonkms
> > in rc.conf rather than amdgpu.
> >
> > if neither of those things help i'd definitely suggest subscribing to
> > the freebsd-x11@ mailing list to get the appropriate eyes on things:
> > https://lists.freebsd.org/subscription/freebsd-x11
> >
> 
> I'd like to share with people that I'm working on a statement of what works
> and what the graphics team will spend a lot of effort on vs continue to have
> build support in the tree.
> 
> The short version is that the latest stable branch, the latest current and
> the
> last most-recent release will be the ones best supported. Anything older
> than that (prior stable branches, even those supported by the rest of the
> project) may work great, but may also be broken or perform less well or
> support fewer newer graphics cards. In addition, cards older than about
> a decade may stop working on an upgrade because upstream's attention
> to these isn't so great or the driver is a binary driver that the upstream
> vendor
> has not upgraded to support its older cards with newer interfaces, etc.
> Short of doubling or tripling the graphics team size (volunteers welcome),
> it's too
> hard to commit to more than this limited subset of support. Even with a
> larger
> active developer group, expanding beyond this envelope would be hard given
> the size of the testing matrix...

 I do confirm the above.
 I'll also say that currently the graphics team is just me and wulf@
(and sometimes small contribution from others), we can't do everything.

> Also, I don't think we've ever supported unloading the drm drivers, so it's
> not
> too surprising that didn't work.

 It used to work for i915kms, it never worked for amdgpu.
 I'm (well $WORK) is interested in unloading mostly for GPU-passthough.
That will allow one user to boot FreeBSD, use the graphics, unload the
module and start a Windows VM or whatever, use the graphics in it and
after shutting down the VM one could use again the GPU on FreeBSD.
 It's a bit low on my todo list though.

> Also, I know the older hardware thing is hard to swallow. I get that people
> want
> that stuff to work forever because it performs adequately. However, we are
> heavily
> dependent on leveraging the work of others to support what we can, so when
> the
> work we depend on starts to bitrot, our support for that hardware suffers
> as well...
> 
> Warner
> 
> 
> > -pete
> >
> > --
> > Pete Wright
> > p...@nomadlogic.org
> > @nomadlogicLA
> >
> >
> >


-- 
Emmanuel Vadot  



Re: DHCPDv6 in non-vnet jail

2022-03-28 Thread Goran Mekić
On Sun, Mar 27, 2022 at 02:34:11PM +, Bjoern A. Zeeb wrote:
> I assume you have /dev/bpf available inside that jail by a devfs rule so
> effectively you have all network interfaces and traffic available?
You assume right, as I needed it for IPv4 DHCPD.

> You could send the error isc-dhcpd6 gives you?
> 
> /bz

Up until now I didn't see it (I probably missed it before) but I have
this:
unable to create icmp socket: Operation not permitted

I changed jail settings to allow raw_sockets but I still see no log on the 
daemon side and same "Sending Solicit" on client side (dhcp6c -d -f). Daemon 
side is non-vnet jail, client side is vnet jail. Same two jails have successfull
IPv4 DHCP working. 

I have rtadvd working on host and the same vnet jail picks it up via
rtsold, so I'm just guessing the client side is working.

Regards,
meka


signature.asc
Description: PGP signature