Re: AMANDA 2.5.1p2 and GNU tar 1.16.1, the latter returning 1

2007-02-03 Thread Wolfgang Zenker
Hi,

 Does anybody besides me have problems with AMANDA 2.5.1p2 and GNU tar 
 1.16.1? The problem is that gtar exits with an exit status of 1 after 
 creating the archive. This leeds to AMANDA dumping the affected 
 filesystems at least twice.
 [..]
 Here's an exerpt from an AMANDA mail report:

 /--  monitor.fig.ol.no / lev 0 FAILED [/usr/local/bin/gtar returned 1]
 sendbackup: start [monitor.fig.ol.no:/ level 0]
 sendbackup: info BACKUP=/usr/local/bin/gtar
 sendbackup: info RECOVER_CMD=/usr/local/bin/gtar -f - ...
 sendbackup: info end
 ? GNUTAR: ./proc: file changed as we read it
 | Total bytes written: 173752320 (166MiB, 3.0MiB/s)
 sendbackup: error [/usr/local/bin/gtar returned 1]
 \

the exit status of 1 is due to ./proc: file changed as we read it.
As you probably don't want to backup /proc anyway, exclude it from
your backup config.

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


Re: AMANDA 2.5.1p2 and GNU tar 1.16.1, the latter returning 1

2007-02-03 Thread Trond Endrestøl
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Sat, 3 Feb 2007 09:31+0100, Wolfgang Zenker wrote:

  /--  monitor.fig.ol.no / lev 0 FAILED [/usr/local/bin/gtar returned 1]
  sendbackup: start [monitor.fig.ol.no:/ level 0]
  sendbackup: info BACKUP=/usr/local/bin/gtar
  sendbackup: info RECOVER_CMD=/usr/local/bin/gtar -f - ...
  sendbackup: info end
  ? GNUTAR: ./proc: file changed as we read it
  | Total bytes written: 173752320 (166MiB, 3.0MiB/s)
  sendbackup: error [/usr/local/bin/gtar returned 1]
  \
 
 the exit status of 1 is due to ./proc: file changed as we read it.

Are you absolutely sure?

gtar is run with, among other options, --one-file-system and 
- --ignore-failed-read.

 As you probably don't want to backup /proc anyway, exclude it from
 your backup config.

This shouldn't be neccessary since / is the only specified filesystem.


Trond.

- -- 
- --
Trond Endrestøl  |   [EMAIL PROTECTED]
Patron of The Art of Computer Programming|   FreeBSD 6.2-S  Pine 4.64

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (FreeBSD)

iD8DBQFFxFZhbYWZalUoElsRAs3XAJ9LCdlXLXAemoloa+GaItKt8K8zsQCdHrLQ
bZwU2/DGVrcL9CdaL1O/JuE=
=56Zy
-END PGP SIGNATURE-___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]

Linux Binary Compitability

2007-02-03 Thread Thomas Roberts
How important is it to include Linux binary
compatibility when installing 6.2-RELEASE?  I am
guessing it is only needed if I want to use an
application that was compiled by/for Linux, but I am
new to FreeBSD so I will be using it mostly for:

1 - learning the system (i.e. what goes where, when
and why) and how to configure whatever can be
configured.
2 - running GNUstep and related development
applications to compliment  my Obj-C/Cocoa
development.
3 - running GNOME and/or KDE since GNUstep has a
limited number of applications available, most
notably, a web browser.
4 - learning to create and use shell scripts to
customize my environment.

The only applications I will be using are the ones in
the ports collection that I can use portmanager to
create and update.


 

8:00? 8:25? 8:40? Find a flick in no time 
with the Yahoo! Search movie showtime shortcut.
http://tools.search.yahoo.com/shortcuts/#news
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Linux Binary Compitability

2007-02-03 Thread LI Xin
Thomas Roberts wrote:
 How important is it to include Linux binary
 compatibility when installing 6.2-RELEASE?  I am
 guessing it is only needed if I want to use an
 application that was compiled by/for Linux, but I am
 new to FreeBSD so I will be using it mostly for:
 
 1 - learning the system (i.e. what goes where, when
 and why) and how to configure whatever can be
 configured.
 2 - running GNUstep and related development
 applications to compliment  my Obj-C/Cocoa
 development.
 3 - running GNOME and/or KDE since GNUstep has a
 limited number of applications available, most
 notably, a web browser.
 4 - learning to create and use shell scripts to
 customize my environment.
 
 The only applications I will be using are the ones in
 the ports collection that I can use portmanager to
 create and update.

Your assumption is correct.  Linux binary compatibility is only
necessary when you need to install some pre-compiled binaries from Linux
system, and this is usually a last resort if you don't get source code.
 Native versions, if available, are usually better.

Cheers,
-- 
Xin LI [EMAIL PROTECTED]  http://www.delphij.net/
FreeBSD - The Power to Serve!



signature.asc
Description: OpenPGP digital signature


Re: parallel port printer: interrupt storm system slowdown with 6.2-release

2007-02-03 Thread Jost Menke

On Fri, 02 Feb 2007 18:32:05 +0100, Roland Smith [EMAIL PROTECTED] wrote:



Put the parallel port in polling mode with 'lptcontrol -p'. Or by
putting 'hint.ppc.0.flags=0x28' in /boot/device.hints, and reboot.

Roland



I already tried all the lptcontrol modes, including -p, without success.  
Any other ideas?


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


Re: BTX issues when booting from a USB CD-ROM

2007-02-03 Thread Torfinn Ingolfsen
On Mon, 22 Jan 2007 21:07:12 +
Bruce M. Simpson [EMAIL PROTECTED] wrote:

 Until the btx code is rewritten to deal with BIOS routines which
 expect to be run from within real mode and not vm86 mode, GRUB is
 probably the most convenient workaround for the issue.

Hmm, I am trying to get grub to work. Do I need a special version of
grub in order to boot FreeBSD?

I now have an external usb hard drive with the following partitions:
1: primary partition, FreeBSD (6.x)
2: primary partition, FreeBSD (7.x)
3: extended partition, contains
   - linux-swap (2 GB)
   - linux, ext3 Ubuntu 6.10

with grub 0.97 (it is the version that comes with Ubuntu 6.10) as boot
loader. 
However, when I try to load FreeBSD, it doesn't work, I only get this
error:
 18 : Selected cylinder exceeds maximum supported by BIOS

I also tried grub-install with the --force-lba parameter, that didn't
help either.

Any hints?
-- 
Regards,
Torfinn Ingolfsen,
Norway

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


dd as an imaging solution.

2007-02-03 Thread Sean Bryant
Several months ago I was using Freesbie 1.x to dd a harddrive across the 
network as a drive duplication effort. This worked 7 computers got the 
image. I'm trying to do this again so I got the new Freesbie release 2.0 
and fired it up across the computers and tried something simple such as:


dd if=/dev/ad0 bs=1m | nc othercomputer 1 on the image provider

nc -l 1 | dd of=/dev/ad0 bs=1m on the computer to receive the image.

I received an operation not permitted. My first thought was they must be 
mounted. a quick check, and it seems they weren't.
Next, am I really root? And sure enough I was. After a bit of discussion 
in #freesbie on freenode got me to set kern.geom.debugflags to 16 and I 
was able to write to ad0 like I had previously done. Yet when I tried to 
write to an individual slice I was presented with the same error.


Anyone have any clue ? The eventual goal is to have a mass imaging all 
at once with dd, nc and tee


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


Re: wireless + ndis on Compaq TC1000 revisited

2007-02-03 Thread John Nielsen
On Saturday 03 February 2007 02:05, John Nielsen wrote:
 This is a bit of a followup to my post of over a year ago:

 http://lists.freebsd.org/pipermail/freebsd-stable/2005-November/020289.ht
ml

 I've been playing with FreeBSD on the TC1000 Tablet PC again lately and
 brought it up to 6-STABLE. Compaq still has the same (Windows) drivers
 for the built-in wlan device as they did the last time, and it still
 doesn't work with ndis (ndisgen succeeds but the module causes a panic
 when it is loaded).

 However today I was able to locate an alternate driver for the card on
 one of the secondhand Windows driver websites. It's an NDIS 5.1 driver
 that works with my hardware under Windows XP, but it doesn't seem
 terribly modern (it comes with its own utility for setting the wireless
 settings).

 Under FreeBSD, ndisgen produced a module without any problem, and this
 one _doesn't_ case a panic when loaded. And it only sometimes causes a
 panic when trying to configure the interface (possibly just a race
 condition at boot).

 I'm now able to configure the interface and see it associate on both
 ends. When I attempt to get a DHCP lease, the DHCP server sees the
 request and sends an offer but the tablet never receives it for some
 reason. So it seems I can send (on Layer 2 at least) but not receive.
 Layer 3 doesn't work in either direction, presumably because the tablet
 never gets any ARP replies.

 I'm wondering if anyone has any experience with similar situations and/or
 ideas for workarounds or troubleshooting strategies (or even vague
 theories). The files I'm using are netvnpci.inf and
 pcifvnet.sys--a FastVNET PCI 11M Network Adapter driver from ATMEL.

In case anyone's interested (Milan O, are you out there?), I got this 
working (for basic values of working). I didn't actually get anywhere 
with the NDIS 5.1 (WinXP) driver, but I can send _and_ receive using the 
NDIS 5.0 (Win2k) driver. The driver is a pseudo-ethernet driver (from the 
days before Windows had 802.11 support) so it has some warts, but working 
is better than not, IMO.

I actually had the same problem with this one as I did with the other one 
(could send but not receive) until I disabled usbd. No idea why that 
matters, but running usbd definitely makes the driver stop receiving 
packets. This might be related to the issues I was having with the XP 
driver, but the same workaround (disabling usbd) didn't have any effect 
with that one.

For anyone who might want to do the same thing, here's what I did:

Download Atmeldrivers.zip (9.7M) from DriverGuide.com (registration 
required).
Extract and go to the USB Adapter/Driver and Utility/Drivers/PCI/win982k 
directory.
Run ndisgen using NETVNpci.INF and pcifvnet.sys.
Copy the resultant pcifvnet_sys.ko into /boot/modules.
Add 'pcifvnet_sys_load=YES' to /boot/loader.conf.
Add 'ifconfig_ndis0=DHCP' to /etc/rc.conf.
Create an /etc/rc.early file with contents similar to this:
  #!/bin/sh
  sysctl dev.ndis.0.ESSID=myssid
  ifconfig ndis0 up
  sleep 5
Apply the attached patch to src/sys/dev/if_ndis/if_ndis.c, then rebuild and 
reinstall the ndis and if_ndis modules. This might be optional (not 100% 
sure), but without it you'll get lots of complaints about unknown ethernet 
speeds. The patch just tells the driver to treat all the wireless speeds as 
10baseT.
Reboot.

I'm not sure if setting the ESSID is necessary or even useful, since the 
card will associate fine without it. I also don't know if or how well WEP 
works using the registry-key sysctls.

I'm still open to thoughts on why the WinXP driver wouldn't work or why this 
one only works without usbd, but I'm probably done messing with it for a 
little while at least.

JN
--- if_ndis.c.orig	Sat Feb  3 15:51:11 2007
+++ if_ndis.c	Sat Feb  3 17:23:27 2007
@@ -2007,6 +2007,18 @@
 	case 10:
 		ifmr-ifm_active |= IFM_10_T;
 		break;
+	case 1:
+		ifmr-ifm_active |= IFM_10_T;
+		break;
+	case 2:
+		ifmr-ifm_active |= IFM_10_T;
+		break;
+	case 55000:
+		ifmr-ifm_active |= IFM_10_T;
+		break;
+	case 11:
+		ifmr-ifm_active |= IFM_10_T;
+		break;
 	case 100:
 		ifmr-ifm_active |= IFM_100_TX;
 		break;
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: Problem with s5000PAL using a SRCS16 in Raid 5 with 5 * 500gig drives

2007-02-03 Thread Paul

Hello,

Does anyone have any suggestions how to better diagnose this problem?

I have installed a trimmed down custom kernel with a rebuild of the 
latest stable version and it did not make a difference.


It would be great to get to the bottom of the reason for the odd 
freezing from time to time as the system is not stable in its current state.


What tools do people use to diagnose such problems as I have never 
had this problem in Freebsd?


Thanks,

Paul

I have been having troubles installing the amd64 platform on an 
Intel S5000pal system with the SRCS16 Raid controller using Raid 5 
with 5 * 500gig drives.


In order to get it to install I had to split the raid setup into two 
logical arrays. I guess it was too close to the 2TB limit as it was 
giving me read sector error when booting.


However I now have it booting but it gets stuck at the

Attempting to mount / (the root partition).

This goes on for like 20 minutes and then it finally proceeds. This 
seems odd and clearly is a problem to mount the small / root 
partition that is only a few gigs big.


Does anyone have an idea what is going on here?

I also noticed it with adding a user it added the user but got stuck 
for like 10 minutes before proceeding.


This system has 16GIG of ram using the amd64 platform and has 2 dual 
core cps running.


I installed the centos just to see if there were any problems with 
this operating system (in case this was hardware related) but it 
worked 100% without any fuss. The problem is I want to use Freebsd 
:) So I do not believe this is hardware related.


If anyone reading this has set  up a S5000PAL system can they let me 
know what settings they used to have a successful installation?


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


freebsd on laptop (len problem)

2007-02-03 Thread S. M. Ibrahim \(Lavlu\)
i installed freebsd 6 on a old laptop, it's p3 600 mhz.
everthing goes fine, but after installation, my len is not working. It's IBM 
10/10 EtherJet CardBus Adapter and connected in pcmci . it's not detected. Any 
idea ?
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]