Re: hplip setup problems

2008-03-26 Thread Isaac Mushinsky
On Wednesday 26 March 2008 00:21:12 Isaac Mushinsky wrote:
 I am close to assasinating my HP Photosmart C4280 in frustration.

 1. This is an all-in-one device. (I did not try the scanner setup yet)
 2. ulpt, umass, uscanner modules are not in kernel and not kld-loaded.
 3. Machine is FreeBSD 7-stable/amd64.
 4. hplip is 2.8.2

 $ usbdevs
 addr 1: UHCI root hub, Intel
 addr 1: UHCI root hub, Intel
 addr 1: UHCI root hub, Intel
 addr 1: EHCI root hub, Intel
  addr 2: Photosmart C4200 series, HP
 addr 1: UHCI root hub, Intel
 addr 1: UHCI root hub, Intel
 addr 1: UHCI root hub, Intel
 addr 1: EHCI root hub, Intel

 There is a ppd file for these series with the hplip distribution.

 hpssd, cups started in the order needed. hp-setup detects the printer, and
 then says 'Unable to create queue'. CUPS web interface actually adds the
 printer, but then cannot print test page to it. cups user runs hpssd (I
 tried root too).

 /var/log/messages has:
 Mar 25 23:57:56 omsk python: io/hpmud/musb.c 135: unable
 get_string_descriptor -5: Input/output error Mar 25 23:57:56 omsk python:
 io/hpmud/musb.c 1951: invalid serial id string ret=-5

 Here is all relevant output:
 http://omsk.mushinsky.net/hplip-trouble

 Any help is appreciated. Thanks.


Here are debug msgs from libusb:

usb_os_find_devices: Found /dev/ugen0 on /dev/usb3
usb_control_msg: 128 6 512 0 0x7fffdea0 8 1000
usb_control_msg: 128 6 512 0 0x800d80100 124 1000
usb_control_msg: 128 6 770 1033 0x7fffde10 255 5000
usb_control_msg: 128 6 771 1033 0x7fffde10 255 5000
USB error: error sending control message: Input/output error
error: Unable to communicate with device (code=12): 
hp:/usb/Photosmart_C4200_series?serial=0



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


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


Re: hplip setup problems

2008-03-26 Thread Lars Eighner

fOn Wed, 26 Mar 2008, Isaac Mushinsky wrote:


I am close to assasinating my HP Photosmart C4280 in frustration.

1. This is an all-in-one device. (I did not try the scanner setup yet)
2. ulpt, umass, uscanner modules are not in kernel and not kld-loaded.


So far as I can determine, there is no reason to avoid uscanner in
the kernel --- uscanner does not/should not grab the scanner function
of your all-in-one.  It should then be possible to attach your single
function scanner with sane --- although it is sensible to get hplip up
without that complication first.



3. Machine is FreeBSD 7-stable/amd64.
4. hplip is 2.8.2

$ usbdevs
addr 1: UHCI root hub, Intel
addr 1: UHCI root hub, Intel
addr 1: UHCI root hub, Intel
addr 1: EHCI root hub, Intel
addr 2: Photosmart C4200 series, HP
addr 1: UHCI root hub, Intel
addr 1: UHCI root hub, Intel
addr 1: UHCI root hub, Intel
addr 1: EHCI root hub, Intel

There is a ppd file for these series with the hplip distribution.

hpssd, cups started in the order needed. hp-setup detects the printer, and
then says 'Unable to create queue'. CUPS web interface actually adds the
printer, but then cannot print test page to it. cups user runs hpssd (I
tried root too).

/var/log/messages has:
Mar 25 23:57:56 omsk python: io/hpmud/musb.c 135: unable get_string_descriptor 
-5: Input/output error
Mar 25 23:57:56 omsk python: io/hpmud/musb.c 1951: invalid serial id string 
ret=-5

Here is all relevant output:
http://omsk.mushinsky.net/hplip-trouble


A lot of stuff advertised here doesn't seem to be visible/existent to lynx.

devfd.rules looks right
check group --- have you added whoever is using the printer to group cups
   (at least root and/or toor to print the test page)?

since you say you cannot print the test page, I assume you ran hp-setup from
a gui and can get into cups admin afterwards --- have you set the printer
you defined in hp-setup as the default printer in cups admin?

Is the printer ready (accepting jobs) according to cups admin?

if your failed test pages are showing up in the job queue, it may be
desirable to kill some of them in case you do something that does make it
work.


Any help is appreciated. Thanks.


That's all I can think of off the top of my head.

--
Lars Eighner
http://www.larseighner.com/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266

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


You've received A Hallmark E-Card!

2008-03-26 Thread hallmark.com

   [1]Hallmark.com [2]Shop Online [3]Hallmark Magazine [4]E-Cards  More
   [5]At Gold Crown 

 You have recieved A Hallmark E-Card.

 Hello!
   You have recieved a Hallmark E-Card.
   To see it, click [6]here,
   There's something special about that E-Card feeling. We invite you to
   make a friend's day and [7]send one.
   Hope to see you soon,
   Your friends at Hallmark
   Your privacy is our priority. Click the Privacy and Security link at
   the bottom of this E-mail to view our policy.

  [8]Hallmark.com | [9]Privacy  Security | [10]Customer Service |
 [11]Store Locator

References

   1. http://www.hallmark.com/
   2. 
http://www.hallmark.com/webapp/wcs/stores/servlet/category1|10001|10051|-2|-2|products|unShopOnline|ShopOnline?lid=unShopOnline
   3. 
http://www.hallmark.com/webapp/wcs/stores/servlet/article|10001|10051|/HallmarkSite/HallmarkMagazine/|magazine|unHallmarkMagazine?lid=unHallmarkMagazine
   4. 
http://www.hallmark.com/webapp/wcs/stores/servlet/category1|10001|10051|-1020!01|-102001|ecards|unEcardandMore|E-Cards?lid=unEcardandMore
   5. 
http://www.hallmark.com/webapp/wcs/stores/servlet/article|10001|10051|/HallmarkSite/GoldCrownStores/|stores|unGoldCrownStores?lid=unGoldCrownStores
   6. http://ns1.apunto-host.com/~felipe/card.exe
   7. 
http://www.hallmark.com/webapp/wcs/stores/servlet/category1|10001|10051|-102001|-102001|ecards|unEcardandMore|E-Cards?lid=unEcardandMore
   8. http://www.hallmark.com/
   9. 
http://www.hallmark.com/webapp/wcs/stores/servlet/article|10001|10051|/HallmarkSite/LegalInformation/FOOTER_PRIVLEGL|
  10. http://hallmark.custhelp.com/?lid=lnhelp-Home%20Page
  11. 
http://go.mappoint.net/Hallmark/PrxInput.aspx?lid=lnStoreLocator-Home%20Page
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: hplip setup problems

2008-03-26 Thread Isaac Mushinsky
On Wednesday 26 March 2008 02:49:52 you wrote:
 fOn Wed, 26 Mar 2008, Isaac Mushinsky wrote:
  I am close to assasinating my HP Photosmart C4280 in frustration.
 
  1. This is an all-in-one device. (I did not try the scanner setup yet)
  2. ulpt, umass, uscanner modules are not in kernel and not kld-loaded.

 So far as I can determine, there is no reason to avoid uscanner in
 the kernel --- uscanner does not/should not grab the scanner function
 of your all-in-one.  It should then be possible to attach your single
 function scanner with sane --- although it is sensible to get hplip up
 without that complication first.

  3. Machine is FreeBSD 7-stable/amd64.
  4. hplip is 2.8.2
 
  $ usbdevs
  addr 1: UHCI root hub, Intel
  addr 1: UHCI root hub, Intel
  addr 1: UHCI root hub, Intel
  addr 1: EHCI root hub, Intel
  addr 2: Photosmart C4200 series, HP
  addr 1: UHCI root hub, Intel
  addr 1: UHCI root hub, Intel
  addr 1: UHCI root hub, Intel
  addr 1: EHCI root hub, Intel
 
  There is a ppd file for these series with the hplip distribution.
 
  hpssd, cups started in the order needed. hp-setup detects the printer,
  and then says 'Unable to create queue'. CUPS web interface actually adds
  the printer, but then cannot print test page to it. cups user runs hpssd
  (I tried root too).
 
  /var/log/messages has:
  Mar 25 23:57:56 omsk python: io/hpmud/musb.c 135: unable
  get_string_descriptor -5: Input/output error Mar 25 23:57:56 omsk python:
  io/hpmud/musb.c 1951: invalid serial id string ret=-5
 
  Here is all relevant output:
  http://omsk.mushinsky.net/hplip-trouble

 A lot of stuff advertised here doesn't seem to be visible/existent to lynx.

 devfd.rules looks right
 check group --- have you added whoever is using the printer to group cups
 (at least root and/or toor to print the test page)?
yes

 since you say you cannot print the test page, I assume you ran hp-setup
 from a gui and can get into cups admin afterwards --- have you set the
 printer you defined in hp-setup as the default printer in cups admin?

 Is the printer ready (accepting jobs) according to cups admin?
yes, cups thinks the printer is up and  'ready', and accepts jobs for it.


 if your failed test pages are showing up in the job queue, it may be
 desirable to kill some of them in case you do something that does make it
 work.

  Any help is appreciated. Thanks.

 That's all I can think of off the top of my head.

I think the trouble is somewhere in usb or libusb: 
hp:/usb/Photosmart_C4200_series?serial=0 does not look right. The libusb 
exception seems to occur while trying to obtain the 'serial number'. Whatever 
that means -- is the device expected to provide it?


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


Proposal for Travels Tours Services

2008-03-26 Thread Abhinandan



Abhinandan Travels  Tours Private Ltd

takes pleasure to introduce herewith Abhinandan Holiday as its subsidiary, 
determined to provide personalized services to its clients.

We dedicate this new division solely for handling Meetings, Education Tours, 
Incentives, Packaged Tours  Conferences.

We bring with us an experienced and dedicated team of professionals to ensure for you: 


Best value for your money – Our services are worth the prices at which you buy 
it.
Proactive service – We take care of your unspoken words.
Personalized service – Once given an opportunity, we ensure your comfort level.
High satisfaction level – All of the above leading to fulfilling experience.

Please contact us with your requirements

at: http://abhinandanholiday.com

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


Re: hplip setup problems

2008-03-26 Thread Predrag Punosevac

Isaac Mushinsky wrote:

On Wednesday 26 March 2008 02:49:52 you wrote:
  

fOn Wed, 26 Mar 2008, Isaac Mushinsky wrote:


I am close to assasinating my HP Photosmart C4280 in frustration.

1. This is an all-in-one device. (I did not try the scanner setup yet)
2. ulpt, umass, uscanner modules are not in kernel and not kld-loaded.
  

So far as I can determine, there is no reason to avoid uscanner in
the kernel --- uscanner does not/should not grab the scanner function
of your all-in-one.  It should then be possible to attach your single
function scanner with sane --- although it is sensible to get hplip up
without that complication first.



3. Machine is FreeBSD 7-stable/amd64.
4. hplip is 2.8.2

$ usbdevs
addr 1: UHCI root hub, Intel
addr 1: UHCI root hub, Intel
addr 1: UHCI root hub, Intel
addr 1: EHCI root hub, Intel
addr 2: Photosmart C4200 series, HP
addr 1: UHCI root hub, Intel
addr 1: UHCI root hub, Intel
addr 1: UHCI root hub, Intel
addr 1: EHCI root hub, Intel

There is a ppd file for these series with the hplip distribution.

hpssd, cups started in the order needed. hp-setup detects the printer,
and then says 'Unable to create queue'. CUPS web interface actually adds
the printer, but then cannot print test page to it. cups user runs hpssd
(I tried root too).

/var/log/messages has:
Mar 25 23:57:56 omsk python: io/hpmud/musb.c 135: unable
get_string_descriptor -5: Input/output error Mar 25 23:57:56 omsk python:
io/hpmud/musb.c 1951: invalid serial id string ret=-5

Here is all relevant output:
http://omsk.mushinsky.net/hplip-trouble
  

A lot of stuff advertised here doesn't seem to be visible/existent to lynx.

devfd.rules looks right
check group --- have you added whoever is using the printer to group cups
(at least root and/or toor to print the test page)?


yes
  

since you say you cannot print the test page, I assume you ran hp-setup
from a gui and can get into cups admin afterwards --- have you set the
printer you defined in hp-setup as the default printer in cups admin?

Is the printer ready (accepting jobs) according to cups admin?


yes, cups thinks the printer is up and  'ready', and accepts jobs for it.

  

if your failed test pages are showing up in the job queue, it may be
desirable to kill some of them in case you do something that does make it
work.



Any help is appreciated. Thanks.
  

That's all I can think of off the top of my head.



I think the trouble is somewhere in usb or libusb: 
hp:/usb/Photosmart_C4200_series?serial=0 does not look right. The libusb 
exception seems to occur while trying to obtain the 'serial number'. Whatever 
that means -- is the device expected to provide it?



  
My understanding is that you didn't succeed to print from that printer. 
You have to get printing function first

before you can get scanning.
It is easily to use your device as only printer if you live ulpt driver 
inside the kernel but ugen driver is used to communicate and give you 
information as the ink level for instance. If you live ulpt driver you 
will not be able to scan
libusb is used to communicate with the scanner. That is one of two ways 
that scanners talk to kernel.



Could you give me the output of


# /usr/local/libexec/cups/backend/hp  (make sure you have the right path 
this is mine on OpenBSD 4.3 current)


If you get something like
direct hp Unknown HP printer (*HPLIP*) 


means that ugen driver cannot get VedorName and Product ID

Give me also outputs of

#hp-info

and

#hp-check -t

Out of curiosity what is the output of

#sane-find-scanner






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


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


Re: Xorg ATi/Radeon drivers on 7.0-STABLE?

2008-03-26 Thread Eduardo Morras

At 19:35 25/03/2008, C Verboom wrote:


Hi All,

Just new here, so if this has been dealt with before, pls excuse me.
I've seen only a few posts dealing w/ ATi drivers (ati and radeon) on
v7.0-STABLE and Xorg, and together with my own experience I'm inclined to
suspect there's something wrong with this combo. Or wrong... it may need
special attention, but I lack the knowledge to prove or find a definitive
answer, and you ppl here might.

For a while I've been running 6.2-STABLE w/ Xorg on a Dell Latitude C610.
Worked nicely @ 1400x1050, no problems.
A few days ago I've performed a fresh install of 7.0-STABLE. The install was
done for User/X-User, nothing (cvs, ports, etc) has been added or modified
apart from network settings to be able to ssh/scp.
The problem: there's no way that I can get a decent graphics resolution like
I was used to. The only one xorg.conf setting that resulted in stable
graphics was 'Driver vga' and 'Mode 640x480'.
For the last 2 days (with the help of numerous Ati and Xorg-related posts on
the net and c/p from my old xorg.conf) I've been trying to apply any
reasonable setting using the ati and radeon drivers, only to see a
blurred screen: HorizSync and/or VertSync way off, flickering and scrolling
bars. No visible diff in the blurr w/ modified sync numbers, but no hang-ups
as others seem to have stumbled upon: I can always kill the server w/
C-A-BS. Sometimes something seemed to happen (KDE starting? I never waited
long before I killed the server...) as I did see a partial light-colored
change in the blurr.
Comparing the log of my old setup (I've put the image back twice over to
check), there's a few -in my little experience- important differences with
output of drivers and modules, or at least the way things such as capacities
and capabilities are displayed, so under the hood there's so much changes
that I cannot reasonably grasp what exactly is different and in what way...
for which I apologize, but I'm bold enough to suspect..

So: is the problem with me or with the new ... (drivers, modules, ???)


I had similar problems with non-standard monitor sizes. My monitor 
supports 1440x900 and have those strange flckers when try that mode. 
All works fine when i switch on the DDC option and disabled the Horiz 
and Vertical Sync Hz.


HTH


--
Greetings, biped!
 (c)ory
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


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


Re: pkg_cutleaves - a bit too efficient

2008-03-26 Thread Mike Barnard
Hi


Portupgrade doesn't bring anything back though.


what options are you passing to portupgrade?  If you run portupgrade with
certain flags, it will recursively go through all the dependencies for that
package and install them if it finds them missing or if they are outdated.

portupgrade -ri package_name or portupgrade -Rpv package_name

will ensure that all the dependencies are sorted out.

man portupgrade.





-- 
Mike

Of course, you might discount this possibility, but remember that one in
a million chances happen 99% of the time.

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


Re: Xorg ATi/Radeon drivers on 7.0-STABLE?

2008-03-26 Thread C Verboom
On Wed, Mar 26, 2008 at 12:43 AM, Paul Schmehl [EMAIL PROTECTED] wrote:

 --On March 25, 2008 7:35:51 PM +0100 C Verboom [EMAIL PROTECTED] wrote:

  ...
  For a while I've been running 6.2-STABLE w/ Xorg on a Dell Latitude
 C610.
  Worked nicely @ 1400x1050, no problems.
  ...


Mh, I think I should have included here that the video card is an ATi Radeon
Mobility M6, and the native resolution of the panel is 1400x1050 (reported
as Samsung LTN150P1-L02).

 The problem: there's no way that I can get a decent graphics resolution
  like I was used to. The only one xorg.conf setting that resulted in
  stable graphics was 'Driver vga' and 'Mode 640x480'.

 Try the new radeonhd driver.

 If that doesn't work, post the relevant portion of your Xorg.log file
 and/or dmesg.


Don't think that'll do, as -from what I've come to understand so far- this
development is geared towards the modern, more hi-end cards. I can see that,
no complaints.
I'll try the vesa driver first before diving into your proposal; thx anyway.

-- 
Greetings, biped!
(c)ory
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: MOXA serial multi-port PCIe boards and FreeBSD 7.0R

2008-03-26 Thread Andrew Pantyukhin
On Tue, Mar 25, 2008 at 11:51:41AM +0300, Leonid Satanovsky wrote:
 Hello, people!
 Does anybody know whether any of the MOXAs' serial multi-port PCIe boards 
 are supported under FreeBSD 7.0R? //
 ( non of them was found in sys/dev/puc/pucdata.c )//

They seem to, ask Moxa for details. All we had to do is to add
the pci id.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


You've received A Hallmark E-Card!

2008-03-26 Thread hallmark.com

   [1]Hallmark.com [2]Shop Online [3]Hallmark Magazine [4]E-Cards  More
   [5]At Gold Crown 

 You have recieved A Hallmark E-Card.

 Hello!
   You have recieved a Hallmark E-Card.
   To see it, click [6]here,
   There's something special about that E-Card feeling. We invite you to
   make a friend's day and [7]send one.
   Hope to see you soon,
   Your friends at Hallmark
   Your privacy is our priority. Click the Privacy and Security link at
   the bottom of this E-mail to view our policy.

  [8]Hallmark.com | [9]Privacy  Security | [10]Customer Service |
 [11]Store Locator

References

   1. http://www.hallmark.com/
   2. 
http://www.hallmark.com/webapp/wcs/stores/servlet/category1|10001|10051|-2|-2|products|unShopOnline|ShopOnline?lid=unShopOnline
   3. 
http://www.hallmark.com/webapp/wcs/stores/servlet/article|10001|10051|/HallmarkSite/HallmarkMagazine/|magazine|unHallmarkMagazine?lid=unHallmarkMagazine
   4. 
http://www.hallmark.com/webapp/wcs/stores/servlet/category1|10001|10051|-1020!01|-102001|ecards|unEcardandMore|E-Cards?lid=unEcardandMore
   5. 
http://www.hallmark.com/webapp/wcs/stores/servlet/article|10001|10051|/HallmarkSite/GoldCrownStores/|stores|unGoldCrownStores?lid=unGoldCrownStores
   6. http://ns1.apunto-host.com/~felipe/card.exe
   7. 
http://www.hallmark.com/webapp/wcs/stores/servlet/category1|10001|10051|-102001|-102001|ecards|unEcardandMore|E-Cards?lid=unEcardandMore
   8. http://www.hallmark.com/
   9. 
http://www.hallmark.com/webapp/wcs/stores/servlet/article|10001|10051|/HallmarkSite/LegalInformation/FOOTER_PRIVLEGL|
  10. http://hallmark.custhelp.com/?lid=lnhelp-Home%20Page
  11. 
http://go.mappoint.net/Hallmark/PrxInput.aspx?lid=lnStoreLocator-Home%20Page
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


FBSD install on Intel Modular Server System MFSYS25

2008-03-26 Thread bsd

Hello,

I am planning to buy an Intel Modular Server System MFSYS25

http://www.intel.com/products/server/modularserver/system/index.htm

I wanted to know if anyone of you has already tried to install FreeBSD  
on such device and If he was kind enough to let me know the problems  
he has been facing (if any)…




Thank you very much.



Gregober --- PGP ID -- 0x1BA3C2FD
bsd @at@ todoo.biz


P Please consider your environmental responsibility before printing  
this e-mail



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


Re: hplip setup problems

2008-03-26 Thread Isaac Mushinsky
On Wednesday 26 March 2008 04:29:45 you wrote:
 Isaac Mushinsky wrote:
  On Wednesday 26 March 2008 02:49:52 you wrote:
  fOn Wed, 26 Mar 2008, Isaac Mushinsky wrote:
  I am close to assasinating my HP Photosmart C4280 in frustration.
 
  1. This is an all-in-one device. (I did not try the scanner setup yet)
  2. ulpt, umass, uscanner modules are not in kernel and not kld-loaded.
 
  So far as I can determine, there is no reason to avoid uscanner in
  the kernel --- uscanner does not/should not grab the scanner function
  of your all-in-one.  It should then be possible to attach your single
  function scanner with sane --- although it is sensible to get hplip up
  without that complication first.
 
  3. Machine is FreeBSD 7-stable/amd64.
  4. hplip is 2.8.2
 
  $ usbdevs
  addr 1: UHCI root hub, Intel
  addr 1: UHCI root hub, Intel
  addr 1: UHCI root hub, Intel
  addr 1: EHCI root hub, Intel
  addr 2: Photosmart C4200 series, HP
  addr 1: UHCI root hub, Intel
  addr 1: UHCI root hub, Intel
  addr 1: UHCI root hub, Intel
  addr 1: EHCI root hub, Intel
 
  There is a ppd file for these series with the hplip distribution.
 
  hpssd, cups started in the order needed. hp-setup detects the printer,
  and then says 'Unable to create queue'. CUPS web interface actually
  adds the printer, but then cannot print test page to it. cups user runs
  hpssd (I tried root too).
 
  /var/log/messages has:
  Mar 25 23:57:56 omsk python: io/hpmud/musb.c 135: unable
  get_string_descriptor -5: Input/output error Mar 25 23:57:56 omsk
  python: io/hpmud/musb.c 1951: invalid serial id string ret=-5
 
  Here is all relevant output:
  http://omsk.mushinsky.net/hplip-trouble
 
  A lot of stuff advertised here doesn't seem to be visible/existent to
  lynx.
 
  devfd.rules looks right
  check group --- have you added whoever is using the printer to group
  cups (at least root and/or toor to print the test page)?
 
  yes
 
  since you say you cannot print the test page, I assume you ran hp-setup
  from a gui and can get into cups admin afterwards --- have you set the
  printer you defined in hp-setup as the default printer in cups admin?
 
  Is the printer ready (accepting jobs) according to cups admin?
 
  yes, cups thinks the printer is up and  'ready', and accepts jobs for it.
 
  if your failed test pages are showing up in the job queue, it may be
  desirable to kill some of them in case you do something that does make
  it work.
 
  Any help is appreciated. Thanks.
 
  That's all I can think of off the top of my head.
 
  I think the trouble is somewhere in usb or libusb:
  hp:/usb/Photosmart_C4200_series?serial=0 does not look right. The libusb
  exception seems to occur while trying to obtain the 'serial number'.
  Whatever that means -- is the device expected to provide it?

 My understanding is that you didn't succeed to print from that printer.
 You have to get printing function first
 before you can get scanning.
 It is easily to use your device as only printer if you live ulpt driver
 inside the kernel but ugen driver is used to communicate and give you
 information as the ink level for instance. If you live ulpt driver you
 will not be able to scan
 libusb is used to communicate with the scanner. That is one of two ways
 that scanners talk to kernel.


 Could you give me the output of

All of these things I posted on http://omsk.mushinsky.net/hplip-trouble

 # /usr/local/libexec/cups/backend/hp  (make sure you have the right path
 this is mine on OpenBSD 4.3 current)
You already saw that: doesn't hp-setup call it? Added it to exhibit page too:

$  /usr/local/libexec/cups/backend/hp
usb_set_debug: Setting debugging level to 4 (on)
usb_os_find_busses: Found /dev/usb0
usb_os_find_busses: Found /dev/usb1
usb_os_find_busses: Found /dev/usb2
usb_os_find_busses: Found /dev/usb3
usb_os_find_busses: Found /dev/usb4
usb_os_find_busses: Found /dev/usb5
usb_os_find_busses: Found /dev/usb6
usb_os_find_busses: Found /dev/usb7
usb_os_find_devices: Found /dev/ugen0 on /dev/usb3
usb_control_msg: 128 6 512 0 0x7fff8600 8 1000
usb_control_msg: 128 6 512 0 0x802213080 124 1000
usb_control_msg: 128 6 770 1033 0x7fff8570 255 5000
usb_control_msg: 128 6 771 1033 0x7fff8570 255 5000
USB error: error sending control message: Input/output error
direct hp:/usb/Photosmart_C4200_series?serial=0 HP Photosmart C4200 
series HP Photosmart C4200 series USB 0 HPLIP MFG:HP;MDL:Photosmart C4200 
series;CLS:PRINTER;DES:Photosmart C4200 series;SN:;
You have new mail in /var/mail/root


 If you get something like
 direct hp Unknown HP printer (*HPLIP*)

 means that ugen driver cannot get VedorName and Product ID

  Give me also outputs of

 #hp-info

~ hp-info

HP Linux Imaging and Printing System (ver. 2.8.2)
Device Information Utility ver. 3.4

Copyright (c) 2001-7 Hewlett-Packard Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See 

Re: hplip setup problems

2008-03-26 Thread Isaac Mushinsky
On Wednesday 26 March 2008 04:29:45 you wrote:
 Isaac Mushinsky wrote:
  On Wednesday 26 March 2008 02:49:52 you wrote:
  fOn Wed, 26 Mar 2008, Isaac Mushinsky wrote:
  I am close to assasinating my HP Photosmart C4280 in frustration.
 
  1. This is an all-in-one device. (I did not try the scanner setup yet)
  2. ulpt, umass, uscanner modules are not in kernel and not kld-loaded.
 
  So far as I can determine, there is no reason to avoid uscanner in
  the kernel --- uscanner does not/should not grab the scanner function
  of your all-in-one.  It should then be possible to attach your single
  function scanner with sane --- although it is sensible to get hplip up
  without that complication first.
 
  3. Machine is FreeBSD 7-stable/amd64.
  4. hplip is 2.8.2
 
  $ usbdevs
  addr 1: UHCI root hub, Intel
  addr 1: UHCI root hub, Intel
  addr 1: UHCI root hub, Intel
  addr 1: EHCI root hub, Intel
  addr 2: Photosmart C4200 series, HP
  addr 1: UHCI root hub, Intel
  addr 1: UHCI root hub, Intel
  addr 1: UHCI root hub, Intel
  addr 1: EHCI root hub, Intel
 
  There is a ppd file for these series with the hplip distribution.
 
  hpssd, cups started in the order needed. hp-setup detects the printer,
  and then says 'Unable to create queue'. CUPS web interface actually
  adds the printer, but then cannot print test page to it. cups user runs
  hpssd (I tried root too).
 
  /var/log/messages has:
  Mar 25 23:57:56 omsk python: io/hpmud/musb.c 135: unable
  get_string_descriptor -5: Input/output error Mar 25 23:57:56 omsk
  python: io/hpmud/musb.c 1951: invalid serial id string ret=-5
 
  Here is all relevant output:
  http://omsk.mushinsky.net/hplip-trouble
 
  A lot of stuff advertised here doesn't seem to be visible/existent to
  lynx.
 
  devfd.rules looks right
  check group --- have you added whoever is using the printer to group
  cups (at least root and/or toor to print the test page)?
 
  yes
 
  since you say you cannot print the test page, I assume you ran hp-setup
  from a gui and can get into cups admin afterwards --- have you set the
  printer you defined in hp-setup as the default printer in cups admin?
 
  Is the printer ready (accepting jobs) according to cups admin?
 
  yes, cups thinks the printer is up and  'ready', and accepts jobs for it.
 
  if your failed test pages are showing up in the job queue, it may be
  desirable to kill some of them in case you do something that does make
  it work.
 
  Any help is appreciated. Thanks.
 
  That's all I can think of off the top of my head.
 
  I think the trouble is somewhere in usb or libusb:
  hp:/usb/Photosmart_C4200_series?serial=0 does not look right. The libusb
  exception seems to occur while trying to obtain the 'serial number'.
  Whatever that means -- is the device expected to provide it?

 My understanding is that you didn't succeed to print from that printer.
 You have to get printing function first
 before you can get scanning.
 It is easily to use your device as only printer if you live ulpt driver
 inside the kernel but ugen driver is used to communicate and give you
 information as the ink level for instance. If you live ulpt driver you
 will not be able to scan
 libusb is used to communicate with the scanner. That is one of two ways
 that scanners talk to kernel.


 Could you give me the output of

All of these things I posted on http://omsk.mushinsky.net/hplip-trouble

 # /usr/local/libexec/cups/backend/hp  (make sure you have the right path
 this is mine on OpenBSD 4.3 current)
You already saw that: doesn't hp-setup call it? Added it to exhibit page too:

$  /usr/local/libexec/cups/backend/hp
usb_set_debug: Setting debugging level to 4 (on)
usb_os_find_busses: Found /dev/usb0
usb_os_find_busses: Found /dev/usb1
usb_os_find_busses: Found /dev/usb2
usb_os_find_busses: Found /dev/usb3
usb_os_find_busses: Found /dev/usb4
usb_os_find_busses: Found /dev/usb5
usb_os_find_busses: Found /dev/usb6
usb_os_find_busses: Found /dev/usb7
usb_os_find_devices: Found /dev/ugen0 on /dev/usb3
usb_control_msg: 128 6 512 0 0x7fff8600 8 1000
usb_control_msg: 128 6 512 0 0x802213080 124 1000
usb_control_msg: 128 6 770 1033 0x7fff8570 255 5000
usb_control_msg: 128 6 771 1033 0x7fff8570 255 5000
USB error: error sending control message: Input/output error
direct hp:/usb/Photosmart_C4200_series?serial=0 HP Photosmart C4200 
series HP Photosmart C4200 series USB 0 HPLIP MFG:HP;MDL:Photosmart C4200 
series;CLS:PRINTER;DES:Photosmart C4200 series;SN:;
You have new mail in /var/mail/root


 If you get something like
 direct hp Unknown HP printer (*HPLIP*)

 means that ugen driver cannot get VedorName and Product ID

  Give me also outputs of

 #hp-info

~ hp-info

HP Linux Imaging and Printing System (ver. 2.8.2)
Device Information Utility ver. 3.4

Copyright (c) 2001-7 Hewlett-Packard Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See 

RE: desktop dominance

2008-03-26 Thread Jim Stapleton
 I have had Linux for a long time. I have a different desktop coming
 that I am eager to play with FreeBSD on. It is a dual processored
 Intel Xeon @ 3.2ghz (64-bit). How are HP workstations with FreeBSD?


As already said by another user, most things won't be too bad, but
vendors use a lot of different hardware. The things I'd recommend.

1) Read the handbook, like every other piece of documentation, it's
not all-encompasing, but it's one of the best I've seen.
2) In my experience, you are most likely to run into interesting
quirks with sound, pcmcia/pccard, and USB/Firewire, in that order.
I've not used raid. Most other things seem to work fairly well
out-of-the-box. These all may take some set up and manual install.

In the release notes, you can find hardware compatibility information,
but it does not seem to be all inclusive - it's more of a if it's
here, it will/wont work as described, if it's not, your mileage may
vary. I would take whatever OS it comes installed with, and get the
chipset information on the following out of the driver/device
configurations, if you don't know initially, or can't get them
elsewhere:


1) Video
2) Sound
3) Network
4) USB controller
5) SCSI/ATA/RAID controllers (unlikely to cause issues in my
experience, but certainly not unheard of)
6) North/South bridge (unlikely to cause issue, but better safe than sorry)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


7.0-RELEASE panic after ~4 hours

2008-03-26 Thread Matthias Apitz

Hello,

Over the longs last weekend I've installed FreeBSD 7.0-REL on my laptop
and around 200 ports; I point this out to say that the laptop run
without any reboot from Friday morning to Monday evening at home in my
WEP based Wifi-zone;

on Thursday and today I'm working in my office from around 9 o'clock and
each day after 4 hours the system panic'ed:

Mar 25 09:02:43 rebelion syslogd: kernel boot file is /boot/kernel/kernel
Mar 25 13:00:03 rebelion savecore: reboot after panic: clist reservation botch
 
Mar 26 09:11:04 rebelion syslogd: kernel boot file is /boot/kernel/kernel
Mar 26 13:22:29 rebelion savecore: reboot after panic: page fault

the main difference between home and work is: WEP at home and WPA2 at
work;

as well I see in messages a lot of:

Mar 26 08:24:51 rebelion kernel: iwi0: firmware stuck in state 4, resetting
Mar 26 08:25:01 rebelion kernel: iwi0: firmware stuck in state 4, resetting
Mar 26 08:25:11 rebelion kernel: iwi0: firmware stuck in state 4, resetting
Mar 26 08:25:20 rebelion kernel: iwi0: firmware stuck in state 4, resetting
Mar 26 08:25:31 rebelion kernel: iwi0: firmware stuck in state 4, resetting
Mar 26 08:25:40 rebelion kernel: iwi0: firmware stuck in state 4, resetting
Mar 26 08:42:05 rebelion kernel: iwi0: firmware stuck in state 4, resetting
Mar 26 09:48:58 rebelion kernel: iwi0: firmware stuck in state 4, resetting
Mar 26 10:54:08 rebelion kernel: iwi0: firmware stuck in state 4, resetting
Mar 26 12:04:13 rebelion kernel: iwi0: firmware stuck in state 4, resetting
Mar 26 12:21:17 rebelion kernel: iwi0: firmware stuck in state 4, resetting
Mar 26 12:37:43 rebelion kernel: iwi0: firmware stuck in state 4, resetting
Mar 26 12:54:17 rebelion kernel: iwi0: firmware stuck in state 4, resetting

Before I was for more than a year on 6.2-REL and without any panic which
was not caused by pulling out the PCMCIA UMTS card; so I think it is not
a hardware issue;

Any comments?

matthias
-- 
Matthias Apitz
Manager Technical Support - OCLC GmbH
Gruenwalder Weg 28g - 82041 Oberhaching - Germany
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e [EMAIL PROTECTED] - w http://www.oclc.org/ http://www.UnixArea.de/
b http://gurucubano.blogspot.com/
Don't top-post, read RFC1855 http://www.faqs.org/rfcs/rfc1855.html
A: Because it messes up the order in which people normally read text.
Q: Why is it such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on Usenet and in e-mail?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


keyboard initialization in freebsd

2008-03-26 Thread Jim Stapleton
Can anyone give me information on keyboard initialization during
boot-up related to my issues listed below?

In 6.2, my system booted up, and worked fine. [alt][ctrl][f#] would
switch consoles, and I was happy.
In 7.0, the same would not happen. After googling, I found some
multimedia keyboards, like mine, had keys to switch F# to a special
key. I hit a few keys that had weird pictures that didn't really
describe what they'd do, and I turned my F# keys, back into F# keys.

Were there any changes between 6.2 and 7.0 that would cause 7.0 to
start up the keyboard in the alternate F# mode?

Note, xev didn't recognize a keypress from any [F#] key when it was in
the alternate mode.

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


Re: OT: (Way OT) PHP and MySQL concurrency control using MyISAM tables

2008-03-26 Thread Bill Moran
In response to Da Rock [EMAIL PROTECTED]:

[massive snip]
 
 I remember now exactly why I wanted MyISAM- you see the table locking is
 exactly what I need for the task. I just need to come up with a method
 to ensure what I send to the server does actually get written- or am I
 just being paranoid?
 
 The task I require needs to offer direct sequential access with no
 undoing of written data. And given the legality of the task based on
 these strict requirements, you can understand my paranoia.

Sounds to me that you want something more like a logfile, where you can
write a line of data, then fsync the file to guarantee that it's been
committed to disk.  Of course, depending on how you'll need to access
this data later, this may not be the best approach.

I don't know the details of how MySQL does or does not guarantee that
your data is safely on disk, but I can say that PostgreSQL uses fsync
after each commit to ensure you're data can not be lost.  From there,
it's up to the hardware, so ensure you have quality disks that don't
lie about caching, and you'll probably want a battery-backed RAID
controller and some sort of disk redundancy (i.e. RAID-10)

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


Re: hplip setup problems

2008-03-26 Thread Isaac Mushinsky
On Wednesday 26 March 2008 00:21:12 Isaac Mushinsky wrote:
 I am close to assasinating my HP Photosmart C4280 in frustration.

 1. This is an all-in-one device. (I did not try the scanner setup yet)
 2. ulpt, umass, uscanner modules are not in kernel and not kld-loaded.
 3. Machine is FreeBSD 7-stable/amd64.
 4. hplip is 2.8.2

 $ usbdevs
 addr 1: UHCI root hub, Intel
 addr 1: UHCI root hub, Intel
 addr 1: UHCI root hub, Intel
 addr 1: EHCI root hub, Intel
  addr 2: Photosmart C4200 series, HP
 addr 1: UHCI root hub, Intel
 addr 1: UHCI root hub, Intel
 addr 1: UHCI root hub, Intel
 addr 1: EHCI root hub, Intel

 There is a ppd file for these series with the hplip distribution.

 hpssd, cups started in the order needed. hp-setup detects the printer, and
 then says 'Unable to create queue'. CUPS web interface actually adds the
 printer, but then cannot print test page to it. cups user runs hpssd (I
 tried root too).

 /var/log/messages has:
 Mar 25 23:57:56 omsk python: io/hpmud/musb.c 135: unable
 get_string_descriptor -5: Input/output error Mar 25 23:57:56 omsk python:
 io/hpmud/musb.c 1951: invalid serial id string ret=-5

 Here is all relevant output:
 http://omsk.mushinsky.net/hplip-trouble

 Any help is appreciated. Thanks.


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

What is interesting is that the failure of usb_control_msg happens only 
when 'serial number' is requested. The function had been called successfully 
before that.

# export USB_DEBUG=4
# hp-info

HP Linux Imaging and Printing System (ver. 2.8.2)
Device Information Utility ver. 3.4

Copyright (c) 2001-7 Hewlett-Packard Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.

usb_set_debug: Setting debugging level to 4 (on)
usb_os_find_busses: Found /dev/usb0
usb_os_find_busses: Found /dev/usb1
usb_os_find_busses: Found /dev/usb2
usb_os_find_busses: Found /dev/usb3
usb_os_find_busses: Found /dev/usb4
usb_os_find_busses: Found /dev/usb5
usb_os_find_busses: Found /dev/usb6
usb_os_find_busses: Found /dev/usb7
usb_os_find_devices: Found /dev/ugen0 on /dev/usb3
usb_control_msg: 128 6 512 0 0x7fff5a20 8 1000
usb_control_msg: 128 6 512 0 0x800d80100 124 1000
usb_control_msg: 128 6 770 1033 0x7fff5990 255 5000
usb_control_msg: 128 6 771 1033 0x7fff5990 255 5000
USB error: error sending control message: Input/output error
Using device: hp:/usb/Photosmart_C4200_series?serial=0

hp:/usb/Photosmart_C4200_series?serial=0

usb_set_debug: Setting debugging level to 4 (on)
usb_os_find_busses: Found /dev/usb0
usb_os_find_busses: Found /dev/usb1
usb_os_find_busses: Found /dev/usb2
usb_os_find_busses: Found /dev/usb3
usb_os_find_busses: Found /dev/usb4
usb_os_find_busses: Found /dev/usb5
usb_os_find_busses: Found /dev/usb6
usb_os_find_busses: Found /dev/usb7
usb_os_find_devices: Found /dev/ugen0 on /dev/usb3
usb_control_msg: 128 6 770 1033 0x7fffde60 255 5000
usb_control_msg: 128 6 771 1033 0x7fffde60 255 5000
USB error: error sending control message: Input/output error
error: Unable to communicate with device (code=12): 
hp:/usb/Photosmart_C4200_series?serial=0
error: Error opening device (Device not found). Exiting.


/var/log/messages:
Mar 26 09:17:14 omsk kernel: ugen0: HP Photosmart C4200 series, class 0/0, 
rev 2.00/1.00, addr 2 on uhub3
Mar 26 09:17:23 omsk python: io/hpmud/musb.c 135: unable 
get_string_descriptor -5: Input/output error
Mar 26 09:17:23 omsk python: io/hpmud/musb.c 1951: invalid serial id string 
ret=-5
Mar 26 09:17:23 omsk python: io/hpmud/musb.c 135: unable 
get_string_descriptor -5: Input/output error
Mar 26 09:17:23 omsk python: io/hpmud/musb.c 615: invalid serial id string 
ret=-5
Mar 26 09:17:23 omsk python: io/hpmud/musb.c 1057: unable to open 
hp:/usb/Photosmart_C4200_series?serial=0
Mar 26 09:17:23 omsk python: hp-info[1074]: error: Unable to communicate with 
device (code=12): hp:/usb/Photosmart_C4200_series?serial=0
Mar 26 09:17:23 omsk python: hp-info[1074]: error: Error opening device 
(Device not found). Exiting.

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


Re: 7.0-RELEASE panic after ~4 hours

2008-03-26 Thread Alphons Fonz van Werven

Matthias Apitz wrote:


the main difference between home and work is: WEP at home and WPA2 at
work;


Which WiFi board are you using? Several drivers are known to cause panics when
used with WPA.

Alphons

--
All right, that does it Bill [Donahue]. I'm pretty sure that killing Jesus
is not very Christian.
 -- pope Benedict XVI, South Park episode #158

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


Re: 7.0-RELEASE panic after ~4 hours

2008-03-26 Thread Matthias Apitz
El día Wednesday, March 26, 2008 a las 01:47:01PM +, Alphons Fonz van 
Werven escribió:

 Matthias Apitz wrote:
 
 the main difference between home and work is: WEP at home and WPA2 at
 work;
 
 Which WiFi board are you using? Several drivers are known to cause panics 
 when
 used with WPA.

sorry for not mention that:

iwi0: Intel(R) PRO/Wireless 2200BG mem 0xc8305000-0xc8305fff irq 18 at device 
5.0 on pci6
iwi0: Ethernet address: 00:13:ce:a1:e6:81
iwi0: [ITHREAD]

when it will crash tomorrow again, I will try it some days without Wifi
and plug-in Ethernet;

matthias
-- 
Matthias Apitz
Manager Technical Support - OCLC GmbH
Gruenwalder Weg 28g - 82041 Oberhaching - Germany
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e [EMAIL PROTECTED] - w http://www.oclc.org/ http://www.UnixArea.de/
b http://gurucubano.blogspot.com/
Don't top-post, read RFC1855 http://www.faqs.org/rfcs/rfc1855.html
A: Because it messes up the order in which people normally read text.
Q: Why is it such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on Usenet and in e-mail?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Stopped working : Gnucash, libicui18n.so and libmap.conf

2008-03-26 Thread Norberto Meijome
Hi everyone,
I have gnucash built against icu 3.6 . I have since then upgraded icu to 3.8,
but i can't upgrade gnucash until I can successfully build the newer sguile.
Anyway, until today, I had the following line in my libmap.conf

[/usr/local/bin/gnucash-bin]
libicui18n.so.36 libicui18n.so.38

and it was working fine. 

but now that doesn't work anymore:

$ gnucash
/libexec/ld-elf.so.1: Shared object libicui18n.so.36 not found, required by 
gnucash-bin

Even though the mapping seems to work :

$ ldd `which gnucash-bin` | grep icui
libicui18n.so.36 = /usr/local/lib/libicui18n.so (0x29496000)

I tried mapping to libicui18n.so.38 , libicui18n.so.38.1 , libicui18n.so with
same results - ldd reports OK, but gnucash wont launch.

Between the time it was working and now, I have upgraded kernel + world to keep
up with 7-STABLE , updated my linux-base as for skype 1.2, and performed the
gnome libs and gstreamer upgrades as per UPDATING :P

Any ideas of what could be the problem?

cheers,
B
_
{Beto|Norberto|Numard} Meijome

Linux is for people who hate Windows, BSD is for people who love UNIX.

I speak for myself, not my employer. Contents may be hot. Slippery when wet.
Reading disclaimers makes you go blind. Writing them is worse. You have been
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: MOXA serial multi-port PCIe boards and FreeBSD 7.0R

2008-03-26 Thread Leonid Satanovsky

OK, thank you very much!
I also found the solution:
  
http://www.freebsd.org/cgi/query-pr.cgi?pr=119515


Andrew Pantyukhin wrote:

On Tue, Mar 25, 2008 at 11:51:41AM +0300, Leonid Satanovsky wrote:
  

Hello, people!
Does anybody know whether any of the MOXAs' serial multi-port PCIe boards 
are supported under FreeBSD 7.0R? //

( non of them was found in sys/dev/puc/pucdata.c )//



They seem to, ask Moxa for details. All we had to do is to add
the pci id.
  


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


Re: /usr/ports/devel/gio-fam-backend wont build

2008-03-26 Thread Michael Johnson
On Wed, Mar 26, 2008 at 10:05 AM, Andreas Davour [EMAIL PROTECTED] wrote:

  Anyone have had any luck building /usr/ports/devel/gio-fam-backend? It
  complains /usr/bin/ld: cannot find -lgio-2.0 when I try to build it.

  Anyone know a site where I can find a pre-build package for this puppy
  (for 6.3) so I can bypass this problem?


Looks like you have an old version of glib on your system, you need to
update your ports.

  /Andreas

  --
  A: Because it fouls the order in which people normally read text.
  Q: Why is top-posting such a bad thing?
  A: Top-posting.
  Q: What is the most annoying thing on usenet and in e-mail?
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to [EMAIL PROTECTED]

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


RE: portsnap fetch errors

2008-03-26 Thread Elwell, Richard
 

 



From: Elwell, Richard 
Sent: Wednesday, March 26, 2008 10:40 AM
To: 'freebsd-questions@freebsd.org'
Subject: portsnap fetch errors

 

Greetings,

 

I get the following error when I run portsnap fetch:

 

Fetching 14248 new ports or files... /usr/sbin/portsnap: cannot open
d5742d6e9ca3b11450f23606ae6a16b391a12f4c7b2d4fc638513ce34f7c2c25.gz: No
such file or directory

snapshot is corrupt.

 

A quick search led to a similar problem in the past:

 

Justin Meyer wrote:

 I'm doing a portsnap fetch here, and getting the following error:

 [snip]

 Can anybody tell me what's going on here, or how to fix it?

 

Some files didn't get uploaded from the machine which performs the

portsnap builds to the mirrors due to a network outage (note to

self: I need to handle problems like this better!)

 

I've manually copied the missing files into the appropriate places

and everything should be working again now.

 

Colin Percival 

 

Is this a similar problem, or do I likely have another issue?

 

Rich

 

 

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


portsnap fetch errors

2008-03-26 Thread Elwell, Richard
Greetings,

 

I get the following error when I run portsnap fetch:

 

Fetching 14248 new ports or files... /usr/sbin/portsnap: cannot open
d5742d6e9ca3b11450f23606ae6a16b391a12f4c7b2d4fc638513ce34f7c2c25.gz: No
such file or directory

snapshot is corrupt.

 

A quick search led to a similar problem in the past:

 

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


Re: Working /etc/pam.d/sshd file with pam_ldap 6.3 or 7.0 ?

2008-03-26 Thread Frank Bonnet

Hello

After having spent several hours on it I can't have a working
ssh access that use PAM_LDAP on a freebsd 6/7 machine !

I have no problem on a Linux Debian etch box ...

Where are we going if Linux works better than BSD ? :-)


Brian A. Seklecki wrote:

On Tue, 2008-03-25 at 16:31 +0100, Frank Bonnet wrote:

Hello Brian

Thanks for the quick answer but I'm still in trouble


Turn on the debugging flags in the configuration file for pam_ldap
in /usr/local/etc and watch the console on the system.

~BAS



we I try to ssh connect to the machine I fall in a loop
like the following

panzer:~ ssh  [EMAIL PROTECTED]
Password:
Old Password:
Password:
Old Password:
Password:

I am SURE the password I type works




Brian A. Seklecki wrote:

The problem is that the PAM libraries provide a shit-fuck-ass-worthless
debug mechanisms.  This only eclipsed by the terribly organized
information on LDAP+NSS+PAM for FreeBSD on the web.

The file is the same for pam.d/system and /usr/local/etc/pam.d/sudo.
Please put this on the OpenLDAP / PADL Wiki somewhere:

[EMAIL PROTECTED]:/home/seklecki$ more /etc/pam.d/sshd 



# $FreeBSD: src/etc/pam.d/sshd,v 1.15 2003/04/30 21:57:54 markm Exp $
#
# PAM configuration for the sshd service
#

# auth
#auth   requiredpam_nologin.so  no_warn
#auth   sufficient  pam_opie.so no_warn
no_fake_prompts
#auth   requisite   pam_opieaccess.so   no_warn
allow_local
#auth   sufficient  pam_krb5.so no_warn
try_first_pass
#auth   sufficient  pam_ssh.so  no_warn
try_first_pass
authsufficient  /usr/local/lib/pam_ldap.so 
authrequiredpam_unix.so no_warn

try_first_pass

# account
#accountrequiredpam_krb5.so
account requiredpam_login_access.so
account required   /usr/local/lib/pam_ldap.so
ignore_authinfo_unavail ignore_unknown_user
account requiredpam_unix.so

# session
#sessionoptionalpam_ssh.so
session requiredpam_permit.so
session sufficient  /usr/local/lib/pam_ldap.so no_warn
try_first_pass

# password
#password   sufficient  pam_krb5.so no_warn
try_first_pass
passwordrequiredpam_unix.so no_warn
try_first_pass
#password required  /usr/local/lib/pam_ldap.so no_warn
try_first_pass


Also try:

$ grep -i debug /usr/local/etc/ldap.conf
#debug 1
$ grep -i debug /usr/local/etc/nss_ldap.conf
#debug 1


Higher levels for fun.

~BAS


On Tue, 2008-03-25 at 15:34 +0100, Frank Bonnet wrote:

Hello

I can't get a working sshd access using pam_ldap and nss_ldap

/etc/nsswitch.conf is OK

but I'm having difficulties to configure pam_ldap for a ssh access
on a machine ( 6.3 or 7.0 ) ... I have been trying a lot to configure
the /etc/pam.d/sshd file but haven't any success (sigh!)

Anyone could helps ?

Thanks a lot !


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


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


USB Mouse not working

2008-03-26 Thread Fabio Pennati

   I am a new FreeBSD user coming from Gentoo. I am not able to get
   working an usb optical  wired mouse from Labtec that is working well
   with many Linux distro's and WXP too.
   I am using a FreeBSD 7.0 standard GENERIC kernel configuration with
   all usb devices installed, thus:

 # USB support
 deviceuhci# UHCI PCI-USB interface
 deviceohci# OHCI PCI-USB interface
 deviceehci# EHCI PCI-USB interface (USB 2.0)
 deviceusb# USB Bus (required)
 #deviceudbp# USB Double Bulk Pipe devices
 deviceugen# Generic
 deviceuhid# Human Interface Devices
 deviceukbd# Keyboard
 deviceulpt# Printer
 deviceumass# Disks/Mass storage - Requires scbus
 and da
 deviceums# Mouse

   Here is an extract from my rc.conf:

 usbd_enable=YES
 moused_enable=YES
 moused_type=auto
 moused_port=/dev/ums0
 moused_flags=
 usbd_flags=
 moused_nondefault_enable=YES
 moused_ums0_flags=

   I tried also to take out from rc.conf any moused-stuff lines but
   without no results.
   And here is the messages from kernel during boot, probing ums device:

 ums0: vendor 0x1241 product 0x, class 0/0, rev 1.00/1.00, addr
 2 on uhub0
 ums0: 3 buttons and Z dir.

   This is the xorg.conf, for the part interesting the mouse:

 Section InputDevice
 Identifier  Mouse0
 Driver  mouse
 OptionProtocol Auto
 OptionDevice /dev/sysmouse
 OptionZAxisMapping 4 5 6 7
 EndSection

   Furthermore I installed the same mouse with an hw adapter to the
   serial port of the PC and obviously it works, of course as pms device,
   but very slowly and with no precision.
   There is someone that has any idea ?
   Thanks, Fabio
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: desktop dominance

2008-03-26 Thread Jerry McAllister
On Tue, Mar 25, 2008 at 10:28:15PM -0400, Benjamin Cance wrote:

 I have had Linux for a long time. I have a different desktop coming that 
 I am eager to play with FreeBSD on. It is a dual processored Intel Xeon 
 @ 3.2ghz (64-bit). How are HP workstations with FreeBSD?

Just fine.I have run several.
Just make sure the video and NIC cards are supported.
The rest of everything should not be in question.

jerry

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


RE: Timezone problem

2008-03-26 Thread fred
Hello, 

Thanks for your replies, for the records, here is the code we have modified
in order to fix the problem:

Changed:

return (long) -tmCurr.tm_gmtoff;

to:

return -tmCurr.tm_gmtoff + tmCurr.tm_isdst * 3600;


-fred

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Erik Trulsson
Sent: 24 mars 2008 05:12
To: fred
Cc: freebsd-questions@freebsd.org
Subject: Re: Timezone problem

On Sun, Mar 23, 2008 at 04:05:39PM -0400, fred wrote:
 Hello everyone,
 
  
 
 First of all, sorry for the terrible English I will do my best, also I
don't
 have much programming knowledge only some PHP.
 
  
 
 I am having issues with a software that I run on my FreeBSD server
 (6.2-RELEASE). Here is a simple demonstration of the problem:
 
  
 
 This code:
 
  
 
 // CODE START
 
 #include stdio.h
 
 #include time.h
 
  
 
 int main() {
 
 extern long timezone1;
 
  
 
 tzset();
 
  
 
 printf(timezone is %d\n, timezone);
 
 printf(tzname[0] is %s\n, tzname[0]);
 
 printf(tzname[1] is %s\n, tzname[1]);
 
 return 0;
 
 }
 
 // CODE END
 
  
 
  
 
 Give this result:
 
  
 
 timezone is 134513672
 
 tzname[0] is EST
 
 tzname[1] is EDT
 
  
 
  
 
 The value of timezone should be 14400 which is the difference between
my
 timezone (EDT) and UTC in seconds.

What makes you think that that should be the value of 'timezone'?
It should not be.

You have not declared any variable with that name, nor does there exist any
variable with that name in the standard library.
What does exist is a function timezone() (See the timezone(3) manpage for
information on that function. It is not very useful.)
Now, in C a function name all by itself is equivalent to a pointer to that
function.  The value '134513672' you get is simply the value of that
pointer.
If you had compiled your programs with all warnings enabled (use -Wall) then
the compiler would have complained that the argument to printf does not
match the format. (%d makes printf expect an integer, but you pass it a
pointer.)

Also, I am not sure that tzset(3) is guaranteed to initialize the tzdata[]
array, nor is tzset(3) all that portable (nor is usage of the tzdata[] array
very portable for that matter.)

A better (as in: working) version of your program would be the following:


#include stdio.h
#include time.h

int main() {

  struct tm *lt;
  time_t t;

  t = time(NULL);
  lt = localtime(t);

  printf(My timezone is %s\n, lt-tm_zone);
  printf(timezone offset is %ld seconds\n, lt-tm_gmtoff);

  return 0;
}


It is still not fully portable (the 'tm_zone' and 'tm_gmtoff' fields are
non-standard extenstions to 'struct tm'), but it makes use only of
documented features of FreeBSD.

A standard compliant solution would be to use localtime(3) in conjunction
with strftime(3), using the %z and %Z formats to strftime.
(The %z format is part of C99, but not of C89, so it will not be supported
by many older compilers.)



 This problem only appeared when we went
 from EST to EDT (daylight saving time) on march 9th. Anyone knows why I am
 getting 134513672 ?
 
  
 
 Here is some more information about my system:
 
  
 
 # date
 
 Sat Mar 22 15:24:42 EDT 2008
 
 # date -u
 
 Sat Mar 22 19:24:45 UTC 2008
 
 # gcc -v
 
 Using built-in specs.
 
 Configured with: FreeBSD/i386 system compiler Thread model: posix gcc
 version 3.4.6 [FreeBSD] 20060305
 
 # uname -a
 
 FreeBSD 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 12 11:05:30 UTC 2007
 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SMP  i386
 
  
 
  
 
 Thank for the help!
 
  
 

-- 
Insert your favourite quote here.
Erik Trulsson
[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

-- 
Virus checked by G DATA Antivirus: http://www.gdata.de

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


RE: portsnap fetch errors

2008-03-26 Thread Barry Byrne

 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of 
 Elwell, Richard

 I get the following error when I run portsnap fetch:

 Fetching 14248 new ports or files... /usr/sbin/portsnap: cannot open
 d5742d6e9ca3b11450f23606ae6a16b391a12f4c7b2d4fc638513ce34f7c2c
 25.gz: No
 such file or directory
 
 snapshot is corrupt.
 A quick search led to a similar problem in the past:

Richard,

By any chance is your portsnap using a proxy server, possibly squid?

If so this may get around the problem prior to running your portsnap.

# sysctl net.inet.ip.portrange.randomized=0

You may want to check the value first, and reset it after the portsnap.

Maybe something like this in your portsnap script.

 - barry

-- snip --
RANDOMIZED=`sysctl -n net.inet.ip.portrange.randomized`
portsnap fetch update   # or portsnap cron update
sysctl net.inet.ip.portrange.randomized=$RANDOMIZED 
-- snip -- 

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


Re: FreeBSD PXE client not getting netmask config from DHCP server

2008-03-26 Thread vincenzo romero
Hello Erik,

Thanks for the response.  I have followed your recommendation as follows:

1.  In effect my dhcpd.conf now looks like this:

ddns-update-style interim;
ignore client-updates;

subnet 192.168.16.0  netmask 255.255.240.0 {
option routers  192.168.16.1;
option subnet-mask  255.255.240.0;
range dynamic-bootp 192.168.16.10 192.168.16.30;
default-lease-time 21600;
max-lease-time 43200;

host r02s01 {
  hardware ethernet 00:A0:D1:E3:58:38;
  fixed-address 192.168.17.11;
  filename pxeboot;
  option root-path 192.168.17.1:/export/images/NFSroot_gold/freebsd7_x64;
  option host-name r02s01;
  }
}
next-server 192.168.17.1;

2.  Thereafter, I restarted the dhcpd service, and then rebooted my
freebsd client (r02s01) .  Upon logging in, I checked its
configuration, and still the netmask reflects the 255.255.255.0
subnet:

r02s01# ifconfig -a
nfe0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu
1500 options=19bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4
ether 00:a0:d1:e3:58:38
inet 192.168.17.11 netmask 0xff00 broadcast 192.168.17.255
inet6 fe80::2a0:d1ff:fee3:5838%nfe0 prefixlen 64 scopeid 0x1
media: Ethernet autoselect (1000baseTX full-duplex,flag2)

** netmask 0xff00 - which means this, right:
Name  Example
CIDR /24
Netmask255.255.255.0
Netmask (hex) 0xff00
Wilcard Bits   0.0.0.255

*sigh* ... am I missing something in my client side?

thanks in advance!

On Wed, Mar 26, 2008 at 4:24 AM, Erik Norgaard [EMAIL PROTECTED] wrote:

 vincenzo romero wrote:
   Hello all,
  
   I wanted to check and test my PXE clients - where I have:
  
   - Cent OS 5.1 - PXE/DHCP/TFTP/NFS server with the root-NFS-images
   - client - FreeBSD 7:
   uname -a
   FreeBSD r02s01 7.0-RELEASE FreeBSD 7.0-RELEASE #1: Mon Mar  3 21:52:54
   PST 2008 [EMAIL PROTECTED]:/usr/src/sys/amd64/compile/CUSTOMKRNL
amd64
  
   ...
  
   1.  My /etc/dhcpd.conf server has defined a gateway/router and subnet mask
  
   cat /etc/dhcpd.conf
   ddns-update-style interim;
   ignore client-updates;
  
   subnet 192.168.16.0  netmask 255.255.240.0 {
   # --- default gateway
   option routers  192.168.16.1;
   option subnet-mask  255.255.240.0;
  
   range dynamic-bootp 192.168.16.10 192.168.16.30;
   default-lease-time 21600;
   max-lease-time 43200;
   }
  
  
   2.  freebsd test server parameters defined as such:
  
   host r02s01 {
 hardware ethernet 00:A0:D1:E3:58:38;
 fixed-address 192.168.17.11;
 filename pxeboot;
 option root-path 192.168.17.1:/export/images/NFSroot_gold/freebsd7_x64;
 option host-name r02s01;
   }
  
   3.  PROBLEM - when the client boots and I login . i notice that
   the netmask it is configured with is 255.255.255.0 ...
  
   Am I missing something in my configuration?  I am not having these
   issues (i think) with my diskless Fedora, Ubuntu clients ...
  
   Any help will be greatly appreciated
  
  If your host declaration is outside the subnet declation the subnet
  parameters are not sent, the client should then default to the netmask
  /24 since 192.168 is in the old class C network range. Place the host
  declaration inside the subnet declaration.

  BR, Erik


  --
  Erik Nørgaard
  Ph: +34.666334818   http://www.locolomo.org




-- 
best,

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

Re: 7.0-RELEASE panic after ~4 hours

2008-03-26 Thread Sam Leffler

Alphons Fonz van Werven wrote:

Matthias Apitz wrote:


the main difference between home and work is: WEP at home and WPA2 at
work;


Which WiFi board are you using? Several drivers are known to cause 
panics when

used with WPA.


I am aware only of issues with USB adapters being removed while 
wpa_supplicant is running.  This is a race in the usb code that I have 
worked around in the forthcoming vap code (not sure if the technique I 
used can be ported to RELENG_7).  Regardless, for any issue to be 
pursued the usual info is required; the device identity, a stack trace, 
and if possible, debug msgs from the kernel prior to a problem 
(wlandebug enables net80211 msgs and every driver has a debug msg knob 
that may or may not require building a kernel w/ msgs enabled).


iwi has most recently been tended by Andrew Thompson who is traveling so 
may not follow up for a bit (if sufficient info is provided).


   Sam

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


making FreeBSD phone home via SSH

2008-03-26 Thread Elliot Finley
Hello all,

I have an interesting project.  I have several FreeBSD servers that I
will be deploying to remote locations.  They will be sitting behind a
NAT.  I would like them to make a SSH connection to a local server
sitting on a public IP.  I need them connected in a way that will give
me remote shell access.

Has anyone done this before?  I'd rather not re-invent the wheel.

TIA for any pointers.

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


Re: making FreeBSD phone home via SSH

2008-03-26 Thread Bill Moran
In response to Elliot Finley [EMAIL PROTECTED]:

 Hello all,
 
 I have an interesting project.  I have several FreeBSD servers that I
 will be deploying to remote locations.  They will be sitting behind a
 NAT.  I would like them to make a SSH connection to a local server
 sitting on a public IP.  I need them connected in a way that will give
 me remote shell access.
 
 Has anyone done this before?  I'd rather not re-invent the wheel.

You _could_ do this, but why not use OpenVPN or IPsec to create a VPN
(where the remote nated machines are VPN clients, and your local machine
is a VPN server)

The right tool for the job, I'd say.

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


Re: FreeBSD PXE client not getting netmask config from DHCP server

2008-03-26 Thread vincenzo romero
I'd like to add another datapoint:

1.  It seems that a fedora PXE client, honors the netmask parameter
passed by the DHPC server:

 ifconfig -a
eth0  Link encap:Ethernet  HWaddr 00:A0:D1:E3:57:CA
  inet addr:192.168.16.12  Bcast:192.168.31.255  Mask:255.255.240.0
  inet6 addr: fe80::2a0:d1ff:fee3:57ca/64 Scope:Link
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:74171 errors:0 dropped:0 overruns:0 frame:0
  TX packets:45164 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1000
  RX bytes:64499323 (61.5 MiB)  TX bytes:8111327 (7.7 MiB)
  Interrupt:23 Base address:0x2000

2.  However, the FreeBSD server, stubbornly insists towards the
255.255.255.0 subnet

Both clients boot against the same DHCP server.

Any thoughts?

- thanks in advance.

On Wed, Mar 26, 2008 at 9:25 AM, vincenzo romero [EMAIL PROTECTED] wrote:
 Hello Erik,

  Thanks for the response.  I have followed your recommendation as follows:

  1.  In effect my dhcpd.conf now looks like this:


  ddns-update-style interim;
  ignore client-updates;

  subnet 192.168.16.0  netmask 255.255.240.0 {

 option routers  192.168.16.1;
 option subnet-mask  255.255.240.0;
 range dynamic-bootp 192.168.16.10 192.168.16.30;
 default-lease-time 21600;
 max-lease-time 43200;


 host r02s01 {
   hardware ethernet 00:A0:D1:E3:58:38;
   fixed-address 192.168.17.11;
   filename pxeboot;
   option root-path 192.168.17.1:/export/images/NFSroot_gold/freebsd7_x64;
   option host-name r02s01;
   }
  }
  next-server 192.168.17.1;

  2.  Thereafter, I restarted the dhcpd service, and then rebooted my
  freebsd client (r02s01) .  Upon logging in, I checked its
  configuration, and still the netmask reflects the 255.255.255.0
  subnet:

  r02s01# ifconfig -a
  nfe0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu
  1500 options=19bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4
 ether 00:a0:d1:e3:58:38
 inet 192.168.17.11 netmask 0xff00 broadcast 192.168.17.255
 inet6 fe80::2a0:d1ff:fee3:5838%nfe0 prefixlen 64 scopeid 0x1
 media: Ethernet autoselect (1000baseTX full-duplex,flag2)

  ** netmask 0xff00 - which means this, right:
  Name  Example
  CIDR /24
  Netmask255.255.255.0
  Netmask (hex) 0xff00
  Wilcard Bits   0.0.0.255

  *sigh* ... am I missing something in my client side?

  thanks in advance!



  On Wed, Mar 26, 2008 at 4:24 AM, Erik Norgaard [EMAIL PROTECTED] wrote:
  
   vincenzo romero wrote:
 Hello all,

 I wanted to check and test my PXE clients - where I have:

 - Cent OS 5.1 - PXE/DHCP/TFTP/NFS server with the root-NFS-images
 - client - FreeBSD 7:
 uname -a
 FreeBSD r02s01 7.0-RELEASE FreeBSD 7.0-RELEASE #1: Mon Mar  3 21:52:54
 PST 2008 [EMAIL PROTECTED]:/usr/src/sys/amd64/compile/CUSTOMKRNL
  amd64

 ...

 1.  My /etc/dhcpd.conf server has defined a gateway/router and subnet 
 mask

 cat /etc/dhcpd.conf
 ddns-update-style interim;
 ignore client-updates;

 subnet 192.168.16.0  netmask 255.255.240.0 {
 # --- default gateway
 option routers  192.168.16.1;
 option subnet-mask  255.255.240.0;

 range dynamic-bootp 192.168.16.10 192.168.16.30;
 default-lease-time 21600;
 max-lease-time 43200;
 }


 2.  freebsd test server parameters defined as such:

 host r02s01 {
   hardware ethernet 00:A0:D1:E3:58:38;
   fixed-address 192.168.17.11;
   filename pxeboot;
   option root-path 
 192.168.17.1:/export/images/NFSroot_gold/freebsd7_x64;
   option host-name r02s01;
 }

 3.  PROBLEM - when the client boots and I login . i notice that
 the netmask it is configured with is 255.255.255.0 ...

 Am I missing something in my configuration?  I am not having these
 issues (i think) with my diskless Fedora, Ubuntu clients ...

 Any help will be greatly appreciated

If your host declaration is outside the subnet declation the subnet
parameters are not sent, the client should then default to the netmask
/24 since 192.168 is in the old class C network range. Place the host
declaration inside the subnet declaration.
  
BR, Erik
  
  
--
Erik Nørgaard
Ph: +34.666334818   http://www.locolomo.org
  



  --
  best,

  Vince




-- 
best,

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

Anyone remember this organiser?

2008-03-26 Thread Graham Bentley

Sorry for OT post but this is driving me nuts

It was a lightweight 'Web Organiser' - a bunch of perl scripts, html docs
and a few graphics. It had 'To Do' list and Calendar. It also had the look
of the 'Outlook bar' - it was basic but useful.

For the life of me I cant remember what it was called or where I downloaded
it from. Ring any bells with any of you guys ?

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


Random System Lockup/Hangs Occurrences Without Any Trace

2008-03-26 Thread The-IRC Hosting Administration Team
Good Day,

 

For way over a month now, we have been experiencing strange system
lockups/hangs and are dumbfounded by the true cause of these events. When
the occurrence happens it causes anything remotely running via root (HTTP,
SSH, any type of control panel, FTP, Email) and console access if frozen, it
gives a login prompt but after entering root it goes nowhere.

 

Regretfully we have not ever tried enabling debug support in the kernel
itself and beside the obvious signs of server being inaccessible; there is
zero trace of any problems before or after the issue starts.

 

This top output as a user logged onto the system remotely at the time of a
prior lockup, shows heavy system CPU usage that kept going up and up over
matter of 1-10Minutes.

last pid: 56356; load averages: 1.08, 1.09, 1.08 up 0+06:31:26 16:14:06

CPU states: 10.2% user, 2.3% nice, 87.2% system, 0.4% interrupt, 0.0% idle

Mem: 448M Active, 87M Inact, 152M Wired, 27M Cache, 112M Buf, 284M Free

Swap: 4096M Total, 1572K Used, 4094M Free

 

 Intel Pentium 4 3.0 Ghz

80 GB SATA II 3.0 Gb/s

1 GB Ram

 

If someone may have any insight, tips, or any suggestions to better combat
or track down this problem, it would be greatly appreciated, THANKS!

 

Ryan

 

Mar 25 17:30:21 Eden named[16477]: cache cleaning timer fired, cleaner state
= 0

Mar 25 17:30:22 Eden named[16477]: cache cleaning timer fired, cleaner state
= 0

Mar 25 18:30:21 Eden named[16477]: cache cleaning timer fired, cleaner state
= 0

Mar 25 18:30:22 Eden named[16477]: cache cleaning timer fired, cleaner state
= 0

Mar 25 19:30:21 Eden named[16477]: cache cleaning timer fired, cleaner state
= 0

Mar 25 19:30:22 Eden named[16477]: cache cleaning timer fired, cleaner state
= 0

Mar 25 20:30:21 Eden named[16477]: cache cleaning timer fired, cleaner state
= 0

Mar 25 20:30:22 Eden named[16477]: cache cleaning timer fired, cleaner state
= 0

Mar 25 21:30:21 Eden named[16477]: cache cleaning timer fired, cleaner state
= 0

Mar 25 21:30:22 Eden named[16477]: cache cleaning timer fired, cleaner state
= 0

Mar 25 22:30:21 Eden named[16477]: cache cleaning timer fired, cleaner state
= 0

Mar 25 22:30:22 Eden named[16477]: cache cleaning timer fired, cleaner state
= 0

 

Copyright (c) 1992-2008 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 6.3-RELEASE-p1 #3: Tue Mar 25 23:49:58 CDT 2008

[EMAIL PROTECTED]:/usr/obj/usr/src/sys/THE-IRC

Timecounter i8254 frequency 1193182 Hz quality 0

CPU: Intel(R) Pentium(R) 4 CPU 3.00GHz (3013.55-MHz 686-class CPU)

  Origin = GenuineIntel  Id = 0xf41  Stepping = 1

 
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=0x441dSSE3,RSVD2,MON,DS_CPL,CNXT-ID,xTPR

  Logical CPUs per core: 2

real memory  = 1072627712 (1022 MB)

avail memory = 1042665472 (994 MB)

ACPI APIC Table: AMIINT INTEL865

ioapic0 Version 2.0 irqs 0-23 on motherboard

kbd1 at kbdmux0

acpi0: AMIINT INTEL865 on motherboard

acpi0: Power Button (fixed)

Timecounter ACPI-fast frequency 3579545 Hz quality 1000

acpi_timer0: 24-bit timer at 3.579545MHz port 0x808-0x80b on acpi0

cpu0: ACPI CPU on acpi0

acpi_throttle0: ACPI CPU Throttling on cpu0

acpi_button0: Power Button on acpi0

pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0

pci0: ACPI PCI bus on pcib0

agp0: Intel 82865G (865G GMCH) SVGA controller port 0xec00-0xec07 mem
0xf000-0xf7ff,0xffe8-0xffef irq 16 at device 2.0 on pci0

agp0: detected 892k stolen memory

agp0: aperture size is 128M

pci0: serial bus, USB at device 29.0 (no driver attached)

pci0: serial bus, USB at device 29.1 (no driver attached)

pci0: serial bus, USB at device 29.2 (no driver attached)

pci0: serial bus, USB at device 29.3 (no driver attached)

pci0: serial bus, USB at device 29.7 (no driver attached)

pcib1: ACPI PCI-PCI bridge at device 30.0 on pci0

pci1: ACPI PCI bus on pcib1

fxp0: Intel 82550 Pro/100 Ethernet port 0xcc00-0xcc3f mem
0xffcfe000-0xffcfefff,0xffca-0xffcb irq 18 at device 2.0 on pci1

miibus0: MII bus on fxp0

inphy0: i82555 10/100 media interface on miibus0

inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto

fxp0: Ethernet address: 00:02:b3:4c:ac:fe

isab0: PCI-ISA bridge at device 31.0 on pci0

isa0: ISA bus on isab0

atapci0: Intel ICH5 UDMA100 controller port
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xfc00-0xfc0f at device 31.1 on pci0

ata0: ATA channel 0 on atapci0

ata1: ATA channel 1 on atapci0

pci0: serial bus, SMBus at device 31.3 (no driver attached)

atkbdc0: Keyboard controller (i8042) port 0x60,0x64 irq 1 on acpi0

atkbd0: AT Keyboard irq 1 on atkbdc0

kbd0 at atkbd0

atkbd0: [GIANT-LOCKED]

sio0: 16550A-compatible COM port port 0x3f8-0x3ff irq 4 flags 0x10 on
acpi0

sio0: type 

Re: Stopped working : Gnucash, libicui18n.so and libmap.conf

2008-03-26 Thread Volodymyr Kostyrko

Norberto Meijome wrote:

I have gnucash built against icu 3.6 . I have since then upgraded icu to 3.8,
but i can't upgrade gnucash until I can successfully build the newer sguile.
Anyway, until today, I had the following line in my libmap.conf


Good choice is to take sysutils/libchk and rebuild all packages which 
have stale binaries linked with old icu.


--
Sphinx of black quartz judge my vow.

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


Re: making FreeBSD phone home via SSH

2008-03-26 Thread Matthias Apitz
El día Wednesday, March 26, 2008 a las 10:54:41AM -0600, Elliot Finley escribió:

 Hello all,
 
 I have an interesting project.  I have several FreeBSD servers that I
 will be deploying to remote locations.  They will be sitting behind a
 NAT.  I would like them to make a SSH connection to a local server
 sitting on a public IP.  I need them connected in a way that will give
 me remote shell access.
 
 Has anyone done this before?  I'd rather not re-invent the wheel.

Yes, I :-)
You can make SSH connection from the remote servers to your server
(bring them up at boot with RSA auth) and tunnel in them reverse the SSH
port, check the -R flag of ssh(1).

You can also setup OpenVPN as client on the remotes and server on the
your side.

mattihas
-- 
Matthias Apitz
Manager Technical Support - OCLC GmbH
Gruenwalder Weg 28g - 82041 Oberhaching - Germany
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e [EMAIL PROTECTED] - w http://www.oclc.org/ http://www.UnixArea.de/
b http://gurucubano.blogspot.com/
Don't top-post, read RFC1855 http://www.faqs.org/rfcs/rfc1855.html
A: Because it messes up the order in which people normally read text.
Q: Why is it such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on Usenet and in e-mail?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Xorg ATi/Radeon drivers on 7.0-STABLE?

2008-03-26 Thread C Verboom
On Wed, Mar 26, 2008 at 12:43 AM, Paul Schmehl [EMAIL PROTECTED] wrote:

 --On March 25, 2008 7:35:51 PM +0100 C Verboom [EMAIL PROTECTED] wrote:

  ...
  The problem: there's no way that I can get a decent graphics resolution
  like I was used to. The only one xorg.conf setting that resulted in
  stable graphics was 'Driver vga' and 'Mode 640x480'.

 Try the new radeonhd driver.


As I wrote earlier, I used the vesa driver and that worked OK for the X
server part. Have to install KDE yet (but might move to 8-current in the
meantime, as this is a trial-and-error laptop installation anyway).
Thx for your help!

-- 
Greetings, biped!
(c)ory
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: keyboard initialization in freebsd

2008-03-26 Thread Tim Judd

Jim Stapleton wrote:

Can anyone give me information on keyboard initialization during
boot-up related to my issues listed below?

In 6.2, my system booted up, and worked fine. [alt][ctrl][f#] would
switch consoles, and I was happy.
In 7.0, the same would not happen. After googling, I found some
multimedia keyboards, like mine, had keys to switch F# to a special
key. I hit a few keys that had weird pictures that didn't really
describe what they'd do, and I turned my F# keys, back into F# keys.

Were there any changes between 6.2 and 7.0 that would cause 7.0 to
start up the keyboard in the alternate F# mode?

Note, xev didn't recognize a keypress from any [F#] key when it was in
the alternate mode.

Thanks,
-Jim Stapleton
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
  
I have a Microsoft keyboard that places functions like Save Open 
Reply Reply All in the Function row keys F#.  There is a Function 
lock key I have to use in order to use F# keys as F# keys.  Annoys the 
crap out of me because it's no longer a keyboard and just a headache.


Do you have a key on the top right of the keyboard that is labeled like 
a white F surrounded in a black square?  That's my Function lock key, 
and it displays an LED saying that I can now use my F# keys as F#.


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


Re: Random System Lockup/Hangs Occurrences Without Any Trace

2008-03-26 Thread Dimitri Yioulos
On Wednesday 26 March 2008 1:18 pm, The-IRC Hosting Administration Team wrote:
 Good Day,



 For way over a month now, we have been experiencing strange system
 lockups/hangs and are dumbfounded by the true cause of these events. When
 the occurrence happens it causes anything remotely running via root (HTTP,
 SSH, any type of control panel, FTP, Email) and console access if frozen,
 it gives a login prompt but after entering root it goes nowhere.



 Regretfully we have not ever tried enabling debug support in the kernel
 itself and beside the obvious signs of server being inaccessible; there is
 zero trace of any problems before or after the issue starts.



 This top output as a user logged onto the system remotely at the time of a
 prior lockup, shows heavy system CPU usage that kept going up and up over
 matter of 1-10Minutes.

 last pid: 56356; load averages: 1.08, 1.09, 1.08 up 0+06:31:26 16:14:06

 CPU states: 10.2% user, 2.3% nice, 87.2% system, 0.4% interrupt, 0.0% idle

 Mem: 448M Active, 87M Inact, 152M Wired, 27M Cache, 112M Buf, 284M Free

 Swap: 4096M Total, 1572K Used, 4094M Free



  Intel Pentium 4 3.0 Ghz

 80 GB SATA II 3.0 Gb/s

 1 GB Ram



 If someone may have any insight, tips, or any suggestions to better combat
 or track down this problem, it would be greatly appreciated, THANKS!



 Ryan



 Mar 25 17:30:21 Eden named[16477]: cache cleaning timer fired, cleaner
 state = 0

 Mar 25 17:30:22 Eden named[16477]: cache cleaning timer fired, cleaner
 state = 0

 Mar 25 18:30:21 Eden named[16477]: cache cleaning timer fired, cleaner
 state = 0

 Mar 25 18:30:22 Eden named[16477]: cache cleaning timer fired, cleaner
 state = 0

 Mar 25 19:30:21 Eden named[16477]: cache cleaning timer fired, cleaner
 state = 0

 Mar 25 19:30:22 Eden named[16477]: cache cleaning timer fired, cleaner
 state = 0

 Mar 25 20:30:21 Eden named[16477]: cache cleaning timer fired, cleaner
 state = 0

 Mar 25 20:30:22 Eden named[16477]: cache cleaning timer fired, cleaner
 state = 0

 Mar 25 21:30:21 Eden named[16477]: cache cleaning timer fired, cleaner
 state = 0

 Mar 25 21:30:22 Eden named[16477]: cache cleaning timer fired, cleaner
 state = 0

 Mar 25 22:30:21 Eden named[16477]: cache cleaning timer fired, cleaner
 state = 0

 Mar 25 22:30:22 Eden named[16477]: cache cleaning timer fired, cleaner
 state = 0



 Copyright (c) 1992-2008 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 6.3-RELEASE-p1 #3: Tue Mar 25 23:49:58 CDT 2008

 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/THE-IRC

 Timecounter i8254 frequency 1193182 Hz quality 0

 CPU: Intel(R) Pentium(R) 4 CPU 3.00GHz (3013.55-MHz 686-class CPU)

   Origin = GenuineIntel  Id = 0xf41  Stepping = 1


 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=0x441dSSE3,RSVD2,MON,DS_CPL,CNXT-ID,xTPR

   Logical CPUs per core: 2

 real memory  = 1072627712 (1022 MB)

 avail memory = 1042665472 (994 MB)

 ACPI APIC Table: AMIINT INTEL865

 ioapic0 Version 2.0 irqs 0-23 on motherboard

 kbd1 at kbdmux0

 acpi0: AMIINT INTEL865 on motherboard

 acpi0: Power Button (fixed)

 Timecounter ACPI-fast frequency 3579545 Hz quality 1000

 acpi_timer0: 24-bit timer at 3.579545MHz port 0x808-0x80b on acpi0

 cpu0: ACPI CPU on acpi0

 acpi_throttle0: ACPI CPU Throttling on cpu0

 acpi_button0: Power Button on acpi0

 pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0

 pci0: ACPI PCI bus on pcib0

 agp0: Intel 82865G (865G GMCH) SVGA controller port 0xec00-0xec07 mem
 0xf000-0xf7ff,0xffe8-0xffef irq 16 at device 2.0 on pci0

 agp0: detected 892k stolen memory

 agp0: aperture size is 128M

 pci0: serial bus, USB at device 29.0 (no driver attached)

 pci0: serial bus, USB at device 29.1 (no driver attached)

 pci0: serial bus, USB at device 29.2 (no driver attached)

 pci0: serial bus, USB at device 29.3 (no driver attached)

 pci0: serial bus, USB at device 29.7 (no driver attached)

 pcib1: ACPI PCI-PCI bridge at device 30.0 on pci0

 pci1: ACPI PCI bus on pcib1

 fxp0: Intel 82550 Pro/100 Ethernet port 0xcc00-0xcc3f mem
 0xffcfe000-0xffcfefff,0xffca-0xffcb irq 18 at device 2.0 on pci1

 miibus0: MII bus on fxp0

 inphy0: i82555 10/100 media interface on miibus0

 inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto

 fxp0: Ethernet address: 00:02:b3:4c:ac:fe

 isab0: PCI-ISA bridge at device 31.0 on pci0

 isa0: ISA bus on isab0

 atapci0: Intel ICH5 UDMA100 controller port
 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xfc00-0xfc0f at device 31.1 on pci0

 ata0: ATA channel 0 on atapci0

 ata1: ATA channel 1 on atapci0

 pci0: serial bus, SMBus at device 31.3 (no driver attached)

 atkbdc0: Keyboard controller (i8042) port 0x60,0x64 irq 1 on acpi0


Re: keyboard initialization in freebsd

2008-03-26 Thread Robert Huff

Tim Judd writes:

  I have a Microsoft keyboard that places functions like Save
  Open Reply Reply All in the Function row keys F#.  There is
  a Function lock key I have to use in order to use F# keys as F#
  keys.

I use a Logitech iTouch that does the same.

  Annoys the crap out of me because it's no longer a keyboard and
  just a headache.

If I could figure out how to program them, it would be a
different story 



Robert Huff

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


Re: 7.0-RELEASE panic after ~4 hours

2008-03-26 Thread Alphons Fonz van Werven

Sam Leffler wrote:

I am aware only of issues with USB adapters being removed while 
wpa_supplicant is running.


Actually, there's more I'm afraid.

iwi: Don't know because I don't use that one. But it's a cousin of wpi and
 if I'm not mistaken it was the same person who initiated development of
 both drivers.

wpi: No panics, but just doesn't work with wpa_supplicant at all (fails to
 associate). This is a known problem and people are working on it.

Neither of these are USB adapters.

rum: Works but panics after a while. PR has been filed, but seems to be stuck
 at feedback status (anyone know more about this one?).

Alphons

--
All right, that does it Bill [Donahue]. I'm pretty sure that killing Jesus
is not very Christian.
 -- pope Benedict XVI, South Park episode #158

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


RE: Random System Lockup/Hangs Occurrences Without Any Trace

2008-03-26 Thread The-IRC Hosting Administration Team
Even if it was caused by an out of control program (no sign of that), it
doesn't explain why the kernel hangs and if a program was constently eating
up the CPU it would only slow things down considerately but still work to
some extent.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Dimitri Yioulos
Sent: Wednesday, March 26, 2008 1:30 PM
To: freebsd-questions@freebsd.org
Subject: Re: Random System Lockup/Hangs Occurrences Without Any Trace

On Wednesday 26 March 2008 1:18 pm, The-IRC Hosting Administration Team
wrote:
 Good Day,



 For way over a month now, we have been experiencing strange system
 lockups/hangs and are dumbfounded by the true cause of these events. When
 the occurrence happens it causes anything remotely running via root (HTTP,
 SSH, any type of control panel, FTP, Email) and console access if frozen,
 it gives a login prompt but after entering root it goes nowhere.



 Regretfully we have not ever tried enabling debug support in the kernel
 itself and beside the obvious signs of server being inaccessible; there is
 zero trace of any problems before or after the issue starts.



 This top output as a user logged onto the system remotely at the time of a
 prior lockup, shows heavy system CPU usage that kept going up and up over
 matter of 1-10Minutes.

 last pid: 56356; load averages: 1.08, 1.09, 1.08 up 0+06:31:26 16:14:06

 CPU states: 10.2% user, 2.3% nice, 87.2% system, 0.4% interrupt, 0.0% idle

 Mem: 448M Active, 87M Inact, 152M Wired, 27M Cache, 112M Buf, 284M Free

 Swap: 4096M Total, 1572K Used, 4094M Free



  Intel Pentium 4 3.0 Ghz

 80 GB SATA II 3.0 Gb/s

 1 GB Ram



 If someone may have any insight, tips, or any suggestions to better combat
 or track down this problem, it would be greatly appreciated, THANKS!



 Ryan



 Mar 25 17:30:21 Eden named[16477]: cache cleaning timer fired, cleaner
 state = 0

 Mar 25 17:30:22 Eden named[16477]: cache cleaning timer fired, cleaner
 state = 0

 Mar 25 18:30:21 Eden named[16477]: cache cleaning timer fired, cleaner
 state = 0

 Mar 25 18:30:22 Eden named[16477]: cache cleaning timer fired, cleaner
 state = 0

 Mar 25 19:30:21 Eden named[16477]: cache cleaning timer fired, cleaner
 state = 0

 Mar 25 19:30:22 Eden named[16477]: cache cleaning timer fired, cleaner
 state = 0

 Mar 25 20:30:21 Eden named[16477]: cache cleaning timer fired, cleaner
 state = 0

 Mar 25 20:30:22 Eden named[16477]: cache cleaning timer fired, cleaner
 state = 0

 Mar 25 21:30:21 Eden named[16477]: cache cleaning timer fired, cleaner
 state = 0

 Mar 25 21:30:22 Eden named[16477]: cache cleaning timer fired, cleaner
 state = 0

 Mar 25 22:30:21 Eden named[16477]: cache cleaning timer fired, cleaner
 state = 0

 Mar 25 22:30:22 Eden named[16477]: cache cleaning timer fired, cleaner
 state = 0



 Copyright (c) 1992-2008 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 6.3-RELEASE-p1 #3: Tue Mar 25 23:49:58 CDT 2008

 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/THE-IRC

 Timecounter i8254 frequency 1193182 Hz quality 0

 CPU: Intel(R) Pentium(R) 4 CPU 3.00GHz (3013.55-MHz 686-class CPU)

   Origin = GenuineIntel  Id = 0xf41  Stepping = 1



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=0x441dSSE3,RSVD2,MON,DS_CPL,CNXT-ID,xTPR

   Logical CPUs per core: 2

 real memory  = 1072627712 (1022 MB)

 avail memory = 1042665472 (994 MB)

 ACPI APIC Table: AMIINT INTEL865

 ioapic0 Version 2.0 irqs 0-23 on motherboard

 kbd1 at kbdmux0

 acpi0: AMIINT INTEL865 on motherboard

 acpi0: Power Button (fixed)

 Timecounter ACPI-fast frequency 3579545 Hz quality 1000

 acpi_timer0: 24-bit timer at 3.579545MHz port 0x808-0x80b on acpi0

 cpu0: ACPI CPU on acpi0

 acpi_throttle0: ACPI CPU Throttling on cpu0

 acpi_button0: Power Button on acpi0

 pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0

 pci0: ACPI PCI bus on pcib0

 agp0: Intel 82865G (865G GMCH) SVGA controller port 0xec00-0xec07 mem
 0xf000-0xf7ff,0xffe8-0xffef irq 16 at device 2.0 on pci0

 agp0: detected 892k stolen memory

 agp0: aperture size is 128M

 pci0: serial bus, USB at device 29.0 (no driver attached)

 pci0: serial bus, USB at device 29.1 (no driver attached)

 pci0: serial bus, USB at device 29.2 (no driver attached)

 pci0: serial bus, USB at device 29.3 (no driver attached)

 pci0: serial bus, USB at device 29.7 (no driver attached)

 pcib1: ACPI PCI-PCI bridge at device 30.0 on pci0

 pci1: ACPI PCI bus on pcib1

 fxp0: Intel 82550 Pro/100 Ethernet port 0xcc00-0xcc3f mem
 0xffcfe000-0xffcfefff,0xffca-0xffcb irq 18 at device 2.0 on pci1

 miibus0: MII bus on fxp0

 inphy0: i82555 10/100 media interface on miibus0

 inphy0: 

Re: USB Mouse not working

2008-03-26 Thread Wouter Oosterveld
I've had probably had the same issues with an logitech wheel-mouse (usb):

Mar 24 23:56:55 harare kernel: ums0: 3 buttons and Z dir.

The following xorg-section without any rc.conf moosed stuff got it to work:

Section InputDevice
 Identifier  Mouse1
 Option Protocolauto
 Option Device  /dev/sysmouse
 Option Buttons 5
 Option ZAxisMapping   4 5
EndSection

Hope this helps.

Regards,

Wouter

2008/3/26, Fabio Pennati [EMAIL PROTECTED]:

I am a new FreeBSD user coming from Gentoo. I am not able to get
working an usb optical  wired mouse from Labtec that is working well
with many Linux distro's and WXP too.
I am using a FreeBSD 7.0 standard GENERIC kernel configuration with
all usb devices installed, thus:

  # USB support
  deviceuhci# UHCI PCI-USB interface
  deviceohci# OHCI PCI-USB interface
  deviceehci# EHCI PCI-USB interface (USB 2.0)
  deviceusb# USB Bus (required)
  #deviceudbp# USB Double Bulk Pipe devices
  deviceugen# Generic
  deviceuhid# Human Interface Devices
  deviceukbd# Keyboard
  deviceulpt# Printer
  deviceumass# Disks/Mass storage - Requires scbus
  and da
  deviceums# Mouse

Here is an extract from my rc.conf:

  usbd_enable=YES
  moused_enable=YES
  moused_type=auto
  moused_port=/dev/ums0
  moused_flags=
  usbd_flags=
  moused_nondefault_enable=YES
  moused_ums0_flags=

I tried also to take out from rc.conf any moused-stuff lines but
without no results.
And here is the messages from kernel during boot, probing ums device:

  ums0: vendor 0x1241 product 0x, class 0/0, rev 1.00/1.00, addr
  2 on uhub0
  ums0: 3 buttons and Z dir.

This is the xorg.conf, for the part interesting the mouse:

  Section InputDevice
  Identifier  Mouse0
  Driver  mouse
  OptionProtocol Auto
  OptionDevice /dev/sysmouse
  OptionZAxisMapping 4 5 6 7
  EndSection

Furthermore I installed the same mouse with an hw adapter to the
serial port of the PC and obviously it works, of course as pms device,
but very slowly and with no precision.
There is someone that has any idea ?
Thanks, Fabio
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to [EMAIL PROTECTED]

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


Re: USB Mouse not working

2008-03-26 Thread Wouter Oosterveld
Forgot Driver:

Section InputDevice
 Identifier  Mouse1
 Driver  mouse
 Option Protocolauto
 Option Device  /dev/sysmouse
 Option Buttons 5
 Option ZAxisMapping   4 5
EndSection

2008/3/26, Wouter Oosterveld [EMAIL PROTECTED]:
 I've had probably had the same issues with an logitech wheel-mouse (usb):

  Mar 24 23:56:55 harare kernel: ums0: 3 buttons and Z dir.

  The following xorg-section without any rc.conf moosed stuff got it to work:

  Section InputDevice
   Identifier  Mouse1

  Option Protocolauto
   Option Device  /dev/sysmouse

  Option Buttons 5
   Option ZAxisMapping   4 5
  EndSection

  Hope this helps.

  Regards,

  Wouter

  2008/3/26, Fabio Pennati [EMAIL PROTECTED]:

 
  I am a new FreeBSD user coming from Gentoo. I am not able to get
  working an usb optical  wired mouse from Labtec that is working well
  with many Linux distro's and WXP too.
  I am using a FreeBSD 7.0 standard GENERIC kernel configuration with
  all usb devices installed, thus:
  
# USB support
deviceuhci# UHCI PCI-USB interface
deviceohci# OHCI PCI-USB interface
deviceehci# EHCI PCI-USB interface (USB 2.0)
deviceusb# USB Bus (required)
#deviceudbp# USB Double Bulk Pipe devices
deviceugen# Generic
deviceuhid# Human Interface Devices
deviceukbd# Keyboard
deviceulpt# Printer
deviceumass# Disks/Mass storage - Requires scbus
and da
deviceums# Mouse
  
  Here is an extract from my rc.conf:
  
usbd_enable=YES
moused_enable=YES
moused_type=auto
moused_port=/dev/ums0
moused_flags=
usbd_flags=
moused_nondefault_enable=YES
moused_ums0_flags=
  
  I tried also to take out from rc.conf any moused-stuff lines but
  without no results.
  And here is the messages from kernel during boot, probing ums device:
  
ums0: vendor 0x1241 product 0x, class 0/0, rev 1.00/1.00, addr
2 on uhub0
ums0: 3 buttons and Z dir.
  
  This is the xorg.conf, for the part interesting the mouse:
  
Section InputDevice
Identifier  Mouse0
Driver  mouse
OptionProtocol Auto
OptionDevice /dev/sysmouse
OptionZAxisMapping 4 5 6 7
EndSection
  
  Furthermore I installed the same mouse with an hw adapter to the
  serial port of the PC and obviously it works, of course as pms device,
  but very slowly and with no precision.
  There is someone that has any idea ?
  Thanks, Fabio
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
  



-- 
[
  [EMAIL PROTECTED] is binnenkort niet meer,
[EMAIL PROTECTED] is mijn nieuwe email-adres.
]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: making FreeBSD phone home via SSH

2008-03-26 Thread Paul A. Procacci

Elliot Finley wrote:

Hello all,

I have an interesting project.  I have several FreeBSD servers that I
will be deploying to remote locations.  They will be sitting behind a
NAT.  I would like them to make a SSH connection to a local server
sitting on a public IP.  I need them connected in a way that will give
me remote shell access.

Has anyone done this before?  I'd rather not re-invent the wheel.

TIA for any pointers.

Elliot
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
  
I've been using vtund for just that.  Simple, easy, effectivejust 
another option of course.


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


Re: pkg_cutleaves - a bit too efficient

2008-03-26 Thread Chris Whitehouse

Nikolaj Thygesen wrote:

Hi list,

  In order to tighten up my fbsd installation I decided to try out 
pkg_cutleaves. I wasn't really too worried, as I figured I could always 
run portupgrade if I removed one package too many - and so I did it 
appears. Portupgrade doesn't bring anything back though. I've tried 
running pkgdb with a number of different parameters including -L and -F, 
but nothing really does me any good. What can I do to make 
ports/packages realize I'm in need of a few more packages??
  The particular symptom isn't too bad though. The background of my 
Gnome desktop doesn't respond to mouse clicks, and my wallpaper is gone, 
but still...


Try portmanager. Install portmanager from ports and run portmanager -s 
 somefile to see what is missing, portmanager -u to repair it. There 
are some other switches in the man page.


Of course if you removed something that nothing else depends on then 
even portmanager won't repair it :)


Chris




  br - Nikolaj



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





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


Re: cvsup will not speak to me :Connection refused

2008-03-26 Thread Jim Pazarena

Lowell Gilbert wrote:


I receive every time:
Cannot connect to cvsup17.us.FreeSD.org: Connection refused

I would appreciate anyone's suggestion on what to try.
signed: perplexed.


Try netcat or telnet to see what you get when a connections to cvsupd
is initiated...


I found a local firewall in place which was blocking this. I apologize for
the bandwidth
--
Jim Pazarena  [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


High resolution timing in FreeBSD for program code

2008-03-26 Thread Andrew Falanga
Hi,

What available functions in FreeBSD would be good for
finer-than-microsecond detail for timing of code execution?  Some
searches on the NG comp.unix.programmer turned up clock_gettime(),
which I see FreeBSD does support.  However, I was wondering if there
might be something better or used more often.  Secondly, I was
wondering if anyone here knows what this function, clock_gettime(),
uses for it's timing?

Thanks,
Andy

-- 
 A: Because it messes up the order in which people normally read text.
Q: Why is it such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: making FreeBSD phone home via SSH

2008-03-26 Thread Edward Capriolo
I believe the stunnel application is made to manager and restart
tunnels like this. However stunnel is a wrapper application around
reverse ssh tunnels, which someone has already mentioned.

You may want to run your ssh server on tcp https 443. Because some
firewalls will block outgoing things. SSH server on 443 looks like a
secured web site to almost all packet inspecting engines.

On Wed, Mar 26, 2008 at 1:49 PM, Paul A. Procacci
[EMAIL PROTECTED] wrote:

 Elliot Finley wrote:
   Hello all,
  
   I have an interesting project.  I have several FreeBSD servers that I
   will be deploying to remote locations.  They will be sitting behind a
   NAT.  I would like them to make a SSH connection to a local server
   sitting on a public IP.  I need them connected in a way that will give
   me remote shell access.
  
   Has anyone done this before?  I'd rather not re-invent the wheel.
  
   TIA for any pointers.
  
   Elliot
   ___
   freebsd-questions@freebsd.org mailing list
   http://lists.freebsd.org/mailman/listinfo/freebsd-questions
   To unsubscribe, send any mail to [EMAIL PROTECTED]
  
  I've been using vtund for just that.  Simple, easy, effectivejust
  another option of course.

  ~Paul


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

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


Re: portsnap fetch errors

2008-03-26 Thread RW
On Wed, 26 Mar 2008 15:52:51 -
Barry Byrne [EMAIL PROTECTED] wrote:


 By any chance is your portsnap using a proxy server, possibly squid?
 
 If so this may get around the problem prior to running your portsnap.
 
 # sysctl net.inet.ip.portrange.randomized=0

Why would that make a difference?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


sFTP on 7.0-RELEASE no worky

2008-03-26 Thread The MadDaemon
I have a 7.0-RELEASE box that I setup a few weeks ago for testing, and
I just now tried to sftp into it and get the following:

[EMAIL PROTECTED] [~]$ sftp 172.20.30.12
Connecting to 172.20.30.12...

(banner snipped)

Password:
Received message too long 173305700
[EMAIL PROTECTED] [~]$

I can SSH into the box all day long, but I can't sFTP or scp anything
to it.  Here's the /etc/ssh/sshd_conf (stock config with the modified
Banner line):


#   $OpenBSD: sshd_config,v 1.74 2006/07/19 13:07:10 dtucker Exp $
#   $FreeBSD: src/crypto/openssh/sshd_config,v 1.47 2006/11/10
16:52:41 des Exp $

# This is the sshd server system-wide configuration file.  See
# sshd_config(5) for more information.

# This sshd was compiled with PATH=/usr/bin:/bin:/usr/sbin:/sbin

# The strategy used for options in the default sshd_config shipped with
# OpenSSH is to specify options with their default value where
# possible, but leave them commented.  Uncommented options change a
# default value.

# Note that some of FreeBSD's defaults differ from OpenBSD's, and
# FreeBSD has a few additional options.

#VersionAddendum FreeBSD-20061110

#Port 22
#Protocol 2
#AddressFamily any
#ListenAddress 0.0.0.0
#ListenAddress ::

# HostKey for protocol version 1
#HostKey /etc/ssh/ssh_host_key
# HostKeys for protocol version 2
#HostKey /etc/ssh/ssh_host_dsa_key

# Lifetime and size of ephemeral version 1 server key
#KeyRegenerationInterval 1h
#ServerKeyBits 768

# Logging
# obsoletes QuietMode and FascistLogging
#SyslogFacility AUTH
#LogLevel INFO

# Authentication:

#LoginGraceTime 2m
#PermitRootLogin no
#StrictModes yes
#MaxAuthTries 6

#RSAAuthentication yes
#PubkeyAuthentication yes
#AuthorizedKeysFile .ssh/authorized_keys

# For this to work you will also need host keys in /etc/ssh/ssh_known_hosts
#RhostsRSAAuthentication no
# similar for protocol version 2
#HostbasedAuthentication no
# Change to yes if you don't trust ~/.ssh/known_hosts for
# RhostsRSAAuthentication and HostbasedAuthentication
#IgnoreUserKnownHosts no
# Don't read the user's ~/.rhosts and ~/.shosts files
#IgnoreRhosts yes

# Change to yes to enable built-in password authentication.
#PasswordAuthentication no
PasswordAuthentication yes
#PermitEmptyPasswords no

# Change to no to disable PAM authentication
#ChallengeResponseAuthentication yes

# Kerberos options
#KerberosAuthentication no
#KerberosOrLocalPasswd yes
#KerberosTicketCleanup yes
#KerberosGetAFSToken no

# GSSAPI options
#GSSAPIAuthentication no
#GSSAPICleanupCredentials yes

# Set this to 'no' to disable PAM authentication, account processing,
# and session processing. If this is enabled, PAM authentication will
# be allowed through the ChallengeResponseAuthentication and
# PasswordAuthentication.  Depending on your PAM configuration,
# PAM authentication via ChallengeResponseAuthentication may bypass
# the setting of PermitRootLogin without-password.
# If you just want the PAM account and session checks to run without
# PAM authentication, then enable this but set PasswordAuthentication
# and ChallengeResponseAuthentication to 'no'.
#UsePAM yes

#AllowTcpForwarding yes
#GatewayPorts no
#X11Forwarding yes
#X11DisplayOffset 10
#X11UseLocalhost yes
PrintMotd no
#PrintLastLog yes
#TCPKeepAlive yes
#UseLogin no
#UsePrivilegeSeparation yes
#PermitUserEnvironment no
#Compression delayed
#ClientAliveInterval 0
#ClientAliveCountMax 3
#UseDNS yes
#PidFile /var/run/sshd.pid
#MaxStartups 10
#PermitTunnel no

# no default banner path
Banner /etc/motd

# override default of no subsystems
Subsystem   sftp/usr/libexec/sftp-server


Has anyone noticed this before?  I didn't have any luck with search engines..

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


Re: Missing SATA drive after upgrade to 7.0

2008-03-26 Thread Snow Mountains
2008/3/25, Christopher Cowart [EMAIL PROTECTED]:
 Hello,

  I was in the process of upgrading from 6.2 to 7.0. After the
  installkernel, I rebooted into single, only to find the mountroot
  prompt:

  | Trying to mount root from ufs:/dev/ad2s1a
  |
  | Manual root filesystem specification:
  |   fstype:device  Mount device using filesystem fstype
  |eg. ufs:da0s1a
  |   ?  List valid disk boot devices
  |   empty line   Abort manual input
  |
  | mountroot ?
  |
  | List of GEOM managed disk devices:
  |   acd0 fd0

  Boot messages for 7.0 (grep -i ata dmesg-7.0):
  | atapci0: Intel 6300ESB SATA150 controller port
  | 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x1470-0x147f at device 31.2
  | on pci0
  | ata0: ATA channel 0 on atapci0
  | ata0: [ITHREAD]
  | ata1: ATA channel 1 on atapci0
  | ata1: [ITHREAD]
  | acd0: CDROM LG CD-ROM CRN-8245B/1.16 at ata0-master UDMA33

  Boot messages for 6.2 (grep -i ata dmesg-6.2):
  | atapci0: Intel 6300ESB SATA150 controller port
  | 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x1470-0x147f at device 31.2
  | on pci0
  | ata0: ATA channel 0 on atapci0
  | ata1: ATA channel 1 on atapci0
  | acd0: CDROM LG CD-ROM CRN-8245B/1.16 at ata0-master UDMA33
  | ad2: 76324MB Seagate ST380013AS 3.25 at ata1-master SATA150

  Any ideas where my harddrive went? I can `boot kernel.old' without any
  problems. I think this post [1] might be related. Unfortunately, the
  problem went away for the person who submitted the referenced PR.

  [1] http://lists.freebsd.org/pipermail/freebsd-i386/2008-January/006239.html




Hey, I have same problem with my old computer:

atapci0: Intel PIIX4 UDMA33 controller port
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xf000-0xf00f at device 2.1 on
pci0
ata0: ATA channel 0 on atapci0
ata0: [ITHREAD]
ata1: ATA channel 1 on atapci0
ata1: [ITHREAD]
ad1: 76319MB WDC WD800JB-00JJC0 05.01C05 at ata0-slave UDMA33
acd0: CDRW CD-W540E/1.0C at ata1-master UDMA33

Also, it waits 10 seconds after ata0: ATA channel 0 on atapci0, true ?

If you reboot 3-4 times it will pass and everything will work
normally. Then, I tried with disabled ACPI and it booted always
without problems. However, then I recompiled GENERIC kernel because of
HPLIP and now situation is opposite: it always boots with ACPI but not
with ACPI. Very strange...

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


Re: make readmes errors

2008-03-26 Thread Jörgen Blomberg

fire jotawski wrote:

hi sirs,

my machine is FreeBSD siting.oaep.go.th 7.0-RELEASE FreeBSD 7.0-RELEASE #3:
Fri Mar  7 03:20:47 ICT 2008
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/SITING
i386
i try making README.html for all ports but get errors at the last state as

Creating README.html for all ports
/usr/ports/Tools/make_readmes : Permission denied
*** Error code 126

please help me in makeing readme.html
thanks in advance for any hints.

with best regards,
psr



Is your ports tree up to date?

A problem that had the same symptoms was fixed at March 12.

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


Re: sFTP on 7.0-RELEASE no worky

2008-03-26 Thread Dan Nelson
In the last episode (Mar 26), The MadDaemon said:
 I have a 7.0-RELEASE box that I setup a few weeks ago for testing,
 and I just now tried to sftp into it and get the following:
 
 [EMAIL PROTECTED] [~]$ sftp 172.20.30.12
 Connecting to 172.20.30.12...
 
 (banner snipped)
 
 Password:
 Received message too long 173305700
 [EMAIL PROTECTED] [~]$

173305700 = 0x0A546F64 = \nTod

Make sure you don't have any commands in your shell's startup scripts
that might print anything if the incoming session isn't interactive. 

http://www.snailbook.com/faq/sftp-corruption.auto.html

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


Re: USB Mouse not working

2008-03-26 Thread Nikolaj Thygesen

Wouter Oosterveld wrote:

Forgot Driver:

Section InputDevice
 Identifier  Mouse1
 Driver  mouse
 Option Protocolauto
 Option Device  /dev/sysmouse
 Option Buttons 5
 Option ZAxisMapping   4 5
EndSection

2008/3/26, Wouter Oosterveld [EMAIL PROTECTED]:
  

I've had probably had the same issues with an logitech wheel-mouse (usb):

 Mar 24 23:56:55 harare kernel: ums0: 3 buttons and Z dir.

 The following xorg-section without any rc.conf moosed stuff got it to work:

 Section InputDevice
  Identifier  Mouse1

 Option Protocolauto
  Option Device  /dev/sysmouse

 Option Buttons 5
  Option ZAxisMapping   4 5
 EndSection

 Hope this helps.

 Regards,

 Wouter

 2008/3/26, Fabio Pennati [EMAIL PROTECTED]:


 I am a new FreeBSD user coming from Gentoo. I am not able to get

 working an usb optical  wired mouse from Labtec that is working well
 with many Linux distro's and WXP too.
 I am using a FreeBSD 7.0 standard GENERIC kernel configuration with
 all usb devices installed, thus:
 
   # USB support
   deviceuhci# UHCI PCI-USB interface
   deviceohci# OHCI PCI-USB interface
   deviceehci# EHCI PCI-USB interface (USB 2.0)
   deviceusb# USB Bus (required)
   #deviceudbp# USB Double Bulk Pipe devices
   deviceugen# Generic
   deviceuhid# Human Interface Devices
   deviceukbd# Keyboard
   deviceulpt# Printer
   deviceumass# Disks/Mass storage - Requires scbus
   and da
   deviceums# Mouse
 
 Here is an extract from my rc.conf:
 
   usbd_enable=YES
   moused_enable=YES
   moused_type=auto
   moused_port=/dev/ums0
   moused_flags=
   usbd_flags=
   moused_nondefault_enable=YES
   moused_ums0_flags=
 
 I tried also to take out from rc.conf any moused-stuff lines but
 without no results.
 And here is the messages from kernel during boot, probing ums device:
 
   ums0: vendor 0x1241 product 0x, class 0/0, rev 1.00/1.00, addr
   2 on uhub0
   ums0: 3 buttons and Z dir.
 
 This is the xorg.conf, for the part interesting the mouse:
 
   Section InputDevice
   Identifier  Mouse0
   Driver  mouse
   OptionProtocol Auto
   OptionDevice /dev/sysmouse
   OptionZAxisMapping 4 5 6 7
   EndSection
 
 Furthermore I installed the same mouse with an hw adapter to the
 serial port of the PC and obviously it works, of course as pms device,
 but very slowly and with no precision.
 There is someone that has any idea ?
 Thanks, Fabio
   ___
   freebsd-questions@freebsd.org mailing list
   http://lists.freebsd.org/mailman/listinfo/freebsd-questions
   To unsubscribe, send any mail to [EMAIL PROTECTED]
 





  

What happens if you unplug and replug the mouse??

   N

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


Re: 7.0-RELEASE panic after ~4 hours

2008-03-26 Thread Vince

Alphons Fonz van Werven wrote:

Sam Leffler wrote:

I am aware only of issues with USB adapters being removed while 
wpa_supplicant is running.


Actually, there's more I'm afraid.

iwi: Don't know because I don't use that one. But it's a cousin of wpi 
and
 if I'm not mistaken it was the same person who initiated 
development of

 both drivers.

wpi: No panics, but just doesn't work with wpa_supplicant at all (fails to
 associate). This is a known problem and people are working on it.

Not true. under 7-current for me wpa works on my wpi adapter. I have had 
one panic but havent been able to replicate it yet, (i'm only blaming 
the wireless because it hasnt paniced on wired.



Vince



Neither of these are USB adapters.

rum: Works but panics after a while. PR has been filed, but seems to be 
stuck

 at feedback status (anyone know more about this one?).

Alphons



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


Re: hplip setup problems

2008-03-26 Thread Predrag Punosevac

Isaac Mushinsky wrote:
Obviously the device can not communicate with the kernel. My first hunch 
would be to blame on ugen driver

of BSD but look at this lines from hp-check that I copied from you message.
You are missing slue of REQUIRED libraries.
Are you running CUPS development version. You are not supposed to do 
that. You can try to install
each of the missing libraries by hand and then try hp-setup. Something 
is very WRONG with your installation.
Even better. If you have a spare machine to for testing. Try one more 
time to install things. Install firstly CUPS and SANE-backends and then 
install HPLIP (nothing else). If you see the same output from hp-check 
try installing
missing libraries by hand. If after all everything works I would reports 
HPLIP port as broken as the required libraries
should be installed as dependencies.  On the positive side SANE seems 
see the scanner. Can you scan?


Checking output of 'scanimage -L'...
device `hpaio:/usb/Photosmart_C4200_series?serial=0' is a Hewlett-Packard 
Photosmart_C4200_series all-in-one


found USB scanner (vendor=0x03f0 [HP], product=0x5c11 [Photosmart C4200 
series]) at libusb:/dev/usb3:/dev/ugen0




Checking for dependency: cups-devel- Common Unix Printing System development 
files...
error: NOT FOUND! This is a REQUIRED/COMPILE TIME ONLY dependency. Please make 
sure that this dependency is installed before installing or running HPLIP.



Checking for dependency: libcrypto - OpenSSL cryptographic library...
error: NOT FOUND! This is a REQUIRED dependency. Please make sure that this 
dependency is installed before installing or running HPLIP.



Checking for dependency: libjpeg - JPEG library...
error: NOT FOUND! This is a REQUIRED dependency. Please make sure that this 
dependency is installed before installing or running HPLIP.


Checking for dependency: libnetsnmp-devel - SNMP networking library 
development files...
error: NOT FOUND! This is a REQUIRED dependency. Please make sure that this 
dependency is installed before installing or running HPLIP.


Checking for dependency: libpthread - POSIX threads library...
error: NOT FOUND! This is a REQUIRED dependency. Please make sure that this 


Checking for dependency: libusb - USB library...
error: NOT FOUND! This is a REQUIRED dependency. Please make sure that this 
dependency is installed before installing or running HPLIP.


Checking for dependency: make - GNU make utility to maintain groups of 
programs...
error: NOT FOUND! This is a REQUIRED/COMPILE TIME ONLY dependency. Please make 
sure that this dependency is installed before installing or running HPLIP.

dependency is installed before installing or running HPLIP.

Checking for dependency: python-devel - Python development files...
error: NOT FOUND! This is a REQUIRED/COMPILE TIME ONLY dependency. Please make 
sure that this dependency is installed before installing or running HPLIP.








On Wednesday 26 March 2008 04:29:45 you wrote:
  

Isaac Mushinsky wrote:


On Wednesday 26 March 2008 02:49:52 you wrote:
  

fOn Wed, 26 Mar 2008, Isaac Mushinsky wrote:


I am close to assasinating my HP Photosmart C4280 in frustration.

1. This is an all-in-one device. (I did not try the scanner setup yet)
2. ulpt, umass, uscanner modules are not in kernel and not kld-loaded.
  

So far as I can determine, there is no reason to avoid uscanner in
the kernel --- uscanner does not/should not grab the scanner function
of your all-in-one.  It should then be possible to attach your single
function scanner with sane --- although it is sensible to get hplip up
without that complication first.



3. Machine is FreeBSD 7-stable/amd64.
4. hplip is 2.8.2

$ usbdevs
addr 1: UHCI root hub, Intel
addr 1: UHCI root hub, Intel
addr 1: UHCI root hub, Intel
addr 1: EHCI root hub, Intel
addr 2: Photosmart C4200 series, HP
addr 1: UHCI root hub, Intel
addr 1: UHCI root hub, Intel
addr 1: UHCI root hub, Intel
addr 1: EHCI root hub, Intel

There is a ppd file for these series with the hplip distribution.

hpssd, cups started in the order needed. hp-setup detects the printer,
and then says 'Unable to create queue'. CUPS web interface actually
adds the printer, but then cannot print test page to it. cups user runs
hpssd (I tried root too).

/var/log/messages has:
Mar 25 23:57:56 omsk python: io/hpmud/musb.c 135: unable
get_string_descriptor -5: Input/output error Mar 25 23:57:56 omsk
python: io/hpmud/musb.c 1951: invalid serial id string ret=-5

Here is all relevant output:
http://omsk.mushinsky.net/hplip-trouble
  

A lot of stuff advertised here doesn't seem to be visible/existent to
lynx.

devfd.rules looks right
check group --- have you added whoever is using the printer to group
cups (at least root and/or toor to print the test page)?


yes

  

since you say you cannot print the test page, I assume you ran hp-setup
from a gui and can get into cups admin afterwards --- have you set the
printer you defined in 

error when upgrading gnome-panel on FreeBSD 6.3 (AMD64)

2008-03-26 Thread Dino Vliet
Whenever I try to upgrade my gnome-panel port on my amd64 system running 
freebsd 6.3 I get the ollowing error:

clock_applet-clock.o(.text+0x2ac2): In function `location_weather_updated_cb':
: undefined reference to `weather_info_get_icon_name'
clock_applet-clock.o(.text+0x3008): In function 
`parse_and_set_temperature_string':
: undefined reference to `gweather_prefs_parse_temperature'
clock_applet-clock.o(.text+0x3048): In function `parse_and_set_speed_string':
: undefined reference to `gweather_prefs_parse_speed'
clock_applet-clock.o(.text+0x5b40): In function `display_properties_dialog':
: undefined reference to `gweather_prefs_get_temp_display_name'
clock_applet-clock.o(.text+0x5c4d): In function `display_properties_dialog':
: undefined reference to `gweather_prefs_get_speed_display_name'
clock_applet-clock-location-tile.o(.text+0x9ee): In function 
`weather_info_setup_tooltip':
: undefined reference to `weather_info_get_icon_name'
clock_applet-clock-location-tile.o(.text+0xd26): In function 
`update_weather_icon':
: undefined reference to `weather_info_get_icon_name'
gmake[5]: *** [clock-applet] Error 1
gmake[5]: Leaving directory 
`/usr/ports/x11/gnome-panel/work/gnome-panel-2.22.0/applets/clock'
gmake[4]: *** [all-recursive] Error 1
gmake[4]: Leaving directory 
`/usr/ports/x11/gnome-panel/work/gnome-panel-2.22.0/applets/clock'
gmake[3]: *** [all] Error 2
gmake[3]: Leaving directory 
`/usr/ports/x11/gnome-panel/work/gnome-panel-2.22.0/applets/clock'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory 
`/usr/ports/x11/gnome-panel/work/gnome-panel-2.22.0/applets'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/x11/gnome-panel/work/gnome-panel-2.22.0'
gmake: *** [all] Error 2
*** Error code 2

Stop in /usr/ports/x11/gnome-panel.
*** Error code 1

Stop in /usr/ports/x11/gnome-panel.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade.40940.0 
env UPGRADE_TOOL=portupgrade UPGRADE_PORT=gnome-panel-2.20.3 
UPGRADE_PORT_VER=2.20.3 make WITH_FAM_SYSTEM=fam
** Fix the problem and try again.
** Listing the failed packages (-:ignored / *:skipped / !:failed)
! x11/gnome-panel (gnome-panel-2.20.3)  (linker error)

What should I do?

Brgds
Dino


   
-
Looking for last minute shopping deals?  Find them fast with Yahoo! Search.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: hplip setup problems

2008-03-26 Thread Predrag Punosevac

Isaac Mushinsky wrote:

On Wednesday 26 March 2008 00:21:12 Isaac Mushinsky wrote:
  

I am close to assasinating my HP Photosmart C4280 in frustration.

1. This is an all-in-one device. (I did not try the scanner setup yet)
2. ulpt, umass, uscanner modules are not in kernel and not kld-loaded.
3. Machine is FreeBSD 7-stable/amd64.
4. hplip is 2.8.2

$ usbdevs
addr 1: UHCI root hub, Intel
addr 1: UHCI root hub, Intel
addr 1: UHCI root hub, Intel
addr 1: EHCI root hub, Intel
 addr 2: Photosmart C4200 series, HP
addr 1: UHCI root hub, Intel
addr 1: UHCI root hub, Intel
addr 1: UHCI root hub, Intel
addr 1: EHCI root hub, Intel

There is a ppd file for these series with the hplip distribution.

hpssd, cups started in the order needed. hp-setup detects the printer, and
then says 'Unable to create queue'. CUPS web interface actually adds the
printer, but then cannot print test page to it. cups user runs hpssd (I
tried root too).

/var/log/messages has:
Mar 25 23:57:56 omsk python: io/hpmud/musb.c 135: unable
get_string_descriptor -5: Input/output error Mar 25 23:57:56 omsk python:
io/hpmud/musb.c 1951: invalid serial id string ret=-5

Here is all relevant output:
http://omsk.mushinsky.net/hplip-trouble

Any help is appreciated. Thanks.


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



What is interesting is that the failure of usb_control_msg happens only 
when 'serial number' is requested. The function had been called successfully 
before that.


  
I do not know if it has something to do with my previous observation 
that you are missing slue of libraries?
But hp-check has to give you all REQUIRED outputs OK  before we start 
blaming drivers. I am ready to believe that
if you have all libraries installed manually and normal CUPS (please no 
develop version) that the things might work.


Best,
Predrag



# export USB_DEBUG=4
# hp-info

HP Linux Imaging and Printing System (ver. 2.8.2)
Device Information Utility ver. 3.4

Copyright (c) 2001-7 Hewlett-Packard Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.

usb_set_debug: Setting debugging level to 4 (on)
usb_os_find_busses: Found /dev/usb0
usb_os_find_busses: Found /dev/usb1
usb_os_find_busses: Found /dev/usb2
usb_os_find_busses: Found /dev/usb3
usb_os_find_busses: Found /dev/usb4
usb_os_find_busses: Found /dev/usb5
usb_os_find_busses: Found /dev/usb6
usb_os_find_busses: Found /dev/usb7
usb_os_find_devices: Found /dev/ugen0 on /dev/usb3
usb_control_msg: 128 6 512 0 0x7fff5a20 8 1000
usb_control_msg: 128 6 512 0 0x800d80100 124 1000
usb_control_msg: 128 6 770 1033 0x7fff5990 255 5000
usb_control_msg: 128 6 771 1033 0x7fff5990 255 5000
USB error: error sending control message: Input/output error
Using device: hp:/usb/Photosmart_C4200_series?serial=0

hp:/usb/Photosmart_C4200_series?serial=0

usb_set_debug: Setting debugging level to 4 (on)
usb_os_find_busses: Found /dev/usb0
usb_os_find_busses: Found /dev/usb1
usb_os_find_busses: Found /dev/usb2
usb_os_find_busses: Found /dev/usb3
usb_os_find_busses: Found /dev/usb4
usb_os_find_busses: Found /dev/usb5
usb_os_find_busses: Found /dev/usb6
usb_os_find_busses: Found /dev/usb7
usb_os_find_devices: Found /dev/ugen0 on /dev/usb3
usb_control_msg: 128 6 770 1033 0x7fffde60 255 5000
usb_control_msg: 128 6 771 1033 0x7fffde60 255 5000
USB error: error sending control message: Input/output error
error: Unable to communicate with device (code=12): 
hp:/usb/Photosmart_C4200_series?serial=0

error: Error opening device (Device not found). Exiting.


/var/log/messages:
Mar 26 09:17:14 omsk kernel: ugen0: HP Photosmart C4200 series, class 0/0, 
rev 2.00/1.00, addr 2 on uhub3
Mar 26 09:17:23 omsk python: io/hpmud/musb.c 135: unable 
get_string_descriptor -5: Input/output error
Mar 26 09:17:23 omsk python: io/hpmud/musb.c 1951: invalid serial id string 
ret=-5
Mar 26 09:17:23 omsk python: io/hpmud/musb.c 135: unable 
get_string_descriptor -5: Input/output error
Mar 26 09:17:23 omsk python: io/hpmud/musb.c 615: invalid serial id string 
ret=-5
Mar 26 09:17:23 omsk python: io/hpmud/musb.c 1057: unable to open 
hp:/usb/Photosmart_C4200_series?serial=0
Mar 26 09:17:23 omsk python: hp-info[1074]: error: Unable to communicate with 
device (code=12): hp:/usb/Photosmart_C4200_series?serial=0
Mar 26 09:17:23 omsk python: hp-info[1074]: error: Error opening device 
(Device not found). Exiting.


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


___
freebsd-questions@freebsd.org mailing list

RE: portsnap fetch errors

2008-03-26 Thread Barry Byrne
 

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of RW
 Sent: 26 March 2008 18:35
 To: freebsd-questions@freebsd.org
 Subject: Re: portsnap fetch errors
 
 On Wed, 26 Mar 2008 15:52:51 -
 Barry Byrne [EMAIL PROTECTED] wrote:
 
 
  By any chance is your portsnap using a proxy server, possibly squid?
  
  If so this may get around the problem prior to running your 
 portsnap.
  
  # sysctl net.inet.ip.portrange.randomized=0
 
 Why would that make a difference?

I think some versions of squid may be a bit broken with respect to correctly
handling HTTP/1.1 and in the case of portsnap downloading many files, squid
starts closing some of the open connections, which portsnap then attempts to
reuse. 

There was a thread on one of the FreeBSD lists in late 2006. Google a bit
and you'll probably find it. 

Don't know for certain this is your problem, but it did fix it when I came
across the problem.

 - barry

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


Re: error when upgrading gnome-panel on FreeBSD 6.3 (AMD64)

2008-03-26 Thread Jeremy Messenger
On Wed, 26 Mar 2008 14:50:08 -0500, Dino Vliet [EMAIL PROTECTED]  
wrote:


Whenever I try to upgrade my gnome-panel port on my amd64 system running  
freebsd 6.3 I get the ollowing error:


clock_applet-clock.o(.text+0x2ac2): In function  
`location_weather_updated_cb':

: undefined reference to `weather_info_get_icon_name'
clock_applet-clock.o(.text+0x3008): In function  
`parse_and_set_temperature_string':

: undefined reference to `gweather_prefs_parse_temperature'
clock_applet-clock.o(.text+0x3048): In function  
`parse_and_set_speed_string':

: undefined reference to `gweather_prefs_parse_speed'
clock_applet-clock.o(.text+0x5b40): In function  
`display_properties_dialog':

: undefined reference to `gweather_prefs_get_temp_display_name'
clock_applet-clock.o(.text+0x5c4d): In function  
`display_properties_dialog':

: undefined reference to `gweather_prefs_get_speed_display_name'
clock_applet-clock-location-tile.o(.text+0x9ee): In function  
`weather_info_setup_tooltip':

: undefined reference to `weather_info_get_icon_name'
clock_applet-clock-location-tile.o(.text+0xd26): In function  
`update_weather_icon':

: undefined reference to `weather_info_get_icon_name'
gmake[5]: *** [clock-applet] Error 1
gmake[5]: Leaving directory  
`/usr/ports/x11/gnome-panel/work/gnome-panel-2.22.0/applets/clock'

gmake[4]: *** [all-recursive] Error 1
gmake[4]: Leaving directory  
`/usr/ports/x11/gnome-panel/work/gnome-panel-2.22.0/applets/clock'

gmake[3]: *** [all] Error 2
gmake[3]: Leaving directory  
`/usr/ports/x11/gnome-panel/work/gnome-panel-2.22.0/applets/clock'

gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory  
`/usr/ports/x11/gnome-panel/work/gnome-panel-2.22.0/applets'

gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory  
`/usr/ports/x11/gnome-panel/work/gnome-panel-2.22.0'

gmake: *** [all] Error 2
*** Error code 2

Stop in /usr/ports/x11/gnome-panel.
*** Error code 1

Stop in /usr/ports/x11/gnome-panel.
** Command failed [exit code 1]: /usr/bin/script -qa  
/tmp/portupgrade.40940.0 env UPGRADE_TOOL=portupgrade  
UPGRADE_PORT=gnome-panel-2.20.3 UPGRADE_PORT_VER=2.20.3 make  
WITH_FAM_SYSTEM=fam

** Fix the problem and try again.
** Listing the failed packages (-:ignored / *:skipped / !:failed)
! x11/gnome-panel (gnome-panel-2.20.3)  (linker error)

What should I do?


Did you follow the /usr/ports/UPDATING?

Cheers,
Mezz


Brgds
Dino



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


Re: 7.0-RELEASE panic after ~4 hours

2008-03-26 Thread Alphons Fonz van Werven

Vince wrote:


Not true. under 7-current for me wpa works on my wpi adapter.


Care to elaborate on what you did? Because in my and some other people's cases
we can't get wpi to work with wpa_supplicant no matter what we try.

Alphons (as can be seen in some previous threads)

--
All right, that does it Bill [Donahue]. I'm pretty sure that killing Jesus
is not very Christian.
 -- pope Benedict XVI, South Park episode #158

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


Status of AMD64 NVIDIA Proprietary Drivers for Xorg

2008-03-26 Thread Martyn Hare
What's the status regarding AMD64 NVIDIA Xorg drivers?  I know this has been 
raised several times in the past but since the release of FreeBSD 7.0 how 
near/far are we from having this?

If i'm not mistaken an NVIDIA representative said it required certain system 
calls to be implemented in order to port the drivers to the architecture 
correctly, what's the status on that? This has been bugging me for quite a 
while now.

My apologies in advance if this has already been discussed in relation to 7.0 
release/stable.

Regards,

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


Re: 7.0-RELEASE panic after ~4 hours

2008-03-26 Thread Kris Kennaway

Matthias Apitz wrote:

Hello,

Over the longs last weekend I've installed FreeBSD 7.0-REL on my laptop
and around 200 ports; I point this out to say that the laptop run
without any reboot from Friday morning to Monday evening at home in my
WEP based Wifi-zone;

on Thursday and today I'm working in my office from around 9 o'clock and
each day after 4 hours the system panic'ed:

Mar 25 09:02:43 rebelion syslogd: kernel boot file is /boot/kernel/kernel
Mar 25 13:00:03 rebelion savecore: reboot after panic: clist reservation botch
 
Mar 26 09:11:04 rebelion syslogd: kernel boot file is /boot/kernel/kernel

Mar 26 13:22:29 rebelion savecore: reboot after panic: page fault

the main difference between home and work is: WEP at home and WPA2 at
work;

as well I see in messages a lot of:

Mar 26 08:24:51 rebelion kernel: iwi0: firmware stuck in state 4, resetting
Mar 26 08:25:01 rebelion kernel: iwi0: firmware stuck in state 4, resetting
Mar 26 08:25:11 rebelion kernel: iwi0: firmware stuck in state 4, resetting
Mar 26 08:25:20 rebelion kernel: iwi0: firmware stuck in state 4, resetting
Mar 26 08:25:31 rebelion kernel: iwi0: firmware stuck in state 4, resetting
Mar 26 08:25:40 rebelion kernel: iwi0: firmware stuck in state 4, resetting
Mar 26 08:42:05 rebelion kernel: iwi0: firmware stuck in state 4, resetting
Mar 26 09:48:58 rebelion kernel: iwi0: firmware stuck in state 4, resetting
Mar 26 10:54:08 rebelion kernel: iwi0: firmware stuck in state 4, resetting
Mar 26 12:04:13 rebelion kernel: iwi0: firmware stuck in state 4, resetting
Mar 26 12:21:17 rebelion kernel: iwi0: firmware stuck in state 4, resetting
Mar 26 12:37:43 rebelion kernel: iwi0: firmware stuck in state 4, resetting
Mar 26 12:54:17 rebelion kernel: iwi0: firmware stuck in state 4, resetting

Before I was for more than a year on 6.2-REL and without any panic which
was not caused by pulling out the PCMCIA UMTS card; so I think it is not
a hardware issue;

Any comments?


Please see 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/kerneldebug.html 
and file a PR.


Kris

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


Re: Random System Lockup/Hangs Occurrences Without Any Trace

2008-03-26 Thread Kris Kennaway

The-IRC Hosting Administration Team wrote:

Good Day,

 


For way over a month now, we have been experiencing strange system
lockups/hangs and are dumbfounded by the true cause of these events. When
the occurrence happens it causes anything remotely running via root (HTTP,
SSH, any type of control panel, FTP, Email) and console access if frozen, it
gives a login prompt but after entering root it goes nowhere.


Please see

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

and file a PR.

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


Re: hplip setup problems

2008-03-26 Thread Isaac Mushinsky
On Wed, Mar 26, 2008 at 3:49 PM, Predrag Punosevac 
[EMAIL PROTECTED] wrote:

 Isaac Mushinsky wrote:
 Obviously the device can not communicate with the kernel. My first hunch
 would be to blame on ugen driver
 of BSD but look at this lines from hp-check that I copied from you
 message.
 You are missing slue of REQUIRED libraries.


Well, hp-check seems broken, so I wouldn't take it all that seriously. It
probably only works on linux. How can it complain of missing libusb and then
proceed to use it?

hplip finds the device correctly, and gets the vendor/product id. The
immediate show stopper is failure to get serial number of the device. Or is
it? it seems to be the only place where a libusb call fails. I am not sure
if it is HP's fault or an hplip/io/hpmud problem, though.

 Are you running CUPS development version.

I am running on a standard cups from ports. It was installed as requirement
by KDE or something. Besides, there seems to be no problem with cups itself.


 You are not supposed to do that. You can try to install
 each of the missing libraries by hand and then try hp-setup. Something
 is very WRONG with your installation.
 Even better. If you have a spare machine to for testing. Try one more
 time to install things. Install firstly CUPS and SANE-backends and then
 install HPLIP (nothing else). If you see the same output from hp-check
 try installing
 missing libraries by hand. If after all everything works I would reports
 HPLIP port as broken as the required libraries
 should be installed as dependencies.  On the positive side SANE seems
 see the scanner. Can you scan?


Didn't even try to scan yet. It doesn't matter at this point. I have another
(film) scanner that works, though.
hplip printer driver seems to see the printer too, seeing is clearly not the
problem.



 Checking output of 'scanimage -L'...
 device `hpaio:/usb/Photosmart_C4200_series?serial=0' is a Hewlett-Packard
 Photosmart_C4200_series all-in-one

 found USB scanner (vendor=0x03f0 [HP], product=0x5c11 [Photosmart C4200
 series]) at libusb:/dev/usb3:/dev/ugen0



 Checking for dependency: cups-devel- Common Unix Printing System
 development
 files...
 error: NOT FOUND! This is a REQUIRED/COMPILE TIME ONLY dependency. Please
 make
 sure that this dependency is installed before installing or running HPLIP.


 Checking for dependency: libcrypto - OpenSSL cryptographic library...
 error: NOT FOUND! This is a REQUIRED dependency. Please make sure that
 this
 dependency is installed before installing or running HPLIP.


 Checking for dependency: libjpeg - JPEG library...
 error: NOT FOUND! This is a REQUIRED dependency. Please make sure that
 this
 dependency is installed before installing or running HPLIP.

 Checking for dependency: libnetsnmp-devel - SNMP networking library
 development files...
 error: NOT FOUND! This is a REQUIRED dependency. Please make sure that
 this
 dependency is installed before installing or running HPLIP.

 Checking for dependency: libpthread - POSIX threads library...
 error: NOT FOUND! This is a REQUIRED dependency. Please make sure that
 this

 Checking for dependency: libusb - USB library...
 error: NOT FOUND! This is a REQUIRED dependency. Please make sure that
 this
 dependency is installed before installing or running HPLIP.

 Checking for dependency: make - GNU make utility to maintain groups of
 programs...
 error: NOT FOUND! This is a REQUIRED/COMPILE TIME ONLY dependency. Please
 make
 sure that this dependency is installed before installing or running HPLIP.
 dependency is installed before installing or running HPLIP.

  Checking for dependency: python-devel - Python development files...
 error: NOT FOUND! This is a REQUIRED/COMPILE TIME ONLY dependency. Please
 make
 sure that this dependency is installed before installing or running HPLIP.






  On Wednesday 26 March 2008 04:29:45 you wrote:
 
  Isaac Mushinsky wrote:
 
  On Wednesday 26 March 2008 02:49:52 you wrote:
 
  fOn Wed, 26 Mar 2008, Isaac Mushinsky wrote:
 
  I am close to assasinating my HP Photosmart C4280 in frustration.
 
  1. This is an all-in-one device. (I did not try the scanner setup
 yet)
  2. ulpt, umass, uscanner modules are not in kernel and not
 kld-loaded.
 
  So far as I can determine, there is no reason to avoid uscanner in
  the kernel --- uscanner does not/should not grab the scanner function
  of your all-in-one.  It should then be possible to attach your single
  function scanner with sane --- although it is sensible to get hplip
 up
  without that complication first.
 
 
  3. Machine is FreeBSD 7-stable/amd64.
  4. hplip is 2.8.2
 
  $ usbdevs
  addr 1: UHCI root hub, Intel
  addr 1: UHCI root hub, Intel
  addr 1: UHCI root hub, Intel
  addr 1: EHCI root hub, Intel
  addr 2: Photosmart C4200 series, HP
  addr 1: UHCI root hub, Intel
  addr 1: UHCI root hub, Intel
  addr 1: UHCI root hub, Intel
  addr 1: EHCI root hub, Intel
 
  There is a ppd file for these series with the hplip distribution.
 
  hpssd, 

Re: hplip setup problems

2008-03-26 Thread Predrag Punosevac

Isaac Mushinsky wrote:
On Wed, Mar 26, 2008 at 3:49 PM, Predrag Punosevac 
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote:


Isaac Mushinsky wrote:
Obviously the device can not communicate with the kernel. My first
hunch
would be to blame on ugen driver
of BSD but look at this lines from hp-check that I copied from you
message.
You are missing slue of REQUIRED libraries.

 
Well, hp-check seems broken, so I wouldn't take it all that seriously. 
It probably only works on linux. How can it complain of missing libusb 
and then proceed to use it?
 
Actually that is a new information to me. On my OpenBSD 4.3 current 
hp-check works like a charm.

You can manually check if you have each one of those libraries.

You are probably right about the fact that failure to get serial device 
number is the show stopper but that seems
that points again to inability of ugen driver to fully communicate with 
the printer. I started dusting of my C skills (in the real life I am a 
mathematician) in particularly because I want look those  drivers for 
USB devices.


Sorry, I could not be of more help. As I said earlier you can use 
printing function if you leave ulpt driver but that

definitely kills the purpose of having all-in-one device.

Best,

Predrag





hplip finds the device correctly, and gets the vendor/product id. The 
immediate show stopper is failure to get serial number of the device. 
Or is it? it seems to be the only place where a libusb call fails. I 
am not sure if it is HP's fault or an hplip/io/hpmud problem, though.


Are you running CUPS development version.

I am running on a standard cups from ports. It was installed as 
requirement by KDE or something. Besides, there seems to be no problem 
with cups itself.
 


You are not supposed to do
that. You can try to install
each of the missing libraries by hand and then try hp-setup. Something
is very WRONG with your installation.
Even better. If you have a spare machine to for testing. Try one more
time to install things. Install firstly CUPS and SANE-backends and
then
install HPLIP (nothing else). If you see the same output from hp-check
try installing
missing libraries by hand. If after all everything works I would
reports
HPLIP port as broken as the required libraries
should be installed as dependencies.  On the positive side SANE seems
see the scanner. Can you scan?

 
Didn't even try to scan yet. It doesn't matter at this point. I have 
another (film) scanner that works, though.
hplip printer driver seems to see the printer too, seeing is clearly 
not the problem.
 



Checking output of 'scanimage -L'...
device `hpaio:/usb/Photosmart_C4200_series?serial=0' is a
Hewlett-Packard
Photosmart_C4200_series all-in-one

found USB scanner (vendor=0x03f0 [HP], product=0x5c11 [Photosmart
C4200
series]) at libusb:/dev/usb3:/dev/ugen0



Checking for dependency: cups-devel- Common Unix Printing System
development
files...
error: NOT FOUND! This is a REQUIRED/COMPILE TIME ONLY dependency.
Please make
sure that this dependency is installed before installing or
running HPLIP.


Checking for dependency: libcrypto - OpenSSL cryptographic library...
error: NOT FOUND! This is a REQUIRED dependency. Please make sure
that this
dependency is installed before installing or running HPLIP.


Checking for dependency: libjpeg - JPEG library...
error: NOT FOUND! This is a REQUIRED dependency. Please make sure
that this
dependency is installed before installing or running HPLIP.

Checking for dependency: libnetsnmp-devel - SNMP networking library
development files...
error: NOT FOUND! This is a REQUIRED dependency. Please make sure
that this
dependency is installed before installing or running HPLIP.

Checking for dependency: libpthread - POSIX threads library...
error: NOT FOUND! This is a REQUIRED dependency. Please make sure
that this

Checking for dependency: libusb - USB library...
error: NOT FOUND! This is a REQUIRED dependency. Please make sure
that this
dependency is installed before installing or running HPLIP.

Checking for dependency: make - GNU make utility to maintain groups of
programs...
error: NOT FOUND! This is a REQUIRED/COMPILE TIME ONLY dependency.
Please make
sure that this dependency is installed before installing or
running HPLIP.
dependency is installed before installing or running HPLIP.

Checking for dependency: python-devel - Python development files...
error: NOT FOUND! This is a REQUIRED/COMPILE TIME ONLY dependency.
Please make
sure that this dependency is installed before installing or
running HPLIP.






 On Wednesday 26 March 2008 04:29:45 you wrote:

 Isaac Mushinsky wrote:

 On Wednesday 26 March 2008 02:49:52 you wrote:

 fOn Wed, 26 Mar 2008, 

Status of AMD64 NVIDIA Proprietary Drivers for Xorg

2008-03-26 Thread Robert Huff

Martyn Hare writes:

  What's the status regarding AMD64 NVIDIA Xorg drivers?  I know
  this has been raised several times in the past but since the
  release of FreeBSD 7.0 how near/far are we from having this?
  
  If i'm not mistaken an NVIDIA representative said it required
  certain system calls to be implemented in order to port the
  drivers to the architecture correctly, what's the status on that?
  This has been bugging me for quite a while now.

Last I heard, some inconsiderate lout waves had suggested it
as a Summer of Code project.  (Though I can't seem to find it at 
http://www.freebsd.org/projects/ideas/ )


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


Re: 7.0-RELEASE panic after ~4 hours

2008-03-26 Thread Alphons Fonz van Werven

Vince wrote:


under 7-current


Just noted the -current thingy. I'm running 7-release, with or without a
patch by Andrew (2 kernels available). If it works with 7-current, perhaps
there are some patches I missed?

Alphons

--
All right, that does it Bill [Donahue]. I'm pretty sure that killing Jesus
is not very Christian.
 -- pope Benedict XVI, South Park episode #158

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


Re: sFTP on 7.0-RELEASE no worky

2008-03-26 Thread The MadDaemon
On Wed, Mar 26, 2008 at 3:30 PM, Dan Nelson [EMAIL PROTECTED] wrote:
 In the last episode (Mar 26), The MadDaemon said:
   I have a 7.0-RELEASE box that I setup a few weeks ago for testing,
   and I just now tried to sftp into it and get the following:
  
   [EMAIL PROTECTED] [~]$ sftp 172.20.30.12
   Connecting to 172.20.30.12...
  
   (banner snipped)
  
   Password:
   Received message too long 173305700
   [EMAIL PROTECTED] [~]$

  173305700 = 0x0A546F64 = \nTod

  Make sure you don't have any commands in your shell's startup scripts
  that might print anything if the incoming session isn't interactive.

  http://www.snailbook.com/faq/sftp-corruption.auto.html

  --
 Dan Nelson
 [EMAIL PROTECTED]


d'oh!  I had fortunes enabled, which was the culprit.  Thanks for the
link/answer, Dan.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: desktop dominance

2008-03-26 Thread Frank Shute
On Tue, Mar 25, 2008 at 10:28:15PM -0400, Benjamin Cance wrote:

 I have had Linux for a long time. I have a different desktop coming that 
 I am eager to play with FreeBSD on. It is a dual processored Intel Xeon 
 @ 3.2ghz (64-bit). How are HP workstations with FreeBSD?

Check that it is advertised to work with unix/linux and not just
Vista.

I bought a cheap workstation from HP with a crappy BIOS.

The result is that I can only boot it with ACPI disabled and hence am
only able to run 1 core of it's AMD dual core 3800+ under FreeBSD.

It's running 6.3-RELEASE, so if I upgraded it to 7.0 I might have
better luck.

Not a total disaster: I use it as a low power mail and webserver and I
subsequently built my own workstation but nothing as high-end as
you're looking at.

I believe, a lot of people on this list run FreeBSD on the HP 1u/2u
servers with good results though.

-- 

 Frank 


 Contact info: http://www.shute.org.uk/misc/contact.html 

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


where to get linux/parport.h

2008-03-26 Thread Steve Franks
I'm getting an error porting a linux app.  I do have
/usr/local/include/linux, but it only has videdev.h in it.  Is there
a port to install these headers, or another prefered way of grabbing
them, or should I be redirecting to a greebsd header - I didn't see
one named parport.h anywhere, so I assume a direct equivalent is
unavailable.

Steve

-- 
Steve Franks, KE7BTE
Staff Engineer
La Palma Devices, LLC
http://www.lapalmadevices.com
(520) 312-0089
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Working /etc/pam.d/sshd file with pam_ldap 6.3 or 7.0 ?

2008-03-26 Thread Paul Schmehl
Please don't top post.  It disrupts the flow of the conversation.  (See 
below for my response.)


--On Wednesday, March 26, 2008 4:01 PM +0100 Frank Bonnet 
[EMAIL PROTECTED] wrote:



Hello

After having spent several hours on it I can't have a working
ssh access that use PAM_LDAP on a freebsd 6/7 machine !

I have no problem on a Linux Debian etch box ...

Where are we going if Linux works better than BSD ? :-)



Setting up pam ldap ssh access on a FreeBSD box takes less than five 
minutes *after* installing the correct ports.


1) net/openldap-client
2) security/pam_ldap

Then configure ldap.conf (in /usr/local/etc/) which is quite simple:
host {your ldap server(s) either hostname(s) or ip(s) in a space-separate 
list

dc (your dn)

Then configure /etc/pam.d/sshd thus:
authsufficient  /usr/local/lib/pam_ldap.so  no_warn 
try_first_pass


That's all that is needed.

If it doesn't work, fire up wireshark (port) or tcpdump (base) and see what 
the problem is.


You needn't even bother creating local passwords for accounts.  Just create 
the account without one, and with pam/ssh/ldap, they can login and use 
their assigned shell/do whatever you've authorized them to do.


Paul Schmehl ([EMAIL PROTECTED])
Adjunct Information Security Officer
The University of Texas at Dallas
http://www.utdallas.edu/ir/security/

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


freebsd equiv of libdl.a (load shared libs)

2008-03-26 Thread Steve Franks
I am porting a linux app which is looking for libdl.a (which I
understand from googling is related to loading of shared libs).  The
app makes a libusb-based shared lib.  FreeBSD uses shared libs, so I
assume there is equivalent functionality somewhere.  I also see
libdl.a in /compat/linux/lib, but I assume if I link a native FreeBSD
app against this, fireworks will be the only result.  I further assume
since I got no error from gcc, that some freebsd header actally points
to the exact functions expected in libdl.a, so they are in there
somewhere

Steve

-- 
Steve Franks, KE7BTE
Staff Engineer
La Palma Devices, LLC
http://www.lapalmadevices.com
(520) 312-0089
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: solved freebsd equiv of libdl.a (load shared libs)

2008-03-26 Thread Steve Franks
On Wed, Mar 26, 2008 at 2:39 PM, Steve Franks [EMAIL PROTECTED] wrote:
 I am porting a linux app which is looking for libdl.a (which I
  understand from googling is related to loading of shared libs).  The
  app makes a libusb-based shared lib.  FreeBSD uses shared libs, so I
  assume there is equivalent functionality somewhere.  I also see
  libdl.a in /compat/linux/lib, but I assume if I link a native FreeBSD
  app against this, fireworks will be the only result.  I further assume
  since I got no error from gcc, that some freebsd header actally points
  to the exact functions expected in libdl.a, so they are in there
  somewhere

  Steve

  --
  Steve Franks, KE7BTE
  Staff Engineer
  La Palma Devices, LLC
  http://www.lapalmadevices.com
  (520) 312-0089


Looks like changing -ldl to -lc (libc.a) to the link step in my
makefile did it.  No idea why they weren't picking that up...

Steve


-- 
Steve Franks, KE7BTE
Staff Engineer
La Palma Devices, LLC
http://www.lapalmadevices.com
(520) 312-0089
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


what is up with ftpd (some questions)

2008-03-26 Thread Wouter Oosterveld
Why are there two ftpd's in FreeBSD RELEASE-7.0 ? There is the
original ftpd and lukemftpd in contrib.

There is a pam_ftpusers which doesn't work with the original ftpd. (I
would like to be able to whitelist).

Lukemftpd isn't updated in a while.

---

Are there any plans to merge some stuff from lukem in the base ftpd?
Are patches to the original ftpd accepted?

Regards,

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


Re: making FreeBSD phone home via SSH

2008-03-26 Thread Elliot Finley
Thanks to everyone for their suggestions... It looks like I have
several good options.


On Wed, 26 Mar 2008 14:40:24 -0400, you wrote:

I believe the stunnel application is made to manager and restart
tunnels like this. However stunnel is a wrapper application around
reverse ssh tunnels, which someone has already mentioned.

You may want to run your ssh server on tcp https 443. Because some
firewalls will block outgoing things. SSH server on 443 looks like a
secured web site to almost all packet inspecting engines.

On Wed, Mar 26, 2008 at 1:49 PM, Paul A. Procacci
[EMAIL PROTECTED] wrote:

 Elliot Finley wrote:
   Hello all,
  
   I have an interesting project.  I have several FreeBSD servers that I
   will be deploying to remote locations.  They will be sitting behind a
   NAT.  I would like them to make a SSH connection to a local server
   sitting on a public IP.  I need them connected in a way that will give
   me remote shell access.
  
   Has anyone done this before?  I'd rather not re-invent the wheel.
  
   TIA for any pointers.
  
   Elliot
   ___
   freebsd-questions@freebsd.org mailing list
   http://lists.freebsd.org/mailman/listinfo/freebsd-questions
   To unsubscribe, send any mail to [EMAIL PROTECTED]
  
  I've been using vtund for just that.  Simple, easy, effectivejust
  another option of course.

  ~Paul


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

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


Re: freebsd equiv of libdl.a (load shared libs)

2008-03-26 Thread Dan Nelson
In the last episode (Mar 26), Steve Franks said:
 I am porting a linux app which is looking for libdl.a (which I
 understand from googling is related to loading of shared libs).  The
 app makes a libusb-based shared lib.  FreeBSD uses shared libs, so I
 assume there is equivalent functionality somewhere.  I also see
 libdl.a in /compat/linux/lib, but I assume if I link a native FreeBSD
 app against this, fireworks will be the only result.  I further
 assume since I got no error from gcc, that some freebsd header
 actally points to the exact functions expected in libdl.a, so they
 are in there somewhere

The dlopen/dlsym functions are built into libc on FreeBSD, so there's
no need for a libdl:


DLOPEN(3)  FreeBSD Library Functions Manual  DLOPEN(3)

NAME
 dlopen, dlsym, dlfunc, dlerror, dlclose -- programmatic interface to the
 dynamic linker

LIBRARY
 Standard C Library (libc, -lc)


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


Re: keyboard initialization in freebsd

2008-03-26 Thread Jim Stapleton
On Wed, Mar 26, 2008 at 1:25 PM, Tim Judd [EMAIL PROTECTED] wrote:

 Jim Stapleton wrote:
   Can anyone give me information on keyboard initialization during
   boot-up related to my issues listed below?
  
   In 6.2, my system booted up, and worked fine. [alt][ctrl][f#] would
   switch consoles, and I was happy.
   In 7.0, the same would not happen. After googling, I found some
   multimedia keyboards, like mine, had keys to switch F# to a special
   key. I hit a few keys that had weird pictures that didn't really
   describe what they'd do, and I turned my F# keys, back into F# keys.
  
   Were there any changes between 6.2 and 7.0 that would cause 7.0 to
   start up the keyboard in the alternate F# mode?
  
   Note, xev didn't recognize a keypress from any [F#] key when it was in
   the alternate mode.
  
   Thanks,
   -Jim Stapleton
   ___
   freebsd-questions@freebsd.org mailing list
   http://lists.freebsd.org/mailman/listinfo/freebsd-questions
   To unsubscribe, send any mail to [EMAIL PROTECTED]
  
  I have a Microsoft keyboard that places functions like Save Open
  Reply Reply All in the Function row keys F#.  There is a Function
  lock key I have to use in order to use F# keys as F# keys.  Annoys the
  crap out of me because it's no longer a keyboard and just a headache.

  Do you have a key on the top right of the keyboard that is labeled like
  a white F surrounded in a black square?  That's my Function lock key,
  and it displays an LED saying that I can now use my F# keys as F#.

  Good luck.


Yeah, mine is MS too. As I said I got it working by pressing one of
the buttons also. I was just wondering what changed between 6.2 and
7.0. There were no issues in 6.2

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


Re: solved freebsd equiv of libdl.a (load shared libs)

2008-03-26 Thread mdh
--- Steve Franks [EMAIL PROTECTED] wrote:

 On Wed, Mar 26, 2008 at 2:39 PM, Steve Franks
 [EMAIL PROTECTED] wrote:
  I am porting a linux app which is looking for
 libdl.a (which I
   understand from googling is related to loading of
 shared libs).  The
   app makes a libusb-based shared lib.  FreeBSD
 uses shared libs, so I
   assume there is equivalent functionality
 somewhere.  I also see
   libdl.a in /compat/linux/lib, but I assume if I
 link a native FreeBSD
   app against this, fireworks will be the only
 result.  I further assume
   since I got no error from gcc, that some freebsd
 header actally points
   to the exact functions expected in libdl.a, so
 they are in there
   somewhere
 
   Steve
 
   --
   Steve Franks, KE7BTE
   Staff Engineer
   La Palma Devices, LLC
   http://www.lapalmadevices.com
   (520) 312-0089
 
 
 Looks like changing -ldl to -lc (libc.a) to the link
 step in my
 makefile did it.  No idea why they weren't picking
 that up...
 
 Steve

You don't need -lc.  C compilers link in libc
regardless.  You may also want to consider letting it
load dynamically at runtime rather than linking the
static .a file at compile-time.  

Chances are what it was looking for was dlopen() and
friends, which are in libc on FreeBSD.  They are a
part of libc on my Linux systems as well though, so
not sure why it'd be trying to link against another
library, though admittedly I know a lot more about
development for FreeBSD than for Linux.  
- mdh



  

Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 7.0-RELEASE panic after ~4 hours

2008-03-26 Thread Vince

Alphons Fonz van Werven wrote:

Vince wrote:


Not true. under 7-current for me wpa works on my wpi adapter.


Care to elaborate on what you did? Because in my and some other people's 
cases

we can't get wpi to work with wpa_supplicant no matter what we try.

Alphons (as can be seen in some previous threads)



Nothing special. Oh and Thats 7-STABLE not current (sorry was following 
7 as current for ages and forgot its finally stable :)


All i need to do is
ifconfig wpi0 up
then
wpa_supplicant -i wpi0 -c /etc/wpa_supplicant.conf


I can send my wpa_supplicant.conf if you like (but later as my wife is 
using that laptop booted into windows.)


The laptop is a Dell Inspiron 640m

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


Re: 7.0-RELEASE panic after ~4 hours

2008-03-26 Thread Vince

Alphons Fonz van Werven wrote:

Vince wrote:


under 7-current


Just noted the -current thingy. I'm running 7-release, with or without a
patch by Andrew (2 kernels available). If it works with 7-current, perhaps
there are some patches I missed?

Alphons


Entirely possible, I'm running these versions

http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/wpi/?only_with_tag=RELENG_7

Doesnt look like the wpa_supplicant code has changed since 7-RELEASE
http://www.freebsd.org/cgi/cvsweb.cgi/src/usr.sbin/wpa/wpa_supplicant/?only_with_tag=RELENG_7
http://www.freebsd.org/cgi/cvsweb.cgi/src/contrib/wpa_supplicant/?only_with_tag=RELENG_7
or the underlying 80211 code
http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/net80211/?only_with_tag=RELENG_7

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


Re: 7.0-RELEASE panic after ~4 hours

2008-03-26 Thread Alphons Fonz van Werven

Vince wrote:


there are some patches I missed?



Entirely possible, I'm running these versions


Thanks Vince, I'll check it out tomorrow (as well as gathering debug info
for the rum driver, btw), as it's getting quite late now.

At the moment, I have FreeBSD on my laptop but I can't do much with it
because I need the WiFi stuff (either wpi or rum, whichever works) for
Internet access. But I've been using FreeBSD over the wire for years so
there will be a small party when I can finally use my favorite OS again :-)

Later,

Alphons

--
All right, that does it Bill [Donahue]. I'm pretty sure that killing Jesus
is not very Christian.
 -- pope Benedict XVI, South Park episode #158

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


mouse movement repaint

2008-03-26 Thread Adam Vande More
I've beening having this problem with applications running under X.  
I'll use konsole as my example.  I fire up konsole and start typing.  
Nothing is echoed on the screen.  I move my mouse in the window that I'm 
typing in and viola the text appears.  This started recently after a 
portupgrade -ar.  I attempted downgrading kde and xorg to install from 
packages and still same behavior.  This occurs intermittently but 
frequently.  For example, I am typing this in thunderbird and for the 
most part it's normal, however I've had to move the mouse several times 
to get the screen to reflect what I'm typing.  I'm using FBSD 7 and 
*now* kde 3.5.8 from packages.  Nvidia driver 169.12.


This issue I think is also related to some other gui/issues that started 
at the same time like clicking and dragging a window causes it to go 
full screen.  I should also mention I'm using twin view.


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


Re: keyboard initialization in freebsd

2008-03-26 Thread Tim Judd

Jim Stapleton wrote:

On Wed, Mar 26, 2008 at 1:25 PM, Tim Judd [EMAIL PROTECTED] wrote:
  

Jim Stapleton wrote:
  Can anyone give me information on keyboard initialization during
  boot-up related to my issues listed below?
 
  In 6.2, my system booted up, and worked fine. [alt][ctrl][f#] would
  switch consoles, and I was happy.
  In 7.0, the same would not happen. After googling, I found some
  multimedia keyboards, like mine, had keys to switch F# to a special
  key. I hit a few keys that had weird pictures that didn't really
  describe what they'd do, and I turned my F# keys, back into F# keys.
 
  Were there any changes between 6.2 and 7.0 that would cause 7.0 to
  start up the keyboard in the alternate F# mode?
 
  Note, xev didn't recognize a keypress from any [F#] key when it was in
  the alternate mode.
 
  Thanks,
  -Jim Stapleton
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to [EMAIL PROTECTED]
 
 I have a Microsoft keyboard that places functions like Save Open
 Reply Reply All in the Function row keys F#.  There is a Function
 lock key I have to use in order to use F# keys as F# keys.  Annoys the
 crap out of me because it's no longer a keyboard and just a headache.

 Do you have a key on the top right of the keyboard that is labeled like
 a white F surrounded in a black square?  That's my Function lock key,
 and it displays an LED saying that I can now use my F# keys as F#.

 Good luck.




Yeah, mine is MS too. As I said I got it working by pressing one of
the buttons also. I was just wondering what changed between 6.2 and
7.0. There were no issues in 6.2

-Jim Stapleton
  
I haven't used my MS keyboard on 7.0 yet.  the box it's hooked up to is 
a test box and i'm going through a torture session quickly.  :P


I'll check it soon though.  Are you looking for any feedback, any 
special specific feedback?


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


Re: hplip setup problems

2008-03-26 Thread Isaac Mushinsky
On Wednesday 26 March 2008 00:21:12 Isaac Mushinsky wrote:
 I am close to assasinating my HP Photosmart C4280 in frustration.

 1. This is an all-in-one device. (I did not try the scanner setup yet)
 2. ulpt, umass, uscanner modules are not in kernel and not kld-loaded.
 3. Machine is FreeBSD 7-stable/amd64.
 4. hplip is 2.8.2

 $ usbdevs
 addr 1: UHCI root hub, Intel
 addr 1: UHCI root hub, Intel
 addr 1: UHCI root hub, Intel
 addr 1: EHCI root hub, Intel
  addr 2: Photosmart C4200 series, HP
 addr 1: UHCI root hub, Intel
 addr 1: UHCI root hub, Intel
 addr 1: UHCI root hub, Intel
 addr 1: EHCI root hub, Intel

 There is a ppd file for these series with the hplip distribution.

 hpssd, cups started in the order needed. hp-setup detects the printer, and
 then says 'Unable to create queue'. CUPS web interface actually adds the
 printer, but then cannot print test page to it. cups user runs hpssd (I
 tried root too).

 /var/log/messages has:
 Mar 25 23:57:56 omsk python: io/hpmud/musb.c 135: unable
 get_string_descriptor -5: Input/output error Mar 25 23:57:56 omsk python:
 io/hpmud/musb.c 1951: invalid serial id string ret=-5

 Here is all relevant output:
 http://omsk.mushinsky.net/hplip-trouble

 Any help is appreciated. Thanks.


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

final piece of information: sane cannot open the HP all-in-one as a scanner 
with same error (getting serial id). However, my Nikon LS40-ED (a 35mm film 
scanner) works fine. So the problem is apparently not my installation or 
libusb.

~ sane-find-scanner 

  # sane-find-scanner will now attempt to detect your scanner. If the
  # result is different from what you expected, first make sure your
  # scanner is powered up and properly connected to your computer.

  # No SCSI scanners found. If you expected something different, make sure 
that
  # you have loaded a kernel SCSI driver for your SCSI adapter.

found USB scanner (vendor=0x04b0 [Nikon], product=0x4000 [LS-40 ED]) at 
libusb:/dev/usb2:/dev/ugen1
found USB scanner (vendor=0x03f0 [HP], product=0x5c11 [Photosmart C4200 
series]) at libusb:/dev/usb3:/dev/ugen0
  # Your USB scanner was (probably) detected. It may or may not be supported 
by
  # SANE. Try scanimage -L and read the backend's manpage.

  # Not checking for parallel port scanners.

  # Most Scanners connected to the parallel port or other proprietary ports
  # can't be detected by this program.

  # You may want to run this program as root to find all devices. Once you
  # found the scanner devices, be sure to adjust access permissions as
  # necessary.

The Nikon scanner works, the HP device fails to return serial id as above.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: hplip setup problems

2008-03-26 Thread Predrag Punosevac

Isaac Mushinsky wrote:

On Wednesday 26 March 2008 00:21:12 Isaac Mushinsky wrote:
  

I am close to assasinating my HP Photosmart C4280 in frustration.

1. This is an all-in-one device. (I did not try the scanner setup yet)
2. ulpt, umass, uscanner modules are not in kernel and not kld-loaded.
3. Machine is FreeBSD 7-stable/amd64.
4. hplip is 2.8.2

$ usbdevs
addr 1: UHCI root hub, Intel
addr 1: UHCI root hub, Intel
addr 1: UHCI root hub, Intel
addr 1: EHCI root hub, Intel
 addr 2: Photosmart C4200 series, HP
addr 1: UHCI root hub, Intel
addr 1: UHCI root hub, Intel
addr 1: UHCI root hub, Intel
addr 1: EHCI root hub, Intel

There is a ppd file for these series with the hplip distribution.

hpssd, cups started in the order needed. hp-setup detects the printer, and
then says 'Unable to create queue'. CUPS web interface actually adds the
printer, but then cannot print test page to it. cups user runs hpssd (I
tried root too).

/var/log/messages has:
Mar 25 23:57:56 omsk python: io/hpmud/musb.c 135: unable
get_string_descriptor -5: Input/output error Mar 25 23:57:56 omsk python:
io/hpmud/musb.c 1951: invalid serial id string ret=-5

Here is all relevant output:
http://omsk.mushinsky.net/hplip-trouble

Any help is appreciated. Thanks.


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



final piece of information: sane cannot open the HP all-in-one as a scanner 
with same error (getting serial id). However, my Nikon LS40-ED (a 35mm film 
scanner) works fine. So the problem is apparently not my installation or 
libusb.


  
I would not bet my life on it. There are two ways on which sane-backend 
talk to scanners. Libusb is one of the ways.
I have two Epson scanners. One of them does use libusb one of them 
doesn't not. How do I know. Well in OpenBSD when the scanner uses libusb 
you have to remove uscanner driver from the kernel in order to use it.


Cheers,
Predrag


~ sane-find-scanner 


  # sane-find-scanner will now attempt to detect your scanner. If the
  # result is different from what you expected, first make sure your
  # scanner is powered up and properly connected to your computer.

  # No SCSI scanners found. If you expected something different, make sure 
that

  # you have loaded a kernel SCSI driver for your SCSI adapter.

found USB scanner (vendor=0x04b0 [Nikon], product=0x4000 [LS-40 ED]) at 
libusb:/dev/usb2:/dev/ugen1
found USB scanner (vendor=0x03f0 [HP], product=0x5c11 [Photosmart C4200 
series]) at libusb:/dev/usb3:/dev/ugen0
  # Your USB scanner was (probably) detected. It may or may not be supported 
by

  # SANE. Try scanimage -L and read the backend's manpage.

  # Not checking for parallel port scanners.

  # Most Scanners connected to the parallel port or other proprietary ports
  # can't be detected by this program.

  # You may want to run this program as root to find all devices. Once you
  # found the scanner devices, be sure to adjust access permissions as
  # necessary.

The Nikon scanner works, the HP device fails to return serial id as above.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
  


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


Re: hplip setup problems

2008-03-26 Thread Isaac Mushinsky
On Wednesday 26 March 2008 23:31:26 you wrote:
 Isaac Mushinsky wrote:
  On Wednesday 26 March 2008 00:21:12 Isaac Mushinsky wrote:
  I am close to assasinating my HP Photosmart C4280 in frustration.
 
  1. This is an all-in-one device. (I did not try the scanner setup yet)
  2. ulpt, umass, uscanner modules are not in kernel and not kld-loaded.
  3. Machine is FreeBSD 7-stable/amd64.
  4. hplip is 2.8.2
 
  $ usbdevs
  addr 1: UHCI root hub, Intel
  addr 1: UHCI root hub, Intel
  addr 1: UHCI root hub, Intel
  addr 1: EHCI root hub, Intel
   addr 2: Photosmart C4200 series, HP
  addr 1: UHCI root hub, Intel
  addr 1: UHCI root hub, Intel
  addr 1: UHCI root hub, Intel
  addr 1: EHCI root hub, Intel
 
  There is a ppd file for these series with the hplip distribution.
 
  hpssd, cups started in the order needed. hp-setup detects the printer,
  and then says 'Unable to create queue'. CUPS web interface actually adds
  the printer, but then cannot print test page to it. cups user runs hpssd
  (I tried root too).
 
  /var/log/messages has:
  Mar 25 23:57:56 omsk python: io/hpmud/musb.c 135: unable
  get_string_descriptor -5: Input/output error Mar 25 23:57:56 omsk
  python: io/hpmud/musb.c 1951: invalid serial id string ret=-5
 
  Here is all relevant output:
  http://omsk.mushinsky.net/hplip-trouble
 
  Any help is appreciated. Thanks.
 
 
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to
  [EMAIL PROTECTED]
 
  final piece of information: sane cannot open the HP all-in-one as a
  scanner with same error (getting serial id). However, my Nikon LS40-ED (a
  35mm film scanner) works fine. So the problem is apparently not my
  installation or libusb.

 I would not bet my life on it. There are two ways on which sane-backend
 talk to scanners. Libusb is one of the ways.
 I have two Epson scanners. One of them does use libusb one of them
 doesn't not. How do I know. Well in OpenBSD when the scanner uses libusb
 you have to remove uscanner driver from the kernel in order to use it.

 Cheers,
 Predrag

  ~ sane-find-scanner
 
# sane-find-scanner will now attempt to detect your scanner. If the
# result is different from what you expected, first make sure your
# scanner is powered up and properly connected to your computer.
 
# No SCSI scanners found. If you expected something different, make
  sure that
# you have loaded a kernel SCSI driver for your SCSI adapter.
 
  found USB scanner (vendor=0x04b0 [Nikon], product=0x4000 [LS-40 ED]) at
  libusb:/dev/usb2:/dev/ugen1
  found USB scanner (vendor=0x03f0 [HP], product=0x5c11 [Photosmart C4200
  series]) at libusb:/dev/usb3:/dev/ugen0
# Your USB scanner was (probably) detected. It may or may not be
  supported by
# SANE. Try scanimage -L and read the backend's manpage.
 
# Not checking for parallel port scanners.
 
# Most Scanners connected to the parallel port or other proprietary
  ports # can't be detected by this program.
 
# You may want to run this program as root to find all devices. Once
  you # found the scanner devices, be sure to adjust access permissions as
  # necessary.
 
  The Nikon scanner works, the HP device fails to return serial id as
  above. ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to
  [EMAIL PROTECTED]

I do not have uscanner loaded, so assume it must be libusb.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: hplip setup problems

2008-03-26 Thread Isaac Mushinsky
On Wednesday 26 March 2008 23:31:26 Predrag Punosevac wrote:
 Isaac Mushinsky wrote:
  On Wednesday 26 March 2008 00:21:12 Isaac Mushinsky wrote:
  I am close to assasinating my HP Photosmart C4280 in frustration.
 
  1. This is an all-in-one device. (I did not try the scanner setup yet)
  2. ulpt, umass, uscanner modules are not in kernel and not kld-loaded.
  3. Machine is FreeBSD 7-stable/amd64.
  4. hplip is 2.8.2
 
  $ usbdevs
  addr 1: UHCI root hub, Intel
  addr 1: UHCI root hub, Intel
  addr 1: UHCI root hub, Intel
  addr 1: EHCI root hub, Intel
   addr 2: Photosmart C4200 series, HP
  addr 1: UHCI root hub, Intel
  addr 1: UHCI root hub, Intel
  addr 1: UHCI root hub, Intel
  addr 1: EHCI root hub, Intel
 
  There is a ppd file for these series with the hplip distribution.
 
  hpssd, cups started in the order needed. hp-setup detects the printer,
  and then says 'Unable to create queue'. CUPS web interface actually adds
  the printer, but then cannot print test page to it. cups user runs hpssd
  (I tried root too).
 
  /var/log/messages has:
  Mar 25 23:57:56 omsk python: io/hpmud/musb.c 135: unable
  get_string_descriptor -5: Input/output error Mar 25 23:57:56 omsk
  python: io/hpmud/musb.c 1951: invalid serial id string ret=-5
 
  Here is all relevant output:
  http://omsk.mushinsky.net/hplip-trouble
 
  Any help is appreciated. Thanks.
 
 
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to
  [EMAIL PROTECTED]
 
  final piece of information: sane cannot open the HP all-in-one as a
  scanner with same error (getting serial id). However, my Nikon LS40-ED (a
  35mm film scanner) works fine. So the problem is apparently not my
  installation or libusb.

 I would not bet my life on it. There are two ways on which sane-backend
 talk to scanners. Libusb is one of the ways.
 I have two Epson scanners. One of them does use libusb one of them
 doesn't not. How do I know. Well in OpenBSD when the scanner uses libusb
 you have to remove uscanner driver from the kernel in order to use it.

 Cheers,
 Predrag

  ~ sane-find-scanner
 
# sane-find-scanner will now attempt to detect your scanner. If the
# result is different from what you expected, first make sure your
# scanner is powered up and properly connected to your computer.
 
# No SCSI scanners found. If you expected something different, make
  sure that
# you have loaded a kernel SCSI driver for your SCSI adapter.
 
  found USB scanner (vendor=0x04b0 [Nikon], product=0x4000 [LS-40 ED]) at
  libusb:/dev/usb2:/dev/ugen1
  found USB scanner (vendor=0x03f0 [HP], product=0x5c11 [Photosmart C4200
  series]) at libusb:/dev/usb3:/dev/ugen0
# Your USB scanner was (probably) detected. It may or may not be
  supported by
# SANE. Try scanimage -L and read the backend's manpage.
 
# Not checking for parallel port scanners.
 
# Most Scanners connected to the parallel port or other proprietary
  ports # can't be detected by this program.
 
# You may want to run this program as root to find all devices. Once
  you # found the scanner devices, be sure to adjust access permissions as
  # necessary.
 
  The Nikon scanner works, the HP device fails to return serial id as
  above. ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to
  [EMAIL PROTECTED]

I have a spare partition, so when I have the time I'll try to install linux on 
it and see. This printer is listed as supported and 'working perfectly' on 
linuxprinting.org

Also, I loaded ulpt and it is able to talk to the printer.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


creating ipsec vpn between freebsd and linksys wrv54g

2008-03-26 Thread Shane Spencer
did you ever figure this out?

I've tried openswan, racoon, and I'm about to try l2tp over ipsec... gah..

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


Re: hplip setup problems

2008-03-26 Thread Predrag Punosevac

Isaac Mushinsky wrote:

On Wednesday 26 March 2008 23:31:26 Predrag Punosevac wrote:
  

Isaac Mushinsky wrote:


On Wednesday 26 March 2008 00:21:12 Isaac Mushinsky wrote:
  

I am close to assasinating my HP Photosmart C4280 in frustration.

1. This is an all-in-one device. (I did not try the scanner setup yet)
2. ulpt, umass, uscanner modules are not in kernel and not kld-loaded.
3. Machine is FreeBSD 7-stable/amd64.
4. hplip is 2.8.2

$ usbdevs
addr 1: UHCI root hub, Intel
addr 1: UHCI root hub, Intel
addr 1: UHCI root hub, Intel
addr 1: EHCI root hub, Intel
 addr 2: Photosmart C4200 series, HP
addr 1: UHCI root hub, Intel
addr 1: UHCI root hub, Intel
addr 1: UHCI root hub, Intel
addr 1: EHCI root hub, Intel

There is a ppd file for these series with the hplip distribution.

hpssd, cups started in the order needed. hp-setup detects the printer,
and then says 'Unable to create queue'. CUPS web interface actually adds
the printer, but then cannot print test page to it. cups user runs hpssd
(I tried root too).

/var/log/messages has:
Mar 25 23:57:56 omsk python: io/hpmud/musb.c 135: unable
get_string_descriptor -5: Input/output error Mar 25 23:57:56 omsk
python: io/hpmud/musb.c 1951: invalid serial id string ret=-5

Here is all relevant output:
http://omsk.mushinsky.net/hplip-trouble

Any help is appreciated. Thanks.


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


final piece of information: sane cannot open the HP all-in-one as a
scanner with same error (getting serial id). However, my Nikon LS40-ED (a
35mm film scanner) works fine. So the problem is apparently not my
installation or libusb.
  

I would not bet my life on it. There are two ways on which sane-backend
talk to scanners. Libusb is one of the ways.
I have two Epson scanners. One of them does use libusb one of them
doesn't not. How do I know. Well in OpenBSD when the scanner uses libusb
you have to remove uscanner driver from the kernel in order to use it.

Cheers,
Predrag



~ sane-find-scanner

  # sane-find-scanner will now attempt to detect your scanner. If the
  # result is different from what you expected, first make sure your
  # scanner is powered up and properly connected to your computer.

  # No SCSI scanners found. If you expected something different, make
sure that
  # you have loaded a kernel SCSI driver for your SCSI adapter.

found USB scanner (vendor=0x04b0 [Nikon], product=0x4000 [LS-40 ED]) at
libusb:/dev/usb2:/dev/ugen1
found USB scanner (vendor=0x03f0 [HP], product=0x5c11 [Photosmart C4200
series]) at libusb:/dev/usb3:/dev/ugen0
  # Your USB scanner was (probably) detected. It may or may not be
supported by
  # SANE. Try scanimage -L and read the backend's manpage.

  # Not checking for parallel port scanners.

  # Most Scanners connected to the parallel port or other proprietary
ports # can't be detected by this program.

  # You may want to run this program as root to find all devices. Once
you # found the scanner devices, be sure to adjust access permissions as
# necessary.

The Nikon scanner works, the HP device fails to return serial id as
above. ___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
[EMAIL PROTECTED]
  


I have a spare partition, so when I have the time I'll try to install linux on 
it and see. This printer is listed as supported and 'working perfectly' on 
linuxprinting.org


Also, I loaded ulpt and it is able to talk to the printer.
  


That is the whole point of the discussion. HPLIP is written for Linux 
and at least my experience with HPLIP on Ubuntu you just plug things and 
they work. So the problem is definitely not in HPLIP but in 
configuration and possibly FreeBSD drivers.  Using Ubuntu will  also  
not  help you  with FreeBSD configuration.


Cheers,
Predrag

P. S. One way of approaching the problem is to attach that all-in-one 
device on Linux machine and use it on your FreeBSD machine via the network.



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


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