Re: cardbus problem

2002-03-08 Thread Yuri Khotyaintsev

On Thursday 07 March 2002 17.13, M. Warner Losh wrote:
 In message: [EMAIL PROTECTED]
 : I have xl0: watchdog timeout on my 3Com cardbus card after updating
 : kernel recently. Everything seems to be OK during boot,
 : but xl0: watchdog timeout starts directly after ifconfig, and makes
 : network incredibly slow.
 : boot -v will not boot at all, it stops somewhere around
 : cardbus_attach_card.
 :
 : It seems the problem is in recent changes to sys/dev/cardbus, because
 : taking the August version of  sys/dev/cardbus/* files resolved the
 : problem.

 So using a completely -current kernel, except for the august version
 of sys/dev/cardbus/*?  I wouldn't have expected that to compile, but
 that's a good data point if true.

Yes, it compiled. The only complain was about DETACH_NOWARN.

 : xl0: 3Com 3c656B Fast Etherlink XL port 0x1000-0x107f mem
 : 0x84002000-0x8400207f,0x84002000-0x840020ff irq 11 at device 0.0 on
 : cardbus1 xl0: Ethernet address: 00:50:04:92:29:17

 What does vmstat -i say about irq 11?

This is for the new kernel:

interrupt   total   rate
stray irq0  1  0
stray irq6  1  0
npx0 irq13  1  0
ata0 irq14   1323 12
pccbb1 irq111  0
atkbd0 irq1   200  1
clk irq010417100
Total   11944114

This is for kernel with august cardbus:

interrupt   total   rate
stray irq0  1  0
stray irq6  1  0
npx0 irq13  1  0
ata0 irq14   1371 19
atkbd0 irq1   133  1
clk irq0 6868 99
xl0 irq11  63  0

So its pccbb1 on irq 11 in the first case, and  xl0 in the second.

Yuri

 Warner

 /me gets out his 656 cardbus card and gives it a whirl.

-- 

Yuri Khotyaintsev 

Swedish Institute of Space Physics

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: cardbus problem

2002-03-08 Thread M. Warner Losh

OK.  I've recreated this problem.  It looks like I broke interrupts to
cardbus with the large cleanup.  I could have sworn I'd tested that,
but it looks like my testing metholology was flawed.  I'm looking into
it.  Thanks.

Warner

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: cardbus problem

2002-03-07 Thread M. Warner Losh

In message: [EMAIL PROTECTED]
Yuri Khotyaintsev [EMAIL PROTECTED] writes:
: Hi!
: 
: I have xl0: watchdog timeout on my 3Com cardbus card after updating kernel  
: recently. Everything seems to be OK during boot,
: but xl0: watchdog timeout starts directly after ifconfig, and makes network 
: incredibly slow.
: boot -v will not boot at all, it stops somewhere around cardbus_attach_card.
: 
: It seems the problem is in recent changes to sys/dev/cardbus, because
: taking the August version of  sys/dev/cardbus/* files resolved the problem.

So using a completely -current kernel, except for the august version
of sys/dev/cardbus/*?  I wouldn't have expected that to compile, but
that's a good data point if true.

: xl0: 3Com 3c656B Fast Etherlink XL port 0x1000-0x107f mem 
: 0x84002000-0x8400207f,0x84002000-0x840020ff irq 11 at device 0.0 on cardbus1
: xl0: Ethernet address: 00:50:04:92:29:17

What does vmstat -i say about irq 11?

Warner

/me gets out his 656 cardbus card and gives it a whirl.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message