You are not logged in.

#1 2007-07-27 15:00:21

firedance
Member
From: Stockholm, Sweden
Registered: 2005-04-18
Posts: 131

What modules do i need for my hd? (/dev/sda)

Ok, i have been trying a while to compile my own kernel but I can't make it mount (or find) my root partition (or any other) /dev/sda6 (well can't find my hd at all),
I think I am missing some modules that are needed to access the hd (wild guess).

I have built in those I think i need, maybe I am missing some?

My mkinitcpio.conf looks like this:
MODULES="ata_piix ata_generic sd_mod sr_mod ehci-hcd hid usbhid uhci-hcd ext2"
HOOKS="base udev keymap"
and it works fine with the normal kernel (normal as in theone I get when doing pacman -S kernel26)

But when I compile my own (from the sources downloaded att kernel.org) and put those modules as built in it still won't boot, complaining about /dev/sda6 not existing.

How can I figure out what I am missing?

I also wonder if there is a database where i can look at module names and see what they do?

Btw, here is a little info from the normal kernel that may help you help me smile

lsmod

Module                  Size  Used by
ipv6                  254916  10 
ntfs                  217792  1 
ppdev                   7556  0 
lp                      9348  0 
parport_pc             35556  1 
parport                31304  3 ppdev,lp,parport_pc
ppp_generic            23828  0 
slhc                    5760  1 ppp_generic
i2c_i801                8336  0 
pcspkr                  2944  0 
emu10k1_gp              3200  0 
gameport               11784  2 emu10k1_gp
rtc_cmos                7328  0 
rtc_core               14984  1 rtc_cmos
rtc_lib                 2944  1 rtc_core
psmouse                35984  0 
serio_raw               5764  0 
shpchp                 29332  0 
pci_hotplug            27720  1 shpchp
sg                     26652  0 
intel_agp              21524  1 
tsdev                   6720  0 
joydev                  8512  0 
evdev                   8192  0 
thermal                10888  0 
processor              24788  1 thermal
fan                     3844  0 
button                  6160  0 
battery                 8324  0 
ac                      4100  0 
snd_pcm_oss            38560  0 
snd_mixer_oss          14592  1 snd_pcm_oss
snd_emu10k1           131008  1 
snd_rawmidi            19232  1 snd_emu10k1
snd_ac97_codec         95780  1 snd_emu10k1
ac97_bus                2432  1 snd_ac97_codec
snd_pcm                69124  3 snd_pcm_oss,snd_emu10k1,snd_ac97_codec
snd_seq_device          6924  2 snd_emu10k1,snd_rawmidi
snd_timer              19204  2 snd_emu10k1,snd_pcm
snd_page_alloc          7816  2 snd_emu10k1,snd_pcm
snd_util_mem            3840  1 snd_emu10k1
snd_hwdep               7300  1 snd_emu10k1
snd                    44644  11 snd_pcm_oss,snd_mixer_oss,snd_emu10k1,snd_rawmidi,snd_ac97_codec,snd_pcm,snd_seq_device,snd_timer,snd_hwdep
soundcore               6496  1 snd
nvidia               4708180  22 
agpgart                27224  2 intel_agp,nvidia
i2c_core               20352  2 i2c_i801,nvidia
e100                   32524  0 
mii                     4864  1 e100
usbhid                 38048  0 
ff_memless              5256  1 usbhid
ext2                   56968  3 
mbcache                 6916  1 ext2
uhci_hcd               22416  0 
hid                    26240  1 usbhid
ehci_hcd               30732  0 
usbcore               112264  4 usbhid,uhci_hcd,ehci_hcd
sr_mod                 14756  0 
cdrom                  34336  1 sr_mod
sd_mod                 22784  6 
ata_generic             5380  0 
ata_piix               11652  5 
libata                107956  2 ata_generic,ata_piix

hwd -e

IDE interface
  ata_piix        : Intel Corp.|82801EB ICH5 IDE (SATA)
Ethernet controller
  e100            : Intel Corp.|82801EB (ICH5) PRO/100 VE Ethernet Controller
VGA compatible controller
  vesa            : nVidia Corp.|NV25 GeForce4 Ti4200
Multimedia audio controller
  snd-intel8x0    : Intel Corp.|82801EB AC'97 Audio
  snd-emu10k1     : Creative Labs|SB Live! (audio)
Host bridge
  intel-agp       : Intel Corp.|82865G [Springdale-G] Chipset Host Bridge
ISA bridge
  i810-tco        : Intel Corp.|82801EB ISA Bridge (LPC)
PCI bridge
  unknown         : Intel Corp.|82865G/PE/P Processor to AGP Controller
  hw_random       : Intel Corp.|82820 815e (Camino 2) Chipset PCI
Input device controller
  emu10k1-gp      : Creative Labs|SB Live! (joystick)
USB Controller
  uhci_hcd        : Intel Corp.|USB Controller
  uhci_hcd        : Intel Corp.|USB Controller
  uhci_hcd        : Intel Corp.|USB Controller
  uhci_hcd        : Intel Corp.|82801EB USB EHCI Controller #2
  ehci-hcd        : Intel Corp.|USB Enhanced Controller
SMBus
  i2c-i801        : Intel Corp.|82801EB SMBus
USB Human Interface Devices
  usbhid          : USB Receiver
USB Hub
  hub             : Virtual|Hub
  hub             : Virtual|Hub
  hub             : Virtual|Hub
  hub             : Virtual|Hub
  hub             : Virtual|Hub
Mouse
  msintellips/2   : Generic PS/2 Wheel Mouse [/dev/psaux]

Last edited by firedance (2007-07-27 15:03:03)

Offline

#2 2007-07-27 15:51:49

nikron
Member
Registered: 2007-05-15
Posts: 130

Re: What modules do i need for my hd? (/dev/sda)

Uhh, according to hwd -e, you use the ata_piix as your harddrive module...  You might want to put your kenerl's kconfig into pastebin, so we can see what you enabled/disabled..  Personally, I just kept all the harddrive stuff modularized because I wasn't sure which one I used.  I'll find out by 2.6.23 though =P

Offline

#3 2007-07-27 16:02:27

firedance
Member
From: Stockholm, Sweden
Registered: 2005-04-18
Posts: 131

Re: What modules do i need for my hd? (/dev/sda)

I am an idiot.

my hd gets renamed to hda.
Wonder how to make it sda again, not sure how i could use one fstab for each kernel.

Last edited by firedance (2007-07-27 16:04:46)

Offline

#4 2007-07-27 16:09:56

brain0
Developer
From: Aachen - Germany
Registered: 2005-01-03
Posts: 1,382

Re: What modules do i need for my hd? (/dev/sda)

firedance wrote:

I am an idiot.

my hd gets renamed to hda.
Wonder how to make it sda again, not sure how i could use one fstab for each kernel.

You selected ide-disk support and intel ide support in your kernel. If you want to use it like arch did, you have to select scsi disk support and enable the intel driver in the ATA support category.

Offline

#5 2007-07-27 16:19:51

firedance
Member
From: Stockholm, Sweden
Registered: 2005-04-18
Posts: 131

Re: What modules do i need for my hd? (/dev/sda)

Lovley! Removed the ide module and poff everything works perfect! Thanks!

Offline

Board footer

Powered by FluxBB