2003-08-27 05:08:25

by Andrew Morton

[permalink] [raw]
Subject: 2.6.0-test4-mm2


ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.0-test4/2.6.0-test4-mm2/


. Russell King <[email protected]> is having trouble getting good
testing reports against some current PCMCIA/Cardbus problems.

If any problems are observed in this area please ensure that Russell is
told:

- make/model of machine
- type of cardbus bridge (from lspci)
- type of card (pcmcia or cardbus)
- make/model of card
- full kernel dmesg (including yenta, card services messages)
- cardmgr messages from system log

. There's a fix here for the ext3 htree code on big-endian machines. It
can corrupt directories, so anyone using 2.6.0-test4 with ext3/htree should
apply broken-out/htree-big-endian-fix.patch.

. test4-mm2 includes the first batch of preparatory work for a larger
dev_t, from Al Viro.





Changes since 2.6.0-test4-mm1:


+ppc64-build-fixes.patch

ppc64 update

+tdfx-build-fix.patch

Linkage fix

+ide-docs-update.patch

Documentation update

-rcu-grace-period.patch

There's a new version of this floating about.

+no-root-device-option.patch

If you use `root=0:0' then the kernel will not try to mount a root fs: it
just uses initramfs.

+c99-conversions.patch

C99 initialiser conversions

+cyc2x-fixes.patch

Driver fixes

+noacpi-option-fix.patch

Fix the `noacpi' boot option

+h8300-interrupt-fix.patch

h8300 fix

+proc-kallsyms-permission-fix.patch

Make /proc/kallsyms world-readable

+cu3088-string-null-termination-fix.patch

s390 driver fix

+kobject-doc-addition.patch

Documentation fix

+vm_enough_memory-speedup.patch

nanooptimisation

+abi-doc-update.patch

Update the Linux ABI documentation

+remove-bio-boot-messages.patch

Less boot verbosity

+claim-serio-early.patch

input layer fix

+ni5010-build-fix.patch
+sis190-build-fix.patch

Compile fixes

+nopage-fix.patch

ia64 do_no_page() oops fix

+fix-strange-code-in-bio_add_page.patch

BIO cleanup

+futex-minor-fixes.patch

Futex tweaks

+parport_pc-rmmod-oops-fix.patch

Fix `rmmod parport_pc' oops

+reiserfs-writepage-fix.patch

Fix reiserfs panics

+visws-build-fix.patch

visws compile fix

+cciss-queue-init-fix.patch

CCISS driver fix

+htree-big-endian-fix.patch

Fix htree corruption on big-endian machines

+selinux-file-fcntl-fix.patch
+selinux-avtab-fix.patch
+selinux-format-specifiers-fix.patch
+selinux-binprm-hooks-rework.patch

SELinux fixes

+ext2-xattr-typo-fix.patch

typo fix

+bad-inode-ops.patch

Flesh out the bad_inode file and inode ops tables

+kcore-aout-build-fix.patch

Fix the build with a.out-format /proc/kcore

+nfs4proc-warnings-fix.patch
+bluetooth-warning-fixes.patch

Compile warnings

+proc-net-igmp-oops-fix.patch

Fix oops with `less /proc/net/igmp'

+nopage-rss-accounting-fix.patch

Fix RSS accounting with pageReserved pages

+sonypi-update.patch
+meye-update.patch

Driver updates

+jbd-stfu.patch

Kill a printk

+acpi-pci-link-fix.patch

ACPI IRQ discovery fix

+rusage-context-switch-counters.patch

Add context switch counters to getrusage()

+large-dev_t-01.patch
+large-dev_t-02.patch
+large-dev_t-03.patch
+large-dev_t-04.patch
+large-dev_t-05.patch
+large-dev_t-06.patch
+large-dev_t-07.patch
+large-dev_t-08.patch
+large-dev_t-09.patch
+large-dev_t-10.patch
+large-dev_t-11.patch
+large-dev_t-12.patch

