Re: [gentoo-user] hardware autodetection at boot

2008-06-02 Thread Pawel K
gt; Yes. You need to compile the drivers for your hard disc, hard disc 
controller 
gt; and root filesystem into the kernel, not as modules. Otherwise the kernel 
gt; can't access the hardware to load the drivers it needs.

While it is easy to find the kernel configuration entry for ext3 it is not so 
easy to find the one for my disk controller.
I used some hardware detection tools to grab the information about my hardware.
It shows the following information about my IDE controller:

nbsp;nbsp;nbsp; description: IDE interface
nbsp;nbsp;nbsp; product: 82801BA IDE U100 Controller
nbsp;nbsp;nbsp; vendor: Intel Corporation
nbsp;nbsp;nbsp; physical id: 1f.1
nbsp;nbsp;nbsp; bus info: [EMAIL PROTECTED]:00:1f.1
nbsp;nbsp;nbsp; version: 05
nbsp;nbsp;nbsp; width: 32 bits
nbsp;nbsp;nbsp; clock: 33MHz
nbsp;nbsp;nbsp; capabilities: ide bus_master
nbsp;nbsp;nbsp; configuration: driver=PIIX_IDE latency=0

nbsp;nbsp;nbsp; 00:1f.1 IDE interface: Intel Corporation 82801BA IDE U100 
Controller (rev 05)

What kernel configuration should I set up for my controller.
I cannot see the PIIX_IDE in my kernel.

The best option for me would be to compile the kernel with everything build-in.
Then to run a tool that generates the minimal kernel configuration for my 
system.
Compile the kernel again with my minimal kernel .config file and start using 
it.
Is it possible ?
If so how can I do that ?

thanks for help



  

Re: [gentoo-user] hardware autodetection at boot

2008-06-02 Thread Neil Bothwick
On Mon, 2 Jun 2008 02:12:39 -0700 (PDT), Pawel K wrote:

 What kernel configuration should I set up for my controller.
 I cannot see the PIIX_IDE in my kernel.

Try ATA_PIIX. Type /piix while in make menuconfig to see the
possibilities.


-- 
Neil Bothwick

Everybody needs a little love sometime; stop hacking and fall in love!


signature.asc
Description: PGP signature


Re: [gentoo-user] hardware autodetection at boot

2008-06-02 Thread Iain Buchanan
Hi,

On Mon, 2008-06-02 at 02:12 -0700, Pawel K wrote:

 What kernel configuration should I set up for my controller.
 I cannot see the PIIX_IDE in my kernel.
 
 The best option for me would be to compile the kernel with everything 
 build-in.
 Then to run a tool that generates the minimal kernel configuration for my 
 system.
 Compile the kernel again with my minimal kernel .config file and start 
 using it.

No, too complicated!

 Is it possible ?
 If so how can I do that ?
 
 thanks for help

don't change everything at once!  You risk jumping from a non-working
solution to a non-working solution, then giving up!  Just try the couple
of options suggested - you'll probably get it working soon.

hth,
-- 
Iain Buchanan iaindb at netspace dot net dot au

I found Rome a city of bricks and left it a city of marble.
-- Augustus Caesar

-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] hardware autodetection at boot

2008-06-02 Thread Neil Bothwick
On Tue, 03 Jun 2008 08:59:10 +0930, Iain Buchanan wrote:

 don't change everything at once!  You risk jumping from a non-working
 solution to a non-working solution, then giving up!  Just try the couple
 of options suggested - you'll probably get it working soon.

If that doesn't work, enable them all and then remove a few at a time
until it stops working. You can then boot from a working kernel by using
vmlinuz.old, provided you install kernels with make install.


-- 
Neil Bothwick

Computer apathy error: don't bother striking any key.


signature.asc
Description: PGP signature


[gentoo-user] hardware autodetection at boot

2008-05-29 Thread Pawel K
Hello
How can I force Gentoo to detect hardware at boot time.
Is it enough to compile the kernel with automatic module loading option ?
or should I install additional tools e.g. kudzu ?

thanks for help
   

Re: [gentoo-user] hardware autodetection at boot

2008-05-29 Thread Andrey Falko
On Thu, May 29, 2008 at 9:18 AM, Pawel K [EMAIL PROTECTED] wrote:
 Hello
 How can I force Gentoo to detect hardware at boot time.
 Is it enough to compile the kernel with automatic module loading option ?
 or should I install additional tools e.g. kudzu ?

 thanks for help

udev and the automatic module loading option should be sufficient,
given that you have all of the proper modules compiled.
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] hardware autodetection at boot

2008-05-29 Thread Pawel K
I compiled the kernel with all modules:

make allmodconfig
make
make modules_install

I have udev running on my machine since more than a year.
I created the following section in grub.conf:

title vanilla-all-modules
  root (hd0,0)
  kernel /boot/kernel-all-modules root=/dev/hda1

The kernel is unable to mount my ext3 root filesystem.
It shows the following message:
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0).

(hd0,0) is correct since I copied it from my daily grub section.
I have ext3.ko in the following path:
/lib/modules/2.6.24.3/kernel/fs/ext3/ext3.ko

Could you give me some indications of how to solve this problem.

