6.2-RC1 em(4) issue - freezes during CD boot

Jack Vogel jfvogel at gmail.com
Wed Dec 13 20:13:31 PST 2006


On 12/13/06, Chris Buechler <freebsd at chrisbuechler.com> wrote:
> Jack Vogel wrote:
> > I need the PCI ID of that NIC, just to be sure that I can't reproduce
> > this, but
> > I doubt it, pciconf -l
>
>
> Here's the pciconf -l from 6.2-RC1, custom kernel (copy of GENERIC,
> minus 'device em')
>
> agp0 at pci0:0:0:  class=0x060000 card=0x00000000 chip=0x700c1022 rev=0x20
> hdr=0x00
> pcib1 at pci0:1:0: class=0x060400 card=0x00000000 chip=0x700d1022 rev=0x00
> hdr=0x01
> isab0 at pci0:7:0: class=0x060100 card=0x00000000 chip=0x74401022 rev=0x05
> hdr=0x00
> atapci0 at pci0:7:1:       class=0x01018a card=0x74411022 chip=0x74411022
> rev=0x04 hdr=0x00
> none0 at pci0:7:3: class=0x068000 card=0x74431022 chip=0x74431022 rev=0x03
> hdr=0x00
> none1 at pci0:8:0: class=0x030000 card=0x00000000 chip=0x47581002 rev=0x01
> hdr=0x00
> none2 at pci0:9:0: class=0x020000 card=0x002e8086 chip=0x100e8086 rev=0x02
> hdr=0x00
> asr0 at pci0:10:0: class=0x0e0001 card=0xc0661044 chip=0xa5011044 rev=0x01
> hdr=0x00
> pcib2 at pci0:10:1:        class=0x060400 card=0x00000068 chip=0xa5001044
> rev=0x01 hdr=0x01
> pcib3 at pci0:16:0:        class=0x060400 card=0x00000000 chip=0x74481022
> rev=0x05 hdr=0x01
> ohci0 at pci3:0:0: class=0x0c0310 card=0x00000000 chip=0x74491022 rev=0x07
> hdr=0x00
> xl0 at pci3:8:0:   class=0x020000 card=0x246610f1 chip=0x920010b7 rev=0x78
> hdr=0x00
>
>
> > interesting question is what will happen when you load
> > the em driver afterwords :)
>
> Indeed, I was expecting Bad Things to happen.  But no, after the
> kldload, the interface was detected, I put an IP on it and it's working
> fine.  I bound an iperf server to that interface and ran an iperf client
> from a slower box with a gig card and got ~520 Mbps out of it (probably
> limited by the slower client box).  So it seems to be working fine as
> long as it's not compiled into the kernel.  Granted I haven't done any
> really extensive testing or use of it.
>
> Here's the pciconf -l after loading the em driver.
>
> agp0 at pci0:0:0:  class=0x060000 card=0x00000000 chip=0x700c1022 rev=0x20
> hdr=0x00
> pcib1 at pci0:1:0: class=0x060400 card=0x00000000 chip=0x700d1022 rev=0x00
> hdr=0x01
> isab0 at pci0:7:0: class=0x060100 card=0x00000000 chip=0x74401022 rev=0x05
> hdr=0x00
> atapci0 at pci0:7:1:       class=0x01018a card=0x74411022 chip=0x74411022
> rev=0x04 hdr=0x00
> none0 at pci0:7:3: class=0x068000 card=0x74431022 chip=0x74431022 rev=0x03
> hdr=0x00
> none1 at pci0:8:0: class=0x030000 card=0x00000000 chip=0x47581002 rev=0x01
> hdr=0x00
> em0 at pci0:9:0:   class=0x020000 card=0x002e8086 chip=0x100e8086 rev=0x02
> hdr=0x00
> asr0 at pci0:10:0: class=0x0e0001 card=0xc0661044 chip=0xa5011044 rev=0x01
> hdr=0x00
> pcib2 at pci0:10:1:        class=0x060400 card=0x00000068 chip=0xa5001044
> rev=0x01 hdr=0x01
> pcib3 at pci0:16:0:        class=0x060400 card=0x00000000 chip=0x74481022
> rev=0x05 hdr=0x01
> ohci0 at pci3:0:0: class=0x0c0310 card=0x00000000 chip=0x74491022 rev=0x07
> hdr=0x00
> xl0 at pci3:8:0:   class=0x020000 card=0x246610f1 chip=0x920010b7 rev=0x78
> hdr=0x00

This is quite odd, and as a matter of fact, because our test group is always
testing drivers that are made here at Intel, I believe most often they have the
driver as a module and not static... hmmm, so let me see if I have any luck
reproducing it.

Since its often the case that a kernel you rebuild is NOT the same as the
one install ends you with it might be a good test to go ahead, redefine em
back into the kernel and see if THAT new kernel hangs. Just be SURE and
keep this other kernel available to boot up again :)

I"ll look into this, but not right away, I have a high priority chunk
of code I'm
working on and that needs to get done in the next couple days, and then
I'm having a couple long-needed weeks of vacation :)

Happy Holidays,

Jack


More information about the freebsd-stable mailing list