12.0-RELEASE kernel hangs on Dell Precision 7920

2019-01-22 Thread Alexey Dokuchaev
Hi there, I've installed FreeBSD/amd64 12.0-RELEASE on this beefy Dell Precision 7920 Tower workstation, but it does not boot unless I disable "Memory Map IO above 4GB" option in BIOS (UEFI): the kernel hangs right after "ACPI APIC Table: " line. Interestingly, it also won't boot if I disable NUM

Re: FCP-0101: Deprecating most 10/100 Ethernet drivers

2018-10-24 Thread Alexey Dokuchaev
On Thu, Oct 04, 2018 at 11:38:46AM -0600, Warner Losh wrote: > ... > I'd also suggest that rl stands in stark contrast to the cs, wb, sn, smc, > sf, tl, tx and vr drivers, which nobody has mentioned in this thread, and > which I doubt are in use in any FreeBSD system of any age today. Warner, I ha

Re: FCP-0101: Deprecating most 10/100 Ethernet drivers

2018-10-04 Thread Alexey Dokuchaev
On Thu, Oct 04, 2018 at 08:43:33AM -0600, Warner Losh wrote: > As far as I know, none of the drivers listed could do 1Gbps. Right. My point was that original proposal put 10/100 drivers into one basket, which is IMHO not fair: 10Mbps cards are rarely seen and used, 100mbps are not, just like 1000

Re: FCP-0101: Deprecating most 10/100 Ethernet drivers

2018-10-04 Thread Alexey Dokuchaev
On Thu, Oct 04, 2018 at 02:26:44PM +, Mark Linimon wrote: > On Thu, Oct 04, 2018 at 08:44:11AM +0000, Alexey Dokuchaev wrote: > > OK I guess I can understand removing 10 (I personally haven't seen > > one in a very long time) but 100 are omnipresent and most of my NICs

Re: FCP-0101: Deprecating most 10/100 Ethernet drivers

2018-10-04 Thread Alexey Dokuchaev
On Wed, Oct 03, 2018 at 09:05:16PM +, Brooks Davis wrote: > FCP-01010 (https://github.com/freebsd/fcp/blob/master/fcp-0101.md) > outlines a plan to deprecate most 10/100 Ethernet drivers in FreeBSD 12 Holy shit! OK I guess I can understand removing 10 (I personally haven't seen one in a very

Re: Clock not ticking during S3

2013-10-01 Thread Alexey Dokuchaev
On Tue, Oct 01, 2013 at 01:12:38PM +0200, Dominic Fandrey wrote: > The system is sent to S3 at this point and woken 4 days later. > > This is how it comes up: > > 27 Sep 23:07:03 ntpd[3045]: no servers reachable > 27 Sep 23:19:54 ntpd[3045]: synchronized to 83.170.1.225, stratum 2 > 27 Sep 23:19:

Re: panic with if_iwi(4) upon "netif restart"

2013-09-29 Thread Alexey Dokuchaev
On Wed, Jul 04, 2012 at 06:51:56PM +0200, Bernhard Schmidt wrote: > On Tuesday 19 June 2012 07:28:11 Alexey Dokuchaev wrote: > > On Mon, May 07, 2012 at 08:28:50PM +0200, Bernhard Schmidt wrote: > > > does "ps" in kgdb reveal multiple instances of wpa_supplicant running

Re: fusefs-kmod does not work on 8-STABLE?

2013-04-16 Thread Alexey Dokuchaev
On Tue, Apr 16, 2013 at 01:21:32PM +0200, Dimitry Andric wrote: > On 2013-04-16 08:14, Alexey Dokuchaev wrote: > >>-u __start_set_sysinit_set -u __start_set_sysuninit_set \ > >>-u __start_set_sysctl_set -u __start_set_modmetadata_set \ > >>-u __stop_set_sysinit_s

Re: fusefs-kmod does not work on 8-STABLE?

2013-04-15 Thread Alexey Dokuchaev
On Mon, Apr 15, 2013 at 10:41:36PM -0400, Ryan Stone wrote: > On Fri, Apr 12, 2013 at 10:28 AM, Alexey Dokuchaev wrote: > > I've found the culprit: the problem is in this command of the build: > > > > ld -Bshareable -d -warn-common -o hello.ko.debug hello.kld > &

Re: fusefs-kmod does not work on 8-STABLE?

2013-04-12 Thread Alexey Dokuchaev
On Fri, Apr 12, 2013 at 07:12:39PM +0200, Dimitry Andric wrote: > > Does anyone have a clue why new ld(1) plays so badly with our system > > toolchain on 8.x (at least)? > > Maybe because there is almost 10 years difference between those > implementations? :-) > > In any case, to figure out what

Re: fusefs-kmod does not work on 8-STABLE?

2013-04-12 Thread Alexey Dokuchaev
On Fri, Apr 12, 2013 at 05:17:46PM +0700, Alexey Dokuchaev wrote: > On Wed, Apr 10, 2013 at 12:27:10PM +0700, Alexey Dokuchaev wrote: > > I've got puzzled with the fact that fusefs-kmod apparently does not on > > recent 8-STABLE: it builds and loads, but I don't see norm

Re: fusefs-kmod does not work on 8-STABLE?

2013-04-12 Thread Alexey Dokuchaev
On Wed, Apr 10, 2013 at 12:27:10PM +0700, Alexey Dokuchaev wrote: > I've got puzzled with the fact that fusefs-kmod apparently does not on > recent 8-STABLE: it builds and loads, but I don't see normal "fuse4bsd: > version 0.3.9-pre1, FUSE ABI 7.19" like I do on 9-ST

fusefs-kmod does not work on 8-STABLE?

2013-04-09 Thread Alexey Dokuchaev
Hey all, I've got puzzled with the fact that fusefs-kmod apparently does not on recent 8-STABLE: it builds and loads, but I don't see normal "fuse4bsd: version 0.3.9-pre1, FUSE ABI 7.19" like I do on 9-STABLE (installed on the same laptop with almost identical kernel config). The result is that /

Re: kgdb + uart

2012-12-14 Thread Alexey Dokuchaev
On Fri, Dec 14, 2012 at 01:22:12PM +0200, Andriy Gapon wrote: > Yeah, kgdb and target kernel must closely match each other. > I guess that the machine does not support amd64 mode? Which machine? :-) My laptop can do i386 only, as it has old Dothan CPU. Lenovo box (victim) is E5500, which I want

Re: kgdb + uart [Was: 9.1 memstick install panics on boot]

2012-12-14 Thread Alexey Dokuchaev
On Fri, Dec 14, 2012 at 12:40:23PM +0200, Andriy Gapon wrote: > uart(4): > 0x00080 use this port for remote kernel debugging Thanks, that did the magic. The problem, however, is that kgdb from i386 does not like amd64 kernel image, and I do not have any other amd64 box in the vicinity. Not sur

Re: panic in AcpiExSystemMemorySpaceHandler [Was: 9.1 memstick install panics on boot]

2012-12-14 Thread Alexey Dokuchaev
On Fri, Dec 14, 2012 at 11:48:10AM +0200, Andriy Gapon wrote: > Could you please obtain acpidump output using Ubuntu? Yup, I already did [1]. Here is the what's inside: all.bin dump of all tables dsdt.bin dump of DSDT (original) dsdt.dsl decompiled DSDT dsdt.aml reco

Re: 9.1 memstick install panics on boot

2012-12-14 Thread Alexey Dokuchaev
On Fri, Dec 14, 2012 at 11:50:06AM +0200, Andriy Gapon wrote: > It looks like you obtained the boot messages using some sort of a remote > console? Yes; luckily this box has serial port (real, on-board one). > If yes, you can try to use kgdb for a live remote debugging. I thought of it, but last

Re: 9.1 memstick install panics on boot

2012-12-14 Thread Alexey Dokuchaev
On Fri, Dec 14, 2012 at 10:40:56AM +0700, Alexey Dokuchaev wrote: > On Thu, Dec 13, 2012 at 10:23:49PM -0500, Glen Barber wrote: > > If the memstick panics, I am not sure how much good the kernel symbols > > will do for you. > > It's OK, as long as they are provided,

Re: 9.1 memstick install panics on boot

2012-12-13 Thread Alexey Dokuchaev
On Thu, Dec 13, 2012 at 10:23:49PM -0500, Glen Barber wrote: > On Thu, Dec 13, 2012 at 10:07:47PM -0500, Glen Barber wrote: > > They are included in the ISO. > > > > Meh... I did not pay attention to the subject too closely, it seems. > > If the memstick panics, I am not sure how much good the k

Re: 9.1 memstick install panics on boot

2012-12-13 Thread Alexey Dokuchaev
On Thu, Dec 13, 2012 at 05:36:35AM -0500, Glen Barber wrote: > > https://snapshots.glenbarber.us/Latest/ > > It is a few days behind though. I've tried 10.0 image from it; still getting (apparently the same) panic [1]. It seems that something is wrong with AML, but I cannot tell much without deb

Re: 9.1 memstick install panics on boot

2012-12-13 Thread Alexey Dokuchaev
On Thu, Dec 13, 2012 at 12:19:12PM +0200, Andriy Gapon wrote: > Just a general note that nowadays booting without ACPI especially on > laptops would not get you very far in 99% cases. > IMO, it's pointless to try. I know, I just wanted to isolate a problem. > Will you be able to try head on this

9.1 memstick install panics on boot

2012-12-12 Thread Alexey Dokuchaev
Hey folks, Was going to try 9.1/amd64 on this Lenovo box with E5500 I have here at $work. Unfortunately it panics immediately upon boot [1]. Seems it be ACPI-related, as disabling it allows the boot to proceed a little further but still panic [2]. Ubuntu 12.04 LTS booted and worked just fine on

Re: Resume broken in 8.3-PRERELEASE

2012-08-31 Thread Alexey Dokuchaev
On Tue, Aug 28, 2012 at 11:56:56AM +0300, Konstantin Belousov wrote: > On Tue, Aug 28, 2012 at 09:07:51AM +0700, Alexey Dokuchaev wrote: > > Before zzz'ing: > > > > db> show intrcnt > > irq1: atkbd0168 > > irq9: acpi0 8300

Re: Resume broken in 8.3-PRERELEASE

2012-08-27 Thread Alexey Dokuchaev
On Mon, Aug 27, 2012 at 05:34:54PM +0200, Hans Petter Selasky wrote: > If the USB HC is feeding too many such IRQ's it will be stuck. However, > if you see that "uhub_read_port_status()" is called, the kernel is at least > running, though it might be that some IRQ is stuck, hence the 100% CPU > usa

Re: Resume broken in 8.3-PRERELEASE

2012-08-27 Thread Alexey Dokuchaev
On Mon, Mar 05, 2012 at 07:10:22AM +0100, Hans Petter Selasky wrote: > On Monday 05 March 2012 05:17:59 Alexey Dokuchaev wrote: > > On Sat, Mar 03, 2012 at 09:11:29AM +0100, Hans Petter Selasky wrote: > > > On Friday 02 March 2012 20:25:32 Jung-uk Kim wrote: > > > &g

Re: panic with if_iwi(4) upon "netif restart"

2012-07-04 Thread Alexey Dokuchaev
On Mon, May 07, 2012 at 08:28:50PM +0200, Bernhard Schmidt wrote: > On Mon, May 7, 2012 at 5:54 AM, Alexey Dokuchaev wrote: > > Weird panic occurs to me here with iwi(4) based laptop when trying to hook > > up to WPA-protected network with "service netif restart". Kernel

Re: panic with if_iwi(4) upon "netif restart"

2012-05-08 Thread Alexey Dokuchaev
On Mon, May 07, 2012 at 08:28:50PM +0200, Bernhard Schmidt wrote: > does "ps" in kgdb reveal multiple instances of wpa_supplicant running? Yes, grepping /var/crash/core.txt.0 shows two wpa_supplicant processes, one in "-/Rs" state and another in "select/Ds". > If so, this seems to be the well kno

panic with if_iwi(4) upon "netif restart"

2012-05-06 Thread Alexey Dokuchaev
Folks, Weird panic occurs to me here with iwi(4) based laptop when trying to hook up to WPA-protected network with "service netif restart". Kernel and userland are not strictly in sync, with the latter lagging behind couple of months, but presumably this fact should not matter on stable branch.

Re: RELENG_8 kernel as of Apr 14 does not boot

2012-04-17 Thread Alexey Dokuchaev
On Tue, Apr 17, 2012 at 09:46:43PM +0700, Alexey Dokuchaev wrote: > I've just tried to zzz/resume several times in a row with latest 8.x > kernel with io/mem compiled in. Maybe I am speaking too fast, but guess > what: keyboard works now, network service are accessible, bluetooth

