Re: hald: kmem_malloc error

2009-07-18 Thread Mel Flynn
On Friday 17 July 2009 18:59:49 Andrey Shuvikov wrote:

 I'm trying to configure X and according to the manual enabled DBUS and
 HALD. But when hald is starting up I get kernel panic:

 kmem_malloc: entry not found or misaligned

 Does anyone know what could be wrong? I have memory dump if it can
 help but it's big (173M).

If you have a file /var/crash/vmcore.0, you will want to run the
following command:
kgdb /boot/kernel/kernel /var/crash/vmcore.0
Then type bt at the prompt and paste output here.

More info:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/kerneldebug.html

uname -a and dmesg output also help in diagnosing this problem.
-- 
Mel
___
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


Interesting tool (was SPAM: Re: Newsletter 4 - Abris de jardin et portails)

2009-07-18 Thread Matthias Apitz
El día Friday, July 17, 2009 a las 08:17:22PM +0200, Decofinder escribió:

  Cliquez-ici pour visualiser ce message au format HTML
 
 Envoyer ? un ami Envoyer * un ami   fr gb de it es
 http://www.decofinder.com
   [IMG]
 
 Abris de jardin  Portailsnews ...
 Qu'on veuille se protéger
 de la pluie, de l'ombre ou| ARMANI CASA  RUBELLI 
 de ses voisins, se réfugier   Ces deux maisons de luxe
 dans un espace intime ou  s'associent pour lancer une
 convivial, les équipementscollection de tissus
 de jardin répondent à tousd'ameublement Armani/Casa
 nos désirs. Traité comme  Exclusive Textiles by   [IMG]
 une pièce à part entière, Rubelli. La 1ère Jusqu'au 30 août,
 le jardin est aménagé aveccollection sera disponibleParis/ Design en
 autant de soin que la en septembre prochain en  mutation présente
 maison. On en profite toutexclusivité dans les show onze designers ...
 au long de l'année grâce àrooms Armani Casa et
 des installations stylées Rubelli. |  MARCEL WANDERS
 et fonctionnelles. Designer néerlandais
 Les pergolas, structures de   parmi les plus influents au
 canisse ou de toile   monde, Marcel Wanders signe
 adossées, et les tentes dela décoration intérieure
 jardin ...originale de l'hôtel Kameha
   ...
   Lire la suite Lire la suiteLire la suite
  CADIOU INDUSTRIEJT Deco
  [IMG]  En recherche constante d'innovations, le  [IMG]
 fabricant de portails CADIOU INDUSTRIE Partenaires
 vient de lancer sur le marché une [IMG]
 nouvelle gamme de portails alu avec   [IMG]
 moteur intégré et donc invisible.   Consultez le site
 Fruit d'une collaboration avec un   www.ac-verandas.ch
 ingénieur spécialiste en motorisation,[IMG]
 cette avancée technique vient renforcer
 l'offre produits de l'entreprise
 bretonne. L'objectif est à la fois ...

Ofcourse this message was SPAM (and I can't even read it because I don't
speek this language), but it would be interesting to know how they
produced this nice structured output in text format, i.e. what have been
the input file format and what the tool to compile it?

matthias
-- 
Matthias Apitz
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e g...@unixarea.de - w http://www.unixarea.de/
People who hate Microsoft Windows use Linux but people who love UNIX use 
FreeBSD.
___
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


Stability issues after upgrading to 7.1 - NFS related?

2009-07-18 Thread Brian DeFreitas
Hello all,

We recently upgraded an NFS server from 7.0-p6 to 7.1-p6.  The following
Monday morning, we found the server's networking to be wedged, and
console error messages that strongly resemble this post [1].

In an effort to try the mentioned fixes, we upgraded to 7-STABLE. This
did not seem to help matters; the NFS server keeps wedging 1-2x a
day, requiring soft reboots (via console) at times and hard reboots at
others. Heavy NFS load seems to trigger everything.

Initially, we thought there might be a problem with rpc.statd because
we started seeing RPC: Port mapper failure - RPC : Timed out messages.
All the hosts that timed out were previously-working Linux (CentOS) NFS
clients.

We have IPsec configured in transport mode between all FreeBSD and Linux
NFS clients, but only see the RPC error for CentOS (not RHEL) hosts,
(and no errors from FreeBSD clients). Before the system wedges
completely, `top` reports that most nfsd processes are in the *ipsec
state.

These are all the troubleshooting steps we have taken:

- disabled NFS locking on the Linux NFS clients
- RPC timed out messages still appear

- set up RPC to use static ports for NFS on our CentOS clients
  (to work better with our firewalls, which needed no such
  rules before)
- RPC timed out messages still appear

- added 'rpc_lockd_enable=NO' to /etc/rc.conf
- after rebooting, `rpcinfo -p` showed no lock manager running,
  but the crashes persisted

- added nooptions NFSLOCKD to the kernel configuration
- this only caused things to crash faster (few minutes after
  boot, with very little NFS load)

Unfortunately, one of the issues we've run into in debugging this
problem is the lack of useful logs and debugging information. Some info
we have managed to gather:

- before one reboot, we noticed console messages about mbuf's
  filling up.  Running `netstat -m` right before crashes seems to
  confirm this.

If anyone could provide some insight into what's happening, or help
us get more debugging information, it would be very helpful.

[1] http://lists.freebsd.org/pipermail/freebsd-current/2009-May/006434.html

-- 
Brian DeFreitas
Lead Unix Systems Administrator
Network Infrastructure, RSSP-IT
UC Berkeley


pgpW3JBwvnLhZ.pgp
Description: PGP signature


USB Flash Memory stick not bootable

2009-07-18 Thread Fbsd1
Have problem with being able to boot off an new 8GB USB Flash Memory 
stick. When I load the 8.0 disc1.iso to an 2GB USB Flash Memory stick it 
will boot fine. But when I do the same thing to the new 8GB USB Flash 
Memory stick it’s not recognized as bootable. I can access the installed 
partitions manually by mounting then on the 7.2 system. So I know the 
8GB stick has been loaded correctly. I am doing this on a 7.2 release.


Below are the console messages that get displayed when I plug in each of 
the USB Flash Memory stick. You can see a great difference between the 
first set of messages for the 8GB stick versus the 2GB stick that 
follows. I want to boot off the 8GB stick just like I do with the 2GB 
stick.


What is going on here? They should be handled the same way.


Brand new 8GB Kingston DataTraveler 120 purchased 7/16/09

 umass0: Kingston DataTraveler 120, class 0/0, rev 2.00/1.00, addr 2 
on uhub1

 (probe0:umass-sim0:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0
 (probe0:umass-sim0:0:0:0): CAM Status: SCSI Status Error
 (probe0:umass-sim0:0:0:0): SCSI Status: Check Condition
 (probe0:umass-sim0:0:0:0): UNIT ATTENTION asc:28,0
 (probe0:umass-sim0:0:0:0): Not ready to ready change, medium may have 
changed

 (probe0:umass-sim0:0:0:0): Retrying Command (per Sense Data)
 da0 at umass-sim0 bus 0 target 0 lun 0
 da0: Kingston DataTraveler 120 1.00 Removable Direct Access SCSI-2 
device

 da0: 1.000MB/s transfers
 da0: 7643MB (15654848 512 byte sectors: 255H 63S/T 974C)
 GEOM_LABEL: Label for provider da0a is ufsid/4a615a2cc673eb3d.


# 3 year old 2GB Kingston DataTraveler
umass1: vendor 0x0930 USB Flash Memory, class 0/0, rev 2.00/2.00,
 addr 3 on uhub1
da1 at umass-sim1 bus 1 target 0 lun 0
da1:  USB Flash Memory 6.50 Removable Direct Access SCSI-0 device
da1: 1.000MB/s transfers



___
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: 5000' ethernet?

2009-07-18 Thread perryh
Elliot Finley efinley.li...@gmail.com wrote:

 A T1 can only run about 600 feet.  Yes, that's right, 600 feet.
 When people talk about T1s running long distances, the reference
 to 'T1' is only the signalling at the end.  In the middle, that
 T1 will be carried by other methods such as SONET over fiber for
 very long distances.  For the last mile it will be carried on
 HDSL or similar technology.  Or if it's a fairly long copper path,
 it can be carried on T-carrier.

I suspect T-carrier is probably the technology I'm thinking of,
which would have been sufficient to reach from practically
anywhere to a telco switching center, even back in the mid-1970's
when a T1 was considered blazingly fast (and neither fiber nor
HDSL was at all widely used, if they even existed).
___
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: upgrade from Firefox 3.0 to Firefox 3.5

2009-07-18 Thread perryh
  So . . . how do I upgrade Firefox from 3.0 to 3.5 without
  running the risk of losing everything (bookmarks, a 100-tab
  session, et cetera)?

 Well, I don't think those settings get altered in any way -
 they do not reside in the port's directories (where it will
 be installed into).  To be sure, make a backup copy of your
 ~/.mozilla/ directory before.

I suspect the real concern is not that the upgrade itself will
wreck something, but that the upgraded FF may do something odd
the first time it is fired up :(

One hopes that backing up ~/.mozilla would cover it.
___
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: upgrade from Firefox 3.0 to Firefox 3.5

2009-07-18 Thread Matthew Seaman

Chad Perrin wrote:


Do you know this from personal experience, or are you just assuming that
I won't pull out all my hair five seconds after I discover it deleted a
bunch of shit I wanted to keep?


portupgrade -o www/firefox35 -f firefox-3.0.X 


worked for me, no problems.  You'll have to reinstall any xpi- modules
but that's about it.  Oh, the you've been upgraded page FF takes you to
on first invocation has an embedded Ogg/Theora movie which seems to
crash the browser immediately: xpi-noscript helps there.

Also be aware of this:

  http://secunia.com/advisories/35798/
  http://www.vuxml.org/freebsd/c1ef9b33-72a6-11de-82ea-0030843d3802.html

Cheers

Matthew

--
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
 Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
 Kent, CT11 9PW



signature.asc
Description: OpenPGP digital signature


Re: Interesting tool

2009-07-18 Thread Giorgos Keramidas
On Sat, 18 Jul 2009 08:15:52 +0200, Matthias Apitz g...@unixarea.de wrote:
 El día Friday, July 17, 2009 a las 08:17:22PM +0200, Decofinder escribió:

  Cliquez-ici pour visualiser ce message au format HTML

 Envoyer ? un ami Envoyer * un ami   fr gb de it 
 es
 http://www.decofinder.com
   [IMG]

...
 au long de l'année grâce àrooms Armani Casa et
 des installations stylées Rubelli. |  MARCEL WANDERS
 et fonctionnelles. Designer néerlandais
 Les pergolas, structures de   parmi les plus influents au
 canisse ou de toile   monde, Marcel Wanders signe
 adossées, et les tentes dela décoration intérieure
 jardin ...originale de l'hôtel Kameha
   ...
   Lire la suite Lire la suiteLire la 
 suite
  CADIOU INDUSTRIEJT Deco
  [IMG]  En recherche constante d'innovations, le  [IMG]
 fabricant de portails CADIOU INDUSTRIE Partenaires
 vient de lancer sur le marché une [IMG]
 nouvelle gamme de portails alu avec   [IMG]
 moteur intégré et donc invisible.   Consultez le site
 Fruit d'une collaboration avec un   
 www.ac-verandas.ch
 ingénieur spécialiste en motorisation,[IMG]
 cette avancée technique vient renforcer
 l'offre produits de l'entreprise
 bretonne. L'objectif est à la fois ...

 Ofcourse this message was SPAM (and I can't even read it because I don't
 speek this language), but it would be interesting to know how they
 produced this nice structured output in text format, i.e. what have been
 the input file format and what the tool to compile it?

It looks like a text dump of HTML, created with w3m or elinks.

___
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: Interesting tool

2009-07-18 Thread Matthias Apitz
El día Saturday, July 18, 2009 a las 12:20:40PM +0300, Giorgos Keramidas 
escribió:

 On Sat, 18 Jul 2009 08:15:52 +0200, Matthias Apitz g...@unixarea.de wrote:
  El día Friday, July 17, 2009 a las 08:17:22PM +0200, Decofinder escribió:
Lire la suite Lire la suiteLire la 
  suite
   CADIOU INDUSTRIEJT Deco
   [IMG]  En recherche constante d'innovations, le  [IMG]
  fabricant de portails CADIOU INDUSTRIE Partenaires
  vient de lancer sur le marché une [IMG]
  nouvelle gamme de portails alu avec   [IMG]
  moteur intégré et donc invisible.   Consultez le 
  site
  Fruit d'une collaboration avec un   
  www.ac-verandas.ch
  ingénieur spécialiste en motorisation,[IMG]
  cette avancée technique vient renforcer
  l'offre produits de l'entreprise
  bretonne. L'objectif est à la fois ...
 
...
 It looks like a text dump of HTML, created with w3m or elinks.

I wasn't aware of these tools and will check them; the text dump of lynx
does not produce such output, even with placeholders for images...
Thx for the hint

matthias
-- 
Matthias Apitz
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e g...@unixarea.de - w http://www.unixarea.de/
People who hate Microsoft Windows use Linux but people who love UNIX use 
FreeBSD.
___
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: Clearing ttyv0 after boot

2009-07-18 Thread Joe Snikeris
On Sat, Jul 18, 2009 at 12:56 AM, Mel
Flynnmel.flynn+fbsd.questi...@mailing.thruhere.net wrote:
 On Friday 17 July 2009 18:11:56 Joe Snikeris wrote:

 As the subject suggests, I'd like to clear ttyv0 immediately after
 booting so that it looks exactly like the other ttys.  I suspect I
 might have to add a local rc script, but I'm fairly new to FreeBSD and
 am not sure if this is the correct way to go.

 Does anyone have any pointers?

 This recently came up on this list:
 http://www.freebsd.org/cgi/getmsg.cgi?fetch=83142+0+/usr/local/www/db/text/2009/freebsd-questions/20090510.freebsd-questions

Thanks for the pointer to that thread.

'clear  /etc/issue' did it for me.


 To do this during at the end of rc stage take hints from
 /etc/rc.d/syscons, the rc(8) manpage and rcorder(8) about when to launch
 this script. Ideally you want to REQUIRE what the last script reported
 by rcorder PROVIDEs and possibly delay execution a bit (see
 /etc/rc.d/bgfsck for an example of that), since you can't really hook
 into the login prompt is now displayed event.

 Also, if you want the console to stay the same, you will need to
 configure /etc/syslog.conf and change the line that sends to /dev/console
 to send it to /var/log/console.log. newsyslog.conf(5) is already
 configured to rotate that log.
 --
 Mel
 ___
 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

___
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


First European Union multilingual B2B portal start.

2009-07-18 Thread Mr. Storm, EU B2B
Welcome on our multilingual B2B portal on http://eu-B2B.eu

The European Union would like to get better business contacts to all EU members.
EU-B2B.EU make a new B2B portal available in differently European languages.
The user can search over all categories in his language (German, Spain ..) look 
for products and find your products!

All products descriptions can you use in all language what you like.

Not more one B2B for English, other for German, French, and other for .. ONLY 
ONE B2B business data base for all European languages.

Use this unique chance and register certainly today.

You can use the temporary test phase / End-Release C. (to 20 August) and you 
notify performances of company, products, completely free of charge in EU-B2B 
portal.

(The test-phase is not optimal balanced and work with 50% speed.)

The benefits you will get from End-Release version of EU B2B International 
Edition are :

* First-level Priority Listing

* Exclusive Full Access to Buying Leads

* Premium Company Website

* Tradeshow Promotion Opportunity

* Big Buyer Promotion Opportunity

* 5 Product Showcase

*

*

-This value over 200 Euro is FREE for you !

Start with http://eu-b2b.eu/

Best Regards!
Alex Storm, EU Comm.Support
E-Mail: supp...@eu-b2b.eu mailto:supp...@eu-b2b.eu
EU-B2B Corp. Brussel, Belgie, Aven. La Foch 1

Please do not reply to this email. This mailbox is not monitored and you will 
not receive a response.

You get this e-mail as a recipient International B2B portals. If you are not 
the intended recipient, please delete the e-mail and unsubscribe. If you don't 
want to receive any further information’s please send this e-mail with message 
UNSUBSCRIBE to e-mail address: unscr...@eu-b2b.eu

© 2009 EU-B2B Copyright

EU-B2B.EU

___
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: wget bug

2009-07-18 Thread Andrew Brampton
2009/7/17 Joe R. Jah j...@cloud.ccsf.cc.ca.us:

 Hello all,

 I want to wget a site at regular intervals and only get the updated pages,
 so I use the this wget command line:

 wget -b -m -nH http://host.domain/Directory/file.html

 It works fine on the first try, but it fails on subsequent tries with the
 following error message:

 --8--
 Connecting to host.domain ... connected.
 HTTP request sent, awaiting response... 401 Unauthorized
 Authorization failed.
 --8--

This to me seems like the remote server is replying with 401. Perhaps
wget is sending the If-Modified-Since HTTP header, and the remote
server does not support this. I would confirm this by running tcpdump
(or wireshark) to sniff the traffic and see what the remote server is
replying with.

If the remote server is truly returning 401, then you might either
need to use an alternative tool, or configure wget differently.

Hope this helps
Andrew
___
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


NFS- SAN - FreeBSD

2009-07-18 Thread Grant Peel

Hi all,

Up to this point, all of our servers are standalone, i.e. all services and 
software required are installed on each local server.


Apache, Exim, vm-pop3d, Mysql, etc etc.

Each local server is connected to the Inet via a VLAN (WAN), to our colo's 
switch.


Each server contains about 300 domains, each domain has its own IP.

Each sever is also connected to a VLAN (LAN) via the same (Dell 48 Port 
managed switch).


We have been considering consolidating all users data from each server to a 
central (local), storage unit.


While I do have active nfs's running (for backups etc), on the LAN only, I 
have never attempted to create 1 mass storage unit.


So I suppose the questions are:

1) Is there any specific hardware that anyone might reccommend? I want to 
stick with FreeBSD as the OS as I am quite comfortable admining it,


2) Would anyone reccomend NOT using FreeBSD? Why?

3) Assuming I am using FreeBSD as the storage systems OS, could NFS simply 
be used?


4) Considering out whole Inet traffic runs about 2 Mb/s, is there any reason 
the port to the Storage unit should be more than 100 M/b (would it be 
imparative to use 1 G/b transfer)?


TIA,

-Grant 



___
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


Recover deleted file

