Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Jan 1998 00:27:53 +0000 (GMT)
From:      Paulo Cesar Pereira de Andrade <paulo@fiscodata-pr.netpar.com.br>
To:        freebsd-questions@freebsd.org
Subject:   Machine won't boot after make world and new kernel
Message-ID:  <Pine.BSF.3.96.980106000606.175C-100000@demonio.inferno>

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

Hi,

I'm asking here because I think this can be a known problem.

After finishing a make world, and booting a new kernel, I always
receive this message:
----
Fault trap 12: page fault while in kernel mode
fault virtual address  = 0xf2a5d000
fault code             = supervisor write, page not present
instruction pointer    = 0x8:0xf01e1f2c
stack pointer          = 0x10:0xf01ecf24
frame pointer          = 0x10:0xf244d360
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        = Idle
interrupt mask         = bio
trap number            = 12
panic: page fault

syncing disks...
----
    Stops here, but I can type and scroll the contents of the virtual
terminal.

    I left a long period (more than a month since the last cvsup).
This is the dmesg from a working kernel:
----
Copyright (c) 1992-1997 FreeBSD Inc.
Copyright (c) 1982, 1986, 1989, 1991, 1993
	The Regents of the University of California. All rights reserved.
FreeBSD 3.0-CURRENT #0: Mon Dec 22 22:32:10 GMT 1997
    root@demonio.inferno:/usr/src/sys/compile/SND
Calibrating clock(s) ... i8254 clock: 1194104 Hz
CLK_USE_I8254_CALIBRATION not specified - using default frequency
CPU: AMD Am5x86 Write-Back (486-class CPU)
  Origin = "AuthenticAMD"  Id = 0x4f4  Stepping=4
  Features=0x1<FPU>
real memory  = 16777216 (16384K bytes)
Physical memory chunk(s):
0x00001000 - 0x0009ffff, 651264 bytes (159 pages)
0x00226000 - 0x00ffdfff, 14516224 bytes (3544 pages)
avail memory = 14557184 (14216K bytes)
Found BIOS32 Service Directory header at 0xf00f6f10
Entry = 0xf6f20 (0xf00f6f20)  Rev = 0  Len = 1
PCI BIOS entry at 0x6f41
Other BIOS signatures found:
ACPI: 00000000
$PnP: 00000000
pci_open(1):	mode 1 addr port (0x0cf8) is 0x80009040
pci_open(1a):	mode1res=0x80000000 (0x80000000)
pci_cfgcheck:	device 0 1 2 3 4 5 6 7 8 9 10 11 12 13 [class=040000] [hdr=00] is there (id=0001121a)
Probing for devices on PCI bus 0:
found->	vendor=0x121a, dev=0x0001, revid=0x02
	class=04-00-00, hdrtype=0x00, mfdev=0
	map[0]: type 3, range 32, base fe000000, size 24
found->	vendor=0x5333, dev=0x8811, revid=0x40
	class=03-00-00, hdrtype=0x00, mfdev=0
	intpin=a, irq=12
	map[0]: type 1, range 32, base f8000000, size 26
vga0: <S3 Trio graphics accelerator> rev 0x40 int a irq 12 on pci0.14.0
found->	vendor=0x1060, dev=0x8881, revid=0x04
	class=06-00-00, hdrtype=0x00, mfdev=0
chip0: <Host to PCI bridge (vendor=1060 device=8881)> rev 0x04 on pci0.16.0
found->	vendor=0x1060, dev=0x886a, revid=0x0e
	class=06-01-00, hdrtype=0x00, mfdev=1
chip1: <PCI to ISA bridge (vendor=1060 device=886a)> rev 0x0e on pci0.18.0
found->	vendor=0x1060, dev=0x673a, revid=0x10
	class=01-01-8a, hdrtype=0x00, mfdev=1
	map[0]: type 4, range 32, base 00000170, size  3
	map[1]: type 4, range 32, base 00000374, size  2
	map[2]: type 4, range 32, base 0000ffe0, size  3
	map[3]: type 4, range 32, base 0000fff0, size  2
	map[4]: type 4, range 32, base 0000ffa0, size  4
ide_pci0: <PCI IDE controller (busmaster capable)> rev 0x10 on pci0.18.1
generic_status: no PCI IDE timing info available
generic_status: no PCI IDE timing info available
ide_pci: busmaster 0 status: ff from port: 0000ffa2
ide_pci: ide0:0 has been configured for DMA by BIOS
ide_pci: ide0:1 has been configured for DMA by BIOS
ide_pci: controller is simplex, no DMA on secondary channel
Probing for PnP devices:
Trying Read_Port at 203
CSN 1 Vendor ID: CTL002b [0x2b008c0e] Serial 0x10014220
Called nullpnp_probe with tag 0x00000001, type 0x2b008c0e
Probing for devices on the ISA bus:
sc0: the current keyboard controller command byte 0045
kbdio: DIAGNOSE status:0055
kbdio: TEST_KBD_PORT status:0000
kbdio: RESET_KBD return code:00fa
kbdio: RESET_KBD status:00aa
sc0 at 0x60-0x6f irq 1 on motherboard
sc0: BIOS video mode:3
sc0: VGA registers upon power-up
50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 55 81 
bf 1f 00 4f 0d 0e 00 00 07 80 9c 8e 8f 28 1f 96 
b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 
3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff 
sc0: video mode:24
sc0: VGA registers in BIOS for mode:24
50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 55 81 
bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96 
b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 
3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff 
sc0: VGA registers to be used for mode:24
50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 55 81 
bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96 
b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 
3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff 
sc0: rows_offset:1
sc0: VGA color <16 virtual consoles, flags=0x0>
sio0 at 0x3f8-0x3ff irq 4 flags 0x10 on isa
sio0: type 16550A
sio1 at 0x2f8-0x2ff irq 3 on isa
sio1: type 16550A
sio2 at 0x3e8-0x3ef irq 5 on isa
sio2: type 16550A
fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
fd0: 1.44MB 3.5in
wdc0 at 0x1f0-0x1f7 irq 14 on isa
wdc0: unit 0 (wd0): <Maxtor 71670 AP>
wd0: 1596MB (3269952 sectors), 3244 cyls, 16 heads, 63 S/T, 512 B/S
wd0: ATA INQUIRE valid = 0003, dmamword = 0407, apio = 0003, udma = 0000
wdc0: unit 1 (atapi): <NEC                 CD-ROM DRIVE:283/3.04>, removable, dma, iordy
wcd0: 1376Kb/sec, 128Kb cache, audio play, 256 volume levels, ejectable tray
wcd0: no disc inside, unlocked
wdc1 not found at 0x170
npx0 on motherboard
npx0: INT 16 interface
sb0: disabled, not probed.
sbxvi0: disabled, not probed.
sbmidi0: disabled, not probed.
opl0: disabled, not probed.
imasks: bio c0084040, tty c007003a, net c007003a
BIOS Geometries:
 0:03293f3f 0..809=810 cylinders, 0..63=64 heads, 1..63=63 sectors
 1:01300311 0..304=305 cylinders, 0..3=4 heads, 1..17=17 sectors
 2:01300311 0..304=305 cylinders, 0..3=4 heads, 1..17=17 sectors
 3:01300311 0..304=305 cylinders, 0..3=4 heads, 1..17=17 sectors
 0 accounted for
Device configuration finished.
Considering FFS root f/s.
wd0s1: type 0x6, start 63, end = 822527, size 822465 : OK
wd0s2: type 0xa5, start 822528, end = 3269951, size 2447424 : OK
WARNING: / was not properly dismounted.
----

    I have disabled the sound devices, thinking it could be the problem.
Anyway, it only works when booting with fbsdboot.

    With the old kernel, the machine is very stable, and can do a
complete make world in about 10 hours (If this matters, it is
overclocked to 160MHz).

    I'm not sure, but it appears that it crashes when going to probe
the CD-ROM.

Thanks






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.980106000606.175C-100000>