Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 May 2001 10:48:19 -0700 (PDT)
From:      David Wolfskill <david@catwhisker.org>
To:        current@freebsd.org
Subject:   Panic during -CURRENT buildworld
Message-ID:  <200105181748.f4IHmJS88409@bunrab.catwhisker.org>

next in thread | raw e-mail | index | archive | help
[This is *really* long.  Sorry.  dhw]

Running:
FreeBSD dhcp-140.catwhisker.org 5.0-CURRENT FreeBSD 5.0-CURRENT #1: Thu May 17 09:13:03 PDT 2001     root@dhcp-133.catwhisker.org:/common/C/obj/usr/src/sys/LAPTOP_30W  i386

(The "#1" sequence number is probably misleading; I'll go into that below.
It was around #60 or so before the events discussed there.)

Last few CVSups:
CVSup begin from cvsup14.freebsd.org at Tue May 15 03:47:00 PDT 2001
CVSup ended from cvsup14.freebsd.org at Tue May 15 03:52:15 PDT 2001
CVSup begin from cvsup14.freebsd.org at Wed May 16 03:47:01 PDT 2001
CVSup ended from cvsup14.freebsd.org at Wed May 16 03:52:26 PDT 2001
CVSup begin from cvsup14.freebsd.org at Wed May 16 07:57:56 PDT 2001
CVSup ended from cvsup14.freebsd.org at Wed May 16 08:04:15 PDT 2001
CVSup begin from cvsup14.freebsd.org at Thu May 17 03:47:00 PDT 2001
CVSup ended from cvsup14.freebsd.org at Thu May 17 03:52:58 PDT 2001
CVSup begin from cvsup14.freebsd.org at Fri May 18 03:47:01 PDT 2001
CVSup ended from cvsup14.freebsd.org at Fri May 18 03:52:34 PDT 2001

(Wednesday wasn't the best of days for me....)

As some folks may recall, I've been tracking -STABLE & -CURRENT on this
machine (my laptop) since early March.  I've encountered various forms
of challenges in that, but today's the first time I got a panic during
the "make buildworld".

And this was on the 3rd attempt today.  :-(  (The other 2 were done --
as usual for me -- within an X environment, so I could more easily monitor
the progress... or so I had imagined.  Each of those "locked up"; I
suspect, in hindsight, that they may also have been panics.)  This last
was one I did in single-user mode.  (I had already built & booted
today's -STABLE.)

FWIW, the system appears to have gotten much further while in
single-user mode -- it was in "stage 4: building libraries"; here are my
(hand-transcribed) notes:

cc -fpic -DPIC  ...  lib_addch.So
cc -fpic -DPIC  ...  lib_addstr.So

Fatal trap 12: page fault while in kernel mode
fault virtual address               = 0xdeadc0e8
fault code                          = supervidor read, page not present
instruction pointer                 = 0x880 0xc0314938
   [This character may be wrong----------^  sorry.  :-(  Could be 6, b, or 8.]
stack pointer                       = 0x10: 0xccd8be7c
frame pointer                       = 0x10: 0xccd8be7c
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                     = 16 (irq14: ata0)
kernel: type 12 trap, code =0
stopped at    worklist_remove+0x1c:   cmpw     $0, 0xa(%ecx)
db> trace
worklist_remove(deadc0de) at ++0x1c
free_diradd(deadc0de) at free_diradd+0x26
free_newdirblk(c16a0980) at free_newdirblk+0x2e
handle_written_inodeblock(c18a0280, c688ff6c) at handle_written_inodeblock+0x2b2
softdep_disk_write_complete(c688ff6c) at softdep_disk_write_complete+0x6a
bufdone(c688ff6c, ccd8bf50, c0134df6, c688ff6c, c167c200) at bufdone+0x109
bufdonebio(c688ff6c) at bufdonebio+0xe
ad_interrupt(c1be4700, c016131c0, ccd8bf7c, c01c1db7, c167c200) at ad_interrupt+0x3ce
ata_intr(c167c200) at ata_intr+0xae
ithread_loop(c167c180, ccd8bfa8) at ithread_loop+0x413
fork_exit(c01c19a4, c167c180, ccd8bfa8) at fork_exit+0xb4
fork_trampoline() at fork_trampoline+0x8
db>

Each of the first 2 times the "make buildworld" didn't complete, I ended
up power-cycling the machine.  fsck wasn't especially happy about this,
and I did take the opportunity to note that each time the -CURRENT fsck 
wanted a hand-invoked "fsck", the following effects were noted:

* It complained about the primary superblock had some (presumably
  unexpected) discrepancy with the first alternate (at block 32).
  Each time, I told it to use the alternate, and to update the primary
  superblock.

* After finishing up, the "soft updates" flag was no longer turned on,
  so I ran "tunefs -n enable" while I was (still) in single-user mode.


As to the events alluded to above:  Wednesday, while trying to figure
out some breakage, I quoted the $FreeBSD$ line of a Makefile to a
correspondent (Ruslan Ermilov) who was kind enough to try to help me 
figure things out.  He noticed that the revision level on the Makefile
seemed too low; off by one, actually.  But "cvs log Makefile" in the
directory in question showed that the Makefile itself was current; it
was the $FreeBSD$ tag that was incorrect.

It turns out that when I had set up my CVS repository, I placed it in
/cvs, but put the FreeBSD part of it in /cvs/freebsd (assuming that I
might want to place some non-FreeBSD-specific things in there at some
point).  And I set up my (default) $CVSROOT environment variable to
"/cvs".  So far, so good.

This was (as mentioned) back in early March, so there are some aspects
of this that I don't quite recall.  But when I created my -CURRENT
working directory for /usr/src, I must have done something that did not
involve specifying /cvs/freebsd as the CVSROOT during the initial
checkout:  for example, the following files indicate the problem:

cat /usr/src/CVS/Repository
freebsd/src
cat /usr/src/CVS/Root
/cvs


The issue is that the CVS options would have thus been picked up from
/cvs/CVSROOT, rather than from /cvs/freebsd/CVSROOT -- so up through
Wednesday (day before yesterday), files in my working directory were
*not* getting $FreeBSD$ expanded, and *were* getting $Id$ expanded.

This was confusing, at best.

So Wednesday, I did a little experiment (creating new working
directories in a scratch area, one using /cvs as CVSROOT; the other
using /cvs/freebsd), and that demonstrated the nature of the problem.

Since I'm on vacation now, I decided to tackle that as soon as I could,
which was that day.

In my haste to accomplish that, I forgot that my kernel configuration
for -CURRENT was a separate file in the (-CURRENT)
/usr/src/sys/i386/conf directory.  (In -STABLE, it's a symlink to a file
in a separate filesystem.  I started that way in -CURRENT, but when I
needed to make some changes, I got lazy and just copied it into
/usr/src.)  So when I blew away the old -CURRENT /usr/src, my kernel
config source went with it.

That was annoying.  :-(

I managed to recover it, pretty much.  Here is a "diff -bu" between the
-CURRENT GENERIC and LAPTOP_30W (my config):

--- GENERIC	Sun May 13 13:52:39 2001
+++ LAPTOP_30W	Wed May 16 18:43:28 2001
@@ -15,21 +15,30 @@
 # device lines is also present in the NOTES configuration file. If you are
 # in doubt as to the purpose or necessity of a line, check first in NOTES.
 #
-# $FreeBSD: src/sys/i386/conf/GENERIC,v 1.308 2001/05/13 20:52:39 phk Exp $
+# $FreeBSD: src/sys/i386/conf/GENERIC,v 1.246.2.20 2000/10/31 23:16:07 n_hibma Exp $
 
 machine		i386
-cpu		I486_CPU
-cpu		I586_CPU
 cpu		I686_CPU
-ident		GENERIC
-maxusers	32
+ident		"LAPTOP_30W"
+maxusers	128
 
 #To statically compile in device wiring instead of /boot/device.hints
 #hints		"GENERIC.hints"		#Default places to look for devices.
 
 makeoptions	DEBUG=-g		#Build kernel with gdb(1) debug symbols
+#
+# Enable the kernel debugger.
+#
+options		DDB
+
+#
+# The DIAGNOSTIC option is used to enable extra debugging information
+# from some parts of the kernel.  As this makes everything more noisy,
+# it is disabled by default.
+#
+options		DIAGNOSTIC
 
-options 	MATH_EMULATE		#Support for x87 emulation
+# options 	MATH_EMULATE		#Support for x87 emulation
 options 	INET			#InterNETworking
 options 	INET6			#IPv6 communications protocols
 options 	FFS			#Berkeley Fast Filesystem
@@ -52,6 +61,7 @@
 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
 
 # Debugging for use in -current
@@ -59,6 +69,7 @@
 options 	INVARIANTS
 options 	INVARIANT_SUPPORT
 options 	WITNESS
+# options 	PNPBIOS			# Maybe?
 
 # To make an SMP kernel, the next two are needed
 #options 	SMP			# Symmetric MultiProcessor Kernel
@@ -76,50 +87,59 @@
 device		atadisk			# ATA disk drives
 device		atapicd			# ATAPI CDROM drives
 device		atapifd			# ATAPI floppy drives
-device		atapist			# ATAPI tape drives
+# device		atapist			# ATAPI tape drives
 options 	ATA_STATIC_ID		#Static device numbering
+#options 	ATA_ENABLE_ATAPI_DMA	#Enable DMA on ATAPI devices
 
 # SCSI Controllers
-device		ahb		# EISA AHA1742 family
-device		ahc		# AHA2940 and onboard AIC7xxx devices
-device		amd		# AMD 53C974 (Tekram DC-390(T))
-device		isp		# Qlogic family
+# device	ahb		# EISA AHA1742 family
+# device	ahc		# AHA2940 and onboard AIC7xxx devices
+# device	amd		# AMD 53C974 (Tekram DC-390(T))
+# device	isp		# Qlogic family
 #device		ncr		# NCR/Symbios Logic
-device		sym		# NCR/Symbios Logic (newer chipsets + those of `ncr')
-
-device		adv		# Advansys SCSI adapters
-device		adw		# Advansys wide SCSI adapters
-device		aha		# Adaptec 154x SCSI adapters
-device		aic		# Adaptec 15[012]x SCSI adapters, AIC-6[23]60.
-device		bt		# Buslogic/Mylex MultiMaster SCSI adapters
-
-device		ncv		# NCR 53C500
-device		nsp		# Workbit Ninja SCSI-3
-device		stg		# TMC 18C30/18C50
+# device	sym		# NCR/Symbios Logic (newer chipsets + those of `ncr')
+# options	SYM_SETUP_LP_PROBE_MAP=0x40
+				# Allow ncr to attach legacy NCR devices when 
+				# both sym and ncr are configured
+
+# device	adv		# Advansys SCSI adapters
+# device	adw		# Advansys wide SCSI adapters
+# device	aha		# Adaptec 154x SCSI adapters
+# device	aic		# Adaptec 15[012]x SCSI adapters, AIC-6[23]60.
+# device	bt		# Buslogic/Mylex MultiMaster SCSI adapters
+
+# device	ncv		# NCR 53C500
+# device	nsp		# Workbit Ninja SCSI-3
+# device	stg		# TMC 18C30/18C50
 
 # RAID controllers interfaced to the SCSI subsystem
-device		asr		# DPT SmartRAID V, VI and Adaptec SCSI RAID
-device		dpt		# DPT Smartcache III, IV - See NOTES for options!
-device		mly		# Mylex AcceleRAID/eXtremeRAID
+# device	asr		# DPT SmartRAID V, VI and Adaptec SCSI RAID
+# device 	dpt		# DPT Smartcache III, IV - See NOTES for options!
+# device	mly		# Mylex AcceleRAID/eXtremeRAID
 
 # SCSI peripherals
-device		scbus		# SCSI bus (required)
-device		da		# Direct Access (disks)
-device		sa		# Sequential Access (tape etc)
-device		cd		# CD
-device		pass		# Passthrough device (direct SCSI access)
+# device	scbus		# SCSI bus (required)
+# device	da		# Direct Access (disks)
+# device	sa		# Sequential Access (tape etc)
+# device	cd		# CD
+# device	pass		# Passthrough device (direct SCSI access)
 
 # RAID controllers
-device		aac		# Adaptec FSA RAID
-device		amr		# AMI MegaRAID
-device		ida		# Compaq Smart RAID
-device		mlx		# Mylex DAC960 family
-device		twe		# 3ware ATA RAID
+# device	aac		# Adaptec FSA RAID, Dell PERC2/PERC3
+# device	ida		# Compaq Smart RAID
+# device	amr		# AMI MegaRAID
+# device	mlx		# Mylex DAC960 family
+# device	twe		# 3ware Escalade
 
 # atkbdc0 controls both the keyboard and the PS/2 mouse
 device		atkbdc	1	# At keyboard controller
 device		atkbd		# at keyboard
 device		psm		# psm mouse
+# Options for psm:
+options 	PSM_DEBUG=0		# 1 for debugging
+options 	PSM_HOOKRESUME		#hook the system resume event, useful
+					#for some laptops
+options		PSM_RESETAFTERSUSPEND	#reset the device at the resume event
 
 device		vga		# VGA screen
 
@@ -143,6 +163,8 @@
 device		apm
 # Add suspend/resume support for the i8254.
 device		pmtimer
+# device	acpica
+# options	ACPI_DEBUG
 
 # Audio support
 device		pcm
@@ -150,6 +172,8 @@
 # PCCARD (PCMCIA) support
 device		card		# pccard bus
 device		pcic		# PCMCIA bridge
+# You may need to reset all pccards after resuming
+options		PCIC_RESUME_RESET	# reset after resume
 
 # Serial (COM) ports
 device		sio		# 8250, 16[45]50 based serial ports
@@ -185,19 +209,19 @@
 device		xl		# 3Com 3c90x (``Boomerang'', ``Cyclone'')
 
 # ISA Ethernet NICs.  pccard nics included.
-device		cs		# Crystal Semiconductor CS89x0 NIC
+# device		cs		# Crystal Semiconductor CS89x0 NIC
 # 'device ed' requires 'device miibus'
 device		ed		# NE[12]000, SMC Ultra, 3c503, DS8390 cards
-device		ex		# Intel EtherExpress Pro/10 and Pro/10+
-device		ep		# Etherlink III based cards
-device		fe		# Fujitsu MB8696x based cards
-device		sn		# SMC's 9000 series of ethernet chips
-device		xe		# Xircom pccard ethernet
+# device	ex		# Intel EtherExpress Pro/10 and Pro/10+
+# device	ep		# Etherlink III based cards
+# device	fe		# Fujitsu MB8696x based cards
+# device	sn		# SMC's 9000 series of ethernet chips
+# device	xe		# Xircom pccard ethernet
 
 # The probe order of these is presently determined by i386/isa/isa_compat.c.
 #device		ie
 #device		le
-device		lnc
+# device	lnc
 
 # Wireless NIC cards
 device		an		# Aironet 4500/4800 802.11 wireless NICs. 
@@ -219,7 +243,7 @@
 
 # The `bpf' device enables the Berkeley Packet Filter.
 # Be aware of the administrative consequences of enabling this!
-device		bpf		# Berkeley packet filter
+device	bpf	3	#Berkeley packet filter
 
 # USB support
 device		uhci		# UHCI PCI->USB interface
@@ -230,7 +254,7 @@
 device		uhid		# "Human Interface Devices"
 device		ukbd		# Keyboard
 device		ulpt		# Printer
-device		umass		# Disks/Mass storage - Requires scbus and da
+# device	umass		# Disks/Mass storage - Requires scbus and da
 device		ums		# Mouse
 device		urio		# Diamond Rio 500 MP3 player
 device		uscanner	# Scanners




As you see, most of the changes are commenting out unused/unwanted
devices.

And here's /var/run/dmesg.boot; last boot was a (clean) "boot -v":

ECT? [yn] 
Waiting (max 60 seconds) for system process `bufdaemon' to stop...stopped
Waiting (max 60 seconds) for system process `syncer' to stop...stopped

syncing disks... 
done
Uptime: 5m21s
Rebooting...
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 5.0-CURRENT #1: Thu May 17 09:13:03 PDT 2001
    root@dhcp-133.catwhisker.org:/common/C/obj/usr/src/sys/LAPTOP_30W
Timecounter "i8254"  frequency 1193182 Hz
CPU: Pentium III/Pentium III Xeon/Celeron (746.34-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x683  Stepping = 3
  Features=0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
real memory  = 268369920 (262080K bytes)
avail memory = 256020480 (250020K bytes)
Preloaded elf kernel "kernel" at 0xc04e9000.
Pentium Pro MTRR support enabled
Using $PIR table, 7 entries at 0xc00fdf50
apm0: <APM BIOS> on motherboard
apm0: found APM BIOS v1.2, connected at v1.2
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Intel 82443BX (440 BX) host to PCI bridge> at pcibus 0 on motherboard
pci0: <PCI bus> on pcib0
pcib1: <PCI-PCI bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <display, VGA> at 0.0 (no driver attached)
pcic-pci0: <TI PCI-1420 PCI-CardBus Bridge> at device 4.0 on pci0
pcic-pci0: TI12XX PCI Config Reg: [ring enable][speaker enable][pwr save][FUNC pci int + CSC serial isa irq]
pcic-pci1: <TI PCI-1420 PCI-CardBus Bridge> at device 4.1 on pci0
pcic-pci1: TI12XX PCI Config Reg: [ring enable][speaker enable][pwr save][FUNC pci int + CSC serial isa irq]
isab0: <PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX4 ATA33 controller> port 0x1050-0x105f at device 7.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
uhci0: <Intel 82371AB/EB (PIIX4) USB controller> port 0x1060-0x107f irq 7 at device 7.2 on pci0
usb0: <Intel 82371AB/EB (PIIX4) USB controller> on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
pci0: <bridge, PCI-unknown> at 7.3 (no driver attached)
pcm0: <ESS Technology Maestro-2E> port 0x1400-0x14ff irq 7 at device 8.0 on pci0
pci0: <simple comms> at 16.0 (no driver attached)
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
pcic0: <VLSI 82C146> at port 0x3e0 iomem 0xd0000 on isa0
pccard0: <PC Card bus (classic)> on pcic0
pccard1: <PC Card bus (classic)> on pcic0
pcic0: Polling mode
pmtimer0 on isa0
ppc0: parallel port not found.
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1: configured irq 3 not in bitmap of probed irqs 0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
unknown: <PNP0303> can't assign resources
unknown: <PNP0501> can't assign resources
unknown: <PNP0700> can't assign resources
ad0: 19077MB <IBM-DJSA-220> [38760/16/63] at ata0-master UDMA33
acd0: CD-RW <UJDA310> at ata1-master PIO4
Mounting root from ufs:/dev/ad0s3a
pccard: card inserted, slot 1
ad0s4: raw partition size != slice size
ad0s4: start 4173120, end 5231519, size 1058400
ad0s4c: start 4173120, end 6259679, size 2086560
ad0s4: truncating raw partition
ad0s4: rejecting partition in BSD label: it isn't entirely within the slice
ad0s4: start 4173120, end 5231519, size 1058400
ad0s4e: start 4369728, end 6259679, size 1889952
WARNING: /S1 was not properly dismounted
WARNING: /S1/usr was not properly dismounted
WARNING: /S2 was not properly dismounted
WARNING: /S2/usr was not properly dismounted
WARNING: /usr was not properly dismounted
WARNING: /var was not properly dismounted
/var: superblock summary recomputed
lock order reversal
 1st 0xc0463f40 mntvnode @ /usr/src/sys/ufs/ffs/ffs_vfsops.c:1007
 2nd 0xce7d4c4c vnode interlock @ /usr/src/sys/ufs/ffs/ffs_vfsops.c:1016
an0: <Aironet PC4500/PC4800> at port 0x240-0x27f irq 3 slot 1 on pccard1
an0: Ethernet address: 00:40:96:34:4e:e9
Waiting (max 60 seconds) for system process `bufdaemon' to stop...stopped
Waiting (max 60 seconds) for system process `syncer' to stop...stopped

syncing disks... 
done
Uptime: 1h16m40s
Rebooting...
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 5.0-CURRENT #1: Thu May 17 09:13:03 PDT 2001
    root@dhcp-133.catwhisker.org:/common/C/obj/usr/src/sys/LAPTOP_30W
Calibrating clock(s) ... TSC clock: 746313131 Hz, i8254 clock: 1193147 Hz
CLK_USE_I8254_CALIBRATION not specified - using default frequency
Timecounter "i8254"  frequency 1193182 Hz
CLK_USE_TSC_CALIBRATION not specified - using old calibration method
CPU: Pentium III/Pentium III Xeon/Celeron (746.34-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x683  Stepping = 3
  Features=0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
real memory  = 268369920 (262080K bytes)
Physical memory chunk(s):
0x00001000 - 0x0009efff, 647168 bytes (158 pages)
0x0050f000 - 0x0ffe7fff, 263032832 bytes (64217 pages)
avail memory = 256020480 (250020K bytes)
bios32: Found BIOS32 Service Directory header at 0xc00f7210
bios32: Entry = 0xfd890 (c00fd890)  Rev = 0  Len = 1
pcibios: PCI BIOS entry at 0xfd890+0x11e
pnpbios: Found PnP BIOS data at 0xc00f7240
pnpbios: Entry = f0000:a600  Rev = 1.0
pnpbios: Event flag at 4b4
Other BIOS signatures found:
Preloaded elf kernel "kernel" at 0xc04e9000.
null: <null device, zero device>
random: <entropy source>
mem: <memory & I/O>
Pentium Pro MTRR support enabled
Using $PIR table, 7 entries at 0xc00fdf50
apm0: <APM BIOS> on motherboard
apm0: found APM BIOS v1.2, connected at v1.2
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Intel 82443BX (440 BX) host to PCI bridge> at pcibus 0 on motherboard
pci0: physical bus=0
	map[10]: type 3, range 32, base e0000000, size 26, enabled
found->	vendor=0x8086, dev=0x7190, revid=0x03
	bus=0, slot=0, func=0
	class=06-00-00, hdrtype=0x00, mfdev=0
found->	vendor=0x8086, dev=0x7191, revid=0x03
	bus=0, slot=1, func=0
	class=06-04-00, hdrtype=0x01, mfdev=0
found->	vendor=0x104c, dev=0xac51, revid=0x00
	bus=0, slot=4, func=0
	class=06-07-00, hdrtype=0x02, mfdev=1
	intpin=a, irq=255
	powerspec 1  supports D0 D1 D2 D3  current D0
found->	vendor=0x104c, dev=0xac51, revid=0x00
	bus=0, slot=4, func=1
	class=06-07-00, hdrtype=0x02, mfdev=1
	intpin=a, irq=255
	powerspec 1  supports D0 D1 D2 D3  current D0
found->	vendor=0x8086, dev=0x7110, revid=0x02
	bus=0, slot=7, func=0
	class=06-80-00, hdrtype=0x00, mfdev=1
	map[20]: type 4, range 32, base 00001050, size  4, enabled
found->	vendor=0x8086, dev=0x7111, revid=0x01
	bus=0, slot=7, func=1
	class=01-01-80, hdrtype=0x00, mfdev=0
	map[20]: type 4, range 32, base 00001060, size  5, enabled
found->	vendor=0x8086, dev=0x7112, revid=0x01
	bus=0, slot=7, func=2
	class=0c-03-00, hdrtype=0x00, mfdev=0
	intpin=d, irq=7
	map[90]: type 4, range 32, base 00001040, size  4, enabled
found->	vendor=0x8086, dev=0x7113, revid=0x03
	bus=0, slot=7, func=3
	class=06-80-00, hdrtype=0x00, mfdev=0
	map[10]: type 4, range 32, base 00001400, size  8, enabled
found->	vendor=0x125d, dev=0x1978, revid=0x10
	bus=0, slot=8, func=0
	class=04-01-00, hdrtype=0x00, mfdev=0
	intpin=a, irq=7
	powerspec 2  supports D0 D1 D2 D3  current D0
	map[10]: type 1, range 32, base f4000000, size  8, enabled
	map[14]: type 4, range 32, base 00001080, size  3, enabled
	map[18]: type 4, range 32, base 00001800, size  8, enabled
found->	vendor=0x11c1, dev=0x0450, revid=0x00
	bus=0, slot=16, func=0
	class=07-80-00, hdrtype=0x00, mfdev=0
	intpin=a, irq=7
	powerspec 2  supports D0 D3  current D0
pci0: <PCI bus> on pcib0
pcib1: <PCI-PCI bridge> at device 1.0 on pci0
pcib1:   secondary bus     1
pcib1:   subordinate bus   1
pcib1:   I/O decode        0x2000-0x2fff
pcib1:   memory decode     0xf4100000-0xf41fffff
pcib1:   prefetched decode 0xf8000000-0xfbffffff
pci1: physical bus=1
	map[10]: type 3, range 32, base f8000000, size 26, enabled
	map[14]: type 4, range 32, base 00002000, size  8, enabled
	map[18]: type 1, range 32, base f4100000, size 14, enabled
found->	vendor=0x1002, dev=0x4c46, revid=0x02
	bus=1, slot=0, func=0
	class=03-00-00, hdrtype=0x00, mfdev=0
	intpin=a, irq=11
	powerspec 2  supports D0 D1 D2 D3  current D0
pci1: <PCI bus> on pcib1
pci1: <display, VGA> at 0.0 (no driver attached)
pcic-pci0: <TI PCI-1420 PCI-CardBus Bridge> at device 4.0 on pci0
pcic-pci0: TI12XX PCI Config Reg: [ring enable][speaker enable][pwr save][FUNC pci int + CSC serial isa irq]
pcic-pci0: Legacy address set to 0x3e0
PCI Config space:
00:  ac51104c 02100007 06070000 00820000
10:  00000000 020000a0 20000000 00000000
20:  00000000 00000000 00000000 00000000
30:  00000000 00000000 00000000 03c001ff
40:  001114c0 000003e1 00000000 00000000
50:  00000000 00000000 00000000 00000000
60:  00000000 00000000 00000000 00000000
70:  00000000 00000000 00000000 00000000
80:  20449060 00000000 00000000 01021c02
90:  606682c0 00000000 00000000 00000000
Cardbus Socket registers:
00:  f000ff53: f000ff53: f000e2c3: f000ff53:
10:  f000ff53: f000ff54: f00092e9: f000ff53:
ExCa registers:
00: eb 88 d5 43 30 d2 66 f7 f3 88 d7 5a 66 3d ff 03
10: 00 00 fb 77 44 86 c4 c0 c8 02 08 e8 40 91 88 fe
20: 28 e0 8a 66 02 38 e0 72 02 88 e0 bf 05 00 c4 5e
30: 04 50 b4 02 cd 13 5b 73 0a 4f 74 1c 30 e4 cd 13
pcic-pci1: <TI PCI-1420 PCI-CardBus Bridge> at device 4.1 on pci0
pcic-pci1: TI12XX PCI Config Reg: [ring enable][speaker enable][pwr save][FUNC pci int + CSC serial isa irq]
PCI Config space:
00:  ac51104c 02100007 06070000 00820000
10:  00000000 020000a0 20000000 00000000
20:  00000000 00000000 00000000 00000000
30:  00000000 00000000 00000000 03c001ff
40:  001114c0 000003e1 00000000 00000000
50:  00000000 00000000 00000000 00000000
60:  00000000 00000000 00000000 00000000
70:  00000000 00000000 00000000 00000000
80:  20449060 00000000 00000000 01021c02
90:  606682c0 00000000 00000000 00000000
Cardbus Socket registers:
00:  f000ff53: f000ff53: f000e2c3: f000ff53:
10:  f000ff53: f000ff54: f00092e9: f000ff53:
ExCa registers:
00: eb 88 d5 43 30 d2 66 f7 f3 88 d7 5a 66 3d ff 03
10: 00 00 fb 77 44 86 c4 c0 c8 02 08 e8 40 91 88 fe
20: 28 e0 8a 66 02 38 e0 72 02 88 e0 bf 05 00 c4 5e
30: 04 50 b4 02 cd 13 5b 73 0a 4f 74 1c 30 e4 cd 13
PCI-ISA bridge with incorrect subclass 0x80
PCI-ISA bridge with incorrect subclass 0x80
isab0: <PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX4 ATA33 controller> port 0x1050-0x105f at device 7.1 on pci0
ata0: iobase=0x01f0 altiobase=0x03f6 bmaddr=0x1050
ata0: mask=03 ostat0=50 ostat2=00
ata0-slave: ATAPI probe 00 00
ata0-master: ATAPI probe 00 00
ata0: mask=03 stat0=50 stat1=00
ata0-master: ATA probe 01 a5
ata0: devices=01
ata0: at 0x1f0 irq 14 on atapci0
ata1: iobase=0x0170 altiobase=0x0376 bmaddr=0x1058
ata1: mask=03 ostat0=50 ostat2=01
ata1-master: ATAPI probe 14 eb
ata1-slave: ATAPI probe ff ff
ata1: mask=03 stat0=00 stat1=01
ata1-slave: ATA probe 00 ff
ata1: devices=04
ata1: at 0x170 irq 15 on atapci0
uhci0: <Intel 82371AB/EB (PIIX4) USB controller> port 0x1060-0x107f irq 7 at device 7.2 on pci0
usb0: <Intel 82371AB/EB (PIIX4) USB controller> on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
pci0: <bridge, PCI-unknown> at 7.3 (no driver attached)
pcm0: <ESS Technology Maestro-2E> port 0x1400-0x14ff irq 7 at device 8.0 on pci0
setmap (57a000, 4000), nseg=1, error=0
pcm0: Maestro DMA base: 0x57a000
pcm0: ac97 codec id 0x83847609 (SigmaTel STAC9721/9723)
pcm0: ac97 codec features 18 bit DAC, 18 bit ADC, 5 bit master volume, SigmaTel 3D Enhancement
pcm0: ac97 primary codec extended features AMAP
setmap (582000, 4000), nseg=1, error=0
pcm0: pch[0].offset = 0x8000
setmap (58c000, 4000), nseg=1, error=0
pcm0: pch[1].offset = 0x12000
setmap (594000, 4000), nseg=1, error=0
pcm0: pch[2].offset = 0x1a000
setmap (5af000, 4000), nseg=1, error=0
pcm0: pch[3].offset = 0x35000
pci0: <simple comms> at 16.0 (no driver attached)
ata-: ata0 already exists, using ata2 instead
ata-: ata1 already exists, using ata3 instead
pcm-: pcm0 already exists, using pcm1 instead
Trying Read_Port at 203
Trying Read_Port at 243
Trying Read_Port at 283
Trying Read_Port at 2c3
Trying Read_Port at 303
Trying Read_Port at 343
Trying Read_Port at 383
Trying Read_Port at 3c3
pnpbios: 16 devices, largest 170 bytes
PNP0c02: adding io range 0x80-0x80, size=0x1, align=0x1
PNP0c02: adding fixed memory32 range 0xfff80000-0xffffffff, size=0x80000
PNP0c02: end config
pnpbios: handle 0 device ID PNP0c02 (020cd041)
PNP0c01: adding fixed memory32 range 0-0x9ffff, size=0xa0000
PNP0c01: adding fixed memory32 range 0xe4000-0xfffff, size=0x1c000
PNP0c01: adding fixed memory32 range 0x100000-0xfffffff, size=0xff00000
PNP0c01: end config
pnpbios: handle 1 device ID PNP0c01 (010cd041)
PNP0200: adding io range 0-0xf, size=0x10, align=0x1
PNP0200: adding io range 0x81-0x8f, size=0xf, align=0x1
PNP0200: adding io range 0xc0-0xdf, size=0x20, align=0x1
PNP0200: adding dma mask 0x10
PNP0200: end config
pnpbios: handle 2 device ID PNP0200 (0002d041)
PNP0000: adding io range 0x20-0x21, size=0x2, align=0x1
PNP0000: adding io range 0xa0-0xa1, size=0x2, align=0x1
PNP0000: adding irq mask 0x4
PNP0000: end config
pnpbios: handle 3 device ID PNP0000 (0000d041)
PNP0100: adding io range 0x40-0x43, size=0x4, align=0x1
PNP0100: adding irq mask 0x1
PNP0100: end config
pnpbios: handle 4 device ID PNP0100 (0001d041)
PNP0b00: adding io range 0x70-0x71, size=0x2, align=0x1
PNP0b00: adding irq mask 0x100
PNP0b00: end config
pnpbios: handle 5 device ID PNP0b00 (000bd041)
PNP0303: adding io range 0x60-0x60, size=0x1, align=0x1
PNP0303: adding io range 0x64-0x64, size=0x1, align=0x1
PNP0303: adding irq mask 0x2
PNP0303: end config
pnpbios: handle 6 device ID PNP0303 (0303d041)
PNP0c04: adding io range 0xf0-0xff, size=0x10, align=0x1
PNP0c04: adding irq mask 0x2000
PNP0c04: end config
pnpbios: handle 7 device ID PNP0c04 (040cd041)
PNP0800: adding io range 0x61-0x61, size=0x1, align=0x1
PNP0800: end config
pnpbios: handle 8 device ID PNP0800 (0008d041)
PNP0a03: adding io range 0xcf8-0xcff, size=0x8, align=0x1
PNP0a03: end config
pnpbios: handle 9 device ID PNP0a03 (030ad041)
PNP0c02: adding io range 0x4d0-0x4d1, size=0x2, align=0x1
PNP0c02: adding io range 0x1000-0x103f, size=0x40, align=0x1
PNP0c02: adding io range 0x1040-0x104f, size=0x10, align=0x1
PNP0c02: adding io range 0x10-0x18, size=0x9, align=0x1
PNP0c02: adding io range 0x1f-0x1f, size=0x1, align=0x1
PNP0c02: adding io range 0x24-0x25, size=0x2, align=0x1
PNP0c02: adding io range 0x28-0x29, size=0x2, align=0x1
PNP0c02: adding io range 0x2c-0x2d, size=0x2, align=0x1
PNP0c02: adding io range 0x30-0x31, size=0x2, align=0x1
PNP0c02: adding io range 0x34-0x35, size=0x2, align=0x1
PNP0c02: adding io range 0x38-0x39, size=0x2, align=0x1
PNP0c02: adding io range 0x3c-0x3d, size=0x2, align=0x1
PNP0c02: adding io range 0x50-0x52, size=0x3, align=0x1
PNP0c02: adding io range 0x72-0x77, size=0x6, align=0x1
PNP0c02: adding io range 0x90-0x9f, size=0x10, align=0x1
PNP0c02: adding io range 0xa4-0xa5, size=0x2, align=0x1
PNP0c02: adding io range 0xa8-0xa9, size=0x2, align=0x1
PNP0c02: adding io range 0xac-0xad, size=0x2, align=0x1
PNP0c02: adding io range 0xb0-0xbd, size=0xe, align=0x1
PNP0c02: end config
pnpbios: handle 10 device ID PNP0c02 (020cd041)
PNP0c02: skipping empty range
PNP0c02: end config
pnpbios: handle 12 device ID PNP0c02 (020cd041)
PNP0c02: adding fixed memory32 range 0xcf000-0xcffff, size=0x1000
PNP0c02: end config
pnpbios: handle 13 device ID PNP0c02 (020cd041)
PNP0501: adding io range 0x3f8-0x3ff, size=0x8, align=0x1
PNP0501: adding irq mask 0x10
PNP0501: end config
pnpbios: handle 15 device ID PNP0501 (0105d041)
PNP0f13: end config
pnpbios: handle 17 device ID PNP0f13 (130fd041)
PNP0700: adding io range 0x3f0-0x3f5, size=0x6, align=0x1
PNP0700: adding io range 0x3f7-0x3f7, size=0x1, align=0x1
PNP0700: adding irq mask 0x40
PNP0700: adding dma mask 0x4
PNP0700: end config
pnpbios: handle 20 device ID PNP0700 (0007d041)
sc-: sc0 already exists, using sc1 instead
vga-: vga0 already exists, using vga1 instead
isa_probe_children: disabling PnP devices
isa_probe_children: probing non-PnP devices
adv0 failed to probe on isa0
aha0 failed to probe on isa0
aic0 failed to probe on isa0
ata2 failed to probe at port 0x1f0 irq 14 on isa0
ata3 failed to probe at port 0x170 irq 15 on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
atkbd: the current kbd controller command byte 0047
atkbd: keyboard ID 0x41ab (2)
kbd0 at atkbd0
kbd0: atkbd0, AT 101/102 (2), config:0x1, flags:0x3d0000
psm0: current command byte:0047
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model Generic PS/2 mouse, device ID 0-00, 2 buttons
psm0: config:00006000, flags:00000000, packet size:3
psm0: syncmask:c0, syncbits:00
bt0 failed to probe on isa0
cs0 failed to probe at port 0x300 on isa0
ed0 failed to probe at port 0x280-0x29f iomem 0xd8000 irq 10 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
fe0 failed to probe at port 0x300 on isa0
ie0 failed to probe at port 0x300 iomem 0xd0000 irq 10 on isa0
le0 failed to probe at port 0x300 iomem 0xd0000 irq 5 on isa0
lnc0 failed to probe at port 0x280 irq 10 drq 0 on isa0
pcic0: <VLSI 82C146> at port 0x3e0 iomem 0xd0000 on isa0
pccard0: <PC Card bus (classic)> on pcic0
pccard1: <PC Card bus (classic)> on pcic0
pcic0: Polling mode
stat is 0
stat is 6d
pcic1: not probed (disabled)
mss_probe: no address given, try 0x530
mss_detect, busy still set (0xff)
pcm1 failed to probe at port 0x530-0x537,0xf8c-0xf94,0xe0e irq 10 drq 1 on isa0
pmtimer0 on isa0
ppc0: parallel port not found.
ppc0: <Parallel port> failed to probe at irq 7 on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sc0: fb0, kbd0, terminal emulator: sc (syscons terminal)
sio0: irq maps: 0x41 0x51 0x41 0x41
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: irq maps: 0x41 0x41 0x41 0x41
sio1: probe failed test(s): 0 1 2 4 6 7 9
sio1 failed to probe at port 0x2f8-0x2ff irq 3 on isa0
sio2: not probed (disabled)
sio3: not probed (disabled)
sn0 failed to probe at port 0x300 irq 10 on isa0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
fb0: vga0, vga, type:VGA (5), flags:0x7007f
fb0: port:0x3c0-0x3df, crtc:0x3d4, mem:0xa0000 0x20000
fb0: init mode:24, bios mode:3, current mode:24
fb0: window:0xc00b8000 size:32k gran:32k, buf:0 size:32k
vga0: vga: WARNING: video mode switching is not fully supported on this adapter
VGA parameters upon power-up
50 18 10 00 00 00 03 00 02 67 6f 4f 4f 93 55 c3 
9e 1f 00 4f 0d 0e 00 00 07 80 8f 82 8f 28 1f 8f 
9f a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 
3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff 
VGA parameters in BIOS for mode 24
50 18 0e 00 10 01 03 00 02 a3 5f 4f 50 82 55 81 
bf 1f 00 4d 0b 0c 00 00 00 00 83 85 5d 28 1f 63 
ba a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 
3d 3e 3f 08 00 0f 00 00 00 00 00 00 10 0e 00 ff 
EGA/VGA parameters to be used for mode 24
50 18 10 00 00 00 03 00 02 67 6f 4f 4f 93 55 c3 
9e 1f 00 4f 0d 0e 00 00 07 80 8f 82 8f 28 1f 8f 
9f a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 
3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff 
vt0 failed to probe on isa0
sc1: no video adapter is found.
sc1: <System console> failed to probe on isa0
vga1: <Generic ISA VGA> failed to probe on isa0
isa_probe_children: probing PnP devices
unknown: <PNP0303> can't assign resources
unknown: <PNP0303> at port 0x60 on isa0
unknown: <PNP0800> failed to probe at port 0x61 on isa0
unknown: <PNP0501> can't assign resources
unknown: <PNP0501> at port 0x3f8-0x3ff on isa0
unknown: <PNP0f13> failed to probe on isa0
unknown: <PNP0700> can't assign resources
unknown: <PNP0700> at port 0x3f0-0x3f5 on isa0
BIOS Geometries:
 0:03feef3f 0..1022=1023 cylinders, 0..239=240 heads, 1..63=63 sectors
 0 accounted for
Device configuration finished.
bpf: lo0 attached
bpf: ppp0 attached
bpf: faith0 attached
bpf: gif0 attached
bpf: gif1 attached
bpf: gif2 attached
bpf: gif3 attached
ad0: success setting UDMA2 on Intel chip
Creating DISK ad0
ad0: <IBM-DJSA-220/JS4OAC3A> ATA-5 disk at ata0-master
ad0: 19077MB (39070080 sectors), 38760 C, 16 H, 63 S, 512 B
ad0: 16 secs/int, 1 depth queue, UDMA33
ad0: piomode=4 dmamode=2 udmamode=4 cblid=1
ata1-master: piomode=4 dmamode=0 udmamode=-1 dmaflag=1
ata1-master: success setting PIO4 on generic chip
acd0: <UJDA310/1.37> CD-RW drive at ata1 as master
acd0: read 3445KB/s (50012KB/s) write 689KB/s (689KB/s), 2048KB buffer, PIO4
acd0: Reads: CD-R, CD-RW, CD-DA stream, packet
acd0: Writes: CD-R, CD-RW, test write
acd0: Audio: play, 255 volume levels
acd0: Mechanism: ejectable trayacd0: Medium: no/blank disc, unlocked
Mounting root from ufs:/dev/ad0s3a
pccard: card inserted, slot 1
ad0s1: type 0xa5, start 63, end = 2086559, size 2086497 : OK
ad0s2: type 0xa5, start 2086560, end = 4173119, size 2086560 : OK
ad0s3: type 0xa5, start 5231520, end = 39070079, size 33838560 : OK
ad0s4: type 0xa0, start 4173120, end = 5231519, size 1058400 : OK
ad0s4: raw partition size != slice size
ad0s4: start 4173120, end 5231519, size 1058400
ad0s4c: start 4173120, end 6259679, size 2086560
ad0s4: truncating raw partition
ad0s4: rejecting partition in BSD label: it isn't entirely within the slice
ad0s4: start 4173120, end 5231519, size 1058400
ad0s4e: start 4369728, end 6259679, size 1889952
start_init: trying /sbin/init

And here's "vmstat -i", in case that's of interest/use:
dhcp-140[2] vmstat -i
interrupt      total      rate
stray irq0          1        0
stray irq3          1        0
stray irq6          1        0
ata0 irq14       3521       11
ata1 irq15          4        0
atkbd0 irq1      1093        3
psm0 irq12       1050        3
fdc0 irq6           1        0
clk irq0        29761       99
an0 irq3         2406        8
Total           37839      126
dhcp-140[3] 



At this point, I have a fair degree of confidence that whatever was
causing the problem can probably be found, and its source code updated.
But while -CURRENT appears to be OK for "normal" use for me, I'm not
doing so well in the "make buildworld" department, so getting the fix
implemented sounds as if it could prove challenging.  (This might be a
time to actually do the build while running -STABLE, chrooted into the
-CURRENT /, perhaps.  Here's the disk layout:

Filesystem  1K-blocks     Used    Avail Capacity  Mounted on
/dev/ad0s3a     95263    73738    13904    84%    /
devfs               1        1        0   100%    /dev
/dev/ad0s1a     95263    40812    46830    47%    /S1
/dev/ad0s1e    915695   777472    64968    92%    /S1/usr
/dev/ad0s2a     95263    41030    46612    47%    /S2
/dev/ad0s2e    915727   776108    66361    92%    /S2/usr
/dev/ad0s3e    915727   733308   109161    87%    /usr
/dev/ad0s3g    254063   100438   133300    43%    /var
/dev/ad0s3h  14116697  3894246  9093116    30%    /common
procfs              4        4        0   100%    /proc
/dev/md10c     520140       16   478516     0%    /tmp

I'm not overwhelmingly confident of the likely results from this
process, though.  Thoughts?)

Thanks,
david
-- 
David H. Wolfskill				david@catwhisker.org
As a computing professional, I believe it would be unethical for me to
advise, recommend, or support the use (save possibly for personal
amusement) of any product that is or depends on any Microsoft product.

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200105181748.f4IHmJS88409>