Re: panic, but /var/crash ist empty
Brandon Gooch wrote: > On Wed, Apr 27, 2011 at 1:44 PM, Helmut Schneider > wrote: > > What can I do to create a backtrace to open a PR? > > To get a backtrace from the crash (or drop to the debugger), you'll > need to compile a kernel with at least a couple of options defined. > These two: > > options KDB > options DDB > > ...will allow you to work with the debugger on the console after a > crash. > > Further, with the option KDB_TRACE in the kernel config, you'll get a > backtrace printed automatically when the kernel panicsb. > > Here are a couple of excellent documents to read to get you started: > > http://www.freebsd.org/doc/en/books/handbook/kernelconfig-building.html > http://www.freebsd.org/doc/en/books/developers-handbook/kerneldebug.html > > Kernel debug options: > > http://www.freebsd.org/doc/en/books/developers-handbook/kerneldebug-options.html Thanks for the links, I meanwhile was able to create the bt and the PR: http://www.freebsd.org/cgi/query-pr.cgi?pr=156691 Helmut ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: correct way to setup gmirror on 7.4?
Michael Proto wrote: > What I ultimately decided to do was use fdisk in interactive mode to > manually align 2 4k-boundary MBR partitions Correct me if I'm wrong but from my point of view there is no need to fall back to MBR partitions. GPT partitions should be at least as robust as MBR partitions are if not even more (e.g. because of using CRC). We are still talking about /possible/ issues with /one copy/ (of two) of the GPT - MBR doesn't even have a backup copy nor uses CRC. And if you are still concerned run 'gpart backup $disk/$partition(s)' before your regular backup - one should do so anyway. ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: panic, but /var/crash ist empty
Helmut 'Ingrid' Schneider wrote: > running 8.2-RELEASE-p1 within VMWare ESXi 4.1-u1 I want to use raw > devices as hard disks. I create the devices using this link: > > http://www.mattiasholm.com/node/33 > > I tried 3 different hard drives (Seagate 2x80GB and 1x400GB SATA2) > which are fine on a physical machine. I also ran Seatool many hours on > all of them without errors. > > I can partiton the disks and create a few files/directories on it. But > as soon as I copy a larger number of files to those disks (tried with > MBR and GPT) the VM reboots instantly (I tried cp, dump/restore and > rsync). No "Rebooting within 15 seconds", just snap. I think I can > see an panic but I'm not sure, it's too fast. > > (as far as I can see most of the times the data on the first UFS slice > (and only the first UFS slice!) of the partition gets severly > corrupted, most of the time all that is left are a few files within > lost+found. Sometimes all the labels are gone but are recoverable > using bsdlabel -R) > > The problem is that /var/crash remains empty. > > What can I do to create a backtrace to open a PR? FWIW: While a sysinstall from CD (tried 8.0, 8.1 and 8.2) also dies short before the end of the installation, Ubuntu 10.4 (EXT4), Windows 7 and OpenBSD install fine and also do not die when copying a lots of files... :( ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: correct way to setup gmirror on 7.4?
Michael Proto wrote: > On Wed, Apr 27, 2011 at 3:35 PM, Helmut Schneider > wrote: > > Michael Proto wrote: > >> Am I using the correct process to create this array? > > > > No. While this works with MBR it fails with GPT as GPT and GEOM both > > want to use the last sector of the disk. > > > > First create the mirror and after that gpart it. > > In my setup I am mirroring only partitions, creating partitions ad4p1, > ad6p1, ad4p2 and ad6p2 with gpart first, and then mirrors gm0p1 and > gm0p2 on top of those. [...] > Or perhaps I'm misunderstanding what you're saying. 1. Create the mirror 2. Create the partition(s) Or do the steps described in section 19.4.2 at http://eis.bris.ac.uk/~mexas/geom-mirror.html HTH, Helmut ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: correct way to setup gmirror on 7.4?
Michael Proto wrote: > I'm migrating away from my old pseudo-RAID partitions to GEOM gmirror > and I have some questions on the right way to accomplish this. I've > got two new 1TB disks that I'm setting up for the new mirror, and > unfortunately they're Western Digital drives with 4k sectors that > report themselves as 512b. > > Here's what I'm currently doing to setup this array. The disks are > detected as ad4 and ad6 on my FreeBSD 7.4 server. > > # initialize/wipe MBR > dd if=/dev/zero of=/dev/ad4 bs=512 count=79 > dd if=/dev/zero of=/dev/ad6 bs=512 count=79 > # gpart > gpart create -s gpt ad4 > gpart create -s gpt ad6 > gpart bootcode -b /boot/pmbr ad4 > gpart bootcode -b /boot/pmbr ad6 > # add partitions > gpart add -t freebsd-ufs -l raidhome1-2 -b 2048 -s 195330048 ad4 > gpart add -t freebsd-ufs -l raidhome2-2 -b 2048 -s 195330048 ad6 > gpart add -t freebsd-ufs -l raidvault1-2 -b 195338240 -s 1758167040 > ad4 gpart add -t freebsd-ufs -l raidvault2-2 -b 195338240 -s > 1758167040 ad6 > > (I'm using these partition start values because they divide evenly > into 4k blocks. I don't mind wasting a few MB on each disk to have > correctly-aligned partitions) > > gpart show ad4 > =>34 1953525101 ad4 GPT (932G) > 342014 - free - (1.0M) > 2048 1953300481 freebsd-ufs (93G) >1953320966144 - free - (3.0M) >195338240 17581670402 freebsd-ufs (838G) > 1953505280 19855 - free - (9.7M) > > gpart show ad6 > =>34 1953525101 ad6 GPT (932G) > 342014 - free - (1.0M) > 2048 1953300481 freebsd-ufs (93G) >1953320966144 - free - (3.0M) >195338240 17581670402 freebsd-ufs (838G) > 1953505280 19855 - free - (9.7M) > > gmirror label -v -n -b round-robin gm0p1 /dev/ad4p1 > newfs -U -b 32768 -f 4096 -S 4096 /dev/mirror/gm0p1 > > gmirror label -v -n -b round-robin gm0p2 /dev/ad4p2 > newfs -U -b 32768 -f 4096 -S 4096 /dev/mirror/gm0p2 > > (then I mount /dev/mirror/gm0p1 and /dev/mirror/gm0p2 and copy data > from my original array to this new array) > > Finally I insert the ad6 disk and wait for the array to sync: > > gmirror configure -a gm0p1 > gmirror insert gm0p1 /dev/ad6p1 > > gmirror configure -a gm0p2 > gmirror insert gm0p2 /dev/ad6p2 > > > Once the array is synchronized things generally look good, although > after a reboot I did see the following that had me concerned (from > dmesg output): > > GEOM: ad4: the primary GPT table is corrupt or invalid. > GEOM: ad4: using the secondary instead -- recovery strongly advised. > > Am I using the correct process to create this array? No. While this works with MBR it fails with GPT as GPT and GEOM both want to use the last sector of the disk. First create the mirror and after that gpart it. It will create a message like GEOM: da0: the secondary GPT header is not in the last LBA. GEOM: da1: the secondary GPT header is not in the last LBA. which afaik is ignorable. At least it works fine here and I didn't find any caveats in the net. Another workaround is not to mirror the disk but only slices or partitions. HTH, Helmut ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
panic, but /var/crash ist empty
Hi, running 8.2-RELEASE-p1 within VMWare ESXi 4.1-u1 I want to use raw devices as hard disks. I create the devices using this link: http://www.mattiasholm.com/node/33 I tried 3 different hard drives (Seagate 2x80GB and 1x400GB SATA2) which are fine on a physical machine. I also ran Seatool many hours on all of them without errors. I can partiton the disks and create a few files/directories on it. But as soon as I copy a larger number of files to those disks (tried with MBR and GPT) the VM reboots *instantly* (I tried cp, dump/restore and rsync). No "Rebooting within 15 seconds", just *snap*. I think I can see an panic but I'm not sure, it's too fast. (as far as I can see most of the times the data on the first UFS slice (and only the first UFS slice!) of the partition gets *severly* corrupted, most of the time all that is left are a few files within lost+found. Sometimes all the labels are gone but are recoverable using bsdlabel -R) The problem is that /var/crash remains empty. What can I do to create a backtrace to open a PR? Thanks, Helmut ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: kbd0 at both atkbd0 and ukbd0 [Was: [7.2] R/W mount of / denied. Filesystem not clean - run fsck.]
Andriy Gapon wrote: on 06/05/2009 14:43 Helmut Schneider said the following: kbd1 at kbdmux0 [snip] atkbdc0: at port 0x60,0x64 on isa0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] atkbd0: [ITHREAD] [snip] ukbd0: on uhub0 kbd0 at ukbd0 It took me three passes to notice the above: "kbd0 at atkbd0" and then again "kbd0 at ukbd0". Good point: http://www.freebsd.org/cgi/query-pr.cgi?pr=122887 http://www.freebsd.org/cgi/query-pr.cgi?pr=133919 I have 'hint.atkbd.0.disabled="1"' at /boot/default.hints and (probably) freebsd-update killed that one and silently replaced it with 1.16.8.1. The whole mess might be related. D'oh! -- No Swen today, my love has gone away My mailbox stands for lorn, a symbol of the dawn ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: [7.2] R/W mount of / denied. Filesystem not clean - run fsck.
Marat N.Afanasyev wrote: Helmut Schneider wrote: I do have such thing (IBM Blade Center) but I'm looking for something to avoid the situation above. Something that lets me at least boot into single user mode. if you have an ip-kvm you can drop into single-user and fsck any disk you have. all you need to do is to choose 'single user' from beastie-menu. or start kernel with -s parameter I *do* now how to enter single user mode but the kernel panic'ed *before* the shell started. :) -- No Swen today, my love has gone away My mailbox stands for lorn, a symbol of the dawn ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: [7.2] R/W mount of / denied. Filesystem not clean - run fsck.
Andriy Gapon wrote: on 06/05/2009 16:21 Helmut Schneider said the following: (kgdb) bt #0 doadump () at pcpu.h:196 #1 0xc081d7e7 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:418 #2 0xc081dab9 in panic (fmt=Variable "fmt" is not available. ) at /usr/src/sys/kern/kern_shutdown.c:574 #3 0xc0b1fc9c in trap_fatal (frame=0xe5720c24, eva=48) at /usr/src/sys/i386/i386/trap.c:939 #4 0xc0b1ff20 in trap_pfault (frame=0xe5720c24, usermode=0, eva=48) at /usr/src/sys/i386/i386/trap.c:852 #5 0xc0b208cc in trap (frame=0xe5720c24) at /usr/src/sys/i386/i386/trap.c:530 #6 0xc0b04fdb in calltrap () at /usr/src/sys/i386/i386/exception.s:159 #7 0xc0ad121f in atkbd_timeout (arg=0xc0d09a00) at /usr/src/sys/dev/atkbdc/atkbd.c:165 #8 0xc08301da in softclock (dummy=0x0) at /usr/src/sys/kern/kern_timeout.c:274 #9 0xc07fb74b in ithread_loop (arg=0xc5491260) at /usr/src/sys/kern/kern_intr.c:1088 #10 0xc07f8299 in fork_exit (callout=0xc07fb590 , arg=0xc5491260, frame=0xe5720d38) at /usr/src/sys/kern/kern_fork.c:810 #11 0xc0b05050 in fork_trampoline () at /usr/src/sys/i386/i386/exception.s:264 (kgdb) Could you please examine frame 7? (fr 7; list; i loc; maybe some prints for the variables of interest - kbd, kbdsw) (kgdb) fr 7 #7 0xc0ad121f in atkbd_timeout (arg=0xc0d09a00) at /usr/src/sys/dev/atkbdc/atkbd.c:165 165 if ((*kbdsw[kbd->kb_index]->lock)(kbd, TRUE)) { (kgdb) list 160 * 161 * The keyboard apparently unwedges the irq in most cases. 162 */ 163 s = spltty(); 164 kbd = (keyboard_t *)arg; 165 if ((*kbdsw[kbd->kb_index]->lock)(kbd, TRUE)) { 166 /* 167 * We have seen the lock flag is not set. Let's reset 168 * the flag early, otherwise the LED update routine fails 169 * which may want the lock during the interrupt routine. (kgdb) i loc No locals. (kgdb) Just in case, do you have PS/2 keyboard attached? No. Well. It's a module of the Blade Center which is connected via USB while mouse/keyboard are connected via PS/2. But the OS only sees an USB device. -- No Swen today, my love has gone away My mailbox stands for lorn, a symbol of the dawn ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: kbd0 at both atkbd0 and ukbd0 [Was: [7.2] R/W mount of / denied. Filesystem not clean - run fsck.]
Andriy Gapon wrote: on 06/05/2009 14:43 Helmut Schneider said the following: kbd1 at kbdmux0 [snip] atkbdc0: at port 0x60,0x64 on isa0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] atkbd0: [ITHREAD] [snip] ukbd0: on uhub0 kbd0 at ukbd0 It took me three passes to notice the above: "kbd0 at atkbd0" and then again "kbd0 at ukbd0". I am not sure what this actually means, an expert is needed. Just in case, do you have KBD_INSTALL_CDEV in kernel config? # cat /sys/i386/conf/GENERIC-QUOTA-PF-ALTQ include GENERIC ident GENERIC-QUOTA-PF-ALTQ options QUOTA options ALTQ options ALTQ_CBQ# Class Bases Queuing (CBQ) options ALTQ_RED# Random Early Detection (RED) options ALTQ_RIO# RED In/Out options ALTQ_HFSC # Hierarchical Packet Scheduler (HFSC) options ALTQ_PRIQ # Priority Queuing (PRIQ) options ALTQ_NOPCC # Required for SMP build device pf device pflog device pfsync # -- No Swen today, my love has gone away My mailbox stands for lorn, a symbol of the dawn ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: [7.2] R/W mount of / denied. Filesystem not clean - run fsck.
Andriy Gapon wrote: on 06/05/2009 14:43 Helmut Schneider said the following: Fatal trap 12: page fault while in kernel mode cpuid = 0; apic id = 00 fault virtual address = 0x30 fault code = supervisor read, page not present instruction pointer = 0x20:0xc0ad121f stack pointer = 0x28:0xe5720c64 frame pointer = 0x28:0xe5720c74 code segment= base 0x0, limit 0xf, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags= interrupt enabled, resume, IOPL = 0 current process = 16 (swi4: clock sio) trap number = 12 panic: page fault cpuid = 0 Uptime: 24s Physical memory: 2035 MB Dumping 66 MB: 51 35 19 3 Reading symbols from /boot/kernel/acpi.ko...Reading symbols from /boot/kernel/acpi.ko.symbols...done. done. Loaded symbols for /boot/kernel/acpi.ko #0 doadump () at pcpu.h:196 196 __asm __volatile("movl %%fs:0,%0" : "=r" (td)); (kgdb) Output of bt command is missing after this line :-) (kgdb) bt #0 doadump () at pcpu.h:196 #1 0xc081d7e7 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:418 #2 0xc081dab9 in panic (fmt=Variable "fmt" is not available. ) at /usr/src/sys/kern/kern_shutdown.c:574 #3 0xc0b1fc9c in trap_fatal (frame=0xe5720c24, eva=48) at /usr/src/sys/i386/i386/trap.c:939 #4 0xc0b1ff20 in trap_pfault (frame=0xe5720c24, usermode=0, eva=48) at /usr/src/sys/i386/i386/trap.c:852 #5 0xc0b208cc in trap (frame=0xe5720c24) at /usr/src/sys/i386/i386/trap.c:530 #6 0xc0b04fdb in calltrap () at /usr/src/sys/i386/i386/exception.s:159 #7 0xc0ad121f in atkbd_timeout (arg=0xc0d09a00) at /usr/src/sys/dev/atkbdc/atkbd.c:165 #8 0xc08301da in softclock (dummy=0x0) at /usr/src/sys/kern/kern_timeout.c:274 #9 0xc07fb74b in ithread_loop (arg=0xc5491260) at /usr/src/sys/kern/kern_intr.c:1088 #10 0xc07f8299 in fork_exit (callout=0xc07fb590 , arg=0xc5491260, frame=0xe5720d38) at /usr/src/sys/kern/kern_fork.c:810 #11 0xc0b05050 in fork_trampoline () at /usr/src/sys/i386/i386/exception.s:264 (kgdb) Do you maybe have some problem with your /etc directory or your rc.conf configuration? Like missing /etc/rc.d/fsck or missing/corrupted other important rc script. Or some such - pure guessing here. 'mergemaster -iF' says it's fine. -- No Swen today, my love has gone away My mailbox stands for lorn, a symbol of the dawn ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: [7.2] R/W mount of / denied. Filesystem not clean - run fsck.
Helmut Schneider wrote: after upgrading a few systems yesterday from 7.1-RELEASE to 7.2-RELEASE on one machine I got the error above. The problem was that - I was unable to cope with it but booting from a live CD. - the message appeared ~ 1000 times and then the kernel paniced. Here's the debug if one is interested in (first boot after I fixed /): [r...@bsdhelmut /usr/obj/usr/src/sys/GENERIC-QUOTA-PF-ALTQ]# kgdb kernel.debug /var/crash/vmcore.0 GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-marcel-freebsd"... Unread portion of the kernel message buffer: Copyright (c) 1992-2009 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 is a registered trademark of The FreeBSD Foundation. FreeBSD 7.2-RELEASE #4: Mon May 4 15:47:30 CEST 2009 r...@bsdhelmut:/usr/obj/usr/src/sys/GENERIC-QUOTA-PF-ALTQ Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Xeon(TM) CPU 3.20GHz (3200.13-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf4a Stepping = 10 Features=0xbfebfbff Features2=0x641d AMD Features=0x2000 AMD Features2=0x1 Logical CPUs per core: 2 real memory = 2147155968 (2047 MB) avail memory = 2091483136 (1994 MB) ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP/HT): APIC ID: 1 cpu2 (AP): APIC ID: 6 cpu3 (AP/HT): APIC ID: 7 ioapic3 irqs 72-95 on motherboard ioapic2 irqs 48-71 on motherboard ioapic1 irqs 24-47 on motherboard ioapic0 irqs 0-23 on motherboard kbd1 at kbdmux0 acpi0: on motherboard acpi0: [ITHREAD] acpi0: Power Button (fixed) Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x588-0x58b on acpi0 pcib0: on acpi0 pci0: on pcib0 pci0: at device 0.1 (no driver attached) pcib1: at device 3.0 on pci0 pci4: on pcib1 pcib2: at device 0.0 on pci4 pci6: on pcib2 pcib3: at device 0.2 on pci4 pci5: on pcib3 bge0: mem 0xdcff-0xdcff irq 77 at device 1.0 on pci5 bge0: Ethernet address: 00:14:5e:bd:0e:9c bge0: [ITHREAD] bge1: mem 0xdcfe-0xdcfe irq 78 at device 1.1 on pci5 bge1: Ethernet address: 00:14:5e:bd:0e:9d bge1: [ITHREAD] pci0: at device 8.0 (no driver attached) pcib4: at device 28.0 on pci0 pci2: on pcib4 mpt0: port 0x4000-0x40ff mem 0xdeff-0xdeff,0xdefe-0xdefe irq 24 at device 1.0 on pci2 mpt0: [ITHREAD] mpt0: MPI Version=1.2.15.0 mpt0: Capabilities: ( RAID-1E RAID-1 SAFTE ) mpt0: 1 Active Volume (1 Max) mpt0: 2 Hidden Drive Members (6 Max) uhci0: port 0x2200-0x221f irq 16 at device 29.0 on pci0 uhci0: [GIANT-LOCKED] uhci0: [ITHREAD] usb0: on uhci0 usb0: USB revision 1.0 uhub0: on usb0 uhub0: 2 ports with 2 removable, self powered uhci1: port 0x2600-0x261f irq 19 at device 29.1 on pci0 uhci1: [GIANT-LOCKED] uhci1: [ITHREAD] usb1: on uhci1 usb1: USB revision 1.0 uhub1: on usb1 uhub1: 2 ports with 2 removable, self powered pci0: at device 29.4 (no driver attached) pcib5: at device 30.0 on pci0 pci1: on pcib5 vgapci0: port 0x3000-0x30ff mem 0xf000-0xf7ff,0xf800-0xf800 irq 20 at device 1.0 on pci1 isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376 at device 31.1 on pci0 ata0: on atapci0 ata0: [ITHREAD] ata1: on atapci0 ata1: [ITHREAD] pci0: at device 31.3 (no driver attached) sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A sio0: [FILTER] cpu0: on acpi0 p4tcc0: on cpu0 cpu1: on acpi0 p4tcc1: on cpu1 cpu2: on acpi0 p4tcc2: on cpu2 cpu3: on acpi0 p4tcc3: on cpu3 pmtimer0 on isa0 orm0: at iomem 0xc-0xc8fff pnpid ORM on isa0 atkbdc0: at port 0x60,0x64 on isa0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] atkbd0: [ITHREAD] psm0: unable to set the command byte. ppc0: parallel port not found. sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled vga0: at port 0x3c0-0x3df iomem 0xa-0xb on isa0 uhub2: on uhub0 uhub2: 4 ports with 4 removable, self powered umass0: on uhub2 umass1: addr 4> on uhub2 ukbd0: on uhub0 kbd0 at ukbd0 ums0: on uhub0 ums0: 3 buttons and Z dir. Timecounters tick every 1.000 msec Waiting 5 seconds for SCSI devices to settle mpt0:vol0(mpt0:0:0): Settings ( Hot-Plug-Spares ) mpt0:vol0(mpt0:0:0): Using Spare Pool: 0 mpt0:vol0(mpt0:0:0): 2 Members: (mpt0:1:0:0): Primary Online
Re: [7.2] R/W mount of / denied. Filesystem not clean - run fsck.
Greg Byshenk wrote: On Wed, May 06, 2009 at 11:50:11AM +0200, Helmut Schneider wrote: Marat N.Afanasyev wrote: Helmut Schneider wrote: after upgrading a few systems yesterday from 7.1-RELEASE to 7.2-RELEASE on one machine I got the error above. The problem was that - I was unable to cope with it but booting from a live CD. - the message appeared ~ 1000 times and then the kernel paniced. After fsck'ing / with the help of the live CD I rebooted the machine but now I got the same problem with /home. How can I avoid such issues (except of not letting the machine crash)? Is there a way to boot at least to single user mode and then run fsck (I was at home, far away from the machine, not funny)? There is no 'login' when / cannot be mounted... fsck it. if you have another machine in there, you can try to make a serial console. or install a ip-kvm extender ;) I do have such thing (IBM Blade Center) but I'm looking for something to avoid the situation above. Something that lets me at least boot into single user mode. If you had access to the console (I'm guessing you did in order to use the live CD), did you try booting into single-user from the beastie menu? Yes, I did, same issue, screen filled up with message above, after ~5 minutes kernel panic. IME, failure to fsck the / menu should drop automatically to single-user at the console, but if this fails, then you should be able to choose single-user boot from the menu, which will then not try to run fsck or mount / rw. From there you should be able to fsck and remount /, as well as /home or anything else. This will fail if there is something horribly wrong with /, causing a failure even when / is mounted ro, but then there may be no good solution. There were only 2 or 3 inodes broken, fix from live CD ran smoothly. -- No Swen today, my love has gone away My mailbox stands for lorn, a symbol of the dawn ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: [7.2] R/W mount of / denied. Filesystem not clean - run fsck.
Marat N.Afanasyev wrote: Helmut Schneider wrote: Hi, after upgrading a few systems yesterday from 7.1-RELEASE to 7.2-RELEASE on one machine I got the error above. The problem was that - I was unable to cope with it but booting from a live CD. - the message appeared ~ 1000 times and then the kernel paniced. After fsck'ing / with the help of the live CD I rebooted the machine but now I got the same problem with /home. How can I avoid such issues (except of not letting the machine crash)? Is there a way to boot at least to single user mode and then run fsck (I was at home, far away from the machine, not funny)? Thanks, Helmut if there's a problem with home you can change PermitRoorLogin yes in /etc/ssh/sshd_config, restart sshd, login as root, unmount home and There is no 'login' when / cannot be mounted... fsck it. if you have another machine in there, you can try to make a serial console. or install a ip-kvm extender ;) I do have such thing (IBM Blade Center) but I'm looking for something to avoid the situation above. Something that lets me at least boot into single user mode. -- No Swen today, my love has gone away My mailbox stands for lorn, a symbol of the dawn ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
[7.2] R/W mount of / denied. Filesystem not clean - run fsck.
Hi, after upgrading a few systems yesterday from 7.1-RELEASE to 7.2-RELEASE on one machine I got the error above. The problem was that - I was unable to cope with it but booting from a live CD. - the message appeared ~ 1000 times and then the kernel paniced. After fsck'ing / with the help of the live CD I rebooted the machine but now I got the same problem with /home. How can I avoid such issues (except of not letting the machine crash)? Is there a way to boot at least to single user mode and then run fsck (I was at home, far away from the machine, not funny)? Thanks, Helmut -- No Swen today, my love has gone away My mailbox stands for lorn, a symbol of the dawn ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: Invalid path for portupgrade ftp.FreeBSD.orgpub
Gianni Doe wrote: I'm upgrading a system from 6.4 to 7.1 and rebuilding all the ports. I'd rather use packages where present to speed things up a bit so I'm using: # portupgrade -faP The problem is that it never finds the packages as the URL is invalid, there seems to be a missing slash between in ftp.FreeBSD.orgpub I created a PR: http://www.freebsd.org/cgi/query-pr.cgi?pr=131775 In the meantime install ruby-1.8.6 which solves the problem. HTH; Helmut -- No Swen today, my love has gone away My mailbox stands for lorn, a symbol of the dawn ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"