Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Aug 2001 11:38:06 +1000
From:      Peter Jeremy <peter.jeremy@alcatel.com.au>
To:        freebsd-stable@freebsd.org
Subject:   4.4-RC panic
Message-ID:  <20010826113806.A21101@gsmx07.alcatel.com.au>

next in thread | raw e-mail | index | archive | help
I've recently acquired a Compaq Armada 1592DT.  I installed
4.3-RELEASE on it without problem.  I've been trying to upgrade it to
-STABLE (as at ~0600Z on 23rd August) and have run into problems: It
is now consistently panicing in slow_copyout() immediately after
syslogd starts.  The problem seems to have started when I added
'options PNPBIOS' to my kernel config (to give me access to the
soundcard).  Booting without any PCMCIA cards inserted doesn't make
any difference.  Any suggestions?

Note that there's also a general problem that the HDD probe returns
nonsense if the BIOS has accessed it (including leaving a CD-ROM
inserted).  This was also present in 4.3-RELEASE and I'm not as
concerned about it right not.

Fatal trap 12: page fault while in kernel mode
fault virtual address	= 0xe
fault code		= supervisor write, page not present
instruction pointer	= 0x8:0xc09ef400
stack pointer	        = 0x10:0xc75f4c58
frame pointer	        = 0x10:0xc75f4ce8
code segment		= base 0x0, limit 0xfffff, type 0x1b
			= DPL 0, pres 1, def32 1, gran 1
processor eflags	= interrupt enabled, resume, IOPL = 0
current process		= 105 (syslogd)
interrupt mask		= none

The backtrace is:
#0  dumpsys () at /usr/src/sys/kern/kern_shutdown.c:472
#1  0xc013e0a4 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:312
#2  0xc013e499 in panic (fmt=0xc0231704 "from debugger")
    at /usr/src/sys/kern/kern_shutdown.c:580
#3  0xc011f625 in db_panic (addr=-1063324672, have_addr=0, count=1, 
    modif=0xc75f4ac4 "") at /usr/src/sys/ddb/db_command.c:435
#4  0xc011f5c3 in db_command (last_cmdp=0xc0262c14, cmd_table=0xc0262a54, 
    aux_cmd_tablep=0xc0294bd8) at /usr/src/sys/ddb/db_command.c:333
#5  0xc011f68a in db_command_loop () at /usr/src/sys/ddb/db_command.c:457
#6  0xc0121843 in db_trap (type=12, code=0) at /usr/src/sys/ddb/db_trap.c:71
#7  0xc0210412 in kdb_trap (type=12, code=0, regs=0xc75f4c18)
    at /usr/src/sys/i386/i386/db_interface.c:158
#8  0xc021e238 in trap_fatal (frame=0xc75f4c18, eva=14)
    at /usr/src/sys/i386/i386/trap.c:951
#9  0xc021df01 in trap_pfault (frame=0xc75f4c18, usermode=0, eva=14)
    at /usr/src/sys/i386/i386/trap.c:849
#10 0xc021da73 in trap (frame={tf_fs = 16, tf_es = 16, tf_ds = 16, 
      tf_edi = -1070995764, tf_esi = -1002344448, tf_ebp = -950055704, 
      tf_isp = -950055868, tf_ebx = -963354368, tf_edx = -950063104, 
      tf_ecx = -950055788, tf_eax = 14, tf_trapno = 12, tf_err = 2, 
      tf_eip = -1063324672, tf_cs = 8, tf_eflags = 66182, tf_esp = 16777280, 
      tf_ss = 0}) at /usr/src/sys/i386/i386/trap.c:448
#11 0xc09ef400 in ?? ()
#12 0xc021deaf in trap_pfault (frame=0xc75f4d5c, usermode=0, eva=3292626119)
    at /usr/src/sys/i386/i386/trap.c:838
#13 0xc021da73 in trap (frame={tf_fs = 16, tf_es = 16, tf_ds = 16, 
      tf_edi = -1077939424, tf_esi = -1002341177, tf_ebp = -950055476, 
      tf_isp = -950055544, tf_ebx = 1023, tf_edx = 0, tf_ecx = 255, 
      tf_eax = -1077938401, tf_trapno = 12, tf_err = 0, tf_eip = -1071527988, 
      tf_cs = 8, tf_eflags = 66071, tf_esp = 1023, tf_ss = -950055208})
    at /usr/src/sys/i386/i386/trap.c:448
#14 0xc021c7cc in slow_copyout ()
#15 0xc014999c in logread (dev=0xc029833c, uio=0xc75f4ed8, flag=131088)
    at /usr/src/sys/kern/subr_log.c:158
