Re: Linux 2.4.3ac13

2001-04-25 Thread David Woodhouse


[EMAIL PROTECTED] said:
>  AFAIR, this means that the driver is using an udelay() with a much
> too large argument. Break it up into several shorter ones, or use
> mdelay().

That isn't necessarily the case. This code can break even with _correct_ 
arguments to udelay().

This is because despite the number of times this kind of thing has bitten
us, we _still_ haven't learned our lesson w.r.t. depending on specifications
rather than the observed behaviour of this week's compiler with this
particular phase of the moon.

--
dwmw2


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



Re: Linux 2.4.3ac13

2001-04-25 Thread Horst von Brand

"Sergey Kubushin" <[EMAIL PROTECTED]> said:
> === Cut ===
> [root@nomad /root]# depmod -ae
> depmod: *** Unresolved symbols in
> /lib/modules/2.4.3ac13/kernel/drivers/net/aironet4500_card.o
> depmod: __bad_udelay
> === Cut ===

AFAIR, this means that the driver is using an udelay() with a much too
large argument. Break it up into several shorter ones, or use mdelay().
-- 
Dr. Horst H. von Brand   mailto:[EMAIL PROTECTED]
Departamento de Informatica Fono: +56 32 654431
Universidad Tecnica Federico Santa Maria  +56 32 654239
Casilla 110-V, Valparaiso, ChileFax:  +56 32 797513
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



Re: Linux 2.4.3ac13

2001-04-25 Thread Horst von Brand

Sergey Kubushin [EMAIL PROTECTED] said:
 === Cut ===
 [root@nomad /root]# depmod -ae
 depmod: *** Unresolved symbols in
 /lib/modules/2.4.3ac13/kernel/drivers/net/aironet4500_card.o
 depmod: __bad_udelay
 === Cut ===

AFAIR, this means that the driver is using an udelay() with a much too
large argument. Break it up into several shorter ones, or use mdelay().
-- 
Dr. Horst H. von Brand   mailto:[EMAIL PROTECTED]
Departamento de Informatica Fono: +56 32 654431
Universidad Tecnica Federico Santa Maria  +56 32 654239
Casilla 110-V, Valparaiso, ChileFax:  +56 32 797513
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



Re: Linux 2.4.3ac13

2001-04-24 Thread Andrzej Krzysztofowicz

> 
> Also, I initially built ac13 with:
> 
>   make mrproper
>   make menuconfig
> 
> and it doesn't ask whether I want to build the normal USHI USB driver either as
> a module or builtin to the kernel, only whether I want to build the alternative
> USHI USB dirver (the JE driver).  Make xconfig asks whether you want to build
> both drivers.  I'm not sure whether this was a bug in previous versions or
> not.

It is an old problem, probably caused by ugly hack in drivers/usb/Config.in
(using a variable before it is defined).
The following patch should fix it in some way...


diff -u drivers/usb/Config.in~ drivers/usb/Config.in
--- drivers/usb/Config.in~  Sat Feb 10 23:16:30 2001
+++ drivers/usb/Config.in   Sat Feb 17 00:06:34 2001
@@ -22,6 +22,8 @@
fi
if [ "$CONFIG_USB_UHCI" != "y" ]; then
   dep_tristate '  UHCI Alternate Driver (JE) support' CONFIG_USB_UHCI_ALT 
$CONFIG_USB
+   else
+  define_bool CONFIG_USB_UHCI_ALT n
fi
dep_tristate '  OHCI (Compaq, iMacs, OPTi, SiS, ALi, ...) support' CONFIG_USB_OHCI 
$CONFIG_USB
 

Andrzej
-- 
===
  Andrzej M. Krzysztofowicz   [EMAIL PROTECTED]
  phone (48)(58) 347 14 61
Faculty of Applied Phys. & Math.,   Technical University of Gdansk
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



Re: Linux 2.4.3ac13

2001-04-24 Thread Michael Meissner

On Tue, Apr 24, 2001 at 07:36:42PM -0400, Johannes Erdfelt wrote:
> On Tue, Apr 24, 2001, Michael Meissner <[EMAIL PROTECTED]> wrote:
> > and it doesn't ask whether I want to build the normal USHI USB driver either as
> > a module or builtin to the kernel, only whether I want to build the alternative
> > USHI USB dirver (the JE driver).  Make xconfig asks whether you want to build
> > both drivers.  I'm not sure whether this was a bug in previous versions or
> > not.
> 
> That's probably because you selected the alternative UHCI driver to
> build into the kernel. In that case, the other UHCI driver is not
> available as an option anymore. If you select it as a module, then both
> will be available.

Ummm, no.

As I said, I first cleaned everything out with mrproper, and then went through
the options in order.  Since the alternative UHCI driver does not occur until
after the question for the normal UHCI driver in drivers/usb/Configure.in, it
never asked me the question of building the normal UHCI driver.  I just
verified that if I use make xconfig instead of make menuconfig, I will be able
to choose either driver (yes, if you choose one as builtin, it won't allow you
to choose the other, but I'm talking about building them as modules, and the
initial selection after make mrproper is done).

-- 
Michael Meissner, Red Hat, Inc.  (GCC group)
PMB 198, 174 Littleton Road #3, Westford, Massachusetts 01886, USA
Work: [EMAIL PROTECTED]   phone: +1 978-486-9304
Non-work: [EMAIL PROTECTED]   fax:   +1 978-692-4482
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



Re: Linux 2.4.3ac13

2001-04-24 Thread Johannes Erdfelt

On Tue, Apr 24, 2001, Michael Meissner <[EMAIL PROTECTED]> wrote:
> and it doesn't ask whether I want to build the normal USHI USB driver either as
> a module or builtin to the kernel, only whether I want to build the alternative
> USHI USB dirver (the JE driver).  Make xconfig asks whether you want to build
> both drivers.  I'm not sure whether this was a bug in previous versions or
> not.

That's probably because you selected the alternative UHCI driver to
build into the kernel. In that case, the other UHCI driver is not
available as an option anymore. If you select it as a module, then both
will be available.

JE

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



Re: Linux 2.4.3ac13

2001-04-24 Thread Michael Meissner

On Tue, Apr 24, 2001 at 01:14:11AM +0100, Alan Cox wrote:
> 
>   ftp://ftp.kernel.org/pub/linux/kernel/people/alan/2.4/
> 
>   Intermediate diffs are available from
> 
>   http://www.bzimage.org
> 
> This isnt a proper release as such, it should just deal with most of the 
> compile failure/symbol failure problems.
> 
> 2.4.3-ac13
> o Switch to NOVERS symbols for rwsem  (me)
>   | Called from asm blocks so they can't be versioned
> o Fix gcc 2.95 building on rwsem  (Niels Jensen)
> o Fix cmsfs build (Andrzej Krzysztofowicz)
> o Fix rio build/HZ setup  (Andrzej Krzysztofowicz)
> o Fix PPP filtering dependancy in config  (Andrzej Krzysztofowicz)

I just tried 2.4.3-ac13 on my laptop, a Toshiba Tecra 8000, which has a
NeoMagic video controller.  I boot it using the VESA frame buffer, using the
arguments:

video=vesa:mtrr vga=0x317

for a 16-bit 1024x768 screen.  The video doesn't come on at all, but the
machine boots up normally (ie, I can log into it via ssh via the wireless
pcmcia card).  If I boot up with the VGA console, the screen is displayed just
fine.  This worked in 2.4.3-ac11.

Also, I initially built ac13 with:

make mrproper
make menuconfig

and it doesn't ask whether I want to build the normal USHI USB driver either as
a module or builtin to the kernel, only whether I want to build the alternative
USHI USB dirver (the JE driver).  Make xconfig asks whether you want to build
both drivers.  I'm not sure whether this was a bug in previous versions or
not.

-- 
Michael Meissner, Red Hat, Inc.  (GCC group)
PMB 198, 174 Littleton Road #3, Westford, Massachusetts 01886, USA
Work: [EMAIL PROTECTED]   phone: +1 978-486-9304
Non-work: [EMAIL PROTECTED]   fax:   +1 978-692-4482
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



Re: Linux 2.4.3ac13

2001-04-24 Thread Alan Cox

> === Cut ===
> [root@nomad /root]# depmod -ae
> depmod: *** Unresolved symbols in
> /lib/modules/2.4.3ac13/kernel/drivers/net/aironet4500_card.o
> depmod: __bad_udelay
> === Cut ===

Yeah I need to change the __bad_udelay trick. The inline in inline case that
triggers a bad_udelay link wrongly is annoying but apparently not something
the gcc folks guarantee wont happen.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



Re: Linux 2.4.3ac13

2001-04-24 Thread Sergey Kubushin


=== Cut ===
[root@nomad /root]# depmod -ae
depmod: *** Unresolved symbols in
/lib/modules/2.4.3ac13/kernel/drivers/net/aironet4500_card.o
depmod: __bad_udelay
=== Cut ===

---
Sergey Kubushin Sr. Unix Administrator
CyberBills, Inc.Phone:  702-567-8857
874 American Pacific Dr,Fax:702-567-8808
Henderson, NV 89014

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



Re: Linux 2.4.3ac13

2001-04-24 Thread Andrzej Krzysztofowicz

 
 Also, I initially built ac13 with:
 
   make mrproper
   make menuconfig
 
 and it doesn't ask whether I want to build the normal USHI USB driver either as
 a module or builtin to the kernel, only whether I want to build the alternative
 USHI USB dirver (the JE driver).  Make xconfig asks whether you want to build
 both drivers.  I'm not sure whether this was a bug in previous versions or
 not.

It is an old problem, probably caused by ugly hack in drivers/usb/Config.in
(using a variable before it is defined).
The following patch should fix it in some way...


diff -u drivers/usb/Config.in~ drivers/usb/Config.in
--- drivers/usb/Config.in~  Sat Feb 10 23:16:30 2001
+++ drivers/usb/Config.in   Sat Feb 17 00:06:34 2001
@@ -22,6 +22,8 @@
fi
if [ $CONFIG_USB_UHCI != y ]; then
   dep_tristate '  UHCI Alternate Driver (JE) support' CONFIG_USB_UHCI_ALT 
$CONFIG_USB
+   else
+  define_bool CONFIG_USB_UHCI_ALT n
fi
dep_tristate '  OHCI (Compaq, iMacs, OPTi, SiS, ALi, ...) support' CONFIG_USB_OHCI 
$CONFIG_USB
 

Andrzej
-- 
===
  Andrzej M. Krzysztofowicz   [EMAIL PROTECTED]
  phone (48)(58) 347 14 61
Faculty of Applied Phys.  Math.,   Technical University of Gdansk
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



Re: Linux 2.4.3ac13

2001-04-23 Thread David S. Miller


Alan Cox writes:
 > 2.4.3-ac13
 > oSwitch to NOVERS symbols for rwsem  (me)
 >  | Called from asm blocks so they can't be versioned

Yes they most certainly can be versioned inside of an asm.  Use the
"i" constraint, we've been doing this on sparc64 for ages.

Later,
David S. Miller
[EMAIL PROTECTED]
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



Linux 2.4.3ac13

2001-04-23 Thread Alan Cox


ftp://ftp.kernel.org/pub/linux/kernel/people/alan/2.4/

Intermediate diffs are available from

http://www.bzimage.org

This isnt a proper release as such, it should just deal with most of the 
compile failure/symbol failure problems.

2.4.3-ac13
o   Switch to NOVERS symbols for rwsem  (me)
| Called from asm blocks so they can't be versioned
o   Fix gcc 2.95 building on rwsem  (Niels Jensen)
o   Fix cmsfs build (Andrzej Krzysztofowicz)
o   Fix rio build/HZ setup  (Andrzej Krzysztofowicz)
o   Fix PPP filtering dependancy in config  (Andrzej Krzysztofowicz)

