LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Slackware-current Kernel OOPS (https://www.linuxquestions.org/questions/slackware-14/slackware-current-kernel-oops-805501/)

fl0 05-02-2010 12:44 PM

Slackware-current Kernel OOPS
 
Hi @all,

I use slackware-current, the system works, but in dmesg I see this error:

Code:

Write protecting the kernel read-only data: 16384k                                                             
Freeing unused kernel memory: 2004k freed                                                                       
Freeing unused kernel memory: 1248k freed                                                                       
jbd2: exports duplicate symbol jbd2_dev_to_name (owned by kernel)                                               
mbcache: exports duplicate symbol mb_cache_entry_find_next (owned by kernel)                                   
Could not create debugfs 'ext4_forget' directory                                                               
Could not create debugfs 'ext4_mballoc_free' directory                                                         
Could not create debugfs 'ext4_mballoc_discard' directory                                                       
Could not create debugfs 'ext4_mballoc_prealloc' directory                                                     
Could not create debugfs 'ext4_mballoc_alloc' directory                                                         
Could not create debugfs 'ext4_alloc_da_blocks' directory                                                       
Could not create debugfs 'ext4_sync_fs' directory                                                               
Could not create debugfs 'ext4_sync_file' directory                                                             
Could not create debugfs 'ext4_free_blocks' directory                                                           
Could not create debugfs 'ext4_allocate_blocks' directory                                                       
Could not create debugfs 'ext4_request_blocks' directory                                                       
Could not create debugfs 'ext4_mb_discard_preallocations' directory                                             
Could not create debugfs 'ext4_discard_preallocations' directory                                               
Could not create debugfs 'ext4_mb_release_group_pa' directory                                                   
Could not create debugfs 'ext4_mb_release_inode_pa' directory                                                   
Could not create debugfs 'ext4_mb_new_group_pa' directory                                                       
Could not create debugfs 'ext4_mb_new_inode_pa' directory                                                       
Could not create debugfs 'ext4_discard_blocks' directory                                                       
Could not create debugfs 'ext4_da_writepages_result' directory                                                 
Could not create debugfs 'ext4_da_write_pages' directory                                                       
Could not create debugfs 'ext4_da_writepages' directory                                                         
Could not create debugfs 'ext4_writepage' directory                                                             
Could not create debugfs 'ext4_da_write_end' directory                                                         
Could not create debugfs 'ext4_journalled_write_end' directory                                                 
Could not create debugfs 'ext4_writeback_write_end' directory                                                   
usb 4-1: New USB device found, idVendor=08ff, idProduct=2810                                                   
usb 4-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0                                               
usb 4-1: Product: Fingerprint Sensor                                                                           
Could not create debugfs 'ext4_ordered_write_end' directory                                                     
Could not create debugfs 'ext4_da_write_begin' directory                                                       
Could not create debugfs 'ext4_write_begin' directory                                                           
Could not create debugfs 'ext4_allocate_inode' directory                                                       
Could not create debugfs 'ext4_request_inode' directory                                                         
Could not create debugfs 'ext4_free_inode' directory                                                           
------------[ cut here ]------------                                                                           
WARNING: at fs/sysfs/dir.c:487 sysfs_add_one+0xc5/0x130()                                                       
Hardware name: 7458WPW                                                                                         
sysfs: cannot create duplicate filename '/fs/ext4'                                                             
Modules linked in: ext4(+)                                                                                     
Pid: 1160, comm: insmod Not tainted 2.6.33.3 #2                                                                 
Call Trace:                                                                                                     
 [<ffffffff810467db>] warn_slowpath_common+0x7b/0xc0                                                           
 [<ffffffff81046881>] warn_slowpath_fmt+0x41/0x50                                                               
 [<ffffffff81166c25>] sysfs_add_one+0xc5/0x130                                                                 
 [<ffffffff81166cf8>] create_dir+0x68/0xb0                                                                     
 [<ffffffff81166d79>] sysfs_create_dir+0x39/0x50                                                               
 [<ffffffff81514f7a>] ? kobject_get+0x1a/0x30                                                                   
 [<ffffffff815150c7>] kobject_add_internal+0xb7/0x200                                                           
 [<ffffffff8151523f>] kset_register+0x2f/0x60                                                                   
 [<ffffffff81515951>] kset_create_and_add+0x81/0xf0                                                             
 [<ffffffffa0077000>] ? init_ext4_fs+0x0/0xe9 [ext4]                                                           
 [<ffffffffa0077000>] ? init_ext4_fs+0x0/0xe9 [ext4]                                                           
 [<ffffffffa007702d>] init_ext4_fs+0x2d/0xe9 [ext4]                                                             
 [<ffffffff810001dc>] do_one_initcall+0x3c/0x1a0                                                               
 [<ffffffff8108133f>] sys_init_module+0xdf/0x260                                                               
 [<ffffffff8100299b>] system_call_fastpath+0x16/0x1b                                                           
---[ end trace 495bfe0a0cb297d5 ]---                                                                           
kobject_add_internal failed for ext4 with -EEXIST, don't try to register things with the same name in the same directory.                                                                                                       
Pid: 1160, comm: insmod Tainted: G        W  2.6.33.3 #2                                                       
Call Trace:                                                                                                     
 [<ffffffff8151516c>] kobject_add_internal+0x15c/0x200                                                         
 [<ffffffff8151523f>] kset_register+0x2f/0x60                                                                   
 [<ffffffff81515951>] kset_create_and_add+0x81/0xf0                                                             
 [<ffffffffa0077000>] ? init_ext4_fs+0x0/0xe9 [ext4]                                                           
 [<ffffffffa0077000>] ? init_ext4_fs+0x0/0xe9 [ext4]                                                           
 [<ffffffffa007702d>] init_ext4_fs+0x2d/0xe9 [ext4]                                                             
 [<ffffffff810001dc>] do_one_initcall+0x3c/0x1a0                                                               
 [<ffffffff8108133f>] sys_init_module+0xdf/0x260                                                               
 [<ffffffff8100299b>] system_call_fastpath+0x16/0x1b                                                           
PM: Starting manual resume from disk                                                                           
EXT4-fs (dm-1): mounted filesystem with ordered data mode

Is this my fault or a Kernel Bug?

greets fl0

rmjohnso 05-02-2010 01:10 PM

Which version of the kernel are you using? The latest slackware-current kernel was updated yesterday (5/1/2010) to 2.6.33.3.

fl0 05-02-2010 02:51 PM

Hi,

I set up the Laptop Today...

Code:

flo@hydra:~$ uname -a
Linux hydra 2.6.33.3 #2 SMP Fri Apr 30 23:50:51 CDT 2010 x86_64 Intel(R) Core(TM)2 Duo CPU    P8600  @ 2.40GHz GenuineIntel GNU/Linux


sahko 05-02-2010 03:54 PM

Which kernel are you using? Huge, generic or a custom built one?

rmjohnso 05-02-2010 04:10 PM

If you are using the generic kernel, you need to use an initrd. If I'm right, then you need to do the following:

1. Login or switch to root.
2. cd /boot
3. mkinitrd -c -k 2.6.33.3 -m ext4
4. Edit /etc/lilo.conf and add the following line below the image = /boot/vmlinuz line:
initrd = /boot/initrd.gz
5. Run 'lilo' to load your updated lilo.conf file.
6. Reboot

fl0 05-02-2010 04:20 PM

ok...

I use crypto and lvm (following this how to

http://ftp.gwdg.de/pub/linux/slackwa...ADME_CRYPT.TXT)

it is the generic kernel and I use a initrd.

rmjohnso 05-02-2010 09:14 PM

I don't use crypto or lvm, but in the -current changelog, there have been some recent changes to lvm and crypto related packages. Maybe that has something to do with it.

Quote:

Sat May 1 18:27:52 UTC 2010
a/cryptsetup-1.1.0-x86_64-2.txz: Rebuilt.
Moved /usr/sbin/cryptsetup to /sbin/cryptsetup.
Quote:

Fri Apr 30 07:37:25 UTC 2010
a/cryptsetup-1.1.0-x86_64-1.txz: Upgraded.
Moved the libraries to /lib{,64}, and removed the static binary,
which wasn't working right anyway.
a/lvm2-2.02.63-x86_64-1.txz: Upgraded.
a/sysvinit-scripts-1.2-noarch-32.txz: Upgraded.
Fixed rc.S to use cryptsetup instead of cryptsetup.static.
l/popt-1.7-x86_64-3.txz: Rebuilt.
Library moved for cryptsetup, which might need it before /usr is mounted.

volkerdi 05-04-2010 03:53 PM

Any chance you might be trying to use an initrd to load ext4 modules into the huge kernel (which already has ext4 built-in)? The error messages about -EEXIST suggest that possibility.

fl0 05-05-2010 10:22 AM

Quote:

Originally Posted by volkerdi (Post 3957340)
Any chance you might be trying to use an initrd to load ext4 modules into the huge kernel (which already has ext4 built-in)? The error messages about -EEXIST suggest that possibility.

you are right, i build the initrd with -m ext4 , now without -m ext4 the oops is gone, THX

sahko 05-05-2010 12:06 PM

Quote:

Originally Posted by fl0 (Post 3958150)
you are right, i build the initrd with -m ext4 , now without -m ext4 the oops is gone, THX

The huge kernel doesnt need an initrd to operate, you know that right?

fl0 05-06-2010 01:17 AM

Quote:

Originally Posted by sahko (Post 3958262)
The huge kernel doesnt need an initrd to operate, you know that right?

Ok I dosn't know this, but I use crypto and a different keyboard layout (de), so I must use an initrd (or not?)


All times are GMT -5. The time now is 10:46 AM.