bge on IBM xSeries 335 with FreeBSD-6.0

2006-04-26 Thread Lin, Tsung Ching
hi all, 

I installed FreeBSD 6.0-Release on a IBM xSeries 335.
It works fine while installing.
After finishing intalling, i try to enable bge1 using the folling
command
# ifconfig bge1 inet 192.168.0.1 netmask 255.255.255.0

then the box jus hangs. no any messages.
i have to press reset to reboot it.

the system hangs too when i add the following line in /etc/rc.conf
ifconfig_bge1=inet 192.168.0.1 netmask 255.255.255.0

even i just used ifconfig bge1 up, the system hangs too.

I had tried it on several IBM xSeries 335 machines.
the results are all the same.
how can i deal with this proplem.
thank you.

bge0: Broadcom BCM5703 Gigabit Ethernet, ASIC rev. 0x1002 mem
0xf9ff-0xf9ff irq 24 at device 1.0 on pci2
miibus0: MII bus on bge0
brgphy0: BCM5703 10/100/1000baseTX PHY on miibus0
brgphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX,
1000baseTX-FDX, auto
bge0: Ethernet address: 00:09:6b:a3:24:9e
bge1: Broadcom BCM5703 Gigabit Ethernet, ASIC rev. 0x1002 mem
0xf9fe-0xf9fe irq 25 at device 2.0 on pci2
miibus1: MII bus on bge1
brgphy1: BCM5703 10/100/1000baseTX PHY on miibus1
brgphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX,
1000baseTX-FDX, auto
bge1: Ethernet address: 00:09:6b:a3:24:9f


--
Lin, Tsung Ching
Institute of Information Science, Academia Sinica
Taiwan, R. O. C.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


System Freeze with freebsd-5.3-Release-p5

2005-01-16 Thread Lin, Tsung Ching
hi everyone,

I want to upgrade the mail server from 4.10 to 5.3 on IBM xSeries 335.
If I enable nis client and config the second network interface, 
the system alwayse freeze without any log.
If I boot the system first, then config the second network interface,
the system still freezes.
If I only eanble nis client or network interface, the system is ok.
how do I solve this problem??
thank you very much.

-- 
Lin, Tsung Ching [EMAIL PROTECTED]
Institute of Information Science, Academia Sinica

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


Re: System Freeze with freebsd-5.3-Release-p5

2005-01-16 Thread Lin, Tsung Ching
 2005-01-16  20:49 -0600Chris 
 Kris Kennaway wrote:
  On Sun, Jan 16, 2005 at 08:42:48PM -0600, Chris wrote:
  
 Kris Kennaway wrote:
 
 On Mon, Jan 17, 2005 at 10:32:38AM +0800, Lin, Tsung Ching wrote:
 
 
 hi everyone,
 
 I want to upgrade the mail server from 4.10 to 5.3 on IBM xSeries 335.
 If I enable nis client and config the second network interface, 
 the system alwayse freeze without any log.
 If I boot the system first, then config the second network interface,
 the system still freezes.
 If I only eanble nis client or network interface, the system is ok.
 how do I solve this problem??
 thank you very much.
 
 
 Please specify more details about your system and its configuration.
 
 Kris
 
 Here ya go:
 
 http://www-1.ibm.com/servers/eserver/xseries/xcampaigns/campaign1_flat.html
  
  
  I don't see a dmesg, kernel configuration or /etc/rc.conf file at that
  URL :-)
  
  Kris
 
 Yer right - was just helping him along - at least ya got an idea on the 
 the type of hardware
 

sorry, I forget to attach the configuration files.
here they are. :)

# rc.conf
hostname=ccstest.iis.sinica.edu.tw
nisdomainname=isd1

usbd_enable=YES

defaultrouter=140.109.20.1
ifconfig_bge0=inet 140.109.20.9  netmask 255.255.255.0
#ifconfig_bge1=inet 192.168.20.9  netmask 255.255.255.0