Thanks in advance

Andrey Falko [EMAIL PROTECTED] wrote: On Thu, May 29, 2008 at 9:18 AM, Pawel 
K 
 wrote:
 Hello
 How can I force Gentoo to detect hardware at boot time.
 Is it enough to compile the kernel with automatic module loading option ?
 or should I install additional tools e.g. kudzu ?

 thanks for help

udev and the automatic module loading option should be sufficient,
given that you have all of the proper modules compiled.
-- 
gentoo-user@lists.gentoo.org mailing list



 
   

Re: [gentoo-user] hardware autodetection at boot

2008-05-29 Thread Anthony Metcalf

Pawel K wrote:

I compiled the kernel with all modules:

make allmodconfig
make
make modules_install

I have udev running on my machine since more than a year.
I created the following section in grub.conf:

title vanilla-all-modules
  root (hd0,0)
  kernel /boot/kernel-all-modules root=/dev/hda1

The kernel is unable to mount my ext3 root filesystem.
It shows the following message:
Kernel panic - not syncing: VFS: Unable to mount root fs on 
unknown-block(0,0).


(hd0,0) is correct since I copied it from my daily grub section.
I have ext3.ko in the following path:
/lib/modules/2.6.24.3/kernel/fs/ext3/ext3.ko

Could you give me some indications of how to solve this problem.

Thanks in advance

*//*
/*make allmodconfig will make everything it can as a module, including 
the filesystems.you need the ext3 built in to mount the root filesystem.


my advise would be to make menuconfig after you have done make all 
config, and change the ext3 from mto * (i.e. built in, not modular), 
then make  make modules_install



*/


Re: [gentoo-user] hardware autodetection at boot

2008-05-29 Thread Uwe Thiem
On Thursday 29 May 2008, Pawel K wrote:
 I compiled the kernel with all modules:

 make allmodconfig
 make
 make modules_install

 I have udev running on my machine since more than a year.
 I created the following section in grub.conf:

 title vanilla-all-modules
   root (hd0,0)
   kernel /boot/kernel-all-modules root=/dev/hda1

 The kernel is unable to mount my ext3 root filesystem.
 It shows the following message:
 Kernel panic - not syncing: VFS: Unable to mount root fs on
 unknown-block(0,0).

 (hd0,0) is correct since I copied it from my daily grub section.
 I have ext3.ko in the following path:
 /lib/modules/2.6.24.3/kernel/fs/ext3/ext3.ko

 Could you give me some indications of how to solve this problem.

The driver for the root filesystem must be built into the kernel (not 
as a module) unless you use an initramfs that loads the modul before 
the kernel/init take over.

Uwe

-- 
Ignorance killed the cat, sir, curiosity was framed!
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] hardware autodetection at boot

2008-05-29 Thread John covici
on Thursday 05/29/2008 Pawel K([EMAIL PROTECTED]) wrote
  I compiled the kernel with all modules:
  
  make allmodconfig
  make
  make modules_install
  
  I have udev running on my machine since more than a year.
  I created the following section in grub.conf:
  
  title vanilla-all-modules
root (hd0,0)
kernel /boot/kernel-all-modules root=/dev/hda1
  
  The kernel is unable to mount my ext3 root filesystem.
  It shows the following message:
  Kernel panic - not syncing: VFS: Unable to mount root fs on 
  unknown-block(0,0).
  
  (hd0,0) is correct since I copied it from my daily grub section.
  I have ext3.ko in the following path:
  /lib/modules/2.6.24.3/kernel/fs/ext3/ext3.ko
  
  Could you give me some indications of how to solve this problem.
  

You need an initrd as well and I did not see one in your grub stanza
-- if you generated one, put it in /boot and in the stanza, otherwise
be sure to generate one using genkernel.

Hope this helps.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici
 [EMAIL PROTECTED]
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] hardware autodetection at boot

2008-05-29 Thread Nicolas Sebrecht
Pawel K [EMAIL PROTECTED] a écrit:

 Could you give me some indications of how to solve this problem.

genkernel ?

-- 
Nicolas Sebrecht

-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] hardware autodetection at boot

2008-05-29 Thread Dirk Heinrichs
Am Donnerstag, 29. Mai 2008 schrieb Pawel K:
 I compiled the kernel with all modules:

 make allmodconfig
 make
 make modules_install

 I have udev running on my machine since more than a year.
 I created the following section in grub.conf:

 title vanilla-all-modules
   root (hd0,0)
   kernel /boot/kernel-all-modules root=/dev/hda1

 The kernel is unable to mount my ext3 root filesystem.
 It shows the following message:
 Kernel panic - not syncing: VFS: Unable to mount root fs on
 unknown-block(0,0).

 (hd0,0) is correct since I copied it from my daily grub section.
 I have ext3.ko in the following path:
 /lib/modules/2.6.24.3/kernel/fs/ext3/ext3.ko

 Could you give me some indications of how to solve this problem.

Yes. You need to compile the drivers for your hard disc, hard disc controller 
and root filesystem into the kernel, not as modules. Otherwise the kernel 
can't access the hardware to load the drivers it needs.

HTH...

Dirk


signature.asc
Description: This is a digitally signed message part.