Unable to attach USB disks at boot time

2011-07-03 Thread Joe Marcus Clarke
I have a VMware ESX 4.1 Update 1 server (underlying hardware is a Cisco
UCS C210) to which I have connected two WD My Book 1130 drives.  I have
allocated both drives to my FreeBSD RELENG_8 VM (amd64).  At boot time,
I see:

Root mount waiting for: usbus1
usb_alloc_device: set address 2 failed (USB_ERR_TIMEOUT, ignored)
Root mount waiting for: usbus1
Root mount waiting for: usbus1
Root mount waiting for: usbus1
Root mount waiting for: usbus1
Root mount waiting for: usbus1
Root mount waiting for: usbus1
Root mount waiting for: usbus1
Root mount waiting for: usbus1
Root mount waiting for: usbus1
Root mount waiting for: usbus1
Root mount waiting for: usbus1
usbd_req_re_enumerate: addr=2, set address failed! (USB_ERR_TIMEOUT,
ignored)
Root mount waiting for: usbus1
Root mount waiting for: usbus1
Root mount waiting for: usbus1
Root mount waiting for: usbus1
Root mount waiting for: usbus1
Root mount waiting for: usbus1
Root mount waiting for: usbus1
Root mount waiting for: usbus1
Root mount waiting for: usbus1
Root mount waiting for: usbus1
Root mount waiting for: usbus1
usbd_req_re_enumerate: addr=2, set address failed! (USB_ERR_TIMEOUT,
ignored)
Root mount waiting for: usbus1
Root mount waiting for: usbus1
Root mount waiting for: usbus1
Root mount waiting for: usbus1
Root mount waiting for: usbus1
Root mount waiting for: usbus1
Root mount waiting for: usbus1
Root mount waiting for: usbus1
Root mount waiting for: usbus1
ugen1.2:  at usbus1 (disconnected)
uhub_reattach_port: could not allocate new device
Root mount waiting for: usbus1
Root mount waiting for: usbus1
usb_alloc_device: set address 2 failed (USB_ERR_TIMEOUT, ignored)
Root mount waiting for: usbus1
Root mount waiting for: usbus1
Root mount waiting for: usbus1
Root mount waiting for: usbus1
Root mount waiting for: usbus1
Root mount waiting for: usbus1
Root mount waiting for: usbus1
Root mount waiting for: usbus1
Root mount waiting for: usbus1
Root mount waiting for: usbus1
Root mount waiting for: usbus1
usbd_req_re_enumerate: addr=2, set address failed! (USB_ERR_TIMEOUT,
ignored)
Root mount waiting for: usbus1
Root mount waiting for: usbus1
Root mount waiting for: usbus1
Root mount waiting for: usbus1
Root mount waiting for: usbus1
Root mount waiting for: usbus1
Root mount waiting for: usbus1
Root mount waiting for: usbus1
Root mount waiting for: usbus1
Root mount waiting for: usbus1
Root mount waiting for: usbus1
usbd_req_re_enumerate: addr=2, set address failed! (USB_ERR_TIMEOUT,
ignored)
Root mount waiting for: usbus1
Root mount waiting for: usbus1
Root mount waiting for: usbus1
Root mount waiting for: usbus1
Root mount waiting for: usbus1
Root mount waiting for: usbus1
Root mount waiting for: usbus1
Root mount waiting for: usbus1
Root mount waiting for: usbus1
Root mount waiting for: usbus1
ugen1.2:  at usbus1 (disconnected)
uhub_reattach_port: could not allocate new device

However, once FreeBSD is fully booted, I can unattach then reattach the
drives (though VIC), and they attach just fine:

ugen1.2:  at usbus1
umass0:  on usbus1
umass0:  SCSI over Bulk-Only; quirks = 0x
umass0:1:0:-1: Attached to scbus1
da1 at umass-sim0 bus 0 scbus1 target 0 lun 0
da1:  Fixed Direct Access SCSI-6 device
da1: 40.000MB/s transfers
da1: 1907697MB (3906963456 512 byte sectors: 255H 63S/T 243197C)
ses0 at umass-sim0 bus 0 scbus1 target 0 lun 1
ses0:  Fixed Enclosure Services SCSI-6 device
ses0: 40.000MB/s transfers
ses0: SCSI-3 SES Device
ugen1.3:  at usbus1
umass1:  on usbus1
umass1:  SCSI over Bulk-Only; quirks = 0x
umass1:2:1:-1: Attached to scbus2
da2 at umass-sim1 bus 1 scbus2 target 0 lun 0
da2:  Fixed Direct Access SCSI-6 device
da2: 40.000MB/s transfers
da2: 1907697MB (3906963456 512 byte sectors: 255H 63S/T 243197C)
ses1 at umass-sim1 bus 1 scbus2 target 0 lun 1
ses1:  Fixed Enclosure Services SCSI-6 device
ses1: 40.000MB/s transfers
ses1: SCSI-3 SES Device

I'm running FreeBSD RELENG_8 from Sat Jul  2 17:40:20 EDT 2011.  I had
an older Maxtor drive connected to this VM previously, and it was
working fine.  These WD drives are USB 3, but operating under USB 2
mode.  Any advice?  Thanks.

Joe

-- 
Joe Marcus Clarke
FreeBSD GNOME Team  ::  gn...@freebsd.org
FreeNode / #freebsd-gnome
http://www.FreeBSD.org/gnome
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: kern.maxdsiz on amd63 with i386 binaries

