Re: Do I really have to install 80 packages?

2013-10-13 Thread Thomas Mueller
On the question of playing Adobe Flash in FreeBSD, could one use the MS-Windows 
32-bit version with (i386-)Wine?

I plan to try 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: SU+J Lost files after a power failure

2013-10-13 Thread Thomas Mueller
 On 13.10.2013 12:16, CeDeROM wrote:
  On 13 Oct 2013 11:30, David Demelier demelier.da...@gmail.com
  mailto:demelier.da...@gmail.com wrote:
  Hello there,
  I'm writing because after a power failure I was unable to log in on my
  FreeBSD 9.2-RELEASE. The SU+J journal were executed correctly but some
  files disappeared, including /etc/pwd.db. Thus I was unable to log in.
  I've been able to regenerate the password database with a live cd but
  I'm afraid that more files had disappeared somewhere else...
  I think this is a serious issue, the journal should not truncate files,
  so something should have gone wrong somewhere..
  Any ideas? Should I open a PR

  I had similar issues somewhere around 9.0 - although journal check was
  fine running fsck revealed filesystem inconsistency. I have reported
  this on the list, but it seemed unnoticed..? For me this is serious
  issue as well, if you make PR I will give +1 :-)

  CeDeROM, SQ7MHZ, http://www.tomek.cedro.info

 Yes, I've also ran fsck in single user mode after and lot of incorrect
 things were corrected, I wait a bit for answers (if any) before sending
 a PR.

Running fsck in single-user mode may not be sufficient.

You may need to run fsck_ffs from a USB-stick installation or live CD.

I remember reviving a FreeBSD partition that way, normal root partition not 
mounted.

I once revived a FreeBSD partition with fsck_ffs from a USB-stick installation 
of NetBSD 5.1_STABLE i386 after FreeBSD couldn't do it.

It helps to have a UPS to protect against short power failures and allow 
graceful shutdown on longer power outages.


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-18 Thread Thomas Mueller
 On Mon, 16 Sep 2013 10:29:26 -0400
 Sam Fourman Jr. sfour...@gmail.com wrote:

  mount -o rw /

 That would need to be

 mount -u -o rw /

 Steve O'Hara-Smith st...@sohara.org

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


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 ATT/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: 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: 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: 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: 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: List Spam Filtering

2013-05-13 Thread Thomas Mueller
Excerpt from Rich Kulawiec r...@gsp.org:

 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, ATT/Yahoo!, but still good 
under Yahoo!

So I might send either from the ATT/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: 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: Initio INIC-1615P 0101 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: ZFS - whole disk or partition or BSD slice?

2013-01-28 Thread Thomas Mueller

28.01.2013 01:57, james:
I have a 9.1 system with some SATA disks in RAIDZ, upgraded from 9.0.

The disks are all the same type, and I formatted them for FreeBSD and
put ZFS in a slice covering most of them.

I have seen suggestions for OpenIndiana etc that it is better to let ZFS
have the whole raw disk and that this can control the way it manages the
disk writeback mode.

Responses from Vladimir Kostyrko ^ :

^ My home computer is set up in the dedicated mode. No grave difference.
^ Not even a scratch.

Does this apply to FreeBSD and ZFS too?

^ No.

Presumably the disks are currently FreeBSD-specific.  If I used raw
disks instead of slices, could I read them from a Solaris system too?

^ I'm mostly sure you would be able to read disks from Solaris/x86.
^ However Solaris/Sparc uses another labeling scheme. If you want to be
^ fully compatible with other system GPT is a better choice.

Is GPT compatible with Solaris, can Solaris access a GPT disk?

I tried OpenIndiana installable live USB stick, and my Western Digital 
Caviar Green 3 TB hard disk, partitioned with GPT, was not recognized or
readable; same was true for Western Digital My Book Essential 3 TB USB 3.0
hard disk, also partitioned GPT.  This was on amd64 system.


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: SPAM-flag on FBSD list

2013-01-14 Thread Thomas Mueller
FreeBSD emailing lists are not spammers, though they let some spams through 
that their filters miss.

Insight Cable uses synacor.com spam-filtering (dis)service that the Insight 
Cable user can't turn off.

This remedy is worse than the disease in my case because it causes bounces, and 
then my list membership is disabled.

Just a few days ago, I switched my FreeBSD lists email address back to the 
old-but-still-working ATT-Yahoo bellsouth.net email.

But synacor.com only filtered out a small percentage of FreeBSD list messages, 
some but not all of which were spams.

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: Reading the handbook from console

2013-01-14 Thread Thomas Mueller

On my now-older computer (from July 2001, 256 MB RAM), svgalib ran on FreeBSD 
but was very crash-prone.

svgalib in Linux was erratic and caused color distortions when switching to an 
X window.

So I decided I wanted no part of svgalib on the new computer, FreeBSD or Linux.

Use ASCII art or framebuffer?

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: i386 vs amd64

2012-11-30 Thread Thomas Mueller
 On Thu, Nov 29, 2012 at 2:57 PM, Bill Tillman btillma...@yahoo.com wrote:

  i386 will not see anything above 4 GB


 Actually you *can* give access to 4Gb RAM for your system: PAE allows you
 to use 36 bits instead of 32 to address your memory (and supported till
 Pentium Pro) but that is only for OS (32bit apps would see 4Gb only).

 Anyway, I have not seen any troubles with 64bit installations.

 Ilya.

How does the system know what is OS and what is 32-bit apps?

Where would GCC fit in this regard, or Clang for that matter?

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: dd command: BSD analog of conv=fsync?

