Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Jan 1996 22:03:06 +0200 (EET)
From:      Juha Inkari <inkari@snakemail.hut.fi>
To:        current@freebsd.org
Subject:   spec_getpages: negative blkno
Message-ID:  <199601062003.WAA25535@lk-hp-20.hut.fi>

next in thread | raw e-mail | index | archive | help
The problem is, that trying to access a directory has resulted on hung
processed.

This manifested itself recently, when I dared to upgrade from an early
november current (src-cur ctm 1170) to the latest (thee times on
src-cur 1337, and now 1 time on src-cur ctm 1345).

I have noticed this, when trying to run a shell script from a
directory - the shell from where I try to run the script, get's hung.
After that, any other access to the inode of the directory, where the
target shell script is, will get the accessing process (for example ls
-ld) hung, too.

I have done a surface scan on the disk (with Adaptec 2940 controllers
scsiselect utility), and it did not found any defects.

The kernel reports the following:

spec_getpages: negative blkno (-3209856)
vm_fault: pager input (probably hardware) error, PID 10570 failure

(I have seen a blkno -2875552 in error messages, too.)

And the poor process (in this example, shell) is waiting forever:

agellidi # ps alw | egrep 'PID|10570'
  UID   PID  PPID CPU PRI NI   VSZ  RSS WCHAN  STAT  TT       TIME COMMAND
 1000 10570  1313   0 -18  0   840  332 pgtblk D+    p6    0:00.01 zsh

Below are attached the dmesg output and kernel configuration file,
too.

-----8<---------8<---------8<---------8<---------8<---------8<----
FreeBSD 2.2-CURRENT #0: Fri Jan  5 12:49:14 EET 1996
    inkari@agellidi.nullnet.fi:/home/source/FreeBSD/current/src/sys/compile/INKA
RI
CPU: Pentium (119.73-MHz 586-class CPU)
  Origin = "GenuineIntel"  Id = 0x525  Stepping=5
  Features=0x1bf<FPU,VME,PSE,MCE,CX8,APIC>
real memory  = 33554432 (32768K bytes)
avail memory = 29839360 (29140K bytes)
DEVFS: ready for devices
Probing for devices on the PCI bus:
chip0 <Intel 82437 (Triton)> rev 1 on pci0:0
chip1 <Intel 82371 (Triton)> rev 2 on pci0:7
vga0 <VGA-compatible display device> rev 0 int a irq 11 on pci0:13
ahc0 <Adaptec 2940 Ultra SCSI host adapter> rev 0 int a irq 10 on pci0:15
ahc0: aic7880 Wide Channel, SCSI Id=7, 16 SCBs
ahc0 waiting for scsi devices to settle
(ahc0:0:0): "QUANTUM XP34301 1037" type 0 fixed SCSI 2
sd0(ahc0:0:0): Direct-Access 4106MB (8410200 512 byte sectors)
Probing for devices on the ISA bus:
sc0 at 0x60-0x6f irq 1 on motherboard
sc0: VGA color <16 virtual consoles, flags=0x0>
ed0 at 0x280-0x28f irq 5 maddr 0xd8000 msize 8192 on isa
ed1: disabled, not probed.
sio0 at 0x3f8-0x3ff irq 4 on isa
sio0: type 16550A
sio1 at 0x2f8-0x2ff irq 3 on isa
sio1: type 16550A
sio2: disabled, not probed.
sio3: disabled, not probed.
lpt0: disabled, not probed.
lpt1: disabled, not probed.
lpt2: disabled, not probed.
pca0: disabled, not probed.
fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
fdc0: NEC 72065B
fd0: 1.44MB 3.5in
wdc0 not found at 0x1f0
wdc1 at 0x170-0x177 irq 15 on isa
bt0: disabled, not probed.
uha0: disabled, not probed.
aha0: disabled, not probed.
aic0: disabled, not probed.
nca0: disabled, not probed.
nca1: disabled, not probed.
sea0: disabled, not probed.
wt0: disabled, not probed.
mcd0: disabled, not probed.
mcd1: disabled, not probed.
matcdc0: disabled, not probed.
scd0: disabled, not probed.
ie0: disabled, not probed.
ep0: disabled, not probed.
ix0: disabled, not probed.
le0: disabled, not probed.
lnc0: disabled, not probed.
lnc1: disabled, not probed.
ze0: disabled, not probed.
zp0: disabled, not probed.
npx0 on motherboard
npx0: INT 16 interface
pas0: disabled, not probed.
sb0 at 0x220 irq 7 drq 1 on isa
sb0: <SoundBlaster 16 4.13>
sbxvi0 at 0x0 drq 5 on isa
sbxvo0: <SoundBlaster 16 4.13>
sbmidi0 not found at 0x330
gus0: disabled, not probed.
mss0: disabled, not probed.
opl0 at 0x388 on isa
opl0: <Yamaha OPL-3 FM>
mpu0: disabled, not probed.
uart0: disabled, not probed.
joy0 at 0x201 on isa
joy0: joystick
changing root device to sd0a
devfs ready to run
new masks: bio c0008440, tty c003003a, net c003003a
spec_getpages: negative blkno (-3209856)
vm_fault: pager input (probably hardware) error, PID 10570 failure
-----8<---------8<---------8<---------8<---------8<---------8<----
#
# INKARI -- config file for FreeBSD
#

machine		"i386"
cpu		"I386_CPU"
cpu		"I486_CPU"
cpu		"I586_CPU"
cpu		"I686_CPU"
ident		INKARI
maxusers	10

#options	MATH_EMULATE
options        GPL_MATH_EMULATE
options		INET			#InterNETworking
options		FFS			#Berkeley Fast Filesystem
options		NFS			#Network Filesystem
options		"CD9660"		#ISO 9660 Filesystem
#options		NQNFS			#Enable NQNFS lease checking
options		FDESC			#File descriptor filesystem
options		KERNFS			#Kernel filesystem
options		LFS			#Log filesystem
options		MFS			#Memory File System
options		MSDOSFS			#MS DOS File System
options		NULLFS			#NULL filesystem
options		PORTAL			#Portal filesystem
options		PROCFS			#Process filesystem
options		UMAPFS			#UID map filesystem
options		UNION			#Union filesystem
options         DEVFS 

options		"COMPAT_43"		#Compatible with BSD 4.3
options		"SCSI_DELAY=15"		#Be pessimistic about Joe SCSI device
options		BOUNCE_BUFFERS		#include support for DMA bounce buffers
options		UCONSOLE		#Allow users to grab the console
options		USER_LDT		#allow user-level control of i386 ldt
options		SYSVSHM
options		SYSVSEM
options		SYSVMSG
options		DDB
options		KTRACE			#kernel tracing

config		kernel	root on wd0 

controller	isa0
options		"AUTO_EOI_1"
options		BOUNCE_BUFFERS


controller	eisa0
controller	pci0

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

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
device          wcd0    #IDE CD-ROM

controller	ncr0
controller	ahb0
controller	ahc0
controller	ahc1

controller	bt0	at isa? port "IO_BT0" bio irq ? vector bt_isa_intr
controller	uha0	at isa? port "IO_UHA0" bio irq ? drq 5 vector uhaintr
controller	aha0	at isa? port "IO_AHA0" bio irq ? drq 5 vector ahaintr
controller	aic0    at isa? port 0x340 bio irq 11 vector aicintr
controller	nca0	at isa? port 0x1f88 bio irq 10 vector ncaintr
controller	nca1	at isa? port 0x350 bio irq 5 vector ncaintr
controller	sea0	at isa? bio irq 5 iomem 0xc8000 iosiz 0x2000 vector seaintr

controller	scbus0

device		sd0

device		od0

device		st0

device		cd0	#Only need one of these, the code dynamically grows

device		wt0	at isa? port 0x300 bio irq 5 drq 1 vector wtintr
device		mcd0	at isa? port 0x300 bio irq 10 vector mcdintr
device		mcd1	at isa? port 0x340 bio irq 11 vector mcdintr

controller	matcd0	at isa? port 0x230 bio

device		scd0	at isa? port 0x230 bio

# 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		"PCVT_FREEBSD=210"	# pcvt running on FreeBSD 2.1
#options		XSERVER			# include code for XFree86

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

device		sio0	at isa? port "IO_COM1" tty irq 4 vector siointr
device		sio1	at isa? port "IO_COM2" tty irq 3 vector siointr
device		sio2	at isa? port "IO_COM3" tty irq 5 vector siointr
device		sio3	at isa? 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		lpt2	at isa? port? tty

# 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 de0
device ed0 at isa? port 0x280 net irq  5 iomem 0xd8000 vector edintr
device ed1 at isa? port 0x300 net irq  5 iomem 0xd8000 vector edintr
device ie0 at isa? port 0x360 net irq  7 iomem 0xd0000 vector ieintr
device ep0 at isa? port 0x300 net irq 10 vector epintr
device ix0 at isa? port 0x300 net irq 10 iomem 0xd0000 iosiz 32768 vector ixintr
device le0 at isa? port 0x300 net irq 5 iomem 0xd0000 vector le_intr
device lnc0 at isa? port 0x280 net irq 10 drq 0 vector lncintr
device lnc1 at isa? port 0x300 net irq 10 drq 0 vector lncintr
device ze0 at isa? port 0x300 net irq 5 iomem 0xd8000 vector zeintr
device zp0 at isa? port 0x300 net irq 10 iomem 0xd8000 vector zpintr

pseudo-device	loop
pseudo-device	ether
pseudo-device	log
pseudo-device	sl	1
# ijppp uses tun instead of ppp device
pseudo-device	ppp	1
pseudo-device	tun	1
pseudo-device	pty	16
pseudo-device	gzip		# Exec gzipped a.out's

#
# Audio drivers: `snd', `sb', `pas', `gus', `pca'
#
# snd: Voxware sound support code
# sb: SoundBlaster PCM - SoundBlaster, SB Pro, SB16, ProAudioSpectrum
# sbxvi: SoundBlaster 16
# sbmidi: SoundBlaster 16 MIDI interface
# pas: ProAudioSpectrum PCM and MIDI
# gus: Gravis Ultrasound - Ultrasound, Ultrasound 16, Ultrasound MAX
# gusxvi: Gravis Ultrasound 16-bit PCM	(do not use)
# mss: Microsoft Sound System
# opl: Yamaha OPL-2 and OPL-3 FM - SB, SB Pro, SB 16, ProAudioSpectrum
# uart: stand-alone 6850 UART for MIDI
# mpu: Roland MPU-401 stand-alone card
# 
# Beware!  The addresses specified below are also hard-coded in
# i386/isa/sound/sound_config.h.  If you change the values here, you
# must also change the values in the include file.
#
# pca: PCM audio through your PC speaker
#
# If you don't have a lpt0 device at IRQ 7, you can remove the
# ``conflicts'' specification in the appropriate device entries below.
#
# If you have a GUS-MAX card and want to use the CS4231 codec on the
# card the drqs for the gus max must be 8 bit (1, 2, or 3).
# 
# If you would like to use the full duplex option on the gus, then define
# flags to be the ``read dma channel''.
#
# options BROKEN_BUS_CLOCK	#PAS-16 isn't working and OPTI chipset
# options SYMPHONY_PAS		#PAS-16 isn't working and SYMPHONY chipset
# options EXCLUDE_SBPRO		#PAS-16
# options SBC_IRQ=5		#PAS-16. Must match irq on sb0 line.
# PAS16: The order of the pas0/sb0/opl0 is important since the
#	sb emulation is enabled in the pas-16 attach.
#
# The i386/isa/sound/sound.doc has more information.

# Controls all sound devices
controller	snd0
device pas0     at isa? port 0x388 irq 10 drq 6 vector pasintr
device sb0      at isa? port 0x220 irq 7 conflicts drq 1 vector sbintr
device sbxvi0   at isa? drq 5
device sbmidi0  at isa? port 0x330
device gus0 at isa? port 0x220 irq 12 drq 1 vector gusintr
#device gus0 at isa? port 0x220 irq 12 drq 1 flags 0x3 vector gusintr
device mss0 at isa? port 0x530 irq 10 drq 1 vector adintr
device opl0     at isa? port 0x388 conflicts
device mpu0     at isa? port 0x330 irq 6 drq 0
device uart0 at isa? port 0x330 irq 5 vector "m6850intr"

# More undocumented sound devices with bogus configurations for linting.
# broken
#device sscape0  at isa? port 0x330 irq 6 drq 0
#device trix0    at isa? port 0x330 irq 6 drq 0 vector sscapeintr

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

#
# Miscellaneous hardware:
#
device		joy0	at isa? port "IO_GAME"


# More undocumented options for linting.

#options		APM_SLOWSTART=1
options		COMPAT_LINUX
#options		DEBUG
options		"EXT2FS"
options		"IBCS2"
options		LINUX
options		"SCSI_2_DEF"
#options		SHOW_BUSYBUFS	# List buffers that prevent root unmount

-----8<---------8<---------8<---------8<---------8<---------8<----



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