ed(4) broken?

Brooks Davis brooks at one-eyed-alien.net
Wed Jun 15 20:23:58 GMT 2005


On Wed, Jun 15, 2005 at 01:55:52PM -0600, Warner Losh wrote:
> From: Maxim Konovalov <maxim at macomnet.ru>
> Subject: Re: ed(4) broken?
> Date: Wed, 15 Jun 2005 23:14:52 +0400 (MSD)
> 
> > On Wed, 15 Jun 2005, 00:27-0600, M. Warner Losh wrote:
> > 
> > > In message: <20050614231344.F76340 at mp2.macomnet.net>
> > >             Maxim Konovalov <maxim at macomnet.ru> writes:
> > > : Latest GENERIC in qemu produces
> > > : Jun 14 19:12:04 qemu6 kernel: ed_start(0xc12e5000) GONE
> > > : Jun 14 19:12:07 qemu6 kernel: ed0: NIC memory corrupt - invalid packet length 45
> > > : No real hardware though.
> > >
> > > ed works for me on all the real hardware I have.  Maybe you could give
> > > me more details.
> > 
> > Something between 2005/06/10 00:00 UTC and 2005/06/11 00:00 UTC broke
> > qemu's ed(4).  I'm still not sure it's not qemu problem.  No
> > additional info so far, sorry.
> 
> That's when the big, jumbo ifnet patch went in.  I eyeballed the
> changes and can see nothing wrong by visual inspection.

I've looked to code over closely again and I'm supprised it works for
anyone.  I found four instances of casts of sc to get ifp including one
if sc_xmit.  I must have missed them when reconverting the driver after
your cleanup. :(  I've commited a fix for them.

-- Brooks

-- 
Any statement of the form "X is the one, true Y" is FALSE.
PGP fingerprint 655D 519C 26A7 82E7 2529  9BF0 5D8E 8BE9 F238 1AD4
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20050615/53a39fcc/attachment-0001.bin


More information about the freebsd-current mailing list