Re: RELENG_8 kernel as of Apr 14 does not boot

2012-04-17 Thread Alexey Dokuchaev
On Tue, Apr 17, 2012 at 08:40:37AM -0400, John Baldwin wrote: > Hmm, this has been broken for a long time on HEAD and 9 it seems. However, > there you get compile breakage (as acpi is no longer supported as a module > in 9+) if you try to build a kernel with 'nodevice mem'. Yes, I am aware. Unfo

Re: RELENG_8 kernel as of Apr 14 does not boot

2012-04-17 Thread Alexey Dokuchaev
On Tue, Apr 17, 2012 at 08:08:40PM +0700, Eugene Grosbein wrote: > I guess, Alexey just tries to make smallest possible kernel just for fun :-) You are correct. Not for the size reasons though, but I want to be able to change as much as possible on the fly, without a reboot, and I cannot "kldunlo

Re: RELENG_8 kernel as of Apr 14 does not boot

2012-04-16 Thread Alexey Dokuchaev
On Mon, Apr 16, 2012 at 01:37:29PM +0700, Eugene Grosbein wrote: > 16.04.2012 11:26, Alexey Dokuchaev пишет: > > Just update my 8.x kernel sources last weekend, and newly built kernel did > > not boot for me: > > > > link_elf: symbol mem_range_softc undefined >

RELENG_8 kernel as of Apr 14 does not boot

2012-04-15 Thread Alexey Dokuchaev
Hi, Just update my 8.x kernel sources last weekend, and newly built kernel did not boot for me: link_elf: symbol mem_range_softc undefined KLD file acpi.ko - could not finalize loading kernel trap 12 with interrupts disabled This is stripped down kernel with everything possible loaded from modul

Re: Resume broken in 8.3-PRERELEASE

2012-03-04 Thread Alexey Dokuchaev
On Sat, Mar 03, 2012 at 09:11:29AM +0100, Hans Petter Selasky wrote: > On Friday 02 March 2012 20:25:32 Jung-uk Kim wrote: > > Try the attached patch. At least, it fixed my problem. > > I've committed your patch with some minor modifications. > > http://svn.freebsd.org/changeset/base/232448 Unf

Re: Resume broken in 8.3-PRERELEASE

2012-03-02 Thread Alexey Dokuchaev
On Fri, Mar 02, 2012 at 04:14:08PM +0100, Hans Petter Selasky wrote: > On Friday 02 March 2012 09:57:03 Alexey Dokuchaev wrote: > > On Fri, Mar 02, 2012 at 08:48:13AM +0100, Hans Petter Selasky wrote: > > > If the reset doesn't work, then try to enable hw.usb.uhub.debug=15

Re: Resume broken in 8.3-PRERELEASE

2012-03-02 Thread Alexey Dokuchaev
On Fri, Mar 02, 2012 at 08:48:13AM +0100, Hans Petter Selasky wrote: > If the reset doesn't work, then try to enable hw.usb.uhub.debug=15 and see > what port change events are coming. I don't see such oid hw.usb.uhub.debug. Perhaps it should be hw.usb.debug? > If cfg=255 in usbconfig, then somet

Re: Resume broken in 8.3-PRERELEASE

2012-03-02 Thread Alexey Dokuchaev
On Thu, Mar 01, 2012 at 04:55:03PM -0500, Jung-uk Kim wrote: > On Thursday 01 March 2012 01:53 pm, Hans Petter Selasky wrote: > > What is output from usbconfig as root, before and after > > suspend/resume ? Before suspend (just after reboot, this output is identical to pre/post SVN r229370): ugen

Re: Resume broken in 8.3-PRERELEASE

2012-03-01 Thread Alexey Dokuchaev
On Mon, Feb 27, 2012 at 10:22:38PM +0700, Alexey Dokuchaev wrote: > On Mon, Feb 27, 2012 at 09:28:15PM +0700, Alexey Dokuchaev wrote: > > I was mistaken, the latest kernel with working resume is from Jan 4 00:00 > > UTC, kernel from Jan 4 01:00 UTC does not allow my laptop to com

Re: Resume broken in 8.3-PRERELEASE

