Re: Nvidia graphics on AMD64

2008-02-03 Thread Tore Lund
Kimi wrote:
 
 xorg-driver-nv will be more then good enough, providing 3D is not needed.

2D can also be pretty sluggish at times.  The following shows the nv
driver in its fully glory as I was leafing through a page of photos:

http://home.no/tl18/misc/mincemeat.jpg

Moreover, the nv driver does not provide a way to properly control
brightness and contrast.  I would say it is strictly necessary for
anyone who is into photography to use the nvidia-driver, even if they
are not remotely interested in 3D.
-- 
Tore

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


Re: Nvidia graphics on AMD64

2008-02-03 Thread Wojciech Puchar

http://home.no/tl18/misc/mincemeat.jpg

Moreover, the nv driver does not provide a way to properly control
brightness and contrast.  I would say it is strictly necessary for
anyone who is into photography to use the nvidia-driver, even if they
are not remotely interested in 3D.
--
for desktop i would rather prefer (and did that many times) to run some 
fast computer headless and have at least 1 (but more preferably) X 
terminal made from 486-Pentium with old, but supported graphics.


i made cut-down X terminal distro with NetBSD 1.5 (takes 25MB total, with 
all possible X servers), works fine, sound supported through nas.


most old PCI Matrox cards are best for that, all hardware 2D acceleration 
works like it should, supports high refresh rates and gamma correction by 
hardware.


and with X terminal price equal to about 0+monitor you may have many of 
this for single computer.

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


RE: SATA question

2008-02-03 Thread Ted Mittelstaedt

Looks like it isn't detecting it as a generic controller.

But I think this is the problem.  Note that the system is
applying ata2 and ata3 to atapci0, and ata0 and ata1 to
atapci1.  This is backwards, I've not seen this before in
the ata driver.  Normally, ata0 and ata1 are applied to the
first controller - atapci0 - and ata2 and ata3 are applied
to the second controller - atapci1 - and so on.

Søren Schmidt put the support in for this chipset to the
ata driver.  I'd file a PR and put it down to a driver bug.

Ted


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Darryl Hoar
 Sent: Friday, February 01, 2008 7:06 AM
 To: 'Ted Mittelstaedt'; freebsd-questions@freebsd.org
 Subject: RE: SATA question


 snip
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] Behalf Of Darryl Hoar
  Sent: Tuesday, January 29, 2008 6:59 AM
  To: freebsd-questions@freebsd.org
  Subject: SATA question
 
 
  Well,
  maybe I spoke to soon.  While looking at dmesg in prep for doing
  a custom kernel for my new server, I noticed an oddity.
 
  ad4 - DMA limited to UDMA33, device found non-ata66 cable.
  ad4 - SAMSUN HE160HJ JF800-24
 
  Is this telling me the system recognized my
  160GB 7.2K RPM Serial ATA 3Gbps 3.5-in Cabled Hard Drive as
  a UDMA33 ?
 

 No doubt, a pciconf followed by insertion of the ID into the
 ata detection routines would help - assuming your sata chipset
 is supported.

 You don't have the entire dmesg here but it looks like it's
 using the generic driver.

 Ted


 atapci0: ServerWorks HT1000 SATA150 controller port
 0xecb0-0xecb7,0xeca0-0xeca
 3,0xecb8-0xecbf,0xeca4-0xeca7,0xece0-0xecef mem
 0xefdfe000-0xefdf irq 6
 at d
 evice 14.0 on pci3
 ata2: ATA channel 0 on atapci0
 ata3: ATA channel 1 on atapci0

 atapci1: ServerWorks HT1000 UDMA100 controller port
 0x1f0-0x1f7,0x3f6,0x170-0x
 177,0x376,0x8c0-0x8cf at device 2.1 on pci0
 ata0: ATA channel 0 on atapci1
 ata1: ATA channel 1 on atapci1

 acd0: CDRW HL-DT-STCD-RW/DVD-ROM GCC-T10N/A102 at ata0-master UDMA33
 ad4: DMA limited to UDMA33, device found non-ATA66 cable
 ad4: 152587MB SAMSUNG HE160HJ JF800-24 at ata2-master UDMA33
 ad6: DMA limited to UDMA33, device found non-ATA66 cable
 ad6: 152587MB SAMSUNG HE160HJ JF800-24 at ata3-master UDMA33

 This is the copied relevant portions of demsg's output. I have only used
 pciconf to
 list devices, so am basically unfamilar with it.

 So, how do I get the system to recognize the drives as SATA ?

 thanks,
 Darryl

 ___
 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: buildworld failed

2008-02-03 Thread Venkatesh K
I did try that too! Still same problem.

Thanks,

Venkatesh K

On Feb 3, 2008 9:50 AM, Supote Leelasuppakorn [EMAIL PROTECTED] wrote:


  Hi,

 I have ever faced this problem. I suggested you deleting the whole
 /usr/obj then make buildworld again.




  Date: Sun, 3 Feb 2008 08:44:59 +0530
  From: [EMAIL PROTECTED]
  To: freebsd-questions@freebsd.org
  Subject: buildworld failed


 
  Hi,
 
  I am using FreeBSD Rel 6.3 and cvsup stable. Make buildworld failed for
 me.
 
  Here is the log
 
 
 --
  cc -O2 -fno-strict-aliasing -pipe -march=prescott
  -I/usr/src/sbin/gbde/../../sys -DRESCUE -Wsystem-headers -Werror -Wall
  -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes
  -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual
  -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -c
  /usr/src/sbin/gbde/gbde.c
  /usr/src/sbin/gbde/gbde.c: In function `g_read_data':
  /usr/src/sbin/gbde/gbde.c:164: warning: implicit declaration of function
 `read'
  /usr/src/sbin/gbde/gbde.c: In function `setup_passphrase':
  /usr/src/sbin/gbde/gbde.c:216: warning: implicit declaration of function
 `close'
  /usr/src/sbin/gbde/gbde.c: In function `cmd_nuke':
  /usr/src/sbin/gbde/gbde.c:391: warning: implicit declaration of function
 `write'
  /usr/src/sbin/gbde/gbde.c: In function `cmd_init':
  /usr/src/sbin/gbde/gbde.c:556: warning: implicit declaration of
  function `unlink'
  /usr/src/sbin/gbde/gbde.c: In function `main':
  /usr/src/sbin/gbde/gbde.c:801: warning: implicit declaration of
  function `getopt'
  /usr/src/sbin/gbde/gbde.c:804: error: `optarg' undeclared (first use
  in this function)
  /usr/src/sbin/gbde/gbde.c:804: error: (Each undeclared identifier is
  reported only once
  /usr/src/sbin/gbde/gbde.c:804: error: for each function it appears in.)
  *** Error code 1
 
  Stop in /usr/src/sbin/gbde.
  *** Error code 1
 
  Stop in /usr/obj/usr/src/rescue/rescue.
  *** Error code 1
 
  Stop in /usr/src/rescue/rescue.
  *** Error code 1
 
  Stop in /usr/src/rescue.
  *** Error code 1
 
  Stop in /usr/src.
  *** Error code 1
 
  Stop in /usr/src.
  *** Error code 1
 
  Stop in /usr/src.
 
 -
 
  Thanks,
 
  Venkatesh K
 
  --
  Venkatesh. K
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to
 [EMAIL PROTECTED]





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


Re: /dev/dsp0.0 disappears after power outage

2008-02-03 Thread swell . k
Aryeh M. Friedman [EMAIL PROTECTED] writes:

 I just had a power outage and when it came back /dev/dsp0.0 was
 missing from the devices.   the kern module loaded fine and detected
 the card correctly (according to dmesg, sysctl and /dev/sndstat) but
 neither the above or /dev/pcm exists.   Any ideas?

`:/dev/dsp0.0' ?

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


Re: Looking for a Text on ZFS

2008-02-03 Thread Christian Baer
On Sat, 2 Feb 2008 21:11:21 +0100 Mel wrote:

 If you review the Not done items @ http://wiki.freebsd.org/ZFS and still 
 are 
 doubting, then http://www.opensolaris.org/os/community/zfs/whatis/ describes 
 what the features *can* be. I got a good impression from that text what the 
 advantages are, but I'm too conservative to migrate myself. YMMV.

I already read that before I posted my question. Neither by this text,
nor by the one in the Wikipedia could I participate in the exitement
around ZFS. Ok, so it's a 128Bit FS. Big fat, hairy deal! I couldn't see
any advantages in using it instead of FFS (UFS), but I thought I was
missing something because porting it would have been somewhat of a hassle
and noone would go to all that trouble if it wasn't worth the effort.

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


Re: Behind a router

2008-02-03 Thread Christian Baer
On Sun, 3 Feb 2008 02:24:43 -0500 Jeremy Gransden wrote:

 please fix the line wrap in your email. It is unreadable

And you really neaded to quote over 600 lines just to write that?

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


Re: Behind a router

2008-02-03 Thread Christian Baer
On Sat, 2 Feb 2008 21:49:55 -0800 (PST) Eugen Udma wrote:

I took the liberty of cleaning up you post. Please fix your line wrap! One
word per line is not what I call easy reading.

 I had a working minimal FreeBSD system until I put it behind a wireless
 router.  Since then, my network is not accessible anymore when I boot
 BSD.  On the same desktop I have a Gentoo Linux system which works just
 fine, even if I didn't touch any of it's configuration files after I
 installed the router.

 The router is a ZyXEL P-335U connected to a cable modem.  The desktop is
 plugged into a LAN port.  A laptop connected by wireless has no
 problems.  The router gets it's IP from the ISP and acts as a firewall
 and a DHCP server to my network: it serves a pool of 32 addresses
 starting at 192.168.1.33.  Its own address is 192.168.1.1.  The IP
 Subnet Mask is 255.255.255.0.

 The configuration files for FreeBSD are shown below.  The output of
 ifconfig and netstat are also shown for BSD and Linux.

 What I don't understand is the fact that having the same router
 settings, Linux works while BSD doesn't: I can't even ping 192.168.1.1,
 while the same ping in Linux works.

 I read the handbook and various other BSD information sources 
 on the web and I could not solve this issue.

 My question is: which config files do I have to edit in FreeBSD and what
 settings should I use ?  Can anybody help ?

The reason seams to be a completely broken configuration of dhclient.conf
resulting in several problems. Among them that two boxes get the same IP
address. Both your BSD and you Linux box have 192.168.1.33.

 /etc/rc.conf
 ---
 ifconfig_dc0=DHCP
 hostname=localhost
 ---

 /etc/dhclient.conf
 ---
 interface 
 dc0 
 {
 send 
 host-name 
 localhost;
 request 
 subnet-mask, 
 broadcast-address, 
 routers, 
 domain-name-servers,
 domain-name, 
 time-servers;
 require 
 domain-name-servers;
 }
 ---

The problem is probably you sending that name localhost which should
never have any other address than 127.0.0.1. Why did you play with the
settings anyway? Normally a dhcp-client works right out of the box. I have
never had to change any of the configurations - ever.

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


Re: SATA question

2008-02-03 Thread Erik Trulsson
On Sun, Feb 03, 2008 at 01:25:07AM -0800, Ted Mittelstaedt wrote:
 
 Looks like it isn't detecting it as a generic controller.
 
 But I think this is the problem.  Note that the system is
 applying ata2 and ata3 to atapci0, and ata0 and ata1 to
 atapci1.  This is backwards, I've not seen this before in
 the ata driver.  Normally, ata0 and ata1 are applied to the
 first controller - atapci0 - and ata2 and ata3 are applied
 to the second controller - atapci1 - and so on.

I have seen that before on one of my computers:

  atapci0: VIA 6420 SATA150 controller port 
0xd000-0xd007,0xcc00-0xcc03,0xc800-0xc807,0xc400-0xc403,0xc000-0xc00f,0xb800-0xb8ff
 irq 20 at device 15.0 on pci0
  ata2: ATA channel 0 on atapci0
  ata3: ATA channel 1 on atapci0
  atapci1: VIA 8237 UDMA133 controller port 
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xfc00-0xfc0f at device 15.1 on pci0
  ata0: ATA channel 0 on atapci1
  ata1: ATA channel 1 on atapci1

It looks like ata0 and ata1 are assigned to whichever interface looks like
the standard ATA interface, regardless of in what order various ATA
controllers are detected.



 
 Søren Schmidt put the support in for this chipset to the
 ata driver.  I'd file a PR and put it down to a driver bug.
 
 Ted
 
 
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] Behalf Of Darryl Hoar
  Sent: Friday, February 01, 2008 7:06 AM
  To: 'Ted Mittelstaedt'; freebsd-questions@freebsd.org
  Subject: RE: SATA question
 
 
  snip
   -Original Message-
   From: [EMAIL PROTECTED]
   [mailto:[EMAIL PROTECTED] Behalf Of Darryl Hoar
   Sent: Tuesday, January 29, 2008 6:59 AM
   To: freebsd-questions@freebsd.org
   Subject: SATA question
  
  
   Well,
   maybe I spoke to soon.  While looking at dmesg in prep for doing
   a custom kernel for my new server, I noticed an oddity.
  
   ad4 - DMA limited to UDMA33, device found non-ata66 cable.
   ad4 - SAMSUN HE160HJ JF800-24
  
   Is this telling me the system recognized my
   160GB 7.2K RPM Serial ATA 3Gbps 3.5-in Cabled Hard Drive as
   a UDMA33 ?
  
 
  No doubt, a pciconf followed by insertion of the ID into the
  ata detection routines would help - assuming your sata chipset
  is supported.
 
  You don't have the entire dmesg here but it looks like it's
  using the generic driver.
 
  Ted
 
 
  atapci0: ServerWorks HT1000 SATA150 controller port
  0xecb0-0xecb7,0xeca0-0xeca
  3,0xecb8-0xecbf,0xeca4-0xeca7,0xece0-0xecef mem
  0xefdfe000-0xefdf irq 6
  at d
  evice 14.0 on pci3
  ata2: ATA channel 0 on atapci0
  ata3: ATA channel 1 on atapci0
 
  atapci1: ServerWorks HT1000 UDMA100 controller port
  0x1f0-0x1f7,0x3f6,0x170-0x
  177,0x376,0x8c0-0x8cf at device 2.1 on pci0
  ata0: ATA channel 0 on atapci1
  ata1: ATA channel 1 on atapci1
 
  acd0: CDRW HL-DT-STCD-RW/DVD-ROM GCC-T10N/A102 at ata0-master UDMA33
  ad4: DMA limited to UDMA33, device found non-ATA66 cable
  ad4: 152587MB SAMSUNG HE160HJ JF800-24 at ata2-master UDMA33
  ad6: DMA limited to UDMA33, device found non-ATA66 cable
  ad6: 152587MB SAMSUNG HE160HJ JF800-24 at ata3-master UDMA33
 
  This is the copied relevant portions of demsg's output. I have only used
  pciconf to
  list devices, so am basically unfamilar with it.
 
  So, how do I get the system to recognize the drives as SATA ?
 


-- 
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]


Re: Looking for a Text on ZFS

2008-02-03 Thread Christian Baer
On Sat, 2 Feb 2008 21:38:49 -0600 [EMAIL PROTECTED] wrote:

 ZFS ends the microsotf monopoly over our disks.

And this monopoly is founded on ... what?

 ZFS begins the world as a 128bit dadaspace.
 Using ZFS fixes allocations and massaging your NAS.
 The inode is now the wenode.
 Usaging ZFS will make everything sunnier.
 Brighter too.
 Making ZFS the default FS in an FScentric world ends
 the pesky problems associated with legacy hardware.
 Building a ZFS nonuplyindirectwenode multiply redundant
 redundant filesystem makes Kate Miller-Heidke the
 Well, the best, I think.

I take ist, you don't approve of ZFS? :-)

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


Re: buildworld failed

2008-02-03 Thread Christian Baer
On Sun, 3 Feb 2008 15:00:36 +0530 Venkatesh K wrote:

 I did try that too! Still same problem.

1. Please do not quote everything and then put your comment on top.
2. Try a new csup. Sometime the source tree even in -STABLE is a little
   unstable. :-)
3. Try removing the -march argument.

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


Strange HDD order

2008-02-03 Thread Christian Baer
Greetings programs!

I have a computer here with 10 HDDs. Four of them are connected to the
southbridge of the mainboard. The other 6 are connected to two Promise
SATAII 300 TX4. Four of the drives are connected to the first controller
(making it 'full') the other two connected to the second.

To make the device names predictable I was very careful how I connected
them. The four drives connected to the southbridge are in the right order
(this also means they have the device names ad0 to ad3). The drives
connected to the other controllers are a different story.

The two controllers cooperate well and identify themselves as one
controller only. So I get only one message showing all the drives. The
drives are in this order in the BIOS message:

D 0 WDC WD3200SD-01KNB0 08.05J08 (ad4)
D 1 WDC WD3200SD-01KNB0 08.05J08 (ad6)
D 2 SAMSUNG HD501LJ CR100-11 (ad8)
D 3 SAMSUNG HD501LJ CR100-11 (ad10)
D 4 Seagate ST3500320AS SD04 (ad12)
D 5 Seagate ST3500320AS SD04 (ad14)

The device in brackets is the one I'd expect to get. Instead, I get this:

ad4: 476940MB SAMSUNG HD501LJ CR100-11 at ata2-master SATA300
ad6: 305245MB WDC WD3200SD-01KNB0 08.05J08 at ata3-master SATA150
ad8: 476940MB SAMSUNG HD501LJ CR100-11 at ata4-master SATA300
ad10: 305245MB WDC WD3200SD-01KNB0 08.05J08 at ata5-master SATA150
ad14: 476940MB Seagate ST3500320AS SD04 at ata7-master SATA150
ad18: 476940MB Seagate ST3500320AS SD04 at ata9-master SATA150

Where did I go wrong?

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


RE: buildworld failed

2008-02-03 Thread Supote Leelasuppakorn




Hi,

   I'm not sure you tried below or not.
1. delete both /usr/src and /usr/obj
2. verify your supfile for corret version of SRC you want
3. cvsup STABLE brach again
4. verify cvsup operation and also all src tree in /usr/src
5. then try make buld world again


PS. you'd better attached your supfile. This will give other people more 
information about your problem.

Pote





 Date: Sun, 3 Feb 2008 15:00:36 +0530
 From: [EMAIL PROTECTED]
 To: freebsd-questions@freebsd.org
 Subject: Re: buildworld failed

 I did try that too! Still same problem.

 Thanks,

 Venkatesh K

 On Feb 3, 2008 9:50 AM, Supote Leelasuppakorn  wrote:


 Hi,

 I have ever faced this problem. I suggested you deleting the whole
 /usr/obj then make buildworld again.




 Date: Sun, 3 Feb 2008 08:44:59 +0530
 From: [EMAIL PROTECTED]
 To: freebsd-questions@freebsd.org
 Subject: buildworld failed



 Hi,

 I am using FreeBSD Rel 6.3 and cvsup stable. Make buildworld failed for
 me.

 Here is the log


 --
 cc -O2 -fno-strict-aliasing -pipe -march=prescott
 -I/usr/src/sbin/gbde/../../sys -DRESCUE -Wsystem-headers -Werror -Wall
 -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes
 -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual
 -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -c
 /usr/src/sbin/gbde/gbde.c
 /usr/src/sbin/gbde/gbde.c: In function `g_read_data':
 /usr/src/sbin/gbde/gbde.c:164: warning: implicit declaration of function
 `read'
 /usr/src/sbin/gbde/gbde.c: In function `setup_passphrase':
 /usr/src/sbin/gbde/gbde.c:216: warning: implicit declaration of function
 `close'
 /usr/src/sbin/gbde/gbde.c: In function `cmd_nuke':
 /usr/src/sbin/gbde/gbde.c:391: warning: implicit declaration of function
 `write'
 /usr/src/sbin/gbde/gbde.c: In function `cmd_init':
 /usr/src/sbin/gbde/gbde.c:556: warning: implicit declaration of
 function `unlink'
 /usr/src/sbin/gbde/gbde.c: In function `main':
 /usr/src/sbin/gbde/gbde.c:801: warning: implicit declaration of
 function `getopt'
 /usr/src/sbin/gbde/gbde.c:804: error: `optarg' undeclared (first use
 in this function)
 /usr/src/sbin/gbde/gbde.c:804: error: (Each undeclared identifier is
 reported only once
 /usr/src/sbin/gbde/gbde.c:804: error: for each function it appears in.)
 *** Error code 1

 Stop in /usr/src/sbin/gbde.
 *** Error code 1

 Stop in /usr/obj/usr/src/rescue/rescue.
 *** Error code 1

 Stop in /usr/src/rescue/rescue.
 *** Error code 1

 Stop in /usr/src/rescue.
 *** Error code 1

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

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

 Stop in /usr/src.

 -

 Thanks,

 Venkatesh K

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





 --
 Venkatesh. K
 ___
 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: buildworld failed

2008-02-03 Thread Gerard
On Sun, 3 Feb 2008 15:00:36 +0530
Venkatesh K [EMAIL PROTECTED] wrote:

 I did try that too! Still same problem.

From the FreeBSD manual:

23.4.14.6. What do I do if something goes wrong?

Make absolutely sure your environment has no extraneous cruft from
earlier builds. This is simple enough.
# chflags -R noschg /usr/obj/usr
# rm -rf /usr/obj/usr
# cd /usr/src
# make cleandir
# make cleandir

Yes, make cleandir really should be run twice.

I would then run cvsup again to make sure you have the latest available
files and then rerun the entire process again.

BTW, lose the 'top-posting' habit.

-- 

Gerard
[EMAIL PROTECTED]

The light at the end of the tunnel may be an oncoming dragon.



signature.asc
Description: PGP signature


Re: Strange HDD order

2008-02-03 Thread Erik Trulsson
On Sun, Feb 03, 2008 at 01:13:34PM +0100, Christian Baer wrote:
 Greetings programs!
 
 I have a computer here with 10 HDDs. Four of them are connected to the
 southbridge of the mainboard. The other 6 are connected to two Promise
 SATAII 300 TX4. Four of the drives are connected to the first controller
 (making it 'full') the other two connected to the second.
 
 To make the device names predictable I was very careful how I connected
 them. The four drives connected to the southbridge are in the right order
 (this also means they have the device names ad0 to ad3). The drives
 connected to the other controllers are a different story.
 
 The two controllers cooperate well and identify themselves as one
 controller only. So I get only one message showing all the drives. The
 drives are in this order in the BIOS message:
 
 D 0 WDC WD3200SD-01KNB0 08.05J08 (ad4)
 D 1 WDC WD3200SD-01KNB0 08.05J08 (ad6)
 D 2 SAMSUNG HD501LJ CR100-11 (ad8)
 D 3 SAMSUNG HD501LJ CR100-11 (ad10)
 D 4 Seagate ST3500320AS SD04 (ad12)
 D 5 Seagate ST3500320AS SD04 (ad14)
 
 The device in brackets is the one I'd expect to get. Instead, I get this:
 
 ad4: 476940MB SAMSUNG HD501LJ CR100-11 at ata2-master SATA300
 ad6: 305245MB WDC WD3200SD-01KNB0 08.05J08 at ata3-master SATA150
 ad8: 476940MB SAMSUNG HD501LJ CR100-11 at ata4-master SATA300
 ad10: 305245MB WDC WD3200SD-01KNB0 08.05J08 at ata5-master SATA150
 ad14: 476940MB Seagate ST3500320AS SD04 at ata7-master SATA150
 ad18: 476940MB Seagate ST3500320AS SD04 at ata9-master SATA150
 
 Where did I go wrong?

How disks ars numbered do depend on which ports on which controller they
are attached to.  You want to use the lowest-numbered ports on the Promise
controllers.  Which ports that is when both controllers identify as a single
controller is another question.  From what you show it looks like all the
odd-numbered ports are on one controller and all the even-numbered ports are
on the other.

Try experimenting by changing which disk is connected to which port and see
if you can get the behaviour you want.




-- 
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]


Re: buildworld failed

2008-02-03 Thread Venkatesh K
On Feb 3, 2008 5:36 PM, Gerard [EMAIL PROTECTED] wrote:
 On Sun, 3 Feb 2008 15:00:36 +0530
 Venkatesh K [EMAIL PROTECTED] wrote:

  I did try that too! Still same problem.

 From the FreeBSD manual:

 23.4.14.6. What do I do if something goes wrong?

 Make absolutely sure your environment has no extraneous cruft from
 earlier builds. This is simple enough.
 # chflags -R noschg /usr/obj/usr
 # rm -rf /usr/obj/usr
 # cd /usr/src
 # make cleandir
 # make cleandir


I had tried cleaning build tree as described above and building again.
It was of no help.

 Yes, make cleandir really should be run twice.

 I would then run cvsup again to make sure you have the latest available
 files and then rerun the entire process again.

I have removed arch flag from make.conf and trying recompiling again.
I did cvsup latest sources before restarting the build.


 BTW, lose the 'top-posting' habit.


I apologize for not following etiquette. I will follow it from now onwards.

Thanks,

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


Re: Strange HDD order

2008-02-03 Thread Christian Baer
On Sun, 3 Feb 2008 14:03:33 +0100 Erik Trulsson wrote:

 D 0 WDC WD3200SD-01KNB0 08.05J08 (ad4)
 D 1 WDC WD3200SD-01KNB0 08.05J08 (ad6)
 D 2 SAMSUNG HD501LJ CR100-11 (ad8)
 D 3 SAMSUNG HD501LJ CR100-11 (ad10)
 D 4 Seagate ST3500320AS SD04 (ad12)
 D 5 Seagate ST3500320AS SD04 (ad14)
 
 The device in brackets is the one I'd expect to get. Instead, I get this:
 
 ad4: 476940MB SAMSUNG HD501LJ CR100-11 at ata2-master SATA300
 ad6: 305245MB WDC WD3200SD-01KNB0 08.05J08 at ata3-master SATA150
 ad8: 476940MB SAMSUNG HD501LJ CR100-11 at ata4-master SATA300
 ad10: 305245MB WDC WD3200SD-01KNB0 08.05J08 at ata5-master SATA150
 ad14: 476940MB Seagate ST3500320AS SD04 at ata7-master SATA150
 ad18: 476940MB Seagate ST3500320AS SD04 at ata9-master SATA150

 How disks ars numbered do depend on which ports on which controller they
 are attached to.  You want to use the lowest-numbered ports on the Promise
 controllers.  Which ports that is when both controllers identify as a single
 controller is another question.  From what you show it looks like all the
 odd-numbered ports are on one controller and all the even-numbered ports are
 on the other.

Do you mean physically or logically? Physically the first four drives in
the top list (the two WDCs and the two Samsungs) are connected to the
first controller. The two Seagates are connected to the second.

 Try experimenting by changing which disk is connected to which port and see
 if you can get the behaviour you want.

I don't really want or nead any behaviour in particular. This is just a
matter of what's in the fstab. I was more wondering how this could be and
if this order (and thus the device names) will stay constant or if the OS
could get funny ideas after a csup and change this again, which would
certainly mess up my directory tree.

I was also wondering about the gap there is in the device names. The
first controller should get ad4,6,8 and 10. But then, the second should
get 12 and not 14. What happened to 12?

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


Re: buildworld failed

2008-02-03 Thread Venkatesh K
On Feb 3, 2008 6:34 PM, Venkatesh K [EMAIL PROTECTED] wrote:
 On Feb 3, 2008 5:36 PM, Gerard [EMAIL PROTECTED] wrote:
  On Sun, 3 Feb 2008 15:00:36 +0530
  Venkatesh K [EMAIL PROTECTED] wrote:
 
   I did try that too! Still same problem.
 
  From the FreeBSD manual:
 
  23.4.14.6. What do I do if something goes wrong?
 
  Make absolutely sure your environment has no extraneous cruft from
  earlier builds. This is simple enough.
  # chflags -R noschg /usr/obj/usr
  # rm -rf /usr/obj/usr
  # cd /usr/src
  # make cleandir
  # make cleandir
 

 I had tried cleaning build tree as described above and building again.
 It was of no help.

Here are the steps I followed.

1. Cleaned up using following script clean.sh

--
chflags -R noschg /usr/obj/usr
rm -rf /usr/obj/usr
cd /usr/src
make cleandir
make cleandir
--
2. Cvsup latest sources using cvsup -g -L 2 /etc/supfile (attached).

Build fails while compiling /usr/src/sbin/gbde/gbde.c.

--- error.log --
cc -O2 -fno-strict-aliasing -pipe  -I/usr/src/sbin/fsdb/../fsck_ffs
-DRESCUE -Wsystem-headers -Werror -Wall -Wno-format-y2k
-Wno-uninitialized -c /usr/src/sbin/fsdb/../fsck_ffs/utilities.c

cc -O2 -fno-strict-aliasing -pipe  -I/usr/src/sbin/fsdb/../fsck_ffs
-DRESCUE -Wsystem-headers -Werror -Wall -Wno-format-y2k
-Wno-uninitialized -c /usr/src/sbin/fsdb/../../sys/ufs/ffs/ffs_subr.c

cc -O2 -fno-strict-aliasing -pipe  -I/usr/src/sbin/fsdb/../fsck_ffs
-DRESCUE -Wsystem-headers -Werror -Wall -Wno-format-y2k
-Wno-uninitialized -c
/usr/src/sbin/fsdb/../../sys/ufs/ffs/ffs_tables.c

(cd /usr/src/rescue/rescue/../../sbin/fsirand   make -DRESCUE
CRUNCH_CFLAGS=-DRESCUE DIRPRFX=rescue/rescue/fsirand/ depend  make
-DRESCUE CRUNCH_CFLAGS=-DRESCUE DIRPRFX=rescue/rescue/fsirand/
fsirand.o)

rm -f .depend

mkdep -f .depend -a-DRESCUE /usr/src/sbin/fsirand/fsirand.c

echo fsirand: /usr/obj/usr/src/tmp/usr/lib/libc.a
/usr/obj/usr/src/tmp/usr/lib/libutil.a  .depend

cc -O2 -fno-strict-aliasing -pipe  -DRESCUE  -c /usr/src/sbin/fsirand/fsirand.c

(cd /usr/src/rescue/rescue/../../sbin/gbde   make -DRESCUE
CRUNCH_CFLAGS=-DRESCUE DIRPRFX=rescue/rescue/gbde/ depend  make
-DRESCUE CRUNCH_CFLAGS=-DRESCUE DIRPRFX=rescue/rescue/gbde/ gbde.o
template.o rijndael-alg-fst.o rijndael-api-fst.o sha2.o g_bde_lock.o)

file2c 'const char template[] = {' ',0};'  
/usr/src/sbin/gbde/template.txt  template.c

rm -f .depend

mkdep -f .depend -a-I/usr/src/sbin/gbde/../../sys -DRESCUE
/usr/src/sbin/gbde/gbde.c template.c
/usr/src/sbin/gbde/../../sys/crypto/rijndael/rijndael-alg-fst.c
/usr/src/sbin/gbde/../../sys/crypto/rijndael/rijndael-api-fst.c
/usr/src/sbin/gbde/../../sys/crypto/sha2/sha2.c
/usr/src/sbin/gbde/../../sys/geom/bde/g_bde_lock.c

echo gbde: /usr/obj/usr/src/tmp/usr/lib/libc.a
/usr/obj/usr/src/tmp/usr/lib/libmd.a
/usr/obj/usr/src/tmp/usr/lib/libutil.a
/usr/obj/usr/src/tmp/usr/lib/libgeom.a  .depend

cc -O2 -fno-strict-aliasing -pipe  -I/usr/src/sbin/gbde/../../sys
-DRESCUE -Wsystem-headers -Werror -Wall -Wno-format-y2k -W
-Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes
-Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch
-Wshadow -Wcast-align -Wunused-parameter -c /usr/src/sbin/gbde/gbde.c

/usr/src/sbin/gbde/gbde.c: In function `g_read_data':

/usr/src/sbin/gbde/gbde.c:164: warning: implicit declaration of function `read'

/usr/src/sbin/gbde/gbde.c: In function `setup_passphrase':

/usr/src/sbin/gbde/gbde.c:216: warning: implicit declaration of function `close'

/usr/src/sbin/gbde/gbde.c: In function `cmd_nuke':

/usr/src/sbin/gbde/gbde.c:391: warning: implicit declaration of function `write'

/usr/src/sbin/gbde/gbde.c: In function `cmd_init':

/usr/src/sbin/gbde/gbde.c:556: warning: implicit declaration of
function `unlink'

/usr/src/sbin/gbde/gbde.c: In function `main':

/usr/src/sbin/gbde/gbde.c:801: warning: implicit declaration of
function `getopt'

/usr/src/sbin/gbde/gbde.c:804: error: `optarg' undeclared (first use
in this function)

/usr/src/sbin/gbde/gbde.c:804: error: (Each undeclared identifier is
reported only once

/usr/src/sbin/gbde/gbde.c:804: error: for each function it appears in.)

*** Error code 1



Stop in /usr/src/sbin/gbde.

*** Error code 1



Stop in /usr/obj/usr/src/rescue/rescue.

*** Error code 1



Stop in /usr/src/rescue/rescue.

*** Error code 1



Stop in /usr/src/rescue.

*** Error code 1



Stop in /usr/src.

*** Error code 1



Stop in /usr/src.

*** Error code 1



Stop in /usr/src.
- End error.log
-

I hope the above info is sufficient for helping me out.

Thanks,

-- 
Venkatesh. K


supfile
Description: Binary data
___
freebsd-questions@freebsd.org mailing list

7.0RC1 - more panics, hardware?

2008-02-03 Thread Drew Sanford
Ok guys, frustrating one here. I installed 7.0RC1 on the system that 
I've been trying to make into my new server (it's a home thing, natd, 
email, apache, mysql, firewall, you know, fun stuff) and it has now 
failed catastrophically twice. The first time I was convinced it was the 
hard drive. This time though, I'm not. All of this hardware *tests* ok, 
that means memtest, seatools, etc find no problems with the hardware. 
But this hardware has been around for a while.


What I'm looking for is an opinion - I watch the lists, and I've seen a 
few other page faults and trap 12's etc, but it looks like as a whole, 
people have having pretty good luck with 7.0RC1. Is there certain 
hardware I should look out for with 7.0, for instance, I have a nic 
using the re driver - is that ok? I know I can panic my desktop (6.2) 
using the nve card in it.


One thing I have to point out is, I've had strange things come up on the 
console with this machine - USB errors for instance. And there is 
absolutely nothing USB hooked up to this machine, although it does have 
USB hardware.


Bottom line:
Do I keep exactly the same hardware, and try 6.3?
Do just get new hardware (hey, lets face it, hardware is cheap, 
especially when all I need is a box to sit there and run with two nic's 
in it, a console output and a cd drive).
Is there anything in particular anyone would like me to try with this 
system before I take it out back and shoot it?


(seriously, current state:) The server boots, and miraculously enough, 
it routes internet traffic to the rest of my network. However, it's 
hosed it's file system but good, which is what it did last time too - 
trying to log into the console results in:


/usr/bin/login: No such file or directory.

I've booted in single user mode and fsck'd it. I'm certain that at most, 
it's hanging on by a thread.

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


Re: Intel® G31 + ICH7

2008-02-03 Thread Gordon McKee

Hi

Here you go!!

pciconf -lv |grep -A4 '^none'
[EMAIL PROTECTED]:2:0: class=0x03 card=0x0df7105b chip=0x29c28086 rev=0x02 
hdr=0x00

   vendor = 'Intel Corporation'
   device = '(Bearlake) Integrated Graphics Controller'
   class  = display
   subclass   = VGA
--
[EMAIL PROTECTED]:31:3:class=0x0c0500 card=0x0df7105b chip=0x27da8086 
rev=0x01 hdr=0x00

   vendor = 'Intel Corporation'
   device = '82801G (ICH7 Family) SMBus Controller'
   class  = serial bus
   subclass   = SMBus
[EMAIL PROTECTED]:0:0: class=0x02 card=0x0df7105b chip=0x816810ec rev=0x01 
hdr=0x00

   vendor = 'Realtek Semiconductor'
   device = 'RTL8168/8111 PCI-E Gigabit Ethernet NIC'
   class  = network
   subclass   = ethernet

I was trying a ata disk, but the sata interface seems to work.

Here is a pciconf without the grep!!
pciconf -lv
[EMAIL PROTECTED]:0:0:class=0x06 card=0x29c08086 chip=0x29c08086 
rev=0x02 hdr=0x00

   vendor = 'Intel Corporation'
   device = '(Bearlake) Processor to I/O Controller'
   class  = bridge
   subclass   = HOST-PCI
[EMAIL PROTECTED]:1:0: class=0x060400 card=0x0df7105b chip=0x29c18086 rev=0x02 
hdr=0x01

   vendor = 'Intel Corporation'
   device = '(Bearlake) PCIe Root Port'
   class  = bridge
   subclass   = PCI-PCI
[EMAIL PROTECTED]:2:0: class=0x03 card=0x0df7105b chip=0x29c28086 rev=0x02 
hdr=0x00

   vendor = 'Intel Corporation'
   device = '(Bearlake) Integrated Graphics Controller'
   class  = display
   subclass   = VGA
[EMAIL PROTECTED]:28:0:class=0x060400 card=0x27d08086 chip=0x27d08086 
rev=0x01 hdr=0x01

   vendor = 'Intel Corporation'
   device = '82801G (ICH7 Family) PCIe Root Port'
   class  = bridge
   subclass   = PCI-PCI
[EMAIL PROTECTED]:28:1:class=0x060400 card=0x27d28086 chip=0x27d28086 
rev=0x01 hdr=0x01

   vendor = 'Intel Corporation'
   device = '82801G (ICH7 Family) PCIe Root Port'
   class  = bridge
   subclass   = PCI-PCI
[EMAIL PROTECTED]:29:0:class=0x0c0300 card=0x0df7105b chip=0x27c88086 
rev=0x01 hdr=0x00

   vendor = 'Intel Corporation'
   device = '82801G (ICH7 Family) USB Universal Host Controller'
   class  = serial bus
   subclass   = USB
[EMAIL PROTECTED]:29:1:class=0x0c0300 card=0x0df7105b chip=0x27c98086 
rev=0x01 hdr=0x00

   vendor = 'Intel Corporation'
   device = '82801G (ICH7 Family) USB Universal Host Controller'
   class  = serial bus
   subclass   = USB
[EMAIL PROTECTED]:29:2:class=0x0c0300 card=0x0df7105b chip=0x27ca8086 
rev=0x01 hdr=0x00

   vendor = 'Intel Corporation'
   device = '82801G (ICH7 Family) USB Universal Host Controller'
   class  = serial bus
   subclass   = USB
[EMAIL PROTECTED]:29:3:class=0x0c0300 card=0x0df7105b chip=0x27cb8086 
rev=0x01 hdr=0x00

   vendor = 'Intel Corporation'
   device = '82801G (ICH7 Family) USB Universal Host Controller'
   class  = serial bus
   subclass   = USB
[EMAIL PROTECTED]:29:7:class=0x0c0320 card=0x0df7105b chip=0x27cc8086 
rev=0x01 hdr=0x00

   vendor = 'Intel Corporation'
   device = '82801G (ICH7 Family) USB 2.0 Enhanced Host Controller'
   class  = serial bus
   subclass   = USB
[EMAIL PROTECTED]:30:0:class=0x060401 card=0x0df7105b chip=0x244e8086 
rev=0xe1 hdr=0x01

   vendor = 'Intel Corporation'
   device = '82801 Family (ICH2/3/4/4/5/5/6/7/8/9,63xxESB) Hub 
Interface to PCI Bridge'

   class  = bridge
   subclass   = PCI-PCI
[EMAIL PROTECTED]:31:0:class=0x060100 card=0x0df7105b chip=0x27b88086 
rev=0x01 hdr=0x00

   vendor = 'Intel Corporation'
   device = '945GL Intel 82801GB/GR (ICH7 Family) LPC Interface 
Controller - 27B8'

   class  = bridge
   subclass   = PCI-ISA
[EMAIL PROTECTED]:31:1:  class=0x01018a card=0x0df7105b chip=0x27df8086 
rev=0x01 hdr=0x00

   vendor = 'Intel Corporation'
   device = '82801G (ICH7 Family) Ultra ATA Storage Controller'
   class  = mass storage
   subclass   = ATA
[EMAIL PROTECTED]:31:2:  class=0x01018f card=0x0df7105b chip=0x27c08086 
rev=0x01 hdr=0x00

   vendor = 'Intel Corporation'
   device = '82801GB/GR/GH (ICH7 Family) Serial ATA Storage Controller'
   class  = mass storage
   subclass   = ATA
[EMAIL PROTECTED]:31:3:class=0x0c0500 card=0x0df7105b chip=0x27da8086 
rev=0x01 hdr=0x00

   vendor = 'Intel Corporation'
   device = '82801G (ICH7 Family) SMBus Controller'
   class  = serial bus
   subclass   = SMBus
[EMAIL PROTECTED]:0:0: class=0x02 card=0x0df7105b chip=0x816810ec rev=0x01 
hdr=0x00

   vendor = 'Realtek Semiconductor'
   device = 'RTL8168/8111 PCI-E Gigabit Ethernet NIC'
   class  = network
   subclass   = ethernet
[EMAIL PROTECTED]:2:0:   class=0x02 card=0x311a1385 chip=0x816910ec rev=0x10 
hdr=0x00

   vendor = 'Realtek Semiconductor'
   device = 'RTL8110SB Single-Chip Gigabit LOM 

Behind a router revisited

2008-02-03 Thread Eugen
I edited my original post for the wrapping problem and, as a result of
Christian Baer response, I tried the default settings, so now I have the
original (empty) /etc/dhclient.conf. Same result.

I had a working minimal FreeBSD system until I put it behind a wireless
router. Since then my network is not accessible anymore when I boot BSD.
On the same desktop I have a Gentoo Linux system which works just fine,
even if I didn't touch any of it's configuration files after I installed
the router.

The router is a ZyXEL P-335U wired to a cable modem. The desktop is
plugged into a LAN port. A laptop connected by wireless has no problems.
The router gets it's IP from the ISP and acts as a firewall and a DHCP
server to my network: it serves a pool of 32 addresses starting at
192.168.1.33. Its own address is 192.168.1.1. The IP Subnet Mask is
255.255.255.0.

The configuration files for FreeBSD are shown below.
The output of ifconfig and netstat are also shown for BSD and Linux.

What confuses me is the fact that having the same router settings, when I
boot in Linux the network is usable, while in BSD it's not: I can't even
ping 192.168.1.1, while the same ping in Linux works.

I read the handbook and various other BSD information sources on the web
and I could not solve this issue.

My question is: which config files do I have to edit and what settings
should I use ?

Thanks,
eugene

/etc/rc.conf
---
ifconfig_dc0=DHCP
---

$ ifconfig dc0 (BSD)
---
dc0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500
options=8VLAN_MTU
ether 00:14:cf:52:b4:17
inet 192.168.1.33 netmask 0xff00 broadcast 192.168.1.255
media: Ethernet autoselect (100baseTX full-duplex)
status: active
---

$ ifconfig eth0 (Linux)
---
eth0  Link encap:Ethernet  HWaddr 00:14:CF:52:B4:17
  inet addr:192.168.1.33  Bcast:192.168.1.255  Mask:255.255.255.0
  inet6 addr: fe80::214:cfff:fe52:b417/64 Scope:Link
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
---

$ netstat -rn (BSD)
---
Routing tables

Internet:
DestinationGateway   Flags   Refs Use  Netif Expire
default192.168.1.1   UGS 04dc0
127.0.0.1  127.0.0.1 UH  00lo0
192.168.1.0/24 link#1UC  00dc0
192.168.1.1link#1UHLW24dc0
---

$ netstat -rn (Linux)
---
Kernel IP routing table
DestinationGatewayGenmask Flags  MSS Window  irtt Iface
192.168.1.00.0.0.0255.255.255.0   U0 0  0 eth0
127.0.0.0  0.0.0.0255.0.0.0   U0 0  0 lo
0.0.0.0192.168.1.10.0.0.0 UG   0 0  0 eth0
---

The content of /var/db/dhclient.leases.dc0 (BSD) is:
---
lease {
  interface dc0;
  fixed-address 192.168.1.33;
  server-name ZYXEL_P_335U;
  option subnet-mask 255.255.255.0;
  option routers 192.168.1.1;
  option domain-name-servers 64.59.176.13,64.59.176.15;
  option domain-name wp.shawcable.net;
  option dhcp-lease-time 259200;
  option dhcp-message-type 5;
  option dhcp-server-identifier 192.168.1.1;
  option dhcp-renewal-time 129600;
  option dhcp-rebinding-time 226800;
  renew 1 2008/2/4 16:13:41;
  rebind 2 2008/2/5 19:13:41;
  expire 3 2008/2/6 04:13:41;
}
---

The content of /var/lib/dhcpcd/dhcpcd-eth0.info (Linux) is:
---
IPADDR='192.168.1.33'
NETMASK='255.255.255.0'
BROADCAST='192.168.1.255'
ROUTES=''
GATEWAYS='192.168.1.1'
HOSTNAME='dhcppc1'
DNSDOMAIN='wp.shawcable.net'
DNSSERVERS='64.59.176.13 64.59.176.15'
DHCPSID='192.168.1.1'
DHCPSNAME='ZYXEL_P_335U'
LEASEDFROM='1202012861'
LEASETIME='259200'
RENEWALTIME='129600'
REBINDTIME='226800'
INTERFACE='eth0'
CLASSID='dhcpcd 3.1.5'
CLIENTID='ff:00:00:00:03:00:01:00:01:0e:90:86:a3:00:14:cf:52:b4:17'
DHCPCHADDR='00:14:cf:52:b4:17'
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send 

Re: Strange HDD order

2008-02-03 Thread Erik Trulsson
On Sun, Feb 03, 2008 at 02:34:48PM +0100, Christian Baer wrote:
 On Sun, 3 Feb 2008 14:03:33 +0100 Erik Trulsson wrote:
 
  D 0 WDC WD3200SD-01KNB0 08.05J08 (ad4)
  D 1 WDC WD3200SD-01KNB0 08.05J08 (ad6)
  D 2 SAMSUNG HD501LJ CR100-11 (ad8)
  D 3 SAMSUNG HD501LJ CR100-11 (ad10)
  D 4 Seagate ST3500320AS SD04 (ad12)
  D 5 Seagate ST3500320AS SD04 (ad14)
  
  The device in brackets is the one I'd expect to get. Instead, I get this:
  
  ad4: 476940MB SAMSUNG HD501LJ CR100-11 at ata2-master SATA300
  ad6: 305245MB WDC WD3200SD-01KNB0 08.05J08 at ata3-master SATA150
  ad8: 476940MB SAMSUNG HD501LJ CR100-11 at ata4-master SATA300
  ad10: 305245MB WDC WD3200SD-01KNB0 08.05J08 at ata5-master SATA150
  ad14: 476940MB Seagate ST3500320AS SD04 at ata7-master SATA150
  ad18: 476940MB Seagate ST3500320AS SD04 at ata9-master SATA150
 
  How disks ars numbered do depend on which ports on which controller they
  are attached to.  You want to use the lowest-numbered ports on the Promise
  controllers.  Which ports that is when both controllers identify as a single
  controller is another question.  From what you show it looks like all the
  odd-numbered ports are on one controller and all the even-numbered ports are
  on the other.
 
 Do you mean physically or logically? Physically the first four drives in
 the top list (the two WDCs and the two Samsungs) are connected to the
 first controller. The two Seagates are connected to the second.

In that case my guess on how they were numbered seems wrong.
FreeBSD seems to think that the two Samsung drives are connected to ports
1 and 3 on the first controller, while the two WDC drives are connected to
ports 2 and 4 on the same controller.
The two Seagate drives appear to be connected to ports 2 and 4 on the second
controller, with ports 1 and 3 on that controller being unused.

This may or may not be the same numbering of the ports as shown in the
manual for the controller (and possibly printed on the card itself.) If it
is the same, then all is fine, and working just as it should.
If it is different then there is a bug somewhere.  If this bug
is in the controller, the manual for the controller, or FreeBSD's ATA
driver is not something I can answer. 

Using Google to search for 'Promise SATA300-TX4 port numbers' indicate
that this is a problem that several other people have encountered with this
controller with both FreeBSD and LInux.
The ports on the card are labeled 1-2-3-4 but are detected as 3-2-4-1


 
  Try experimenting by changing which disk is connected to which port and see
  if you can get the behaviour you want.
 
 I don't really want or nead any behaviour in particular. This is just a
 matter of what's in the fstab. I was more wondering how this could be and
 if this order (and thus the device names) will stay constant or if the OS
 could get funny ideas after a csup and change this again, which would
 certainly mess up my directory tree.

It should stay constant unless there would be some change specifically in
how the ATA driver enumerates the ports on this controller.

 
 I was also wondering about the gap there is in the device names. The
 first controller should get ad4,6,8 and 10. But then, the second should
 get 12 and not 14. What happened to 12?

12 is probably one of the two ports you are not using. (16 being the other.)



-- 
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]


Re: OT: Silly Bind question

2008-02-03 Thread DAve
Mark D. Foster wrote:
 DAve wrote:

 I am stumped, what have I done wrong?

 Thanks,

 DAve


   
 Looks to me like you need to remove the pixelhammer.com zone from your
 old bind servers, as the delegation from the root points to
 ns1auth.tls.net and ns2auth.tls.net both of which appear to have
 authority for the zone AND the txt record you seek.

I used pixelhammer because it was not a commercial clients domain.
ns1auth.tls.net is the server running TinyDNS. Text records work there.
ns1.totallogic.com is the server running Bind and text records don't
work. Yes, ns2.totallogic.com is a lame server for pixelhammer.com  but
I don't believe that causes Bind to withold a text record. For the
purpose of testing it should work, shouldn't it?

DAve

-- 
Google finally, after 7 years, provided a logo for
veterans. Thank you Google. What to do with my signature now?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: OT: Silly Bind question

2008-02-03 Thread DAve
Andy Dills wrote:
 On Sun, 3 Feb 2008, DAve wrote:
 I am stumped, what have I done wrong?
 
 You'll kick yourself. Here's the hint:
 
 /users/andydig @ns1.totallogic.com ftp.pixelhammer.com txt
 
 ;  DiG 9.3.4  @ns1.totallogic.com ftp.pixelhammer.com txt
 ; (1 server found)
 ;; global options:  printcmd
 ;; Got answer:
 ;; -HEADER- opcode: QUERY, status: NOERROR, id: 26833
 ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 3, ADDITIONAL: 3
 
 ;; QUESTION SECTION:
 ;ftp.pixelhammer.com.   IN  TXT
 
 ;; ANSWER SECTION:
 ftp.pixelhammer.com.86400   IN  TXT v=spf1 ip4:65.196.224.82 
 ip4:65.196.224.83 ~all

I'm kicking but it ain't helping. Interesting that the host ftp works.
It is also the last host in the zone. I tried tying the txt record to
the origin but no change. According to the Bind book, and to the openspf
folks, this should work.

pixelhammer.com.IN  TXT some sorta krazy text string

But it don't. Now, I am even more confused. Does the location of the
Text record 'within' the zone file make a difference?

Thanks,

DAve

-- 
Google finally, after 7 years, provided a logo for
veterans. Thank you Google. What to do with my signature now?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Strange HDD order

2008-02-03 Thread Matt
On Feb 3, 2008 6:13 AM, Christian Baer [EMAIL PROTECTED] wrote:
 Greetings programs!

 I have a computer here with 10 HDDs. Four of them are connected to the
 southbridge of the mainboard. The other 6 are connected to two Promise
 SATAII 300 TX4. Four of the drives are connected to the first controller
 (making it 'full') the other two connected to the second.

 To make the device names predictable I was very careful how I connected
 them. The four drives connected to the southbridge are in the right order
 (this also means they have the device names ad0 to ad3). The drives
 connected to the other controllers are a different story.

 The two controllers cooperate well and identify themselves as one
 controller only. So I get only one message showing all the drives. The
 drives are in this order in the BIOS message:

 D 0 WDC WD3200SD-01KNB0 08.05J08 (ad4)
 D 1 WDC WD3200SD-01KNB0 08.05J08 (ad6)
 D 2 SAMSUNG HD501LJ CR100-11 (ad8)
 D 3 SAMSUNG HD501LJ CR100-11 (ad10)
 D 4 Seagate ST3500320AS SD04 (ad12)
 D 5 Seagate ST3500320AS SD04 (ad14)

 The device in brackets is the one I'd expect to get. Instead, I get this:

 ad4: 476940MB SAMSUNG HD501LJ CR100-11 at ata2-master SATA300
 ad6: 305245MB WDC WD3200SD-01KNB0 08.05J08 at ata3-master SATA150
 ad8: 476940MB SAMSUNG HD501LJ CR100-11 at ata4-master SATA300
 ad10: 305245MB WDC WD3200SD-01KNB0 08.05J08 at ata5-master SATA150
 ad14: 476940MB Seagate ST3500320AS SD04 at ata7-master SATA150
 ad18: 476940MB Seagate ST3500320AS SD04 at ata9-master SATA150

 Where did I go wrong?

 Regards,
 Chris

Is the concern with the apparent out-of-order numbering based on how
you want to access these devices in areas like fstab?  If so, I
suggest using glabel(8) to label the drives and then address them by
their labels elsewhere in the system.  I think there may be cases
where glabel won't be able to help, but it should work for many usage
scenarios.

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


Re: OT: Silly Bind question

2008-02-03 Thread Mark D. Foster
DAve wrote:
 Andy Dills wrote:
   
 On Sun, 3 Feb 2008, DAve wrote:
 
 I am stumped, what have I done wrong?
   
 You'll kick yourself. Here's the hint:

 /users/andydig @ns1.totallogic.com ftp.pixelhammer.com txt

 ;  DiG 9.3.4  @ns1.totallogic.com ftp.pixelhammer.com txt
 ; (1 server found)
 ;; global options:  printcmd
 ;; Got answer:
 ;; -HEADER- opcode: QUERY, status: NOERROR, id: 26833
 ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 3, ADDITIONAL: 3

 ;; QUESTION SECTION:
 ;ftp.pixelhammer.com.   IN  TXT

 ;; ANSWER SECTION:
 ftp.pixelhammer.com.86400   IN  TXT v=spf1 ip4:65.196.224.82 
 ip4:65.196.224.83 ~all
 

 I'm kicking but it ain't helping. Interesting that the host ftp works.
 It is also the last host in the zone. I tried tying the txt record to
 the origin but no change. According to the Bind book, and to the openspf
 folks, this should work.

 pixelhammer.com.  IN  TXT some sorta krazy text string

 But it don't. Now, I am even more confused. Does the location of the
 Text record 'within' the zone file make a difference?

 Thanks,

 DAve

   
Andy was right, it's the line-ordering in your zone file.
I take it you can't slave the zone from tinydns to bind?

-- 
Said one park ranger, 'There is considerable overlap between the 
 intelligence of the smartest bears and the dumbest tourists.'
Mark D. Foster, CISSP [EMAIL PROTECTED]  http://mark.foster.cc/

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


Re: Looking for a Text on ZFS

2008-02-03 Thread Wojciech Puchar

I already read that before I posted my question. Neither by this text,
nor by the one in the Wikipedia could I participate in the exitement
around ZFS. Ok, so it's a 128Bit FS. Big fat, hairy deal! I couldn't see


that's like 64-bit soundcards that have to be better than 32-bit, while 
most of them was unable to actually get past 13-14 bit (most past 12) with 
it's signal to noise ratio.



any advantages in using it instead of FFS (UFS), but I thought I was


ZFS is better because:

1) you make create 1000 of filesystems without partitioning. so lots of 
admins that think more partitions=better are happy. you may set quota 
for each filesystem


2) it takes many drives to the pool and you may add then new drives.
same as gconcat+growfs.

3) it doesn't have per user quota, which creates a problem that is 
solved by 1), and you have to create at least one filesystem/user, which 
then is said to relieve admininstrator from work ;)


4) ZFS says that hardware checksums are not enough and disk hardware may 
be buggy so then solve this problem checking everything with CPU.


while i've had failing drives many times i never seen it reading bad data 
and not reporting error.


5) you don't have to wait for fsck. one of the few real adventages.
Anyway - FreeBSD doesn't crash like windoze, so it's not that big thing.

6) zfs set copies= works only on writes, but scrub doesn't make a 
missing copy when one is failed.


so the best possible adventage (setting what file to mirror, what not) is 
lost.


7) there is no per file encryption, while it's said it will be SOON ready.

8) ZFS is clear winner on artifical tests like creating miliion of small 
files and then deleting them etc..


9) ZFS is very fast, just add more RAM and faster CPU.

i would - to make more RAM and CPU power available for programs i run, not 
to be wasted.



there was a lot of excitement here after ZFS was ported, but i think it's 
time too see that 20 (or more?) year old UFS is still a winner.


i think some changes in UFS, like larger cylinder groups (so there won't 
be 1 of then on big filesystem), possibly dynamic allocation of 
inodes, would be good. but not critical :)

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


Re: OT: Silly Bind question

2008-02-03 Thread DAve
Mark D. Foster wrote:
 DAve wrote:
 Andy Dills wrote:
   
 On Sun, 3 Feb 2008, DAve wrote:
 
 I am stumped, what have I done wrong?
   
 You'll kick yourself. Here's the hint:

 /users/andydig @ns1.totallogic.com ftp.pixelhammer.com txt

 ;  DiG 9.3.4  @ns1.totallogic.com ftp.pixelhammer.com txt
 ; (1 server found)
 ;; global options:  printcmd
 ;; Got answer:
 ;; -HEADER- opcode: QUERY, status: NOERROR, id: 26833
 ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 3, ADDITIONAL: 3

 ;; QUESTION SECTION:
 ;ftp.pixelhammer.com.   IN  TXT

 ;; ANSWER SECTION:
 ftp.pixelhammer.com.86400   IN  TXT v=spf1 ip4:65.196.224.82 
 ip4:65.196.224.83 ~all
 
 I'm kicking but it ain't helping. Interesting that the host ftp works.
 It is also the last host in the zone. I tried tying the txt record to
 the origin but no change. According to the Bind book, and to the openspf
 folks, this should work.

 pixelhammer.com. IN  TXT some sorta krazy text string

 But it don't. Now, I am even more confused. Does the location of the
 Text record 'within' the zone file make a difference?

 Thanks,

 DAve

   
 Andy was right, it's the line-ordering in your zone file.
 I take it you can't slave the zone from tinydns to bind?
 

Arrrg! I tried moving the txt record but no change.  I can put the recs
in any order I want as the script that generates my Bind Zones pulls
them from SQL, so arranging the keys to write out TXT in any place
within the zone is easy enough to do. But I didn't see a difference before.

I'll relook at what I did. This should not be that difficult, online
docs show text examples with no mention of where in the zone they need
to be. I would ahve thought that it A) didn't matter, or B) an origin
line prior to the TXT line, or B) a full domain name in the text-name
field would be able to over ride the previous host name.

IOW,

hostIN  A   xxx.xxx.xxx.xxx
domain. IN  TXT something

I would have though that a full origin name as the left value on the TXT
line would override the previous host value. But that does not seem to
be so. I still think I've done something wrong here.

DAve


-- 
Google finally, after 7 years, provided a logo for
veterans. Thank you Google. What to do with my signature now?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


ext2fs: strange behaviour after alternativ boot into other OS

2008-02-03 Thread Axel Burwitz

Hi,

is maybe somenone also noticing the following behaviour in FreeBSD 7.0 
RC1 on his system:


- have besides the FreeBSD slice additional some data partitions with 
ext2 on two discs in my system. As long as I only boot with FreeBSD, 
everything fine.
- but when I occasionally boot with XP (from there I access via IFS the 
ext2fs [URL=http://www.fs-driver.org/]http://www.fs-driver.org/[/URL] 
) or with Linux and access these partitions,
- then after following boot into FreeBSD these partitions don't get 
mounted, but I have to fix them with fsck first and then can mount them


in  6.2 I had not seen this behaviour

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


6.3-RELEASE, i915G, drm, dri

2008-02-03 Thread p9_gkvye

I have an Intel i915G onboard graphics device that
uses 8MB of shared memory.  After installing
6.3-RELEASE I compiled a kernel with the drm and
i915drm devices enabled (and leaving the agp device
enabled).

On boot, agp0 detects 8MB of memory for the i915G, and
/dev/agpgart is created.  But drm0 reports 0MB. 
Consequently (?), the kernel reports 0 memory
available to the i810 driver in xorg, and dri is
disabled.  (The new intel display driver is worse --
xorg won't even run, complaining of insufficient
memory.)

When I was using 6.0 or 6.1 on this same hardware back
in 2006, I implemented Eric Anholt's May, 2006, source
modifications in /usr/src/sys/dev/drm.  Then, with the
drm and i915drm devices in the kernel, drm0 reported
8MB of memory, and dri in xorg worked after persuading
the BIOS that there were 12MB.  I'm therefore inclined
to deem the present condition a regression.

The 2006 drm patches won't compile in 6.3, apparently
owing to subsequent changes in the code for the agp or
pci devices.  The 6.3 version of drm_agpsupport.c
treats 6.3 the way Mr. Anholt's 2006 version treated
7.x, skipping some detection routines.

Has anyone tried 7.0-RC1 with an i915?  I suspect that
it's the same as 6.3 in this regard.




  

Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs

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


linux-opera-9.25.20071214 on FreeBSD 7.0-PRERELEASE amd64 fails to start up

2008-02-03 Thread Stacey Roberts
Hello,
 I've just completed installing FreeBSD 7.0-PRERELEASE (Sat 2nd Feb 2008)
and having finished installing (latest frokm ports) X, Gnome and linux-opera,
I find that clicking on the linux-opera menu item fails to start Opera.

Nothing gets logged to messages / security, and I can't think of where else
to look for any hints as to what's going on.

Here're the details on the machine (IBM T61p):

$ uname -a
FreeBSD ibm-t61p.snipped.snipped 7.0-PRERELEASE FreeBSD 7.0-PRERELEASE #0:
Sun Feb  3 15:42:51 GMT 2008
snipped@ibm-t61p.snipped.snipped:/usr/obj/usr/src/sys/STEEL  amd64
$

Package List:
Only gnome2-2.20.2
linux-opera-9.25.20071214
xorg-7.3_1 (and all related ports from make install clean for xorg
meta-port)

Any suggestions / pointers you can offer would be appreciated, thanks.

Regards,

S Roberts

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


Re: mpd with a dual pppoe setup

2008-02-03 Thread Alexander Motin

Reinhold wrote:

If you are connecting to the ISP it would be better not to specify IP to
let them be negotiated.


How will I go ahead and set the static ips for both my wan connections?


If IPs are static then provider itself will negotiate them every time 
same. If you will specify them and provider will request another, 
negotiation will fail. So I would not recommend you to specify them.



For wan1 I have one ip and for wan2 I have 5 ips


Probably for wan2 you have one interface IP plus some network routed to 
you. PPP protocol does not allows to negotiate routed network, so that 
network probably should be configured by hands somewhere.



I was orginally thinking of seting up proxy-arp to add the extra 4 ips on
wan2 after connecting using the first ip, but now I'm not to sure anymore.


proxy-arp is working only with Ethernet. If you are going to give that 
static IPs only to PPTP users - you probably don't need it.



We need these ips because some of the websites and servers that we manage
are ip restricked for added security, this is also the reason why I have a
pptp server for the people thats not in our office.


You can specify static IPs for those users in mpd.secret file.


How does mpd5 assign the ng interfaces, in my previose cong there was a
line new -i ng0 provider PPPoE0, does mpd5 do this automatically?


Interfaces will be allocated by system in order of usage. WAN1 will be 
ng0, WAN2 - ng1 and the PPTP link's interfaces will be allocated 
dynamically on connect.


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


where to find old ports.tar.gz files

2008-02-03 Thread Jin Guojun [VFFS]
I need to get wine 0.9.37 to 0.9.39 ports build structure, mainly the 
ports/emulatoes/wine/Makefile
to build these wine releases on FreeBSD 6.3-R, but I cannot find older 
ports.tar.gz files.


Does anyone know where I can find older ports.tar.gz files that contain 
wine 0.9.37 to 0.9.39 releases?


Thanks,
-Jin


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


Re: mpd with a dual pppoe setup

2008-02-03 Thread Reinhold
Thanks for the reply.

 Here is what I've done so far.
 /usr/local/etc/mpd5/mpd.conf


 The config you have made probably suits to mpd3/4, but not to mpd5. Mpd5
 uses alike commands, but general configuration idea is different. There is
 no mpd.links file in mpd5. Read new examples present in package.

Thanks for that, I have added my new config file below.

 set ipcp ranges static-ip-0/32 isp-gateway-0/32

 If you are connecting to the ISP it would be better not to specify IP to
 let them be negotiated.

How will I go ahead and set the static ips for both my wan connections?
For wan1 I have one ip and for wan2 I have 5 ips
I was orginally thinking of seting up proxy-arp to add the extra 4 ips on
wan2 after connecting using the first ip, but now I'm not to sure anymore.

We need these ips because some of the websites and servers that we manage
are ip restricked for added security, this is also the reason why I have a
pptp server for the people thats not in our office.

Here is my new conf file.

default:
load wan1
load wan2
load pptp

wan1:
create bundle static WAN1
set iface route default
set iface up-script /usr/local/etc/mpd/script-wan1.sh
set iface down-script /usr/local/etc/mpd/script-wan1.sh
set ipcp ranges 0.0.0.0/0 0.0.0.0/0

create link static L1 pppoe
set link action bundle WAN1
set auth authname [EMAIL PROTECTED]
set auth password passwd
set pppoe iface fxp0
set pppoe service BTConnect1
load common_setting

wan2:
create bundle static WAN2
set iface route default
set iface up-script /usr/local/etc/mpd/script-wan2.sh
set iface down-script /usr/local/etc/mpd/script-wan2.sh
set ipcp ranges 0.0.0.0/0 0.0.0.0/0

create link static L2 pppoe
set link action bundle WAN2
set auth authname [EMAIL PROTECTED]
set auth password passwd
set pppoe iface fxp1
set pppoe service BTConnect2
load common_setting

common_setting:
set bundle disable multilink

set link disable pap chap
set link accept chap
set link max-redial -1
set link mtu 1492
set link mru 1492
set link keep-alive 10 60

set ipcp yes vjcomp
set ipcp enable req-sec-dns

open

pptp:
set ippool add pool1 192.168.1.220 192.168.1.240

create bundle template B
set iface enable proxy-arp
set iface idle 1800
set iface enable tcpmssfix
set ipcp yes vjcomp
set ipcp ranges 192.168.1.1/32 ippool pool1
set ipcp dns 192.168.1.5

set bundle enable compression
set ccp yes mppc
set mppc yes e40
set mppc yes e128
set mppc yes stateless

create link template L pptp
set link action bundle B
set link enable multilink
set link yes acfcomp protocomp
set link no pap chap
set link enable chap
set link keep-alive 10 60
set link mtu 1460

set pptp self wan1-static-ip
set link enable incoming

How does mpd5 assign the ng interfaces, in my previose cong there was a
line new -i ng0 provider PPPoE0, does mpd5 do this automatically?

Thanks again for the help.
Reinhold

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


Re: ext2fs: strange behaviour after alternativ boot into other OS

2008-02-03 Thread Wojciech Puchar
is maybe somenone also noticing the following behaviour in FreeBSD 7.0 RC1 on 
his system:


- have besides the FreeBSD slice additional some data partitions with ext2 on 
two discs in my system. As long as I only boot with FreeBSD, everything fine.
- but when I occasionally boot with XP (from there I access via IFS the 
ext2fs [URL=http://www.fs-driver.org/]http://www.fs-driver.org/[/URL] ) or 
with Linux and access these partitions,
- then after following boot into FreeBSD these partitions don't get mounted, 
but I have to fix them with fsck first and then can mount them


in  6.2 I had not seen this behaviour



do you open it read-write under windoze?

it is possible that ext2 support under FreeBSD is not up to date with 
possible changes in linux - so it can't mount it after being used, but 
fsck_ext2fs fixes it.


it's just idea, i don't use linux for a long so no idea how much ext2 
changed.

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


Re: linux-opera-9.25.20071214 on FreeBSD 7.0-PRERELEASE amd64 fails to start up

2008-02-03 Thread Wojciech Puchar

I find that clicking on the linux-opera menu item fails to start Opera.

Nothing gets logged to messages / security, and I can't think of where else
to look for any hints as to what's going on.


start linux opera from xterm and read what's up.

do you have

linprocfs   /compat/linux/proc  linprocfs   rw  0   0


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


Re: linux-opera-9.25.20071214 on FreeBSD 7.0-PRERELEASE amd64 fails to start up

2008-02-03 Thread Stacey Roberts
Hi Wojciech!
   Thanks for getting back to me.

On Sun, 03 Feb 2008, Wojciech Puchar wrote:

  I find that clicking on the linux-opera menu item fails to start Opera.
 
  Nothing gets logged to messages / security, and I can't think of where else
  to look for any hints as to what's going on.
 
  start linux opera from xterm and read what's up.

Here's what I get output to screen:

$ linux-opera 
[1] 2263
[EMAIL PROTECTED] ~]$ shm_allow_removed is disable, set OPERA_NUM_XSHM to 0
to disable shared memory.
ELF binary type 0 not known.
ELF binary type 0 not known.
ELF binary type 0 not known.
/usr/local/share/linux-opera/bin/opera: 1: Syntax error: ( unexpected


Flashing cursor on the last (empty) line. Hitting Enter exits the process
as follows:

[1]+  Exit 2  linux-opera

 
  do you have
 
  linprocfs   /compat/linux/proc  linprocfs   rw  0   
  0
 

No - here's what fstab looks like on the machine:

$ cat /etc/fstab 
# DeviceMountpoint  FStype  Options DumpPass#
/dev/ad4s2b noneswapsw  0   0
/dev/ad4s2a /   ufs rw  1   1
/dev/ad4s2e /home   ufs rw  2   2
/dev/ad4s2d /tmpufs rw  2   2
/dev/ad4s2f /usrufs rw  2   2
/dev/ad4s2g /varufs rw  2   2
/dev/acd0   /cdrom  cd9660  ro,noauto   0   0
$

Note that that line is not in /etc/fstab on *any* of the other FreeBSD
workstations here.

Another thing I neglected to point out is that I tried Firefox that was
installed as part of Gnome, and that fires up fine :-/

Thanks again for the response. If there's anything else I can provide, please
let me know.

Regards,

S Roberts

 
  in fstab?
  ___
  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: linux-opera-9.25.20071214 on FreeBSD 7.0-PRERELEASE amd64 fails to start up

2008-02-03 Thread Wojciech Puchar

$ linux-opera 
[1] 2263
[EMAIL PROTECTED] ~]$ shm_allow_removed is disable, set OPERA_NUM_XSHM to 0
to disable shared memory.
ELF binary type 0 not known.
ELF binary type 0 not known.
ELF binary type 0 not known.

  ^^^
this is strange - like no linux emulation active at all.

no more ideas. sorry.


/usr/local/share/linux-opera/bin/opera: 1: Syntax error: ( unexpected


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


Re: where to find old ports.tar.gz files

2008-02-03 Thread Jin Guojun [VFFS]

[EMAIL PROTECTED] wrote:

I need to get wine 0.9.37 to 0.9.39 ports build structure, mainly the 
ports/emulatoes/wine/Makefile
   



http://www.freebsd.org/cgi/cvsweb.cgi/ports/emulators/wine/
 


The page can select only tags with released FreeBSD version.
Is there any way to select an intermediate version (tag)?

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


Re: where to find old ports.tar.gz files

2008-02-03 Thread Lena
 I need to get wine 0.9.37 to 0.9.39 ports build structure, mainly the 
 ports/emulatoes/wine/Makefile
 
 http://www.freebsd.org/cgi/cvsweb.cgi/ports/emulators/wine/
 
 The page can select only tags with released FreeBSD version.
 Is there any way to select an intermediate version (tag)?

Don't select tags. Click the Makefile link.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: where to find old ports.tar.gz files

2008-02-03 Thread Jin Guojun [VFFS]

Erik Trulsson wrote:


On Sun, Feb 03, 2008 at 10:46:20AM -0800, Jin Guojun [VFFS] wrote:
 

I need to get wine 0.9.37 to 0.9.39 ports build structure, mainly the 
ports/emulatoes/wine/Makefile
to build these wine releases on FreeBSD 6.3-R, but I cannot find older 
ports.tar.gz files.


Does anyone know where I can find older ports.tar.gz files that contain 
wine 0.9.37 to 0.9.39 releases?


Thanks,
-Jin

   



You can always pull any version of source files (including the ports tree)
directly from the CVS repository.
See http://www.freebsd.org/developers/cvs.html for information on how to do
that.

You will however not find any version of the ports tree that include Wine
0.9.37 or 0.9.38 because support for those versions were never added to the
ports tree as far as I can tell.
 


Yup, only 0.9.36 and 0.9.39 are there.

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


Re: where to find old ports.tar.gz files

2008-02-03 Thread Jin Guojun [VFFS]

[EMAIL PROTECTED] wrote:

I need to get wine 0.9.37 to 0.9.39 ports build structure, mainly the 
ports/emulatoes/wine/Makefile
   


http://www.freebsd.org/cgi/cvsweb.cgi/ports/emulators/wine/

 


The page can select only tags with released FreeBSD version.
Is there any way to select an intermediate version (tag)?
   



Don't select tags. Click the Makefile link.
 


Got it.

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


Re: where to find old ports.tar.gz files

2008-02-03 Thread Erik Trulsson
On Sun, Feb 03, 2008 at 10:46:20AM -0800, Jin Guojun [VFFS] wrote:
 I need to get wine 0.9.37 to 0.9.39 ports build structure, mainly the 
 ports/emulatoes/wine/Makefile
 to build these wine releases on FreeBSD 6.3-R, but I cannot find older 
 ports.tar.gz files.
 
 Does anyone know where I can find older ports.tar.gz files that contain 
 wine 0.9.37 to 0.9.39 releases?
 
 Thanks,
 -Jin
 

You can always pull any version of source files (including the ports tree)
directly from the CVS repository.
See http://www.freebsd.org/developers/cvs.html for information on how to do
that.

You will however not find any version of the ports tree that include Wine
0.9.37 or 0.9.38 because support for those versions were never added to the
ports tree as far as I can tell.



-- 
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]


Re: linux-opera-9.25.20071214 on FreeBSD 7.0-PRERELEASE amd64 fails to start up

2008-02-03 Thread Wojciech Puchar

$ cat /etc/fstab
# DeviceMountpoint  FStype  Options DumpPass#
/dev/ad4s2b noneswapsw  0   0
/dev/ad4s2a /   ufs rw  1   1
/dev/ad4s2e /home   ufs rw  2   2
/dev/ad4s2d /tmpufs rw  2   2
/dev/ad4s2f /usrufs rw  2   2
/dev/ad4s2g /varufs rw  2   2
/dev/acd0   /cdrom  cd9660  ro,noauto   0   0
$

Note that that line is not in /etc/fstab on *any* of the other FreeBSD
workstations here.


possibly not all linux programs need this

add

linprocfs   /compat/linux/proc  linprocfs   rw  0   0


and turn ON linux emulation because this is probably your problem :)

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


wireless losing connection periodically

2008-02-03 Thread Reinis Ivanovs
hello,

I've noticed that my wireless connection tends to drop once in a while
and only restores itself after a relatively longish period. I'm
dealing with it now by connecting a laptop by wire (the box doesn't
have a screen or a keyboard) and running /etc/rc.d/netif restart
ral0, but that's a bother. googling didn't bring up any useful
results, so I'm wondering, what are the best ways to mitigate or fix
this (aside from using a wire)? I'm considering writing a simple
script that'd constantly ping my router and restart the wlan interface
if it stops responding, but perhaps there's something pre-made or more
simple than that available?

cheers,
reinis

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


Re: mpd with a dual pppoe setup

2008-02-03 Thread Reinhold
 If IPs are static then provider itself will negotiate them every time
 same. If you will specify them and provider will request another,
 negotiation will fail. So I would not recommend you to specify them.

 For wan1 I have one ip and for wan2 I have 5 ips


 Probably for wan2 you have one interface IP plus some network routed to
 you. PPP protocol does not allows to negotiate routed network, so that
 network probably should be configured by hands somewhere.


To be honest, I don't know why we have 5 ips on wan2, I have no need for
them at all. It might be usefull once I register a proper domain for the
office, but for now we are using no-ip.org and it is working just fine.
What I do know is that if I disconnect let say wan2 for some time and then
reconnect, I will be assigned an ip address on a total different subnet
and it messes up everything, I have to manually set the ips in our router
for them to be used, this is why I'm asking how I can set the ip
addresses, on wan1 if I reboot the router where I haven't set the static
ip, it does reconnect using the correct ip, but I have never disconnected
this line for more the 1 minute.

Right now I'm using wan1 for all our outgoing ftp, one site that doesn't
like load balancing and incoming pptp connections, wan2 is used for
outgoing https and ssh connections, incoming http and ssh connections is
coming in on both wan1 and wan2 depending on which ip is registered at
no-ip.org. All other outgoing connections are using both wan1 and wan2.
All this I can do with PF, but I need to find a way to set the ips.



 How does mpd5 assign the ng interfaces, in my previose cong there was a
  line new -i ng0 provider PPPoE0, does mpd5 do this automatically?

 Interfaces will be allocated by system in order of usage. WAN1 will be
 ng0, WAN2 - ng1 and the PPTP link's interfaces will be allocated
 dynamically on connect.

I'm guesing here that because you have not specified any lines from my new
config file that it should be working and thanks for explaining how it
assignes ng interfaces.

Regards
Reinhold


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


Re: linux-opera-9.25.20071214 on FreeBSD 7.0-PRERELEASE amd64 fails to start up

2008-02-03 Thread Stacey Roberts
Hi Wojciech!
   Thanks for the response.

On Sun, 03 Feb 2008, Wojciech Puchar wrote:

  $ cat /etc/fstab
  # DeviceMountpoint  FStype  Options Dump
  Pass#
  /dev/ad4s2b noneswapsw  0   0
  /dev/ad4s2a /   ufs rw  1   1
  /dev/ad4s2e /home   ufs rw  2   2
  /dev/ad4s2d /tmpufs rw  2   2
  /dev/ad4s2f /usrufs rw  2   2
  /dev/ad4s2g /varufs rw  2   2
  /dev/acd0   /cdrom  cd9660  ro,noauto   0   0
  $
 
  Note that that line is not in /etc/fstab on *any* of the other FreeBSD
  workstations here.
 
  possibly not all linux programs need this
 
  add
 
  linprocfs   /compat/linux/proc  linprocfs   rw  0   
  0
 
 
  and turn ON linux emulation because this is probably your problem :)
 

Err., if you meant to ensure that linux_enable=YES is in /etc/rc.conf,
and that linux-base is installed, then these have already been done.

Thanks all the same - I've submitted a PR.

Regards,

S Roberts

  ___
  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: linux-opera-9.25.20071214 on FreeBSD 7.0-PRERELEASE amd64 fails to start up

2008-02-03 Thread Wojciech Puchar

so please ask some else :)
i have no other ideas.

and please check your mailserver (respond on priv please)

 Feb  3 21:42:04 wojtek sm-mta[7276]: m13Kf36P007273: 
to=[EMAIL PROTECTED], ctladdr=[EMAIL PROTECTED] 
(1003/1003), delay=00:01:01, xdelay=00:01:01, mailer=esmtp, pri=31239, 
relay=mailstore1.secureserver.net. [64.202.166.11], dsn=5.1.3, stat=User unknown




Err., if you meant to ensure that linux_enable=YES is in /etc/rc.conf,
and that linux-base is installed, then these have already been done.

Thanks all the same - I've submitted a PR.

Regards,

S Roberts


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



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


Ports binary packages

2008-02-03 Thread Oren Almog
Hi

When are new binary packages available? Are they compiled only at RELEASEs?

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


Re: linux-opera-9.25.20071214 on FreeBSD 7.0-PRERELEASE amd64 fails to start up

2008-02-03 Thread Boris Samorodov
On Sun, 3 Feb 2008 20:33:10 + Stacey Roberts wrote:
 On Sun, 03 Feb 2008, Wojciech Puchar wrote:

   and turn ON linux emulation because this is probably your problem :)
  

 Err., if you meant to ensure that linux_enable=YES is in /etc/rc.conf,
 and that linux-base is installed, then these have already been done.

Strange. Please, give an output for:
% uname -a
% kldstat | grep linux
% sysctl -a | grep linux
% ls -ld /var/db/pkg/linux*

 Thanks all the same - I've submitted a PR.


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


Re: where to find old ports.tar.gz files

2008-02-03 Thread Lena
 I need to get wine 0.9.37 to 0.9.39 ports build structure, mainly the 
 ports/emulatoes/wine/Makefile

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


automatic fsck on gmirror failure

2008-02-03 Thread Gunther Mayer

Hi there,

I have a RAID 1 mirror implemented with gmirror and we recently had some 
power issues at our data centre which caused fsck to fail mysteriously. 
The server lost power unexpectedly, then came back up again for a 
minute, power died again and shortly after the next boot the following 
appears in my /var/log/messages


   Feb  2 05:20:19 myserver fsck: /dev/mirror/gm0s1f: INCORRECT BLOCK 
COUNT I=777684 (8 should be 0) (CORRECTED)
   Feb  2 05:20:19 myserver fsck: /dev/mirror/gm0s1f: CANNOT READ BLK: 
12417184
   Feb  2 05:20:19 myserver fsck: /dev/mirror/gm0s1f: UNEXPECTED SOFT 
UPDATE INCONSISTENCY; RUN fsck MANUALLY.


gm0s1f is my /usr partition. This was followed by countless errors that 
look like


   Feb  2 05:20:38 myserver ad6: TIMEOUT - READ_DMA retrying (1 retry 
left) LBA=29096879
   Feb  2 05:20:43 myserver ad6: TIMEOUT - READ_DMA retrying (0 retries 
left) LBA=29096879

   Feb  2 05:20:48 myserver ad6: FAILURE - READ_DMA timed out LBA=29096879
   Feb  2 05:20:48 myserver 
g_vfs_done():mirror/gm0s1f[READ(offset=6357598208, length=16384)]error = 5


and with it went any sort of remote access to the box. We had to get 
physical access, fsck -y and reboot for the machine to be put back into 
service.


Now my question is: Why did fsck die on me? I thought in this day and 
age file system corruptions caused by power failures are repaired 
automatically upon reboot. Or is it possible that interrupting fsck 
itself caused the problem when the system went down again after the very 
brief uptime in between?


I am really concerned about this as this caused a lot of unnecessary 
downtime and I really don't want this to ever happen again. I know, 
solving the power issues is the real solution but I want my several 
layers of peace of mind.


Oh, I run 6.2 RELEASE.

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


Re: Ports binary packages

2008-02-03 Thread Kris Kennaway

Oren Almog wrote:

Hi

When are new binary packages available? Are they compiled only at RELEASEs?


No, they are compiled and updated continuously.

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


Re: linux-opera-9.25.20071214 on FreeBSD 7.0-PRERELEASE amd64 fails to start up

2008-02-03 Thread Boris Samorodov
On Sun, 3 Feb 2008 21:07:06 + Stacey Roberts wrote:

  % kldstat | grep linux

 $ kldstat | grep linux
 $
 Nothing was returned..,

OK. Can you try kldload linux as root, repeat that kldstat... and
if it shows linux.ko then try to run linux-opera?


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


Re: linux-opera-9.25.20071214 on FreeBSD 7.0-PRERELEASE amd64 fails to start up

2008-02-03 Thread Stacey Roberts
Hi Boris!
   Good to hear from you..,


On Sun, 03 Feb 2008, Boris Samorodov wrote:

 On Sun, 3 Feb 2008 20:33:10 + Stacey Roberts wrote:
  On Sun, 03 Feb 2008, Wojciech Puchar wrote:
 
and turn ON linux emulation because this is probably your problem :)
   
 
  Err., if you meant to ensure that linux_enable=YES is in /etc/rc.conf,
  and that linux-base is installed, then these have already been done.
 
 Strange. Please, give an output for:
 % uname -a

$ uname -a
FreeBSD ibm-t61p.snipped.snipped 7.0-PRERELEASE FreeBSD 7.0-PRERELEASE #0:
Sun Feb  3 15:42:51 GMT 2008
snipped@snipped.snipped.snipped:/usr/obj/usr/src/sys/STEEL  amd64
$

 % kldstat | grep linux

$ kldstat | grep linux
$
Nothing was returned..,

 % sysctl -a | grep linux

$ sysctl -a | grep linux
hw.snd.compat_linux_mmap: 0
$

 % ls -ld /var/db/pkg/linux*

$ ls -ld /var/db/pkg/linux*
drwxr-xr-x  2 root  wheel  512 Feb  3 11:53
/var/db/pkg/linux-aspell-0.50.4.1_2
drwxr-xr-x  2 root  wheel  512 Feb  3 11:53 /var/db/pkg/linux-expat-1.95.8
drwxr-xr-x  2 root  wheel  512 Feb  3 11:56
/var/db/pkg/linux-flashplugin-9.0r115
drwxr-xr-x  2 root  wheel  512 Feb  3 11:53
/var/db/pkg/linux-fontconfig-2.2.3_7
drwxr-xr-x  2 root  wheel  512 Feb  3 11:56 /var/db/pkg/linux-openssl-0.9.7f
drwxr-xr-x  2 root  wheel  512 Feb  3 11:53
/var/db/pkg/linux-opera-9.25.20071214
drwxr-xr-x  2 root  wheel  512 Feb  3 11:53
/var/db/pkg/linux-xorg-libs-6.8.2_5
drwxr-xr-x  2 root  wheel  512 Feb  3 11:51 /var/db/pkg/linux_base-fc-4_10
$
 
If there's anything else I can supply, please let me know.

Thanks for getting in touch..,

Regards,

S Roberts

 -- 
 bsam
 ___
 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: where to find old ports.tar.gz files

2008-02-03 Thread Dmitry Marakasov
* Jin Guojun [VFFS] ([EMAIL PROTECTED]) wrote:
 I need to get wine 0.9.37 to 0.9.39 ports build structure, mainly the 
 ports/emulatoes/wine/Makefile
 to build these wine releases on FreeBSD 6.3-R, but I cannot find older 
 ports.tar.gz files.

 Does anyone know where I can find older ports.tar.gz files that contain 
 wine 0.9.37 to 0.9.39 releases?
ports/ports-mgmt/portdowngrade will help you.

-- 
Dmitry A. Marakasov| jabber: [EMAIL PROTECTED]
[EMAIL PROTECTED]   | http://www.amdmi3.ru
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: linux-opera-9.25.20071214 on FreeBSD 7.0-PRERELEASE amd64 fails to start up

2008-02-03 Thread Stacey Roberts
Hi Boris,
   Good to hear from you..,

On Mon, 04 Feb 2008, Boris Samorodov wrote:

 On Sun, 3 Feb 2008 21:07:06 + Stacey Roberts wrote:
 
   % kldstat | grep linux
 
  $ kldstat | grep linux
  $
  Nothing was returned..,
 
 OK. Can you try kldload linux as root, repeat that kldstat... and
 if it shows linux.ko then try to run linux-opera?
 

:-)

Did these after my reply to you - and Yes, linux-opera does load.

Strange this.., On my other (FreeBSD-6 Stable) machines, simply having
linux_enable=YES in /etc/rc.conf is enough. Could this be something in
7.0, or have I misunderstood something along the way?

Thanks!

Regards,

S Roberts

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


Re: buildworld failed

2008-02-03 Thread Kent Stewart
On Sunday 03 February 2008, Venkatesh K wrote:
 On Feb 3, 2008 6:34 PM, Venkatesh K [EMAIL PROTECTED] wrote:
  On Feb 3, 2008 5:36 PM, Gerard [EMAIL PROTECTED] wrote:
   On Sun, 3 Feb 2008 15:00:36 +0530
  
   Venkatesh K [EMAIL PROTECTED] wrote:
I did try that too! Still same problem.
  
   From the FreeBSD manual:
  
   23.4.14.6. What do I do if something goes wrong?
  
   Make absolutely sure your environment has no extraneous cruft
   from earlier builds. This is simple enough.
   # chflags -R noschg /usr/obj/usr
   # rm -rf /usr/obj/usr
   # cd /usr/src
   # make cleandir
   # make cleandir
 
  I had tried cleaning build tree as described above and building
  again. It was of no help.

 Here are the steps I followed.

 1. Cleaned up using following script clean.sh

 -
- chflags -R noschg /usr/obj/usr
 rm -rf /usr/obj/usr
 cd /usr/src
 make cleandir
 make cleandir
 -
- 2. Cvsup latest sources using cvsup -g -L 2 /etc/supfile
 (attached).


I have never found the cleandir to be useful when you do it more than 
once. If you rm -rf src you have done the ultimate cleandir. 
Considering all of the things you have tried, why don't you switch your 
cvsup mirror. They get out of whack once in awhile. I have been using 
cvsup8 and it is keeping up with the ports. I am starting a build to 
see if it has any problems but I don't expect any. If your port tree is 
current and your docs tree is current, you can expect your source tree 
to also be current.

Kent


-- 
Kent Stewart
Richland, WA

http://www.soyandina.com/ I am Andean project.
http://users.owt.com/kstewart/index.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: linux-opera-9.25.20071214 on FreeBSD 7.0-PRERELEASE amd64 fails to start up

2008-02-03 Thread Boris Samorodov
On Sun, 3 Feb 2008 21:39:57 + Stacey Roberts wrote:
 On Mon, 04 Feb 2008, Boris Samorodov wrote:
  On Sun, 3 Feb 2008 21:07:06 + Stacey Roberts wrote:
  
% kldstat | grep linux
  
   $ kldstat | grep linux
   $
   Nothing was returned..,
  
  OK. Can you try kldload linux as root, repeat that kldstat... and
  if it shows linux.ko then try to run linux-opera?
  

 :-)

 Did these after my reply to you - and Yes, linux-opera does load.

Good.

 Strange this.., On my other (FreeBSD-6 Stable) machines, simply having
 linux_enable=YES in /etc/rc.conf is enough. Could this be something in

This should be enough...

 7.0, or have I misunderstood something along the way?

...and nothing should be changed at 7.x. Please, check up this
line. May be it is spelled incorrectly. Or may be you have
rc.conf.local file overriding rc.conf...


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


Re: automatic fsck on gmirror failure

2008-02-03 Thread Wojciech Puchar
it failed while rebuilding with badly written data on the disk that was 
used, while other rebuild.


now it can't read it.

if you are sure that it doesn't pass through fsck before second reboot, do 
the following.


1) turn off gmirror

2) clear gmirror header on both providers

3) run fsck the other drive (not ad6, but the other used on mirror).

4) pray

5) after fsck will end it successfully (it should), create gmirror with 
the disk you checked


gmirror label options gmirror-name /dev/thedisk

6) reboot and start the system. should go well.

7) after system is running and not too much needing disk I/O, do

gmirror insert gmirror-name /dev/ad6

8) pray again, but with much less fear.

9) if gmirror will finish rebuild, all right.

if you got write errors in log, ad6 needs to be replaced.


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


xterm question

2008-02-03 Thread Chris Whitehouse
it's a stupid little question really but I have an xterm filled with a 
log file (telnetted into another machine) which is scrolled off the 
screen. How do I select all the text in one go? I only seem to be able 
to select the visible screenful, copy, paste into text file, scroll up, 
select the next screenful etc. I want the screen to scroll when the 
mouse pointer hits the top or bottom of the window.


The best I've done so far is script - it works but it's messy.

Thanks

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


xterm question

2008-02-03 Thread Robert Huff
Chris Whitehouse writes:

  it's a stupid little question really but I have an xterm filled
  with a log file (telnetted into another machine) which is
  scrolled off the screen.

If you can telnet, can you ftp?


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: speeding up buildworld/kernel

2008-02-03 Thread Brian
I have started using ccache as a result of this thread, the speed 
benefit for old hw is nice.


p3-850 Cele
This would be 3-4 hours for a buildworld and a make kernel, now it is
3234.877u 2318.444s 1:44:56.27 88.1%2580+1569k 79615+15476io 10553pf+0w

K6-2 450
This would be 8-9 hours for a buildworld and a make kernel, now it is
5835.095u 3103.667s 3:29:42.86 71.0%-2168+1636k 140556+17495io 
15489pf+0w


This definitely makes it more feasible to use older hardware longer.

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


Re: Question about restore

2008-02-03 Thread Jerry McAllister
On Sat, Feb 02, 2008 at 08:28:37PM +0700, Fira wrote:

 Hi list,
 
 I want to migrate one of my server (machine A) into another (machine B). My
 choice is using 'dump' and 'restore'. I've dumped all of my filesystem into
 third machine (machine C)  over ssh. All went fine.
 Then, I want to restore it into machine B. This machine is newly fresh, no
 freebsd inside. My plan is restore the dump file into it by using installer
 CD. I use the cd/dvd fixit mode. At this time, my confusion begun. To
 restore it,  I need to create the slice.  I  did 'fdisk' and 'disklabel'
 from sysinstall. But it failed. I followed tutorial from
 http://devpit.org/wiki/Dump_and_Restore_over_SSH [of course with some
 adjustment], but I still failed.
 
 My question is, how is the right way to do the restore in a system that
 hasn't been installed with freebsd at all? From what I get in google, every
 restore example is done on a system that has been installed an OS.

I am not sure what didn't happen or if you left something out of your 
description, but I will take a shot here.

First, You also don't mention the FreeBSD version you are working with, 
but 'disklabel' has been replaced with 'bsdlabel' several versions ago.

Next, although you say you used fdisk to create slices and bsdlabel[disklabel]
(presumably to create partitions) you don't mention using newfs to create
filesystems on the partitions.  

Then, you do not mention creating any mount points for the new 
filesystems/partitions.

These can all be done using sysinstall on the install CD and that can
be a good way to do it.   You tend to forget fewer steps, because it
keeps track of them for you.   It is not a bad thing to just do a very basic
install of the version you want and with the partitions created to the
size you want.   Then restore the backups right over it.   

Or, maybe better than that, just create the slice/partitions/filesystems 
with sysinstall and then get out of it and boot again and go into 
the 'fixit' sell.  That will have enough to do everything.   If you use 
sysinstall this way, you will still manually need to create mount points
and mount the new filesystems.

So, here is the general procedure - presuming you are using the disk
only for FreeBSD.  Dual boot is similar, but you need to specify a couple
of things differently.

Boot the install disk and bring up either the fixit or sysinstall.

Use fdisk (or sysinstall) to create a single slice that is marked
as bootable.  Also write the standard FreeBSD MBR.

fdisk -BI da0  (presuming your disk is da0 (SCSI)  
 would be ad0 if IDE/STAT)

Use bsdlabel to create a boot sector on the disk and the partitions.

bsdlabel -w -B da0s1   (Initializes the slice and writes boot sector)

bsdlabel -e da0s1  (Brings up edit mode to edit the partition table)

Then use newfs to create filesystems on all partitions except swap.

newfs /dev/da0s1a  (for partition a which will be mounted as /  (root)
partition 'b' will be swap
partition 'c' is special to describe the slice
 and is unused for actual partitions
newfs /dev/da0s1d  (for the 'd' partition - maybe /tmp)
newfs /dev/da0s1e  (for 'e' partition - maybe /usr)
   etc  as needed   for all partitions

The above may be done by sysinstall.
The rest needs to be done from fixit or a running system - i'd recommend fixit

Now create mount points for each partition -- note that in the fixit disk
your main/root writable filesystem that the fixit is running from is
in memory and not on disk, so if you reboot before completing stuff, 
the mount points will disappear.

mkdir /newroot for partition a  which will become your root
mkdir /newusr  for partition e, /usr in my example
  etc as needed

Mount the partitions
mount /dev/da0s1a /newroot
mount /dev/da0s1e /newusr
  etc  as needed

Now you are ready to do the restores.

Still from the fixit disk
cd /newroot
restore -rf  plus you add all your piping from the 
 place you have the dump stored.
cd /newusr
restore -rf  pluss all the pipings.

You should now be able to reboot and run the new machine.

Now, if you are not using the latest FreeBSD, I would suggest that
you boot the latest (6.3) version and build the whole new system
with that and instead of just restore the dumps as is, make a nice
big extra partition/filesystem, restore each dump there and  then
pick and choose out of it what you want to add back in to the new
whole system.  That would mostly be just some configuration stuff
in the systems areas (root and /usr) and then your user storage, maybe
living in /home or whereever you had it.

jerry



 
 Thanks a lot guys!
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To 

Re: xterm question

2008-02-03 Thread swell . k
Chris Whitehouse [EMAIL PROTECTED] writes:

 it's a stupid little question really but I have an xterm filled with a
 log file (telnetted into another machine) which is scrolled off the
 screen. How do I select all the text in one go? I only seem to be able
 to select the visible screenful, copy, paste into text file, scroll
 up, select the next screenful etc. I want the screen to scroll when
 the mouse pointer hits the top or bottom of the window.

 The best I've done so far is script - it works but it's messy.

1 start selection by left mouse button
2 scroll to the end of desired text
3 extend selection by right mouse button

?

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


Re: Looking for a Text on ZFS

2008-02-03 Thread [EMAIL PROTECTED]
On 03/02/2008, Christian Baer [EMAIL PROTECTED] wrote:
 On Sat, 2 Feb 2008 21:38:49 -0600 [EMAIL PROTECTED] wrote:

  Well, the best, I think.

 I take ist, you don't approve of ZFS? :-)


It is not a panacaea.
The optimisation and sharing of r/w,
Load balancing,
And redundant data verification
(to say nothing of the supposed ability
to blindly stab disks into a nearly infinite
array) are all features that I can see
being appreciated.
In a couple of processor generations.
(I am talking desktop junk here)
The kids running big iron will have already
decided and my feeble arguments are like
sand in a badger's vagina.

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


usb wifi

2008-02-03 Thread Brian
Has anyone tried the usb based wifi adapters, something like this 
http://catalog.belkin.com/IWCatProductPage.process?Product_Id=179211 
with freebsd?


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


Re: xterm question

2008-02-03 Thread Ashish Shukla आशीष शुक्ल
 swell k writes:
swell Chris Whitehouse [EMAIL PROTECTED] writes:

 it's a stupid little question really but I have an xterm filled with a
 log file (telnetted into another machine) which is scrolled off the
 screen. How do I select all the text in one go? I only seem to be able
 to select the visible screenful, copy, paste into text file, scroll
 up, select the next screenful etc. I want the screen to scroll when
 the mouse pointer hits the top or bottom of the window.
 
 The best I've done so far is script - it works but it's messy.

swell 1 start selection by left mouse button
swell 2 scroll to the end of desired text
swell 3 extend selection by right mouse button

swell ?

Thanks for the solution. It works for me :)

-- 
Ashish Shukla आशीष शुक्ल  http://wahjava.wordpress.com/
·-- ·-  ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- --
freed.in | freedom in technology and software | 22-24 February 2008 | Delhi
 ··-· ·-· · · -·· ·-·-·- ·· -·   ··--- - - ---··


pgpYk9tOli6Rm.pgp
Description: PGP signature