2008-10-25 Thread Joe Marcus Clarke
Chris Peterson wrote:
> Thanks Joe, that did it.
> 
> Out of curiosity, I don't see any of the compat tree in
> /boot/defaults/loader.conf, is there any place this is documented
> besides kernel sources? If not then I guess I should give something back
> to the community and change that :)

Not that I found.  I typically find stuff like this by running sysctl -a
and grepping for familiar patterns.

Joe

> 
> Regards,
> Chris Peterson
> 
> On Oct 24, 2008, at 9:03 PM, Joe Marcus Clarke wrote:
> 
>> Chris Peterson wrote:
>>> Hello,
>>>
>>> I've got a handful of i386 boxes, and a handful of amd64 boxes running a
>>> 32-bit application, the reasons for this exact configuration mystify me
>>> as well as the deployment predates my time in the environment. Now that
>>> the dataset the application is loading is rapidly approaching 512MB
>>> we're starting to tweak kern.maxdsiz and kern.dfldsiz to 1GB.
>>>
>>> The i386 boxes are doing great, but we hit an issue with the amd64
>>> machines in that 64bit apps seem to work fine, but the 32bit apps
>>> running on the amd64 machines fail to be able to use more than the i386
>>> default of 512MB no matter what we set kern.maxdsiz to. I've also tried
>>> compiling it into the kernel, which results in the same issue.
>>>
>>> I tried starting the app with "limits -d 1090519040", and it seems to
>>> fail as well. Limits does show the proper value for datasize of
>>> 1064960 kB.
>>>
>>> We're locked into 32-bit binaries for this app at the moment thanks to
>>> some uh... interesting libraries it uses, so the usual option of
>>> recompile isn't available. I'd like to avoid traveling from San Jose to
>>> Seattle, then Virginia, then Munich to reinstall the amd64 machines with
>>> i386 machines if at all possible.
>>>
>>> Uh... help?
>>
>> Have you tried setting compat.ia32.maxdsiz?  I believe this will do what
>> you want.
>>
>> Joe
>>
>> -- 
>> Joe Marcus Clarke
>> FreeBSD GNOME Team::[EMAIL PROTECTED]
>> FreeNode / #freebsd-gnome
>> http://www.FreeBSD.org/gnome
> 
> ___
> freebsd-stable@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> 


-- 
Joe Marcus Clarke
FreeBSD GNOME Team  ::  [EMAIL PROTECTED]
FreeNode / #freebsd-gnome
http://www.FreeBSD.org/gnome
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: kern.maxdsiz on amd63 with i386 binaries

2008-10-24 Thread Joe Marcus Clarke
Chris Peterson wrote:
> Hello,
> 
> I've got a handful of i386 boxes, and a handful of amd64 boxes running a
> 32-bit application, the reasons for this exact configuration mystify me
> as well as the deployment predates my time in the environment. Now that
> the dataset the application is loading is rapidly approaching 512MB
> we're starting to tweak kern.maxdsiz and kern.dfldsiz to 1GB.
> 
> The i386 boxes are doing great, but we hit an issue with the amd64
> machines in that 64bit apps seem to work fine, but the 32bit apps
> running on the amd64 machines fail to be able to use more than the i386
> default of 512MB no matter what we set kern.maxdsiz to. I've also tried
> compiling it into the kernel, which results in the same issue.
> 
> I tried starting the app with "limits -d 1090519040", and it seems to
> fail as well. Limits does show the proper value for datasize of 1064960 kB.
> 
> We're locked into 32-bit binaries for this app at the moment thanks to
> some uh... interesting libraries it uses, so the usual option of
> recompile isn't available. I'd like to avoid traveling from San Jose to
> Seattle, then Virginia, then Munich to reinstall the amd64 machines with
> i386 machines if at all possible.
> 
> Uh... help?

Have you tried setting compat.ia32.maxdsiz?  I believe this will do what
you want.

Joe

-- 
Joe Marcus Clarke
FreeBSD GNOME Team  ::  [EMAIL PROTECTED]
FreeNode / #freebsd-gnome
http://www.FreeBSD.org/gnome
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Do anyone has any problem with sem_open() crash?