2.4.3-ac12
o   Rewrite the i2o post handling code to fix   (me)
DMA memory scribbles
o   Handle IOP constipation in the i2o_block layer  (me)
o   Fix bugs in the i2o table query causing reboots (me)
in i2o_proc on the DPT card
o   Add quirks for i2o cards that handle large I/O  (me)
queues badly [Promise supertrak100]
o   Add cache heuristics to the I2O block driver(me)
| We don't cache large writes (assume seq)
| We writeback small writes (random, metadata)
o   Disable use of writeback caching if there is(me)
no battery backup
o   Merge Linus 2.4.4pre6
o   Further semaphore fixes (David Howells)
o   Correct 'void main' to 'int main' in rtc doc(Jesper Juhl)
o   Hopefully fix bugtraq reported netfilter ftp
flaw
o   Fix unistd.h for ARM(Russell King)
o   Fix pre-emption of rt tasks (Nigel Gamble)
o   Fix revalidation bugs in cciss/cpqarray (Charles White)
when rereading partitions
o   Acenic updates  (Jes Sorensen)
o   Fix MAINTAINERS sort order  (David Woodhouse)
o   Restore DVDRAM fix with cdrom init fix too  (Jens Axboe)
o   Fix irda disconnect timeout bug (Dag Brattli)
o   Experimentally reap dead swap harder(Dave Miller)
o   Remove dead low mtu checks from drivers (Arnaldo Carvalho de
 Melo)
o   Add missing sk_chk_filter export(Byeong-ryeol Kim)
o   Quieten pci printks, send them to log   (Arjan van de Ven)
o   Hopefully fix fastrak oops  (me)

2.4.3-ac11
o   Merge Linus 2.4.4pre5
o   Back out problem dvdram changes
o   Make reiserfs use daemonize (Chris Mason)
o   Fix lvm map buglet  (Jens Axboe)
o   tms380 driver fixes (Adam Fritzler)
o   Fix up duplicate configs and other glitches (Steven Cole)
o   Fix pcnet32 printk format bug   (me)
o   ISDN driver further small update/fixes  (me)
o   Fix bounce buffer deadlock on bh allocs (Arjan van de Ven)
o   Fix fbmem merge glitch  (Geert Uytterhoeven)
o   Version string cleanups on net devices  (Jeff Garzik)
o   Update ext2 documentation   (Andreas Dilger)
o   Add MCE support for AMD Athlon/Duron(Dave Jones)
o   Further SDLA tidying(me)
o   Update Configure.help maintainers   (Steven Cole, Eric
 Raymond)
o   Tulip update(Jeff Garzik)
o   Fix sound config to use right symnames  (Eric Raymond)
o   Further dmfe fixes  (Tobias Ringstrom,
 Frank Davis
 Jeff Garzik)
o   Parport probe cleanups  (Tim Waugh)
o   Fix a few configure items   (Eric Raymond)
o   Fix cmsfs nonbuild  (me)


2.4.3-ac10
o   Merge Linus 2.4.4pre4
o   Apply the i960 quirk to the DPT I2O controllers (me)
o   Etrax100 updates(Bjorn Wesen)
o   Fix skge memory leak(Jes Sorensen)
o   Handle reiserfs log overflow error  (Chris Mason)
o   Merge JFFS2 (compressing log flash file system) (David Woodhouse)
o   Merge contributed help texts for options(Eric Raymond,
 Steven Cole)
o   Further screen blanking fixes   (Mikael Pettersson)
o   Further binfmt elf DLINFO fixes/alignment  (Benjamin Herrenschmidt)
o   Fix reboot notifier unregister in aic7xxx   (Arjan van de Ven)
o   Fix orinoco_cs build on powerpc (David Gibson)
o   Neomagic audio didn't 

Re: Linux 2.4.3ac13

2001-04-23 Thread David S. Miller


Alan Cox writes:
  2.4.3-ac13
  oSwitch to NOVERS symbols for rwsem  (me)
   | Called from asm blocks so they can't be versioned

Yes they most certainly can be versioned inside of an asm.  Use the
i constraint, we've been doing this on sparc64 for ages.

Later,
David S. Miller
[EMAIL PROTECTED]
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/