You are not logged in.

#1 2009-09-13 06:04:02

spitzanator
Member
Registered: 2008-12-02
Posts: 19

IDE controller detection...?

I just installed a fresh copy of ArchLinux on my neat new box, and I'm having troubles getting the a hard drive and the CD/DVD drives detected.  The common thread of these drives is that they're all IDE.

The drives themselves are fine.  The BIOS detects them, and a dual-booted Windows XP detects them, too.

Any thoughts?  Thanks a bunch.

If it helps, I've got an AsRock x58 Extreme motherboard.

-Matt

Offline

#2 2009-09-13 14:30:17

neddie_seagoon
Member
Registered: 2009-08-23
Posts: 121

Re: IDE controller detection...?

I'm having troubles getting the a hard drive and the CD/DVD drives detected.

Can you see them sometimes, and/or do you get errors? What do you see in dmesg that pertains to your drives?

Offline

#3 2009-09-13 20:52:15

spitzanator
Member
Registered: 2008-12-02
Posts: 19

Re: IDE controller detection...?

The O/S can't see them at all (/dev/cdrom doesn't show up at all).  Here's what I assume is relevant in the dmesg:

SCSI subsystem initialized
libata version 3.00 loaded.
pata_acpi 0000:00:1f.2: PCI INT B -> GSI 19 (level, low) -> IRQ 19
pata_acpi 0000:00:1f.2: setting latency timer to 64
pata_acpi 0000:00:1f.2: PCI INT B disabled
pata_acpi 0000:00:1f.5: PCI INT B -> GSI 19 (level, low) -> IRQ 19
pata_acpi 0000:00:1f.5: setting latency timer to 64
pata_acpi 0000:00:1f.5: PCI INT B disabled
pata_acpi 0000:02:00.1: PCI INT A -> GSI 17 (level, low) -> IRQ 17
pata_acpi 0000:02:00.1: setting latency timer to 64
pata_acpi 0000:02:00.1: PCI INT A disabled
ata_piix 0000:00:1f.2: version 2.13
ata_piix 0000:00:1f.2: PCI INT B -> GSI 19 (level, low) -> IRQ 19
ata_piix 0000:00:1f.2: MAP [ P0 P2 P1 P3 ]
ata_piix 0000:00:1f.2: setting latency timer to 64
scsi0 : ata_piix
scsi1 : ata_piix
ata1: SATA max UDMA/133 cmd 0x9c00 ctl 0x9880 bmdma 0x9400 irq 19
ata2: SATA max UDMA/133 cmd 0x9800 ctl 0x9480 bmdma 0x9408 irq 19
ata_piix 0000:00:1f.5: PCI INT B -> GSI 19 (level, low) -> IRQ 19
ata_piix 0000:00:1f.5: MAP [ P0 -- P1 -- ]
ata_piix 0000:00:1f.5: setting latency timer to 64
scsi2 : ata_piix
scsi3 : ata_piix
ata3: SATA max UDMA/133 cmd 0xac00 ctl 0xa880 bmdma 0xa400 irq 19
ata4: SATA max UDMA/133 cmd 0xa800 ctl 0xa480 bmdma 0xa408 irq 19
ahci 0000:03:00.0: version 3.0
ahci 0000:03:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
pata_via 0000:02:00.1: version 0.3.4
pata_via 0000:02:00.1: PCI INT A -> GSI 17 (level, low) -> IRQ 17
pata_via 0000:02:00.1: PCI INT A disabled
ahci 0000:03:00.0: AHCI 0001.0000 32 slots 1 ports 3 Gbps 0x1 impl SATA mode
ahci 0000:03:00.0: flags: 64bit ncq pm led clo pmp pio slum part 
ahci 0000:03:00.0: setting latency timer to 64
scsi4 : ahci
ata5: SATA max UDMA/133 abar m8192@0xf7ffe000 port 0xf7ffe100 irq 16
ata3: SATA link down (SStatus 0 SControl 300)
ata5: SATA link down (SStatus 0 SControl 300)
ata1.00: SATA link down (SStatus 0 SControl 300)
ata1.01: SATA link down (SStatus 0 SControl 300)
ata2.00: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
ata2.01: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
ata2.00: ATA-7: OCZ-VERTEX, 1.3, max UDMA/133
ata2.00: 62533296 sectors, multi 1: LBA48 NCQ (depth 0/32)
ata2.01: ATA-7: ST3808110AS, 2AAA, max UDMA/133
ata2.01: 156301488 sectors, multi 16: LBA48 NCQ (depth 0/32)
ata2.00: configured for UDMA/133
ata2.01: configured for UDMA/133
scsi 1:0:0:0: Direct-Access     ATA      OCZ-VERTEX       1.3  PQ: 0 ANSI: 5
scsi 1:0:1:0: Direct-Access     ATA      ST3808110AS      2AAA PQ: 0 ANSI: 5
ata4: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
ata4.00: ATA-8: SAMSUNG HD501LJ, CR100-12, max UDMA7
ata4.00: 976773168 sectors, multi 16: LBA48 NCQ (depth 0/32)
ata4.00: configured for UDMA/133
scsi 3:0:0:0: Direct-Access     ATA      SAMSUNG HD501LJ  CR10 PQ: 0 ANSI: 5
Driver 'sd' needs updating - please use bus_type methods
sd 1:0:1:0: [sdb] 156301488 512-byte hardware sectors: (80.0 GB/74.5 GiB)
sd 1:0:0:0: [sda] 62533296 512-byte hardware sectors: (32.0 GB/29.8 GiB)
sd 1:0:0:0: [sda] Write Protect is off
sd 1:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 1:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
sd 3:0:0:0: [sdc] 976773168 512-byte hardware sectors: (500 GB/465 GiB)
sd 3:0:0:0: [sdc] Write Protect is off
sd 3:0:0:0: [sdc] Mode Sense: 00 3a 00 00
sd 3:0:0:0: [sdc] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
 sda:<6> sdc: sda1