firewall_enable=YES   # Set to YES to enable firewall
functionality
firewall_type=/etc/ipfw.conf  # Firewall type (see /etc/rc.firewall)

rpcbind_enable=YES
nis_client_enable=YES
nfs_client_enable=YES
nfs_server_enable=YES
rpc_lockd_enable=YES
rpc_statd_enable=YES

sshd_enable=YES
inetd_enable=YES
ntpd_enable=YES

#
# KERNCONF
include SMP

ident   IBM-XSERIES-335

options MROUTING# Multicast routing
options PIM # Protocol Independent Multicast
options IPFIREWALL  #firewall
options IPFIREWALL_VERBOSE  #enable logging to syslogd(8)
#options IPFIREWALL_VERBOSE_LIMIT=100#limit verbosity
#options IPFIREWALL_DEFAULT_TO_ACCEPT#allow everything by
default
options IPFIREWALL_FORWARD  #packet destination changes
options IPV6FIREWALL#firewall for IPv6
options IPV6FIREWALL_VERBOSE
#options IPV6FIREWALL_VERBOSE_LIMIT=100
#options IPV6FIREWALL_DEFAULT_TO_ACCEPT
options IPDIVERT#divert sockets
options IPSTEALTH   #support for stealth forwarding
options TCPDEBUG
options MBUF_STRESS_TEST
options TCP_DROP_SYNFIN #drop TCP packets with SYN+FIN
#optionsTCP_SIGNATURE   #include support for RFC 2385
options DUMMYNET
options BRIDGE
options ZERO_COPY_SOCKETS

-- 
Lin, Tsung Ching [EMAIL PROTECTED]
Institute of Information Science, Academia Sinica

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


Re: System Freeze with freebsd-5.3-Release-p5

2005-01-16 Thread Lin, Tsung Ching
 2005-01-16  19:10 -0800Kris Kennaway 
 On Mon, Jan 17, 2005 at 11:01:27AM +0800, Lin, Tsung Ching wrote:
 
  #
  # KERNCONF
  include SMP
  
  ident   IBM-XSERIES-335
  
  options IPFIREWALL  #firewall
  options IPFIREWALL_VERBOSE  #enable logging to syslogd(8)
  #options IPFIREWALL_VERBOSE_LIMIT=100#limit verbosity
  #options IPFIREWALL_DEFAULT_TO_ACCEPT#allow everything by
  default
  options IPFIREWALL_FORWARD  #packet destination changes
  options IPV6FIREWALL#firewall for IPv6
  options IPV6FIREWALL_VERBOSE
  #options IPV6FIREWALL_VERBOSE_LIMIT=100
  #options IPV6FIREWALL_DEFAULT_TO_ACCEPT
  options IPDIVERT#divert sockets
  options IPSTEALTH   #support for stealth forwarding
  options TCP_DROP_SYNFIN #drop TCP packets with SYN+FIN
  #optionsTCP_SIGNATURE   #include support for RFC 2385
  options DUMMYNET
  options BRIDGE
  options ZERO_COPY_SOCKETS
 
 Some of these are suspicious:
 
  options MBUF_STRESS_TEST
 
 This is designed to induce failures in buggy code.  You might be
 provoking a problem you wouldn't otherwise see in normal operation.
 
  options TCPDEBUG
 
 This is undocumented
 
 i.e. you probably don't want it.
 
  options MROUTING# Multicast routing
  options PIM # Protocol Independent Multicast
 
 These two are not widely used, so it's conceivable that they may be
 buggy.
 
 Take them all out (if you need the last 2, still try without them to
 see if the problem is there).
 
 Kris

hi

I had recompiled the kernel without those kern options.
if I enable both nis client and the second network interface, the
console shows bge1: gigabit link up and then the system freezes
without any log.

-- 
Lin, Tsung Ching [EMAIL PROTECTED]
Institute of Information Science, Academia Sinica

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