2003-06-04 06:04:52

by Andrew Morton

[permalink] [raw]
Subject: 2.5.70-mm4


ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.5/2.5.70/2.5.70-mm4/

. There are no substantial ext3 changes from 2.5.70-mm3. A couple of
performance tweaks have been added, and some debug code to help track down
one report of an assertion failure in journal_dirty_metadata().

. A patch which adds the statfs64() syscall. This involved some mangling
of the BSD accountig code. If anyone knows how to test BSD accounting,
please do so, or let me know.

. There have been one or two reports of -mm3 getting stuck in
get_request_wait() against CDROMs. If anyone sees that, or was seeing it
in -mm3 and does not see it in -mm4, please let us know.





Changes since 2.5.70-mm3:


linus.patch

Latest from Linus

-slab-magazine-layer.patch
-mtd-build-fix.patch
-time-interpolation-infrastructure.patch
-proc-kcore-rework.patch
-sysv-sem-16-bit-pif-fix.patch
-remove-LINUX_2_2.patch

Merged

+kgdb-use-ggdb.patch

Use `-ggdb' when compiling for kgdb. Creates a huge vmlinux, but fixes the
problem wherein gdb doesn't know the types of things when it should.

+ppc64-fixup.patch

PPC64 fixes

+ppc64-semaphore-reimplementation.patch

Replace the ppc64 semaphore implementation with the ia32 one. (This hasn't
been tested afaik).

+time-interpolator-cleanup.patch

timer.c cleanups

+cadetradio-badcopy.patch
+cmpci-userptr.patch
+zr36120-userptr.patch
+bw-qcam-fix.patch

copy_*_user fixes

+eat-keys-on-panic.patch

Work around odd KVM switches

+truncate-vs-msync-fix.patch

Avoid a feasible BUG in the pagecache code

+pnpbios-oops-leak-fix.patch

pnpbios fixlets

+force_successful_syscall_return.patch

ia64: sometimes overloading a negative syscall return code to indicate
"error" doesn't work out.

+proc-stat-btime-fix.patch

Stop /proc/stat:btime from wobbling

+eventpoll-use-after-free-fix.patch

eventpoll fixes

+devfs_remove-fix.patch

defvs diagnostics for broken callers

+console-blanking-fix.patch

fix up console blanking

+console-privacy.patch

Add an ioctl to prevent keystrokes from unblanking the console (for braille
users)

+fix-tty-driver-mess.patch

tty/devfs cleanups

+misc3.patch

misc fixes

+generic_file_write-fix-2.patch

fix the fix to the fix to the fix to the writev() code.

+cs423x-fixes.patch

driver fixes

+statfs64.patch
+statfs64-fix.patch
+statfs-overflow-fix.patch
+statfs64-leftovers.patch

Implement the statfs64() syscall. We need this because statfs() will
overflow with huge disks.

+sched_best_cpu-fix-01.patch
+sched_best_cpu-fix-02.patch
+sched_best_cpu-fix-03.patch

Teach the CPU scheduler to not schedule tasks on nodes which don't have any
CPUs

+cfq-list_del-fix.patch

CFQ IO scheduler BUGfix

-unmap-page-debugging.patch
-CONFIG_DEBUG_PAGEALLOC-extras.patch
+unmap-page-debugging-2.patch
+unmap-page-debugging-2-fix.patch

New version of this debug patch from Manfred.

+blk-fair-batches.patch

block request batching changes

+blk-as-hint.patch

Fix anticipatory scheduler for the above.

+get_request_wait-oom-fix.patch

Plug a get_request_wait() hole

+slab-poisoning-fix.patch

Correctly poison freshly allocated objects with 0x5a5a5a5a, to distinguish
them from freed objects, which are poisoned with 0x6b6b6b6b.

-fremap-all-mappings.patch
+mmap-prefault.patch

Implement the prefaulting of executable mmaps more simply.

+bio-debug-trap.patch

Try to track down a free-of-freed-BIO bug.

+event-log-put_task_struct.patch

Debugging to try to track down the put_task_struct(free task_struct) bug.

+journal_create-deadlock-fix.patch

Fix ancient deadlock in journal_create()

+jbd-590-do_get_write_access-speedup.patch

ext3 tweak

+ext3-080-remove-block-inode-count-message.patch

Kill a printk which shouldn't be coming out.

+jbd-600-journal_dirty_metadata-speedup.patch

ext3 tweak

+jbd-610-journal_dirty_metadata-diags.patch

Try to trap a possible bug in journal_dirty_metadata()





All 177 patches


linus.patch

mm.patch
add -mmN to EXTRAVERSION

kgdb-ga.patch
kgdb stub for ia32 (George Anzinger's one)

kgdb-use-ggdb.patch

kmalloc_percpu-interface-change.patch
kmalloc_percpu: interface change.

kmalloc_percpu-interface-change-warning-fix.patch
nail a warning

DEFINE_PERCPU-in-modules.patch
per-cpu support inside modules (minimal)

aio-random-cleanups.patch

config_spinline.patch
uninline spinlocks for profiling accuracy.

ppc64-fixup.patch
ppc64 fixup

ppc64-ioctl-pci-update.patch
From: Anton Blanchard <[email protected]>
Subject: ppc64 stuff

ppc64-reloc_hide.patch

ppc64-semaphore-reimplementation.patch
ppc64: use the ia32 semaphore implementation

sym-do-160.patch
make the SYM driver do 160 MB/sec

irqreturn-snd-via-fix.patch
via sound irqreturn fix

irq_cpustat-cleanup.patch
irq_cpustat cleanup

config-PAGE_OFFSET.patch
Configurable kenrel/user memory split

time-interpolator-cleanup.patch
clean up timer interpolation code

cadetradio-badcopy.patch
radio-cadet.c: remove unnecessary copy_to_user()

cmpci-userptr.patch
cmpci: fix improper access to userspace

zr36120-userptr.patch
zr36120: fix improper access to userspace

irq-check-rate-limit.patch
IRQs: handle bad return values from handlers

irq_desc-others.patch
Fix up irq_desc initialisation for non-ia32

common-ioctl32.patch
From: Pavel Machek <[email protected]>
Subject: Re: must-fix list, v5

ioctl32-cleanup-sparc64.patch
ioctl32 cleanup: sparc64

ioctl32-cleanup-x86_64.patch
ioctl32 cleanup: sparc64

lru_cache_add-check.patch
lru_cache_add debug check

eat-keys-on-panic.patch
Eat keys on panic

truncate-vs-msync-fix.patch
remove unsafe BUG_ON()

pnpbios-oops-leak-fix.patch
pnpbios dereferencing user pointer

force_successful_syscall_return.patch
force_successful_syscall_return

proc-stat-btime-fix.patch
fix wobbly /proc/stat:btime

eventpoll-use-after-free-fix.patch
eventpoll: fix possible use-after-free

bw-qcam-fix.patch
fix bw-qcam.c bad copy_to_user

devfs_remove-fix.patch
Graceful failure in devfs_remove()

console-blanking-fix.patch
Console blanking fix

console-privacy.patch
Console privacy for braille users

fix-tty-driver-mess.patch
Fix tty devfs mess

misc3.patch
misc fixes

generic_file_write-fix-2.patch
Fix generic_file_write() again.

fb-image-depth-fix.patch
fbdev image depth fix

reiserfs-parser-fix-remount.patch
reiserfs option parser fix and ability to pass options to remount

reiserfs-small-blocksize.patch
reiserfs support for blocksizes other than 4096 bytes

raid-fixes.patch
gix RAID things

neilb-raid1-double-free-fix.patch
raid1 double-free fix

buffer-debug.patch
buffer.c debugging

cs423x-fixes.patch
cs423x fixes

hugetlbfs-mount-options.patch
hugetlbfs: mount options and permissions

statfs64.patch
Add system calls statfs64 and fstatfs64

statfs64-fix.patch

statfs-overflow-fix.patch
statfs64: handle overflows

statfs64-leftovers.patch
statfs64: remaining filesystems

sched_best_cpu-fix-01.patch
Fix Bug 619: Processes Scheduled on CPU-less nodes (1/3)

sched_best_cpu-fix-02.patch
Processes Scheduled on CPU-less nodes (2/3)

sched_best_cpu-fix-03.patch
Fix Bug 619: Processes Scheduled on CPU-less nodes (3/3)

VM_RESERVED-check.patch
VM_RESERVED check

rcu-stats.patch
RCU statistics reporting

ide_setting_sem-fix.patch

reslabify-pgds-and-pmds.patch
re-slabify i386 pgd's and pmd's

raid5-use-right-dev-fix.patch
raid5 fix

linux-isp.patch

isp-update-1.patch

list_del-debug.patch
list_del debug check

airo-schedule-fix.patch
airo.c: don't sleep in atomic regions

synaptics-mouse-support.patch
Add Synaptics touchpad tweaking to psmouse driver

deadline-hash-removal-fix.patch
DEADLINE: hash removal fix

resurrect-batch_requests.patch
bring back the batch_requests function

kblockd.patch
Create `kblockd' workqueue

cfq-infrastructure.patch

elevator-completion-api.patch
elevator completion API

as-iosched.patch
anticipatory I/O scheduler

as-proc-read-write.patch
AS: pgbench improvement

as-discrete-read-fifo-batches.patch
AS: discrete read fifo batches

as-sync-async.patch
AS sync/async batches

as-hash-removal-fix.patch
AS: hash removal fix

as-jumbo-patch-for-scsi.patch
AS jumbo patch (for SCSI and TCQ)

unplug-use-kblockd.patch
Use kblockd for running request queues

cfq-2.patch
CFQ scheduler, #2
CFQ: update to rq-dyn API

cfq-hash-removal-fix.patch
CFQ: hash removal fix

cfq-list_del-fix.patch
CFQ: empty the queuelist

per-queue-nr_requests.patch
per queue nr_requests

blk-invert-watermarks.patch
blk_congestion_wait threshold cleanup

blk-fair-batches.patch
blk-fair-batches

blk-as-hint.patch
blk-as-hint

get_request_wait-oom-fix.patch
handle OOM in get_request_wait().

unmap-page-debugging-2.patch
debug patch: unmap unused kernel pages

unmap-page-debugging-2-fix.patch

slab-poisoning-fix.patch
slab poisoning fix

print-build-options-on-oops.patch
print a few config options on oops

mmap-prefault.patch
prefault of executable mmaps

bio-debug-trap.patch
BIO debugging patch

sound-irq-hack.patch

show_task-free-stack-fix.patch
show_task() fix and cleanup

put_task_struct-debug.patch

ia32-mknod64.patch
mknod64 for ia32

ext2-64-bit-special-inodes.patch
ext2: support for 64-bit device nodes

ext3-64-bit-special-inodes.patch
ext3: support for 64-bit device nodes

64-bit-dev_t-kdev_t.patch
64-bit dev_t and kdev_t

oops-dump-preceding-code.patch
i386 oops output: dump preceding code

lockmeter.patch

thread-info-in-task_struct.patch
allow thread_info to be allocated as part of task_struct

reinstate-task-freeing-hack-for-ia64.patch
reinstate lame task_struct (non)-refcounting hack/fix

event-log-put_task_struct.patch
event logging to find the late put_task_struct() bug

journal_create-deadlock-fix.patch
ext3: fix dadlock in journal_create()

ext3-no-bkl.patch

journal_get_write_access-speedup.patch

ext3-concurrent-block-inode-allocation.patch
Subject: [PATCH] concurrent block/inode allocation for EXT3

ext3-orlov-approx-counter-fix.patch
Fix orlov allocator boundary case

ext3-concurrent-block-allocation-fix-1.patch

ext3-concurrent-block-allocation-hashed.patch
Subject: Re: [PATCH] concurrent block/inode allocation for EXT3

ext3-concurrent-block-inode-allocation-fix.patch
fix ext3 inode allocator race

jbd-010-b_committed_data-race-fix.patch
Subject: Re: [Ext2-devel] [RFC] probably bug in current ext3/jbd

jbd-020-locking-schema.patch
plan JBD locking schema

jbd-030-remove-splice_lock.patch
remove jh_splice_lock

jbd-040-journal_add_journal_head-locking.patch
fine-grain journal_add_journal_head locking

jbd-045-rename-journal_unlock_journal_head.patch
rename journal_unlock_journal_head to journal_put_journal_head

jbd-050-b_frozen_data-locking.patch
Finish protection of journal_head.b_frozen_data

jbd-060-b_committed_data-locking.patch

jbd-070-b_transaction-locking.patch
implement b_transaction locking rules

jbd-080-b_next_transaction-locking.patch
Implement b_next_transaction locking rules

jbd-090-b_tnext-locking.patch
b_tnext locking

jbd-100-remove-journal_datalist_lock.patch
remove journal_datalist_lock

jbd-110-t_nr_buffers-locking.patch
t_nr_buffers locking

jbd-120-t_updates-locking.patch
t_updates locking

jbd-130-t_outstanding_credits-locking.patch
implement t_outstanding_credits locking

jbd-140-t_jcb-locking.patch
implement t_jcb locking

jbd-150-j_barrier_count-locking.patch
implement j_barrier_count locking

jbd-160-j_running_transaction-locking.patch
implement j_running_transaction locking

jbd-170-j_committing_transaction-locking.patch
implement j_committing_transaction locking

jbd-180-j_checkpoint_transactions.patch
implement j_checkpoint_transactions locking

jbd-190-j_head-locking.patch
implement journal->j_head locking

jbd-200-j_tail-locking.patch
implement journal->j_tail locking

jbd-210-j_free-locking.patch
implement journal->j_free locking

jbd-220-j_commit_sequence-locking.patch
implement journal->j_commit_sequence locking

jbd-230-j_commit_request-locking.patch
implement j_commit_request locking

jbd-240-dual-revoke-tables.patch
implement dual revoke tables.

jbd-250-remove-sleep_on.patch
remove remaining sleep_on()s

jbd-300-remove-lock_kernel-journal_c.patch
remove lock_kernel() calls from journal.c

jbd-310-remove-lock_kernel-transaction_c.patch
remove lock_kernel calls from transaction.c

jbd-400-remove-lock_journal-checkpoint_c.patch
remove lock_journal calls from checkpoint.c

jbd-410-remove-lock_journal-commit_c.patch
remove lock_journal() from commit.c

jbd-420-remove-lock_journal-journal_c.patch
remove lock_journal() calls from journal.c

jbd-430-remove-lock_journal-transaction_c.patch
remove lock_journal() calls from transaction.c
transaction leak and race fix

jbd-440-remove-lock_journal.patch
remove lock_journal()

jbd-510-h_credits-fix.patch
journal_release_buffer: handle credits fix

jbd-520-journal_unmap_buffer-race.patch
journal_unmap_buffer race fix

jbd-530-walk_page_buffers-race-fix.patch
ext3_writepage race fix

jbd-540-journal_try_to_free_buffers-race-fix.patch
buffer freeing non-race comment

jbd-550-locking-checks.patch
add some locking assertions

jbd-570-transaction-state-locking.patch
additional transaction shutdown locking

jbd-580-log_start_commit-race-fix.patch
fix log_start_commit race

jbd-590-do_get_write_access-speedup.patch
JBD: do_get_write_access() speedup

ext3-010-fix-journalled-data.patch
Remove incorrect assertion from ext3

ext3-035-journal_try_to_free_buffers-race-fix.patch

ext3-040-recursive-ext3_write_inode-check.patch
ext3: add a dump_stack()

ext3-050-ioctl-transaction-leak.patch
ext3: fix error-path handle leak

ext3-070-xattr-clone-leak-fix.patch
Fix leak in ext3_acl_chmod()

ext3-080-remove-block-inode-count-message.patch
ext3: remove mount-time diagnostic messages

jbd-600-journal_dirty_metadata-speedup.patch

jbd-610-journal_dirty_metadata-diags.patch
JBD: journal_dirty_metadata diagnostics

invalidate_mmap_range.patch
Interface to invalidate regions of mmaps

aio-01-retry.patch
AIO: Core retry infrastructure

aio-02-lockpage_wq.patch
AIO: Async page wait

aio-03-fs_read.patch
AIO: Filesystem aio read

aio-04-buffer_wq.patch
AIO: Async buffer wait

aio-05-fs_write.patch
AIO: Filesystem aio write

aio-05-fs_write-fix.patch

aio-06-bread_wq.patch
AIO: Async block read

aio-06-bread_wq-fix.patch

aio-07-ext2getblk_wq.patch
AIO: Async get block for ext2

aio-poll.patch
aio_poll
aio-poll: don't put extern decls in .c!

vfsmount_lock.patch
From: Maneesh Soni <[email protected]>
Subject: [patch 1/2] vfsmount_lock

syncppp-locking-fix.patch
syncppp locking fix

s390-dirty-bit-cleaning.patch
dirty bit clearing on s390.

min_free_kbytes.patch
/proc/sys/vm/min_free_kbytes

sched-hot-balancing-fix.patch
fix for CPU scheduler load distribution

O_SYNC-speedup-2.patch
speed up O_SYNC writes




2003-06-04 09:54:51

by Vitalis Tiknius

[permalink] [raw]
Subject: Re:2.5.70-mm4

re. cdrom mount problem: so far, so good with all combinations.

vesafb problem: does not work with memory >1Gb.

with patch:

--- vesafb.c.old 2003-06-04 12:12:03.000000000 +0200
+++ vesafb.c 2003-06-04 12:40:28.000000000 +0200
@@ -227,7 +227,7 @@
vesafb_defined.xres = screen_info.lfb_width;
vesafb_defined.yres = screen_info.lfb_height;
vesafb_fix.line_length = screen_info.lfb_linelength;
- vesafb_fix.smem_len = screen_info.lfb_size * 65536;
+ vesafb_fix.smem_len = screen_info.lfb_width * screen_info.lfb_height *
vesafb_defined.bits_per_pixel;
vesafb_fix.visual = (vesafb_defined.bits_per_pixel == 8) ?
FB_VISUAL_PSEUDOCOLOR : FB_VISUAL_TRUECOLOR;

from http://bugs.gentoo.org/show_bug.cgi?id=19061 all is ok. it is not the
time to apply this patch?

2003-06-04 10:56:50

by Alan

[permalink] [raw]
Subject: Re: Re:2.5.70-mm4

On Mer, 2003-06-04 at 12:08, Vitalis Tiknius wrote:
> re. cdrom mount problem: so far, so good with all combinations.
>
> vesafb problem: does not work with memory >1Gb.

There is a more complete fix in the -ac tree. The one you have there is
ought on memory allocation by a factor of eight and doesn't allow for
double buffering and catching some corner cases.

The 2.4 one has been evolving somewhat over time

2003-06-04 13:42:21

by Paul Larson

[permalink] [raw]
Subject: Re: 2.5.70-mm4

See bug 772 - http://bugme.osdl.org/show_bug.cgi?id=772
----------------------
CC kernel/ksyms.o
kernel/ksyms.c:490: `__preempt_spin_lock' undeclared here (not in a
function)
kernel/ksyms.c:490: initializer element is not constant
kernel/ksyms.c:490: (near initialization for
`__ksymtab___preempt_spin_lock.value')
kernel/ksyms.c:491: `__preempt_write_lock' undeclared here (not in a
function)
kernel/ksyms.c:491: initializer element is not constant
kernel/ksyms.c:491: (near initialization for
`__ksymtab___preempt_write_lock.value')
make[1]: *** [kernel/ksyms.o] Error 1
make: *** [kernel] Error 2

It looks like this got broken in /include/linux/spinlock.h:
#if defined(CONFIG_SMP) && defined(CONFIG_PREEMPT) &&
!defined(CONFIG_DEBUG_EVENTLOG)
void __preempt_spin_lock(spinlock_t *lock);
void __preempt_write_lock(rwlock_t *lock);
...


2003-06-04 15:20:52

by Paul Larson

[permalink] [raw]
Subject: Re: 2.5.70-mm4

On Wed, 2003-06-04 at 01:18, Andrew Morton wrote:

> . A patch which adds the statfs64() syscall. This involved some mangling
> of the BSD accountig code. If anyone knows how to test BSD accounting,
> please do so, or let me know.
For what it's worth, LTP has two BSD acct tests and they both pass
fine. These are not elaborate or stressful in anyway, but they make for
a good, quick sniff test.

Thanks,
Paul Larson


2003-06-04 15:39:04

by Paul Larson

[permalink] [raw]
Subject: Re: 2.5.70-mm4

On Wed, 2003-06-04 at 01:18, Andrew Morton wrote:
> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.5/2.5.70/2.5.70-mm4/
A couple of issues:

Hangs on boot unless I use acpi=off, but I don't believe this is unique
to -mm. I've seen this on plain 2.5 kernels on and off before with this
8-way and others like it. AFAIK the acpi issues are ongoing and still
being worked, but please let me know if there's any information I can
gather other than what's already out there that would assist in fixing
these.

I pulled the latest cvs of LTP and started a make on it. The make
finished but when I tried to do anything I realized that it was
completely hung. NMI was on but no messages over the serial console.
I'll turn off preempt and turn on debug eventlog and see if that
provides any other useful information. Is anyone else seeing this
happen? I had seen similar hangs in -mm2 and was told that ext3 might
be the cuplrit and to wait for -mm3. I didn't get a chance to try -mm3.

Thanks,
Paul Larson


2003-06-04 16:58:41

by Alexander Hoogerhuis

[permalink] [raw]
Subject: Re: 2.5.70-mm4

Andrew Morton <[email protected]> writes:
>
> . There have been one or two reports of -mm3 getting stuck in
> get_request_wait() against CDROMs. If anyone sees that, or was seeing it
> in -mm3 and does not see it in -mm4, please let us know.
>

One of those came from me. Its better than what I've had before. I've
tinkered a bit, with and without debugging and ide-scsi, and I still
managed to get it to blow up. But I no longer see the insane loads
I've had on earlier kernels.

Attached is the output from a sesison with copying from CDs to the USB
drive with no ide-scsi, and i've put a comment it where it seems to
fall over:

usb-storage: Command WRITE_10 (10 bytes)
usb-storage: 2a 00 1b c3 2f 4f 00 04 00 00
usb-storage: Bulk command S 0x43425355 T 0x9a7 Trg 0 LUN 0 L 524288 F 0 CL 10
usb-storage: usb_stor_bulk_transfer_buf: xfer 31 bytes
usb-storage: Status code 0; transferred 31/31
usb-storage: -- transfer complete
usb-storage: Bulk command transfer result=0
usb-storage: usb_stor_bulk_transfer_sglist: xfer 524288 bytes, 128 entries
usb-storage: Status code 0; transferred 524288/524288
usb-storage: -- transfer complete
usb-storage: Bulk data transfer result 0x0
usb-storage: Attempting to get CSW...
usb-storage: usb_stor_bulk_transfer_buf: xfer 13 bytes
usb-storage: Status code 0; transferred 13/13
usb-storage: -- transfer complete
usb-storage: Bulk status result = 0
usb-storage: Bulk status Sig 0x53425355 T 0x9a7 R 0 Stat 0x0
usb-storage: scsi cmd done, result=0x0
usb-storage: *** thread sleeping.
usb-storage: queuecommand() called
usb-storage: *** thread awakened.
usb-storage: Command WRITE_10 (10 bytes)
usb-storage: 2a 00 1b c3 33 4f 00 04 00 00
usb-storage: Bulk command S 0x43425355 T 0x9a8 Trg 0 LUN 0 L 524288 F 0 CL 10
usb-storage: usb_stor_bulk_transfer_buf: xfer 31 bytes
usb-storage: Status code 0; transferred 31/31
usb-storage: -- transfer complete
usb-storage: Bulk command transfer result=0
usb-storage: usb_stor_bulk_transfer_sglist: xfer 524288 bytes, 127 entries
usb-storage: Status code 0; transferred 524288/524288
usb-storage: -- transfer complete
usb-storage: Bulk data transfer result 0x0
usb-storage: Attempting to get CSW...
-- here
usb-storage: usb_stor_bulk_transfer_buf: xfer 13 bytes
usb-storage: usb_storage_command_abort called
usb-storage: usb_stor_stop_transport called
usb-storage: -- cancelling URB
usb-storage: Status code -104; transferred 0/13
usb-storage: -- transfer cancelled
usb-storage: Bulk status result = 3
usb-storage: -- command was aborted
usb-storage: Bulk reset requested
usb-storage: usb_stor_control_msg: rq=ff rqtype=21 value=0000 index=00 len=0
usb-storage: Soft reset: clearing bulk-in endpoint halt
usb-storage: usb_stor_control_msg: rq=01 rqtype=02 value=0000 index=88 len=0
usb-storage: usb_stor_clear_halt: result = 0
usb-storage: Soft reset: clearing bulk-out endpoint halt
usb-storage: usb_stor_control_msg: rq=01 rqtype=02 value=0000 index=02 len=0
usb-storage: usb_stor_clear_halt: result = 0
usb-storage: Soft reset done
usb-storage: scsi command aborted
usb-storage: *** thread sleeping.
usb-storage: queuecommand() called
usb-storage: *** thread awakened.
usb-storage: Command TEST_UNIT_READY (6 bytes)
usb-storage: 00 00 00 00 00 00
usb-storage: Bulk command S 0x43425355 T 0x9a8 Trg 0 LUN 0 L 0 F 0 CL 6
usb-storage: usb_stor_bulk_transfer_buf: xfer 31 bytes
usb-storage: Status code 0; transferred 31/31
usb-storage: -- transfer complete
usb-storage: Bulk command transfer result=0
usb-storage: Attempting to get CSW...
usb-storage: usb_stor_bulk_transfer_buf: xfer 13 bytes
usb-storage: Status code 0; transferred 13/13
usb-storage: -- transfer complete
usb-storage: Bulk status result = 0
usb-storage: Bulk status Sig 0x53425355 T 0x9a8 R 0 Stat 0x0
usb-storage: scsi cmd done, result=0x0
usb-storage: *** thread sleeping.

mvh,
A
--
Alexander Hoogerhuis | [email protected]
CCNP - CCDP - MCNE - CCSE | +47 908 21 485
"You have zero privacy anyway. Get over it." --Scott McNealy

2003-06-04 17:47:29

by Felipe Alfaro Solana

[permalink] [raw]
Subject: Re: 2.5.70-mm4

On Wed, 2003-06-04 at 17:52, Paul Larson wrote:
> On Wed, 2003-06-04 at 01:18, Andrew Morton wrote:
> > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.5/2.5.70/2.5.70-mm4/
> A couple of issues:
>
> Hangs on boot unless I use acpi=off, but I don't believe this is unique
> to -mm. I've seen this on plain 2.5 kernels on and off before with this
> 8-way and others like it. AFAIK the acpi issues are ongoing and still
> being worked, but please let me know if there's any information I can
> gather other than what's already out there that would assist in fixing
> these.

This remembers me of a pretty strange issue I'm having with ACPI on my
NEC/Packard Bell Chrom@ laptop: if I plug my 3Com CardBus NIC in the
second PCMCIA slot, the kernel hangs during boot just at the time the
NIC generates an interrupt (for example, by sending a ping or some
traffic). However, if I plug the NIC into the first slot, it works
perfectly.

Curious, isn't it? I think it's related to ACPI IRQ routing: the NIC
uses IRQ10 when plugged into the first slot, but it uses IRQ5 when
plugged into the second one (which causes the mentioned hang). IRQ5 is
being shared with my YMFPCI sound card. Don't know if this is related to
the hangs, but I thought it was worth saying.

2003-06-04 20:54:30

by Helge Hafting

[permalink] [raw]
Subject: Re: 2.5.70-mm4

Raid-1 seems to work in 2.5.70-mm4, but raid-0 still fail.

Trying to boot with raid-0 autodetect yields a long string of:
Slab error in cache_free_debugcheck
cache 'size-32' double free or
memory after object overwritten.
(Is this something "Page alloc debugging"may be used for?)
kfree+0xfc/0x330
raid0_run
raid0_run
printk
blk_queue_make_request
do_md_run
md_ioctl
dput
blkdev_ioctl
sys_ioctl
syscall_call

I get a ton of these, in between normal
initialization messages. Then the thing
dies with a panic due to exception in interrupt.

This is a monolithic smp preempt kernel on a dual celeron.
The disks are scsi, the filesystems ext2. There is one
raid-0 array and two raid-1 arrays, as well as some
ordinary partitions. Root is on raid-1.

Helge Hafting

2003-06-04 21:20:02

by Rudmer van Dijk

[permalink] [raw]
Subject: Re: 2.5.70-mm4

On Wednesday 04 June 2003 08:18, Andrew Morton wrote:
> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.5/2.5.70/2.5.70
>-mm4/
>

I got the following errors with every file that includes
include/linux/bitops.h

