Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Jan 2003 04:27:37 -0500 (EST)
From:      Trevor Johnson <trevor@jpj.net>
To:        Wilko Bulte <wkb@freebie.xs4all.nl>
Cc:        Kris Kennaway <kris@obsecurity.org>, Andrew Gallatin <gallatin@cs.duke.edu>, <alpha@FreeBSD.ORG>, <current@FreeBSD.ORG>
Subject:   Re: unexpected machine check on 5.0 alpha
Message-ID:  <20030116035919.T30783-100000@blues.jpj.net>
In-Reply-To: <20030116033841.N30783-100000@blues.jpj.net>

next in thread | previous in thread | raw e-mail | index | archive | help
I wrote:

> "dd if=zero of=da2"

I forgot to mention that after the crash, the LED on disk da2 remains lit,
as is the one on da0 (which contains /, /tmp, /usr, and /var but not
/home).  When I had the same disk drives attached to a PC, I could write
to them at about 45 kilobytes per second.  Multiplying that by 19 hours
gives about 3 gigabytes, and it was a 4 gigabyte disk.

I was doing the "dd" in an attempt to follow the recipe posted by Andre
Albsmeier on
<URL:http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&oe=UTF-8&th=440939b0f4db6bdb&seekm=arg34b%2410hi%241%40FreeBSD.csie.NCTU.edu.tw&frame=off>.
I had experienced the same problem that John De Boskey had been having:

-- begin log --
# ccdconfig ccd0 128 CCDF_UNIFORM /dev/da2 /dev/da3 /dev/da4 /dev/da5
# ccdconfig -g >/etc/ccd.conf
# cat /etc/ccd.conf
ccd0            128     2       /dev/da2 /dev/da3 /dev/da4 /dev/da5
# ls /dev/ccd*
/dev/ccd0c
# newfs /dev/ccd0c
/dev/ccd0c: 16380.2MB (33546752 sectors) block size 16384, fragment size
2048
        using 90 cylinder groups of 183.62MB, 11752 blks, 23552 inodes.
super-block backups (for fsck -b #) at:
 32, 376096, 752160, 1128224, 1504288, 1880352, 2256416, 2632480, 3008544,
 3384608, 3760672, 4136736, 4512800, 4888864, 5264928, 5640992, 6017056,
 6393120, 6769184, 7145248, 7521312, 7897376, 8273440, 8649504, 9025568,
 9401632, 9777696, 10153760, 10529824, 10905888, 11281952, 11658016,
12034080,
 12410144, 12786208, 13162272, 13538336, 13914400, 14290464, 14666528,
 15042592, 15418656, 15794720, 16170784, 16546848, 16922912, 17298976,
 17675040, 18051104, 18427168, 18803232, 19179296, 19555360, 19931424,
 20307488, 20683552, 21059616, 21435680, 21811744, 22187808, 22563872,
 22939936, 23316000, 23692064, 24068128, 24444192, 24820256, 25196320,
 25572384, 25948448, 26324512, 26700576, 27076640, 27452704, 27828768,
 28204832, 28580896, 28956960, 29333024, 29709088, 30085152, 30461216,
 30837280, 31213344, 31589408, 31965472, 32341536, 32717600, 33093664,
33469728
newfs: ioctl (WDINFO): /dev/ccd0c: can't rewrite disk label: No such
process
-- end log --

Before adding the ccd line to my kernel configuration file, I had
attempted to run ccdconfig while using just the GENERIC kernel (also
5.0-RC3).  I suppos e I shouldn't have been surprised that it didn't work:

-- begin log --
# ccdconfig ccd0 128 CCDF_UNIFORM /dev/da2 /dev/da3 /dev/da4 /dev/da5
fatal kernel trap:
    trap entry     = 0x4 (unaligned access fault)
    cpuid          = 1
    faulting va    = 0xe4a000000ed
    opcode         = 0x29
    register       = 0x1b
    pc             = 0xfffffe0002bd1f1c
    ra             = 0xfffffe0002bd1eec
    sp             = 0xfffffe00140898a0
    usp            = 0x11fff9f8
    curthread      = 0xfffffc0017efe1f0
        pid = 3658, comm = ccdconfig
panic: trap
cpuid = 1;
boot() called on cpu#1
syncing disks, buffers remaining... panic: bwrite: buffer is not busy???
cpuid = 1;
boot() called on cpu#1
Uptime: 18h56m35s
Automatic reboot in 15 seconds - press a key on the console to abort
-- end log --
-- 
Trevor Johnson


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




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