LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-06-2004, 09:16 AM   #1
h2gofast
Member
 
Registered: Dec 2002
Distribution: Debian
Posts: 154

Rep: Reputation: 30
2.6 looses ide hard drives


Debian sid, asus-a7n8x-x mobo working with stock debian kernel images and nvidia and nforce drivers installed, Linux is installed on a couple of scsi drives. There are two ide plugs, I have a cd and dvd drives on one and a couple of harddisks on the other.
Running 2.4.27 all drives are present and accounted for, but when I apt-get installed the 2.6.8-1-k7 kernel image the hard drives aren't found. I tried fdisk /dev/had and /dev/hdb just to get a look at them but "Unable to open /dev/hda".

I have googled but can't figure out what I am missing here. I bet it's something obvious that I've overlooked.
 
Old 09-06-2004, 09:21 AM   #2
rjlee
Senior Member
 
Registered: Jul 2004
Distribution: Ubuntu 7.04
Posts: 1,991

Rep: Reputation: 76
This looks like the IDE/ATAPI kernel modules are missing or not loaded to me.
 
Old 09-06-2004, 09:42 AM   #3
h2gofast
Member
 
Registered: Dec 2002
Distribution: Debian
Posts: 154

Original Poster
Rep: Reputation: 30
Code:
h2@h2:~$ lsmod
Module                  Size  Used by
ipv6                  262340  10 
ds                     18820  0 
yenta_socket           21568  0 
pcmcia_core            70132  2 ds,yenta_socket
lp                     10920  0 
binfmt_misc            11656  1 
af_packet              22600  4 
amd74xx                14108  0 
pciehp                 97388  0 
shpchp                100780  0 
pci_hotplug            34352  2 pciehp,shpchp
nvsound              1538376  0 
nvnet                  70244  0 
ehci_hcd               31364  0 
usb_storage            68608  0 
ohci_hcd               21380  0 
usbcore               118308  5 ehci_hcd,usb_storage,ohci_hcd
nvidia_agp              7836  1 
agpgart                34536  2 nvidia_agp
analog                 11872  0 
parport_pc             35328  1 
parport                41544  2 lp,parport_pc
floppy                 60304  0 
mousedev               10444  1 
tsdev                   7360  0 
psmouse                20232  0 
pcspkr                  3688  0 
evdev                   9600  0 
tulip                  46880  0 
crc32                   4352  1 tulip
forcedeth              17600  0 
emu10k1_gp              3648  0 
snd_emu10k1            98312  1 
snd_util_mem            4608  1 snd_emu10k1
snd_hwdep               9476  1 snd_emu10k1
snd_intel8x0           36140  1 
snd_ac97_codec         69572  2 snd_emu10k1,snd_intel8x0
snd_pcm_oss            54312  0 
snd_mixer_oss          19904  3 snd_pcm_oss
snd_pcm                97480  3 snd_emu10k1,snd_intel8x0,snd_pcm_oss
snd_timer              25540  1 snd_pcm
snd_page_alloc         11720  3 snd_emu10k1,snd_intel8x0,snd_pcm
gameport                4736  3 analog,emu10k1_gp,snd_intel8x0
snd_mpu401_uart         8000  1 snd_intel8x0
snd_rawmidi            25380  2 snd_emu10k1,snd_mpu401_uart
snd_seq_device          8264  2 snd_emu10k1,snd_rawmidi
snd                    57380  12 snd_emu10k1,snd_util_mem,snd_hwdep,snd_intel8x0                                                               ,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer,snd_mpu401_uart,snd_                                                               rawmidi,snd_seq_device
Code:
soundcore              10400  4 nvsound,snd
nls_iso8859_1           4096  2 
nls_cp437               5760  2 
capability              4616  0 
commoncap               7296  1 capability
eeprom                  7816  0 
w83l785ts               7364  0 
asb100                 23488  0 
i2c_sensor              2944  3 eeprom,w83l785ts,asb100
i2c_nforce2             6400  0 
i2c_core               24144  5 eeprom,w83l785ts,asb100,i2c_sensor,i2c_nforce2
ide_cd                 42528  0 
ide_core              138788  3 amd74xx,usb_storage,ide_cd
cdrom                  40284  1 ide_cd
nvidia               2075464  8 
rtc                    12728  0 
reiserfs              244880  1 
vfat                   14656  2 
fat                    46720  1 vfat
isofs                  37752  0 
ext2                   71720  0 
ext3                  126760  1 
jbd                    61784  1 ext3
mbcache                 9220  2 ext2,ext3
sd_mod                 21632  7 
sg                     38880  0 
aic7xxx               204568  5 
scsi_mod              124620  4 usb_storage,sd_mod,sg,aic7xxx
unix                   28596  154 
font                    8448  0 
vesafb                  6688  0 
cfbcopyarea             3776  1 vesafb
cfbimgblt               3072  1 vesafb
cfbfillrect             3712  1 vesafb
aren't ide_core and amd74xx modules for harddrives
 
Old 09-06-2004, 12:22 PM   #4
rjlee
Senior Member
 
Registered: Jul 2004
Distribution: Ubuntu 7.04
Posts: 1,991

Rep: Reputation: 76
Just looking at the xconfig help, I guess the following:

The IDE disk module is called ide_disk. It can also be compiled in as the symbol BLK_DEV_IDEDISK; you can check this with:
Code:
zcat /proc/config.gz | grep BLK_DEV_IDEDISK
amd74xx is support for the AMD and nvidia IDE chipsets, which control the IDE channel communications but not the devices on them.

ide_core is (presumably) the common IDE routines.

I also note this in documentation/ide.txt:
Quote:
The IDE driver is modularized. The high level disk/CD-ROM/tape/floppy
drivers can always be compiled as loadable modules, the chipset drivers
can only be compiled into the kernel, and the core code (ide.c) can be
compiled as a loadable module provided no chipset support is needed.
…this being the case, I'm not sure that you want idecore to be a loadable module, given that you have support for the amd74xx chipsets loaded.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
new pci ide - now hard drives are re "labeled" Mailman42 Debian 2 09-04-2005 02:27 PM
External Hard Drives/Hard Drives ddrfreak Mandriva 1 12-16-2004 06:12 PM
AMD 64 LIVE BOOT CD won't detect my standard IDE hard drives tk32 Linux - Hardware 3 10-31-2004 08:20 AM
question on IDE and Serial ATA hard drives illiniguy3043 Linux - Newbie 1 06-13-2004 03:01 AM
Upgrading hard drives on Software raid 1 boot drives. linuxboy123 Linux - General 0 12-11-2003 03:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:24 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration