Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 May 1999 12:12:34 +0800 (CST)
From:      Ying-Chieh Liao <ijliao@Terry.Dorm10.NCTU.edu.tw>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   kern/11434: can't boot from wd0s2a
Message-ID:  <199905020412.MAA03388@Terry.Dorm10.NCTU.edu.tw>

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

>Number:         11434
>Category:       kern
>Synopsis:       can't boot from wd0s2a
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat May  1 21:20:01 PDT 1999
>Closed-Date:
>Last-Modified:
>Originator:     Ying-Chieh Liao
>Release:        FreeBSD 4.0-CURRENT i386
>Organization:
NCTU CSIE
>Environment:

FreeBSD Terry.Dorm10.NCTU.edu.tw 4.0-CURRENT FreeBSD 4.0-CURRENT #16: Sun Mar 21
 12:54:31 CST 1999     root@Terry.Dorm10.NCTU.edu.tw:/usr/src/sys/compile/TERRY
 i386

>Description:

I have 2 IDE hds, wd0 and wd1, and I don't have any SCSI devices
Primary Master : wd0s1e, wd0s2a, wd0s2e, wd0s2f, wd0s2g -> FreeBSD partition
                 wd0s2b -> FreeBSD Swap
Primary Slave : wd1s1e -> FreeBSD partition

My boot device is wd0s2a, and I've written

config          kernel  root on wd0s2a

in my kernel config file
But I still can't boot from wd0s2a :<

When I boot up, after devices probed, it said that it can't mount root on wd0a
It's strange, because I've written this in /boot/loader.conf.local
rootdev="disk1s2a"

How can I solve this problem ?

ps. Now I can boot from 3/31 kernel

-r-xr-xr-x   1 root  wheel  -    1231985 ¡@3/31 16:32 kernel.bak*

but I can't boot from 5/1 kernel

-r-xr-xr-x   1 root  wheel  schg 1222714   5/ 2 00:23 kernel*

Their kernel config file is the same !!

My /boot/loader.conf.local :

userconfig_script_load="YES"
userconfig_script_type="userconfig_script"
autoboot_delay="0"
root_disk_unit="0"
rootdev="disk1s2a"
coda_load="YES"
mfs_load="YES"
nfs_load="YES"
procfs_load="YES"

My kernel config :

machine		"i386"
cpu		"I686_CPU"
ident		GENERIC
maxusers	64	

options		INET			#InterNETworking
options		FFS			#Berkeley Fast Filesystem
options		FFS_ROOT		#FFS usable as root device [keep this!]
options		"COMPAT_43"		#Compatible with BSD 4.3 [KEEP THIS!]
options		UCONSOLE		#Allow users to grab the console
options		MAXMEM="(128*1024)"

options		SOFTUPDATES

options		MSGBUF_SIZE=40960

options		CODA			#CODA filesystem.
pseudo-device	vcoda	4		#coda minicache <-> venus comm.

config		kernel	root on wd0s2a

controller	isa0
controller	pnp0			# PnP support for ISA
controller	pci0

controller	fdc0	at isa? port "IO_FD1" irq 6 drq 2
disk		fd0	at fdc0 drive 0

controller      ata0
device          atadisk0        # ATA disk drives
device          atapicd0        # ATAPI CDROM drives

controller	atkbdc0	at isa? port IO_KBD
device		atkbd0	at atkbdc? irq 1

device		vga0	at isa? port ? conflicts

pseudo-device	splash

device		sc0	at isa?

options		SC_HISTORY_SIZE=200	# number of history buffer lines

device		npx0	at nexus? port IO_NPX irq 13

device		sio0	at isa? port "IO_COM1" flags 0x10 irq 4

device de0		# DEC/Intel DC21x4x (``Tulip'')

pseudo-device	loop
pseudo-device	ether
pseudo-device	pty	256

options         SYSVSHM
options         SYSVMSG
options         SYSVSEM

pseudo-device	bpfilter 4	#Berkeley packet filter

>How-To-Repeat:

>Fix:



>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199905020412.MAA03388>