2012-11-19 Thread Thomas Mueller
 In the last episode (Nov 18), Thomas Mueller said:
  What is the (Free)BSD counterpart of conv=fsync in dd command?

  Command in question is

  dd if=GNOME-3.6.0.iso of=/dev/DRIVE bs=8M conv=fsync

  This is for writing to a USB stick, and of course DRIVE is replaced by the
  actual device node; also I believe bs=8M, good for Linux, would be bs=8m
  in FreeBSD.

  I don't really know if conv=fsync is necessary, but that's what was
  advised in the GNOME test-drive download page.

 It isn't.  Writing to raw devices in FreeBSD immediately writes to the
 physical media.  No flushing is needed.

 --
 Dan Nelson
 dnel...@allantgroup.com

I was able to dd GNOME-3.6.0.iso to that USB stick, a discontinued Kingston
Data Traveler model that was inaccessible to NetBSD until they fixed that
USB bug recently.  I got CAM SCSI error messages in FreeBSD, couldn't access
the USB stick in the normal way, but apparently dd worked.  These particular
Kingston Data Travelers worked normally with previous builds of FreeBSD.

That USB stick proved bootable, so I got a test drive of GNOME 3.6.0.

I had a difficult time finding my way around the graphical interface,.  When
I got to a command prompt, I found first there was no nslookup, and then found 
there was no man command.  I thought these were a standard part of (quasi-)Unix
OSes.  I didn't really get a good impression.  Also, the print/text was very
small, a recipe for eyestrain.

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: Mounting SD card.

2012-11-15 Thread Thomas Mueller
 I think that's pretty much standard behaviour. The solution appears to be
 to wake it up with the following incantation:

 dd if=/dev/null of=/dev/da0 count=0

 That's what works here. See the thread starting with
 http://lists.freebsd.org/pipermail/freebsd-questions/2010-February/212109.html

 true  /dev/da0

 is a little shorter and safer.  The search keywords for this are GEOM
 retaste or retasting.

Could you also do a read such as

dd if=/dev/da0 of=/dev/null bs=16k count=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: Groupping restored partitions into slices

2012-11-06 Thread Thomas Mueller
 Short version: Is it possible to group existing partitions into slices
 without affecting data?

 Long version:

 I had a disk sliced/partitioned like this:

 ad4s1
   ad4s1a
   ad4s1b (swap)
   ad4s1d
   ad4s1e
   ad4s1f
 ad4s2 (storage)
 ad4s3
   ad4s3a
   ad4s3b (swap)
   ad4s3d
   ad4s3e
   ad4s3f

 Then, I accidentally deleted *something* (wrong use of boot0cfg),
 which left me with /dev/ad4 only!

 scan_ffs correctly detected where all 9 data partitions begin. I
 created new bsdlabel table, wrote it to ad4, so I now have

 ad4a (former ad4s1a)
 ad4b (former ad4s1b - swap)
 ad4d (former ad4s1d)
 ad4e (former ad4s1e)
 ad4f (former ad4s1f)
 ad4g (former ad4s2)
 ad4h (former ad4s3a)
 and beginning sectors of the rest (former ad4s3d-f). Of course, I
 can't make more than 8 labels.

 I can mount all of them and I see my data. I can even 'swapon ad4b'.

 Now, the question: how can I restore s1, s2 and s3? As you can guess,
 s1 and s3 were working systems.

 Processing all this from FreeBSD-8/amd64 on another disc.

 Thanks!
 Sergi M

For FreeBSD as opposed to NetBSD, and I believe, OpenBSD, disklabels/bsdlabels
are for the slice rather than the whole disk, unless you partition the disk in
dangerously dedicated mode.  So you should create one bsdlabel for ad4s1 and
install to the beginning of that partition, and ahother bsdlabel for ad4s3 and
install to the beginning of ad4s3.  Installation would be using bsdlabel.

That's what I think, I could possibly be wrong.

You can check the bsdlabel man page, accessible online from www.freebsd.org,
even if you have no working installation of FreeBSD.

One, or actually twice, NetBSD overwrote my FreeBSD disklabel/bsdlabel.  The 
first time, I lost my FreeBSD installation but had nothing really to save,
it was time to upgrade to FreeBSD 8.0.  The second time, I had much software
installed, but had the bsdlabel information saved in a file.  I booted a
FreeBSD rescue CD and restored the FreeBSD disklabel/bsdlabel, and was back
in business.

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: Groupping restored partitions into slices

2012-11-06 Thread Thomas Mueller
 Thomas, thank you for reply! No, it wasn't dangerously dedicated disk.

 However, what is the exact command to add ad4s1 and ad4s3 using
 bsdlabel? Is it possible  at all? I thought I should use fdisk or
 gpart for that.

 Thanks,
 Sergi M

You use fdisk to create what FreeBSD calls slices such as ad4s1, ad4s2, ad4s3
and disklabel to subdivide a slice into FreeBSD partitions such as ad4s1a,
ad4s1b, ad4s1c, etc.  gpart is used to create GPT partitions such as ad4p1,
ad4p2, ad4p3, etc.  Subdividing a slice into FreeBSD partitions is used with
MBR partition/slice table but not recommended with GPT.

The online FreeBSD bsdlabel man page is online at

http://www.freebsd.org/cgi/man.cgi?query=bsdlabelapropos=0sektion=0manpath=FreeBSD+9.0-RELEASEarch=defaultformat=html

One example given is

