Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Jan 2000 16:34:00 +0000 (GMT)
From:      Mark Powell <M.S.Powell@salford.ac.uk>
To:        freebsd-stable@freebsd.org
Subject:   VM problems with recent 3.4-S and DPT controllers
Message-ID:  <Pine.BSF.4.05.10001191417520.6755-100000@plato.salford.ac.uk>

next in thread | raw e-mail | index | archive | help
I have 3 machines which are to become SMTP servers. All three are
identical config except two have DPT controllers and one has an Adaptec
2940U2W.
  I've been keeping up with 3.4-S, with latest cvsup this morning. Exactly
the same kernel is used on all three machines, so the dpt and the ahc
driver are in there. The dpt machines will start producing vm_fault error
messages after a while of running. A long running command such as
"tar cfl /all.tar /" usually does the trick. This has been occuring since
last week.
  I thought cvsupping might get it to a stage where the problem was fixed,
but no.
  Sample errors:

Jan 19 15:44:00 rhea syslogd: /var/log/all: Input/output error
Jan 19 15:44:00 rhea /kernel: spec_getpages: I/O read failure: (error
code=5)
Jan 19 15:44:00 rhea /kernel: size: 20480, resid: 20480, a_count: 20480,
valid: 0x0
Jan 19 15:44:00 rhea /kernel: nread: 0, reqpage: 4, pindex: 15, pcount: 5
Jan 19 15:44:00 rhea /kernel: vm_fault: pager read error, pid 61311 (tar)

Once they've hit this state any command will usually produce a
segmentation fault. Sometimes reboot works sometimes not:

rhea:/ # reboot
Jan 19 15:52:38 rhea /kernel: spec_getpages: I/O read failure: (error
code=5)
Jan 19 15:52:38 rhea /kernel: size: 65536, resid: 65536, a_count: 65536,
valid: 0x0
Jan 19 15:52:38 rhea /kernel: nread: 0, reqpage: 0, pindex: 0, pcount: 16
bash: /sbin/reboot: Input/output error
rhea:/ #

Going back to the 3.4-R GENERIC kernel cures the problem. So it's either
something that's changed since 3.4-R or maybe my config file is screwy. I
cvsupped one machine back to 3.4-R and used the same kernel config file.
The problem was cured. If I use the GENERIC config file with the latest
3.4-S source I get the same problems.
  The Adaptec machine has no problems at all. Looks like something has
changed which is screwing these DPT machines.

All three machines have:

Asus P3B-F
512MB RAM
Intel EtherExpress Pro 100+
2 x 9GB 10K rpm IBM drives

(I have two other web cache machines with the exact same config except 6
drives and 1GB RAM. They have DPT controllers and run 3.3-R no problem).

All three have the following config file (I also tried taking the smb
stuff out, but with no improvement):

------------------
machine		"i386"
cpu		"I586_CPU"
cpu		"I686_CPU"
ident		SMTP
maxusers	128
options         "NMBCLUSTERS=8192"
#options		MSIZE="256"
#options         "MAXDSIZ=(1024*1024*1024)"
#options         "DFLDSIZ=(1024*1024*1024)"
options		INET			
options		FFS			
options		FFS_ROOT		
options         "SOFTUPDATES"
options         "AUTO_EOI_1"
options		"COMPAT_43"		
options         SCSI_REPORT_GEOMETRY
options		SCSI_DELAY=0
options		VESA
options		"VM86"
options		UCONSOLE
options		FAILSAFE
options         "INCLUDE_CONFIG_FILE"
#options         DDB
#options         DDB_UNATTENDED
config		kernel	root on da0
controller	isa0
controller	pci0
controller      dpt0
options DPT_ALLOW_MEMIO
controller	fdc0	at isa? port "IO_FD1" bio irq 6 drq 2
disk		fd0	at fdc0 drive 0
# Enable PnP support in the kernel.  This allows you to automaticly
# attach to PnP cards for drivers that support it and allows you to
# configure cards from USERCONFIG.  See pnp(4) for more info.
controller      pnp0

