Re: ln -s broken on 2.4.5
On Wed, May 30, 2001 at 10:49:18PM +0100, Alan Cox wrote: > > The problem is only there if you specify a directory for the linked to > > component. > > > > [marcus@wine /tmp]$ strace -f ln -s fupp/berk xxx > > execve("/bin/ln", ["ln", "-s", "fupp/berk", "xxx"], [/* 39 vars */]) = 0 > > ... ld stuff ... locale stuff ... > > bash-2.04$ ln -s foo/frob eep > bash-2.04$ ls -l eep > lrwxrwxrwx1 alan users 8 May 30 22:19 eep -> foo/frob *sigh* I just rebooted and it is no longer reproducable. Sorry for the confusion caused. Ciao, Marcus - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: ln -s broken on 2.4.5
On Wed, May 30, 2001 at 11:30:05PM +0200, Marcus Meissner wrote: > The problem is only there if you specify a directory for the linked to > component. > > [marcus@wine /tmp]$ strace -f ln -s fupp/berk xxx Is it only a directory, or the length? ln -s fupp_berk xxx for instance. -- Mike Castle [EMAIL PROTECTED] www.netcom.com/~dalgoda/ We are all of us living in the shadow of Manhattan. -- Watchmen fatal ("You are in a maze of twisty compiler features, all different"); -- gcc - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: ln -s broken on 2.4.5
On Wed, 30 May 2001, Marcus Meissner wrote: > On Wed, May 30, 2001 at 09:08:56PM +0100, Alan Cox wrote: > > > > What file system. Its find on my 2.4.5-ac with ext2 > > > > > > 100% reproducible on NFS and EXT2 here, with following: > > > > > > > $ ls -la bar > > > lrwxrwxrwx 1 marcus users 3 May 30 20:30 bar -> bar > > > > bash-2.04$ uname -a > > Linux irongate.swansea.linux.org.uk 2.4.5-ac2 #163 Mon May 28 > 22:56:38 BST 2001 i686 unknown > > bash-2.04$ ln -s frobnitz flop > > bash-2.04$ ls -l f* > > lrwxrwxrwx1 alan users 8 May 30 20:50 flop -> > frobnitz > > > > bash-2.04$ gcc -v > > Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.96/specs > > gcc version 2.96 2731 (Red Hat Linux 7.1 2.96-81 > > The problem is only there if you specify a directory for the linked to > component. > > [marcus@wine /tmp]$ strace -f ln -s fupp/berk xxx > execve("/bin/ln", ["ln", "-s", "fupp/berk", "xxx"], [/* 39 vars */]) = > 0 > ... ld stuff ... locale stuff ... > lstat64("xxx", 0xb47c) = -1 ENOENT (No such file or > directory) > lstat64("xxx", 0xb47c) = -1 ENOENT (No such file or > directory) > symlink("fupp/berk", "xxx") = 0 > _exit(0)= ? > [marcus@wine /tmp]$ ll xxx > lrwxrwxrwx 1 marcus users 3 May 30 22:36 xxx -> xxx > [marcus@wine /tmp]$ uname -a > Linux wine.lst.de 2.4.5-ac4 #3 SMP Tue May 29 18:24:07 CEST 2001 i686 > unknown > [marcus@wine /tmp]$ > > It works just wonderful with previous kernels. Works here: === Cut === [root@nomad tmp]# uname -a Linux nomad.cyberbills.com 2.4.5ac4 #1 SMP Wed May 30 11:55:15 PDT 2001 i686 unknown [root@nomad tmp]# touch 2/dummy [root@nomad tmp]# ln -s 2/dummy very_dummy [root@nomad tmp]# ls -l very_dummy lrwxrwxrwx1 root root7 May 30 14:37 very_dummy -> 2/dummy === Cut === EXT2, loaded as module. There are other problems (may be caused by R.Gooch's latest patch, devfs-177) - no module autoloading complaining about "/dev//floppy/0" etc. (there are 2 slashes after /dev, it's not a mistake). Recompiling ac5 without that patch, may be it'll help. --- Sergey Kubushin Sr. Unix Administrator CyberBills, Inc.Phone: 702-567-8857 874 American Pacific Dr,Fax:702-567-8808 Henderson, NV 89014 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: ln -s broken on 2.4.5
Marcus Meissner wrote: > $ ln -s fupp/bar bar > $ ls -la bar --- Is it peculiar to a specific architecture? What does strace show for args to the symlink cmd? -l -- The above thoughts and | They may have nothing to do with writings are my own. | the opinions of my employer. :-) L A Walsh| Trust Technology, Core Linux, SGI [EMAIL PROTECTED] | Voice: (650) 933-5338 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: ln -s broken on 2.4.5
On Wed, May 30, 2001 at 07:24:30PM +0100, Alan Cox wrote: > > I downloaded the linux 2.4.5 sources and built and installed them on my > > system. Since then, I've noticed strange file system behavior: > > What file system. Its find on my 2.4.5-ac with ext2 Filesystem: ext2 Architecture: i386 CPU: AMD K6-II Christopher Cole mentioned that he saw this problem, but it went away after a reboot. I rebooted into 2.4.5 again and the problem seemed to have gone away. But now, I got something else something that looks like a kernel Ooops. I was running automake and got the following: kernel BUG at inode.c:486! invalid operand: CPU:0 EIP:0010:[] EFLAGS: 00010286 ... I'm gonna try 2.4.4 for now. But if anyone is interested in looking into this deeper, I can send the whole "oops" message and whatever other info needed to debug this. -- Edsel Adap [EMAIL PROTECTED] http://www.adap.org/~edsel/ LINUX - the choice of the GNU generation "Netscape is an application which grows to fill all available memory." - me - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: ln -s broken on 2.4.5
In article <[EMAIL PROTECTED]> you wrote: >> I downloaded the linux 2.4.5 sources and built and installed them on my >> system. Since then, I've noticed strange file system behavior: > What file system. Its find on my 2.4.5-ac with ext2 100% reproducible on NFS and EXT2 here, with following: $ ln -s fupp/bar bar $ ls -la bar lrwxrwxrwx 1 marcus users 3 May 30 20:30 bar -> bar $ Ciao, Marcus - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: ln -s broken on 2.4.5
> I downloaded the linux 2.4.5 sources and built and installed them on my > system. Since then, I've noticed strange file system behavior: What file system. Its find on my 2.4.5-ac with ext2 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: ln -s broken on 2.4.5
On Wed, 30 May 2001, Edsel Adap wrote: > I downloaded the linux 2.4.5 sources and built and installed them on my > system. Since then, I've noticed strange file system behavior: > marvin:/tmp> ln -s foo bar > lrwxrwxrwx1 adap users 3 May 30 12:09 bar -> bar > Notice that the symlink created is wrong. It seems that any symlink I > create is always linked to itself. I tried the same: moffe@grignard:/tmp/test# ls -la totalt 1 drwxr-xr-x2 moffeusers 48 ons maj 30 19:10:20 2001 . drwxrwxrwt 13 root root 496 ons maj 30 19:10:40 2001 .. moffe@grignard:/tmp/test# ln -s foo bar moffe@grignard:/tmp/test# ls -la totalt 1 drwxr-xr-x2 moffeusers 72 ons maj 30 19:10:58 2001 . drwxrwxrwt 13 root root 496 ons maj 30 19:10:40 2001 .. lrwxrwxrwx1 moffeusers 3 ons maj 30 19:10:58 2001 bar -> foo moffe@grignard:/tmp/test# cd /boot/test/ moffe@grignard:/boot/test# ls -la totalt 2 drwxr-xr-x2 moffeusers1024 ons maj 30 19:10:28 2001 . drwxr-xr-x4 root root 1024 ons maj 30 19:10:28 2001 .. moffe@grignard:/boot/test# ln -s foo bar moffe@grignard:/boot/test# ls -la totalt 2 drwxr-xr-x2 moffeusers1024 ons maj 30 19:11:09 2001 . drwxr-xr-x4 root root 1024 ons maj 30 19:10:28 2001 .. lrwxrwxrwx1 moffeusers 3 ons maj 30 19:11:09 2001 bar -> foo / is on reiserfs and /boot is on ext2 - as you see, I do not have the problem (also running 2.4.5). Could it be a fileutils problem? Rasmus -- -- [ Rasmus 'Møffe' Bøg Hansen ] -- Programming is a race between programmers, who try and make more and more idiot-proof software, and universe, which produces more and more remarkable idiots. Until now, universe leads the race. - R. Cooka [ moffe at amagerkollegiet dot dk ] -- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
ln -s broken on 2.4.5
Hi, I downloaded the linux 2.4.5 sources and built and installed them on my system. Since then, I've noticed strange file system behavior: marvin:~> cd /tmp marvin:/tmp> ls -la total 2656 drwxrwxrwt6 root root 1024 May 30 12:06 ./ drwxr-xr-x 22 root root 1024 Feb 18 2000 ../ -r--r--r--1 root root 11 May 30 11:19 .X0-lock drwxrwxrwt2 root root 1024 May 30 11:19 .X11-unix/ drwxrwxrwt2 root root 1024 May 30 11:18 .font-unix/ -rw-r--r--1 adap users 2699286 May 30 11:24 mpeg2-digital.mpg drwx--2 adap root 1024 May 30 12:06 ssh-SXp13149/ drwx--2 adap root 1024 May 30 11:19 ssh-unNLs321/ marvin:/tmp> ln -s foo bar marvin:/tmp> ls -la total 2656 drwxrwxrwt6 root root 1024 May 30 12:06 ./ drwxr-xr-x 22 root root 1024 Feb 18 2000 ../ -r--r--r--1 root root 11 May 30 11:19 .X0-lock drwxrwxrwt2 root root 1024 May 30 11:19 .X11-unix/ drwxrwxrwt2 root root 1024 May 30 11:18 .font-unix/ lrwxrwxrwx1 adap users 3 May 30 12:09 bar -> bar -rw-r--r--1 adap users 2699286 May 30 11:24 mpeg2-digital.mpg drwx--2 adap root 1024 May 30 12:06 ssh-SXp13149/ drwx--2 adap root 1024 May 30 11:19 ssh-unNLs321/ marvin:/tmp> Notice that the symlink created is wrong. It seems that any symlink I create is always linked to itself. I booted 2.4.0 again, and the problem went away. Is this a known problem? Is there a patch? Please cc me with your replies since I am not on the list. -- Edsel Adap [EMAIL PROTECTED] http://www.adap.org/~edsel/ LINUX - the choice of the GNU generation "Netscape is an application which grows to fill all available memory." - me - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/