Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Apr 1999 08:51:30 +0800
From:      Stephen Hocking-Senior Programmer PGS Tensor Perth <shocking@prth.pgs.com>
To:        current@freebsd.org
Subject:   New kernels won't boot
Message-ID:  <199904280051.IAA09151@ariadne.tensor.pgs.com>

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

 On my machine, a kernel newer than one built on the 22nd will not complete 
booting, panicing about not being able to mount root. Another machine with a 
very similar config is fine. The main difference is that the faulty machine 
has its FreeBSD partition in an odd spot on the disk. Below is the dmesg 
output, the fdisk output and the config file.


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 #0: Thu Apr 22 00:37:32 WST 1999
    toor@bloop.craftncomp.com:/usr/src/sys/compile/bleep
Timecounter "i8254"  frequency 1193182 Hz
CPU: AMD Enhanced Am486DX4 Write-Through (486-class CPU)
  Origin = "AuthenticAMD"  Id = 0x484  Stepping=4
  Features=0x1<FPU>
real memory  = 16777216 (16384K bytes)
avail memory = 13750272 (13428K bytes)
Preloaded elf kernel "kernel.good" at 0xc02c4000.
Probing for PnP devices:
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <PCI host bus adapter> on motherboard
pci0: <PCI bus> on pcib0
chip0: <Host to PCI bridge (vendor=10b9 device=1445)> at device 0.0 on pci0
de0: <Digital 21140 Fast Ethernet> at device 4.0 on pci0
de0: interrupting at irq 11
de0: SMC 9332DST 21140 [10-100Mb/s] pass 1.2
de0: address 00:00:c0:a6:59:dc
de0: enabling 10baseT port
isa0: <ISA bus> on motherboard
atkbdc0: <keyboard controller (i8042)> at port 0x60 on isa0
atkbd0: <AT Keyboard> on atkbdc0
atkbd0: interrupting at irq 1
vga0: <Generic ISA VGA> on isa0
sc0: <System console> on isa0
sc0: VGA color <16 virtual consoles, flags=0x0>
ata1 at irq 14 on isa0
ata1: interrupting at irq 14
fdc0: interrupting at irq 6
fdc0: <NEC 765 or clone> at port 0x3f0-0x3f7 irq 6 drq 2 on isa0
fd0: <1440-KB 3.5" drive> at fdc0 drive 0
mse0 at port 0x23c irq 5 on isa0
mse0: interrupting at irq 5
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio0: interrupting at irq 4
sio1 at port 0x2f8-0x2ff irq 3 flags 0x10 on isa0
sio1: type 16550A
sio1: interrupting at irq 3
ed0 at port 0x280-0x29f iomem 0xd8000-0xdbfff irq 10 on isa0
ed0: address 00:00:c0:d2:b2:72, type SMC8216T (16 bit) 
ed0: interrupting at irq 10
ppc0 at port 0x378 irq 7 on isa0
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
plip0: <PLIP network interface> on ppbus 0
lpt0: <generic printer> on ppbus 0
lpt0: Interrupt-driven port
ppi0: <generic parallel i/o> on ppbus 0
lppps0: <Pulse per second Timing Interface> on ppbus 0
ppc0: interrupting at irq 7
IP packet filtering initialized, divert enabled, rule-based forwarding 
enabled, default to accept, logging disabled
ds0 XXX: driver didn't set ifq_maxlen
ad0: <ST34321A/3.11> ATA-4 disk at ata0 as master
ad0: 4103MB (8404830 sectors), 8894 cyls, 15 heads, 63 S/T, 512 B/S
ad0: piomode=4, dmamode=2, udmamode=2
ad0: 16 secs/int, 0 depth queue, PIO mode
changing root device to wd0s4a
ffs_mountfs: superblock updated for soft updates
ffs_mountfs: superblock updated for soft updates
ffs_mountfs: superblock updated for soft updates
ffs_mountfs: superblock updated for soft updates