This is an example disk label that uses some of the new partition size
 types such as %, M, G, and *, which could be used as a source file for
 ``bsdlabel -R ad0s1 new_label_file'':

 # /dev/ad0s1:

 8 partitions:
 #size   offsetfstype   [fsize bsize bps/cpg]
   a:   400M   164.2BSD 4096 1638475 # (Cyl.0 - 
812*)
   b: 1G*  swap
   c:  **unused
   e: 204800*4.2BSD
   f: 5g*4.2BSD
   g:  **4.2BSD

but you would have to replace the * with actual appropriate numbers.

After you install the disklabel, you could mount each data partition, but not
the swap partition, to see if the directory and file structure looks right.

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: Groupping restored partitions into slices

2012-11-06 Thread Thomas Mueller
 Thomas, thank you very much for your mail, but that isn't what I asked.

 Of course, I know that bsdlabel -R ad0s1 new_label_file writes new
 labels to ad0s1.

 My question is: what to do if I _lost_ s1, s2, and s3 - how to recover
 _them_ first? Without that, all I can do is to write labels table
 directly on ad0.

 SergiM.

I thought you had found where the slices and partitions had been.  Otherwise,
if you only have the BSD partitions and need to label more than 8, there is
gpart in FreeBSD base system and Rod Smith's gdisk, available in FreeBSD ports
and also on the System Rescue CD (sysresccd.org).  If you switch to GPT, you 
can accommodate 128 partitions by default, and you wouldn't need the original
slices, just the BSD partitions in what had been the slices.

If you switch to GPT as opposed to MBR, you won't use bsdlabel; partitions for
each FreeBSD installation would be listed in /etc/fstab.

If you have the data, where each slice began and ended, you can restore the
slices with fdisk.

If you can find the BSD partitions and have the media space to backup to, you
might want to backup the partitions if feasible, as protection in case you
mess up.

NetBSD disklabel can accommodate up to 16 partitions per hard disk, but
FreeBSD might not be able to properly read a NetBSD disklabel.  Also, NetBSD
disklabel is very tricky and temperamental; I'd surely trust gdisk or gpart
over NetBSD disklabel.

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: yelp could not be built because of libxul dependency (10.0 vs. 2)

2012-10-31 Thread Thomas Mueller
from Ewald Jenisch a...@jenisch.at:

 I'm trying to get my system up2date using portupgrade as usual.
 However during the upgrade process I ran into a problem during upgrade
 of yelp:

 ===   yelp-2.30.2_4 depends on package: libxul2 - not found
 ===   Found libxul-10.0.10, but you need to upgrade to libxul2.

 UPDATING has an entry for www/libxul of 20120910 that says

 ...If you want to stay with 1.9.2...

 So in order to make yelp build again, does this mean I've got to
 de-install libxul-10.0.10 and install /usr/ports/www/libxul19 again?

 Thanks much in advance for your help,
 -ewald

I posted a message on this same issue with gnash and mentioned also yelp.

In the case of gnash, libxul19 is supposed to install a file
/usr/local/lib/libxul/xpidl
but libxul-10.0.9 doesn't.

Maybe the yelp port wants/needs this file too?

That was only a few days ago, maybe libxul was updated to 10.0.10 just a day
or two ago?

libxul19 wouldn't install, both because of conflict with libxul and because
libxul19 was marked vulnerable.

So I appear stuck until they fix this bug.  File a bug report?

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: New User to FreeBSD

2012-10-07 Thread Thomas Mueller
 Let me be honest at the outset, I have never used an operating system other
 than linux with enthusiasm.
 But something about Linux always troubled me It's licensing, such
 complex family of distributions which are so different from each other.

 Which is when I came across FreeBSD. I fell in love with it, but yes I have
 never used it yet, I have tried many times to install it, but the
 installation process is really hard, I must say.
 I really want to install it on my laptop and all my systems.
 Added to the above interests of mine, I am a C++ and java developer. I want
 to use this talent that God's has blessed me with in this community.

 I want to begin with FreeBSD's very own GUI. Not depending on anyone
 (Gnome, KDE or) I want it to be soo good that a commoner shoule be
 able to work with it with ease and feel safe and secure.

 So if someone could guide me about how to get started with contributing to
 FreeBSD it would be great. Please do reach out to me for more details if
 you need that is!!!
 Send me links that will get me started with FreeBSD I am all excited for
 this new journey to begin.


 Alwin Doss
 God's Beloved

I don't think there is any such thing as FreeBSD's very own GUI.

FreeBSD's GUI is X Window System, but this is Unix's main GUI, which is also
used by other (quasi-)Unixes including Linux.

You can look through the FreeBSD Handbook online, even download it.

You can find useful links from www.freebsd.org .

Does anybody know about live USBs/CDs/DVDs for 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


Problem upgrading misc/help2man: missing language files

2012-10-02 Thread Thomas Mueller
I am unable to upgrade misc/help2man, required by autoconf and other ports that 
I want to upgrade that depend on perl and/or png. 

Currently installed version of help2man is 1.40.12 and new version is 1.40.13

I get a bundle of error messages like


Extracting help2man (with variable substitutions)

