Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Sep 1996 09:23:17 -0400 (EDT)
From:      James Drobina <jdrobina@infinet.com>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   kern/1609: page fault while in kenel mode during Linux emulation
Message-ID:  <199609141323.JAA00412@infinet.com>
Resent-Message-ID: <199609141330.GAA10464@freefall.freebsd.org>

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

>Number:         1609
>Category:       kern
>Synopsis:       page fault while in kenel mode during Linux emulation
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Sep 14 06:30:01 PDT 1996
>Last-Modified:
>Originator:     James Drobina
>Organization:
None
>Release:        FreeBSD 2.2-CURRENT i386
>Environment:

        $ modstat
        Type     Id Off Loadaddr Size Info     Rev Module Name
        EXEC      0   4 f6633000 001c f6639010   1 linux_mod

	$ ls -l /lkm/linux_mod.o
	-r-xr-xr-x  1 bin   bin   41166 Sep 13 08:59 linux_mod.o

        $ dmesg
	FreeBSD 2.2-CURRENT #1: Sat Sep 14 08:43:20 EDT 1996
	    jdrobina@drobina.my.domain:/home/system/sys/compile/drobina
	Calibrating clock(s) relative to mc146818A clock...
	i586 clock: 90038454 Hz, i8254 clock: 1193258 Hz
	CPU: Pentium (90.03-MHz 586-class CPU)
	  Origin = "GenuineIntel"  Id = 0x524  Stepping=4
	  Features=0x1bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8>
	real memory  = 50331648 (49152K bytes)
	avail memory = 46497792 (45408K bytes)
	Probing for devices on PCI bus 0:
	chip0 <generic PCI bridge (vendor=1045 device=c822 subclass=0)> rev 1 on pci0:16
	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 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 at 0x378-0x37f irq 7 on isa
	lpt0: Interrupt-driven port
	lp0: TCP/IP capable interface
	pca0 on motherboard
	pca0: PC speaker audio driver
	fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
	fdc0: NEC 765
	fd0: 1.44MB 3.5in
	bt0: Bt445S/ 0-(32bit) bus
	bt0: Your card cannot DMA above 16MB boundary. Bounce buffering enabled.
	bt0: reading board settings, busmastering, int=12
	bt0: version 3.37, fast sync, parity, 32 mbxs, 32 ccbs
	bt0: targ 0 sync rate=10.00MB/s(100ns), offset=15
	bt0: targ 1 async
	bt0: targ 2 sync rate=10.00MB/s(100ns), offset=15
	bt0: targ 3 sync rate=10.00MB/s(100ns), offset=08
	bt0: Using Strict Round robin scheme
	bt0 at 0x330 irq 12 on isa
	bt0 waiting for scsi devices to settle
	(bt0:0:0): "MICROP 2217-15MQ1001901 HQ30" type 0 fixed SCSI 2
	sd0(bt0:0:0): Direct-Access 1685MB (3450902 512 byte sectors)
	(bt0:1:0): "ARCHIVE VIPER 150  21247 -011" type 1 removable SCSI 1
	st0(bt0:1:0): Sequential-Access density code 0x0,  drive empty
	(bt0:2:0): "IBM DORS-32160 S82C" type 0 fixed SCSI 2
	sd1(bt0:2:0): Direct-Access 2063MB (4226725 512 byte sectors)
	(bt0:3:0): "TEAC CD-ROM CD-56S 1.0A" type 5 removable SCSI 2
	cd0(bt0:3:0): CD-ROM
	cd0(bt0:3:0): NOT READY asc:3a,0 Medium not present
	can't get the size
	npx0 on motherboard
	npx0: INT 16 interface
	pas0 at 0x388 irq 5 drq 3 on isa
	pas0: <Pro AudioSpectrum 16D rev 127>

>Description:

	My machine would crash whenever I try to execute a Linux binary.
	For example,

        $ /compat/linux/usr/bin/ldd
	usage: [-vVdr] prog

	Fatal trap 12: page fault while in kernel mode
        fault virtual address = 0x3e
	fault code = supervisor read, page not present
                     .
                     .
                     .

	

>How-To-Repeat:

	Execute any Linux command.

	$ /compat/linux/usr/bin/ldd

>Fix:
	
	Unknown

>Audit-Trail:
>Unformatted:



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