[SLUG] Re: sata/IDE combination - /dev entry confusion!

From: Paul Bransford (draeath@gmail.com)
Date: Sun Mar 29 2009 - 21:35:14 EST


And it gets stranger.

I found 'hwinfo' and narrowed down which bus the drive is attached to:
SysFS Device Link: /devices/pci0000:00/0000:00:14.1/ide2/2.0

Now, that PCI address is this:
00:14.1 IDE interface: ATI Technologies Inc SB700/SB800 IDE Controller

The disk is connected to SATA, and the BIOS is set to use AHCI, not
native or legacy IDE mode. Why would the drive be 'attached' to the IDE
controller and not the SATA controller? I would expect this:
00:11.0 SATA controller: ATI Technologies Inc SB700/SB800 SATA
Controller [AHCI mode]

I have a feeling something is either wrong with my BIOS, or my kernel.

I've worked around it and my system boots and operates normally,
although my CDROMS swap around making burning CDs a bit annoying, but
eh. At least the thing boots now.

On Sun, 2009-03-29 at 22:14 -0400, Paul Bransford wrote:
> Hrm, I think I may have found the source of the wierdness...
>
> My board has a second SATA controller for the eSata ports on the back. I
> don't use (and don't forsee using) those, so disabling that
> controller /should/ stop the 'musical block nodes'?
>
> Is there a way to figure out which controller a given block device
> belongs to? Otherwise, I get to follow traces on the board or start
> looking up chip specsheets and probing the connectors. I would rather
> stay away from that...
>
> On Sun, 2009-03-29 at 22:06 -0400, Paul Bransford wrote:
> > Hi all!
> >
> > On boot, I seem to randomly get either of these /dev/ assignments:
> >
> > HD0: /dev/hda
> > CDROM0: /dev/hdc
> > CDROM1: /dev/hdd
> >
> > -or-
> >
> > HD0: /dev/hde
> > CDROM0: /dev/hdg
> > cdrom1: /dev/hdh
> >
> > ... there seems to be no rhyme or reason for the floppiness.
> >
> > To get my system working reliably, I have to use UUIDs when available,
> > otherwise a huge nasty line from /dev/disk.
> > Example: /dev/disk/by-path/pci-0000:00:14.1-ide-1:1
> >
> > Poking around freenode led me to belive I am using the 'wrong' kernel
> > driver.
> >
> > Can anyone point me in the right direction?
> >
> > Debian Lenny, Linux epicenter 2.6.26-1-amd64 SMP (standard debian
> > kernel)
> >
> > draeath@epicenter:~$ lspci
> > 00:00.0 Host bridge: ATI Technologies Inc RD790 Northbridge only dual
> > slot PCI-e_GFX and HT3 K8 part
> > 00:02.0 PCI bridge: ATI Technologies Inc RD790 PCI to PCI bridge
> > (external gfx0 port A)
> > 00:05.0 PCI bridge: ATI Technologies Inc RD790 PCI to PCI bridge (PCI
> > express gpp port B)
> > 00:06.0 PCI bridge: ATI Technologies Inc RD790 PCI to PCI bridge (PCI
> > express gpp port C)
> > 00:07.0 PCI bridge: ATI Technologies Inc RD790 PCI to PCI bridge (PCI
> > express gpp port D)
> > 00:11.0 SATA controller: ATI Technologies Inc SB700/SB800 SATA
> > Controller [AHCI mode]
> > 00:12.0 USB Controller: ATI Technologies Inc SB700/SB800 USB OHCI0
> > Controller
> > 00:12.1 USB Controller: ATI Technologies Inc SB700 USB OHCI1 Controller
> > 00:12.2 USB Controller: ATI Technologies Inc SB700/SB800 USB EHCI
> > Controller
> > 00:13.0 USB Controller: ATI Technologies Inc SB700/SB800 USB OHCI0
> > Controller
> > 00:13.1 USB Controller: ATI Technologies Inc SB700 USB OHCI1 Controller
> > 00:13.2 USB Controller: ATI Technologies Inc SB700/SB800 USB EHCI
> > Controller
> > 00:14.0 SMBus: ATI Technologies Inc SBx00 SMBus Controller (rev 3a)
> > 00:14.1 IDE interface: ATI Technologies Inc SB700/SB800 IDE Controller
> > 00:14.3 ISA bridge: ATI Technologies Inc SB700/SB800 LPC host controller
> > 00:14.4 PCI bridge: ATI Technologies Inc SBx00 PCI to PCI Bridge
> > 00:14.5 USB Controller: ATI Technologies Inc SB700/SB800 USB OHCI2
> > Controller
> > 00:18.0 Host bridge: Advanced Micro Devices [AMD] Family 10h [Opteron,
> > Athlon64, Sempron] HyperTransport Configuration
> > 00:18.1 Host bridge: Advanced Micro Devices [AMD] Family 10h [Opteron,
> > Athlon64, Sempron] Address Map
> > 00:18.2 Host bridge: Advanced Micro Devices [AMD] Family 10h [Opteron,
> > Athlon64, Sempron] DRAM Controller
> > 00:18.3 Host bridge: Advanced Micro Devices [AMD] Family 10h [Opteron,
> > Athlon64, Sempron] Miscellaneous Control
> > 00:18.4 Host bridge: Advanced Micro Devices [AMD] Family 10h [Opteron,
> > Athlon64, Sempron] Link Control
> > 01:00.0 VGA compatible controller: nVidia Corporation Device 0613 (rev
> > a2)
> > 02:00.0 SATA controller: JMicron Technologies, Inc. JMicron 20360/20363
> > AHCI Controller (rev 03)
> > 02:00.1 IDE interface: JMicron Technologies, Inc. JMicron 20360/20363
> > AHCI Controller (rev 03)
> > 03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd.
> > RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 01)
> > 04:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd.
> > RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 01)
> > 05:00.0 Multimedia audio controller: Creative Labs SB Audigy (rev 04)
> > 05:00.1 Input device controller: Creative Labs SB Audigy Game Port (rev
> > 04)
> > 05:00.2 FireWire (IEEE 1394): Creative Labs SB Audigy FireWire Port (rev
> > 04)
> > 05:02.0 FireWire (IEEE 1394): VIA Technologies, Inc. VT6306 Fire II IEEE
> > 1394 OHCI Link Layer Controller (rev c0)
> > draeath@epicenter:~$
> >
>



-----------------------------------------------------------------------
This list is provided as an unmoderated internet service by Networked
Knowledge Systems (NKS). Views and opinions expressed in messages
posted are those of the author and do not necessarily reflect the
official policy or position of NKS or any of its employees.



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 19:22:15 EDT