Kernel panic - VFS

2010-03-21 Thread Yaacov-Yoseph Weiss
I installed lfs (around the time of one of the 6.6 release candidates)
on an old Compaq laptop using jhalfs. After completing the configuration
(from the current 6.6 release), I tried to boot the new system and
received a kernel panic saying it could not mount the root filesystem.

I'll try to provide relevant details here. If any more are requested, I'll
provide them.

I'll give information by answering the FAQ question/answers to this
question.

-- Did you specify the correct partition in /boot/grub/menu.lst?

I think so. The lfs partition is /dev/sda5, which is (hd0,4) on grub
and (hd0,5) on grub2. grub can successfully boot grub2 from this
partition.

By the way, the configuration file name for grub2 isn't menu.lst
any more.

-- Is support for the hard drive enabled in the kernel. For SCSI
this means support for the specific SCSI adapter.

Yes.  I specifically made sure the CONFIG_BLK_DEV_SD option
mentioned in the list archive was enabled.

-- Is support for the hard drive compiled into the kernel, not just
as a module. (Modules are stored on the filesystem. If a driver
needed to access the filesystem is stored as a module on
that filesystem, well ... you know ... ;)

I added CONFIG_PATA_VIA, and that did not help.

-- Is support for the filesystem compiled into the kernel. Again,
not a module. Support for ext2 is enabled by default, but others
like ext3, reiser, jfs, and xfs are not.

The filesystem is ext3, which is enabled (and is by default). I
also added ext2 which isn't enabled by default anymore.


I assume I missed something which should be obvious.

Thank you for you help,

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


Re: Kernel panic - VFS

2010-03-21 Thread Andrew Benton
On 21/03/10 13:10, Yaacov-Yoseph Weiss wrote:
 I installed lfs (around the time of one of the 6.6 release candidates)
 on an old Compaq laptop using jhalfs. After completing the configuration
 (from the current 6.6 release), I tried to boot the new system and
 received a kernel panic saying it could not mount the root filesystem.

 I'll try to provide relevant details here. If any more are requested, I'll
 provide them.

 I'll give information by answering the FAQ question/answers to this
 question.

 -- Did you specify the correct partition in /boot/grub/menu.lst?

 I think so. The lfs partition is /dev/sda5, which is (hd0,4) on grub
 and (hd0,5) on grub2. grub can successfully boot grub2 from this
 partition.

 By the way, the configuration file name for grub2 isn't menu.lst
 any more.

 -- Is support for the hard drive enabled in the kernel. For SCSI
 this means support for the specific SCSI adapter.

 Yes.  I specifically made sure the CONFIG_BLK_DEV_SD option
 mentioned in the list archive was enabled.

 -- Is support for the hard drive compiled into the kernel, not just
 as a module. (Modules are stored on the filesystem. If a driver
 needed to access the filesystem is stored as a module on
 that filesystem, well ... you know ... ;)

 I added CONFIG_PATA_VIA, and that did not help.

 -- Is support for the filesystem compiled into the kernel. Again,
 not a module. Support for ext2 is enabled by default, but others
 like ext3, reiser, jfs, and xfs are not.

 The filesystem is ext3, which is enabled (and is by default). I
 also added ext2 which isn't enabled by default anymore.


 I assume I missed something which should be obvious.


Perhaps you didn't enable support for the motherboards chipset or something 
else on
which CONFIG_PATA_VIA depends? If I were you I'd enable support for lots of 
things that
may, possibly be needed and compile them all into the kernel. Use lspci as a 
guide and
on you host system use lsmod to see which modules it has loaded (compile them 
into the
kernel as well). When you've got a kernel that boots, then you can start 
turning off
options to see what isn't needed or can be compiled as a module. If you break 
something,
back up to the last kernel that booted and try again.

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


Re: xorg-glxgears

2010-03-21 Thread Andrew Benton
On 21/03/10 12:24, Baho Utot wrote:

 Yes I have solved one of the problems, (Yea) I missed this for MesaLib,
 I found the error when I went to recompile mesalib per your instructions.

 After fixing MesaLib and recompiling all the affected packages glxinfo
 now says:

 name of display: :0.0
 display: :0  screen: 0
 direct rendering: Yes
 server glx vendor string: SGI
 server glx version string: 1.2
 server glx extensions:

 OpenGL vendor string: Advanced Micro Devices, Inc.
 OpenGL renderer string: Mesa DRI R600 (RV730 9490) 20090101
 x86/MMX+/3DNow!+/SSE2 TCL
 OpenGL version string: 1.4 Mesa 7.6

Cool

 I still have a problem with glxgears
 Trying to run glxgears I get

 drmRadeonCmdBuffer: -22. Kernel failed to parse or rejected command
 stream. See dmesg for more info.
 Is this saying I am missing some thing in the kernel configuration or is
 it a permission problem

My guess is it's a problem with your kernel config. Did you enable radeon drm?
CONFIG_DRM_RADEON=y

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


Which chipset for USB?

2010-03-21 Thread brown wrap


I have given up on the NVidia chipset and trying to get a kernel built that 
supports USB. I am now going to buy a PCI board, but don't want to go through 
this hassel again. I notice NEC and VIA chipsets on PCI boards. Which is more 
widelt supported? Thank you. 


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


Re: Which chipset for USB?

