Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Jan 2004 08:19:10 -0800
From:      Cy Schubert <Cy.Schubert@komquats.com>
To:        freebsd-stable@freebsd.org
Subject:   -STABLE Won't Boot On A Multidisk System
Message-ID:  <200401111619.i0BGJAr7075479@cwsys.cwsent.com>

next in thread | raw e-mail | index | archive | help
I have a system which usually runs a recent copy of -CURRENT. I have one 
ATA disk and four SCSI disks in this system. My -CURRENT root device is 
/dev/ad0s1a while my -STABLE (4.9R) boot device is /dev/da1s1a. No problems 
booting -CURRENT however I haven't used my -STABLE system in a while and as 
I need to do some testing on it, I tried booting it this morning. It 
responded with a "Root mount failed:22" message.

Any ideas would be appreciated. This could be an issue with -CURRENT's 
loader as it used to boot when I first installed it but I'm posting here as 
it is a -STABLE problem.

The version of -CURRENT I'm running is:

FreeBSD cwtest 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Fri Jan  9 19:46:38 PST 
2004     root@cwsys:/export/obj/opt/src/cvs-current/src/sys/KOMQUATS  i386

The version of -STABLE I'm running is:

FreeBSD 4.9-RELEASE #0: Mon Nov  3 01:07:46 PST 2003
    root@cwtest:/dsk01/obj/dsk02/src/cvs-490r/src/sys/CWTEST

My -STABLE fstab is:

cwtest$ cat /stable/etc/fstab
/dev/da1s1a                     /               ufs     rw 1 1
# /dev/ad0s1a                   /current        ufs     ro 1 2
# /dev/da0s1a                   /current/usr    ufs     ro 1 2
/dev/ad0s1b                     none            swap    sw 0 0
/dev/da0s1b                     none            swap    sw 0 0
/dev/da2s1b                     none            swap    sw 0 0
/dev/da3s1b                     none            swap    sw 0 0
/dev/da0s1e                     /dsk01          ufs     ro 0 2
/dev/da2s1a                     /dsk02          ufs     ro 0 2
/dev/da3s1e                     /dsk03          ufs     ro 0 2
proc                            /proc           procfs  rw 0 0
fdesc                           /dev/fd         fdesc   rw 0 0
# md                            /md             mfs     rw,-s86016 0 0
/dev/md0                        /md             mfs     xx,-s86016 0 0
/dev/md0                        /tmp            mdfs    xx,-s40960 0 0
/dev/da1s1d                     /tmp            ufs     rw,nodev,nosuid 0 2
# cwsys:/usr                    /cwsys/usr      nfs     ro,nfsv3,mntudp 0 0
# # cwsys:/usr/opt                      /usr/opt        nfs     
ro,nfsv3,mntudp
0 0
# cwsys:/usr/X11R6              /usr/X11R6      nfs     ro,nfsv3,mntudp 0 0
# cwsys:/opt                    /opt            nfs     ro,nfsv3,mntudp 0 0
# cwsys:/opt2                   /opt2           nfs     ro,nfsv3,mntudp 0 0
# cwsys:/usr/compat             /usr/compat     nfs     ro,nfsv3,mntudp 0 0
# /var/linux                    /usr/compat/linux       union   rw,noauto 0 
0
# # /var/linux                  /compat/linux   null    rw,noauto 0 0
/dev/fd0.1440                   /fd0            ufs     xx 0 0
/dev/fd1.1200                   /fd1            ufs     xx,noauto 0 0
cwtest$ 

Boot messages captured from a serial console are:

Rebooting...
/boot/kernel/kernel text=0x27b3a4 data=0x33ed0+0x4fd8c 
syms=[0x4+0x3eac0+0x4+0x4d1fa]

Hit [Enter] to boot immediately, or any other key for command prompt.
Booting [/boot/kernel/kernel] in 9 seconds... 

Type '?' for a list of commands, 'help' for more detailed help.
OK unload
OK lsdev
cd devices:
disk devices:
    disk0:   BIOS drive A:
    disk1:   BIOS drive C:
        disk1s1a: FFS
        disk1s1b: swap
    disk2:   BIOS drive D:
        disk2s1a: FFS
        disk2s1b: swap
        disk2s1c: FFS
        disk2s1e: FFS
    disk3:   BIOS drive E:
        disk3s1a: FFS
        disk3s1d: FFS
        disk3s1e: FFS
pxe devices:
OK set currdev=disk3s1a:
OK ls /kernel
/kernel: not a directory
OK ls
/
 d  dev
 d  stand
 d  etc
 d  proc
 d  bin
 d  mnt
 d  root
 d  tmp
 d  usr
 d  var
 d  sbin
 d  home
 d  cwsys
 d  export
 d  vol
 d  opt
 d  fd0
 d  fd1
 d  dos
 d  net
 d  dsk03
 d  modules
 d  boot                                                
 d  dsk01
 d  opt2
 d  opt3
 d  dsk02
 d  dos2
 d  modules.old
 d  export2
 d  dsk04
 d  dsk05
 d  .snap
 d  current
 d  tmp_mnt
 l  sys
    kernel.old
    kernel
 l  compat
    rda0s1
    kernel.GENERIC
    boot.help
    COPYRIGHT
    STABLE4
 l  lib
 l  archives                                            
 l  cdrom
    .bash_history
    kernel.config
    boot.config-alt
    .profile
    .login
    .cshrc
OK load
no filename specified
OK load /kernel
/kernel text=0x1b4148 data=0x225f0+0x19a04 syms=[0x4+0x288f0+0x4+0x2ee9f]
OK boot -s
Copyright (c) 1992-2003 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        The Regents of the University of California. All rights reserved.
FreeBSD 4.9-RELEASE #0: Mon Nov  3 01:07:46 PST 2003
    root@cwtest:/dsk01/obj/dsk02/src/cvs-490r/src/sys/CWTEST
Timecounter "i8254"  frequency 1193182 Hz
Timecounter "TSC"  frequency 119752540 Hz
CPU: Pentium/P54C (119.75-MHz 586-class CPU)
  Origin = "GenuineIntel"  Id = 0x52c  Stepping = 12
  Features=0x1bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8>
real memory  = 83886080 (81920K bytes)
avail memory = 78282752 (76448K bytes)
Preloaded elf kernel "/kernel" at 0xc034a000.
Intel Pentium detected, installing workaround for F00F bug
md0: Malloc disk
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
isab0: <Intel 82371SB PCI to ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX3 ATA controller> port 0xf000-0xf00f at device 7.1 on 
pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
xl0: <3Com 3c905B-TX Fast Etherlink XL> port 0x6000-0x607f mem 
0xe1001000-0xe100
107f irq 5 at device 18.0 on pci0
xl0: Ethernet address: 00:50:da:80:28:96
miibus0: <MII bus> on xl0
xlphy0: <3Com internal media interface> on miibus0
xlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
ahc0: <Adaptec 2940 SCSI adapter> port 0x6100-0x61ff mem 
0xe1000000-0xe1000fff i
rq 9 at device 19.0 on pci0
aic7870: Single Channel A, SCSI Id=7, 16/253 SCBs
pci0: <ATI model 5656 graphics accelerator> at 20.0 irq 15
orm0: <Option ROMs> at iomem 0xc0000-0xc7fff,0xc8000-0xca7ff,0xdc000-0xdffff
 on
isa0
pmtimer0 on isa0
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
aha0 at port 0x330-0x333 irq 11 drq 5 on isa0
aha0: AHA-1542CF FW Rev. C.0 (ID=45) SCSI Host Adapter, SCSI ID 7, 16 CCBs
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> on isa0
sc0: VGA <16 virtual consoles, flags=0x0>
da0 at ahc0 bus 0 target 0 lun 0
da0: <SEAGATE ST34520N 1487> Fixed Direct Access SCSI-2 device 
da0: 10.000MB/s transfers (10.000MHz, offset 15), Tagged Queueing Enabled
da0: 4340MB (8888924 512 byte sectors: 64H 32S/T 4340C)
da2 at ahc0 bus 0 target 2 lun 0
da2: <QUANTUM TRB850S 043C> Fixed Direct Access SCSI-2 device 
da2: 10.000MB/s transfers (10.000MHz, offset 8)
da2: 810MB (1660299 512 byte sectors: 64H 32S/T 810C)
da1 at ahc0 bus 0 target 1 lun 0
da1: <CONNER CFP1080S 4649> Fixed Direct Access SCSI-2 device 
da1: 10.000MB/s transfers (10.000MHz, offset 15), Tagged Queueing Enabled
da1: 1030MB (2110812 512 byte sectors: 64H 32S/T 1030C)
da3 at aha0 bus 0 target 0 lun 0
da3: <SEAGATE SX910800N 8514> Fixed Direct Access SCSI-2 device 
da3: 10.000MB/s transfers (10.000MHz, offset 8)
da3: 8669MB (17755614 512 byte sectors: 64H 32S/T 8669C)
Mounting root from ufs:/dev/da1s1a
Root mount failed: 22

mountroot> ufs:/dev/da1s1a
Mounting root from ufs:/dev/da1s1a
Root mount failed: 22

Manual root filesystem specification:
  <fstype>:<device>  Mount <device> using filesystem <fstype>
                       eg. ufs:/dev/da0s1a
  ?                  List valid disk boot devices
  <empty line>       Abort manual input

mountroot> 


Cheers,
--
Cy Schubert <Cy.Schubert@komquats.com>        http://www.komquats.com/
BC Government                     .                       FreeBSD UNIX
Cy.Schubert@osg.gov.bc.ca         .                     cy@FreeBSD.org
http://www.gov.bc.ca/             .            http://www.FreeBSD.org/





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