Re: Since we are talking USB

2010-03-17 Thread Bruce Dubbs
brown wrap wrote:
> 
> 
>> Get a copy of the kernel that Centos uses and rebuild that with the
>>  Centos configuration.
>> 
>> Alternatively, copy the Centos kernel to your LFS system.  You'll
>> also need to copy the entire /lib/modules/ tree.
>> 
>> -- Bruce
> 
> 
> What I did was get a copy of the CentOS config file, moved it over to
> the LFS system and then rebuilt the kernel. I thought I had tried
> that before, but didn't remember the result, other than the fact it
> wouldn't boot.
> 
> What happens is I get:
> 
> VFS: Cannot open root device "sda1" on unknown - block (0.)
> 
> Please append a correct "root=" boot option, here are the available
> options:
> 
> and then it panics.
>  
> Now I don't know much about building kernels, so I followed the
> directions in the book, didn't vary at all. One thing I will point
> out is the CentOS system uses initrd. I don't know where that is
> defined, maybe that the reason for the panic.

Right.  The initrd file is just a file in /boot.  Copy it over too and 
set up grub like:

kernel/boot/vmlinuz-2.6.20-16-generic ...
initrd/boot/initrd.img-2.6.20-16-generic

The problem there probably is that they don't have the filesystem 
drivers built into the kernel.

Use the Centos /boot/grub/menu.lst as a guide.

   -- Bruce
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: Since we are talking USB

2010-03-17 Thread brown wrap



> Get a copy of the kernel that Centos uses and rebuild that
> with the 
> Centos configuration.
> 
> Alternatively, copy the Centos kernel to your LFS
> system.  You'll also 
> need to copy the entire /lib/modules/
> tree.
> 
>    -- Bruce


What I did was get a copy of the CentOS config file, moved it over to the LFS 
system and then rebuilt the kernel. I thought I had tried that before, but 
didn't remember the result, other than the fact it wouldn't boot.

What happens is I get:

VFS: Cannot open root device "sda1" on unknown - block (0.)

Please append a correct "root=" boot option, here are the available options:



and then it panics.


Now I don't know much about building kernels, so I followed the directions in 
the book, didn't vary at all. One thing I will point out is the CentOS system 
uses initrd. I don't know where that is defined, maybe that the reason for the 
panic.




  
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: Since we are talking USB

2010-03-16 Thread Bruce Dubbs
brown wrap wrote:
> 
> 
>> I did some googling and there seem to be lots of reports of 
>> problems with Acer USB ports.
>> 
>> -- Bruce
> 
> I reposted the two files, but to revisit things, my USB ports work
> fine under Centos on the same machine, so I think its a matter of
> configuration.

Get a copy of the kernel that Centos uses and rebuild that with the 
Centos configuration.

Alternatively, copy the Centos kernel to your LFS system.  You'll also 
need to copy the entire /lib/modules/ tree.

   -- Bruce
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: Since we are talking USB

2010-03-16 Thread brown wrap



> I did some googling and there seem to be lots of reports of
> problems 
> with Acer USB ports.
> 
>    -- Bruce

I reposted the two files, but to revisit things, my USB ports work fine under 
Centos on the same machine, so I think its a matter of configuration.




  
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: Since we are talking USB

2010-03-16 Thread brown wrap
Yes, I didn't see that that, but that's the name:

-rw-r--r-- 1 root root 2137391 Mar 16 16:12 System.map-2.6.32.7

--- On Tue, 3/16/10, Chris Staub  wrote:

> From: Chris Staub 
> Subject: Re: Since we are talking USB
> To: "LFS Support List" 
> Date: Tuesday, March 16, 2010, 9:35 PM
> On 03/16/2010 11:56 PM, brown wrap
> wrote:
> > I was never able to resolve my USB problem. Here is
> the output of lspci -v:
> >
> >
> >
> > The system boots up, seems to recognize the USB ports,
> but then gets errors in the sys.log:
> >
> > http://pastebin.com/eKZ5GycV
> >
>  From sys.log...
> 
> #
> Inspecting /boot/System.map-2.6.32.7
> #
> Mar 16 20:29:51 guajome-dome kernel: Cannot find map file.
> 
> 
> The obvious question would be - is this what he .map file
> is actually 
> named? What's the output of "ls /boot"?
> -- 
> http://linuxfromscratch.org/mailman/listinfo/lfs-support
> FAQ: http://www.linuxfromscratch.org/lfs/faq.html
> Unsubscribe: See the above information page
> 


  
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: Since we are talking USB

2010-03-16 Thread Bruce Dubbs
brown wrap wrote:
> Bruce, I am not sure what you mean about the first two entries being
> incomplete. I just included the portion of lspci that pertained to
> USB.

The first link has 24 lines from the start of dmesg.  None refer to USB.

The second link has 24 lines from the config file.  None refer to USB.

I did some googling and there seem to be lots of reports of problems 
with Acer USB ports.

   -- Bruce
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: Since we are talking USB

2010-03-16 Thread Bruce Dubbs
Chris Staub wrote:
> On 03/16/2010 11:56 PM, brown wrap wrote:
>> I was never able to resolve my USB problem. Here is the output of lspci -v:
>>
>>
>>
>> The system boots up, seems to recognize the USB ports, but then gets errors 
>> in the sys.log:
>>
>> http://pastebin.com/eKZ5GycV
>>
>  From sys.log...
> 
> #
> Inspecting /boot/System.map-2.6.32.7
> #
> Mar 16 20:29:51 guajome-dome kernel: Cannot find map file.
> 
> 
> The obvious question would be - is this what he .map file is actually 
> named? What's the output of "ls /boot"?

Chris,
   I think we've gone through that before.  It is a message from klogd 
and is irrelevant here.

   -- Bruce
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: Since we are talking USB

2010-03-16 Thread Chris Staub
On 03/16/2010 11:56 PM, brown wrap wrote:
> I was never able to resolve my USB problem. Here is the output of lspci -v:
>
>
>
> The system boots up, seems to recognize the USB ports, but then gets errors 
> in the sys.log:
>
> http://pastebin.com/eKZ5GycV
>
 From sys.log...

#
Inspecting /boot/System.map-2.6.32.7
#
Mar 16 20:29:51 guajome-dome kernel: Cannot find map file.


The obvious question would be - is this what he .map file is actually 
named? What's the output of "ls /boot"?
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: Since we are talking USB

2010-03-16 Thread brown wrap
Bruce, I am not sure what you mean about the first two entries being 
incomplete. I just included the portion of lspci that pertained to USB.



--- On Tue, 3/16/10, Bruce Dubbs  wrote:

> From: Bruce Dubbs 
> Subject: Re: Since we are talking USB
> To: "LFS Support List" 
> Date: Tuesday, March 16, 2010, 9:15 PM
> brown wrap wrote:
> > I was never able to resolve my USB problem. Here is
> the output of lspci -v:
> > 
> > 
> > 
> > 00:04.0 USB Controller: nVidia Corporation GeForce
> 7100/nForce 630i USB (rev a1) (prog-if 10 [OHCI])
> >     Subsystem: Acer Incorporated [ALI]
> Device 0137
> >     Flags: bus master, 66MHz, fast
> devsel, latency 0, IRQ 20
> >     Memory at fea7f000 (32-bit,
> non-prefetchable) [size=4K]
> >     Capabilities: [44] Power Management
> version 2
> >     Kernel driver in use: ohci_hcd
> >     Kernel modules: ohci-hcd
> > 
> > 00:04.1 USB Controller: nVidia Corporation MCP73
> [nForce 630i] USB 2.0 Controller (EHCI) (rev a1) (prog-if 20
> [EHCI])
> >     Subsystem: Acer Incorporated [ALI]
> Device 0137
> >     Flags: bus master, 66MHz, fast
> devsel, latency 0, IRQ 23
> >     Memory at fea7ec00 (32-bit,
> non-prefetchable) [size=256]
> >     Capabilities: [44] Debug port:
> BAR=1 offset=0098
> >     Capabilities: [80] Power Management
> version 2
> >     Kernel driver in use: ehci_hcd
> >     Kernel modules: ehci-hcd
> > 
> > The system boots up, seems to recognize the USB ports,
> but then gets errors in the sys.log:
> > 
> > http://pastebin.com/eKZ5GycV
> > 
> > Here is my current config file:
> > 
> > http://pastebin.com/03FY0zwc
> > 
> > And finally here is the entire output of lspci:
> > 
> > http://pastebin.com/GtT6iUqb
> > 
> > Anyone see anything?
> 
> The first two submissions are incomplete.
> 
>    -- Bruce
> -- 
> http://linuxfromscratch.org/mailman/listinfo/lfs-support
> FAQ: http://www.linuxfromscratch.org/lfs/faq.html
> Unsubscribe: See the above information page
> 


  
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: Since we are talking USB

