Re: mounting ext2fs partitions on FBSD7 ( third time a charm?)

2008-07-21 Thread Dieter
> # mount -t ext2fs /dev/ad0s8 /mnt/
> # ls /mnt
> ls: /mnt: Bad file descriptor

Weird.

I can mount ext2fs on 7.0 (and previously on 6.0 and 6.2) and
things mostly work.  In the past I had ext2fs on both primary
and extended slices (or whatever the preferred terminology is).
This is on AMD64 with SATA drives.  My ext2fs filesystems were
created by Linux (32 bit Linux, since penguins can't count to 64).

Are you sure that ad0s8 contains a valid ext2fs filesystem?
Can Linux mount it and access it?
Maybe try running fsck?
What OS created (newfs/mkfs) the filesystem?

Problems I have seen with ext2fs:

There was some case where accessing a large ( > 1 GB) file
(rm-ing it I think?) hung or paniced FreeBSD.  Small files
are fine.

Sometimes on boot FreeBSD would get confused and think the
fext2fs needed to be fscked dispite a clean shutdown, but
wasn't able to do so automagically, so it dropped into single
user mode and sat there waiting for manual intervention.  I
no longer have ext2fs automatically mounted.  There is
probably some configuration fix for this.

ext2fs is unreliable and LOSES DATA under it's native Linux.

---

 Linus
 Is
 Not a
 Unix
eXpert
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: mounting ext2fs partitions on FBSD7 ( third time a charm?)

2008-07-05 Thread Gonzalo Nemmi
On Saturday 05 July 2008 06:01:36 Nejc Škoberne wrote:
> Hey,
>
> >> ls -la / | grep mnttest
>
> Can you paste output of this command?
>
> > sysid 5 (0x05),(Extended DOS)
> > start 102398310, size 106446690 (51975 Meg), flag 0
> > beg: cyl 1023/ head 0/ sector 1;
> > end: cyl 1023/ head 254/ sector 63
>
> So the partition you're trying to mount is under an extended partition.
> Can you do "ls -la /dev/ad0*" and provide us with the output?
>
> Bye,
> Nejc

Here you have a more complete output:

[EMAIL PROTECTED]:~ # mkdir /mnttest
[EMAIL PROTECTED]:~ # ls -la / | grep mnttest
drwxr-xr-x   2 root  wheel  512 Jul  5 17:16 mnttest
[EMAIL PROTECTED]:~ # mount -t ext2fs /dev/ad0s8 /mnttest
[EMAIL PROTECTED]:~ # ls /mnttest
ls: /mnttest: Bad file descriptor
[EMAIL PROTECTED]:~ # file /mnttest
/mnttest: cannot open `/mnttest' (Bad file descriptor)
[EMAIL PROTECTED]:~ # ls -la / | grep mnttest
ls: mnttest: Bad file descriptor
[EMAIL PROTECTED]:~ # dmesg | tail -5
re0: link state changed to DOWN
re0: link state changed to UP
pid 41456 (kdeinit), uid 1001 inumber 14 on /tmp: filesystem full
linux: pid 8503 (doom.x86): ioctl fd=17, cmd=0x5801 ('X',1) is not implemented
pid 8511 (doom.x86), uid 1001: exited on signal 11
[EMAIL PROTECTED]:~ # umount /mnttest
[EMAIL PROTECTED]:~ # ls /mnttest
[EMAIL PROTECTED]:~ # file /mnttest
/mnttest: directory
[EMAIL PROTECTED]:~ # ls -la / | grep mnttest
drwxr-xr-x   2 root  wheel  512 Jul  5 17:16 mnttest
[EMAIL PROTECTED]:~ # dmesg | tail -5
re0: link state changed to DOWN
re0: link state changed to UP
pid 41456 (kdeinit), uid 1001 inumber 14 on /tmp: filesystem full
linux: pid 8503 (doom.x86): ioctl fd=17, cmd=0x5801 ('X',1) is not implemented
pid 8511 (doom.x86), uid 1001: exited on signal 11
[EMAIL PROTECTED]:~ # 

Hope it clarifies sonething more 
Thanks for helping Nejc :)
-- 
Blessings
Gonzalo Nemmi
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: mounting ext2fs partitions on FBSD7 ( third time a charm?)

2008-07-05 Thread Gonzalo Nemmi
On Saturday 05 July 2008 05:59:42 Roland Smith wrote:
> mount -t ext2fs /dev/ad0s1 /mnt

[EMAIL PROTECTED]:~ # mount -t ext2fs /dev/ad0s1 /mnt
[EMAIL PROTECTED]:~ # ls /mnt
ls: /mnt: Bad file descriptor
[EMAIL PROTECTED]:~ # ls -la / | grep /mnt
ls: mnt: Bad file descriptor
[EMAIL PROTECTED]:~ # dmesg | tail -5
re0: link state changed to DOWN
re0: link state changed to UP
pid 41456 (kdeinit), uid 1001 inumber 14 on /tmp: filesystem full
linux: pid 8503 (doom.x86): ioctl fd=17, cmd=0x5801 ('X',1) is not implemented
pid 8511 (doom.x86), uid 1001: exited on signal 11
[EMAIL PROTECTED]:~ #  

Thanks for your help Roland :)

-- 
Blessings
Gonzalo Nemmi
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: mounting ext2fs partitions on FBSD7 ( third time a charm?)

2008-07-05 Thread Gonzalo Nemmi
On Saturday 05 July 2008 06:01:36 you wrote:
> Hey,
>
> >> ls -la / | grep mnttest
>
> Can you paste output of this command?
>
> > sysid 5 (0x05),(Extended DOS)
> > start 102398310, size 106446690 (51975 Meg), flag 0
> > beg: cyl 1023/ head 0/ sector 1;
> > end: cyl 1023/ head 254/ sector 63
>
> So the partition you're trying to mount is under an extended partition.
> Can you do "ls -la /dev/ad0*" and provide us with the output?
>
> Bye,
> Nejc

Sure thing !
Here you go:

[EMAIL PROTECTED]:~ # ls -la /dev/ad0*
crw-r-  1 root  operator0,  80 Jul  3 20:27 /dev/ad0
crw-r-  1 root  operator0,  81 Jul  3 20:27 /dev/ad0s1
crw-r-  1 root  operator0,  82 Jul  3 20:27 /dev/ad0s2
crw-r-  1 root  operator0,  83 Jul  3 20:27 /dev/ad0s3
crw-r-  1 root  operator0,  90 Jul  3 22:27 /dev/ad0s3a
crw-r-  1 root  operator0,  91 Jul  3 22:27 /dev/ad0s3b
crw-r-  1 root  operator0,  92 Jul  3 20:27 /dev/ad0s3c
crw-r-  1 root  operator0,  93 Jul  3 22:27 /dev/ad0s3d
crw-r-  1 root  operator0,  94 Jul  3 22:27 /dev/ad0s3e
crw-r-  1 root  operator0,  95 Jul  3 22:27 /dev/ad0s3f
crw-r-  1 root  operator0,  84 Jul  3 20:27 /dev/ad0s4
crw-r-  1 root  operator0,  86 Jul  3 20:27 /dev/ad0s5
crw-r-  1 root  operator0,  87 Jul  3 20:27 /dev/ad0s6
crw-r-  1 root  operator0,  88 Jul  3 20:27 /dev/ad0s7
crw-r-  1 root  operator0,  89 Jul  3 20:27 /dev/ad0s8
[EMAIL PROTECTED]:~ # mkdir /mnttest
[EMAIL PROTECTED]:~ # mount -t ext2fs /dev/ad0s8 /mnttest
[EMAIL PROTECTED]:~ # ls /mnttest
ls: /mnttest: Bad file descriptor
[EMAIL PROTECTED]:~ # file /mnttest
/mnttest: cannot open `/mnttest' (Bad file descriptor)
[EMAIL PROTECTED]:~ # ls -la / | grep mnttest
ls: mnttest: Bad file descriptor
[EMAIL PROTECTED]:~ # dmesg | tail -5
re0: link state changed to DOWN
re0: link state changed to UP
pid 41456 (kdeinit), uid 1001 inumber 14 on /tmp: filesystem full
linux: pid 8503 (doom.x86): ioctl fd=17, cmd=0x5801 ('X',1) is not implemented
pid 8511 (doom.x86), uid 1001: exited on signal 11
[EMAIL PROTECTED]:~ # umount /mnttest
[EMAIL PROTECTED]:~ # dmesg | tail -5
re0: link state changed to DOWN
re0: link state changed to UP
pid 41456 (kdeinit), uid 1001 inumber 14 on /tmp: filesystem full
linux: pid 8503 (doom.x86): ioctl fd=17, cmd=0x5801 ('X',1) is not implemented
pid 8511 (doom.x86), uid 1001: exited on signal 11
[EMAIL PROTECTED]:~ # 

Thanks a lot for your help and interest :)
-- 
Blessings
Gonzalo Nemmi
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: mounting ext2fs partitions on FBSD7 ( third time a charm?)

