Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Another persistent adm64 panic



Could you revert kern_exec.c and bisect?

Masao

On Thu, Apr 17, 2014 at 8:16 PM, Chavdar Ivanov <ci4ic4%gmail.com@localhost> 
wrote:
> Hi,
>
> Unmodified GENERIC as of 07/04/2014 (6.99.40) works fine, dmesg follows:
>
> Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
>     2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014
>     The NetBSD Foundation, Inc.  All rights reserved.
> Copyright (c) 1982, 1986, 1989, 1991, 1993
>     The Regents of the University of California.  All rights reserved.
>
> NetBSD 6.99.40 (GENERIC) #0: Tue Apr  8 13:10:32 BST 2014
> sysbuild@support6.delcam.local:/home/sysbuild/Sysbuild/amd64/obj/home/sysbuild/src/sys/arch/amd64/compile/GENERIC
> total memory = 3071 MB
> avail memory = 2965 MB
> timecounter: Timecounters tick every 10.000 msec
> timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
> AMD Rhapsody (Rev 4)
> mainbus0 (root)
> ACPI: RSDP 0xf6fc0 000024 (v02 PTLTD )
> ACPI: XSDT 0xbff7b450 00003C (v01 PTLTD   XSDT   06040000  LTP 00000000)
> ACPI: FACP 0xbff7ee46 0000F4 (v03 AMD    HAMMER   06040000 PTEC 000F4240)
> ACPI: DSDT 0xbff7b48c 003946 (v01 AMD-K8  AMDACPI 06040000 MSFT 0100000E)
> ACPI: FACS 0xbff7ffc0 000040
> ACPI: APIC 0xbff7ef3a 000076 (v01 PTLTD   APIC   06040000  LTP 00000000)
> ACPI: SPCR 0xbff7efb0 000050 (v01 PTLTD  $UCRTBL$ 06040000 PTL  00000001)
> ACPI: All ACPI Tables successfully acquired
> cpu0 at mainbus0 apid 0: AMD Opteron(tm) Processor 246, id 0xf5a
> cpu0: erratum 86 present
> cpu0: erratum 104 present
> cpu0: erratum 101 present
> cpu0: WARNING: errata present, BIOS upgrade may be
> cpu0: WARNING: necessary to ensure reliable operation
> cpu1 at mainbus0 apid 1: AMD Opteron(tm) Processor 246, id 0xf5a
> ioapic0 at mainbus0 apid 2: pa 0xfec00000, version 0x11, 24 pins
> ioapic1 at mainbus0 apid 3: pa 0xf0000000, version 0x11, 4 pins
> ioapic2 at mainbus0 apid 4: pa 0xf0001000, version 0x11, 4 pins
> acpi0 at mainbus0: Intel ACPICA 20131218
> acpi0: X/RSDT: OemId <PTLTD , XSDT  ,06040000>, AslId < LTP,00000000>
> acpi0: SCI interrupting at int 9
> timecounter: Timecounter "ACPI-Safe" frequency 3579545 Hz quality 900
> acpibut0 at acpi0 (PWRB, PNP0C0C): ACPI Power Button
> attimer1 at acpi0 (TMR, PNP0100): io 0x40-0x43 irq 0
> pcppi1 at acpi0 (SPKR, PNP0800): io 0x61
> midi0 at pcppi1: PC speaker
> sysbeep0 at pcppi1
> SYSR (PNP0C02) at acpi0 not configured
> pckbc1 at acpi0 (PS2M, PNP0F13) (aux port): irq 12
> pckbc2 at acpi0 (PS2K, PNP0303) (kbd port): io 0x60,0x64 irq 1
> FDC0 (PNP0700) at acpi0 not configured
> UAR1 (PNP0501) at acpi0 not configured
> UAR2 (PNP0501) at acpi0 not configured
> LPT (PNP0400) at acpi0 not configured
> ACPI: Enabled 1 GPEs in block 00 to 0F
> ACPI Exception: AE_NOT_FOUND, While evaluating Sleep State [\_S2_]
> (20131218/hwxface-646)
> ACPI Exception: AE_NOT_FOUND, While evaluating Sleep State [\_S3_]
> (20131218/hwxface-646)
> attimer1: attached to pcppi1
> pckbd0 at pckbc2 (kbd slot)
> pckbc2: using irq 1 for kbd slot
> wskbd0 at pckbd0: console keyboard
> pms0 at pckbc2 (aux slot)
> pckbc2: using irq 12 for aux slot
> wsmouse0 at pms0 mux 0
> pci0 at mainbus0 bus 0: configuration mode 1
> pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
> pchb0 at pci0 dev 0 function 0: vendor 0x1022 product 0x7454 (rev. 0x13)
> agp0 at pchb0: 2 Miscellaneous Control unit(s) found.
> agp0: aperture at 0xe0000000, size 0x10000000
> ppb0 at pci0 dev 1 function 0: vendor 0x1022 product 0x7455 (rev. 0x13)
> pci1 at ppb0 bus 1
> pci1: i/o space, memory space enabled
> vga0 at pci1 dev 0 function 0: vendor 0x1002 product 0x4154 (rev. 0x80)
> wsdisplay0 at vga0 kbdmux 1: console (80x25, vt100 emulation), using wskbd0
> wsmux1: connecting to wsdisplay0
> radeondrm0 at vga0: ATI FireGL AT T2
> radeondrm0: AGP at 0xe0000000 256MB
> radeondrm0: Initialized radeon 1.29.0 20080613
> ppb1 at pci0 dev 6 function 0: vendor 0x1022 product 0x7460 (rev. 0x07)
> pci2 at ppb1 bus 2
> pci2: i/o space, memory space enabled
> ohci0 at pci2 dev 0 function 0: vendor 0x1022 product 0x7464 (rev. 0x0b)
> ohci0: interrupting at ioapic0 pin 19
> ohci0: OHCI version 1.0, legacy support
> usb0 at ohci0: USB revision 1.0
> ohci1 at pci2 dev 0 function 1: vendor 0x1022 product 0x7464 (rev. 0x0b)
> ohci1: interrupting at ioapic0 pin 19
> ohci1: OHCI version 1.0, legacy support
> usb1 at ohci1: USB revision 1.0
> ohci2 at pci2 dev 4 function 0: vendor 0x1033 product 0x0035 (rev. 0x41)
> ohci2: interrupting at ioapic0 pin 17
> ohci2: OHCI version 1.0
> usb2 at ohci2: USB revision 1.0
> ohci3 at pci2 dev 4 function 1: vendor 0x1033 product 0x0035 (rev. 0x41)
> ohci3: interrupting at ioapic0 pin 18
> ohci3: OHCI version 1.0
> usb3 at ohci3: USB revision 1.0
> ehci0 at pci2 dev 4 function 2: vendor 0x1033 product 0x00e0 (rev. 0x02)
> ehci0: interrupting at ioapic0 pin 19
> ehci0: EHCI version 0.95
> ehci0: companion controllers, 3 ports each: ohci2 ohci3
> usb4 at ehci0: USB revision 2.0
> bge0 at pci2 dev 5 function 0: Broadcom BCM5705 Gigabit Ethernet
> bge0: interrupting at ioapic0 pin 19
> bge0: HW config 00000155, 00000015, 00000000, 00000000
> bge0: ASIC BCM5705 A3 (0x3003), Ethernet address 00:0f:ea:5d:15:a1
> bge0: setting short Tx thresholds
> brgphy0 at bge0 phy 1: BCM5705 1000BASE-T media interface, rev. 2
> brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT,
> 1000baseT-FDX, auto
> satalink0 at pci2 dev 6 function 0: Silicon Image SATALink 3114 (rev. 0x02)
> satalink0: 33MHz PCI bus
> satalink0: bus-master DMA support present
> satalink0: using ioapic0 pin 18 for native-PCI interrupt
> atabus0 at satalink0 channel 0
> atabus1 at satalink0 channel 1
> atabus2 at satalink0 channel 2
> atabus3 at satalink0 channel 3
> pcib0 at pci0 dev 7 function 0: vendor 0x1022 product 0x7468 (rev. 0x05)
> viaide0 at pci0 dev 7 function 1: AMD AMD8111 IDE Controller (rev. 0x03)
> viaide0: bus-master DMA support present
> viaide0: primary channel configured to compatibility mode
> viaide0: primary channel interrupting at ioapic0 pin 14
> atabus4 at viaide0 channel 0
> viaide0: secondary channel configured to compatibility mode
> viaide0: secondary channel interrupting at ioapic0 pin 15
> atabus5 at viaide0 channel 1
> amdpm0 at pci0 dev 7 function 3: vendor 0x1022 product 0x746b (rev. 0x05)
> timecounter: Timecounter "amdpm0" frequency 3579545 Hz quality 1000
> amdpm0: 24-bit timer
> iic at amdpm0 not configured
> amdpm0: random number generator enabled (apprx. 57ms)
> pchb1 at pci0 dev 24 function 0: vendor 0x1022 product 0x1100 (rev. 0x00)
> pchb2 at pci0 dev 24 function 1: vendor 0x1022 product 0x1101 (rev. 0x00)
> pchb3 at pci0 dev 24 function 2: vendor 0x1022 product 0x1102 (rev. 0x00)
> amdnb_misc0 at pci0 dev 24 function 3: AMD NB Misc Configuration
> pchb4 at pci0 dev 25 function 0: vendor 0x1022 product 0x1100 (rev. 0x00)
> pchb5 at pci0 dev 25 function 1: vendor 0x1022 product 0x1101 (rev. 0x00)
> pchb6 at pci0 dev 25 function 2: vendor 0x1022 product 0x1102 (rev. 0x00)
> amdnb_misc1 at pci0 dev 25 function 3: AMD NB Misc Configuration
> isa0 at pcib0
> lpt0 at isa0 port 0x378-0x37b irq 7
> com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
> com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
> fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
> pci3 at mainbus0 bus 8
> pci3: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
> ppb2 at pci3 dev 3 function 0: vendor 0x1022 product 0x7450 (rev. 0x12)
> pci4 at ppb2 bus 9
> pci4: i/o space, memory space enabled
> rtk0 at pci4 dev 1 function 0: Realtek 8139 10/100BaseTX (rev. 0x10)
> rtk0: interrupting at ioapic1 pin 1
> rtk0: Ethernet address 00:c0:df:13:2a:be
> rlphy0 at rtk0 phy 7: Realtek internal PHY
> rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
> aapic0 at pci3 dev 3 function 1: vendor 0x1022 product 0x7451 (rev. 0x01)
> ppb3 at pci3 dev 4 function 0: vendor 0x1022 product 0x7450 (rev. 0x12)
> pci5 at ppb3 bus 14
> pci5: i/o space, memory space enabled
> pdcsata0 at pci5 dev 2 function 0: Promise PDC20375 SATA150 controller
> (rev. 0x02)
> pdcsata0: interrupting at ioapic2 pin 2
> pdcsata0: bus-master DMA support present
> atabus6 at pdcsata0 channel 0
> atabus7 at pdcsata0 channel 1
> atabus8 at pdcsata0 channel 2
> aapic1 at pci3 dev 4 function 1: vendor 0x1022 product 0x7451 (rev. 0x01)
> acpicpu0 at cpu0: ACPI CPU
> acpicpu0: C1: HLT, lat   0 us, pow     0 mW
> acpicpu1 at cpu1: ACPI CPU
> timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
> satalink0: port 0: device present, speed: 1.5Gb/s
> satalink0: port 1: device present, speed: 1.5Gb/s
> satalink0: port 2: device present, speed: 1.5Gb/s
> satalink0: port 3: device present, speed: 1.5Gb/s
> wd0 at atabus0 drive 0
> wd0: <WDC WD360GD-00FNA0>
> wd0: drive supports 16-sector PIO transfers, LBA48 addressing
> wd0: 35304 MB, 71730 cyl, 16 head, 63 sec, 512 bytes/sect x 72303840 sectors
> uhub0 at usb1: vendor 0x1022 OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
> uhub0: 3 ports with 3 removable, self powered
> uhub1 at usb3: vendor 0x1033 OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
> uhub1: 2 ports with 2 removable, self powered
> uhub2 at usb0: vendor 0x1022 OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
> uhub2: 3 ports with 3 removable, self powered
> uhub3 at usb2: vendor 0x1033 OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
> uhub3: 3 ports with 3 removable, self powered
> uhub4 at usb4: vendor 0x1033 EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
> uhub4: 5 ports with 5 removable, self powered
> wd0: 32-bit data port
> wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133)
> wd0(satalink0:0:0): using PIO mode 4, Ultra-DMA mode 6 (Ultra/133) (using DMA)
> wd1 at atabus1 drive 0
> wd1: <ST3120827AS>
> wd1: drive supports 16-sector PIO transfers, LBA48 addressing
> wd1: 111 GB, 232581 cyl, 16 head, 63 sec, 512 bytes/sect x 234441648 sectors
> wd1: GPT GUID: ef1257a1-6735-11e3-b719-000fea5d15a1
> pdcsata0 port 1: device present, speed: 1.5Gb/s
> pdcsata0 port 0: device present, speed: 1.5Gb/s
> dk0 at wd1: ef1257d9-6735-11e3-b719-000fea5d15a1
> dk0: 234441581 blocks at 34, type: ffs
> wd1: 32-bit data port
> wd1: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133)
> wd1(satalink0:1:0): using PIO mode 4, Ultra-DMA mode 6 (Ultra/133) (using DMA)
> wd2 at atabus2 drive 0
> wd2: <WDC WD360ADFD-00NLR4>
> wd2: drive supports 16-sector PIO transfers, LBA48 addressing
> wd2: 35304 MB, 71730 cyl, 16 head, 63 sec, 512 bytes/sect x 72303840 sectors
> wd2: 32-bit data port
> wd2: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133)
> wd2(satalink0:2:0): using PIO mode 4, Ultra-DMA mode 6 (Ultra/133) (using DMA)
> wd3 at atabus3 drive 0
> wd3: <WDC WD360ADFD-00NLR5>
> wd3: drive supports 16-sector PIO transfers, LBA48 addressing
> wd3: 35304 MB, 71730 cyl, 16 head, 63 sec, 512 bytes/sect x 72303840 sectors
> wd3: 32-bit data port
> wd3: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133)
> wd3(satalink0:3:0): using PIO mode 4, Ultra-DMA mode 6 (Ultra/133) (using DMA)
> wd4 at atabus6 drive 0
> uhidev0 at uhub0 port 2 configuration 1 interface 0
> uhidev0: HP HP USB Laser Mouse, rev 2.00/31.00, addr 2, iclass 3/1
> ums0 at uhidev0: 3 buttons, W and Z dirs
> wsmouse1 at ums0 mux 0
> pdcsata0:0:0: lost interrupt
> type: ata tc_bcount: 512 tc_skip: 0
> wd4: <ST3120827AS>
> wd4: drive supports 16-sector PIO transfers, LBA48 addressing
> wd4: 111 GB, 232581 cyl, 16 head, 63 sec, 512 bytes/sect x 234441648 sectors
> wd4: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133)
> wd4(pdcsata0:0:0): using PIO mode 4, Ultra-DMA mode 6 (Ultra/133) (using DMA)
> wd5 at atabus7 drive 0
> pdcsata0:1:0: lost interrupt
> type: ata tc_bcount: 512 tc_skip: 0
> wd5: <ST3120827AS>
> wd5: drive supports 16-sector PIO transfers, LBA48 addressing
> wd5: 111 GB, 232581 cyl, 16 head, 63 sec, 512 bytes/sect x 234441648 sectors
> wd5: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133)
> wd5(pdcsata0:1:0): using PIO mode 4, Ultra-DMA mode 6 (Ultra/133) (using DMA)
> Kernelized RAIDframe activated
> pad0: outputs: 44100Hz, 16-bit, stereo
> audio0 at pad0: half duplex, playback, capture
> raid1: RAID Level 5
> raid1: Components: /dev/wd0a /dev/wd2a /dev/wd3a
> raid1: Total Sectors: 144607360 (70609 MB)
> raid1: GPT GUID: 5b5a0aae-1568-11e3-8834-000fea5d15a1
> dk1 at raid1: 5b5a0ae5-1568-11e3-8834-000fea5d15a1
> dk1: 144607293 blocks at 34, type: ffs
> raid0: RAID Level 1
> raid0: Components: /dev/wd5a /dev/wd4a
> raid0: Total Sectors: 234441472 (114473 MB)
> boot device: raid0
> root on raid0a dumps on raid0b
> root file system type: ffs
> wsdisplay0: screen 1 added (80x25, vt100 emulation)
> wsdisplay0: screen 2 added (80x25, vt100 emulation)
> wsdisplay0: screen 3 added (80x25, vt100 emulation)
> wsdisplay0: screen 4 added (80x25, vt100 emulation)
>
> ----
> Sometimes later (I can't yet find out exactly when, I might try again
> bisecting) I get:
>
> ....
> root file system type: ffs
> fatal protection fauilt in supervisor mode
> trap type 4 code 0 rip ffffffff80511a2a cs 8 rflags 10246 cr2
> ffff800036c88000 ilevel 0 rsp fffffe8006d08a20
> curlwp 0xfffffe8006d4da00 pid 1.1 lowest kstack 0xfffffe8006d052c0
> kernel: protection fault trap, code=0
> Stopped in pid 1.1 (init) at    netbsd:check_exec+0x319:      call     
> *8(%rax)
>
> db{1}>  bt
> check_exec() at netbsd:check_exec+0x319
> execve_loadvm() at netbsd:execve_loadvm+0x1ca
> execve1() at netbsd:execve1+0x28
> start_init() at netbsd:start_init+0x26f
> db{1}>
>
> --
>
> (that is with a kernel from yesterday; same with the todays one).
> ----
>
> Chavdar Ivanov


Home | Main Index | Thread Index | Old Index