Re: amd64 -current panics
Panics the same way, unfortunately. I was thinking of bisecting between 17th and 27th of November; the src tree gets screwed after this panic (I guess bad spot into the cvs update), so I have to recover from scratch. Chavdar Ivanov On Sat, 3 Dec 2016 at 12:01 Michael van Elstwrote: > ci4...@gmail.com (Chavdar Ivanov) writes: > > >#6 0x801529b9 in scsipi_done () > >#7 0x8043d5fe in mpt_drain_queue () > >#8 0x8043dccd in mpt_intr () > > >sd1: busy < 0 > >panic: iostat_unbusy > > Every I/O request increments a busy counter when issued to the controller > and decrements the busy counter when completed. > > Somehow the counter went negative, probably because the code now > runs outside of the big kernel lock. > > Can you try the following patch to see wether it stops the panic? > > --- sd.c.ORIG 2016-12-03 13:02:24.0 +0100 > +++ sd.c.NEW2016-12-03 13:03:02.0 +0100 > @@ -966,8 +966,10 @@ > bp->b_resid = bp->b_bcount; > } > > + KERNEL_LOCK(1, NULL); > disk_unbusy(>sc_dk, bp->b_bcount - bp->b_resid, > (bp->b_flags & B_READ)); > + KERNEL_UNLOCK_ONE(NULL); > rnd_add_uint32(>rnd_source, bp->b_rawblkno); > > biodone(bp); > > -- > -- > Michael van Elst > Internet: mlel...@serpens.de > "A potential Snark may lurk in every tree." >
daily CVS update output
Updating src tree: P src/distrib/sets/lists/xdebug/md.sparc64 P src/doc/CHANGES P src/external/gpl3/binutils/lib/libbfd/arch/sh3eb/bfd.h P src/external/gpl3/binutils/lib/libbfd/arch/sh3eb/bfdver.h P src/external/gpl3/binutils/lib/libbfd/arch/sh3eb/config.h P src/external/gpl3/binutils/lib/libbfd/arch/sh3el/bfd.h P src/external/gpl3/binutils/lib/libbfd/arch/sh3el/bfdver.h P src/external/gpl3/binutils/lib/libbfd/arch/sh3el/config.h P src/external/gpl3/binutils/lib/libopcodes/arch/sh3eb/config.h P src/external/gpl3/binutils/lib/libopcodes/arch/sh3el/config.h P src/external/gpl3/binutils/usr.bin/common/arch/sh3eb/config.h P src/external/gpl3/binutils/usr.bin/common/arch/sh3eb/defs.mk P src/external/gpl3/binutils/usr.bin/common/arch/sh3el/config.h P src/external/gpl3/binutils/usr.bin/common/arch/sh3el/defs.mk P src/external/gpl3/binutils/usr.bin/gas/arch/sh3eb/config.h P src/external/gpl3/binutils/usr.bin/gas/arch/sh3el/config.h P src/external/gpl3/binutils/usr.bin/gprof/arch/sh3eb/gconfig.h P src/external/gpl3/binutils/usr.bin/gprof/arch/sh3el/gconfig.h P src/external/gpl3/binutils/usr.bin/ld/arch/sh3eb/config.h P src/external/gpl3/binutils/usr.bin/ld/arch/sh3el/config.h P src/share/man/man4/axe.4 P src/sys/arch/i386/stand/lib/biosmem.S P src/sys/arch/i386/stand/lib/biosmemps2.S P src/sys/arch/i386/stand/lib/biosmemx.S P src/sys/arch/i386/stand/lib/exec.c P src/sys/arch/i386/stand/lib/multiboot.S P src/sys/arch/i386/stand/lib/startprog.S P src/sys/dev/usb/emdtv.c P src/sys/dev/usb/if_athn_usb.c P src/sys/dev/usb/if_aue.c P src/sys/dev/usb/if_axe.c P src/sys/dev/usb/if_axereg.h P src/sys/dev/usb/if_urndisreg.h P src/sys/dev/usb/if_urtw.c P src/sys/dev/usb/if_urtwn.c P src/sys/dev/usb/ohci.c P src/sys/dev/usb/uberry.c P src/sys/dev/usb/ubsa.c P src/sys/dev/usb/ucom.c P src/sys/dev/usb/udl.c P src/sys/dev/usb/udsbr.c P src/sys/dev/usb/uhci.c P src/sys/dev/usb/uhidev.c P src/sys/dev/usb/uipad.c P src/sys/dev/usb/uirdavar.h P src/sys/dev/usb/uplcom.c P src/sys/dev/usb/urio.c P src/sys/dev/usb/usb_quirks.c P src/sys/dev/usb/usb_subr.c P src/sys/dev/usb/usbdi.c P src/sys/dev/usb/uscanner.c P src/sys/dev/usb/usscanner.c P src/sys/external/bsd/dwc2/dwc2.c P src/sys/kern/kern_sig.c P src/tests/kernel/t_ptrace_wait.c P src/tests/kernel/arch/amd64/t_ptrace_wait.c Updating xsrc tree: P xsrc/external/mit/xf86-video-glint/dist/src/pm2_accel.c Killing core files: Running the SUP scanner: SUP Scan for current starting at Mon Dec 5 03:01:37 2016 SUP Scan for current completed at Mon Dec 5 03:01:54 2016 SUP Scan for mirror starting at Mon Dec 5 03:01:54 2016 SUP Scan for mirror completed at Mon Dec 5 03:04:09 2016 Updating release-6 src tree (netbsd-6): Updating release-6 xsrc tree (netbsd-6): Running the SUP scanner: SUP Scan for release-6 starting at Mon Dec 5 03:06:27 2016 SUP Scan for release-6 completed at Mon Dec 5 03:06:35 2016 Updating release-7 src tree (netbsd-7): U doc/CHANGES-7.1 P sbin/scsictl/scsictl.8 P sbin/scsictl/scsictl.c P sys/arch/mips/include/vmparam.h P sys/dev/scsipi/scsi_disk.h P sys/external/bsd/drm2/drm/drm_vma_manager.c P sys/net/if_vlan.c P sys/uvm/pmap/pmap_segtab.c Updating release-7 xsrc tree (netbsd-7): Running the SUP scanner: SUP Scan for release-7 starting at Mon Dec 5 03:08:53 2016 SUP Scan for release-7 completed at Mon Dec 5 03:08:59 2016 Updating file list: -rw-rw-r-- 1 srcmastr netbsd 50003096 Dec 5 03:10 ls-lRA.gz
Automated report: NetBSD-current/i386 build success
The NetBSD-current/i386 build is working again. The following commits were made between the last failed build and the successful build: 2016.12.04.11.31.55 skrll src/share/man/man4/axe.4,v 1.9 2016.12.04.11.40.01 maya src/doc/CHANGES,v 1.2215 2016.12.04.11.47.29 skrll src/sys/dev/usb/if_axe.c,v 1.78 Log files can be found at: http://releng.NetBSD.org/b5reports/i386/commits-2016.12.html#2016.12.04.11.47.29
Automated report: NetBSD-current/i386 build failure
This is an automatically generated notice of a NetBSD-current/i386 build failure. The failure occurred on babylon5.netbsd.org, a NetBSD/amd64 host, using sources from CVS date 2016.12.04.10.12.35. An extract from the build.sh output follows: --- dependall --- --- dependall-usr.bin --- /tmp/bracket/build/2016.12.04.10.12.35-i386/tools/bin/nbctfconvert -g -L VERSION utmpentry.o --- term_chk.o --- # compile write/term_chk.o /tmp/bracket/build/2016.12.04.10.12.35-i386/tools/bin/i486--netbsdelf-gcc -O2 -fPIE-std=gnu99-Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare -Wno-traditional -Wa,--fatal-warnings -Wreturn-type -Wswitch -Wshadow -Wcast-qual -Wwrite-strings -Wextra -Wno-unused-parameter -Wno-sign-compare -Wold-style-definition -Wsign-compare -Wformat=2 -Wno-format-zero-length -Werror --sysroot=/tmp/bracket/build/2016.12.04.10.12.35-i386/destdir -I/tmp/bracket/build/2016.12.04.10.12.35-i386/src/usr.bin/who -DSUPPORT_UTMPX -DSUPPORT_UTMP -c /tmp/bracket/build/2016.12.04.10.12.35-i386/src/usr.bin/write/term_chk.c --- dependall-sys --- --- dependall-if_agr --- --- ieee8023_tlv.o --- # compile if_agr/ieee8023_tlv.o /tmp/bracket/build/2016.12.04.10.12.35-i386/tools/bin/i486--netbsdelf-gcc -O2 -g -std=gnu99-Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare -Wno-traditional -Wa,--fatal-warnings -Wreturn-type -Wswitch -Wshadow -Wcast-qual -Wwrite-strings -Wextra -Wno-unused-parameter -Wno-sign-compare -Werror -ffreestanding -fno-strict-aliasing -Wno-pointer-sign -msoft-float -mno-mmx -mno-sse -mno-avx -fno-omit-frame-pointer -msoft-float -mno-mmx -mno-sse -mno-avx -fno-omit-frame-pointer -I/tmp/bracket/build/2016.12.04.10.12.35-i386/src/common/include --sysroot=/tmp/bracket/build/2016.12.04.10.12.35-i386/destdir -DINET -I/tmp/bracket/build/2016.12.04.10.12.35-i386/src/common/include -nostdinc -I. -I/tmp/bracket/build/2016.12.04.10.12.35-i386/src/sys/modules/if_agr -isystem /tmp/bracket/build/2016.12.04.10.12.35-i386/src/sys -isystem /tmp/bracket/build/2016.12.04.10.12.35-i386/src/sys/arch -isystem /tmp/bracket/build/2016.12.04.10.12.35-i386/src/sys/../ common/include -D_KERNEL -D_LKM -D_MODULE -DSYSCTL_INCLUDE_DESCR -c /tmp/bracket/build/2016.12.04.10.12.35-i386/src/sys/net/agr/ieee8023_tlv.c --- dependall-usr.sbin --- --- .gdbinit --- rm -f .gdbinit echo "set solib-absolute-prefix /tmp/bracket/build/2016.12.04.10.12.35-i386/destdir" > .gdbinit --- zic.html8 --- #format zic/zic.html8 if test "" != "yes"; then /tmp/bracket/build/2016.12.04.10.12.35-i386/tools/bin/nbmandoc -Thtml -Oman=../html%S/%N.html -Ostyle=../style.css /tmp/bracket/build/2016.12.04.10.12.35-i386/src/lib/libc/time/zic.8 > zic.html8.tmp && mv zic.html8.tmp zic.html8; else PATH=/tmp/bracket/build/2016.12.04.10.12.35-i386/tools/lib/groff:${PATH} /tmp/bracket/build/2016.12.04.10.12.35-i386/tools/bin/nbgroff -Tlatin1 -mdoc2html /tmp/bracket/build/2016.12.04.10.12.35-i386/src/lib/libc/time/zic.8 > zic.html8.tmp && mv zic.html8.tmp zic.html8; fi --- dependall-sys --- --- dependall-if_axe --- *** [if_axe.o] Error code 1 nbmake[8]: stopped in /tmp/bracket/build/2016.12.04.10.12.35-i386/src/sys/modules/if_axe 1 error The following commits were made between the last successful build and the failed build: 2016.12.04.10.07.06 skrll src/sys/dev/usb/if_axe.c,v 1.76 2016.12.04.10.07.06 skrll src/sys/dev/usb/if_axereg.h,v 1.19 2016.12.04.10.08.26 skrll src/sys/dev/usb/if_axe.c,v 1.77 2016.12.04.10.12.35 skrll src/sys/dev/usb/emdtv.c,v 1.12 2016.12.04.10.12.35 skrll src/sys/dev/usb/if_athn_usb.c,v 1.14 2016.12.04.10.12.35 skrll src/sys/dev/usb/if_aue.c,v 1.139 2016.12.04.10.12.35 skrll src/sys/dev/usb/if_urndisreg.h,v 1.3 2016.12.04.10.12.35 skrll src/sys/dev/usb/if_urtw.c,v 1.13 2016.12.04.10.12.35 skrll src/sys/dev/usb/if_urtwn.c,v 1.52 2016.12.04.10.12.35 skrll src/sys/dev/usb/ohci.c,v 1.265 2016.12.04.10.12.35 skrll src/sys/dev/usb/uberry.c,v 1.12 2016.12.04.10.12.35 skrll src/sys/dev/usb/ubsa.c,v 1.34 2016.12.04.10.12.35 skrll src/sys/dev/usb/ucom.c,v 1.117 2016.12.04.10.12.35 skrll src/sys/dev/usb/udl.c,v 1.19 2016.12.04.10.12.35 skrll src/sys/dev/usb/udsbr.c,v 1.26 2016.12.04.10.12.35 skrll src/sys/dev/usb/uhci.c,v 1.274 2016.12.04.10.12.35 skrll src/sys/dev/usb/uhidev.c,v 1.69 2016.12.04.10.12.35 skrll src/sys/dev/usb/uipad.c,v 1.4 2016.12.04.10.12.35 skrll src/sys/dev/usb/uirdavar.h,v 1.7 2016.12.04.10.12.35 skrll src/sys/dev/usb/uplcom.c,v 1.80 2016.12.04.10.12.35 skrll src/sys/dev/usb/urio.c,v 1.46 2016.12.04.10.12.35 skrll src/sys/dev/usb/usb_quirks.c,v 1.86 2016.12.04.10.12.35 skrll src/sys/dev/usb/usb_subr.c,v 1.217 2016.12.04.10.12.35 skrll src/sys/dev/usb/usbdi.c,v 1.172 2016.12.04.10.12.35 skrll
Reboot on resume from suspend
Hello, after suspend from console (X not running) the laptop boots when pressing the power button in sleep state. (I did not test with X.) How can this be debugged or is it already clear from dmesg that resume from suspend is not supported for this laptop? Carsten 13) ACPI: LPIT 0xC8FE4E38 5C (v01 DELL CBX3 AMI. 0005) ACPI: SSDT 0xC8FE4E98 000228 (v01 INTEL sensrhub INTL 20120711) ACPI: SSDT 0xC8FE50C0 000160 (v01 Intel zpodd1000 INTL 20120711) ACPI: SSDT 0xC8FE5220 00051F (v01 PmRef Cpu0Ist 3000 INTL 20120711) ACPI: SSDT 0xC8FE5740 000AD8 (v01 PmRef CpuPm3000 INTL 20120711) ACPI: HPET 0xC8FE6218 38 (v01 DELL CBX3 01072009 AMI. 0005) ACPI: SSDT 0xC8FE6250 0003D2 (v01 SataRe SataTabl 1000 INTL 20120711) ACPI: MCFG 0xC8FE6628 3C (v01 DELL CBX3 01072009 MSFT 0097) ACPI: SSDT 0xC8FE6668 001044 (v01 SgRef SgPeg1000 INTL 20120711) ACPI: ASF! 0xC8FE76B0 A5 (v32 INTEL HCG 0001 TFSM 000F4240) ACPI: SSDT 0xC8FE7758 000589 (v01 AMITCG PROC 0001 INTL 20120711) ACPI: DMAR 0xC8FE7CE8 B0 (v01 INTEL HSW 0001 INTL 0001) ACPI: SSDT 0xC8FE7D98 00109B (v01 AmdRef AmdTabl 1000 INTL 20120711) ACPI: TCPA 0xC8FE8E38 32 (v02 APTIO4 NAPAASF 0001 MSFT 0113) ACPI: Executed 1 blocks of module-level executable AML code ACPI: Executed 1 blocks of module-level executable AML code ACPI: 9 ACPI AML tables successfully acquired and loaded ioapic0 at mainbus0 apid 8: pa 0xfec0, version 0x20, 24 pins cpu0 at mainbus0 apid 0 cpu0: Intel(R) Core(TM) i5-4300M CPU @ 2.60GHz, id 0x306c3 cpu1 at mainbus0 apid 2 cpu1: Intel(R) Core(TM) i5-4300M CPU @ 2.60GHz, id 0x306c3 cpu2 at mainbus0 apid 1 cpu2: Intel(R) Core(TM) i5-4300M CPU @ 2.60GHz, id 0x306c3 cpu3 at mainbus0 apid 3 cpu3: Intel(R) Core(TM) i5-4300M CPU @ 2.60GHz, id 0x306c3 acpi0 at mainbus0: Intel ACPICA 20160930 acpi0: X/RSDT: OemId , AslId acpi0: MCFG: segment 0, bus 0-63, address 0xf800 ACPI: Dynamic OEM Table Load: ACPI: SSDT 0xFE822CC35810 0003D3 (v01 PmRef Cpu0Cst 3001 INTL 20120711) ACPI: Dynamic OEM Table Load: ACPI: SSDT 0xFE810E7E3810 0005AA (v01 PmRef ApIst3000 INTL 20120711) ACPI: Dynamic OEM Table Load: ACPI: SSDT 0xFE810E72FA50 000119 (v01 PmRef ApCst3000 INTL 20120711) acpi0: SCI interrupting at int 9 timecounter: Timecounter "ACPI-Fast" frequency 3579545 Hz quality 1000 hpet0 at acpi0: high precision event timer (mem 0xfed0-0xfed00400) timecounter: Timecounter "hpet0" frequency 14318180 Hz quality 2000 acpiec0 at acpi0 (ECDV, PNP0C09-0) : io 0x930,0x934 FWHD (INT0800) at acpi0 not configured LDRC (PNP0C02) at acpi0 not configured attimer1 at acpi0 (TIMR, PNP0100): io 0x40-0x43,0x50-0x53 irq 0 CWDT (INT3F0D) at acpi0 not configured RMSC (PNP0C02) at acpi0 not configured pckbc1 at acpi0 (PS2K, DLLK05BE) (kbd port): io 0x60,0x64 irq 1 pckbc2 at acpi0 (PS2M, DLL05BE) (aux port): irq 12 ACD0 (INT33CA) at acpi0 not configured DFUD (INT33D7) at acpi0 not configured acpivga0 at acpi0 (PEGP): ACPI Display Adapter acpivga0: connected output devices: acpivga0: 0x0100: Ext. Monitor, head 0 acpivga0: 0x0400: Unknown Output Device, head 0 acpivga0: 0x0302: Unknown Output Device, head 0 acpivga0: 0x0303: Unknown Output Device, head 0 acpivga0: 0x0300: Unknown Output Device, head 0 acpivga0: 0x0301: Unknown Output Device, head 0 acpivga0: 0x0304: Unknown Output Device, head 0 acpivga0: 0x0305: Unknown Output Device, head 0 acpivga1 at acpi0 (GFX0): ACPI Display Adapter acpiout0 at acpivga1 (CRT, 0x0100): ACPI Display Output Device acpiout1 at acpivga1 (LCD, 0x0400): ACPI Display Output Device acpiout1: brightness levels: [5-100] acpiout2 at acpivga1 (DVI, 0x0302): ACPI Display Output Device acpiout3 at acpivga1 (DVI2, 0x0303): ACPI Display Output Device acpiout4 at acpivga1 (DVI3, 0x0304): ACPI Display Output Device acpiout5 at acpivga1 (DP, 0x0300): ACPI Display Output Device acpiout6 at acpivga1 (DP2, 0x0301): ACPI Display Output Device acpiout7 at acpivga1 (DP3, 0x0305): ACPI Display Output Device acpivga1: connected output devices: acpivga1: 0x0100 (acpiout0): Ext. Monitor, head 0 acpivga1: 0x0400 (acpiout1): Unknown Output Device, head 0 acpivga1: 0x0302 (acpiout2): Unknown Output Device, head 0 acpivga1: 0x0303 (acpiout3): Unknown Output Device, head 0 acpivga1: 0x0300 (acpiout5): Unknown Output Device, head 0 acpivga1: 0x0301 (acpiout6): Unknown Output Device, head 0 acpivga1: 0x0304 (acpiout4): Unknown Output Device, head 0 acpivga1: 0x0305 (acpiout7): Unknown Output Device, head 0 PDRC (PNP0C02) at acpi0 not configured A_CC (SMO8810) at acpi0 not configured acpiwmi0 at acpi0 (AMW0, PNP0C14-0): ACPI WMI Interface wmidell0 at acpiwmi0: Dell WMI mappings acpilid0 at acpi0 (LID0, PNP0C0D): ACPI Lid Switch