Date: Sat, 8 Jun 1996 14:01:39 -0400 (EDT) From: Chuck Robey <chuckr@Glue.umd.edu> To: FreeBSD current <freebsd-current@freefall.FreeBSD.org> Subject: Unable to get kernel to boot Message-ID: <Pine.OSF.3.91.960608134749.32620E-100000@ginger.eng.umd.edu>
next in thread | raw e-mail | index | archive | help
I couldn't make up my mind if this belonged in -current or -questions, so
I'm really sorry if I've picked wrong, but here goes. I suddenly can't
get my kernel to boot. During boot, I _think_ during probing (it goes by
so quickly on my new machine!) I get this line:
NCR0: SCSI phase error fixup: CCB already dequeued (some number)
Then during the rest of boot, I think somewhere in multiuser startup, I get
a long panic message. I noticed that LINT has the line "device ncr0"
while GENERIC has "controller ncr0", but since I've tried it both ways, I
don't think that's the problem. I can get booted from the kernel.GENERIC
from teh previous snap, so I guess it's likely not a hardware problem.
I have ddb compiled in, and I spent a long time hand copying data, so I
will reproduce it here. My disk setup is 1 ncr controller, scsi id0= 200
meg SUN (Conner) drive, scsi id1=2.1GB DEC (Quantum) drive with / and
/usr on it, scsi id2=2.1GB DEC(Quantum) with /usr2 on it. Both the DEC
drives also have 48 megs dedicated to sd[12]b for swap (total 96M).
Here's what I copied, with my kernel config bringing up the rear:
spec_getpages: I/O read error
vm_fault: pager input (probably hardware) error, PID 32 failure
pid 32 (hostname), uid 0: exited on signal 11
uid 0 on /: out of inodes
/: create/symlink failed, no inodes free
Memory fault
Spec_getpages: I/O read error
vm_fault: pager input (probably hardware) error, PID 37 failure
Fatal trap 12: page fault while in kernel mode
fault virtual address = 0xf4ec2000
fault code = supervisor read, page not present
instruction pointer = 0x8:0xf0107977
stack pointer = 0x10:0xefbffde4
frame pointer = 0x10:0xefbffe10
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 = 37 (sh)
interrupt mask =
kernel: type 12 trap, code = 0
Stopped at _exec_aout_imgact+0x17:movl 0(%esi),%edx
db> trace
_exec_aout_imgact(efbffe9c,f01f55c8,f1029a00,3,0) at _exec_aout_imgact+0x17
_execve(f1029a00,efbfff94,efbfff84,59108,ffffffff) at _execve+0x1c7
_syscall(27,27,59130,ffffffff,efbfdc88) at _syscall+0x129
_Xsyscall() at _Xsyscall+0x35
--- syscall 59, eip = 0x2a3d5, ebp = 0xefbfdc88 ---
db> ps
pid proc addr uid ppid pgrp flag stat wmesg wchan cmd
37 f1029a00 f50d0000 0 28 5 000006 2 sh
28 f1021200 f50cc000 0 5 5 004086 3 wait f1021200 sh
21 f1021700 f50ce000 0 1 21 000084 3 pause f50ce128 adjkerntz
5 f1014800 f50ca000 0 1 5 004086 3 wait f1014800 sh
4 f100c600 f50c8000 0 0 0 000604 2 update
3 f100c800 f50c6000 0 0 0 000204 3 psleep f020afcc vmdaemon
2 f100ca00 f50c4000 0 0 0 000204 3 psleep f0212e80 pagedaemon
1 f100cc00 f50c2000 0 0 1 004084 3 wait f100cc00 init
0 f02137d4 f024b000 0 0 0 000204 3 sched f02137d4 swapper
db> show registers
cs 0x8
ds 0x10
es 0x10
ss 0x10
eax 0xf0107960 _exec_aout_imgact
ecx 0
edx 0xf1029700
ebx 0xefbffe9c _kstack+0x1e9c
esp 0xefbffde4 _kstack+0x1de4
ebp 0xefbffe10 _kstack+0x1e10
esi 0xf4ec2000
edi 0xefbffe9c _kstack+0x1e9c
eip 0xf0107977 _exec_aout_imgact+0x17
efl 0x10286
_exec_aout_imgact+0x17: movl 0(%esi),%edx
db>
That's all I could guess you'd want to see of this. Here's my kernel config:
machine "i386"
cpu "I586_CPU"
ident CHUCKRSJ
maxusers 48
options GPL_MATH_EMULATE #Support for x87 emulation
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 "COM_MULTIPORT" #Support for DigiBoard
options "COMPAT_LINUX" # run linux binaries
options LINUX
options PERFMON
options DDB # debugger support
options SYSVSHM
options SYSVSEM
options SYSVMSG
options "CHILD_MAX=128"
options "OPEN_MAX=128"
options "COMPAT_IBCS2"
options "SEMMNI=20"
options "SEMUNE=20"
config kernel root on sd1
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 pci0
controller ncr0
controller scbus0
disk sd0 # for DOS, 200 megs
disk sd1 # /, swap, and /usr, 2.1 GB
disk sd2 # /usr2 and swap, 2.1 GB
# syscons is the default console driver, resembling an SCO console
device sc0 at isa? port "IO_KBD" tty irq 1 vector scintr
#device vt0 at isa? port "IO_KBD" tty irq 1 vector pcrint
#options "PCVT_FREEBSD=210"
#options XSERVER
#options FAT_CURSOR
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 sio2 at isa? port 0x0100 tty flags 0x905
device sio3 at isa? port 0x0108 tty flags 0x905
device sio4 at isa? port 0x0110 tty flags 0x905
device sio5 at isa? port 0x0118 tty flags 0x905
device sio6 at isa? port 0x0120 tty flags 0x905
device sio7 at isa? port 0x0128 tty flags 0x905
device sio8 at isa? port 0x0130 tty flags 0x905
device sio9 at isa? port 0x0138 tty flags 0x905 irq 5 vector siointr
device lpt0 at isa? port? tty irq 7 vector lptintr
device ed0 at isa? port 0x280 net irq 15 iomem 0xd8000 vector edintr
# Sound Configuration, for a GUS Max
controller snd0
device gus0 at isa? port 0x220 irq 12 drq 1 flags 3 vector gusintr
options "GUSMAX" # Config gus max cs4321 dsp device
pseudo-device loop
pseudo-device ether
pseudo-device log
# ijppp uses tun instead of ppp device
pseudo-device bpfilter 4
pseudo-device tun 1
pseudo-device pty 24
pseudo-device gzip # Exec gzipped a.out's
----------------------------+-----------------------------------------------
Chuck Robey | Interests include any kind of voice or data
chuckr@eng.umd.edu | communications topic, C programming, and Unix.
9120 Edmonston Ct #302 |
Greenbelt, MD 20770 | I run Journey2 and n3lxx, both FreeBSD
(301) 220-2114 | version 2.2 current -- and great FUN!
----------------------------+-----------------------------------------------
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.OSF.3.91.960608134749.32620E-100000>
