Date: Sun, 07 Apr 1996 13:05:30 +1000 From: Stephen Hocking <sysseh@devetir.qld.gov.au> To: FreeBSD-gnats-submit@freebsd.org Cc: sysseh@devetir.qld.gov.au Subject: kern/1121: Crash in kernel bcopy on startup Message-ID: <199604070305.DAA26531@netfl15a.devetir.qld.gov.au> Resent-Message-ID: <199604070310.TAA04536@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 1121
>Category: kern
>Synopsis: System crashes on boot up just after the "devfs ready to run"
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: freebsd-bugs
>State: open
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sat Apr 6 19:10:02 PST 1996
>Last-Modified:
>Originator: Bourne-again Superuser
>Organization:
DEVETIR
>Release: FreeBSD 2.2-CURRENT i386
>Environment:
machine "i386"
cpu "I386_CPU"
cpu "I486_CPU"
cpu "I586_CPU" # aka Pentium(tm)
ident mugwump
maxusers 10
options CHILD_MAX=128
options OPEN_MAX=128
config kernel root on sd0 dumps on sd0
options "COMPAT_43"
options USER_LDT #allow user-level control of i386 ldt
options SYSVSHM
options SYSVSEM
options SYSVMSG
options DDB
options KTRACE #kernel tracing
options UCONSOLE
options INET #Internet communications protocols
pseudo-device ether #Generic Ethernet
pseudo-device loop #Network loopback device
pseudo-device sl 2 #Serial Line IP
pseudo-device bpfilter 4 #Berkeley packet filter
pseudo-device disc #Discard device
pseudo-device tun 1 #Tunnel driver(user process ppp)
options "TCP_COMPAT_42" #emulate 4.2BSD TCP bugs
options MROUTING # Multicast routing
options FFS #Fast filesystem
options "CD9660" #ISO 9660 filesystem
options FDESC #File descriptor filesystem
options KERNFS #Kernel filesystem
options MFS #Memory File System
options MSDOSFS #MS DOS File System
options PROCFS #Process filesystem
options DEVFS #devices filesystem
options NSWAPDEV=20
controller scbus0 #base SCSI code
device ch0 #SCSI media changers
device sd0 #SCSI disks
device st0 #SCSI tapes
device cd0 #SCSI CD-ROMs
device od0 #SCSI optical disk
device worm0 at scbus? # SCSI worm
device pt0 at scbus? # SCSI processor type
device sctarg0 at scbus? # SCSI target
options SCSIDEBUG
options SCSI_REPORT_GEOMETRY
pseudo-device speaker #Play IBM BASIC-style noises out your speaker
pseudo-device log #Kernel syslog interface (/dev/klog)
pseudo-device gzip #Exec gzipped a.out's
pseudo-device vn #Vnode driver (turns a file into a device)
controller isa0
options BOUNCE_BUFFERS
options XSERVER # include code for XFree86
options FAT_CURSOR # start with block cursor
device sc0 at isa? port "IO_KBD" tty irq 1 vector scintr
options HARDFONTS
options MAXCONS=16
device npx0 at isa? port "IO_NPX" irq 13 vector npxintr
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
options FDSEEKWAIT=16
device lpt0 at isa? port? tty irq 7 vector lptintr
device lpt1 at isa? port "IO_LPT3" tty irq 5 vector lptintr
device psm0 at isa? port "IO_KBD" conflicts tty irq 12 vector psmintr
device sio0 at isa? port "IO_COM1" tty irq 4 vector siointr
device lnc0 at isa? port 0x6000 net irq 11 drq 0 vector lncintr
device pca0 at isa? port IO_TIMER1 tty
controller eisa0
controller pci0
controller ahc1
options PROBE_VERBOSE
options LINUX
options SHOW_BUSYBUFS # List buffers that prevent root unmount
FreeBSD 2.2-CURRENT #5: Wed Apr 3 15:32:34 EST 1996
toor@priapus.devetir.qld.gov.au:/usr/src/sys/compile/mugwump
CPU: Pentium (74.99-MHz 586-class CPU)
Origin = "GenuineIntel" Id = 0x525 Stepping=5
Features=0x1bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8>
real memory = 33554432 (32768K bytes)
avail memory = 30601216 (29884K bytes)
DEVFS: ready for devices
eisa0: <ACR1c01 (System Board)>
Probing for devices on the EISA bus
Probing for devices on PCI bus 0:
chip0 <Intel 82434LX (Mercury) PCI cache memory controller> rev 3 on pci0:0
chip1 <Intel 82375EB PCI-EISA bridge> rev 5 on pci0:6
pci0:8: AMD, device=0x2000, class=network (ethernet) int a irq 11 [no driver
assigned]
ahc0 <Adaptec aic7870 SCSI host adapter> rev 3 int a irq 10 on pci0:10
checksum error
ahc0: SEEPROM read failed, using leftover BIOS values
ahc0: aic7870 Single Channel, SCSI Id=7, 16 SCBs
(ahc0:0:0): "CONNER CFP1080S 4649" type 0 fixed SCSI 2
sd0(ahc0:0:0): Direct-Access 1030MB (2110812 512 byte sectors)
sd0(ahc0:0:0): with 3658 cyls, 6 heads, and an average 96 sectors/track
(ahc0:4:0): "TANDBERG TDC 4100 =07:" type 1 removable SCSI 2
st0(ahc0:4:0): Sequential-Access density code 0x0, drive empty
(ahc0:6:0): "MATSHITA CD-ROM CR-503 1.0j" type 5 removable SCSI 2
cd0(ahc0:6:0): CD-ROM
cd0(ahc0:6:0): NOT READY asc:3a,0 Medium not present
can't get the size
Probing for devices on the ISA bus:
sc0 at 0x60-0x6f irq 1 on motherboard
sc0: VGA color <16 virtual consoles, flags=0x0>
lpt0 at 0x378-0x37f irq 7 on isa
lpt0: Interrupt-driven port
lp0: TCP/IP capable interface
lpt1 not found at 0x3bc
psm0 not found at 0x60
sio0 at 0x3f8-0x3ff irq 4 on isa
sio0: type 16550A
pca0 on motherboard
pca0: PC speaker audio driver
fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
fdc0: NEC 72065B
fd0: 1.44MB 3.5in
lnc0 at 0x6000-0x6017 irq 11 drq 0 on eisa slot 6
lnc0: PCnet-32 VL-Bus Ethernet controller, address 00:00:e2:03:2b:56
npx0 on motherboard
npx0: INT 16 interface
sctarg0(noadapter::): Processor Target
devfs ready to run
>Description:
Crashes in kernel bcopy, whcih I'd earlier erroneously attributed
to the devfs code problem which Bruce has just fixed. The above dmesg is from
an earlier working kernel with the devfs errors deleted.
Fatal trap 12: Page fault while in kernel mode
fault virtual address = 0x0
fault code = supervisor read, page not present\
instruction pointer = 0x8:0xf019738e
stack pointer = 0x10:0xefbffee0
frame pointer = 0x10:0xefbfff10
code segment = base 0x0, limit 0xfffff, type 0x1b
= DPL 0, pres1, def32 1, gran 1
processor eflags = interrupt enabled, resume, IOPL = 0
current process = 0 (swapper)
interrupt mask =
kernel: type 12 trap, code=0
Stopped at _bcopy+0x1a: repe movsl (%esi),%es:(%edi)
The backtrace is as follows:
_bcopy(f01dca28,f0c24b00) at _bcopy+0x1a
_vm_fork(f01dca28,f0c24b00) at _vm_fork+0xeb
_fork1(f01dca28,0,0,efbfffa4,efbfffac) at _fork1+0x435
_fork(f01dca28,0,efbfffa4) at _fork+0x12
_main(efbfffb8,5,efbfffc4,f0194c88,efbffff4,f0193cff,f0193fa1,30,206f24,213000,
213000,0,f1540407) at _main+0xa8
begin() at begin+0x59
>How-To-Repeat:
Boot, using kernel built from src-cur.165? on this hardware.
>Fix:
Dunno.
--
The views expressed above are not those of the Worker's Compensation Board of
Queensland, Australia.
>Audit-Trail:
>Unformatted:
message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199604070305.DAA26531>
