Kernel patches

2003-09-18 kernel 2.4.21 bug fix patch 05 ("June 2003")

If you download any software from this web site please be aware of the Warranty Disclaimer and Limitation of Liabilities.

linux-2.4.21-s390-05-june2003.tar.gz / MD5 ... accumulated patch, recommended (2003-09-18)

linux-2.4.21-s390-05-june2003-patches.tar.gz / MD5 ... per-problem-patches, recommended (2003-09-18)

These patches contain the following linux kernel bug fixes:

Description:
Oops in iucv code
Symptom:
Crash with kernel oops when shutting down an iucv connection
Problem:
Interrupt buffer was released too early
Solution:
Moved call of iucv_retrieve_buffer() into iucv_exit()
Problem-ID:
3314
Description:
Removing tape modules results in segmentation fault.
Symptom:
Removal of tape390 module hits BUG() statement in tape_devmap.c.
Problem:
Failed tape_enable_device() does incomplete rollback, leaving stale devmap entries.
Solution:
Failed tape_enable_device() removes devmap pointer as well.
Problem-ID:
4347
Description:
ctc: loglevel parameter could not be set to maximum
Symptom:
Numbers with more than 1 digit are ignored when writing to /proc/net/ctc/ctc0/loglevel
Problem:
Check for maximum string length was wrong.
Solution:
Corrected check for maximum string length.
Problem-ID:
4342
Description:
dasd: erroneous message about failing dasd format
Symptom:
When hitting CTRL-S/CTRL-Q during a dasd format /var/log/messages shows a message like:
dasd: /dev/dasdv ( 94: 84),4324@1a42: Formatting of unit 1420 failed with rc = -512
Problem:
Erroneous message about failing dasd format
Solution:
Suppress message when return code of dasd_sleep_on_request returns -ERESTARTSYS.
Problem-ID:
3847
Description:
portname not needed message removed
Symptom:
on older OSA code, "portname not needed" message appears
Problem:
OSA returns some bits incorrectly
Solution:
don't show message for OSA devices
Problem-ID:
4382
Description:
reduce stack usage
Symptom:
symlink loops on NFS share causes oops
Problem:
stack overflow
Solution:
reduce stack usage by inlining some functions and check for stack usage
Problem-ID:
3344
Description:
tape: Missing check for invalid block size.
Symptom:
Using block size >64K triggers kernel bug.
Problem:
Channel programs without data chaining can only handle <64K data.
Solution:
Check block sizes set by SETBLK and used with auto block size.
Problem-ID:
4347

Everybody should apply this patch.

To create the complete linux kernel sources, the following patches need to be applied in sequence:

linux-2.4.21.tar.gz (see www.kernel.org)
+ linux-2.4.21-s390-june2003.diff (IBM)
+ linux-2.4.21-s390-01-june2003.diff (IBM)
+ linux-2.4.21-s390-02-june2003.diff (IBM)
+ linux-2.4.21-s390-03-june2003.diff (IBM)
+ linux-2.4.21-s390-04-june2003.diff (IBM)
+ linux-2.4.21-s390-05-june2003.diff (IBM)

Note: If On-demand timer is required, apply as last patch:
+ linux-2.4.21-s390-timer-01-june2003.diff (IBM)

Contact the IBM team

If you want to contact the Linux on System z IBM team refer to the Contact the Linux on System z IBM team page.