2008-07-05 Thread Nejc Škoberne

Hey,


ls -la / | grep mnttest


Can you paste output of this command?


sysid 5 (0x05),(Extended DOS)
start 102398310, size 106446690 (51975 Meg), flag 0
beg: cyl 1023/ head 0/ sector 1;
end: cyl 1023/ head 254/ sector 63


So the partition you're trying to mount is under an extended partition.
Can you do "ls -la /dev/ad0*" and provide us with the output?

Bye,
Nejc
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: mounting ext2fs partitions on FBSD7 ( third time a charm?)

2008-07-05 Thread Roland Smith
On Sat, Jul 05, 2008 at 05:46:09AM -0300, Gonzalo Nemmi wrote:
> On Saturday 05 July 2008 03:24:53 Nejc Škoberne wrote:
> > Hey,
> >
> > > Have you, by any chance, tried and suceded at mounting ext2fs on FBSD7?
> > > If you did, at least I'd know that it _is_ possible :s
> >
> > It is possible, although I haven't used this on FreeBSD 7.0 yet (only on
> > 5.x and 6.x releases).
> >
> > I'd also try this:
> >
> > mkdir /mnttest
> > mount -t ext2fs /dev/ad0s8 /mnttest
> > ls /mnttest
> > file /mnttest
> > ls -la / | grep mnttest
> >
> > and maybe also:
> >
> > fdisk /dev/ad0
> >
> > Bye,
> > Nejc
> 
> No luck :(
> Exactly the same results ...
> 
> Just in case you can see something that I don't, here you go:
> 
> [EMAIL PROTECTED]:~ # fdisk /dev/ad0
> *** Working on device /dev/ad0 ***
> parameters extracted from in-core disklabel are:
> cylinders=387621 heads=16 sectors/track=63 (1008 blks/cyl)
> 
> Figures below won't work with BIOS for partitions not in cyl 1
> parameters to be used for BIOS calculations are:
> cylinders=387621 heads=16 sectors/track=63 (1008 blks/cyl)
> 
> Media sector size is 512
> Warning: BIOS sector numbering starts with sector 1
> Information from DOS bootblock is:
> The data for partition 1 is:
> sysid 131 (0x83),(Linux native)
> start 63, size 102398247 (4 Meg), flag 0
> beg: cyl 0/ head 1/ sector 1;
> end: cyl 1023/ head 254/ sector 63

Looks like you should try mount -t ext2fs /dev/ad0s1 /mnt

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpjr3mfTxXGD.pgp
Description: PGP signature


Re: mounting ext2fs partitions on FBSD7 ( third time a charm?)

2008-07-05 Thread Gonzalo Nemmi
On Saturday 05 July 2008 03:24:53 Nejc Škoberne wrote:
> Hey,
>
> > Have you, by any chance, tried and suceded at mounting ext2fs on FBSD7?
> > If you did, at least I'd know that it _is_ possible :s
>
> It is possible, although I haven't used this on FreeBSD 7.0 yet (only on
> 5.x and 6.x releases).
>
> I'd also try this:
>
> mkdir /mnttest
> mount -t ext2fs /dev/ad0s8 /mnttest
> ls /mnttest
> file /mnttest
> ls -la / | grep mnttest
>
> and maybe also:
>
> fdisk /dev/ad0
>
> Bye,
> Nejc

No luck :(
Exactly the same results ...

Just in case you can see something that I don't, here you go:

[EMAIL PROTECTED]:~ # fdisk /dev/ad0
*** Working on device /dev/ad0 ***
parameters extracted from in-core disklabel are:
cylinders=387621 heads=16 sectors/track=63 (1008 blks/cyl)

Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=387621 heads=16 sectors/track=63 (1008 blks/cyl)

Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 131 (0x83),(Linux native)
start 63, size 102398247 (4 Meg), flag 0
beg: cyl 0/ head 1/ sector 1;
end: cyl 1023/ head 254/ sector 63
The data for partition 2 is:
sysid 5 (0x05),(Extended DOS)
start 102398310, size 106446690 (51975 Meg), flag 0
beg: cyl 1023/ head 0/ sector 1;
end: cyl 1023/ head 254/ sector 63
The data for partition 3 is:
sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
start 208845000, size 41929650 (20473 Meg), flag 0
beg: cyl 1023/ head 0/ sector 1;
end: cyl 1023/ head 254/ sector 63
The data for partition 4 is:
sysid 7 (0x07),(OS/2 HPFS, NTFS, QNX-2 (16 bit) or Advanced UNIX)
start 250774650, size 139926150 (68323 Meg), flag 80 (active)
beg: cyl 1023/ head 0/ sector 1;
end: cyl 1023/ head 254/ sector 63
[EMAIL PROTECTED]:~ # 

Thanks for your help :)
-- 
Blessings
Gonzalo Nemmi
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: mounting ext2fs partitions on FBSD7 ( third time a charm?)

2008-07-05 Thread Gonzalo Nemmi
On Saturday 05 July 2008 01:37:26 Ryan Coleman wrote:
> Gonzalo Nemmi wrote:
> > On Friday 04 July 2008 22:58:18 you wrote:
> >> Gonzalo Nemmi wrote:
> >>> Could somebody please throw me a pointer ...
> >>> i have followed every instruction on every book and/or how-to ... yet
> >>> ...
> >>>
> >>> What am I doing wrong??
> >>>
> >>> [EMAIL PROTECTED]:~ # uname -sr
> >>> FreeBSD 7.0-RELEASE
> >>> [EMAIL PROTECTED]:~ # kldstat
> >>> Id Refs AddressSize Name
> >>>  1   10 0xc040 4dd878   kernel
> >>>  21 0xc08de000 7559b0   nvidia.ko
> >>>  31 0xc1034000 6721cacpi.ko
> >>>  41 0xc4a2e000 4000 logo_saver.ko
> >>>  51 0xc5884000 1ext2fs.ko
> >>> [EMAIL PROTECTED]:~ # mount -t ext2fs /dev/ad0s8 /mnt/
> >>> [EMAIL PROTECTED]:~ # ls /mnt
> >>> ls: /mnt: Bad file descriptor
> >>> [EMAIL PROTECTED]:~ # cd /mnt
> >>> /mnt: Not a directory.
> >>> [EMAIL PROTECTED]:~ # umount /mnt
> >>> [EMAIL PROTECTED]:~ # cd /mnt
> >>> [EMAIL PROTECTED]:/mnt # mount -t ext2fs /dev/ad0s8 .
> >>> [EMAIL PROTECTED]:/mnt # ls
> >>> ls: .: Not a directory
> >>> [EMAIL PROTECTED]:/mnt # cd ~
> >>> [EMAIL PROTECTED]:~ # umount /mnt
> >>> [EMAIL PROTECTED]:~ # file /mnt/
> >>> /mnt/: directory
> >>> [EMAIL PROTECTED]:~ # cd /mnt
> >>> [EMAIL PROTECTED]:/mnt # ls
> >>> [EMAIL PROTECTED]:/mnt #
> >>>
> >>> dmesg says _nothing_
> >>> _Any_ hint will be more than welcome :)
> >>
> >> What does /var/log/messages say when you run mount -t ext2fs?
> >
> > Hi Ryan!
> > And thanks for your help :)
> >
> > Unfortunately, just as much as dmesg, /var/log/messages says nothing :s
> > Look:
> >
> > [EMAIL PROTECTED]:~ # date
> > Sat Jul  5 00:39:39 ART 2008
> > [EMAIL PROTECTED]:~ # mount -t ext2fs /dev/ad0s8 /mnt/
> > [EMAIL PROTECTED]:~ # ls /mnt
> > ls: /mnt: Bad file descriptor
> > [EMAIL PROTECTED]:~ # cd /mnt
> > /mnt: Not a directory.
> > [EMAIL PROTECTED]:~ # cat /var/log/messages | tail -5
> > Jul  4 20:21:13 inferna su: gonzalo to root on /dev/ttyp2
> > Jul  4 20:38:34 inferna kernel: linux: pid 8503 (doom.x86): ioctl fd=17,
> > cmd=0x5801 ('X',1) is not implemented
> > Jul  4 20:47:28 inferna kernel: pid 8511 (doom.x86), uid 1001: exited on
> > signal 11
> > Jul  4 23:54:48 inferna su: gonzalo to root on /dev/ttyp3
> > Jul  5 00:38:24 inferna su: gonzalo to root on /dev/ttyp2
> > [EMAIL PROTECTED]:~ # umount /mnt
> > [EMAIL PROTECTED]:~ # cat /var/log/messages | tail -5
> > Jul  4 20:21:13 inferna su: gonzalo to root on /dev/ttyp2
> > Jul  4 20:38:34 inferna kernel: linux: pid 8503 (doom.x86): ioctl fd=17,
> > cmd=0x5801 ('X',1) is not implemented
> > Jul  4 20:47:28 inferna kernel: pid 8511 (doom.x86), uid 1001: exited on
> > signal 11
> > Jul  4 23:54:48 inferna su: gonzalo to root on /dev/ttyp3
> > Jul  5 00:38:24 inferna su: gonzalo to root on /dev/ttyp2
> > [EMAIL PROTECTED]:~ #
> >
> > Have you, by any chance, tried and suceded at mounting ext2fs on FBSD7?
> > If you did, at least I'd know that it _is_ possible :s
> >
> > Thanks  :)
>
> No, I thought maybe there was something there I could help with I
> haven't used ext/ext2/ext3 since I dumped RHL in 2003.

Sure, i understand ...
Thanks for your help anyways :)

-- 
Blessings
Gonzalo Nemmi
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: mounting ext2fs partitions on FBSD7 ( third time a charm?)

2008-07-04 Thread Nejc Škoberne

Hey,


Have you, by any chance, tried and suceded at mounting ext2fs on FBSD7?
If you did, at least I'd know that it _is_ possible :s


It is possible, although I haven't used this on FreeBSD 7.0 yet (only on 5.x
and 6.x releases).

I'd also try this:

mkdir /mnttest
mount -t ext2fs /dev/ad0s8 /mnttest
ls /mnttest
file /mnttest
ls -la / | grep mnttest

and maybe also:

fdisk /dev/ad0

Bye,
Nejc



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: mounting ext2fs partitions on FBSD7 ( third time a charm?)

2008-07-04 Thread Ryan Coleman

Gonzalo Nemmi wrote:

On Friday 04 July 2008 22:58:18 you wrote:
  

Gonzalo Nemmi wrote:


Could somebody please throw me a pointer ...
i have followed every instruction on every book and/or how-to ... yet ...

What am I doing wrong??

[EMAIL PROTECTED]:~ # uname -sr
FreeBSD 7.0-RELEASE
[EMAIL PROTECTED]:~ # kldstat
Id Refs AddressSize Name
 1   10 0xc040 4dd878   kernel
 21 0xc08de000 7559b0   nvidia.ko
 31 0xc1034000 6721cacpi.ko
 41 0xc4a2e000 4000 logo_saver.ko
 51 0xc5884000 1ext2fs.ko
[EMAIL PROTECTED]:~ # mount -t ext2fs /dev/ad0s8 /mnt/
[EMAIL PROTECTED]:~ # ls /mnt
ls: /mnt: Bad file descriptor
[EMAIL PROTECTED]:~ # cd /mnt
/mnt: Not a directory.
[EMAIL PROTECTED]:~ # umount /mnt
[EMAIL PROTECTED]:~ # cd /mnt
[EMAIL PROTECTED]:/mnt # mount -t ext2fs /dev/ad0s8 .
[EMAIL PROTECTED]:/mnt # ls
ls: .: Not a directory
[EMAIL PROTECTED]:/mnt # cd ~
[EMAIL PROTECTED]:~ # umount /mnt
[EMAIL PROTECTED]:~ # file /mnt/
/mnt/: directory
[EMAIL PROTECTED]:~ # cd /mnt
[EMAIL PROTECTED]:/mnt # ls
[EMAIL PROTECTED]:/mnt #

