linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Martin Schlemmer <azarah@gentoo.org>
To: Marc-Christian Petersen <m.c.p@wolk-project.de>
Cc: Andrea Arcangeli <andrea@suse.de>,
	Eyal Lebedinsky <eyal@eyal.emu.id.au>,
	LKML <linux-kernel@vger.kernel.org>,
	cgoos@syskonnect.de, mlindner@syskonnect.de, linux@syskonnect.de
Subject: Re: 2.4.22pre7aa1: unresolved in sk98lin
Date: 02 Sep 2003 17:09:36 +0200	[thread overview]
Message-ID: <1062515375.14727.51.camel@workshop.saharacpt.lan> (raw)
In-Reply-To: <200309020920.08259.m.c.p@wolk-project.de>

On Tue, 2003-09-02 at 09:20, Marc-Christian Petersen wrote:
> On Tuesday 02 September 2003 01:46, Andrea Arcangeli wrote:
> 
> Hi Andrea,
> 
> > > depmod: *** Unresolved symbols in
> > > /lib/modules/2.4.22-pre7-aa1/kernel/drivers/net/sk98lin/sk98lin.o
> > > depmod:         __udivdi3
> > There are several functions triggering this problem, and it's a mainline
> > 2.4 problem (I don't see anything specific to my tree).
> > I'm CCing the authors of the driver, is there a new version or are we the
> > first triggering it? I can fix it myself but I'd prefer to avoid any
> > duplication since it's not a one liner.
> 
> the problem is _was_ the sk98lin driver, but this problem is gone for a very 
> long time now. 2.4.23-pre* will get an update in the next days with sk98lin 
> v6.17 (current 6.02 is in mainline) and the problem is gone with it.
> 
> Or at least, I don't get the unresolved symbols problem with it ;)
> 

Below is the patch that was used for 2.5 - might be the same
thing.  I don't know who posted it originally though, Andrew
might be able to help out with that as he posted it when I
tried to port the drivers back then ...

--------------------------
diff -puN drivers/net/sk98lin/h/skgepnm2.h~sk98-build-fix
drivers/net/sk98lin/h/skgepnm2.h
--- 25/drivers/net/sk98lin/h/skgepnm2.h~sk98-build-fix  Thu Mar  6
16:18:07 2003
+++ 25-akpm/drivers/net/sk98lin/h/skgepnm2.h    Thu Mar  6 16:18:07 2003
@@ -341,7 +341,7 @@ typedef struct s_PnmiStatAddr {
 #if SK_TICKS_PER_SEC == 100
 #define SK_PNMI_HUNDREDS_SEC(t)        (t)
 #else
-#define SK_PNMI_HUNDREDS_SEC(t)        (((t) * 100) /
(SK_TICKS_PER_SEC))
+#define SK_PNMI_HUNDREDS_SEC(t)        ((((long)t) * 100) /
(SK_TICKS_PER_SEC))
 #endif
 
 /*


-- 
Martin Schlemmer


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/
On Tue, 2003-09-02 at 09:20, Marc-Christian Petersen wrote:
> On Tuesday 02 September 2003 01:46, Andrea Arcangeli wrote:
> 
> Hi Andrea,
> 
> > > depmod: *** Unresolved symbols in
> > > /lib/modules/2.4.22-pre7-aa1/kernel/drivers/net/sk98lin/sk98lin.o
> > > depmod:         __udivdi3
> > There are several functions triggering this problem, and it's a mainline
> > 2.4 problem (I don't see anything specific to my tree).
> > I'm CCing the authors of the driver, is there a new version or are we the
> > first triggering it? I can fix it myself but I'd prefer to avoid any
> > duplication since it's not a one liner.
> 
> the problem is _was_ the sk98lin driver, but this problem is gone for a very 
> long time now. 2.4.23-pre* will get an update in the next days with sk98lin 
> v6.17 (current 6.02 is in mainline) and the problem is gone with it.
> 
> Or at least, I don't get the unresolved symbols problem with it ;)
> 

Below is the patch that was used for 2.5 - might be the same
thing.  I don't know who posted it originally though, Andrew
might be able to help out with that as he posted it when I
tried to port the drivers back then ...

--------------------------
diff -puN drivers/net/sk98lin/h/skgepnm2.h~sk98-build-fix
drivers/net/sk98lin/h/skgepnm2.h
--- 25/drivers/net/sk98lin/h/skgepnm2.h~sk98-build-fix  Thu Mar  6
16:18:07 2003
+++ 25-akpm/drivers/net/sk98lin/h/skgepnm2.h    Thu Mar  6 16:18:07 2003
@@ -341,7 +341,7 @@ typedef struct s_PnmiStatAddr {
 #if SK_TICKS_PER_SEC == 100
 #define SK_PNMI_HUNDREDS_SEC(t)        (t)
 #else
-#define SK_PNMI_HUNDREDS_SEC(t)        (((t) * 100) /
(SK_TICKS_PER_SEC))
+#define SK_PNMI_HUNDREDS_SEC(t)        ((((long)t) * 100) /
(SK_TICKS_PER_SEC))
 #endif
 
 /*


-- 
Martin Schlemmer



  reply	other threads:[~2003-09-02 15:26 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-19  1:32 2.4.22pre7aa1 Andrea Arcangeli
2003-07-19  8:27 ` 2.4.22pre7aa1 Christoph Hellwig
2003-07-20  8:25 ` 2.4.22pre7aa1: net/bluetooth/cmtp/core.c failure Eyal Lebedinsky
2003-07-21 21:57   ` Marcel Holtmann
2003-07-21 23:24 ` 2.4.22pre7aa1: unresolved in sk98lin Eyal Lebedinsky
2003-09-01 23:46   ` Andrea Arcangeli
2003-09-02  7:20     ` Marc-Christian Petersen
2003-09-02 15:09       ` Martin Schlemmer [this message]
2003-09-02 15:22         ` Andrea Arcangeli
2003-09-02  1:03 Xose Vazquez Perez
2003-09-02  1:09 ` Andrea Arcangeli
2003-09-02  1:43   ` Xose Vazquez Perez
2003-09-02  2:07     ` Andrea Arcangeli

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1062515375.14727.51.camel@workshop.saharacpt.lan \
    --to=azarah@gentoo.org \
    --cc=andrea@suse.de \
    --cc=cgoos@syskonnect.de \
    --cc=eyal@eyal.emu.id.au \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@syskonnect.de \
    --cc=m.c.p@wolk-project.de \
    --cc=mlindner@syskonnect.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).