Re: booting a CD-ROM

2012-04-03 Thread Thomas Mueller
>   I have an old  FreeBSD  system that I haven't used for a long time and 
> I have forgotten the passwords.  This machine has  FreeBSD-4.3  and  
> FreeBSD-4.7
> on it, and also  MS'  Windows98 .  I tried getting onto that system by 
> booting with a  CD-ROM  which started going and gave me the following 
> messages:
> boot from  ATAPI  CD-ROM
> CD Loader 1.2
> Building the boot loader arguments
> Relocating the loader and the BTX
>   The system then did not output for a liitle over 5 minutes and then 
> typed:
> Starting the
> and after this I waited for over 5 minutes but the system did not type 
> anything else.  Then I tried  booting that  CD-ROM  on another system where 
> it booted
> successfully and the program on it ( FreesBIE version 2) ran and I could 
> communicate with it.  I suspect a problem with the  boot loader on the first 
> system.
>  Where can I get a new boot loader for that system?Since I want to 
> get a modern  FreeBSD  (version 9.1 or higher), I expect that will include a 
> new
> multi-system loader on it that I can use on the old system if I can load just 
> that.  How can I load just the boot loader?  Also, what is the structure of 
> the
> password  files (is this on the  web  with a per system-version note so if it 
> has been changed over time, I can find those I need) on those systems, and how
> can I find and clear out the password for  root  so I can get in and set its 
> password and then the other passwords?
> Thanks in advance for your help.

You'll have to wait some months for FreeBSD >= 9.1.  Current release is 9.0.

I believe FreeBSD has a multisystem boot loader, BootEasy/boot0.  You can also 
look to GRUB:

http://www.gnu.org/software/grub 

I believe this is also included in FreeBSD ports collection.

If you run Linux, you can install LILO, which is capable of booting FreeBSD.

I believe the password files, /etc/master.passwd, are encrypted, so you can't 
get the password directly from that.

You would run the command passwd as root.

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


Re: Can FreeBSD 9.0-RELEASE mount Ext3 file system ?

2012-04-08 Thread Thomas Mueller
from Xavier :

> I have:

> casa# disktype /dev/da1

> --- /dev/da1
> Character device, size 3.771 GiB (4048551936 bytes)
> FreeBSD boot loader (i386 boot2/BTX 1.02 at sector 2)
> BSD disklabel (at sector 1), 8 partitions
> Partition c: 2.145 GiB (2302711808 bytes, 4497484 sectors from 0)
>   Type 0 (Unused)
> DOS/MBR partition map
> Partition 1: 3.547 GiB (3808272384 bytes, 7438032 sectors from 63)
>   Type 0x83 (Linux)
>   Ext3 file system
> UUID D1A7E6D6-3A34-4864-B6E8-C4DAA34AD776 (DCE, v4)
> Last mounted at "/"
> Volume size 3.547 GiB (3808272384 bytes, 929754 blocks of 4 KiB)
> Partition 2: 227.5 MiB (238533120 bytes, 465885 sectors from 7438095)
>   Type 0x05 (Extended)
>   Partition 5: 227.5 MiB (238500864 bytes, 465822 sectors from 7438095+63)
> Type 0x82 (Linux swap / Solaris)
> Linux swap, version 2, subversion 1, 4 KiB pages, little-endian
>   Swap size 227.4 MiB (238489600 bytes, 58225 pages of 4 KiB)

> I'm running from FreeBSD 9.0-RELEASE

> I try:

> casa# mount -t ext2fs /dev/da1a /mnt/JetFlash\ Transcend\ 4GB\ 1100/
> mount: /dev/da1a : Invalid argument

> How can I mount it ?

I'm confused between the BSD disklabel and DOS/MBR partition map.

What does (running from Linux)

fdisk -lu /dev/sdb (or whatever the Linux name for that disk is) show?

How do you mount that Linux ext3fs partition in Linux?  That knowledge might 
help me figure how to mount that partition from FreeBSD.

I'm still not sure how or if FreeBSD supports ext3fs as opposed to ext2fs.

I don't see the rationale for setting up an extended partition when you only 
use two partitions.  The second (Linux swap) partition could be primary, and 
you would be well under the quota of four primary partitions.

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


Re: help me please

2012-05-11 Thread Thomas Mueller
from Vinicio Santiago Altamirano Mendez :

> please can u tell me how to remapping tftp with a remapping file or exist
> another form?.
> i see that in tftp manual no exist the -m option
> how to do remapping on tftp on mac os x 10.6 pleas
> thanks.

Is this question for FreeBSD or Mac OS X?  

This emailing list is for FreeBSD, as the email address suggests.

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


Building FreeBSD to install or update in two DESTDIRs

2012-05-13 Thread Thomas Mueller
I would like to build FreeBSD to install in two places: regular hard drive and 
also on a USB stick, probably 8 GB.

USB stick install would be for backup, in case something goes awry with a later 
update, then I have something to fall back on; could also install tools such as 
gdisk to use on hard drive.

I tried make installkernel and make installworld, but those didn't fully work 
right the second time, with DESTDIR=/mnt (USB stick main partition).

/usr/src/UPDATING doesn't say how to update for two DESTDIRs on the same build.

Update (from 9.0_RELEASE amd64 to STABLE) was successful on main, hard-drive 
installation.  I had spontaneous reboots at times of inactivity, without 
cleanly umounting file systems, under the release, but upgrading to STABLE 
fixed that.

I also want to build the same 9.0_STABLE to install on a 16 GB USB stick, which 
could be used on my older computer, but this would be i386 version; I could 
also use it on new computer for 32-bit compatibility needed for emulators/wine 
(but not doscmd, I tried that and didn't like it.). I can't do this on old 
computer from FreeBSD 8.2 because of shortage of disk space and only 256 MB RAM.

I could do that either concurrently (how?) or after the amd64 update.

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


Re: Building FreeBSD to install or update in two DESTDIRs

2012-05-14 Thread Thomas Mueller
> What exactly went wrong?  Setting DESTDIR is the correct way to do this
> sort of thing.  You only need to set it when running the installworld or
> installkernel steps though -- there's nothing that gets compiled into
> /usr/obj which prevents you from installing into a different than normal
> tree.

> I use this sort of construct frequently for updating jails, or when
> managing boot environments.

> > /usr/src/UPDATING doesn't say how to update for two DESTDIRs on the
> > same build.

> For each different DESTDIR, just repeat the installworld, installkernel,
> check-old, delete-old* steps setting DESTDIR=/some/where
> on the make command line.

> The equivalent for mergemaster is to add '-D /some/where' to the
> commandline.

> Cheers,

> Matthew

> --
> Dr Matthew J Seaman MA, D.Phil.

I guess after the first installkernel, to default location, I should 
immediately make installkernel again, this time with DESTDIR=/mnt?

Better to "make buildkernel" and "make installkernel" as two separate steps, 
rather than "make kernel"?

After rebooting single-user, do "mergemaster -p", then "mergemaster -p -D 
/mnt", and then "make installworld" and immediately following that, "make 
installworld DESTDIR=/mnt" ?

After that, I would do "mergemaster -i" followed by "mergemaster -i -D /mnt"?  
And then make delete-old followed by "DESTDIR=/mnt make delete-old"? 

Would I need to do "make distribution"?

First time, "make installkernel DESTDIR=/mnt" only installed part.  I installed 
to USB stick only after fully upgrading on main installation, finally copied 
/boot/kernel directory, and that USB stick is now bootable.  So now I know how 
to make a USB stick bootable with GPT.

Maybe some of the files were cleaned out?

It is surely useful to have a rescue backup, considering the possibility of an 
update going awry on the main installation.

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


Re: This does look strange

2012-05-15 Thread Thomas Mueller
>From Bernt Hansson :

> After a reinstall of winxp, yes I know but the games.

> I have a fat32 slice/partition/postcard whatever it's called.

> Mocking me with:

> testbox# fsck -y -t msdosfs /dev/ad4
> ** /dev/ad4
> Invalid signature in fsinfo block
> Fix? yes
> fsck: /dev/ad4: Floating point exception: 8
> testbox#

> I've almost expected Haha

> Anyone know what to do, is there a msdosfs fsck?

Yes there is!  I missed this thread from webmail interface, but just found it.

It's in FreeDOS (http://www.freedos.org/) and is part of the new FreeDOS 1.1; 
was also in FreeDOS 1.0:

Files in C:\FDOS\BIN having names beginning with D are


/dosc/fdos/bin/debug.com
/dosc/fdos/bin/defrag.exe
/dosc/fdos/bin/defrag.hlp
/dosc/fdos/bin/deltree.com
/dosc/fdos/bin/devload.com
/dosc/fdos/bin/dhcp.exe
/dosc/fdos/bin/disk_sim.cfg
/dosc/fdos/bin/diskcomp.com
/dosc/fdos/bin/diskcopy.exe
/dosc/fdos/bin/display.exe
/dosc/fdos/bin/dnstest.exe
/dosc/fdos/bin/dosfsck.exe
/dosc/fdos/bin/doslfn.com
/dosc/fdos/bin/dosshell.exe
/dosc/fdos/bin/dosshell.ini
/dosc/fdos/bin/drvon.com
/dosc/fdos/bin/du.exe

I am not in FreeDOS as I put this message together!

Tom

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


Re: Building FreeBSD to install or update in two DESTDIRs

2012-05-16 Thread Thomas Mueller
> > Better to "make buildkernel" and "make installkernel" as two
> > separate steps, rather than "make kernel"?

> Yes. You only need to "make buildkernel" once, then "make installkernel"
> for both $DESTDIRs.

The idea was to "make buildkernel" once and "make buildworld" once and install 
to two different DESTDIRs.

> > After rebooting single-user, do "mergemaster -p",
> > then "mergemaster -p -D /mnt", and then "make installworld" and
> > immediately following that, "make installworld DESTDIR=/mnt" ?

> Refer to the commend header in /usr/src/Makefile for the
> correct procedure. Without having it tested, the following
> commands in SUM (after you have successfully installed the
> new kernels) should work as intended:

> # merpemaster -p
> # make installworld
> # make delete-old
> # mergemaster

> # merpemaster -p -D /mnt
> # make installworld DESTDIR=/mnt
> # make delete-old DESTDIR=/mnt
> # mergemaster -D /mnt

> # reboot

> Also see the comment regarding "make delete-old-libs" to be
> applied after reboot correspondingly.

I assume your "merpemaster" is a typo for "mergemaster"?

I would have done each step for main installation and then for USB stick 
(DESTDIR=/mnt) before going to the next step, or maybe that doesn't really 
matter?

I think the second "mergemaster" was supposed to be done before "make 
delete-old", or maybe that doesn't really matter either?

> > I installed to USB stick only after fully upgrading on main
> > installation, finally copied /boot/kernel directory, and that
> > USB stick is now bootable.  So now I know how to make a USB
> > stick bootable with GPT.

> Maybe kernel modules for GPT have been missing? Check /etc/src.conf
> for any strange settings, see "man 3 src.conf" for details. You
> can use this file to customize and "tweak" your builds.

I think I must have all GPT modules there; I have no trouble accessing 
hard-disk partitions, and USB stick when partitioned GPT.

I might want to prevent building ulpt module because of hplip and HP 1212nf MFP 
printer idiosyncrasies, though that may or may not make any difference.

I could also prevent building other modules that would not be used.

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


Re: Building FreeBSD to install or update in two DESTDIRs

2012-05-16 Thread Thomas Mueller
> > The idea was to "make buildkernel" once and "make buildworld" once
> > and install to two different DESTDIRs.

> I'm not sure I understand: The two install* targets ("make installkernel"
> and "make installworld") are only able to install to _one_ location,
> which is the _default_ location *or* the location pointed to by
> DESTDIR. It is not possible to perform _one_ install step which
> will cause results in _two_ locations (without any means of
> "hidden duplication", e. g. by using a mirroring technique).

The idea was to "make buildkernel" once and "make buildworld" once, but "make 
installkernel" and "make installworld" would each have to be done once for each 
DESTDIR, meaning twice each.  Building takes much more computer resources than 
installing, so I try to avoid building the same thing twice.

> I'm refering to the instructions presented in /usr/src/Makefile:

> # For individuals wanting to upgrade their sources (even if only a
> # delta of a few days):
> #
> #  1.  `cd /usr/src'   (or to the directory containing your source tree).
> #  2.  `make buildworld'
> #  3.  `make buildkernel KERNCONF=YOUR_KERNEL_HERE' (default is GENERIC).
> #  4.  `make installkernel KERNCONF=YOUR_KERNEL_HERE'   (default is GENERIC).
> #   [steps 3. & 4. can be combined by using the "kernel" target]
> #  5.  `reboot'(in single user mode: boot -s from the loader prompt).
> #  6.  `mergemaster -p'
> #  7.  `make installworld'
> #  8.  `make delete-old'
> #  9.  `mergemaster'(you may wish to use -i, along with -U or -F).
> # 10.  `reboot'
> # 11.  `make delete-old-libs' (in case no 3rd party program uses them anymore)

I checked /usr/src/UPDATING, and the sequence was

...

mergemaster -p 
make installworld
mergemaster -i  (one may wish also -U)
make delete-old


I checked /usr/src/Makefile , and found you quoted correctly, see 'make 
delete-old' and the second 'mergemaster' are transposed relative to what I saw 
in /usr/src/UPDATING 

Sort of confusing; make either way works?

Subsequently I would also want to build for i386, but this would be after the 
amd64 build and installation/update.

It would be nice if bsdinstall had an option for update as well as fresh 
install.

For i386, I would follow advice on http://wiki.freebsd.org/Wine but would want 
a full installation capable of running independently of amd64, would need the 
kernel, would install on 16 GB USB stick which could be mounted on 
/compat/i386.  I would want to use hard-drive PORTSDIR, would need to so adjust 
/etc/make.conf .  I don't really want to think of building big ports on a USB 
stick, especially on the older computer with 256 MB RAM and USB 1.1 on 
motherboard.

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


Re: Building FreeBSD to install or update in two DESTDIRs

2012-05-17 Thread Thomas Mueller
from Polytropon:

> In case you need to do more than one additional installation,
> you should consider creating a tar archive of the fully installed
> system and then use tar --unlink to the mounted target. If you
> need to create many bootable systems from scratch, a script
> performing the disklabel, newfs, mount and tar steps should
> be easy to write.

I don't want more than one additional installation, and might do that one only 
once.

But if I wanted to create many bootable systems from scratch, I could create an 
installation image, ISO or memstick.

> > Subsequently I would also want to build for i386, but this
> > would be after the amd64 build and installation/update.

> In case you're creating different TARGET= architectures,
> the fun doubles. :-)

I think only one build machine is used to create FreeBSD snapshots?  You can 
'make universe'?

I guess the fun more than doubles when I try to create a NetBSD installation 
cross-building from FreeBSD, or a Cross-Linux-from-Scratch.

Consider that NetBSD has been unstable on my new computer even with a binary 
installation.

> > It would be nice if bsdinstall had an option for update as
> > well as fresh install.

> This step can easily be performed manually using freebsd-update
> right after installation.

I think freebsd-update is for a binary upgrade from the freebsd.org servers?

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


Re: portsnap update won't update original /usr/ports

2012-05-22 Thread Thomas Mueller
- Original Message -
From: Gary Aitken 
To: freebsd-questions@freebsd.org
Sent: Tue, 22 May 2012 19:02:30 -0400 (EDT)
Subject: portsnap update won't update original /usr/ports

According to the handbook, one can do
   portsnap fetch
   portsnap update
and the update will work with a previously created ports tree;
I presume this includes one created during system install.

However, when I attempted this, portsnap complained:
   /usr/ports was not created by portsnap.
   You must run 'portsnap extract' before running 'portsnap update'.

Is there a way to use portsnap against this tree, or must I delete the 
existing /usr/ports and do an extract first?

Thanks,

Gary

 My response: 

I screwed up this way too, when I downloaded the USB memstick image for FreeBSD 
9.0_BETA1 and later, BETA2, I installed the ports from that, which worked to my 
disadvantage when I later ran "portsnap fetch update".

I wound up deleting /usr/ports/* and starting fresh, may not necessarily have 
had to delete the ports tree.  But now it works.

Now I wonder if it's feasible to switch between "portsnap fetch update" and 
csup , or if it's strictly one or the other.

I am at webmail interface, which strongly favors top-posting over 
bottom-posting; feel more comfortable with vi editor.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: ports tree

2012-05-26 Thread Thomas Mueller
from Henri Reinikainen :

> Would it be stupid idea to have publicly available, mountable (nfs)
> partition, with full port tree(s)? I think it would be good for
> systems with low storage space. I know hd space is cheap, but I run
> over and over to this problem.

> I don't know how easily it could be done, but some kind of session
> based temporary write permissions would be good too. To be able to
> make && make install directly from mounted partition.

> I don't think very many people would need to have local personal copy
> of ports tree then.

> So, is this just stupid?

What happens if the port a remote user is trying to build and install is 
updated in the middle of this remote activity?

Users of ports tree then must deal with a moving target.  Files from two 
different versions might get mixed together.

I think maybe this thread should go to po...@freebsd.org list?

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


How to indicate source directory in other than /usr/src?

2012-05-29 Thread Thomas Mueller
How does one indicate a system source directory location when in other than 
/usr/src?

That could be necessary when in another directory, for instance running ndiscvt.

Or one could be building FreeBSD for a USB stick and want to do the heavy work 
on a hard drive; I could also want to build and install ports on the USB stick 
but do the heavy work on the hard drive.

I couldn't find a variable named SRCDIR anywhere in the documentation, in 
contrast to PORTSDIR, which I did find.

I may also want to build 10-CURRENT from 9-STABLE system without giving up the 
9-STABLE source tree; I would need both source trees, but then after the first 
successful build of 10-CURRENT, I could use that to build updated versions.


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


Address to reach human operator regarding problems with list?

2012-05-30 Thread Thomas Mueller
When a list member has problems with the list that require contacting a human 
list owner/operator, what is the address to send to?

I received a probe message regarding messages to me that bounced, might have 
been spams that slipped by the list's filters.

I was advised in the message that the address was 
freebsd-questions-ow...@freebsd.org, and I sent my message to that address, got 
back a message from

owner-moderat...@freebsd.org with the subject

Your message to moderators awaits moderator approval

Quoting the message,

  Your mail to 'moderators' with the subject

  Re: freebsd-questions mailing list probe message

  Is being held until the list moderator can review it for approval.

  The reason it is being held:

  Post by non-member to a members-only list

  Either the message will get posted to the list, or you will receive
  notification of the moderator's decision.  If you would like to cancel
  this posting, please visit the following URL:

  
http://lists.freebsd.org/mailman/confirm/moderators/693387bfce42bd3639754d5b2b906e4ad6ce4bcf


  PLEASE NOTE!  If you would like to post freely to the list, please
  subscribe first.  If you post from multiple addresses, you can
  subscribe each address and go into the options page and select 'no
  mail' for all but one address. This will allow you to post without
  delay in the future.

  Sorry for the hassle, but certain immature people made this necessary.

(end of quote)

So did I post to the wrong address, were the instructions in error regarding 
freebsd-questions-ow...@freebsd.org?

Should that have been owner-freebsd-questi...@freebsd.org ?

Sorry to have to bother this list with such an administrative issue.

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


Re: Address to reach human operator regarding problems with list?

2012-05-30 Thread Thomas Mueller
> freebsd-questions-owner@... is correct, except that to my knowledge
> there isn't really a moderator for freebsd-questions (it's an open list
> that anyone can post to without having to be a member) and that address
> ultimately gets dealt with by postmas...@freebsd.org.

> The message you got about "held for moderation" is standard boiler-plate
> from mailman, and probably not appropriate for your specific circumstances.

> On the whole though, you shouldn't need to contact anyone about the
> warning you received.   It generally occurs when your mail system
> rejects messages from the freebsd-questions@... list as spam.  As there
> is a certain amount of spam that does appear on the list, this is an
> absolutely legitimate practice: trouble is, it's hard for the FreeBSD
> mail system to distinguish deliberate non-acceptance of spam from
> accidental non-acceptance of traffic due to a broken mailer.

> Mailman has an adaptive system that scores you based on how many rejects
> you generate in a certain time period.  If you log into mailman at eg.
> http://lists.freebsd.org/mailman/options/freebsd-questions
> you can see your current score.  Mine is currently 2.0 (out of 5.0) and
> has been about that for quite some time.  So long as your score is not
> too large, I wouldn't worry about the message you received.  Even if
> your score does go over the threshold, you can just use that same
> interface to re-enable delivery.



> Cheers,



> Matthew

> Dr Matthew J Seaman MA, D.Phil.

I contacted my Internet service provider, Insight Cable, about the problem, and 
they need a copy of any message that bounces, so they can see what went awry.

So I can't just ignore the problem.

Maybe I should resend the message to postmas...@freebsd.org instead of 
freebsd-questions-ow...@freebsd.org?

This problem relates to FreeBSD emailing lists in general, not just one list 
such as questions@ .

Tom

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


Re: How to indicate source directory in other than /usr/src?

2012-05-30 Thread Thomas Mueller
>From Lowell Gilbert :

> For ports, I would would normally say that you want SRC_BASE. However,
> that's for building ports, not running them, so I may be missing the
> point.

That may be what I need.  I would be building ports.  For running ports, source 
code wouldn't come into play.

I couldn't find this, but just found it in 
/BETA1/usr/ports/Mk/bsd.port.mk

I installed FreeBSD 9.0-BETA1 to this partition, mounted now as /BETA1, but 
might want to upgrade this to 10-CURRENT.

I noticed a BSDSRCDIR in NetBSD pkgsrc, ported to other mostly (quasi)-Unix 
OSes as well as NetBSD.

>> I may also want to build 10-CURRENT from 9-STABLE system without giving up 
>> the 9-STABLE source tree; I would need both source trees, but then after the
>> first successful build of 10-CURRENT, I could use that to build updated 
>> versions.

> MAKEOBJDIRPREFIX can do this, but in my case I would move the original
> /usr/obj tree out of the way to avoid damaging it by mistake.

I might put 10-CURRENT source tree in /BETA1/usr/src, forever overwriting 
9.0-BETA1 source tree, then 
could set MAKEOBJDIRPREFIX to /BETA1/usr/obj, or is that not necessary?

>From "Michael Ross" :

> I often use nullfs for this kind of thing:

>   mount -t nullfs /where/your/sources/are /usr/src
>   mount -t nullfs /some/dir/for/objects /usr/obj

I hadn't thought of that, but now I need to check this out on "mount" man page.

>From uki :

> Don't know if that will help in Your case, but I just softlink my
> /usr/local/src-stable to /usr/src - never had any issues.

> Cheers,
> ??ukasz Gruner

I thought of that (symbolic link: ln -s) as something to fall back on if I 
don't find something more elegant.

There might have been some characters in your name that xterm couldn't 
understand; I need something better (mlterm?)

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


Re: Address to reach human operator regarding problems with list?

2012-05-31 Thread Thomas Mueller
> freebsd-questions-owner@... is correct, except that to my knowledge
> there isn't really a moderator for freebsd-questions (it's an open list
> that anyone can post to without having to be a member) and that address
> ultimately gets dealt with by postmas...@freebsd.org.

> The message you got about "held for moderation" is standard boiler-plate
> from mailman, and probably not appropriate for your specific circumstances.

> On the whole though, you shouldn't need to contact anyone about the
> warning you received.   It generally occurs when your mail system
> rejects messages from the freebsd-questions@... list as spam.  As there
> is a certain amount of spam that does appear on the list, this is an
> absolutely legitimate practice: trouble is, it's hard for the FreeBSD
> mail system to distinguish deliberate non-acceptance of spam from
> accidental non-acceptance of traffic due to a broken mailer.

> Mailman has an adaptive system that scores you based on how many rejects
> you generate in a certain time period.  If you log into mailman at eg.
> http://lists.freebsd.org/mailman/options/freebsd-questions
> you can see your current score.  Mine is currently 2.0 (out of 5.0) and
> has been about that for quite some time.  So long as your score is not
> too large, I wouldn't worry about the message you received.  Even if
> your score does go over the threshold, you can just use that same
> interface to re-enable delivery.



> Cheers,



> Matthew

> Dr Matthew J Seaman MA, D.Phil.

I contacted my Internet service provider, Insight Cable, about the problem, and 
they need a copy of any message that bounces, so they can see what went awry.

So I can't just ignore the problem.

Maybe I should resend the message to postmas...@freebsd.org instead of 
freebsd-questions-ow...@freebsd.org?

This problem relates to FreeBSD emailing lists in general, not just one list 
such as questions@ .

Now I see at http://lists.freebsd.org/mailman/listinfo ,

If you are having trouble using the lists, please contact mail...@freebsd.org.

There was also a line in the probe message :

For further assistance, please send mail to postmaster.

So now the choice is between mail...@freebsd.org and postmas...@freebsd.org ; I 
sent to mailman.

Tom

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


Re: How to use an external USB3.0 drive with 4k sectors?

2012-05-31 Thread Thomas Mueller
On 05/31/12 09:57, Jens Schweikhardt wrote:

> so I decided to try two HW technology advancements in one go.
> I have a brand new shiny 1TB USB3.0 external disk, that when plugged
> to an USB2(two!) reports

>  da5 at umass-sim2 bus 2 scbus6 target 0 lun 0
>  da5:  Fixed Direct Access SCSI-2 device
>  da5: 40.000MB/s transfers
>  da5: 953869MB (244190646 4096 byte sectors: 255H 63S/T 15200C)

> and
> # diskinfo -v da5
> da5
>  4096# sectorsize
>  1000204886016   # mediasize in bytes (931G)
>  244190646   # mediasize in sectors
>  0   # stripesize
>  0   # stripeoffset
>  15200   # Cylinders according to firmware.
>  255 # Heads according to firmware.
>  63  # Sectors according to firmware.
>  00A123456789# Disk ident.


> (The vendor, Jmicron, has put an NTFS on it, with a disk manual as a pdf file.
> Strangely, I cannot mount it with
> # ll /dev/da5*
> crw-r-  1 root  operator0, 236 May 31 15:05 /dev/da5
> crw-r-  1 root  operator0, 237 May 31 15:05 /dev/da5s1
> # mount -t ntfs -o ro /dev/da5s1  /mnt
> mount_ntfs: /dev/da5s1: Invalid argument
> )

> When I plug it to one of the two USB3.0 ports (using the xhci driver), I
> don't get device nodes in /dev created for it, but instead an ever
> growing list of

>  ugen4.2:  at usbus4
>  umass2:  
> on usbus4
>  ugen4.2:  at usbus4 (disconnected)
>  umass2: at uhub4, port 4, addr 1 (disconnected)
 
> The USB3.0 ports otherwise work fine with a 16BG USB3.0 Stick. Windows 7
> can use the disk as well on the USB3.0 port, which makes me look for

> things I have missed. For example, my kernel config is stripped down
> quite a bit, so it might be that my custom kernel does not have all the
> necessary drivers built in or kldloaded. Do I need "device ada"? What is
> the magic needed to hook up 4k secotr drives via USB3.0?

Gary Aitken  responded:

> According to the handbook you need all of the following drivers:

>   scbus da pass uhci ohci ehci usb umass

> Don't know if this helps, but 512K sectorsize on usb 3 seems to work fine 
> here:

> %diskinfo -v da0
> da0
> 512 # sectorsize
> 1500301909504   # mediasize in bytes (1.4T)
> 2930277167  # mediasize in sectors
> 0   # stripesize
> 0   # stripeoffset
> 182401  # Cylinders according to firmware.
> 255 # Heads according to firmware.
> 63  # Sectors according to firmware.
> NA05EA2N# Disk ident.

> dmesg:

> ugen0.2:  at usbus0
> umass0:  on usbus0
> umass0:  SCSI over Bulk-Only; quirks = 0x4100
> umass0:8:0:-1: Attached to scbus8
> da0 at umass-sim0 bus 0 scbus8 target 0 lun 0
> da0:  Fixed Direct Access SCSI-0 device
> da0: 400.000MB/s transfers
> da0: 1430799MB (2930277167 512 byte sectors: 255H 63S/T 182401C)

> Plugging it in adds only da0, da0s1, and ugen0.2 to /dev

> My disk is bigger than what you're dealing with but not the big sector size;
> can't say about that difference.

I think you also need xhci driver in kernel config.  xhci is for USB 3.0.

I have a Western Digital My Book Essentials 3 TB USB 3.0 hard drive, and that 
works with FreeBSD and Linux, but not NetBSD.

As far as I know, Linux and FreeBSD are the only open-source OSes that support 
USB 3.0.

But I don't think the motherboard supports directly booting from this USB 3.0.

This USB 3.0 hard drive is not recognized when plugged in to USB 2.0 port on 
the motherboard, but is recognized when plugged in to USB 2.0 port on a USB 
bracket connected to USB 2.0 headers on the motherboard.  This would be useful 
with NetBSD, and possibly for booting with GRUB2.

That Western Digital 3.0 TB USB 3.0 was partitioned with one MBR partition, 
formatted for NTFS.  

I needed the System Rescue CD (http://sysresccd.org/) to copy the software 
files from the CD, and to migrate MBR partition scheme to GPT.  Then I deleted 
the big NTFS partition and added my partitions.

FreeBSD sees these partitions as /dev/da0p1, /dev/da0p2 and so on.

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


Re: HP networked printer -- hp-setup won't use, hp-probe finds

2012-05-31 Thread Thomas Mueller
> From Gary Aitken  :

> I've got an HP printer directly connected to the local network.

> hp-probe finds it:

> #hp-probe -bnet

> HP Linux Imaging and Printing System (ver. 3.12.2)
> Printer Discovery Utility ver. 4.1
> ...
>   Device URI   Model 
> Name
>   ---    
> 
>   hp:/net/Officejet_Pro_8500_A909g?ip=aa.bb.cc.dd  Officejet_Pro_8500_A909g  
> HP4356E6

> Found 1 printer(s) on the 'net' bus.

> However, hp-setup and hp-uri refuse to use it:

> #hp-makeuri -ldebug aa.bb.cc.dd

> HP Linux Imaging and Printing System (ver. 3.12.2)
> Device URI Creation Utility ver. 5.0
> ...
> hp-makeuri[63924]: debug: Trying IP address aa.bb.cc.dd
> hp-makeuri[63924]: debug: Not found.
> hp-makeuri[63924]: debug: Trying serial number aa.bb.cc.dd
> hp-makeuri[63924]: debug: Probing bus: usb
> hp-makeuri[63924]: debug: Probing bus: par
> error: Device not found

> When the gui comes up, only the USB option is enabled.  There is no parallel 
> port active and no wireless on the box, but at least the network connection 
> should be available.

> The probe which succeeds takes several seconds, but the hp-setup gui and 
> makeuri fail immediately, and the missing ability to set the network 
> discovery option in the gui lead me to believe it's not even trying the ip 
> addr.

> Anyone with experience setting these guys up have any advice?

> Alternately, is there anything other than a special lp filter really needed, 
> and if not, any suggestions on the best one to use?  I looked at apsfilter 
> but the installation SETUP driver options didn't seem to include this printer.
> Thanks

I have an HP LaserJet M1212nf MFP, and hplip/hp-setup in FreeBSD finds the 
printer all right when connected by Ethernet, but then fails on installing the 
required binary plugin.  Printer is not detected at all when connected by USB.

NetBSD 5.1_STABLE i386 with hplip 3.11.1 built from pkgsrc-wip couldn't find 
the printer on Ethernet, next step is to login to wireless router, and/or check 
the dmesg.boot, and then use the IP address found therefrom.

pkgsrc-wip URL: http://pkgsrc-wip.sourceforge.net/
pkgsrc URL: http://www.netbsd.org/docs/software/packages.html

I wonder if I should have bought a printer, non-HP, with wireless, as long as 
it also had USB and Ethernet capability.

Seeing security advisories for FreeBSD, my next move might be to update the 
source tree by csup, then rebuild (RELENG_9: 9.0-STABLE) for amd64 and build 
for i386 as well.  Then I would have the possibility of building wine from the 
ports, and I could try the MS-Windows software.  I also need to update the 
other ports, including but not limited to hplip and dependencies.

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


(no subject)

2012-06-01 Thread Thomas Mueller
On 29 May 2012 20:06,   wrote:

>    Hello,
>   I am moving away from MS products due to security a nd stability
>   concerns.  Below are the machines I use and would like to know which
>   version of FreeBSD will work best with each.  The computer s are used
>   at home and away, for e-mail, preparing documents, databases, an d
>   spredsheets, as well as, web browsing and some begining programing
>   (Perl, C, HTML, and Assembely I think).

Eitan Adler responded:

> I don't know much about the specifics but for a desktop computer I
> would go with either FreeBSD 9 or PC-BSD (perhaps with the intel kms
> patch)

I'd say go with FreeBSD 9.0, either 9.0-release or 9.0-stable snapshot.

I ddon't see any advantage in FreeBSD 8.x or earlier.

One thing I didn't like about FreeBSD < 9 was distribution sets broken into 
floppy-sized chunks (base.aa, base.ab ...)
which is no longer the case with 9.0.

For C programming, you have the choice between gcc and Clang.  

I like Gnumeric spreadsheet.


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


Re: (no subject)

2012-06-02 Thread Thomas Mueller
> Well, I still see complains about a few quirks in 9 here in the list,
> specially after certain src updates.

> Re:Use of C99 extra long double math functions after r236148
> Re: kern/168190: [pf] panic when using pf and route-to (maybe: bad fragment
> handling?)
> Re: ULE/sched issues on stable/9 - why isn't preemption occurring?
> Etc ..

> To me, something like pf (specially route-to!) is critical and for the moment,
> I wouldn't touch my rock-solid-down-to-the-micro-second perfect production
> firewall 8-STABLE server for nothing, if the aim is such a role.

> I think that distribution set size is just not a very strong argument.

> OTOH, if the aim is just experimenting, that's another story.

> --
> Mario Lobo
> http://www.mallavoodoo.com.br
> FreeBSD since 2.2.8 [not Pro-Audio YET!!] (99% winblows FREE)
___

I suppose if it ain't broke, don't fix it.

I have FreeBSD 8.2_RELEASE i386 on an old computer, pinched for disk space and 
only 256 MB RAM, won't try upgrading in place.

On the new computer, after not being able to boot NetBSD most of the time and 
never getting to a graphical interface, FreeBSD 9.0-BETA1 was released, and I 
downloaded and installed that: a dream compared to NetBSD which didn't really 
like the new hardware.

I never used the old computer as a server. 

For a server, you don't need a lot of fancy stuff such as Adobe Flash and other 
multimedia functionality, nor do you need a lot of RAM. 

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


Re: HP networked printer -- hp-setup won't use, hp-probe finds

2012-06-02 Thread Thomas Mueller
From: Wojciech Puchar :

> seems you like to incredibly complicated things.

> It just happens that i configured that printer in one office and there is
> NO NEED for this windows-style crappy shit from HP.

> /usr/ports/print/hplip (make config and disable GUI trash) is enough.


> scanning works directly to SMB exported shares or mails - just connect by
> WWW browser to http://yourprinterip and configure it.

> printing works fine with this lpr filter

> #!/bin/sh
> export PATH=/usr/bin:/usr/sbin:/bin:/sbin:/usr/local/bin:/usr/local/sbin
> /usr/local/bin/gs -q -dBATCH -dPARANOIDSAFER -dQUIET -dNOPAUSE \
> -sDEVICE=ijs -sIjsServer=hpijs -sDeviceManufacturer="HEWLETT-PACKARD" \
> -sDeviceModel="deskjet 5600" -dIjsUseOutputFD -dDEVICEWIDTHPOINTS=595 \
> -dDEVICEHEIGHTPOINTS=842 -r600 \
> -sIjsParams=Quality:Quality=0,Quality:ColorMode=2,Quality:MediaType=0,Quality:PenSet=2
>  \
> -sOutputFile=/tmp/$$ - >/dev/null
> cat /tmp/$$
> rm /tmp/$$


> that's all. Work for whole office without trash software installed on
> (windoze) workstation or unix server.
___

Your message is worth saving, gives me some new ideas on getting that 
recalcitrant printer (HP M1212nf MFP) to work.

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


Re: Strange case of vanishing disk

2012-06-03 Thread Thomas Mueller
> this is a very strange issue but I guess will either be related to 2
> things, PSU not being powerful enough or disk controller simply being crap.


> Here's what's going on. I have a little Chenbro 4 disk mini-ITX NAS
> server with 2x 2TB disks and 2x4TB disks as storage - all spread out
> over 2 ZFS storage pools. Additionally I am running the root file system
> on a 40GB SSD.

> The strange thing with this is that I recently installed the 4TB disks
> and they're brand new.


> One disk connected to the system board works fine and shows up as online
> and on one of the channels using atacontrol list.


> The other disk is connected to a Startech.com Jmicron based 2x SATA RAID
> controller card.


> The disk connected to the controller card is having issues. At first the
> drive wouldn't be seen by the system then after a while all of a sudden
> it was there. No reboots, no io scans nothing it just appeared.

> After blasting it with IO for a few days the disk has now vanished
> again.

> I had this error in dmesg for a while:

> ad4: TIMEOUT - READ_DMA retrying (1 retry left) LBA=113337535

> I have tried to use pciconf -lbvv to show the connected interfaces and
> the JMICRON comes up fine:


> atapci0@pci0:2:0:0:class=0x010400 card=0x2366197b chip=0x2366197b
> rev=0x02 hdr=0x00
> vendor = 'JMicron Technology Corp.'
> device = 'JMicron JMB366 AHCI/IDE Controller (JMB36X)'
> class  = mass storage
> subclass   = RAID
> bar   [10] = type I/O Port, range 32, base 0xd040, size  8, enabled
> bar   [14] = type I/O Port, range 32, base 0xd030, size  4, enabled
> bar   [18] = type I/O Port, range 32, base 0xd020, size  8, enabled
> bar   [1c] = type I/O Port, range 32, base 0xd010, size  4, enabled
> bar   [20] = type I/O Port, range 32, base 0xd000, size 16, enabled
> bar   [24] = type Memory, range 32, base 0xd051, size 8192, enabled


> So why isn't the disk?

> I reckon as stated at the beginning that either the 180Watt PSU inside
> the system isn't enough or the controller is just really poor??


> Could anyone suggest anything to look into, I'm sure I've covered all
> the bases but just incase there is something else I can do with this one??

> Thanks.


> Kaya
___

One thing I can think of is to disconnect the questionable disk from the RAID 
controller card and connect it directly to the motherboard.

Then you'd know whether the fault is with the hard drive or the RAID 
controller. 

PSU = power supply unit?  180 watts seems very little, I didn't know any modern 
system could run on so little.  I thought the minimum would be around 400 
watts, and this would not allow for a powerful gaming graphics card.

Maybe you need to replace the power supply with something having more watts, 
but make sure it will physically fit.

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


Re: HP networked printer -- hp-setup won't use, hp-probe finds

2012-06-03 Thread Thomas Mueller
Polytropon, you mention ppd files (.ppd or .ppd.gz).

Is this the binary plugin that hplip was unable to install for me?

Or am I grasping at straws?

Somehow I thought the binary plugin was much bigger than the .ppd.gz files 
found in 
/usr/local/share/ppd/HP/

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


Re: (no subject)

2012-06-03 Thread Thomas Mueller
>>For a server, you don't need a lot of fancy stuff such as Adobe Flash

> and do you need this for a non-server? Adobe don't want us (FreeBSD users)
> to use their closed-source software. And i respect their will and don't
> use it. Which resulted in much easier browsing by the way :)

Some, too many, web sites are difficult or impossible to access without Adobe 
Flash.

Adobe may discontinue Linux version of Flash plugin except when bundled with 
Chrome browser.

I personally would like to see HTML 5 wipe Adobe Flash off the face of the 
earth.

Some web sites use Flash just to be annoying, not to create a video.

Examples are:

freefilefillableforms.com : I was unable to proceed with income tax return for 
e-file.

shoplocal.com : When advertiser/vendor offers a choice between Flash 
(broadband) and HTML (dialup),
 HTML (non-Flash) works better even on broadband.

www.gagels.com (farm market), last time I looked was maybe a month ago, and I 
remember complaining.

laguanajuatoky.com : crashes (Mozilla) Seamonkey browser when running in 
FreeBSD.

Gnash is great on YouTube but seems to work nowhere else.

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


Re: Which FreeBSD for Intel i7-2600S and DQ67SWB3?

2012-06-06 Thread Thomas Mueller

- Original Message -
From: David Christensen 

I have a new computer with an Intel i7-2600S processor and DQ67SWB3 
motherboard that I'd like to run with ZFS, virtual machine host, 
desktop, Samba, and terminal server (on second NIC).

Can this be done with FreeBSD; if so, which distribution and 
ports/packages do I need?
-

My response, from awkward Insight webmail interface:

This looks like the processor I have, I think you would use amd64.  Almost 
certainly your system is 64-bit as opposed to 32-bit. 

For a new computer, I wouldn't go with anything earlier than FreeBSD 9.0, and 
in my case, upgrading to 9.0-STABLE proved stabler than the 9.0 release.

Base system includes ZFS.  I've never used virtual machines, but VirtualBox is 
popular for this purpose.  Samba is in ports.

I don't recognize or don't remember DQ67SWB3 motherboard model, is it from MSI?

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


Re: Is this something we (as consumers of FreeBSD) need to be aware of?

2012-06-07 Thread Thomas Mueller
Snippet from Jerry :

> I don't know of any user personally who purchased a new PC and then
> threw FreeBSD on it. Most users that I have come into contact with use
> 2+ year old units that have been replaced by shiny new Windows units. I
> don't see that changing anytime soon.

I did, or almost.  Before installing FreeBSD, I tried unsuccessfully to install 
NetBSD, figuring I'd start with the least stable of (NetBSD, FreeBSD, Linux) 
and not risk messing up good Linux and FreeBSD installations.

Then FreeBSD 9.0-BETA1 was released, and I went with that: now on 9.0-STABLE #9.

That was on a computer that I built from parts in May-June 2011, meaning modern 
hardware including UEFI, but no "secure boot".


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


Re: Which FreeBSD for Intel i7-2600S and DQ67SWB3?

2012-06-08 Thread Thomas Mueller
Snippet from David Christensen :

> http://lists.freebsd.org/pipermail/freebsd-questions/2012-March/239742.html

> It looks like -STABLE are daily development/ test builds (?):

> ftp://ftp.allbsd.org/pub/FreeBSD-snapshots/amd64-amd64/

> I'm looking for stability.  I'll try the 9.0-RELEASE:

> ftp://ftp.freebsd.org/pub/FreeBSD/releases/amd64/amd64/ISO-IMAGES/9.0/

I had a weird problem with 9.0-RELEASE: after updating a NetBSD source tree by 
"cvs up -dP", the system froze and I needed the Reset button.

A couple days later, after better than 24 hours inactivity, I heard sounds of 
reboot and verified by looking.

File system was not cleanly umounted and had to be fsck'ed, which was dome 
automatically on the reboot.

Given my very new hardware, I figured to upgrade to STABLE, building from 
source.  That worked, and the weird problem has not reappeared.

I didn't even ask the list for help.

I suppose I could also have tried RELENG_9_0, maybe a patch would have fixed 
the problem, but my very new hardware and new Xorg version in the works led me 
to go to STABLE.

Daily development/test builds sound more like HEAD (=CURRENT) than STABLE.  
STABLE is more tested than HEAD.

I think if I ever try FreeBSD-HEAD, I'd install to a separate partition and 
keep the STABLE installation intact.

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


Re: ports: make config-recursive doesn't really

2012-06-11 Thread Thomas Mueller
from Gary Aitken :

I'm trying to build a script to rebuild and reinstall everything I have 
installed from ports.  I don't want to have to keep checking on it and filling 
out the
+appropriate check boxes for options.  I naively assumed:

  for port in $ports
  do
cd /usr/port/$port
make config-recursive
cd ../..
  done

would allow me to set up all the dependencies before continuing with the 
install.

It appears, however, that it doesn't really recurse properly.  I say "appears" 
only because this is my first time trying this and despite doing the above
+setting of options, I am confronted with additional options screens as the 
build progresses.

Is there a way to get around this?

This has happened to me too, all too many times.

One way to avoid this problem is to run 

make config-recursive

repeatedly until you get no more dialog screens.

Or you can try portmaster as Subhro Sankha Kar suggests; I am only getting 
started with portmaster, successfully portmastered cdrtools.

I have a lot of ports now to upgrade (master?)  I like to keep a log such as by 
(command) | & tee /path/to/log-file, or anything else that works equally well.

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


USB device activity when not mounted

2012-06-15 Thread Thomas Mueller
> I can understand why I would see activity on a USB device when it's first 
> plugged in.  But why do I see continued activity (i.e. the light blinks on a 
> usb disk or memory stick)?  When I umount one of these, they keep being beat 
> up on and it makes me nervous...  At what point is it sync'd and safe to 
> unplug?  I assume when the umount returns, but what's going on after that?

> Gary
___

I had that problem/quirk with a SanDisk Cruzer 8 GB USB stick. 

Light would slowly blink in all OSes (FreeBSD, NetBSD, Linux) I use, but not in 
FreeDOS.  This even happened before mounting and persisted after umounting.

I just tested on the new computer, running FreeBSD 9.0-STABLE #10 amd64, got 
the slow blink even without mounting.

No other USB sticks ever did this in my experience, though I can't speak for 
brands I've never used.

USB sticks are not all created equal.  One lot of Kingston Data Travelers would 
not work in NetBSD but were good in Linux and FreeBSD, and even FreeDOS and 
OpenIndiana on the new computer. Other USB sticks, including Kingston Data 
Travelers, worked in NetBSD as well as Linux and FreeBSD.

But I was not able to install OpenIndiana on the new computer because it 
couldn't access a GPT-partitioned hard drive, neither could FreeDOS.

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


Re: Why Clang?

2012-06-17 Thread Thomas Mueller
What is the current status of Clang vs. GCC as default compiler for ports and 
for
"make buildworld" and "make buildkernel" in HEAD and 9.0-STABLE?

Now one concern is wine not working when Clang is used to "make buildworld".

I see from reading the emailing lists that the intention is to make Clang the 
default (or only?) compiler suite for 10.0-RELEASE.

I realize that still leaves much time to work out many of the bugs.

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


Re: Why Clang?

2012-06-18 Thread Thomas Mueller
> On 17 June 2012 21:37, Thomas Mueller  wrote:
> > What is the current status of Clang vs. GCC as default compiler for ports 
> > and for
> > "make buildworld" and "make buildkernel" in HEAD and 9.0-STABLE?

> http://wiki.freebsd.org/PortsAndClang

> > Now one concern is wine not working when Clang is used to "make buildworld".

> This isn't good. Can you please follow up with more debugging
> information? (gdb backtrace with debugging symbols enabled)

> > I see from reading the emailing lists that the intention is to make Clang 
> > the default (or only?) compiler suite for 10.0-RELEASE.

> Yes.

> > I realize that still leaves much time to work out many of the bugs.

> We need your help though.

 
> Eitan Adler

Now you give me incentive to try current (HEAD) with Clang, on a separate 
partition from my 9.0-STABLE installation, if and when I get the time.

I could use the old 9.0-BETA1 partition.

I went straight for the wiki link you gave (PortsAndClang).

My information on wine not working with clang-compiled world came from the 
emailing list (freebsd-questions) rather than my own experience.

These pertinent messages come when the announcement of a new Wine-fbsd64 is 
announced.

Latest such message that I see is:

From: David Naylor 
Subject: Wine-fbsd64 updated to 1.4.1 (32bit Wine for 64bit FreeBSD)

Packages [1] for wine-fbsd64-1.4.1 have been uploaded to mediafire [2].  The
packages for FreeBSD 10 use the pkgng* [3] format.

There are many reports that wine does not work with a clang compiled world
(help in fixing this problem is appreciated as it affects quite a few users).

The patch [4] for nVidia users is now included in the package and is run on
installation (if the relevant files are accessible).  Please read the
installation messages for further information.


Regards,

David

[1]
 MD5 (wine-1.4.x-freebsd8/wine-fbsd64-1.4.1,1.tbz) =
63f031c996b1201b056db34e6aa5b8f3
 MD5 (wine-1.4.x-freebsd9/wine-fbsd64-1.4.1,1.txz) =
86aa9c66f05c61def997076befac5ba3
 MD5 (wine-1.4.x-freebsd10/wine-fbsd64-1.4.1,1.txz) =
b0b19714510f278187dcf8c696cae9c0
[2] http://www.mediafire.com/wine_fbsd64
[3] http://wiki.freebsd.org/pkgng
[4] The patch is located at /usr/local/share/wine/patch-nvidia.sh

(end of quote from David Naylor)

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


Re: Why Clang?

2012-06-19 Thread Thomas Mueller
from David Naylor:

> I am the one who sends these persistent messages.  Some users of my packages
> reported that wine didn't run due to a clang compiled world.  I never verified
> them (although I got multiple reports).  With the updates to clang it may have
> also been corrected.

> I attributed the problem to clang miscompiling a library in base used by wine
> and Volodymyr, I think, confirms this:

I only have other people's experience on this issue, need to test this, but 
want to keep a GCC-compiled world for now, at least for a production system.

This would not stop me from trying Clang on an experimental/testing 
installation, such as HEAD, where the basic intent is development.

>From Volodymyr Kostyrko:

> Thomas Mueller wrote:
> >Now one concern is wine not working when Clang is used to "make buildworld".

> For me I'm just waiting on toolchain stabilization as both this one and
> (open|libre)office fail because of libgcc_s compiled with clang on amd64.

I guess that's why I want to keep at least one GCC-compiled world for now.

Like it or not, Linux is by far the leading open-source OS, and most of the 
ports are originally developed with mainly Linux in mind.

Linux software development is GCC-centric, I don't know if there is any work 
with Clang in Linux.

Now how will I know whether GCC or Clang is the default compiler for building 
the world and kernel, and for ports?

Not that I want to avoid Clang, just don't want to be caught by surprise.

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


Re: CLANG vs GCC tests of fortran/f2c program

2012-06-21 Thread Thomas Mueller
Snippet from Wojciech Puchar :

> I successfully predicted the fall of linux (in quality point of view)
> years ago, then netbsd - after this and my prediction were good.

> Now i predict FreeBSD will fall within 2015 time frame.
> What i mean fall - that it would be better to use older version as long as
> possible because newer are worse.

> For now

> - FreeBSD 6 was an improvement
> - FreeBSD 7 was an improvement, except first releases but that's normal
> - FreeBSD 8 was a big improvement in performance and quality.


> FreeBSD 9 as for now:

> - have similar performance at most
> - have some improvement and important functionality like TRIM support.
> - have some useful functionality like softdep journalling, but risky.
> Still - forcing full check reveals some inconsistencies now and then.

> FreeBSD 10 will unlikely be better, but for sure slower unless you will
> force gcc build that MAYBE will work. possibly not.


My experience with NetBSD suggests you may be right there, but Linux?

I'll have to build a new Linux installation and see for myself!

I'm still inclined to say FreeBSD 9.0 is an improvement over 8.2; I never got 
to 8.3.

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


Re: List flames (was Re: Why Clang)

2012-06-21 Thread Thomas Mueller
from Stephen Cook :

> No, this is unusual.  But also remember that most of these lists are not
> just unmoderated but open to posting without subscription.  Then it
> becomes kind of amazing at how little flaming and trolling there is.
> That's not an accident, the admins work hard to limit abuse.

> As an alternate, consider the forums (http://forums.freebsd.org/), which
> are moderated.

Because of FreeBSD lists being mainly unmoderated and open to posting without 
subscription, I notice some outright spams that slip through the list filters.

I believe (could possibly be wrong) that the lists have spam filters in place.

If a message has properties of spam, it will be held for a human moderator to 
see if it is spam (dump it) or not spam (let it through).

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


Re: Why Clang

2012-06-21 Thread Thomas Mueller
Snippet from Antonio Olivares :

> I have some friends that develop software.  They had released it under
> GNU umbrella.  Later on, other folks were taking advantage and not
> giving back as the license requires.  There was little to no way to
> enforce the license, he decided to  move to other license that
> protects his work and let others use it was well with little to no
> strings attached.  He know uses the CDDL which is also an Open Source
> License.  He can give you many reasons as to why the GPLv3 is the
> wrong way to go.  I can ask him for these and other reasons at your
> request.

Yes, that would be a good idea, not so much for me as for others who want to 
better understand the licensing issues of GCC compared to Clang.

That would help explain why FreeBSD is switching to Clang.


Tom

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


Re: Why Clang

2012-06-22 Thread Thomas Mueller
On Thu, Jun 21, 2012 at 01:06:12PM +0200, Wojciech Puchar wrote:
> >for commercial sponsors of FreeBSD, it has zero bearing on FreeBSD itself. 
> >If FreeBSD appears
> >as a subsidiary of some commercial company (say Juniper) i am not sure this 
> >will be good
>
> I think any project that size is actually a subsidiary and must be.
>
> I just don't like that it isn't stated openly! It is nothing wrong,
> unless one can feed using zero point energy, everyone needs money to
> stay alive.
>
> Wouldn't it be smarter to openly say "Juniper request as to get rid
> o GPL as soon as we can because they are fed up with this shit and
> law mess." instead of personal attacks, messing with my (and others)
> sentences and posting evident lies just to "explain" the decision.
>
> It is a difference between honest people and fools.
>
> i already proposed (but not publically) to turn FreeBSD into
> commercial system.
>
> REALLY i would not see a problem to pay say 100$ per server licence.

from Chad Perrin:

> I would see a problem with that -- not because I don't think FreeBSD is
> worth it.  I do, and I think it is worth more than that, in fact.  The
> biggest problem with what you propose, though, is that it would destroy
> the social factors in development of the FreeBSD system that make it what
> it is, and thus destroy FreeBSD itself, as far as I am concerned.
> Eliminating the copyfree licensed, open source development model of
> FreeBSD would undermine the majority of the technical benefits supported
> by that development model.

> I would have thought that even you should be able to understand that
> without help.

(snip)

Turning FreeBSD into a commercial system would turn a lot of users to other BSD 
or Linux, myself included.

I ran IBM OS/2 from 1.3 to (Warp) 4 until a disk crash in April 2001, after 
which I was never again able to boot any OS/2, and I sure tried.

Closed source was one severe drawback, why I certainly prefer either Linux or 
FreeBSD.

Actually there is a continuation/successor to OS/2, namely eComStation 
(www.ecomstation.com) but no way would I go that way! 

Either Linux or FreeBSD is far ahead now!

There actually is/was a closed-source BSD (BSDI), and there is Mac OS X, with 
BSD under the covers.

Tom

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


Re: USB system: FreeBSD 9-STABLE and 10-CURRENT do not recognize 64GB USB drive while Linux and Windows do

2012-06-23 Thread Thomas Mueller
> My elder colleague often told me that it is the easiest and well-working way
> to check whether the one is certified to work for Mac OS X to get USB mass
> storage devices which work with *BSD :)

> Just my 5 yen,

-|-__   YAMAMOTO, Taku
 | __ < 

What if a USB mass storage device works with some BSDs but not all?

I had Kingston Data Travelers, 2 GB, from one lot that were good with Linux and 
FreeBSD but not NetBSD.

Other USB sticks, including Kingston Data Tavelers, worked with Linux, FreeBSD 
and NetBSD.

I even installed FreeDOS 1.1 prerelease on one of those NetBSD-averse Kingstom 
Data Travelers.

But I think either Mac OS X, Linux or FreeBSD is much more production-ready 
than NetBSD.

> There are 3 drivers, one for 3.0, 2.0 and 1.0, and they are associated to
> corresponding devices  at boot. I'll play around with it this weekend and
> see how to switch, i've also noticed issue connecting 2.0 device to 3.0
> port.

> Waitman Gobble
> San Jose California USA

I don't think I ever tried to connect a USB 2.0 device to 3.0 port, but I tried 
the opposite.

My Western Digital My Book Essential 3.0 TB USB 3.0 drive works even on the old 
computer whose motherboard's USB is 1.1.

I tried to access that USB 3.0 hard drive on the new computer from USB 2.0 port 
because NetBSD has no USB 3.0 support: no go.

But when I installed USB 2.0 brackets to USB 2.0 headers on the motherboard, 
the USB 3.0 hard drive was accessible from those USB 2.0 ports.

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


Re: USB system: FreeBSD 9-STABLE and 10-CURRENT do not recognize 64GB USB drive while Linux and Windows do

2012-06-24 Thread Thomas Mueller
> Hi,

> On Saturday 23 June 2012 15:08:53 Thomas Mueller wrote:

> > I don't think I ever tried to connect a USB 2.0 device to 3.0 port, but I
> > tried the opposite.

> I have here 2 hard disks and 2 flash drives with USB 2.0. Three of them work
> on FreeBSD on an USB 3.0 port. One hard disk only works on a USB 3.0 port.

> One hard drive with USB 3.0 does not work on USB 3.0 but only on 2.0.

> Irony is that the PCBSD installer installed PCBSD on the USB 3.0 disk but it
> did not boot afterward.

> > I tried to access that USB 3.0 hard drive on the new computer from USB 2.0
> > port because NetBSD has no USB 3.0 support: no go.

> Let me check this out.

> > But when I installed USB 2.0 brackets to USB 2.0 headers on the
> > motherboard, the USB 3.0 hard drive was accessible from those USB 2.0
> > ports.

> Same as in my case.

> USB is more a lottery than real computing for me.

> Erich

I suppose I could say NetBSD is more a lottery than real computing, especially 
on the new computer.

But some of the bugs are consistent.

My USB 3.0 hard drive is not bootable (motherboard issue?), also does not show 
on Grub2 Super Grub Disk on the System Rescue CD menu 
sysresccd.org

Maybe the latter could be fixed by building Grub2 from source under either 
Linux or FreeBSD Ports.

I think I'd also like to build the gdisk port, both on main hard drive and on a 
bootable FreeBSD USB stick.

One USB stick (PNY 1 GB) is no longer readable/mountable from FreeBSD though it 
is from Linux.

I thought that might be corruption.  Since I have all that data now on an Ativa 
4 GB USB stick, I could install the latest System Rescue CD to the PNY 1 GB USB 
stick (runs Linux on FAT32), see if there are any problems.

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


Re: Omega Zip Drives on FreeBSD 8.*

2012-06-24 Thread Thomas Mueller
from Mike Jeays :

> I am amazed anyone still has a working Zip drive! Both mine suffered from the 
> click of death some years ago, round about when 4.11 was current. I would get 
> any data off them and onto a CD/DVD as soon as possible. For me, they would 
> make nice museum exhibits, but that's it.

I never suffered the click of death as such, but my Zip drives (100 and 250, 
both SCSI) died in other ways.

Zip 100 drive, and also SyQuest SyJet drive, got to where they would just eject 
the disk a few seconds after insertion.

Zip 250 disk remained semi-functional after July 2001, the "semi" being that 
the Zip drive would not recognize a change of cartridge except by rebooting the 
computer, old directories would be kept.  This happened with Linux, DOS and 
OS/2 Warp 4, so it was a hardware issue.

I installed FreeDOS to a Zip 250 disk on an old computer (1995): took a bit 
over five hours because Zip disks are slow: glorified floppies.

SCSI was Trantor T130B, apparently supported by NetBSD but not FreeBSD >= 3.0.

My last chance to try to install NetBSD 4.0.1 on a Zip 250 was stopped when 
that old computer wouldn't power up, and with other things going/gone bad, that 
computer was clearly not worth the time, effort and cost of repair.  So it went 
to the cyber waste recycling center, including the Zip drives and disks, and 
the SyJet drive and disks.

I haven't used USB sticks as long as floppies or Iomega Zip, but USB sticks and 
hard drives look much better so far than Iomega Zip or floppies.

If I ever tried to install FreeBSD 8.x by copying the distribution files to 
floppies, no way would I be able to get enough good floppy copies with no 
better than 20% probability of success on each diskette image.

I believe Iomega discontinued the parallel-port Zip drive, subsequently the 
SCSI Zip drive, and the USB and ATAPI Zip drives were the last to be 
discontinued.

Tom

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


Re: Omega Zip Drives on FreeBSD 8.*

2012-06-24 Thread Thomas Mueller
from Al Plant :

> Thanks

> Of the 4 I had to play with one literally fell apart one scsi card is
> throwing errors. The one I finally got working is an old IDE on a
> FreeBSD 10 box that I experiment with. This should work fine to archive
> the Omega disks we found.

>  Again thanks for heading me on the right path.

> ~Al Plant - Honolulu, Hawaii -  Phone:  808-284-2740

What fell apart?  Was it the Iomega Zip drive, the disk, or the scsi card?

I assume Omega is a typo or memory lapse for what should be Iomega?

IDE has given way on modern motherboards in favor of SATA, but current OSes 
would still have IDE/ATAPI support.

You might still be advised to backup or transfer the data on Zip disks to CDs, 
DVDs or USB sticks or hard drives.

Remember, Zip disks are just glorified floppies.

Tom

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


Re: Omega Zip Drives on FreeBSD 8.*

2012-06-25 Thread Thomas Mueller
from Al Plant :

> Aloha Woj,

> How did you get the drive to work with USB? By a hardware adapter? I
> read there is a USB to ide on the market.

I remember specifically that Iomega produced USB Zip drives, though not when 
they first produced SCSI, ATAPI and parallel-port Zip drives.

One problem with SCSI was so many different hardware interfaces in terms of 
number of holes/pins, meaning incompatibility.

Tom

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


Re: OT: Linux EXT4 dump/restore equivalent?

2012-06-28 Thread Thomas Mueller
On Jun 28, 2012, at 11:59, Vincent Hoffman  wrote:

> We use dump to backup ext4 filesystems on linux (Centos6) at work

"Peter A. Giessel"  responded:

> You can find a version of dump for Linux that supports ext4.  What I have 
> been completely unable to find is a linux boot disk that has a version of 
> restore
that supports ext4.  If anyone knows of one, I would be very interested.  I am 
very hesitant to use a backup scheme that doesn't have a clear recovery path.

I've used the System Rescue CD (sysresccd.org), which you can burn to CD or 
write to USB stick.

I haven't checked all the features, so I don't know if it includes restore for 
ext4.

Latest release version is 2.8.0 

It ought to read/write ext4. I think it would read (BSD) ffs or ufs v1 but not 
v2.

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


Re: OT: Linux EXT4 dump/restore equivalent?

2012-06-29 Thread Thomas Mueller
"Peter A. Giessel"  responded:

> According to:
> http://www.sysresccd.org/Detailed-packages-list

> It does not contain any version of restore.

> There are a lot of Linux boot disks out there. I haven't found one yet that 
> includes an ext4 compatible restore. Debian lets you roll your own, but you 
> need to do that before a disaster. It doesn't include useful rescue CDs like 
> FreeBSD does.

You could try
http://www.sysresccd.org/System-tools

Some recovery tools are listed, including FSArchiver and Partimage.

Maybe one of those listed recovery tools might fit your need?

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


WITHOUT_MODULES in /etc/make.conf doesn't work

2012-07-02 Thread Thomas Mueller
How does one, when building the kernel, prevent building one or more modules?

I have
WITHOUT_MODULES= ulpt
in /etc/make.conf
but ulpt.ko always appears in /boot/kernel directory.

For now, I want to build all modules except for this one, but perhaps I could 
keep everything in kernel config and not build modules.

I think MODULES_OVERRIDE is for building only a few modules instead of a large 
number of modules?

I can't see any way one would use both MODULES_OVERRIDE and WITHOUT_MODULES at 
the same time.

Alternatively, how can I prevent ulpt.ko from automatically loading when I 
connect a USB printer (HP) that is supposed to work with ugen but not ulpt.

What would a FreeBSD user do in order to be able to be able to connect USB 
printers by either ugen or ulpt, might have two or more printers, using one at 
a time?

I have "device ulpt" line commented out in kernel config.

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


Re: WITHOUT_MODULES in /etc/make.conf doesn't work

2012-07-03 Thread Thomas Mueller
from Polytropon :

> On Mon, 02 Jul 2012 22:59:44 -0400, Thomas Mueller wrote:
> > How does one, when building the kernel, prevent building one or more 
> > modules?

> Use the "new" means of /etc/src.conf (see "man src.conf" for
> details) to prevent the building of modules.

I looked through "man make.conf" and "man src.conf" and couldn't find what you 
mean by the "new" means of /etc/src.conf .

I saw references to WITHOUT_MODULES in "man make.conf" but not "man src.conf".

Would 
WITHOUT_MODULES= ulpt
work better in /etc/src.conf than in /etc/make.conf ?

> > I have
> > WITHOUT_MODULES= ulpt
> > in /etc/make.conf
> > but ulpt.ko always appears in /boot/kernel directory.
 
> > For now, I want to build all modules except for this one, but
> > perhaps I could keep everything in kernel config and not build modules.

> Also a possibility - for "best control" case, combine both, e. g.
> a custom kernel that only includes what you explicitely specity,
> and src.conf to avoid building of modules you're intendedly not
> going to need.

Besides the toxic (?) ulpt.ko, there are a lot of modules that would never be 
used on my hardware, and other modules that could be built in the kernel as 
non-modules (such as support for msdosfs and ext2fs, which I don't want to be 
without).

from Wojciech Puchar  :

> > I think MODULES_OVERRIDE is for building only a few modules instead of a 
> > large number of modules?

> true. definitely works for me.


> > Alternatively, how can I prevent ulpt.ko from automatically loading when I 
> > connect a USB printer (HP) that is supposed to work with ugen but not ulpt.

> devd.conf?

I looked through /etc/devd.conf and associated man pages (devd, devd.conf), 
couldn't immediately find how to prevent ulpt.ko from loading.

Maybe I could find it if I connect the printer and go through print/hplip 
documentation?

Either the printer is screwy, hplip is screwy, and/or the BSD adaptations to 
hplip are screwy, and I can't tell which.

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


Re: WITHOUT_MODULES in /etc/make.conf doesn't work

2012-07-04 Thread Thomas Mueller
from Polytropon :

> Yes, /etc/src.conf uses WITHOUT_* on a per-module basis, so you need
> to explicitely name the modules not to build.

> But you're right, there's only WITHOUT_USB (for not building the
> USB-related parts), so going with kernel configuration would be
> a good point to start -- the more precise you can define your
> test setting and its variables, the better you can diagnose the
> problem.

> In /etc/make.conf, you could use MODULES_OVERRIDE to define the
> set of modules you want (because only _those_ will then be
> build) and keeping their functionality out of the kernel. In
> this case, you have control over your test setting using the
> modules.

> The same files offers NO_MODULES=yes to avoid building modules
> at all (use custom kernel instead).

> If you decide to use WITHOUT_MODULES, you can define the set of
> modules you want to avoid building, everything else will be
> built.



> > Would
> > WITHOUT_MODULES= ulpt
> > work better in /etc/src.conf than in /etc/make.conf ?

> No, /etc/src.conf as (according to its manpage) a defined set of
> variables that will be considered when building (or _not_ building)
> certain modules.


> > Besides the toxic (?) ulpt.ko, there are a lot of modules that
> > would never be used on my hardware, and other modules that could
> > be built in the kernel as non-modules (such as support for msdosfs
> > and ext2fs, which I don't want to be without).

> That's a good setting for using a custom kernel and not even
> building the modules for the non-used functionalities. :-)

I suppose modules save RAM by being loaded only when needed, but see the virtue 
of NO_MODULES=yes or MODULES_OVERRIDE in combination with putting everything 
needed in kernel config.

Building WITHOUT_USB would cause a severe loss of functionality, USB sticks, 
USB hard drives, even USB mice and keyboards wouldn't work.

from Jakub Lach :

> Try with:

> WITHOUT_MODULES= usb/ulpt

I'll have to try that on my build/update of FreeBSD 9.0_STABLE i386 on USB 
stick.  Thanks for the hint!

This would be from the USB stick but with source base directory 
/STABLE1/usr/src (on hard drive).

I had already built FreeBSD 9.0_STABLE i386 on the USB stick from FreeBSD 
9.0_STABLE amd64, and was successful booting that USB stick.

Sort of a dirty trick that you have to use usb/ulpt as opposed to ulpt, and a 
deficiency in the documentation.

Now is there any way to prevent ulpt.ko from loading when a USB printer is 
connected?

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


Re: WITHOUT_MODULES in /etc/make.conf doesn't work

2012-07-05 Thread Thomas Mueller
> No, I'm just borderline sure that WITHOUT_MODULES works
> the same way as MODULES_OVERRIDE, that is it looks in
> top directory in /usr/src/sys/modules/ and ulpt is in
> /usr/src/sys/modules/usb/ulpt

> Speaking of RAM savings, things you would always load
> should be compiled in kernel, modules per design take
> more RAM than compiled in stuff.

I suppose with a generic kernel where many drivers would be put in modules and 
not the kernel proper, RAM would be less cluttered.

I think that rationale was used with Linux, and I believe kernel modules came 
to Linux before FreeBSD and to FreeBSD before NetBSD, am not sure about other 
BSDs.

I remember when it was necessary to "insmod hpfs" to mount an HPFS partition 
from Linux, it was not done automatically.

Also, when adding a new device and driver, just that module could be compiled 
without recompiling the rest of the kernel: useful perhaps when installing a 
prefabricated Linux distribution.

But when running on one specific computer, I see the rationale for 
NO_MODULES=yes.

Now is there any way to prevent ulpt.ko from loading when a USB printer is 
connected?

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


Re: Hi i want to ask a question

2012-07-05 Thread Thomas Mueller
from Ivan Ivanov :

> Hi i want to ask a question about the new release of FreeBSD (9) is it 
> posible to run this release /whit GUI/ in IBM Thinkpad 1161 217 whit this 
> specs 500 mhz Intel Celeron processor 64mb Ram and 5gb HDD

I think it would be possible, but there would not be enough RAM or disk space 
to rebuild the system (make buildworld) or build the bigger applications from 
the ports collection.  You might not have enough RAM to run (Mozilla) Firefox. 

There are some things you could do not involving the fancy stuff: server, maybe?

You could try to find something for older computers on distrowatch.com, such as 
Puppy Linux.

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


Re: Hi i want to ask a question

2012-07-05 Thread Thomas Mueller
from Ivan Ivanov :

> Hi i want to ask a question about the new release of FreeBSD (9) is it 
> posible to run this release /whit GUI/ in IBM Thinkpad 1161 217 whit this 
> specs 500 mhz Intel Celeron processor 64mb Ram and 5gb HDD

I think it would be possible, but there would not be enough RAM or disk space 
to rebuild the system (make buildworld) or build the bigger applications from 
the ports collection.  You might not have enough RAM to run (Mozilla) Firefox. 

There are some things you could do not involving the fancy stuff: server, maybe?

You could try to find something for older computers on distrowatch.com, such as 
Puppy Linux.

Julian Stacey responded:

> Sorry, duff advice, don't need to send enquirer off to Linux IMO ;-)

> I guess Linux probably can't shrink smaller than BSD,
> (though that could be an endless thread, custom kernels & 
> striping binaries, & older gcc being a Lot smaller etc)

> but Firefox & Gcc will be approx same size on both if same version.

> maybe the enquirer doesnt need firefox anyway,
> eg the router passing this mail runs 6.4, with 40M ram
> doesn't need firefox, does run proxy http & sendmail etc.

> Dont forget why Swap was invented. One doesnt Have to have tons of ram.
> Things might or not thrash depending on load etc.

> However ... 64M with X GUI sounds a stretch, 
> but then equally for modern BSD & Linux,

> Easier with older smaller versions of OS.
> (gcc thrashes building itself now on low memory machines)

Building big ports, including gcc, really can bog down on an old 
under-resourced computer, even with 256 MB RAM and 12 GB FreeBSD slice.

I speak from experience with both Linux and FreeBSD, through 8.2 on old 
computer.  NetBSD too (5.1_STABLE).

On this old computer, GNOME 3 live CDs and USB failed to boot and get to GUI: 
didn't work at all.

When I first responded on this thread, I didn't think of FreeDOS 
(www.freedos.org), but then you can't run anything close to Firefox on FreeDOS 
or any other DOS.  But FreeDOS would run with a 5 GB hard drive all in one 
FAT32 partition.

Work has been and is being done on FreeBSD to make it feasible to install 
application software via binary patches, that would come in useful on 
low-resource computers.  With 64 MB RAM, I'd look to a window manager like 
IceWM, or maybe JWM or Ratpoison, but certainly not KDE.

An old computer with insufficient RAM for fancy browsers and multimedia can 
still be useful for a server or router.

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


Re: Hi i want to ask a question

2012-07-06 Thread Thomas Mueller
On Thu, 5 Jul 2012 22:00:11 +0300 (EEST), Ivan Ivanov wrote:
> Hi i want to ask a question about the new release of FreeBSD (9)
> is it posible to run this release /whit GUI/ in IBM Thinkpad 1161
> 217 whit this specs 500 mhz Intel Celeron processor 64mb Ram and
> 5gb HDD

Polytropon  responded:

> It is very well possible, but you need to pay attention to
> a few things:

> 1. You won't be able to build things from source on that
> machine. Consider using packages for installation, or a
> second system to build and export (via NFS) the data required.

> 2. You will have to choose wisely what you install. You
> can install the OS plus X, and then be very selective
> regarding the applications. Firefox for example may be
> a bit heavy as a web browser, but there are alternatives,
> such as dillo or lynx (in graphics mode). Also choose your
> work and multimedia applications wisely. There _are_ still
> programs in the ports collection that are very low on bloat,
> but you need to do some research to find them.

> 3. For using your applications within the GUI, choose a
> good window manager, e. g. FVWM or XFCE 3 (not 4!), or
> IceWM or Blackbox or olvwm or something comparable. You
> need to try which one fits your needs. Maybe a tiling
> window manager would be even better -- but I can't recommend
> one, because their magic didn't open up to my ignorant
> mind yet. :-)

> 4. Refering to no. 1, you should also aim to build a custom
> kernel on another machine that exactly fits the hardware that
> you have present in the Thinkpad. Streamline your kernel.
> Make it reflect the present hardware configuration. Maybe
> there are even some options and tunables to make it run
> better than the GENERIC kernel.

> The main limiting factor I see is the 64 MB RAM. If you have
> the chance, try to upgrade it. I know that's not easily
> possible.

> Note: I've been using FreeBSD 4 and 5 on a 150 MHz Pentium (1)
> with 64 MB (later on: 128 MB) RAM and 8 GB disk. This machine
> could compile the world (even though it needed 24 h to do that),
> fetch an ISO via FTP, play MP3 music via xmms, and still offer
> a well responding web browsing experience using Opera. NO JOKE.
> "Mister Coffee" was my first FreeBSD workstation. :-)

On part 1, it might be possible to build things on the old machine, but only 
little things.

Ports tree and source tree would really pinch the hard disk space (5 GB).

Would you actually boot the IBM Thinkpad by network, keep source and ports 
trees on a newer computer's hard drive, do the building on the newer computer, 
and install by NFS?  I've thought of doing that, have no intention to upgrade 
FreeBSD 8.2 to 9.0 on old computer, where FreeBSD slice is 12 GB and I'd have 
to rebuild all ports , and in all likelihood bog down.

On part 2, do you mean lynx or links?  

Lynx is text-mode but can show images on a separate screen: I did that with 
DR-DOS 7.03 long ago and more recently FreeDOS.

Links can be built with graphics, there is even a DOS port, but a far cry from 
Firefox (try Midori?) which have no DOS ports.

I think there is also w3m?

Building the kernel is nowhere near as time-consuming as buildworld.

On my older computer, building a custom kernel took about 25 minutes for 
NetBSD, 75 minutes for FreeBSD 8.2, and 130 minutes for Gentoo Linux, and the 
Gentoo Linux kernel proved nonbootable.

On the last part, time required to download an ISO would depend on type of 
connection more than CPU speed.


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


Re: Format a USB flash drive using gpart

2012-07-07 Thread Thomas Mueller
> On Sat, 7 Jul 2012 13:15:10 -0400, Carmel wrote:
> > This is probably a dumb question, but does gpart even work on a USB
> > flash drive? I have not been able to figure out how to do it. I want to
> > erase the entire drive and format it for a FreeBSD UFS2 file system.

> In that case, screw slices and partitions 'n stuff. :-)

> # newfs /dev/da0

> This is all you need (see "man newfs" and "man tunefs" for
> options you might need to optimize utilization, and check
> best fitting options for /etc/fstab, e. g. noatime if you
> are not going to need it).


> Polytropon
> Magdeburg, Germany

I have used gpart to partition a USB flash drive into FreeBSD boot partition, 
root partition and swap partition.

I ran newfs on the second (root) partition, even installed FreeBSD built from 
source, and made the flash drive bootable, both for amd64 and i386.

Does a USB flash drive also work as a giant floppy, no partitions?  Can you 
make a flash drive bootable when nonpartitioned and formatted that way?

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


Re: GUI for "gpart"

2012-07-07 Thread Thomas Mueller
On Sat, 7 Jul 2012 08:58:06 -0400, Carmel wrote:
> I have heard, although I never personally saw it, a GUI for "gpart" I
> heard that there exists one for Linux. Is there any comparable one for
> FreeBSD and comparable with KDE?

I think gpart is the newer disk partitioning program for FreeBSD, replacing the 
older gpt still used in NetBSD and DragonFlyBSD.

gpart in FreeBSD supports partition types suitable mainly for FreeBSD as 
opposed to more general, including Linux and other BSD.

So I wouldn't expect to find gpart in Linux, though there is a more general 
gdisk, by Rod Smith:

http://rodsbooks.com/gdisk/

But I don't think there is any GUI for gdisk.

I believe the latest release is 0.8.5; gdisk is also in FreeBSD ports, latest 
version there being 0.8.2 as far as I know.


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


Re: Format a USB flash drive using gpart

2012-07-08 Thread Thomas Mueller
On Sat, 07 Jul 2012 17:45:17 -0400, Thomas Mueller wrote:
> Does a USB flash drive also work as a giant floppy, no partitions?
> Can you make a flash drive bootable when nonpartitioned and
> formatted that way?

Polytropon responded:

> Yes, that's exactly what my advice was aiming to, but let's
> try to keep the terminology clean: You cannot do without
> partitions. A partition carries a file system.

> You _can_ do without slices. A slice holds one or more partitions.
> A slice is a "DOS primary partition". Omitting it is called
> "dedicated mode". There may be some circumstances where a
> dedicated disk doesn't boot. Personally I haven't met one,
> but it's still possible due to BIOSes expecting MS-DOS-alike
> structures.

> For the file system side, it's just a matter of having
> created one partition covering the whole disk, newfs and
> tunefs it, and install the boot code. Wojciech Puchar did
> already explain how this works and which tools are involved.

> However, there _is_ a way to make a "giant floppy without a
> file system" (as you said without partitions, and I'll take
> that literally): You can use tar, "the universal file system
> that isn't a file system" to write data to the USB stick.

> Writing stuff:

> # tar cf /dev/da0 /my/files

> Reading stuff:

> # tar xf /dev/da0

> This works, but it may appear that no other system can read it.
> If you consider using it for FreeBSD only, no problem. The big
> advantage: You don't need to mount and umount the stick.

> I'm assume _that_ construct cannot be booted.

You mean the non-subdivided 1.44 MB or other capacity of a floppy is called a 
partition?

Same question for CDs?

One does not usually think of something that can't be created by subdividing as 
a partition.

Also, a file system can be contained in an image file.  Or is this a virtual 
partition?

Might 
 # tar xf /dev/da0
work in other BSDs or even other (quasi-)Unixes including Linux, using the 
appropriate device name where applicable in place of da0?

While that particular construst could probably not be booted, it is possible to 
boot from a floppy or image file that does not contain a file system.

Some of the disk images on the System Rescue CD (sysresccd.org) are not 
viewable/mountable as file systems.

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


Re: Basic i5/i7 Motherboard Suggestion..

2012-07-12 Thread Thomas Mueller
from Pierre-Luc Drouin :

> I am looking to build a simple i5 or i7 CPU-based desktop computer that is
> compatible with FreeBSD. Could someone suggest me a sub $200 motherboard
> whose chipsets and BIOS works well with FreeBSD? I would prefer to stick
> with either Intel or Asus if possible...

MSI is also good with motherboards.  I built a new computer from parts June 
2011.

Motherboard was MSI Z68MA-ED55(B3), has served well so far, and works with 
FreeBSD much better than NetBSD, though NetBSD's problems could be due to other 
deficiencies, including lack of USB 3.0 support.

CPU is Intel i7 at 2600 MHz.

This motherboard has USB 3.0 and UEFI "Click BIOS".

MSI would have newer models now.

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


Re: get rel 9.0 iso

2011-09-08 Thread Thomas Mueller
> On Wed, 07 Sep 2011 20:43:47 -0400, Fbsd8 wrote:
> > No rel 9.0 i386 disc1.iso anywhere. My pc can not boot from memstick.

Polytropon responded:
 
> ftp://ftp.freebsd.org/pub/FreeBSD/releases/amd64/amd64/ISO-IMAGES/9.0/
> ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/i386/ISO-IMAGES/9.0/
 
> A FreeBSD-9.0-BETA2-{i386|amd64}-bootonly.iso and
> FreeBSD-9.0-BETA2-{i386|amd64}-dvd1.iso are available.
 
> Note that this is "just" a BETA, _not_ a RELEASE.
 
> If your system can boot at least from CD, the bootonly should
> be fine (if you can then continue installation via Internet);
> if you don't have a machine connected, the DVD #1 will be a
> good tool (as a DVD-capable drive should be assumed as common
> equipment today).

Is that pc that can't boot from memstick old?  I have an old PC, dating to July 
2001, that can't boot directly from USB, but can boot from USB with the help of 
Plop (http://www.plop.at/) boot manager.

I think dvd1.iso was < 700 MB and would therefore fit on a CD? 

My computer from July 2001 had CD-RW but no DVD.  This was one of the factors 
pushing me to buy parts for a new computer.

Tom

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


Re: get rel 9.0 iso

2011-09-09 Thread Thomas Mueller
I think dvd1.iso was < 700 MB and would therefore fit on a CD? 

I just checked, it was < 700 MB:

Index of ftp://ftp.freebsd.org/pub/FreeBSD/releases/amd64/amd64/ISO-IMAGES/9.0/

Up to higher level directory
NameSizeLast Modified
File:CHECKSUM.MD5   1 KB09/01/1100:00:00
File:CHECKSUM.SHA2561 KB09/01/1100:00:00
File:FreeBSD-9.0-BETA2-amd64-bootonly.iso   142490 KB   08/31/11
18:45:00
File:FreeBSD-9.0-BETA2-amd64-dvd1.iso   621926 KB   08/31/1118:43:00
File:FreeBSD-9.0-BETA2-amd64-memstick.img   666990 KB   08/31/11
18:46:00

(end of quote)

My computer from July 2001 had CD-RW but no DVD.  This was one of the factors 
pushing me to buy parts for a new computer.

FreeBSD 8.2 slice on old computer is about 12 GB with 1.3 GB free; RAM is 256 
MB.

So a better way to upgrade to 9.0 might be to build on the new computer onto a 
16 GB USB stick, I wouldn't even need to keep the ports tree or system source 
on the USB stick.  I assume booting a USB stick with Plop would work on the 
2001 computer with FreeBSD as it did with NetBSD 4.0.1 and NetBSD-current.

Due to insufficient RAM and insufficient disk space for the bigger 
packages/ports, I feel like I'm at the end of the line with FreeBSD, NetBSD 
too, on the 2001 computer; would need to build on my new computer.

Tom

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


Re: get rel 9.0 iso

2011-09-10 Thread Thomas Mueller
To build FreeBSD 9.0 on USB stick for the old computer, host computer would be 
new amd64, cross-compiling for i386.

I see default /var partition size for new FreeBSD installations was to be 4 GB, 
so I might be safer with 16 GB rather than 8 GB USB stick, even though there 
would be no need to install system source and ports tree on the USB stick.  But 
I had already decided that I was not going to have separate partitions for 
/tmp, /var and /usr, but would want a separate partition for /home, except 
possibly on a USB stick.

Now it looks like FreeBSD 9.0-to-be is pushing the idea of installing on GPT; 
even the memstick installation disk, where traditional MBR partitioning scheme 
would fit comfortably, uses GPT.

I could build one kernel that would support the hardware on both computers, or 
one kernel for each computer.

FreeBSD itself can run comfortably in well under 256 MB RAM.  Resource hogs are 
the big applications: KDE, GNOME, bigger web browsers, multimedia, Adobe Flash 
Player, printers.  Servers, not needing all the fancy stuff, can be set up on 
old computers as long as they're in good condition.

Tom

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


Re: get rel 9.0 iso

2011-09-11 Thread Thomas Mueller
I could build one kernel that would support the hardware on both computers, or 
one kernel for each computer.  This would be the USB-stick i386 install.  I 
would also have FreeBSD 9.0 amd64 on the new computer hard drive; would put the 
system source and ports tree on the hard-drive installation.  I might put /home 
together with root and /usr on the main (USB-stick installation) partition.  X 
Window manager would be IceWM.

FreeBSD itself can run comfortably in well under 256 MB RAM.  Resource hogs are 
the big applications: KDE, GNOME, bigger web browsers, multimedia, Adobe Flash 
Player, printers.  Servers, not needing all the fancy stuff, can be set up on 
old computers as long as they're in good condition.  By printers, I mean not 
only CUPS, but hplip which depends on cups.  On BETA1, hplip build failed in 
cups because of undefined variable, I believe.  Other failed port was fuse.

On the computer from 2001, FreeBSD 8.1 and 8.2 /var got over 800 MB; I became 
nervous as /var data grew during the freebsd-update from 8.1 to 8.2.

Most iso-downloadable (CD or DVD) Linux distributions now require 512 MB RAM or 
more; I believe PC-BSD requires at least 512 MB RAM.

Tom

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


Re: FreeBSD 8.2 Partition Sizing question

2011-09-15 Thread Thomas Mueller
I can't really see the rationale for putting / and /usr on separate partitions.

Swap would go on a different partition because it does not use the same file 
system.

I like to put /home on a separate partition, and don't like the idea of 
/usr/home.

I also don't like to put /var and /tmp on separate partitions: problems with 
size and fitting the disk space.

Putting /home on a separate partition allows the whole system to be upgraded, 
even newfs and reinstall, without touching user data.

Tom

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


Linux emulation with actual Linux installation?

2011-09-18 Thread Thomas Mueller
Is it possible, when booted into FreeBSD, to run Linux programs from an actual 
Linux installation, instead of the Linux-emulation ports?

User would have both FreeBSD and Linux installed on hard drive, and might 
possibly

mount -t ext2fs /dev/ /compat/linux

I noticed there was a Gentoo Linux port, but one could just as well download 
from Gentoo mirror, or use a different Linux configuration.

Tom

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


Re: Firefox clean installation but does not execute

2011-09-20 Thread Thomas Mueller
I too had the problem of "Command not found" after freshly installing something 
from ports, but I thought that was a peculiarity of FreeBSD 9.0-BETA1 and 2.

I was going to post this question to freebsd-current list.

For instance, if I typed "which lynx", it was not found, but was found if I ran
ls /usr/bin/local/l*
and it also ran if I typed 
/usr/bin/local/lynx

Software freshly installed from ports would be normally accessible after the 
next reboot.

After getting more ports built, I no longer had that problem.

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


Re: using /sbin/gpart to add GPT volume

2011-10-11 Thread Thomas Mueller
I don't think you can use gpart on a slice of an MBR-partitioned disk.

You can run "man gpart" if you didn't already; I didn't see anything to migrate 
an MBR partition table to GPT.

The older gpt, which NetBSD still uses, can migrate an MBR partition table to 
GPT.

You could try Roderick Smith's gdisk

http://www.rodsbooks.com/gdisk/

which is found, among other places, on the System Rescue CD

http://sysrescccd.org/

also in sysutils/gdisk in FreeBSD ports tree.

Rod Smith's gdisk can make a wider variety of partition types than gpt or gpart,
and can also migrate an MBR partition table to GPT.


Tom

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


Re: Dennis Ritchie has died. A suggestion

2011-10-15 Thread Thomas Mueller
FreeBSD needs to acknowledge its history, and C has been and still is a 
critical part.

Dennis Ritchie's role deserves to be acknowledged.

Tom

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


csup: How do I know I have correct version?

2011-10-21 Thread Thomas Mueller
After I run 

csup /usr/share/examples/releng9-supfile

how do I know I have the correct version, like 9.0-BETA3 or 9.0-RC1?

I can't find any such information explicitly anywhere under /usr/src .

This releng9-supfile was made from stable-supfile by changing RELENG_8 to 
RELENG_9 in the line

*default release=cvs tag=RELENG_8

I've been following the emailing lists current, questions and ports, 
noticed the heads-up that HEAD was going to 10-current.

Maybe also I should put this releng9-supfile in a safer place where 
it won't be deleted by the next installation/upgrade?

Tom

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


Re: csup: How do I know I have correct version?

2011-10-22 Thread Thomas Mueller
From: Damien Fleuriot :

> > Maybe also I should put this releng9-supfile in a safer place where
> > it won't be deleted by the next installation/upgrade?

 
> Indeed you should.
 
 
> >>From my /etc/make.conf:
> SUP_UPDATE= yes
> SUP=/usr/bin/csup
> SUPFLAGS=   -zgL 2
> SUPHOST=cvsup1.fr.freebsd.org
> SUPFILE=/etc/cvsup/stable-supfile
> PORTSSUPFILE=   /etc/cvsup/ports-supfile
> DOCSUPFILE= /etc/cvsup/doc-supfile



> Then, you just have to copy the sample supfiles to /etc/cvsup/

Then how do you update the system source, ports tree or doc?
Something with 'make'?  'make update' ?

For ports, I run
portsnap fetch update

For system source, I run 
csup /usr/share/examples/releng9-supfile

though I subsequently moved the releng9-supfile to /myconfig .


from Matthew Seaman :

> The file you want is /usr/src/sys/conf/newvers.sh  This is a script that
> edits version information into various source code files.  The bit you
> need is near the top of the file -- just following line 33:
 
> 33  TYPE="FreeBSD"
> 34  REVISION="9.0"
> 35  BRANCH="RC1"
> 36  if [ "X${BRANCH_OVERRIDE}" != "X" ]; then
> 37  BRANCH=${BRANCH_OVERRIDE}
> 38  fi
> 39  RELEASE="${REVISION}-${BRANCH}"
> 40  VERSION="${TYPE} ${RELEASE}"
> 41  SYSDIR=$(dirname $0)/..
 
> Unfortunately the value want is RELEASE, which is assembled from parts,
> so not trivially grep'able.  But you can easily see the REVISION is set
> to 9.0 and BRANCH is RC1 so the whole things comes to 9.0-RC1.  Simple.

That's the file I was looking for, I was not familiar with that particular file 
name.

It's easy to find a needle in the haystack when somebody points it out to me!  
My thanks!

> > Maybe also I should put this releng9-supfile in a safer place where
> > it won't be deleted by the next installation/upgrade?
  
> No -- you shouldn't need to worry about that.  The name
> 'releng9-supfile' you chose doesn't match anything produced by the
> system, so it won't be overwritten.  (Not that you shouldn't keep a
> backup somewhere -- that's only sensible.)
 
> Hmmm actually you have highlighted a small omission in the
> procedures for branching RELENG_9 and RELENG_9_0 -- the cvsup example
> supfiles  /usr/src/share/examples/{stable,standard}-supfile should be
> updated to match the branch they are installed from.  In your case both
> of those files should use the RELENG_9 tag, but that hasn't been
> commmitted yet.
  
> Cheers
 
> Matthew

Good point.  I had to make the little modification in the stable-supfile to 
accommodate RELENG_9 .

Since my current efforts are directed toward a working FreeBSD 9.0 system, I am 
not currently doing anything with 10-current.

Tom

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


Re: which ports require dialog during update

2011-10-23 Thread Thomas Mueller
from Doug Barton :

> I like to have all config dialogs done and out of the way.

> You might want to consider using portmaster, which handles that (and a
> bunch of other stuff) for you.

I think portmaster has an equivalent for 'portupgrade -R' to portupgrade 
dependencies?

I think one would use 'portupgrade -r' less frequently.

I like to save a build log, would the config-recursive part be disrupted or 
disruptive?

NetBSD pkgsrc, which has been ported to other mostly (quasi-)Unix OSes as well, 
has a better way: putting options in /etc/mk.conf :
not to say NetBSD pkgsrc is better than FreeBSD ports system, just that they 
have a good idea in this aspect.


Tom

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


Re: csup: How do I know I have correct version?

2011-10-23 Thread Thomas Mueller
from Matthew Seaman :

> Don't define PORTSSUPFILE in /etc/make.conf if you're using portsnap(1).
>  Apart from anything else, typing 'make update' in /usr/src will attempt
> to cvsup not just the system sources but as well any of PORTS, DOC where
> you've defined a ...SUPFILE.
 
> In fact, without PORTSUPFILE defined in /etc/make.conf typing 'make
> update' in /usr/ports will invoke portsnap for you, so long as you
> obtained the ports tree by 'portsnap fetch extract' originally.
 
> Cheers,
 
> Matthew

Now I know better how 'make update' works, though I looked at that target in 
/usr/src/Makefile.

I find from experience that updating ports by two different means makes a mess 
or at least doesn't work.

In 9.0-BETA1, I tried 'portsnap fetch update' some time after having installed 
the ports tree from the bsdinstall.

That didn't work, and I had to 'portsnap fetch' and 'portsnap extract' as if I 
had never installed the ports tree from the bsdinstall.

I guess then I can install the docs by 'csup /usr/share/examples/doc-supfile' ? 
 

That would be simpler and easier than installing misc/freebsd-doc-en from the 
ports.

Tom

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


Re: which ports require dialog during update

2011-10-24 Thread Thomas Mueller
from Doug Barton :

> > I like to save a build log, would the config-recursive part be
> > disrupted or disruptive?
  
> I don't understand that question either. :)  portmaster has an option to
> log build/install, and it's completely separate from the process of
> showing the user the config dialogs. The configuration option to save
> those logs is in the portmaster man page.
  
> > NetBSD pkgsrc, which has been ported to other mostly (quasi-)Unix
> > OSes as well, has a better way: putting options in /etc/mk.conf : not
> > to say NetBSD pkgsrc is better than FreeBSD ports system, just that
> > they have a good idea in this aspect.
 
> You might want to look at ports-mgmt/portconf. In many ways the OPTIONS
> dialog is superior to having to write out options in config files. OTOH,
> a needed improvement to it is that the defaults should take the settings
> that are already in the environment into account.
   
 
> Doug

The disruptive part is in

make package-recursive | & tee build.log

or equally with 'make install clean'

Then the config dialog messes up and is practically impossible to navigate.

Only hope is to go to another virtual terminal and make config on the port that 
called up the config dialog.

So would portmaster give me a similar log file without conio and stdio going to 
war with each other?

Tom

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


Re: Fast personal printing _without_ CUPS

2011-10-28 Thread Thomas Mueller
from Mark Felder :

> You've just made me a happy, happy user. I always wondered what it would  
> take to get rid of CUPS, and today I've done it. Finally my print jobs are  
> instantaneous here at work instead of being a mystery. Can't wait to go  
> home and do the same with my personal laser.

I wish I could do that with my HP n1212mf LaserJet, but the necessary hplip 
port depends on cups-base.

I could not get that printer to work on the old computer under FreeBSD 8.2 and 
NetBSD 5.1_STABLE,
problems with the tricky USB interface, won't work with ulpt, but I didn't try 
the ethernet way yet.

On the new computer, FreeBSD being the only hard-drive OS installed so far, I 
built hplip but haven't
tested it yet.  Upgrading by source from FreeBSD 9.0-BETA2 to RC1, I was sure 
to deactivate ulpt in
the kernel config file.  I am still struggling with some files in /etc messed 
up by mergemaster.  I
may have found a solution but haven't tested it yet; I did back up my old /etc 
directory.

Then I have to portupgrade hplip and dependencies (portupgrade -r ...) or the 
portmaster equivalent.

Tom

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


Re: How to dual-boot FreeBSD 9 with Linux?

2011-10-28 Thread Thomas Mueller
> Is any one by now successfully dual-booting FreeBSD 9 with Linux?

> I have tried with OpenSuse 11.4 with FreeBSD 9. OpenSuse installs Grub1 to 
> mbr. Grub1 doesn't seem to support FreeBSD 9. It cannot recognise the file 
> system
+type.

> Any help in this regard is very much appreciated.

> Many thanks in advance.

> Unga

Not yet, but I intend to, once I get Linux built and installed, possibly 
starting with a cross-compile from FreeBSD 9.

On my older computer, i386 (32-bit), I dual-boot FreeBSD 8.2 and Linux 
(Slackware) using LILO, also FreeDOS on another hard disk, can even boot 
grub4dos and Plop (http://www.plop.at/) boot manager from LILO.

Can you use rootnoverify with grub1 (you must mean grub 0.97)?

You could also try grub2, which is in the ports under sysutils.

Is your hard disk partitioned MBR or GPT?

My hard disk is partitioned GPT, I still can't boot the hard disk directly, but 
using the System Rescue CD (http://sysresccd.org/), I go to the Super Grub Disk 
in the floppy images, hit c to get to command prompt, and

set root=(hd0,3)
kfreebsd /boot/loader
boot

You would use the actual FreeBSD partition which will probably be different 
from (hd0,3).

Tom

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


Re: Fast personal printing _without_ CUPS

2011-10-29 Thread Thomas Mueller
> > Then I have to portupgrade hplip and dependencies (portupgrade
> > -r ...) or the portmaster equivalent.
 
> Welcome to the wonderful world of printing on FreeBSD. By the way, is
> the time you are investing in this venture considered billable hours or
> just self-flagellation?
 
> --
> Jerry ???
> jerry+f...@seibercom.net

This is not for any current employment (future?), so I guess it would be 
self-flagellation.

But I do want to try the Ethernet way, may need to buy an Ethernet switch or 
router.

I also intend to build a Linux installation, don't really want to be without 
that.

Linux has the best hardware and software support of any open-source OS; I don't 
think there is any argument about that: not to downgrade FreeBSD.

Tom

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


Burning CDs or DVDs with SATA drive?

2011-11-03 Thread Thomas Mueller
What software, base or ports, is used to burn a CD or DVD on a SATA drive, 
/dev/cd0 ?

Would burncd be appropriate, or do I need cdrtools?  Or cdrkit?

This is on FreeBSD 9.0-RC1 amd64.

I built and installed sysutils/cdrtools when there was a thread on burncd and 
SATA, but cdrecord can't see anything (running "cdrecord -scanbus"):


cdrecord: Inappropriate ioctl for device. CAMIOCOMMAND ioctl failed. Cannot 
open or use SCSI driver.
cdrecord: For possible targets try 'cdrecord -scanbus'.
cdrecord: For possible transport specifiers try 'cdrecord dev=help'.
Cdrecord-ProDVD-ProBD-Clone 3.00 (amd64-unknown-freebsd9.0) Copyright (C) 
1995-2010 Jörg Schilling


Running "cdrecord dev=help" or "cdrecord dev=HELP:" did no better.

I had a similar problem on the older computer (i386 with ATA, not SATA) in 
NetBSD, but cdrecord ran well in Linux.  CD-RW drive there is ATAPI.

Tom

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


Re: Burning CDs or DVDs with SATA drive?

2011-11-04 Thread Thomas Mueller
> > I built and installed sysutils/cdrtools when there was a
> > thread on burncd and SATA, but cdrecord can't see anything
> > (running "cdrecord -scanbus"):


> > cdrecord: Inappropriate ioctl for device. CAMIOCOMMAND ioctl failed. Cannot 
> > open or use SCSI driver.
> > cdrecord: For possible targets try 'cdrecord -scanbus'.
> > cdrecord: For possible transport specifiers try 'cdrecord dev=help'.
> > Cdrecord-ProDVD-ProBD-Clone 3.00 (amd64-unknown-freebsd9.0) Copyright (C) 
> > 1995-2010 J?rg Schilling


> > Running "cdrecord dev=help" or "cdrecord dev=HELP:" did no better.
   
> Do you have permissions set properly? Maybe it still
> tries to access per ATAPICAM, which may be non-working
> just like acd - just a wild guess, I'm not using 9-RC
> here so I can't be more specific.
 
 
 
> > I had a similar problem on the older computer (i386 with ATA,
> > not SATA) in NetBSD, but cdrecord ran well in Linux.  CD-RW
> > drive there is ATAPI.
 
> I've been using cdrecord and cdrdao now since burncd
> stopped working for me somewhere in v5. For DVDs,
> growisofs should work.
 
> While cdrecord and cdrdao address th "SCSI device"
> by n:n:n, growisofs uses /dev/cdN.
 
> --
> Polytropon

After I failed to burn a CD in NetBSD (5.1_STABLE) on the older computer (i386) 
with cdrecord, I booted into FreeBSD 8.2 RELEASE and was successful with 
burncd.  That drive was CD-RW, ATAPI, that computer has ATA but no SATA.

Does growisofs work on CDRs or only DVDs?

If 'cdrecord -scanbus' doesn't work at all, how do I get the "SCSI device" 
n:n:n?  Use camcontrol?

I see both FreeBSD and NetBSD have makefs (which can make a UFS/FFS or iso file 
system, taking the place of mkisofs in cdrtools.  But NetBSD has no CD or DVD 
burner in the base system.

I could also try to build cdrkit and see if that works.

Tom

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


Re: Burning CDs or DVDs with SATA drive?

2011-11-07 Thread Thomas Mueller
from my previous message:

> Does growisofs work on CDRs or only DVDs?

> If 'cdrecord -scanbus' doesn't work at all, how do I get the "SCSI device" 
> n:n:n?  Use camcontrol?

> I see both FreeBSD and NetBSD have makefs (which can make a UFS/FFS or iso 
> file system, taking the place of mkisofs in cdrtools.  But NetBSD has no CD 
> or DVD burner in the base system.

> I could also try to build cdrkit and see if that works.

At that stage I hadn't looked in the Makefile to see that cdrkit was not an 
option on FreeBSD 9.0 .

So far, I tried cdrecord and readcd only as root, so permissions ought not yet 
to be an issue.

amelia2# camcontrol devlist
at scbus1 target 0 lun 0 (pass0,ada0)
at scbus5 target 0 lun 0 (pass1,cd0)
 at scbus7 target 0 lun 0 (pass2,da0)
   at scbus7 target 0 lun 1 (pass3,ses0)
 at scbus8 target 0 lun 0 (da1,pass4)
   at scbus9 target 0 lun 0 (da2,pass5)


amelia2# readcd dev=5,0,0 sectors=0-0 -
readcd: Device not ready.


I got same results after running "kldload atapicam".  Also,
cdrecord -scanbus didn't work at all.

In Linux, beginning with kernel 2.6, cdrtools work with ATA or IDE CD or DVD 
burners without inserting a SCSI layer.

Maybe I need to build and install growisofs (sysutils/dvd+rw-tools)?

I have /dev/xpt0 even without "kldload atapicam", also /dev/pass*.

cdrtools use "dev=n1,n2,n3", which don't have to be all zero.

I had intended, and still intend, to build a Linux installation, may or may not 
bother with NetBSD.

I want to see what Linux can do that FreeBSD can't, how and if the device 
drivers are superior.

NetBSD has no USB 3.0 support now or in the foreseeable future, and otherwise 
doesn't like my hardware; 
I tried before installing FreeBSD.

Tom

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


Re: no sound on alc-889

2011-11-12 Thread Thomas Mueller
> Hello all,
 
> i try to unmute a box with a mcp79 ane alc-889.
 
> the sound is working on another os, and playback
> and recording are treated separately by os x, (10.7).
  
> i tried different combinations according to the snd_hda man page,
> but i cannot find a good one.
 
> Pleease, have you some hints?
 
> here is the config and pindump:
   
> hdac0:  mem 
> 0xd348-0xd3483fff irq 22 at device 8.0 on pci0
 
> pci3:  at device 0.0 (no driver attached)
> hdac0: HDA Codec #0: Realtek ALC885
> pcm0:  at cad 0 nid 1 on hdac0
> pcm1:  at cad 0 nid 1 on hdac0
> pcm2:  at cad 0 nid 1 on hdac0
>   pins dump
> hdac0: Dumping AFG cad=0 nid=1 pins:
> hdac0:  nid 20 0x012b4040 as  4 seq  0Headphones  Jack jack 11 loc  1 
> color   Green misc 0
> hdac0:Caps: IN OUT HP  VREF Sense: 0x
> hdac0:  nid 21 0x018b3010 as  1 seq  0   Line-in  Jack jack 11 loc  1 
> colorBlue misc 0
> hdac0:Caps: IN OUT HP  VREF Sense: 0x
> hdac0:  nid 22 0x40f0 as 15 seq  0  Line-out  None jack  0 loc  0 
> color Unknown misc 0 [DISABLED]
> hdac0:Caps: IN OUT HP   Sense: 0x
> hdac0:  nid 23 0x40f0 as 15 seq  0  Line-out  None jack  0 loc  0 
> color Unknown misc 0 [DISABLED]
> hdac0:Caps: IN OUT HP   Sense: 0x
> hdac0:  nid 24 0x90100130 as  3 seq  0   Speaker Fixed jack  0 loc 16 
> color Unknown misc 1
> hdac0:Caps: IN OUT HP  VREF Sense: 0x
> hdac0:  nid 25 0x40f0 as 15 seq  0  Line-out  None jack  0 loc  0 
> color Unknown misc 0 [DISABLED]
> hdac0:Caps: IN OUT HP  VREF Sense: 0x
> hdac0:  nid 26 0x40f0 as 15 seq  0  Line-out  None jack  0 loc  0 
> color Unknown misc 0 [DISABLED]
> hdac0:Caps: IN OUT HP  VREF Sense: 0x
> hdac0:  nid 27 0x40f0 as 15 seq  0  Line-out  None jack  0 loc  0 
> color Unknown misc 0 [DISABLED]
> hdac0:Caps: IN OUT HP  VREF Sense: 0x
> hdac0:  nid 28 0x40f0 as 15 seq  0  Line-out  None jack  0 loc  0 
> color Unknown misc 0 [DISABLED]
> hdac0:Caps: IN
> hdac0:  nid 30 0x014be050 as  5 seq  0 SPDIF-out  Jack jack 11 loc  1 
> color   White misc 0
> hdac0:Caps:OUT
> hdac0:  nid 31 0x01cbe020 as  2 seq  0  SPDIF-in  Jack jack 11 loc  1 
> color   White misc 0
> hdac0:Caps: IN
> hdac0: NumGPIO=2 NumGPO=0 NumGPI=0 GPIWake=0 GPIUnsol=1
> hdac0: GPIO: data=0x enable=0x direction=0x
> hdac0:   wake=0x  unsol=0xsticky=0x
 
> Thanks, in advance for your help.
 
> rmgls
> rm...@free.fr

Your subject line says alc-889, but config and pindump messages say Realtek 
ALC885.

Since I recently built a new computer from parts, I came across Realtek ALC889 
and ALC892 in motherboard descriptions.

Realtek ALC892 was/is very popular in the newer motherboards.

I have Realtek ALC892 with my MSI motherboard with Intel Sandy Bridge chipset.  
I get sound in FreeBSD 9.0, now RC1.

I think ALC892 would be an update in the ALC889 line, driver that works with 
ALC892 would work for ALC889, but this is just my hypothesis.

But then, do you have ALC889 or ALC885?

I get "Intel High Definition Audio"; there is no NVidia anywhere in my boot 
messages.

Tom

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


Re: where to ask about problems with bsdinstall in 9.0RC2?

2011-11-20 Thread Thomas Mueller
from William Bulley :

> Possible, but unlikely.  Plus I doubt that 'tar -tvf base.txz' without a
> pipe having an "xzcat(1)" in front of the "tar(1)" command.  Maybe there
> is an "xz" option for tar(1) during extraction mode, but my tar(1) man
> page doesn't list any, sigh...  It does list -y and -z options for other
> compression/decompression modes, hmmm   :-(

It looks like tar in extraction mode automatically recognizes xz compression in 
the file to be extracted from.

Section from the man page for tar in FreeBSD 9.0-RC1:

 -J, --xz
 (c mode only) Compress the resulting archive with xz(1).  In
 extract or list modes, this option is ignored.  Note that, unlike
 other tar implementations, this implementation recognizes XZ com-
 pression automatically when reading archives.


Tom

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


Re: file system on 9.0

2011-11-20 Thread Thomas Mueller
from darc...@gmail.com (Denise H. G.):

> I strongly advise that /usr and /usr/local reside on different
> partitions. Furthermore, If you plan to run a desktop environment, your
> /usr/local should be big enough, say 8G - 10G, to hold all stuff you
> built from the ports. And putting /var on a separate partitiion is a
> good idea, I think.
 
> You can find detailed information on how to lay out and size your
> partitions in tuning(7) either locally or online.

The one directory I really want to put on a separate partition is /home .
That way, you can fully rebuild/redo your system and keep user data.

I don't like to put /var on a separate partition because of the danger of 
running short of space.
I had nervous moments when running freebsd-update on the older computer and 
seeing the used part of /var grow.

I don't really see a need to put /usr/local on a separate partition, though 
conceivably you could build applications with both FreeBSD ports and NetBSD 
pkgsrc, but keep these separate.  NetBSD pkgsrc has been ported to other 
(quasi-)Unixes including FreeBSD.  Default directory corresponding to FreeBSD's 
/usr/local is /usr/pkg .

I think I like FreeBSD ports better than NetBSD pkgsrc, the latter which I used 
only with NetBSD.

I originally installed FreeBSD 9.0-BETA1 using bsdinstall on the USB stick, 
including the ports.

There was a conflict when I ran "portsnap fetch update", that didn't work.  I 
had to run "portsnap fetch" and "portsnap extract", scrapping the ports tree 
from bsdinstall in favor of the fresh ports tree.  So now I know best to not 
install ports tree from bsdinstall; this would presumably apply for sysinstall 
too.

Tom

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


"options atapicam" and/or "device ATA_CAM" in kernel config?

2011-11-23 Thread Thomas Mueller
What is the role of "options atapicam" and "device ATA_CAM" in kernel config 
file?

Are they redundant?  Kernel will build with both these options, but will it 
make things go awry?  Is ATA_CAM deprecated?

I am trying to burn a CD (or DVD) on a SATA DVD-RW drive, but cdrtools don't 
work.

Also, how do I build and install a kernel to some name other than /boot/kernel, 
and not build all modules in duplicate?

I might want to try kernels with some differences in options, but with the same 
modules.

NetBSD and Linux make it easy to choose a non-default name for the kernel, so I 
can have multiple kernels and choose one at boot.

In Linux, beginning with kernels 2.6.*, cdrtools work without the ATA-SCSI 
dance.

Tom

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


man ugen error

2011-11-23 Thread Thomas Mueller
According to ugen man page, ugen can be compiled into the kernel with
device ugen
in config file.

I tried that in the kernel config when upgrading from FreeBSD 9.0-RC1 to RC2, 
but the kernel build stopped quickly with the message that ugen was not valid.  
After removing that line from kernel config, "make kernel" was successful.

I didn't find "device ugen" anywhere in the conf/NOTES or conf/GENERIC files.

Tom

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


Re: Quick build of stripped-down kernel

2011-11-24 Thread Thomas Mueller
from "b. f." :

> If you are going to build most of the modules, but only want to
> exclude a few, then add the directories of the modules to be excluded
> (relative to /usr/src/sys/modules) to WITHOUT_MODULES, for example in
> /etc/make.conf. If you are only going to build a few modules, and want
> to exclude the majority of the modules, then add the directories of
> the modules that are to be built to MODULES_OVERRIDE.  For no modules
> at all, set NO_MODULES.  See /usr/src/sys/modules/Makefile and
> /usr/src/sys/conf/kern.post.mk for details. You may also save some
> time by using one of your faster machines to build the OS for the
> slower machines.

Suppose you want to build more than one kernel so as to be able to choose at 
boot time.

Then you might not want to build modules redundantly.  So how would you make 
the modules from /boot/kernel accessible when booting /boot/kernel2?

Tom

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


Re: "options atapicam" and/or "device ATA_CAM" in kernel config?

2011-11-26 Thread Thomas Mueller

"Thomas Mueller"  writes:

> > What is the role of "options atapicam" and "device ATA_CAM" in kernel 
> > config file?

> > Are they redundant?  Kernel will build with both these options, but will it 
> > make things go awry?  Is ATA_CAM deprecated?
 
Lowell Gilbert  responds:

> As far as I can see, ATA_CAM isn't currently documented.
> Just ignore it.

So I can say good riddance to ATA_CAM.  According to burncd man page, ATA_CAM 
is incompatible with burncd, also burncd was deprecated in FreeBSD 9.0.
 
> > I am trying to burn a CD (or DVD) on a SATA DVD-RW drive, but cdrtools 
> > don't work.

> > Also, how do I build and install a kernel to some name other than 
> > /boot/kernel, and not build all modules in duplicate?
> >
> > I might want to try kernels with some differences in options, but with the 
> > same modules.

> > NetBSD and Linux make it easy to choose a non-default name for the kernel, 
> > so I can have multiple kernels and choose one at boot.
 
> The usual way is to have a separate config file for each, although you
> can come up with other ways if you feel like being clever.  The config
> files support an include functionality, so working through the files is
> pretty easy.

I would likely keep separate config files, especially when disk space is 
abundant as on a 3 TB hard drive.
 
> As for leaving out modules, there are a number of options documented for
> make.conf(5) and src.conf(5) that give you various kinds of control.
 
> > In Linux, beginning with kernels 2.6.*, cdrtools work without the ATA-SCSI 
> > dance.
 
> You don't say what version of FreeBSD you're on. I'm still using
> RELENG_8, so I may be missing some choices for later versions, where I
> understand that the CAM code has been significantly reworked.

I forgot to mention the FreeBSD version: 9.0, now RC2, started with BETA1 on 
this computer.

I have FreeBSD 8.2 on my older computer, ATA, no SATA.  I once burned a CD with 
burncd after NetBSD cdrecord couldn't find the drive.  But I burned other CDs 
with cdrecord in Linux.

I don't want to upgrade FreeBSD on older computer because of shortage of disk 
space and only 256 MB RAM.  Portupgrading everything would be too gruesomely 
slow, in addition to likely running short of disk space.

Tom

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


Re: Quick build of stripped-down kernel

2011-11-26 Thread Thomas Mueller
from "b. f." :

> If the kernel versions were compatible, and the set of modules were
> the same, I suppose you could set MODULES_WITH_WORLD and
> KODIR=/boot/modules during buildworld and installworld, to build the
> modules as part of buildworld and install them in /boot/modules during
> installworld, rather than in /boot/kernel or /boot/kernel2.  Then you
> could build and install both of your kernels with NO_MODULES, as
> previously discussed, and with your  different choices of KODIR for
> each kernel.  Because /boot/modules is part of the default module_path
> defined in /boot/defaults/loader.conf, the modules ought to load as
> usual for either kernel.  If you wanted to place them in a different
> directory, you could alter KODIR during buildworld and installworld,
> and add the directory to module_path in /boot/loader.conf.  I haven't
> tested this, but I think that it will work, and I'd be interested to
> hear whether it does. There are of course alternative methods.

> b.

That should be helpful; I could do that when FreeBSD 9.0-RC3 comes out.

I would only use the single set of modules when kernels are built from the same 
source tree; otherwise there could be incompatibility.

I might also want to build FreeBSD 9.0-RELEASE, when that comes out, for i386, 
on a 16 GB USB stick, and run on new computer and older 32-bit computer.

Older computer USB is not directly bootable, but USB can be booted using PLOP 
boot manager (http://www.plop.at/).


Tom

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


Re: "options atapicam" and/or "device ATA_CAM" in kernel config?

2011-11-28 Thread Thomas Mueller
> On 11/27/11, Lowell Gilbert  wrote:
> > "b. f."  writes:

> >>> > > What is the role of "options atapicam" and "device ATA_CAM" in kernel
> >>> > > config file?

> >>> > > Are they redundant?  Kernel will build with both these options, but
> >>> > > will it make things go awry?  Is ATA_CAM deprecated?

> >> They are redundant and incompatible.  atapicam is deprecated, and
> >> ATA_CAM is the new default on FreeBSD 9 and 10. Unless you have some
> >> special requirements, you should use ATA_CAM on recent versions of
> >> FreeBSD, because it usually performs better than the old ATA code, and
> >> has added functionality.

> > Ah. My apologies to anyone I confused with my incorrect comments.

> > I must say that I'm thoroughly disappointed that my searches through the
> > official documentation didn't turn up anything related to this. Even the
> > Handbook, with extensive practical descriptions of how to use this
> > functionality, doesn't mention that its advice is irrelevant to anything
> > past 8.x.
   
> The handbook does contain some oblique and scattered references to the
> new code, or at least to constructs that are common to both the old
> and the new code, but the addition of a brief discussion of the
> differences between the new and old ATA code in the handbook -- i.e.,
> the kernel and userland components that are now obsolete, and their
> replacements -- might be of some help to users.  The primary author of
> the new code did add some material to various notes and manpages, but
> he has been very busy writing and debugging code, and English is not
> his first language, so others will have to supplement his efforts.
> Perhaps you could ask for some additions on the freebsd-doc mailing
> list?
 
> b.

Now I see it's "options ATA_CAM" or "device atapicam".  It looks like I
inadvertently transposed "device" and "options" in subject line.

Now I think I'll try to rebuild the kernel with "options ATA_CAM" and drop
"device atapicam".

This question needs to be better resolved in time for FreeBSD 9.0-RELEASE.

I cross-post this message to freebsd-curr...@freebsd.org so the developers
will see it.  FreeBSD users want to be able to burn CDs and DVDs, and since
SCSI hardware has fallen out of style, I can say very few if any FreeBSD 9.0 
users will have an actual SCSI CD or DVD drive.

Tom

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


Re: FreeBSD & ROX Desktop

2011-12-09 Thread Thomas Mueller


--- On Sat, 12/10/11, Douglas F Taylor  wrote:
> Can ROX-Desktop work on FreeBSD, I am
> just starting to learn FreeBSD??
 
> Doug

I think I remember seeing ROX-Desktop and roxterm in the ports collection?

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


BSD equivalent of GNU/Linux cp -rpu ?

2012-01-11 Thread Thomas Mueller
What is the BSD equivalent of Linux cp -rpu ?

I tried that in FreeBSD, or maybe it was NetBSD, and -u was not recognized.

I think the issue would be differences between GNU/Linux coreutils and 
util-linux and the BSD counterparts.

the -u flag, for update, means not to copy files that exist in both the source 
and destination unless the source version is newer.

Idea is to backup a directory, recursively, without copying old files that 
haven't changed.

Would I use something like rsync or pax ?

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


Building FreeBSD for two or more architectures but not all

2012-01-11 Thread Thomas Mueller
How would I build FreeBSD, in this case 9.0-RELEASE, for two or more 
architectures, in this case i386 and amd64?

One build (amd64) would update the present system (9.0 RC3), but the other 
would go on a USB stick, likely 16 GB.

Real question is how to keep things like /usr/obj and other things from the two 
builds separate.

I don't want to 'make universe' when I won't run on anything other than i386 
and amd64.

I want to build both on the new computer because the old computer is short on 
disk space and has only 256 MB RAM.

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


Re: Clang - what is the story?

2012-01-22 Thread Thomas Mueller
While on the subject of Clang, is this compiler only for C, C++ and Objective-C?

What about Ada and Fortran?  Does one need GCC for that?  Dragonlace for Ada?

I believe some of the ports require GCC.  Many of these ports are developed 
primarily for Linux and subsequently ported to FreeBSD ports and NetBSD-based 
pkgsrc.

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


Re: T2000 Sparc FreeBSD8.2 installation failed

2012-01-27 Thread Thomas Mueller
> On 01/26/2012 02:05 PM, Anonymous wrote:

> > NetBSD
> > Not recommended, sorry to say

> Why?

Fritz Wuehler  responded:

> Net has support for less sparc64 platforms than OpenBSD or FreeBSD and
> NetBSD reliability has gone downhill. I am sad to say it but I think Net's
> best days are behind us. I hope I have to eat my words some day. It used to
> be my favorite OS and pkgsrc is fantastic.

NetBSD supports many different platforms, maybe it's the way they count that 
makes it look like more than FreeBSD and Linux?

I have great problems with NetBSD on new Intel Sandy Bridge computer.

It was FreeBSD 9.0_BETA1 that caused me to suspend the struggle with NetBSD.

NetBSD-HEAD (5.99.xx to become 6.0) wouldn't even boot from hard-drive 
installation, would boot partway but hang.

Installation CD would boot maybe half the time.

NetBSD 5.1_STABLE would boot, but always went into immediate hard reboot when I 
tried to go to X.

On old computer, I have weird screenblanking problems with both NetBSD 
5.1_STABLE and HEAD; 4.0.1 was somewhat better.

On new computer, apparently the only viable open-source OSes are FreeBSD and 
Linux.

OpenBSD seems too backward and problematic, I never installed that.


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


Re: USB 3.0 with FreeBSD 8.1

2012-01-28 Thread Thomas Mueller
from: Matthias Fechner :

> > b)  Does 9.0 have USB 3.0 support.

> my system says:
> Jan 27 22:16:51 server kernel: xhci0:  controller> mem 0xf9cfe000-0xf9cf irq 19 at device 0.0 on pci5
> Jan 27 22:16:51 server kernel: xhci0: 64 byte context size.
> Jan 27 22:16:51 server kernel: usbus3 on xhci0

> So it detects at least my usb3 controller.

> Bye
> Matthias

I have USB 3.0 on my new computer, and a Western Digital My Book Essential USB 
3.0 3 TB hard drive:

Good read/write with FreeBSD 9.0, and Linux on the System Rescue CD 
(http://sysresccd.org/).

I can't access this hard drive from NetBSD either from USB 3.0 port or USB 2.0 
port.

I think FreeBSD 8.1 is in any case superseded by 8.2, hence no motivation to 
improve hardware support in 8.1.

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


Re: Swap_pager: indefinite wait buffer

2012-01-28 Thread Thomas Mueller
from Kévin Hagner :

> > I'm running on a FreeBSD 9.0-STABLE, the file system used is UFS, I've 2Gb 
> > RAM and no "native" swap partition.

> Oh.  You should never configure a Unix system without at least some swap 
> space available, and configuring at least as much swap as you have RAM (plus 
> a little
> +bit more) is the minimum recommendation.

> Regards,

> -Chuck

Does that mean the amount of swap space needed increases with amount of RAM?

Is that for the purpose of accommodating possible core dump?  This is difficult 
to achieve with a system that has generous RAM, when installing to a USB stick.

I suppose one could use swap space on a hard drive in that case.

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


Re: the WD USB 3.0 "My Book" Essential

2012-02-03 Thread Thomas Mueller
> Has anyone gotten one to work?

> Either as a USB 2.x or 3.x?  Yes, I know that to do 2.x one must use a
> different cable.  I do that.  Because I am wondering what's going on.
>  Possibly I just happened to buy a drive that's DOA, I don't know, and I'm
> not say that, YET.

> I'd like to hear from other purchasers, what's the current buzz on this
> product.  I don't want to bash the WD guys, in the past their products have
> been wonderful and it may turn out that this will the case here too.

> But after a lot of struggling, first with 3.x, now with 2.x, I'm still not
> able to get beyond /dev/da0.  And yes I've tried mounting that but that
> doesn't work.  And nothing I do seems to produce the needed /dev/da0s1,
> which is usually what I see to do a mount.

> I've been getting really good help from Roland and others here.  We've been
> concentrating on the FBSD side of things and now I'm thinking that's not
> where the trouble is.

> So again, has anyone gotten a WD My Book Essential drive to work?  With
> either USB 2.x or 3.x?

I have this drive, and it works on my new computer with FreeBSD 9.0 beginning 
with BETA1, plugged into USB 3.0 port, but does not work on this computer when 
plugged into USB 2.0 port.

This same drive also works with Linux, using the System Rescue CD 
(http://sysresccd.org/).

It came with one NTFS partition spanning the whole drive.

I was able to copy out the data using the System Rescue CD and then repartition 
with gpt/gpart.

This drive was not accessible with NetBSD, OpenIndiana or FreeDOS.

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


Re: the WD USB 3.0 "My Book" Essential

2012-02-04 Thread Thomas Mueller
> Ah!, I didn't know that some USB connectors (the receptacle on the computer
> side of the cable,) were for 3.0 and others for 2.0.  How do I discover or
> test my USB receptacles?

USB 3.0 connectors have a somewhat different appearance than USB 2.0 or 1.1 
connectors.

I knew which were which from motherboard labels and documentation.  I built the 
new computer from parts, and two important motherboard features I was looking 
for were UEFI and USB 3.0.

Do you know if your motherboard has USB 3.0?  There are PCI and PCI Express 
adapters with USB 3.0 ports that you can buy.

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


Re: 3 TB disk troubles

2013-02-14 Thread Thomas Mueller

>  I recently bought a 3 TB external hard drive.  I attached it to the
> Firewire (400) bus and waited for my 8.2-STABLE i386 system to recognize it.
> After a small flurry of Firewire protocol messages, the kernel eventually
> said,

> Feb 12 23:35:42 hellas kernel: da2 at sbp0 bus 0 scbus0 target 1 lun 0
> Feb 12 23:35:42 hellas kernel: da2:  Fixed Direct 
> Access SCSI-0 device
> Feb 12 23:35:42 hellas kernel: da2: 50.000MB/s transfers
> Feb 12 23:35:42 hellas kernel: da2: 2861588MB (5860533167 512 byte sectors: 
> 255H
 63S/T 364801C)

> So far, so good, I thought.
>  Next I tried to use gpart(8) to set up a partition table.  However,
> gpart, gpte (from sysutils/gpte), diskinfo(8), et al. only see the device
> as a 2 TB drive.

> hellas# diskinfo -v /dev/da2
> /dev/da2
> 512 # sectorsize
> 2199023253504   # mediasize in bytes (2T)
> 4294967292  # mediasize in sectors
> 0   # stripesize
> 0   # stripeoffset
> 267349  # Cylinders according to firmware.
> 255 # Heads according to firmware.
> 63  # Sectors according to firmware.
> # Disk ident.

> hellas#

>  I have searched the archives of this list and several others, but
> haven't found anything helpful.  This disk is *not* intended as a boot
> disk, just data storage.  Is there any hope of using its full capacity?
> Or have I effectively bought an overpriced 2 TB drive?
>  Please Cc: me directly in any replies because I am subscribed to
> the digest form of this list and would like to see responses without
> having to wait up to 24 hours. :-)  Thanks in advance for any help!


> Scott Bennett, Comm. ASMELG, CFIAG

There is Rod Smith's gdisk, a gpt counterpart of fdisk.

http://rodsbooks.com/gdisk/

and available in FreeBSD ports collection, one version (0.8.5) behind Rod's 
current version 0.8.6.

This works for me.


Tom

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


Re: List Spam Filtering

2013-05-13 Thread Thomas Mueller
Excerpt from Rich Kulawiec :

> 3. Note that Mailman, as part of that same mechanism, allows list-owners
> to add non-subscribers to a list of those permitted to send traffic to
> the list without approval.  This feature is probably more often used to
> allow traffic from alternative addresses for subscribers, e.g., someone
> is subscribed as f...@example.com but sends occasionally from 
> f...@example.net.
> But it can just as easily be used for non-subscribers if the list-owners
> so choose.

I sometimes send using a different SMTP server, which may happen since my 
@bellsouth.net addresses are from my former ISP, AT&T/Yahoo!, but still good 
under Yahoo!

So I might send either from the AT&T/Yahoo! SMTP server or from insightbb.com 
server, and Insight Cable (insightbb.com) customers will be migrated in the 
next month to Time Warner Cable, and email addresses will be in twc.com domain. 
 But I use the same From: address.

I switched my email address on this list because Insight Cable, but I believe 
not Time Warner Cable, uses synacor.com for spam filtering, and messages are 
deleted when synacor.com's software flags it as spam, and there were false 
positives resulting in bounced messages.  Insight Cable customers never see the 
spam-filtered-out messages, and have no way to mitigate those filters.

On sending CC to other participants in a thread, sometimes that can be too 
many, and I might consider it redundant to send CC to a list regular.

Once, because of sending CC to other thread participants, I was sending to six 
email addresses, and the message was held for moderator approval because of 
being sent to so many recipients: a frequent characteristic of spam.  But my 
message was approved when the moderator saw it was legit, on topic.

Tom

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


Re: define more partitions in freebsd

2013-06-01 Thread Thomas Mueller
> On Sat, 1 Jun 2013 11:10:32 +0430, s m wrote:
> hello all
>
> > i want to install freebsd8.2 on my system. for some reasons, i need
> > partitions more than 6. my freebsd just allow me to define partitions
> > from a to h, not any more.

> That's correct and expected for the MBR partitioning approach
> (which is considered "mostly outdated" today).



> > i checked FreeBSD handbook, but it doesn't say anything about defining
> > more partitions.

> Because you _cannot_ define more partitions than up to 'h'.
> This is a hard-defined limit of MBR-style partitions (as
> they are initialized with bsdlabel).



> > my question is: how can i define more partitions on my freebsd? (for
> > example, ad3s1a, ..., ad3s1h, ad3s1i, ad3s1j, ...).

> You cannot. You need to use the GPT partitioning approach
> and repartition your disk. With gpart, you can create more
> than 'h' partitions, but the partitions will have different
> names, such as ad3s1p1, ad3s1p2, ..., ad3s1p10, ad3s1p11, ...
> and so on.


> Polytropon
> Magdeburg, Germany
> Happy FreeBSD user since 4.0
> Andra moi ennepe, Mousa, ...


Are you sure of this?  Can you GPT-partition an MBR slice as opposed to the 
whole disk?

You should get ad3p1, ad3p2, ...,ad3p10, ad3p11, ...

Then you would have to migrate an MBR partition table to GPT, if you have 
non-FreeBSD slices.  I don't know if gpart can do that, but Rod Smith's gdisk 
(included in FreeBSD ports) or gpt (still used in NetBSD but not FreeBSD) can.

Tom

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


Re: will freebsd run on a mac osx 10.8.4

2013-07-05 Thread Thomas Mueller
I assume you are running Mac OS X 10.8.4 on Intel CPU.

I assume it must be 64-bits, so you would want amd64 version of FreeBSD, though 
you could also run i386 version.

I don't know if you could install FreeBSD on same hard disk with Mac OS X, but 
you ought to be able to install FreeBSD on a separate disk.

Tom

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


Re: Creating freebsd usb boot

2013-07-25 Thread Thomas Mueller
> Hi,
> I am Erhan,i have a problem,i read your all definition but i can not
> create usb boot FreeBSD,i have a ubuntu 12.04 operating system.I want
> to create it with FreeBSD-9.1-RELEASE-amd64-disc1.iso but when i try
> this,it shows ''boot error''.Can you help me?

Do you want to install onto USB, or do you want to install from USB?

If you want to install from USB, you could download the memstick image and 
write to USB stick (raw device) with dd.

Directory
ftp://ftp.freebsd.org/pub/FreeBSD/releases/amd64/amd64/ISO-IMAGES/9.2/

includes a memstick image,

FreeBSD-9.2-BETA1-amd64-memstick.img

or you can stay with 9.1_RELEASE if you prefer, but get the memstick.img 
instead of disc1.iso .

I have never used Ubuntu, but dd should be a standard part of most any Linux 
distro.

Tom

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


RE: Pre-sales question

2013-08-18 Thread Thomas Mueller
I would like to know if your freebsd OS 9.1 suite on CD(DVD) can be installed, 
and then run, on a Dell Inspiron 531S? I looked-over your website, and did
+not see a citation for that specific PC (though I did see it for others).

> For your reference, my PC has a AMD Athlon(tm) 64 X2 Dual core processor 
> 3800+ 2.01 GHz. The operating system on it right now (Vista) is 32-bit. The 
> PC can
> have up to 4GB of RAM. I have a 80GB Hard drive on it right now. I would like 
> to "hitch" it to the PC using a USB cable.

> If version 9.1 does run on that machine, then I may order a copy for myself.


> Glen Peterson
> Cedarburg, WI.
> peterso...@aol.com

You can go to ftp.freebsd.org/pub/FreeBSD and download iso files for FreeBSD 
amd64 and i386.

You can download FreeBSD 9.1 or the newest release candidate for 9.2 (now RC2) 
and install from CD or DVD.

Is that 80GB hard drive currently in the PC? 


Tom

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


Re: Excessive bounces

2013-08-26 Thread Thomas Mueller
> My membership to this list has been disabled due to excessive bounces.

> Could somebody please tell me how to stop these bounces in the future ?

> What is their operating mode ?

> What can I do if they do not require to break my (inclusive) firewall
> which seems to work fine and which is in place since ages ?

> Thank you in advance for any advice.


> Harald Weis

I had this problem with Insight Cable using synacor.com as spam filter, and the 
user could not disable that filter.

Some good messages were filtered out, including messages, some spam and some 
nonspam, from FreeBSD emailing lists.

I switched to by old AT&T/Yahoo bellsouth.net account.

Since Insight Cable was acquired by Time Warner Cable, that problem no longer 
exists.

Worst thing that happens is that Subject line is preceded by [SPAM], and that 
has happened with some legitimate messages.

Tom

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


Re: persistence in freeBSD

2013-09-17 Thread Thomas Mueller
> On Mon, 16 Sep 2013 10:29:26 -0400
> "Sam Fourman Jr."  wrote:

> > mount -o rw /

> That would need to be

> mount -u -o rw /

> Steve O'Hara-Smith 

I think you could shorten that to

mount -uw /

Is that correct?

Tom

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


  1   2   >