From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Sun, 19 Dec 2004 19:52:20 +0300 From: Sergey Vlasov To: hardware@altlinux.ru Subject: Re: [Hardware] Re: Kernel =?koi8-r?Q?panic?= =?koi8-r?B?INcg7cHT1MXS?= 2.4 (fealnx, Myson BC001) Message-ID: <20041219165220.GB7149@sirius.home> Mail-Followup-To: hardware@altlinux.ru References: <20041219011626.114b277d.pvs@volgodonsk.ru> <41C4BA2C.9070301@mail.ru> <20041219125050.GT29176@osdn.org.ua> <41C5A9FA.7000500@mail.ru> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="KDt/GgjP6HVcx58l" Content-Disposition: inline In-Reply-To: <41C5A9FA.7000500@mail.ru> X-BeenThere: hardware@altlinux.ru X-Mailman-Version: 2.1.5 Precedence: list Reply-To: hardware@altlinux.ru List-Id: ALT Linux hardware support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Dec 2004 16:52:25 -0000 Archived-At: List-Archive: --KDt/GgjP6HVcx58l Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Dec 19, 2004 at 06:19:06PM +0200, Yuri N. Glibovetz wrote: > http://lists.altlinux.ru/pipermail/sisyphus/2003-December/031179.html > http://lists.altlinux.ru/pipermail/sisyphus/2003-December/031194.html > http://lists.altlinux.ru/pipermail/sisyphus/2003-December/031231.html > http://lists.altlinux.ru/pipermail/sisyphus/2003-December/031258.html > http://lists.altlinux.ru/pipermail/sisyphus/2003-December/031271.html >=20 > =E9=CE=D4=C5=D2=C5=D3=CE=CF, =DE=C5=CD =DA=C1=CB=CF=CE=DE=C9=CC=C1=D3=D8 = =DC=D4=C1 =C9=D3=D4=CF=D2=C9=D1? =E1 =CE=C9=DE=C5=CD - =D4=CF=C7=C4=C1 =D4=C1=CB =CE=C9=DE=C5=C7=CF =C9 =CE= =C5 =D2=C1=D3=CB=CF=D0=C1=CC=C9. > =EB=D3=D4=C1=D4=C9 =C5=D3=CC=C9 =D7=C5=D2=C9=D4=D8 =C4=D2=D5=C7=C9=CD =C9= =D3=D4=CF=DE=CE=C9=CB=C1=CD, =CD=C5=D3=D4=CF Oops =CC=CF=CB=C1=CC=C9=DA=CF= =D7=C1=CE=CF. > fealnx.c:netdev_rx: >=20 > >/* Check if the packet is long enough to accept without copying > > to a minimally-sized skbuff. */ > >if (pkt_len < rx_copybreak && > > (skb =3D dev_alloc_skb(pkt_len + 2)) !=3D NULL) { > > skb->dev =3D dev; > > skb_reserve(skb, 2); /* 16 byte align the IP header */ > > /* Call copy + cksum if available. */ > > > >#if ! defined(__alpha__) > > eth_copy_and_sum(skb, > > np->cur_rx->skbuff->tail, pkt_len, 0); > > skb_put(skb, pkt_len); > >#else > > memcpy(skb_put(skb, pkt_len), > > np->cur_rx->skbuff->tail, pkt_len); > >#endif > >} else { > > skb_put(skb =3D np->cur_rx->skbuff, pkt_len); > > np->cur_rx->skbuff =3D NULL; > > if (np->really_rx_count =3D=3D RX_RING_SIZE) > > np->lack_rxbuf =3D np->cur_rx; > > --np->really_rx_count; // <----- =DC=D4=CF =DA=C4=C5=D3=D8 > >} =F7 =C4=C1=CE=CE=CF=CD =D3=CC=D5=DE=C1=C5 oops =C2=D9=CC =D7 =C4=D2=D5=C7= =CF=CD =CD=C5=D3=D4=C5 - =D7 intr_handler(): /* Free the original skb. */ pci_unmap_single(np->pci_dev, np->cur_tx->buffer, np->cur_tx->skbuff->len, PCI_DMA_TODEVICE); dev_kfree_skb_irq(np->cur_tx->skbuff); =F7 np->cur_tx->skbuff =CF=CB=C1=DA=C1=CC=D3=D1 NULL. =FC=D4=CF =D7=C5=D3=D8=CD=C1 =D0=CF=C8=CF=D6=C5 =CE=C1 =D0=D2=CF=C2=CC=C5= =CD=D5, =C9=D3=D0=D2=C1=D7=CC=C5=CE=D5=C0 =D7 2.6 =D7=CF=D4 =DC=D4=C9=CD = =D0=C1=D4=DE=C5=CD: http://linux.bkbits.net:8080/linux-2.6/cset@406b2395GEYyN1xve0b-r-4zWwj-iQ =F0=D2=C9=DE=A3=CD =D7 2.4 =DC=D4=CF=C7=CF =D0=C1=D4=DE=C1 =C4=CF =D3=C9=C8= =D0=CF=D2 =CE=C5=D4 (=C8=CF=D4=D1 =D0=CF=D3=CC=C5 =CE=C5=C7=CF =D7 2.6 =C2= =D9=CC=C1 =C3=C5=CC=C1=D1 =D3=C5=D2=C9=D1 =C9=DA 11 =D0=C1=D4=DE=C5=CA, =CB=CF=D4=CF= =D2=D9=C5 =D7=CF=DB=CC=C9 =C9 =D7 2.4). =F3=D4=D2=C1=CE=CE=CF. =F7=C9=C4= =C9=CD=CF, =DC=D4=C9 =CB=C1=D2=D4=CF=DE=CB=C9 =CE=C9=CB=CF=CD=D5 =CE=C5 =CE=D5=D6=CE= =D9. =E1 =D7=CF=D4 =DE=D4=CF =D4=C1=CD =DA=C1 "another problem in the RX path" -= =CE=C5 =D3=CF=D7=D3=C5=CD =D0=CF=CE=D1=D4=CE=CF. --KDt/GgjP6HVcx58l Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (GNU/Linux) iD8DBQFBxbHEW82GfkQfsqIRApIwAJ0dQ84o3PclZ4o2bcGuSpDjJfOKbQCeICCI sjsrE+7U40ggNtRKGVn2RL0= =2mVz -----END PGP SIGNATURE----- --KDt/GgjP6HVcx58l--