Re: /boot/loader failed ....

2006-10-30 Thread Norbert Augenstein
On Mon, Oct 30, 2006 at 01:28:31AM +0100, Norbert Augenstein wrote:
 No prblems with the new em code here:)
 
 regards,
 -- auge
   
Hi all,

i have some mailproblem here, sorry:)
My update to RELENG_6 yesterday ends in this endless rebooting
problem caused by /boot/loader ... again.

em is fine here:)
-- auge

-- 
 1:10PM  up 84 days, 14:14, 0 users, load averages: 0.01, 0.01, 0.00

I do not know whether I was then a man dreaming I was a
butterfly, or whether I am now a butterfly dreaming I am a man.
-- Chuang-tzu
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Dell 1955 Blade - Broadcom NIC not detected (BCM5708S)

2006-10-30 Thread Conrad Burger

I am trying to get FreeBSD to work on a Dell 1955 blade. Looks like
the NICs on the blade are not supported by the BCE or BGE driver.

On Linux the NICs are identified as 06:00.0 Ethernet controller:
Broadcom Corporation NetXtreme II BCM5708S Gigabit Ethernet (rev 11)


From if_bce.c

-
* The following controllers are not supported by this driver:
* (These are not Production versions of the controller.)
*   BCM5706C A0, A1
*   BCM5706S A0, A1, A2, A3
*   BCM5708C A0, B0
*  -- BCM5708S -- A0, B0, B1

Is there any reason why the chipset is not supported? Is there anyway
of getting the BCE or BGE driver to work with this chipset? Will it be
supported sometime in the near future?

Any help would be much appreciated.

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


panic: vfs_getopt: caller passed 'opts' as NULL

2006-10-30 Thread Ulrich Spoerlein

RELENG_6 from 30th October, trying to do two nullfs mounts from two
amd-mounted directories (i.e., NFS mounts).

Funny thing is, this amd/nfs/mount_nullfs is working on several other
machines from a RELENG_6 checkout of 25th October.

panic: vfs_getopt: caller passed 'opts' as NULL
cpuid = 1
KDB: stack backtrace:
kdb_backtrace(100,c8506780,c852c870,c8df3450,e8d0ca5c,...) at kdb_backtrace+0x29
panic(c089c395,c852c870,c8721b90,e8d0ca80,e8d0cadc,...) at panic+0x114
vfs_getopt(0,c8df3450,e8d0ca58,e8d0ca5c,0,...) at vfs_getopt+0x1d
nullfs_mount(c8721b90,c8506780,0,c8df46c0,c8cd1c3c,...) at nullfs_mount+0x70
vfs_domount(c8506780,c852c870,c8433a40,0,c851cc50,c0971700,0,c089be7a,2a3)
at vfs_domount+0x687
vfs_donmount(c8506780,0,c86ffd00,c86ffd00,0,...) at vfs_donmount+0x2ef
nmount(c8506780,e8d0cd04) at nmount+0x8b
syscall(3b,3b,3b,bfbfe3b4,bfbfec0c,...) at syscall+0x25b
Xint0x80_syscall() at Xint0x80_syscall+0x1f
--- syscall (378, FreeBSD ELF32, nmount), eip = 0x280ba4d7, esp =
0xbfbfe33c, ebp = 0xbfbfebb8 ---
KDB: enter: panic
[thread pid 60225 tid 100085 ]
Stopped at  kdb_enter+0x2b: nop
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Strange problem with ipfilter

2006-10-30 Thread Stephen Clark

Hello List,

We are having a strange problem with RELENG_6_1 and ipfilter 4.1.8.

We are running gre tunnels over fast_ipsec tunnels. We have the following
rule in ipf:
pass out proto icmp from any to any keep state

When we ping from the remote end across the ipsec tunnel to the ipsec 
local endpoint

address it works fine.

When we ping the local gre endpoint from the remote end ipf blocks the 
icmp-reply.


This works with 4.9 and ipfilter 3.4.31.

We can work around this by disabling the ipf rule - but is anyone
else experiencing problems with ipfilter 4.1.8?

Thanks,
Steve

--

They that give up essential liberty to obtain temporary safety, 
deserve neither liberty nor safety.  (Ben Franklin)


The course of history shows that as a government grows, liberty 
decreases.  (Thomas Jefferson)




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


Re: ggated not working on 6.2-PRERELEASE

