Skip to contentSkip to conversation

2.6.0-test8-mm1

DISCUSSION Applied Andrew Morton 20 participants 44 messages Oct 20, 2003 – Oct 22, 2003

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.0-test8/2.6.0-test8-mm1

. Included a much updated fbdev patch. Anyone who is using framebuffers,
please test this.

. Quite a large number of stability fixes.

Changes since 2.6.0-test7-mm1:

-RD0-initrd-B6.patch
-sjcd-usercopy-checks.patch
-might_sleep-vs-jiffies-wrap.patch
-selinux-add-policyvers.patch
-mandocs-case-fix.patch
-swapon-handle-no-readpage.patch
-reiserfs-url-fixes.patch
-numaq-mpc-warning-fix.patch
-invalidate_inodes-speedup.patch
-invalidate_inodes-speedup-fixes.patch
-ide-piix-fallback-fix.patch
-ext3-i_disksize-locking-fix.patch
-applicom-fixes.patch
-acl-signedness-fix.patch
-saa7134-build-fix.patch
-ide-write-barrier-support.patch
-jbd-barrier-selection.patch

Merged

-vma-split-truncate-race-fix.patch
-vma-split-truncate-race-fix-tweaks.patch
+vma-split-truncate-race-fix-2.patch

Fix a race between vma_split() and truncation (rebased to Linus's tree)

+devfs-initrd-fix.patch

Fix initrd when devfs is in use

-ppc64-semaphore-reimplementation.patch

Dropped; it didn't solve the starvation problems anyway.

-ppc64-sym2-fix.patch

No longer needed.

-cursor-flashing-fix.patch
-radeonfb-line_length-fix.patch

Fixed in fbdev.patch

+fbdev-restore-pci-ids.patch

Fix AGP compilation.

+limit_regions-syncup.patch

Backport 2.4's ia32 "mem=" fix.

+ia32-efi-asm-warning-fix.patch
+ia32-efi-support-mem-equals-fix.patch
+efi-constant-sizing-fix.patch

More fixes for the EFI patch.

+fix-sqrt.patch

Fix int_sqrt().

scale-min_free_kbytes.patch

Fixed version.

+cdrom-allocation-try-harder.patch

Avoid order-4 memory allocations failures when opening CDROM devices.

+atp870u-oops-fix.patch

Fix an init-time oops in this driver.

+tmpfs-01-ENAMETOOLONG.patch
+tmpfs-02-gid-fix.patch
+tmpfs-03-swapoff-truncate-race.patch
+tmpfs-04-getpage-truncate-race.patch
+tmpfs-05-writepage-truncate-race.patch
+tmpfs-06-i_size_write.patch
+tmpfs-07-write-mark_page_accessed.patch

tmpfs fixes.

+quota-locking-fix.patch

Quota deadlock fix.

+export-system_running.patch
+might_sleep-early-bogons.patch

Stomp all the early might_sleep() warnings.

+constant_test_bit-doesnt-like-zwanes-gcc.patch

Workaround a gcc bug.

+slab-leak-detector.patch
+slab-leak-detector-tweaks.patch

A slab debugging tool for finding memory leaks: do

echo "slab-name 0 0 0" > /proc/slabinfo

and the kernel will inspect each live object in that cache and will print out the code address from which the allocation was performed.

+digi_accelport-oops-fix.patch

Fix an oops in this driver.

+microcode-build-fix.patch

Microcode compile fix

+early-serial-registration-fix.patch

Fix crashes with early printk console registration.

+mtd-warning-fixes.patch

Fix a couple of warnings.

+early_serial_setup-range-check.patch

Another early printk fix.

+elf-verify-interpreter-arch.patch

Additional checks when loading ELF interpreters.

+journal_write_metadata_buffer-kfree-fix.patch

Fix kfree of an incorrect address.

+jbd-leak-fix.patch

Fix ext3 memory leak.

+kmem_freepages-BUG-fix.patch

Fix a BUG which can strike in slab.

+register_cpu-fix.patch

Dunno what this does really. Someone want to send me a decent changelog for once?

+elv-select.patch

Runtime selectable I/O schedulers.

+elv-init-cleanup.patch

Elevator initialisation cleanups.

+bluetooth-no-procfs-fix.patch

Fix bluetooth compile with CONFIG_PROCFS=n

+gcc-Os.patch

Compile with -Os

+printk-handle-bad-pointers.patch

Make printk kinder when passed nearly-NULL pointers.

+kcapi-build-fix.patch

ISDN compile fix

+drm-module_init-retval-fix.patch

Fix an error code.

+parport_pc-resource-release-fix.patch

Fix an oopsable resource leak in parport_pc.

+3c527-smp-update.patch

Update this driver, make it work on SMP.

+3c527-module-license.patch

It is GPLed.

+no-mca-oops-fix.patch
+mca_find_unused_adapter-oops-fix.patch

Fix a couple of oopses when running CONFIG_MCA kernels on non-MCA hardware.

+register_netdevice-retval-fix.patch

Fix error code propagation.

+ext3-latency-fix.patch

Improved scheduling latency in ext3.

+ipc-msg-race-fix.patch

Fix oopsable race in SVSV IPC message tx/rx.

+iosched-oops-fixes.patch

Fix use-uninitialised in the deadline and AS I/O schedulers.

+pcm_native-deadlock-fix.patch

Fix a deadlock in the sound drivers.

+4g4g-wp-test-fix.patch

Fix a crash when doing the early WP detect with the 4g/4g split enabled.

+O_DIRECT-race-fixes-rework-XFS-fix-fix.patch

EXPORT_SYMBOL() fix.

All 178 patches:

mm.patch
add -mmN to EXTRAVERSION

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

kgdb-buff-too-big.patch
kgdb buffer overflow 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

kgdb-over-ethernet.patch
kgdb-over-ethernet patch

kgdb-over-ethernet-fixes.patch
kgdb-over-ethernet fixlets

kgdb-CONFIG_NET_POLL_CONTROLLER.patch
kgdb: replace CONFIG_KGDB with CONFIG_NET_RX_POLL in net drivers

kgdb-handle-stopped-NICs.patch
kgdb: handle netif_stopped NICs

eepro100-poll-controller.patch

tlan-poll_controller.patch

tulip-poll_controller.patch

tg3-poll_controller.patch
kgdb: tg3 poll_controller

8139too-poll_controller.patch
8139too poll controller

kgdb-eth-smp-fix.patch
kgdb-over-ethernet: fix SMP

kgdb-eth-reattach.patch

kgdb-skb_reserve-fix.patch
kgdb-over-ethernet: skb_reserve() fix

must-fix.patch

should-fix.patch

vma-split-truncate-race-fix-2.patch
fix split_vma vs. invalidate_mmap_range_list race

devfs-initrd-fix.patch
Fix initrd with devfs enabled

RD1-cdrom_ioctl-B6.patch

RD2-ioctl-B6.patch

RD2-ioctl-B6-fix.patch
RD2-ioctl-B6 fixes

RD3-cdrom_open-B6.patch

RD4-open-B6.patch

RD5-cdrom_release-B6.patch

RD6-release-B6.patch

RD7-presto_journal_close-B6.patch

RD8-f_mapping-B6.patch

RD9-f_mapping2-B6.patch

RD10-i_sem-B6.patch

RD11-f_mapping3-B6.patch

RD12-generic_osync_inode-B6.patch

RD13-bd_acquire-B6.patch

RD14-generic_write_checks-B6.patch

RD15-I_BDEV-B6.patch

RD16-rest-B6.patch

serio-01-renaming.patch
serio: rename serio_[un]register_slave_port to __serio_[un]register_port

serio-02-race-fix.patch
serio: possible race between port removal and kseriod

serio-03-blacklist.patch
Add black list to handler<->device matching

serio-04-synaptics-cleanup.patch
Synaptics: code cleanup

serio-05-reconnect-facility.patch
serio: reconnect facility

serio-06-synaptics-use-reconnect.patch
Synaptics: use serio_reconnect

acpi_off-fix.patch
fix acpi=off

cfq-4.patch
CFQ io scheduler
CFQ fixes

config_spinline.patch
uninline spinlocks for profiling accuracy.

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

ppc64-reloc_hide.patch

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

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

fbdev.patch
framebbuffer driver update

fbdev-restore-pci-ids.patch

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

ramdisk-cleanup.patch

intel8x0-cleanup.patch
intel8x0 cleanups

uml-update.patch
Update UML to 2.6.0-test5

pdflush-diag.patch

kobject-oops-fixes.patch
fix oopses is kobject parent is removed before child

futex-uninlinings.patch
futex uninlining

zap_page_range-debug.patch
zap_page_range() debug

acpi-thinkpad-fix.patch
APCI fix for thinkpads

scsi-handle-zero-length-requests.patch
scsi: handle zero-length requests

call_usermodehelper-retval-fix-3.patch
Make call_usermodehelper report exit status

asus-L5-fix.patch
Asus L5 framebuffer fix

jffs-use-daemonize.patch

tulip-NAPI-support.patch
tulip NAPI support

tulip-napi-disable.patch
tulip NAPI: disable poll in close

get_user_pages-handle-VM_IO.patch

limit_regions-syncup.patch
ia32 limit_regions update

dynamic-irq_vector-allocation.patch
dynamic irq_vector allocation for ia32

ia32-MSI-support.patch
Updated ia32 MSI Patches

ia32-MSI-support-tweaks.patch

ia32-efi-support.patch
EFI support for ia32

ia32-efi-asm-warning-fix.patch
efi warning fix

ia32-efi-support-mem-equals-fix.patch

CONFIG_ACPI_EFI-defaults-off.patch

ia32-efi-support-warning-fixes.patch

ia32-efi-support-tidy.patch

ia32-efi-other-arch-fix.patch
fix EFI for ppc64, ia64

efi-constant-sizing-fix.patch
efi: warning fixes

support-zillions-of-scsi-disks.patch
support many SCSI disks

SGI-IOC4-IDE-chipset-support.patch
Add support for SGI's IOC4 chipset

sparc32-sched_clock.patch

unmap_vmas-warning-fix.patch
Fix unmap_vmas() compile warning

pcibios_test_irq-fix.patch
Fix pcibios test IRQ handler return

fixmap-in-proc-pid-maps.patch
report user-readable fixmap area in /proc/PID/maps

ajdtimex-vs-gettimeofday.patch
Time precision, adjtime(x) vs. gettimeofday

i82365-sysfs-ordering-fix.patch
Fix init_i82365 sysfs ordering oops

pci_set_power_state-might-sleep.patch

compat_ioctl-cleanup.patch
cleanup of compat_ioctl functions

fix-sqrt.patch
sqrt() fixes

scale-min_free_kbytes.patch
scale the initial value of min_free_kbytes

cdrom-allocation-try-harder.patch
Use __GFP_REPEAT for cdrom buffer

atp870u-oops-fix.patch
atp870u oops fix

sym-2.1.18f.patch

CONFIG_STANDALONE-default-to-n.patch
Make CONFIG_STANDALONE default to N

nosysfs.patch

tmpfs-01-ENAMETOOLONG.patch
tmpfs 1/7 LTP ENAMETOOLONG

tmpfs-02-gid-fix.patch
tmpfs 2/7 LTP S_ISGID dir

tmpfs-03-swapoff-truncate-race.patch
tmpfs 3/7 swapoff/truncate race

tmpfs-04-getpage-truncate-race.patch
tmpfs 4/7 getpage/truncate race

tmpfs-05-writepage-truncate-race.patch
tmpfs 5/7 writepage/truncate race

tmpfs-06-i_size_write.patch
tmpfs 6/7 write i_size_write

tmpfs-07-write-mark_page_accessed.patch
tmpfs 7/7 write mark_page_accessed

quota-locking-fix.patch
Quota locking fix

export-system_running.patch
export system_running to other files

might_sleep-early-bogons.patch
Kill early might_sleep warnings

constant_test_bit-doesnt-like-zwanes-gcc.patch
gcc bug workaround for constant_test_bit()

slab-leak-detector.patch
slab leak detector

slab-leak-detector-tweaks.patch

digi_accelport-oops-fix.patch
digi_acceleport.c has bogus "address of" operator

microcode-build-fix.patch
fix microcode.c for older gcc's

early-serial-registration-fix.patch
serial console registration bugfix

mtd-warning-fixes.patch
Fix mtd printk warnings

early_serial_setup-range-check.patch
early_serial_setup array bounds check

elf-verify-interpreter-arch.patch
fs/binfmt_elf.c:load_elf_binary() doesn't verify interpreter arch

journal_write_metadata_buffer-kfree-fix.patch
JBD kfree() fix

jbd-leak-fix.patch
Fix JBD memory leak

kmem_freepages-BUG-fix.patch
fix low-memory BUG in slab

register_cpu-fix.patch
Subject: [PATCH] fix for register_cpu()

elv-select.patch
disk scheduler selection

elv-init-cleanup.patch
elv_init cleanup

bluetooth-no-procfs-fix.patch
fix bluetooh broken compilation when PROC_FS=n.

gcc-Os.patch
Use -Os for compilation

printk-handle-bad-pointers.patch
make printk more robust with "null" pointers

kcapi-build-fix.patch
kcapi.c CONFIG_MODULES=n build fix

drm-module_init-retval-fix.patch
DRM modprobe retval fix

parport_pc-resource-release-fix.patch
parport_pc not releasing all ioports

3c527-smp-update.patch
SMP support on 3c527 net driver

3c527-module-license.patch
Add 3c527 module license.

no-mca-oops-fix.patch
Fix oops with CONFIG_MCA=y

mca_find_unused_adapter-oops-fix.patch
Fix another CONFIG_MCA=y oops

register_netdevice-retval-fix.patch
register_netdevice return val fix

ext3-latency-fix.patch
ext3 scheduling latency fix

ipc-msg-race-fix.patch
ipc msg race fix

iosched-oops-fixes.patch
io scheduler oops fixes

pcm_native-deadlock-fix.patch
pcm_native locking fix

keyboard-repeat-rate-setting-fix.patch
keyboard repeat rate setting 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

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

lockmeter.patch

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

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
4G/4G preempt on vstack
4G/4G: even number of kmap types
4g4g: fix __get_user in slab
4g4g: Remove extra .data.idt section definition
4g/4g linker error (overlapping sections)
4G/4G: remove debug code
4g4g: pmd fix
4g/4g: fixes from Bill
4g4g: fpu emulation fix
4g4g: show_registers() fix
4g/4g usercopy atomicity fix
4g4g: debug flags fix
4g4g: Fix wrong asm-offsets entry
cyclone time fixmap fix
4G/4G preempt on vstack
4G/4G: even number of kmap types
4g4g: fix __get_user in slab
4g4g: Remove extra .data.idt section definition
4g/4g linker error (overlapping sections)
4G/4G: remove debug code
4g4g: pmd fix
4g/4g: fixes from Bill
4g4g: fpu emulation fix
4g4g: show_registers() fix
4g/4g usercopy atomicity fix
4g4g: debug flags fix
4g4g: Fix wrong asm-offsets entry
cyclone time fixmap fix
use direct_copy_{to,from}_user for kernel access in mm/usercopy.c 4G/4G might_sleep warning fix
4g/4g pagetable accounting fix

4g4g-athlon-prefetch-handling-fix.patch

4g4g-wp-test-fix.patch
Fix 4G/4G and WP test lockup

ppc-fixes.patch
make mm4 compile on ppc

aic7xxx_old-oops-fix.patch

O_DIRECT-race-fixes-rollup.patch
DIO fixes forward port and AIO-DIO fix
O_DIRECT race fixes comments
O_DRIECT race fixes fix fix fix
DIO locking rework

O_DIRECT-race-fixes-rework-XFS-fix.patch
O_DIRECT XFS fix

O_DIRECT-race-fixes-rework-XFS-fix-fix.patch

aio-01-retry.patch
AIO: Core retry infrastructure
Fix aio process hang on EINVAL
AIO: flush workqueues before destroying ioctx'es
AIO: hold the context lock across unuse_mm task task_lock in use_mm()

4g4g-aio-hang-fix.patch
Fix AIO and 4G-4G hang

aio-refcounting-fix.patch
aio ref count in io_submit_one

aio-retry-elevated-refcount.patch
aio: extra ref count during retry

aio-splice-runlist.patch
Splice AIO runlist for fairer handling of multiple io contexts

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
lock_buffer_wq fix

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

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

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

O_SYNC-speedup-2.patch
speed up O_SYNC writes

O_SYNC-speedup-2-f_mapping-fixes.patch

aio-09-o_sync.patch
aio O_SYNC
AIO: fix a BUG
Unify o_sync changes for aio and regular writes
aio-O_SYNC-fix bits got lost
aio: writev nr_segs fix
More AIO O_SYNC related fixes

aio-09-o_sync-f_mapping-fixes.patch

gang_lookup_next.patch
Change the page gang lookup API

aio-gang_lookup-fix.patch
AIO gang lookup fixes

aio-O_SYNC-short-write-fix.patch
Fix for O_SYNC short writes

aio-12-readahead.patch
AIO: readahead fixes
aio O_DIRECT no readahead
Unified page range readahead for aio and regular reads

aio-12-readahead-f_mapping-fix.patch

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

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>

#1 lore raw

Hi!

Review

Quoted 2 lines
(quoted diff) +0 -2
-invalidate_inodes-speedup.patch
-invalidate_inodes-speedup-fixes.patch

Why did you decide to drop these patches out instead of adding fix for them?

Kirill

#2 lore raw
Quoted 7 lines · Kirill Korotaev

Hi!

Review

Quoted 2 lines
(quoted diff) +0 -2
-invalidate_inodes-speedup.patch
-invalidate_inodes-speedup-fixes.patch

Why did you decide to drop these patches out instead of adding fix for them?

I would have had to get down, sort out what the heck is happening, completely review and test these patches. It's not a thing which I want to be spending time on now.

If someone wants to send me a complete, documented and well-tested patch then I can drop it in for testing, with a view to merge post-2.6.0.

(I'm also not particularly happy about adding eight(sixteen) bytes to every inode just to speed up unmount. It's worth thinking about alternatives, although there are few).

#3 lore raw

Re the new framebuffer code, it appears to not work on matroxfb. On bootup the console gets as far as:

...
found SMP MP-table at 000f4db0
hm, page 000f4000 reserved twice.

And then it stops, whereas normally the framebuffer would kick in with a pengiun and continue booting. I boot the kernel with "video=matroxfb:vesa:0x192". When I disable it with "video=matroxfb:off" the system boots fine.

- Peter.

Signature · 3 lines
System/Network Administrator Creative Contingencies P/L
http://www.cafuego.net/pgp-key.php for pgp key
Registered Linux user #108200   http://counter.li.org
#4 lore raw
Quoted 11 lines · Peter Lieverdink

Re the new framebuffer code, it appears to not work on matroxfb. On bootup the console gets as far as:

...
found SMP MP-table at 000f4db0
hm, page 000f4000 reserved twice.

And then it stops, whereas normally the framebuffer would kick in with a pengiun and continue booting. I boot the kernel with "video=matroxfb:vesa:0x192". When I disable it with "video=matroxfb:off" the system boots fine.

2.6.0-test8-mm1 won't start with matroxfb for me either. I have
video=matroxfb:vesa:0x1BB
This works with 2.6.0-test8, I get two nice penguins. With mm1 all I get is lilo printing loading linux... and then everything stops. There isn't even a mode switch, and no fsck on startup after using reset.

Helge Hafting

#5 lore raw

Re: 2.6.0-test8-mm1 [matroxfb not working]

From: Helge Hafting <[email protected]>
Date: Mon, Oct 20, 2003 at 08:49:53PM +0200

Quoted 12 lines · Peter Lieverdink
Quoted 11 lines

Re the new framebuffer code, it appears to not work on matroxfb. On bootup the console gets as far as:

...
found SMP MP-table at 000f4db0
hm, page 000f4000 reserved twice.

And then it stops, whereas normally the framebuffer would kick in with a pengiun and continue booting. I boot the kernel with "video=matroxfb:vesa:0x192". When I disable it with "video=matroxfb:off" the system boots fine.

Quoted 8 lines

2.6.0-test8-mm1 won't start with matroxfb for me either. I have
video=matroxfb:vesa:0x1BB
This works with 2.6.0-test8, I get two nice penguins. With mm1 all I get is lilo printing loading linux... and then everything stops. There isn't even a mode switch, and no fsck on startup after using reset.

Same here:

kernel /boot/vmlinuz-260test8mm1 root=/dev/md3 video=matroxfb:xres:1600,yres:1360,depth:16,pixclock:4116,left:304,right:64,upper:46,lower:1,hslen:192,vslen:3,fv:90,hwcursor=off hdd=scsi atkbd_softrepeat=1

hangs even before the modeswitch.

01:00.0 VGA compatible controller: Matrox Graphics, Inc. MGA G400 AGP (rev 82)

(it's a G450, 32 Mb, AGP).

CONFIG_FB=y
CONFIG_FB_MATROX=y
CONFIG_FB_MATROX_G450=y
CONFIG_FB_MATROX_G100=y
CONFIG_FRAMEBUFFER_CONSOLE=y
CONFIG_FONTS=y
CONFIG_FONT_SUN12x22=y
CONFIG_LOGO=y
CONFIG_LOGO_LINUX_MONO=y
CONFIG_LOGO_LINUX_VGA16=y
CONFIG_LOGO_LINUX_CLUT224=y

Jurriaan

Signature · 6 lines
"I want a full apology and a retraction of all these infamous charges."
"I have not yet brought charges," said Bodwyn Wook. "As for apologies,
the record of your conduct speaks for itself. Do you want me to apologize
for citing your record?"
        Jack Vance - Araminta Station
Debian (Unstable) GNU/Linux 2.6.0-test8 4276 bogomips 0.44 0.18
#6 lore raw
In reply to Andrew Morton
Quoted 2 lines · Andrew Morton

ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.0-test8/2 .6.0-test8-mm1

~~ snip ~~

Quoted 3 lines

+fix-sqrt.patch

Fix int_sqrt().

I really like this one... ;-)

The problem ist that oom_kill.c assumes that int_sqrt() never returns 0. So we could get a division by zero there :-(

The attached patch fixes that...

Regards
Thomas

mm/oom_kill.c renamed from mm/oom_kill.c.orig +2 -2
@@ -63,8 +63,8 @@
 	cpu_time = (p->utime + p->stime) >> (SHIFT_HZ + 3);
 	run_time = (get_jiffies_64() - p->start_time) >> (SHIFT_HZ + 10);
 
-	points /= int_sqrt(cpu_time);
-	points /= int_sqrt(int_sqrt(run_time));
+	points /= cpu_time ? int_sqrt(cpu_time) : 1;
+	points /= run_time ? int_sqrt(int_sqrt(run_time)) : 1;
 
 	/*
 	 * Niced processes are most likely less important, so double
#7 lore raw
In reply to Andrew Morton
Quoted 5 lines · Andrew Morton

ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.0-test8/2.6.0-test8-mm1

. Included a much updated fbdev patch. Anyone who is using framebuffers,
please test this.

radeon fb is completely broken. Previously I would get multicoloured garbled text under the penguin over all characters that were visible before radeon fb loaded, but this would scroll away. Now i still get the garbled screen, but every character on the screen has an extra white pixel on producing a grid effect. The kernel then oppses.

This is with a Radeon Mobility M6 LY.

Signature · 2 lines
Jonathan Brown
http://emergence.uk.net/
#8 lore raw
Quoted 7 lines · On Mon, 20 Oct 2003 14:22:40 +0100 Jonathan Brown <[email protected]>…
Quoted 5 lines · Andrew Morton

ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.0-test8/2.6.0-test8-mm1

. Included a much updated fbdev patch. Anyone who is using framebuffers,
please test this.

Quoted 9 lines

radeon fb is completely broken. Previously I would get multicoloured garbled text under the penguin over all characters that were visible before radeon fb loaded, but this would scroll away. Now i still get the garbled screen, but every character on the screen has an extra white pixel on producing a grid effect. The kernel then oppses.

This is with a Radeon Mobility M6 LY.

Working perfectly here with radeon 9000

I start it without passing any option to the kernel and it guesses the correct resolution from BIOS (laptop)

radeonfb_pci_register BEGIN
radeonfb: probed DDR SGRAM 65536k videoram
radeonfb: Invalid ROM signature 0 should be 0xaa55
radeonfb: ref_clk=2700, ref_div=67, xclk=16600 defaults Starting monitor auto detection...
Non-DDC laptop panel detected
radeonfb: Monitor 1 type LCD found
radeonfb: Monitor 2 type no found
radeonfb: Asssuming panel size 1400x1050
radeonfb: ATI Radeon Lf Mobility M9 DDR SGRAM 64 MB radeonfb_pci_register END

this is actually the first time the radeon framebuffer has worked for me that's great!

Signature · 1 line
	Antonio Dolcetta
#9 lore raw

Well I compiled radeonfb as a module and got this error:

WARNING:
/lib/modules/2.6.0-test8-mm1/kernel/drivers/video/aty/radeonfb.ko needs unknown symbol release_console_sem

so the module wont load. I presume you are compiling in radeonfb?

I'm running this on an IBM X31 laptop and it works great on 2.6.0-test7-mm1, except temporary screen corruption when radeonfb loads:

radeonfb_pci_register BEGIN
radeonfb: ref_clk=2700, ref_div=60, xclk=14400 from BIOS
radeonfb: probed DDR SGRAM 16384k videoram
radeon_get_moninfo: bios 4 scratch = 1000044
radeonfb: panel ID string: 1024x768
radeonfb: detected DFP panel size from BIOS: 1024x768
radeonfb: ATI Radeon M6 LY DDR SGRAM 16 MB
radeonfb: DVI port LCD monitor connected
radeonfb: CRT port no monitor connected radeonfb_pci_register END

Quoted 21 lines · Antonio Dolcetta

Working perfectly here with radeon 9000

I start it without passing any option to the kernel and it guesses the correct resolution from BIOS (laptop)

radeonfb_pci_register BEGIN
radeonfb: probed DDR SGRAM 65536k videoram
radeonfb: Invalid ROM signature 0 should be 0xaa55
radeonfb: ref_clk=2700, ref_div=67, xclk=16600 defaults Starting monitor auto detection...
Non-DDC laptop panel detected
radeonfb: Monitor 1 type LCD found
radeonfb: Monitor 2 type no found
radeonfb: Asssuming panel size 1400x1050
radeonfb: ATI Radeon Lf Mobility M9 DDR SGRAM 64 MB radeonfb_pci_register END

this is actually the first time the radeon framebuffer has worked for me that's great!

Signature · 2 lines
Jonathan Brown
http://emergence.uk.net/
#10 lore raw
Quoted 9 lines · On Mon, 20 Oct 2003 17:32:03 +0100 Jonathan Brown <[email protected]>…

Well I compiled radeonfb as a module and got this error:

WARNING:
/lib/modules/2.6.0-test8-mm1/kernel/drivers/video/aty/radeonfb.ko needs unknown symbol release_console_sem

so the module wont load. I presume you are compiling in radeonfb?

yes, I got:
*** Warning: "release_console_sem" [drivers/video/aty/radeonfb.ko] undefined! while compiling radeonfb as a module
I just compiled it in and it worked.
my (almost, see below) working .config is attached

I do get an oops while unloading uhci-hcd, but sometimes that works and I get an oops while unloading usbcore instead. will try to test it some more and send them on list...

still, my latest test with radeonfb was with 2.6-test8 where I would get some weird fuzzy diagonal bands instead of text scrolling, it looked as if anything printed on screen was smeared to the right, in this one apart from the same temporary corruption you have, it works great

ciao

Signature · 1 line
	Antonio Dolcetta
#11 lore raw
In reply to Andrew Morton

Full compile stats for mm builds at...

http://developer.osdl.org/cherry/compile/

Kernel version: 2.6.0-test8-mm1
Kernel build:
Making bzImage (defconfig): 0 warnings, 0 errors Making modules (defconfig): 0 warnings, 0 errors Making bzImage (allnoconfig): 0 warnings, 0 errors Making bzImage (allyesconfig): 183 warnings, 0 errors Making modules (allyesconfig): 13 warnings, 0 errors Making bzImage (allmodconfig): 3 warnings, 0 errors Making modules (allmodconfig): 223 warnings, 0 errors

John

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>

#12 lore raw
In reply to Andrew Morton
Quoted 8 lines · Andrew Morton

ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.0-test8/2 .6.0-test8-mm1

. Included a much updated fbdev patch. Anyone who is using framebuffers,
please test this.

. Quite a large number of stability fixes.

I've got a problem with NFS!
If the kernel NFS server (nfs-utils 1.0.6) is started I get following Oops:

Installing knfsd (copyright (C) 1996 [email protected]).

Unable to handle kernel NULL pointer dereference at virtual address 00000000
 printing eip:
c0163c36
*pde = 00000000
Oops: 0000 [#1]
PREEMPT
CPU:    0
EIP:    0060:[invalidate_list+37/211]    Not tainted VLI
EFLAGS: 00010203

EIP is at invalidate_list+0x25/0xd3
eax: cded1e00 ebx: c13a80c0 ecx: c02e83a0 edx: cf35c000
esi: 00000000 edi: cf35df38 ebp: 00000000 esp: cf35df10
ds: 007b es: 007b ss: 0068
Process exportfs (pid: 1029, threadinfo=cf35c000 task=cefac0c0)

Stack: 00000000 00000000 cded1e00 cf35c000 cf35df38 cffe7c88 c0163d22 c02e8390
       cded1e00 cf35df38 cf35df38 cf35df38 cd584980 cded1e00 c02e8640 cffe7c88
       c01542f9 cded1e00 0000000e cf35c000 d1a2fde0 c0154bca cded1e00 cded1e00
Call Trace:
 [invalidate_inodes+62/162] invalidate_inodes+0x3e/0xa2
 [generic_shutdown_super+109/375] generic_shutdown_super+0x6d/0x177
 [kill_anon_super+14/56] kill_anon_super+0xe/0x38
 [deactivate_super+82/144] deactivate_super+0x52/0x90
 [__fput+228/235] __fput+0xe4/0xeb
 [sys_nfsservctl+257/267] sys_nfsservctl+0x101/0x10b
 [syscall_call+7/11] syscall_call+0x7/0xb

Code: fb ff 5b 5e 5f c3 55 31 ed 57 56 53 50 50 8b 44 24 1c 8b 7c 24 24 c7 04 
24
 <6>note: exportfs[1029] exited with preempt_count 2
bad: scheduling while atomic!
Call Trace:
 [schedule+60/1207] schedule+0x3c/0x4b7
 [unmap_vmas+336/471] unmap_vmas+0x150/0x1d7
 [exit_mmap+104/339] exit_mmap+0x68/0x153
 [mmput+123/184] mmput+0x7b/0xb8
 [do_exit+345/836] do_exit+0x159/0x344
 [do_divide_error+0/167] do_divide_error+0x0/0xa7
 [do_page_fault+784/1105] do_page_fault+0x310/0x451
 [update_process_times+41/47] update_process_times+0x29/0x2f
 [update_wall_time+11/51] update_wall_time+0xb/0x33
 [do_timer+76/193] do_timer+0x4c/0xc1
 [do_timer_interrupt+55/224] do_timer_interrupt+0x37/0xe0
 [timer_interrupt+40/71] timer_interrupt+0x28/0x47
 [rcu_process_callbacks+203/220] rcu_process_callbacks+0xcb/0xdc
 [tasklet_action+58/89] tasklet_action+0x3a/0x59
 [profile_hook+28/49] profile_hook+0x1c/0x31
 [do_page_fault+0/1105] do_page_fault+0x0/0x451
 [error_code+47/56] error_code+0x2f/0x38
 [invalidate_list+37/211] invalidate_list+0x25/0xd3
 [invalidate_inodes+62/162] invalidate_inodes+0x3e/0xa2
 [generic_shutdown_super+109/375] generic_shutdown_super+0x6d/0x177
 [kill_anon_super+14/56] kill_anon_super+0xe/0x38
 [deactivate_super+82/144] deactivate_super+0x52/0x90
 [__fput+228/235] __fput+0xe4/0xeb
 [sys_nfsservctl+257/267] sys_nfsservctl+0x101/0x10b
 [syscall_call+7/11] syscall_call+0x7/0xb

It just worked smoothly with 2.6.0-test7-mm1!

Regards
Thomas

#13 lore raw
Quoted 15 lines · Thomas Schlichter
Quoted 8 lines · Andrew Morton

ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.0-test8/2 .6.0-test8-mm1

. Included a much updated fbdev patch. Anyone who is using framebuffers,
please test this.

. Quite a large number of stability fixes.

I've got a problem with NFS!
If the kernel NFS server (nfs-utils 1.0.6) is started I get following Oops:

Installing knfsd (copyright (C) 1996 [email protected]).

Quoted 8 lines
Unable to handle kernel NULL pointer dereference at virtual address 00000000
 printing eip:
c0163c36
*pde = 00000000
Oops: 0000 [#1]
PREEMPT
CPU:    0
EIP:    0060:[invalidate_list+37/211]    Not tainted VLI

A colleague here has discovered that this crash is repeatable, but goes away when the radeon driver is disabled.

Are you using that driver?

#14 lore raw
Quoted 4 lines · Andrew Morton

A colleague here has discovered that this crash is repeatable, but goes away when the radeon driver is disabled.

Are you using that driver?

No, I'm not... I use the vesafb driver. Do you think disabling this could cure the Oops?

Btw. a similar Oops at the same place occours when the uhci-hcd module is unloaded...

The attached patch prevents the kernel from Oopsing, so it seems some inode lists are corrupted (NULL terminated!). Don't know how the FB driver could be the reason...

Regards
Thomas

fs/inode.c renamed from fs/inode.c.orig +8 -6
@@ -292,14 +292,16 @@
 	int busy = 0, count = 0;
 
 	next = head->next;
-	for (;;) {
-		struct list_head * tmp = next;
+	while (next != head) {
 		struct inode * inode;
-
-		next = next->next;
-		if (tmp == head)
+#if 1
+		if (!next) {
+			printk(KERN_ERR "Badness in invalidate_list() !\n");
 			break;
-		inode = list_entry(tmp, struct inode, i_list);
+		}
+#endif
+		inode = list_entry(next, struct inode, i_list);
+		next = next->next;
 		if (inode->i_sb != sb)
 			continue;
 		invalidate_inode_buffers(inode);
#15 lore raw
Quoted 9 lines · Thomas Schlichter
Quoted 4 lines · Andrew Morton

A colleague here has discovered that this crash is repeatable, but goes away when the radeon driver is disabled.

Are you using that driver?

No, I'm not... I use the vesafb driver. Do you think disabling this could cure the Oops?

It might. Could you test it please?

There's nothing in -mm which touches the inode list management code, so a random scribble or misbehaving driver is likely.

Quoted 2 lines

Btw. a similar Oops at the same place occours when the uhci-hcd module is unloaded...

How similar?

#16 lore raw
Quoted 11 lines · Andrew Morton
Quoted 8 lines · Thomas Schlichter
Quoted 4 lines · Andrew Morton

A colleague here has discovered that this crash is repeatable, but goes away when the radeon driver is disabled.

Are you using that driver?

No, I'm not... I use the vesafb driver. Do you think disabling this could cure the Oops?

It might. Could you test it please?

I will, but currently I compile 2.6.0-test8. I want to try if this works... I also want to try test8-mm1 without the -Os patch, you never know... ;-)

Quoted 2 lines

There's nothing in -mm which touches the inode list management code, so a random scribble or misbehaving driver is likely.

Yes, or some part of the kernel compiled false...
(After some problems with erlier gcc's I don't trust my curent 3.3.1 that much...)

Quoted 4 lines
Quoted 2 lines

Btw. a similar Oops at the same place occours when the uhci-hcd module is unloaded...

How similar?

Very similar (I think it came from deactivate_super(), too), but it seems not to be logged...

#17 lore raw
Quoted 8 lines · On Tuesday 21 October 2003 00:30, I wrote:
Quoted 7 lines · Andrew Morton
Quoted 6 lines · Thomas Schlichter
Quoted 4 lines · Andrew Morton

A colleague here has discovered that this crash is repeatable, but goes away when the radeon driver is disabled.

Are you using that driver?

Quoted 7 lines
Quoted 4 lines
Quoted 2 lines

No, I'm not... I use the vesafb driver. Do you think disabling this could cure the Oops?

It might. Could you test it please?

I will, but currently I compile 2.6.0-test8. I want to try if this works... I also want to try test8-mm1 without the -Os patch, you never know... ;-)

OK, 2.6.0-test8 worked, 2.6.0-test8-mm1 without any FB support, too!! So I didn't test reverting the -Os patch...

Quoted 6 lines
Quoted 2 lines

There's nothing in -mm which touches the inode list management code, so a random scribble or misbehaving driver is likely.

Yes, or some part of the kernel compiled false...
(After some problems with erlier gcc's I don't trust my curent 3.3.1 that much...)

It seems my gcc 3.3.1 works the way it should... ;-)

#18 lore raw
In reply to Thomas Schlichter
Quoted 9 lines · Thomas Schlichter

No, I'm not... I use the vesafb driver. Do you think disabling this could cure the Oops?

Btw. a similar Oops at the same place occours when the uhci-hcd module is unloaded...

The attached patch prevents the kernel from Oopsing, so it seems some inode lists are corrupted (NULL terminated!). Don't know how the FB driver could be the reason...

I was seeing similar issues where the system would fail to find /sbin/init because things were dying while still on the initrd, and put Thomas' patch on (although I added a WARN_ON(1) so we'd get a stack trace in addition to the printk). And then things got *really* bizarre...

While at work, in its docking station, it would complain while running things from /linuxrc off the initrd (it complained while firing up SELinux):

SELinux: initialized (dev , type rootfs), uses genfs_contexts
SELinux: initialized (dev , type sysfs), uses genfs_contexts

Unable to handle kernel NULL pointer dereference at virtual address 00000000
 printing eip:
c015ec37
*pde = 00000000
Oops: 0000 [#1]
PREEMPT 
CPU:    0
EIP:    0060:[<c015ec37>]    Not tainted VLI
EFLAGS: 00010246

EIP is at __iget+0x25/0x6e
eax: 00000000 ebx: 00000000 ecx: cfddc088 edx: cfddc080
esi: cfddc080 edi: c1303308 ebp: cff95dbc esp: cff95db8
ds: 007b es: 007b ss: 0068
Process load_policy (pid: 16, threadinfo=cff94000 task=cff97940)

Stack: cfddc080 cff95dcc c015f5a7 cfddc080 cff94000 cff95df0 c01d7377 cfddc080 
       c1303300 00000000 cffd2bc0 cffd0c40 cffd0c00 cff94000 cff95e10 c01db157 
       cffd0c00 cffd2bc0 cffd2bc8 cff95e20 c0386170 c04c7ca0 cff95f54 c01e026d 
Call Trace:
 [<c015f5a7>] igrab+0x20/0x42
 [<c01d7377>] superblock_doinit+0x227/0x28b
 [<c01db157>] selinux_complete_init+0x96/0xe5
 [<c01e026d>] security_load_policy+0xaf/0x25c
 [<c013e88e>] handle_mm_fault+0x6d/0x10c
 [<c0118a15>] do_page_fault+0x153/0x4a1
 [<c01358a2>] __rmqueue+0xc3/0x123
 [<c0135935>] rmqueue_bulk+0x33/0x78
 [<c0145128>] map_area_pmd+0x50/0x7b
 [<c01188c2>] do_page_fault+0x0/0x4a1
 [<c0367b93>] error_code+0x2f/0x38
 [<c01e915a>] __copy_from_user_ll+0x3c/0x5a
 [<c01db6a7>] sel_write_load+0xd0/0xec
 [<c0149d2d>] vfs_write+0xae/0xdc
 [<c0149dce>] sys_write+0x2c/0x47
 [<c0367187>] syscall_call+0x7/0xb

Code: b6 fe ff ff 5d c3 55 89 e5 53 8b 55 08 8b 42 1c 85 c0 74 05 ff 42 1c eb 58
 ff 42 1c f6 82 34 01 00 00 0f 75 46 8d 4a 08 8b 59 04 <39> 0b 74 08 0f 0b 94 00
 13 5f 38 c0 8b 42 08 39 48 04 74 08 0f 

<6>note: load_policy[16] exited with preempt_count 1
bad: scheduling while atomic!

Call Trace:
 [<c011a0df>] schedule+0x3c/0x4b7
 [<c013d302>] unmap_vmas+0x13c/0x1be
 [<c0140832>] exit_mmap+0x60/0x14b
 [<c011bcb2>] mmput+0x7d/0xbd
 [<c011f33b>] do_exit+0x163/0x351
 [<c010c68a>] do_divide_error+0x0/0xad
 [<c0118c10>] do_page_fault+0x34e/0x4a1
 [<c01240a2>] update_wall_time+0xd/0x37
 [<c01243c0>] do_timer+0x4e/0xc6
 [<c0110f0f>] timer_interrupt+0x5a/0x118
 [<c01208f6>] do_softirq+0x4a/0x91
 [<c010d6de>] do_IRQ+0x121/0x138
 [<c01188c2>] do_page_fault+0x0/0x4a1
 [<c0367b93>] error_code+0x2f/0x38
 [<c01d007b>] udf_UTF8toCS0+0xf2/0x178
 [<c015ec37>] __iget+0x25/0x6e
 [<c015f5a7>] igrab+0x20/0x42
 [<c01d7377>] superblock_doinit+0x227/0x28b
 [<c01db157>] selinux_complete_init+0x96/0xe5
 [<c01e026d>] security_load_policy+0xaf/0x25c
 [<c013e88e>] handle_mm_fault+0x6d/0x10c
 [<c0118a15>] do_page_fault+0x153/0x4a1
 [<c01358a2>] __rmqueue+0xc3/0x123
 [<c0135935>] rmqueue_bulk+0x33/0x78
 [<c0145128>] map_area_pmd+0x50/0x7b
 [<c01188c2>] do_page_fault+0x0/0x4a1
 [<c0367b93>] error_code+0x2f/0x38
 [<c01e915a>] __copy_from_user_ll+0x3c/0x5a
 [<c01db6a7>] sel_write_load+0xd0/0xec
 [<c0149d2d>] vfs_write+0xae/0xdc
 [<c0149dce>] sys_write+0x2c/0x47
 [<c0367187>] syscall_call+0x7/0xb

Badness in invalidate_list() !
Badness in invalidate_list at fs/inode.c:299

Call Trace:
 [<c015ee28>] invalidate_list+0x54/0x104
 [<c015ef24>] invalidate_inodes+0x4c/0xb9
 [<c014ed0c>] generic_shutdown_super+0x7f/0x18d
 [<c014f6c2>] kill_anon_super+0x10/0x40
 [<c014eb6b>] deactivate_super+0x6f/0xb7
 [<c0161c77>] sys_umount+0x5f/0x67
 [<c0149d4f>] vfs_write+0xd0/0xdc
 [<c0149dce>] sys_write+0x2c/0x47
 [<c0161c8c>] sys_oldumount+0xd/0xf
 [<c0367187>] syscall_call+0x7/0xb

Badness in invalidate_list() !
Badness in invalidate_list at fs/inode.c:299

Call Trace:
 [<c015ee28>] invalidate_list+0x54/0x104
 [<c015ef24>] invalidate_inodes+0x4c/0xb9
 [<c014ed2f>] generic_shutdown_super+0xa2/0x18d
 [<c014f6c2>] kill_anon_super+0x10/0x40
 [<c014eb6b>] deactivate_super+0x6f/0xb7
 [<c0161c77>] sys_umount+0x5f/0x67
 [<c0149d4f>] vfs_write+0xd0/0xdc
 [<c0149dce>] sys_write+0x2c/0x47
 [<c0161c8c>] sys_oldumount+0xd/0xf
 [<c0367187>] syscall_call+0x7/0xb

If trying to boot to 'single' or initlevel 3 or 5, it would then wedge up trying to mount the local filesystems. I got the above by using init=/bin/bash and doing a dmesg onto a writeable filesystem I hand-mounted. So obviously things were very ill, and the patch merely let the system live long enough for me to get a dmesg to run.

Now for the *really* weird part - at the office, the early dmesg has:

Console: switching to colour frame buffer device 160x64
pty: 256 Unix98 ptys configured

I came home, and rebooted the laptop - same kernel, same everything except it wasn't docked, and it crashed... *partial* oops follows, my pen was dying so I got what seemed most important:

Console: switching to colour frame buffer device 160x64

Unable to handle kernel NULL pointer dereference at virtual address 00000068
...
EIP is at create_dir+0x1f/0x8f
....
	sysfs_create_dir+0x5a/0x70
	create_dir+0x15/0x39
	kobject_add+0xb2/0x107
	cdev_add+0xe/0x4c
	tty_register_driver+0x112/0x213
	pty_init+0x2db/0x40b
	do_initcalls_0x35/0x87
	init+0x32/0x10e
	init+0x0/0x10e
	kernel_thread_helper+0x5/0xb

Never got as far as saying 256 ptys.

(reproducible, from a power-off it did it same way 3 times in a row). So whatever was giving it indigestion was (a) *very* early on and (b) different when my laptop was docked and undocked. I'm guessing something ACPI-related, because when undocked I'm shy an Ethernet controller that's in the dock. However, the only new patches in -mm1 that seem to go near acpi are the EFI and MSI patches - and I checked, neither is config'ed into the kernel.

This ring any bells? What you want tested? etc etc....

#19 lore raw
Quoted 2 lines · [email protected] wrote:

This ring any bells? What you want tested? etc etc....

Can you try disabling all fbdev stuff in config?

----- End forwarded message -----

Signature · 8 lines
"The software industry today survives only through an unstated agreement 
not to stir things up too much.  We must hope this lawsuit [by SCO] isn't 
the big stirring spoon." -- Ian Lance Taylor, Linux Journal, June 2003
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to [email protected].  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
#20 lore raw
Quoted 5 lines · Andrew Morton
Quoted 2 lines · [email protected] wrote:

This ring any bells? What you want tested? etc etc....

Can you try disabling all fbdev stuff in config?

OK.. That booted just fine, didn't hang in pty_init, didn't hit the WARN_ON added to fs_inoce.c.

So we have:

works:
# CONFIG_FB is not set

Doesn't work:
CONFIG_FB=y
CONFIG_FB_VESA=y
CONFIG_FRAMEBUFFER_CONSOLE=y
CONFIG_PCI_CONSOLE=y
CONFIG_FONT_8x8=y
CONFIG_FONT_8x16=y
CONFIG_LOGO=y
CONFIG_LOGO_LINUX_MONO=y
CONFIG_LOGO_LINUX_VGA16=y
CONFIG_LOGO_LINUX_CLUT224=y

I've not had a chance to play binary search on those options yet.. Graphics card is an NVidia GeForce 440Go, and was previous working just fine with framebuffer over on vc1-6 and NVidia's driver on an XFree86 on vc7. (OK, I admit I didn't stress test the framebuffer side much past "penguins and scroiled text"...)

#21 lore raw
Quoted 28 lines · [email protected] wrote:
Quoted 5 lines · Andrew Morton
Quoted 2 lines · [email protected] wrote:

This ring any bells? What you want tested? etc etc....

Can you try disabling all fbdev stuff in config?

OK.. That booted just fine, didn't hang in pty_init, didn't hit the WARN_ON added to fs_inoce.c.

So we have:

works:
# CONFIG_FB is not set

Doesn't work:
CONFIG_FB=y
CONFIG_FB_VESA=y
CONFIG_FRAMEBUFFER_CONSOLE=y
CONFIG_PCI_CONSOLE=y
CONFIG_FONT_8x8=y
CONFIG_FONT_8x16=y
CONFIG_LOGO=y
CONFIG_LOGO_LINUX_MONO=y
CONFIG_LOGO_LINUX_VGA16=y
CONFIG_LOGO_LINUX_CLUT224=y

Quoted 6 lines

I've not had a chance to play binary search on those options yet.. Graphics card is an NVidia GeForce 440Go, and was previous working just fine with framebuffer over on vc1-6 and NVidia's driver on an XFree86 on vc7. (OK, I admit I didn't stress test the framebuffer side much past "penguins and scroiled text"...)

Thanks. You're now the third person ([email protected], [email protected]) who reports that the weird oopses (usually in invalidate_list()) go away when the fbdev code is disabled.

You're using vesafb on nvidia, Jeremy is using vesafb on either radeon or nvidia, not sure about Thomas.

Has anyone tried CONFIG_DEBUG_SLAB and CONFIG_DEBUG_PAGEALLOC, see if that turns anything up?
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>

#22 lore raw
Quoted 2 lines · Andrew Morton

Has anyone tried CONFIG_DEBUG_SLAB and CONFIG_DEBUG_PAGEALLOC, see if that turns anything up?

Well, I built two test kernels, which hopefully tell us something.. ;)

1) I did a 'patch -R' and backed out the two fbdev patches - and a -test8-mm1 with them removed boots and runs fine with a framebuffer console.

2) Kernel *with* fbdev patch, but no 'vga=794' parm at boot works OK as well. So it can be in the kernel and not used, and works OK.

3) With fbdev patch and DEBUG_SLAB and DEBUG_PAGEALLOC, it got weird.
It booted semi-OK (sort of - some funkyness mounting filesystems) but suffered some truly horrid bit-droppings as stuff scrolled. Basically, most character cells that were "blank" had light grey in the top 2 pixes of the cell, and many non-blanks that didn't have ascenders had them as well. Not all the pixels were the same grey, either.. Looks like the debugging changed the layout in memory enough for things to almost work (so less stuff was getting overlaid and we lived longer?), but didn't catch any memory corruption (or at least neither console nor 'dmesg' saw any messages).

I'm wondering if it's stomping on some memory because the vga=794 parameter tells it to use 1280x1024x16, when the underlying card is really 1600x1200x32? (Yes, I know this means the vesa is using a small corner of the card's memory)...

#24 lore raw
In reply to Andrew Morton
Quoted 7 lines · Andrew Morton
Quoted 5 lines · [email protected] wrote:

I've not had a chance to play binary search on those options yet.. Graphics card is an NVidia GeForce 440Go, and was previous working just fine with framebuffer over on vc1-6 and NVidia's driver on an XFree86 on vc7. (OK, I admit I didn't stress test the framebuffer side much past "penguins and scroiled text"...)

Quoted 6 lines

Thanks. You're now the third person ([email protected], [email protected]) who reports that the weird oopses (usually in invalidate_list()) go away when the fbdev code is disabled.

You're using vesafb on nvidia, Jeremy is using vesafb on either radeon or nvidia, not sure about Thomas.

Sorry for not mentioning it!
I use(d) vesafb on a Nvidia GeForce 2 MX 440.

Quoted 2 lines

Has anyone tried CONFIG_DEBUG_SLAB and CONFIG_DEBUG_PAGEALLOC, see if that turns anything up?

I didn't yet, but I'll try now...

#25 lore raw
In reply to Andrew Morton

Okay I see people are having alot of problems in the -mm tree. I don't have any problems but I'm working against Linus tree. Could people try the patch against 2.6.0-test8 and tell me if they still have the same results. I have a new patch here:

http://phoenix.infradead.org/~jsimmons/fbdev.diff.gz

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>

#26 lore raw
Quoted 4 lines · James Simmons

Okay I see people are having alot of problems in the -mm tree. I don't have any problems but I'm working against Linus tree. Could people try the patch against 2.6.0-test8 and tell me if they still have the same results.

This patch was fine. 2.6.0-test8 with this patch booted and looked no different from plain 2.6.0-test8. I am using it for writing this. The problems must be in mm1 somehow.

Helge Hafting

#27 lore raw
Quoted 11 lines · Helge Hafting
Quoted 4 lines · James Simmons

Okay I see people are having alot of problems in the -mm tree. I don't have any problems but I'm working against Linus tree. Could people try the patch against 2.6.0-test8 and tell me if they still have the same results.

This patch was fine. 2.6.0-test8 with this patch booted and looked no different from plain 2.6.0-test8. I am using it for writing this. The problems must be in mm1 somehow.

Helge Hafting

Well here I've got same problems for -test8 + fbdev-patch as with -test8-mm1. I've compiled the kernel with most DEBUG_* options enabled (all but DEBUG_INFO and KGDB) and see the same cursor and image corruption as with -mm1 and the same options enabled.

Should I try compiling this kernel without the DEBUG_* options and watch if I get the invalidate_list Oops again?

I use vesafb on a Nvidia GeForce 2 MX 440 with 64MB Video-RAM.

Regards
Thomas

#28 lore raw
Quoted 5 lines
Quoted 5 lines

This patch was fine. 2.6.0-test8 with this patch booted and looked no different from plain 2.6.0-test8. I am using it for writing this. The problems must be in mm1 somehow.

Helge Hafting

Yeah!!!

Quoted 7 lines

Well here I've got same problems for -test8 + fbdev-patch as with -test8-mm1. I've compiled the kernel with most DEBUG_* options enabled (all but DEBUG_INFO and KGDB) and see the same cursor and image corruption as with -mm1 and the same options enabled.

Should I try compiling this kernel without the DEBUG_* options and watch if I get the invalidate_list Oops again?

Yes. I'm using vesafb and I have no problems. I liek to see what the problem really is.

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>

#29 lore raw

this 2.6.0-mm1 is really very good,

but i would VERY enjoy to have the cloop-device from knopper in it! we have the cryptloop, why not the very good cloop?

this would be a wonderful combination?

best Regards

Thomas Giese

-----Ursprüngliche Nachricht-----
Von: "James Simmons" <[email protected]>
An: "Thomas Schlichter" <[email protected]>
Cc: "Helge Hafting" <[email protected]>; "Andrew Morton" <[email protected]>; <[email protected]>; <[email protected]>; <[email protected]>
Gesendet: Dienstag, 21. Oktober 2003 22:42
Betreff: Re: 2.6.0-test8-mm1

Quoted 10 lines
Quoted 6 lines
Quoted 6 lines

This patch was fine. 2.6.0-test8 with this patch booted and looked no different from plain 2.6.0-test8. I am using it for writing this. The problems must be in mm1 somehow.

Helge Hafting

Yeah!!!

Quoted 1 line

Well here I've got same problems for -test8 + fbdev-patch as

with -test8-mm1.

Quoted 2 lines
Quoted 2 lines

I've compiled the kernel with most DEBUG_* options enabled (all but DEBUG_INFO and KGDB) and see the same cursor and image corruption as

with

Quoted 3 lines
Quoted 3 lines

-mm1 and the same options enabled.

Should I try compiling this kernel without the DEBUG_* options and watch

if I

Quoted 6 lines
Quoted 1 line

get the invalidate_list Oops again?

Yes. I'm using vesafb and I have no problems. I liek to see what the problem really is.

#30 lore raw
Quoted 7 lines

this 2.6.0-mm1 is really very good,

but i would VERY enjoy to have the cloop-device from knopper in it! we have the cryptloop, why not the very good cloop?

this would be a wonderful combination?

Cool. I'm glad people are having wonderful results.

#31 lore raw
In reply to James Simmons
Quoted 13 lines · James Simmons
Quoted 5 lines
Quoted 5 lines

This patch was fine. 2.6.0-test8 with this patch booted and looked no different from plain 2.6.0-test8. I am using it for writing this. The problems must be in mm1 somehow.

Helge Hafting

Yeah!!!

Quoted 5 lines

Well here I've got same problems for -test8 + fbdev-patch as with -test8-mm1. I've compiled the kernel with most DEBUG_* options enabled (all but DEBUG_INFO and KGDB) and see the same cursor and image corruption as with -mm1 and the same options enabled.

Quoted 5 lines
Quoted 2 lines

Should I try compiling this kernel without the DEBUG_* options and watch if I get the invalidate_list Oops again?

Yes. I'm using vesafb and I have no problems. I liek to see what the problem really is.

OK, without any of the DEBUG_* options enabled the kernel SEEMS to work with no problems. But I don't know how I can assure there actually is no memory corruption...

For me the big question stays why enabling the DEBUG_* options results in a corrupt cursor and the false dots on the top of each row... (with both kernels)

And, of course, why enabling vesafb in -mm1 leads to memory corruption. (as Vladis already mentioned, the same binary works if vesafb is not enabled via the 'vga=xxx' boot option).

Regards
Thomas

#32 lore raw
Quoted 3 lines · Thomas Schlichter

For me the big question stays why enabling the DEBUG_* options results in a corrupt cursor and the false dots on the top of each row... (with both kernels)

Almost certainly due to CONFIG_DEBUG_SLAB or CONFIG_DEBUG_PAGEALLOC, which debug memory allocations and frees.

Code that commits the usual memory bugs (use-after-free, etc.) will quickly die with these set, whereas without them the bug might never manifest.

Robert Love

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>

#33 lore raw
Quoted 7 lines · Robert Love
Quoted 4 lines · Thomas Schlichter

For me the big question stays why enabling the DEBUG_* options results in a

corrupt cursor and the false dots on the top of each row... (with both kernels)

Quoted 6 lines

Almost certainly due to CONFIG_DEBUG_SLAB or CONFIG_DEBUG_PAGEALLOC, which debug memory allocations and frees.

Code that commits the usual memory bugs (use-after-free, etc.) will quickly die with these set, whereas without them the bug might never manifest.

Right. DEBUG_SLAB and DEBUG_PAGEALLOC will change where things end up in memory. The part that *I* was surprised at was that turning them on did *NOT* make the code quickly die as expected - but it *did* corrupt the on-screen image. That's telling me that the DEBUG stuff is setting canaries that end up in memory locations that the fbdev code thinks are destined for the display pixels. (And conversely, that when you build without those two debug options, that the fbdev code is parking those now not visibly corrupted pixels on top of somebody's pointer chains and that's where the memory corruption is coming from.

Or I could just be full of it as usual.. :)

#34 lore raw
In reply to James Simmons

I get the following errors during make bzImage

CC drivers/video/aty/radeon_base.o
drivers/video/aty/radeon_base.c: In function `radeonfb_setup':
drivers/video/aty/radeon_base.c:2225: error: `force_measure_pll' undeclared (first use in this function) drivers/video/aty/radeon_base.c:2225: error: (Each undeclared identifier is reported only once
drivers/video/aty/radeon_base.c:2225: error: for each function it appears in.)
drivers/video/aty/radeon_base.c: In function `__check_force_measure_pll':
drivers/video/aty/radeon_base.c:2263: error: `force_measure_pll' undeclared (first use in this function) drivers/video/aty/radeon_base.c: At top level:
drivers/video/aty/radeon_base.c:2263: error: `force_measure_pll' undeclared here (not in a function) drivers/video/aty/radeon_base.c:2263: error: initializer element is not constant
drivers/video/aty/radeon_base.c:2263: error: (near initialization for `__param_force_measure_pll.arg')
make[3]: *** [drivers/video/aty/radeon_base.o] Error 1 make[2]: *** [drivers/video/aty] Error 2
make[1]: *** [drivers/video] Error 2
make: *** [drivers] Error 2

and

drivers/video/fbmem.c:219: error: radeonfb_setup' undeclared here (not in a function) drivers/video/fbmem.c:219: error: initializer element is not constant drivers/video/fbmem.c:219: error: (near initialization for fb_drivers[0].setup') drivers/video/fbmem.c:219: error: initializer element is not constant drivers/video/fbmem.c:219: error: (near initialization for `fb_drivers[0]')

So propably these should be applied:

radeon_base.c_new 2003-10-21 23:52:24.000000000 +0300 renamed from radeon_base.c_old 2003-10-21 23:57:20.000000000 +0300 +1 -0
@@ -199,6 +199,7 @@
 static int nomodeset = 0;
 static int ignore_edid = 0;
 static int mirror = 0;
+static int force_measure_pll = 0;
 static int panel_yres __initdata = 0;
 static int force_dfp __initdata = 0;
 static struct radeonfb_info *board_list = NULL;
fbmem.c_new 2003-10-21 23:51:54.000000000 +0300 renamed from fbmem.c_old 2003-10-21 23:57:46.000000000 +0300 +1 -0
@@ -133,6 +133,7 @@
 extern int tx3912fb_init(void);
 extern int tx3912fb_setup(char*);
 extern int radeonfb_init(void);
+extern int radeonfb_setup(char *options);
 extern int epson1355fb_init(void);
 extern int pvr2fb_init(void);
 extern int pvr2fb_setup(char*);

Panagiotis Papadakos

Quoted 15 lines · James Simmons

Okay I see people are having alot of problems in the -mm tree. I don't have any problems but I'm working against Linus tree. Could people try the patch against 2.6.0-test8 and tell me if they still have the same results. I have a new patch here:

http://phoenix.infradead.org/~jsimmons/fbdev.diff.gz

-
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/

#35 lore raw

Applied.

Quoted 79 lines · Panagiotis Papadakos

I get the following errors during make bzImage

CC drivers/video/aty/radeon_base.o
drivers/video/aty/radeon_base.c: In function `radeonfb_setup':
drivers/video/aty/radeon_base.c:2225: error: `force_measure_pll' undeclared (first use in this function) drivers/video/aty/radeon_base.c:2225: error: (Each undeclared identifier is reported only once
drivers/video/aty/radeon_base.c:2225: error: for each function it appears in.)
drivers/video/aty/radeon_base.c: In function `__check_force_measure_pll':
drivers/video/aty/radeon_base.c:2263: error: `force_measure_pll' undeclared (first use in this function) drivers/video/aty/radeon_base.c: At top level:
drivers/video/aty/radeon_base.c:2263: error: `force_measure_pll' undeclared here (not in a function) drivers/video/aty/radeon_base.c:2263: error: initializer element is not constant
drivers/video/aty/radeon_base.c:2263: error: (near initialization for `__param_force_measure_pll.arg')
make[3]: *** [drivers/video/aty/radeon_base.o] Error 1 make[2]: *** [drivers/video/aty] Error 2
make[1]: *** [drivers/video] Error 2
make: *** [drivers] Error 2

and

drivers/video/fbmem.c:219: error: radeonfb_setup' undeclared here (not in a function) drivers/video/fbmem.c:219: error: initializer element is not constant drivers/video/fbmem.c:219: error: (near initialization for fb_drivers[0].setup') drivers/video/fbmem.c:219: error: initializer element is not constant drivers/video/fbmem.c:219: error: (near initialization for `fb_drivers[0]')

So propably these should be applied:

radeon_base.c_new 2003-10-21 23:52:24.000000000 +0300 renamed from radeon_base.c_old 2003-10-21 23:57:20.000000000 +0300 +1 -0
@@ -199,6 +199,7 @@
 static int nomodeset = 0;
 static int ignore_edid = 0;
 static int mirror = 0;
+static int force_measure_pll = 0;
 static int panel_yres __initdata = 0;
 static int force_dfp __initdata = 0;
 static struct radeonfb_info *board_list = NULL;
fbmem.c_new 2003-10-21 23:51:54.000000000 +0300 renamed from fbmem.c_old 2003-10-21 23:57:46.000000000 +0300 +1 -0
@@ -133,6 +133,7 @@
 extern int tx3912fb_init(void);
 extern int tx3912fb_setup(char*);
 extern int radeonfb_init(void);
+extern int radeonfb_setup(char *options);
 extern int epson1355fb_init(void);
 extern int pvr2fb_init(void);
 extern int pvr2fb_setup(char*);

Panagiotis Papadakos

Quoted 15 lines · James Simmons

Okay I see people are having alot of problems in the -mm tree. I don't have any problems but I'm working against Linus tree. Could people try the patch against 2.6.0-test8 and tell me if they still have the same results. I have a new patch here:

http://phoenix.infradead.org/~jsimmons/fbdev.diff.gz

-
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/

#36 lore raw
In reply to James Simmons

From: James Simmons <[email protected]>
Date: Tue, Oct 21, 2003 at 06:47:41PM +0100

Quoted 8 lines

Okay I see people are having alot of problems in the -mm tree. I don't have any problems but I'm working against Linus tree. Could people try the patch against 2.6.0-test8 and tell me if they still have the same results. I have a new patch here:

http://phoenix.infradead.org/~jsimmons/fbdev.diff.gz

2.6.0-test8 + this patch boots perfectly here:

kernel /boot/vmlinuz-260test8fb root=/dev/md3 video=matroxfb:xres:1600,yres:1360,depth:16,pixclock:4116,left:304,right:64,upper:46,lower:1,hslen:192,vslen:3,fv:90,hwcursor=off hdd=scsi atkbd_softrepeat=1

This configuration didn't boot in 2.6.0-test8-mm1 (screen stayed in 80x25 VGA mode and it crashed before the mode-switch).

HTH,
Jurriaan

Signature · 3 lines
Life's really a chocolate box - some do without - others have plenty.
	Skyclad - Inequality Street
Debian (Unstable) GNU/Linux 2.6.0-test8 4276 bogomips 0.39 0.17
#37 lore raw
Quoted 2 lines

2.6.0-test8 + this patch boots perfectly here:

Cool :-)

Quoted 4 lines

kernel /boot/vmlinuz-260test8fb root=/dev/md3 video=matroxfb:xres:1600,yres:1360,depth:16,pixclock:4116,left:304,right:64,upper:46,lower:1,hslen:192,vslen:3,fv:90,hwcursor=off hdd=scsi atkbd_softrepeat=1

This configuration didn't boot in 2.6.0-test8-mm1 (screen stayed in 80x25 VGA mode and it crashed before the mode-switch).

:-( I wonder if it has to do with the debugging code discussed in the other emails.

#38 lore raw
In reply to Andrew Morton

Hi.

The same problem with other kernel versions. I get it trying to delete my local 2.6 svn repository:

EXT3-fs error (device hdb1): ext3_free_blocks: Freeing blocks in system zones - Block = 512, count = 1
Aborting journal on device hdb1.
ext3_free_blocks: aborting transaction: Journal has aborted in __ext3_journal_get_undo_access<2>EXT3-fs error (device hdb1) in
ext3_free_blocks: Journal has aborted
ext3_reserve_inode_write: aborting transaction: Journal has aborted in __ext3_journal_get_write_access<2>EXT3-fs error (device hdb1) in
ext3_reserve_inode_write: Journal has aborted
EXT3-fs error (device hdb1) in ext3_truncate: Journal has aborted
ext3_reserve_inode_write: aborting transaction: Journal has aborted in __ext3_journal_get_write_access<2>EXT3-fs error (device hdb1) in
ext3_reserve_inode_write: Journal has aborted
EXT3-fs error (device hdb1) in ext3_orphan_del: Journal has aborted
ext3_reserve_inode_write: aborting transaction: Journal has aborted in __ext3_journal_get_write_access<2>EXT3-fs error (device hdb1) in
ext3_reserve_inode_write: Journal has aborted
EXT3-fs error (device hdb1) in ext3_delete_inode: Journal has aborted ext3_abort called.
EXT3-fs abort (device hdb1): ext3_journal_start: Detected aborted journal
Remounting filesystem read-only

Signature · 3 lines
Ramón Rey Vicente       <ramon dot rey at hispalinux dot es>
        jabber ID       <rreylinux at jabber dot org>
GPG public key ID 	0xBEBD71D5 -> http://pgp.escomposlinux.org/
#39 lore raw
Quoted 6 lines · Ramon Rey Vicente

The same problem with other kernel versions. I get it trying to delete my local 2.6 svn repository:

EXT3-fs error (device hdb1): ext3_free_blocks: Freeing blocks in system zones - Block = 512, count = 1

This is consistent with a corrupted filesystem. Have you forced a fsck against that partition?

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>

#40 lore raw
Quoted 10 lines · Andrew Morton
Quoted 6 lines · Ramón Rey Vicente

The same problem with other kernel versions. I get it trying to delete my local 2.6 svn repository:

EXT3-fs error (device hdb1): ext3_free_blocks: Freeing blocks in system zones - Block = 512, count = 1

This is consistent with a corrupted filesystem. Have you forced a fsck against that partition?

Ups, yes, it seems the filesystem was corrupted/inconsistent but with a fsck now all is OK. Sorry for this. :-X

Signature · 3 lines
Ramón Rey Vicente       <ramon dot rey at hispalinux dot es>
        jabber ID       <rreylinux at jabber dot org>
GPG public key ID 	0xBEBD71D5 -> http://pgp.escomposlinux.org/
#41 lore raw
In reply to Andrew Morton
Quoted 2 lines · Andrew Morton

. Included a much updated fbdev patch. Anyone who is using framebuffers,
please test this.

Hello,

rivafb still doesn't work on my card, but that isn't surprising :

root(pts/7)@saphir:~(102Ko) # lspci -vvn -s 01:00.0
01:00.0 Class 0300: 10de:0181 (rev a2)
Subsystem: 1043:80bb
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66Mhz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 248 (1250ns min, 250ns max)
Interrupt: pin A routed to IRQ 4
Region 0: Memory at ee000000 (32-bit, non-prefetchable) [size=16M]
Region 1: Memory at f0000000 (32-bit, prefetchable) [size=128M]
Expansion ROM at effe0000 [disabled] [size=128K]
Capabilities: [60] Power Management version 2
Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [44] AGP version 3.0
Status: RQ=32 Iso- ArqSz=0 Cal=0 SBA- ITACoh- GART64- HTrans- 64bit- FW+ AGP3- Rate=x1,x2,x4
Command: RQ=32 ArqSz=0 Cal=0 SBA- AGP+ GART64- 64bit- FW- Rate=x4

This card is a Geforce4 440 MX.

please note the 10de:0181, whereas in includes/linux/pci_ids.h we have :
#define PCI_DEVICE_ID_NVIDIA_GEFORCE4_MX_440 0x0171

So I tried to replace 0171 with 0181, and the card was detected, but the frame buffer still doesn't work (blank screen for most resolutions, corrupted screen for some).

Also, What is that subsystem 1043:80bb (Asustek:device not-known) ?

Should I provide more informataions about my card ? I'm ready to test any patch needed.

Thanks,

Signature · 4 lines
 ///  Stephane Jourdois         /"\  ASCII RIBBON CAMPAIGN \\\
(((    Ingénieur développement  \ /    AGAINST HTML MAIL    )))
 \\\   24, rue Cauchy            X                         ///
  \\\  75008  Paris             / \    +33 6 8643 3085    ///
#42 lore raw
In reply to Andrew Morton

In article <[email protected]>, Andrew Morton <[email protected]> wrote:

| 
| ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.0-test8/2.6.0-test8-mm1
| 
| 
| . Included a much updated fbdev patch.  Anyone who is using framebuffers,
|   please test this.
| 
| . Quite a large number of stability fixes.
| 
| 
| 
| Changes since 2.6.0-test7-mm1:
| +devfs-initrd-fix.patch
| 
|  Fix initrd when devfs is in use

I casually followed the thread on this, is this a band-aid or a magic spell of healing? Do you consider this a "real fix" for the various problems people reported?

| +export-system_running.patch
| +might_sleep-early-bogons.patch
| 
|  Stomp all the early might_sleep() warnings.

Sort of the same question, were the warnings really bogus, or were people just not doing the things which might cause a real error?

| +slab-leak-detector.patch
| +slab-leak-detector-tweaks.patch
| 
|  A slab debugging tool for finding memory leaks: do
| 
| 	echo "slab-name 0 0 0" > /proc/slabinfo
| 
|  and the kernel will inspect each live object in that cache and will print
|  out the code address from which the allocation was performed.

Neat!

| +parport_pc-resource-release-fix.patch
| 
|  Fix an oopsable resource leak in parport_pc.

I'll try my old parport ZIP drive (ppa) again this weekend.

| +ext3-latency-fix.patch
| 
|  Improved scheduling latency in ext3.

Did someone have measurements on this?

Compiling as I type.

Signature · 3 lines
bill davidsen <[email protected]>
  CTO, TMR Associates, Inc
Doing interesting things with little computers since 1979.
#43 lore raw
Quoted 8 lines · On Tue, 21 Oct 2003 15:43:44 -0000, [email protected] (bill davidsen) said:
| +devfs-initrd-fix.patch
| 
|  Fix initrd when devfs is in use

I casually followed the thread on this, is this a band-aid or a magic spell of healing? Do you consider this a "real fix" for the various problems people reported?

Well, the options were to (a) move it to anywhere except under /dev and (b) to make it cooperate with devfs. (a) seemed more reasonable when Linus is asking for a stability freeze...

A *real* fix, which would require re-architecting devfs/udev/whatever and the whole initrd/initramfs and probably other stuff, should be looked at for 2.7.