include/linux/bitops.h: In function `generic_hweight64':
include/linux/bitops.h:118: warning: integer constant is too large for "long"
type
include/linux/bitops.h:118: warning: integer constant is too large for "long"
type
include/linux/bitops.h:119: warning: integer constant is too large for "long"
type
include/linux/bitops.h:119: warning: integer constant is too large for "long"
type
include/linux/bitops.h:120: warning: integer constant is too large for "long"
type
include/linux/bitops.h:120: warning: integer constant is too large for "long"
type
include/linux/bitops.h:121: warning: integer constant is too large for "long"
type
include/linux/bitops.h:121: warning: integer constant is too large for "long"
type
include/linux/bitops.h:122: warning: integer constant is too large for "long"
type
include/linux/bitops.h:122: warning: integer constant is too large for "long"
type

This is on UP, athlon, gcc 3.3

Rudmer

2003-06-05 01:41:17

by NeilBrown

[permalink] [raw]
Subject: Re: 2.5.70-mm4

On Wednesday June 4, [email protected] wrote:
> Raid-1 seems to work in 2.5.70-mm4, but raid-0 still fail.
>
> Trying to boot with raid-0 autodetect yields a long string of:
> Slab error in cache_free_debugcheck
> cache 'size-32' double free or
> memory after object overwritten.
> (Is this something "Page alloc debugging"may be used for?)
> kfree+0xfc/0x330
> raid0_run
> raid0_run
> printk
> blk_queue_make_request
> do_md_run
> md_ioctl
> dput
> blkdev_ioctl
> sys_ioctl
> syscall_call
>
> I get a ton of these, in between normal
> initialization messages. Then the thing
> dies with a panic due to exception in interrupt.
>
> This is a monolithic smp preempt kernel on a dual celeron.
> The disks are scsi, the filesystems ext2. There is one
> raid-0 array and two raid-1 arrays, as well as some
> ordinary partitions. Root is on raid-1.
>
> Helge Hafting

grrr... I thought I had that right...

You need to remove the two calls to 'kfree' at the end of
create_strip_zones.

I have jsut sent some patches to Linus (and linux-raid@vger) which
will update his tree to include this fix.

NeilBrown

2003-06-05 09:08:05

by Maciej Soltysiak

[permalink] [raw]
Subject: Re: 2.5.70-mm4

> I got the following errors with every file that includes
> include/linux/bitops.h
>
> include/linux/bitops.h: In function `generic_hweight64':
> include/linux/bitops.h:118: warning: integer constant is too large for "long"
> type
> include/linux/bitops.h:118: warning: integer constant is too large for "long"
> type
> include/linux/bitops.h:119: warning: integer constant is too large for "long"
<snip>

Same here with debian unstable with gcc-3.3, it started to act like that
since -mm4, mm3 was ok.

> This is on UP, athlon, gcc 3.3
Also UP on P4.

Regards,
Maciej

2003-06-05 15:06:20

by Helge Hafting

[permalink] [raw]
Subject: Re: 2.5.70-mm4 this helped but still no raid0

On Thu, Jun 05, 2003 at 11:53:51AM +1000, Neil Brown wrote:
[...]
> grrr... I thought I had that right...
>
> You need to remove the two calls to 'kfree' at the end of
> create_strip_zones.
>
I commented out the two kfree's, and the kernel managed to boot.
But the raid-0 array didn't work. The boot scripts
tried to fsck it, but couldn't get a valid ext2 superblock.
(fsck -f under 2.5.69-mm8 showed no problems, the fs was clean.)

Then it was mount time. Various partition and raid-1 based
fses mounted fine, but mounting the raid-0 on /usr/src killed the kernel:

unable to handle kernel NULL pointer deref at virtual address 00000014
PREEMPTSMP
EIP at raid0_make_request
process mount
bh_lru_install
generic_make_request
autoremove_wake_function
bio_alloc
submit_bio
__bread_slow_wq
__bread
ext2_fill_super
sb_set_blocksize
get_sb_bdev
alloc_vfsmnt
ext2_get_sb
ext2_fill_super
do_kern_mount
do_add_mount
do_mount
copy_mount_options
sys_mount
syscall_call


Looks like something else is wrong with raid-0.

> I have jsut sent some patches to Linus (and linux-raid@vger) which
> will update his tree to include this fix.
>
Were there anything more than removal of the two kfrees?

Helge Hafting