Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Feb 1996 15:43:31 -0500 (EST)
From:      "Marc G. Fournier" <scrappy@ki.net>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   kern/988: ASUS PC-SC200 panicks at _scsi_attachdevs+0x20
Message-ID:  <199602022043.PAA00706@ki.net>
Resent-Message-ID: <199602022050.MAA23342@freefall.freebsd.org>

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

>Number:         988
>Category:       kern
>Synopsis:       ASUS PC-SC200 panicks at _scsi_attachdevs+0x20
>Confidential:   yes
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Feb  2 12:50:01 PST 1996
>Last-Modified:
>Originator:     Marc G. Fournier
>Organization:
>Release:        FreeBSD 2.1-STABLE i386
>Environment:

-----[ config file for kernel being used for testing ]-----

machine		"i386"
cpu		"I486_CPU"
ident		kinet
maxusers	32

options		"CHILD_MAX=128"
options		"OPEN_MAX=128"
options		USER_LDT		#allow user-level control of i386 ldt
options		QUOTA			#enable disk quotas
options		DDB
options		DODUMP
options		INET			#InterNETworking
options		FFS			#Berkeley Fast Filesystem
options		NFS			#Network Filesystem
options		MSDOSFS			#MSDOS Filesystem
options		"CD9660"		#ISO 9660 Filesystem
options		PROCFS			#Process filesystem
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		SYSVSHM
options		SYSVSEM
options		SYSVMSG

config		kernel	root on sd0 

controller	isa0
controller	pci0

controller	fdc0	at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr
disk		fd0	at fdc0 drive 0

controller	ncr0
controller	aha0	at isa? port "IO_AHA0" bio irq ? drq 5 vector ahaintr

controller	scbus0

device		sd0

device		st0

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		lpt0	at isa? port? tty irq 7 vector lptintr

device ep0 at isa? port 0x300 net irq 10 vector epintr

pseudo-device	loop
pseudo-device	speaker		#Play IBM BASIC-style noises out your speaker
pseudo-device	ether
pseudo-device	log
pseudo-device	tun		1
pseudo-device	pty		64
pseudo-device	bpfilter	4



----[ dmesg output for same system without the ncr controller ]----

FreeBSD 2.1-STABLE #6: Fri Feb  2 14:09:42 EST 1996
    scrappy@ki.net:/home/stable/sys/compile/kinet
CPU: i486 DX4 (486-class CPU)
  Origin = "GenuineIntel"  Id = 0x480  Stepping=0
  Features=0x3<FPU,VME>
real memory  = 16777216 (16384K bytes)
avail memory = 14716928 (14372K bytes)
Probing for devices on PCI bus 0:
chip0 <SiS 85c496> rev 49 on pci0:5
vga0 <VGA-compatible display device> rev 0 on pci0:15
Probing for devices on the ISA bus:
vt0 at 0x60-0x6f irq 1 on motherboard
vt0: generic, 80 col, color, 8 scr, mf2-kbd, [R3.20-b24]
sio0 at 0x3f8-0x3ff irq 4 on isa
sio0: type 16550A
sio1 at 0x2f8-0x2ff irq 3 on isa
sio1: type 16550A
lpt0 at 0x378-0x37f irq 7 on isa
lpt0: Interrupt-driven port
lp0: TCP/IP capable interface
fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
fdc0: NEC 72065B
fd0: 1.44MB 3.5in
aha0 at 0x330-0x333 irq 11 drq 5 on isa
aha0 waiting for scsi devices to settle
(aha0:0:0): "CONNER CFA540S 13B0" type 0 fixed SCSI 2
sd0(aha0:0:0): Direct-Access 515MB (1056708 512 byte sectors)
(aha0:1:0): "QUANTUM LPS340S 020B" type 0 fixed SCSI 2
sd1(aha0:1:0): Direct-Access 327MB (670506 512 byte sectors)
(aha0:2:0): "QUANTUM LP240S GM240S01X 4.6" type 0 fixed SCSI 2
sd2(aha0:2:0): Direct-Access 234MB (479350 512 byte sectors)
1 3C5x9 board(s) on ISA found at 0x300
ep0 at 0x300-0x30f irq 10 on isa
ep0: aui/bnc[*BNC*] address 00:a0:24:0a:6d:ce irq 10
npx0 on motherboard
npx0: INT 16 interface

>Description:

	When trying to boot with the NCR SCSI controller installed, the
system panicks right after probing the controller itself.


----[ outcome of booting with ASUS PC-SC200 controller ]----

FreeBSD 2.1-STABLE #6: Fri Feb  2 14:09:42 EST 1996
    scrappy@ki.net:/home/stable/sys/compile/kinet
CPU: i486 DX4 (486-class CPU)
  Origin = "GenuineIntel"  Id = 0x480  Stepping=0
  Features=0x3<FPU,VME>
real memory  = 16777216 (16384K bytes)
avail memory = 14716928 (14372K bytes)
Probing for devices on PCI bus 0:
chip0 <SiS 85c496> rev 49 on pci0:5
ncr0 <ncr 53c810 scsi> rev 2 int a irq 12 on pci0:11

Fatal Trap 12: page fault while in kernel mode
fault virtual address	= 0x7
fault code		= supervisor read, page not present
instruction pointer	= 0x8:0xf0173724
code segment		= base 0x0, limit 0xfffff, type 0x1b
			= DPL 0, pres 1, def32 1, gran 1
processor eflags	= interrupt enabled, resume, IOPL = 0
current process		= 0 ()
interrupt mask		= net tty bio
kernel: type 12, code = 0
Stopped at _scsi_attachdevs+0x20: cmpb $0,0x7(%ebx)
db> tra
_scsi_attachdevs()	at _scsi_attachdevs+0x20
_ncr_attach()		at _ncr_attach+0x192
_pci_bus_config()	at _pci_bus_config+0x4b8
_pci_configure()	at _pci_configure+0x51
_configure()		at _configure+0x2a
_cpu_startup()		at _cpu_startup+4b6
_main()			at _main+0x36
begin()			at begin+0x6b
db>

>How-To-Repeat:

	

>Fix:
	
	

>Audit-Trail:
>Unformatted:



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