# 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 flags 0x0
#controller      ncr0
controller      ahc0
controller	scbus0
device		da0
device		sa0
device		pass0
device		cd0	
device		npx0	at isa? port IO_NPX irq 13
device		sio0	at isa? port "IO_COM1" flags 0x10 tty irq 4
device		sio1	at isa? port "IO_COM2" tty irq 3
device		sio2	at isa? disable port "IO_COM3" tty irq 5
device		sio3	at isa? disable port "IO_COM4" tty irq 9
controller      atkbdc0 at isa? port IO_KBD tty
device          atkbd0  at isa? tty irq 1
device          vga0    at isa? port ? conflicts
device          sc0     at isa? tty
pseudo-device   splash
device fxp0
# Parallel port
device          ppc0    at isa? port? net irq 7
controller      ppbus0
device          nlpt0   at ppbus?
device          plip0   at ppbus?
device          ppi0    at ppbus?
#controller     vpo0    at ppbus?
pseudo-device	loop
pseudo-device	ether
pseudo-device	pty	16
#pseudo-device   ppp     1
pseudo-device   speaker         
pseudo-device   vn      1       
pseudo-device   snp     2       
options		KTRACE		
pseudo-device	bpfilter 2	
options         SYSVSHM
options         SYSVSEM
options         SYSVMSG
options         "MD5"
options         "ICMP_BANDLIM"
controller      smbus0
controller      iicbus0
controller      iicbb0
controller      intpm0
device          smb0    at smbus?
--------------

The dmesg output for the DPT machines is:

--------------
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.4-STABLE #0: Wed Jan 19 09:23:21 GMT 2000
root@rhea.salford.ac.uk:/usr/src/sys/compile/SMTP
Timecounter "i8254"  frequency 1193182 Hz
Timecounter "TSC"  frequency 451024898 Hz
CPU: Pentium III (451.02-MHz 686-class CPU)
Origin = "GenuineIntel"  Id = 0x673  Stepping = 3
Features=0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,<b25>>
real memory  = 536870912 (524288K bytes)
avail memory = 519884800 (507700K bytes)
Preloaded elf kernel "kernel" at 0xc0281000.
Pentium Pro MTRR support enabled
Probing for devices on PCI bus 0:
chip0: <Intel 82443BX host to PCI bridge> rev 0x03 on pci0.0.0
chip1: <Intel 82443BX host to AGP bridge> rev 0x03 on pci0.1.0
chip2: <Intel 82371AB PCI to ISA bridge> rev 0x02 on pci0.4.0
intpm0: <Intel 82371AB Power management controller> rev 0x02 on pci0.4.3
intpm0: I/O mapped e800 ALLOCED IRQ 0 intr IRQ 9 enabled revision 0
intsmb0: <Intel PIIX4 SMBUS Interface>
smbus0: <System Management Bus> on intsmb0
smb0: <SMBus general purpose I/O> on smbus0
intpm0: PM I/O mapped e400 
fxp0: <Intel EtherExpress Pro 10/100B Ethernet> rev 0x08 int a irq 10 on pci0.9.0
fxp0: Ethernet address 00:d0:b7:0b:1b:5f
dpt0: <DPT Caching SCSI RAID Controller> rev 0x02 int a irq 11 on pci0.11.0
dpt0: DPT PM3334UW FW Rev. 07M0, 2 channels, 64 CCBs
Probing for devices on PCI bus 1:
vga0: <ATI model 475a graphics accelerator> rev 0x7a on pci1.0.0
Probing for PnP devices:
Probing for devices on the ISA bus:
sc0 on isa
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
atkbdc0 at 0x60-0x6f on motherboard
atkbd0 irq 1 on isa
fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
fdc0: FIFO enabled, 8 bytes threshold
fd0: 1.44MB 3.5in
ppc0 at 0x378 irq 7 on isa
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
ppi0: <generic parallel i/o> on ppbus 0
plip0: <PLIP network interface> on ppbus 0
npx0 on motherboard
npx0: INT 16 interface
vga0 at 0x3b0-0x3df maddr 0xa0000 msize 131072 on isa
changing root device to da0s1a
da0 at dpt0 bus 0 target 0 lun 0
da0: <DPT RAID-1 07M0> Fixed Direct Access SCSI-2 device 
da0: 8747MB (17915728 512 byte sectors: 255H 63S/T 1115C)
WARNING: / was not properly dismounted
---------------

