LinuxQuestions.org
Help answer threads with 0 replies.
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 12-18-2008, 09:19 PM   #16
tmerriam
Member
 
Registered: Dec 2008
Distribution: slackware
Posts: 50

Rep: Reputation: 16

Quote:
You might have just left it off in the copy/paste or I may just be barking up the wrong tree, but shouldn't there be a -m before the modules list?
Yeah, that's just a typo in my post.

There is definitely a kernel bug during the install, it occurs at about where fontconfig runs, after the packages are installed. I could only salvage part of it, but it looks redundant, look at the Oops line near the bottom. The earlier ones are lower numbered and occur on alternating cores.

Code:
Pid: 19287, comm: sh Tainted: G      D   (2.6.27.7-smp #2)
EIP: 0060:[<c073c020>] EFLAGS: 00010046 CPU: 0
EIP is at _spin_lock_irqsave+0x10/0x30
EAX: 00000000 EBX: f7e04000 ECX: 00000246 EDX: 00000100
ESI: 00000006 EDI: 00000020 EBP: ecf83ef4 ESP: ecf83ef4
 DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068
Process sh (pid: 19287, ti=ecf82000 task=f7ea8000 task.ti=ecf82000)
Stack: ecf83f08 c059ff47 c059fee0 f5d6f800 00000020 ecf83f48 c045df4e 00000000 
       f1eefb7c eb6a7000 00000000 00000006 00000000 00000000 b806e000 f5d6f800 
       b7f04590 eb6a701f f783bf80 c045de40 fffffffb ecf83f6c c01b7c2d ecf83f9c 
Call Trace:
 [<c059ff47>] ? ata_scsi_user_scan+0x67/0x130
 [<c059fee0>] ? ata_scsi_user_scan+0x0/0x130
 [<c045df4e>] ? proc_scsi_write+0x10e/0x230
 [<c045de40>] ? proc_scsi_write+0x0/0x230
 [<c01b7c2d>] ? proc_reg_write+0x5d/0x80
 [<c017fa8b>] ? vfs_write+0x9b/0x130
 [<c01b7bd0>] ? proc_reg_write+0x0/0x80
 [<c017ffd2>] ? sys_write+0x42/0x70
 [<c010325a>] ? syscall_call+0x7/0xb
 [<c0730000>] ? quirk_usb_early_handoff+0xb0/0x410
 =======================
Code: 7e 9c ff f0 fe 00 8b 45 04 e8 ad ea 9e ff 5d c3 8d 74 26 00 8d bc 27 00 00 00 00 55 89 e5 e8 f0 7d 9c ff 9c 59 fa ba 00 01 00 00 <f0> 66 0f c1 10 38 f2 74 06 f3 90 8a 10 eb f6 5d 89 c8 c3 8d b6 
EIP: [<c073c020>] _spin_lock_irqsave+0x10/0x30 SS:ESP 0068:ecf83ef4
---[ end trace 4a89a228f35c1749 ]---
BUG: unable to handle kernel NULL pointer dereference at 00000000
IP: [<c073c020>] _spin_lock_irqsave+0x10/0x30
*pde = 00000000 
Oops: 0002 [#16] SMP 
Modules linked in: ssb pcmcia pcmcia_core

Pid: 19309, comm: sh Tainted: G      D   (2.6.27.7-smp #2)
EIP: 0060:[<c073c020>] EFLAGS: 00010046 CPU: 0
EIP is at _spin_lock_irqsave+0x10/0x30
EAX: 00000000 EBX: f7e04000 ECX: 00000246 EDX: 00000100
ESI: 00000007 EDI: 00000020 EBP: eb5f1ef4 ESP: eb5f1ef4
 DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068
Process sh (pid: 19309, ti=eb5f0000 task=f7ea9810 task.ti=eb5f0000)
Stack: eb5f1f08 c059ff47 c059fee0 f5d6f800 00000020 eb5f1f48 c045df4e 00000000 
       ecfddb7c ecf7a000 00000000 00000007 00000000 00000000 b806e000 f5d6f800 
       b7f04590 ecf7a01f f783bf80 c045de40 fffffffb eb5f1f6c c01b7c2d eb5f1f9c 
Call Trace:
 [<c059ff47>] ? ata_scsi_user_scan+0x67/0x130
 [<c059fee0>] ? ata_scsi_user_scan+0x0/0x130
 [<c045df4e>] ? proc_scsi_write+0x10e/0x230
 [<c045de40>] ? proc_scsi_write+0x0/0x230
 [<c01b7c2d>] ? proc_reg_write+0x5d/0x80
 [<c017fa8b>] ? vfs_write+0x9b/0x130
 [<c01b7bd0>] ? proc_reg_write+0x0/0x80
 [<c017ffd2>] ? sys_write+0x42/0x70
 [<c010325a>] ? syscall_call+0x7/0xb
 [<c0730000>] ? quirk_usb_early_handoff+0xb0/0x410
 =======================
Code: 7e 9c ff f0 fe 00 8b 45 04 e8 ad ea 9e ff 5d c3 8d 74 26 00 8d bc 27 00 00 00 00 55 89 e5 e8 f0 7d 9c ff 9c 59 fa ba 00 01 00 00 <f0> 66 0f c1 10 38 f2 74 06 f3 90 8a 10 eb f6 5d 89 c8 c3 8d b6 
EIP: [<c073c020>] _spin_lock_irqsave+0x10/0x30 SS:ESP 0068:eb5f1ef4
---[ end trace 4a89a228f35c1749 ]---
Sorry if this is starting to get a bit off topic....
 
Old 12-19-2008, 02:43 PM   #17
mostlyharmless
Senior Member
 
Registered: Jan 2008
Distribution: Slackware -current (multilib) with kernel 3.16.2
Posts: 1,571
Blog Entries: 13

Rep: Reputation: 182Reputation: 182
any luck with 99s?

Quote:
1 Which means that I most likely will get the very samy result.
2 Therefore I will have to redo lilo.
3 GOTO 1.

Seems to be a "dynamic halt"... (synonym for "infinite loop")
Well, I think I prefer the "Hello world" kind of program. Seriously, if you can't get lilo to cooperate, you might give grub in /extras a whirl. Nice thing about it is that you don't have to keep reinstalling it everytime you fiddle with the kernel and initrd, which I find makes debugging the situation easier. Not that I have anything against LILO, used it for years!
 
Old 12-19-2008, 04:03 PM   #18
mostlyharmless
Senior Member
 
Registered: Jan 2008
Distribution: Slackware -current (multilib) with kernel 3.16.2
Posts: 1,571
Blog Entries: 13

Rep: Reputation: 182Reputation: 182
I've been wondering if this problem has anything to do with the /dev/root change that was mentioned in a number of other threads, particularly this one:

http://www.linuxquestions.org/questi...evroot-688189/
 
Old 12-19-2008, 09:09 PM   #19
gargamel
Senior Member
 
Registered: May 2003
Distribution: Slackware, SLAX, OpenSuSE
Posts: 1,629

Original Poster
Rep: Reputation: 142Reputation: 142
I don't see an indication that the /dev/root thing is my way, but I really don't know.
My recent "experiments" didn't solve the problem, however, here are my observations:

(1) New install including formatting / and /boot, following the README_CRYPT.TXT word by
from the point where the LVM setup is complete, including creation of initrd and switching
to generic SMP kernel, liloconfig and lilo. Reboot.
==> In fact I was asked to enter a LUKS passphrase. However, my USB keyboard wouldn't work...

(2) So once again boot with the install DVD, add USB support modules to initrd (uhci-hcd,
ehci-hcd,...), lilo. Reboot.
==> Kernel panic, RAID not working.

However, I noticed something strange. After a complete install like in (1) including
formatting the first run of mkinitrd reports more than 9000 blocks written, while running it
again and again it only reports 6500 blocks. Even when I remove the initrd-tree completely,
mkinitrd would only write about 6500 blocks. But after a full install it writes 9000 plus
blocks, it reports, exactly one time.

Then I downloaded the latest version 1.40 of mkinitrd-command-generator.sh. With some of my
attempts this created just about what I already had, but in my recent attempts it doesn't
"see" the RAID anymore. Weird!

Still stuck...

gargamel
 
Old 12-19-2008, 10:11 PM   #20
gargamel
Senior Member
 
Registered: May 2003
Distribution: Slackware, SLAX, OpenSuSE
Posts: 1,629

Original Poster
Rep: Reputation: 142Reputation: 142
SUCCESS!!!

The new mkinitrd 1.3.3 fixes the problem.

So it was really a software bug, not a PEBKAC.

gargamel
 
Old 12-21-2008, 09:20 PM   #21
mostlyharmless
Senior Member
 
Registered: Jan 2008
Distribution: Slackware -current (multilib) with kernel 3.16.2
Posts: 1,571
Blog Entries: 13

Rep: Reputation: 182Reputation: 182
Congratulations and good to know it can work. Maybe I'll get brave enough to try it; though at this point 12.1 has everything I need and 12.2 nothing extra that I want..
 
Old 12-22-2008, 11:48 AM   #22
gargamel
Senior Member
 
Registered: May 2003
Distribution: Slackware, SLAX, OpenSuSE
Posts: 1,629

Original Poster
Rep: Reputation: 142Reputation: 142
Thanks. Yes, 12.1 worked flawlessly here, once I had it up and running thanks to the great support
of the folks here. The most valuable part coming from Alien Bob --- thanks, Eric, once again!
Although he doesn't stop emphasizing that he is not here for holding hands, he and his mates in the
Slackware team (Robby Workman and some other people) are very helpful, just like Pat V. himself, too.
Indeed they didn't ever refuse to hold my hand, and I am very grateful for that!

As to 12.2, there's a lot of updates, I like to have, such as Mozilla Firefox 3.x (note that 2.0.20 is
supposed to be the last 2.0.x version of this browser, the 2.x branch will no longer be maintained).
But there some truth in the saying: "Never change a running system!"

Well, I did, and immediately had a reason to return to LQ.org...

So, thanks guys, for doing it again!

gargamel

Last edited by gargamel; 12-22-2008 at 11:50 AM.
 
Old 12-27-2008, 02:56 PM   #23
gargamel
Senior Member
 
Registered: May 2003
Distribution: Slackware, SLAX, OpenSuSE
Posts: 1,629

Original Poster
Rep: Reputation: 142Reputation: 142
I have just written an initial draft for a mini-Howto on this subject. Please review it and help me to improve it!
It's available here:

http://www.iverbi.de/slackware/RAID1...2_2_Howto.html
http://www.iverbi.de/slackware/RAID1...12_2_Howto.pdf

Best regards and thanks for all your feedback in advance,

gargamel
 
Old 12-29-2008, 02:00 PM   #24
rvo
Member
 
Registered: Sep 2008
Location: Paraguay
Distribution: Slackware
Posts: 31

Rep: Reputation: 15
Well done gargamel, I'll take a look, this is really useful :-)
 
Old 12-29-2008, 02:45 PM   #25
gargamel
Senior Member
 
Registered: May 2003
Distribution: Slackware, SLAX, OpenSuSE
Posts: 1,629

Original Poster
Rep: Reputation: 142Reputation: 142
Quote:
Originally Posted by rvo View Post
Well done gargamel, I'll take a look, this is really useful :-)
Good luck with this initial draft, and don't forget to
report back any errors or suggestions.

gargamel
 
Old 01-15-2009, 10:40 PM   #26
tmerriam
Member
 
Registered: Dec 2008
Distribution: slackware
Posts: 50

Rep: Reputation: 16
Yeah, that looks really good. I have a few minor suggestions though.

1. From experience, the modules needed for USB keyboards are *NOT* added automatically.

2. This is more of a suggestion, but perhaps you would like to include a note about multiple initrds? This is especially relevant if the user is going to be compiling their own kernels. mkinitrd will overwrite the initrd each time it is run, so there should be a unique one for each kernel entry, ie, the initrd for the default slackware 12.2 kernel should be copied to initrd.gz-2.6.27.7-smp. This can also be set with the -o switch to mkinitrd.
 
Old 01-16-2009, 05:40 PM   #27
gargamel
Senior Member
 
Registered: May 2003
Distribution: Slackware, SLAX, OpenSuSE
Posts: 1,629

Original Poster
Rep: Reputation: 142Reputation: 142
Thanks for your feedback!

1. Ok, I'll correct this. Although it once looked to me as if my USB keyboard was working although initrd did not provide modules to the kernel for it.

2. I understand your point, but the topic is already complex, and adding information on multiple initrd setups would make it even more complex and further reduce the number of potetntial readers...
Also I don't have time to try it out myself, at the moment. That's why I am a bit reluctant, here. What do others think?

gargamel
 
Old 01-16-2009, 06:23 PM   #28
gargamel
Senior Member
 
Registered: May 2003
Distribution: Slackware, SLAX, OpenSuSE
Posts: 1,629

Original Poster
Rep: Reputation: 142Reputation: 142
Just uploaded the second draft with minor corrections, looking forward to your feedback!
BTW, I am a non-native English speaker, so any language corrections or improvements would be most welcome, too!

gargamel

EDIT: For your convenience I add the links, again.

http://www.iverbi.de/slackware/RAID1...2_2_Howto.html
http://www.iverbi.de/slackware/RAID1...12_2_Howto.pdf

Last edited by gargamel; 01-21-2009 at 03:55 PM.
 
Old 01-23-2009, 09:12 PM   #29
tmerriam
Member
 
Registered: Dec 2008
Distribution: slackware
Posts: 50

Rep: Reputation: 16
'swap is not part of a RAID array...' Should be 'Swap...' (Capital S)

'At least, make a node into a tissue!' Should be 'At least, make a note on a tissue!'

'This command reads the configuration and do the same things as...' Should be 'This command reads the configuration and does the same things as...'

'But how, you may asked, do I...' Should be 'But how, you may ask, do I...'

Everything else looks great. Nice job.
 
Old 01-24-2009, 11:46 AM   #30
gargamel
Senior Member
 
Registered: May 2003
Distribution: Slackware, SLAX, OpenSuSE
Posts: 1,629

Original Poster
Rep: Reputation: 142Reputation: 142
Added the corrections, thanks!!!

http://www.iverbi.de/slackware/RAID1...2_2_Howto.html
http://www.iverbi.de/slackware/RAID1...12_2_Howto.pdf

gargamel

EDIT:
For a future version I plan to clean up the HTML code, currently generated by export from OOo.
Once the content is stable, that is. PDF output from OOo looks better.

Last edited by gargamel; 01-24-2009 at 12:39 PM.
 
  


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
[SOLVED] Slackware 12.1 + RAID 1 + LVM: Can't boot with or without encrypted filesystem gargamel Slackware 29 08-04-2011 07:19 AM
Recover encrypted LUKS partition itinlopez Linux - General 3 11-30-2008 03:20 AM
Slackware 12.1, LUKS, LVM on external HD. How? randomsel Slackware - Installation 7 06-26-2008 07:35 PM
Windows on LUKS LVM Post Slackware 12.1 Install -{Jester}- Slackware 4 05-23-2008 02:10 AM
LXer: Encrypted Root LVM LXer Syndicated Linux News 0 05-14-2008 02:00 PM


All times are GMT -5. The time now is 06:04 PM.

Main Menu
Advertisement
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