Dmitry Morozovsky
2003-Aug-11 08:47 UTC
vinum (root on vinum too) throw_rude_remark crash: endless loop
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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM> 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: <math processor> on motherboard npx0: INT 16 interface pcib0: <Host to PCI bridge> on motherboard pci0: <PCI bus> on pcib0 pci0: <Intel model 2562 VGA-compatible display device> at 2.0 irq 11 pcib1: <Intel 82801BA/BAM (ICH2) Hub to PCI bridge> at device 30.0 on pci0 pci2: <PCI bus> on pcib1 rl0: <RealTek 8139 10/100BaseTX> port 0xb800-0xb8ff mem 0xe6800000-0xe68000ff irq 10 at device 13.0 on pci2 rl0: Ethernet address: 00:0c:6e:37:39:87 miibus0: <MII bus> on rl0 rlphy0: <RealTek internal media interface> on miibus0 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto isab0: <PCI to ISA bridge (vendor=8086 device=24c0)> at device 31.0 on pci0 isa0: <ISA bus> on isab0 atapci0: <Intel ICH4 ATA100 controller> 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: <Option ROM> at iomem 0xc0000-0xcafff 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 atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0 atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 sc0: <System console> at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x100> sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A, console sio1 at port 0x2f8-0x2ff irq 3 on isa0 sio1: type 16550A IP packet filtering initialized, divert disabled, rule-based forwarding enabled, default to deny, logging disabled ad0: 152627MB <WDC WD1600BB-00DAA3> [310101/16/63] at ata0-master UDMA100 ad1: 76319MB <ST380021A> [155061/16/63] at ata0-slave UDMA100 ad2: 152627MB <WDC WD1600BB-00DAA3> [310101/16/63] at ata1-master UDMA100 ad3: 58644MB <IC35L060AVVA07-0> [119150/16/63] at ata1-slave UDMA100 vinum: loaded vinum: reading configuration from /dev/ad3hs1a vinum: updating configuration from /dev/ad2hs1a vinum: updating configuration from /dev/ad1hs1a vinum: updating configuration from /dev/ad2ds1a vinum: updating configuration from /dev/ad0hs1a panic: throw_rude_remark: called without config lock syncing disks... done Uptime: 3s Automatic reboot in 15 seconds - press a key on the console to abort
Greg 'groggy' Lehey
2003-Aug-11 18:48 UTC
vinum (root on vinum too) throw_rude_remark crash: endless loop
On Monday, 11 August 2003 at 19:47:34 +0400, Dmitry Morozovsky wrote:> Dear colleagues, > > experimenting with vinum stripes and mirrors, I'd stuck myself with the > following: > > panic: throw_rude_remark: called without config lockHah! So it is possible. I'd like to see a dump for that one.> 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.Hmm. I've had this problem before, but the method you worked was successful. Are you sure that your root partition is really on /dev/ad0s1a? In any case, you should be able to fix it by booting with the recovery CD and changing the contents of /etc/fstab. Greg -- See complete headers for address and phone numbers -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 187 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20030812/19446b45/attachment.bin