Have I poisoned something in USB filesystems?

2008-07-21 Thread Charles Bacon

I have 2 mem sticks and several CF cards from a Nikon Coolpix camera.
In the past I've freely used these both ways, through USB.
My OS is, via uname -a:

FreeBSD daisy.local 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 10:35:36 
UTC 2008   [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  amd64


I had a problem with a new 4GB CF card which wouldn't mount in an
audio recorder (M-Audio Microtrack), and tried formatting it using the
recorder's own formatter.  OK so far.  But it wouldn't mount on my
FreeBSD.  So I perhaps unwisely tried working from scratch, rebuilding
the MBR (copied from /boot/mbr) and using fdisk from there.

Now I can mount it and all the other (photo) CF cards, but xv(1) for
the first time complains of *.jpg saying: filename: Corrupt JPEG
data: premature end of data segment and quits.

At one time I guessed perhaps badly that I should use fdisk with powers
of two and rebuild a CF card with 64 heads and 32 sectors; let the #cyls
fall out.  Looks good, but now fdisk on all my USB CF cards says those
are the numbers unless I use fdisk -i -t.

Yet I can reboot.  When I do, CF cards still mount and are still not
viewable with xv.  something strange has happened and I wonder if some
persistent data regarding msdosfs structures has been written.

I had hoped that #cyl, #head, #sec values would be ignored in favor of
LBA, but I guess I'm wrong.

Any ideas?
Chuck Bacon -- [EMAIL PROTECTED]
ABHOR SECRECY -- DEFEND PRIVACY
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


End-of-life for my amd64 ?

2007-09-18 Thread Charles Bacon

I installed FreeBSD-RELEASE6.2 last January, and wonder if there will be
a 6.3.  Just discovered freebsd-update(8), tried it out, and saw:

WARNING: FreeBSD 6.2-RELEASE is approaching its End-of-Life date.
It is strongly recommended that you upgrade to a newer
release within the next 4 months.

1. Now I wonder if I'll have to rebuild my filesystems again when 7.0
   comes out.  ...releases/amd64 contains only 6.1 and 6.2 among the
   ISO images.

2. I've been a wannabe sysadmin for years and have enjoyed FreeBSD since
   it was 386BSD.  However, I am slow to catch up, and would appreciate
   (and suggest) short links to various entities which are either recent
   or important to an admin.  A checklist, much less than a man page, and
   more an introduction, e.g. freebsd-update(8) does just that, and may
   be useful once the current release has been in use for more than a few
   months.

Chuck Bacon -- [EMAIL PROTECTED]
ABHOR SECRECY -- DEFEND PRIVACY
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


firefox plugins

2007-08-27 Thread Charles Bacon

I'm unable to find any reference to amd64 on Firefox FAQ and other
info sources.  I have an EVGA mobo with an AMD64 running FreeBSD 6.2
perfectly, with Firefox.  But every attempt at a plugin complains
either that it isn't windows or that it's an amd64.  I really want to
run Flash material.  Any ideas?

Chuck Bacon -- [EMAIL PROTECTED]
ABHOR SECRECY -- DEFEND PRIVACY

PS: next I may ask about codecs for Audacity :-)
PPS: I try to be complete, so here's uname -a:

FreeBSD daisy.local 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 12 08:32:24 
UTC 2007[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC amd64


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


6.1-RELEASE-amd64 portsnap fetch fails

2006-08-25 Thread Charles Bacon

8/25/06
I have tried to use portsnap; it seems like a good way to get my feet wet into
the world of incremental updates.

Environment: Home LAN fed by DSL service; ISP's dhcp to a Netopia router;
fixed 192.168.1/28 on LAN.
DAISY is made of the following:
EVGA 133-K8-NF41 Socket 939 MoBo with AMD Athlon 64 3000+
/var is 1GB 7%full

uname -a:
FreeBSD daisy.local 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Mon Aug 14 21:46:21 EDT
2006 [EMAIL PROTECTED]:/usr/src/sys/amd64/compile/DAISY  amd64

PROBLEM: portsnap fetch fails in the following manner reliably (well, 2 tries):

DAISY:/var/db Aug24 19:19:44 sudo portsnap fetch
Password:
Looking up portsnap.FreeBSD.org mirrors... using portsnap2.FreeBSD.org
Fetching public key... done.
Fetching snapshot tag... done.
Fetching snapshot metadata... done.
Fetching snapshot generated at Wed Aug 23 20:31:33 EDT 2006:
a6a4a76827c593099eadbff71a3788f9cd9eaf0264c343100% of   43 MB   89 kBps 00m00s
Extracting snapshot... done.
Verifying snapshot integrity... done.
Fetching snapshot tag... done.
Fetching snapshot metadata... done.
Updating from Wed Aug 23 20:31:33 EDT 2006 to Thu Aug 24 17:20:00 EDT 2006.
Fetching 4 metadata patches. done.
Applying metadata patches... done.
Fetching 4 metadata files... /usr/sbin/portsnap: cannot open 
a4ec457a31b3ec590ff47e11d7bf481f4ff4e0aa0564879639a2ef3196d91811.gz: No such 
file or directory
metadata is corrupt.
DAISY:/var/db Aug24 19:29:22

ll /var/db/portsnap reveals:
total 2660
drwxr-xr-x  3 root  wheel  512 Aug 25 17:29 .
drwxr-xr-x  7 root  wheel  512 Aug 25 18:12 ..
-rw-r--r--  1 root  wheel  1323343 Aug 25 17:28 INDEX
-rw-r--r--  1 root  wheel  260 Aug 25 17:29 filelist
drwxr-xr-x  3 root  wheel  1341440 Aug 24 21:54 files
-rw-r--r--  1 root  wheel  520 Aug 25 17:29 patchlist
-rw-r--r--  1 root  wheel  451 Aug 25 16:54 pub.ssl
-rw-r--r--  1 root  wheel   54 Aug 25 17:19 serverlist
-rw-r--r--  1 root  wheel  299 Aug 24 21:58 tINDEX
-rw-r--r--  1 root  wheel  299 Aug 25 16:54 tINDEX.new
-rw-r--r--  1 root  wheel   85 Aug 25 17:19 tag
-rw-r--r--  1 root  wheel   85 Aug 25 17:29 tag.new

Monstrous directory size is result of 15719 files present, each with
hideously long filenames.

I have done  rm -r /var/db/portsnap  and repeated the above; same result.

I believe there were no errors in both downloads.

Possible cause ??: Bad KEYPRINT in /etc/portsnap.conf (unchanged except for
uncommenting the two REFUSE statements).  In any case, here's portsnap.conf
(except for stripped comments):
SERVERNAME=portsnap.FreeBSD.org
KEYPRINT=9b5feee6d69f170e3dd0a2c8e469ddbd64f13f978f2f3aede40c98633216c330
REFUSE arabic chinese hebrew hungarian japanese
REFUSE korean polish russian ukrainian vietnamese
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Getting NTP (ntpd, ntpdate) to work

2006-07-02 Thread Charles Bacon

Thanks for the return!  I've discovered my ISP has apparently shut off
port 123 (NTP), and if I dontpdate -u ntp.cape.comI get my
time set!  But ntpq lacks ntpdate's option to use an unprivileged port.
I guess time is come to ask my ISP.  (Shouldn't I have done tha before :-]

Again thanks!
Chuck Bacon -- [EMAIL PROTECTED]
ABHOR SECRECY -- DEFEND PRIVACY
PS: Yes, I use netmask 255.255.255.240 (0xfff0); a vain hope that
there's a tiny increment of security in it, and a belief in the definitions
of net classes.

On Sun, 18 Jun 2006, Nick Withers wrote:

On Sat, 17 Jun 2006 21:30:55 -0400 (EDT)
Charles Bacon [EMAIL PROTECTED] wrote:


Since FreeBSD 4.5-Release, I have been unable to get NTP working on
my two FreeBSD computers, one running 5.3Release and the other on
6.1Release.  I have done nothing with the GENERIC kernel on either
machine.  I talk SSH between them, and have been running ntpd on
both, each naming the other as well as two external servers.

My network is a typical home net, using 192.168.1/28,


You mean /24 (i.e.: 255.255.255.0, Class C), yeah?


served by a DSL router which does NAT for my external traffic.
Internal comms. is through switches, plus one hub.  Each computer
(plus some others running Windows) has easy access out, and is
invisible from the Internet exceptt for responses.

Here's my ntp.conf, identical on my two computers:

server ntp.cape.com
server ntp.ourconcord.net
driftfile /var/db/ntp.drift
logfile /var/log/ntplog
pidfile /var/run/ntpd.pid
logconfig =all
peer 192.168.1.3
peer 192.168.1.2(much comments removed)

With mediocre diagnostic skill, I have finally discovered tcpdump.
It told me after much experiment, that the relevant port (NTP, 123) was
unreachable.  This sounds significant, but I can't find a list of the
reachability of ports.


Try netstat(1). netstat -anp udp might be of help in
particular, here.


I've looked at ng*, mac_* and pf* and finally bpf*, and only the last seems
to exist in /dev.

I had expected that GENERIC would impose only slight filtering somehow,
and certainly not shut off NTP!  I guess I need help.


If you've loaded a firewall such as IPFW in /etc/rc.conf a
kernel module will be loaded for it, if it's not compiled
statically into hte kernel already (which it isn't on GENERIC
for either 5.3-RELEASE or 6.1-RELEASE). kldstat will list
loaded modules (and the IPFW module is ipfw.ko).


Thanks for any help you can give, and I accept any opprobrium for trying
to be a sysadmin, even for my home boxen.

Chuck Bacon -- [EMAIL PROTECTED]
ABHOR SECRECY -- DEFEND PRIVACY

--
Nick Withers
email: [EMAIL PROTECTED]
Web: http://www.nickwithers.com
Mobile: +61 414 397 446

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


Getting NTP (ntpd, ntpdate) to work

2006-06-17 Thread Charles Bacon

Since FreeBSD 4.5-Release, I have been unable to get NTP working on
my two FreeBSD computers, one running 5.3Release and the other on
6.1Release.  I have done nothing with the GENERIC kernel on either
machine.  I talk SSH between them, and have been running ntpd on
both, each naming the other as well as two external servers.

My network is a typical home net, using 192.168.1/28, served by a
DSL router which does NAT for my external traffic.  Internal comms.
is through switches, plus one hub.  Each computer (plus some others
running Windows) has easy access out, and is invisible from the
Internet exceptt for responses.

Here's my ntp.conf, identical on my two computers:

server ntp.cape.com
server ntp.ourconcord.net
driftfile /var/db/ntp.drift
logfile /var/log/ntplog
pidfile /var/run/ntpd.pid
logconfig =all
peer 192.168.1.3
peer 192.168.1.2(much comments removed)

With mediocre diagnostic skill, I have finally discovered tcpdump.
It told me after much experiment, that the relevant port (NTP, 123) was
unreachable.  This sounds significant, but I can't find a list of the
reachability of ports.  I've looked at ng*, mac_* and pf* and finally
bpf*, and only the last seems to exist in /dev.

I had expected that GENERIC would impose only slight filtering somehow,
and certainly not shut off NTP!  I guess I need help.

Thanks for any help you can give, and I accept any opprobrium for trying
to be a sysadmin, even for my home boxen.

Chuck Bacon -- [EMAIL PROTECTED]
ABHOR SECRECY -- DEFEND PRIVACY
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


in FreeBSD-4.5R: nl_langinfo() - where is it?

2004-03-05 Thread Charles Bacon
I've downloaded the FreeBSD 4.5-version of OpenOffice.org1.1.0 -
this is the second version of OpenOffice.org I've tried.
Incanting openoffice-1.1 (or any of the symlinks which point to it)
results in the message
  /usr/libexec/ld-elf.so.1:
  /usr/local/OpenOffice.org1.1.0/program/libsal.so.3: Undefined symbol
  nl_langinfo

I built my kernel with options COMPAT_LINUX and P1003_1B (not sure if
either matters), and installed everything from the 4.5 CD.  Or did I?
I expect RTFM you fool! but really am a bit over my head.  Help?

Chuck Bacon - [EMAIL PROTECTED]
After all, computers have rights too! - Ernst Bacon, 1898-1990

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