Re: panic: invalid ife->ifm_data (0xa) in mii_phy_setmedia

2006-08-30 Thread Patrick Hurrelmann
Pyun YongHyeon wrote: On Wed, Aug 30, 2006 at 12:52:49PM +0400, Gleb Smirnoff wrote: > On Wed, Aug 30, 2006 at 05:22:23PM +0900, Ganbold wrote: > G> >On Wed, Aug 30, 2006 at 12:23:20PM +0900, Ganbold wrote: > G> >G> Thanks a lot for your patch. Your patch fixes panic, however I still see > G

Re: panic: invalid ife->ifm_data (0xa) in mii_phy_setmedia

2006-08-30 Thread Pyun YongHyeon
On Wed, Aug 30, 2006 at 11:50:12AM +0400, Gleb Smirnoff wrote: > Pyun, > > On Wed, Aug 30, 2006 at 04:30:25PM +0900, Pyun YongHyeon wrote: > P> === > P> RCS file: /home/ncvs/src/sys/dev/bge/if_bge.c,v > P> retrieving revision

Re: panic: invalid ife->ifm_data (0xa) in mii_phy_setmedia

2006-08-30 Thread Pyun YongHyeon
On Wed, Aug 30, 2006 at 12:52:49PM +0400, Gleb Smirnoff wrote: > On Wed, Aug 30, 2006 at 05:22:23PM +0900, Ganbold wrote: > G> >On Wed, Aug 30, 2006 at 12:23:20PM +0900, Ganbold wrote: > G> >G> Thanks a lot for your patch. Your patch fixes panic, however I still > see > G> >G> bge0: firmware

Re: panic: invalid ife->ifm_data (0xa) in mii_phy_setmedia

2006-08-30 Thread Ganbold
Gleb Smirnoff wrote: On Wed, Aug 30, 2006 at 05:26:07PM +0900, Ganbold wrote: G> Gleb, Pyun, G> G> I'm a kind of bit confused here whose patch to choose. G> Can you guys enlighten me in this regard? Can you please merge them? You should take all the stuff that prepares the dma_rw_ctl variable

Re: panic: invalid ife->ifm_data (0xa) in mii_phy_setmedia

2006-08-30 Thread Gleb Smirnoff
On Wed, Aug 30, 2006 at 05:26:07PM +0900, Ganbold wrote: G> Gleb, Pyun, G> G> I'm a kind of bit confused here whose patch to choose. G> Can you guys enlighten me in this regard? Can you please merge them? You should take all the stuff that prepares the dma_rw_ctl variable from my patch, and all t

Re: panic: invalid ife->ifm_data (0xa) in mii_phy_setmedia

2006-08-30 Thread Gleb Smirnoff
On Wed, Aug 30, 2006 at 05:22:23PM +0900, Ganbold wrote: G> >On Wed, Aug 30, 2006 at 12:23:20PM +0900, Ganbold wrote: G> >G> Thanks a lot for your patch. Your patch fixes panic, however I still see G> >G> bge0: firmware handshake timed out G> >G> bge0: link state changed to DOWN G> >G> messages. G>

Re: panic: invalid ife->ifm_data (0xa) in mii_phy_setmedia

2006-08-30 Thread Ganbold
Gleb, Pyun, I'm a kind of bit confused here whose patch to choose. Can you guys enlighten me in this regard? thanks, Ganbold Gleb Smirnoff wrote: Pyun, On Wed, Aug 30, 2006 at 04:30:25PM +0900, Pyun YongHyeon wrote: P> === P>

Re: panic: invalid ife->ifm_data (0xa) in mii_phy_setmedia

2006-08-30 Thread Ganbold
t have specification documentation from Broadcom so I can not say if that is a "real fix" :-( The patch was tested on Dell Latitude D820. The only problem remains is that the -CURRENT kernel crashes if I did not explicitly set the media and do a "ifconfig bge0 up", with "

Re: panic: invalid ife->ifm_data (0xa) in mii_phy_setmedia

2006-08-30 Thread Gleb Smirnoff
s is that the -CURRENT kernel crashes if I did not explicitly set the media and do a "ifconfig bge0 up", with "panic: invalid ife->ifm_data (0xa) in mii_phy_setmedia". Backtrace is available upon request. Cheers, -- Xin LI <[EMAIL PROTECTED]>

Re: panic: invalid ife->ifm_data (0xa) in mii_phy_setmedia

2006-08-30 Thread Gleb Smirnoff
Pyun, On Wed, Aug 30, 2006 at 04:30:25PM +0900, Pyun YongHyeon wrote: P> === P> RCS file: /home/ncvs/src/sys/dev/bge/if_bge.c,v P> retrieving revision 1.91.2.16 P> diff -u -r1.91.2.16 if_bge.c P> --- if_bge.c 10 Aug 2006 11:02:14 -0

Re: panic: invalid ife->ifm_data (0xa) in mii_phy_setmedia

2006-08-30 Thread Ganbold
Pyun YongHyeon wrote: On Wed, Aug 30, 2006 at 12:23:20PM +0900, Ganbold wrote: > Hi, > > Thanks a lot for your patch. Your patch fixes panic, however I still see > bge0: firmware handshake timed out > bge0: link state changed to DOWN > messages. > > When I tried to use Oleg's if_bge.c,

Re: panic: invalid ife->ifm_data (0xa) in mii_phy_setmedia

2006-08-30 Thread Pyun YongHyeon
On Wed, Aug 30, 2006 at 12:23:20PM +0900, Ganbold wrote: > Hi, > > Thanks a lot for your patch. Your patch fixes panic, however I still see > bge0: firmware handshake timed out > bge0: link state changed to DOWN > messages. > > When I tried to use Oleg's if_bge.c, rev. 1.140 in STABLE bui

Re: panic: invalid ife->ifm_data (0xa) in mii_phy_setmedia

2006-08-29 Thread Ganbold
Hi, Thanks a lot for your patch. Your patch fixes panic, however I still see bge0: firmware handshake timed out bge0: link state changed to DOWN messages. When I tried to use Oleg's if_bge.c, rev. 1.140 in STABLE buildkernel stops: mkdep -f .depend -a -nostdinc -D_KERNEL -DKLD_MODULE -I- -DH

panic: invalid ife->ifm_data (0xa) in mii_phy_setmedia

2006-08-29 Thread Ganbold
eme Gigabit Ethernet' class= network subclass = ethernet panic: invalid ife->ifm_data (0xa) in mii_phy_setmedia cpuid = 1 KDB: enter: panic [thread pid 251 tid 100062 ] Stopped at kdb_enter+0x2b: nop db> bt Tracing pid 249 tid 100054 td 0xc4c5 kdb_enter(c07a8a15) at