8.0-RC USB/FS problem

Jeremy Chadwick freebsd at jdc.parodius.com
Tue Nov 24 17:47:16 UTC 2009


On Tue, Nov 24, 2009 at 06:13:21PM +0100, Hans Petter Selasky wrote:
> On Tuesday 24 November 2009 17:58:47 Guojun Jin wrote:
> > Sorry for the typo -- it is public not pub in the middle. The others should
> > be all public.
> >
> > http:/www.daemonfun.com/archives/public/USB/crash1-reset.bz2
> >
> 
> %fetch http:/www.daemonfun.com/archives/public/USB/crash1-reset.bz2
> fetch: http:/www.daemonfun.com/archives/public/USB/crash1-reset.bz2: No 
> address record
> 
> --HPS
> 
> > -----Original Message-----
> > From: Hans Petter Selasky [mailto:hselasky at c2i.net]
> > Sent: Tue 11/24/2009 12:33 AM
> > To: Guojun Jin
> > Cc: freebsd-usb at freebsd.org; bugs at freebsd.org; freebsd-stable at freebsd.org
> > Subject: Re: 8.0-RC USB/FS problem
> >
> > On Tuesday 24 November 2009 09:12:45 Guojun Jin wrote:
> > > http:/www.daemonfun.com/archives/pub/USB/crash1-reset.bz2
> >
> > I'm not able to fetch this file. Could you extract the panic backtrace?
> >
> > --HPS

The above issue is unrelated to the USB/FS problem.  It looks like
fetch(1) has a parser bug.  Note the text portion between the URI and
URL is colon-slash not colon-slash-slash like it should be.

Reproduction:

$ host www.daemonfun.com
www.daemonfun.com is an alias for daemonfun.com.
daemonfun.com has address 76.202.192.211
daemonfun.com mail is handled by 10 mh1.daemonfun.com.
daemonfun.com mail is handled by 20 mh2.daemonfun.com.

$ fetch http:/www.daemonfun.com/
fetch: http:/www.daemonfun.com/: No address record

I haven't examined the code, but my guess is fetch is trying to do a
lookup on the FQDN "http:/www.daemonfun.com/".  Who wants to file a PR?
:-)

-- 
| Jeremy Chadwick                                   jdc at parodius.com |
| Parodius Networking                       http://www.parodius.com/ |
| UNIX Systems Administrator                  Mountain View, CA, USA |
| Making life hard for others since 1977.              PGP: 4BD6C0CB |


More information about the freebsd-stable mailing list