Re: MPSAFE VFS -- List of upcoming actions

2012-07-20 Thread Antony Mawer
On Wed, Jul 18, 2012 at 6:45 PM, Attilio Rao atti...@freebsd.org wrote:
 2012/7/18, Gustau Pérez i Querol gpe...@entel.upc.edu:

 Sorry fo the delay.

 About the ntfs support, I'd go with fuse and leave the most relevant
 filesystems in kernel space. In fact filesystems not particulary
 specific and not tied our kernel would go to userspace; thinks like
 smbfs, nwfs, ntfs, ext2 o ext4 for example should be in userspace (the
 list is incomplete and I don't really know if all of them are yet
 implemenent in userspace) in my opinion. That would make them easier to
 maintain (changes in the kernel would only affect fuse, once fixed all
 the userspace filesystem would work again).

 As a bonus, we would get many working fs based on fuse. In the
 server side gluster is a desirable thing; in the desktop things like
 gvfs (in the linux world gvfs is used not only by gnome but also by kde
 or xfce) or truecrypt

 I'm really concerned also about ntfs and smbfs at the moment. It seems
 that there is also a FUSE smbfs port, but I never used it and I'm not
 sure about its state at all.

From what I understand, Apple have done a considerable amount of work
on the FreeBSD-drived smbfs in the latest versions of OS X, based on
the existing smbfs in tree:

http://www.opensource.apple.com/source/smb/smb-552.5/

I imagine things like the filesystem locking are probably somewhat
different, but in terms of updating smbfs itself to support newer
features it may be a good base (licensing permitting). smbfs at the
moment lacks in some areas such as DFS support, although I do not know
if the OS X version is any different there (given the consumer focus
of their OS, probably not). There was also a version spun off by
OpenSolaris:

http://hub.opensolaris.org/bin/view/Project+smbfs/

which again was based on the FreeBSD + Apple versions.

I also have a vested interest in NWFS continuing to work - only from a
legacy point of view where we still interoperate with a number of
Netware 6 servers through this. While those will likely eventually go
away, more than likely before we move to 10.x, if there is anyone
capable of working on it we could supply a test environment.
Unfortunately the actual locking of the NWFS and NCP modules is
outside my sphere of knowledge...

-- Antony
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


kern/143370: splash_txt ASCII splash screen module

2011-06-29 Thread Antony Mawer
Hi all,

Not sure if this is the right place to post it -- about 6 years ago I
put together a module which displays an ASCII splash screen on boot
(rather than the graphical splash_pcx and splash_bmp modules). We have
been running it in production since that time without issue.

With the the code slush for 9.0 on the horizon, I thought it might
again be worth trying to see if someone is prepared to get this into
the tree so others can benefit from it. I have a PR open, kern/143370,
which includes the patch for the module; it is against 7.0 but has
been used largely unmodified since 4.x days. It currently builds on
8.x still fine as we are running it in production on 8.x for $WORK.

Summary of instructions from my previous post about this from ~18mths ago:

In case the list eats the patch, you can grab a copy of it here:

http://www.mawer.org/freebsd/splash_txt.patch

To give you an idea of what it looks like, here is a screenshot of a
quick generic FreeBSD splash screen I put together:

http://www.mawer.org/freebsd/splash_txt_1.png
http://www.mawer.org/freebsd/splash_txt_2.png

If you'd like to try it for yourself then the process to build it
should be something like this:

1. Download the attached patch
2. Create the required folders before applying the patch -- cd
/usr/src  mkdir sys/modules/splash/txt
3. Apply the patch -- patch  splash_txt.patch
4. Build the module -- cd sys/modules/splash/txt  make  make install

Once that's completed, you can configure it by adding the following to
loader.conf:

splash_txt_load=YES
bitmap_load=YES
bitmap_name=/boot/freebsd.bin

I have uploaded two sample boot splash screens at
http://www.mawer.org/freebsd/freebsd1.bin and
http://www.mawer.org/freebsd/freebsd2.bin . The files can be produced
using TheDraw and saving in its Binary file format, which consists of
a sequence of 2 byte pairs. The first byte in a pair is the character
to draw on the screen, and the second is the colour/display attributes
to draw the character with.

If anyone else would like to try this out and has any feedback, or if
someone thinks it may be of interest to integrate into the tree please
let me know ...

Otherwise if anyone would like to help push this into the tree in time
for 9.0 would be great. It should be safe to MFC to 8.x as well -- as
I said we've been running it ever since 4.x days. I am sure others out
there would gain at least some (cosmetic) benefits from this!

-- Antony
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: A big-ish machine, cannot boot

2010-11-19 Thread Antony Mawer
On Sat, Nov 20, 2010 at 2:51 AM, Andriy Gapon a...@freebsd.org wrote:
 on 19/11/2010 17:41 Ivan Voras said the following:
 Fujitsu TX300

 [Thunderbird 3 sometimes fails quoting while replying - blame it]

If you select any text in the message then click reply, it only quotes
the selected text (not entirely intuitive, but that's the way they
decided to make it work).

--Antony
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: Dell Perc 5/i Performance issues

2010-06-20 Thread Antony Mawer
On Mon, Jun 21, 2010 at 4:50 AM, Scott Long sco...@samsco.org wrote:
 I just set up a machine with the following GPT scheme:

 =        34  5853511613  mfid0  GPT  (2.7T)
          34         128      1  freebsd-boot  (64K)
         162         862         - free -  (431K)
        1024     2097152      2  freebsd-ufs  (1.0G)
     2098176     4194304      3  freebsd-swap  (2.0G)
     6292480     2097152      4  freebsd-ufs  (1.0G)
     8389632   104857600      5  freebsd-ufs  (50G)
   113247232  5740264414      6  freebsd-ufs  (2.7T)
  5853511646           1         - free -  (512B)

 After the first partition, I created a deliberate gap for alignment, 
 reflected in the second line.  The third line shows a starting offset of 
 sector 1024, which is 512KB.  This should be a good generic start point for 
 most RAID geometries with a stripe size = 512KB.  The rest are normal /, 
 swap, /var, /usr and /opt partitions.  The single free sector on the final 
 line is probably a calculation error on my part, there's no particular reason 
 for it.

 The gpart man page has good descriptions on how to create partitions and make 
 the GPT scheme bootable.  It's not very automated, you'll need to have a 
 calculator handy, but it works.

I scripted this as part of our custom installer - it uses the  same
1MB offset that Vista/Win7 do which should align for anything with a
= 1MB stripe size:


# Device to partition
diskdev=/dev/da0

# First partition offset in 512-byte sectors. This should be aligned with
# any RAID stripe size for maximum performance. 2048 aligns the partition
# start boundary at the 1MiB, consistent with Vista/Windows 7. This should
# match all common stripe sizes such as 64kb, 128kb and 256kb.
root_offset=2048

# Boot partition offset. This sits just before our first root partition and
# stores the boot loader which is used to load the OS.
boot_offset=2032

# Initialise the disk with a GPT partition table
gpart create -s gpt $diskdev

#
# System disk partitioning layout
#
gpart add -l boot -t freebsd-boot -s 16 -b $boot_offset $diskdev   # boot p1
gpart add -l root -t freebsd-ufs  -s 2G -b $root_offset $diskdev   # /p2
gpart add -l swap -t freebsd-swap -s 4G $diskdev   # swap p3
gpart add -l var  -t freebsd-ufs  -s 4G $diskdev   # /var p4
gpart add -l usr  -t freebsd-ufs$diskdev   # /usr p5

# Install the gpt boot code (pmbr into the PMBR, gptboot into our
boot partition p1)
gpart bootcode -b /boot/pmbr -p /boot/gptboot -i 1 $diskdev

# Make the first partition active
# (required for older BIOSes to boot from the GPT PMBR)
echo 'a 1' | fdisk -f - $diskdev

gpart is smart enough to figure out most of the math for you these days...

-- Antony
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


No Subject

2001-04-04 Thread Antony Mawer

subscribe freebsd-current



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message