2006-10-22 Thread Joe Marcus Clarke
On Sun, 2006-10-22 at 20:09 -0500, Jeremy Messenger wrote:
> Hello folks,
> 
> Last night, I have upgraded from July RELENG_6 to last night. I have  
> reinstalled all of ports and I noticed that the log/messages is collecting  
> a few of 'pid 14699 (conftest), uid 0: exited on signal 12 (core dumped)'.  
> I dig in the configure and found a location of crash. It is from  
> sem_open(). I don't get that before I upgraded the RELENG_6.
> 
> http://people.freebsd.org/~mezz/test-sem_open.cc (took from configure's  
> conftest)
> 
> ===
> % c++ -o test-sem_open -O2 -fno-strict-aliasing -pipe -g -pthread -pipe  
> test-sem_open.cc
> % ./test-sem_open
> [1]5761 invalid system call (core dumped)  ./test-sem_open
> 
> % grep sem_open /var/log/messages
> Oct 22 19:44:35 mezz kernel: pid 5761 (test-sem_open), uid 1001: exited on  
> signal 12 (core dumped)
> Oct 22 20:00:45 mezz kernel: pid 6140 (test-sem_open), uid 1001: exited on  
> signal 12 (core dumped)
> ===
> 
> I have decided to login in a jail that has RELENG_6 from July in the same  
> local machine that have most debug enable.
> 
> ===
> $ gdb test-sem_open test-sem_open.core
> 
> Core was generated by `test-sem_open'.
> Program terminated with signal 12, Bad system call.
> 
> #0  0x281bf297 in ksem_open () at ksem_open.S:2
> 2   ksem_open.S: No such file or directory.
>  in ksem_open.S
> [New LWP 100120]
> 
> 
> (gdb) bt
> #0  0x281bf297 in ksem_open () at ksem_open.S:2
> #1  0x281b5cd8 in __sem_open (name=0x804868e "ace_semaphore_foo",  
> oflag=2560)
>  at /usr/src/lib/libc/gen/sem.c:217
> #2  0x080485ee in main () at test-sem_open.cc:168
> Current language:  auto; currently asm
> 
> 
> (gdb) bt full
> #0  0x281bf297 in ksem_open () at ksem_open.S:2
> No locals.
> #1  0x281b5cd8 in __sem_open (name=0x804868e "ace_semaphore_foo",  
> oflag=2560)
>  at /usr/src/lib/libc/gen/sem.c:217
>  sem = (sem_t *) 0xbfbfec9c
>  s = 0x4e
>  semid = 1
>  mode = 78
>  value = 1
> #2  0x080485ee in main () at test-sem_open.cc:168
>  s = (sem_t *) 0xa00
> ===
> 
> BTW: Please add me in CC, I am not on the list.

You need to make sure you have "options P1003_1B_SEMAPHORES" in your
kernel.  These POSIX IPC constructs are labeled as being very
experimental, and this is not a default option.

Joe

-- 
PGP Key : http://www.marcuscom.com/pgp.asc


signature.asc
Description: This is a digitally signed message part


Re: where is gnome-power-manager

2006-01-30 Thread Joe Marcus Clarke
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Kevin Oberman wrote:
>> Date: Mon, 30 Jan 2006 06:05:27 -0600
>> From: Michael Ekstrand <[EMAIL PROTECTED]>
>> Sender: [EMAIL PROTECTED]
>>
>> On Sun, 29 Jan 2006 16:30:23 +0100
>> Roger Grosswiler <[EMAIL PROTECTED]> wrote:
>>> i look for gnome-power-manager. where except gnome.org can i find it???
>> There's x11/gnome2-power-tools in Ports, not sure if that includes
>> Power Manager or not.
>>
>> Otherwise, try getting it from gnome.org. I don't know if it depends on
>> any Linux-specific power management interfaces; it may or may not.
> 
> gnome-power-manager depends on HAL which as not yet been ported to
> FreeBSD. It will probably also need some work to inter-operate correctly
> with the FreeBSD ACPI implementation.
> 
> I believe the HAL port is in progress, although I don't know just how
> long it might be until it's ready.

I hope to have something working next month.

Joe

- --
Joe Marcus Clarke
FreeBSD GNOME Team  ::  [EMAIL PROTECTED]
FreeNode / #freebsd-gnome
http://www.FreeBSD.org/gnome
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFD3nRwb2iPiv4Uz4cRAqf8AJ4rt2APwCutq0c5Fbft8k3PmhZt1ACeJBL6
bpfC6SgvrcpPg3IulgWJ4T4=
=CrzP
-END PGP SIGNATURE-
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Firewire + 5-STABLE + devd?

2005-08-23 Thread Joe Marcus Clarke
On Tue, 2005-08-23 at 11:18 -0400, Christopher Sean Hilton wrote:
> On Tue, Aug 23, 2005 at 07:58:56AM -0400, Christopher Sean Hilton wrote:
> > Hi,
> > 
> > I'm trying to get my hotplug utility, which works well with usb
> > devices, to work with firewire devices under 5-STABLE. But when I devd
> > doesn't seem to do anything with firewire devices and when I cat
> > /dev/devctl I get get nothing on firewire. Is there a sysctl I can
> > tune or do I need to upgrade to the 6-{RELEASE,CURRENT} branch?
> > 
> 
> Also, will devd generate events for the attachment of a da[0-9]
> device?

No.  Unfortunately, CAM is not newbus-ified, and thus will not send
devctl events.  ATA disks will in 6.X and higher, though.

>  Right now it seems as though it doesn't and that is
> problematic. The issue is this. If I attach my usb pendrive to my
> computer it gets devices umass0 and da0. But if I attach a firewire
> device first then my usb pendrive is umass0, da1. So, if events aren't
> generated to say that da1 has become available then I have to figure
> out what umass0 is connected to.

Yep.  You should be able to work backwards through the CAM subsystem to
obtain this information.  Take a look at the output of ``camcontrol
devlist -v''.  The information is there, and you can use libcam to get
it.

Joe

> 
> Thanks in advance
>  Chris
> 
-- 
PGP Key : http://www.marcuscom.com/pgp.asc


signature.asc
Description: This is a digitally signed message part


Re: buildworld fails on: ===> bin/domainname

2005-02-21 Thread Joe Marcus Clarke
On Mon, 2005-02-21 at 18:25 -0800, Doug White wrote:
> On Mon, 21 Feb 2005, bsdnooby wrote:
> 
> > Yes it does.
> >
> > When I run "cvsup -g -L 2 stable-supfile" I see a bunch of errors with
> > "Head" in them. here is one of them:
> >
> >   Server warning: RCS file error in
> > "/cvs/cvsupd/prefixes/FreeBSD.cvs/src/bin/sh/var.h,v": 1: "head" expected
> >
> > Then when I run "make buildworld", that fails
> 
> What cvsup server are you using? It appears to be corrupted.

Yes, cvsup12 is definitely corrupt, and will produce this exact error.
I switched to cvsup11, but I had to completely remove my src tree before
the builds would work again.

Joe

> 
-- 
PGP Key : http://www.marcuscom.com/pgp.asc


signature.asc
Description: This is a digitally signed message part


Re: mozilla hangs on startup after -stable upgrade

2004-12-25 Thread Joe Marcus Clarke
On Fri, 2004-12-24 at 19:25 -0500, Mikhail Teterin wrote:
> Hello!
> 
> After I upgraded a friend's machine from 4.10-STABLE (Sep 22) to
> 4.11-STABLE (Dec 19) his mozilla installation (1.4.x) stopped starting
> up.
> 
> It says the usual 'no running window found' and then just hangs there.
> According to Ctrl-T, mozilla-bin is in the "running" state, but no
> window ever opens.
> 
> I have since rebuilt gtk/gdk and the mozilla itself (to 1.7.5,2), but it
> still hangs on start up -- it was running fine before.
> 
> All other programs (KDE environment -- he still uses KDE-3.2.2, Applix
> Office Suite) continue to run fine, only Mozilla appears affected.
> 
> Any clues? Thanks!

This is a fairly FAQ.  It can be caused by aggressive optimizations
(e.g. unroll-loops), or by font problems (i.e. try running fc-cache -f
-v).  If you've compiled using default CFLAGS and CXXFLAGS, and your
fontconfig cache is okay, try running mozilla -g, and see where it's
crashing.

Joe

> 
>   -mi
> ___
> freebsd-stable@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> 
-- 
PGP Key : http://www.marcuscom.com/pgp.asc


signature.asc
Description: This is a digitally signed message part


Re: FireFox crash on Print

2004-10-30 Thread Joe Marcus Clarke
On Sat, 2004-10-30 at 21:38, Warren Liddell wrote:
> On Sun, 31 Oct 2004 09:38 am, Joan Picanyol wrote:
> > * Warren Liddell <[EMAIL PROTECTED]> [20041031 00:13]:
> > > Since Upgrading FireFox to 1.0 each time i press print
> > > or goto print something Mozilla either closes itself or re-loads it's
> > > program.  I updated ports//src  etc yesterday and i am still having this
> > > problem.
> > >
> > > I can re-create this bug by printing from any URL local or on the
> > > internet.
> >
> > http://lists.freebsd.org/mailman/htdig/freebsd-gnome/2004-October/008725.ht
> >ml
> >
> > qvb
> 
> Not using CUPS  

Try the patch anyway.  If you're using KDE, or have libcups.so.2
installed, you may see this crash.  Note: I have never been able to
reproduce it using GNOME, so if this doesn't fix it, I'll need more
information (i.e. a backtrace with debugging symbols).

Joe

-- 
PGP Key : http://www.marcuscom.com/pgp.asc


signature.asc
Description: This is a digitally signed message part


Re: Firefox 0.9.3 fails to build

2004-09-26 Thread Joe Marcus Clarke
On Sun, 2004-09-26 at 16:02, Matt Herzog wrote:
> Hello All.
> 
> I'm trying to build Firefox 0.9.3 on 4.10 FreeBSD. I updated ports 
> before I attempted this build. I am running FreeBSD on a dual P3 
> system. I have not modified my /etc/defaults/make.conf nor do I
> have an /etc/make.conf file. There is nothing in my root's env
> regarding CPUFLAGS or compiler options.
> 
> Do I need to specify any kernel threading or SCHED options? When I run
> mozilla I see:
> 
> cmd mozilla-bin pid 283 tried to use non-present sched_get_priority_min
> cmd mozilla-bin pid 283 tried to use non-present sched_get_priority_max
> 
> Here is what I see when a ports build of Firefox 0.9.3 fails:

Let's see your kernel config file.

Joe

-- 
PGP Key : http://www.marcuscom.com/pgp.asc


signature.asc
Description: This is a digitally signed message part


Re: Firefox fails to build

2004-09-21 Thread Joe Marcus Clarke
On Tue, 2004-09-21 at 22:00, Matt Herzog wrote:
> Hello All.
> 
> I'm trying to build Firefox 0.9.3 on 4.10 FreeBSD. I updated ports 
> before I attempted this build. I am running FreeBSD on a dual P3 
> system. Any advice would be welcome.

This is most likely related to the fact that you're building with
debugging enabled.  If you set default CFLAGS you should be okay.  As to
why debugging is causing the threaded functions to fail, I'm not
certain.

Joe

-- 
PGP Key : http://www.marcuscom.com/pgp.asc


signature.asc
Description: This is a digitally signed message part


Re: 4.8-RC, XFree86 4.3.0, and GDM

2003-03-23 Thread Joe Marcus Clarke
On Fri, 2003-03-21 at 13:47, Matthew Donadio wrote:
> [ This was originally sent to freebsd-quesions, but upon second thought,
> it is probably more appropriate here ]
> 
> Hi all,
> 
> I am having some trouble with GDM and I was wondering if anyone can
> either confirm the problem or shed some light on it.
> 
> I track the STABLE tree (release=cvs tag=RELENG_4) and ports tree
> (release=cvs tag=.) with cvsup.  I held off a little while to upgrade my
> system to XFree86 4.3.0, but did the build last night.
> 
> I brought everything up to date with cvsup, rebuilt world and kernel,
> installed, rebooted, and then used portupgrade (portupgrade -rR XFree86)
> to rebuild X.  I also used portupgrade -rR to bring some gnome2
> libraries uptodate.  All of the builds were successful.
> 
> uname -a says I am running 4.8-RC
> pkg_version has '=' for everything.
> 
> Users and root can do a startx to start gnome2 sessions.  Everything
> works fine.
> 
> If I enable gdm, then root can login, but users can't.  I get an error
> message saying that the session lasted less than 10-seconds, and to
> check .xsession-errors.  They can't login with the failsafe modes,
> either.
> 
> .xsession-errors is empty
> /var/log/messages has a error: gdm[XXX]: run_session_child: Could not
> open ~/.xsession-errors
> 
> I then created a new user, and was able to login with gdm, but I got
> root's session (shells started in /root, Nautilus brought up /root,
> etc).
> 
> I renamed ~/.gnome2/gdm for an old user and the same thing happened.
> 
> Does anyone have any idea what is going on here?  Is this a bug?

I have never had a problem logging in as a normal user with gdm or
gdm2.  How are you creating these users?  That is, what are the perms on
their home directories?  What is your test user's uid?  How are you
starting gdm?  What does ls -l /usr/X11R6/bin/gdm-binary report?  How
about /usr/X11R6/bin/gdmlogin?  Can you send your /etc/pam.conf file?

Joe

> 
> Thanks.
-- 
PGP Key : http://www.marcuscom.com/pgp.asc


signature.asc
Description: This is a digitally signed message part


Re: XFree 4.3.0 / Xft font problems

2003-03-18 Thread Joe Marcus Clarke
On Tue, 2003-03-18 at 11:49, Kenneth W Cochran wrote:
> >Date: Tue, 18 Mar 2003 10:27:44 -0500
> >From: Jason Andresen <[EMAIL PROTECTED]>
> >To: Kenneth W Cochran <[EMAIL PROTECTED]>
> >Cc: [EMAIL PROTECTED]
> >Subject: Re: XFree 4.3.0 / Xft font problems
> >
> >Kenneth W Cochran wrote:
> >> 
> >> "Regular" xchat 1.8.11 and gaim 0.59.9 look fine.
> >> Mozilla built without Xft (-DWITHOUT_XFT) looks ok (menu bar
> >> looks good, as with other apps) but not great (displayed
> >> text looks "ok" but not very good).
> >
> >Mozilla uses whatever you have configured in the preferences panel as 
> >the font for the menubar IIRC.  Try changing your font from serif to 
> >sans-serif.
> >
> >Additionally, you're probably having trouble with the antialiased small 
> >text.  You might want to try creating a /usr/X11R6/etc/fonts/local.conf
> >file with the following lines:
> >
> >
> >
> >
> > 
> > 12
> > 
> > 
> > false
> > 
> >
> >
> >And see if that's any easier on your eyes.
> 
> Where is that kind of thing documented?

http://www.freebsd.org/gnome/docs/faq2.html#q10

But I want to rewrite the fonts section of the handbook.

> And how can I "isolate" these changes across OS/system
> maintenance/upgrades?
> Why does the "default install" look so bad?  (Hmm, maybe
> don't answer that... ;)
> 
> As installed, Mozilla-1.3b,1 fonts:  (WITHOUT_XFT)
> Proportional: Serif 12 pixels
>Serif: adobe-avantgarde-iso8859-1
>   Sans-serif: (same)
>  Cursive: (same)
>  Fantasy: (same)
>Monospace: (same) 16 pixels
> 
> As installed, Mozilla-1.3b,1 fonts:  (default build, with Xft)
> Proportional: Serif 12 pixels
>Serif: Bitstream Charter
>   Sans-serif: (same)
>  Cursive: (same)
>  Fantasy: (same)
>Monospace: (same) 16 pixels
> 
> So where are the various "font classes" (for want of a
> better term) "used?"  And how do I fix this stuff for (for
> examples) the Xft-enabled versions of other clients?

Not sure how to answer this.  I'm not sure exactly what you're looking
for.  However, for a better Xft look, I recommend installing
x11-fonts/bitstream-vera.  Those fonts look quite nice.  I also
recommend using a sans serif font.

> 
> Excerpts from XF86Config: (vidcard is Matrox G400 32mb)
> 
> # This loads the Type1 and FreeType font modules
> Load"type1"
> Load"speedo"
> Load"freetype"
> #Load"xtt"
> 
> # This loads the GLX module
> Load   "glx"
> # This loads the DRI module
> Load   "dri"
> 
> # From "XFree86 -configure"
> #Load  "extmod"
> Load  "record"
> Load  "xtrap"
> ...
> 
> FontPath   "/usr/X11R6/lib/X11/fonts/local/"
> FontPath   "/usr/X11R6/lib/X11/fonts/misc/"
> FontPath   "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
> FontPath   "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
> FontPath   "/usr/X11R6/lib/X11/fonts/Speedo/"
> FontPath   "/usr/X11R6/lib/X11/fonts/Type1/"
> #FontPath   "/usr/X11R6/lib/X11/fonts/TrueType/"
> #FontPath   "/usr/X11R6/lib/X11/fonts/freefont/"
> FontPath   "/usr/X11R6/lib/X11/fonts/75dpi/"
> FontPath   "/usr/X11R6/lib/X11/fonts/100dpi/"
> FontPath   "/usr/X11R6/lib/X11/fonts/cyrillic/"
> FontPath   "/usr/X11R6/lib/X11/fonts/URW/"
> 
> Is this of any help?  Any config changes appropriate?

This doesn't affect Xft.  For Xft, the fc-cache command with fonts.conf
affects what fonts and directories will be used.

> 
> X was configured thusly:
> 1.  As root, "XFree86 -configure"
> 2.  As root, "xf86config" - answer the questions & write out XF86Config
> 3.  Customize XF86Config:
> a.  Carefully "merge" the XF86Config.new into XF86Config.
> b.  Add URW fonts per requirements for some ports.
> c.  "other stuff" as appropriate
> 
> Is there a Better Way To Do This(tm)?  ;)
> Would welcome faq/documentation pointers, both online & printed.

I'm going to work on this.

Joe

> 
> 
> Complexities/oddities such as this are, I think,
> part of what hinders "public/PHB acceptance" of
> Unix/Linux/*BSD/opensource and keeps in place certain
> monopolies.  As a friend of mine says, "you have to have
> a Decoder Ring to run this stuff."
> 
> 
> Please pardon my, umm, "venting," I'm sure stuff like this
> will be fixed before long.  ;)
> 
> -kc
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-stable" in the body of the message
-- 
PGP Key : http://www.marcuscom.com/pgp.asc




signature.asc
Description: This is a digitally signed message part


Re: Really fixed it this time? was Re: Mozilla window won't openafter upgrade - FIXED

2003-02-27 Thread Joe Marcus Clarke
On Thu, 2003-02-27 at 17:01, Aron Silverton wrote:
> Gordon Broom wrote:
> >>Did you ever rebuild Mozilla with -DWITHOUT_XFT specified?
> >>
> > 
> > 
> > That did the trick, thanks!  
> > 
> > Whatever XFT is, apparently I can live without it :-)
> 
> I realized that I didn't have a XftConfig file.  I followed the stuff in 
> the FreeBSD Handbook on using fonts with XFree86 to see what, if 
> anything I was missing.  I created the Xftconfig file and now mozilla 
> seems to work with Xft reliably.  (I hope that it's not too soon to say 
> that.)

XftConfig is no longer used by anything in FreeBSD.  This has been
replaced with /usr/X11R6/etc/fonts/fonts.conf and ~/.fonts.conf.

Joe

> 
> Aron
-- 
PGP Key : http://www.marcuscom.com/pgp.asc




signature.asc
Description: This is a digitally signed message part


Re: NVidia Drivers Released !

2002-11-08 Thread Joe Marcus Clarke
On Fri, 2002-11-08 at 16:33, Bernhard Valenti wrote:
> are they working for anyone?
> hangs at the nvidia splashscreen for me... sig11 in the X logfile, and then
> i cant get back to console :(

Works fine for me on my Dell Inspiron 8100.  Did you follow all the
install instructions?  Here is my relevant section from XF86Config:

Section "Device"
Identifier  "Card0"
VendorName  "nvidia"
Driver  "nvidia"
VideoRam32768 #XYZ dubious?
Option "NvAgp" "3"
EndSection

I have the agp kernel module loaded as well.

agp0:  mem 0xe800-0xebff at
device 0.0 on pci0
nvidia0:  mem 0xe000-0xe7ff,0xfc00-0xfcff
irq 11 at device 0.0 on pci1

Joe

-- 
PGP Key : http://www.marcuscom.com/pgp.asc


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



Re: libc_r (-pthread) linking problem

2002-08-21 Thread Joe Marcus Clarke

On Wed, 2002-08-21 at 19:00, Archie Cobbs wrote:
> Hi,
> 
> I'm trying to link an application with a library (libpdel) that itself
> links against libc_r. However, the application fails to link:
> 
> cc -O -pipe -D_THREAD_SAFE ... -pthread -o ... -L/usr/local/lib -lpdel -lexpat 
>-lssl -lcrypto -lcrypt
> lws_tmpl_misc.o: In function `lws_tf_crypt_hash':
> lws_tmpl_misc.o(.text+0x3c3): undefined reference to `__pthread_read'
> main.o: In function `main':
> main.o(.text+0x21c): undefined reference to `__pthread_sigwait'
> /usr/local/lib/libpdel.so: undefined reference to `pthread_yield_np'
> /usr/local/lib/libpdel.so: undefined reference to `__pthread_connect'
> /usr/local/lib/libpdel.so: undefined reference to `__pthread_accept'
> /usr/local/lib/libpdel.so: undefined reference to `__pthread_detach'
> /usr/local/lib/libpdel.so: undefined reference to `__pthread_poll'
> /usr/local/lib/libpdel.so: undefined reference to `__pthread_write'
> *** Error code 1
> 
> This is on FreeBSD 4.6-stable as of today. This works fine on FreeBSD 4.5.
> 
> FYI, none of my code ever calls pthread_yield_np(), so I don't know
> where that symbol is coming from.
> 
> Any ideas what the problem is?

I think you need to recompile libpdel for -stable.  This should fix your
problem.  Those symbols don't even exist in -stable.  I built libpdel on
-stable with a bunch of other issues (i.e. -Werror caused a failure due
to a warning in stdio.h, and ${INCOWN}, ${INCGRP}, and ${INCMODE} don't
exist [they are now INCS*]).  But, after getting it compiled and
installed:

/tmp 20:38 shumai marcus %582# cc -o xxx -L/usr/local/lib -lpdel
-pthread -lssl -lcrypto -lexpat xxx.c
/tmp 20:38 shumai marcus %583#

Joe

> 
> Thanks,
> -Archie
> 
> __
> Archie Cobbs * Packet Design * http://www.packetdesign.com
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-stable" in the body of the message
> 




signature.asc
Description: This is a digitally signed message part


Re: Compiling gnome2, gconf-editor compile error

2002-08-16 Thread Joe Marcus Clarke

On Fri, 16 Aug 2002, sammy!!! wrote:

> I get the following error when trying to compile gnome2, specifically
> gconf-editor:
>
> In file included from gconf-bookmarks.c:25:
> /usr/X11R6/include/gtk-2.0/gtk/gtkimage.h:85: syntax error before
> `GdkPixbufAnimationIter'
>
> Anyone know what's I need to update on my system?

You have some old directories lingering about in /usr/X11R6/include and/or
/usr/local/include.  If you send me the ls -l output of those directories,
I can tell you which ones to remove.

Joe

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

PGP Key : http://www.marcuscom.com/pgp.asc


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



Re: Gnome/Sawfish problems after portupgrade

2002-07-07 Thread Joe Marcus Clarke

On Sun, 2002-07-07 at 11:37, David A. Panariti wrote:
> I run into this every time I update librep.
> 
> What I've found works is to rebuild sawfish.  I always start from
> scratch, including rerunning the configure script.  This may not be
> the minimal way to do this, but it works.

Correct.  After the latest update to librep, a good idea is to do:

portupgrade -fr librep

To make sure all librep's dependents are up to speed.

Joe

> 
> davep
> 
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-stable" in the body of the message
> 
-- 
PGP Key : http://www.marcuscom.com/pgp.asc


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



Re: mx1.freebsd.org bounces my messages!

2002-07-02 Thread Joe Marcus Clarke

On Tue, 2002-07-02 at 17:53, [EMAIL PROTECTED] wrote:
> Hello to all,
> 
> I'm geting the error bellow when I try to send a message to
> [EMAIL PROTECTED] I always use my server pt-quorum.com
> (postfix) to send my messages.
> 
> My subscribed email is [EMAIL PROTECTED]
> 
> Can anyone see if there is any thing wrong with mx1.freebsd.org?

Looks like there was a big mail hair ball clogging things up, but hub is
cranking away delivering mail now.  Not sure what the problem was.

Joe

> 
> Thanks very much,
> 
> Nuno Teixeira
> 
> --
> E-Mail Alternativo
> --
> Nuno Teixeira
> Dir. Técnico
> pt-quorum.com
> 
> 
> - Forwarded message from Nuno Teixeira
> <[EMAIL PROTECTED]> -
> Date: Tue, 2 Jul 2002 21:49:03 +0100
> From: Nuno Teixeira <[EMAIL PROTECTED]>
> Reply-To: Nuno Teixeira <[EMAIL PROTECTED]>
> Subject: [[EMAIL PROTECTED]: Undelivered Mail Returned to
> Sender]
> To: [EMAIL PROTECTED]
> 
> - Forwarded message from Mail Delivery System
> <[EMAIL PROTECTED]>
> -
> 
> Delivered-To: [EMAIL PROTECTED]
> Date: Mon,  1 Jul 2002 22:18:51 +0100 (WEST)
> From: [EMAIL PROTECTED] (Mail Delivery System)
> Subject: Undelivered Mail Returned to Sender
> To: [EMAIL PROTECTED]
> X-UIDL: pY>"!XAa!!p]?"!Hkg"!
> 
> Content-Description: Notification
> This is the Postfix program at host pt-quorum.com.
> 
> I'm sorry to have to inform you that the message returned
> below could not be delivered to one or more destinations.
> 
> For further assistance, please send mail to 
> 
> If you do so, please include this problem report. You can
> delete your own text from the message returned below.
> 
>   The Postfix program
> 
> <[EMAIL PROTECTED]>: host mx1.freebsd.org[216.136.204.125]
> said: 501
> Client host rejected: cannot find your hostname, [209.10.167.210]
> 
> <[EMAIL PROTECTED]>: host mx1.freebsd.org[216.136.204.125] said: 501
> Client
> host rejected: cannot find your hostname, [209.10.167.210]
> 
> Content-Description: Delivery error report
> Reporting-MTA: dns; pt-quorum.com
> Arrival-Date: Mon,  1 Jul 2002 22:18:28 +0100 (WEST)
> 
> Final-Recipient: rfc822; [EMAIL PROTECTED]
> Action: failed
> Status: 5.0.0
> Diagnostic-Code: X-Postfix; host mx1.freebsd.org[216.136.204.125]
> said: 501
> Client host rejected: cannot find your hostname, [209.10.167.210]
> 
> Final-Recipient: rfc822; [EMAIL PROTECTED]
> Action: failed
> Status: 5.0.0
> Diagnostic-Code: X-Postfix; host mx1.freebsd.org[216.136.204.125]
> said: 501
> Client host rejected: cannot find your hostname, [209.10.167.210]
> 
> Content-Description: Undelivered Message
> Date: Mon, 1 Jul 2002 22:18:06 +0100
> From: Nuno Teixeira <[EMAIL PROTECTED]>
> To: Maxim Konovalov <[EMAIL PROTECTED]>
> Cc: [EMAIL PROTECTED]
> Subject: Re: cvs commit: src/usr.sbin/newsyslog newsyslog.c
> In-Reply-To: <[EMAIL PROTECTED]>
> X-Operating-System: FreeBSD 4.6-STABLE
> User-Agent: Mutt/1.5.1i
> 
> On Mon, Jul 01, 2002 at 05:44:16AM -0700, Maxim Konovalov wrote:
> > maxim   2002/07/01 05:44:16 PDT
> >
> >   Modified files:(Branch: RELENG_4)
> > usr.sbin/newsyslog   newsyslog.c
> >   Log:
> >   MFC rev. 1.42: wait(2) for compress_log() processes to complete
> before exit.
> >
> >   Revision  ChangesPath
> >   1.25.2.8  +3 -0  src/usr.sbin/newsyslog/newsyslog.c
> >
> > To Unsubscribe: send mail to [EMAIL PROTECTED]
> > with "unsubscribe cvs-all" in the body of the message
> 
> Hello,
> 
> Does this mean that now I can use newsyslog to compress apache logs?
> 
> I read somewhere that there was a problem in using newsyslog to
> compress/rotate apache logs because newsyslog don't wait for
> gzip/bzip2
> to finished its process.
> 
> Until now I used:
> 
> /var/log/apache/httpd-error.log 640 3 3000 * B /var/run/httpd.pid 30
> /var/log/apache/httpd-access.log 640 7 10 * B
> /var/run/httpd.pid 30
> 
> but i'd like to compress this logs.
> 
> Thanks very much,
> 
>   Nuno Teixeira
> 
> --
> 
> /*
> PGP fingerprint:
> C6D1 06ED EB54 A99C 6B14  6732 0A5D 810D 727D F6C6
> */
> 
> 
> - End forwarded message -
> 
> --
> 
> /*
> PGP fingerprint:
> C6D1 06ED EB54 A99C 6B14  6732 0A5D 810D 727D F6C6
> */
> 
> - Fim mensagem de forward -
> 
> -
> Para receber, gratuitamente, no seu email, e-newsletters
> profissionais nas mais diversas áreas temáticas (Qualidade,
> Recursos Humanos, Gestão Empresas, Fiscalidade, Contabilidade,
> Marketing, ...) clique aqui:
> http://www.dashofer.pt/mail.html
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-stable" in the body of the message
> 
-- 
PGP Key : http://www.marcuscom.com/pgp.asc

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



Re: Dell Inspiron 8100 (was: ata (cd) troubles)

2002-04-30 Thread Joe Marcus Clarke

On Tue, 2002-04-30 at 19:50, JJ Behrens wrote:
> > Works for me on my Dell Inspiron 8100.  I have my DVD-ROM as a UDMA 33
> > device.
> 
> Joe,
> 
> What resolution are you using for your Dell Inspiron 8100?  I had to build
> a version of XFree86 out of CVS in order to get 1600x1200.  I'm just wondering
> what you did.

1600x1200.  I wrote a tech tip at
http://www.marcuscom.com/g2g-xfree86/article.html on how to build the
necessary CVS components for getting the GeForce2 Go working.

Joe

> 
> -jj
> 
> -- 
> Users of C++ should consider hanging themselves rather than shooting their 
> legs off--it's best not to use C++ simply as a better C.
> 
-- 
PGP Key: http://www.marcuscom.com/pgp.asc


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



Re: Galeon and Java

2002-03-17 Thread Joe Marcus Clarke

On Mon, 2002-03-18 at 01:55, Gerhard Häring wrote:
> * Joe Marcus Clarke <[EMAIL PROTECTED]> [2002-03-18 01:05 -0500]:
> > On Sun, 2002-03-17 at 23:24, Gerhard Häring wrote:
> > > Ok, so now I've built $latest of Galeon, Mozilla and the native FreeBSD JDK.
> > > 
> > > Of course, I've set the appropriate symlink in /usr/X11R6/lib/mozilla/plugins/.
> > > 
> > > Java is working now in Mozilla, but *not* in Galeon. Anybody knows how to get
> > > it running in Galeon?
> > 
> > Make sure "Enable Java" is checked under Settings.
> 
> "Allow Java" is of course set.

