Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Nov 2000 17:54:08 +1100
From:      "Chris Knight" <chris@aims.com.au>
To:        <freebsd-stable@freebsd.org>
Subject:   FFS Snapshot issues
Message-ID:  <012901c059d1$2c7d4ce0$020aa8c0@aims.private>

next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.

------=_NextPart_000_012A_01C05A2D.5FEDC4E0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

Howdy,

Get the attached panic repeatedly when doing an rm -rf /usr/ports and trying
to create a snapshot of the root partition. Sometimes I get the panic when
there's no apparent disk activity and trying to create a snapshot on >2GB
filesystems. I've included gdb output, dmesg and my kernel config.
Hopefully, some-one can make more sense of it in a shorter timeframe than
me. If any further information is required, please let me know and I'll try
my best to get it to you.
BTW, is there any reason I had to enter panic twice in ddb to get the sucker
to dump core?

Regards,
Chris Knight
Systems Administrator
AIMS Independent Computer Professionals
Tel: +61 3 6334 6664  Fax: +61 3 6331 7032  Mob: +61 419 528 795
Web: http://www.aims.com.au


------=_NextPart_000_012A_01C05A2D.5FEDC4E0
Content-Type: text/plain;
	name="debug.txt"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
	filename="debug.txt"

ait0fd02# gdb -k kernel.0 vmcore.1
GNU gdb 4.18
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you =
are
welcome to change it and/or distribute copies of it under certain =
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for =
details.
This GDB was configured as "i386-unknown-freebsd"...
IdlePTD 3362816
initial pcb at 2a7fe0
panicstr: from debugger
panic messages:
---
Fatal trap 12: page fault while in kernel mode
fault virtual address	=3D 0x0
fault code		=3D supervisor read, page not present
instruction pointer	=3D 0x8:0xc0170fd8
stack pointer	        =3D 0x10:0xc3b38f14
frame pointer	        =3D 0x10:0xc3b38f24
code segment		=3D base 0x0, limit 0xfffff, type 0x1b
			=3D DPL 0, pres 1, def32 1, gran 1
processor eflags	=3D resume, IOPL =3D 0
current process		=3D 5 (syncer)
panic: from debugger
panic: from debugger
Uptime: 6m21s

dumping to dev #ad/0x20001, offset 344064
dump ata0: resetting devices .. done
32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 =
7 6 5 4 3 2 1=20
---
#0  dumpsys () at ../../kern/kern_shutdown.c:477
477		if (dumping++) {
(kgdb) back
#0  dumpsys () at ../../kern/kern_shutdown.c:477
#1  0xc0175247 in boot (howto=3D260) at ../../kern/kern_shutdown.c:320
#2  0xc0175685 in panic (fmt=3D0xc022d5d4 "from debugger")
    at ../../kern/kern_shutdown.c:568
#3  0xc011c2b5 in db_panic (addr=3D-1072230440, have_addr=3D0, =
count=3D-1,=20
    modif=3D0xc3b38d88 "") at ../../ddb/db_command.c:433
#4  0xc011c255 in db_command (last_cmdp=3D0xc025be40, =
cmd_table=3D0xc025bca0,=20
    aux_cmd_tablep=3D0xc029f92c) at ../../ddb/db_command.c:333
#5  0xc011c31a in db_command_loop () at ../../ddb/db_command.c:455
#6  0xc011e4c3 in db_trap (type=3D12, code=3D0) at =
../../ddb/db_trap.c:71
#7  0xc02088d2 in kdb_trap (type=3D12, code=3D0, regs=3D0xc3b38ed4)
    at ../../i386/i386/db_interface.c:163
#8  0xc0214d54 in trap_fatal (frame=3D0xc3b38ed4, eva=3D0)
    at ../../i386/i386/trap.c:936
#9  0xc0214add in trap_pfault (frame=3D0xc3b38ed4, usermode=3D0, =
eva=3D0)
    at ../../i386/i386/trap.c:855
#10 0xc0214557 in trap (frame=3D{tf_fs =3D 16, tf_es =3D 16, tf_ds =3D =
16, tf_edi =3D 0,=20
      tf_esi =3D -1070810528, tf_ebp =3D -1011642588, tf_isp =3D =
-1011642624,=20
      tf_ebx =3D 0, tf_edx =3D 1, tf_ecx =3D -1064877056, tf_eax =3D 8,=20
      tf_trapno =3D 12, tf_err =3D 0, tf_eip =3D -1072230440, tf_cs =3D =
8,=20
      tf_eflags =3D 65670, tf_esp =3D -1070810528, tf_ss =3D 8})
    at ../../i386/i386/trap.c:438
#11 0xc0170fd8 in mtx_exit_hard (m=3D0xc02cba60, type=3D0)
    at ../../kern/kern_mutex.c:402
---Type <return> to continue, or q <return> to quit---
#12 0xc01a9cab in sync_fsync (ap=3D0xc3b38f7c) at ../../sys/mutex.h:603
#13 0xc01a7c0e in sched_sync () at vnode_if.h:508
(kgdb) quit
ait0fd02# dmesg
Copyright (c) 1992-2000 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
	The Regents of the University of California. All rights reserved.
FreeBSD 5.0-20001129-SNAP #0: Wed Nov 29 15:12:51 EST 2000
    root@ait0fd02.aims.private:/usr/src/sys/compile/DEBUG
Timecounter "i8254"  frequency 1193168 Hz
Timecounter "TSC"  frequency 199430220 Hz
CPU: Pentium/P55C (199.43-MHz 586-class CPU)
  Origin =3D "GenuineIntel"  Id =3D 0x543  Stepping =3D 3
  Features=3D0x8001bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,MMX>
real memory  =3D 33554432 (32768K bytes)
config> di pcic0
config> di pcm0
config> di sn0
config> di lnc0
config> di le0
config> di ie0
config> di fe0
config> di ed0
config> di cs0
config> di bt0
config> di aic0
config> di aha0
config> di adv0
config> q
avail memory =3D 29642752 (28948K bytes)
Preloaded elf kernel "kernel" at 0xc0323000.
Preloaded userconfig_script "/boot/kernel.conf" at 0xc032309c.
Intel Pentium detected, installing workaround for F00F bug
seq0-15: Midi sequencers.
VESA: v1.2, 1024k memory, flags:0x0, mode table:0xc00c4c13 (c0004c13)
VESA: S3 Incorporated. Trio64V+
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Host to PCI bridge> at pcibus 0 on motherboard
pci0: <PCI bus> on pcib0
isab0: <Intel 82371SB PCI to ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX3 ATA controller> port 0xf000-0xf00f at device 7.1 =
on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
pci0: <S3 Trio graphics accelerator> at 11.0 irq 10
ed0: <NE2000 PCI Ethernet (RealTek 8029)> port 0x6100-0x611f irq 11 at =
device 17.0 on pci0
ed0: address 00:80:c8:de:db:51, type NE2000 (16 bit)=20
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model Generic PS/2 mouse, device ID 0
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on =
isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/8 bytes threshold
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
pps0: <Pulse per second Timing Interface> on ppbus0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=3D0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on =
isa0
unknown: <PNP0303> can't assign resources
atspeaker0: <AT speaker> at port 0x61 on isa0
unknown: <PNP0f13> can't assign resources
unknown: <PNP0501> can't assign resources
unknown: <PNP0501> can't assign resources
unknown: <PNP0700> can't assign resources
unknown: <PNP0401> can't assign resources
pcm1: <CS423x> at port 0x534-0x537,0x388-0x38b,0x220-0x22f irq 5 drq 1,0 =
on isa0
joy0: <Generic PnP Joystick> at port 0x200-0x207 on isa0
ata1-slave: ata_command: timeout waiting for intr
ata1-slave: identify failed
ad0: 6187MB <FUJITSU MPD3064AT> [13410/15/63] at ata0-master WDMA2
ast0: TAPE <Seagate STT8000A> at ata1-master using PIO4
Mounting root from ufs:/dev/ad0s1a
WARNING: / was not properly dismounted
ait0fd02# cat /usr/src/sys/i386/conf/DEBUG
machine		i386
ident		DEBUG
maxusers	32
makeoptions	CONF_CFLAGS=3D-fno-builtin  #Don't allow use of memcmp, etc.
makeoptions	DEBUG=3D-g		#Build kernel with gdb(1) debug symbols
options 	MAXDSIZ=3D"(256*1024*1024)"
options 	DFLDSIZ=3D"(256*1024*1024)"
options 	PQ_CACHESIZE=3D256	# color for 512k/16k cache
options 	INCLUDE_CONFIG_FILE     # Include this file in kernel
cpu		I586_CPU		# aka Pentium(tm)
cpu		I686_CPU		# aka Pentium Pro(tm)
options 	COMPAT_43
options 	USER_LDT		#allow user-level control of i386 ldt
options 	SYSVSHM
options 	SYSVSEM
options 	SYSVMSG
options 	DDB
options 	KTRACE			#kernel tracing
options 	PERFMON
options 	USERCONFIG		#boot -c editor
options 	VISUAL_USERCONFIG	#visual boot -c editor
options 	INET			#Internet communications protocols
device		ether			#Generic Ethernet
device		loop	1		#Network loopback device
device		bpf			#Berkeley packet filter
options 	FFS			#Fast filesystem
options 	FFS_ROOT		#FFS usable as root device
options 	SOFTUPDATES
device		random
options		NOBLOCKRANDOM
options 	P1003_1B
options 	_KPOSIX_PRIORITY_SCHEDULING
options 	_KPOSIX_VERSION=3D199309L
options 	HZ=3D100
options 	CLK_USE_I8254_CALIBRATION
device		pty		#Pseudo ttys
device		speaker		#Play IBM BASIC-style noises out your speaker
device		gzip		#Exec gzipped a.out's
device		isa
options 	COMPAT_OLDISA	#Use ISA shims and glue for old drivers
options 	AUTO_EOI_1
device		pci
options 	COMPAT_OLDPCI	#Use PCI shims and glue for old drivers
device		atkbdc	1
device		atkbd
options 	KBD_INSTALL_CDEV	# install a CDEV entry in /dev
device		psm
device		vga
options 	VESA
device		splash
device		sc	1
device		npx
device		ata
device		atadisk		# ATA disk drives
device		atapicd		# ATAPI CDROM drives
device		atapifd		# ATAPI floppy drives
device		atapist		# ATAPI tape drives
device		fdc
device		sio
device		ed
device		pcm
device		midi
device		seq
device		joy			# PnP aware, hints for nonpnp only
device		ppc
device		ppbus
device		lpt
device		ppi
device		pps
options 	SEMMAP=3D31
options 	SEMMNI=3D11
options 	SEMMNS=3D61
options 	SEMMNU=3D31
options 	SEMMSL=3D61
options 	SEMOPM=3D101
options 	SEMUME=3D11
options 	SHMALL=3D1025
options 	SHMMAX=3D"(SHMMAXPGS*PAGE_SIZE+1)"
options 	SHMMAXPGS=3D1025
options 	SHMMIN=3D2
options 	SHMMNI=3D33
options 	SHMSEG=3D9
ait0fd02# exit

------=_NextPart_000_012A_01C05A2D.5FEDC4E0--




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?012901c059d1$2c7d4ce0$020aa8c0>