Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
IDE/PATA not recognized. [solved--unrelated mistake]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Larry The Cow
Tux's lil' helper
Tux's lil' helper


Joined: 12 Jan 2005
Posts: 99

PostPosted: Tue Nov 20, 2007 8:07 pm    Post subject: IDE/PATA not recognized. [solved--unrelated mistake] Reply with quote

Nothing I do in the kernel config seems to make my IDE hard drive, and CDrom work. SATA hard drive works fine.

This is as of any kernel >=2.6.18; versions prior work fine.

Thanks,
~Cow
_________________
-Larry The Cow


Maybe Today!


Last edited by Larry The Cow on Wed Nov 21, 2007 2:34 am; edited 1 time in total
Back to top
View user's profile Send private message
EzInKy
Veteran
Veteran


Joined: 11 Oct 2002
Posts: 1742
Location: Kentucky

PostPosted: Tue Nov 20, 2007 8:26 pm    Post subject: Reply with quote

How do you know the drives are not working? If you are using the new SATA/PATA drivers they may just have been renamed.
_________________
Time is what keeps everything from happening all at once.
Back to top
View user's profile Send private message
Larry The Cow
Tux's lil' helper
Tux's lil' helper


Joined: 12 Jan 2005
Posts: 99

PostPosted: Tue Nov 20, 2007 8:48 pm    Post subject: Reply with quote

EzInKy wrote:
How do you know the drives are not working? If you are using the new SATA/PATA drivers they may just have been renamed.


I checked dmesg, looked around for a /dev/cdrom /dev/hdx, and I checked /dev/disk/; in all places, there were only signs of my SATA drive. I tried the old, and the new drivers, neither seem to show anything in dmesg (definitely not the standard messages I get if I boot my 2.6.17 kernel).
_________________
-Larry The Cow


Maybe Today!
Back to top
View user's profile Send private message
EzInKy
Veteran
Veteran


Joined: 11 Oct 2002
Posts: 1742
Location: Kentucky

PostPosted: Tue Nov 20, 2007 9:11 pm    Post subject: Reply with quote

How many SATA drives are in /dev? This is what shows on my system with 2 ide hard drives, 2 dvd drives, and 4 sata drives.

Code:

$ ls /dev/s*
/dev/scd0  /dev/sdb1  /dev/sdc4  /dev/sde2  /dev/sdf1  /dev/sequencer
/dev/scd1  /dev/sdb2  /dev/sdd   /dev/sde3  /dev/sdf2  /dev/sequencer2
/dev/sda   /dev/sdb3  /dev/sdd1  /dev/sde4  /dev/sdf3  /dev/sr0
/dev/sda1  /dev/sdb4  /dev/sdd2  /dev/sde5  /dev/sdf4  /dev/sr1
/dev/sda2  /dev/sdc   /dev/sdd3  /dev/sde6  /dev/sdf5  /dev/stderr
/dev/sda3  /dev/sdc1  /dev/sdd4  /dev/sde7  /dev/sdf6  /dev/stdin
/dev/sda4  /dev/sdc2  /dev/sde   /dev/sde8  /dev/sdf7  /dev/stdout
/dev/sdb   /dev/sdc3  /dev/sde1  /dev/sdf   /dev/sdf8

/dev/shm:

/dev/snd:
controlC0  hwC0D2    midiC0D1  midiC0D3  pcmC0D0p  pcmC0D2c  pcmC0D3p  timer
hwC0D0     midiC0D0  midiC0D2  pcmC0D0c  pcmC0D1c  pcmC0D2p  seq

_________________
Time is what keeps everything from happening all at once.
Back to top
View user's profile Send private message
EzInKy
Veteran
Veteran


Joined: 11 Oct 2002
Posts: 1742
Location: Kentucky

PostPosted: Tue Nov 20, 2007 9:14 pm    Post subject: Reply with quote

EzInKy wrote:
How many SATA drives are in /dev? This is what shows on my system with 2 ide hard drives, 2 dvd drives, and 4 sata drives.

Code:

$ ls /dev/s*
/dev/scd0  /dev/sdb1  /dev/sdc4  /dev/sde2  /dev/sdf1  /dev/sequencer
/dev/scd1  /dev/sdb2  /dev/sdd   /dev/sde3  /dev/sdf2  /dev/sequencer2
/dev/sda   /dev/sdb3  /dev/sdd1  /dev/sde4  /dev/sdf3  /dev/sr0
/dev/sda1  /dev/sdb4  /dev/sdd2  /dev/sde5  /dev/sdf4  /dev/sr1
/dev/sda2  /dev/sdc   /dev/sdd3  /dev/sde6  /dev/sdf5  /dev/stderr
/dev/sda3  /dev/sdc1  /dev/sdd4  /dev/sde7  /dev/sdf6  /dev/stdin
/dev/sda4  /dev/sdc2  /dev/sde   /dev/sde8  /dev/sdf7  /dev/stdout
/dev/sdb   /dev/sdc3  /dev/sde1  /dev/sdf   /dev/sdf8

/dev/shm:

/dev/snd:
controlC0  hwC0D2    midiC0D1  midiC0D3  pcmC0D0p  pcmC0D2c  pcmC0D3p  timer
hwC0D0     midiC0D0  midiC0D2  pcmC0D0c  pcmC0D1c  pcmC0D2p  seq


You'll note all drives become s* with the new drivers. Sorry if you've already done this but just want to check the obvious.
_________________
Time is what keeps everything from happening all at once.
Back to top
View user's profile Send private message
Larry The Cow
Tux's lil' helper
Tux's lil' helper


Joined: 12 Jan 2005
Posts: 99

PostPosted: Tue Nov 20, 2007 11:24 pm    Post subject: Reply with quote

Just sda; :? as I said, I also checked in /dev/disk/ to make sure I wasn't missing something...
_________________
-Larry The Cow


Maybe Today!
Back to top
View user's profile Send private message
likewhoa
l33t
l33t


Joined: 04 Oct 2006
Posts: 778
Location: Brooklyn, New York

PostPosted: Tue Nov 20, 2007 11:27 pm    Post subject: Reply with quote

Larry The Cow wrote:
Just sda; :? as I said, I also checked in /dev/disk/ to make sure I wasn't missing something...


show us your 'lspci' output, then someone can help suggest some kernel options. also did you enabled SCSI-CDROM?
Back to top
View user's profile Send private message
Larry The Cow
Tux's lil' helper
Tux's lil' helper


Joined: 12 Jan 2005
Posts: 99

PostPosted: Tue Nov 20, 2007 11:41 pm    Post subject: Reply with quote

likewhoa wrote:
Larry The Cow wrote:
Just sda; :? as I said, I also checked in /dev/disk/ to make sure I wasn't missing something...


show us your 'lspci' output, then someone can help suggest some kernel options. also did you enabled SCSI-CDROM?

Code:
00:00.0 RAM memory: nVidia Corporation MCP55 Memory Controller (rev a1)
00:01.0 ISA bridge: nVidia Corporation MCP55 LPC Bridge (rev a2)
00:01.1 SMBus: nVidia Corporation MCP55 SMBus (rev a2)
00:01.2 RAM memory: nVidia Corporation MCP55 Memory Controller (rev a2)
00:02.0 USB Controller: nVidia Corporation MCP55 USB Controller (rev a1)
00:02.1 USB Controller: nVidia Corporation MCP55 USB Controller (rev a2)
00:04.0 IDE interface: nVidia Corporation MCP55 IDE (rev a1)
00:05.0 IDE interface: nVidia Corporation MCP55 SATA Controller (rev a2)
00:05.1 IDE interface: nVidia Corporation MCP55 SATA Controller (rev a2)
00:05.2 IDE interface: nVidia Corporation MCP55 SATA Controller (rev a2)
00:06.0 PCI bridge: nVidia Corporation MCP55 PCI bridge (rev a2)
00:06.1 Audio device: nVidia Corporation MCP55 High Definition Audio (rev a2)
00:08.0 Bridge: nVidia Corporation MCP55 Ethernet (rev a2)
00:0a.0 PCI bridge: nVidia Corporation MCP55 PCI Express bridge (rev a2)
00:0b.0 PCI bridge: nVidia Corporation MCP55 PCI Express bridge (rev a2)
00:0c.0 PCI bridge: nVidia Corporation MCP55 PCI Express bridge (rev a2)
00:0d.0 PCI bridge: nVidia Corporation MCP55 PCI Express bridge (rev a2)
00:0e.0 PCI bridge: nVidia Corporation MCP55 PCI Express bridge (rev a2)
00:0f.0 PCI bridge: nVidia Corporation MCP55 PCI Express bridge (rev a2)
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
07:00.0 VGA compatible controller: nVidia Corporation G72 [GeForce 7300 LE] (rev a1)


Note: I did enable "AMD/NVidia PATA support" under "Serial ATA (prod) and Parallel ATA (experimental) drivers".

Yes, I also enabled SCSI CDROM support; note that neither my IDE CDrom, or my IDE hard drive show up.
_________________
-Larry The Cow


Maybe Today!
Back to top
View user's profile Send private message
EzInKy
Veteran
Veteran


Joined: 11 Oct 2002
Posts: 1742
Location: Kentucky

PostPosted: Wed Nov 21, 2007 1:12 am    Post subject: Reply with quote

Larry The Cow wrote:


Note: I did enable "AMD/NVidia PATA support" under "Serial ATA (prod) and Parallel ATA (experimental) drivers".

Yes, I also enabled SCSI CDROM support; note that neither my IDE CDrom, or my IDE hard drive show up.


Well, lspci does show the controllers detected. Are both the ide hard drive and ide cdrom drive on the same cable?
_________________
Time is what keeps everything from happening all at once.
Back to top
View user's profile Send private message
likewhoa
l33t
l33t


Joined: 04 Oct 2006
Posts: 778
Location: Brooklyn, New York

PostPosted: Wed Nov 21, 2007 1:49 am    Post subject: Reply with quote

Larry The Cow wrote:
likewhoa wrote:
Larry The Cow wrote:
Just sda; :? as I said, I also checked in /dev/disk/ to make sure I wasn't missing something...


show us your 'lspci' output, then someone can help suggest some kernel options. also did you enabled SCSI-CDROM?


Note: I did enable "AMD/NVidia PATA support" under "Serial ATA (prod) and Parallel ATA (experimental) drivers".

Yes, I also enabled SCSI CDROM support; note that neither my IDE CDrom, or my IDE hard drive show up.


did you enable CONFIG_ATA_GENERIC and or CONFIG_CHR_DEV_SG a.k.a SCSI generic support? I don't see why you would need SCSI generic support for an IDE controller but just a wild guess. I'm leaning more towards CONFIG_ATA_GENERIC, can you also post the output of.

Code:

# dmesg|grep -E 'IDE|ATA'
Back to top
View user's profile Send private message
Larry The Cow
Tux's lil' helper
Tux's lil' helper


Joined: 12 Jan 2005
Posts: 99

PostPosted: Wed Nov 21, 2007 2:19 am    Post subject: Reply with quote

likewhoa wrote:
Larry The Cow wrote:
likewhoa wrote:
Larry The Cow wrote:
Just sda; :? as I said, I also checked in /dev/disk/ to make sure I wasn't missing something...


show us your 'lspci' output, then someone can help suggest some kernel options. also did you enabled SCSI-CDROM?


Note: I did enable "AMD/NVidia PATA support" under "Serial ATA (prod) and Parallel ATA (experimental) drivers".

Yes, I also enabled SCSI CDROM support; note that neither my IDE CDrom, or my IDE hard drive show up.


did you enable CONFIG_ATA_GENERIC and or CONFIG_CHR_DEV_SG a.k.a SCSI generic support? I don't see why you would need SCSI generic support for an IDE controller but just a wild guess. I'm leaning more towards CONFIG_ATA_GENERIC, can you also post the output of.

Code:

# dmesg|grep -E 'IDE|ATA'


I muddled around in the kernel settings for quite some time; have both of those enabled already...

Code:
ACPI: PCI Interrupt Link [LIDE] (IRQs 5 7 9 10 11 14 15) *0, disabled.
ata1: SATA max UDMA/133 cmd 0x00000000000109f0 ctl 0x0000000000010bf2 bmdma 0x000000000001dc00 irq 22
ata2: SATA max UDMA/133 cmd 0x0000000000010970 ctl 0x0000000000010b72 bmdma 0x000000000001dc08 irq 22
ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
ata1.00: ATA-7: WDC WD1600JS-60MHB5, 10.02E04, max UDMA/100
ata2: SATA link down (SStatus 0 SControl 300)
scsi 0:0:0:0: Direct-Access     ATA      WDC WD1600JS-60M 10.0 PQ: 0 ANSI: 5
ata3: SATA max UDMA/133 cmd 0x00000000000109e0 ctl 0x0000000000010be2 bmdma 0x000000000001c800 irq 21
ata4: SATA max UDMA/133 cmd 0x0000000000010960 ctl 0x0000000000010b62 bmdma 0x000000000001c808 irq 21
ata3: SATA link down (SStatus 0 SControl 300)
ata4: SATA link down (SStatus 0 SControl 300)
ata5: SATA max UDMA/133 cmd 0x000000000001c400 ctl 0x000000000001c002 bmdma 0x000000000001b400 irq 20
ata6: SATA max UDMA/133 cmd 0x000000000001bc00 ctl 0x000000000001b802 bmdma 0x000000000001b408 irq 20
ata5: SATA link down (SStatus 0 SControl 300)
ata6: SATA link down (SStatus 0 SControl 300)

_________________
-Larry The Cow


Maybe Today!
Back to top
View user's profile Send private message
Larry The Cow
Tux's lil' helper
Tux's lil' helper


Joined: 12 Jan 2005
Posts: 99

PostPosted: Wed Nov 21, 2007 2:34 am    Post subject: Reply with quote

Oops... Ever have one of those days where you're so shocked at your own ineptitude that fixing your problem is barely consolation?

Yeah, so I mistyped my grub.conf line... Which means I was booting the wrong kernel image the entire time...

Thanks guys, sorry to waste your time. :oops:
_________________
-Larry The Cow


Maybe Today!
Back to top
View user's profile Send private message
likewhoa
l33t
l33t


Joined: 04 Oct 2006
Posts: 778
Location: Brooklyn, New York

PostPosted: Wed Nov 21, 2007 2:38 am    Post subject: Reply with quote

moo!!! :D
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum