LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices

Reply
 
LinkBack Search this Thread
Old 07-05-2010, 06:35 PM   #1
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,417
Blog Entries: 1

Rep: Reputation: 951Reputation: 951Reputation: 951Reputation: 951Reputation: 951Reputation: 951Reputation: 951Reputation: 951
freebsd8.0-STABLE + ext4


I've installed FreeBSD8.0-STABLE amd64 and must say: wow!
So far I've been only surprised by it. It took me half a day to configure it, but I enjoyed it. I remember when I tried it 3-4 years ago I couldn't get through the basic configuration but it was before I used slackware

I haven't researched it, but a few things still need to be solved:

1. Only OSS seems to be available on the system.
2. Need to get flash working
3. Need to find out which sound module needs to be loaded. At the moment I load a meta one.

These are things I'm going to do tomorrow. The only worrying thing for me is that it seems that ext4 is not yet supported. I've come across some posts from 2009 which stated that one couldn't mount ext4 on freebsd (not yet). That would probably be the biggest show-stopper for me as all my data is on ext4 filesystems.

Could anyone give me an update on the state of ext4 in FreeBSD8.0-STABLE?

Thank you

Last edited by sycamorex; 07-05-2010 at 06:36 PM.
 
Old 07-05-2010, 06:46 PM   #2
Mr-Bisquit
Member
 
Registered: Feb 2009
Distribution: FreeBSD, OpenBSD, NetBSD, Debian, Fedora
Posts: 770
Blog Entries: 52

Rep: Reputation: 68
Quote:
Ext2fs Status report (Summer of Code 2009)

URL: http://wiki.freebsd.org/SOC2009AdityaSarawgi

Contact: Aditya Sarawgi <sarawgi.aditya@gmail.com>

FreeBSD's ext2fs had some parts under GPL. The aim of my project was to rewrite those parts and free ext2fs from GPL. I have been successful in rewriting the parts and NetBSD's ext2fs was a great help in this. Certain critical parts under GPL were also removed due to which the write performance suffered. I also implemented Orlov Block Allocator for ext2fs. Currently I am planning to make ext2fs Multiprocessor Safe (MPSAFE). My work resides in truncs_ext2fs branch of Perforce.
Open tasks:

1. Ext4 support for FreeBSD
2. Directory indexing for ext2fs
3. Journaling in ext2fs using gjournal
[mod_edit]potty mouth be gone[/mod_edit]

Last edited by Tinkster; 07-08-2010 at 01:09 AM.
 
Old 07-05-2010, 07:40 PM   #3
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,417
Blog Entries: 1

Original Poster
Rep: Reputation: 951Reputation: 951Reputation: 951Reputation: 951Reputation: 951Reputation: 951Reputation: 951Reputation: 951
Come on, it's not that bad.
 
Old 07-06-2010, 04:59 AM   #4
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,417
Blog Entries: 1

Original Poster
Rep: Reputation: 951Reputation: 951Reputation: 951Reputation: 951Reputation: 951Reputation: 951Reputation: 951Reputation: 951
Ok, perhaps, another way: what's the best fs for a shared partition between linux and freebsd (rw on both sides)?

Thank you
 
Old 07-06-2010, 10:25 AM   #5
anomie
Senior Member
 
Registered: Nov 2004
Location: Texas
Distribution: RHEL, Scientific Linux, Debian, Fedora, FreeBSD
Posts: 3,925
Blog Entries: 5

Rep: Reputation: Disabled
Quote:
Originally Posted by sycamorex
Ok, perhaps, another way: what's the best fs for a shared partition between linux and freebsd (rw on both sides)?
Unless some exciting breakthrough that I'm not aware of has occurred, the best natively supported format is going to be: (drum roll) - FAT32.
 
Old 07-06-2010, 12:28 PM   #6
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,417
Blog Entries: 1

Original Poster
Rep: Reputation: 951Reputation: 951Reputation: 951Reputation: 951Reputation: 951Reputation: 951Reputation: 951Reputation: 951
Quote:
Originally Posted by anomie View Post
Unless some exciting breakthrough that I'm not aware of has occurred, the best natively supported format is going to be: (drum roll) - FAT32.

