LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 05-02-2010, 12:44 PM   #1
fl0
Member
 
Registered: May 2010
Location: Germany
Distribution: Slackware
Posts: 103

Rep: Reputation: 34
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
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 05-02-2010, 01:10 PM   #2
rmjohnso
Member
 
Registered: Mar 2006
Location: Wisconsin
Distribution: Slackware64-Current
Posts: 294

Rep: Reputation: 43
Which version of the kernel are you using? The latest slackware-current kernel was updated yesterday (5/1/2010) to 2.6.33.3.
 
Old 05-02-2010, 02:51 PM   #3
fl0
Member
 
Registered: May 2010
Location: Germany
Distribution: Slackware
Posts: 103

Original Poster
Rep: Reputation: 34
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
 
Old 05-02-2010, 03:54 PM   #4
sahko
Senior Member
 
Registered: Sep 2008
Distribution: Slackware
Posts: 1,041

Rep: Reputation: Disabled
Which kernel are you using? Huge, generic or a custom built one?
 
Old 05-02-2010, 04:10 PM   #5
rmjohnso
Member
 
Registered: Mar 2006
Location: Wisconsin
Distribution: Slackware64-Current
Posts: 294

Rep: Reputation: 43
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
 
Old 05-02-2010, 04:20 PM   #6
fl0
Member
 
Registered: May 2010
Location: Germany
Distribution: Slackware
Posts: 103

Original Poster
Rep: Reputation: 34
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.
 
Old 05-02-2010, 09:14 PM   #7
rmjohnso
Member
 
Registered: Mar 2006
Location: Wisconsin
Distribution: Slackware64-Current
Posts: 294

Rep: Reputation: 43
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.
 
Old 05-04-2010, 03:53 PM   #8
volkerdi
Slackware Maintainer
 
Registered: Dec 2002
Location: Minnesota
Distribution: Slackware! :-)
Posts: 852

Rep: Reputation: 1657Reputation: 1657Reputation: 1657Reputation: 1657Reputation: 1657Reputation: 1657Reputation: 1657Reputation: 1657Reputation: 1657Reputation: 1657Reputation: 1657
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.
 
3 members found this post helpful.
Old 05-05-2010, 10:22 AM   #9
fl0
Member
 
Registered: May 2010
Location: Germany
Distribution: Slackware
Posts: 103

Original Poster
Rep: Reputation: 34
Quote:
Originally Posted by volkerdi View Post
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
 
1 members found this post helpful.
Old 05-05-2010, 12:06 PM   #10
sahko
Senior Member
 
Registered: Sep 2008
Distribution: Slackware
Posts: 1,041

Rep: Reputation: Disabled
Quote:
Originally Posted by fl0 View Post
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?
 
Old 05-06-2010, 01:17 AM   #11
fl0
Member
 
Registered: May 2010
Location: Germany
Distribution: Slackware
Posts: 103

Original Poster
Rep: Reputation: 34
Quote:
Originally Posted by sahko View Post
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?)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I install a slackware-current kernel to slackware 11? bijit1709 Slackware 11 06-13-2007 03:24 PM
slackware-current + kernel 2.6.17.7 slackamp Slackware 1 07-29-2006 02:34 PM
[SOLVED] ACPI kernel for slackware-current ajitabhpandey Slackware 5 05-30-2006 10:29 AM
slackware-current kernel question CrEsPo Slackware 8 04-14-2006 06:03 PM
kernel 2.6 and slackware-current jplev22 Slackware 1 01-31-2004 01:36 PM


All times are GMT -5. The time now is 01:23 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration