* [Buildroot] hardware detection
@ 2007-03-14 3:04 Stefan Feilmeier
2007-03-14 10:08 ` Bernhard Fischer
0 siblings, 1 reply; 4+ messages in thread
From: Stefan Feilmeier @ 2007-03-14 3:04 UTC (permalink / raw)
To: buildroot
Hello.
First of all buildroot is a really useful tool and we use it to build
the initial system for our install cd. The only problem is that I am
stuck on hardware detection. I am trying to store my kernel modules on
the cd and mount it during boot process to keep my initrd small. Modules
for the cdrom drive are compiled into the kernel. This is what I do
currently:
1. Boot initrd
2. /etc/init.d/S10udev starts udev and populates /dev
3. Mount cdrom(s) on /mnt/cdrom/
4. Mount --bind /lib/modules
Till here everything works just fine and the modules are accessible
in /lib/modules. Now I try to run `udevtrigger` but it doesn't detect my
network card. Loading the module manually with `modprobe pcnet32` works
fine. I am trying this in a VMware virtual machine.
Does anybody have a hint for me?
Regards,
Stefan
DeepRoot Linux
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] hardware detection
2007-03-14 3:04 [Buildroot] hardware detection Stefan Feilmeier
@ 2007-03-14 10:08 ` Bernhard Fischer
2007-03-14 10:25 ` Stefan Feilmeier
0 siblings, 1 reply; 4+ messages in thread
From: Bernhard Fischer @ 2007-03-14 10:08 UTC (permalink / raw)
To: buildroot
On Wed, Mar 14, 2007 at 08:34:59AM +0530, Stefan Feilmeier wrote:
>Hello.
>
>First of all buildroot is a really useful tool and we use it to build
>the initial system for our install cd. The only problem is that I am
>stuck on hardware detection. I am trying to store my kernel modules on
>the cd and mount it during boot process to keep my initrd small. Modules
>for the cdrom drive are compiled into the kernel. This is what I do
>currently:
>
>1. Boot initrd
>2. /etc/init.d/S10udev starts udev and populates /dev
>3. Mount cdrom(s) on /mnt/cdrom/
>4. Mount --bind /lib/modules
>
>Till here everything works just fine and the modules are accessible
>in /lib/modules. Now I try to run `udevtrigger` but it doesn't detect my
>network card. Loading the module manually with `modprobe pcnet32` works
>fine. I am trying this in a VMware virtual machine.
>
>Does anybody have a hint for me?
1) delete udev and use busybox's mdev instead
2) echo alias eth0 pcnet32 >> /etc/modprobe.conf; ifup eth0
or something to that effect.
HTH,
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] hardware detection
2007-03-14 10:08 ` Bernhard Fischer
@ 2007-03-14 10:25 ` Stefan Feilmeier
2007-03-14 10:35 ` Bernhard Fischer
0 siblings, 1 reply; 4+ messages in thread
From: Stefan Feilmeier @ 2007-03-14 10:25 UTC (permalink / raw)
To: buildroot
On Mi, 2007-03-14 at 11:08 +0100, Bernhard Fischer wrote:
> On Wed, Mar 14, 2007 at 08:34:59AM +0530, Stefan Feilmeier wrote:
> >Hello.
> >
> >First of all buildroot is a really useful tool and we use it to build
> >the initial system for our install cd. The only problem is that I am
> >stuck on hardware detection. I am trying to store my kernel modules on
> >the cd and mount it during boot process to keep my initrd small. Modules
> >for the cdrom drive are compiled into the kernel. This is what I do
> >currently:
> >
> >1. Boot initrd
> >2. /etc/init.d/S10udev starts udev and populates /dev
> >3. Mount cdrom(s) on /mnt/cdrom/
> >4. Mount --bind /lib/modules
> >
> >Till here everything works just fine and the modules are accessible
> >in /lib/modules. Now I try to run `udevtrigger` but it doesn't detect my
> >network card. Loading the module manually with `modprobe pcnet32` works
> >fine. I am trying this in a VMware virtual machine.
> >
> >Does anybody have a hint for me?
>
> 1) delete udev and use busybox's mdev instead
> 2) echo alias eth0 pcnet32 >> /etc/modprobe.conf; ifup eth0
> or something to that effect.
Thanks for your answer. The problem is that I need real hardware
detection as the cd will run on many different platforms and not only on
VMware virtual machines. Any idea?
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] hardware detection
2007-03-14 10:25 ` Stefan Feilmeier
@ 2007-03-14 10:35 ` Bernhard Fischer
0 siblings, 0 replies; 4+ messages in thread
From: Bernhard Fischer @ 2007-03-14 10:35 UTC (permalink / raw)
To: buildroot
On Wed, Mar 14, 2007 at 03:55:07PM +0530, Stefan Feilmeier wrote:
>On Mi, 2007-03-14 at 11:08 +0100, Bernhard Fischer wrote:
>> On Wed, Mar 14, 2007 at 08:34:59AM +0530, Stefan Feilmeier wrote:
>> >Hello.
>> >
>> >First of all buildroot is a really useful tool and we use it to build
>> >the initial system for our install cd. The only problem is that I am
>> >stuck on hardware detection. I am trying to store my kernel modules on
>> >the cd and mount it during boot process to keep my initrd small. Modules
>> >for the cdrom drive are compiled into the kernel. This is what I do
>> >currently:
>> >
>> >1. Boot initrd
>> >2. /etc/init.d/S10udev starts udev and populates /dev
>> >3. Mount cdrom(s) on /mnt/cdrom/
>> >4. Mount --bind /lib/modules
>> >
>> >Till here everything works just fine and the modules are accessible
>> >in /lib/modules. Now I try to run `udevtrigger` but it doesn't detect my
>> >network card. Loading the module manually with `modprobe pcnet32` works
>> >fine. I am trying this in a VMware virtual machine.
>> >
>> >Does anybody have a hint for me?
>>
>> 1) delete udev and use busybox's mdev instead
>> 2) echo alias eth0 pcnet32 >> /etc/modprobe.conf; ifup eth0
>> or something to that effect.
>
>Thanks for your answer. The problem is that I need real hardware
>detection as the cd will run on many different platforms and not only on
>VMware virtual machines. Any idea?
I'm confident that there are numerous tools with varying dependencies to
accomplish that task.
discover (i use the one from debian) should do the trick, perhaps?
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2007-03-14 10:35 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-14 3:04 [Buildroot] hardware detection Stefan Feilmeier
2007-03-14 10:08 ` Bernhard Fischer
2007-03-14 10:25 ` Stefan Feilmeier
2007-03-14 10:35 ` Bernhard Fischer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox