Date: Sat, 17 Apr 1999 17:52:57 +0100 (WEST) From: Jose Gabriel Marcelino <gabriel@maquina.com> To: freebsd-current@freebsd.org Subject: boot kernel panic with the latest new-bus Message-ID: <Pine.BSF.4.05.9904171733280.288-100000@devils.int.maquina.com>
next in thread | raw e-mail | index | archive | help
Hi,
I'm getting kernel panics during boot with the latest
kernel built today using new-bus.
This broke both my custom kernel and today's GENERIC (with all the needed
updates) on my machine. Booting with the old kernel works fine.
From what I can see (and copied from paper) this is what happens:
--- boot messages
pcib1: <PCI to PCI bridge (vendor=1039 device=0001)> at device 2.0 on pci0
pci1: <PCI bus> on pcib1
ed0: <NE2000 PCI Ethernet (RealTek 8029)> at device 10.0 on pci0
ed0: interrupting at irq 9
ncr0: <ncr 53c810 fast10 scsi> at device 11.0 on pci0
ncr0: interrupting at irq 10
Fatal trap 12: page fault while in kernel mode
fault virtual address = 0x4
fault code = supervisor read, page not present
instruction pointer = 0x8:0xc01f3ac1
stack pointer = 0x10:0xc02cef88
frame pointer = 0x10:0xc02cef88
code segment = base 0x0, limit 0xffff, type 0x1b
= DPL 0, pres 1, def32 1, gran 1
processor eflags = interrupt enabled, resume, IOPL=0
current process = 0 ()
interrupt mask =
trap number = 12
panic: page fault
------
also, booting a debug kernel it adds the following:
"stopped at cninit_finish+0x25: movl 0x4(%edx),%eax"
This machine is a K6 300, 128Mb ECC DIMM, Asus SP98AGP-X motherboard
using the SiS 5591 chipset, Matrox Mystique graphics card, NCR 810 SCSI
controller and an Asus 36x ATAPI CD-Rom. (I have removed Soren's ATAPI
driver too, but there is no change)
The following is the dmesg output from the working (older) kernel:
Copyright (c) 1992-1999 The FreeBSD Project.
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California. All rights reserved.
FreeBSD 4.0-CURRENT #5: Fri Apr 9 10:13:51 WEST 1999
root@devils:/usr/local/src/sys/compile/DEVILS
Timecounter "i8254" frequency 1193182 Hz
Timecounter "TSC" frequency 300002041 Hz
CPU: AMD-K6tm w/ multimedia extensions (300.00-MHz 586-class CPU)
Origin = "AuthenticAMD" Id = 0x570 Stepping=0
Features=0x8001bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,MMX>
real memory = 67108864 (65536K bytes)
avail memory = 62382080 (60920K bytes)
Preloaded elf kernel "kernel" at 0xc02c8000.
Probing for devices on PCI bus 0:
chip0: <Host to PCI bridge (vendor=1039 device=5591)> rev 0x02 on pci0.0.0
ata-pci0: <Unknown PCI IDE controller> rev 0xd0 int a irq 14 on pci0.0.1
ata-pci0: Busmastering DMA supported
ata0 at 0x01f0 irq 14 on ata-pci0
chip1: <SiS 85c503> rev 0x01 on pci0.1.0
chip2: <PCI to PCI bridge (vendor=1039 device=0001)> rev 0x00 on pci0.2.0
ed1: <NE2000 PCI Ethernet (RealTek 8029)> rev 0x00 int a irq 9 on pci0.10.0
ed1: address 00:00:1c:01:9d:d9, type NE2000 (16 bit)
ncr0: <ncr 53c810 fast10 scsi> rev 0x01 int a irq 10 on pci0.11.0
vga0: <Matrox MGA 1024SG/1064SG/1164SG graphics accelerator> rev 0x03 int a irq 11 on pci0.12.0
Probing for devices on PCI bus 1:
Probing for PnP devices:
Probing for devices on the ISA bus:
sc0 on isa
sc0: VGA color <16 virtual consoles, flags=0x0>
atkbdc0 at 0x60-0x6f on motherboard
atkbd0 irq 1 on isa
kbd0 at atkbd0
psm0 irq 12 on isa
psm0: model Generic PS/2 mouse, device ID 0
sio0 at 0x3f8-0x3ff irq 4 flags 0x10 on isa
sio0: type 16550A
sio1 at 0x2f8-0x2ff irq 3 on isa
sio1: type 16550A
ppc0 at 0x378 irq 7 on isa
ppc0: Winbond chipset (ECP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/16 bytes threshold
plip0: <PLIP network interface> on ppbus 0
ppi0: <generic parallel i/o> on ppbus 0
vga0 at 0x3b0-0x3df maddr 0xa0000 msize 131072 on isa
npx0 on motherboard
npx0: INT 16 interface
acd0: <ASUS CD-S360/V2.40> CDROM drive at ata0 as master
acd0: drive speed 0 - 6187KB/sec, 128KB cache
acd0: supported read types: CD-R, CD-RW, CD-DA
acd0: Audio: play, 255 volume levels
acd0: Mechanism: ejectable tray
acd0: Medium: no/blank disc inside, unlocked
Waiting 5 seconds for SCSI devices to settle
pass4 at ncr0 bus 0 target 6 lun 0
pass4: <SCANNER 2.02> Fixed Scanner SCSI-CCS device
pass4: 3.300MB/s transfers
da0 at ncr0 bus 0 target 0 lun 0
da0: <QUANTUM FIREBALL1080S 1Q09> Fixed Direct Access SCSI-2 device
da0: 10.000MB/s transfers (10.000MHz, offset 8)
da0: 1042MB (2134305 512 byte sectors: 255H 63S/T 132C)
da1 at ncr0 bus 0 target 1 lun 0
da1: <CONNER CFP2105S 2.14GB 2B4B> Fixed Direct Access SCSI-2 device
da1: 10.000MB/s transfers (10.000MHz, offset 8), Tagged Queueing Enabled
da1: 2048MB (4194304 512 byte sectors: 255H 63S/T 261C)
da2 at ncr0 bus 0 target 3 lun 0
da2: <CONNER CFP1060S 1.05GB 2035> Fixed Direct Access SCSI-2 device
da2: 10.000MB/s transfers (10.000MHz, offset 8), Tagged Queueing Enabled
da2: 1013MB (2074880 512 byte sectors: 64H 32S/T 1013C)
changing root device to da0s1a
da3 at ncr0 bus 0 target 5 lun 0
da3: <IOMEGA ZIP 100 D.09> Removable Direct Access SCSI-2 device
da3: 3.300MB/s transfers
da3: 96MB (196608 512 byte sectors: 64H 32S/T 96C)
ffs_mountfs: superblock updated for soft updates
ffs_mountfs: superblock updated for soft updates
--------
The following is my (new) config file:
--------
# Devil's kernel
machine "i386"
cpu "I586_CPU"
options "CPU_WT_ALLOC"
ident DEVILS
maxusers 32
options INET #InterNETworking
options FFS #Berkeley Fast Filesystem
options FFS_ROOT #FFS usable as root device [keep this!]
options SOFTUPDATES
options NFS #Network Filesystem
options "CD9660" #ISO 9660 Filesystem
options PROCFS #Process filesystem
options "COMPAT_43" #Compatible with BSD 4.3 [KEEP THIS!]
options SCSI_DELAY=5000 #Be pessimistic about Joe SCSI device
options UCONSOLE #Allow users to grab the console
options USERCONFIG #boot -c editor
options VISUAL_USERCONFIG #visual boot -c editor
options USER_LDT
options COMPAT_LINUX
options "EXT2FS"
options "VM86"
config kernel root on da0
controller isa0 at nexus?
#device pnp0
controller pci0 at nexus?
#controller wdc0 at isa? port "IO_WD1" bio irq 14
#disk wd0 at wdc0 drive 0
#disk wd1 at wdc0 drive 1
#options ATAPI #Enable ATAPI support for IDE bus
#options ATAPI_STATIC #Don't do it as an LKM
#device wcd0 #IDE CD-ROM
# ATAPI subsystem
#controller ata0
#device atadisk0 # ATA disk drives
#device atapicd0 # ATAPI CDROM drives
#device atapifd0 # ATAPI floppy drives
#device atapist0 # ATAPI tape drives
# SCSI subsystem
controller ncr0
controller scbus0
device da0
device pass0
# atkbdc0 controlls both the keyboard and the PS/2 mouse
controller atkbdc0 at isa? port IO_KBD
device atkbd0 at atkbdc? tty irq 1
device psm0 at atkbdc? tty irq 12
options KBD_INSTALL_CDEV
# VGA device and console
device vga0 at isa? port ? conflicts
device sc0 at isa? tty
options VESA
# Numerical coprocessor (keep this!)
device npx0 at nexus? port IO_NPX irq 13
# Serial ports
device sio0 at isa? port "IO_COM1" flags 0x10 tty irq 4
device sio1 at isa? port "IO_COM2" tty irq 3
# Parallel port
device ppc0 at isa? port? net irq 7
controller ppbus0
device nlpt0 at ppbus?
device plip0 at ppbus?
device ppi0 at ppbus?
# Ethernet devices
device ed0
# Kernel options
options KTRACE #kernel tracing
options SYSVSHM
options SYSVMSG
options SYSVSEM
# Pseudo devices
pseudo-device loop
pseudo-device ether
pseudo-device sl 1
pseudo-device ppp 1
pseudo-device tun 1
pseudo-device pty 16
pseudo-device gzip # Exec gzipped a.out's
pseudo-device vn
pseudo-device bpfilter 4 #Berkeley packet filter
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.05.9904171733280.288-100000>
