Re: em0 and SMP problem

2005-07-04 Thread Michał Koc

One more question:

is ist matter of wrong irq assigment ??

em0 at pci2 dev 2 function 0 Intel PRO/1000XT (82544EI) rev 0x02: apic 
8 int 9

(irq 9), address: 00:0e:0c:70:c9:52
em1 at pci2 dev 5 function 0 Intel PRO/1000MT (82546EB) rev 0x01: apic 
8 int 9

(irq 9), address: 00:03:47:32:c8:ca
em2 at pci2 dev 5 function 1 Intel PRO/1000MT (82546EB) rev 0x01: apic 
8 int 9

(irq 9), address: 00:03:47:32:c8:cb

everywhere thesame apic int and irq ?? is it ok ?

regards
MichaE Koc



Re: em0 and SMP problem

2005-07-04 Thread Michał Koc

Yes,
the problem lies in interrupts,
I've just tried xl, fxp and rl Nic's, and none of them works as em.
Furthermore their interrupts are not showed in vmstat -i.

It would be very helpfull if some wise guy could tell me where to look 
for the problem.

Otherwise I'll have to go thru the kernel sources again.

Thanks in advance
MichaE Koc



Re: em0 and SMP problem 3.7 SMP DMESG and ifconfig

2005-07-03 Thread Rogier Krieger
On 7/2/05, Micha3 Koc [EMAIL PROTECTED] wrote:
 OpenBSD 3.7-stable (STORAGE.MP) #1: Sat Jul  2 21:29:32 CEST 2005
 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/STORAGE.MP

That sounds like bad news: a custom kernel. If you cannot reproduce
the problem with GENERIC[.MP], you're on your own. Custom kernels are
unsupported and the documentation actively dissuades you from using
them.

See the FAQ #5 or read the list archives as to why you're on your own.

Cheers,

Rogier

-- 
If you don't know where you're going, any road will get you there.



Re: em0 and SMP problem 3.7 SMP DMESG and ifconfig

2005-07-03 Thread Bruno Delbono

Rogier Krieger wrote:

On 7/2/05, Micha3 Koc [EMAIL PROTECTED] wrote:


OpenBSD 3.7-stable (STORAGE.MP) #1: Sat Jul  2 21:29:32 CEST 2005
   [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/STORAGE.MP



That sounds like bad news: a custom kernel. If you cannot reproduce
the problem with GENERIC[.MP], you're on your own. Custom kernels are
unsupported and the documentation actively dissuades you from using
them.


Just because some happens to use a different kernel doesn't 
automatically mean that they do not know anything. Follow this thread 
and see why the OP did what he did.


As for a custom kernel, if you're using the current release of 3.7, you 
would still need to recompile the kernel for 
ftp://ftp.openbsd.org/pub/OpenBSD/patches/3.7/common/002_getsockopt.patch


At times, misc@ can be worse than Microsoft's or HP's support.



Re: em0 and SMP problem 3.7 SMP DMESG and ifconfig

2005-07-03 Thread Rogier Krieger
On 7/3/05, Bruno Delbono [EMAIL PROTECTED] wrote:
 Just because some happens to use a different kernel doesn't
 automatically mean that they do not know anything. Follow this thread
 and see why the OP did what he did.

Typically, people do not need to run anything other than GENERIC.

Unless I'm missing messages, the OP describs a problem in relation
with SMP. He in turn receives various requests for a dmesg, first
providing a non-SMP and then a dmesg for a -- seemingly -- non-GENERIC
SMP kernel.

I don't see much reason to using a non-GENERIC kernel in those
messages, but feel free to enlighten me.


 As for a custom kernel, if you're using the current release of 3.7, you
 would still need to recompile the kernel for
 ftp://ftp.openbsd.org/pub/OpenBSD/patches/3.7/common/002_getsockopt.patch

As custom refers to a non-GENERIC kernel, that has little to do with
having to patch a system and subsequently compiling GENERIC again.

Cheers,

Rogier

-- 
If you don't know where you're going, any road will get you there.



Re: em0 and SMP problem 3.7 SMP DMESG and ifconfig

2005-07-03 Thread Brad
On Sun, Jul 03, 2005 at 07:42:25PM +0200, Rogier Krieger wrote:
 On 7/3/05, Rogier Krieger [EMAIL PROTECTED] wrote:
  I don't see much reason to using a non-GENERIC kernel
 
 Apart from aac(4) which isn't in GENERIC any longer.
 
 Cheers,
 
 Rogier

aac(4) is not supported so you're on your own.



Re: em0 and SMP problem 3.7 SMP DMESG and ifconfig

2005-07-03 Thread Avtar Gill

Bruno Delbono wrote:

At times, misc@ can be worse than Microsoft's or HP's support.


Interesting.  How much do you pay for misc@openbsd.org support compared 
to what you have to fork out for Microsoft or HP?


--
Avtar Gill | [EMAIL PROTECTED]



Re: em0 and SMP problem

2005-07-02 Thread Michał Koc

Here You have dmesg from 3.6 SP before patch:
I'll provide 3.7 sp, smp, after and before patch tomorrow.
Thank You.
MichaE Koc

OpenBSD 3.6-stable (GENERIC) #0: Mon Mar  7 14:01:06 CET 2005
   [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Xeon(TM) CPU 2.66GHz (GenuineIntel 686-class) 2.66 GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,CNXT-ID

real mem  = 3220738048 (3145252K)
avail mem = 2931351552 (2862648K)
using 4278 buffers containing 161140736 bytes (157364K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(00) BIOS, date 12/22/04, BIOS32 rev. 0 @ 0xfdb34
pcibios0 at bios0: rev 2.1 @ 0xf/0x1
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf35a0/320 (18 entries)
pcibios0: no compatible PCI ICU found: ICU vendor 0x8086 product 0x2480
pcibios0: Warning, unable to fix up PCI interrupt routing
pcibios0: PCI bus #4 is the last bus
bios0: ROM list: 0xc/0x8000 0xc8000/0x4800 0xcc800/0x1000 0xcd800/0x1000
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 vendor Intel, unknown product 0x254c 
rev 0x01

Intel E7500 DRAM rev 0x01 at pci0 dev 0 function 1 not configured
ppb0 at pci0 dev 3 function 0 Intel E7500 MCH HI_C vppb 1 rev 0x01
pci1 at ppb0 bus 1
Intel P64H2 IOxAPIC rev 0x04 at pci1 dev 28 function 0 not configured
ppb1 at pci1 dev 29 function 0 Intel 82870P2 P64H2 PCI-PCI rev 0x04
pci2 at ppb1 bus 2
em0 at pci2 dev 2 function 0 Intel PRO/1000XT (82544EI) rev 0x02: irq 
9, address: 00:0e:0c:70:c9:52
em1 at pci2 dev 5 function 0 Intel PRO/1000MT DP (82546EB) rev 0x01: 
irq 9, address: 00:03:47:32:c8:ca
em2 at pci2 dev 5 function 1 Intel PRO/1000MT DP (82546EB) rev 0x01: 
irq 9, address: 00:03:47:32:c8:cb

Intel P64H2 IOxAPIC rev 0x04 at pci1 dev 30 function 0 not configured
ppb2 at pci1 dev 31 function 0 Intel 82870P2 P64H2 PCI-PCI rev 0x04
pci3 at ppb2 bus 3
aac0 at pci3 dev 1 function 0 Adaptec ASR-2200S rev 0x01: irq 9
aac0: Intel GC80302 IOP 100MHz, 64MB, optional battery not installed (4) 
Kernel 4.2-0

scsibus0 at aac0: 64 targets
sd0 at scsibus0 targ 0 lun 0: Adaptec, Container #00,  SCSI2 0/direct 
fixed
sd0: 139980MB, 17845 cyl, 255 head, 63 sec, 512 bytes/sec, 286679925 sec 
total

ahd0 at pci3 dev 4 function 0 Adaptec AIC-7902 U320 rev 0x03: irq 9
aic7902: U320 Wide Channel A, SCSI Id=7, PCI 33 or 66Mhz, 512 SCBs
scsibus1 at ahd0: 16 targets
st0 at scsibus1 targ 4 lun 0: BNCHMARK, DLT1, 5032 SCSI2 1/sequential 
removable

st0: density code 0x40, variable blocks, write-enabled
ahd1 at pci3 dev 4 function 1 Adaptec AIC-7902 U320 rev 0x03: irq 9
aic7902: U320 Wide Channel B, SCSI Id=7, PCI 33 or 66Mhz, 512 SCBs
scsibus2 at ahd1: 16 targets
Intel E7500 MCH HI_C vppb 2 rev 0x01 at pci0 dev 3 function 1 not 
configured

ppb3 at pci0 dev 30 function 0 Intel 82801BA AGP rev 0x42
pci4 at ppb3 bus 4
vga1 at pci4 dev 12 function 0 ATI Rage XL rev 0x27
wsdisplay0 at vga1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
ichpcib0 at pci0 dev 31 function 0 Intel 82801CA LPC rev 0x02
pciide0 at pci0 dev 31 function 1 Intel 82801CA IDE rev 0x02: DMA, 
channel 0 configured to compatibility, channel 1 configured to compatibility

atapiscsi0 at pciide0 channel 0 drive 0
scsibus3 at atapiscsi0: 2 targets
cd0 at scsibus3 targ 0 lun 0: HL-DT-ST, CD-ROM GCR-8523B, 1.00 SCSI0 
5/cdrom removable

cd0(pciide0:0:0): using PIO mode 4, DMA mode 2
pciide0: channel 1 disabled (no drives)
Intel 82801CA/CAM SMBus rev 0x02 at pci0 dev 31 function 3 not configured
isa0 at ichpcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
sysbeep0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
npx0 at isa0 port 0xf0/16: using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
biomask ef65 netmask ef65 ttymask ffe7
pctr: user-level cycle counter enabled
dkcsum: sd0 matched BIOS disk 80
root on sd0a
rootdev=0x400 rrootdev=0xd00 rawdev=0xd02



Re: em0 and SMP problem

2005-07-02 Thread Kenneth Oncinian

Micha,

Why does the email of your header include these accounts as your recipients?
--
[EMAIL PROTECTED]
[EMAIL PROTECTED]:son Lindman [EMAIL PROTECTED]
--

???



MichaE Koc wrote:


Here You have dmesg from 3.6 SP before patch:
I'll provide 3.7 sp, smp, after and before patch tomorrow.
Thank You.
MichaE Koc

OpenBSD 3.6-stable (GENERIC) #0: Mon Mar  7 14:01:06 CET 2005
   [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Xeon(TM) CPU 2.66GHz (GenuineIntel 686-class) 2.66 GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,CNXT-ID 


real mem  = 3220738048 (3145252K)
avail mem = 2931351552 (2862648K)
using 4278 buffers containing 161140736 bytes (157364K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(00) BIOS, date 12/22/04, BIOS32 rev. 0 @ 
0xfdb34

pcibios0 at bios0: rev 2.1 @ 0xf/0x1
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf35a0/320 (18 entries)
pcibios0: no compatible PCI ICU found: ICU vendor 0x8086 product 0x2480
pcibios0: Warning, unable to fix up PCI interrupt routing
pcibios0: PCI bus #4 is the last bus
bios0: ROM list: 0xc/0x8000 0xc8000/0x4800 0xcc800/0x1000 
0xcd800/0x1000

cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 vendor Intel, unknown product 0x254c 
rev 0x01

Intel E7500 DRAM rev 0x01 at pci0 dev 0 function 1 not configured
ppb0 at pci0 dev 3 function 0 Intel E7500 MCH HI_C vppb 1 rev 0x01
pci1 at ppb0 bus 1
Intel P64H2 IOxAPIC rev 0x04 at pci1 dev 28 function 0 not configured
ppb1 at pci1 dev 29 function 0 Intel 82870P2 P64H2 PCI-PCI rev 0x04
pci2 at ppb1 bus 2
em0 at pci2 dev 2 function 0 Intel PRO/1000XT (82544EI) rev 0x02: 
irq 9, address: 00:0e:0c:70:c9:52
em1 at pci2 dev 5 function 0 Intel PRO/1000MT DP (82546EB) rev 0x01: 
irq 9, address: 00:03:47:32:c8:ca
em2 at pci2 dev 5 function 1 Intel PRO/1000MT DP (82546EB) rev 0x01: 
irq 9, address: 00:03:47:32:c8:cb

Intel P64H2 IOxAPIC rev 0x04 at pci1 dev 30 function 0 not configured
ppb2 at pci1 dev 31 function 0 Intel 82870P2 P64H2 PCI-PCI rev 0x04
pci3 at ppb2 bus 3
aac0 at pci3 dev 1 function 0 Adaptec ASR-2200S rev 0x01: irq 9
aac0: Intel GC80302 IOP 100MHz, 64MB, optional battery not installed 
(4) Kernel 4.2-0

scsibus0 at aac0: 64 targets
sd0 at scsibus0 targ 0 lun 0: Adaptec, Container #00,  SCSI2 
0/direct fixed
sd0: 139980MB, 17845 cyl, 255 head, 63 sec, 512 bytes/sec, 286679925 
sec total

ahd0 at pci3 dev 4 function 0 Adaptec AIC-7902 U320 rev 0x03: irq 9
aic7902: U320 Wide Channel A, SCSI Id=7, PCI 33 or 66Mhz, 512 SCBs
scsibus1 at ahd0: 16 targets
st0 at scsibus1 targ 4 lun 0: BNCHMARK, DLT1, 5032 SCSI2 
1/sequential removable

st0: density code 0x40, variable blocks, write-enabled
ahd1 at pci3 dev 4 function 1 Adaptec AIC-7902 U320 rev 0x03: irq 9
aic7902: U320 Wide Channel B, SCSI Id=7, PCI 33 or 66Mhz, 512 SCBs
scsibus2 at ahd1: 16 targets
Intel E7500 MCH HI_C vppb 2 rev 0x01 at pci0 dev 3 function 1 not 
configured

ppb3 at pci0 dev 30 function 0 Intel 82801BA AGP rev 0x42
pci4 at ppb3 bus 4
vga1 at pci4 dev 12 function 0 ATI Rage XL rev 0x27
wsdisplay0 at vga1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
ichpcib0 at pci0 dev 31 function 0 Intel 82801CA LPC rev 0x02
pciide0 at pci0 dev 31 function 1 Intel 82801CA IDE rev 0x02: DMA, 
channel 0 configured to compatibility, channel 1 configured to 
compatibility

atapiscsi0 at pciide0 channel 0 drive 0
scsibus3 at atapiscsi0: 2 targets
cd0 at scsibus3 targ 0 lun 0: HL-DT-ST, CD-ROM GCR-8523B, 1.00 SCSI0 
5/cdrom removable

cd0(pciide0:0:0): using PIO mode 4, DMA mode 2
pciide0: channel 1 disabled (no drives)
Intel 82801CA/CAM SMBus rev 0x02 at pci0 dev 31 function 3 not 
configured

isa0 at ichpcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
sysbeep0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
npx0 at isa0 port 0xf0/16: using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
biomask ef65 netmask ef65 ttymask ffe7
pctr: user-level cycle counter enabled
dkcsum: sd0 matched BIOS disk 80
root on sd0a
rootdev=0x400 rrootdev=0xd00 rawdev=0xd02




Re: em0 and SMP problem 3.7 SMP DMESG and ifconfig

2005-07-02 Thread Michał Koc

OpenBSD 3.7-stable (STORAGE.MP) #1: Sat Jul  2 21:29:32 CEST 2005
   [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/STORAGE.MP
cpu0: Intel(R) Xeon(TM) CPU 2.66GHz (GenuineIntel 686-class) 2.66 GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CF

real mem  = 3220738048 (3145252K)
avail mem = 2931408896 (2862704K)
using 4278 buffers containing 161140736 bytes (157364K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(00) BIOS, date 12/22/04, BIOS32 rev. 0 @ 0xfdb34
pcibios0 at bios0: rev 2.1 @ 0xf/0x1
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf35a0/320 (18 entries)
pcibios0: PCI Interrupt Router at 000:31:0 (Intel 82801CA LPC rev 0x00)
pcibios0: PCI bus #4 is the last bus
bios0: ROM list: 0xc/0x8000 0xc8000/0x4800 0xcc800/0x1000 0xcd800/0x1000
mainbus0: Intel MP Specification (Version 1.4) (INTELS7501HG0)
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 132 MHz
cpu1 at mainbus0: apid 6 (application processor)
cpu1: Intel(R) Xeon(TM) CPU 2.66GHz (GenuineIntel 686-class) 2.66 GHz
cpu1: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CF

mainbus0: bus 0 is type PCI
mainbus0: bus 1 is type PCI
mainbus0: bus 2 is type PCI
mainbus0: bus 3 is type PCI
mainbus0: bus 4 is type PCI
mainbus0: bus 5 is type ISA
ioapic0 at mainbus0: apid 8 pa 0xfec0, version 20, 24 pins
ioapic1 at mainbus0: apid 9 pa 0xfec81000, version 20, 24 pins
ioapic2 at mainbus0: apid 10 pa 0xfec81400, version 20, 24 pins
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 Intel E7501 MCH Host rev 0x01
Intel E7500 DRAM rev 0x01 at pci0 dev 0 function 1 not configured
ppb0 at pci0 dev 3 function 0 Intel E7500 MCH HI_C vppb 1 rev 0x01
pci1 at ppb0 bus 1
Intel P64H2 IOxAPIC rev 0x04 at pci1 dev 28 function 0 not configured
ppb1 at pci1 dev 29 function 0 Intel 82870P2 P64H2 PCI-PCI rev 0x04
pci2 at ppb1 bus 2
em0 at pci2 dev 2 function 0 Intel PRO/1000XT (82544EI) rev 0x02: apic 
8 int 9
em1 at pci2 dev 5 function 0 Intel PRO/1000MT DP (82546EB) rev 0x01: 
apic 8 in
em2 at pci2 dev 5 function 1 Intel PRO/1000MT DP (82546EB) rev 0x01: 
apic 8 in

Intel P64H2 IOxAPIC rev 0x04 at pci1 dev 30 function 0 not configured
ppb2 at pci1 dev 31 function 0 Intel 82870P2 P64H2 PCI-PCI rev 0x04
pci3 at ppb2 bus 3
aac0 at pci3 dev 1 function 0 Adaptec ASR-2200S rev 0x01: apic 9 int 4 
(irq 9)
aac0: Intel GC80302 IOP 100MHz, 64MB, optional battery not installed (4) 
Kernel

scsibus0 at aac0: 64 targets
sd0 at scsibus0 targ 0 lun 0: Adaptec, Container #00,  SCSI2 0/direct 
fixed
sd0: 139980MB, 17845 cyl, 255 head, 63 sec, 512 bytes/sec, 286679925 sec 
total
ahd0 at pci3 dev 4 function 0 Adaptec AIC-7902 U320 rev 0x03: apic 9 
int 6 (ir

aic7902: U320 Wide Channel A, SCSI Id=7, PCI 33 or 66Mhz, 512 SCBs
scsibus1 at ahd0: 16 targets
st0 at scsibus1 targ 4 lun 0: BNCHMARK, DLT1, 5032 SCSI2 1/sequential 
removabl

st0: density code 0x40, variable blocks, write-enabled
ahd1 at pci3 dev 4 function 1 Adaptec AIC-7902 U320 rev 0x03: apic 9 
int 7 (ir

aic7902: U320 Wide Channel B, SCSI Id=7, PCI 33 or 66Mhz, 512 SCBs
scsibus2 at ahd1: 16 targets
Intel E7500 MCH HI_C vppb 2 rev 0x01 at pci0 dev 3 function 1 not 
configured

ppb3 at pci0 dev 30 function 0 Intel 82801BA AGP rev 0x42
pci4 at ppb3 bus 4
vga1 at pci4 dev 12 function 0 ATI Rage XL rev 0x27
wsdisplay0 at vga1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
ichpcib0 at pci0 dev 31 function 0 Intel 82801CA LPC rev 0x02
pciide0 at pci0 dev 31 function 1 Intel 82801CA IDE rev 0x02: DMA, 
channel 0 c

atapiscsi0 at pciide0 channel 0 drive 0
scsibus3 at atapiscsi0: 2 targets
cd0 at scsibus3 targ 0 lun 0: HL-DT-ST, CD-ROM GCR-8523B, 1.00 SCSI0 
5/cdrom r

cd0(pciide0:0:0): using PIO mode 4, DMA mode 2
pciide0: channel 1 disabled (no drives)
Intel 82801CA/CAM SMBus rev 0x02 at pci0 dev 31 function 3 not configured
isa0 at ichpcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0 (mux 1 ignored for console): console keyboard, using 
wsdisplay0

pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
sysbeep0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
npx0 at isa0 port 0xf0/16: using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
biomask 0 netmask 0 ttymask 0
pctr: user-level cycle counter enabled
dkcsum: sd0 matched BIOS disk 80
root on sd0a
rootdev=0x400 rrootdev=0xd00 rawdev=0xd02

em0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
  address: 00:0e:0c:70:c9:52
  media: Ethernet autoselect (100baseTX full-duplex)
  status: active
  inet 10.0.5.19 netmask 0xff00 broadcast 10.0.5.255
  inet6 

em0 and SMP problem

2005-07-01 Thread Michał Koc

Hello all,

I've a problem with em0 (and eventually any other nic connected to the 
pci bus) on double Xeon, while I run smp kernel.


I have no idea what could couse it, there was problem with ICU but I've 
fixed it as follows:


pcibios0: no compatible PCI ICU found: ICU vendor 0x8086 product 0x2480
pcibios0: Warning, unable to fix up PCI interrupt routing

to

pcibios0: PCI Interrupt Router at 000:31:0 (Intel 82801CA LPC rev 0x00)

but that did not fix em0 nic.

The motherboard is IntelB. Server Board SE7501HG2, two em0 onborad, not 
working.

Bios upgrade does not change anything.

If someone could point me out where to look for the problem, I would be 
extremely thankfull.
I've got 4 machines with this configuration and I hate to run freebsd on 
them.


Best regards
Michal Koc



Re: em0 and SMP problem

2005-07-01 Thread Johan M:son Lindman
On Friday 01 July 2005 21.49, MichaE Koc wrote:
 Hello all,

 I've a problem with em0 (and eventually any other nic connected to the
 pci bus) on double Xeon, while I run smp kernel.

What problem? Are you not even going to describe your problem?

 I have no idea what could couse it, there was problem with ICU but I've
 fixed it as follows:

What is the actual problem you're refering to?

 pcibios0: no compatible PCI ICU found: ICU vendor 0x8086 product 0x2480
 pcibios0: Warning, unable to fix up PCI interrupt routing

 to

 pcibios0: PCI Interrupt Router at 000:31:0 (Intel 82801CA LPC rev 0x00)

That's nice, please submit the diff.

 but that did not fix em0 nic.

Fix it how?
What is it you need to get fixed? What is the actual problem?

 The motherboard is IntelB. Server Board SE7501HG2, two em0 onborad, not
 working.
 Bios upgrade does not change anything.

 If someone could point me out where to look for the problem, I would be
 extremely thankfull.
 I've got 4 machines with this configuration and I hate to run freebsd on
 them.

I would be extremely thankfull if you could include the basics like dmesg when 
you post, heck even a description of the problem would be nice.
Now, please have a look at http://www.openbsd.org/report.html and then file a 
proper problem report.


Regards
Johan M:son



Re: em0 and SMP problem

2005-07-01 Thread Michał Koc

Ok,

starting from the beginnig,

The em nics are visible in dmesg and ifconfig.
They do transmit packets as I can see in tcpdump on the destination machine.
But they do not recive any packets.
ie. I ping from SMP machine to dest
on dest I can se echo requests comming from SMP and echo replies going 
to SMP.
But SMP does not recive anything back. Actually I can see replies going 
to SMP on switch, but not on SMP.


The problem goes away when I disable SMP in kernel.
This looks like some issue witch device polling, maby.

What I did with ICU is:
h/i386/pci/pci_intr_fixup.c   


Index: sys/arch/i386/pci/pci_intr_fixup.c
===
RCS file: /cvs/src/sys/arch/i386/pci/pci_intr_fixup.c,v
retrieving revision 1.36
diff -u -r1.36 pci_intr_fixup.c
--- sys/arch/i386/pci/pci_intr_fixup.c  2004/09/26 20:17:42 1.36
+++ sys/arch/i386/pci/pci_intr_fixup.c  2005/07/01 22:20:28
@@ -148,6 +148,8 @@
 piix_init },
   { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_82801BAM_LPC,
 piix_init },
+   { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_82801CA_LPC,
+ piix_init },
   { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_82801CAM_LPC,
 piix_init },
   { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_82801DB_LPC,



Thank in advance
MichaE Koc



Re: em0 and SMP problem

2005-07-01 Thread Johan M:son Lindman
On Saturday 02 July 2005 00.22, MichaE Koc wrote:
 Ok,

 starting from the beginnig,

 The em nics are visible in dmesg and ifconfig.
 They do transmit packets as I can see in tcpdump on the destination
 machine. But they do not recive any packets.
 ie. I ping from SMP machine to dest
 on dest I can se echo requests comming from SMP and echo replies going
 to SMP.
 But SMP does not recive anything back. Actually I can see replies going
 to SMP on switch, but not on SMP.

 The problem goes away when I disable SMP in kernel.
 This looks like some issue witch device polling, maby.

Please DO provide a dmesg.

 What I did with ICU is:
 h/i386/pci/pci_intr_fixup.c
 
 Index: sys/arch/i386/pci/pci_intr_fixup.c
 ===
 RCS file: /cvs/src/sys/arch/i386/pci/pci_intr_fixup.c,v
 retrieving revision 1.36
 diff -u -r1.36 pci_intr_fixup.c
 --- sys/arch/i386/pci/pci_intr_fixup.c  2004/09/26 20:17:42 1.36
 +++ sys/arch/i386/pci/pci_intr_fixup.c  2005/07/01 22:20:28
 @@ -148,6 +148,8 @@
   piix_init },
 { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_82801BAM_LPC,
   piix_init },
 +   { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_82801CA_LPC,
 + piix_init },
 { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_82801CAM_LPC,
   piix_init },
 { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_82801DB_LPC,



 Thank in advance
 MichaE Koc



Re: em0 and SMP problem

2005-07-01 Thread Marco Peereboom

DMESG!

On Jul 1, 2005, at 5:22 PM, MichaE Koc wrote:


Ok,

starting from the beginnig,

The em nics are visible in dmesg and ifconfig.
They do transmit packets as I can see in tcpdump on the destination  
machine.

But they do not recive any packets.
ie. I ping from SMP machine to dest
on dest I can se echo requests comming from SMP and echo replies  
going to SMP.
But SMP does not recive anything back. Actually I can see replies  
going to SMP on switch, but not on SMP.


The problem goes away when I disable SMP in kernel.
This looks like some issue witch device polling, maby.

What I did with ICU is:
h/i386/pci/ 
pci_intr_fixup.c   

Index: sys/arch/i386/pci/pci_intr_fixup.c
===
RCS file: /cvs/src/sys/arch/i386/pci/pci_intr_fixup.c,v
retrieving revision 1.36
diff -u -r1.36 pci_intr_fixup.c
--- sys/arch/i386/pci/pci_intr_fixup.c  2004/09/26 20:17:42 1.36
+++ sys/arch/i386/pci/pci_intr_fixup.c  2005/07/01 22:20:28
@@ -148,6 +148,8 @@
 piix_init },
   { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_82801BAM_LPC,
 piix_init },
+   { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_82801CA_LPC,
+ piix_init },
   { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_82801CAM_LPC,
 piix_init },
   { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_82801DB_LPC,



Thank in advance
MichaE Koc