linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* 2.5.70-mm1
@ 2003-05-27  7:42 Andrew Morton
  2003-05-27 10:38 ` 2.5.70-mm1 Marc-Christian Petersen
                   ` (2 more replies)
  0 siblings, 3 replies; 16+ messages in thread
From: Andrew Morton @ 2003-05-27  7:42 UTC (permalink / raw)
  To: linux-kernel, linux-mm


http://www.zip.com.au/~akpm/linux/patches/2.5/2.5.70-mm1.gz

  Will appear soon at

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

. A number of fixes against the ext3 work which Alex and I have been doing.
  This code is stable now.  I'm using it on my main SMP desktop machine.

  These are major changes to a major filesystem.  I would ask that
  interested parties now subject these patches to stresstesting and to
  performance testing.  The performance gains on SMP will be significant.

. I dropped the kexec patches.  Mainly because the sheer extent of the -mm
  diffs is getting in the way of other work, and the kexec patches
  significantly altered the arch/i386 code where other things are happening.




Changes since 2.5.69-mm9:


 linus.patch

 Latest post-2.5.70 BK

+sysenter-nmi-fix-2.patch

 Fix an NMI rce in the sysenter code

-irqreturn-drivers-net.patch
-ppc64-aio-32bit-emulation.patch
-ppc64-scruffiness.patch
-ppc64-xics-irq-fix.patch
-ppc64-addnote-warning-fix.patch
-ppc64-fp-warning-fix.patch
-ppc64-do_signal32-fix.patch
-ppc64-xics-warning-fix.patch
-ppc64-prom-warning-fix.patch
-ppc64-compat-build-fix.patch
-ppc64-ioctl32-warning-fix-2.patch
-ppc64-setup-warning-fix.patch
-ppc64-traps-warning-fixes.patch
-ppc64-lpar-warning-fixes.patch
-tty_io-warning-fix.patch
-siocdevprivate_ioctl-warning-fix.patch
-aic-errno-removal.patch
-aic-non-i386-build-fix.patch
-aic7xxx-fixes.patch
-mpparse-warning-fix.patch
-dcache_lock-vs-tasklist_lock-take-3.patch
-apm-set_cpus_allowed-fix.patch
-reiserfs-inode-attribute-support.patch
-make-KOBJ_NAME-match-BUS_ID_SIZE.patch
-xirc2ps_cs-irqreturn-fix.patch
-readdir-return-value-fix.patch
-inode-unhashing-fix-2.patch
-as-dont-clear-last_merge.patch
-cfq-dont-clear-last_merge.patch
-cfq-iosched-dyn.patch
-slab-reclaimable-accounting.patch
-slab-reclaimable-accounting-fs.patch
-security-process-attribute-api.patch
-proc-pid-attr-fix.patch
-proc-pid-security-labels.patch
-CONFIG_FUTEX.patch
-CONFIG_EPOLL.patch
-devpts-xattr-handler.patch
-overcommit-root-margin.patch
-rpc-ifdef-fix.patch
-notify_count-for-de_thread.patch
-extend-check_valid_hugepage_range.patch
-misc2.patch
-io_stats-documentation.patch
-voyager-do_fork-fix.patch
-cpia-fp-removal.patch
-rd-separate-queues.patch
-mystery-subarch-fix.patch
-ewrk3-memleak-fix.patch
-initrd-memleak-fix.patch
-pnp-memory-leaks.patch
-per-cpu-mmu_gathers.patch
-srat-warning-fix.patch
-ACPI-constant-overflow-fixes.patch
-tulip-warning-fix.patch
-install_page-flushing.patch
-netdev-deadlock-fix.patch

 Merged

+i2o-leak-comment.patch

 Explain why a memleak is deliberate.

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

 Fix raid5 buglet.

+unlink-speedup-speedup.patch

 Avoid an inode_lock taking in unlink.

-time-interpolation-infrastructure-fix.patch

 Folded into time-interpolation-infrastructure.patch

+slab-scribble-negative.patch

 Use a value for slab poisoning which doesn't magically unlock all poisoned
 ia32 spinlocks.

+remove-fcntl-check.patch

 Cleanups, maybe a bugfix.

+jbd-510-h_credits-fix.patch
+jbd-520-journal_unmap_buffer-race.patch
+jbd-530-walk_page_buffers-race-fix.patch
+jbd-540-journal_try_to_free_buffers-race-fix.patch
+jbd-550-locking-checks.patch
+jbd-560-transaction-leak-fix.patch
+jbd-570-transaction-state-locking.patch

 ext3/JBD fixes

-reboot_on_bsp.patch
-kexec-revert-NORET_TYPE.patch
-apic_shutdown.patch
-i8259-shutdown.patch
-hwfixes-x86kexec.patch
-kexec-warning-fixes-2.patch

 Dropped.

+aio-05-fs_write-fix.patch

 Build fix.

-aio-poll-cleanup.patch

 Folded into aio-poll.patch

+64-bit-pci_alloc_consistent.patch

 Support 64-bit address allocations from pci_alloc_consistent().

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

 kNFSd bugfix

+sched-hot-balancing-fix.patch

 CPU scheduler optimisation.





All 130 patches:


linus.patch

mm.patch
  add -mmN to EXTRAVERSION

sysenter-nmi-fix-2.patch
  fix bad pointer access in nmi

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

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)

slab-magazine-layer.patch
  magazine layer for slab

slabinfo-rework.patch
  new statistics for slab

aio-random-cleanups.patch

config_spinline.patch
  uninline spinlocks for profiling accuracy.

ppc64-ioctl-pci-update.patch
  From: Anton Blanchard <anton@samba.org>
  Subject: ppc64 stuff

ppc64-reloc_hide.patch

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

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

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

buffer-debug.patch
  buffer.c debugging

irq_balance-fix-2.patch
  irq balance logic fix

VM_RESERVED-check.patch
  VM_RESERVED check

rcu-stats.patch
  RCU statistics reporting

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

ide_setting_sem-fix.patch

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

i2o-leak-comment.patch
  i2o memleak comment

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

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

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

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

per-queue-nr_requests.patch
  per queue nr_requests

unmap-page-debugging.patch
  unmap unused pages for debugging

CONFIG_DEBUG_PAGEALLOC-extras.patch
  From: Manfred Spraul <manfred@colorfullife.com>
  Subject: DEBUG_PAGEALLOC

fremap-all-mappings.patch
  Make all executable mappings be nonlinear

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

unlink-speedup-speedup.patch
  speedp the unlink speedup

time-interpolation-infrastructure.patch
  improved core support for time-interpolation
  make timer interpolation patch compile

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

slab-scribble-negative.patch
  Make the slab poisoning values negative

remove-fcntl-check.patch
  Remove unneeded fcntl check

ext3-no-bkl.patch

journal_dirty_metadata-speedup.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

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

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-560-transaction-leak-fix.patch
  transaction leak and race fix

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

invalidate_mmap_range.patch
  Interface to invalidate regions of mmaps

unregister_netdev-cleanup.patch

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!

64-bit-pci_alloc_consistent.patch
  support 64 bit pci_alloc_consistent

vfsmount_lock.patch
  From: Maneesh Soni <maneesh@in.ibm.com>
  Subject: [patch 1/2] vfsmount_lock

lockfree-lookup_mnt.patch
  lockfree lookup_mnt

proc-kcore-rework.patch
  /proc/kcore fixes

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

svcsock-use-after-free-fix.patch
  svsock use-after-free fix

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




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

* Re: 2.5.70-mm1
  2003-05-27  7:42 2.5.70-mm1 Andrew Morton
@ 2003-05-27 10:38 ` Marc-Christian Petersen
  2003-05-27 20:33   ` 2.5.70-mm1 Ed Tomlinson
  2003-05-28 17:10 ` 2.5.70-mm1 Mingming Cao
  2003-05-29  6:23 ` 2.5.70-mm1 Martin J. Bligh
  2 siblings, 1 reply; 16+ messages in thread
From: Marc-Christian Petersen @ 2003-05-27 10:38 UTC (permalink / raw)
  To: Andrew Morton, linux-kernel, linux-mm

On Tuesday 27 May 2003 09:42, Andrew Morton wrote:

Hi Andrew,

> . A number of fixes against the ext3 work which Alex and I have been doing.
>   This code is stable now.  I'm using it on my main SMP desktop machine.
>   These are major changes to a major filesystem.  I would ask that
>   interested parties now subject these patches to stresstesting and to
>   performance testing.  The performance gains on SMP will be significant.
works well for me.

ciao, Marc


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