Then are you getting any errors on the console or in ~/.gnomerc-errors
(or some other GUI session file)?  Java works okay for me in Galeon.

Joe

> 
> Gerhard
> -- 
> mail:   gerhard  bigfoot  de   registered Linux user #64239
> web:http://www.cs.fhm.edu/~ifw00065/OpenPGP public key id 86AB43C0
> public key fingerprint: DEC1 1D02 5743 1159 CD20  A4B6 7B22 6575 86AB 43C0
> reduce(lambda x,y:x+y,map(lambda x:chr(ord(x)^42),tuple('zS^BED\nX_FOY\x0b')))
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-stable" in the body of the message
> 




signature.asc
Description: This is a digitally signed message part


Re: Galeon and Java

2002-03-17 Thread Joe Marcus Clarke

On Sun, 2002-03-17 at 23:24, Gerhard Häring wrote:
> Ok, so now I've built $latest of Galeon, Mozilla and the native FreeBSD JDK.
> 
> Of course, I've set the appropriate symlink in /usr/X11R6/lib/mozilla/plugins/.
> 
> Java is working now in Mozilla, but *not* in Galeon. Anybody knows how to get
> it running in Galeon?

Make sure "Enable Java" is checked under Settings.

Joe

> 
> Gerhard
> -- 
> mail:   gerhard  bigfoot  de   registered Linux user #64239
> web:http://www.cs.fhm.edu/~ifw00065/OpenPGP public key id 86AB43C0
> public key fingerprint: DEC1 1D02 5743 1159 CD20  A4B6 7B22 6575 86AB 43C0
> reduce(lambda x,y:x+y,map(lambda x:chr(ord(x)^42),tuple('zS^BED\nX_FOY\x0b')))
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-stable" in the body of the message
> 




signature.asc
Description: This is a digitally signed message part