=== Creating a backup package for old version help2man-1.40.12
tar: lib/bindtextdomain.so: Cannot stat: No such file or directory
tar: share/locale/de/LC_MESSAGES/help2man.mo: Cannot stat: No such file or 
directory
tar: share/locale/el/LC_MESSAGES/help2man.mo: Cannot stat: No such file or 
directory
tar: share/locale/eo/LC_MESSAGES/help2man.mo: Cannot stat: No such file or 
directory
tar: share/locale/fi/LC_MESSAGES/help2man.mo: Cannot stat: No such file or 
directory
tar: share/locale/fr/LC_MESSAGES/help2man.mo: Cannot stat: No such file or 
directory
tar: share/locale/hr/LC_MESSAGES/help2man.mo: Cannot stat: No such file or 
directory
tar: share/locale/it/LC_MESSAGES/help2man.mo: Cannot stat: No such file or 
directory
tar: share/locale/pl/LC_MESSAGES/help2man.mo: Cannot stat: No such file or 
directory
tar: share/locale/pt_BR/LC_MESSAGES/help2man.mo: Cannot stat: No such file or 
directory
tar: share/locale/ru/LC_MESSAGES/help2man.mo: Cannot stat: No such file or 
directory
tar: share/locale/sr/LC_MESSAGES/help2man.mo: Cannot stat: No such file or 
directory
tar: share/locale/sv/LC_MESSAGES/help2man.mo: Cannot stat: No such file or 
directory
tar: share/locale/uk/LC_MESSAGES/help2man.mo: Cannot stat: No such file or 
directory
tar: share/locale/vi/LC_MESSAGES/help2man.mo: Cannot stat: No such file or 
directory
tar: share/locale/ja/LC_MESSAGES/help2man.mo: Cannot stat: No such file or 
directory
tar: man/de/man1/help2man.1.gz: Cannot stat: No such file or directory
tar: man/el/man1/help2man.1.gz: Cannot stat: No such file or directory
tar: man/eo/man1/help2man.1.gz: Cannot stat: No such file or directory
tar: man/fi/man1/help2man.1.gz: Cannot stat: No such file or directory
tar: man/fr/man1/help2man.1.gz: Cannot stat: No such file or directory
tar: man/hr/man1/help2man.1.gz: Cannot stat: No such file or directory
tar: man/it/man1/help2man.1.gz: Cannot stat: No such file or directory
tar: man/pl/man1/help2man.1.gz: Cannot stat: No such file or directory
tar: man/pt_BR/man1/help2man.1.gz: Cannot stat: No such file or directory
tar: man/ru/man1/help2man.1.gz: Cannot stat: No such file or directory
tar: man/sr/man1/help2man.1.gz: Cannot stat: No such file or directory
tar: man/sv/man1/help2man.1.gz: Cannot stat: No such file or directory
tar: man/uk/man1/help2man.1.gz: Cannot stat: No such file or directory
tar: man/vi/man1/help2man.1.gz: Cannot stat: No such file or directory
tar: man/ja/man1/help2man.1.gz: Cannot stat: No such file or directory
tar: Error exit delayed from previous errors.
pkg_create: make_dist: tar command failed with code 256


So here I am stuck.  I don't know whether the fault is with my installed 
help2man-1.40.12 or the distfile for 1.40.13.  

How do I get past this impasse?  I suppose I could use -x misc/help2man in 
portmaster commands, but don't really want to do that if 1.40.13 is good but my 
installation of 1.40.12 is corrupted.

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: A problem with loader

2012-10-02 Thread Thomas Mueller
from Zbigniew zbigniew2...@gmail.com :

 installed recently 9.0 - and I've got a little problem: while booting,
 loader somehow gets incorrect currdevice value, stopping boot
 process. It does get disk1s6a, but it should be disk1s7a. I can
 boot system, when I set currdev manually, then type boot.

 But how can I change it for steady, avoiding this typing each time? Of
 course, loader won't read its config files, when not having access to
 root directory. How can I pass the proper value to loader immediately?

 Maybe the fact, that I'm booting FreeBSD using GRUB, can be of any help?
 -- 
 regards,
 Zbigniew

Which GRUB are you using, legacy (0.97) or GRUB2?

Are you sure you specify the partition correctly in GRUB?

Partition numbering starts from 0 in GRUB legacy but from 1 in GRUB2.


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 subversion to keep source, system and doc files up to date?

2012-09-27 Thread Thomas Mueller

from David J. Weller-Fahy dave-lists-freebsd-questi...@weller-fahy.com:

 svn update /usr/src/

When you use svn the first time, svn doesn't know where the repository is, 
and svn repository is not fully in sync with cvs or csup repository.

So you might need, in a fresh directory,

svn co svn://svn.freebsd.org/base/stable/9 /usr/src

This is for 9-stable.

To update,

svn up /usr/src

To find paths for other repositories,
http://svnweb.freebsd.org/base

Web site reference is
http://mebsd.com/configure-freebsd-servers/update-freebsd-source-tree-using-subversion-svn.html


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: fsck not working on messed-up file system

2012-09-20 Thread Thomas Mueller
 * PLEASE RERUN FSCK *

  Script done on Wed Sep 19 04:17:27 2012


  Would this indicate a software bug, or is my Western Digital Caviar Green
  3 TB hard drive failing?

 Either something was referencing sectors off the end of the disc,
 or the drive is failing. I'd be inclined to copy the data off somewhere
 safe and subject the disc to extensive tests with smartctl from
 smartmontools, then if it passes recreate the fileystem(s) and restore the
 data.

 Steve O'Hara-Smith at...@sohara.org

I went looking to see if there was something more powerful than fsck in the 
ports tree, category sysutils, but didn't find anything.

I wonder why NetBSD fsck was able to revive the partition when FreeBSD fsck got 
stuck in a loop, though I easily got out of said loop by not re-rerunning fsck.
Maybe NetBSD fsck was better than FreeBSD fsck for repairing NetBSD mischief?

It might be good to build, from ports, not only smartmontools but also 
subversion, on my backup 8 GB FreeBSD USB stick.

I might also want to rerun cvs up -dP on the NetBSD pkgsrc and system-source 
directories before using again, hoping to retrieve anything that might have 
been lost. 

  Script started on Wed Sep 19 04:15:02 2012
  fsck_ffs /dev/ada0p9

 just to make sure: the partition was not mounted when you started fsck?

  Now I wonder if the file system is really fixed, with possibly some
  files in /pkgsrc subdirectories lost, or if the hard drive is
  starting to fail.

 You see it soon. I would not bother about a single problem like this. I
 have had it over and over again at a location with bad power supply
 with a normal PC without UPS.

 The hard disk is - one year later - still working in a different
 location without any new problems.

 Erich

I remembered not to run fsck on a mounted partition.

When I booted into NetBSD, I mounted the partition, /dev/dk6, and found it 
didn't look trashed, though there was a warning regarding the dirty flag.

Then I umounted before running fsck_ffs, successfully.

It was not a power problem, I have Opti-UPS.

NetBSD crashed a few times with the partition in question mounted.

Starting X and exiting X are high-crash-risk in NetBSD.

Maybe using the same partition by both FreeBSD and NetBSD induces file system 
errors?  Or maybe it's the NetBSD system crash.

I could be sure to not have any partition on 3 TB hard disk mounted 
unnecessarily when running NetBSD: umount when finished and before running X.



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


fsck not working on messed-up file system

2012-09-19 Thread Thomas Mueller
I have or had a problem with a file system (FreeBSD UFS2) messed up, either by 
errant software or system freeze/crash.

I successfully cross-compiled, from FreeBSD 9.0-STABLE, a NetBSD 5.1_STABLE 
i386 system to install on 8 GB USB stick.

I have both the NetBSD system source as well as pkgsrc and the FreeBSD ports 
tree on a FreeBSD partition originally used for FreeBSD 9.0-BETA1, hence I use 
/BETA1 as the mount point.  This partition is /dev/ada0p9 in FreeBSD and 
/dev/dk6 in NetBSD.

I subsequently built modular-xorg for this NetBSD installation, installating to 
USB stick but doing the heavy compiling on the hard-drive partition.

NetBSD, especially with X, is rather freeze/crash-prone, meaning file system is 
not cleanly umounted.

I then tried to cross-compile, from same NetBSD source tree, NetBSD 5.1_STABLE 
amd64 but was thrown in the debugger (db), not really knowing what to do 
there.  Choosing reset did not provide clean file-system unmount.

I had to run fsck /dev/ada0p9 on the reboot, got unreadable sectors and 
eventually a prompt to run fsck again.  I did this but got to an infinite loop, 
where I got the same prompt again to run fsck again, with the same unreadable 
blocks.

I got the same thing booting a backup installation of FreeBSD 9.0_STABLE amd64 
on a USB stick.

I eventually ran with script to capture the output onto another USB stick, 
sorry about all those ASCII 13s at the ends of the lines:

Script started on Wed Sep 19 04:15:02 2012
fsck_ffs /dev/ada0p9
** /dev/ada0p9
** Last Mounted on /BETA1
** Phase 1 - Check Blocks and Sizes

CANNOT READ BLK: 7584192
CONTINUE? [yn] y

THE FOLLOWING DISK SECTORS COULD NOT BE READ: 7584318, 7584319,
** Phase 2 - Check Pathnames
** Phase 3 - Check Connectivity
** Phase 4 - Check Reference Counts
** Phase 5 - Check Cyl groups
1475900 files, 4638292 used, 21162419 free (61643 frags, 2637597 blocks, 0.2% 
fragmentation)

* FILE SYSTEM STILL DIRTY *

* PLEASE RERUN FSCK *

Script done on Wed Sep 19 04:17:27 2012


Would this indicate a software bug, or is my Western Digital Caviar Green 3 TB 
hard drive failing?

I booted that USB stick with NetBSD 5.1_STABLE i386, successfully mounted that 
partition, /dev/dk6 in NetBSD, but got the message about dirty flag.

So I umounted and ran NetBSD fsck_ffs, and after removing some files, mainly in 
/pkgsrc directory, and salvaging some stuff, got apparent success, and now that 
file system is again accessible in both NetBSD 5.1_STABLE i386 and FreeBSD 
9.0_STABLE amd64.

Now I wonder if the file system is really fixed, with possibly some files in 
/pkgsrc subdirectories lost, or if the hard drive is starting to fail.

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: svn and/or portsnap

2012-09-12 Thread Thomas Mueller

Regarding my question,

How do you get the ports tree or svn in that case if not using portsnap?

Helmut Schneider had two suggestions:

 You install ports from CD/DVD. Or use pkg_add -r subversion. :)

 ftp://ftp.freebsd.org/pub/FreeBSD/ports/ports/

I guess I could use the latter and then build subversion among other ports, 
then subsequently switch to svn.

This would also work, I would guess, if ports tree is installed by bsdinstall 
or sysinstall.

Question arises whether the ports tree as downloaded in tarball by ftp would be 
compatible/in sync with portsnap or svn.

If in any doubt, either delete /usr/ports/* or move to /usr/ports-by-ftp and 
then restart fresh with svn.

I noticed the FreeBSD Handbook ports section was not up-to-date on the use of 
subversion with the ports tree.

Maybe with subversion now being elevated in importance for updating system 
source code and ports tree, it could become part of the base system.

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: svn and/or portsnap

2012-09-11 Thread Thomas Mueller
On Sun, 9 Sep 2012 10:37:03 + (UTC), Helmut Schneider wrote:
 Hi,

 I'm running a custom kernel so I (guess I) need svn in future to fetch
 sources instead of cvsup. Should I still use portsnap then for ports or
 also fetch them via svn?

Polytropon responded:

 Ports and system sources are managed independently. You can
 use whatever tool you want. Note that portsnap _might_ not
 deliver the most current ports tree for a given point in
 time. For short time deltas, CVS has often proven to be
 the better tool, but of course portsnap has significant
 advantages (e. g. faster for longer pauses between ports
 tree updates, better integration with make update target).
 Depending on your updating habits, choose the tool that
 works best for you.

One question comes up that I didn't think of immediately.

How do you use svn on a fresh install of FreeBSD, no ports yet?

svn/subversion is not part of the base system.

How do you get the ports tree or svn in that case if not using portsnap?

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: text editor

2012-08-29 Thread Thomas Mueller
On getting vim text editor (vi improved) for FreeBSD, you can either pkg_add 
or use the ports system, where you build from source code with a convenient 
setup.  You can check http://www.freebsd.org/ and check the documentation, 
including the handbook and ports system.

I've heard of Cygwin but never run it because I don't have MS-Windows 
installed.  From what I read, it creates a Unix-like environment under 
MS-Windows.

I hear that MS is getting rid of 16-bit DOS compatibility, so you might not be 
able to run DOS software under Win 7.  But you can go to

http://www.dosbox.com/

DOSBox can run under current Unix-like OSes and also MS-Windows.  You may be 
able to download a win32 installer, I just found it there, would that run on 
64-bit Windows?

I have run (Borland) Quattro Pro 5 for DOS under Linux, NetBSD and FreeBSD with 
DOSBox.

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: Partitioning with gpart

2012-08-29 Thread Thomas Mueller
from Lynn Steven Killingsworth blue.seahorse.syndic...@gmail.com:

 I have installed PC-BSD 9.1 RC1 last week.  Very nice I must say.

 The default file system is zfs.  I have one storage disk which is ufs and
 another which is on an mbr partition.  I thought I would format the mbr
 disk with zfs and move everything from the ufs disk and then format the
 ufs disk with zfs.

 I have not tried the command line before so I just tried to create over
 the disk with: gpart create -s gpt ada2

 The message is that ada2 already exists as a file system.

 Show indicates that it is not gpt but mbr.

 Then in order to start over I tried to delete and destroy by starting with:

 gpart delete -i 1 ada2s1

 The message is that ada2s1 is an invalid argument.

 I cannot experiment on my backup as it has only one disk.

 Comment please?

Either gpt (included in FreeBSD prior to the switch to gpart) or gdisk (now at 
v0.8.5 and in FreeBSD ports) can migrate an MBR-partitioned disk to GPT without 
loss of data in many cases, though backing up is still advised.

You can find information about gdisk at
http://www.rodsbooks.com/gdisk/

gdisk is much more versatile than gpart, can be used to make partitions for 
Windows, Linux, NetBSD, etc.

I don't think you can get gpt for FreeBSD, but if you're curious, you can go to
http://www.netbsd.org/
and look for the documentation/man pages.

It was gpt in NetBSD that I used to migrate an NTFS partition (MBR) spanning an 
entire 3 TB Western Digital My Book USB 3.0 hard drive to GPT, no data was lost.

I subsequently booted Linux from the System Rescue CD (http://sysresccd.org/) 
and copied the software/data to a USB stick so I could free the USB 3.0 hard 
drive for better things.  Maybe I could have done the repartitioning with 
gdisk, which is included on the System Rescue CD, this would be 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: Upgrading 9.1-BETA1 - 9.1-RC1

2012-08-25 Thread Thomas Mueller
from Maarten Billemont lhun...@lyndir.com:

 I've installed a FreeBSD server using the BETA1 release because RC1 was 
 delayed.  I notice the 9.1-RC1 is available now, so I thought I'd upgrade 
 ASAP.

 The following command, however, fails me:

 freebsd-update -r 9.1-RC1 upgrade
 Looking up update.FreeBSD.org mirrors... 3 mirrors found.
 Fetching metadata signature for 9.1-BETA1 from update4.FreeBSD.org... failed.
 Fetching metadata signature for 9.1-BETA1 from update3.FreeBSD.org... failed.
 Fetching metadata signature for 9.1-BETA1 from update5.FreeBSD.org... failed.
 No mirrors remaining, giving up.

 Upon inspection of the code, it appears BETA1's ssl.pub cannot be found at 
 any of the mirrors, and as such the process aborts.

 The release notes for RC1 specifically mention freebsd-update.

 How do I perform a correct update to RC1, and why is the freebsd-update flow 
 failing me or not supported?

 Thanks!

I believe freebsd-update only works, to and from, on supported releases; this 
would not include betas.

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 9.1-RC1 Available...

2012-08-25 Thread Thomas Mueller
from Peter Wemm pe...@wemm.org:

 As a data point.. if you're talking about stable/9, then that is
 still available via cvs/csup/cvsup as RELENG_9.

 If you track 9-stable, you're unaffected.

 I got two private emails about this.

 To be clear, yes, if you're tracking RELENG_9, you will get
 9.1-STABLE, and future 9.2 things just like before.

 All that is missing is the release management branch.

 But there will never be a RELENG_10* anything in cvs.

from Ken Menzel kenfree...@icarz.com:

 As I see no answered your real question. But I agree with them: yes you
 can still use csup or cvsup for releng_9 (stable 9).

 But as to your question, if you are switching to svn to try it out: In
 my experience I had to remove (rm -rf /usr/src) /usr/src or the old
 files remained. The checkout process did not update the existing files.
 But maybe I did something wrong.

 Tools other than cvs and cvsup are unaffected.  You can still use
 portsnap or make fetch in /usr/ports etc.

 Ken

This should help get me started.

I could even attempt to cover both bases with

cd /usr
mv src src-csup
mkdir src

and be ready to go with svn.

But since I could run csup again if needed/desired, this might be overkill, 
unless I want to compare the file formats.

It looks like it would be easier to keep track of revision number with svn than 
with csup.

If svn is going to be the main tool for keeping up to date with source, then 
subversion ought to become part of the base system.

I might some day want to try 10-current (HEAD) on a different partition, then 
csup will not work at all to get the source.

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: Warning - FreeBSD (*BSD) entanglement in Linux ecosystem

2012-08-23 Thread Thomas Mueller
 So this statement in the WikiP is false?

 systemd is Linux-only by design, as it relies upon features such as
 cgroups and fanotify.[6] Debian is avoiding the adoption of systemd due
 to this issue.[7]

 --
 Randal L. Schwartz - Stonehenge Consulting Services, Inc. 

I read an article online about some Linux constructs make it very difficult to 
port some software to BSD.

This included systemd, also Xfce and GNOME 3.

I figure this is why GNOME 3, out for some time now, has not yet been ported to 
FreeBSD ports or NetBSD 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: 9.0 release not dead but barely breathing after idling

2012-08-22 Thread Thomas Mueller
from Gary Aitken free...@dreamchaser.org:

 Aargh...
 So my 9.0 RELEASE system no longer totally hangs when sitting idle...
 it seems to run quite a bit longer, waking up from screen blanking in general
 even after long (overnight) periods of sitting idle.  However, not always.

 X (screen was allowed to blank after 10 min, I'm testing w/ that off now.)
 blanked the screen.
 I come back after a few hrs of the system doing nothing (leaving a lot of 
 stuff open, esp in firefox) and the screen is blank (expected) but doesn't 
 wake up.

 I can ping from another machine, but not rlogin (no response).
 That seems weird.
 /var/log/messages shows no activity around attempted rlogin time
 Previously, before I turned off memory hole mapping in bios,
 it would go totally dead, but now it's clearly breathing.
 Power switch doesn't do a soft reboot,
 but I haven't tested it independently to see if it works at all.
 Will do that on next reboot.

 Question:

(snip)

I had a problem roughly like yours with 9.0-RELEASE, with a mystery hang after 
running
cvs up -dP
in a NetBSD pkgsrc tree

and a mystery reboot after long idleness where the uptime was about 48 hours.

That mystery reboot happened when I was only a few feet away (one or two 
meters?), in the same room, within hearing distance of the sounds, so I was 
able to attend to the reboot, what the computer booted into.

Also, I have Intel Sandy Bridge system and had read that I needed to upgrade to 
STABLE or HEAD to get the graphics updates.

So I switched from RELENG_9_0 (9.0-RELEASE + patches) to RELENG_9 (STABLE), 
without asking on the emailing list, and that solved the 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: fsck on FAT32 filesystem?

2012-07-22 Thread Thomas Mueller
Regarding the security of various methods of deleting data, I just saw in 
Office Depot's online ad for the coming week, which is the reason I couldn't 
post this any earlier:

Need to discard an old PC but worried about protecting your identity?

Let us securely erase your personal files and pictures for only $49.99.

We use the only permanent data deletion software certified by NIAP, used by the 
Department of Defense and Fortune 500 Companies.

(quoting verbatim but formatting not preserved)

URL was 

http://officedepot.shoplocal.com/OfficeDepot/BrowseByPage?storeid=2501355promotionviewmode=1promotioncode=OfficeDepot-120722listingid=0sneakpeek=N#

Personally, I'd save the money, time and gasoline too, and use dd if=/dev/zero 
of=/dev/(disk-to-be-deleted) bs=1M

from FreeBSD or other (quasi)-Unix OS.

Or if that's not good enough, DBAN which is on the System Rescue CD 
(sysresccd.org).

I suppose the average MS-Windows user is not aware of these money-saving 
methods.

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


Questions on ndis for USB wireless adapter

2012-07-16 Thread Thomas Mueller
I am having problems getting the Hiro USB wireless adapter to work and think I 
might possibly be missing something.

Chip is Realtek RTL8191S.

I read the man pages for ndisgen and ndiscvt and the FreeBSD Handbook online.

Do I need 
options NDISAPI   # and
device ndis

in the kernel config, even if I use modules resulting from ndiscvt or ndisgen?

I suppose these wouldn't hurt, I just put them in the kernel configs for i386 
and amd64, awaiting next system rebuild for FreeBSD 9.1-BETA1 or PRERELEASE.

Also, I notice, in addition to the .inf and .sys files, there is a .cat file in 
the MS-Windows drivers:

net8192su.cat   net8192su.inf   rtl8192su.sys

What is the .cat file, is it a firmware driver?

Drivers are included for MS-Windows 2000, XP, Vista and 7; all but Win 2000 
include 32-bit and 64-bit.

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: Broken link on your website

2012-07-14 Thread Thomas Mueller
Snippet from Robert Bonomi regarding spam from Emma Haze emmakh...@gmail.com:


 Now, *PLEASE* stop bombarding the innocent users of the support mailing-list
 with your ignorant, ill-informed, impossible-of-fullfilment nonsense.

 Continued spamming off the mailing-list might well result in numerous people
 deciding to forward all their junk email to you, as 'thanks' for wasting their
 time.

One problem with this is that spammers typically use phony email addresses:
either somebody else's or a nonexistent email address.

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: 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: 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 free...@edvax.de 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: 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 hel...@abv.bg:

 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 hel...@abv.bg:

 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: WITHOUT_MODULES in /etc/make.conf doesn't work

2012-07-04 Thread Thomas Mueller
from Polytropon free...@edvax.de:

 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 jakub_l...@mailplus.pl:

 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-03 Thread Thomas Mueller
from Polytropon free...@edvax.de:

 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 woj...@wojtek.tensor.gdynia.pl :

  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


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: OT: Linux EXT4 dump/restore equivalent?

2012-06-29 Thread Thomas Mueller
Peter A. Giessel pgies...@mac.com 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


Re: OT: Linux EXT4 dump/restore equivalent?

2012-06-28 Thread Thomas Mueller
On Jun 28, 2012, at 11:59, Vincent Hoffman vi...@unsane.co.uk wrote:

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

Peter A. Giessel pgies...@mac.com 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: Omega Zip Drives on FreeBSD 8.*

2012-06-25 Thread Thomas Mueller
from Al Plant n...@hdk5.net:

 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: 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 mike.je...@rogers.com:

 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 n...@hdk5.net:

 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: 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
 | __  t...@tackymt.homeip.net

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: 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: CLANG vs GCC tests of fortran/f2c program

2012-06-21 Thread Thomas Mueller
Snippet from Wojciech Puchar woj...@wojtek.tensor.gdynia.pl:

 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 scli...@gmail.com:

 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 olivares14...@gmail.com:

 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-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: Why Clang?

2012-06-18 Thread Thomas Mueller
 On 17 June 2012 21:37, Thomas Mueller mueller...@insightbb.com 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 naylor.b.da...@gmail.com
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-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


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: ports: make config-recursive doesn't really

2012-06-11 Thread Thomas Mueller
from Gary Aitken free...@dreamchaser.org:

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


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

2012-06-08 Thread Thomas Mueller
Snippet from David Christensen dpchr...@holgerdanske.com:

 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: Is this something we (as consumers of FreeBSD) need to be aware of?

2012-06-07 Thread Thomas Mueller
Snippet from Jerry je...@seibercom.net:

 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-06 Thread Thomas Mueller

- Original Message -
From: David Christensen dpchr...@holgerdanske.com

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: 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: (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 woj...@wojtek.tensor.gdynia.pl:

 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


(no subject)

2012-06-01 Thread Thomas Mueller
On 29 May 2012 20:06,  phnxcs_...@lycos.com 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: 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:ST1000LM 024 HN-M101MBB   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:Jmicron Corp.  at usbus4
  umass2:Jmicron Corp. Usb production, class 0/0, rev 2.10/1.00, addr 1  
 on usbus4
  ugen4.2:Jmicron Corp.  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 free...@dreamchaser.org 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: Seagate at usbus0
 umass0: Seagate FreeAgent GoFlex, class 0/0, rev 3.00/1.00, addr 1 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: Seagate FreeAgent GoFlex 211 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 a...@dreamchaser.org :

 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


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


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


Re: ports tree

2012-05-26 Thread Thomas Mueller
from Henri Reinikainen henr...@gmail.com:

 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


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

2012-05-22 Thread Thomas Mueller
- Original Message -
From: Gary Aitken free...@dreamchaser.org
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 ports-supfile, 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: 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: 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

...
reboot in single user mode
mergemaster -p 
make installworld
mergemaster -i  (one may wish also -U)
make delete-old
reboot

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: This does look strange

2012-05-15 Thread Thomas Mueller
From Bernt Hansson b...@bananmonarki.se:

 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-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


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: help me please

2012-05-12 Thread Thomas Mueller
from Vinicio Santiago Altamirano Mendez mail@gmail.com:

 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


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

2012-04-08 Thread Thomas Mueller
from Xavier xavierfreebsdquesti...@gmail.com:

 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: 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: 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: USB 3.0 with FreeBSD 8.1

2012-01-28 Thread Thomas Mueller
from: Matthias Fechner ide...@fechner.net:

  b)  Does 9.0 have USB 3.0 support.

 my system says:
 Jan 27 22:16:51 server kernel: xhci0: XHCI (generic) USB 3.0
 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 jsaipakoim...@spyzone.fr:

  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: 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 fr...@spamexpire-201201.rodent.frell.theremailer.net 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: 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


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: FreeBSD ROX Desktop

2011-12-09 Thread Thomas Mueller


--- On Sat, 12/10/11, Douglas F Taylor dft...@gmail.com 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


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

2011-11-28 Thread Thomas Mueller
 On 11/27/11, Lowell Gilbert freebsd-questions-lo...@be-well.ilk.org wrote:
  b. f. bf1...@googlemail.com 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: options atapicam and/or device ATA_CAM in kernel config?

2011-11-26 Thread Thomas Mueller

Thomas Mueller mueller6...@bellsouth.net 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 freebsd-questions-lo...@be-well.ilk.org 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. bf1...@googlemail.com:

 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: Quick build of stripped-down kernel

2011-11-24 Thread Thomas Mueller
from b. f. bf1...@googlemail.com:

 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


  1   2   >