From owner-freebsd-stable@FreeBSD.ORG Mon Aug 11 08:47:38 2003 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3FA8037B401; Mon, 11 Aug 2003 08:47:38 -0700 (PDT) Received: from woozle.rinet.ru (woozle.rinet.ru [195.54.192.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id 14EBF43F75; Mon, 11 Aug 2003 08:47:37 -0700 (PDT) (envelope-from marck@rinet.ru) Received: from localhost (localhost [127.0.0.1]) by woozle.rinet.ru (8.12.9/8.12.9) with ESMTP id h7BFlY4D041507; Mon, 11 Aug 2003 19:47:34 +0400 (MSD) (envelope-from marck@rinet.ru) Date: Mon, 11 Aug 2003 19:47:34 +0400 (MSD) From: Dmitry Morozovsky To: freebsd-stable@freebsd.org Message-ID: <20030811192306.E39447@woozle.rinet.ru> X-NCC-RegID: ru.rinet MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: grog@freebsd.org Subject: vinum (root on vinum too) throw_rude_remark crash: endless loop X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Aug 2003 15:47:38 -0000 Dear colleagues, experimenting with vinum stripes and mirrors, I'd stuck myself with the following: panic: throw_rude_remark: called without config lock (from vinumconfig.c:throw_rude_remark:103) The system before this panic has two 160G drives with two vinum partitions on each (one for mirrored root and one for the rest with swap between); these were ad0 and ad2. For the experiments, I'd added ad1 and ad3 disks, created adXh there, added drives via vinum config, and then 1+0 vinum drive; however, I *did* forgot adding /dev/ad{1,3}h to /boot/loader.conf. After reboot I got the panic message mentioned above. Adding missed partitions at loader stage did not help. So, I'm stuck a bit. Even when I unload kernel modules and tries to load kernel thru synthetic ad0a I got: ok unload ok load kernel /kernel text=0x10042f data=0x19704+0x16e28 syms=[0x4+0x1e870+0x4+0x23e87] ok boot -s -a mountroot> ufs:/dev/ad0s1a Mounting root from ufs:/dev/vinum/r no such device 'vinum' setrootbyname failed ffs_mountroot: can't find rootvp Root mount failed: 6 panic: Root mount failed, startup aborted. AS you can see Any clues to revive a system? Kernel boot log follows. Sincerely, D.Marck [DM5020, MCK-RIPE, DM3-RIPN] ------------------------------------------------------------------------ *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru *** ------------------------------------------------------------------------ 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.8-RELEASE-p3 #1: Mon Aug 11 13:43:50 MSD 2003 marck@whale.rinet.ru:/usr/obj/FreeBSD/src.48/sys/mini Timecounter "i8254" frequency 1193182 Hz Timecounter "TSC" frequency 1816177300 Hz CPU: Intel(R) Celeron(R) CPU 1.80GHz (1816.18-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf13 Stepping = 3 Features=0x3febfbff real memory = 535797760 (523240K bytes) avail memory = 517902336 (505764K bytes) Preloaded elf kernel "kernel" at 0xc0363000. Preloaded elf module "procfs.ko" at 0xc03630a8. Preloaded elf module "vinum.ko" at 0xc0363148. Preloaded elf module "ipfw.ko" at 0xc03631e8. Preloaded elf module "if_rl.ko" at 0xc0363284. Preloaded elf module "miibus.ko" at 0xc0363324. Pentium Pro MTRR support enabled Using $PIR table, 7 entries at 0xc00f2300 npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard pci0: on pcib0 pci0: at 2.0 irq 11 pcib1: at device 30.0 on pci0 pci2: on pcib1 rl0: port 0xb800-0xb8ff mem 0xe6800000-0xe68000ff irq 10 at device 13.0 on pci2 rl0: Ethernet address: 00:0c:6e:37:39:87 miibus0: on rl0 rlphy0: on miibus0 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0xf000-0xf00f,0-0x3,0-0x7,0-0x3,0-0x7 irq 12 at device 31.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 orm0: