[Pkg-iscsi-maintainers] Bug#614829: iscsitarget-source: fail to patch against 2.6.32

Min Xu min at seamicro.com
Wed Feb 23 19:21:32 UTC 2011


Hi Ritesh,

If it is possible to fit it in squeeze then others may not have to run into this problem when they run iscsi target on squeeze.

thanks,
min

On Thu, 24 Feb 2011 Ritesh Raj Sarraf wrote :
> 1.4.20.2-1 should build clean. As for this version (-4), the kernel in
> wheezy will soon change to something more recent, where there are more
> different changes.
> 
> On 02/23/2011 10:55 PM, Min Xu wrote:
> > Package: iscsitarget-source
> > Version: 1.4.20.2-4
> > Severity: normal
> >
> >
> > The patch file for 2.6.32 is stale. It doesn't apply. I changed it to the following and the compile worked.
> >
> > diff --git b/kernel/conn.c a/kernel/conn.c
> > index f179db5..4b53acd 100644
> > --- b/kernel/conn.c
> > +++ a/kernel/conn.c
> > @@ -44,7 +44,7 @@ void conn_info_show(struct seq_file *seq, struct iscsi_session *session)
> >                 switch (sk->sk_family) {
> >                 case AF_INET:
> >                         snprintf(buf, sizeof(buf),
> > -                                "%pI4", inet_sk(sk)->inet_daddr);
> > +                                "%pI4", inet_sk(sk)->daddr);
> >                         break;
> >                 case AF_INET6:
> >                         snprintf(buf, sizeof(buf), "[%pI6]",
> >
> >
> > -- System Information:
> > Debian Release: 6.0
> >   APT prefers testing
> >   APT policy: (600, 'testing'), (500, 'unstable'), (500, 'stable'), (200, 'experimental')
> > Architecture: i386 (i686)
> >
> > Kernel: Linux 2.6.32-5-686 (SMP w/1 CPU core)
> > Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
> > Shell: /bin/sh linked to /bin/bash
> >
> > Versions of packages iscsitarget-source depends on:
> > ii  bzip2                         1.0.5-6    high-quality block-sorting file co
> > ii  debhelper                     8.0.0      helper programs for debian/rules
> > ii  module-assistant              0.11.3     tool to make module package creati
> >
> > iscsitarget-source recommends no packages.
> >
> > iscsitarget-source suggests no packages.
> >
> > -- no debconf information
> >
> >
> >
> 
> 
> -- 
> Ritesh Raj Sarraf
> RESEARCHUT - http://www.researchut.com
> "Necessity is the mother of invention."
> 
> 







More information about the Pkg-iscsi-maintainers mailing list