Advertisement

10.15.2008 at 06:49AM PDT, ID: 23816541 | Points: 125
[x]
Attachment Details

sata disk

Asked by 91Change in Linux Programming, Computer Hard Drives, Fedora Linux

have an embedded linux box . I am trying to reduce boot time by making so many features as modules . So that i wll have a thin uImage .

I made sata driver (mv_sata ) as a loadable kernel module . But when the
box boots up and trying to mount /dev/sda ( it is a sata harddisk ) . it is failing .

$ fdisk /dev/sda

the above command gives an error message " unable to open /dev/sda"

$ mkfs.ext3 /dev/sda

this commnand also gives the same message " unable to open /dev/sda"

But after loading the driver using
$ modprobe mv_sata

i can do fdisk ,mkfs.ext3 and mount all .

My question is : -> Is there any way linux can load the module by itself if it needs to mount a sata drive ??Start Free Trial
 
 
[+][-]10.15.2008 at 11:49PM PDT, ID: 22728531

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10.16.2008 at 03:10AM PDT, ID: 22729281

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 - Hierarchy / EE_QW_2_20070628