Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Jan 1996 01:27:02 +0100 (MET)
From:      Ollivier Robert <roberto@keltia.freenix.fr>
To:        freebsd-current@FreeBSD.ORG (FreeBSD Current Users' list)
Subject:   Panic at ahb probe time
Message-ID:  <199601140027.BAA00301@keltia.freenix.fr>

next in thread | raw e-mail | index | archive | help
I just compiled a kernel with current sources

CTM_BEGIN 2.0 cvs-cur 1557 1996/01/13 21:00:02

and get an instant panic at ahb probe time:

Kernel from Jan, 6th (before Justin's latest changes on Jan, 7th) is fine.

Fatal trap 12: page fault while in kernel mode
fault virtual address           = 0x8c
fault code                      = supervisor read, page not present
instruction pointer             = 0x8:0xf0183dd3
code segment                    = base 0x0, limit 0xfffff, type 1b
                                = 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 trap, code = 0
Stopped at _ahb_get_ecb+0x23    movl    0x8c(%esi),%ebx
                                        ^^^^^^^^^^
cs      0xf08a0008
ds      0xf08a0010
es      0xf01b0010      _scioctl+0x4e0
ss      0x10
eax     0xffffffff      ecx     0x1800
edx     0x0             ebx     0xf08a6b58
esp     0xefbffd88      _kstack+0x1d88
ebp     0xefbffd98      _kstack+0x1d98
esi     0x0
^^^^^^^^^^^
edi     0x63

trace:
_ahb_get_ecb
_ahb_scsi_cmd
_scsi_scsi_cmd
_scsi_test_unit_ready
_scsi_probedevs
_scsi_probe_bus
_scsi_attachdevs
_ahb_busattach
_ahb_attach
_eisa_configure

Kernel configuration file:

#
# GENERIC -- Generic machine with WD/AHx/NCR/BTx family disks
#
#	$Id: GENERIC,v 1.11 1994/11/08 07:39:26 jkh Exp $
#

machine		"i386"
cpu			"I486_CPU"
ident		"DKELTIA"
maxusers	20

options		INET					#InterNETworking
options		FFS						#Berkeley Fast Filesystem
options		MFS						#Berkeley Fast Filesystem
options		PROCFS					#Berkeley proc Filesystem
options		UNION			        #Union filesystem
options		"CD9660"				#ISO FS
options		"COMPAT_43"				#Compatible with BSD 4.3
options		UCONSOLE				#for xconsole
options		DEVRANDOM
options		"SCSI_2_DEF"
options		JREMOD					#for devfs stuff
#
options		"COMPAT_LINUX"
options		SYSVSHM
options		SYSVSEM
options		SYSVMSG
options		"SHMMAXPGS=1024"        # 4096 KB of sharable memory

# I definitely need this
options     CHILD_MAX=128
options     OPEN_MAX=128

options		DDB
options		KTRACE

config		kernel	root on sd0 swap on sd0 and sd1 and sd2 dumps on sd0

controller	isa0

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

controller  eisa0
controller	bt0
controller  ahb0

controller	scbus0 at bt0
controller	scbus1 at ahb0

# BT: conner + CD + tandberg + hp
# preconfigured devices, not all used of course
disk		sd0 at scbus0 target 0 unit 0
disk		sd1 at scbus0 target 1
disk		sd2 at scbus0 target 2
disk		sd3 at scbus0 target 3
tape		st1 at scbus0 target 4
tape		st0 at scbus0 target 5
device		cd0 at scbus0 target 6
# 1742: seagate + micropolis + quantum
disk		sd10 at scbus1 target 0
disk		sd11 at scbus1 target 1
disk		sd12 at scbus1 target 2
disk		sd13 at scbus1 target 3

# new sound config.
controller	snd0
device sb0	at isa? port 0x220 irq 5 drq 3 vector sbintr
device opl0	at isa? port 0x388

device		sc0	at isa? port "IO_KBD" tty irq 1 vector scintr
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 ed0 at isa? port 0x300 net irq 10 vector edintr

pseudo-device	loop
pseudo-device	ether
pseudo-device	log
pseudo-device	sl	1
pseudo-device	ppp	1
pseudo-device   bpfilter 4  #Berkeley packet filter
pseudo-device	pty	32
pseudo-device	speaker
pseudo-device   vn          #Vnode driver (turns a file into a device)
pseudo-device	disc		#Discard device
pseudo-device	tun	1		#Enable user-level PPP see ppp(8)
pseudo-device   snp 3       #Snoop device - to look at pty/vty/etc..

FreeBSD 2.2-CURRENT #1: Wed Jan 10 02:23:42 MET 1996
    roberto@keltia.freenix.fr:/src/src/sys/compile/DKELTIA
CPU: i486 DX4 (486-class CPU)
  Origin = "GenuineIntel"  Id = 0x480  Stepping=0
  Features=0x3<FPU,VME>
real memory  = 33554432 (32768K bytes)
avail memory = 31162368 (30432K bytes)
eisa0: <ECS1110 (System Board)>
Probing for devices on the EISA bus
bt0: <Buslogic 74xB SCSI host adapter> at 0x330-0x333 irq 11 on eisa0 slot 3
bt0: Bt747 / 0-(32bit) bus
bt0: reading board settings, busmastering, int=11
bt0: version 3.37, fast sync, parity, 32 mbxs, 32 ccbs
bt0: targ 0 sync rate=10.00MB/s(100ns), offset=15
bt0: targ 4 async
bt0: targ 6 sync rate= 4.54MB/s(220ns), offset=08
bt0: Using Strict Round robin scheme
(bt0:0:0): "CONNER CFP1080S 3939" type 0 fixed SCSI 2
sd0(bt0:0:0): Direct-Access 1030MB (2110812 512 byte sectors)
(bt0:4:0): "TANDBERG  TDC 3600 =08:" type 1 removable SCSI 2
st1(bt0:4:0): Sequential-Access density code 0x0,  drive empty
(bt0:6:0): "MATSHITA CD-ROM CR-8004 1.1f" type 5 removable SCSI 2
cd0(bt0:6:0): CD-ROM cd present [325252 x 2048 byte records]
ahb0: <Adaptec 174x SCSI host adapter> at 0x5c00-0x5cff irq 12 on eisa0 slot 5
(ahb0:1:0): "MICROP 1624-07MZ1077801 HZ2P" type 0 fixed SCSI 2
sd11(ahb0:1:0): Direct-Access 642MB (1316751 512 byte sectors)
(ahb0:2:0): "SEAGATE ST31200N 8158" type 0 fixed SCSI 2
sd12(ahb0:2:0): Direct-Access 1006MB (2061108 512 byte sectors)
(ahb0:3:0): "QUANTUM PD210S 501C" type 0 fixed SCSI 2
sd13(ahb0:3:0): Direct-Access 199MB (408574 512 byte sectors)
Probing for devices on the ISA bus:
[...]
new masks: bio c0001840, tty c003049a, net c003049a

-- 
Ollivier ROBERT    -=- The daemon is FREE! -=-    roberto@keltia.frmug.fr.net
   FreeBSD keltia.freenix.fr 2.2-CURRENT #13: Sat Jan  6 20:08:04 MET 1996



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