The Adaptec machines 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.4-STABLE #0: Wed Jan 19 09:23:21 GMT 2000
root@rhea.salford.ac.uk:/usr/src/sys/compile/SMTP
Timecounter "i8254"  frequency 1193182 Hz
Timecounter "TSC"  frequency 451024877 Hz
CPU: Pentium III (451.02-MHz 686-class CPU)
Origin = "GenuineIntel"  Id = 0x673  Stepping = 3
Features=0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,<b25>>
real memory  = 536870912 (524288K bytes)
avail memory = 519888896 (507704K bytes)
Preloaded elf kernel "kernel" at 0xc0281000.
Pentium Pro MTRR support enabled
Probing for devices on PCI bus 0:
chip0: <Intel 82443BX host to PCI bridge> rev 0x03 on pci0.0.0
chip1: <Intel 82443BX host to AGP bridge> rev 0x03 on pci0.1.0
chip2: <Intel 82371AB PCI to ISA bridge> rev 0x02 on pci0.4.0
intpm0: <Intel 82371AB Power management controller> rev 0x02 on pci0.4.3
intpm0: I/O mapped e800 ALLOCED IRQ 0 intr IRQ 9 enabled revision 0
intsmb0: <Intel PIIX4 SMBUS Interface>
smbus0: <System Management Bus> on intsmb0
smb0: <SMBus general purpose I/O> on smbus0
intpm0: PM I/O mapped e400 
fxp0: <Intel EtherExpress Pro 10/100B Ethernet> rev 0x08 int a irq 10 on pci0.10.0
fxp0: Ethernet address 00:d0:b7:0b:26:ba
ahc0: <Adaptec 2940 Ultra2 SCSI adapter> rev 0x00 int a irq 11 on pci0.12.0
ahc0: aic7890/91 Wide Channel A, SCSI Id=7, 16/255 SCBs
Probing for devices on PCI bus 1:
vga0: <ATI model 475a graphics accelerator> rev 0x7a on pci1.0.0
Probing for PnP devices:
Probing for devices on the ISA bus:
sc0 on isa
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
atkbdc0 at 0x60-0x6f on motherboard
atkbd0 irq 1 on isa
fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
fdc0: FIFO enabled, 8 bytes threshold
fd0: 1.44MB 3.5in
ppc0 at 0x378 irq 7 on isa
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
ppi0: <generic parallel i/o> on ppbus 0
plip0: <PLIP network interface> on ppbus 0
npx0 on motherboard
npx0: INT 16 interface
vga0 at 0x3b0-0x3df maddr 0xa0000 msize 131072 on isa
changing root device to da0s1a
da0 at ahc0 bus 0 target 0 lun 0
da0: <IBM DMVS09V 0100> Fixed Direct Access SCSI-3 device 
da0: 80.000MB/s transfers (40.000MHz, offset 31, 16bit), Tagged Queueing Enabled
da0: 8748MB (17916240 512 byte sectors: 255H 63S/T 1115C)
da1 at ahc0 bus 0 target 1 lun 0
da1: <IBM DMVS09V 0100> Fixed Direct Access SCSI-3 device 
da1: 80.000MB/s transfers (40.000MHz, offset 31, 16bit), Tagged Queueing Enabled
da1: 8748MB (17916240 512 byte sectors: 255H 63S/T 1115C)
----------------

Mark Powell - UNIX System Administrator - Clifford Whitworth Building
A.I.S., University of Salford, Salford, Manchester, UK.
Tel: +44 161 295 5936  Fax: +44 161 295 5888  www.pgp.com for PGP key
M.S.Powell@ais.salfrd.ac.uk (spell salford correctly to reply to me)




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?Pine.BSF.4.05.10001191417520.6755-100000>