Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Aug 1999 15:58:46 -0400 (EDT)
From:      "John W. DeBoskey" <jwd@unx.sas.com>
To:        phk@critter.freebsd.dk (Poul-Henning Kamp)
Cc:        julian@whistle.com, jwd@unx.sas.com, freebsd-current@FreeBSD.ORG
Subject:   Re: -current kernel problems (spec_getpages & vm_fault)
Message-ID:  <199908261958.PAA46391@bb01f39.unx.sas.com>
In-Reply-To: <513.935697140@critter.freebsd.dk> from Poul-Henning Kamp at "Aug 26, 1999  9:52:20 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
which would be this commit...

phk         1999/08/26 07:46:11 PDT

  Modified files:
    sys/dev/ccd          ccd.c 
  Log:
  Initialize the dev->si_bsize fields.
  
  Submitted by: tegge
  Reviewed by:  phk
  
  Revision  Changes    Path
  1.53      +5 -1      src/sys/dev/ccd/ccd.c


   I need to figure out why my 11:30am EST cvsup didn't pick
this file up. It's 44 minutes infront of cvsup...

Thanks!
john

> 
> The size and resid of 0 is because it decides to use a sectorsize of
> zero due to the si_bsize fields being empty.
> 
> In message <Pine.BSF.3.95.990826121424.11083K-100000@current1.whistle.com>, Jul
> ian Elischer writes:
> >swapping on a vn device?
> >the 'size' and  'resid' of 0 looks suspicious.
> >
> >a fix was just committed to teh vn code that may fix this if that's your
> >problem.
> >
> >
> >On Thu, 26 Aug 1999, John W. DeBoskey wrote:
> >
> >> Hi,
> >> 
> >>    Following up my own mail on sig 11 problems, I beleive the
> >> problem is kernel related. Running a kernel with sources current
> >> as of 11:30am EST, I get the following during a make world:
> >> 
> >> spec_getpages: I/O read failure: (error code=0) bp 0xc3700ec8 vp 0xc92ce000
> >>                size: 0, resid: 0, a_count: 12288, valid: 0x0
> >>                nread: 0, reqpage: 0, pindex: 14, pcount: 3
> >> vm_fault: pager read error, pid 37394 (install)
> >> Aug 26 14:08:44 FreeBSD /kernel: pid 37394 (install), uid 0: exited on signal 11
> >>  (core dumped)
> >> 
> >> 
> >>    which is generated by this portion of the make world:
> >> 
> >> install -c -s -o root -g wheel -m 555   nvi /usr/obj/usr/src/tmp/usr/bin
> >> *** Signal 11
> >> 
> >> 
> >> 
> >>    If I reboot with a kernel built on Aug 16, I can run a complete
> >> make world with no failures.  I realize alot of changes have gone
> >> into the system over the last few days. If someone can give me some
> >> pointers on getting the information required to debug the problem, I'll
> >> be more than happy to dig into it.
> >> 
> >> 
> >> Thanks,
> >> John
> >> 
> >> 
> >> --
> >> dmesg output for the machine in question:
> >> 
> >> Copyright (c) 1992-1999 The FreeBSD Project.
> >> Copyright (c) 1982, 1986, 1989, 1991, 1993
> >> 	The Regents of the University of California. All rights reserved.
> >> FreeBSD 4.0-CURRENT #0: Thu Aug 26 13:47:34 EDT 1999
> >>     toor@FreeBSD.unx.sas.com:/usr/src/sys/compile/FreeBSD
> >> Timecounter "i8254"  frequency 1193182 Hz
> >> Timecounter "TSC"  frequency 398775825 Hz
> >> CPU: Pentium II/Xeon/Celeron (398.78-MHz 686-class CPU)
> >>   Origin = "GenuineIntel"  Id = 0x652  Stepping = 2
> >>   Features=0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR>
> >> real memory  = 134217728 (131072K bytes)
> >> avail memory = 126881792 (123908K bytes)
> >> Preloaded elf kernel "kernel" at 0xc0306000.
> >> Pentium Pro MTRR support enabled
> >> ccd0-3: Concatenated disk drivers
> >> npx0: <math processor> on motherboard
> >> npx0: INT 16 interface
> >> pcib0: <Intel 82443BX (440 BX) host to PCI bridge> on motherboard
> >> pci0: <PCI bus> on pcib0
> >> pcib1: <Intel 82443BX (440 BX) PCI-PCI (AGP) bridge> at device 1.0 on pci0
> >> pci1: <PCI bus> on pcib1
> >> vga-pci0: <ATI model 4742 graphics accelerator> irq 3 at device 0.0 on pci1
> >> isab0: <Intel 82371AB PCI to ISA bridge> at device 7.0 on pci0
> >> isa0: <ISA bus> on isab0
> >> ide_pci0: <Intel PIIX4 Bus-master IDE controller> at device 7.1 on pci0
> >> chip1: <UHCI USB controller> irq 11 at device 7.2 on pci0
> >> chip2: <Intel 82371AB Power management controller> at device 7.3 on pci0
> >> fxp0: <Intel EtherExpress Pro 10/100B Ethernet> irq 10 at device 13.0 on pci0
> >> fxp0: Ethernet address 00:a0:c9:2d:14:1b
> >> ahc0: <Adaptec 2940 Ultra SCSI adapter> irq 9 at device 14.0 on pci0
> >> ahc0: aic7880 Wide Channel A, SCSI Id=7, 16/255 SCBs
> >> pcib2: <PCI to PCI bridge (vendor=1011 device=0024)> at device 15.0 on pci0
> >> pci2: <PCI bus> on pcib2
> >> vga-pci1: <Matrox MGA 2164W graphics accelerator> irq 3 at device 9.0 on pci2
> >> ahc1: <Adaptec 2940/DUAL Ultra SCSI adapter> irq 11 at device 10.0 on pci2
> >> ahc1: aic7895 Wide Channel A, SCSI Id=7, 16/255 SCBs
> >> ahc2: <Adaptec 2940/DUAL Ultra SCSI adapter> irq 10 at device 10.1 on pci2
> >> ahc2: aic7895 Single Channel B, SCSI Id=7, 16/255 SCBs
> >> ti0: <3Com 3c985-SX Gigabit Ethernet> irq 3 at device 11.0 on pci2
> >> ti0: Ethernet address: 00:60:08:f5:c6:e5
> >> fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f7 irq 6 drq 2 on isa0
> >> fdc0: FIFO enabled, 8 bytes threshold
> >> fd0: <1440-KB 3.5" drive> on fdc0 drive 0
> >> wdc0 at port 0x1f0-0x1f7 irq 14 flags 0xa0ffa0ff on isa0
> >> wdc0: unit 0 (wd0): <Maxtor 90645D3>, DMA, 32-bit, multi-block-16
> >> wd0: 6149MB (12594960 sectors), 12495 cyls, 16 heads, 63 S/T, 512 B/S
> >> wdc1 at port 0x170-0x177 irq 15 on isa0
> >> wdc1: unit 0 (atapi): <NEC                 CD-ROM DRIVE:28C/3.02>, removable, dma, iordy
> >> wdc1: ATAPI CD-ROMs not configured
> >> atkbdc0: <keyboard controller (i8042)> at port 0x60-0x6f on isa0
> >> atkbd0: <AT Keyboard> irq 1 on atkbdc0
> >> psm0: <PS/2 Mouse> irq 12 on atkbdc0
> >> psm0: model Generic PS/2 mouse, device ID 0
> >> vga0: <Generic ISA VGA> at port 0x3b0-0x3df iomem 0xa0000-0xbffff on isa0
> >> sc0: <System console> on isa0
> >> sc0: VGA <16 virtual consoles, flags=0x200>
> >> 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
> >> Waiting 5 seconds for SCSI devices to settle
> >> changing root device to wd0s1a
> >> da5 at ahc2 bus 0 target 3 lun 0
> >> da5: <iomega jaz 2GB E.16> Removable Direct Access SCSI-2 device 
> >> da5: 20.000MB/s transfers (20.000MHz, offset 15)
> >> da5: 1911MB (3915600 512 byte sectors: 255H 63S/T 243C)
> >> da2 at ahc0 bus 0 target 3 lun 0
> >> da2: <SEAGATE ST19171W 0023> Fixed Direct Access SCSI-2 device 
> >> da2: 40.000MB/s transfers (20.000MHz, offset 8, 16bit), Tagged Queueing Enabled
> >> da2: 8683MB (17783112 512 byte sectors: 255H 63S/T 1106C)
> >> da3 at ahc0 bus 0 target 4 lun 0
> >> da3: <SEAGATE ST19171W 0023> Fixed Direct Access SCSI-2 device 
> >> da3: 40.000MB/s transfers (20.000MHz, offset 8, 16bit), Tagged Queueing Enabled
> >> da3: 8683MB (17783112 512 byte sectors: 255H 63S/T 1106C)
> >> da0 at ahc0 bus 0 target 1 lun 0
> >> da0: <SEAGATE ST34572W 0784> Fixed Direct Access SCSI-2 device 
> >> da0: 40.000MB/s transfers (20.000MHz, offset 8, 16bit), Tagged Queueing Enabled
> >> da0: 4340MB (8888924 512 byte sectors: 255H 63S/T 553C)
> >> da1 at ahc0 bus 0 target 2 lun 0
> >> da1: <SEAGATE ST34572W 0784> Fixed Direct Access SCSI-2 device 
> >> da1: 40.000MB/s transfers (20.000MHz, offset 8, 16bit), Tagged Queueing Enabled
> >> da1: 4340MB (8888924 512 byte sectors: 255H 63S/T 553C)
> >> da4 at ahc0 bus 0 target 5 lun 0
> >> da4: <SEAGATE ST32550N 0019> Fixed Direct Access SCSI-2 device 
> >> da4: 10.000MB/s transfers (10.000MHz, offset 15), Tagged Queueing Enabled
> >> da4: 2047MB (4194058 512 byte sectors: 255H 63S/T 261C)
> >> cd0 at ahc2 bus 0 target 6 lun 0
> >> cd0: <YAMAHA CRW4260 1.0g> Removable CD-ROM SCSI-2 device 
> >> cd0: 3.300MB/s transfers
> >> cd0: Attempt to query device size failed: NOT READY, Medium not present - tray closed
> >> spec_getpages: I/O read failure: (error code=0) bp 0xc3700ec8 vp 0xc92ce000
> >>                size: 0, resid: 0, a_count: 12288, valid: 0x0
> >>                nread: 0, reqpage: 0, pindex: 14, pcount: 3
> >> vm_fault: pager read error, pid 37394 (install)
> >> pid 37394 (install), uid 0: exited on signal 11 (core dumped)
> >> 
> >> 
> >> To Unsubscribe: send mail to majordomo@FreeBSD.org
> >> with "unsubscribe freebsd-current" in the body of the message
> >> 
> >
> >
> >
> >To Unsubscribe: send mail to majordomo@FreeBSD.org
> >with "unsubscribe freebsd-current" in the body of the message
> >
> 
> --
> Poul-Henning Kamp             FreeBSD coreteam member
> phk@FreeBSD.ORG               "Real hackers run -current on their laptop."
> FreeBSD -- It will take a long time before progress goes too far!
> 



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?199908261958.PAA46391>