* Re: OOPS on 2.4.17 -18pre4 while mounting root (reiserfs, on LVM, devfs)
@ 2002-01-18 7:17 Borsenkow Andrej
0 siblings, 0 replies; 4+ messages in thread
From: Borsenkow Andrej @ 2002-01-18 7:17 UTC (permalink / raw)
To: zdzichu; +Cc: linux-kernel
> VFS: Mounted root (reiserfs filesystem) readonly.
> devfs: devfs_do_symlink(root): could not append to parent, err: -17
> change_root: old root has d_count=2
17 == EEXIST
Your mkinitrd creates /dev/root in any form and devfs_do_symlink(root)
fails. We had the same pornlem in mandrake and Juan ended up commenting
it out in fs/super.c:
// devfs_mk_symlink (NULL, "root", DEVFS_FL_DEFAULT,
// name + 5, NULL, NULL);
-andrej
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: OOPS on 2.4.17 -18pre4 while mounting root (reiserfs, on LVM, devfs)
2002-01-17 18:27 Tomasz Torcz
2002-01-17 18:56 ` Pierre Rousselet
@ 2002-01-20 20:45 ` Richard Gooch
1 sibling, 0 replies; 4+ messages in thread
From: Richard Gooch @ 2002-01-20 20:45 UTC (permalink / raw)
To: Pierre Rousselet; +Cc: Tomasz Torcz, linux-kernel
Pierre Rousselet writes:
> Tomasz Torcz wrote:
>
> > VFS: Mounted root (reiserfs filesystem) readonly.
> > devfs: devfs_do_symlink(root): could not append to parent, err: -17
> > change_root: old root has d_count=2
>
> try booting with devfs=nomount as devfs is not properly configured on
> your system.
No, the problem is that he needs to apply the latest devfs patch. Some
of these problems have been fixed weeks ago. Grab devfs-patch-v199.7
and apply the appended patch as well. Let me know how it goes. I want
to release a new patch ASAP.
Regards,
Richard....
Permanent: rgooch@atnf.csiro.au
Current: rgooch@ras.ucalgary.ca
diff -urN linux-2.5.3-pre2/fs/devfs/base.c linux/fs/devfs/base.c
--- linux-2.5.3-pre2/fs/devfs/base.c Mon Jan 14 10:40:29 2002
+++ linux/fs/devfs/base.c Sun Jan 20 12:09:55 2002
@@ -1,6 +1,6 @@
/* devfs (Device FileSystem) driver.
- Copyright (C) 1998-2001 Richard Gooch
+ Copyright (C) 1998-2002 Richard Gooch
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
@@ -604,6 +604,9 @@
20020113 Richard Gooch <rgooch@atnf.csiro.au>
Fixed (rare, old) race in <devfs_lookup>.
v1.9
+ 20020120 Richard Gooch <rgooch@atnf.csiro.au>
+ Fixed deadlock bug in <devfs_d_revalidate_wait>.
+ v1.10
*/
#include <linux/types.h>
#include <linux/errno.h>
@@ -636,7 +639,7 @@
#include <asm/bitops.h>
#include <asm/atomic.h>
-#define DEVFS_VERSION "1.9 (20020113)"
+#define DEVFS_VERSION "1.10 (20020120)"
#define DEVFS_NAME "devfs"
@@ -2878,13 +2881,16 @@
struct devfs_lookup_struct *lookup_info = dentry->d_fsdata;
DECLARE_WAITQUEUE (wait, current);
- if ( !dentry->d_inode && is_devfsd_or_child (fs_info) )
+ if ( is_devfsd_or_child (fs_info) )
{
devfs_handle_t de = lookup_info->de;
struct inode *inode;
- DPRINTK (DEBUG_I_LOOKUP, "(%s): dentry: %p de: %p by: \"%s\"\n",
- dentry->d_name.name, dentry, de, current->comm);
+ DPRINTK (DEBUG_I_LOOKUP,
+ "(%s): dentry: %p inode: %p de: %p by: \"%s\"\n",
+ dentry->d_name.name, dentry, dentry->d_inode, de,
+ current->comm);
+ if (dentry->d_inode) return 1;
if (de == NULL)
{
read_lock (&parent->u.dir.lock);
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: OOPS on 2.4.17 -18pre4 while mounting root (reiserfs, on LVM, devfs)
2002-01-17 18:27 Tomasz Torcz
@ 2002-01-17 18:56 ` Pierre Rousselet
2002-01-20 20:45 ` Richard Gooch
1 sibling, 0 replies; 4+ messages in thread
From: Pierre Rousselet @ 2002-01-17 18:56 UTC (permalink / raw)
To: Tomasz Torcz; +Cc: linux-kernel
Tomasz Torcz wrote:
> VFS: Mounted root (reiserfs filesystem) readonly.
> devfs: devfs_do_symlink(root): could not append to parent, err: -17
> change_root: old root has d_count=2
try booting with devfs=nomount as devfs is not properly configured on
your system.
Pierre
--
------------------------------------------------
Pierre Rousselet <pierre.rousselet@wanadoo.fr>
------------------------------------------------
^ permalink raw reply [flat|nested] 4+ messages in thread
* OOPS on 2.4.17 -18pre4 while mounting root (reiserfs, on LVM, devfs)
@ 2002-01-17 18:27 Tomasz Torcz
2002-01-17 18:56 ` Pierre Rousselet
2002-01-20 20:45 ` Richard Gooch
0 siblings, 2 replies; 4+ messages in thread
From: Tomasz Torcz @ 2002-01-17 18:27 UTC (permalink / raw)
To: linux-kernel
,
I'm stuck with 2.4.16, because newer kernels oops while booting.
I'm using LVM for root partition, starting system with
initrd. On working kernels, normally "Mounted devfsd on /dev" appears.
All dumps also avaiable at http://fordon.pl.eu.org/~zdzichu/oops/
WARNING: This version of ksymoops is obsolete.
WARNING: The current version can be obtained from ftp://ftp.ocs.com.au/pub/ksymoops
Options used: -V (default)
-o /lib/modules/2.4.8-pre4 (specified)
-K (specified)
-L (specified)
-m /usr/src/linux/System.map (default)
-c 1 (default)
No modules in ksyms, skipping objects
invalid operand: 0000
CPU: 0
EIP: 0010 [<c01273eb>] Not tainted
EFLAGS: 00010246
eax: 00000000 ebx: c1187d00 ecx: c1187d68 edx: c1187cf8
esi: c1187cf1 edi: c0279a74 ebp: c0321f88 esp: c1199f00
ds: 0018 es: 0018 ss: 0018
Process swapper (pid: 1, stackpage=c1199000)
Stack: c1199f68 c11862e0 c11d270e c1199fbc c1199f1c c1187d29 00000004 0000000c
c02e2f54 c0279a67 00000014 00000020 00000000 00000000 00000000 c02e2979
c0276480 00000002 00000000 ffffffff 00000007 c1199fe0 c11862e0 00000000
Call Trace: [<c0117976>] [<c0106d1b>] [<c010522c>] [<c0105254>] [<c0105688>]
Code: 0f 0b 8b 12 81 fa c8 e1 2b c0 75 d9 e1 c8 e1 2b e0 89 48 04
>>EIP: c01273eb <kmem_cache_create+eb/328>
Trace: c0117976 <sys_waitpid+16/20>
Trace: c0106d1b <system_call+33/38>
Trace: c010522c <prepare_namespace+120/13c>
Trace: c0105254 <init+c/108>
Trace: c0105688 <kernel_thread+28/38>
Code: c01273eb <kmem_cache_create+eb/328> 0000000000000000 <_EIP>: <===
Code: c01273eb <kmem_cache_create+eb/328> 0: 0f 0b ud2a <===
Code: c01273ed <kmem_cache_create+ed/328> 2: 8b 12 mov (%edx),%edx
Code: c01273ef <kmem_cache_create+ef/328> 4: 81 fa c8 e1 2b c0 cmp $0xc02be1c8,%edx
Code: c01273f5 <kmem_cache_create+f5/328> a: 75 d9 jne c01273d0 <kmem_cache_create+d0/328>
Code: c01273f7 <kmem_cache_create+f7/328> c: e1 c8 loope c01273c1 <kmem_cache_create+c1/328>
Code: c01273f9 <kmem_cache_create+f9/328> e: e1 2b loope c0127426 <kmem_cache_create+126/328>
Code: c01273fb <kmem_cache_create+fb/328> 10: e0 89 loopne c0127386 <kmem_cache_create+86/328>
Code: c01273fd <kmem_cache_create+fd/328> 12: 48 dec %eax
Code: c01273fe <kmem_cache_create+fe/328> 13: 04 00 add $0x0,%al
<0>Kernel panic: Attempted to kill init!
2 warnings issued. Results may not be reliable.
* -------------------------- (
lvm -- lvm_blk_ioctl: unknown command 0x5310
reiserfs: checking transaction log (device 3a:00) ...
Warning, log replay started on readonly filesystem
Using r5 to sort names
Reiserfs version 3.6.25
VFS: Mounted root (reiserfs filesystem) readonly.
devfs: devfs_do_symlink(root): could not append to parent, err: -17
change_root: old root has d_count=2
invalid operand: 0000
CPU: 0
EIP: 0010 [<c01273eb>] Not tainted
EFLAGS: 00010246
eax: 00000000 ebx: c1187d00 ecx: c1187d68 edx: c1187cf8
esi: c1187cf1 edi: c0279a74 ebp: c0321f88 esp: c1199f00
ds: 0018 es: 0018 ss: 0018
Process swapper (pid: 1, stackpage=c1199000)
Stack: c1199f68 c11862e0 c11d270e c1199fbc c1199f1c c1187d29 00000004 0000000c
c02e2f54 c0279a67 00000014 00000020 00000000 00000000 00000000 c02e2979
c0276480 00000002 00000000 ffffffff 00000007 c1199fe0 c11862e0 00000000
Call Trace: [<c0117976>] [<c0106d1b>] [<c010522c>] [<c0105254>] [<c0105688>]
Code: 0f 0b 8b 12 81 fa c8 e1 2b c0 75 d9 e1 c8 e1 2b e0 89 48 04
<0>Kernel panic: Attempted to kill init!
* ------------------ *
If some fields are empty or look unusual you may have an old version.
Compare to the current minimal requirements in Documentation/Changes.
Linux mother 2.4.16 #9 wto lis 27 17:19:56 CET 2001 i686 unknown
Gnu C 2.95.3
Gnu make 3.79.1
binutils 2.11.90.0.19
util-linux 2.11l
mount 2.11l
modutils 2.4.6
e2fsprogs 1.25
reiserfsprogs 3.x.0j
PPP 2.4.0
Linux C Library 2.2.4
Dynamic linker (ldd) 2.2.4
Procps 2.0.7
Net-tools 1.60
Kbd 1.06
Sh-utils 2.0
Modules Loaded 8139too es1370 gameport lirc_gpio lirc_dev loop
(gcc from slackware)
--
Tomasz Torcz
zdzichu@irc.pl
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2002-01-20 20:46 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-01-18 7:17 OOPS on 2.4.17 -18pre4 while mounting root (reiserfs, on LVM, devfs) Borsenkow Andrej
-- strict thread matches above, loose matches on Subject: below --
2002-01-17 18:27 Tomasz Torcz
2002-01-17 18:56 ` Pierre Rousselet
2002-01-20 20:45 ` Richard Gooch
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®