Re: the 'make' command in the ports tree

2009-04-13 Thread N. Raghavendra
At 2009-04-12T20:08:21+02:00, dede wrote:

 I search a command that list all availables variables that afect
 program installation, and all arguments I can give to the
 /usr/port/Makefile

`make showconfig' displays all the options available for a port.

 (I know about 'make search key= and name=' is there another?).

The ports(1) man page describes several targets that can be used with
a port Makefile.

 Could anyone give me some cool addresses to learn on the subject?

Apart from the above man page, there are the FreeBSD Handbook [Chapter 4]
for information aimed at users, and the Porter's Handbook for technical
information.

HTH,
Raghu.

-- 
N. Raghavendra ra...@mri.ernet.in | http://www.retrotexts.net/
Harish-Chandra Research Institute   | http://www.mri.ernet.in/
See message headers for contact and OpenPGP information.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: the 'make' command in the ports tree

2009-04-13 Thread N. Raghavendra
At 2009-04-13T10:48:51+05:30, N. Raghavendra wrote:

 The ports(1) man page describes several targets
^
Sorry, that is ports(7).

Raghu.

-- 
N. Raghavendra ra...@mri.ernet.in | http://www.retrotexts.net/
Harish-Chandra Research Institute   | http://www.mri.ernet.in/
See message headers for contact and OpenPGP information.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


is there a way to upgrade Only ports that need it??

2009-04-13 Thread Gary Kline
is there any way t o not upgrade all installed ports, but only
those that are not current?  

tired of having my main box grinding away for endless days

gary




-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
http://jottings.thought.org   http://transfinite.thought.org
The 2.41a release of Jottings: http://jottings.thought.org/index.php

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


Re: Why USB harddrive is so slow under FreeBSD?

2009-04-13 Thread Tim Judd
On Sun, Apr 12, 2009 at 1:54 PM, Yuri y...@rawbw.com wrote:

 I have FreeBSD-71 running with USB controller:
 uhci0: VIA 83C572 USB controller port 0xa800-0xa81f irq 21 at device 16.0
 on pci0

 I connected to it Toshiba USB hard drive HDDR500E03X:
 umass0: Toshiba External USB HDD, class 0/0, rev 2.00/1.03, addr 2 on
 uhub4
 da0: Toshiba External USB HDD 1.03 Fixed Direct Access SCSI-4 device

 When I try to copy data with 'dd if=/dev/da0s1 of=/dev/null count=1' it
 only achieves has 0.65MB/s transfer speed.

 What's wrong, why is it so slow?

 Yuri



uhci is 1.0 devices specs of 12Mbit/sec
ohci is 1.1 devices
ehci is 2.0 devices specs of 480Mbit/sec


Seeing various PCs boot and during the probe, typically I see 1 ehci, and
multiple uhci and ohci devices.


Your Toshiba External USB HDD must have 2.0 speeds to be able to transfer at
that speed... hooking a 2.0 device into a 1.x port will either cause port
shutdown, or a backwards compatible downstep for the device in terms of
speed.


Hope this explanation helps.

--TJ
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: is there a way to upgrade Only ports that need it??

2009-04-13 Thread Tim Judd
On Sun, Apr 12, 2009 at 11:54 PM, Gary Kline kl...@thought.org wrote:

is there any way t o not upgrade all installed ports, but only
those that are not current?

tired of having my main box grinding away for endless days

gary




 --
  Gary Kline  kl...@thought.org  http://www.thought.org  Public Service
 Unix
http://jottings.thought.org   http://transfinite.thought.org
The 2.41a release of Jottings: http://jottings.thought.org/index.php


Normally the 'all' option to your preferred update utility only picks the
outdated ports.  At least that's how I expect it.  Only if you *F*orce all
installed ports is when ALL ports irrespectively update whether they need it
or not.


I'm open for corrections...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: is there a way to upgrade Only ports that need it??

2009-04-13 Thread Lars Eighner

On Sun, 12 Apr 2009, Gary Kline wrote:


is there any way t o not upgrade all installed ports, but only
those that are not current?


What are you using to upgrade all installed ports that rebuilds ports that
are current?

This shouldn't happen with portupgrade or other port management tools even
if you use the all option.  However it is sometimes necessary to rebuild a
port if it depends upon something that is upgraded.  This is pretty much
unavoidable when applications share libraries.


tired of having my main box grinding away for endless days


You can persuade port management tools to use packages when packages are
available.

--
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 freebsd-questions-unsubscr...@freebsd.org


Re: is there a way to upgrade Only ports that need it??

2009-04-13 Thread Frederique Rijsdijk

Gary Kline wrote:

is there any way t o not upgrade all installed ports, but only
	those that are not current?  



portsnap fetch update  portupgrade -a

or you could

portsnap fetch update  pkg_version -v

.. and update the ports of your choice that are not up-to-date with the 
ports tree.



-- Frederique
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: is there a way to upgrade Only ports that need it??

2009-04-13 Thread Matthew Seaman

Gary Kline wrote:

is there any way t o not upgrade all installed ports, but only
	those that are not current?  


tired of having my main box grinding away for endless days


This is what programs like portmaster and portupgrade are designed to
do.  If you update your ports tree by portsnap or csup, grab a fresh
INDEX by 'make fetchindex' and then run (eg):

  portupgrade -a

it will update in dependency order all of your installed ports where a
newer version is available.

There are occasional exceptions where this procedure is not sufficient:
these are documented in /usr/ports/UPDATING, including instructions on
what needs to be done to get up to date.  Even so, while UPDATING
frequently recommends reinstalling more ports than the regular procedure,
it is still almost always a subset of your installed ports.

In fact, the only situation I have come across where is is required to
upgrade all of the ports on a machine is when upgrading over a major
version number.  Even that is a bit overkill -- there's no reason to
reinstall a port that consists of pure perl or php or shell code, or of
sets of images or other non-executable data.

Cheers,

Matthew

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



signature.asc
Description: OpenPGP digital signature


Re: is there a way to upgrade Only ports that need it??

2009-04-13 Thread Glyn Millington
Gary Kline kl...@thought.org writes:

   is there any way t o not upgrade all installed ports, but only
   those that are not current?  

   tired of having my main box grinding away for endless days


portupgrade -akOP does the trick here. 

The time taken depends in large part on how many ports nned to be
upgraded.  If you keep your ports up to date regularly and often, the
periods of endless grinding wil be reduced.

atb



Glyn
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: is there a way to upgrade Only ports that need it??

2009-04-13 Thread Roland Smith
On Sun, Apr 12, 2009 at 10:54:29PM -0700, Gary Kline wrote:
   is there any way t o not upgrade all installed ports, but only
   those that are not current?  

portmaster -a -B -d
 
   tired of having my main box grinding away for endless days

:-)

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpixllLdEKlQ.pgp
Description: PGP signature


Re: Why USB harddrive is so slow under FreeBSD?

2009-04-13 Thread Erik Trulsson
On Mon, Apr 13, 2009 at 12:27:27AM -0600, Tim Judd wrote:
 On Sun, Apr 12, 2009 at 1:54 PM, Yuri y...@rawbw.com wrote:
 
  I have FreeBSD-71 running with USB controller:
  uhci0: VIA 83C572 USB controller port 0xa800-0xa81f irq 21 at device 16.0
  on pci0
 
  I connected to it Toshiba USB hard drive HDDR500E03X:
  umass0: Toshiba External USB HDD, class 0/0, rev 2.00/1.03, addr 2 on
  uhub4
  da0: Toshiba External USB HDD 1.03 Fixed Direct Access SCSI-4 device
 
  When I try to copy data with 'dd if=/dev/da0s1 of=/dev/null count=1' it
  only achieves has 0.65MB/s transfer speed.
 
  What's wrong, why is it so slow?
 
  Yuri
 
 
 
 uhci is 1.0 devices specs of 12Mbit/sec
 ohci is 1.1 devices

Not quite.  uhci and ohci are both just different ways of accessing USB 1.0
and 1.1 controllers.  uhci is used for controllers from Intel and Via, while
ohci is used for just about all other controllers. 
USB 1.0 and USB 1.1 both support 1.5Mbit/sec (Low Speed) and 12Mbit/sec
(Full Speed)


 ehci is 2.0 devices specs of 480Mbit/sec
 
 
 Seeing various PCs boot and during the probe, typically I see 1 ehci, and
 multiple uhci and ohci devices.

A normal USB controller chip will provide one or more UHCI or OHCI (but
never both) interfaces for handling Low and Full Speed devices and one
EHCI interface for handling Hi-Speed (480Mbit/sec) devices.
If you have several USB controllers in your computer you can indeed see
both uhci and ohci devices as well as several ehci devices.


 
 
 Your Toshiba External USB HDD must have 2.0 speeds to be able to transfer at
 that speed... hooking a 2.0 device into a 1.x port will either cause port
 shutdown, or a backwards compatible downstep for the device in terms of
 speed.
 
 
 Hope this explanation helps.
 
 --TJ
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

-- 
Insert your favourite quote here.
Erik Trulsson
ertr1...@student.uu.se
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: USB SD-card reader recognized, but not working, on 6.1

2009-04-13 Thread Chris Rees
2009/4/10  per...@pluto.rain.com:
 Polytropon free...@edvax.de wrote:
 On Thu, 09 Apr 2009 12:47:23 -0700, per...@pluto.rain.com wrote:
  It's an SD card, not a drive, so I had not expected it to be
  partitioned; but yes, it is:
 
  $ ls -l /dev/da0*
  crw-r-  1 root  operator    0, 244 Feb 14 15:09 /dev/da0
  crw-r-  1 root  operator    0, 245 Feb 14 15:09 /dev/da0s1

 Why don't you expect this? As far as I know, if something is
 msdosfs-formatted (read: any Windows readable file system,
 FAT), it always involves a slice device. I never found a
 situation where access to /dev/da0 would work.

 My experience is exactly the reverse.  I've never before seen a
 removable-media device (floppy, Zip-drive, JAZ drive) that *did*
 have a DOS partition table aka BSD slice table.  Surely you
 would not expect a USB floppy to show up as /dev/da0s1?

 AFAIK the reason for creating slices is to identify sections of
 the device for use by different OS -- something often needed
 for multi-boot from a hard drive but seldom on removable media.
 I sure wasn't planning to use part of this SD card for my camera
 to store pictures on, and the rest for FreeBSD backups :)

Aha, careful. A flash drive/card is more like a removable hard drive.
Since it's so much bigger than a floppy etc (typically) it makes sense
to have a proper slice (partition) structure.

If you want to boot off a floppy, it's a different operation from
booting off a HDD for precisely this reason. Whereas a floppy isn't a
proper, 'fixed' type disk; it's a tiny thing, suitable for max ~10
files. There's no need to have the overhead of a partition table, MBR
etc. Same with CDs, booting off them involves several strange fudges
(El Torito).

Since a flash card would be a sensible thing to boot off, the
designers want it to look more like a hard drive; as well as having
the flexibility.

Chris


-- 
A: Because it messes up 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 in e-mail?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


problem with bridge + ipfw

2009-04-13 Thread Павел .
Hi!

I have faced such problem: Has established the bridge on FreeBSD 6.3 and the 
module if_bridge. But at me the traffic passing through the bridge is not 
filtered. Here so all looks:
Code:

#ifconfig
fxp0: flags=8943UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST mtu 1500
options=8VLAN_MTU
ether 00:a0:c9:65:c1:35
media: Ethernet autoselect (100baseTX full-duplex)
status: active
fxp1: flags=8943UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST mtu 1500
options=8VLAN_MTU
ether 00:90:27:85:b7:95
media: Ethernet autoselect (100baseTX full-duplex)
status: active
rl0: flags=8802BROADCAST,SIMPLEX,MULTICAST mtu 1500
options=8VLAN_MTU
ether 4c:00:10:60:67:ca
media: Ethernet autoselect
status: no carrier
re0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
options=1bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING
inet 192.168.5.28 netmask 0xff00 broadcast 192.168.5.255
ether 00:0f:ea:f9:a6:ff
media: Ethernet autoselect (100baseTX full-duplex)
status: active
plip0: flags=108810POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT mtu 1500
lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x6 
inet6 ::1 prefixlen 128 
inet 127.0.0.1 netmask 0xff00 
bridge0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
ether b6:c3:a2:cc:06:65
id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15
maxage 20 holdcnt 6 proto stp maxaddr 100 timeout 1200
root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0
member: fxp1 flags=143LEARNING,DISCOVER,AUTOEDGE,AUTOPTP
member: fxp0 flags=143LEARNING,DISCOVER,AUTOEDGE,AUTOPTP


#sysctl -a |grep bridge
net.link.ether.bridge_cfg: 
net.link.ether.bridge_ipfw: 1
net.link.ether.bridge_ipf: 0
net.link.ether.bridge.config: 
net.link.ether.bridge.enable: 0
net.link.ether.bridge.predict: 0
net.link.ether.bridge.dropped: 0
net.link.ether.bridge.packets: 0
net.link.ether.bridge.ipfw_collisions: 0
net.link.ether.bridge.ipfw_drop: 0
net.link.ether.bridge.copy: 0
net.link.ether.bridge.ipfw: 1
net.link.ether.bridge.ipf: 0
net.link.ether.bridge.debug: 0
net.link.ether.bridge.version: 031224
net.link.bridge.pfil_onlyip: 0
net.link.bridge.ipfw_arp: 0
net.link.bridge.pfil_bridge: 1
net.link.bridge.pfil_member: 1
net.link.bridge.pfil_local_phys: 1
net.link.bridge.log_stp: 0
net.link.bridge.ipfw: 1



#ipfw show
ipfw show
00100 0   0 allow ip from 85.159.31.54 to any layer2 via bridge0
00200 65885 allow ip from 85.159.31.54 to any layer2
00300 0   0 allow ip from 85.159.31.54 to any layer2 via fxp1
00400 0   0 allow ip from 85.159.31.54 to any layer2 via fxp0
00500 0   0 allow ip from 85.159.31.54 to any via fxp0
00600 0   0 allow ip from 85.159.31.54 to any layer2 via 
bridge0 mac-type 0x8100
00700 0   0 allow ip from 85.159.31.54 to any via bridge0 
mac-type 0x8100
00800 0   0 allow ip from 85.159.31.54 to any via fxp0 mac-type 
0x8100
00900 0   0 allow ip from 85.159.31.54 to any via fxp1 mac-type 
0x8100
01000 0   0 allow ip from 85.159.31.54 to any via bridge0 
layer2 MAC any any mac-type 0x8100
01100 0   0 allow ip from 85.159.31.54 to any via bridge0 MAC 
any any mac-type 0x8100
01200 0   0 allow ip from 85.159.31.54 to any via bridge0 
mac-type 0x8100
01300  10874732   657168582 count ip from any to any layer2 via bridge0
01400 82562 7154845 count ip from any to any not layer2 via bridge0
01500  10611069   640854269 count ip from any to any layer2 via bridge0 
mac-type 0x8100
01600 77929 6682967 count ip from any to any layer2 via bridge0 
mac-type 0x0800
01700 0   0 count ip from any to any not layer2 via bridge0 
mac-type 0x8100
01800 0   0 count ip from any to any not layer2 via bridge0 
mac-type 0x0800
01900 0   0 count ip from any to any not layer2 via bridge0 
mac-type 0x8100
02000 0   0 count ip from 85.159.31.54 to any layer2 via 
bridge0 mac-type 0x8100
02100 0   0 count ip from 85.159.31.54 to any layer2 via 
bridge0 mac-type 0x0800
02200 0   0 count ip from 85.159.31.54 to any not layer2 via 
bridge0 mac-type 0x8100
02300 0   0 count ip from 85.159.31.54 to any not layer2 via 
bridge0 mac-type 0x0800
02400640285   437872365 count ip from any to any layer2 via fxp0
02500  4019  426922 count ip from any to any not layer2 via fxp0
02600621668   426064356 count ip from any to any layer2 via fxp0 mac-type 
0x8100
02700  1091  142307 count ip from any to any layer2 via fxp0 mac-type 
0x0800
02800 0   0 count ip from any to any not layer2 via fxp0 
mac-type 0x8100
02900 0  

Splash screen colour issues

2009-04-13 Thread Eugene L.
Hello everyone, I have a FreeBSD 7.1-Release (generic kernel), and I am 
trying to make splash screen feature work properly, so I followed the 
procedure described in handbook and the splash screen actually loads, 
except the black is now white, red is violet, etc.


So all the colours of the bitmap are messed up, and I checked, they fit 
the requirements and I've tried other pics and pcx format. I tried gimp, 
photoshop. The issue isn't pic related


What could possibly be the reason?

I use Sapphire Radeon X1600 Pro AGP
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


HOWTO Apache + SSL

2009-04-13 Thread Pieter Donche
Where can I find a really good FreeBSD7 step by step HOW-TO on setting 
up digital certifcates (SSL) for the Apache22. 
My apache22 is running on my freebsd7 system but I never set up any

apache httpd server for https access yet ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: HOWTO Apache + SSL

2009-04-13 Thread Andrew Gould
On Mon, Apr 13, 2009 at 7:53 AM, Pieter Donche pieter.don...@ua.ac.bewrote:

 Where can I find a really good FreeBSD7 step by step HOW-TO on setting up
 digital certifcates (SSL) for the Apache22. My apache22 is running on my
 freebsd7 system but I never set up any
 apache httpd server for https access yet ...
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 freebsd-questions-unsubscr...@freebsd.org


I use apache 2.2, which comes with SSL.  All you have to do is create/sign
the certificate and configure the file httpd.conf.  I've used the same setup
from FreeBSD 6.* to FreeBSD 7.1.

A quick google for 'apache2 ssl freebsd' led me here:

http://codesnippets.joyent.com/posts/show/802

Best of luck,

Andrew
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


../../../dev/ath/if_ath.c:3414: error: 'const struct ath_rx_status' has no member named 'rs_flags'

2009-04-13 Thread tethys ocean
I am using  7.1-STABLE FreeBSD 7.1-STABLE #   on one of the my servers. This
server was working properly for long time. Electricty is often break down
and this server isnt behind UPS. Today I have found it as shutdown and than
opened it but some servis/daemon hasn't work (such as mysql etc) I have done
fschk etc. And than I want to update since it is working so so slow. Than I
have update source tree and rebuild kernel and make depend has been
passing well and than make state fail,  error log(stdout) is shown bellow.

[r...@witch /usr/src/sys/i386/compile/WITCH]# make
cc -c -O -pipe  -std=c99 -g -Wall -Wredundant-decls -Wnested-externs
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline
-Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc  -I.
-I../../.. -I../../../contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS
-include opt_global.h -fno-common -finline-limit=8000 --param
inline-unit-growth=100 --param large-function-growth=1000
-mno-align-long-strings -mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow
-mno-sse -mno-sse2 -mno-sse3 -ffreestanding -Werror
../../../dev/ath/if_ath.c -I../../../dev/ath
../../../dev/ath/if_ath.c: In function 'ath_rx_tap':
../../../dev/ath/if_ath.c:3414: error: 'const struct ath_rx_status' has no
member named 'rs_flags'
../../../dev/ath/if_ath.c:3416: error: 'const struct ath_rx_status' has no
member named 'rs_flags'
*** Error code 1

Stop in /usr/src/sys/i386/compile/WITCH.

I read some mail and paper about this error it is saying this is bug freebsd
bug... but I got suspicious because I did so many times kernel
rebuild+update source tree. It hasnt fail with this stdout. Why now?

thank a lot


-- 
Share now a pigeon's flight
Bluebound along the ancient skies,
Its women forever hair and mammal,
A Mediterranean town may arise
If you rip apart a pigeon's heart.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: How to create NTFS file system from FreeBSD?

2009-04-13 Thread Tsu-Fan Cheng
Hi,
correct me if I am wrong, but is it true that ntfsprogs is the
only port that comes with formating disk into NTFS system? because
days ago I also had this problem with my friend's extra USB 1T HD, I
had to use my windows laptop to do the job. thanks!!


TFC

On Sat, Apr 11, 2009 at 8:22 PM, Chris Rees utis...@googlemail.com wrote:
 2009/4/11 Jan Henrik Sylvester m...@janh.de:
 Chris Rees wrote:

 2009/4/11 Jan Henrik Sylvester m...@janh.de:

 Yuri wrote:

 I need to format NTFS partition to give HD to someone to write things

 mkntfs from sysutils/ntfsprogs should do it.


 Yuri had already written ONE LINE below your quote:

 I tried to use mkntfs from ports/ntfsprogs but it didn't finish after an
 extremely long time,  24hrs.

 Yes, sorry, I totally failed to make my point, since I scrapped that line
 and forgot about it writing the mail. (The important part was in the
 parenthesis you removed.)

 My point is that I had problems with ntfsresize from ntfsprogs-2.0.0 not
 working, while ntfsresize from ntfsprogs-1.13.1 was doing just fine. (I hit
 that twice -- on different computers.)

 Thus, I would suggest to try mkntfs from ntfsprogs-1.13.1, if mkntfs from
 ntfsprogs-2.0.0 fails.

 If the older mkntfs works, it would be another reason to revive the old
 port.

 ntfsprogs-2.0.0 was criticized, for example in the thread ending with this
 posting:
 http://www.redhat.com/archives/rhl-devel-list/2008-May/msg02306.html

 A developer from ntfs-3g that formerly worked on ntfsprogs recommends to use
 the older version: http://www.ntfs-3g.org/support.html#ntfsprogs

 I do not really know who is right, but ntfs-3g is actively developed while
 ntfsprogs is not, other people seem to trust ntfs-3g more than the newer
 version of ntfsprogs, and the arguments of the ntfs-3g developer sound
 reasonable.

 I wrote about it last year (before I actually hit problems):
 http://lists.freebsd.org/pipermail/freebsd-ports/2008-August/050157.html

 The reply was that there are no new problems known with the 2.0.0 version:
 http://lists.freebsd.org/pipermail/freebsd-ports/2008-August/050406.html

 I would like to have ntfsprogs-1.13.1 back -- as ports/ntfsprogs1 or by
 reverting ports/ntfsprogs. Thus, Yuri, please try and report back.

 Cheers,
 Jan Henrik


 Hah, sorry for the vicious reply from me. Don't take it personally, I
 just snapped this time at reading what looked like a dupe  I promise
 I'll lay off the coffee for a bit.

 Chris

 --
 A: Because it messes up 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 in e-mail?
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

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


Re: HOWTO Apache + SSL

2009-04-13 Thread Sergio Tam
2009/4/13 Pieter Donche pieter.don...@ua.ac.be:
 Where can I find a really good FreeBSD7 step by step HOW-TO on setting up
 digital certifcates (SSL) for the Apache22. My apache22 is running on my
 freebsd7 system but I never set up any
 apache httpd server for https access yet ...


Hi

I hope this help you

http://www.bsdguides.org/guides/freebsd/webserver/apache_ssl_php_mysql.php


Regards
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: How to create NTFS file system from FreeBSD?

2009-04-13 Thread Chris Rees
2009/4/13 Tsu-Fan Cheng tfch...@gmail.com:
 Hi,
    correct me if I am wrong, but is it true that ntfsprogs is the
 only port that comes with formating disk into NTFS system? because
 days ago I also had this problem with my friend's extra USB 1T HD, I
 had to use my windows laptop to do the job. thanks!!


 TFC


NTFS is one of the 'crown jewels' at Microsoft, who consider the idea
of sharing ideas despicable. The only way to get information about it
is to reverse-engineer the format, which is such a bugger that not
many people are interested enough in doing. Ntfsprogs is the only tool
(AFAIK) that can do that.

Read Jan's part though
http://docs.freebsd.org/cgi/getmsg.cgi?fetch=1743061+0+archive/2009/freebsd-questions/20090412.freebsd-questions

Sorry,

Chris

-- 
A: Because it messes up 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 in e-mail?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: questions about Fatal Trap 12

2009-04-13 Thread Ray
Thanks Paul and Chris,
So what It comes down to is that this error is most likely a hardware problem, 
and I'll just have to bring the machine down for hardware replacement and/or 
testing?
Thanks,
Ray



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


Re: ../../../dev/ath/if_ath.c:3414: error: 'const struct ath_rx_status' has no member named 'rs_flags'

2009-04-13 Thread Manolis Kiagias
tethys ocean wrote:
 I am using  7.1-STABLE FreeBSD 7.1-STABLE #   on one of the my servers. This
 server was working properly for long time. Electricty is often break down
 and this server isnt behind UPS. Today I have found it as shutdown and than
 opened it but some servis/daemon hasn't work (such as mysql etc) I have done
 fschk etc. And than I want to update since it is working so so slow. Than I
 have update source tree and rebuild kernel and make depend has been
 passing well and than make state fail,  error log(stdout) is shown bellow.

 [r...@witch /usr/src/sys/i386/compile/WITCH]# make
 cc -c -O -pipe  -std=c99 -g -Wall -Wredundant-decls -Wnested-externs
 -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline
 -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc  -I.
 -I../../.. -I../../../contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS
 -include opt_global.h -fno-common -finline-limit=8000 --param
 inline-unit-growth=100 --param large-function-growth=1000
 -mno-align-long-strings -mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow
 -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -Werror
 ../../../dev/ath/if_ath.c -I../../../dev/ath
 ../../../dev/ath/if_ath.c: In function 'ath_rx_tap':
 ../../../dev/ath/if_ath.c:3414: error: 'const struct ath_rx_status' has no
 member named 'rs_flags'
 ../../../dev/ath/if_ath.c:3416: error: 'const struct ath_rx_status' has no
 member named 'rs_flags'
 *** Error code 1

 Stop in /usr/src/sys/i386/compile/WITCH.

 I read some mail and paper about this error it is saying this is bug freebsd
 bug... but I got suspicious because I did so many times kernel
 rebuild+update source tree. It hasnt fail with this stdout. Why now?

 thank a lot
   

This is probably due to the changes in the atheros driver. You will have
to update your kernel configuration file. Please read /usr/src/UPDATING
and this thread:

http://lists.freebsd.org/pipermail/freebsd-questions/2009-March/195075.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


How to diagnose hardware problem?

2009-04-13 Thread John Almberg
I have what looks like a hardware problem with an Intel 1U server,  
which I am using mainly as a mysql database server for some of my  
bigger website clients.


The server went down last week with a badly corrupted file system.

After spending a day trying to fix the file system, we gave up and  
did a fresh install of FreeBSD, PF, and mysql, using our daily  
backups to restore the database. It all seemed to work fine until I  
switched the websites from the temporary database server that I had  
been using, onto the restored server.


The database ran well for about 2 minutes, then the server crashed  
again. The filesystem was again corrupted so badly that we could not  
even log in to look at the logs.


We've reinstalled FreeBSD again, just to be able to SSH into the box.  
It looks like there is probably a hardware problem, like a bad power  
supply or overheating CPU that fails when the load of the database is  
applied.


Problem is, I have no idea how to determine which bits are failing.  
Can anyone suggest a favorite book or website that focuses on how to  
troubleshoot hardware issues?


Thanks: John

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


ifconfig ndis0 up scan doesn't find my ap

2009-04-13 Thread Scott Bennett
 On Sun, 12 Apr 2009 10:00:58 -0700 Steve Franks bahamasfra...@gmail.com
wrote:
I get this behavior on 2 completely different laptops, one on
7.0-release, and the other on 7-stable.  ndio0 [broadcom :( ] comes
right up in dmesg, and ifconfig(), but it won't find any AP's - is
this known? - because I can google people with lots of different ndis0
problems (mostly on 5.x and 6.x), but not this particular one...I seem
some warning about not supporting AP's in the handbook for ndis, but
it seems to be under the 'build your own AP from freebsd and a nic
section', so I'm hoping it doesn't apply, cause my shiny new lenovo
s10e has a really ugly looking broadcom slot, not minipci.  Must be
something new like micro pci, but at any rate, I would prefer not to
have to hack my bios to get it to boot with a non-broadcom nic in it
anyways.  ndisgen has always been an acceptable, if distasteful,
solution in past days.

 I use ndis on an Inspiron XPS with a Dell 1450 wireless card, which
uses a Broadcom chipset.  I'm still running 6.3, but 7.x probably acts
the same way.  It takes *two* ifconfig commands to get the interface
up and working.  The up has to appear by itself on the first ifconfig.
Once that completes okay, I then run a second ifconfig with the rest of
the options.  In other words, if I do

# ifconfig ndis0 up [rest of options]

all that happens is the interface comes up, and the rest of the options
are ignored.  If I do

# ifconfig ndis0 up
# ifconfig ndis0 [rest of options]

all is well.  That means, of course, that I end up having to do it manually
because the stuff in /etc/rc.d doesn't handle more than one ifconfig per
interface on system startup. :-(


  Scott Bennett, Comm. ASMELG, CFIAG
**
* Internet:   bennett at cs.niu.edu  *
**
* A well regulated and disciplined militia, is at all times a good  *
* objection to the introduction of that bane of all free governments *
* -- a standing army.   *
*-- Gov. John Hancock, New York Journal, 28 January 1790 *
**
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: questions about Fatal Trap 12

2009-04-13 Thread Vasadi I. Claudiu Florin

On Mon, 13 Apr 2009 18:31:31 +0300, Ray r...@stilltech.net wrote:


Thanks Paul and Chris,
So what It comes down to is that this error is most likely a hardware  
problem,
and I'll just have to bring the machine down for hardware replacement  
and/or

testing?



Usually yes. Back in the days when I had that sort of problems, it was  
memory related. So I changed the memory (memtest yelled in errors) and all  
was ok afterwards

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


Re: How to diagnose hardware problem?

2009-04-13 Thread John Almberg


First things first; if the machine is still in warranty, don't mess  
with

it but send it back to the manufacturer and demand a replacement.


It is in warranty and I am following their process. I'm hoping to  
short-circuit that process by finding the problem on my own, if  
possible. Plus, I've never really had to deal with a hardware failure  
before, so it's a good learning process.




If the machine is out of warranty, you might consider replacing it
altogether. My employer's IT department ditches PC's and servers at  
the first
failure after the warranty runs out. Accordinf to them it's cheaper  
than

repairing them.


But if you want to have a go, this might help:
http://www.daileyint.com/hmdpc/manual.htm

Basically, it's just a problem of elimination.

First check if your machine is the only one having problems at the
hosting site. Maybe they have unstable electrical power.

Then make sure that all expansion cards and RAM are well-seated, and
that all connectors are OK. Also check that there is no dust build- 
up on

e.g. fans and heatsinks. If necessary, clean carefully with (dry, oil
free) compressed air. Dust can lead to short circuits or reduced
cooling. Next, look for capacitors that have leaked fluid, or have
bulging metal end plates on the motherboard; those are dead or
dying. It's a leading cause of motherboard failure. It is possible to
replace them, but you'll need the right equipment:
http://www.tomshardware.com/reviews/fixing-motherboard,1606.html

Install a monitoring program like mbmon or healthd, and have it log to
another machine or a USB stick mounted syncronously. Monitor CPU
temperature, fan speeds and the different voltages. Not all power
supplies are created equally. See the articles at tom's hardware:
  http://www.tomshardware.com/reviews/Components,1/Power-Supplies,6/

If you've found nothing so far, it's time to start swapping out
components, starting with the power supply.


This is all good stuff to try. Thanks.

-- John

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


Fwd: How to diagnose hardware problem?

2009-04-13 Thread John Almberg

On Apr 13, 2009, at 2:32 PM, Wojciech Puchar wrote:



The database ran well for about 2 minutes, then the server crashed  
again. The filesystem was again corrupted so badly that we could  
not even log in to look at the logs.


did memtest? it looks like it's fine until you stress your hardware


I didn't, but I just installed it and am running it at the moment. So  
far, so good.


The machine has 1G of memory, but I could not get an mlock unless I  
request 100 Meg or less. That is, I need to run something like:


# memtest 100

Does this sound right? If I run with 125 Meg, I get the following:

# memtest 125
memtester version 4.0.8 (64-bit)
Copyright (C) 2007 Charles Cazabon.
Licensed under the GNU General Public License version 2 (only).

pagesize is 4096
pagesizemask is 0xf000
want 125MB (131072000 bytes)
got  125MB (131072000 bytes), trying mlock ...failed for unknown reason.
Continuing with unlocked memory; testing will be slower and less  
reliable.

Loop 1:
  Stuck Address   : ok
  Random Value: ok
  Compare XOR : ok
  Compare SUB : ok
  Compare MUL : ok
etc...


-- John
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


6.2 STABLE to 6.2 RELEASE problem

2009-04-13 Thread Philip van Ulden
Hello,

I was wondering if anyone might have some insight into this problem
I'm having.  I've downgraded a 6.2 STABLE system to 6.2 RELEASE for
the purpose of being able to upgrade it via freebsd-update.

I followed the steps as detailed here:

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

To summarize, the currently recommended way of upgrading FreeBSD from
sources is:

# cd /usr/src
# make buildworld
# make buildkernel
# make installkernel
# shutdown -r now

Note: There are a few rare cases when an extra run of mergemaster
-p is needed before the buildworld step. These are described in
UPDATING. In general, though, you can safely omit this step if you are
not updating across one or more major FreeBSD versions.

After installkernel finishes successfully, you should boot in single
user mode (i.e. using boot -s from the loader prompt). Then run:

# adjkerntz -i
# mount -a -t ufs
# mergemaster -p
# cd /usr/src
# make installworld
# mergemaster
# reboot

Now, after I reboot, I get an error when it tries mounting /usr:

NO WRITE ACCESS
INCONSISTENCIES FOUND, run fsck MANUALLY!

So, I did that and it found some free block inconsistencies and fixed
those but it is still bailing when it tries mounting /usr on the
reboot. I can boot to single user mode and run fsck -p and that is
fine.  I can mount the partition manually and browse through the files
fine.  One other weird thing is that it seems to mount /dev/md0 on
/var as well which doesn't look right.  Nothing in /etc/fstab about
it.  Maybe some other file that got mixed up during mergemaster?  I
said fix later for all files mergemaster came back with.

Does anyone have any suggestions?

Thanks in advance!
Phil.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: How to diagnose hardware problem?

2009-04-13 Thread Wojciech Puchar


The database ran well for about 2 minutes, then the server crashed again. The 
filesystem was again corrupted so badly that we could not even log in to look 
at the logs.


did memtest? it looks like it's fine until you stress your hardware



We've reinstalled FreeBSD again, just to be able to SSH into the box. It 
looks like there is probably a hardware problem, like a bad power supply or 
overheating CPU that fails when the load of the database is applied.


Problem is, I have no idea how to determine which bits are failing. Can 
anyone suggest a favorite book or website that focuses on how to troubleshoot 
hardware issues?


Thanks: John

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


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


Re: How to diagnose hardware problem?

2009-04-13 Thread Roland Smith
On Mon, Apr 13, 2009 at 12:07:25PM -0400, John Almberg wrote:
 I have what looks like a hardware problem with an Intel 1U server,  
 which I am using mainly as a mysql database server for some of my  
 bigger website clients.
 
 The server went down last week with a badly corrupted file system.
 
 After spending a day trying to fix the file system, we gave up and  
 did a fresh install of FreeBSD, PF, and mysql, using our daily  
 backups to restore the database. It all seemed to work fine until I  
 switched the websites from the temporary database server that I had  
 been using, onto the restored server.
 
 The database ran well for about 2 minutes, then the server crashed  
 again. The filesystem was again corrupted so badly that we could not  
 even log in to look at the logs.
 
 We've reinstalled FreeBSD again, just to be able to SSH into the box.  
 It looks like there is probably a hardware problem, like a bad power  
 supply or overheating CPU that fails when the load of the database is  
 applied.
 
 Problem is, I have no idea how to determine which bits are failing.  
 Can anyone suggest a favorite book or website that focuses on how to  
 troubleshoot hardware issues?

First things first; if the machine is still in warranty, don't mess with
it but send it back to the manufacturer and demand a replacement.

If the machine is out of warranty, you might consider replacing it
altogether. My employer's IT department ditches PC's and servers at the first
failure after the warranty runs out. Accordinf to them it's cheaper than
repairing them.


But if you want to have a go, this might help:
http://www.daileyint.com/hmdpc/manual.htm 

Basically, it's just a problem of elimination.

First check if your machine is the only one having problems at the
hosting site. Maybe they have unstable electrical power.

Then make sure that all expansion cards and RAM are well-seated, and
that all connectors are OK. Also check that there is no dust build-up on
e.g. fans and heatsinks. If necessary, clean carefully with (dry, oil
free) compressed air. Dust can lead to short circuits or reduced
cooling. Next, look for capacitors that have leaked fluid, or have
bulging metal end plates on the motherboard; those are dead or
dying. It's a leading cause of motherboard failure. It is possible to
replace them, but you'll need the right equipment:
http://www.tomshardware.com/reviews/fixing-motherboard,1606.html

Install a monitoring program like mbmon or healthd, and have it log to
another machine or a USB stick mounted syncronously. Monitor CPU
temperature, fan speeds and the different voltages. Not all power
supplies are created equally. See the articles at tom's hardware:
  http://www.tomshardware.com/reviews/Components,1/Power-Supplies,6/ 

If you've found nothing so far, it's time to start swapping out
components, starting with the power supply.


Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpOGV68CCS4P.pgp
Description: PGP signature


Re: ../../../dev/ath/if_ath.c:3414: error: 'const struct ath_rx_status' has no member named 'rs_flags'

2009-04-13 Thread tethys ocean
thank a lot i found info in UPDATING just below

20090312:
 The open-source Atheros HAL has been merged from HEAD
 to STABLE.
 The kernel compile-time option AH_SUPPORT_AR5416 has been
 added to support certain newer Atheros parts, particularly
 PCI-Express chipsets.
 The following modules are no longer available, and should be
 removed from MODULES_OVERRIDE and/or loader.conf:-
 ath_hal ath_rate_amrr ath_rate_onoe ath_rate_sample

i added some line to my loader.conf shown in below

ath_load=YES
ath_hal_load=YES
ath_rate_amrr=YES

and added to my kernel such lines

device  ath # Atheros pci/cardbus NIC's
device  ath_hal # Atheros HAL (Hardware Access Layer)
options AH_SUPPORT_AR5416   # enable AR5416 tx/rx descriptors
device  ath_rate_sample # SampleRate tx rate control for ath


but  make  fail changed just like as shown below


/usr/src/sys/modules/ath/../../dev/ath/if_ath.c: In function 'ath_rx_tap':
/usr/src/sys/modules/ath/../../dev/ath/if_ath.c:3414: error: 'const struct
ath_rx_status' has no member named 'rs_flags'
/usr/src/sys/modules/ath/../../dev/ath/if_ath.c:3416: error: 'const struct
ath_rx_status' has no member named 'rs_flags'
*** Error code 1

Stop in /usr/src/sys/modules/ath.
*** Error code 1

Stop in /usr/src/sys/modules.
*** Error code 1





On Mon, Apr 13, 2009 at 6:03 PM, Manolis Kiagias sonic200...@gmail.comwrote:

 tethys ocean wrote:
  I am using  7.1-STABLE FreeBSD 7.1-STABLE #   on one of the my servers.
 This
  server was working properly for long time. Electricty is often break down
  and this server isnt behind UPS. Today I have found it as shutdown and
 than
  opened it but some servis/daemon hasn't work (such as mysql etc) I have
 done
  fschk etc. And than I want to update since it is working so so slow. Than
 I
  have update source tree and rebuild kernel and make depend has been
  passing well and than make state fail,  error log(stdout) is shown
 bellow.
 
  [r...@witch /usr/src/sys/i386/compile/WITCH]# make
  cc -c -O -pipe  -std=c99 -g -Wall -Wredundant-decls -Wnested-externs
  -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline
  -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc  -I.
  -I../../.. -I../../../contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS
  -include opt_global.h -fno-common -finline-limit=8000 --param
  inline-unit-growth=100 --param large-function-growth=1000
  -mno-align-long-strings -mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow
  -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -Werror
  ../../../dev/ath/if_ath.c -I../../../dev/ath
  ../../../dev/ath/if_ath.c: In function 'ath_rx_tap':
  ../../../dev/ath/if_ath.c:3414: error: 'const struct ath_rx_status' has
 no
  member named 'rs_flags'
  ../../../dev/ath/if_ath.c:3416: error: 'const struct ath_rx_status' has
 no
  member named 'rs_flags'
  *** Error code 1
 
  Stop in /usr/src/sys/i386/compile/WITCH.
 
  I read some mail and paper about this error it is saying this is bug
 freebsd
  bug... but I got suspicious because I did so many times kernel
  rebuild+update source tree. It hasnt fail with this stdout. Why now?
 
  thank a lot
 

 This is probably due to the changes in the atheros driver. You will have
 to update your kernel configuration file. Please read /usr/src/UPDATING
 and this thread:

 http://lists.freebsd.org/pipermail/freebsd-questions/2009-March/195075.html




-- 
Share now a pigeon's flight
Bluebound along the ancient skies,
Its women forever hair and mammal,
A Mediterranean town may arise
If you rip apart a pigeon's heart.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


does ndisgen work with(mini) pci-E cards?

2009-04-13 Thread Steve Franks
My new laptop is the fist I've seen with mini-pci-express.  Major
PITA.  I get ndis0 after ndisgen/kldload/etc, but I can see any AP's,
and I'm wondering if it's due to the new bus?  I suspect I'm barking
up the wrong tree since the driver does get loaded, it's probably
finding the card...other thoughts I'm having is alot of QA I've
googled makes reference to the speficic rev of ndis (4.0, 5.0,
5.1)...maybe that's an issue...

Best,
Steve
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: 6.2 STABLE to 6.2 RELEASE problem

2009-04-13 Thread Vasadi I. Claudiu Florin

My gues is that you messed something up with mergemaster - /etc/fstab.
Can you post it's content?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


mayday, mayday

2009-04-13 Thread Gary Kline

having unknown networking problems.  cannot ping anyone.  is this going
anywhere?


-- 
  Gary Kline  kl...@thought.org   www.thought.org  Public Service Unix
http://jottings.thought.org   http://transfinite.thought.org

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


Re: 6.2 STABLE to 6.2 RELEASE problem

2009-04-13 Thread Brian A. Seklecki
On Mon, 2009-04-13 at 16:29 -0230, Philip van Ulden wrote:
 One other weird thing is that it seems to mount /dev/md0 on
 /var as well which doesn't look right.  

That code happens for some reason in /etc/rc.d/var.  That's all I have
for you.  

Your downgrade plan sounds very Linux/Windows'y.  Binary upgrades in
general.  

-- 
Brian A. Seklecki bsekle...@collaborativefusion.com
Collaborative Fusion, Inc.


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


Re: does ndisgen work with(mini) pci-E cards?

2009-04-13 Thread Neal Hogan
On Mon, Apr 13, 2009 at 2:54 PM, Steve Franks bahamasfra...@gmail.com wrote:
 My new laptop is the fist I've seen with mini-pci-express.  Major
 PITA.  I get ndis0 after ndisgen/kldload/etc, but I can see any AP's,
 and I'm wondering if it's due to the new bus?  I suspect I'm barking
 up the wrong tree since the driver does get loaded, it's probably
 finding the card...other thoughts I'm having is alot of QA I've
 googled makes reference to the speficic rev of ndis (4.0, 5.0,
 5.1)...maybe that's an issue...

 Best,
 Steve
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


This isn't going to be much help, but it may add to your relief/dismay
. . . I hope it's the former.

I had enough problems trying to get my Broadcom card (mini-pci -
BCM94306MP)  to work that i gave up and just plug it in. I would get
it installed and it would panic. You seem to have avoided that . . .
good. What .sys and .inf files are you using? From what I understand,
you need/should try a bunch 'til one works.

I wish you the best of luck!

-Neal



-- 
www.nealhogan.net  www.lambdaserver.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: mayday, mayday

2009-04-13 Thread Polytropon
On Mon, 13 Apr 2009 08:33:08 -0700, Gary Kline kl...@thought.org wrote:
 having unknown networking problems.  cannot ping anyone.  is this going
 anywhere?

*** chrrr *** RX UFB QUALITY 5, HOW COPY? OVER! :-) *** s ***

Checked firewall settings? (I had the same problem, out of my
own stupidity.)

Checked /etc/resolv.conf?



-- 
Polytropon
From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: ../../../dev/ath/if_ath.c:3414: error: 'const struct ath_rx_status' has no member named 'rs_flags'

2009-04-13 Thread Manolis Kiagias
tethys ocean wrote:
 thank a lot i found info in UPDATING just below

 20090312:
  The open-source Atheros HAL has been merged from HEAD
  to STABLE.
  The kernel compile-time option AH_SUPPORT_AR5416 has been
  added to support certain newer Atheros parts, particularly
  PCI-Express chipsets.
  The following modules are no longer available, and should be
  removed from MODULES_OVERRIDE and/or loader.conf:-
  ath_hal ath_rate_amrr ath_rate_onoe ath_rate_sample

 i added some line to my loader.conf shown in below

 ath_load=YES
 ath_hal_load=YES
 ath_rate_amrr=YES


According to UPDATING, you should *remove* these.  You are building the
driver into the kernel anyway.

 and added to my kernel such lines
 device  ath # Atheros pci/cardbus NIC's
 device  ath_hal # Atheros HAL (Hardware Access Layer)
 options AH_SUPPORT_AR5416   # enable AR5416 tx/rx descriptors

 device  ath_rate_sample # SampleRate tx rate control for ath


I suggest you try building the GENERIC kernel (take care to use the new
GENERIC conf file that you received with the sources, not an older
version you were keeping somewhere else). If that compiles, there is a
problem with your conf. 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: change in kernel config file

2009-04-13 Thread ill...@gmail.com
2009/4/12 Robert Huff roberth...@rcn.com:


  As to libusb:
  -CURRENT does not need (actually needs to not have)
  devel/libusb since its functionality(?) is part of the base system
  now (post feb09).
  What I did:

        This is after installing the new kernel+world, right?


Indeed.  I didn't notice until I was trying to update
sysutils/hal and the build barfed on some usb references,
so I didn't really do it all in an orderly manner.

HTH

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


Re: (OT) good laptop hardware repair group or forum

2009-04-13 Thread Chris Whitehouse

Graeme Dargie wrote:




My grandmother had a HP that just died too.  My brother took the first stab
at it, describing it as a likely DC-DC converter problem, and I was seeing
indication of a bad seat on the CPU.  It was working just fine and for the
CPU to become unseated is not likely.  I tore that machine apart until I
couldn't figure out how to get the top or bottom plate off that surrounds
the motherboard.  I didn't fix it, but we all gave up and she went and
bought another system.


The DC-DC converter is what takes the 18V (or whatever) the mains/battery
supplies, and breaks it out into the 3.3V, 5V, 12V, etc needed to power all
the various components.


Someone pointed me to this service manual http://tinyurl.com/de6luh. You 
might find one for yours on the HP site. I suspect something similar has 
happened to mine, I'm going to take it to a shop for advice, some of 
them will do component level fixes which is cheaper than a new motherboard.


Chris
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


CUPS

2009-04-13 Thread Bob Falanga
I have installed cups on freebsd.
The printer configures OK.
When I try a test print in localhost:631 I get an error message:
/usr/local/libexec/cups/filter/foomatic-rip failedI need help with this one.

Thank you,
Bob Falanga
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: CUPS

2009-04-13 Thread Peter Ulrich Kruppa
Am Montag, den 13.04.2009, 22:01 -0400 schrieb Bob Falanga:
 I have installed cups on freebsd.
 The printer configures OK.
 When I try a test print in localhost:631 I get an error message:
 /usr/local/libexec/cups/filter/foomatic-rip failedI need help with this one.
 
What happens when you install /usr/ports/print/foomatic-filters
and restart cups with
# /usr/local/etc/rc.d/cupsd restart
?

Greetings

Uli.
 
 Thank you,
 Bob Falanga
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


add to mailing list

2009-04-13 Thread Rajeev Sharma
Kindly add me in FreeBSD mailing list


rajb3...@gmail.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: CUPS

2009-04-13 Thread Dave Feustel
On Mon, Apr 13, 2009 at 10:01:32PM -0400, Bob Falanga wrote:
 I have installed cups on freebsd.
 The printer configures OK.
 When I try a test print in localhost:631 I get an error message:
 /usr/local/libexec/cups/filter/foomatic-rip failedI need help with this one.
 
 Thank you,
 Bob Falanga

I also am having problems printing on Suse 11 with CUPS from Maple
version 12 (Maple, using its own copy of JRT 1.6 finds no printer
services).  There is a new (2008) book on CUPS administration which I will
shortly be ordering from amazon.com since CUPS appears to be the wave of
the future.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: CUPS

2009-04-13 Thread Peter Ulrich Kruppa
Am Dienstag, den 14.04.2009, 04:14 + schrieb Dave Feustel:
 On Mon, Apr 13, 2009 at 10:01:32PM -0400, Bob Falanga wrote:

 I also am having problems printing on Suse 11 with CUPS from Maple
 version 12 (Maple, using its own copy of JRT 1.6 finds no printer
 services).  There is a new (2008) book on CUPS administration which I will
 shortly be ordering from amazon.com since CUPS appears to be the wave of
 the future.
Is your printer attached to a SUSE or a FreeBSD machine?
Where do you run Maple - on SUSE or FreeBSD?

Greetings

Uli.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org