Skip to contentSkip to conversation

FAIL: 2.2.18 + AA-VM-global-7 + serial 5.05

DISCUSSION Matthias Andree 5 participants 7 messages Dec 22, 2000 – Jan 22, 2001

lore
Share & tools
lore
#0 lore raw

Hi,

I have a vanilla 2.2.18 that I patch Andrea Arcangeli's VM-global-7 patch (for 2.2.18pre25) on top, as well as I²C 2.5.4, the current --12-09 IDE.2.2.18 patch and ReiserFS 3.5.28. So far, so good. If I now patch serial 5.05 on top of that, the kernel itself detects devices, but does nothing if it's to boot /sbin/init. ctrl-alt-del and Magic SysRq are both functional and can reboot the machine.

Taking out either the VM-global-7 patch or the serial 5.05 update fixes this.

I suspect that these patches are mutually incompatible.

Could somebody please have a look at this? I will test or provide more information as requested.

Signature · 5 lines
Matthias Andree
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/
#1 lore raw
Quoted 1 line · Matthias Andree

I suspect that these patches are mutually incompatible.

did you checked that there are no rejects after patching :)

Quoted 2 lines

Could somebody please have a look at this? I will test or provide more information as requested.

Where's serial 5.05 so I can have a look?

Andrea
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/

#2 lore raw
In reply to Matthias Andree

Andrea Arcangeli schrieb am Freitag, den 22. Dezember 2000:

Quoted 4 lines · Matthias Andree
Quoted 1 line

I suspect that these patches are mutually incompatible.

did you checked that there are no rejects after patching :)

Yes, I did, there were none.

I had one patch that required a fuzz factor, but it only has a vendor ID definition in pci.h. It's the patch by Lukasz Trabinski, Subject "Re:
[patch] 2.2.18 PCI_DEVICE_ID_OXSEMI_16PCI954", Date 2000-12-16 19:51 EST, Archive at
http://www.uwsg.indiana.edu/hypermail/linux/kernel/0012.2/0126.html

That patch has been approved by Theodore Y Tso as being correct.

The other patches I applied did not leave any rejects behind.

Quoted 4 lines
Quoted 2 lines

Could somebody please have a look at this? I will test or provide more information as requested.

Where's serial 5.05 so I can have a look?

It's at http://sourceforge.net/projects/serial/ and since these are down ATM, I'm keeping a copy at
http://www-dt.e-technik.uni-dortmund.de/~ma/kernelpatches/v2.2/v2.2.18/

Procedure:

1. fetch 2.2.18-fix-serial-5.05-pre.patch (has also been posted here, it just adds a missing #define to pci.h)
2. fetch serial-5.05.tar.gz
3. patch the kernel with that 2.2.18-fix-serial-5.05-pre.patch, it takes a high fuzz factor (try patch -p1 -F10)
4. unpack serial-5.05
5. sh install-in-kernel
6. patch with VM-global-2.2.18pre25-7
7. make clean dep bzImage modules, install, boot, and see it hang.

Note my kernel also contains the IDE and I²C patches, should that matter, if it matters, please tell the corresponding maintainer there's an incompatibility.

For what it's worth, that www-dt server directory also has my config, it's named config-ma2.

Signature · 8 lines
Matthias Andree



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/
#3 lore raw
In reply to Matthias Andree

From: "Matthias Andree" <[email protected]>

Quoted 3 lines

3. patch the kernel with that 2.2.18-fix-serial-5.05-pre.patch, it takes a high fuzz factor (try patch -p1 -F10)
4. unpack serial-5.05

I don't have permission to fetch
2.2.18-fix-serial-5.05-pre.patch
at
http://www-dt.e-technik.uni-dortmund.de/~ma/kernelpatches/v2.2/v2.2.18/

What file does step 3 modify? It's likely this patch is being overwritten (lost) in step 4. Probably not the source of the problem though.

..Stu

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/

#4 lore raw
In reply to Matthias Andree
Quoted 2 lines · Stuart MacDonald

What file does step 3 modify? It's likely this patch is being overwritten (lost) in step 4. Probably not the source of the problem though.

No, it's not being overwritten, but it's most likely not the source of the problem.

Permissions have been fixed, sorry for the inconvenience.

Signature · 5 lines
Matthias Andree
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/
#5 lore raw
In reply to Matthias Andree

According to Matthias Andree:

Quoted 6 lines

I have a vanilla 2.2.18 that I patch Andrea Arcangeli's VM-global-7 patch (for 2.2.18pre25) on top, as well as I²C 2.5.4, the current --12-09 IDE.2.2.18 patch and ReiserFS 3.5.28. So far, so good. If I now patch serial 5.05 on top of that, the kernel itself detects devices, but does nothing if it's to boot /sbin/init. ctrl-alt-del and Magic SysRq are both functional and can reboot the machine.

VA's current kernel includes VM-global and serial-5.05 (and lots of other stuff :-)). The only problem we had with serial-5.05 was its 2.2/2.4 compatibility code getting confused because 2.2.18 has more of 2.4's init macros available. Try this:

Index: tty_io.c
===================================================================
RCS file: /cvs/valinux/kernel/linux/drivers/char/tty_io.c,v retrieving revision 1.2
retrieving revision 1.2.12.1

tty_io.c +0 -3
diff -u -2 -p -r1.2 -r1.2.12.1
@@ -2185,7 +2185,4 @@ __initfunc(int tty_init(void))
 	espserial_init();
 #endif
-#ifdef CONFIG_SERIAL
-	rs_init();
-#endif
 #ifdef CONFIG_COMPUTONE
 	ip2_init();
Signature · 6 lines
Chip Salzenberg            - a.k.a. -            <[email protected]>
   "Give me immortality, or give me death!"  // Firesign Theatre
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/
#6 lore raw

Resolved: FAIL: 2.2.18 + AA-VM-global-7 + serial 5.05

In reply to Matthias Andree
Quoted 8 lines · Chip Salzenberg
Quoted 3 lines

If I now patch serial 5.05 on top of that, the kernel itself detects devices, but does nothing if it's to boot /sbin/init. ctrl-alt-del and Magic SysRq are both functional and can reboot the machine.

VA's current kernel includes VM-global and serial-5.05 (and lots of other stuff :-)). The only problem we had with serial-5.05 was its 2.2/2.4 compatibility code getting confused because 2.2.18 has more of 2.4's init macros available. Try this:

[patch to remove rs_init from tty_io.c]

I finally got around to try it, and your patch did the job. Thank you very much.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/