Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Strange boot problems on amd64-current (6.99.40)



On Sun, 11 May 2014, Christos Zoulas wrote:

On May 11,  3:28pm, paul%whooppee.com@localhost (Paul Goyette) wrote:
-- Subject: Re: Strange boot problems on amd64-current (6.99.40)

| Good call - a GENERIC kernel from 2014-04-02 at 02:15 UTC works, and one
| from 02:18 (immediately after commit of revision 1.306 of
| sys/dev/raidframe/rf_netbsdkintf.c) fails.
|
| I've also tried kernels from 2014-04-03 at 15:31 and 18:57 (following
| commits of revisions 1.307 and 1.308) and those kernels also do not
| work.
|
| I'll be more than happy to try out any possible/proposed solutions.

So what's happening, and how does the disk partitioning and raid
configuration work?

From previous Emails in this thread:

http://mail-index.netbsd.org/current-users/2014/05/10/msg024812.html

...
WARNING: double match for boot device (wd0, wd1)
raid0: RAID Level 1
raid0: Components: /dev/wd0e /dev/wd1e
raid0: Total sectors 488395008 (238474 MB)
raid1: RAID Level 1
raid1: Components: /dev/wd2e /dev/wd2e
raid1: Total sectors 976770944 (476938 MB)
boot device: raid0
root on raid0e dumps on raid0b
warning: no /dev/console
exec /sbin/init: error 2

It then tries to exec oinit, init.bak, and rescue/init all resulting in the same "error 2" ...


http://mail-index.netbsd.org/current-users/2014/05/11/msg024814.html
...
wd0e and wd1e are partitioned as follows:

screamer:netbsd-local {129} disklabel wd0
# /dev/rwd0d:
type: ESDI
disk: ST3250318AS
<snip>
5 partitions:
#        size    offset  fstype [fsize bsize cpg/sgs]
 c: 488395120      2048  unused      0     0      # (Cyl.   2*- 484520)
 d: 488397168         0  unused      0     0      # (Cyl.   0 - 484520)
 e: 488395120      2048    RAID                   # (Cyl.   2*- 484520)


And raid0 is partitioned as

# /dev/rraid0d:
type: RAID
disk: raid
<snip>
6 partitions:
#        size    offset   fstype [fsize bsize cpg/sgs]
 a:  41943040         0  4.2BSD   2048 16384    0  # (Cyl.      0 -  40959)
 b:  62914560  41943040    swap                    # (Cyl.  40960 - 102399)
 c: 488395008         0  unused      0     0       # (Cyl.      0 - 476948*)
 d: 488395008         0  unused      0     0       # (Cyl.      0 - 476948*)
 e: 125829120 104857600  4.2BSD   2048 16384    0  # (Cyl. 102400 - 225279)
 f: 257708288 230686720  4.2BSD   2048 16384    0  # (Cyl. 225280 - 476948*)
...


/etc/raid0.conf contains:

        #grep -v '^#' /etc/raid0.conf

        START array
        1 2 0

        START disks
        /dev/wd0e
        /dev/wd1e

        START layout
        128 1 1 1

        START queue
        fifo 100






-------------------------------------------------------------------------
| Paul Goyette     | PGP Key fingerprint:     | E-mail addresses:       |
| Customer Service | FA29 0E3B 35AF E8AE 6651 | paul at whooppee.com    |
| Network Engineer | 0786 F758 55DE 53BA 7731 | pgoyette at juniper.net |
| Kernel Developer |                          | pgoyette at netbsd.org  |
-------------------------------------------------------------------------


Home | Main Index | Thread Index | Old Index