2006-10-30 Thread Pawel Jakub Dawidek
On Sun, Oct 29, 2006 at 06:48:18PM +0100, Christian Laursen wrote:
 Christian Laursen [EMAIL PROTECTED] writes:
 
  Kazuaki ODA [EMAIL PROTECTED] writes:
 
  I tried to find what broke ggated, and finally found that it works fine
  when I backout sys/kern/uipc_socket2.c rev. 1.147.2.7.
 
  I will try to reproduce that here.
 
 I can confirm that it works for me too with the above mentioned change
 backed out.

This was ggate bug. I committed fix to HEAD and will MFC it in one week.

Thank you!

-- 
Pawel Jakub Dawidek   http://www.wheel.pl
[EMAIL PROTECTED]   http://www.FreeBSD.org
FreeBSD committer Am I Evil? Yes, I Am!


pgpExtsT3rHx9.pgp
Description: PGP signature


Re: Standrat way to apply custom patches. WAS [Re: Pleading for commit]

2006-10-30 Thread Doug Barton
Stefan Lambrev wrote:
 Hello,
 
 While talking about custom patches, what's the best way to apply patches
 after every cvsup.

The two most common ways to do this are to cvsup the CVS repo and then
check out your sources; and to write a script that calls cvsup, and
then immediately applies your patches. The advantage to the first
method is that cvs is pretty good about merging in new changes to a
file that you have patched. The advantage to the second method is that
it's faster.

hth,

Doug

-- 

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


Re: Still possible to directly boot without loader?

2006-10-30 Thread John Baldwin
On Thursday 26 October 2006 15:54, Ruslan Ermilov wrote:
 On Thu, Oct 26, 2006 at 03:42:34PM -0400, John Baldwin wrote:
  On Thursday 26 October 2006 15:18, Ruslan Ermilov wrote:
   On Thu, Oct 26, 2006 at 11:38:24AM -0400, John Baldwin wrote:
On Thursday 26 October 2006 10:42, Ruslan Ermilov wrote:
 On Thu, Oct 26, 2006 at 10:28:09AM -0400, John Baldwin wrote:
  boot2 should do whatever loader does.
  
 But this would be a regression, since loader(8) does the following,
 in the ELF32 case:
 
 : 0 edoofus:ttyp2:/sys/boot/i386/libi386 grep -w entry 
elf32_freebsd.c
 : vm_offset_t entry, bootinfop, modulep, 
kernend;
 : entry = ehdr-e_entry  0xff;
 : printf(Start @ 0x%lx ...\n, entry);
 : __exec((void *)entry, boothowto, bootdev, 0, 0, 0, bootinfop, 
modulep, kernend);

Ah, ok.  Make them both just mask the top 8 bits then. :)

   OK, I backed out your change to boot2.c.
  
  Sorry, I meant that both boot2 and loader should follow your proposal of 
masking 28 bits.
  Just masking the top 4 bits is probably sufficient.
  
 :-)
 
 OK, I'll craft a patch tomorrow.  This will also require patching at least
 sys/boot/common/load_elf.c:__elfN(loadimage), maybe something else.
 I think we could actually mask 30 bits; that would allow to load 1G kernels,
 provided that sufficient memory exists.

Actually, please mask 4 bits.  Not all kernels run at 0xc000.  You can 
adjust that address via 'options KVA_PAGES'.  I know of folks who run kernels 
at 0xa000 for example because they need more KVA.  This is part of why I 
really don't like the masking part, though I'm not sure there's a way to 
figure out KERNBASE well enough to do the more correct 'pa = addr - KERNBASE' 
rather than 'pa = addr  0x0fff'.

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


Re: Entropy

2006-10-30 Thread Doug Barton
Clayton Milos wrote:
 Hi there
 
 
 I'm having the same problem as Greg Bernard (bsd_at_todoo.biz).
 
 Every 11 minutes I get a mail from my servers but instead of it
 containing -- which is what Greg is getting it contains this:
 
 COPYRIGHT: not found
 
 Upon further investigation if I try run any of the shell scripts in
 /usr/local/etc/rc.d/ I get this error on the console:
 
 000.apache2libs.sh: not found

You have something other than variable assignments in /etc/rc.conf
and/or rc.conf.local. Don't do that.

Doug

-- 

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


Re: panic: vfs_getopt: caller passed 'opts' as NULL

2006-10-30 Thread Kris Kennaway
On Mon, Oct 30, 2006 at 05:41:28PM +0200, Ulrich Spoerlein wrote:
 RELENG_6 from 30th October, trying to do two nullfs mounts from two
 amd-mounted directories (i.e., NFS mounts).
 
 Funny thing is, this amd/nfs/mount_nullfs is working on several other
 machines from a RELENG_6 checkout of 25th October.
 
 panic: vfs_getopt: caller passed 'opts' as NULL

This can happen if you are using filesystem modules but your kernel is
built with nonstandard options (DEBUG_*_LOCKS is a culprit, I think).

Kris


pgpYD5WtRbYdu.pgp
Description: PGP signature


Re: Dell 1955 Blade - Broadcom NIC not detected (BCM5708S)

2006-10-30 Thread Pyun YongHyeon
On Mon, Oct 30, 2006 at 04:17:00PM +0200, Conrad Burger wrote:
  I am trying to get FreeBSD to work on a Dell 1955 blade. Looks like
  the NICs on the blade are not supported by the BCE or BGE driver.
  
  On Linux the NICs are identified as 06:00.0 Ethernet controller:
  Broadcom Corporation NetXtreme II BCM5708S Gigabit Ethernet (rev 11)
  
  From if_bce.c
  -
  * The following controllers are not supported by this driver:
  * (These are not Production versions of the controller.)
  *   BCM5706C A0, A1
  *   BCM5706S A0, A1, A2, A3
  *   BCM5708C A0, B0
  *  -- BCM5708S -- A0, B0, B1
  
  Is there any reason why the chipset is not supported? Is there anyway
  of getting the BCE or BGE driver to work with this chipset? Will it be
  supported sometime in the near future?
  
  Any help would be much appreciated.
  

It seems that there is typo in bce(4) driver.
Try attached patch.

-- 
Regards,
Pyun YongHyeon
Index: if_bce.c
===
RCS file: /pool/ncvs/src/sys/dev/bce/if_bce.c,v
retrieving revision 1.17
diff -u -r1.17 if_bce.c
--- if_bce.c21 Oct 2006 07:54:39 -  1.17
+++ if_bce.c31 Oct 2006 00:37:47 -
@@ -116,8 +116,8 @@
Broadcom NetXtreme II BCM5708 1000Base-T },
 
/* BCM5708S controllers and OEM boards. */
-   { BRCM_VENDORID, BRCM_DEVICEID_BCM5708,  PCI_ANY_ID,  PCI_ANY_ID,
-   Broadcom NetXtreme II BCM5708 1000Base-T },
+   { BRCM_VENDORID, BRCM_DEVICEID_BCM5708S,  PCI_ANY_ID,  PCI_ANY_ID,
+   Broadcom NetXtreme II BCM5708S 1000Base-T },
{ 0, 0, 0, 0, NULL }
 };
 
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: Dell 1955 Blade - Broadcom NIC not detected (BCM5708S)

2006-10-30 Thread Scott Long

Pyun YongHyeon wrote:

On Mon, Oct 30, 2006 at 04:17:00PM +0200, Conrad Burger wrote:
  I am trying to get FreeBSD to work on a Dell 1955 blade. Looks like
  the NICs on the blade are not supported by the BCE or BGE driver.
  
  On Linux the NICs are identified as 06:00.0 Ethernet controller:

  Broadcom Corporation NetXtreme II BCM5708S Gigabit Ethernet (rev 11)
  
  From if_bce.c

  -
  * The following controllers are not supported by this driver:
  * (These are not Production versions of the controller.)
  *   BCM5706C A0, A1
  *   BCM5706S A0, A1, A2, A3
  *   BCM5708C A0, B0
  *  -- BCM5708S -- A0, B0, B1
  
  Is there any reason why the chipset is not supported? Is there anyway

  of getting the BCE or BGE driver to work with this chipset? Will it be
  supported sometime in the near future?
  
  Any help would be much appreciated.
  


It seems that there is typo in bce(4) driver.
Try attached patch.





Index: if_bce.c
===
RCS file: /pool/ncvs/src/sys/dev/bce/if_bce.c,v
retrieving revision 1.17
diff -u -r1.17 if_bce.c
--- if_bce.c21 Oct 2006 07:54:39 -  1.17
+++ if_bce.c31 Oct 2006 00:37:47 -
@@ -116,8 +116,8 @@
Broadcom NetXtreme II BCM5708 1000Base-T },
 
 	/* BCM5708S controllers and OEM boards. */

-   { BRCM_VENDORID, BRCM_DEVICEID_BCM5708,  PCI_ANY_ID,  PCI_ANY_ID,
-   Broadcom NetXtreme II BCM5708 1000Base-T },
+   { BRCM_VENDORID, BRCM_DEVICEID_BCM5708S,  PCI_ANY_ID,  PCI_ANY_ID,
+   Broadcom NetXtreme II BCM5708S 1000Base-T },
{ 0, 0, 0, 0, NULL }
 };
 






Why remove a valid entry?

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


Re: Dell 1955 Blade - Broadcom NIC not detected (BCM5708S)

2006-10-30 Thread Pyun YongHyeon
On Mon, Oct 30, 2006 at 08:06:28PM -0700, Scott Long wrote:
  Pyun YongHyeon wrote:
  On Mon, Oct 30, 2006 at 04:17:00PM +0200, Conrad Burger wrote:
I am trying to get FreeBSD to work on a Dell 1955 blade. Looks like
the NICs on the blade are not supported by the BCE or BGE driver.

On Linux the NICs are identified as 06:00.0 Ethernet controller:
Broadcom Corporation NetXtreme II BCM5708S Gigabit Ethernet (rev 11)

From if_bce.c
-
* The following controllers are not supported by this driver:
* (These are not Production versions of the controller.)
*   BCM5706C A0, A1
*   BCM5706S A0, A1, A2, A3
*   BCM5708C A0, B0
*  -- BCM5708S -- A0, B0, B1

Is there any reason why the chipset is not supported? Is there anyway
of getting the BCE or BGE driver to work with this chipset? Will it be
supported sometime in the near future?

Any help would be much appreciated.

  
  It seems that there is typo in bce(4) driver.
  Try attached patch.
  
  
  
  
  
  Index: if_bce.c
  ===
  RCS file: /pool/ncvs/src/sys/dev/bce/if_bce.c,v
  retrieving revision 1.17
  diff -u -r1.17 if_bce.c
  --- if_bce.c21 Oct 2006 07:54:39 -  1.17
  +++ if_bce.c31 Oct 2006 00:37:47 -
  @@ -116,8 +116,8 @@
  Broadcom NetXtreme II BCM5708 1000Base-T },
   
  /* BCM5708S controllers and OEM boards. */
  -   { BRCM_VENDORID, BRCM_DEVICEID_BCM5708,  PCI_ANY_ID,  PCI_ANY_ID,
  -   Broadcom NetXtreme II BCM5708 1000Base-T },
  +   { BRCM_VENDORID, BRCM_DEVICEID_BCM5708S,  PCI_ANY_ID,  PCI_ANY_ID,
  +   Broadcom NetXtreme II BCM5708S 1000Base-T },
  { 0, 0, 0, 0, NULL }
   };
   
  
  
  
  
  Why remove a valid entry?
  

I didn't remove it. You can see duplicated BRCM_DEVICEID_BCM5708s in
bce_devs.

  Scott

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


Re: Dell 1955 Blade - Broadcom NIC not detected (BCM5708S)

2006-10-30 Thread Scott Long

Pyun YongHyeon wrote:

On Mon, Oct 30, 2006 at 08:06:28PM -0700, Scott Long wrote:
  Pyun YongHyeon wrote:
  On Mon, Oct 30, 2006 at 04:17:00PM +0200, Conrad Burger wrote:
I am trying to get FreeBSD to work on a Dell 1955 blade. Looks like
the NICs on the blade are not supported by the BCE or BGE driver.

On Linux the NICs are identified as 06:00.0 Ethernet controller:

Broadcom Corporation NetXtreme II BCM5708S Gigabit Ethernet (rev 11)

From if_bce.c

-
* The following controllers are not supported by this driver:
* (These are not Production versions of the controller.)
*   BCM5706C A0, A1
*   BCM5706S A0, A1, A2, A3
*   BCM5708C A0, B0
*  -- BCM5708S -- A0, B0, B1

Is there any reason why the chipset is not supported? Is there anyway

of getting the BCE or BGE driver to work with this chipset? Will it be
supported sometime in the near future?

Any help would be much appreciated.

  

  It seems that there is typo in bce(4) driver.
  Try attached patch.
  
  
  
  
  
  Index: if_bce.c
  ===
  RCS file: /pool/ncvs/src/sys/dev/bce/if_bce.c,v
  retrieving revision 1.17
  diff -u -r1.17 if_bce.c
  --- if_bce.c  21 Oct 2006 07:54:39 -  1.17
  +++ if_bce.c  31 Oct 2006 00:37:47 -
  @@ -116,8 +116,8 @@
Broadcom NetXtreme II BCM5708 1000Base-T },
   
   	/* BCM5708S controllers and OEM boards. */

  - { BRCM_VENDORID, BRCM_DEVICEID_BCM5708,  PCI_ANY_ID,  PCI_ANY_ID,
  - Broadcom NetXtreme II BCM5708 1000Base-T },
  + { BRCM_VENDORID, BRCM_DEVICEID_BCM5708S,  PCI_ANY_ID,  PCI_ANY_ID,
  + Broadcom NetXtreme II BCM5708S 1000Base-T },
{ 0, 0, 0, 0, NULL }
   };
   
  

  
  
  
  Why remove a valid entry?
  


I didn't remove it. You can see duplicated BRCM_DEVICEID_BCM5708s in
bce_devs.

  Scott



Oops, you're right.  I've been accidentally ignoring this anyways, I'll 
take care of it.  Thanks!


Scott

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


Re: FreeBSD 6 freeze

2006-10-30 Thread Frank Shute
On Mon, Oct 30, 2006 at 10:26:47PM +0100, Paul Beckers wrote:

 Hi,
 
 I've recently tried to install FreeBSD 6.1 with a custom kernel that
 comprises support for PF and ALTQ, but is basicly a copy of the GENERIC
 kernel shipped with the install CD. I also ran CVSup to get the newest
 release of the source that stated after compilation that it would like to be
 called 6.2 prerelease. After heading to user applications like apache,
 mysql, isc-dhcpd, samba and postfix, I noticed when I came back my
 screensaver had stalled and the pc wouldn't respond to any inputs anymore.
 It was a complete lockup and before this install with FreeBSD 4 and FreeBSD
 5 I never had this problem on this box.
 
 In the mean while I've tried my install with two other boxes and both of
 them ended up having the same failure. I've posted a thread on bsdforums
 regarding this matter with my kernel config and some of my logfiles
 attached, to be found here:
 http://www.freebsdforums.com/forums/showthread.php?t=38765.
 
 As I haven't got any clue on where and what to look for, it would be
 helpfull to get suggestions on how to troubleshoot this issue.
 

Hi Paul,

I'm not a kernel hacker or anything like it but some of the guys on
freebsd-stable might be able to help you with your problem. Hence,
I've cc'd this reply to there.

It's probably a more appropriate forum than questions for your
problem. Or rather one where you more likely to get an answer.

You're running stable if it says 6.2 prerelease.

-- 

 Frank 


echo f r a n k @ e s p e r a n c e - l i n u x . c o . u k | sed 's/ //g'

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


Re: Entropy

2006-10-30 Thread Clayton Milos

Hi Doug


Thanks a ton for your help.

I found the issue was the following line in my /etc/rc.conf

syslogd_flags=-l /var/run/log -l /var/named/var/run/log -b 196.x.x.x -a 
196.x.x.x:`*`


I changed it to: syslogd_flags=-l /var/run/log -l /var/named/var/run/log -b 
196.x.x.x -a 196.x.x.x:*


Obviously it was the `*` that was causing the problem with it trying to 
execute the * every time something was refrencing the file. I found it in 
some howto a while ago and didn't see the connection until you pointed it 
out made me think.



Thanks again

Clay


- Original Message - 
From: Doug Barton [EMAIL PROTECTED]

To: Clayton Milos [EMAIL PROTECTED]
Cc: freebsd-stable@freebsd.org
Sent: Monday, October 30, 2006 11:51 PM
Subject: Re: Entropy



Clayton Milos wrote:

Hi there


I'm having the same problem as Greg Bernard (bsd_at_todoo.biz).

Every 11 minutes I get a mail from my servers but instead of it
containing -- which is what Greg is getting it contains this:

COPYRIGHT: not found

Upon further investigation if I try run any of the shell scripts in
/usr/local/etc/rc.d/ I get this error on the console:

000.apache2libs.sh: not found


You have something other than variable assignments in /etc/rc.conf
and/or rc.conf.local. Don't do that.

Doug

--

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



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


Fwd: panic: vfs_getopt: caller passed 'opts' as NULL

2006-10-30 Thread Ulrich Spoerlein

On 10/30/06, Kris Kennaway [EMAIL PROTECTED] wrote:

 panic: vfs_getopt: caller passed 'opts' as NULL

This can happen if you are using filesystem modules but your kernel is
built with nonstandard options (DEBUG_*_LOCKS is a culprit, I think).


Interesting, but no filesystem modules were involved. Infact, even
geom_mirror and geom_label were statically built into the kernel.

But the point is mood anyway, since I could not reproduce the problem.
I tried again after rebooting the machine and everything went just
fine ...

I have to use the nullfs mounts on another machine shortly, let's see
what happens there.

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