Skip site navigation (1)Skip section navigation (2)
Date:      Wed,  9 Jun 1999 21:08:48 -0700 (PDT)
From:      cgrant@labrat.com
To:        freebsd-gnats-submit@freebsd.org
Subject:   kern/12106: error 6: panic: cannot mount root
Message-ID:  <19990610040848.D055C14D6F@hub.freebsd.org>

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

>Number:         12106
>Category:       kern
>Synopsis:       error 6: panic: cannot mount root
>Confidential:   no
>Severity:       critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jun  9 21:10:00 PDT 1999
>Closed-Date:
>Last-Modified:
>Originator:     Chris Grant
>Release:        3.2-RELEASE
>Organization:
LabRat.com
>Environment:
FreeBSD acme.labrat.com 3.2-RELEASE FreeBSD 3.2-RELEASE #0: Tue May 18 04:05:08 GMT 1999     jkh@cathair:/usr/src/sys/compile/GENERIC  i386
>Description:
when I recompile the kernel with just the options I need, it panics when trying to mount the root partition.  GENERIC kernel works, custom does not. I have tried using a config file that doesn't wire down the disks, and one that does with the same results.  I included dmesg output and also my kernel config file.

error:

...
npx0: INT 16 interface
changing root device to da0s1a
changing root device to da0a
error 6: panic: cannot mount root (2)

dmesg output:
avail memory = 17215488
 (16812K bytes)
Preloaded elf kernel "kernel.GENERIC" at 0xc0358000.
ahc0: <Adaptec 284X SCSI host adapter> at 0x1c00-0x1cff irq 11 on eisa0 slot 1
ahc0: aic7770 >= Rev E, Single Channel A, SCSI Id=7, 4/255 SCBs
Probing for PnP devices:
Probing for devices on the ISA bus:
sc0 on isa
sc0: VGA color <16 virtual consoles, flags=0x0>
ed0 at 0x300-0x31f irq 10 maddr 0xd0000 msize 16384 on isa
ed0: address 00:00:79:84:41:3d, type WD8013EBT (16 bit) 
atkbdc0 at 0x60-0x6f on motherboard
atkbd0 irq 1 on isa
sio0 at 0x3f8-0x3ff irq 4 flags 0x10 on isa
sio0: type 16450
sio1 at 0x2f8-0x2ff irq 3 on isa
sio1: type 16450
fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
fd0: 1.44MB 3.5in
vga0 at 0x3b0-0x3df maddr 0xa0000 msize 131072 on isa
npx0 on motherboard
npx0: INT 16 interface
Waiting 15 seconds for SCSI devices to settle
da0 at ahc0 bus 0 target 0 lun 0
da0: <COMPAQ 2105 15E6> Fixed Direct Access SCSI-2 device 
da0: 10.000MB/s transfers (10.000MHz, offset 15), Tagged Queueing Enabled
da0: 532MB (1090999 512 byte sectors: 64H 32S/T 532C)
da1 at ahc0 bus 0 target 1 lun 0
da1: <CONNER CP30200  SUN0207 4544> Fixed Direct Access SCSI-2 device 
da1: 5.000MB/s transfers (5.000MHz, offset 15)
da1: 203MB (416108 512 byte sectors: 64H 32S/T 203C)
changing root device to da0s1a

kernel config:
machine         "i386"
cpu             "I486_CPU"
ident           ACME
maxusers        32

options         INET                    #InterNETworking
options         FFS                     #Berkeley Fast Filesystem
options         FFS_ROOT                #FFS usable as root device
options         "CD9660"                #ISO 9660 Filesystem
options         PROCFS                  #Process filesystem
options         "COMPAT_43"             #Compatible with BSD 4.3
options         UCONSOLE                #Allow users to grab the console
options         FAILSAFE                #Be conservative
options         USERCONFIG              #boot -c editor
options         VISUAL_USERCONFIG       #visual boot -c editor

config          kernel  root on da0

controller      isa0
controller      pci0

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

controller      ahc0
controller      scbus0 at ahc0
device          da0
disk            da0     at scbus0 target 0 unit 0
disk            da1     at scbus0 target 1 unit 0
device          sa0
device          pass0
device          cd0

# atkbdc0 controlls both the keyboard and the PS/2 mouse
controller      atkbdc0 at isa? port IO_KBD tty
device          atkbd0  at isa? tty irq 1

device          vga0    at isa? port ? conflicts

# splash screen/screen saver
pseudo-device   splash

# syscons is the default console driver, resembling an SCO console
device          sc0     at isa? tty

device          npx0    at isa? port IO_NPX irq 13

device ed0 at isa? port 0x300 net irq 10 iomem 0xd0000
device ed1 at isa? port 0x340 net irq 12 iomem 0xcc000

pseudo-device   loop
pseudo-device   ether
pseudo-device   pty     16
pseudo-device   gzip            # Exec gzipped a.out's

options         SYSVSHM
options         SYSVMSG
options         SYSVSEM

pseudo-device   bpfilter 4      #Berkeley packet filter
>How-To-Repeat:
build a custom kernel
>Fix:
use kernel.GENERIC

>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?19990610040848.D055C14D6F>