dmesg says _nothing_
_Any_ hint will be more than welcome :)
  

What does /var/log/messages say when you run mount -t ext2fs?



Hi Ryan!
And thanks for your help :)

Unfortunately, just as much as dmesg, /var/log/messages says nothing :s
Look:

[EMAIL PROTECTED]:~ # date
Sat Jul  5 00:39:39 ART 2008
[EMAIL PROTECTED]:~ # mount -t ext2fs /dev/ad0s8 /mnt/
[EMAIL PROTECTED]:~ # ls /mnt
ls: /mnt: Bad file descriptor
[EMAIL PROTECTED]:~ # cd /mnt
/mnt: Not a directory.
[EMAIL PROTECTED]:~ # cat /var/log/messages | tail -5
Jul  4 20:21:13 inferna su: gonzalo to root on /dev/ttyp2
Jul  4 20:38:34 inferna kernel: linux: pid 8503 (doom.x86): ioctl fd=17, 
cmd=0x5801 ('X',1) is not implemented
Jul  4 20:47:28 inferna kernel: pid 8511 (doom.x86), uid 1001: exited on 
signal 11

Jul  4 23:54:48 inferna su: gonzalo to root on /dev/ttyp3
Jul  5 00:38:24 inferna su: gonzalo to root on /dev/ttyp2
[EMAIL PROTECTED]:~ # umount /mnt
[EMAIL PROTECTED]:~ # cat /var/log/messages | tail -5
Jul  4 20:21:13 inferna su: gonzalo to root on /dev/ttyp2
Jul  4 20:38:34 inferna kernel: linux: pid 8503 (doom.x86): ioctl fd=17, 
cmd=0x5801 ('X',1) is not implemented
Jul  4 20:47:28 inferna kernel: pid 8511 (doom.x86), uid 1001: exited on 
signal 11

Jul  4 23:54:48 inferna su: gonzalo to root on /dev/ttyp3
Jul  5 00:38:24 inferna su: gonzalo to root on /dev/ttyp2
[EMAIL PROTECTED]:~ #   


Have you, by any chance, tried and suceded at mounting ext2fs on FBSD7?
If you did, at least I'd know that it _is_ possible :s

Thanks  :)
  


No, I thought maybe there was something there I could help with I 
haven't used ext/ext2/ext3 since I dumped RHL in 2003.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: mounting ext2fs partitions on FBSD7 ( third time a charm?)

2008-07-04 Thread Gonzalo Nemmi
On Friday 04 July 2008 22:58:18 you wrote:
> Gonzalo Nemmi wrote:
> > Could somebody please throw me a pointer ...
> > i have followed every instruction on every book and/or how-to ... yet ...
> >
> > What am I doing wrong??
> >
> > [EMAIL PROTECTED]:~ # uname -sr
> > FreeBSD 7.0-RELEASE
> > [EMAIL PROTECTED]:~ # kldstat
> > Id Refs AddressSize Name
> >  1   10 0xc040 4dd878   kernel
> >  21 0xc08de000 7559b0   nvidia.ko
> >  31 0xc1034000 6721cacpi.ko
> >  41 0xc4a2e000 4000 logo_saver.ko
> >  51 0xc5884000 1ext2fs.ko
> > [EMAIL PROTECTED]:~ # mount -t ext2fs /dev/ad0s8 /mnt/
> > [EMAIL PROTECTED]:~ # ls /mnt
> > ls: /mnt: Bad file descriptor
> > [EMAIL PROTECTED]:~ # cd /mnt
> > /mnt: Not a directory.
> > [EMAIL PROTECTED]:~ # umount /mnt
> > [EMAIL PROTECTED]:~ # cd /mnt
> > [EMAIL PROTECTED]:/mnt # mount -t ext2fs /dev/ad0s8 .
> > [EMAIL PROTECTED]:/mnt # ls
> > ls: .: Not a directory
> > [EMAIL PROTECTED]:/mnt # cd ~
> > [EMAIL PROTECTED]:~ # umount /mnt
> > [EMAIL PROTECTED]:~ # file /mnt/
> > /mnt/: directory
> > [EMAIL PROTECTED]:~ # cd /mnt
> > [EMAIL PROTECTED]:/mnt # ls
> > [EMAIL PROTECTED]:/mnt #
> >
> > dmesg says _nothing_
> > _Any_ hint will be more than welcome :)
>
> What does /var/log/messages say when you run mount -t ext2fs?