sd 1:0:1:0: [sdb] Write Protect is off
sd 1:0:0:0: [sda] Attached SCSI disk
sd 1:0:1:0: [sdb] Mode Sense: 00 3a 00 00
sd 1:0:1:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
 sdb: sdc1
sd 3:0:0:0: [sdc] Attached SCSI disk
 sdb1 sdb2 sdb3 < sdb5 >
sd 1:0:1:0: [sdb] Attached SCSI disk

I have two CDROM drives (both IDE) and 3 SATA hard drives.

Thanks a bunch,
Matt

Offline

#4 2009-09-16 19:28:40

spitzanator
Member
Registered: 2008-12-02
Posts: 19

Re: IDE controller detection...?

Bumpity bump?

Thanks!

Offline

#5 2009-09-16 19:33:18

neddie_seagoon
Member
Registered: 2009-08-23
Posts: 121

Re: IDE controller detection...?

Did you install Arch via the same CD drive that isn't being recognized? Have you tried to boot any other distributions' Live CD to see if it is an Arch-specific problem?

Offline

#6 2009-09-16 19:37:31

spitzanator
Member
Registered: 2008-12-02
Posts: 19

Re: IDE controller detection...?

I installed off the USB stick, but when I ran the Legacy IDE mode on Live CD, I couldn't detect the CD drives, either.

Perhaps I'll try another distro's LiveCD.  That's a good idea.

Offline

#7 2009-09-21 05:37:24

spitzanator
Member
Registered: 2008-12-02
Posts: 19

Re: IDE controller detection...?

Crap, doesn't help.  I used Ubuntu's LiveCD install, and it didn't detect the drives.

I upgraded the BIOS and still no dice.  The BIOS detects the drives fine, as does Windows XP, but I can't get a /dev/cdrom out of Linux (now no longer just Arch).

Help?

Thanks a ton.

Offline

#8 2009-09-21 14:22:41

bt
Member
Registered: 2007-04-11
Posts: 198

Re: IDE controller detection...?

I ran into a similar problem with a new sound card. ACPI seemed to be the culprit. I added pci=noacpi to the kernel line in grub/menu.lst and it cleared up the problem. Other posts show difficulty recognizing network cards etc.
You will wind up with shared IRQ's which may or may not be acceptable.

Offline

#9 2009-09-21 20:36:33

thn81
Member
Registered: 2009-08-27
Posts: 88

Re: IDE controller detection...?

Please post the output of 'lspci' so we can find out which driver is responsible for the PATA(=IDE) chip to which the cdroms are attached. Some newer Intel chipsets don't have integrated PATA ports anymore and use some third-party chips; these are known to have problems with linux.

Offline

#10 2009-09-22 01:08:42

spitzanator
Member
Registered: 2008-12-02
Posts: 19

Re: IDE controller detection...?

OK, thanks for all the suggestions!

pci=noacpi didn't do anything useful, and here's my lspci output:

00:00.0 Host bridge: Intel Corporation X58 I/O Hub to ESI Port (rev 13)
00:01.0 PCI bridge: Intel Corporation 5520/5500/X58 I/O Hub PCI Express Root Port 1 (rev 13)
00:03.0 PCI bridge: Intel Corporation 5520/5500/X58 I/O Hub PCI Express Root Port 3 (rev 13)
00:07.0 PCI bridge: Intel Corporation 5520/5500/X58 I/O Hub PCI Express Root Port 7 (rev 13)
00:14.0 PIC: Intel Corporation 5520/5500/X58 I/O Hub System Management Registers (rev 13)
00:14.1 PIC: Intel Corporation 5520/5500/X58 I/O Hub GPIO and Scratch Pad Registers (rev 13)
00:14.2 PIC: Intel Corporation 5520/5500/X58 I/O Hub Control Status and RAS Registers (rev 13)
00:14.3 PIC: Intel Corporation 5520/5500/X58 I/O Hub Throttle Registers (rev 13)
00:1a.0 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #4
00:1a.1 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #5
00:1a.2 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #6
00:1a.7 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB2 EHCI Controller #2
00:1b.0 Audio device: Intel Corporation 82801JI (ICH10 Family) HD Audio Controller
00:1c.0 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express Port 1
00:1c.1 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express Port 2
00:1c.5 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express Port 6
00:1d.0 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #1
00:1d.1 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #2
00:1d.2 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #3
00:1d.7 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB2 EHCI Controller #1
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 90)
00:1f.0 ISA bridge: Intel Corporation 82801JIR (ICH10R) LPC Interface Controller
00:1f.2 IDE interface: Intel Corporation 82801JI (ICH10 Family) 4 port SATA IDE Controller
00:1f.3 SMBus: Intel Corporation 82801JI (ICH10 Family) SMBus Controller
00:1f.5 IDE interface: Intel Corporation 82801JI (ICH10 Family) 2 port SATA IDE Controller
01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 03)
02:00.0 FireWire (IEEE 1394): VIA Technologies, Inc. Device 3403
02:00.1 IDE interface: VIA Technologies, Inc. PATA IDE Host Controller (rev a0)
03:00.0 SATA controller: JMicron Technology Corp. JMicron 20360/20363 AHCI Controller (rev 02)
05:00.0 VGA compatible controller: nVidia Corporation G96 [GeForce 9500 GT] (rev a1)

Looks like we've got a few IDE interfaces:

00:1f.2 IDE interface: Intel Corporation 82801JI (ICH10 Family) 4 port SATA IDE Controller
00:1f.5 IDE interface: Intel Corporation 82801JI (ICH10 Family) 2 port SATA IDE Controller
02:00.1 IDE interface: VIA Technologies, Inc. PATA IDE Host Controller (rev a0)

If it helps, I do have a newer Intel board (whee Core i7!)

Thanks,
Matt

Last edited by spitzanator (2009-09-22 03:26:41)

Offline

#11 2009-09-22 17:28:02

thn81
Member
Registered: 2009-08-27
Posts: 88

Re: IDE controller detection...?

Try adding "noapic nolapic" (without quotes) to the kernel command line in grub/menu.lst. If that doesn't help, try "pci=routeirq" or "pci=biosirq" (the latter only for 32bit Arch). Maybe some of these parameters get the IDE device enabled.

Btw, the IDE controller *is* enabled in BIOS, isn't it?

Offline

#12 2009-09-22 21:53:35

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: IDE controller detection...?

Perhaps a change in BIOS selection of SATA/IDE ports is in order.  With my intel core 2 duo there are four options as I recall.

Dunno the BIOS for your upscale intel tho, it do make a dif............


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#13 2009-09-23 14:48:06

spitzanator
Member
Registered: 2008-12-02
Posts: 19

Re: IDE controller detection...?

Damn, the noapic nolapic and pci=routeirq didn't work at all.  The BIOS is detecting it just fine, and it works fine on Windows.  Sad times.

Maybe I just have to break down and buy a SATA drive?

Offline

#14 2009-09-23 17:47:33

thn81
Member
Registered: 2009-08-27
Posts: 88

Re: IDE controller detection...?

Maybe I just have to break down and buy a SATA drive?

Or get a SATA-to-IDE converter. These should work as well. Concerning the onboard VIA chip: I'm afraid you'll have to start debugging the pata_via kernel driver if you want to get it working. But as most modern machines are SATA-only anyway it is probably not worth the effort.

Offline

#15 2009-09-23 17:51:51

spitzanator
Member
Registered: 2008-12-02
Posts: 19

Re: IDE controller detection...?

Blah, kernel.  Cool, thanks for the tip about the IDE to SATA.

Offline

#16 2009-11-13 07:34:11

spitzanator
Member
Registered: 2008-12-02
Posts: 19

Re: IDE controller detection...?

And magically, with the newest kernel install (kernel26 2.6.31.6-1) it worked!

No complaints here...

Offline

#17 2009-12-05 09:58:05

oni5115
Member
Registered: 2009-01-10
Posts: 38

Re: IDE controller detection...?

In case you were wondering why it didn't work:
http://ubuntuforums.org/showthread.php?t=1341264

It's the chip they used that controls both firewire and IDE/PATA.  Good to know its fixed though as I couldn't use any Ubuntu live CD's like I had hoped.  Have the system built, but no HD for 4 days until the new SATA one arrives. =/

Offline

Board footer

Powered by FluxBB