2012-02-27 Thread Alexey Dokuchaev
On Mon, Feb 27, 2012 at 12:46:07PM -0500, Jung-uk Kim wrote: > Can you please try head and/or stable/9? FYI, Linux people found that > some BIOSes can corrupt low 64KB between suspend/resume, which may > cause strangeness like this. I worked around it in head (r231781) > and stable/9 (r232088)

Re: Resume broken in 8.3-PRERELEASE

2012-02-27 Thread Alexey Dokuchaev
On Mon, Feb 27, 2012 at 10:47:49AM -0500, Rick Macklem wrote: > Yes, I can't think of how r229450 would affect "resume". All it does is > clear the high order bit in an error reply from an NFS server, since that > bit should never be set in an NFS error reply and, if set, it results in > an mbuf li

Re: Resume broken in 8.3-PRERELEASE

2012-02-27 Thread Alexey Dokuchaev
On Mon, Feb 27, 2012 at 09:28:15PM +0700, Alexey Dokuchaev wrote: > I was mistaken, the latest kernel with working resume is from Jan 4 00:00 > UTC, kernel from Jan 4 01:00 UTC does not allow my laptop to come back from > zzz(8) successfully. It seems that offending change is rev. 1

Re: Resume broken in 8.3-PRERELEASE

2012-02-27 Thread Alexey Dokuchaev
On Thu, Feb 23, 2012 at 09:57:14AM +0700, Alexey Dokuchaev wrote: > Yesterday I've updated my laptop to the latest RELENG_8, it booted just > fine, however, after coming out of suspend, keyboard does not work (well, > almost: I can switch between consoles, Caps Lock works, but

Resume broken in 8.3-PRERELEASE

2012-02-22 Thread Alexey Dokuchaev
Hi, Yesterday I've updated my laptop to the latest RELENG_8, it booted just fine, however, after coming out of suspend, keyboard does not work (well, almost: I can switch between consoles, Caps Lock works, but I cannot type anything, login, etc., break into debugger with Ctrl-Alt-Esc). Network do

Re: kernel build broken on releng_6 due to camellia?

2007-12-10 Thread Alexey Dokuchaev
On Mon, Dec 10, 2007 at 12:02:14PM +, Alexey Dokuchaev wrote: > hi there, > > my usual kernel config did not work with fresh releng_6: sorry, false alarm. my supfile was bogus. ./danfe ___ freebsd-stable@freebsd.org mailing

kernel build broken on releng_6 due to camellia?

2007-12-10 Thread Alexey Dokuchaev
hi there, my usual kernel config did not work with fresh releng_6: ===> crypto (depend) @ -> /usr/src/sys machine -> /usr/src/sys/i386/include ln -s /usr/obj/usr/src/sys/VERSA/opt_param.h opt_param.h make: don't know how to make camellia.c. Stop *** Error code 2 Stop in /usr/src/sys/modules. ***

Space missing in /usr/src/contrib/tcsh/nls/russian/set22

2002-01-14 Thread Alexey Dokuchaev
Hi! It seems that the following patch should be applied: === cut here === --- /usr/src/contrib/tcsh/nls/russian/set22.orig Tue Jan 15 04:46:19 2002 +++ /usr/src/contrib/tcsh/nls/russian/set22 Tue Jan 15 04:46:37 2002 @@ -1,7 +1,7 @@ $ $Id: set22,v 1.1 2001/03/18 19:06:39 christos Exp $ $ tc

Strange libraries troubles

2001-04-19 Thread Alexey Dokuchaev
Hello! I've been preparing some FreeBSD boxes for the new project going on, and when I already created all needed images, and cloned my second box, I encountered this problem: $ man whatever it yields /usr/libexec/ld-elf.so.1: Cannot open "/usr/lib/libz.so.2" Which is very strange :-( When I

Just curious on log rotating

2001-02-28 Thread Alexey Dokuchaev
Hello! Most logs are rotated via newsyslog (configured in /etc/newsyslog.conf), while accounting logs are rotated by /etc/periodic/daily/310...smthing. Why not to just rotate them all by newsyslog, so sysadmin would not need to mess with dozen files when tuning his box for log roration. Just wo

make -j

2000-12-18 Thread Alexey Dokuchaev
is optimal n? 3. Is there any way to specify the actual make (not gcc) options in make.conf, so I don't issue `make -j n' all the time, but simply type in `make target' and all my options would come in play? Thanks a lot! -- Regards, Alexey Dokuchaev