NetBSD-Bugs archive

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

Re: kern/57849: panic running git on NetBSD src repo



$ sudo mount | grep ffs

/dev/dk0 on / type ffs (log, noatime, local)

$ sudo dumpfs / | head -28
file system: /dev/rdk0
format    FFSv2
endian    little-endian
location 65536    (-b 128)
magic    19540119    time    Sun Jan 14 14:42:03 2024
superblock location    65536    id    [ 659b260f 3766d787 ]
nbfree    4043518    ndir    60756    nifree    10039050 nffree    45846
ncg    466    size    44040160    blocks    42698036
bsize    16384    shift    14    mask    0xffffc000
fsize    2048    shift    11    mask    0xfffff800
frag    8    shift    3    fsbtodb    2
bpg    11814    fpg    94512    ipg    22912
minfree    5%    optim    time    maxcontig 4    maxbpg    2048
symlinklen 120    contigsumsize 4
maxfilesize 0x000080100202ffff
nindir    2048    inopb    64
avgfilesize 16384    avgfpdir 64
sblkno    40    cblkno    48    iblkno    56    dblkno    2920
sbsize    2048    cgsize    16384
csaddr    2920    cssize    8192
cgrotor    0    fmod    0    ronly    0    clean    0x02
wapbl version 0x1    location 2    flags 0x0
wapbl loc0 88096960    loc1 131072    loc2 512    loc3 1239
usrquota 0    grpquota 0
flags    wapbl
fsmnt    /
volname        swuid    0
cs[].cs_(nbfree,ndir,nifree,nffree):

$ sudo dmesg


[     1.000000] Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, [     1.000000]     2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, [     1.000000]     2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023,
[     1.000000]     2024
[     1.000000]     The NetBSD Foundation, Inc.  All rights reserved.
[     1.000000] Copyright (c) 1982, 1986, 1989, 1991, 1993
[     1.000000]     The Regents of the University of California. All rights reserved.

[     1.000000] NetBSD 10.0_RC2 (CUSTOM)
[     1.000000] total memory = 8191 MB
[     1.000000] avail memory = 7898 MB
[     1.000000] timecounter: Timecounters tick every 10.000 msec
[     1.000000] Kernelized RAIDframe activated
[     1.000000] timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
[     1.000004] mainbus0 (root)
[     1.000004] ACPI: RSDP 0x00000000000F5B60 000014 (v00 BOCHS )
[     1.000004] ACPI: RSDT 0x00000000BFFE1921 000030 (v01 BOCHS BXPC     00000001 BXPC 00000001) [     1.000004] ACPI: FACP 0x00000000BFFE17F5 000074 (v01 BOCHS BXPC     00000001 BXPC 00000001) [     1.000004] ACPI: DSDT 0x00000000BFFDFD80 001A75 (v01 BOCHS BXPC     00000001 BXPC 00000001)
[     1.000004] ACPI: FACS 0x00000000BFFDFD40 000040
[     1.000004] ACPI: APIC 0x00000000BFFE1869 000090 (v03 BOCHS BXPC     00000001 BXPC 00000001) [     1.000004] ACPI: WAET 0x00000000BFFE18F9 000028 (v01 BOCHS BXPC     00000001 BXPC 00000001)
[     1.000004] ACPI: 1 ACPI AML tables successfully acquired and loaded
[     1.000004] ioapic0 at mainbus0 apid 0: pa 0xfec00000, version 0x11, 24 pins
[     1.000004] cpu0 at mainbus0 apid 0
[     1.000004] cpu0: Use lfence to serialize rdtsc
[     1.000004] cpu0: Intel(R) Core(TM) i7-6820HQ CPU @ 2.70GHz, id 0x506e3
[     1.000004] cpu0: node 0, package 0, core 0, smt 0
[     1.000004] cpu1 at mainbus0 apid 1
[     1.000004] cpu1: Intel(R) Core(TM) i7-6820HQ CPU @ 2.70GHz, id 0x506e3
[     1.000004] cpu1: node 0, package 1, core 0, smt 0
[     1.000004] cpu2 at mainbus0 apid 2
[     1.000004] cpu2: Intel(R) Core(TM) i7-6820HQ CPU @ 2.70GHz, id 0x506e3
[     1.000004] cpu2: node 0, package 2, core 0, smt 0
[     1.000004] cpu3 at mainbus0 apid 3
[     1.000004] cpu3: Intel(R) Core(TM) i7-6820HQ CPU @ 2.70GHz, id 0x506e3
[     1.000004] cpu3: node 0, package 3, core 0, smt 0
[     1.000004] acpi0 at mainbus0: Intel ACPICA 20221020
[     1.000004] acpi0: X/RSDT: OemId <BOCHS ,BXPC ,00000001>, AslId <BXPC,00000001>
[     1.000004] LNKS: ACPI: Found matching pin for 0.1.INTA at func 3: 9
[     1.000004] LNKB: ACPI: Found matching pin for 0.2.INTA at func 0: 10
[     1.000004] LNKC: ACPI: Found matching pin for 0.3.INTA at func 0: 11
[     1.000004] LNKD: ACPI: Found matching pin for 0.4.INTA at func 0: 11
[     1.000004] LNKA: ACPI: Found matching pin for 0.5.INTA at func 0: 10
[     1.000004] LNKB: ACPI: Found matching pin for 0.5.INTB at func 1: 10
[     1.000004] LNKC: ACPI: Found matching pin for 0.5.INTC at func 2: 11
[     1.000004] LNKD: ACPI: Found matching pin for 0.5.INTD at func 7: 11
[     1.000004] LNKB: ACPI: Found matching pin for 0.6.INTA at func 0: 10
[     1.000004] LNKC: ACPI: Found matching pin for 0.7.INTA at func 0: 11
[     1.000004] acpi0: SCI interrupting at int 9
[     1.000004] acpi0: fixed power button present
[     1.000004] timecounter: Timecounter "ACPI-Fast" frequency 3579545 Hz quality 1000
[     1.045395] qemufwcfg0 at acpi0 (FWCF, QEMU0002): io 0x510-0x51b
[     1.045395] qemufwcfg0: <QEMU>
[     1.045395] com0 at acpi0 (COM1, PNP0501-1): io 0x3f8-0x3ff irq 4
[     1.045395] com0: ns16550a, 16-byte FIFO
[     1.045395] pckbc1 at acpi0 (KBD, PNP0303) (kbd port): io 0x60,0x64 irq 1
[     1.045395] pckbc2 at acpi0 (MOU, PNP0F13) (aux port): irq 12
[     1.045395] fdc0 at acpi0 (FDC0, PNP0700): io 0x3f2-0x3f5,0x3f7 irq 6 drq 2
[     1.045395] ACPI: Enabled 2 GPEs in block 00 to 0F
[     1.045395] pckbd0 at pckbc1 (kbd slot)
[     1.045395] pckbc1: using irq 1 for kbd slot
[     1.045395] wskbd0 at pckbd0: console keyboard
[     1.045395] pms0 at pckbc1 (aux slot)
[     1.045395] pckbc1: using irq 12 for aux slot
[     1.045395] wsmouse0 at pms0 mux 0
[     1.045395] pci0 at mainbus0 bus 0: configuration mode 1
[     1.045395] pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok [     1.045395] pchb0 at pci0 dev 0 function 0: Intel 82441FX (PMC) PCI and Memory Controller (rev. 0x02) [     1.045395] pcib0 at pci0 dev 1 function 0: Intel 82371SB (PIIX3) PCI-ISA Bridge (rev. 0x00) [     1.045395] piixide0 at pci0 dev 1 function 1: Intel 82371SB IDE Interface (PIIX3) (rev. 0x00)
[     1.045395] piixide0: bus-master DMA support present
[     1.045395] piixide0: primary channel wired to compatibility mode
[     1.045395] piixide0: primary channel interrupting at ioapic0 pin 14
[     1.045395] atabus0 at piixide0 channel 0
[     1.045395] piixide0: secondary channel wired to compatibility mode
[     1.045395] piixide0: secondary channel interrupting at ioapic0 pin 15
[     1.045395] atabus1 at piixide0 channel 1
[     1.045395] piixpm0 at pci0 dev 1 function 3: Intel 82371AB (PIIX4) Power Management Controller (rev. 0x03) [     1.045395] timecounter: Timecounter "piixpm0" frequency 3579545 Hz quality 1000
[     1.045395] piixpm0: 24-bit timer
[     1.045395] piixpm0: interrupting at ioapic0 pin 9
[     1.045395] iic0 at piixpm0 port 0: I2C bus
[     1.045395] vga0 at pci0 dev 2 function 0: Red Hat QXL Video (rev. 0x05)
[     1.045395] wsdisplay0 at vga0 kbdmux 1: console (80x25, vt100 emulation), using wskbd0
[     1.045395] wsmux1: connecting to wsdisplay0
[     1.045395] drm at vga0 not configured
[     1.045395] wm0 at pci0 dev 3 function 0, 64-bit DMA: Intel i82540EM 1000BASE-T Ethernet (rev. 0x03)
[     1.045395] wm0: interrupting at ioapic0 pin 11
[     1.045395] wm0: 32-bit 33MHz PCI bus
[     1.045395] wm0: 64 words (6 address bits) MicroWire EEPROM
[     1.045395] wm0: Ethernet address 52:54:00:80:21:d6
[     1.045395] wm0: 0x200002<LOCK_EECD,WOL>
[     1.045395] makphy0 at wm0 phy 1: Marvell 88E1011 Gigabit PHY, rev. 0
[     1.045395] makphy0: Failed to access EADR. Are you an emulator?
[     1.045395] makphy0: Failed to read EXTSR. Are you an emulator?. Regard as 1000BASE-T. [     1.045395] makphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
[     1.045395] hdaudio0 at pci0 dev 4 function 0: HD Audio Controller
[     1.045395] hdaudio0: interrupting at msi0 vec 0
[     1.045395] hdaudio0: HDA ver. 1.0, OSS 4, ISS 4, BSS 0, SDO 1, 64-bit
[     1.045395] hdafg0 at hdaudio0: vendor 1af4 product 0022
[     1.045395] hdafg0: DAC00 2ch: Speaker [Jack]
[     1.045395] hdafg0: ADC01 2ch: Line In [Jack]
[     1.045395] hdafg0: 2ch/2ch 16000Hz 22050Hz 32000Hz 44100Hz 48000Hz 88200Hz 96000Hz PCM16 [     1.045395] audio0 at hdafg0: playback, capture, full duplex, independent [     1.045395] audio0: slinear_le:16 2ch 48000Hz, blk 1920 bytes (10ms) for playback [     1.045395] audio0: slinear_le:16 2ch 48000Hz, blk 1920 bytes (10ms) for recording
[     1.045395] spkr0 at audio0: PC Speaker (synthesized)
[     1.045395] wsbell at spkr0 not configured
[     1.045395] uhci0 at pci0 dev 5 function 0: Intel 82801I USB UHCI Controller (rev. 0x03)
[     1.045395] uhci0: interrupting at ioapic0 pin 10
[     1.045395] usb0 at uhci0: USB revision 1.0
[     1.045395] uhci1 at pci0 dev 5 function 1: Intel 82801I USB UHCI Controller (rev. 0x03)
[     1.045395] uhci1: interrupting at ioapic0 pin 10
[     1.045395] usb1 at uhci1: USB revision 1.0
[     1.045395] uhci2 at pci0 dev 5 function 2: Intel 82801I USB UHCI Controller (rev. 0x03)
[     1.045395] uhci2: interrupting at ioapic0 pin 11
[     1.045395] usb2 at uhci2: USB revision 1.0
[     1.045395] ehci0 at pci0 dev 5 function 7: Intel 82801I USB EHCI Controller (rev. 0x03)
[     1.045395] ehci0: 32-bit DMA
[     1.045395] ehci0: interrupting at ioapic0 pin 11
[     1.045395] ehci0: EHCI version 1.0
[     1.045395] ehci0: 3 companion controllers, 2 ports each: uhci0 uhci1 uhci2
[     1.045395] ehci0: Using DMA subregion for control data structures
[     1.045395] usb3 at ehci0: USB revision 2.0
[     1.045395] virtio0 at pci0 dev 6 function 0
[     1.045395] virtio0: console device (id 3, rev. 0x00)
[     1.045395] virtio0: autoconfiguration error: no matching child driver; not configured
[     1.045395] virtio1 at pci0 dev 7 function 0
[     1.045395] virtio1: memory balloon device (id 5, rev. 0x00)
[     1.045395] viomb0 at virtio1: features: 0x10000000<INDIRECT_DESC>
[     1.045395] virtio1: allocated 8192 byte for virtqueue 0 for inflate, size 128 [     1.045395] virtio1: allocated 8192 byte for virtqueue 1 for deflate, size 128
[     1.045395] virtio1: interrupting at ioapic0 pin 11
[     1.045395] isa0 at pcib0
[     1.045395] attimer0 at isa0 port 0x40-0x43
[     1.045395] pcppi0 at isa0 port 0x61
[     1.045395] spkr1 at pcppi0: PC Speaker
[     1.045395] wsbell at spkr1 not configured
[     1.045395] midi0 at pcppi0: PC speaker
[     1.045395] sysbeep0 at pcppi0
[     1.045395] attimer0: attached to pcppi0
[     1.045395] acpicpu0 at cpu0: ACPI CPU
[     1.045395] acpicpu0: C1: HLT, lat   0 us, pow     0 mW
[     1.045395] acpicpu1 at cpu1: ACPI CPU
[     1.045395] acpicpu2 at cpu2: ACPI CPU
[     1.045395] acpicpu3 at cpu3: ACPI CPU
[     1.045395] timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
[     1.962448] atapibus0 at atabus0: 2 targets
[     1.962448] cd0 at atapibus0 drive 1: <QEMU DVD-ROM, QM00002, 2.5+> cdrom removable [     1.972683] uhub0 at usb0: NetBSD (0x0000) UHCI root hub (0x0000), class 9/0, rev 1.00/1.00, addr 1
[     1.972683] uhub0: 2 ports with 2 removable, self powered
[     1.972683] uhub1 at usb2: NetBSD (0x0000) UHCI root hub (0x0000), class 9/0, rev 1.00/1.00, addr 1
[     1.972683] uhub1: 2 ports with 2 removable, self powered
[     1.972683] uhub2 at usb3: NetBSD (0x0000) EHCI root hub (0x0000), class 9/0, rev 2.00/1.00, addr 1
[     1.972683] uhub2: 6 ports with 6 removable, self powered
[     1.972683] uhub3 at usb1: NetBSD (0x0000) UHCI root hub (0x0000), class 9/0, rev 1.00/1.00, addr 1
[     1.983483] uhub3: 2 ports with 2 removable, self powered
[     1.983483] cd0: 32-bit data port
[     1.983483] cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
[     1.983483] wd0 at atabus0 drive 0
[     1.983483] wd0: <QEMU HARDDISK>
[     1.983483] IPsec: Initialized Security Association Processing.
[     1.983483] wd0: drive supports 16-sector PIO transfers, LBA48 addressing [     1.983483] wd0: 90112 MB, 183084 cyl, 16 head, 63 sec, 512 bytes/sect x 184549376 sectors
[     1.993159] wd0: GPT GUID: c88a2ef7-cccf-4061-8e88-fd64096e4ea9
[     1.993159] dk0 at wd0: "94636ee5-6a22-4417-bfe0-eb385ca0747a", 176160640 blocks at 64, type: ffs [     1.993159] dk1 at wd0: "66018839-bb14-437c-9d67-f7219063b799", 8388608 blocks at 176160704, type: swap
[     1.993159] wd0: 32-bit data port
[     1.993159] wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
[     1.993159] wd0(piixide0:0:0): using PIO mode 4, DMA mode 2 (using DMA)
[     1.993159] cd0(piixide0:0:1): using PIO mode 4, DMA mode 2 (using DMA)
[     3.108200] uhidev0 at uhub2 port 1 configuration 1 interface 0
[     3.118961] uhidev0: QEMU (0x0627) QEMU USB Tablet (0x0001), rev 2.00/0.00, addr 2, iclass 3/0
[     3.138915] ums0 at uhidev0: 3 buttons and Z dir
[     3.138915] wsmouse1 at ums0 mux 0
[     3.138915] swwdog0: software watchdog initialized
[     3.148995] WARNING: 1 error while detecting hardware; check system log.
[     3.148995] boot device: wd0
[     3.148995] root on dk0 dumps on dk1
[     3.159189] root file system type: ffs
[     3.159189] kern.module.path=/stand/amd64/10.0/modules
[     7.956393] wsdisplay0: screen 1 added (80x25, vt100 emulation)
[     7.956393] wsdisplay0: screen 2 added (80x25, vt100 emulation)
[     7.956393] wsdisplay0: screen 3 added (80x25, vt100 emulation)
[     7.956393] wsdisplay0: screen 4 added (80x25, vt100 emulation)

On 1/14/24 14:10, Martin Husemann wrote:
The following reply was made to PR kern/57849; it has been noted by GNATS.

From: Martin Husemann <martin%duskware.de@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc:
Subject: Re: kern/57849: panic running git on NetBSD src repo
Date: Sun, 14 Jan 2024 14:09:45 +0100

  On Sun, Jan 14, 2024 at 02:06:44PM +0100, Martin Husemann wrote:
  > File system corruption (like this) may be controller specific, can you
  > please provide the full dmesg output (or a copy of /var/run/dmesg.boot)
  > from your VM?
Also file system details please, like the output of the "mount" command
  and in case the file system used is FFS the output of "dumpfs / | head -28"
  (if the git repo was on the / file system, otherwise repalce / by the
  proper mount point).
Thanks, Martin



Home | Main Index | Thread Index | Old Index