Can anyone pinch me? I think I'm still sleeping. I want to wake up.
 
0 members found this post helpful.
Old 07-12-2010, 08:14 PM   #7
Alphalutra1
LQ Newbie
 
Registered: Aug 2006
Distribution: FreeBSD 8-Stable
Posts: 9

Rep: Reputation: 2
Quote:
Originally Posted by sycamorex View Post
Can anyone pinch me? I think I'm still sleeping. I want to wake up.
Well you could use UDF too
 
Old 07-13-2010, 12:04 PM   #8
jay73
Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 129Reputation: 129
Linux can mount UFS but I'm not sure whether it's RW. I would agree about FAT as the best filesystem for universal sharing (regardless of its many shortcomings).
 
Old 07-13-2010, 12:50 PM   #9
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,417
Blog Entries: 1

Original Poster
Rep: Reputation: 951Reputation: 951Reputation: 951Reputation: 951Reputation: 951Reputation: 951Reputation: 951Reputation: 951
I still can't believe it. Isn't it at least slightly ironic that Unix and Linux have to share data via a window's file system? I mean they don't have to, but according to what you guys say, it's the optimal method for rw. Why don't linux and BSD developers work closer to come up with some better solution? Is it something to do with licences?
 
0 members found this post helpful.
Old 07-13-2010, 02:13 PM   #10
jay73
Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 129Reputation: 129
Possibly. GPL means you HAVE to contribute back, BSD license means you can if you feel like it. No doubt there is a good measure of pragmatism involved, too. Whether you like it or not, FAT is the most widely supported filesystem: Windows, Linux, DOS, Solaris, ... Not to mention all the many devices that use FAT by default.
 
Old 07-14-2010, 03:36 PM   #11
vermaden
Member
 
Registered: Jan 2006
Location: pl_PL.lodz
Distribution: FreeBSD
Posts: 391

Rep: Reputation: 76
Quote:
Originally Posted by sycamorex View Post
1. Only OSS seems to be available on the system.
... and let it stay this way, ALSA/PulseAudio is useless in FreeBSD, its pointless to install it here, everything works flawlessly with OSS.

Quote:
2. Need to get flash working
Here You go (this works for i386/amd64):

Code:
/etc/rc.conf
  linux_enable="YES"

/etc/fstab
  linproc  /usr/compat/linux/proc  linprocfs  rw  0  0

# kldload linux
# pkg_add -r linux_base-f10
# pkg_add -r nspluginwrapper
# pkg_add -r firefox35
# pkg_add -r linux-f10-nspr
# pkg_add -r linux-f10-sqlite3
# pkg_add -r linux-f10-curl
# pkg_add -r linux-f10-libssh2
# pkg_add -r linux-f10-nss
# mount linproc
# /etc/rc.d/abi restart
# /etc/rc.d/sysctl restart
# cd /usr/ports/www/linux-f10-flashplugin10 && make install clean

% find / -name libflashplayer.so
    /usr/local/lib/npapi/linux-f10-flashplugin/libflashplayer.so

% nspluginwrapper -v -i /usr/local/lib/npapi/linux-f10-flashplugin/libflashplayer.so

(sometimes also needed)

% mkdir -p ~/.mozilla/plugins

% cp /usr/local/lib/npapi/linux-f10-flashplugin/libflashplayer.so ~/.mozilla/plugins
Quote:
3. Need to find out which sound module needs to be loaded. At the moment I load a meta one.
You can figure it like that, for me its snd_hda:
Code:
% cat /dev/sndstat 
FreeBSD Audio Driver (newpcm: 64bit 2009061500/amd64)
Installed devices:
pcm0: <HDA Realtek ALC888 PCM #0 Analog> at cad 0 nid 1 on hdac0 kld snd_hda [MPSAFE] (1p:1v/1r:1v channels duplex default)
pcm1: <HDA Realtek ALC888 PCM #1 Analog> at cad 0 nid 1 on hdac0 kld snd_hda [MPSAFE] (1p:1v/1r:1v channels duplex)
pcm2: <HDA Realtek ALC888 PCM #2 Digital> at cad 0 nid 1 on hdac0 kld snd_hda [MPSAFE] (1p:1v/0r:0v channels simplex)
Quote:
These are things I'm going to do tomorrow. The only worrying thing for me is that it seems that ext4 is not yet supported.
There is only R/W support for ext2 and ext3 (mounted as ext2 = without journal).

Does Linux support R/W on FreeBSD's UFS? (I know its not, so do not expect FreeBSD to support every Linux centric filesystem out there)
 
1 members found this post helpful.
Old 07-14-2010, 04:48 PM   #12
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,417
Blog Entries: 1

Original Poster
Rep: Reputation: 951Reputation: 951Reputation: 951Reputation: 951Reputation: 951Reputation: 951Reputation: 951Reputation: 951
Thanks for a useful reply, however, I've already configured most of the things I wanted.

The only problem is that it crashes quite often. Everything freezes and that's it. I don't spend much time on FreeBSD, but I'll look at the logs in the near future
to sort it out - it's probably the video driver.
I doubt I'll become my 'main' desktop but I got to like FreeBSD a lot.

Quote:
Does Linux support R/W on FreeBSD's UFS? (I know its not, so do not expect FreeBSD to support every Linux centric filesystem out there)
You make it sound as if there was some great animosity between the two systems. I don't know much about *BSD history but I assume that there isn't any.
I'm not saying that it's down to BSD devs to develop a better support for linux file systems. It can be the other way round. I'd expect a higher degree of
cooperation between the two systems from both sides.
 
Old 07-14-2010, 04:55 PM   #13
vermaden
Member
 
Registered: Jan 2006
Location: pl_PL.lodz
Distribution: FreeBSD
Posts: 391

Rep: Reputation: 76
Quote:
Originally Posted by sycamorex View Post
Thanks for a useful reply, however, I've already configured most of the things I wanted.
Welcome mate.

Quote:
The only problem is that it crashes quite often. Everything freezes and that's it. I don't spend much time on FreeBSD, but I'll look at the logs in the near future
to sort it out - it's probably the video driver.
I doubt I'll become my 'main' desktop but I got to like FreeBSD a lot.
Strange, it does not crash for me, I have 60+ days of uptime on workstation/server ...

What hardware You have (motherboard + graphics most important info).

Also what is your output of vmstat -i

Quote:
Originally Posted by sycamorex View Post
You make it sound as if there was some great animosity between the two systems. I don't know much about *BSD history but I assume that there isn't any.
I'm not saying that it's down to BSD devs to develop a better support for linux file systems. It can be the other way round. I'd expect a higher degree of
cooperation between the two systems from both sides.
I just saw too many people yelling about that FreeBSD SHOULD support it because Linux supports it, I see that You are more knowledgeable person and know how things are.

Also, FreeBSD supports fuse so all filesystems that use fuse will work under FreeBSD.
 
Old 07-19-2010, 10:02 PM   #14
j1alu
Member
 
Registered: Apr 2009
Distribution: debian gnu/linux
Posts: 798

Rep: Reputation: Disabled
Quote:
vermaden wrote: Does Linux support R/W on FreeBSD's UFS? (I know its not, so do not expect FreeBSD to support every Linux centric filesystem out there)
So that does not work:?
http://ghantoos.org/2009/04/04/mount...e-under-linux/
I guess i have to try.
 
Old 07-19-2010, 11:18 PM   #15
ocicat
Member
 
Registered: May 2007
Posts: 207

Rep: Reputation: 46
Quote:
Originally Posted by sycamorex View Post
Is it something to do with licences?
It has everything to do with licenses.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Will Debian 6 stable have ext4 filesystem? Mr. Alex Debian 10 12-14-2010 07:42 PM
tar.gz of a gnome-panel more stable for debian stable :lol frenchn00b Debian 4 05-07-2008 10:32 AM
LXer: For me, Debian Testing is more stable than Stable LXer Syndicated Linux News 0 04-22-2008 05:20 AM
Need a downgrade from etch/stable to sarge/stable raven Debian 2 06-08-2007 09:43 PM
how can i upgrade my squid 2.5 stable 1 to stable 3 in RH9? debloxie Linux - Networking 0 05-12-2004 08:49 PM


All times are GMT -5. The time now is 07:47 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration