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.
Helmut Schneider wrote: 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. :) as far as I can guess from you other message panic occurs only after you see Trying to mount root from ufs:/dev/da0s1a WARNING: R/W mount of /home denied. Filesystem is not clean - run fsck GEOM_LABEL: Label for provider da0s2e is ufsid/49c3b0c4862f53b3. [lots more] Fatal trap 12: page fault while in kernel mode so, I can suppose you don't start in single-user mode, because in single-user init do not try to mount root at all, so you cannot see the messages above. if panics occur either in single or multiuser, then you can try livefs_cd/PXE -- SY, Marat smime.p7s Description: S/MIME Cryptographic Signature
Re: [7.2] R/W mount of / denied. Filesystem not clean - run fsck.
On Wed, May 06, 2009 at 09:18:02PM +0200, Helmut Schneider wrote: > 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. :) The problem is that, if something is so far wrong that you can't even get to the single-user shell, then there probably isn't anything else but rescue. One thing that might be an option: at work, we use PXE for Linux and FreeBSD installs, so one thing I've done is to create a pxeboot rescue image (using the mfsroot from the rescue CD). This means that, if there is this sort of problem, we can boot into rescue mode from the network (the BIOS is also redirected to the serial console) and not have to worry about swapping CDs. The same thing should also work for remote locations. -- greg byshenk - gbysh...@byshenk.net - Leiden, NL ___ 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"
kbd0 at both atkbd0 and ukbd0 [Was: [7.2] R/W mount of / denied. Filesystem not clean - run fsck.]
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? -- Andriy Gapon ___ 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.
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) >> 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. > That's good. Although not very likely it's still possible that src tree might have some problems. Just in case, do you have PS/2 keyboard attached? -- Andriy Gapon ___ 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.
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 :-) 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. -- Andriy Gapon ___ 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 (mpt0:1:1:0): Secondary Online mpt0:vol0(mpt0:0:0): RAID-1 - Optimal mpt0:vol0(mpt0:0:
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.
Helmut Schneider wrote: 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. 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 -- SY, Marat smime.p7s Description: S/MIME Cryptographic Signature
Re: [7.2] R/W mount of / denied. Filesystem not clean - run fsck.
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? 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. -- greg byshenk - gbysh...@byshenk.net - Leiden, NL ___ 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"
Re: [7.2] R/W mount of / denied. Filesystem not clean - run fsck.
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 fsck it. if you have another machine in there, you can try to make a serial console. or install a ip-kvm extender ;) -- SY, Marat smime.p7s Description: S/MIME Cryptographic Signature
[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"