Date: Thu, 25 Nov 1999 23:03:58 +0300 (MSK) From: "Ilmar S. Habibulin" <ilmar@ints.ru> To: FreeBSD-gnats-submit@freebsd.org Subject: kern/15089: mmap 2K-block device problem? Message-ID: <199911252003.XAA03943@ws-ilmar.ints.ru>
next in thread | raw e-mail | index | archive | help
>Number: 15089 >Category: kern >Synopsis: mmap of files from 2K-block device failed >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Nov 25 12:10:00 PST 1999 >Closed-Date: >Last-Modified: >Originator: Ilmar S. Habibulin >Release: FreeBSD 3.3-STABLE i386 >Organization: IntraNet-TS(http://www.ints.ru) >Environment: /kernel: FreeBSD 3.3-STABLE #0: Thu Nov 25 13:31:22 MSK 1999 /kernel: root@ws-ilmar:/mnt/modrive/src/sys/compile/GENERIC /kernel: Timecounter "i8254" frequency 1193182 Hz /kernel: CPU: Pentium/P55C (208.26-MHz 586-class CPU) /kernel: Origin = "GenuineIntel" Id = 0x543 Stepping = 3 /kernel: Features=0x8001bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,MMX> /kernel: real memory = 25165824 (24576K bytes) /kernel: avail memory = 21032960 (20540K bytes) /kernel: Preloaded elf kernel "kernel" at 0xc0390000. /kernel: Probing for devices on PCI bus 0: /kernel: chip0: <Intel 82439TX System Controller (MTXC)> rev 0x01 on pci0.0.0 /kernel: chip1: <Intel 82371AB PCI to ISA bridge> rev 0x01 on pci0.1.0 /kernel: ide_pci0: <Intel PIIX4 Bus-master IDE controller> rev 0x01 on pci0.1.1 /kernel: chip2: <Intel 82371AB Power management controller> rev 0x01 on pci0.1.3 /kernel: amd0: <Tekram DC390(T)/AMD53c974 SCSI Host Adapter> rev 0x10 int a irq 10 on pci0.9.0 /kernel: vga0: <S3 ViRGE DX/GX graphics accelerator> rev 0x01 int /kernel: a irq 11 on pci0.12.0 /kernel: Probing for PnP devices: /kernel: Probing for devices on the ISA bus: /kernel: sc0 on isa /kernel: sc0: VGA color <16 virtual consoles, flags=0x0> /kernel: atkbdc0 at 0x60-0x6f on motherboard /kernel: atkbd0 irq 1 on isa /kernel: sio0 at 0x3f8-0x3ff irq 4 flags 0x10 on isa /kernel: sio0: type 16550A /kernel: sio1 at 0x2f8-0x2ff irq 3 on isa /kernel: sio1: type 16550A /kernel: fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa /kernel: fdc0: FIFO enabled, 8 bytes threshold /kernel: fd0: 1.44MB 3.5in /kernel: wdc0 at 0x1f0-0x1f7 irq 14 on isa /kernel: wdc0: unit 0 (wd0): <ST32122A> /kernel: wd0: 2014MB (4124736 sectors), 4092 cyls, 16 heads, 63 S/T, 512 B/S /kernel: wdc1 at 0x170-0x177 irq 15 on isa /kernel: wdc1: unit 0 (atapi): <FX240S/j01>, removable, intr, dma, iordis /kernel: acd0: drive speed 4134KB/sec, 256KB cache /kernel: acd0: supported read types: CD-R, CD-RW, CD-DA, packet track /kernel: acd0: Audio: play, 255 volume levels /kernel: acd0: Mechanism: ejectable tray /kernel: acd0: Medium: CD-ROM 120mm audio disc loaded, unlocked /kernel: ppc0 at 0x378 irq 7 flags 0x40 on isa /kernel: ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode /kernel: ppc0: FIFO with 16/16/16 bytes threshold /kernel: lpt0: <generic printer> on ppbus 0 /kernel: lpt0: Interrupt-driven port /kernel: ppi0: <generic parallel i/o> on ppbus 0 /kernel: plip0: <PLIP network interface> on ppbus 0 /kernel: vga0 at 0x3b0-0x3df maddr 0xa0000 msize 131072 on isa /kernel: npx0 on motherboard /kernel: npx0: INT 16 interface /kernel: Intel Pentium detected, installing workaround for F00F bug /kernel: Waiting 15 seconds for SCSI devices to settle /kernel: changing root device to wd0s2a /kernel: da0 at amd0 bus 0 target 0 lun 0 /kernel: da0: <FUJITSU M2513EL 0030> Removable Optical SCSI-2 device /kernel: da0: 10.000MB/s transfers (10.000MHz, offset 15) /kernel: da0: 606MB (310352 2 /kernel: 048 byte sectors: 64H 32S/T 151C) >Description: Whyle copying, installing or viewing some files from MO drive with software, that uses mmap() syscall i've got the following kernel messages with applications crash: /kernel: dscheck: b_bcount 3072 is not on a sector boundary (ssize 2048) /kernel: spec_getpages: I/O read failure: (error code=22) /kernel: size: 3072, resid: 3072, a_count: 2405, valid: 0x0 /kernel: nread: 0, reqpage: 0, pindex: 0, pcount: 1 /kernel: vm_fault: pager read error, pid 6197 (install) >How-To-Repeat: This bug took place for all 3.x. I thought that -stable didn't have it. I used MO drive to store freebsd source tree and build world. But it failed while installing yacc.sh (?). And some other files crashed mc. >Fix: I don't know. :( I'm very happy that my MO drive works with freebsd 3.x somehow. 2.2.x managed to use only 1/4 of its capacity. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199911252003.XAA03943>