Hi Ryan!
And thanks for your help :)

Unfortunately, just as much as dmesg, /var/log/messages says nothing :s
Look:

[EMAIL PROTECTED]:~ # date
Sat Jul  5 00:39:39 ART 2008
[EMAIL PROTECTED]:~ # mount -t ext2fs /dev/ad0s8 /mnt/
[EMAIL PROTECTED]:~ # ls /mnt
ls: /mnt: Bad file descriptor
[EMAIL PROTECTED]:~ # cd /mnt
/mnt: Not a directory.
[EMAIL PROTECTED]:~ # cat /var/log/messages | tail -5
Jul  4 20:21:13 inferna su: gonzalo to root on /dev/ttyp2
Jul  4 20:38:34 inferna kernel: linux: pid 8503 (doom.x86): ioctl fd=17, 
cmd=0x5801 ('X',1) is not implemented
Jul  4 20:47:28 inferna kernel: pid 8511 (doom.x86), uid 1001: exited on 
signal 11
Jul  4 23:54:48 inferna su: gonzalo to root on /dev/ttyp3
Jul  5 00:38:24 inferna su: gonzalo to root on /dev/ttyp2
[EMAIL PROTECTED]:~ # umount /mnt
[EMAIL PROTECTED]:~ # cat /var/log/messages | tail -5
Jul  4 20:21:13 inferna su: gonzalo to root on /dev/ttyp2
Jul  4 20:38:34 inferna kernel: linux: pid 8503 (doom.x86): ioctl fd=17, 
cmd=0x5801 ('X',1) is not implemented
Jul  4 20:47:28 inferna kernel: pid 8511 (doom.x86), uid 1001: exited on 
signal 11
Jul  4 23:54:48 inferna su: gonzalo to root on /dev/ttyp3
Jul  5 00:38:24 inferna su: gonzalo to root on /dev/ttyp2
[EMAIL PROTECTED]:~ #   

Have you, by any chance, tried and suceded at mounting ext2fs on FBSD7?
If you did, at least I'd know that it _is_ possible :s

Thanks  :)
-- 
Blessings
Gonzalo Nemmi
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: mounting ext2fs partitions on FBSD7 ( third time a charm?)

2008-07-04 Thread Ryan Coleman


Gonzalo Nemmi wrote:

Could somebody please throw me a pointer ...
i have followed every instruction on every book and/or how-to ... yet ...

What am I doing wrong??

[EMAIL PROTECTED]:~ # uname -sr
FreeBSD 7.0-RELEASE
[EMAIL PROTECTED]:~ # kldstat
Id Refs AddressSize Name
 1   10 0xc040 4dd878   kernel
 21 0xc08de000 7559b0   nvidia.ko
 31 0xc1034000 6721cacpi.ko
 41 0xc4a2e000 4000 logo_saver.ko
 51 0xc5884000 1ext2fs.ko
[EMAIL PROTECTED]:~ # mount -t ext2fs /dev/ad0s8 /mnt/
[EMAIL PROTECTED]:~ # ls /mnt
ls: /mnt: Bad file descriptor
[EMAIL PROTECTED]:~ # cd /mnt
/mnt: Not a directory.
[EMAIL PROTECTED]:~ # umount /mnt
[EMAIL PROTECTED]:~ # cd /mnt
[EMAIL PROTECTED]:/mnt # mount -t ext2fs /dev/ad0s8 .
[EMAIL PROTECTED]:/mnt # ls
ls: .: Not a directory
[EMAIL PROTECTED]:/mnt # cd ~
[EMAIL PROTECTED]:~ # umount /mnt
[EMAIL PROTECTED]:~ # file /mnt/
/mnt/: directory
[EMAIL PROTECTED]:~ # cd /mnt
[EMAIL PROTECTED]:/mnt # ls
[EMAIL PROTECTED]:/mnt #

dmesg says _nothing_
_Any_ hint will be more than welcome :)

  



What does /var/log/messages say when you run mount -t ext2fs?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"