larger dev_t preparatory work

+size_t-printk-warning-fixes.patch

Warning fixes

+stallion-build-fix-2.patch

makes the stallion driver work.

+sched-cpu-migration-fix.patch

Try to fix the CPU scheduler's current increased-idle-time problems.

+aio-writev-nsegs-fix.patch

Fix writev breakage due to AIO patches

+aio-osync-fix-2.patch

Various fixes for the AIO patches' O_SYNC enhancements.





All 239 patches:


linus.patch

mm.patch
add -mmN to EXTRAVERSION

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

kgdb-warning-fix.patch
kgdbL warning fix

kgdb-build-fix.patch

kgdb-spinlock-fix.patch

kgdb-fix-debug-info.patch
kgdb: CONFIG_DEBUG_INFO fix

kgdb-cpumask_t.patch

kgdb-x86_64-fixes.patch
x86_64 fixes

handle-unreadable-dot-config.patch
correctly handle unreadable .configs

huge-net-update.patch
net update

config_spinline.patch
uninline spinlocks for profiling accuracy.

ppc64-build-fixes.patch
Fix ppc64 breakage

ppc64-bar-0-fix.patch
Allow PCI BARs that start at 0

ppc64-reloc_hide.patch

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

ppc64-local.patch
ppc64: local.h implementation

ppc64-sched_clock.patch
ppc64: sched_clock()

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

x86_64-update-3.patch
x86-64 update for test4

random-locking-fixes.patch
random: SMP locking

random-accounting-and-sleeping-fixes.patch
random: accounting and sleeping fixes

rt-tasks-special-vm-treatment.patch
real-time enhanced page allocator and throttling

rt-tasks-special-vm-treatment-2.patch

input-use-after-free-checks.patch
input layer debug checks

deadline-requeue-workaround.patch
deadline requeue workaround

fbdev.patch

tdfx-build-fix.patch
tdfx linkage fix

cursor-flashing-fix.patch
fbdev: fix cursor letovers

disable-athlon-prefetch.patch

sis900-atomicity-fix.patch
sis900 atomicity fix

slab-hexdump.patch
slab: hexdump structures when things go wrong

aic7xxx-parallel-build-fix.patch
fix parallel builds for aic7xxx

yenta-20030817-1-zv.patch

yenta-20030817-2-override.patch

yenta-20030817-3-sockinit.patch

yenta-20030817-4-pm.patch

yenta-20030817-5-pm2.patch

yenta-20030817-6-init.patch

yenta-20030817-7-quirks.patch

proc-pid-setuid-ownership-fix.patch
fix /proc/pid/fd ownership across setuid()

pid-revalidate-security-hook.patch
Call security hook from pid*_revalidate

dac960-GAM-IOCTLs-cleanup.patch
move DAC960 GAM IOCTLs into a new device

thread-pgrp-fix-2.patch
Fix setpgid and threads

kj-maintainers.patch
Add the kernel janitors to MAINTAINERS

ide-docs-update.patch
Update ide.txt documentation to current ide.c

ramdisk-cleanup.patch

v4l-use-after-free-fix.patch
Fix bug in v4l core for 2.6.0-test3-bk

ikconfig-makefile-update.patch
ikconfig - Makefile update

ftape-warning-fix.patch
Fix ftape warning

jffs-retval-fix.patch
jffs aops return type fix

delay-ksoftirqd-fallback.patch
Try harded in IRQ context before falling back to ksoftirqd

intel8x0-cleanup.patch
intel8x0 cleanups

make-ACPI_SLEEP-select-SOFTWARE_SUSPEND.patch
Make ACPI_SLEEP select SOFTWARE_SUSPEND

3GB-personality.patch
Add 3GB personality

zeromap_pmd_range-fix.patch
zeromap_pmd_range bugfix

no-async-write-errors-on-close.patch
don't report async write errors on close() after all

sis190-fix.patch
sis190 synchronize_irq fix

remove-add_wait_queue_cond.patch
remove add_wait_queue_cond()

spin_lock_irqrestore-fixes.patch
spin_lock_irqrestore() typo fixes

pcmciamtd-fix.patch
pcmciamtd.c: remove release timer

zoran-memleak-fixes.patch
zoran: memleak fixes

zoran-rename-debug.patch
zoran: debug->zr_debug

zoran-release-callback.patch
zoran: add release callback

zoran-pci_disable_device.patch
zoranL: add pci_disable_device() call

zoran-cleanups.patch
zoran: cleanups

zoran-cleanups-2.patch
zoran: more cleanups

zoran-naming-fix.patch
zoran: correct name field breakage

airo-build-fix.patch
airo CONFIG_PCI=n build fix

m68k-vmlinux_lds-move.patch
move m68k vmlinux.lds files

mac-ide-fix.patch
Fix Mac IDE

m68k-asm-sections-fix.patch
m68k asm/sections.h

m68k-asm-local.patch
m68k asm/local.h

amiga-z2ram-fix.patch
Amiga z2ram

amiga-floppy-fix.patch
Amiga floppy

atari-floppy-fix.patch
Atari floppy

m68k-switch_to-fix.patch
M68k switch_to fix

pcxx-warning-fix.patch
drivers/char/pcxx.c warning fix

pcnet32-unregister_pci-fix.patch
pcnet32 needs unregister_pci

hwifs-oops-unregister-fix.patch
Fix ide unregister vs. driver model

no-root-device-option.patch
initramfs + sysfs as root fix

c99-conversions.patch
c99 struct initialiser conversions

cyc2x-fixes.patch
cyc2x: sanitize ioremap usage & more

noacpi-option-fix.patch
Fix 'pci=noacpi' with buggy ACPI BIOSes

h8300-interrupt-fix.patch
h8300 interrupt problem fix

proc-kallsyms-permission-fix.patch
Fix permissions on /proc/kallsyms

cu3088-string-null-termination-fix.patch
cu3088 null termination fix

kobject-doc-addition.patch
Kobject doc addition

vm_enough_memory-speedup.patch
vm_enough_memory microoptimisation

abi-doc-update.patch
abi doc update

remove-bio-boot-messages.patch
bio.c: reduce verbosity at boot

claim-serio-early.patch
Serio: claim serio early

ni5010-build-fix.patch
ni5010.c: remove cli/sti

sis190-build-fix.patch
sis190 doesn't compile with gcc 2.95

nopage-fix.patch
do_no_page() fix

fix-strange-code-in-bio_add_page.patch
Fix odd code in bio_add_page

futex-minor-fixes.patch
Futex minor fixes

parport_pc-rmmod-oops-fix.patch
parport_pc rmmod oops fix

reiserfs-writepage-fix.patch
reiserfs writepage-versus-truncate fix

visws-build-fix.patch
visws: fix 2.6.0-test4 breakage

cciss-queue-init-fix.patch
cciss queue initialisation fix

htree-big-endian-fix.patch
Fix ext3 htree corruption on big-endian platforms

selinux-file-fcntl-fix.patch
Fix selinux_file_fcntl

selinux-avtab-fix.patch
Fix SELinux avtab

selinux-format-specifiers-fix.patch
Fix SELinux format specifiers

selinux-binprm-hooks-rework.patch
Rework SELinux binprm hooks

ext2-xattr-typo-fix.patch
Fix typo in #ifdef for ext2 xattr support

bad-inode-ops.patch
Add more bad_inode operations

kcore-aout-build-fix.patch
Fix build with CONFIG_KCORE_AOUT

nfs4proc-warnings-fix.patch
knfsd nfs4 warning fixes

bluetooth-warning-fixes.patch
Fix bluetooth compile warnings

proc-net-igmp-oops-fix.patch
Fix oops with `less /proc/net/igmp'

nopage-rss-accounting-fix.patch
do_no_page() rss accounting fix

sonypi-update.patch
sonypi driver update

meye-update.patch
meye driver update

jbd-stfu.patch
jbd: remove uninformative printk

proc-pid-maps-32-bit-fix.patch
Do 32bit addresses in /proc/self/maps if possible

acpi-pci-link-fix.patch
acpi pci_link fix

rusage-context-switch-counters.patch
add context switch counters

large-dev_t-01.patch
large dev_t work - first series (1/12)

large-dev_t-02.patch
large dev_t work - first series (2/12)

large-dev_t-03.patch
large dev_t work - first series (3/12)

large-dev_t-04.patch
large dev_t work - first series (4/12)

large-dev_t-05.patch
large dev_t work - first series (5/12)

large-dev_t-06.patch
large dev_t work - first series (6/12)

large-dev_t-07.patch
large dev_t work - first series (7/12)

large-dev_t-08.patch
large dev_t work - first series (8/12)

large-dev_t-09.patch
large dev_t work - first series (9/12)

large-dev_t-10.patch
large dev_t work - first series (10/12)

large-dev_t-11.patch
large dev_t work - first series (11/12)

large-dev_t-12.patch
large dev_t work - first series (12/12)

size_t-printk-warning-fixes.patch
remove size_t-based printk warnings

stallion-build-fix-2.patch
stallion serial driver cleanup

p00001_synaptics-restore-on-close.patch

p00002_psmouse-reset-timeout.patch

p00003_synaptics-multi-button.patch

p00004_synaptics-optional.patch

p00005_synaptics-pass-through.patch

p00006_psmouse-suspend-resume.patch

p00007_synaptics-old-proto.patch

synaptics-mode-set.patch
Synaptics mode setting

syn-multi-btn-fix.patch
synaptics multibutton fix

keyboard-resend-fix.patch
keyboard resend fix

linux-isp-2.patch

linux-isp-2-fix-again.patch
lost feral fix

feral-bounce-fix.patch
Feral driver - highmem issues

feral-bounce-fix-2.patch
Feral driver bouncing fix

list_del-debug.patch
list_del debug check

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

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

64-bit-dev_t-other-archs.patch
enable 64-bit dev_t for other archs

mknod64-64-bit-fix.patch
dev_t: fix mknod for 64-bit archs

ustat64.patch
ustat64

ppc-64-bit-stat.patch
fix ppc stat.h for 64-bit dev_t

64-bit-dev_t-init_rd-fixes.patch
initrd fixes for 64-bit dev_t

arch-dev_t-stat-fixes.patch
Fix all asm-*/stat.h dev_t instances

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

lockmeter.patch

sparc64-lockmeter-fix.patch

sparc64-lockmeter-fix-2.patch
Fix lockmeter on sparc64

printk-oops-mangle-fix.patch
disentangle printk's whilst oopsing on SMP

20-odirect_enable.patch

21-odirect_cruft.patch

22-read_proc.patch

23-write_proc.patch

24-commit_proc.patch

25-odirect.patch

nfs-O_DIRECT-always-enabled.patch
Force CONFIG_NFS_DIRECTIO

sched-balance-fix-2.6.0-test3-mm3-A0.patch
sched-balance-fix-2.6.0-test3-mm3-A0

sched-2.6.0-test2-mm2-A3.patch
sched-2.6.0-test2-mm2-A3

ppc-sched_clock.patch

sparc64_sched_clock.patch

x86_64-sched_clock.patch
Add sched_clock for x86-64

sched-warning-fix.patch

sched-balance-tuning.patch
CPU scheduler balancing fix

sched-no-tsc-on-numa.patch
Subject: Re: Fw: Re: 2.6.0-test2-mm3

o12.2int.patch
O12.2int for interactivity

o12.3.patch
O12.3 for interactivity

o13int.patch
O13int for interactivity

o13.1int.patch
O13.1int

o14int.patch
O14int

o14int-div-fix.patch
o14int 64-bit-divide fix

o14.1int.patch
O14.1int

o15int.patch
O15int for interactivity

o16int.patch
From: Con Kolivas <[email protected]>
Subject: [PATCH] O16int for interactivity

o16.1int.patch
O16.1int for interactivity

o16.2int.patch
O16.2int

o16.3int.patch
O16.3int

o18int.patch
O18int

o18.1int.patch
O18.1int

sched-cpu-migration-fix.patch
sched: task migration fix

4g-2.6.0-test2-mm2-A5.patch
4G/4G split patch
4G/4G: remove debug code
4g4g: pmd fix
4g/4g: fixes from Bill
4g4g: fpu emulation fix
4g/4g usercopy atomicity fix
4G/4G: remove debug code
4g4g: pmd fix
4g/4g: fixes from Bill
4g4g: fpu emulation fix
4g/4g usercopy atomicity fix

4g4g-vmlinux-update-got-lost.patch

4g4g-do_page_fault-cleanup.patch
4G/4G: remove debug code

4g4g-cleanups.patch

kgdb-4g4g-fix-2.patch

4g4g-config-fix.patch

4g4g-pmd-fix.patch
4g4g: pmd fix

4g4g-wli-fixes.patch
4g/4g: fixes from Bill

4g4g-fpu-fix.patch
4g4g: fpu emulation fix

4g4g-show_registers-fix.patch
4g4g: show_registers() fix

4g4g-pin_page-atomicity-fix.patch
4g/4g usercopy atomicity fix

4g4g-remove-touch_all_pages.patch

4g4g-debug-flags-fix.patch
4g4g: debug flags fix

4g4g-TI_task-fix.patch
4g4g: Fix wrong asm-offsets entry

cyclone-fixmap-fix.patch
cyclone time fixmap fix

ppc-fixes.patch
make mm4 compile on ppc

aic7xxx_old-oops-fix.patch

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

io_submit_one-EINVAL-fix.patch
Fix aio process hang on EINVAL

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

O_SYNC-speedup-2.patch
speed up O_SYNC writes

aio-09-o_sync.patch
aio O_SYNC

aio-10-BUG-fix.patch
AIO: fix a BUG

aio-11-workqueue-flush.patch
AIO: flush workqueues before destroying ioctx'es

aio-12-readahead.patch
AIO: readahead fixes

aio-dio-no-readahead.patch
aio O_DIRECT no readahead

lock_buffer_wq-fix.patch
lock_buffer_wq fix

unuse_mm-locked.patch
AIO: hold the context lock across unuse_mm

aio-take-task_lock.patch
From: Suparna Bhattacharya <[email protected]>
Subject: Re: 2.5.72-mm1 - Under heavy testing with AIO,.. vmstat seems to blow the kernel

aio-O_SYNC-fix.patch
Unify o_sync changes for aio and regular writes

O_SYNC-speedup-nolock-fix.patch

aio-writev-nsegs-fix.patch
aio: writev nr_segs fix

aio-remove-lseek-triggerable-BUG_ONs.patch

aio-readahead-rework.patch
Unified page range readahead for aio and regular reads

aio-readahead-speedup.patch
Readahead issues and AIO read speedup

aio-osync-fix-2.patch
More AIO O_SYNC related fixes




2003-08-27 12:58:39

by Christian Axelsson

[permalink] [raw]
Subject: Re: 2.6.0-test4-mm2

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Is there any work beeing done on getting reiser4 into mm?
I havent tried it myself yet but Ive heard of colliding code in scheduler.

- --
Christan Axelsson
[email protected]

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQE/TKpTyqbmAWw8VdkRApmoAKDtoTUkjFSFucpKbL7r6zCWOvMmUACg9sU7
pDS6IWTaHW6wiOg+qcOsXQA=
=jrVw
-----END PGP SIGNATURE-----

2003-08-27 17:22:18

by Andrew Morton

[permalink] [raw]
Subject: Re: 2.6.0-test4-mm2

Christian Axelsson <[email protected]> wrote:
>
> Is there any work beeing done on getting reiser4 into mm?

Nope.

It would be fun to get it in there so people could play with it more
easily, but not for a month or two (guess) and I'd need some commitment
from the namesys guys to keep me up to date, else it'd be a waste of
everyone's time.

2003-08-27 18:12:00

by Hans Reiser

[permalink] [raw]
Subject: Re: 2.6.0-test4-mm2

Andrew Morton wrote:

>Christian Axelsson <[email protected]> wrote:
>
>
>>Is there any work beeing done on getting reiser4 into mm?
>>
>>
>
>Nope.
>
>It would be fun to get it in there so people could play with it more
>easily, but not for a month or two (guess) and I'd need some commitment
>from the namesys guys to keep me up to date, else it'd be a waste of
>everyone's time.
>
>-
>To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
>the body of a message to [email protected]
>More majordomo info at http://vger.kernel.org/majordomo-info.html
>Please read the FAQ at http://www.tux.org/lkml/
>
>
>
>
We would be happy to make that commitment, and happy to switch from
creating snapshots every week to pushing to you and linking to you from
our website. Several people have asked for this besides Christian.

--
Hans


2003-08-27 18:37:23

by Steven Cole

[permalink] [raw]
Subject: Re: 2.6.0-test4-mm2

On Wed, 2003-08-27 at 06:58, Christian Axelsson wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Is there any work beeing done on getting reiser4 into mm?
> I havent tried it myself yet but Ive heard of colliding code in scheduler.

There are some rejects when applying yesterday's reiser4 snapshot.

[steven@spc9 linux-2.6.0-test4-mm2]$ patch -p1 <../reiser4.diff
patching file arch/i386/kernel/entry.S
Hunk #1 FAILED at 879.
1 out of 1 hunk FAILED -- saving rejects to file arch/i386/kernel/entry.S.rej
patching file fs/Kconfig
patching file fs/Makefile
patching file fs/buffer.c
Hunk #1 succeeded at 262 (offset 23 lines).
patching file fs/fs-writeback.c
patching file fs/inode.c
patching file fs/jbd/transaction.c
patching file fs/sysfs/inode.c
patching file include/asm-i386/unistd.h
Hunk #1 FAILED at 278.
Hunk #2 succeeded at 398 (offset 2 lines).
1 out of 2 hunks FAILED -- saving rejects to file include/asm-i386/unistd.h.rej
patching file include/linux/fs.h
Hunk #2 succeeded at 871 (offset 15 lines).
Hunk #3 succeeded at 1249 (offset 21 lines).
patching file include/linux/init_task.h
Hunk #1 FAILED at 107.
1 out of 1 hunk FAILED -- saving rejects to file include/linux/init_task.h.rej
patching file include/linux/jbd.h
patching file include/linux/mm.h
patching file include/linux/sched.h
Hunk #1 succeeded at 307 (offset 3 lines).
Hunk #2 succeeded at 469 (offset 6 lines).
patching file include/linux/writeback.h
patching file kernel/ksyms.c

The rest of the reiser4.diff applied OK from this point.

Getting reiser4 into mm might be helpful.

Steven


2003-08-27 19:48:25

by Christian Axelsson

[permalink] [raw]
Subject: Re: 2.6.0-test4-mm2

I think it would be a good thing to get it in mm as in serves as
testingbase for linus tree. It will reach more users and that means more
testing (but also more whining if option not marked VERY UNSTABLE or
something like that).

--
Christan Axelsson
[email protected]

Subject: Re: 2.6.0-test4-mm2

Andrew,

Em Qua, 2003-08-27 ?s 02:10, Andrew Morton escreveu:
> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.0-test4/2.6.0-test4-mm2/

when using the hdparm program, thus:

# hdparm /dev/hda

I'm getting this:

Oops: 0000 [#1]
DEBUG_PAGEALLOC
CPU: 0
EIP: 0060:[<c0248fc8>] Not tainted VLI
EFLAGS: 00010246
EIP is at generic_ide_ioctl+0x2b8/0x7b0
eax: 00000000 ebx: 00000000 ecx: 00000000 edx: 080539fc
esi: c78f9004 edi: 08053a04 ebp: c5677f68 esp: c5677f2c
ds: 007b es: 007b ss: 0068
Process hdparm (pid: 347, threadinfo=c5676000 task=c5685000)
Stack: c03fb98c 00000301 c5677f50 fffffff2 080539fe 00000000 00000019
c03fb98c
c01f7a90 3f4df842 232d3ea0 00000000 c78f9004 c7a99004 c6317094
c5677f90
c022a5a7 c78f9004 00000301 080539fc 080539fc 00000046 00000301
c672ab94
Call Trace:
[<c01f7a90>] write_chan+0x0/0x260
[<c022a5a7>] blkdev_ioctl+0xa7/0x447
[<c015cc61>] sys_ioctl+0xb1/0x230
[<c02ff623>] syscall_call+0x7/0xb

Code: 85 d5 fd ff ff c7 45 d0 f2 ff ff ff 8b 45 10 83 c0 04 89 c7 83 c7
04 19 d2
39 79 18 83 da 00 85 d2 75 10 8b 46 38 89 d9 8b 55 10 <8b> 00 89 42 04
89 4d d0
8b 45 d0 ba f2 ff ff ff 85 c0 0f 44 d3
Segmentation Fault

It does not happens in current bk2. hdparm version is 5.4.


--
Luiz Fernando N. Capitulino

<[email protected]>
<http://www.telecentros.sp.gov.br>

2003-08-28 15:59:31

by Andrew Morton

[permalink] [raw]
Subject: Re: 2.6.0-test4-mm2

Luiz Capitulino <[email protected]> wrote:
>
> when using the hdparm program, thus:
>
> # hdparm /dev/hda
>
> I'm getting this:
>
> Oops: 0000 [#1]

This should fix it.

--- 25/include/linux/genhd.h~large-dev_t-12-fix 2003-08-27 10:36:32.000000000 -0700
+++ 25-akpm/include/linux/genhd.h 2003-08-27 10:36:32.000000000 -0700
@@ -197,7 +197,7 @@ extern void rand_initialize_disk(struct

static inline sector_t get_start_sect(struct block_device *bdev)
{
- return bdev->bd_part->start_sect;
+ return bdev->bd_contains == bdev ? 0 : bdev->bd_part->start_sect;
}
static inline sector_t get_capacity(struct gendisk *disk)
{

_

Subject: Re: 2.6.0-test4-mm2

Em Qui, 2003-08-28 ?s 13:02, Andrew Morton escreveu:
> Luiz Capitulino <[email protected]> wrote:
> >
> > when using the hdparm program, thus:
> >
> > # hdparm /dev/hda
> >
> > I'm getting this:
> >
> > Oops: 0000 [#1]
>
> This should fix it.
>
> --- 25/include/linux/genhd.h~large-dev_t-12-fix 2003-08-27 10:36:32.000000000 -0700
> +++ 25-akpm/include/linux/genhd.h 2003-08-27 10:36:32.000000000 -0700
> @@ -197,7 +197,7 @@ extern void rand_initialize_disk(struct
>
> static inline sector_t get_start_sect(struct block_device *bdev)
> {
> - return bdev->bd_part->start_sect;
> + return bdev->bd_contains == bdev ? 0 : bdev->bd_part->start_sect;
> }
> static inline sector_t get_capacity(struct gendisk *disk)
> {

fixed! :)

thanks,

--
Luiz Fernando N. Capitulino

<[email protected]>
<http://www.telecentros.sp.gov.br>