2010-03-21 Thread Andrew Benton
On 21/03/10 15:14, brown wrap wrote:


 I have given up on the NVidia chipset and trying to get a kernel built that 
 supports USB. I am now going to buy a PCI board, but don't want to go through 
 this hassel again. I notice NEC and VIA chipsets on PCI boards. Which is more 
 widelt supported? Thank you.

Linux runs on anything. There is very little hardware that is not supported. 
Clearly it
supports the hardware you have at the moment because your host system runs on 
it.

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


RE: Which chipset for USB?

2010-03-21 Thread Gastón Cadenasso

Sorry about my english!
I have tested a lot of VIA chipsets on PCI Boards and always works fine, but i 
don't know about NEC

 Date: Sun, 21 Mar 2010 08:14:22 -0700
 From: gra...@yahoo.com
 Subject: Which chipset for USB?
 To: lfs-support@linuxfromscratch.org
 
 
 
 I have given up on the NVidia chipset and trying to get a kernel built that 
 supports USB. I am now going to buy a PCI board, but don't want to go through 
 this hassel again. I notice NEC and VIA chipsets on PCI boards. Which is more 
 widelt supported? Thank you. 
 
 
   
 -- 
 http://linuxfromscratch.org/mailman/listinfo/lfs-support
 FAQ: http://www.linuxfromscratch.org/lfs/faq.html
 Unsubscribe: See the above information page
  
_
Recibe en tu móvil un SMS con tu Hotmail recibido. ¡Date de alta ya!
http://serviciosmoviles.es.msn.com/-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: Which chipset for USB?

2010-03-21 Thread brown wrap
Well, I have tried dozens of configurations to try and get my USB ports to work 
and nothing has succeeded. There is a config that works, because my USB ports 
work on CentOS, but I am tired of fighting the issue. I simply want a 
recommendation on a chipset or PCI board that works under LFS.

--- On Sun, 3/21/10, Andrew Benton b3n...@gmail.com wrote:

 From: Andrew Benton b3n...@gmail.com
 Subject: Re: Which chipset for USB?
 To: lfs-support@linuxfromscratch.org
 Date: Sunday, March 21, 2010, 9:49 AM
 On 21/03/10 15:14, brown wrap wrote:
 
 
  I have given up on the NVidia chipset and trying to
 get a kernel built that supports USB. I am now going to buy
 a PCI board, but don't want to go through this hassel again.
 I notice NEC and VIA chipsets on PCI boards. Which is more
 widelt supported? Thank you.
 
 Linux runs on anything. There is very little hardware that
 is not supported. Clearly it
 supports the hardware you have at the moment because your
 host system runs on it.
 
 Andy
 -- 
 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: Which chipset for USB?

2010-03-21 Thread William Immendorf
On Sun, Mar 21, 2010 at 12:02 PM, Gastón Cadenasso
g_cadena...@hotmail.com wrote:
 Sorry about my english!
 I have tested a lot of VIA chipsets on PCI Boards and always works fine, but
 i don't know about NEC
Look in Device Drivers--USB Support, and there are lots of host
controllers there, but the ones that you might want to enable are:

 * OHCI or UHCI depending on your USB controller. You can find that
out by running lspci (from PCI Utils), and one of the lines should be
you USB controller, and it should say either OHCI or UHCI on that
line. Intel and VIA boards use UHCI, all of the rest use OHCI. These
are for USB 1.1.
 * ECHI, for USB 2.0. Lots of devices now are USB 2.0 devices, and
your motherboard should support EHCI, unless it's a pre-2004
motherboard.
 * xHCI, for USB 3.0. Yes, it's out there (right now, the driver is
experimental), but it's not very widespread for now (the only
motherboards that I know of that support USB 3.0 are very recent
Gigabyte Tec. motherboards, ie: the ones that advertise USB 3.0 on the
box), but if you have one of these newer Gigabyte boards, I'd say to
enable it, you'll thank youself later in the future.

Hope you find my info helpful.

-- 
William Immendorf
The ultimate in free computing.
Messages in plain text, please, no HTML.
GPG key ID: 1697BE98
If it's not signed, it's not from me.

--

Every nonfree program has a lord, a master --
and if you use the program, he is your master.  Richard Stallman
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


RE: Which chipset for USB?

2010-03-21 Thread brown wrap


From: Gastón Cadenasso g_cadena...@hotmail.com
Subject: RE: Which chipset for USB?
To: lfs-support@linuxfromscratch.org
Date: Sunday, March 21, 2010, 10:02 AM




Sorry about my english!
I have tested a lot of VIA chipsets on PCI Boards and always works fine, but i 
don't know about NEC

Well, I went down to the local Staples and purchased a USB board. The board has 
NEC chips. I got rid of the errors I had been seeing with IRQs, but still no 
USB. BTW, as a reminder, none of my input devices work. Not even a PS/2 mouse 
an a serial keyboard. In even for a solution, I discovered someone who had a 
problem with Knoppix. IT reminded me this machine acts the same way under 
Knoppix, but as stated before, runs fine under CentOS. I tried using the CentOS 
config yesterday and it doesn't even boot up. Get a panic, so I won't persue 
that route.

I'd be happy to get any keyboard and mouse to work. Here is a link to the 
Knoppix problem, where none of the input devices work: I used a Knoppix dvd 
that arrived with the Linux Magazine a while back.

I started looking into this again because I want to bring up KDE.



http://www.knoppix.net/forum/viewtopic.php?t=30497



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