* Re: 2.5.70-mm1
  2003-05-27 10:38 ` 2.5.70-mm1 Marc-Christian Petersen
@ 2003-05-27 20:33   ` Ed Tomlinson
  2003-05-27 20:49     ` 2.5.70-mm1 Andrew Morton
  0 siblings, 1 reply; 16+ messages in thread
From: Ed Tomlinson @ 2003-05-27 20:33 UTC (permalink / raw)
  To: Andrew Morton, linux-kernel, linux-mm

Hi Andrew,

This one oops on boot 2 out of 3 tries.  

Ideas?
Ed

Linux version 2.5.70-mm1 (ed@oscar) (gcc version 2.95.4 20011002 (Debian prerelease)) #1 Tue May 27 11:52:56 EDT 2003
Video mode to be used for restore is f00
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 00000000000a0000 (usable)
 BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 000000001fff0000 (usable)
 BIOS-e820: 000000001fff0000 - 000000001fff3000 (ACPI NVS)
 BIOS-e820: 000000001fff3000 - 0000000020000000 (ACPI data)
 BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)
511MB LOWMEM available.
On node 0 totalpages: 131056
  DMA zone: 4096 pages, LIFO batch:1
  Normal zone: 126960 pages, LIFO batch:16
  HighMem zone: 0 pages, LIFO batch:1
Building zonelist for node : 0
Kernel command line: auto BOOT_IMAGE=Linux ro root=2103 console=tty0 console=ttyS0,38400 idebus=33 profile=1
ide_setup: idebus=33
kernel profiling enabled
Initializing CPU#0
PID hash table entries: 2048 (order 11: 16384 bytes)
Detected 400.974 MHz processor.
Console: colour VGA+ 80x25
Calibrating delay loop... 790.52 BogoMIPS
Memory: 512884k/524224k available (1450k kernel code, 10580k reserved, 739k data, 112k init, 0k highmem)
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
-> /dev
-> /dev/console
-> /root
Enabling new style K6 write allocation for 511 Mb
CPU: L1 I Cache: 32K (32 bytes/line), D cache 32K (32 bytes/line)
CPU: L2 Cache: 256K (32 bytes/line)
CPU: AMD-K6(tm) 3D+ Processor stepping 01
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
mtrr: v2.0 (20020519)
Initializing RT netlink socket
PCI: PCI BIOS revision 2.10 entry at 0xfb520, last bus=1
PCI: Using configuration type 1
BIO: pool of 256 setup, 14Kb (56 bytes/bio)
biovec pool[0]:   1 bvecs: 256 entries (12 bytes)
biovec pool[1]:   4 bvecs: 256 entries (48 bytes)
biovec pool[2]:  16 bvecs: 256 entries (192 bytes)
biovec pool[3]:  64 bvecs: 256 entries (768 bytes)
biovec pool[4]: 128 bvecs: 256 entries (1536 bytes)
biovec pool[5]: 256 bvecs: 256 entries (3072 bytes)
Linux Plug and Play Support v0.96 (c) Adam Belay
PnPBIOS: Scanning system for PnP BIOS support...
PnPBIOS: Found PnP BIOS installation structure at 0xc00fc160
PnPBIOS: PnP BIOS version 1.0, entry 0xf0000:0xc188, dseg 0xf0000
PnPBIOS: 14 nodes reported by PnP BIOS; 14 recorded by driver
drivers/usb/core/usb.c: registered new driver usbfs
drivers/usb/core/usb.c: registered new driver hub
PCI: Probing PCI hardware
PCI: Probing PCI hardware (bus 00)
PCI: Using IRQ router VIA [1106/0586] at 00:07.0
Initializing Cryptographic API
Activating ISA DMA hang workarounds.
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
radeonfb_pci_register BEGIN
radeonfb: ref_clk=2700, ref_div=60, xclk=15500 from BIOS
radeonfb: probed DDR SGRAM 65536k videoram
radeonfb: ATI Radeon VE QY DDR SGRAM 64 MB
radeonfb: DVI port no monitor connected
radeonfb: CRT port CRT monitor connected
radeonfb_pci_register END
hStart = 664, hEnd = 760, hTotal = 800
vStart = 491, vEnd = 493, vTotal = 525
h_total_disp = 0x4f0063	   hsync_strt_wid = 0x8c02a2
v_total_disp = 0x1df020c	   vsync_strt_wid = 0x8201ea
post div = 0x8
fb_div = 0x1bf
ppll_div_3 = 0x301bf
ron = 1040, roff = 22092
vclk_freq = 2514, per = 789
Console: switching to colour frame buffer device 80x60
pty: 256 Unix98 ptys configured
Linux agpgart interface v0.100 (c) Dave Jones
agpgart: Detected VIA MVP3 chipset
agpgart: Maximum main memory to use for agp memory: 439M
agpgart: AGP aperture is 64M @ 0xe8000000
[drm] Initialized radeon 1.8.0 20020828 on minor 0
Serial: 8250/16550 driver $Revision: 1.90 $ IRQ sharing disabled
ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
ttyS2 at I/O 0x3e8 (irq = 4) is a 16550A
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes
VP_IDE: IDE controller at PCI slot 00:07.1
VP_IDE: chipset revision 6
VP_IDE: not 100% native mode: will probe irqs later
VP_IDE: VIA vt82c586b (rev 47) IDE UDMA33 controller on pci00:07.1
    ide0: BM-DMA at 0xa000-0xa007, BIOS settings: hda:DMA, hdb:DMA
    ide1: BM-DMA at 0xa008-0xa00f, BIOS settings: hdc:DMA, hdd:DMA
hda: QUANTUM FIREBALLP KA13.6, ATA DISK drive
anticipatory scheduling elevator
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hdc: AOPEN 16XDVD-ROM/AMH 20020328, ATAPI CD/DVD-ROM drive
hdd: Maxtor 6Y080L0, ATA DISK drive
anticipatory scheduling elevator
anticipatory scheduling elevator
ide1 at 0x170-0x177,0x376 on irq 15
PDC20267: IDE controller at PCI slot 00:09.0
PCI: Found IRQ 12 for device 00:09.0
PDC20267: chipset revision 2
PDC20267: not 100% native mode: will probe irqs later
PDC20267: ROM enabled at 0xef000000
PDC20267: (U)DMA Burst Bit ENABLED Primary PCI Mode Secondary PCI Mode.
    ide2: BM-DMA at 0xbc00-0xbc07, BIOS settings: hde:DMA, hdf:pio
    ide3: BM-DMA at 0xbc08-0xbc0f, BIOS settings: hdg:DMA, hdh:DMA
hde: QUANTUM FIREBALLP AS40.0, ATA DISK drive
anticipatory scheduling elevator
ide2 at 0xac00-0xac07,0xb002 on irq 12
hdg: QUANTUM FIREBALLP AS40.0, ATA DISK drive
anticipatory scheduling elevator
ide3 at 0xb400-0xb407,0xb802 on irq 12
hda: max request size: 128KiB
hda: host protected area => 1
hda: 27067824 sectors (13859 MB) w/371KiB Cache, CHS=26853/16/63, UDMA(33)
 hda: hda1 hda2 hda3 hda4 < hda5 >
hdd: max request size: 128KiB
hdd: host protected area => 1
hdd: 160086528 sectors (81964 MB) w/2048KiB Cache, CHS=158816/16/63, UDMA(33)
 hdd: hdd1
hde: max request size: 128KiB
hde: host protected area => 1
hde: 78177792 sectors (40027 MB) w/1902KiB Cache, CHS=77557/16/63, UDMA(100)
 hde: hde1 hde2 hde3 hde4 < hde5 >
hdg: max request size: 128KiB
hdg: host protected area => 1
hdg: 78177792 sectors (40027 MB) w/1902KiB Cache, CHS=77557/16/63, UDMA(100)
 hdg: hdg1 hdg2 hdg3 hdg4 < hdg5 >
Console: switching to colour frame buffer device 80x60
drivers/usb/host/uhci-hcd.c: USB Universal Host Controller Interface driver v2.1
uhci-hcd 00:07.2: VIA Technologies, In USB
uhci-hcd 00:07.2: irq 10, io base 0000a400
Please use the 'usbfs' filetype instead, the 'usbdevfs' name is deprecated.
uhci-hcd 00:07.2: new USB bus registered, assigned bus number 1
hub 1-0:0: USB hub found
hub 1-0:0: 2 ports detected
serio: i8042 AUX port at 0x60,0x64 irq 12
input: AT Set 2 keyboard on isa0060/serio0
serio: i8042 KBD port at 0x60,0x64 irq 1
NET4: Linux TCP/IP 1.0 for NET4.0
IP: routing cache hash table of 4096 buckets, 32Kbytes
TCP: Hash tables configured (established 32768 bind 32768)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
found reiserfs format "3.6" with standard journal
hub 1-0:0: debounce: port 1: delay 100ms stable 4 status 0x101
hub 1-0:0: new USB device on port 1, assigned address 2
Reiserfs journal params: device hde3, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30
reiserfs: checking transaction log (hde3) for (hde3)
hub 1-1:0: USB hub found
Using r5 hash to sort names
VFS: Mounted root (reiserfs filesystem) readonly.
hub 1-1:0: 4 ports detected
Freeing unused kernel memory: 112k freed
hub 1-0:0: debounce: port 2: delay 100ms stable 4 status 0x301
INIT: version 2.84 booting
hub 1-0:0: new USB device on port 2, assigned address 3
hub 1-1:0: debounce: port 1: delay 100ms stable 4 status 0x101
hub 1-1:0: new USB device on port 1, assigned address 4
hub 1-1:0: debounce: port 4: delay 100ms stable 4 status 0x101
hub 1-1:0: new USB device on port 4, assigned address 5
Loading /etc/console/boottime.kmap.gz
input: USB HID v1.00 Mouse [Microsoft Microsoft IntelliMouse® Optical] on usb-00:07.2-2
drivers/usb/core/usb.c: registered new driver hid
SCSI subsystem initialized
Initializing USB Mass Storage driver...
drivers/usb/input/hid-core.c: v2.0:USB HID core driver
scsi0 : SCSI emulation for USB Mass Storage devices
anticipatory scheduling elevator
  Vendor: Sandisk   Model: ImageMate SDDR-0  Rev: 0208
  Type:   Direct-Access                      ANSI SCSI revision: 02
anticipatory scheduling elevator
anticipatory scheduling elevator
mice: PS/2 mouse device common for all mice
anticipatory scheduling elevator
anticipatory scheduling elevator
modprobe: WARNINpl2303: Unknown symbol usb_serial_disconnect
G: Error inserting usbserial (/lpl2303: Unknown symbol usb_serial_probe
ib/modules/2.5.70-mm1/kernel/drianticipatory scheduling elevator
vers/usb/serial/usbserial.ko): Fanticipatory scheduling elevator
ile exists

anticipatory scheduling elevator
drivers/usb/core/usb.c: registered new driver usbserial
drivers/usb/serial/usb-serial.c: USB Serial Driver core v2.0
drivers/usb/core/usb.c: registered new driver usb-storage
USB Mass Storage support registered.
pl2303: Unknown symbol usb_serial_register
pl2303: Unknown symbol usb_serial_deregister
Unable to handle kernel paging request at virtual address e48e11fc
 printing eip:
c01296b9
*pde = 1fd6d067
*pte = 00000000
Oops: 0000 [#1]
CPU:    0
EIP:    0060:[<c01296b9>]    Not tainted VLI
EFLAGS: 00010282
EIP is at load_module+0x7c5/0x800
eax: e48e1120   ebx: e48e1120   ecx: dffea948   edx: dffea958
esi: fffffffe   edi: e48e1120   ebp: df3aff98   esp: df3aff2c
ds: 007b   es: 007b   ss: 0068
Process modprobe (pid: 128, threadinfo=df3ae000 task=df3d12d0)
Stack: df3ae000 c02c321c 00000000 e48e0ae0 0000002c 0000004c 00000048 3ed3bc9b 
       e48d0000 e48e1120 00000000 00000000 00000000 00000000 00000008 0000000d 
       0000000b 00000000 00000000 00000000 00000013 00000012 e48ef38c df76eb7c 
Call Trace:
 [<c012976e>] sys_init_module+0x7a/0x240
 [<c0108da7>] syscall_call+0x7/0xb

Code: 45 b8 eb 58 8b 5d b8 53 e8 d5 ea ff ff ff 73 6c 53 e8 d4 8a fe ff 83 c4 0c 8b 7d b8 ff 77 70 57 e8 c5 8a fe ff 83 c4 08 8b 45 b8 <83> b8 dc 00 00 00 00 74 08 0f 0b 61 01 59 4b 27 c0 8b 55 f0 52 
 Activating swap.
<6>Adding 393552k swap on /dev/hda1.  Priority:1 extents:1
Adding 393584k swap on /dev/hde1.  Priority:1 extents:1
Adding 393584k swap on /dev/hdg1.  Priority:1 extents:1
modprobe: FATAL: Module rtc not found.

System time was Tue May 27 19:43:14 UTC 2003.
Setting the System Clock using the Hardware Clock as reference...
modprobe: FATAL: Module rtc not found.

modprobe: FATAL: Module rtc not found.

System Clock set. System local time is now Tue May 27 15:43:16 EDT 2003.
Running 0dns-down to make sure resolv.conf is ok...done.
Loading modules: tulipwarning: process `update' used the obsolete bdflush system call
Fix your initscripts?
Linux version 2.5.70-mm1 (ed@oscar) (gcc version 2.95.4 20011002 (Debian prerelease)) #1 Tue May 27 11:52:56 EDT 2003
Video mode to be used for restore is f00
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 00000000000a0000 (usable)
 BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 000000001fff0000 (usable)
 BIOS-e820: 000000001fff0000 - 000000001fff3000 (ACPI NVS)
 BIOS-e820: 000000001fff3000 - 0000000020000000 (ACPI data)
 BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)
511MB LOWMEM available.
On node 0 totalpages: 131056
  DMA zone: 4096 pages, LIFO batch:1
  Normal zone: 126960 pages, LIFO batch:16
  HighMem zone: 0 pages, LIFO batch:1
Building zonelist for node : 0
Kernel command line: auto BOOT_IMAGE=Linux ro root=2103 console=tty0 console=ttyS0,38400 idebus=33 profile=1
ide_setup: idebus=33
kernel profiling enabled
Initializing CPU#0
PID hash table entries: 2048 (order 11: 16384 bytes)
Detected 400.936 MHz processor.
Console: colour VGA+ 80x25
Calibrating delay loop... 790.52 BogoMIPS
Memory: 512884k/524224k available (1450k kernel code, 10580k reserved, 739k data, 112k init, 0k highmem)
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
-> /dev
-> /dev/console
-> /root
Enabling new style K6 write allocation for 511 Mb
CPU: L1 I Cache: 32K (32 bytes/line), D cache 32K (32 bytes/line)
CPU: L2 Cache: 256K (32 bytes/line)
CPU: AMD-K6(tm) 3D+ Processor stepping 01
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
mtrr: v2.0 (20020519)
Initializing RT netlink socket
PCI: PCI BIOS revision 2.10 entry at 0xfb520, last bus=1
PCI: Using configuration type 1
BIO: pool of 256 setup, 14Kb (56 bytes/bio)
biovec pool[0]:   1 bvecs: 256 entries (12 bytes)
biovec pool[1]:   4 bvecs: 256 entries (48 bytes)
biovec pool[2]:  16 bvecs: 256 entries (192 bytes)
biovec pool[3]:  64 bvecs: 256 entries (768 bytes)
biovec pool[4]: 128 bvecs: 256 entries (1536 bytes)
biovec pool[5]: 256 bvecs: 256 entries (3072 bytes)
Linux Plug and Play Support v0.96 (c) Adam Belay
PnPBIOS: Scanning system for PnP BIOS support...
PnPBIOS: Found PnP BIOS installation structure at 0xc00fc160
PnPBIOS: PnP BIOS version 1.0, entry 0xf0000:0xc188, dseg 0xf0000
PnPBIOS: 14 nodes reported by PnP BIOS; 14 recorded by driver
drivers/usb/core/usb.c: registered new driver usbfs
drivers/usb/core/usb.c: registered new driver hub
PCI: Probing PCI hardware
PCI: Probing PCI hardware (bus 00)
PCI: Using IRQ router VIA [1106/0586] at 00:07.0
Initializing Cryptographic API
Activating ISA DMA hang workarounds.
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
radeonfb_pci_register BEGIN
radeonfb: ref_clk=2700, ref_div=60, xclk=15500 from BIOS
radeonfb: probed DDR SGRAM 65536k videoram
radeonfb: ATI Radeon VE QY DDR SGRAM 64 MB
radeonfb: DVI port no monitor connected
radeonfb: CRT port CRT monitor connected
radeonfb_pci_register END
hStart = 664, hEnd = 760, hTotal = 800
vStart = 491, vEnd = 493, vTotal = 525
h_total_disp = 0x4f0063	   hsync_strt_wid = 0x8c02a2
v_total_disp = 0x1df020c	   vsync_strt_wid = 0x8201ea
post div = 0x8
fb_div = 0x1bf
ppll_div_3 = 0x301bf
ron = 1040, roff = 22092
vclk_freq = 2514, per = 789
Console: switching to colour frame buffer device 80x60
pty: 256 Unix98 ptys configured
Linux agpgart interface v0.100 (c) Dave Jones
agpgart: Detected VIA MVP3 chipset
agpgart: Maximum main memory to use for agp memory: 439M
agpgart: AGP aperture is 64M @ 0xe8000000
[drm] Initialized radeon 1.8.0 20020828 on minor 0
Serial: 8250/16550 driver $Revision: 1.90 $ IRQ sharing disabled
ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
ttyS2 at I/O 0x3e8 (irq = 4) is a 16550A
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes
VP_IDE: IDE controller at PCI slot 00:07.1
VP_IDE: chipset revision 6
VP_IDE: not 100% native mode: will probe irqs later
VP_IDE: VIA vt82c586b (rev 47) IDE UDMA33 controller on pci00:07.1
    ide0: BM-DMA at 0xa000-0xa007, BIOS settings: hda:DMA, hdb:DMA
    ide1: BM-DMA at 0xa008-0xa00f, BIOS settings: hdc:DMA, hdd:DMA
hda: QUANTUM FIREBALLP KA13.6, ATA DISK drive
anticipatory scheduling elevator
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hdc: AOPEN 16XDVD-ROM/AMH 20020328, ATAPI CD/DVD-ROM drive
hdd: Maxtor 6Y080L0, ATA DISK drive
anticipatory scheduling elevator
anticipatory scheduling elevator
ide1 at 0x170-0x177,0x376 on irq 15
PDC20267: IDE controller at PCI slot 00:09.0
PCI: Found IRQ 12 for device 00:09.0
PDC20267: chipset revision 2
PDC20267: not 100% native mode: will probe irqs later
PDC20267: ROM enabled at 0xef000000
PDC20267: (U)DMA Burst Bit ENABLED Primary PCI Mode Secondary PCI Mode.
    ide2: BM-DMA at 0xbc00-0xbc07, BIOS settings: hde:DMA, hdf:pio
    ide3: BM-DMA at 0xbc08-0xbc0f, BIOS settings: hdg:DMA, hdh:DMA
hde: QUANTUM FIREBALLP AS40.0, ATA DISK drive
anticipatory scheduling elevator
ide2 at 0xac00-0xac07,0xb002 on irq 12
hdg: QUANTUM FIREBALLP AS40.0, ATA DISK drive
anticipatory scheduling elevator
ide3 at 0xb400-0xb407,0xb802 on irq 12
hda: max request size: 128KiB
hda: host protected area => 1
hda: 27067824 sectors (13859 MB) w/371KiB Cache, CHS=26853/16/63, UDMA(33)
 hda: hda1 hda2 hda3 hda4 < hda5 >
hdd: max request size: 128KiB
hdd: host protected area => 1
hdd: 160086528 sectors (81964 MB) w/2048KiB Cache, CHS=158816/16/63, UDMA(33)
 hdd: hdd1
hde: max request size: 128KiB
hde: host protected area => 1
hde: 78177792 sectors (40027 MB) w/1902KiB Cache, CHS=77557/16/63, UDMA(100)
 hde: hde1 hde2 hde3 hde4 < hde5 >
hdg: max request size: 128KiB
hdg: host protected area => 1
hdg: 78177792 sectors (40027 MB) w/1902KiB Cache, CHS=77557/16/63, UDMA(100)
 hdg: hdg1 hdg2 hdg3 hdg4 < hdg5 >
Console: switching to colour frame buffer device 80x60
drivers/usb/host/uhci-hcd.c: USB Universal Host Controller Interface driver v2.1
uhci-hcd 00:07.2: VIA Technologies, In USB
uhci-hcd 00:07.2: irq 10, io base 0000a400
Please use the 'usbfs' filetype instead, the 'usbdevfs' name is deprecated.
uhci-hcd 00:07.2: new USB bus registered, assigned bus number 1
hub 1-0:0: USB hub found
hub 1-0:0: 2 ports detected
serio: i8042 AUX port at 0x60,0x64 irq 12
input: AT Set 2 keyboard on isa0060/serio0
serio: i8042 KBD port at 0x60,0x64 irq 1
NET4: Linux TCP/IP 1.0 for NET4.0
IP: routing cache hash table of 4096 buckets, 32Kbytes
TCP: Hash tables configured (established 32768 bind 32768)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
found reiserfs format "3.6" with standard journal
hub 1-0:0: debounce: port 1: delay 100ms stable 4 status 0x101
hub 1-0:0: new USB device on port 1, assigned address 2
Reiserfs journal params: device hde3, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30
reiserfs: checking transaction log (hde3) for (hde3)
hub 1-1:0: USB hub found
hub 1-1:0: 4 ports detected
reiserfs: replayed 1 transactions in 0 seconds
Using r5 hash to sort names
VFS: Mounted root (reiserfs filesystem) readonly.
Freeing unused kernel memory: 112k freed
hub 1-0:0: debounce: port 2: delay 100ms stable 4 status 0x301
INIT: version 2.84 booting
hub 1-0:0: new USB device on port 2, assigned address 3
hub 1-1:0: debounce: port 1: delay 100ms stable 4 status 0x101
hub 1-1:0: new USB device on port 1, assigned address 4
hub 1-1:0: debounce: port 4: delay 100ms stable 4 status 0x101
hub 1-1:0: new USB device on port 4, assigned address 5
Loading /etc/console/boottime.kmap.gz
input: USB HID v1.00 Mouse [Microsoft Microsoft IntelliMouse® Optical] on usb-00:07.2-2
drivers/usb/core/usb.c: registered new driver hid
drivers/usb/input/hid-core.c: v2.0:USB HID core driver
drivers/usb/core/usb.c: registered new driver usbserial
drivers/usb/serial/usb-serial.c: USB Serial Dmodprobe: WARNIN<4>pl2303: Unknown symbol usb_serial_disconnect
G: Error inserting usbserial (/lpl2303: Unknowriver core v2.0
n symbol usb_serial_probe
ib/modules/2.5.70-mm1/kernel/dripl2303: Unknown symbol usb_serial_register
vers/usb/serial/usbserial.ko): Fpl2303: Unknown symbol usb_serial_deregister
ile exists

Unable to handle kernel paging request at virtual address e48ea1fc
 printing eip:
c01296b9
*pde = 1fd6d067
*pte = 00000000
Oops: 0000 [#1]
CPU:    0
EIP:    0060:[<c01296b9>]    Not tainted VLI
EFLAGS: 00010282
EIP is at load_module+0x7c5/0x800
eax: e48ea120   ebx: e48ea120   ecx: dffea948   edx: dffea958
esi: fffffffe   edi: e48ea120   ebp: df36ff98   esp: df36ff2c
ds: 007b   es: 007b   ss: 0068
Process modprobe (pid: 118, threadinfo=df36e000 task=df3812d0)
Stack: df36e000 c02c321c 00000000 e48e9ae0 0000002c 0000004c 00000048 3ed3bc9b 
       e48d2000 e48ea120 00000000 00000000 00000000 00000000 00000008 0000000d 
       0000000b 00000000 00000000 00000000 00000013 00000012 e48d038c df6b7444 
Call Trace:
 [<c012976e>] sys_init_module+0x7a/0x240
 [<c0108da7>] syscall_call+0x7/0xb

Code: 45 b8 eb 58 8b 5d b8 53 e8 d5 ea ff ff ff 73 6c 53 e8 d4 8a fe ff 83 c4 0c 8b 7d b8 ff 77 70 57 e8 c5 8a fe ff 83 c4 08 8b 45 b8 <83> b8 dc 00 00 00 00 74 08 0f 0b 61 01 59 4b 27 c0 8b 55 f0 52 
 Activating swap.

-----------------
putting the above Code: thru ksymoops, gives:

Code;  ffffffd5 <__kernel_rt_sigreturn+1b95/????>
00000000 <_EIP>:
Code;  ffffffd5 <__kernel_rt_sigreturn+1b95/????>
   0:   45                        inc    %ebp
Code;  ffffffd6 <__kernel_rt_sigreturn+1b96/????>
   1:   b8 eb 58 8b 5d            mov    $0x5d8b58eb,%eax
Code;  ffffffdb <__kernel_rt_sigreturn+1b9b/????>
   6:   b8 53 e8 d5 ea            mov    $0xead5e853,%eax
Code;  ffffffe0 <__kernel_rt_sigreturn+1ba0/????>
   b:   ff                        (bad)
Code;  ffffffe1 <__kernel_rt_sigreturn+1ba1/????>
   c:   ff                        (bad)
Code;  ffffffe2 <__kernel_rt_sigreturn+1ba2/????>
   d:   ff 73 6c                  pushl  0x6c(%ebx)
Code;  ffffffe5 <__kernel_rt_sigreturn+1ba5/????>
  10:   53                        push   %ebx
Code;  ffffffe6 <__kernel_rt_sigreturn+1ba6/????>
  11:   e8 d4 8a fe ff            call   fffe8aea <_EIP+0xfffe8aea>
Code;  ffffffeb <__kernel_rt_sigreturn+1bab/????>
  16:   83 c4 0c                  add    $0xc,%esp
Code;  ffffffee <__kernel_rt_sigreturn+1bae/????>
  19:   8b 7d b8                  mov    0xffffffb8(%ebp),%edi
Code;  fffffff1 <__kernel_rt_sigreturn+1bb1/????>
  1c:   ff 77 70                  pushl  0x70(%edi)
Code;  fffffff4 <__kernel_rt_sigreturn+1bb4/????>
  1f:   57                        push   %edi
Code;  fffffff5 <__kernel_rt_sigreturn+1bb5/????>
  20:   e8 c5 8a fe ff            call   fffe8aea <_EIP+0xfffe8aea>
Code;  fffffffa <__kernel_rt_sigreturn+1bba/????>
  25:   83 c4 08                  add    $0x8,%esp
Code;  fffffffd <__kernel_rt_sigreturn+1bbd/????>
  28:   8b 45 b8                  mov    0xffffffb8(%ebp),%eax
Code;  00000000 Before first symbol
  2b:   83 b8 dc 00 00 00 00      cmpl   $0x0,0xdc(%eax)
Code;  00000007 Before first symbol
  32:   74 08                     je     3c <_EIP+0x3c>
Code;  00000009 Before first symbol
  34:   0f 0b                     ud2a
Code;  0000000b Before first symbol
  36:   61                        popa
Code;  0000000c Before first symbol
  37:   01 59 4b                  add    %ebx,0x4b(%ecx)
Code;  0000000f Before first symbol
  3a:   27                        daa
Code;  00000010 Before first symbol
  3b:   c0                        .byte 0xc0
Code;  00000011 Before first symbol
  3c:   8b 55 f0                  mov    0xfffffff0(%ebp),%edx
Code;  00000014 Before first symbol
  3f:   52                        push   %edx



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

* Re: 2.5.70-mm1
  2003-05-27 20:33   ` 2.5.70-mm1 Ed Tomlinson
@ 2003-05-27 20:49     ` Andrew Morton
  2003-05-27 23:05       ` 2.5.70-mm1 Ed Tomlinson
  0 siblings, 1 reply; 16+ messages in thread
From: Andrew Morton @ 2003-05-27 20:49 UTC (permalink / raw)
  To: Ed Tomlinson; +Cc: linux-kernel, linux-mm

Ed Tomlinson <tomlins@cam.org> wrote:
>
> Hi Andrew,
> 
> This one oops on boot 2 out of 3 tries.  
> 
> ...
> EIP is at load_module+0x7c5/0x800

-mm has modules changes.  Is CONFIG_DEBUG_PAGEALLOC enabled?

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

* Re: 2.5.70-mm1
  2003-05-27 20:49     ` 2.5.70-mm1 Andrew Morton
@ 2003-05-27 23:05       ` Ed Tomlinson
  0 siblings, 0 replies; 16+ messages in thread
From: Ed Tomlinson @ 2003-05-27 23:05 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-kernel, linux-mm

On May 27, 2003 04:49 pm, Andrew Morton wrote:
> Ed Tomlinson <tomlins@cam.org> wrote:
> > Hi Andrew,
> >
> > This one oops on boot 2 out of 3 tries.
> >
> > ...
> > EIP is at load_module+0x7c5/0x800
>
> -mm has modules changes.  Is CONFIG_DEBUG_PAGEALLOC enabled?

#
# Kernel hacking
#
CONFIG_DEBUG_KERNEL=y
CONFIG_DEBUG_STACKOVERFLOW=y
CONFIG_DEBUG_SLAB=y
# CONFIG_DEBUG_IOVIRT is not set
CONFIG_MAGIC_SYSRQ=y
# CONFIG_DEBUG_SPINLOCK is not set
# CONFIG_SPINLINE is not set
# CONFIG_DEBUG_PAGEALLOC is not set
CONFIG_KALLSYMS=y
CONFIG_DEBUG_SPINLOCK_SLEEP=y
# CONFIG_KGDB is not set
CONFIG_DEBUG_INFO=y
CONFIG_FRAME_POINTER=y

No.  I have been running 69-mm8 for several days without problems.   It 
would seem to be an initialization problem, 70-mm1 has now been 3 hours
here.

Ed




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

* Re: 2.5.70-mm1
  2003-05-27  7:42 2.5.70-mm1 Andrew Morton
  2003-05-27 10:38 ` 2.5.70-mm1 Marc-Christian Petersen
@ 2003-05-28 17:10 ` Mingming Cao
  2003-05-28 19:44   ` 2.5.70-mm1 Andrew Morton
  2003-05-29  6:23 ` 2.5.70-mm1 Martin J. Bligh
  2 siblings, 1 reply; 16+ messages in thread
From: Mingming Cao @ 2003-05-28 17:10 UTC (permalink / raw)
  To: Andrew Morton, bzzz; +Cc: linux-kernel, linux-mm, cmm

Andrew Morton wrote:
> http://www.zip.com.au/~akpm/linux/patches/2.5/2.5.70-mm1.gz
> 
>   Will appear soon at
> 
> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.5/2.5.70/2.5.70-mm1/
> 
> . A number of fixes against the ext3 work which Alex and I have been doing.
>   This code is stable now.  I'm using it on my main SMP desktop machine.
> 
>   These are major changes to a major filesystem.  I would ask that
>   interested parties now subject these patches to stresstesting and to
>   performance testing.  The performance gains on SMP will be significant.
> 

I have run 50 fsx tests overnight on a 8 way PIII SMP box.  Each fsx 
test reads/writes on it's own ext3 filesystem.  The 50 filesystems  
spread over 10 disks.

Some kernel oops happened during the test. One fsx test becomes 
unresponsive. The kernek did not hang.  Here are the three kinds of 
oops.  The first and the last kind happened only once, the second kind 
of oops happened several times.

====================================================================

Unable to handle kernel NULL pointer dereference at virtual address 00000018
  printing eip:
c01a192b
*pde = 00000000
Oops: 0000 [#1]
CPU:    4
EIP:    0060:[<c01a192b>]    Not tainted VLI
EFLAGS: 00010246
EIP is at journal_try_to_free_buffers+0x8b/0x1d0
eax: 00000000   ebx: cce57b34   ecx: c0192bf0   edx: c337dd48
esi: 00000000   edi: cce57b34   ebp: c337dd48   esp: c3a13d04
ds: 007b   es: 007b   ss: 0068
Process pdflush (pid: 36, threadinfo=c3a12000 task=c3a26ce0)
Stack: c3a13d24 c3a13d24 f7b4dc00 c05aa660 00000286 00000000 00000000 
00000000
        cce57b34 00001000 c0192c22 f7b4dc00 c337dd48 00000000 c015804c 
c337dd48
        00000000 00000000 cce57b34 c015815b c337dd48 00000000 00000001 
cce57b34
Call Trace:
  [<c0192c22>] ext3_releasepage+0x32/0x40
  [<c015804c>] try_to_release_page+0x5c/0x70
  [<c015815b>] block_invalidatepage+0xfb/0x110
  [<c0159e33>] block_write_full_page+0x53/0xe0
  [<c0192347>] walk_page_buffers+0x77/0x80
  [<c0192a46>] ext3_writepage+0x166/0x280
  [<c0191df0>] ext3_get_block+0x0/0xb0
  [<c01928c0>] bget_one+0x0/0x10
  [<c01788b8>] mpage_writepages+0x238/0x305
  [<c015d1f0>] blkdev_writepage+0x0/0x30
  [<c01928e0>] ext3_writepage+0x0/0x280
  [<c011bf8a>] default_wake_function+0x2a/0x30
  [<c013d5c6>] do_writepages+0x36/0x40
  [<c0176c94>] __sync_single_inode+0xc4/0x220
  [<c017702c>] sync_sb_inodes+0x18c/0x250
  [<c0177159>] writeback_inodes+0x69/0xa0
  [<c013d438>] wb_kupdate+0xb8/0x130
  [<c013d9f0>] __pdflush+0xd0/0x1c0
  [<c013dae0>] pdflush+0x0/0x20
  [<c013daef>] pdflush+0xf/0x20
  [<c013d380>] wb_kupdate+0x0/0x130
  [<c0107228>] kernel_thread_helper+0x0/0x18
  [<c010722d>] kernel_thread_helper+0x5/0x18

Code: ba 2b 10 19 c0 85 c0 75 e7 8b 03 a9 00 04 00 00 74 6d 8b 03 8b 73 
28 83 e0 04 0f 85 10 01 00 00 8b 03 83 e0 02 0f 85 05 01 00 00 <8b> 46 
18 85 c0 0f 85 fa 00 00 00 8b 44 24 2c f0 fe 88 c0 00 00
=======================================================================

<0>Assertion failure in journal_dirty_metadata() at 
fs/jbd/transaction.c:1111: "jh->b_transaction == 
journal->j_running_transaction"
------------[ cut here ]------------
kernel BUG at fs/jbd/transaction.c:1111!
invalid operand: 0000 [#9]
CPU:    4
EIP:    0060:[<c01a1052>]    Not tainted VLI
EFLAGS: 00010282
EIP is at journal_dirty_metadata+0x212/0x220
eax: 00000085   ebx: f5c6c2e0   ecx: 00000097   edx: c049cdfc
esi: f5ea8d30   edi: f5549ae0   ebp: f5a78200   esp: f5827b04
ds: 007b   es: 007b   ss: 0068
Process fsx (pid: 1968, threadinfo=f5826000 task=f5836ce0)
Stack: c042a2e0 c040f030 c042693b 00000457 c042c820 00002e5b 00000000 
f5c6c2e0
        00000001 c018e56b d435aaa8 f5c6c2e0 f5827b40 00000000 00001000 
00000000
        00000000 f5a78400 00002e5a f5cc8000 c018e842 f5a78400 d435aaa8 
00000000
Call Trace:
  [<c018e56b>] ext3_try_to_allocate+0x1ab/0x2b0
  [<c018e842>] ext3_new_block+0x1d2/0x580
  [<c0157d63>] __find_get_block+0x73/0x100
  [<c0191267>] ext3_alloc_block+0x37/0x40
  [<c019162a>] ext3_alloc_branch+0x4a/0x2c0
  [<c0191c1c>] ext3_get_block_handle+0x18c/0x360
  [<c015a5f1>] alloc_buffer_head+0x41/0x50
  [<c0191e54>] ext3_get_block+0x64/0xb0
  [<c0158917>] __block_prepare_write+0x227/0x4b0
  [<c0159454>] block_prepare_write+0x34/0x50
  [<c0191df0>] ext3_get_block+0x0/0xb0
  [<c0192431>] ext3_prepare_write+0x71/0x130
  [<c0191df0>] ext3_get_block+0x0/0xb0
  [<c0139ecd>] generic_file_aio_write_nolock+0x38d/0xa30
  [<c0137e21>] add_to_page_cache+0x71/0x110
  [<c0170662>] update_atime+0x92/0xf0
  [<c0138d34>] __generic_file_aio_read+0x1c4/0x210
  [<c013a6b6>] generic_file_aio_write+0x86/0xb0
  [<c018faf4>] ext3_file_write+0x44/0xe0
  [<c0155106>] do_sync_write+0xb6/0xf0
  [<c0176b76>] __mark_inode_dirty+0xf6/0x100
  [<c016001e>] cp_new_stat64+0xfe/0x110
  [<c011df10>] autoremove_wake_function+0x0/0x50
  [<c01600e7>] sys_fstat64+0x37/0x40
  [<c01551fe>] vfs_write+0xbe/0x130
  [<c01549b0>] generic_file_llseek+0x0/0xf0
  [<c0155322>] sys_write+0x42/0x70
  [<c010943f>] syscall_call+0x7/0xb

Code: 04 24 e0 a2 42 c0 c7 44 24 04 30 f0 40 c0 c7 44 24 08 3b 69 42 c0 
c7 44 24 0c 57 04 00 00 c7 44 24 10 20 c8 42 c0 e8 0e f4 f7 ff <0f> 0b 
57 04 3b 69 42 c0 e9 ff fe ff ff 90 57 b8 10 00 00 00 56
========================================================================

  <0>Assertion failure in __journal_drop_transaction() at 
fs/jbd/checkpoint.c:619: "transaction->t_updates == 0"
------------[ cut here ]------------
kernel BUG at fs/jbd/checkpoint.c:619!
invalid operand: 0000 [#6]
CPU:    7
EIP:    0060:[<c01a4e7c>]    Not tainted VLI
EFLAGS: 00010286
EIP is at __journal_drop_transaction+0x1fc/0x3db
eax: 0000006f   ebx: f4132720   ecx: 00000097   edx: c049cdfc
esi: f5b98e00   edi: 00000000   ebp: 00000000   esp: f5b87dac
ds: 007b   es: 007b   ss: 0068
Process kjournald (pid: 1850, threadinfo=f5b86000 task=f7896060)
Stack: c042a2e0 c040f1de c0426b48 0000026b c0426b7c f4132720 f5b98e00 
c01a4b5a
        f5b98e00 f4132720 f602cda4 f64b64f0 c01a2c95 f64b64f0 f7252e80 
00000003
        000008be f711df3c f5b86000 00000000 00000fdc e1f62024 00000000 
00000000
Call Trace:
  [<c01a4b5a>] __journal_remove_checkpoint+0x4a/0x90
  [<c01a2c95>] journal_commit_transaction+0x745/0x1220
  [<c011df10>] autoremove_wake_function+0x0/0x50
  [<c02f96b0>] scsi_io_completion+0x160/0x4b0
  [<c011df10>] autoremove_wake_function+0x0/0x50
  [<c01161cd>] smp_apic_timer_interrupt+0xcd/0x140
  [<c011bc77>] schedule+0x207/0x4f0
  [<c01a5f96>] kjournald+0x236/0x260
  [<c011df10>] autoremove_wake_function+0x0/0x50
  [<c011df10>] autoremove_wake_function+0x0/0x50
  [<c0109352>] ret_from_fork+0x6/0x14
  [<c01a5d40>] commit_timeout+0x0/0x10
  [<c01a5d60>] kjournald+0x0/0x260
  [<c010722d>] kernel_thread_helper+0x5/0x18

Code: 04 24 e0 a2 42 c0 c7 44 24 04 de f1 40 c0 c7 44 24 08 48 6b 42 c0 
c7 44 24 0c 6b 02 00 00 c7 44 24 10 7c 6b 42 c0 e8 e4 b5 f7 ff <0f> 0b 
6b 02 48 6b 42 c0 e9 f1 fe ff ff 8d b4 26 00 00 00 00 c7


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

* Re: 2.5.70-mm1
  2003-05-28 17:10 ` 2.5.70-mm1 Mingming Cao
@ 2003-05-28 19:44   ` Andrew Morton
  0 siblings, 0 replies; 16+ messages in thread
From: Andrew Morton @ 2003-05-28 19:44 UTC (permalink / raw)
  To: Mingming Cao; +Cc: bzzz, linux-kernel, linux-mm, cmm

Mingming Cao <cmm@us.ibm.com> wrote:
>
> 
> I have run 50 fsx tests overnight on a 8 way PIII SMP box.  Each fsx 
> test reads/writes on it's own ext3 filesystem.  The 50 filesystems  
> spread over 10 disks.

Thanks for doing that.  I've found a couple of bugs which might explain two
of these.  I'll try the many-fsx test too.  -mm2 should be better.


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

* Re: 2.5.70-mm1
  2003-05-27  7:42 2.5.70-mm1 Andrew Morton
  2003-05-27 10:38 ` 2.5.70-mm1 Marc-Christian Petersen
  2003-05-28 17:10 ` 2.5.70-mm1 Mingming Cao
@ 2003-05-29  6:23 ` Martin J. Bligh
  2003-05-29 18:40   ` 2.5.70-mm1 Martin J. Bligh
  2 siblings, 1 reply; 16+ messages in thread
From: Martin J. Bligh @ 2003-05-29  6:23 UTC (permalink / raw)
  To: Andrew Morton, linux-kernel, linux-mm

> . A number of fixes against the ext3 work which Alex and I have been doing.
>   This code is stable now.  I'm using it on my main SMP desktop machine.
> 
>   These are major changes to a major filesystem.  I would ask that
>   interested parties now subject these patches to stresstesting and to
>   performance testing.  The performance gains on SMP will be significant.

Sexy. SDET beats the hell out of this, and is much improved:

SDET 128  (see disclaimer)
                           Throughput    Std. Dev
               2.5.66-mm2       100.0%         0.6%
          2.5.66-mm2-ext3         3.9%         0.4%

SDET 128  (see disclaimer)
                           Throughput    Std. Dev
          2.5.70-mm1-ext2       100.0%         0.1%
          2.5.70-mm1-ext3        22.7%         2.0%


diffprofile 2.5.70-mm1-ext2 2.5.70-mm1-ext3
(for SDET 128: + worse with ext3, - better.)
   1857406   245.2% total
   1531720   431.5% default_idle
    106589     0.0% .text.lock.transaction
     40119     0.0% do_get_write_access
     37170     0.0% journal_dirty_metadata
     35031  6560.1% __down
     24412  8030.3% .text.lock.attr
     19535  2556.9% __wake_up
     19201   907.0% schedule
     11344     0.0% start_this_handle
     10104     0.0% journal_add_journal_head
     10007     0.0% .text.lock.sched
      7352     0.0% journal_stop
      5949  99150.0% prepare_to_wait_exclusive
      5867  3008.7% __blk_queue_bounce
      4724   335.3% __find_get_block
      4618     0.0% ext3_get_inode_loc
      4410     0.0% journal_dirty_data
      3754   590.3% __find_get_block_slow
      3079   738.4% .text.lock.base
      2176     0.0% ext3_do_update_inode
      2132  11844.4% unlock_buffer
      1995     0.0% ext3_journal_start
      1888     0.0% ext3_orphan_del
      1783   145.2% __brelse
      1642  4829.4% blk_run_queues
      1555     0.0% ext3_orphan_add
      1495     0.0% ext3_new_inode
      1430     0.0% ext3_reserve_inode_write
      1412     0.0% journal_destroy_handle_cache
      1344     0.0% journal_cancel_revoke
      1279     0.0% journal_unmap_buffer
      1198     0.0% ext3_free_blocks
...
     -1057   -88.4% .text.lock.highmem
     -1064   -24.5% remove_shared_vm_struct
     -1112   -52.8% .text.lock.dec_and_lock
     -1126  -100.0% ext2_new_inode
     -1516  -100.0% grab_block
     -1594   -28.3% path_lookup
     -1599   -28.0% atomic_dec_and_lock
     -1660   -10.4% copy_page_range
     -1695   -15.4% __d_lookup
     -2585   -23.6% release_pages
     -2614   -13.5% zap_pte_range
     -9758   -20.7% page_add_rmap
    -26185   -25.3% page_remove_rmap


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

* Re: 2.5.70-mm1
  2003-05-29  6:23 ` 2.5.70-mm1 Martin J. Bligh
@ 2003-05-29 18:40   ` Martin J. Bligh
  2003-05-29 18:52     ` 2.5.70-mm1 Andrew Morton
  0 siblings, 1 reply; 16+ messages in thread
From: Martin J. Bligh @ 2003-05-29 18:40 UTC (permalink / raw)
  To: Andrew Morton, linux-kernel, linux-mm

> SDET 128  (see disclaimer)
>                            Throughput    Std. Dev
>                2.5.66-mm2       100.0%         0.6%
>           2.5.66-mm2-ext3         3.9%         0.4%
> 
> SDET 128  (see disclaimer)
>                            Throughput    Std. Dev
>           2.5.70-mm1-ext2       100.0%         0.1%
>           2.5.70-mm1-ext3        22.7%         2.0%

Andrew pointed out I should turn off extended attributes, I reran
like this ... not much change (with error margins)

 SDET 32  (see disclaimer)
                           Throughput    Std. Dev
          2.5.70-mm1-ext2       100.0%         0.2%
          2.5.70-mm1-ext3        30.9%         7.8%
          2.5.70-mm1-noxa        34.6%         6.5%

SDET 128  (see disclaimer)
                           Throughput    Std. Dev
          2.5.70-mm1-ext2       100.0%         0.1%
          2.5.70-mm1-ext3        22.7%         2.0%
          2.5.70-mm1-noxa        21.4%         4.6%

.text.lock.attr is still in there, so either I balls'ed it up somehow, or
it wasn't the extd attr stuff in the first place. 

CONFIG_EXT2_FS=y
# CONFIG_EXT2_FS_XATTR is not set
CONFIG_EXT3_FS=y
# CONFIG_EXT3_FS_XATTR is not set

   2024927   267.3% total
   1677960   472.8% default_idle
    116350     0.0% .text.lock.transaction
     42783     0.0% do_get_write_access
     40293     0.0% journal_dirty_metadata
     34251  6414.0% __down
     27867  9166.8% .text.lock.attr
     20016  2619.9% __wake_up
     19632   927.4% schedule
     12204     0.0% .text.lock.sched
     12128     0.0% start_this_handle
     10011     0.0% journal_add_journal_head


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

* Re: 2.5.70-mm1
  2003-05-29 18:40   ` 2.5.70-mm1 Martin J. Bligh
@ 2003-05-29 18:52     ` Andrew Morton
  2003-05-29 20:30       ` 2.5.70-mm1 Martin J. Bligh
  0 siblings, 1 reply; 16+ messages in thread
From: Andrew Morton @ 2003-05-29 18:52 UTC (permalink / raw)
  To: Martin J. Bligh; +Cc: linux-kernel, linux-mm

"Martin J. Bligh" <mbligh@aracnet.com> wrote:
>
> > SDET 128  (see disclaimer)
> >                            Throughput    Std. Dev
> >                2.5.66-mm2       100.0%         0.6%
> >           2.5.66-mm2-ext3         3.9%         0.4%
> > 
> > SDET 128  (see disclaimer)
> >                            Throughput    Std. Dev
> >           2.5.70-mm1-ext2       100.0%         0.1%
> >           2.5.70-mm1-ext3        22.7%         2.0%
> 
> Andrew pointed out I should turn off extended attributes, I reran
> like this ... not much change (with error margins)
> 
>  SDET 32  (see disclaimer)
>                            Throughput    Std. Dev
>           2.5.70-mm1-ext2       100.0%         0.2%
>           2.5.70-mm1-ext3        30.9%         7.8%
>           2.5.70-mm1-noxa        34.6%         6.5%

OK, a 10x improvement isn't too bad.  I'm hoping the gap between ext2 and
ext3 is mainly idle time and not spinning-on-locks time.


> 
>    2024927   267.3% total
>    1677960   472.8% default_idle
>     116350     0.0% .text.lock.transaction
>      42783     0.0% do_get_write_access
>      40293     0.0% journal_dirty_metadata
>      34251  6414.0% __down
>      27867  9166.8% .text.lock.attr

Bah.  In inode_setattr(), move the mark_inode_dirty() outside
lock_kernel().

>      20016  2619.9% __wake_up
>      19632   927.4% schedule
>      12204     0.0% .text.lock.sched
>      12128     0.0% start_this_handle
>      10011     0.0% journal_add_journal_head

hm, lots of context switches still.


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

* Re: 2.5.70-mm1
  2003-05-29 18:52     ` 2.5.70-mm1 Andrew Morton
@ 2003-05-29 20:30       ` Martin J. Bligh
  2003-05-29 21:14         ` 2.5.70-mm1 Andrew Morton
  0 siblings, 1 reply; 16+ messages in thread
From: Martin J. Bligh @ 2003-05-29 20:30 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-kernel, linux-mm

> OK, a 10x improvement isn't too bad.  I'm hoping the gap between ext2 and
> ext3 is mainly idle time and not spinning-on-locks time.
> 
> 
>> 
>>    2024927   267.3% total
>>    1677960   472.8% default_idle
>>     116350     0.0% .text.lock.transaction
>>      42783     0.0% do_get_write_access
>>      40293     0.0% journal_dirty_metadata
>>      34251  6414.0% __down
>>      27867  9166.8% .text.lock.attr
> 
> Bah.  In inode_setattr(), move the mark_inode_dirty() outside
> lock_kernel().

OK, will do. 

>>      20016  2619.9% __wake_up
>>      19632   927.4% schedule
>>      12204     0.0% .text.lock.sched
>>      12128     0.0% start_this_handle
>>      10011     0.0% journal_add_journal_head
> 
> hm, lots of context switches still.

I think that's ext3 busily kicking the living crap out of semaphores ;-)
See __down above ...

M.


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

* Re: 2.5.70-mm1
  2003-05-29 20:30       ` 2.5.70-mm1 Martin J. Bligh
@ 2003-05-29 21:14         ` Andrew Morton
  2003-05-30 15:51           ` 2.5.70-mm1 Martin J. Bligh
  0 siblings, 1 reply; 16+ messages in thread
From: Andrew Morton @ 2003-05-29 21:14 UTC (permalink / raw)
  To: Martin J. Bligh; +Cc: linux-kernel, linux-mm

"Martin J. Bligh" <mbligh@aracnet.com> wrote:
>
> > OK, a 10x improvement isn't too bad.  I'm hoping the gap between ext2 and
> > ext3 is mainly idle time and not spinning-on-locks time.
> > 
> > 
> >> 
> >>    2024927   267.3% total
> >>    1677960   472.8% default_idle
> >>     116350     0.0% .text.lock.transaction
> >>      42783     0.0% do_get_write_access
> >>      40293     0.0% journal_dirty_metadata
> >>      34251  6414.0% __down
> >>      27867  9166.8% .text.lock.attr
> > 
> > Bah.  In inode_setattr(), move the mark_inode_dirty() outside
> > lock_kernel().
> 
> OK, will do. 

Actually we can just ditch it.

diff -puN fs/attr.c~inode_setattr-speedup fs/attr.c
--- 25/fs/attr.c~inode_setattr-speedup	Thu May 29 14:01:54 2003
+++ 25-akpm/fs/attr.c	Thu May 29 14:07:57 2003
@@ -81,7 +81,6 @@ int inode_setattr(struct inode * inode, 
 		}
 	}
 
-	lock_kernel();
 	if (ia_valid & ATTR_UID)
 		inode->i_uid = attr->ia_uid;
 	if (ia_valid & ATTR_GID)
@@ -93,12 +92,13 @@ int inode_setattr(struct inode * inode, 
 	if (ia_valid & ATTR_CTIME)
 		inode->i_ctime = attr->ia_ctime;
 	if (ia_valid & ATTR_MODE) {
-		inode->i_mode = attr->ia_mode;
+		umode_t mode = attr->ia_mode;
+
 		if (!in_group_p(inode->i_gid) && !capable(CAP_FSETID))
-			inode->i_mode &= ~S_ISGID;
+			mode &= ~S_ISGID;
+		inode->i_mode = mode;
 	}
 	mark_inode_dirty(inode);
-	unlock_kernel();
 out:
 	return error;
 }


> >>      20016  2619.9% __wake_up
> >>      19632   927.4% schedule
> >>      12204     0.0% .text.lock.sched
> >>      12128     0.0% start_this_handle
> >>      10011     0.0% journal_add_journal_head
> > 
> > hm, lots of context switches still.
> 
> I think that's ext3 busily kicking the living crap out of semaphores ;-)

But I deleted them all!.  Well.  There is one semaphore left in ext3/jbd,
and that is for serialisation around the oh-shit-we're-out-of-space
checkpointing code.  I shall go on a hat diet if that is being a problem.

hmm, very odd.

You could try my "find out who's doing down() too much" patch:


diff -puN arch/i386/kernel/semaphore.c~down-diag arch/i386/kernel/semaphore.c
--- 25/arch/i386/kernel/semaphore.c~down-diag	Thu May 29 14:11:46 2003
+++ 25-akpm/arch/i386/kernel/semaphore.c	Thu May 29 14:12:18 2003
@@ -66,6 +66,7 @@ void __down(struct semaphore * sem)
 	sem->sleepers++;
 	for (;;) {
 		int sleepers = sem->sleepers;
+		static int count;
 
 		/*
 		 * Add "everybody else" into it. They aren't
@@ -79,6 +80,10 @@ void __down(struct semaphore * sem)
 		sem->sleepers = 1;	/* us - see -1 above */
 		spin_unlock_irqrestore(&sem->wait.lock, flags);
 
+		if (count++ > 100000) {
+			count = 0;
+			dump_stack();
+		}
 		schedule();
 
 		spin_lock_irqsave(&sem->wait.lock, flags);

_


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

* Re: 2.5.70-mm1
  2003-05-29 21:14         ` 2.5.70-mm1 Andrew Morton
@ 2003-05-30 15:51           ` Martin J. Bligh
  2003-05-30 16:43             ` 2.5.70-mm1 Andrew Morton
  0 siblings, 1 reply; 16+ messages in thread
From: Martin J. Bligh @ 2003-05-30 15:51 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-kernel, linux-mm

[-- Attachment #1: Type: text/plain, Size: 452 bytes --]

>> > Bah.  In inode_setattr(), move the mark_inode_dirty() outside
>> > lock_kernel().
>> 
>> OK, will do. 
> 
> Actually we can just ditch it.

Well, that just seems to make the box hang in SDET (actually, moving it
outside lock_kernel makes it hang in a similar way). Not sure it's 
*caused* by this ... it might just change timing enough to trigger it.

ALT+sysrq info attatched, compressed, cause there's so many stinking
processes running ;-)

M.

[-- Attachment #2: ext3_hang.bz2 --]
[-- Type: application/octet-stream, Size: 11580 bytes --]

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

* Re: 2.5.70-mm1
  2003-05-30 15:51           ` 2.5.70-mm1 Martin J. Bligh
@ 2003-05-30 16:43             ` Andrew Morton
  2003-05-30 23:51               ` 2.5.70-mm1 Martin J. Bligh
  0 siblings, 1 reply; 16+ messages in thread
From: Andrew Morton @ 2003-05-30 16:43 UTC (permalink / raw)
  To: Martin J. Bligh; +Cc: linux-kernel, linux-mm

"Martin J. Bligh" <mbligh@aracnet.com> wrote:
>
> Well, that just seems to make the box hang in SDET (actually, moving it
>  outside lock_kernel makes it hang in a similar way). Not sure it's 
>  *caused* by this ... it might just change timing enough to trigger it.

Yes, sorry.  Looks like you hit the filemap.c screwup.  The below should
fix it.


--- 25/mm/filemap.c~generic_file_write-commit_write-fix	2003-05-30 04:01:19.000000000 -0700
+++ 25-akpm/mm/filemap.c	2003-05-30 04:04:11.000000000 -0700
@@ -1718,10 +1718,9 @@ generic_file_aio_write_nolock(struct kio
 			copied = filemap_copy_from_user_iovec(page, offset,
 						cur_iov, iov_base, bytes);
 		flush_dcache_page(page);
+		status = a_ops->commit_write(file, page, offset,
+						offset + copied);
 		if (likely(copied > 0)) {
-			status = a_ops->commit_write(file, page, offset,
-						     offset + copied);
-
 			if (!status)
 				status = copied;
 

_


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

* Re: 2.5.70-mm1
  2003-05-30 16:43             ` 2.5.70-mm1 Andrew Morton
@ 2003-05-30 23:51               ` Martin J. Bligh
  2003-06-03  6:34                 ` ext3 semaphore tracing Martin J. Bligh
  0 siblings, 1 reply; 16+ messages in thread
From: Martin J. Bligh @ 2003-05-30 23:51 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-kernel, linux-mm

>> Well, that just seems to make the box hang in SDET (actually, moving it
>>  outside lock_kernel makes it hang in a similar way). Not sure it's 
>>  *caused* by this ... it might just change timing enough to trigger it.
> 
> Yes, sorry.  Looks like you hit the filemap.c screwup.  The below should
> fix it.

OK, seems to work now, but it's still no faster:

SDET 128  (see disclaimer)
                           Throughput    Std. Dev
          2.5.70-mm1-ext2       100.0%         0.1%
          2.5.70-mm1-ext3        22.7%         2.0%
          2.5.70-mm1-noxa        21.4%         4.6%
          2.5.70-mm2-ext3        20.5%         2.4%

(last one has both your patches in).

I had the sem tracing one in there too, but got no output. I might have
another look at that later on ...

M.


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

* ext3 semaphore tracing
  2003-05-30 23:51               ` 2.5.70-mm1 Martin J. Bligh
@ 2003-06-03  6:34                 ` Martin J. Bligh
  0 siblings, 0 replies; 16+ messages in thread
From: Martin J. Bligh @ 2003-06-03  6:34 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-kernel, linux-mm, Alex Tomas

> Some idiot wrote:
>
> I had the sem tracing one in there too, but got no output. I might have
> another look at that later on ...

Seems to be moron-related ass-locating-with-both-hands error on my part.

Call Trace:
 [<c0107b4e>] __down+0x96/0x114
 [<c0118888>] default_wake_function+0x0/0x20
 [<c0107d48>] __down_failed+0x8/0xc
 [<c0181350>] .text.lock.namei+0x5/0x35
 [<c017ce51>] ext3_truncate+0x119/0x3d4
 [<c018460e>] new_handle+0xe/0x48
 [<c01846d1>] journal_start+0x89/0xb8
 [<c01813b2>] ext3_journal_start+0x32/0x50
 [<c017abeb>] start_transaction+0x13/0x40
 [<c017ad16>] ext3_delete_inode+0x8a/0xe0
 [<c017ac8c>] ext3_delete_inode+0x0/0xe0
 [<c015ffa3>] generic_delete_inode+0x6b/0xd4
 [<c0160134>] generic_drop_inode+0x10/0x20
 [<c01601aa>] iput+0x66/0x6c
 [<c01573a9>] sys_unlink+0xf1/0x130
 [<c010e056>] alloc_ldt+0x6a/0x1a0
 [<c0108c87>] syscall_call+0x7/0xb

Call Trace:
 [<c0107b4e>] __down+0x96/0x114
 [<c0118888>] default_wake_function+0x0/0x20
 [<c0107d48>] __down_failed+0x8/0xc
 [<c0181364>] .text.lock.namei+0x19/0x35
 [<c0160a83>] inode_setattr+0xd7/0xe4
 [<c017da31>] ext3_setattr+0xf1/0x120
 [<c0160be0>] notify_change+0xe0/0x14c
 [<c014858d>] sys_chmod+0x9d/0xc8
 [<c01552cd>] path_release+0xd/0x30
 [<c0148c7b>] sys_close+0x53/0x6c
 [<c0108c87>] syscall_call+0x7/0xb

Call Trace:
 [<c0107b4e>] __down+0x96/0x114
 [<c0118888>] default_wake_function+0x0/0x20
 [<c0107d48>] __down_failed+0x8/0xc
 [<c0181350>] .text.lock.namei+0x5/0x35
 [<c0180c8d>] ext3_unlink+0xed/0x150
 [<c0180ca5>] ext3_unlink+0x105/0x150
 [<c0157278>] vfs_unlink+0x110/0x150
 [<c0157361>] sys_unlink+0xa9/0x130
 [<c0108c87>] syscall_call+0x7/0xb

Call Trace:
 [<c0107b4e>] __down+0x96/0x114
 [<c0118888>] default_wake_function+0x0/0x20
 [<c0107d48>] __down_failed+0x8/0xc
 [<c0181350>] .text.lock.namei+0x5/0x35
 [<c017ce51>] ext3_truncate+0x119/0x3d4
 [<c018460e>] new_handle+0xe/0x48
 [<c01846d1>] journal_start+0x89/0xb8
 [<c01813b2>] ext3_journal_start+0x32/0x50
 [<c017abeb>] start_transaction+0x13/0x40
 [<c017ad16>] ext3_delete_inode+0x8a/0xe0
 [<c017ac8c>] ext3_delete_inode+0x0/0xe0
 [<c015ffa3>] generic_delete_inode+0x6b/0xd4
 [<c0160134>] generic_drop_inode+0x10/0x20
 [<c01601aa>] iput+0x66/0x6c
 [<c01573a9>] sys_unlink+0xf1/0x130
 [<c0108c87>] syscall_call+0x7/0xb

Call Trace:Call Trace:
 [<c0107b4e>] __down+0x96/0x114
 [<c0118888>] default_wake_function+0x0/0x20
 [<c0107d48>] __down_failed+0x8/0xc
 [<c0181364>] .text.lock.namei+0x19/0x35
 [<c0160a83>] inode_setattr+0xd7/0xe4
 [<c017da31>] ext3_setattr+0xf1/0x120
 [<c0160be0>] notify_change+0xe0/0x14c
 [<c0148662>] chown_common+0xaa/0xc8
 [<c01486b3>] sys_chown+0x33/0x48
 [<c0148c7b>] sys_close+0x53/0x6c
 [<c0108c87>] syscall_call+0x7/0xb


 [<c0107b4e>] __down+0x96/0x114
 [<c0118888>] default_wake_function+0x0/0x20
 [<c0107d48>] __down_failed+0x8/0xc
 [<c0181350>] .text.lock.namei+0x5/0x35
 [<c017ce51>] ext3_truncate+0x119/0x3d4
 [<c018460e>] new_handle+0xe/0x48
 [<c01846d1>] journal_start+0x89/0xb8
 [<c01813b2>] ext3_journal_start+0x32/0x50
 [<c017abeb>] start_transaction+0x13/0x40
 [<c017ad16>] ext3_delete_inode+0x8a/0xe0
 [<c017ac8c>] ext3_delete_inode+0x0/0xe0
 [<c015ffa3>] generic_delete_inode+0x6b/0xd4
 [<c0160134>] generic_drop_inode+0x10/0x20
 [<c01601aa>] iput+0x66/0x6c
 [<c01573a9>] sys_unlink+0xf1/0x130
 [<c0108c87>] syscall_call+0x7/0xb

Call Trace:
 [<c0107b4e>] __down+0x96/0x114
 [<c0118888>] default_wake_function+0x0/0x20
 [<c0107d48>] __down_failed+0x8/0xc
 [<c0181350>] .text.lock.namei+0x5/0x35
 [<c017ce51>] ext3_truncate+0x119/0x3d4
 [<c018460e>] new_handle+0xe/0x48
 [<c01846d1>] journal_start+0x89/0xb8
 [<c01813b2>] ext3_journal_start+0x32/0x50
 [<c017abeb>] start_transaction+0x13/0x40
 [<c017ad16>] ext3_delete_inode+0x8a/0xe0
 [<c017ac8c>] ext3_delete_inode+0x0/0xe0
 [<c015ffa3>] generic_delete_inode+0x6b/0xd4
 [<c0160134>] generic_drop_inode+0x10/0x20
 [<c01601aa>] iput+0x66/0x6c
 [<c01573a9>] sys_unlink+0xf1/0x130
 [<c0108c87>] syscall_call+0x7/0xb

Call Trace:
 [<c0107b4e>] __down+0x96/0x114
 [<c0118888>] default_wake_function+0x0/0x20
 [<c0107d48>] __down_failed+0x8/0xc
 [<c0181364>] .text.lock.namei+0x19/0x35
 [<c0160a83>] inode_setattr+0xd7/0xe4
 [<c017da31>] ext3_setattr+0xf1/0x120
 [<c0160be0>] notify_change+0xe0/0x14c
 [<c014858d>] sys_chmod+0x9d/0xc8
 [<c01552cd>] path_release+0xd/0x30
 [<c0148c7b>] sys_close+0x53/0x6c
 [<c0108c87>] syscall_call+0x7/0xb

Call Trace:
 [<c0107b4e>] __down+0x96/0x114
 [<c0118888>] default_wake_function+0x0/0x20
 [<c0107d48>] __down_failed+0x8/0xc
 [<c0181364>] .text.lock.namei+0x19/0x35
 [<c01813b2>] ext3_journal_start+0x32/0x50
 [<c017abeb>] start_transaction+0x13/0x40
 [<c017ad20>] ext3_delete_inode+0x94/0xe0
 [<c017ac8c>] ext3_delete_inode+0x0/0xe0
 [<c015ffa3>] generic_delete_inode+0x6b/0xd4
 [<c0160134>] generic_drop_inode+0x10/0x20
 [<c01601aa>] iput+0x66/0x6c
 [<c01573a9>] sys_unlink+0xf1/0x130
 [<c0108c87>] syscall_call+0x7/0xb

Call Trace:
 [<c0107b4e>] __down+0x96/0x114
 [<c0118888>] default_wake_function+0x0/0x20
 [<c0107d48>] __down_failed+0x8/0xc
 [<c0181364>] .text.lock.namei+0x19/0x35
 [<c01813b2>] ext3_journal_start+0x32/0x50
 [<c017abeb>] start_transaction+0x13/0x40
 [<c017ad20>] ext3_delete_inode+0x94/0xe0
 [<c017ac8c>] ext3_delete_inode+0x0/0xe0
 [<c015ffa3>] generic_delete_inode+0x6b/0xd4
 [<c0160134>] generic_drop_inode+0x10/0x20
 [<c01601aa>] iput+0x66/0x6c
 [<c01573a9>] sys_unlink+0xf1/0x130
 [<c0108c87>] syscall_call+0x7/0xb

Call Trace:
 [<c0107b4e>] __down+0x96/0x114
 [<c0118888>] default_wake_function+0x0/0x20
 [<c0107d48>] __down_failed+0x8/0xc
 [<c0181364>] .text.lock.namei+0x19/0x35
 [<c0160a83>] inode_setattr+0xd7/0xe4
 [<c017da31>] ext3_setattr+0xf1/0x120
 [<c0160be0>] notify_change+0xe0/0x14c
 [<c0148662>] chown_common+0xaa/0xc8
 [<c01486b3>] sys_chown+0x33/0x48
 [<c0148c7b>] sys_close+0x53/0x6c
 [<c0108c87>] syscall_call+0x7/0xb

Call Trace:
 [<c0107b4e>] __down+0x96/0x114
 [<c0118888>] default_wake_function+0x0/0x20
 [<c0107d48>] __down_failed+0x8/0xc
 [<c0181364>] .text.lock.namei+0x19/0x35
 [<c0160a83>] inode_setattr+0xd7/0xe4
 [<c017da31>] ext3_setattr+0xf1/0x120
 [<c0160be0>] notify_change+0xe0/0x14c
 [<c0148003>] sys_utime+0xdb/0x104
 [<c01552cd>] path_release+0xd/0x30
 [<c0148c7b>] sys_close+0x53/0x6c
 [<c0108c87>] syscall_call+0x7/0xb

Call Trace:
 [<c0107b4e>] __down+0x96/0x114
 [<c0118888>] default_wake_function+0x0/0x20
 [<c0107d48>] __down_failed+0x8/0xc
 [<c0181350>] .text.lock.namei+0x5/0x35
 [<c017ce51>] ext3_truncate+0x119/0x3d4
 [<c018460e>] new_handle+0xe/0x48
 [<c01846d1>] journal_start+0x89/0xb8
 [<c01813b2>] ext3_journal_start+0x32/0x50
 [<c017abeb>] start_transaction+0x13/0x40
 [<c017ad16>] ext3_delete_inode+0x8a/0xe0
 [<c017ac8c>] ext3_delete_inode+0x0/0xe0
 [<c015ffa3>] generic_delete_inode+0x6b/0xd4
 [<c0160134>] generic_drop_inode+0x10/0x20
 [<c01601aa>] iput+0x66/0x6c
 [<c01573a9>] sys_unlink+0xf1/0x130
 [<c0108c87>] syscall_call+0x7/0xb

Call Trace:
 [<c0107b4e>] __down+0x96/0x114
 [<c0118888>] default_wake_function+0x0/0x20
 [<c0107d48>] __down_failed+0x8/0xc
 [<c0181364>] .text.lock.namei+0x19/0x35
 [<c0160a83>] inode_setattr+0xd7/0xe4
 [<c017da31>] ext3_setattr+0xf1/0x120
 [<c0160be0>] notify_change+0xe0/0x14c
 [<c0148662>] chown_common+0xaa/0xc8
 [<c01486b3>] sys_chown+0x33/0x48
 [<c0148c7b>] sys_close+0x53/0x6c
 [<c0108c87>] syscall_call+0x7/0xb

Call Trace:
 [<c0107b4e>] __down+0x96/0x114
 [<c0118888>] default_wake_function+0x0/0x20
 [<c0107d48>] __down_failed+0x8/0xc
 [<c0181364>] .text.lock.namei+0x19/0x35
 [<c0160a83>] inode_setattr+0xd7/0xe4
 [<c017da31>] ext3_setattr+0xf1/0x120
 [<c0160be0>] notify_change+0xe0/0x14c
 [<c014858d>] sys_chmod+0x9d/0xc8
 [<c01552cd>] path_release+0xd/0x30
 [<c0148c7b>] sys_close+0x53/0x6c
 [<c0108c87>] syscall_call+0x7/0xb

Call Trace:
 [<c0107b4e>] __down+0x96/0x114
 [<c0118888>] default_wake_function+0x0/0x20
 [<c0107d48>] __down_failed+0x8/0xc
 [<c0181350>] .text.lock.namei+0x5/0x35
 [<c0180add>] ext3_rmdir+0xa1/0x164
 [<c0180b30>] ext3_rmdir+0xf4/0x164
 [<c0156ebf>] d_unhash+0x3b/0x74
 [<c0157021>] vfs_rmdir+0x129/0x17c
 [<c0157127>] sys_rmdir+0xb3/0xf4well
 [<c0108c87>] syscall_call+0x7/0xb

Call Trace:
 [<c0107b4e>] __down+0x96/0x114
 [<c0118888>] default_wake_function+0x0/0x20
 [<c0107d48>] __down_failed+0x8/0xc
 [<c0181350>] .text.lock.namei+0x5/0x35
 [<c017ce51>] ext3_truncate+0x119/0x3d4
 [<c018460e>] new_handle+0xe/0x48
 [<c01846d1>] journal_start+0x89/0xb8
 [<c01813b2>] ext3_journal_start+0x32/0x50
 [<c017abeb>] start_transaction+0x13/0x40
 [<c017ad16>] ext3_delete_inode+0x8a/0xe0
 [<c017ac8c>] ext3_delete_inode+0x0/0xe0
 [<c015ffa3>] generic_delete_inode+0x6b/0xd4
 [<c0160134>] generic_drop_inode+0x10/0x20
 [<c01601aa>] iput+0x66/0x6c
 [<c01573a9>] sys_unlink+0xf1/0x130
 [<c0108c87>] syscall_call+0x7/0xb

Call Trace:
 [<c0107b4e>] __down+0x96/0x114
 [<c0118888>] default_wake_function+0x0/0x20
 [<c0107d48>] __down_failed+0x8/0xc
 [<c0181350>] .text.lock.namei+0x5/0x35
 [<c017ce51>] ext3_truncate+0x119/0x3d4
 [<c018460e>] new_handle+0xe/0x48
 [<c01846d1>] journal_start+0x89/0xb8
 [<c01813b2>] ext3_journal_start+0x32/0x50
 [<c017abeb>] start_transaction+0x13/0x40
 [<c017ad16>] ext3_delete_inode+0x8a/0xe0
 [<c017ac8c>] ext3_delete_inode+0x0/0xe0
 [<c015ffa3>] generic_delete_inode+0x6b/0xd4
 [<c0160134>] generic_drop_inode+0x10/0x20
 [<c01601aa>] iput+0x66/0x6c
 [<c01573a9>] sys_unlink+0xf1/0x130
 [<c0108c87>] syscall_call+0x7/0xb




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

end of thread, other threads:[~2003-06-03  6:21 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-27  7:42 2.5.70-mm1 Andrew Morton
2003-05-27 10:38 ` 2.5.70-mm1 Marc-Christian Petersen
2003-05-27 20:33   ` 2.5.70-mm1 Ed Tomlinson
2003-05-27 20:49     ` 2.5.70-mm1 Andrew Morton
2003-05-27 23:05       ` 2.5.70-mm1 Ed Tomlinson
2003-05-28 17:10 ` 2.5.70-mm1 Mingming Cao
2003-05-28 19:44   ` 2.5.70-mm1 Andrew Morton
2003-05-29  6:23 ` 2.5.70-mm1 Martin J. Bligh
2003-05-29 18:40   ` 2.5.70-mm1 Martin J. Bligh
2003-05-29 18:52     ` 2.5.70-mm1 Andrew Morton
2003-05-29 20:30       ` 2.5.70-mm1 Martin J. Bligh
2003-05-29 21:14         ` 2.5.70-mm1 Andrew Morton
2003-05-30 15:51           ` 2.5.70-mm1 Martin J. Bligh
2003-05-30 16:43             ` 2.5.70-mm1 Andrew Morton
2003-05-30 23:51               ` 2.5.70-mm1 Martin J. Bligh
2003-06-03  6:34                 ` ext3 semaphore tracing Martin J. Bligh

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).