LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 03-20-2010, 09:13 PM   #31
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Linux 11 (Bullseye)
Posts: 3,407

Rep: Reputation: 141Reputation: 141

I guess I haven't been able to help much. Good luck!
 
Old 03-20-2010, 09:15 PM   #32
brownwrap
Member
 
Registered: Jan 2010
Posts: 121

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by Quakeboy02 View Post
I guess I haven't been able to help much. Good luck!
OK, thanks. I can log into the machine for now via the net, just not with a keyboard.
 
Old 03-21-2010, 08:50 AM   #33
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716
Blog Entries: 3

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
Quote:
I am using linuxfromsratch. I already posted the output of 'uname -r
I am very sorry I thought this was a centos O/S . not LFS.
this could be a init problem. look at your startup scripts.
make sure udev is install and hotplug. bothe enabled.
these programs read the proc insmod the modules and hal sets the rules.
make sure the /etc/group has plugdev. and also your /etc/gshadow
other wise the stuff will load into the kernel but you will never get to use it.

Last edited by Drakeo; 03-21-2010 at 09:05 AM.
 
Old 03-21-2010, 09:32 PM   #34
brownwrap
Member
 
Registered: Jan 2010
Posts: 121

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by Drakeo View Post
I am very sorry I thought this was a centos O/S . not LFS.
this could be a init problem. look at your startup scripts.
make sure udev is install and hotplug. bothe enabled.
these programs read the proc insmod the modules and hal sets the rules.
make sure the /etc/group has plugdev. and also your /etc/gshadow
other wise the stuff will load into the kernel but you will never get to use it.
Actually there are only TWO modules that loaded:

gcr [ /dev/input ]$ lsmod
Module Size Used by
ohci_hcd 19241 0
ehci_hcd 30605 0
gcr [ /dev/input ]$


I am now researching the other points you brought up.
 
Old 03-21-2010, 10:06 PM   #35
brownwrap
Member
 
Registered: Jan 2010
Posts: 121

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by Drakeo View Post
I am very sorry I thought this was a centos O/S . not LFS.
this could be a init problem. look at your startup scripts.
make sure udev is install and hotplug. bothe enabled.
these programs read the proc insmod the modules and hal sets the rules.
make sure the /etc/group has plugdev. and also your /etc/gshadow
other wise the stuff will load into the kernel but you will never get to use it.
I found the udev in the startup scripts, did not find plugdev in group or shadow group. I also didn't find hotplug. I found 'fxload' on Sourceforge that says it handles hotplug device, but that doesn't explain why my PS/2 mouse or old serial keyboard doesn't work.
 
Old 03-22-2010, 03:06 PM   #36
brownwrap
Member
 
Registered: Jan 2010
Posts: 121

Original Poster
Rep: Reputation: 16
This morning I decided to boot the LinuxFromScratch DVD. I wanted to see what modules were loaded. Here is the output of my lsmod:
Module Size Used by
ohci_hcd 19241 0
ehci_hcd 30605 0

Here is the output of the LFS DVD that works:

Module Size Used by
usbhid 32704 0
ext3 118664 2
jbd 69360 1 ext3
psmouse 46620 0
pcspkr 4864 0
ext2 56584 1
isofs 39780 1
zlib_inflate 17024 1 isofs
sg 37800 0
sr_mod 19492 1
cdrom 42152 1 sr_mod
sd_mod 29568 3
ohci1394 39240 0
ahci 27140 3
ohci_hcd 25220 0
ehci_hcd 37004 0
sata_sil24 18052 0
libata 141456 2 ahci,sata_sil24
ieee1394 109912 1 ohci1394
usbcore 153776 4 usbhid,ohci_hcd,ehci_hcd
amd74xx 17584 0 [permanent]
ide_core 160784 1 amd74xx


My problem is I don't know how to make the one-to-one correspondence. As an example what do I select to get ohci1394?
 
Old 03-22-2010, 04:12 PM   #37
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Linux 11 (Bullseye)
Posts: 3,407

Rep: Reputation: 141Reputation: 141
Why don't you use the .config from the LFS DVD if that works properly?
 
Old 03-22-2010, 04:17 PM   #38
brownwrap
Member
 
Registered: Jan 2010
Posts: 121

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by Quakeboy02 View Post
Why don't you use the .config from the LFS DVD if that works properly?
I did, and it got a panic. I have a working config on Centos from the same machine, and it paniced as well. I think the format of the config file has chnged. I looked at the text files and they are quite different.
 
Old 03-22-2010, 04:20 PM   #39
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Linux 11 (Bullseye)
Posts: 3,407

Rep: Reputation: 141Reputation: 141
Quote:
Originally Posted by brownwrap View Post
I did, and it got a panic. I have a working config on Centos from the same machine, and it paniced as well. I think the format of the config file has chnged. I looked at the text files and they are quite different.
What specifically changed? Give some examples.
 
Old 03-22-2010, 04:33 PM   #40
brownwrap
Member
 
Registered: Jan 2010
Posts: 121

Original Poster
Rep: Reputation: 16
Here is a working config file for LinuxFromScratch:

http://pastebin.com/HbH5CeSK


Here is a copy of the kernel I build :

http://pastebin.com/vPCYv1ye
 
Old 03-22-2010, 04:41 PM   #41
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Linux 11 (Bullseye)
Posts: 3,407

Rep: Reputation: 141Reputation: 141
I'm not going to do your work for you. What do YOU think is different between those two in terms of format?
 
Old 03-22-2010, 04:47 PM   #42
brownwrap
Member
 
Registered: Jan 2010
Posts: 121

Original Poster
Rep: Reputation: 16
There is plent that different. The output of lsmod on the working kerenal has ohci1394, the none working kernel does not. The two config files look radically different to me, so I am wondering if the format has changed.
 
Old 03-22-2010, 04:50 PM   #43
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Linux 11 (Bullseye)
Posts: 3,407

Rep: Reputation: 141Reputation: 141
I give up. Maybe someone else can find a way to help you. I'm done with this thread.
 
Old 03-22-2010, 04:55 PM   #44
brownwrap
Member
 
Registered: Jan 2010
Posts: 121

Original Poster
Rep: Reputation: 16
Good.
 
Old 03-23-2010, 04:55 AM   #45
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716
Blog Entries: 3

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
please move this thread to LFS.
 
1 members found this post helpful.
  


Reply



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
Fedora on Acer Aspire M5641 citibk Linux - Laptop and Netbook 1 02-12-2009 07:57 PM
.config on an Acer TM8202 Aldebaran Linux - Laptop and Netbook 0 10-08-2006 02:08 PM
config xorg for Acer c100 tablet device bb002 Linux - Software 1 10-03-2005 01:50 AM
I have an XF86 config file for video, how do I turn it into XORG config lowpingnoob Linux - Newbie 18 06-12-2005 12:07 PM
Lan Config file / internet config file Raven_X_Neo Linux - Networking 1 10-30-2002 01:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 12:29 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
Open Source Consulting | Domain Registration