2009-07-18 Thread Leonardo M . Ramé

Hi, I deleted a directory using rm -rf directory in a mounted NTFS volume 
(with ntfs-3g) and I'm wondering if is there a way to recover this directory?

Thanks in advance,
Leonardo.



___
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: Recover deleted file

2009-07-18 Thread Glen Barber
On Sat, Jul 18, 2009 at 12:17 PM, Leonardo M. Ramémartinr...@yahoo.com wrote:

 Hi, I deleted a directory using rm -rf directory in a mounted NTFS volume 
 (with ntfs-3g) and I'm wondering if is there a way to recover this directory?


Unless you can restore a backup of your data, no.

-- 
Glen Barber
___
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: hald: kmem_malloc error

2009-07-18 Thread Andrey Shuvikov
On Sat, Jul 18, 2009 at 2:02 AM, Mel
Flynnmel.flynn+fbsd.questi...@mailing.thruhere.net wrote:
 On Friday 17 July 2009 18:59:49 Andrey Shuvikov wrote:

 I'm trying to configure X and according to the manual enabled DBUS and
 HALD. But when hald is starting up I get kernel panic:

 kmem_malloc: entry not found or misaligned

 Does anyone know what could be wrong? I have memory dump if it can
 help but it's big (173M).

 If you have a file /var/crash/vmcore.0, you will want to run the
 following command:
 kgdb /boot/kernel/kernel /var/crash/vmcore.0
 Then type bt at the prompt and paste output here.

 More info:
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/kerneldebug.html

 uname -a and dmesg output also help in diagnosing this problem.
 --
 Mel


The uname output is:

FreeBSD foxtrot.home 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Fri May  1
08:49:13 UTC 2009
r...@walker.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386

The kgdb output:

GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type show copying to see the conditions.
There is absolutely no warranty for GDB.  Type show warranty for details.
This GDB was configured as i386-marcel-freebsd...

Unread portion of the kernel message buffer:
panic: kmem_malloc: entry not found or misaligned
cpuid = 0
Uptime: 52s
Physical memory: 2034 MB
Dumping 176 MB: 161 145 129 113 97 81 65 49 33 17 1

Reading symbols from /boot/kernel/linux.ko...Reading symbols from
/boot/kernel/linux.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/linux.ko
#0  doadump () at pcpu.h:196
196 pcpu.h: No such file or directory.
in pcpu.h
(kgdb) bt
#0  doadump () at pcpu.h:196
#1  0xc07e25a7 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:418
#2  0xc07e2879 in panic (fmt=Variable fmt is not available.
) at /usr/src/sys/kern/kern_shutdown.c:574
#3  0xc0a1cdc0 in kmem_malloc (map=0xc147108c, size=0, flags=2)
at /usr/src/sys/vm/vm_kern.c:381
#4  0xc0a13357 in page_alloc (zone=0x0, bytes=0, pflag=0xe7b6497f \002,
wait=2) at /usr/src/sys/vm/uma_core.c:952
#5  0xc0a15e20 in uma_large_malloc (size=0, wait=2)
at /usr/src/sys/vm/uma_core.c:2706
#6  0xc07d16f8 in malloc (size=0, mtp=0xc0c46580, flags=2)
at /usr/src/sys/kern/kern_malloc.c:393
#7  0xc0743044 in uhidopen (dev=0xc5713000, flag=1, mode=8192, p=0xc5c6a460)
at /usr/src/sys/dev/usb/uhid.c:428
#8  0xc07a56a0 in giant_open (dev=0xc5713000, oflags=1, devtype=8192,
td=0xc5c6a460) at /usr/src/sys/kern/kern_conf.c:332
#9  0xc076e1fc in devfs_open (ap=0xe7b64a88)
at /usr/src/sys/fs/devfs/devfs_vnops.c:908
#10 0xc0af88d2 in VOP_OPEN_APV (vop=0xc0c47ee0, a=0xe7b64a88)
at vnode_if.c:371
#11 0xc0870829 in vn_open_cred (ndp=0xe7b64b7c, flagp=0xe7b64c78, cmode=0,
cred=0xc5470100, fp=0xc5b57da8) at vnode_if.h:199
#12 0xc0870973 in vn_open (ndp=0xe7b64b7c, flagp=0xe7b64c78, cmode=0,
fp=0xc5b57da8) at /usr/src/sys/kern/vfs_vnops.c:94
#13 0xc086e0a3 in kern_open (td=0xc5c6a460,
path=0xbfbfe90c Address 0xbfbfe90c out of bounds,
pathseg=UIO_USERSPACE, flags=1, mode=0)
at /usr/src/sys/kern/vfs_syscalls.c:1042
#14 0xc086e610 in open (td=0xc5c6a460, uap=0xe7b64cfc)
at /usr/src/sys/kern/vfs_syscalls.c:1009
#15 0xc0ae4495 in syscall (frame=0xe7b64d38)
at /usr/src/sys/i386/i386/trap.c:1090
#16 0xc0ac9260 in Xint0x80_syscall ()
at /usr/src/sys/i386/i386/exception.s:255
#17 0x0033 in ?? ()
Previous frame inner to this frame (corrupt stack?)
(kgdb) q

The dmesg:

Copyright (c) 1992-2009 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 7.2-RELEASE #0: Fri May  1 08:49:13 UTC 2009
r...@walker.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: Intel(R) Core(TM)2 Duo CPU E8400  @ 3.00GHz (2999.67-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0x10676  Stepping = 6
  
Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE
  
Features2=0x8e3fdSSE3,DTES64,MON,DS_CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1
  AMD Features=0x2010NX,LM
  AMD Features2=0x1LAHF
  Cores per package: 2
real memory  = 2146893824 (2047 MB)
avail memory = 2091225088 (1994 MB)
ACPI APIC Table: A_M_I_ OEMAPIC 
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
ioapic0 Version 2.0 irqs 0-23 on motherboard
kbd1 at kbdmux0
acpi0: A_M_I_ OEMRSDT on motherboard
acpi0: [ITHREAD]
acpi0: Power Button (fixed)
acpi0: reservation of 0, a (3) failed
acpi0: reservation of 10, 7ff0 (3) failed
Timecounter ACPI-fast frequency 3579545 Hz 

Binary nVidia-driver with GeForce2 Integrated GPU

2009-07-18 Thread Frank Steinborn
Hi list,

I have a box with a GeForce2 MX/MX400 onboard on an nForce-chipset and
want to use the binary nVidia-driver with it. I have to use the legacy
driver (96.43.13). It installs without problems, and the GPU gets
detected properly: 

nvidia0: GeForce2 Integrated GPU on vgapci0
vgapci0: child nvidia0 requested pci_enable_busmaster
vgapci0: child nvidia0 requested pci_enable_io
nvidia0: [GIANT-LOCKED]
nvidia0: [ITHREAD]

However, if I start X, strange things happen. The video is shown, but
there are many artifacts and all looks kind of strange - it is
unusable. I can see the following from the nVidia-driver in dmesg
after X started:

NVRM: Xid (0002:00): 13,  01014a00 004a 0104 0003
0802
NVRM: Xid (0002:00): 13,  01014a00 004a 0104 0003
0802
NVRM: Xid (0002:00): 13,  01014a00 004a 0104 0003
0802
NVRM: Xid (0002:00): 13,  01014a00 004a 0104 0003
0802
NVRM: Xid (0002:00): 13,  01016100 008a 0104 0003
0002
NVRM: Xid (0002:00): 13,  01014200 0062 0300 fff7
0002
NVRM: Xid (0002:00): 13,  01014200 0062 0300 fff1
0002
NVRM: Xid (0002:00): 13,  01016100 008a 0104 97004200
0002
NVRM: Xid (0002:00): 13,  01016100 008a 0104 97004200
0002
NVRM: Xid (0002:00): 13,  01016100 008a 0104 97004200
0002
NVRM: Xid (0002:00): 13,  01014a00 004a 0104 0003
0802
NVRM: Xid (0002:00): 13,  01011900 0019 0104 0003
0802
NVRM: Xid (0002:00): 13,  01011900 0019 0104 
0800
NVRM: Xid (0002:00): 13,  01019700 1196 0c28 02410273
0800
NVRM: Xid (0002:00): 13,  01014a00 004a 0104 0003
0802
NVRM: Xid (0002:00): 13,  01016100 008a 0104 97004200
0002

The README of the driver says that Xid-errors occor when the card gets
wrong instructions from the driver and/or vice-versa, but that doesn't
help me much getting to the root of the problem.

What I've done so far to track this down:

- Tried the driver from ports (atm in version 96.43.11) and the one
  from the website (96.43.13).
- installed compat5x (The nVidia page claims this is necessary).
- I tried with agp-support from the nVidia-driver and with agp-support
  from the FreeBSD kernel.

All that did not changed the observed beharviour. I would be more than
happy if someone could provide me with a hint...

The Xorg.0.log doesn't provide meaningful informations, except the
Xid-errors shown above. xorg.conf attached.

Thanks,
Frank
Section ServerLayout
Identifier X.org Configured
Screen  0  Screen0 0 0
InputDeviceMouse0 CorePointer
InputDeviceKeyboard0 CoreKeyboard
EndSection

Section InputDevice
Identifier  Keyboard0
Driver  kbd
EndSection

Section Files
FontPath/usr/X11R6/lib/X11/fonts/terminus-font
EndSection


Section InputDevice
Identifier  Mouse0
Driver  mouse
Option  Protocol auto
Option  Device /dev/sysmouse
Option  ZAxisMapping 4 5 6 7
EndSection

Section Monitor
Identifier   Monitor0
VendorName   Monitor Vendor
ModelNameMonitor Model
HorizSync30-60
VertRefresh  50-76
Option   DPMS
EndSection

Section Device
Identifier  Card0
Driver  nvidia
VendorName  nVidia Corporation
BoardName   NVCrush11 [GeForce2 MX Integrated Graphics]
BusID   PCI:2:0:0
EndSection

Section Screen
Identifier Screen0
Device Card0
MonitorMonitor0
SubSection Display
Viewport   0 0
Depth 32 
EndSubSection
EndSection

___
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

Touchpad and wheel buttons

2009-07-18 Thread Fernando Apesteguía
Hi all,

I'm using FreeBSD 8.0 BETA1, but I post in this list cause I had the
same problem in 7.2, since it is Xorg related.
I have a laptop. The touchpad provides 4 buttons. Two of them are the
normal left and right buttons and the other two should provide the
wheel-like functionality, scrolling windows up and down.

However, the behavior is quite different. In Firefox, for example, if
I click on the touchpad area, I go back to the previous web site. The
same for the wheel-down button. The wheel up button doesn't do
anything. I disabled the AutoAddDevices in xorg.conf and added a
mouse section:

Section InputDevice
Identifier  Mouse0
Driver  mouse
Option  Protocol auto
Option  Device /dev/sysmouse
Option  ZAxisMapping 4 5 6 7
EndSection

It doesn't work either. I tried to change the protocol from auto to
IMPS/2 but it hangs Xorg.

How can I configure the touchpad?

Thanks in advance.
___
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: wget bug

2009-07-18 Thread Joe R. Jah
On Sat, 18 Jul 2009, Andrew Brampton wrote:

 Date: Sat, 18 Jul 2009 12:52:07 +0100
 From: Andrew Brampton brampton+free...@gmail.com
 To: Joe R. Jah j...@cloud.ccsf.cc.ca.us
 Cc: freebsd-questions@freebsd.org
 Subject: Re: OT: wget bug

 2009/7/17 Joe R. Jah j...@cloud.ccsf.cc.ca.us:
 
  Hello all,
 
  I want to wget a site at regular intervals and only get the updated pages,
  so I use the this wget command line:
 
  wget -b -m -nH http://host.domain/Directory/file.html
 
  It works fine on the first try, but it fails on subsequent tries with the
  following error message:
 
  --8--
  Connecting to host.domain ... connected.
  HTTP request sent, awaiting response... 401 Unauthorized
  Authorization failed.
  --8--

 This to me seems like the remote server is replying with 401. Perhaps
 wget is sending the If-Modified-Since HTTP header, and the remote
 server does not support this. I would confirm this by running tcpdump
 (or wireshark) to sniff the traffic and see what the remote server is
 replying with.

 If the remote server is truly returning 401, then you might either
 need to use an alternative tool, or configure wget differently.

 Hope this helps
 Andrew

Thank you Andrew.  Yes the server is truly returning 401.  I have already
reconfigured wget to download everything regardless of their timestamp,
but it's a waste of bandwidth, because most of the site is unchanged.

Do you know of any workaround in wget, or an alternative tool to ONLY
download newer files by http?

Regards,

Joe
-- 
 _/   _/_/_/   _/  __o
 _/   _/   _/  _/ __ _-\,_
 _/  _/   _/_/_/   _/  _/ ..(_)/ (_)
  _/_/ oe _/   _/.  _/_/ ahj...@cloud.ccsf.cc.ca.us
___
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: upgrade from Firefox 3.0 to Firefox 3.5 -- now that it's installed, it won't run

2009-07-18 Thread Chad Perrin
On Sat, Jul 18, 2009 at 12:57:57AM -0700, per...@pluto.rain.com wrote:
 
 I suspect the real concern is not that the upgrade itself will
 wreck something, but that the upgraded FF may do something odd
 the first time it is fired up :(

That's a pretty good guess.


 
 One hopes that backing up ~/.mozilla would cover it.

I hope so, too -- because that's what I tried.

Unfortunately, I haven't gotten far enough to see if anything was lost,
because now Firefox 3.5.x won't start:

Fatal error 'Recurse on a private mutex.' at line 986 in file
/usr/src/lib/libpthread/thread/thr_mutex.c (errno = 2)

Does anyone have any thoughts on what I should do with this?

-- 
Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]
A: It reverses the normal flow of conversation. Q: What's wrong with
top-posting?


pgp78l3t6E1qF.pgp
Description: PGP signature


Re: upgrade from Firefox 3.0 to Firefox 3.5 -- now that it's installed, it won't run

2009-07-18 Thread Frank Steinborn
Chad Perrin wrote:
 On Sat, Jul 18, 2009 at 12:57:57AM -0700, per...@pluto.rain.com wrote:
  
  I suspect the real concern is not that the upgrade itself will
  wreck something, but that the upgraded FF may do something odd
  the first time it is fired up :(
 
 That's a pretty good guess.
 
 
  
  One hopes that backing up ~/.mozilla would cover it.
 
 I hope so, too -- because that's what I tried.
 
 Unfortunately, I haven't gotten far enough to see if anything was lost,
 because now Firefox 3.5.x won't start:
 
 Fatal error 'Recurse on a private mutex.' at line 986 in file
 /usr/src/lib/libpthread/thread/thr_mutex.c (errno = 2)
 
 Does anyone have any thoughts on what I should do with this?

You must load the 'sem' kernel module.

Cheers,
Frank
___
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: upgrade from Firefox 3.0 to Firefox 3.5 -- now that it's installed, it won't run

2009-07-18 Thread Chad Perrin
On Sat, Jul 18, 2009 at 07:02:01PM +0200, Frank Steinborn wrote:
 Chad Perrin wrote:
  
  Unfortunately, I haven't gotten far enough to see if anything was lost,
  because now Firefox 3.5.x won't start:
  
  Fatal error 'Recurse on a private mutex.' at line 986 in file
  /usr/src/lib/libpthread/thread/thr_mutex.c (errno = 2)
  
  Does anyone have any thoughts on what I should do with this?
 
 You must load the 'sem' kernel module.

Okay -- where do I get the sem kernel module?

-- 
Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]
Quoth Marvin Minsky: . . . anyone could learn Lisp in 1 day, except
that if they already knew Fortran, it would take 3 days.


pgpHbV2Ji3ijz.pgp
Description: PGP signature


Re: OT: wget bug

2009-07-18 Thread Andrew Brampton
2009/7/18 Joe R. Jah j...@cloud.ccsf.cc.ca.us:
 Thank you Andrew.  Yes the server is truly returning 401.  I have already
 reconfigured wget to download everything regardless of their timestamp,
 but it's a waste of bandwidth, because most of the site is unchanged.

 Do you know of any workaround in wget, or an alternative tool to ONLY
 download newer files by http?


Joe,
There are two ways to check if the file has been changed. One, read
the time the file was last changed, or two, read the file and compare
it to a old copy. Wget was obviously trying to do option 1 but this is
denied by the remote server. You most likely could get it to do option
2, however by doing so you are wasting bandwidth downloading unchanged
files just to check if they had been changed.

If you have control over the remote webserver, then the simplest way
to solve this problem is to configure the webserver not to return 401
when wget sends the If-Modified-Since HTTP header. A better solution,
again assuming you have control of the remote server, is to use
rsync as it is designed for this kind of task.

If you don't have control over the remote server, then you are stuck
with your current solution.

Andrew
___
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: upgrade from Firefox 3.0 to Firefox 3.5 -- now that it's installed, it won't run

2009-07-18 Thread Frank Steinborn
Chad Perrin wrote:
 On Sat, Jul 18, 2009 at 07:02:01PM +0200, Frank Steinborn wrote:
  Chad Perrin wrote:
   
   Unfortunately, I haven't gotten far enough to see if anything was lost,
   because now Firefox 3.5.x won't start:
   
   Fatal error 'Recurse on a private mutex.' at line 986 in file
   /usr/src/lib/libpthread/thread/thr_mutex.c (errno = 2)
   
   Does anyone have any thoughts on what I should do with this?
  
  You must load the 'sem' kernel module.
 
 Okay -- where do I get the sem kernel module?

It is included in FreeBSD, just type 'kldload sem' to load it. If you
want to have loaded it automatically on boot, add the following to
your /boot/loader.conf:

sem_load=YES

Cheers,
Frank
___
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: upgrade from Firefox 3.0 to Firefox 3.5 -- now that it's installed, it won't run

2009-07-18 Thread Chad Perrin
On Sat, Jul 18, 2009 at 07:17:53PM +0200, Frank Steinborn wrote:
 Chad Perrin wrote:
  
  Okay -- where do I get the sem kernel module?
 
 It is included in FreeBSD, just type 'kldload sem' to load it. If you
 want to have loaded it automatically on boot, add the following to
 your /boot/loader.conf:
 
 sem_load=YES

Unfortunately, this does not appear to be the case on my system:

# kldload sem
kldload: can't load sem: No such file or directory

# locate sem.ko
/boot/kernel/sysvsem.ko
/boot/kernel.GENERIC/sysvsem.ko
/boot/kernel.OPT_KOKOPELLI_APM/sysvsem.ko

/usr/obj/usr/src/sys/OPT_KOKOPELLI/modules/usr/src/sys/modules/sysvipc/sysvsem/sysvsem.ko

/usr/obj/usr/src/sys/OPT_KOKOPELLI/modules/usr/src/sys/modules/sysvipc/sysvsem/sysvsem.ko.debug

-- 
Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]
Quoth Coline MacDonald: Don't burn your bridges while you're standing
on them.


pgpjGR6j1iUzn.pgp
Description: PGP signature


Re: Recover deleted file

2009-07-18 Thread Morgan Wesström
Leonardo M. Ramé wrote:
 Hi, I deleted a directory using rm -rf directory in a mounted NTFS volume 
 (with ntfs-3g) and I'm wondering if is there a way to recover this directory?
 
 Thanks in advance,
 Leonardo.
 


sysutils/testdisk

I haven't used it in FreeBSD but I have used it successfully in Linux to
undelete files and folders on NTFS partitions. Wiki to describe the
procedure is here:
http://www.cgsecurity.org/wiki/TestDisk:_undelete_file_for_NTFS

Regards
Morgan
___
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: upgrade from Firefox 3.0 to Firefox 3.5 -- now that it's installed, it won't run

2009-07-18 Thread Frank Steinborn
Chad Perrin wrote:
 On Sat, Jul 18, 2009 at 07:17:53PM +0200, Frank Steinborn wrote:
  Chad Perrin wrote:
   
   Okay -- where do I get the sem kernel module?
  
  It is included in FreeBSD, just type 'kldload sem' to load it. If you
  want to have loaded it automatically on boot, add the following to
  your /boot/loader.conf:
  
  sem_load=YES
 
 Unfortunately, this does not appear to be the case on my system:
 
 # kldload sem
 kldload: can't load sem: No such file or directory
 
 # locate sem.ko
 /boot/kernel/sysvsem.ko
 /boot/kernel.GENERIC/sysvsem.ko
 /boot/kernel.OPT_KOKOPELLI_APM/sysvsem.ko
 
 /usr/obj/usr/src/sys/OPT_KOKOPELLI/modules/usr/src/sys/modules/sysvipc/sysvsem/sysvsem.ko
 
 /usr/obj/usr/src/sys/OPT_KOKOPELLI/modules/usr/src/sys/modules/sysvipc/sysvsem/sysvsem.ko.debug

Not good. What version of FreeBSD are you actually running? And could
it be that you only build some and not all modules with your FreeBSD
kernel, so that sem might not be available?

Frank 
___
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: upgrade from Firefox 3.0 to Firefox 3.5 -- now that it's installed, it won't run

2009-07-18 Thread Chad Perrin
On Sat, Jul 18, 2009 at 07:28:41PM +0200, Frank Steinborn wrote:
 Chad Perrin wrote:
  
  # kldload sem
  kldload: can't load sem: No such file or directory
  
  # locate sem.ko
  /boot/kernel/sysvsem.ko
  /boot/kernel.GENERIC/sysvsem.ko
  /boot/kernel.OPT_KOKOPELLI_APM/sysvsem.ko
  
  /usr/obj/usr/src/sys/OPT_KOKOPELLI/modules/usr/src/sys/modules/sysvipc/sysvsem/sysvsem.ko
  
  /usr/obj/usr/src/sys/OPT_KOKOPELLI/modules/usr/src/sys/modules/sysvipc/sysvsem/sysvsem.ko.debug
 
 Not good. What version of FreeBSD are you actually running? And could
 it be that you only build some and not all modules with your FreeBSD
 kernel, so that sem might not be available?

It's 6.2, and it's fairly standard.  I sure as hell didn't remove any
kernel modules from the default kernel module directory.

-- 
Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]
Quoth Philip Machanick: caution: if you write code like this,
immediately after you are fired the person assigned to maintaining your
code after you leave will resign


pgpDvnMtnAzAN.pgp
Description: PGP signature


Re: upgrade from Firefox 3.0 to Firefox 3.5 -- now that it's installed, it won't run

2009-07-18 Thread Frank Steinborn
Chad Perrin wrote:
 On Sat, Jul 18, 2009 at 07:28:41PM +0200, Frank Steinborn wrote:
  Chad Perrin wrote:
   
   # kldload sem
   kldload: can't load sem: No such file or directory
   
   # locate sem.ko
   /boot/kernel/sysvsem.ko
   /boot/kernel.GENERIC/sysvsem.ko
   /boot/kernel.OPT_KOKOPELLI_APM/sysvsem.ko
   
   /usr/obj/usr/src/sys/OPT_KOKOPELLI/modules/usr/src/sys/modules/sysvipc/sysvsem/sysvsem.ko
   
   /usr/obj/usr/src/sys/OPT_KOKOPELLI/modules/usr/src/sys/modules/sysvipc/sysvsem/sysvsem.ko.debug
  
  Not good. What version of FreeBSD are you actually running? And could
  it be that you only build some and not all modules with your FreeBSD
  kernel, so that sem might not be available?
 
 It's 6.2, and it's fairly standard.  I sure as hell didn't remove any
 kernel modules from the default kernel module directory.

Now this is strange... it should be available. See the sem(4) manpage.
No idea how to help from this point except to advice you to rebuild
your kernel and see if the module becomes available. It is definitely
needed for running Firefox 3.5.

Cheers,
Frank
___
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: upgrade from Firefox 3.0 to Firefox 3.5 -- now that it's installed, it won't run

2009-07-18 Thread Chad Perrin
On Sat, Jul 18, 2009 at 07:48:27PM +0200, Frank Steinborn wrote:
 
 Now this is strange... it should be available. See the sem(4) manpage.
 No idea how to help from this point except to advice you to rebuild
 your kernel and see if the module becomes available. It is definitely
 needed for running Firefox 3.5.

Isn't there some way to get it using CVS or Subversion?  I can't imagine
how a standard module would just be *missing*.

-- 
Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]
Quoth Marvin Minsky: . . . anyone could learn Lisp in 1 day, except
that if they already knew Fortran, it would take 3 days.


pgpxLjeppvNfU.pgp
Description: PGP signature


Re: upgrade from Firefox 3.0 to Firefox 3.5 -- now that it's installed, it won't run

2009-07-18 Thread Frank Steinborn
Chad Perrin wrote:
 On Sat, Jul 18, 2009 at 07:48:27PM +0200, Frank Steinborn wrote:
  
  Now this is strange... it should be available. See the sem(4) manpage.
  No idea how to help from this point except to advice you to rebuild
  your kernel and see if the module becomes available. It is definitely
  needed for running Firefox 3.5.
 
 Isn't there some way to get it using CVS or Subversion?  I can't imagine
 how a standard module would just be *missing*.

Me neither. You can do the following:

cd /usr/src/sys/modules/sem  make install clean

Frank
___
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: upgrade from Firefox 3.0 to Firefox 3.5 -- now that it's installed, it won't run

2009-07-18 Thread Chad Perrin
On Sat, Jul 18, 2009 at 07:53:58PM +0200, Frank Steinborn wrote:
 Chad Perrin wrote:
  On Sat, Jul 18, 2009 at 07:48:27PM +0200, Frank Steinborn wrote:
   
   Now this is strange... it should be available. See the sem(4) manpage.
   No idea how to help from this point except to advice you to rebuild
   your kernel and see if the module becomes available. It is definitely
   needed for running Firefox 3.5.
  
  Isn't there some way to get it using CVS or Subversion?  I can't imagine
  how a standard module would just be *missing*.
 
 Me neither. You can do the following:
 
 cd /usr/src/sys/modules/sem  make install clean

Actually, right after that last email of mine, I tracked down sem in src,
and built it.  Then:

# kldload sem

# kldstat -v|grep sem.ko
141 0xc621c000 4000 sem.ko

 firefox3
Fatal error 'Recurse on a private mutex.' at line 986 in file
/usr/src/lib/libpthread/thread/thr_mutex.c (errno = 2)
Abort trap

-- 
Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]
Quoth Philip Machanick: caution: if you write code like this,
immediately after you are fired the person assigned to maintaining your
code after you leave will resign


pgpr87OOs31pv.pgp
Description: PGP signature


Re: upgrade from Firefox 3.0 to Firefox 3.5 -- now that it's installed, it won't run

2009-07-18 Thread Frank Steinborn
Chad Perrin wrote:
 On Sat, Jul 18, 2009 at 07:53:58PM +0200, Frank Steinborn wrote:
  Chad Perrin wrote:
   On Sat, Jul 18, 2009 at 07:48:27PM +0200, Frank Steinborn wrote:

Now this is strange... it should be available. See the sem(4) manpage.
No idea how to help from this point except to advice you to rebuild
your kernel and see if the module becomes available. It is definitely
needed for running Firefox 3.5.
   
   Isn't there some way to get it using CVS or Subversion?  I can't imagine
   how a standard module would just be *missing*.
  
  Me neither. You can do the following:
  
  cd /usr/src/sys/modules/sem  make install clean
 
 Actually, right after that last email of mine, I tracked down sem in src,
 and built it.  Then:
 
 # kldload sem
 
 # kldstat -v|grep sem.ko
 141 0xc621c000 4000 sem.ko
 
  firefox3
 Fatal error 'Recurse on a private mutex.' at line 986 in file
 /usr/src/lib/libpthread/thread/thr_mutex.c (errno = 2)
 Abort trap

Ok, now this seems to be a problem with libpthread-stuff. The problem
only exists in 6.x. Sorry that I did not mention that earlier, but it
just crossed my mind right now... However, someone is working at it.
He also mentions some workarounds you could try.

Please read the thread www/firefox35 coredumps every time at startup
on po...@.

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


Zero size allocation with Yealink VOIP USB Phone, 7.2-RELEASE (Was: Re: hald: kmem_malloc error)

2009-07-18 Thread Mel Flynn
[ Adding usb@ and keeping long context for that purpose ]

On Saturday 18 July 2009 08:29:32 Andrey Shuvikov wrote:
 On Sat, Jul 18, 2009 at 2:02 AM, Mel

 Flynnmel.flynn+fbsd.questi...@mailing.thruhere.net wrote:
  On Friday 17 July 2009 18:59:49 Andrey Shuvikov wrote:
  I'm trying to configure X and according to the manual enabled DBUS and
  HALD. But when hald is starting up I get kernel panic:
 
  kmem_malloc: entry not found or misaligned
 
  Does anyone know what could be wrong? I have memory dump if it can
  help but it's big (173M).
 
  If you have a file /var/crash/vmcore.0, you will want to run the
  following command:
  kgdb /boot/kernel/kernel /var/crash/vmcore.0
  Then type bt at the prompt and paste output here.
 
  More info:
  http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/ker
 neldebug.html
 
  uname -a and dmesg output also help in diagnosing this problem.
  --
  Mel

 The uname output is:

 FreeBSD foxtrot.home 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Fri May  1
 08:49:13 UTC 2009
 r...@walker.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386

 The kgdb output:

 GNU gdb 6.1.1 [FreeBSD]
 Copyright 2004 Free Software Foundation, Inc.
 GDB is free software, covered by the GNU General Public License, and you
 are welcome to change it and/or distribute copies of it under certain
 conditions. Type show copying to see the conditions.
 There is absolutely no warranty for GDB.  Type show warranty for details.
 This GDB was configured as i386-marcel-freebsd...

 Unread portion of the kernel message buffer:
 panic: kmem_malloc: entry not found or misaligned
 cpuid = 0
 Uptime: 52s
 Physical memory: 2034 MB
 Dumping 176 MB: 161 145 129 113 97 81 65 49 33 17 1

 Reading symbols from /boot/kernel/linux.ko...Reading symbols from
 /boot/kernel/linux.ko.symbols...done.
 done.
 Loaded symbols for /boot/kernel/linux.ko
 #0  doadump () at pcpu.h:196
 196   pcpu.h: No such file or directory.
   in pcpu.h
 (kgdb) bt
 #0  doadump () at pcpu.h:196
 #1  0xc07e25a7 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:418
 #2  0xc07e2879 in panic (fmt=Variable fmt is not available.
 ) at /usr/src/sys/kern/kern_shutdown.c:574
 #3  0xc0a1cdc0 in kmem_malloc (map=0xc147108c, size=0, flags=2)
 at /usr/src/sys/vm/vm_kern.c:381
 #4  0xc0a13357 in page_alloc (zone=0x0, bytes=0, pflag=0xe7b6497f \002,
 wait=2) at /usr/src/sys/vm/uma_core.c:952
 #5  0xc0a15e20 in uma_large_malloc (size=0, wait=2)
 at /usr/src/sys/vm/uma_core.c:2706
 #6  0xc07d16f8 in malloc (size=0, mtp=0xc0c46580, flags=2)
^^
 at /usr/src/sys/kern/kern_malloc.c:393
 #7  0xc0743044 in uhidopen (dev=0xc5713000, flag=1, mode=8192,
 p=0xc5c6a460) at /usr/src/sys/dev/usb/uhid.c:428
In kgdb can you print the entire softcell as follows:
f 7
p *sc

Hopefully that will provide sufficient information for the usb developers to 
fix this problem.

 #8  0xc07a56a0 in giant_open (dev=0xc5713000, oflags=1, devtype=8192,
 td=0xc5c6a460) at /usr/src/sys/kern/kern_conf.c:332
 #9  0xc076e1fc in devfs_open (ap=0xe7b64a88)
 at /usr/src/sys/fs/devfs/devfs_vnops.c:908
 #10 0xc0af88d2 in VOP_OPEN_APV (vop=0xc0c47ee0, a=0xe7b64a88)
 at vnode_if.c:371
 #11 0xc0870829 in vn_open_cred (ndp=0xe7b64b7c, flagp=0xe7b64c78, cmode=0,
 cred=0xc5470100, fp=0xc5b57da8) at vnode_if.h:199
 #12 0xc0870973 in vn_open (ndp=0xe7b64b7c, flagp=0xe7b64c78, cmode=0,
 fp=0xc5b57da8) at /usr/src/sys/kern/vfs_vnops.c:94
 #13 0xc086e0a3 in kern_open (td=0xc5c6a460,
 path=0xbfbfe90c Address 0xbfbfe90c out of bounds,
 pathseg=UIO_USERSPACE, flags=1, mode=0)
 at /usr/src/sys/kern/vfs_syscalls.c:1042
 #14 0xc086e610 in open (td=0xc5c6a460, uap=0xe7b64cfc)
 at /usr/src/sys/kern/vfs_syscalls.c:1009
 #15 0xc0ae4495 in syscall (frame=0xe7b64d38)
 at /usr/src/sys/i386/i386/trap.c:1090
 #16 0xc0ac9260 in Xint0x80_syscall ()
 at /usr/src/sys/i386/i386/exception.s:255
 #17 0x0033 in ?? ()
 Previous frame inner to this frame (corrupt stack?)
 (kgdb) q

 The dmesg:

 Copyright (c) 1992-2009 The FreeBSD Project.
 Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
   The Regents of the University of California. All rights reserved.
 FreeBSD is a registered trademark of The FreeBSD Foundation.
 FreeBSD 7.2-RELEASE #0: Fri May  1 08:49:13 UTC 2009
 r...@walker.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC
 Timecounter i8254 frequency 1193182 Hz quality 0
 CPU: Intel(R) Core(TM)2 Duo CPU E8400  @ 3.00GHz (2999.67-MHz 686-class
 CPU) Origin = GenuineIntel  Id = 0x10676  Stepping = 6
  
 Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MC
A,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE
 Features2=0x8e3fdSSE3,DTES64,MON,DS_CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PD
CM,SSE4.1 AMD Features=0x2010NX,LM
   AMD Features2=0x1LAHF
   Cores per package: 2
 real memory  = 2146893824 (2047 MB)
 avail memory = 2091225088 (1994 MB)
 ACPI APIC 

Re: upgrade from Firefox 3.0 to Firefox 3.5 -- now that it's installed, it won't run

2009-07-18 Thread Chad Perrin
On Sat, Jul 18, 2009 at 08:06:58PM +0200, Frank Steinborn wrote:
 
 Ok, now this seems to be a problem with libpthread-stuff. The problem
 only exists in 6.x. Sorry that I did not mention that earlier, but it
 just crossed my mind right now... However, someone is working at it.
 He also mentions some workarounds you could try.
 
 Please read the thread www/firefox35 coredumps every time at startup
 on po...@.

That doesn't seem to have worked out for me, either, exactly.  I tried
creating the /etc/libmap.conf file as offered for a workaround:

[/usr/local/lib/firefox3/firefox-bin]
libpthread.so.2 libthr.so.2
libpthread.so   libthr.so

. . . but this is the result:

 firefox3

(firefox-bin:39533): GLib-GObject-WARNING **:
IA__g_object_weak_unref: couldn't find weak ref 0x29e9ce10(0x809a330)
Segmentation fault

I seem to have unsubscribed from freebsd-ports@ a while ago, so I can't
just respond in-thread to the www/firefox35 coredumps discussion there.
Would it be better for me to start a new thread on freebsd-ports@ rather
than continue discussing it here?

-- 
Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]
Quoth Dennis Miller: Bill Gates is a monocle and a Persian Cat away
from being the villain in a James Bond movie.


pgpAC47TxndzJ.pgp
Description: PGP signature


Re: Zero size allocation with Yealink VOIP USB Phone, 7.2-RELEASE (Was: Re: hald: kmem_malloc error)

2009-07-18 Thread Andrey Shuvikov
On Sat, Jul 18, 2009 at 2:29 PM, Mel
Flynnmel.flynn+fbsd.questi...@mailing.thruhere.net wrote:
 [ Adding usb@ and keeping long context for that purpose ]

 On Saturday 18 July 2009 08:29:32 Andrey Shuvikov wrote:
 On Sat, Jul 18, 2009 at 2:02 AM, Mel

 Flynnmel.flynn+fbsd.questi...@mailing.thruhere.net wrote:
  On Friday 17 July 2009 18:59:49 Andrey Shuvikov wrote:
  I'm trying to configure X and according to the manual enabled DBUS and
  HALD. But when hald is starting up I get kernel panic:
 
  kmem_malloc: entry not found or misaligned
 
  Does anyone know what could be wrong? I have memory dump if it can
  help but it's big (173M).
 
  If you have a file /var/crash/vmcore.0, you will want to run the
  following command:
  kgdb /boot/kernel/kernel /var/crash/vmcore.0
  Then type bt at the prompt and paste output here.
 
  More info:
  http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/ker
 neldebug.html
 
  uname -a and dmesg output also help in diagnosing this problem.
  --
  Mel

 The uname output is:

 FreeBSD foxtrot.home 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Fri May  1
 08:49:13 UTC 2009
 r...@walker.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386

 The kgdb output:

 GNU gdb 6.1.1 [FreeBSD]
 Copyright 2004 Free Software Foundation, Inc.
 GDB is free software, covered by the GNU General Public License, and you
 are welcome to change it and/or distribute copies of it under certain
 conditions. Type show copying to see the conditions.
 There is absolutely no warranty for GDB.  Type show warranty for details.
 This GDB was configured as i386-marcel-freebsd...

 Unread portion of the kernel message buffer:
 panic: kmem_malloc: entry not found or misaligned
 cpuid = 0
 Uptime: 52s
 Physical memory: 2034 MB
 Dumping 176 MB: 161 145 129 113 97 81 65 49 33 17 1

 Reading symbols from /boot/kernel/linux.ko...Reading symbols from
 /boot/kernel/linux.ko.symbols...done.
 done.
 Loaded symbols for /boot/kernel/linux.ko
 #0  doadump () at pcpu.h:196
 196   pcpu.h: No such file or directory.
       in pcpu.h
 (kgdb) bt
 #0  doadump () at pcpu.h:196
 #1  0xc07e25a7 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:418
 #2  0xc07e2879 in panic (fmt=Variable fmt is not available.
 ) at /usr/src/sys/kern/kern_shutdown.c:574
 #3  0xc0a1cdc0 in kmem_malloc (map=0xc147108c, size=0, flags=2)
     at /usr/src/sys/vm/vm_kern.c:381
 #4  0xc0a13357 in page_alloc (zone=0x0, bytes=0, pflag=0xe7b6497f \002,
     wait=2) at /usr/src/sys/vm/uma_core.c:952
 #5  0xc0a15e20 in uma_large_malloc (size=0, wait=2)
     at /usr/src/sys/vm/uma_core.c:2706
 #6  0xc07d16f8 in malloc (size=0, mtp=0xc0c46580, flags=2)
                            ^^
     at /usr/src/sys/kern/kern_malloc.c:393
 #7  0xc0743044 in uhidopen (dev=0xc5713000, flag=1, mode=8192,
 p=0xc5c6a460) at /usr/src/sys/dev/usb/uhid.c:428
 In kgdb can you print the entire softcell as follows:
 f 7
 p *sc

 Hopefully that will provide sufficient information for the usb developers to
 fix this problem.

 #8  0xc07a56a0 in giant_open (dev=0xc5713000, oflags=1, devtype=8192,
     td=0xc5c6a460) at /usr/src/sys/kern/kern_conf.c:332
 #9  0xc076e1fc in devfs_open (ap=0xe7b64a88)
     at /usr/src/sys/fs/devfs/devfs_vnops.c:908
 #10 0xc0af88d2 in VOP_OPEN_APV (vop=0xc0c47ee0, a=0xe7b64a88)
     at vnode_if.c:371
 #11 0xc0870829 in vn_open_cred (ndp=0xe7b64b7c, flagp=0xe7b64c78, cmode=0,
     cred=0xc5470100, fp=0xc5b57da8) at vnode_if.h:199
 #12 0xc0870973 in vn_open (ndp=0xe7b64b7c, flagp=0xe7b64c78, cmode=0,
     fp=0xc5b57da8) at /usr/src/sys/kern/vfs_vnops.c:94
 #13 0xc086e0a3 in kern_open (td=0xc5c6a460,
     path=0xbfbfe90c Address 0xbfbfe90c out of bounds,
     pathseg=UIO_USERSPACE, flags=1, mode=0)
     at /usr/src/sys/kern/vfs_syscalls.c:1042
 #14 0xc086e610 in open (td=0xc5c6a460, uap=0xe7b64cfc)
     at /usr/src/sys/kern/vfs_syscalls.c:1009
 #15 0xc0ae4495 in syscall (frame=0xe7b64d38)
     at /usr/src/sys/i386/i386/trap.c:1090
 #16 0xc0ac9260 in Xint0x80_syscall ()
     at /usr/src/sys/i386/i386/exception.s:255
 #17 0x0033 in ?? ()
 Previous frame inner to this frame (corrupt stack?)
 (kgdb) q

 The dmesg:

 Copyright (c) 1992-2009 The FreeBSD Project.
 Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
       The Regents of the University of California. All rights reserved.
 FreeBSD is a registered trademark of The FreeBSD Foundation.
 FreeBSD 7.2-RELEASE #0: Fri May  1 08:49:13 UTC 2009
     r...@walker.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC
 Timecounter i8254 frequency 1193182 Hz quality 0
 CPU: Intel(R) Core(TM)2 Duo CPU     E8400  @ 3.00GHz (2999.67-MHz 686-class
 CPU) Origin = GenuineIntel  Id = 0x10676  Stepping = 6

 Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MC
A,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE
 Features2=0x8e3fdSSE3,DTES64,MON,DS_CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PD
CM,SSE4.1 AMD Features=0x2010NX,LM
   AMD Features2=0x1LAHF
   Cores 

Re: Zero size allocation with Yealink VOIP USB Phone, 7.2-RELEASE (Was: Re: hald: kmem_malloc error)

2009-07-18 Thread Mel Flynn
On Saturday 18 July 2009 12:20:17 Andrey Shuvikov wrote:

 How did you know it's Yealink? Just because
 it's the only uhid device?

Yes, that's why the dmesg was useful.

 Thanks a lot!

You're very welcome.

-- 
Mel
___
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: upgrade from Firefox 3.0 to Firefox 3.5 -- now that it's installed, it won't run

2009-07-18 Thread Frank Steinborn
Chad Perrin wrote:
 I seem to have unsubscribed from freebsd-ports@ a while ago, so I can't
 just respond in-thread to the www/firefox35 coredumps discussion there.
 Would it be better for me to start a new thread on freebsd-ports@ rather
 than continue discussing it here?

I would recommend following up here with a short recap of things we
discussed, and add ports@ as a second recipient. However, I'm not sure
if this will help you instantly, as there needs to be some work done
on 6.x to make this work. And as you could see, someone is already
working on it...

I guess the best thing to do is to be just patient for now... :-(

Frank
___
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: upgrade from Firefox 3.0 to Firefox 3.5

2009-07-18 Thread Polytropon
On Sat, 18 Jul 2009 00:57:57 -0700, per...@pluto.rain.com wrote:
 I suspect the real concern is not that the upgrade itself will
 wreck something, but that the upgraded FF may do something odd
 the first time it is fired up :(

That's possible. At least, I don't think FF 3.x - 3.y will
have such an impact. When I updated Opera, my favourite web
browser, I didn't have problems with bookmarks, cookies,
certificates and other stuff, but that doesn't imply anything
to Firefox.

Only solution: Trial and error. :-)



 One hopes that backing up ~/.mozilla would cover it.

It does. In worst case, restore older Firefox and keep using
the working settings. Otherwise, try to translate changed
settings to the new Firefox version.


-- 
Polytropon
From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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: Recover deleted file

2009-07-18 Thread Polytropon
On Sat, 18 Jul 2009 19:07:46 +0200, Morgan Wesström 
freebsd-questi...@pp.dyndns.biz wrote:
 sysutils/testdisk
 
 I haven't used it in FreeBSD but I have used it successfully in Linux to
 undelete files and folders on NTFS partitions.

In worst case, there's always TSK (The Sleuth Kit), operating on
a level lower than the file system.



-- 
Polytropon
From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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: Binary nVidia-driver with GeForce2 Integrated GPU

2009-07-18 Thread Rafal Grodzinski

Frank Steinborn wrote:

Hi list,

I have a box with a GeForce2 MX/MX400 onboard on an nForce-chipset and
want to use the binary nVidia-driver with it. I have to use the legacy
driver (96.43.13). It installs without problems, and the GPU gets
detected properly: 


nvidia0: GeForce2 Integrated GPU on vgapci0
vgapci0: child nvidia0 requested pci_enable_busmaster
vgapci0: child nvidia0 requested pci_enable_io
nvidia0: [GIANT-LOCKED]
nvidia0: [ITHREAD]

However, if I start X, strange things happen. The video is shown, but
there are many artifacts and all looks kind of strange - it is
unusable. I can see the following from the nVidia-driver in dmesg
after X started:

NVRM: Xid (0002:00): 13,  01014a00 004a 0104 0003
0802
NVRM: Xid (0002:00): 13,  01014a00 004a 0104 0003
0802
NVRM: Xid (0002:00): 13,  01014a00 004a 0104 0003
0802
NVRM: Xid (0002:00): 13,  01014a00 004a 0104 0003
0802
NVRM: Xid (0002:00): 13,  01016100 008a 0104 0003
0002
NVRM: Xid (0002:00): 13,  01014200 0062 0300 fff7
0002
NVRM: Xid (0002:00): 13,  01014200 0062 0300 fff1
0002
NVRM: Xid (0002:00): 13,  01016100 008a 0104 97004200
0002
NVRM: Xid (0002:00): 13,  01016100 008a 0104 97004200
0002
NVRM: Xid (0002:00): 13,  01016100 008a 0104 97004200
0002
NVRM: Xid (0002:00): 13,  01014a00 004a 0104 0003
0802
NVRM: Xid (0002:00): 13,  01011900 0019 0104 0003
0802
NVRM: Xid (0002:00): 13,  01011900 0019 0104 
0800
NVRM: Xid (0002:00): 13,  01019700 1196 0c28 02410273
0800
NVRM: Xid (0002:00): 13,  01014a00 004a 0104 0003
0802
NVRM: Xid (0002:00): 13,  01016100 008a 0104 97004200
0002

The README of the driver says that Xid-errors occor when the card gets
wrong instructions from the driver and/or vice-versa, but that doesn't
help me much getting to the root of the problem.

What I've done so far to track this down:

- Tried the driver from ports (atm in version 96.43.11) and the one
  from the website (96.43.13).
- installed compat5x (The nVidia page claims this is necessary).
- I tried with agp-support from the nVidia-driver and with agp-support
  from the FreeBSD kernel.

All that did not changed the observed beharviour. I would be more than
happy if someone could provide me with a hint...

The Xorg.0.log doesn't provide meaningful informations, except the
Xid-errors shown above. xorg.conf attached.

Thanks,
Frank




___
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


Hello Frank,

I'd advise you to try out different versions of nvidia driver from 
ports, especially x11/nvidia-driver-71 as it's quite an old card.


I have GeForce 6100 and if I use anything different than 
x11/nvidia-driver-173 I get some random issues.


If you still get issues with x11/nvidia-driver-71 I think that you 
should check out some older drivers from nvidia web site.


About your xorg.conf file I don't think that you need to have both 
Option   DPMS

and
HorizSync30-60,
VertRefresh  50-76
set at the same time. As I understand it DPMS means that graphics card 
reads these information directly from screen so you don't have to set it 
yourself. I've got only

Option   DPMS
set and it works fine.


Rafal
___
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: wget bug

2009-07-18 Thread Karl Vogel
 On Sat, 18 Jul 2009 09:41:00 -0700 (PDT), 
 Joe R. Jah j...@cloud.ccsf.cc.ca.us said:

J Do you know of any workaround in wget, or an alternative tool to ONLY
J download newer files by http?

   curl can help for things like this.  For example, if you're getting
   just a few files, fetch only the header and check the last-modified date:

  me% curl -I http://curl.haxx.se/docs/manual.html
  HTTP/1.1 200 OK
  Proxy-Connection: Keep-Alive
  Connection: Keep-Alive
  Date: Sat, 18 Jul 2009 23:24:24 GMT
  Server: Apache/2.2.3 (Debian) mod_python/3.2.10 Python/2.4.4
  Last-Modified: Mon, 20 Apr 2009 17:46:02 GMT
  ETag: 5d63c-b2c5-1a936a80
  Accept-Ranges: bytes
  Content-Length: 45765
  Content-Type: text/html; charset=ISO-8859-1

   You can download files only if the remote one is newer than a local copy:

  me% curl -z local.html http://remote.server.com/remote.html

   Or only download the file if it was updated since Jan 12, 2009:

  me% curl -z Jan 12 2009 http://remote.server.com/remote.html

   Curl tries to use persistent connections for transfers, so put as many
   URLs on the same line as you can if you're looking to mirror a site.  I
   don't know how to make curl do something like walking a directory for a
   recursive download.

   You can get the source at http://curl.haxx.se/download.html

-- 
Karl Vogel  I don't speak for the USAF or my company

If lawyers are disbarred and clergymen defrocked, doesn't it follow
that electricians can be delighted, musicians denoted, cowboys deranged,
models deposed, tree surgeons debarked and dry cleaners depressed?
___
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: Interesting tool

2009-07-18 Thread Karl Vogel
 In an earlier message, someone said:
S It looks like a text dump of HTML, created with w3m or elinks.

 On Sat, 18 Jul 2009 11:30:19 +0200, Matthias Apitz g...@unixarea.de said:
M I wasn't aware of these tools and will check them; the text dump of lynx
M does not produce such output, even with placeholders for images.

   w3m produces great output for things like tables.  For HTML mail that
   I want to keep in plain-text format, I use something like this:

 qp  mail-message | w3m -no-graph -dump -T text/html -cols 75

   qp is a perl script I use to handle quoted-printable stuff:

 #!/usr/bin/perl
 #qp: decode quoted-printable crap from mailing lists.
 use MIME::Decoder;
 $decoder = new MIME::Decoder 'quoted-printable' or die unsupported;
 $decoder-decode(\*STDIN, \*STDOUT);
 exit(0);

-- 
Karl Vogel  I don't speak for the USAF or my company
My name is not Dr. Death. --written on blackboard by Bart Simpson
___
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


The FreeBSD Diary: 2009-07-18

2009-07-18 Thread Dan Langille
The FreeBSD Diary contains a large number of practical 
examples and how-to guides.  This message is posted weekly
to freebsd-questions@freebsd.org with the aim of letting people
know what's available on the website.  Before you post a question
here it might be a good idea to first search the mailing list 
archives http://www.freebsd.org/search/search.html#mailinglists 
and/or The FreeBSD Diary http://www.freebsddiary.org/. 

RECENT ARTICLES:

2-Dec : Obscuring smtp auth headers
 If you consider your smtp-auth location to be private, this is what you 
want. 
 http://freebsddiary.org/smtp-headers-rewrite-auth.php?2

29-Nov : OpenVPN - creating a routed VPN
 If you have multiple VPN clients, this is a practical solution. 
 http://freebsddiary.org/openvpn-routed.php?2

27-Nov : Creating your own Certificate Authority
 How to create a CA and generate your own SSL certificates
 http://freebsddiary.org/openvpn-easy-rsa.php?2

27-Nov : OpenVPN - getting it running
 Using OpenVPN to create a secure pathway between home and office 
 http://freebsddiary.org/openvpn.php?2

5-Oct : Removing dead mailing lists from Mailman
 Mailing lists can outlive their usefulness 
 http://freebsddiary.org/mailman-removing-dead-lists.php?2

30-Aug : gmirror - recovering from a failed HDD
 an HDD failed.  gmirror to the rescue. 
 http://freebsddiary.org/gmirror-failure.php?2

6-Jul : ezjail - A jail administration framework
 This makes jails easier 
 http://freebsddiary.org/ezjail.php?2

24-Jun : Adding gmirror to an existing installation
 Adding RAID-1 to an existing FreeBSD 7 installation
 http://freebsddiary.org/gmirror.php?2

20-Mar : ThinkPad x61s
 Unpacking the box, installing PC-BSD 
 http://freebsddiary.org/thinkpad-x61s.php?2

17-Mar : Using two monitors with X.org
 The GeForce 8600 GT with two monitors 
 http://freebsddiary.org/xorg-two-screens.php?2


-- 
Dan Langille
BSDCan - http://www.BSDCan.org/ - BSD Conference

___
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


Reliable VPS solutions.

2009-07-18 Thread Jason Garrett
I am currently with JVDS for my vps solution, but we are still on
7.0-RELEASE and support telephone number and web ticketing system is down.

I have looked at Johnscompaines and RootBSD, both offer similar packages to
what I am on now, but I am looking for suggestions, advice, and experiences.

Can anyone provide input?


JG
___
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: Reliable VPS solutions.

2009-07-18 Thread Outback Dingo
RootBSD is rock solid never an issue, got my vote for them.

On 7/18/09, Jason Garrett kinged...@gmail.com wrote:

 I am currently with JVDS for my vps solution, but we are still on
 7.0-RELEASE and support telephone number and web ticketing system is down.

 I have looked at Johnscompaines and RootBSD, both offer similar packages to
 what I am on now, but I am looking for suggestions, advice, and
 experiences.

 Can anyone provide input?


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

___
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


Order To New Zealand

2009-07-18 Thread Bryan James
 No Message Collected 
___
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


Strange (repeatable) hang when ripping a CD

2009-07-18 Thread jw
Hello,

I am trying to use audio/ripit to rip an audio CD, but it results in a
system hang (no panic) every time.
Here is the tail of /var/log/messages when it happens:

Jul 18 22:25:46 lumpy kernel: acd0: WARNING - TEST_UNIT_READY
taskqueue timeout - completing request directly
Jul 18 22:26:25 lumpy kernel: acd0: FAILURE - device detached
Jul 18 22:26:25 lumpy kernel: acd0: WARNING - TEST_UNIT_READY
freeing taskqueue zombie request

This is straight-up 7.2-RELEASE amd64, with current port of audio/ripit.
I can mount/umount the cdrom and read a normal data disk with no
issues. FWIW, the drive shows up in dmesg like this:
acd0: CDRW LITE-ON LTR-24102B/5S07 at ata0-slave UDMA33

Any ideas what is going on or how to fix it?
It is nicely repeatable, at least.

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


OT: where to buy Atheros mini pci-exress?

2009-07-18 Thread Espartano
Hi folk, someone know where can I buy an Atheros mini pci-express card ?

I want to get one of this card (Atheros mini pci-express card) for my
laptop to use with freebsd of course but I can't to find out where or
in what web page I could buy one.


I will be glad getting any clue.

Thanks in advanced.


-- 
Un saludo y muchisimas gracias.

Atte: Ing. Jorge Sánchez Escobedo.
Sent from Orizaba, Ver, Mexico
___
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