******* Working on device /dev/rwd0 *******
parameters extracted from in-core disklabel are:
cylinders=1042 heads=128 sectors/track=63 (8064 blks/cyl)

Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=1042 heads=128 sectors/track=63 (8064 blks/cyl)

Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
<UNUSED>
The data for partition 2 is:
<UNUSED>
The data for partition 3 is:
<UNUSED>
The data for partition 4 is:
sysid 165,(FreeBSD/NetBSD/386BSD)
    start 201600, size 7999488 (3906 Meg), flag 80 (active)
	beg: cyl 25/ sector 1/ head 0;
	end: cyl 1016/ sector 63/ head 127



machine		"i386"
ident		BLEEP
maxusers	10
options         INCLUDE_CONFIG_FILE     # Include this file in kernel
config		kernel	root on ad0 dumps on ad0
cpu		"I486_CPU"
cpu		"I586_CPU"		# aka Pentium(tm)
cpu		"I686_CPU"		# aka Pentium Pro(tm)
options		"COMPAT_43"
options		USER_LDT		#allow user-level control of i386 ldt
options		SYSVSHM
options		SYSVSEM
options		SYSVMSG
options		"VM86"
options		DDB
options		KTRACE			#kernel tracing
options		UCONSOLE
options		USERCONFIG		#boot -c editor
options		INET			#Internet communications protocols
pseudo-device	ether			#Generic Ethernet
pseudo-device	loop			#Network loopback device
pseudo-device	bpfilter 4		#Berkeley packet filter
pseudo-device	disc			#Discard device
pseudo-device	tun	2		#Tunnel driver (ppp(8), nos-tun(8))
options		"TCP_COMPAT_42"		#emulate 4.2BSD TCP bugs
options		MROUTING		# Multicast routing
options         IPFIREWALL              #firewall
options         IPFIREWALL_FORWARD      #enable transparent proxy support
options		"IPFIREWALL_VERBOSE_LIMIT=100" #limit verbosity
options		IPFIREWALL_DEFAULT_TO_ACCEPT #allow everything by default
options		IPDIVERT		#divert sockets
options         "ICMP_BANDLIM"
options		FFS			#Fast filesystem
options		MFS			#Memory File System
options		NFS			#Network File System
options		FDESC			#File descriptor filesystem
options		KERNFS			#Kernel filesystem
options		PROCFS			#Process filesystem
options		FFS_ROOT		#FFS usable as root device
options		SOFTUPDATES
options		"P1003_1B"
options		"_KPOSIX_PRIORITY_SCHEDULING"
options		"_KPOSIX_VERSION=199309L"
pseudo-device	pty	16	#Pseudo ttys - can go as high as 256
pseudo-device	speaker		#Play IBM BASIC-style noises out your speaker
options		"MSGBUF_SIZE=40960"
controller	isa0
controller	pnp0
controller	atkbdc0	at isa? port IO_KBD
device		atkbd0	at atkbdc? tty irq 1
device		vga0	at isa? port ? conflicts
options		VESA			# needs VM86 defined too!!
options		XSERVER			# support for running an X server.
device		sc0	at isa? tty
options		MAXCONS=16		# number of virtual consoles
device		npx0	at nexus? port IO_NPX iosiz 0x0 flags 0x0 irq 13
controller	ata0
controller	ata1	at isa? port "IO_WD1" bio irq 14
device		atadisk0	# ATA disk drives
device		atapicd0	# ATAPI CDROM drives
controller	fdc0	at isa? port "IO_FD1" bio irq 6 drq 2
disk		fd0	at fdc0 drive 0
device		mse0	at isa? port 0x23c tty irq 5
device		sio0	at isa? port "IO_COM1" tty flags 0x10 irq 4
device		sio1	at isa? port "IO_COM2" tty flags 0x10 irq 3
device ed0 at isa? port 0x280 net irq 10 iomem 0xd8000
controller	pci0
device		de0
device		rl0
controller	ppbus0
device		lpt0	at ppbus?
device		ppi0	at ppbus?
device		pps0	at ppbus?
device		ppc0	at isa? port? tty irq 7

------- End of Forwarded Message


-- 
  The views expressed above are not those of PGS Tensor.

    "We've heard that a million monkeys at a million keyboards could produce
     the Complete Works of Shakespeare; now, thanks to the Internet, we know
     this is not true."            Robert Wilensky, University of California




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?199904280051.IAA09151>