From nobody@FreeBSD.org  Mon Oct 16 17:26:55 2006
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 4EDFC16A403
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 16 Oct 2006 17:26:55 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 63A0943DAA
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 16 Oct 2006 17:26:37 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id k9GHQbQa042413
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 16 Oct 2006 17:26:37 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id k9GHQbGb042386;
	Mon, 16 Oct 2006 17:26:37 GMT
	(envelope-from nobody)
Message-Id: <200610161726.k9GHQbGb042386@www.freebsd.org>
Date: Mon, 16 Oct 2006 17:26:37 GMT
From: Eugene Dzhurinsky<eugenydzh@jdevelop.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: boot loader reboots before loading kernel
X-Send-Pr-Version: www-3.0

>Number:         104473
>Category:       i386
>Synopsis:       [boot] boot loader reboots before loading kernel on Albatron PX845EV1
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-i386
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Oct 16 17:30:13 GMT 2006
>Closed-Date:    Wed Jul 14 07:41:44 UTC 2010
>Last-Modified:  Wed Jul 14 07:41:44 UTC 2010
>Originator:     Eugene Dzhurinsky
>Release:        FreeBSD 6.1-STABLE i386, FreeBSD 6.2-PRERELEASE i386
>Organization:
>Environment:
FreeBSD jdevelop.com 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #19: Wed Oct 11 20:19:56 EEST 2006     root@jdevelop.com:/usr/obj/usr/src/sys/BOFH  i386
>Description:
After upgrade to 6.1-STABLE and then to 6.2-PRERELEASE on i386 boot
loader reboots before loading kernel. I can see few lines, but BEFORE
load the kernel, and then computer just reboots. Please take a look at
this picture (sorry for poor quality) http://jdevelop.com/fun/00000129.jpg.
>How-To-Repeat:
In my case I updated sources using CVSUP, then upgrade world exactly as
described in /usr/src/UPDATING
>Fix:
Just copied old loader, built at July 11.
>Release-Note:
>Audit-Trail:

From: Remko Lodder <remko@FreeBSD.org>
To: Eugene Dzhurinsky <eugenydzh@jdevelop.com>
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: i386/104473: boot loader reboots before loading kernel
Date: Mon, 16 Oct 2006 19:55:56 +0200

  From where did you upgrade? Do you have a custom kernel? Do you have a
 better quality picture? (This one is almost unreadable)
 
 Thanks in advance!
 
 -- 
 Kind regards,
 
     Remko Lodder  ** remko@elvandar.org
          FreeBSD  ** remko@FreeBSD.org

From: Eugeny N Dzhurinsky <eugenydzh@jdevelop.com>
To: Remko Lodder <remko@freebsd.org>
Cc: freebsd-gnats-submit@freebsd.org
Subject: Re: i386/104473: boot loader reboots before loading kernel
Date: Thu, 19 Oct 2006 10:15:36 +0300

 > From where did you upgrade? 
 
 From 6.1-PRERELEASE to 6.1-STABLE, and recently - from 6.1-STABLE to 6.2-PRERELEASE
 
 > Do you have a custom kernel? 
 
 Yes
 
 machine		i386
 cpu		I686_CPU
 ident		BOFH
 maxusers	16
 
 #makeoptions	DEBUG=-g		#Build kernel with gdb(1) debug symbols
 
 options 	SCHED_4BSD		# 4BSD scheduler
 options 	INET			# InterNETworking
 options 	INET6			# IPv6 communications protocols
 options 	FFS			# Berkeley Fast Filesystem
 options 	SOFTUPDATES		# Enable FFS soft updates support
 options 	UFS_ACL			# Support for access control lists
 options 	UFS_DIRHASH		# Improve performance on big directories
 options 	MD_ROOT			# MD is a potential root device
 options 	NFSCLIENT		# Network Filesystem Client
 options 	NFSSERVER		# Network Filesystem Server
 options 	NFS_ROOT		# NFS usable as /, requires NFSCLIENT
 options 	MSDOSFS			# MSDOS Filesystem
 options 	CD9660			# ISO 9660 Filesystem
 options 	PROCFS			# Process filesystem (requires PSEUDOFS)
 options 	PSEUDOFS		# Pseudo-filesystem framework
 options 	GEOM_GPT		# GUID Partition Tables.
 options		GEOM_BDE		# Encrypted disk support
 options 	COMPAT_43		# Compatible with BSD 4.3 [KEEP THIS!]
 #options 	COMPAT_FREEBSD4		# Compatible with FreeBSD4
 options		COMPAT_FREEBSD5		# Compatible with FreeBSD5
 options 	SCSI_DELAY=15000	# Delay (in ms) before probing SCSI
 options 	KTRACE			# ktrace(1) support
 options 	SYSVSHM			# SYSV-style shared memory
 options 	SYSVMSG			# SYSV-style message queues
 options 	SYSVSEM			# SYSV-style semaphores
 options 	_KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
 options 	KBD_INSTALL_CDEV	# install a CDEV entry in /dev
 options 	AHC_REG_PRETTY_PRINT	# Print register bitfields in debug
 					# output.  Adds ~128k to driver.
 options 	AHD_REG_PRETTY_PRINT	# Print register bitfields in debug
 					# output.  Adds ~215k to driver.
 options 	ADAPTIVE_GIANT		# Giant mutex is adaptive.
 
 device		apic			# I/O APIC
 
 options 	IPSEC			#IP security
 options 	IPSEC_ESP		#IP security (crypto; define w/ IPSEC)
 options 	IPSEC_DEBUG		#debug for IP security
 options 	IPSEC_FILTERGIF		#filter ipsec packets from a tunnel
 options		DUMMYNET	# for traffic shaping
 options 	IPFIREWALL		#firewall
 options 	IPFIREWALL_VERBOSE	#enable logging to syslogd(8)
 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		IPFILTER                #ipfilter support
 options		IPFILTER_LOG            #ipfilter logging
 
 
 # These three options provide support for System V Interface
 # Definition-style interprocess communication, in the form of shared
 # memory, semaphores, and message queues, respectively.
 #
 # System V shared memory and tunable parameters
 options 	SYSVSHM		# include support for shared memory
 options 	SHMMAXPGS=4097	# max amount of shared memory pages (4k on i386)
 options 	SHMALL=4097	# max number of shared memory pages system wide
 options 	SHMMAX="(SHMMAXPGS*PAGE_SIZE+1)"
 				# max shared memory segment size (bytes)
 options 	SHMMIN=2	# min shared memory segment size (bytes)
 options 	SHMMNI=33	# max number of shared memory identifiers
 options 	SHMSEG=9	# max shared memory segments per process
 
 # System V semaphores and tunable parameters
 options 	SYSVSEM		# include support for semaphores
 options 	SEMMAP=31	# amount of entries in semaphore map
 options 	SEMMNI=11	# number of semaphore identifiers in the system
 options 	SEMMNS=61	# number of semaphores in the system
 options 	SEMMNU=31	# number of undo structures in the system
 options 	SEMMSL=61	# max number of semaphores per id
 options 	SEMOPM=101	# max number of operations per semop call
 options 	SEMUME=11	# max number of undo entries per process
 
 # System V message queues and tunable parameters
 options 	SYSVMSG		# include support for message queues
 options 	MSGMNB=2049	# max characters per message queue
 options 	MSGMNI=41	# max number of message queue identifiers
 options 	MSGSEG=2049	# max number of message segments in the system
 options 	MSGSSZ=16	# size of a message segment MUST be power of 2
 options 	MSGTQL=41	# max amount of messages in the system
 
 
 # make normal console green on black
 options         SC_NORM_ATTR="(FG_GREEN|BG_BLACK)"
 
 # To make an SMP kernel, the next two are needed
 #options 	SMP			# Symmetric MultiProcessor Kernel
 #options 	APIC_IO			# Symmetric (APIC) I/O
 options 	PMAP_SHPGPERPROC=500
 
 device		isa
 device		eisa
 device		pci
 
 # Floppy drives
 device		fdc
 
 #
 # If you have a Toshiba Libretto with its Y-E Data PCMCIA floppy,
 # don't use the above line for fdc0 but the following one:
 #device		fdc0
 
 # ATA and ATAPI devices
 device		ata
 device		atadisk			# ATA disk drives
 device		atapicd			# ATAPI CDROM drives
 device		atapicam
 device		scbus
 device		pass
 device		cd
 options 	ATA_STATIC_ID		#Static device numbering
 
 # atkbdc0 controls both the keyboard and the PS/2 mouse
 device		atkbdc
 device		atkbd
 device		psm
 
 device		vga
 
 # splash screen/screen saver
 device	splash
 
 # syscons is the default console driver, resembling an SCO console
 device		sc
 
 # Floating point support - do not disable.
 device		npx
 device		random		# Entropy device
 
 # Power management support (see LINT for more options)
 #device		apm0    at nexus? flags 0x20 # Advanced Power Management
 
 #device 		smbus
 #device		smb
 #device      iicbus
 #device      iicbb
 #device      iic
 #device      iicsmb          # smb over i2c bridge
 #device 		intpm
 #device		ichsmb
 
 # Serial (COM) ports
 device		sio
 
 # Parallel port
 device		ppc
 device		ppbus		# Parallel port bus (required)
 device		lpt		# Printer
 device		ppi		# Parallel port interface device
 
 # USB Stuff
 device			usb
 device			uhci
 device			uhci
 device			ohci
 device			ehci
 device			ucom
 device			uvisor
 # UMASS
 device			umass
 device			da
 
 # Pseudo devices.
 device		loop		# Network loopback
 device		mem		# Memory and kernel memory devices
 device		io		# I/O device
 device		random		# Entropy device
 device		ether		# Ethernet support
 device		sl		# Kernel SLIP
 device		ppp		# Kernel PPP
 device		tun		# Packet tunnel.
 device		pty		# Pseudo-ttys (telnet etc)
 device		md		# Memory "disks"
 device		gif		# IPv6 and IPv4 tunneling
 device		faith		# IPv6-to-IPv4 relaying (translation)
 
 
 # The `bpf' pseudo-device enables the Berkeley Packet Filter.
 # Be aware of the administrative consequences of enabling this!
 device	bpf		#Berkeley packet filter
 
 #
 # ACPI support using the Intel ACPI Component Architecture reference
 # implementation.
 #
 # ACPI_DEBUG enables the use of the debug.acpi.level and debug.acpi.layer
 # kernel environment variables to select initial debugging levels for the
 # Intel ACPICA code.  (Note that the Intel code must also have USE_DEBUGGER
 # defined when it is built).
 #
 # Note that this ACPI support is experimental and it's use may result in
 # machine hangs or kernel panics.
 #
 #device		acpica
 
 #PCCARD/PCMCIA support
 
 #device		card
 #device		pcic
 
 #Card drivers (prism2)
 
 #device wi
 
 #Network drivers
 device miibus
 device	dc
 
 > Do you have a better quality picture? (This one is almost unreadable)
 
 Sorry, I don't have it for now, I will build world one more timr and try to
 take better one.
 
 -- 
 Eugene N Dzhurinsky

From: Eugeny N Dzhurinsky <eugenydzh@jdevelop.com>
To: bug-followup@FreeBSD.org, eugenydzh@jdevelop.com
Cc:  
Subject: Re: i386/104473: boot loader reboots before loading kernel
Date: Sat, 25 Nov 2006 10:39:56 +0200

 A bit better picture is available at 
 http://jdevelop.com/fun/00000407.jpg
 
 It still doesn't makes sense for me - no errors or whatever is generated,
 computer just reboots
 -- 
 Eugene N Dzhurinsky

From: Eugeny N Dzhurinsky <eugenydzh@jdevelop.com>
To: bug-followup@FreeBSD.org, eugenydzh@jdevelop.com
Cc:  
Subject: Re: i386/104473: boot loader reboots before loading kernel
Date: Mon, 27 Nov 2006 11:56:53 +0200

 I added boot_verbose and verbose_loading to /boot/loader.conf, built GENERIC
 kernel - and still no  debug messages appears when using new loader, it just
 reboots immediately, without any attempt to load kernel (at least no messages
 printed).
 
 Could somebody please advice what else I could try?
 
 -- 
 Eugene N Dzhurinsky

From: Eugeny N Dzhurinsky <eugenydzh@jdevelop.com>
To: bug-followup@FreeBSD.org, eugenydzh@jdevelop.com
Cc:  
Subject: i386/104473: boot loader reboots before loading kernel
Date: Mon, 27 Nov 2006 16:41:28 +0200

 Motherboard is Albatron PX845EV1, bios version 1.01 (latest)
 -- 
 Eugene N Dzhurinsky

From: Eugeny N Dzhurinsky <eugenydzh@jdevelop.com>
To: bug-followup@FreeBSD.org, eugenydzh@jdevelop.com
Cc:  
Subject: Re: i386/104473: boot loader reboots before loading kernel
Date: Wed, 27 Dec 2006 13:35:49 +0200

 I recently upgraded hardware : motherboard to ASUS P5PE-VM on i865 chipset
 
 But the problem still appears, could anybody please come with a solution?
 
 For now I'm just using old loader from 6.1-PRERELEASE, which works great with
 my custom kernel and generic one.
 
 -- 
 Eugene N Dzhurinsky
State-Changed-From-To: open->feedback 
State-Changed-By: remko 
State-Changed-When: Wed Jul 14 06:19:31 UTC 2010 
State-Changed-Why:  
Hello, is this still relevant for recent FreeBSD versions? 

http://www.freebsd.org/cgi/query-pr.cgi?pr=104473 
State-Changed-From-To: feedback->closed 
State-Changed-By: remko 
State-Changed-When: Wed Jul 14 07:41:43 UTC 2010 
State-Changed-Why:  
This seemed to have been resolved by using UFS2 instead of UFS1 on the 
machine. Thanks for the feedback and information! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=104473 
>Unformatted:
