Thanks Grant,

I will try it the next time I boot Linux ! >8]

I am suprised that i am running such an obscure
command to fix something that looks like a hd
mount problem. What exactly am I looking for in
the resulting file ?

Matt


>
>On Tue, 4 Dec 2001, Matt - wrote:
>
> > It has been working for about a week but then today, all of a
> > sudden, I get a "segmentation fault" when I try to run the "ls"
> > command in the directory - ditto with "dir". Strangely enough,
> > I can "cd" into directories I know exist. Here's a copy-paste
> > of a typical mount attempt:
> >
> > [root@localhost /]# mount -t vfat /dev/hda1 /win
> > [root@localhost /win]# mount
> > /dev/hdc1 on / type ext2 (rw)
> > none on /proc type proc (rw)
> > none on /dev/pts type devpts (rw,gid=5,mode=620)
> > /dev/hda1 on /win type vfat (rw)
> > [root@localhost /win]# ls
> > Segmentation fault
> > [root@localhost /win]# dir
> > Segmentation fault
> > [root@localhost /win]# mc
> > Segmentation fault
> > [root@localhost /win]# cd windows
> > [root@localhost windows]# ls
> > Segmentation fault
> > [root@localhost /win]# cd desktop
> > [root@localhost desktop]# ls
> > Segmentation fault
> >
> > If I try to run "vi autoexec.ba[TAB]" it will die and
> > destroy xterm !?
> >
> > I have tried booting the windows hard drive and all works
> > correctly, I have run a "basic" windows scandisk on the
> > drive and it reports no errors.
> >
> > What could I be doing wrong ? I'm really bad at hardware
> > diagnosis :)
>
>Sounds like some fun.. you're going to have to provide some more
>information like so:-
>
>mount ..
>cd /win
>strace ls >/tmp/strace.log 2>&1
>
>If you haven't got strace, it should be on your install CD's somewhere.
>It will trace all library calls and you can even get something out of it
>if you've not done any programming. There's a *lot* of info output so just
>skip to the end and post about the last page to the SLUG list.
>
>I got exactly 100 lines on my junkfs for example that didn't have any
>errors, I can tell a lot of time it spends openning up libraries & so
>forth before getting to the nitty gritty, in fact the last 7 lines is
>where it looks at the directory!
>
>  --
>---<GRiP>---
>Web: www.arcadia.au.com/gripz
>Phone/fax: 02 4950 1194
>Mobile: 0408 686 201
>


_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp


-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to