Skip site navigation (1)Skip section navigation (2)
Date:      12 Jan 1999 02:08:40 +0100
From:      "Frank J. Beckmann" <infjb@atlantis.rz.tu-clausthal.de>
To:        freebsd-current@FreeBSD.ORG
Subject:   syncing disks ... giving up
Message-ID:  <77e7ao$sar$1@atlantis.rz.tu-clausthal.de>

next in thread | raw e-mail | index | archive | help
Hi,

until a few days ago I used 3.0-current elf with a.out kernel of early 
december. Then i updated to a curent current and elf kernel. Since then
my disks can't get synced when I do a shutdown. It says "syncing disks..."
and the number of busy local buffers goes down to 5 or for, but not below
that number. Syncing the disks only succedes in one in about 10 times.

Another problem is related to apm. Halting used to switch my ATX
mainboard of but that doesn't work anymore.

This 2 problems happen with and without SMP enabled.

I have also a SMP problem. I get hundreds of silo overflows under load
with SMP but I don't get that errors without SMP.

Last question is: does rc.shutdown ever get executed?

My hardware is an Intel DK440LX with 2 Pentium II 333.

Config:
#
# VOGON -- Intel DK440LX
#

machine		"i386"
cpu		"I686_CPU"
ident		VOGON
maxusers	64

options		"MAXDSIZ=(512*1024*1024)"
options		"DFLDSIZ=(512*1024*1024)"
options		PQ_LARGECACHE		# color for 512k/16k cache

options		SMP
options		APIC_IO

options		INCLUDE_CONFIG_FILE	#Include this file in kernel
options		INET			#InterNETworking
options		FFS			#Berkeley Fast Filesystem
options		NFS			#Network Filesystem
options		MSDOSFS			#MSDOS Filesystem
options		"CD9660"		#ISO 9660 Filesystem
options		"CD9660_ROOT"		#CD-ROM usable as root device
options		FFS_ROOT		#FFS usable as root device [keep this!]
options		NFS_ROOT		#NFS usable as root device
options		PROCFS			#Process filesystem
options		KERNFS			#Kernel filesystem
options		MFS			#Memory File System
options		"COMPAT_43"		#Compatible with BSD 4.3 [KEEP THIS!]
options		"SCSI_DELAY=6000"	#Be pessimistic about Joe SCSI device
options         "CAM_MAX_HIGHPOWER=4"
options		UCONSOLE		#Allow users to grab the console
options		FAILSAFE		#Be conservative
#options	USERCONFIG		#boot -c editor
#options	VISUAL_USERCONFIG	#visual boot -c editor
options		USER_LDT		#allow user-level control of i386 ldt
options		"MD5"
options		"VM86"
options		PERFMON
#options         MROUTING                # Multicast routing
options		IPFIREWALL		#firewall
options		IPFIREWALL_VERBOSE	#print information about
					# dropped packets
options		IPFIREWALL_FORWARD      #enable xparent proxy support
#options	IPFIREWALL_DEFAULT_TO_ACCEPT #allow everything by default
options		IPDIVERT		#divert sockets
options		DUMMYNET
options		"ICMP_BANDLIM"
#options	IPFILTER		#kernel ipfilter support
#options	IPFILTER_LOG		#ipfilter logging
options         SC_HISTORY_SIZE=200     # number of history buffer lines
options		"NSWAPDEV=20"
options		SOFTUPDATES
options		CONSPEED=115200
options		DDB
options		SHOW_BUSYBUFS
#options	"P1003_1B"
#options	"_KPOSIX_PRIORITY_SCHEDULING"
#options	"_KPOSIX_VERSION=199309L"

config		kernel	root on da0s1

controller	isa0
controller	pci0
controller      pnp0
controller	fdc0	at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr

disk		fd0	at fdc0 drive 0
disk		fd1	at fdc0 drive 1
#tape		ft0	at fdc0 drive 2

options		"CMD640"	# work around CMD640 chip deficiency
controller	wdc0	at isa? port "IO_WD1" bio irq 14 vector wdintr
disk		wd0	at wdc0 drive 0
disk		wd1	at wdc0 drive 1
controller	wdc1	at isa? port "IO_WD2" bio irq 15 vector wdintr
disk		wd2	at wdc1 drive 0
disk		wd3	at wdc1 drive 1

options		ATAPI		#Enable ATAPI support for IDE bus
options		ATAPI_STATIC	#Don't do it as an LKM
device		wcd0		#IDE CD-ROM
device		wfd0		#IDE Floppy (e.g. LS-120)

# A single entry for any of these controllers (ncr, ahb, ahc, amd) is
# sufficient for any number of installed devices.
#controller	ncr0
#controller	amd0
#controller	ahb0
controller	ahc0
controller	ahc1
#controller	sea0	at isa? bio irq 5 iomem 0xc8000 iosiz 0x2000 vector seaintr

controller	scbus0	at ahc0
controller	scbus1	at ahc1

device		da0
device		da4	at scbus0	target1
device		da5	at scbus1	target5
#device		od0	#See LINT for possible `od' options.
device		sa0	at scbus1	target0
device		sa1	at scbus0	target4
device		pass0
device		pt0	at scbus?
device		sctarg0	at scbus?
device		cd0	#Only need one of these, the code dynamically grows

# syscons is the default console driver, resembling an SCO console
device		sc0	at isa? port "IO_KBD" tty irq 1 vector scintr
# Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver
#device		vt0	at isa? port "IO_KBD" tty irq 1 vector pcrint
#options		XSERVER			# support for X server
#options		FAT_CURSOR		# start with block cursor
# If you have a ThinkPAD, uncomment this along with the rest of the PCVT lines
#options		PCVT_SCANSET=2		# IBM keyboards are non-std

device		npx0	at isa? port "IO_NPX" irq 13 vector npxintr

#
# Laptop support (see LINT for more options)
#
device		apm0    at isa?			# Advanced Power Management

# PCCARD (PCMCIA) support
#controller	card0
#device		pcic0	at card?
#device		pcic1	at card?

device		sio0	at isa? port "IO_COM1" flags 0x10 tty irq 4 vector siointr
device		sio1	at isa? port "IO_COM2" tty irq 3 vector siointr
device		sio2	at isa? disable port "IO_COM3" tty irq 5 vector siointr
device		sio3	at isa? disable port "IO_COM4" tty irq 9 vector siointr
device		lpt0	at isa? port? tty irq 7 vector lptintr
#device		lpt1	at isa? port? tty

#device		mse0	at isa? port 0x23c tty irq 5 vector mseintr
device		psm0	at isa? port "IO_KBD" conflicts tty irq 12 vector psmintr

# Order is important here due to intrusive probes, do *not* alphabetize
# this list of network interfaces until the probes have been fixed.
# Right now it appears that the ie0 must be probed before ep0. See
# revision 1.20 of this file.
device fxp0

pseudo-device	loop
pseudo-device	ether
pseudo-device	sl	6
pseudo-device	ppp	6
options PPP_BSDCOMP                     #PPP BSD-compress support
options PPP_DEFLATE                     #PPP zlib/deflate/gzip support
options PPP_FILTER                      #enable bpf filtering (needs bpfilter)
pseudo-device	tun	6
pseudo-device	pty	128
pseudo-device	gzip		# Exec gzipped a.out's
pseudo-device   bpfilter        4       #Berkeley packet filter
pseudo-device   speaker         #Play IBM BASIC-style noises out your speaker
pseudo-device   vn              #Vnode driver (turns a file into a device)
pseudo-device   snp     3       #Snoop device - to look at pty/vty/etc..
pseudo-device   ccd     4       #Concatenated disk driver

# KTRACE enables the system-call tracing facility ktrace(2).
# This adds 4 KB bloat to your kernel, and slightly increases
# the costs of each syscall.
options		KTRACE		#kernel tracing

# This provides support for System V shared memory.
#
options		SYSVSHM
options		SYSVSEM
options		SYSVMSG

# Luigi's snd code (use INSTEAD of snd0 and all VOXWARE drivers!).
# You may also wish to enable the pnp controller with this, for pnp
# sound cards.
#
device pcm0 at isa? port ? tty irq 10 drq 1 vector pcmintr

# Not controlled by `snd'
device pca0 at isa? port IO_TIMER1 tty

# The aic7xxx driver will attempt to use memory mapped I/O for all PCI
# controllers that have it configured only if this option is set. Unfortunately,
# this doesn't work on some motherboards, which prevents it from being the
# default.
options AHC_ALLOW_MEMIO

# VScom
options		"COM_MULTIPORT"
device sio4 at isa? port 0x100 tty flags 0xb05
device sio5 at isa? port 0x108 tty flags 0xb05
device sio6 at isa? port 0x110 tty flags 0x300b05
device sio7 at isa? port 0x118 tty flags 0x300b05
device sio8 at isa? port 0x140 tty flags 0xb05
device sio9 at isa? port 0x128 tty flags 0xb05
device sio10 at isa? port 0x130 tty flags 0xb05
device sio11 at isa? port 0x138 tty flags 0xb05 irq 11 vector siointr

device		bktr0

controller	smbus0
device		smb0	at smbus?

controller	iicbus0
controller	iicbb0
device		ic0	at iicbus?
device		iic0	at iicbus?
device		iicsmb0	at iicbus?

# USB support
controller	uhci0
controller	ohci0
controller	usb0

device		ums0
device		ukbd0
device		ulpt0
device		uhub0
device		ucom0
device		umodem0
device		hid0
device		ugen0

options		USBVERBOSE

dmesg:
Copyright (c) 1992-1999 FreeBSD Inc.
Copyright (c) 1982, 1986, 1989, 1991, 1993
	The Regents of the University of California. All rights reserved.
FreeBSD 3.0-CURRENT #0: Mon Jan 11 03:42:34 CET 1999
    root@vogon.agala.harz.de:/usr/src/sys/compile/VOGON
Timecounter "i8254"  frequency 1193182 Hz
CPU: Pentium II (quarter-micron) (686-class CPU)
  Origin = "GenuineIntel"  Id = 0x652  Stepping=2
  Features=0x183fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,<b24>>
real memory  = 67108864 (65536K bytes)
avail memory = 61906944 (60456K bytes)
Programming 24 pins in IOAPIC #0
FreeBSD/SMP: Multiprocessor motherboard
 cpu0 (BSP): apic id:  1, version: 0x00040011, at 0xfee00000
 cpu1 (AP):  apic id:  0, version: 0x00040011, at 0xfee00000
 io0 (APIC): apic id:  2, version: 0x00170011, at 0xfec00000
Preloaded elf kernel "kernel" at 0xf0324000.
Preloaded userconfig_script "/boot/sound.config" at 0xf032409c.
Probing for devices on PCI bus 0:
chip0: <Host to PCI bridge (vendor=8086 device=7180)> rev 0x03 on pci0.0.0
chip1: <PCI to PCI bridge (vendor=8086 device=7181)> rev 0x03 on pci0.1.0
chip2: <Intel 82371AB PCI to ISA bridge> rev 0x01 on pci0.2.0
ide_pci0: <Intel PIIX4 Bus-master IDE controller> rev 0x01 on pci0.2.1
uhci0: <Intel 82371AB/EB USB Host Controller> rev 0x01 int d irq 19 on pci0.2.2
usb0: USB version 1.0, interrupting at 9
chip3: <Intel 82371AB Power management controller> rev 0x01 on pci0.2.3
fxp0: <Intel EtherExpress Pro 10/100B Ethernet> rev 0x02 int a irq 19 on pci0.3.0
fxp0: Ethernet address 00:a0:c9:61:7f:06
ahc0: <Adaptec aic7895 Ultra SCSI adapter> rev 0x03 int a irq 17 on pci0.9.0
ahc0: aic7895 Wide Channel A, SCSI Id=7, 16/255 SCBs
ahc1: <Adaptec aic7895 Ultra SCSI adapter> rev 0x03 int b irq 17 on pci0.9.1
ahc1: aic7895 Wide Channel B, SCSI Id=7, 16/255 SCBs
vga0: <Matrox MGA 2164W graphics accelerator> rev 0x00 int a irq 18 on pci0.14.0
bktr0: <BrookTree 878> rev 0x02 int a irq 19 on pci0.15.0
bti2c0: <bt848 Hard/Soft I2C controller>
iicbb0: <I2C generic bit-banging driver> on bti2c0
iicbus0: <Philips I2C bus> on iicbb0 master-only
iicsmb0: <I2C to SMB bridge> on iicbus0
smbus0: <System Management Bus> on iicsmb0
smb0: <SMBus general purpose I/O> on smbus0
iic0: <I2C general purpose I/O> on iicbus0
smbus1: <System Management Bus> on bti2c0
smb1: <SMBus general purpose I/O> on smbus1
Hauppauge WinCast/TV, Philips FR1216 PAL tuner.
Probing for devices on PCI bus 1:
Probing for PnP devices:
CSN 1 Vendor ID: CSC0b35 [0x350b630e] Serial 0xffffffff Comp ID: @@@0000 [0x00000000]
mss_attach <CS4236B>1 at 0x530 irq 10 dma 1:0 flags 0x10
pcm1 (CS423x/Yamaha/AD1816 <CS4236B> sn 0xffffffff) at 0x530-0x537 irq 10 drq 1 flags 0x10 on isa
Probing for devices on the ISA bus:
sc0 at 0x60-0x6f irq 1 on motherboard
sc0: VGA color <16 virtual consoles, flags=0x0>
sio0 at 0x3f8-0x3ff irq 4 flags 0x10 on isa
sio0: type 16550A
sio1 at 0x2f8-0x2ff irq 3 on isa
sio1: type 16550A
lpt0 at 0x378-0x37f irq 7 on isa
lpt0: Interrupt-driven port
lp0: TCP/IP capable interface
psm0 at 0x60-0x64 irq 12 on motherboard
psm0: model Generic PS/2 mouse, device ID 0
pcm0 not probed due to drq conflict with pcm1 at 1
pca0 on motherboard
pca0: PC speaker audio driver
sio4 at 0x100-0x107 flags 0xb05 on isa
sio4: type 16550A (multiport)
sio5 at 0x108-0x10f flags 0xb05 on isa
sio5: type 16550A (multiport)
sio6 at 0x110-0x117 flags 0xb05 on isa
sio6: type 16550A (multiport)
sio7 at 0x118-0x11f flags 0xb05 on isa
sio7: type 16550A (multiport)
sio8 at 0x140-0x147 flags 0xb05 on isa
sio8: type 16550A (multiport)
sio9 at 0x128-0x12f flags 0xb05 on isa
sio9: type 16550A (multiport)
sio10 at 0x130-0x137 flags 0xb05 on isa
sio10: type 16550A (multiport)
sio11 at 0x138-0x13f irq 11 flags 0xb05 on isa
sio11: type 16550A (multiport master)
fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
fdc0: FIFO enabled, 8 bytes threshold
fd0: 1.44MB 3.5in
wdc0 not found at 0x1f0
wdc1 not found at 0x170
npx0 on motherboard
npx0: INT 16 interface
apm0 on isa
apm: found APM BIOS version 1.2
usb0: <Intel 82371AB/EB USB Host Controller>
usb1 at usb0
usb1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
usb1: 2 ports with 2 removable, self powered
APIC_IO: Testing 8254 interrupt delivery
APIC_IO: routing 8254 via pin 2
IP packet filtering initialized, divert enabled, rule-based forwarding enabled, unlimited logging
ccd0-3: Concatenated disk drivers
DUMMYNET initialized (980901) -- size dn_pkt 48
Waiting 6 seconds for SCSI devices to settle
SMP: AP CPU #1 Launched!
sa0 at ahc1 bus 0 target 0 lun 0
sa0: <WANGTEK 5150ES SCSI ES41 C510> Removable Sequential Access SCSI-CCS device 
sa0: 3.300MB/s transfers
da1 at ahc1 bus 0 target 1 lun 0
da1: <SyQuest SQ3270S 3-14> Removable Direct Access SCSI-2 device 
da1: 5.0MB/s transfers (5.0MHz, offset 15)
da1: 256MB (524288 512 byte sectors: 64H 32S/T 256C)
da4 at ahc0 bus 0 target 1 lun 0
da4: <IBM DPES-31080 S31Q> Fixed Direct Access SCSI-2 device 
da4: 10.0MB/s transfers (10.0MHz, offset 15), Tagged Queueing Enabled
da4: 1034MB (2118144 512 byte sectors: 64H 32S/T 1034C)
da5 at ahc1 bus 0 target 5 lun 0
da5: <IBM DPES-31080 S31Q> Fixed Direct Access SCSI-2 device 
da5: 10.0MB/s transfers (10.0MHz, offset 15), Tagged Queueing Enabled
da5: 1034MB (2118144 512 byte sectors: 64H 32S/T 1034C)
da0 at ahc0 bus 0 target 0 lun 0
da0: <IBM DDRS-34560W S92A> Fixed Direct Access SCSI-2 device 
da0: 40.0MB/s transfers (20.0MHz, offset 8, 16bit), Tagged Queueing Enabled
da0: 4357MB (8925000 512 byte sectors: 64H 32S/T 4357C)
ffs_mountfs: superblock updated for soft updates
ffs_mountfs: superblock updated for soft updates
ffs_mountfs: superblock updated for soft updates
ffs_mountfs: superblock updated for soft updates
cd0 at ahc1 bus 0 target 3 lun 0
cd0: <PLEXTOR CD-ROM PX-32TS 1.02> Removable CD-ROM SCSI-2 device 
cd0: 20.0MB/s transfers (20.0MHz, offset 15)
cd0: cd present [327291 x 2048 byte records]
(da0:ahc0:0:0:0): tagged openings now 64


Frank

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?77e7ao$sar$1>