public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* loop back broken in 2.2.14
@ 2001-11-11 21:27 Joe
  2001-11-11 21:35 ` François Cami
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Joe @ 2001-11-11 21:27 UTC (permalink / raw)
  To: linux-kernel

compile 2.2.14.

Then

# modprobe -a loop
/lib/modules/2.4.14/kernel/drivers/block/loop.o: unresolved symbol
deactivate_page
/lib/modules/2.4.14/kernel/drivers/block/loop.o: insmod
/lib/modules/2.4.14/kernel/drivers/block/loop.o failed
/lib/modules/2.4.14/kernel/drivers/block/loop.o: insmod loop failed

do recursive grep through kernel tree:

# rgrep -rl  deactivate_page *
drivers/block/loop.c
drivers/block/loop.o

Is there a fix for this?

Joe


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: loop back broken in 2.2.14
  2001-11-11 21:27 Joe
@ 2001-11-11 21:35 ` François Cami
  2001-11-11 21:38   ` Jeff Garzik
  2001-11-11 21:36 ` elko
  2001-11-11 21:55 ` Adrian Bunk
  2 siblings, 1 reply; 11+ messages in thread
From: François Cami @ 2001-11-11 21:35 UTC (permalink / raw)
  To: joeja; +Cc: linux-kernel

Joe wrote:

> compile 2.2.14.
> 
> Then
> 
> # modprobe -a loop
> /lib/modules/2.4.14/kernel/drivers/block/loop.o: unresolved symbol
> deactivate_page
> /lib/modules/2.4.14/kernel/drivers/block/loop.o: insmod
> /lib/modules/2.4.14/kernel/drivers/block/loop.o failed
> /lib/modules/2.4.14/kernel/drivers/block/loop.o: insmod loop failed
> 
> do recursive grep through kernel tree:
> 
> # rgrep -rl  deactivate_page *
> drivers/block/loop.c
> drivers/block/loop.o
> 
> Is there a fix for this?


yes, see 2.4.15pre1
warning, the iptables code in 2.4.15pre1 and pre2 seems broken.

François


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: loop back broken in 2.2.14
  2001-11-11 21:27 Joe
  2001-11-11 21:35 ` François Cami
@ 2001-11-11 21:36 ` elko
  2001-11-11 21:55 ` Adrian Bunk
  2 siblings, 0 replies; 11+ messages in thread
From: elko @ 2001-11-11 21:36 UTC (permalink / raw)
  To: joeja; +Cc: linux-kernel

On Sunday 11 November 2001 22:27, Joe wrote:
> compile 2.2.14.
>
> Then
>
> # modprobe -a loop
> /lib/modules/2.4.14/kernel/drivers/block/loop.o: unresolved symbol
> deactivate_page
> /lib/modules/2.4.14/kernel/drivers/block/loop.o: insmod
> /lib/modules/2.4.14/kernel/drivers/block/loop.o failed
> /lib/modules/2.4.14/kernel/drivers/block/loop.o: insmod loop failed
>
> do recursive grep through kernel tree:
>
> # rgrep -rl  deactivate_page *
> drivers/block/loop.c
> drivers/block/loop.o
>
> Is there a fix for this?

2.4.15-pre1 fixed this and there are also some patches on lkml-archives..
-- 
ElkOS: 10:35pm up  2:26, 3 users, load average: 0.05, 0.25, 0.30
bofhX: The data on your hard drive is out of balance.
\x04

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: loop back broken in 2.2.14
  2001-11-11 21:35 ` François Cami
@ 2001-11-11 21:38   ` Jeff Garzik
  2001-11-11 22:28     ` J Sloan
  0 siblings, 1 reply; 11+ messages in thread
From: Jeff Garzik @ 2001-11-11 21:38 UTC (permalink / raw)
  To: François Cami; +Cc: joeja, linux-kernel

François Cami wrote:
> 
> Joe wrote:
> 
> > compile 2.2.14.
> >
> > Then
> >
> > # modprobe -a loop
> > /lib/modules/2.4.14/kernel/drivers/block/loop.o: unresolved symbol
> > deactivate_page
> > /lib/modules/2.4.14/kernel/drivers/block/loop.o: insmod
> > /lib/modules/2.4.14/kernel/drivers/block/loop.o failed
> > /lib/modules/2.4.14/kernel/drivers/block/loop.o: insmod loop failed
> >
> > do recursive grep through kernel tree:
> >
> > # rgrep -rl  deactivate_page *
> > drivers/block/loop.c
> > drivers/block/loop.o
> >
> > Is there a fix for this?
> 
> yes, see 2.4.15pre1
> warning, the iptables code in 2.4.15pre1 and pre2 seems broken.

and further it is likely that pre3 fixes iptables code :)
(it looks like the patch got reverted)

-- 
Jeff Garzik      | Only so many songs can be sung
Building 1024    | with two lips, two lungs, and one tongue.
MandrakeSoft     |         - nomeansno


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: loop back broken in 2.2.14
  2001-11-11 21:27 Joe
  2001-11-11 21:35 ` François Cami
  2001-11-11 21:36 ` elko
@ 2001-11-11 21:55 ` Adrian Bunk
  2 siblings, 0 replies; 11+ messages in thread
From: Adrian Bunk @ 2001-11-11 21:55 UTC (permalink / raw)
  To: Joe; +Cc: linux-kernel

On Sun, 11 Nov 2001, Joe wrote:

> compile 2.2.14.
>
> Then
>
> # modprobe -a loop
> /lib/modules/2.4.14/kernel/drivers/block/loop.o: unresolved symbol
> deactivate_page
> /lib/modules/2.4.14/kernel/drivers/block/loop.o: insmod
> /lib/modules/2.4.14/kernel/drivers/block/loop.o failed
> /lib/modules/2.4.14/kernel/drivers/block/loop.o: insmod loop failed
>
> do recursive grep through kernel tree:
>
> # rgrep -rl  deactivate_page *
> drivers/block/loop.c
> drivers/block/loop.o
>
> Is there a fix for this?

This is a known bug.

The following patch fixes it:

--- linux-2.4.14-broken/drivers/block/loop.c	Thu Oct 25 13:58:34 2001
+++ linux-2.4.14/drivers/block/loop.c	Mon Nov  5 17:06:08 2001
@@ -207,7 +207,6 @@
 		index++;
 		pos += size;
 		UnlockPage(page);
-		deactivate_page(page);
 		page_cache_release(page);
 	}
 	return 0;
@@ -218,7 +217,6 @@
 	kunmap(page);
 unlock:
 	UnlockPage(page);
-	deactivate_page(page);
 	page_cache_release(page);
 fail:
 	return -1;

> Joe

cu
Adrian

-- 

Get my GPG key: finger bunk@debian.org | gpg --import

Fingerprint: B29C E71E FE19 6755 5C8A  84D4 99FC EA98 4F12 B400


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: loop back broken in 2.2.14
  2001-11-11 21:38   ` Jeff Garzik
@ 2001-11-11 22:28     ` J Sloan
  2001-11-11 22:55       ` J Sloan
  0 siblings, 1 reply; 11+ messages in thread
From: J Sloan @ 2001-11-11 22:28 UTC (permalink / raw)
  To: Jeff Garzik; +Cc: François Cami, joeja, linux-kernel

Jeff Garzik wrote:

> François Cami wrote:
>
> > yes, see 2.4.15pre1
> > warning, the iptables code in 2.4.15pre1 and pre2 seems broken.
>
> and further it is likely that pre3 fixes iptables code :)
> (it looks like the patch got reverted)

Actually it doesn't seem to be reverted,
just reworked -

I'll be testing it out -

cu

jjs



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: loop back broken in 2.2.14
  2001-11-11 22:28     ` J Sloan
@ 2001-11-11 22:55       ` J Sloan
  0 siblings, 0 replies; 11+ messages in thread
From: J Sloan @ 2001-11-11 22:55 UTC (permalink / raw)
  To: Jeff Garzik, François Cami, joeja, linux-kernel

J Sloan wrote:

> Jeff Garzik wrote:
>
> > François Cami wrote:
> >
> > > yes, see 2.4.15pre1
> > > warning, the iptables code in 2.4.15pre1 and pre2 seems broken.
> >
> > and further it is likely that pre3 fixes iptables code :)
> > (it looks like the patch got reverted)
>
> Actually it doesn't seem to be reverted,
> just reworked -

hmm, spoke too soon -

looks like they were reverted after all...

cu

jjs


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Re: loop back broken in 2.2.14
@ 2001-11-12 17:40 joeja
  2001-11-12 20:41 ` J Sloan
  0 siblings, 1 reply; 11+ messages in thread
From: joeja @ 2001-11-12 17:40 UTC (permalink / raw)
  To: jjs; +Cc: jgarzik, linux-kernel

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 533 bytes --]

Okay, I can delete out those two lines to get loop working.

Is 2.4.x really a stable tree?  Or should I wait for 2.4.25 before I consider it really stable?

> > François Cami wrote:
> >
> > > yes, see 2.4.15pre1
> > > warning, the iptables code in 2.4.15pre1 and pre2 seems broken.
> >
> > and further it is likely that pre3 fixes iptables code :)
> > (it looks like the patch got reverted)
>
> Actually it doesn't seem to be reverted,
> just reworked -

hmm, spoke too soon -

looks like they were reverted after all...

cu

jjs



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: loop back broken in 2.2.14
  2001-11-12 17:40 Re: loop back broken in 2.2.14 joeja
@ 2001-11-12 20:41 ` J Sloan
  0 siblings, 0 replies; 11+ messages in thread
From: J Sloan @ 2001-11-12 20:41 UTC (permalink / raw)
  To: joeja, Linux kernel

joeja@mindspring.com wrote:

> Okay, I can delete out those two lines to get loop working.
>
> Is 2.4.x really a stable tree?  Or should I wait for 2.4.25 before I consider it really stable?

If by stable you mean "unchanging", of course not -

much development is still happening.

If however by stable you mean "does not crash",
it has been very stable here, with a few known
needed patches applied.  2.4.14 is stable for me
on all systems, but compaq smart controllers do
need a small patch - I am also running the low
latency and/or preempt patches with excellent
stability.

cu

jjs



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: loop back broken in 2.2.14
@ 2001-11-15 23:38 Mr R A Mercer
  0 siblings, 0 replies; 11+ messages in thread
From: Mr R A Mercer @ 2001-11-15 23:38 UTC (permalink / raw)
  To: linux-kernel

Michael Peddemors wrote:

 > Yes, I seriously considered the feasibility of having 2.4.14-fixed
 > kernels around, but I could just imagine trying to deal with millions of
 > people trying to download known good kernels on our bandwidth...

As has been mentioned before I think that the best way to avoid little
problems like this is to have a 2.4.x-rc1 kernel around for a day, if no
problems are found then that tree becomes 2.4.x if a problem is found
then is becomes 2.4.x-rc2 etc...

Cheers

Adam



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: loop back broken in 2.2.14
  2001-11-15 23:31   ` J.A. Magallon
@ 2001-11-16  4:52     ` Joe
  0 siblings, 0 replies; 11+ messages in thread
From: Joe @ 2001-11-16  4:52 UTC (permalink / raw)
  To: J.A. Magallon; +Cc: Michael Peddemors, linux-kernel

Well I think it is a good idea to do this and have errata patches or something.  I don't think Linus wants the extra work.  I'd do it myself, but I don't have the ftp storage space, the time or the bandwidth.   I am now keeping seperate trees on my box.  One that is the default kernel and then my tree which has fixes to that tree.   I'll be working out a
system of testing and migration now ..................

> Well, Linus could post a 'errata' patch...
> Layout now in ftp space is (reverse date order):
>
>         test-kernels
>         ChangeLog-2.4.14
>         LATEST-IS-2.4.14
>         linux-2.4.14.tar.bz2


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2001-11-16  4:49 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-11-12 17:40 Re: loop back broken in 2.2.14 joeja
2001-11-12 20:41 ` J Sloan
  -- strict thread matches above, loose matches on Subject: below --
2001-11-15 23:38 Mr R A Mercer
2001-11-14 18:17 Re: " joeja
2001-11-15 21:37 ` Michael Peddemors
2001-11-15 23:31   ` J.A. Magallon
2001-11-16  4:52     ` Joe
2001-11-11 21:27 Joe
2001-11-11 21:35 ` François Cami
2001-11-11 21:38   ` Jeff Garzik
2001-11-11 22:28     ` J Sloan
2001-11-11 22:55       ` J Sloan
2001-11-11 21:36 ` elko
2001-11-11 21:55 ` Adrian Bunk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox