Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Jan 1999 10:59:46 +1100
From:      Peter Jeremy <peter.jeremy@auss2.alcatel.com.au>
To:        dcs@newsguy.com
Cc:        current@FreeBSD.ORG
Subject:   Problem loading 2.x kernel with new bootblocks [Re: Experiences with aout-to-elf and new bootblocks]
Message-ID:  <99Jan22.105910est.40367@border.alcanet.com.au>

next in thread | raw e-mail | index | archive | help
Splitting the thread...

"Daniel C. Sobral" <dcs@newsguy.com> wrote:
>> /boot/loader could load my 2.x kernel (although it happily handled
>               ^^^^^^^^^^
>You mean "could not", right?

That's correct.

>Is it kzipped, your 2.x kernel? (Is there any detail about it that
>you think it is not relevant? :-)

Further point: a GENERIC 2.2.6-RELEASE kernel boots successfully, so
it is something about my kernel.  The config file and boot messages
are below.  FWIW, boot -d still hangs, so it's dying fairly early.
The kernel is not gzip'd - it's installed using `make install'.

System details: PII-266 with IDE disks:
primary master:   wd0:  dualboot (W95/FreeBSD 2.x)
primary slave:    ATAPI cdrom
secondary master: wd2: FreeBSD 3.0 (not dangerously dedicated)
secondary slave:  not present

The kernel has been built with gcc-2.8.1 -O2.

My 2.x config file:
machine		"i386"
cpu		"I686_CPU"
ident		gsm_xt
maxusers	20
options		FAILSAFE		#Be conservative
config		kernel	root on wd0
options		"COMPAT_43"		#Compatible with BSD 4.3 [KEEP THIS!]
options		USER_LDT		# user-level control of i386 LDT
options		SYSVSHM
options		SHMMAX=16777216
options		SYSVSEM
options		SYSVMSG
options		"MD5"
options		DDB
options		KTRACE		#kernel tracing
options		PERFMON
options		UCONSOLE		#Allow users to grab the console
options		USERCONFIG		#boot -c editor
options		VISUAL_USERCONFIG	#visual boot -c editor
options		INET			#InterNETworking
pseudo-device	ether
pseudo-device	loop
pseudo-device	bpfilter 4
pseudo-device	tun	1
options		FFS			#Berkeley Fast Filesystem
options		NFS			#Network Filesystem
options		"CD9660"		#ISO 9660 Filesystem
options		FDESC			#File descriptor filesystem
options		KERNFS			#Kernel filesystem
options		MFS			#Memory filesystem
options		MSDOSFS			#MSDOS Filesystem
options		PROCFS			#Process filesystem
pseudo-device	pty	256
pseudo-device	speaker
pseudo-device	log
pseudo-device	gzip		# Exec gzipped a.out's
pseudo-device	vn
controller	isa0
options		"AUTO_EOI_1"
controller	pci0
controller      pnp0
device		sc0	at isa? port "IO_KBD" tty irq 1 vector scintr
options		MAXCONS=12		# number of virtual consoles
device		npx0	at isa? port "IO_NPX" flags 0x1 irq 13 vector npxintr
controller	wdc0	at isa? port "IO_WD1" flags 0x80ff80ff bio irq 14 vector wdintr
disk		wd0	at wdc0 drive 0
disk		wd1	at wdc0 disable drive 1
controller	wdc1	at isa? disable port "IO_WD2" bio irq 15 vector wdintr
disk		wd2	at wdc1 disable drive 0
disk		wd3	at wdc1 disable 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
controller	fdc0	at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr
disk		fd0	at fdc0 drive 0
disk		fd1	at fdc0 disable drive 1
device		lpt0	at isa? port? tty irq 7 vector lptintr
device		psm0	at isa? port "IO_KBD" conflicts tty irq 12 vector psmintr
device		apm0    at isa?			# Advanced Power Management
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 pcm0 at isa? port ? tty irq 5 drq 1 flags 0x13 vector pcmintr
device pca0 at isa? port IO_TIMER1 tty
device		joy0	at isa? port "IO_GAME"
device tx0
options		"CLK_USE_I586_CALIBRATION"

The boot messages:
Copyright (c) 1992-1998 FreeBSD Inc.
Copyright (c) 1982, 1986, 1989, 1991, 1993
	The Regents of the University of California.  All rights reserved.

FreeBSD 2.2.6-RELEASE #1: Tue Dec  1 07:58:15 EST 1998
    root@gsmx07.alcatel.com.au:/usr/src/sys/compile/gsmx
CPU: Pentium Pro (267.32-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x633  Stepping=3
  Features=0x80f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,MMX>
real memory  = 67108864 (65536K bytes)
avail memory = 63406080 (61920K bytes)
Probing for devices on PCI bus 0:
chip0 <generic PCI bridge (vendor=8086 device=7180 subclass=0)> rev 3 on pci0:0:0
chip1 <generic PCI bridge (vendor=8086 device=7181 subclass=4)> rev 3 on pci0:1:0
chip2 <Intel 82371AB PCI-ISA bridge> rev 1 on pci0:7:0
chip3 <Intel 82371AB IDE interface> rev 1 on pci0:7:1
chip4 <Intel 82371AB USB interface> rev 1 int d irq 11 on pci0:7:2
chip5 <Intel 82371AB Power management controller> rev 1 on pci0:7:3
vga0 <VGA-compatible display device> rev 0 int a irq 10 on pci0:9:0
tx0 <SMC 83c170> rev 6 int a irq 9 on pci0:10:0
tx0: address 00:e0:29:24:34:1f, type SMC9432TX, phy QS6612, Auto-Neg 10Mbps 
Probing for devices on PCI bus 1:
Probing for PnP devices:
CSN 1 Vendor ID: CTL00f0 [0xf0008c0e] Serial 0xffffffff
pcm1 (SB16pnp <Vibra16X> sn 0xffffffff) at 0x220 irq 5 drq 1 flags 0x13 id 14
Probing for devices on the ISA bus:
sc0 at 0x60-0x6f irq 1 on motherboard
sc0: VGA color <12 virtual consoles, flags=0x0>
lpt0 at 0x378-0x37f irq 7 on isa
lpt0: Interrupt-driven port
lp0: TCP/IP capable interface
psm0 at 0x60-0x64 irq 12 on motherboard
psm0: model Generic PS/2 mouse, device ID 0
sio0 at 0x3f8-0x3ff irq 4 on isa
sio0: type 16550A
sio1 at 0x2f8-0x2ff irq 3 on isa
sio1: type 16550A
pcm0 not found at 0xffffffff
pca0 on motherboard
pca0: PC speaker audio driver
wdc0 at 0x1f0-0x1f7 irq 14 flags 0x80ff80ff on isa
wdc0: unit 0 (wd0): <FUJITSU MPB3064ATU E>, 32-bit, multi-block-16
wd0: 6187MB (12672450 sectors), 13410 cyls, 15 heads, 63 S/T, 512 B/S
wdc0: unit 1 (atapi): <CD-ROM CDU611/2.0a>, removable, accel, dma, iordis
wcd0: 1723KB/sec, 256KB cache, audio play, 16 volume levels, ejectable tray
wcd0: no disc inside, unlocked
wcd0:  mode 2 form 1(XA) 2, multisession, CD-DA read stream, comb. rw, rw corr., ISRC, UPC
wdc1 at 0x170-0x177 irq 15 flags 0x80ff80ff on isa
wdc1: unit 0 (wd2): <QUANTUM FIREBALL_TM1280A>, 32-bit, multi-block-16
wd2: 1222MB (2503872 sectors), 2484 cyls, 16 heads, 63 S/T, 512 B/S
fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
fdc0: FIFO enabled, 8 bytes threshold
fd0: 1.44MB 3.5in
npx0 flags 0x1 on motherboard
npx0: INT 16 interface
apm0 on isa
apm: found APM BIOS version 1.1
joy0 at 0x201 on isa
joy0: joystick

Peter
--
Peter Jeremy (VK2PJ)                    peter.jeremy@alcatel.com.au
Alcatel Australia Limited
41 Mandible St                          Phone: +61 2 9690 5019
ALEXANDRIA  NSW  2015                   Fax:   +61 2 9690 5982

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?99Jan22.105910est.40367>