On Mon, Nov 12, 2007 at 02:17:36PM -0600, Serge E. Hallyn wrote:
> Quoting Greg KH ([EMAIL PROTECTED]):
> > On Tue, Nov 06, 2007 at 01:40:52PM -0800, Andrew Morton wrote:
> > > > On Tue, 06 Nov 2007 21:14:58 +0100 Gabriel C <[EMAIL PROTECTED]> wrote:
> > > > After some hours uptime I got the following Oops :
> > > > 
> > > > [15745.009673] BUG: unable to handle kernel paging request at virtual 
> > > > address 63383166
> > > 
> > > An all-ascii address: "c81f".
> > > 
> > > > [15745.009683] printing eip: c01c50a2 *pde = 00000000
> > > > [15745.009692] Oops: 0002 [#1] SMP
> > > > [15745.009699] last sysfs file: 
> > > > /sys/devices/pci0000:00/0000:00:1e.0/0000:04:0b.0/irq
> > > > [15745.009705] Modules linked in: fuse pc87360 hwmon_vid eeprom adm1021 
> > > > ext4dev jbd2 crc16 loop lp intel_agp sr_mod agpgart 3c59x parport_pc 
> > > > iTCO_wdt mii parport iTCO_vendor_support cdrom i82860_edac 
> > > > watchdog_core edac_core dcdbas pcspkr i2c_i801 watchdog_dev shpchp 
> > > > evdev pci_hotplug
> > > > [15745.009742]
> > > > [15745.009746] Pid: 6277, comm: su Not tainted (2.6.24-rc1-mm1 #2)
> > > > [15745.009751] EIP: 0060:[<c01c50a2>] EFLAGS: 00210206 CPU: 1
> > > > [15745.009761] EIP is at kobject_add+0xae/0x160
> > > > [15745.009765] EAX: c186c300 EBX: cf81a0b0 ECX: 63383166 EDX: cf81a0b8
> > > > [15745.009769] ESI: cf81a0b0 EDI: cf81a0d0 EBP: c03b4bcc ESP: cfa37f40
> > > > [15745.009773]  DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068
> > > > [15745.009778] Process su (pid: 6277, ti=cfa36000 task=c354c000 
> > > > task.ti=cfa36000)
> > > > [15745.009781] Stack: fffffffe c186c30c cf81a080 cf81a0b0 cf81a0d0 
> > > > c03b4bcc c011fba1 cf81a0b0
> > > > [15745.009793]        c0368fd1 00000013 cf81a080 cf81a080 00000013 
> > > > 00000000 c011fe94 00000013
> > > > [15745.009804]        00000013 00000001 00000000 c0122e0d 00000013 
> > > > 00000000 09756508 c0124688
> > > > [15745.009815] Call Trace:
> > > > [15745.009820]  [<c011fba1>] uids_user_create+0x41/0x5a
> > > > [15745.009833]  [<c011fe94>] alloc_uid+0xad/0x121
> > > > [15745.009840]  [<c0122e0d>] set_user+0x1d/0x93
> > > > [15745.009847]  [<c0124688>] sys_setuid+0x47/0xc5
> > > > [15745.009855]  [<c0103d32>] sysenter_past_esp+0x5f/0x85
> > > > [15745.009868]  =======================
> > > > [15745.009870] Code: d4 13 00 83 7c 24 04 00 75 0f 8b 43 14 83 c0 0c e8 
> > > > fc fb ff ff 89 44 24 04 8b 43 14 8b 48 04 8d 53 08 89 50 04 89 43 08 89 
> > > > 4b 0c <89> 11 8b 43 14 83 c0 08 c6 00 01 8b 44 24 04 89 43 10 c7 04 24
> > > > [15745.009928] EIP: [<c01c50a2>] kobject_add+0xae/0x160 SS:ESP 
> > > > 0068:cfa37f40
> > > > 
> > > 
> > > Don't knowm sorry - we'll need to wait until someone can hit it more
> > > reliably :(
> > 
> > Ah, I have a fix for that, Kay found it.  Do you want an add-on to your
> 
> (Sorry, it feels like there must be an obvious place to look for it, but
> I can't seem to find it...)
> 
> Was the fix ever posted?  If it isn't completely obsolete could you
> please send it?

Here it is.

thanks,

greg k-h


---
 block/genhd.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/block/genhd.c
+++ b/block/genhd.c
@@ -718,9 +718,9 @@ struct gendisk *alloc_disk_node(int mino
                        }
                }
                disk->minors = minors;
-               kobject_init(&disk->kobj);
                disk->kobj.kset = block_kset;
                disk->kobj.ktype = &ktype_block;
+               kobject_init(&disk->kobj);
                rand_initialize_disk(disk);
                INIT_WORK(&disk->async_notify,
                        media_change_notify_thread);
-
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/

Reply via email to