#16 0xc0177462 in spec_read (ap=0xc75f4e6c)
    at /usr/src/sys/miscfs/specfs/spec_vnops.c:253
#17 0xc01b08ec in ufsspec_read (ap=0xc75f4e6c)
    at /usr/src/sys/ufs/ufs/ufs_vnops.c:1834
#18 0xc01b0f29 in ufs_vnoperatespec (ap=0xc75f4e6c)
    at /usr/src/sys/ufs/ufs/ufs_vnops.c:2391
#19 0xc01734e0 in vn_read (fp=0xc09f6b00, uio=0xc75f4ed8, cred=0xc067e880, 
    flags=0, p=0xc6946100) at vnode_if.h:334
#20 0xc014cc77 in dofileread (p=0xc6946100, fp=0xc09f6b00, fd=5, 
    buf=0xbfbff320, nbyte=1023, offset=-1, flags=0)
    at /usr/src/sys/sys/file.h:146
#21 0xc014cb3b in read (p=0xc6946100, uap=0xc75f4f80)
    at /usr/src/sys/kern/sys_generic.c:117
#22 0xc021e525 in syscall2 (frame={tf_fs = 47, tf_es = 47, tf_ds = 47, 
      tf_edi = 0, tf_esi = -1077939424, tf_ebp = -1077938396, 
      tf_isp = -950054956, tf_ebx = -1077938320, tf_edx = 0, tf_ecx = 5, 
      tf_eax = 3, tf_trapno = 12, tf_err = 2, tf_eip = 672026136, tf_cs = 31, 
      tf_eflags = 518, tf_esp = -1077939464, tf_ss = 47})
    at /usr/src/sys/i386/i386/trap.c:1155
#23 0xc0211205 in Xint0x80_syscall ()
#24 0x804a0d7 in ?? ()
#25 0x8049745 in ?? ()

Boot messages:
Copyright (c) 1992-2001 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 4.4-RC #3: Sun Aug 26 09:39:51 EST 2001
    root@:/usr/obj/usr/src/sys/pj1592
Timecounter "i8254"  frequency 1193182 Hz
CPU: Pentium/P55C (quarter-micron) (233.86-MHz 586-class CPU)
  Origin = "GenuineIntel"  Id = 0x581  Stepping = 1
  Features=0x8001bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,MMX>
real memory  = 100663296 (98304K bytes)
avail memory = 94846976 (92624K bytes)
Preloaded elf kernel "kernel" at 0xc030f000.
Intel Pentium detected, installing workaround for F00F bug
Using $PIR table, 5 entries at 0xc00f5c00
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
isab0: <PCI to ISA bridge (vendor=1045 device=c700)> at device 1.0 on pci0
isa0: <ISA bus> on isab0
ohci0: <OHCI (generic) USB controller> mem 0x41000000-0x41000fff irq 11 at device 16.0 on pci0
usb0: OHCI version 1.0, legacy support
usb0: <OHCI (generic) USB controller> on ohci0
usb0: USB revision 1.0
uhub0: (unknown) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
pcic0: <TI PCI-1131 PCI-CardBus Bridge> mem 0x7fffe000-0x7fffefff irq 15 at device 17.0 on pci0
pcic0: TI113X PCI Config Reg: [ring enable][speaker enable][CSC serial isa irq]
pccard0: <PC Card bus (classic)> on pcic0
pcic1: <TI PCI-1131 PCI-CardBus Bridge> mem 0x7ffff000-0x7fffffff irq 11 at device 17.1 on pci0
pcic1: TI113X PCI Config Reg: [ring enable][speaker enable][CSC serial isa irq]
pccard1: <PC Card bus (classic)> on pcic1
pci0: <Chips & Technologies 68554 SVGA controller> at 18.0
atapci0: <Generic PCI ATA controller> port 0x1000-0x100f at device 20.0 on pci0
atapci0: Busmastering DMA not supported
ata0: at 0x1f0 irq 14 on atapci0
orm0: <Option ROM> at iomem 0xc0000-0xc9fff on isa0
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
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 GlidePoint, device ID 0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <12 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 on isa0
sio0: type 16550A
pca0 at port 0x40 on isa0
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
unknown: <PNP0000> can't assign resources
pca1: <AT-style speaker sound> at port 0x61 on isa0
unknown: <PNP0303> can't assign resources
unknown: <CPQae3d> can't assign resources
unknown: <PNP0401> can't assign resources
unknown: <PNP0501> can't assign resources
sio1: <Generic IRDA-compatible device> at port 0x2e8-0x2ef irq 3 on isa0
sio1: type 16550A
unknown: <PNP0700> can't assign resources
sbc0: <ESS ES1878> at port 0x220-0x22f,0x388-0x38b,0x330-0x331 irq 5 drq 1,5 on isa0
pcm0: <ESS 18xx DSP> on sbc0
DUMMYNET initialized (010124)
IP packet filtering initialized, divert enabled, rule-based forwarding disabled, default to accept, logging limited to 100 packets/entry by default
ad0: 3102MB <IBM-DYKA-23240> [6304/16/63] at ata0-master BIOSPIO
acd0: CDROM <UJDA120> at ata0-slave using BIOSPIO
Mounting root from ufs:/dev/ad0s1a
pccard: card inserted, slot 0
pccard: card inserted, slot 1
WARNING: / was not properly dismounted
ep0: <3Com Etherlink III 3C589> at port 0x200-0x20f irq 15 slot 0 on pccard0
ep0: Ethernet address 00:50:04:b7:98:24
sio2 at port 0x2f8-0x2ff irq 11 slot 1 on pccard1
sio2: type 16550A

Kernel config file:
machine		i386
cpu		I586_CPU
ident		pj1592
maxusers	32
makeoptions	DEBUG=-g		#Build kernel with gdb(1) debug symbols
options 	INET			#InterNETworking
options 	FFS			#Berkeley Fast Filesystem
options 	FFS_ROOT		#FFS usable as root device [keep this!]
options 	SOFTUPDATES		#Enable FFS soft updates support
options 	CD9660			#ISO 9660 Filesystem
options 	PROCFS			#Process filesystem
options 	COMPAT_43		#Compatible with BSD 4.3 [KEEP THIS!]
options 	UCONSOLE		#Allow users to grab the console
options 	KTRACE			#ktrace(1) support
options 	SYSVSHM			#SYSV-style shared memory
options 	SHMMAXPGS=16384
options 	SYSVMSG			#SYSV-style message queues
options 	SYSVSEM			#SYSV-style semaphores
options 	P1003_1B		#Posix P1003_1B real-time extensions
options 	_KPOSIX_PRIORITY_SCHEDULING
options		ICMP_BANDLIM		#Rate limit bad replies
options 	KBD_INSTALL_CDEV	# install a CDEV entry in /dev
options 	NSWAPDEV=1
options 	CPU_SUSP_HLT
options 	USER_LDT		#allow user-level control of i386 ldt
options 	PERFMON
options 	DDB			# Enable the kernel debugger.
device		isa
options 	AUTO_EOI_1
device		pci
device		fdc0	at isa? port IO_FD1 irq 6 drq 2
device		fd0	at fdc0 drive 0
device		ata
device		atadisk			# ATA disk drives
device		atapicd			# ATAPI CDROM drives
options 	ATA_STATIC_ID		#Static device numbering
device		atkbdc0	at isa? port IO_KBD
device		atkbd0	at atkbdc? irq 1 flags 0x1
device		psm0	at atkbdc? irq 12
device		vga0	at isa?
device		sc0	at isa? flags 0x100
options 	MAXCONS=12
options 	SC_DISABLE_REBOOT	# disable reboot key sequence
device		npx0	at nexus? port IO_NPX irq 13
device		apm0    at nexus? disable flags 0x20 # Advanced Power Management
device		card
device		pcic0	at isa? irq 0 port 0x3e0 iomem 0xd0000
device		sio0	at isa? port IO_COM1 flags 0x0 irq 4
device		ep		# 3Com 3C589
pseudo-device	loop		# Network loopback
pseudo-device	ether		# Ethernet support
pseudo-device	tun		# Packet tunnel.
pseudo-device	pty		# Pseudo-ttys (telnet etc)
pseudo-device	vn		# Vnode device
pseudo-device	speaker		#Play IBM BASIC-style noises out your speaker
pseudo-device	bpf		#Berkeley packet filter
options PNPBIOS
device		pcm
device		pca0 at isa? port IO_TIMER1
device		ppc0	at isa? irq 7
options		PPC_PROBE_CHIPSET # Enable chipset specific detection
device		ppbus		# Parallel port bus (required)
device		lpt		# Printer
device		ppi		# Parallel port interface device
device		ohci		# OHCI PCI->USB interface
device		usb		# USB Bus (required)
device		ugen		# Generic
options 	IPFIREWALL		#firewall
options 	IPFIREWALL_VERBOSE	#print information about dropped packets
options 	IPFIREWALL_VERBOSE_LIMIT=100	#limit verbosity
options 	IPFIREWALL_DEFAULT_TO_ACCEPT	#allow everything by default
options 	IPDIVERT		#divert sockets
options 	ICMP_BANDLIM
options 	DUMMYNET

Peter

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?20010826113806.A21101>