2010-03-16 Thread Bruce Dubbs
brown wrap wrote:
> I was never able to resolve my USB problem. Here is the output of lspci -v:
> 
> 
> 
> 00:04.0 USB Controller: nVidia Corporation GeForce 7100/nForce 630i USB (rev 
> a1) (prog-if 10 [OHCI])
>   Subsystem: Acer Incorporated [ALI] Device 0137
>   Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 20
>   Memory at fea7f000 (32-bit, non-prefetchable) [size=4K]
>   Capabilities: [44] Power Management version 2
>   Kernel driver in use: ohci_hcd
>   Kernel modules: ohci-hcd
> 
> 00:04.1 USB Controller: nVidia Corporation MCP73 [nForce 630i] USB 2.0 
> Controller (EHCI) (rev a1) (prog-if 20 [EHCI])
>   Subsystem: Acer Incorporated [ALI] Device 0137
>   Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 23
>   Memory at fea7ec00 (32-bit, non-prefetchable) [size=256]
>   Capabilities: [44] Debug port: BAR=1 offset=0098
>   Capabilities: [80] Power Management version 2
>   Kernel driver in use: ehci_hcd
>   Kernel modules: ehci-hcd
> 
> The system boots up, seems to recognize the USB ports, but then gets errors 
> in the sys.log:
> 
> http://pastebin.com/eKZ5GycV
> 
> Here is my current config file:
> 
> http://pastebin.com/03FY0zwc
> 
> And finally here is the entire output of lspci:
> 
> http://pastebin.com/GtT6iUqb
> 
> Anyone see anything?

The first two submissions are incomplete.

   -- Bruce
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Since we are talking USB

2010-03-16 Thread brown wrap
I was never able to resolve my USB problem. Here is the output of lspci -v:



00:04.0 USB Controller: nVidia Corporation GeForce 7100/nForce 630i USB (rev 
a1) (prog-if 10 [OHCI])
Subsystem: Acer Incorporated [ALI] Device 0137
Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 20
Memory at fea7f000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [44] Power Management version 2
Kernel driver in use: ohci_hcd
Kernel modules: ohci-hcd

00:04.1 USB Controller: nVidia Corporation MCP73 [nForce 630i] USB 2.0 
Controller (EHCI) (rev a1) (prog-if 20 [EHCI])
Subsystem: Acer Incorporated [ALI] Device 0137
Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 23
Memory at fea7ec00 (32-bit, non-prefetchable) [size=256]
Capabilities: [44] Debug port: BAR=1 offset=0098
Capabilities: [80] Power Management version 2
Kernel driver in use: ehci_hcd
Kernel modules: ehci-hcd

The system boots up, seems to recognize the USB ports, but then gets errors in 
the sys.log:

http://pastebin.com/eKZ5GycV

Here is my current config file:

http://pastebin.com/03FY0zwc

And finally here is the entire output of lspci:

http://pastebin.com/GtT6iUqb

Anyone see anything?




  
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page