Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Apr 2006 20:49:50 GMT
From:      Dennis Yusupoff <dyr@homelink.ru>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   i386/96284: FreeBSD 6.0-Release is hung on second NIC up
Message-ID:  <200604242049.k3OKnowl021913@www.freebsd.org>
Resent-Message-ID: <200604242050.k3OKoH3r081253@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         96284
>Category:       i386
>Synopsis:       FreeBSD 6.0-Release is hung on second NIC up
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-i386
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Apr 24 20:50:17 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Dennis Yusupoff
>Release:        FreeBSD 6.0-RELEASE
>Organization:
Homelink ISP
>Environment:
FreeBSD white2u.homelink.ru 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Mon Apr 24 14:50:45 UTC 2006     dyr@white2u.homelink.ru:/usr/obj/usr/src/sys/WHITE2U-4BSD  i386

>Description:
I have a Intel motherboard Intel Server Board SE7230NH1-E (LX Version) (http://www.intel.com/design/servers/boards/se7230nh1-e/index.htm). It contains two ethernet cards, Intel Pro/1000. 
I installed the FreeBSD without any problems. But! Then I try to bring on ANY,SECOND, of those interfaces, the computer hang off immediately. For example - if I have "em0" bring on, I can't to bring on "em1", and vice versa.
There are no any messages on console, ther are no messages in logs, nothing. I tried to change kernel from GENERIC to my custom. Problem did again. I tried to cvsup my "world" to RELENG_6_0_0_RELEASE and made world after. No progress,  the system hung again. I tried to set debug.mpsafenet to 0. Hung again...

=========================
dmesg:
=========================
FreeBSD 6.0-RELEASE #0: Sat Apr 22 08:29:18 UTC 2006
dyr@white2u.homelink.ru:/usr/obj/usr/src/sys/WHITE2U
acpi_alloc_wakeup_handler: can't alloc wake memory
ACPI APIC Table: <INTEL 04DT044>
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Pentium(R) D CPU 2.80GHz (2798.60-MHz 686-class CPU)
Origin = "GenuineIntel" Id = 0xf44 Stepping = 4
Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
Features2=0x641d<SSE3,RSVD2,MON,DS_CPL,CNTX-ID,CX16,<B14>>
AMD Features=0x20100000<NX,LM>
Hyperthreading: 2 logical CPUs
real memory = 2145906688 (2046 MB)
avail memory = 2094764032 (1997 MB)
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
cpu0 (BSP): APIC ID: 0
cpu1 (AP): APIC ID: 1
ioapic0: Changing APIC ID to 5
ioapic1: WARNING: intbase 30 != expected base 24
ioapic0 <VERSION 2.0>irqs 0-23 on motherboard
ioapic1 <VERSION 2.0>irqs 30-53 on motherboard
npx0: [FAST]
npx0: <MATH processor>on motherboard
npx0: INT 16 interface
acpi0: <INTEL 04DT044>on motherboard
acpi0: Power Button (fixed)
pci_link0: <ACPI LNKA Link PCI>irq 11 on acpi0
pci_link1: <ACPI Link PCI LNKB>irq 9 on acpi0
pci_link2: <ACPI Link PCI LNKC>irq 11 on acpi0
pci_link3: <ACPI Link PCI LNKD>irq 10 on acpi0
pci_link4: <ACPI Link PCI LNKE>on acpi0
pci_link5: <ACPI Link PCI LNKF>on acpi0
pci_link6: <ACPI Link PCI LNKG>on acpi0
pci_link7: <ACPI Link PCI LNKH>irq 11 on acpi0
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <&lt;a 24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0
cpu0: <ACPI CPU>on acpi0
cpu1: <ACPI CPU>on acpi0
acpi_button0: <SLEEP Button>on acpi0
pcib0: <ACPI bridge Host-PCI>port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus>on pcib0
pcib1: <ACPI bridge PCI-PCI>at device 28.0 on pci0
pci1: <ACPI PCI bus>on pcib1
pcib2: <ACPI bridge PCI-PCI>at device 0.0 on pci1
pci2: <ACPI PCI bus>on pcib2
pcib3: <ACPI bridge PCI-PCI>at device 28.4 on pci0
pci3: <ACPI PCI bus>on pcib3
pcib4: <ACPI bridge PCI-PCI>at device 28.5 on pci0
pci4: <ACPI PCI bus>on pcib4
em0: <INTEL(R) 2.1.7 - Version Connection, Network 1000 PRO>port 0x2000-0x201f mem 0x88180000-0x8819ffff,0x88100000-0x8817ffff irq 17 at device 0.0 on pci4
em0: Ethernet address: 00:16:76:00:c1:76
em0: Speed:N/A Duplex:N/A
atapci0: <GENERIC controller ATA>port 0x2040-0x2047,0x2050-0x2053,0x2038-0x203f,0x204c-0x204f,0x2020-0x202f irq 18 at device 0.2 on pci4
ata2: <ATA 0 channel>on atapci0
ata3: <ATA channel 1>on atapci0
pci4: <SIMPLE UART comms,>at device 0.3 (no driver attached)
pci4: <SERIAL bus>at device 0.4 (no driver attached)
uhci0: <UHCI controller USB (generic)>port 0x3080-0x309f irq 23 at device 29.0 on pci0
uhci0: [GIANT-LOCKED]
usb0: <UHCI controller USB (generic)>on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1: <UHCI controller USB (generic)>port 0x3060-0x307f irq 19 at device 29.1 on pci0
uhci1: [GIANT-LOCKED]
usb1: <UHCI controller USB (generic)>on uhci1
usb1: USB revision 1.0
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2: <UHCI controller USB (generic)>port 0x3040-0x305f irq 18 at device 29.2 on pci0
uhci2: [GIANT-LOCKED]
usb2: <UHCI controller USB (generic)>on uhci2
usb2: USB revision 1.0
uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
uhci3: <UHCI controller USB (generic)>port 0x3020-0x303f irq 16 at device 29.3 on pci0
uhci3: [GIANT-LOCKED]
usb3: <UHCI controller USB (generic)>on uhci3
usb3: USB revision 1.0
uhub3: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub3: 2 ports with 2 removable, self powered
pci0: <SERIAL USB bus,>at device 29.7 (no driver attached)
pcib5: <ACPI bridge PCI-PCI>at device 30.0 on pci0
pci5: <ACPI PCI bus>on pcib5
pci5: <DISPLAY, VGA>at device 4.0 (no driver attached)
em1: <INTEL(R) 2.1.7 - Version Connection, Network 1000 PRO>port 0x1100-0x113f mem 0x88020000-0x8803ffff,0x88000000-0x8801ffff irq 17 at device 5.0 on pci5
em1: Ethernet address: 00:16:76:00:c1:77
em1: Speed:N/A Duplex:N/A
isab0: <PCI-ISA bridge>at device 31.0 on pci0
isa0: <ISA bus>on isab0
atapci1: <INTEL controller UDMA100 ICH7>port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x30b0-0x30bf irq 18 at device 31.1 on pci0
ata0: <ATA 0 channel>on atapci1
ata1: <ATA channel 1>on atapci1
atapci2: <INTEL controller ICH7 SATA150>port 0x30c8-0x30cf,0x30e4-0x30e7,0x30c0-0x30c7,0x30e0-0x30e3,0x30a0-0x30af mem 0x88200000-0x882003ff irq 19 at device 31.2 on pci0
ata4: <ATA 0 channel>on atapci2
ata5: <ATA channel 1>on atapci2
ata6: <ATA channel 2>on atapci2
ata7: <ATA channel 3>on atapci2
pci0: <SERIAL bus, SMBus>at device 31.3 (no driver attached)
speaker0: <PC speaker>port 0x61 on acpi0
atkbdc0: <KEYBOARD controller (i8042)>port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT Keyboard>irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
psm0: <PS 2 Mouse>irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: model NetMouse/NetScroll Optical, device ID 0
pmtimer0 on isa0
orm0: <ISA ROM Option>at iomem 0xc0000-0xcafff on isa0
sc0: <SYSTEM console>at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <GENERIC VGA ISA>at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Timecounters tick every 1.000 msec
ipfw2 (+ipv6) initialized, divert loadable, rule-based forwarding enabled, default to accept, logging limited to 400 packets/entry by default
acd0: DVDR <NEC 1.01 ND-3540A RW DVD>at ata0-slave UDMA33
ad8: 190782MB <SEAGATE 3.01 ST3200822AS>at ata4-master SATA150
ad10: 190782MB <SEAGATE 3.03 ST3200826AS>at ata5-master SATA150
acd0: FAILURE - READ_BIG ILLEGAL REQUEST asc=0x64 ascq=0x00 error=4<ABORTED>
SMP: AP CPU #1 Launched!
cd0 at ata0 bus 0 target 1 lun 0
cd0: <_NEC DVD_RW ND-3540A 1.01> Removable CD-ROM SCSI-0 device
cd0: 33.000MB/s transfers
cd0: cd present [282426 x 2048 byte records]


=========================
ifconfig
=========================

em0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
        options=b<RXCSUM,TXCSUM,VLAN_MTU>
        ether 00:16:76:00:c1:76
        media: Ethernet autoselect
        status: no carrier
em1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=b<RXCSUM,TXCSUM,VLAN_MTU>
        inet 81.222.201.251 netmask 0xffffff00 broadcast 81.222.201.255
        ether 00:16:76:00:c1:77
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
        inet 127.0.0.1 netmask 0xff000000
pflog0: flags=0<> mtu 33208

=========================
sysctl -a |grep net
=========================
     netgraph     2     1K       -        2  32
netgraph_node     2     1K       -        2  256
        ifnet     5     5K       -        5  256,1024
<118>oid 'debug.mpsafenet' is read only
em0: Ethernet address: 00:16:76:00:c1:76
em1: Ethernet address: 00:16:76:00:c1:77
<118> ethernet
<118>oid 'debug.mpsafenet' is read only
<118>   inet 127.0.0.1 netmask 0xff000000
<118>   inet 81.222.201.251 netmask 0xffffff00 broadcast 81.222.201.255
<118>   media: Ethernet autoselect
<118>add net default: gateway 81.222.201.129
<118>add net 217.170.93.0: gateway 81.222.201.1
<118>add net 81.222.219.0: gateway 81.222.201.1
<118>oid 'debug.mpsafenet' is read only
em0: Ethernet address: 00:16:76:00:c1:76
em1: Ethernet address: 00:16:76:00:c1:77
<118> ethernet
<118>oid 'debug.mpsafenet' is read only
<118>   inet6 ::1 prefixlen 128
<118>   inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
<118>   inet 127.0.0.1 netmask 0xff000000
<118>   inet6 fe80::216:76ff:fe00:c177%em1 prefixlen 64 tentative scopeid 0x2
<118>   inet 81.222.201.251 netmask 0xffffff00 broadcast 81.222.201.255
<118>   media: Ethernet autoselect
<118>add net default: gateway 81.222.201.129
<118>add net 217.170.93.0: gateway 81.222.201.1
<118>add net 81.222.219.0: gateway 81.222.201.1
<118>unknown oid 'net.inet.tcp.drop_synfin'
<118>oid 'debug.mpsafenet' is read only
em0: Ethernet address: 00:16:76:00:c1:76
em1: Ethernet address: 00:16:76:00:c1:77
<118> ethernet
<118>oid 'debug.mpsafenet' is read only
<118>   inet 127.0.0.1 netmask 0xff000000
<118>   inet 81.222.201.251 netmask 0xffffff00 broadcast 81.222.201.255
<118>   media: Ethernet autoselect
<118>add net default: gateway 81.222.201.129
<118>add net 217.170.93.0: gateway 81.222.201.1
<118>add net 81.222.219.0: gateway 81.222.201.1
<118>oid 'debug.mpsafenet' is read only
kern.random.sys.harvest.ethernet: 1
net.local.stream.recvspace: 8192
net.local.stream.sendspace: 8192
net.local.dgram.recvspace: 4096
net.local.dgram.maxdgram: 2048
net.local.inflight: 0
net.inet.ip.portrange.randomtime: 45
net.inet.ip.portrange.randomcps: 10
net.inet.ip.portrange.randomized: 1
net.inet.ip.portrange.reservedlow: 0
net.inet.ip.portrange.reservedhigh: 1023
net.inet.ip.portrange.hilast: 65535
net.inet.ip.portrange.hifirst: 49152
net.inet.ip.portrange.last: 65535
net.inet.ip.portrange.first: 49152
net.inet.ip.portrange.lowlast: 600
net.inet.ip.portrange.lowfirst: 1023
net.inet.ip.forwarding: 1
net.inet.ip.redirect: 1
net.inet.ip.ttl: 64
net.inet.ip.rtexpire: 3600
net.inet.ip.rtminexpire: 10
net.inet.ip.rtmaxcache: 128
net.inet.ip.sourceroute: 0
net.inet.ip.intr_queue_maxlen: 50
net.inet.ip.intr_queue_drops: 0
net.inet.ip.accept_sourceroute: 0
net.inet.ip.keepfaith: 0
net.inet.ip.same_prefix_carp_only: 0
net.inet.ip.subnets_are_local: 0
net.inet.ip.fastforwarding: 0
net.inet.ip.fw.dyn_keepalive: 1
net.inet.ip.fw.dyn_short_lifetime: 5
net.inet.ip.fw.dyn_udp_lifetime: 10
net.inet.ip.fw.dyn_rst_lifetime: 1
net.inet.ip.fw.dyn_fin_lifetime: 1
net.inet.ip.fw.dyn_syn_lifetime: 20
net.inet.ip.fw.dyn_ack_lifetime: 300
net.inet.ip.fw.static_count: 1
net.inet.ip.fw.dyn_max: 4096
net.inet.ip.fw.dyn_count: 0
net.inet.ip.fw.curr_dyn_buckets: 256
net.inet.ip.fw.dyn_buckets: 256
net.inet.ip.fw.verbose_limit: 400
net.inet.ip.fw.verbose: 1
net.inet.ip.fw.debug: 1
net.inet.ip.fw.one_pass: 1
net.inet.ip.fw.autoinc_step: 100
net.inet.ip.fw.enable: 1
net.inet.ip.stealth: 0
net.inet.ip.check_interface: 0
net.inet.ip.random_id: 0
net.inet.ip.sendsourcequench: 0
net.inet.ip.maxfragsperpacket: 16
net.inet.ip.maxfragpackets: 800
net.inet.ip.process_options: 1
net.inet.icmp.maskrepl: 0
net.inet.icmp.icmplim: 200
net.inet.icmp.bmcastecho: 0
net.inet.icmp.reply_src:
net.inet.icmp.icmplim_output: 1
net.inet.icmp.log_redirect: 1
net.inet.icmp.drop_redirect: 1
net.inet.icmp.maskfake: 0
net.inet.tcp.rfc1323: 1
net.inet.tcp.mssdflt: 512
net.inet.tcp.keepidle: 7200000
net.inet.tcp.keepintvl: 75000
net.inet.tcp.sendspace: 32768
net.inet.tcp.recvspace: 65536
net.inet.tcp.keepinit: 75000
net.inet.tcp.delacktime: 100
net.inet.tcp.hostcache.purge: 0
net.inet.tcp.hostcache.expire: 3600
net.inet.tcp.hostcache.count: 0
net.inet.tcp.hostcache.bucketlimit: 30
net.inet.tcp.hostcache.hashsize: 512
net.inet.tcp.hostcache.cachelimit: 15360
net.inet.tcp.reass.overflows: 0
net.inet.tcp.reass.maxqlen: 48
net.inet.tcp.reass.cursegments: 0
net.inet.tcp.reass.maxsegments: 1600
net.inet.tcp.insecure_rst: 0
net.inet.tcp.rfc3390: 1
net.inet.tcp.rfc3042: 1
net.inet.tcp.drop_synfin: 1
net.inet.tcp.delayed_ack: 1
net.inet.tcp.blackhole: 0
net.inet.tcp.log_in_vain: 0
net.inet.tcp.newreno: 1
net.inet.tcp.local_slowstart_flightsize: 4
net.inet.tcp.slowstart_flightsize: 1
net.inet.tcp.path_mtu_discovery: 1
net.inet.tcp.sack.globalholes: 0
net.inet.tcp.sack.globalmaxholes: 65536
net.inet.tcp.sack.maxholes: 128
net.inet.tcp.sack.enable: 1
net.inet.tcp.inflight.stab: 20
net.inet.tcp.inflight.max: 1073725440
net.inet.tcp.inflight.min: 6144
net.inet.tcp.inflight.debug: 0
net.inet.tcp.inflight.enable: 1
net.inet.tcp.isn_reseed_interval: 0
net.inet.tcp.icmp_may_rst: 1
net.inet.tcp.pcbcount: 6
net.inet.tcp.do_tcpdrain: 1
net.inet.tcp.tcbhashsize: 512
net.inet.tcp.minmssoverload: 0
net.inet.tcp.minmss: 216
net.inet.tcp.syncache.rexmtlimit: 3
net.inet.tcp.syncache.hashsize: 512
net.inet.tcp.syncache.count: 0
net.inet.tcp.syncache.cachelimit: 15359
net.inet.tcp.syncache.bucketlimit: 30
net.inet.tcp.syncookies: 1
net.inet.tcp.always_keepalive: 1
net.inet.tcp.rexmit_slop: 200
net.inet.tcp.rexmit_min: 3
net.inet.tcp.msl: 30000
net.inet.udp.checksum: 1
net.inet.udp.maxdgram: 9216
net.inet.udp.recvspace: 41600
net.inet.udp.strict_mcast_mship: 0
net.inet.udp.blackhole: 0
net.inet.udp.log_in_vain: 0
net.inet.raw.recvspace: 8192
net.inet.raw.maxdgram: 8192
net.inet.accf.unloadable: 0
net.inet.accf.http.parsehttpversion: 1
net.link.generic.system.ifcount: 4
net.link.ether.inet.log_arp_movements: 1
net.link.ether.inet.log_arp_wrong_iface: 1
net.link.ether.inet.proxyall: 0
net.link.ether.inet.useloopback: 1
net.link.ether.inet.maxtries: 5
net.link.ether.inet.host_down_time: 20
net.link.ether.inet.max_age: 1200
net.link.ether.inet.prune_intvl: 300
net.link.ether.ipfw: 0
net.link.gre.max_nesting: 1
net.link.log_link_state_change: 1
net.bpf.maxinsns: 512
net.bpf.maxbufsize: 524288
net.bpf.bufsize: 4096
net.isr.swi_count: 26718
net.isr.drop: 0
net.isr.queued: 325
net.isr.deferred: 28737
net.isr.directed: 0
net.isr.count: 28737
net.isr.direct: 0
net.route.netisr_maxqlen: 256
net.graph.msg_version: 8
net.graph.abi_version: 11
net.graph.maxalloc: 512
net.graph.control.proto: 2
net.graph.data.proto: 1
net.graph.family: 32
net.graph.recvspace: 20480
net.graph.maxdgram: 20480
debug.mpsafenet: 1


>How-To-Repeat:
Just try to enter: ifconfig emX inet x.x.x.x netmask x.x.x.x
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200604242049.k3OKnowl021913>