Hello,
Linux is unable to see my SATA hard drive. It is visible from the bios, and the drive works ok in my WindowsXP system. I have been searching the internet for hours to find a solution but everything I have tried does not work.
SATA RAID is turned off in the Bios (have tried both enabled and disabled, does not make a difference).
Upon booting, the sata_uli module is loaded and ATA1 link is up at 1.5mbps but the disk is not visible.
After booting, I try a rmmod sata_uli and modprobe sata_uli, then it seems to get a bit further and gives some different error messages - see dmesg below.
The ULi website has a Linux driver, kind of old, but the Readme file mentions some kernel arguments to try. (ide0=0x1f0,0x3f6,14 ide1=0x170,0x376,15 ide2=0 ide3=0 ide4=0 ide5=0 ide6=0 ide7=0 ide8=0 ide9=0 noirqdebug). Which I have but does not make a difference.
The jumper on the HD is set to 1.5mbps compat mode.
I am at a loss for how to fix this problem, any help would be appreciated.
Many thanks,
Kevin
Hardware: Asus T2-AH1
Chip: ULI M1573 (5278)
OS: Mandriva 2007
Kernel: 2.6.17-5mdv
dmesg and lspci:
Bootdata ok (command line is BOOT_IMAGE=linux-withLime root=1605 resume=/dev/hdc1 splash=silent ide0=0x1f0,0x3f6,14 ide1=0x170,0x376,15 ide2=0 ide3=0 ide4=0 ide5=0 ide6=0 ide7=0 ide8=0 ide9=0 noirqdebug)
Linux version 2.6.17-5mdv (rtp@ramanujan.mandriva.com) (gcc version 4.1.1 20060724 (prerelease) (4.1.1-3mdk)) #1 SMP Wed Sep 13 14:28:02 EDT 2006
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000e0000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 000000001bfb0000 (usable)
BIOS-e820: 000000001bfb0000 - 000000001bfbe000 (ACPI data)
BIOS-e820: 000000001bfbe000 - 000000001bfe0000 (ACPI NVS)
BIOS-e820: 000000001bfe0000 - 000000001c000000 (reserved)
BIOS-e820: 00000000ff780000 - 0000000100000000 (reserved)
DMI 2.3 present.
ACPI: RSDP (v002 ACPIAM ) @ 0x00000000000fb560
ACPI: XSDT (v001 A M I OEMXSDT 0x10000506 MSFT 0x00000097) @ 0x000000001bfb0100
ACPI: FADT (v003 A M I OEMFACP 0x10000506 MSFT 0x00000097) @ 0x000000001bfb0290
ACPI: MADT (v001 A M I OEMAPIC 0x10000506 MSFT 0x00000097) @ 0x000000001bfb0390
ACPI: MCFG (v001 A M I OEMMCFG 0x10000506 MSFT 0x00000097) @ 0x000000001bfb03f0
ACPI: OEMB (v001 A M I AMI_OEM 0x10000506 MSFT 0x00000097) @ 0x000000001bfbe040
ACPI: DSDT (v001 A0246 A0246001 0x00000001 INTL 0x02002026) @ 0x0000000000000000
Scanning NUMA topology in Northbridge 24
Number of nodes 1
Node 0 MemBase 0000000000000000 Limit 000000001bfb0000
NUMA: Using 63 for the hash shift.
Using node hash shift of 63
Bootmem setup node 0 0000000000000000-000000001bfb0000
On node 0 totalpages: 111707
DMA zone: 2705 pages, LIFO batch:0
DMA32 zone: 109002 pages, LIFO batch:31
ATI RS480 board detected. Disabling pin1 APIC timer.
ACPI: PM-Timer IO Port: 0x4008
ACPI: Local APIC address 0xfee00000
ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled)
Processor #0 15:15 APIC version 16
ACPI: LAPIC (acpi_id[0x02] lapic_id[0x81] disabled)
ACPI: IOAPIC (id[0x01] address[0xfec00000] gsi_base[0])
IOAPIC[0]: apic_id 1, version 17, address 0xfec00000, GSI 0-23
ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 low level)
ACPI: IRQ0 used by override.
ACPI: IRQ2 used by override.
ACPI: IRQ9 used by override.
Setting APIC routing to physical flat
Using ACPI (MADT) for SMP configuration information
Allocating PCI resources starting at 20000000 (gap: 1c000000:e3780000)
Checking aperture...
CPU 0: aperture @ 33f6000000 size 32 MB
Aperture from northbridge cpu 0 too small (32 MB)
No AGP bridge found
SMP: Allowing 2 CPUs, 1 hotplug CPUs
Built 1 zonelists
Kernel command line: BOOT_IMAGE=linux-withLime root=1605 resume=/dev/hdc1 splash=silent ide0=0x1f0,0x3f6,14 ide1=0x170,0x376,15 ide2=0 ide3=0 ide4=0 ide5=0 ide6=0 ide7=0 ide8=0 ide9=0 noirqdebug
bootsplash: silent mode.
ide_setup: ide0=0x1f0,0x3f6,14
-- OBSOLETE OPTION, WILL BE REMOVED SOON!
ide_setup: ide1=0x170,0x376,15
-- OBSOLETE OPTION, WILL BE REMOVED SOON!
ide_setup: ide2=0
-- OBSOLETE OPTION, WILL BE REMOVED SOON!
ide_setup: ide3=0
-- OBSOLETE OPTION, WILL BE REMOVED SOON!
ide_setup: ide4=0
-- OBSOLETE OPTION, WILL BE REMOVED SOON!
ide_setup: ide5=0
-- OBSOLETE OPTION, WILL BE REMOVED SOON!
ide_setup: ide6=0
-- OBSOLETE OPTION, WILL BE REMOVED SOON!
ide_setup: ide7=0
-- OBSOLETE OPTION, WILL BE REMOVED SOON!
ide_setup: ide8=0
-- OBSOLETE OPTION, WILL BE REMOVED SOON!
ide_setup: ide9=0
-- OBSOLETE OPTION, WILL BE REMOVED SOON!
IRQ lockup detection disabled
Initializing CPU#0
PID hash table entries: 2048 (order: 11, 16384 bytes)
time.c: Using 3.579545 MHz WALL PM GTOD PIT/TSC timer.
time.c: Detected 2200.162 MHz processor.
Console: colour VGA+ 80x25
Dentry cache hash table entries: 65536 (order: 7, 524288 bytes)
Inode-cache hash table entries: 32768 (order: 6, 262144 bytes)
Memory: 445928k/458432k available (2696k kernel code, 12116k reserved, 990k data, 220k init)
Calibrating delay using timer specific routine.. 4404.37 BogoMIPS (lpj=8808748)
Mount-cache hash table entries: 256
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 512K (64 bytes/line)
CPU 0/0(1) -> Node 0 -> Core 0
SMP alternatives: switching to UP code
checking if image is initramfs... it is
Freeing initrd memory: 360k freed
ACPI: Looking for DSDT in initramfs... error, file /DSDT.aml not found.
ACPI Error (nssearch-0311): Bad character in ACPI Name: 43045350 [20060127]
ACPI Error (dswload-0305): [0x43045350] (NON-ASCII) Namespace lookup failure, AE_BAD_CHARACTER
ACPI Exception (psloop-0281): AE_BAD_CHARACTER, During name lookup/catalog [20060127]
ACPI Exception (tbxface-0115): AE_BAD_CHARACTER, Could not load namespace [20060127]
ACPI Exception (tbxface-0122): AE_BAD_CHARACTER, Could not load tables [20060127]
ACPI: Unable to load the System Description Tables
..MP-BIOS bug: 8254 timer not connected to IO-APIC
Using local APIC timer interrupts.
result 12500921
Detected 12.500 MHz APIC timer.
Brought up 1 CPUs
testing NMI watchdog ... OK.
migration_cost=0
NET: Registered protocol family 16
PCI: BIOS Bug: MCFG area at e0000000 is not E820-reserved
PCI: Not using MMCONFIG.
PCI: Using configuration type 1
ACPI: Subsystem revision 20060127
ACPI: Interpreter disabled.
PCI: Probing PCI hardware
PCI: Probing PCI hardware (bus 00)
PCI quirk: region 4000-403f claimed by ali7101 ACPI
Boot video device is 0000:01:05.0
PCI: Discovered primary peer bus ff [IRQ]
PCI: Using IRQ router default [10b9/1573] at 0000:00:1e.0
PCI-DMA: Disabling IOMMU.
PCI: Bridge: 0000:00:01.0
IO window: c000-cfff
MEM window: d7d00000-d7dfffff
PREFETCH window: d8000000-dfffffff
PCI: Bridge: 0000:00:07.0
IO window: d000-dfff
MEM window: d7e00000-d7efffff
PREFETCH window: disabled.
PCI: Bridge: 0000:00:19.0
IO window: e000-efff
MEM window: d7f00000-d7ffffff
PREFETCH window: disabled.
PCI: Setting latency timer of device 0000:00:07.0 to 64
PCI: Setting latency timer of device 0000:00:19.0 to 64
NET: Registered protocol family 2
IP route cache hash table entries: 4096 (order: 3, 32768 bytes)
TCP established hash table entries: 16384 (order: 6, 262144 bytes)
TCP bind hash table entries: 8192 (order: 5, 131072 bytes)
TCP: Hash tables configured (established 16384 bind 8192)
TCP reno registered
IA32 emulation $Id: sys_ia32.c,v 1.32 2002/03/24 13:02:28 ak Exp $
audit: initializing netlink socket (disabled)
audit(1164668168.276:1): initialized
Total HugeTLB memory allocated, 0
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
Initializing Cryptographic API
io scheduler noop registered
io scheduler anticipatory registered (default)
io scheduler deadline registered
io scheduler cfq registered
PCI: Setting latency timer of device 0000:00:07.0 to 64
pcie_portdrv_probe->Dev[5a39:1002] has invalid IRQ. Check vendor BIOS
assign_interrupt_mode Found MSI capability
Allocate Port Service[0000:00:07.0:pcie00]
Real Time Clock Driver v1.12ac
Linux agpgart interface v0.101 (c) Dave Jones
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
RAMDISK driver initialized: 16 RAM disks of 32000K size 1024 blocksize
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
ALI15X3: IDE controller at PCI slot 0000:00:1f.0
ALI15X3: chipset revision 199
ALI15X3: not 100% native mode: will probe irqs later
ide0: BM-DMA at 0xff00-0xff07, BIOS settings: hda:pio, hdb:pio
ide1: BM-DMA at 0xff08-0xff0f, BIOS settings: hdc:DMA, hdd:DMA
Probing IDE interface ide0...
Probing IDE interface ide1...
hdc: ST340016A, ATA DISK drive
hdd: HITACHI DVD-ROM GD-8000, ATAPI CD/DVD-ROM drive
ide1 at 0x170-0x177,0x376 on irq 15
hdc: max request size: 128KiB
hdc: 78165360 sectors (40020 MB) w/2048KiB Cache, CHS=65535/16/63, UDMA(100)
hdc: cache flushes not supported
hdc: hdc1 hdc2 < hdc5 >
serio: i8042 AUX port at 0x60,0x64 irq 12
serio: i8042 KBD port at 0x60,0x64 irq 1
mice: PS/2 mouse device common for all mice
md: md driver 0.90.3 MAX_MD_DEVS=256, MD_SB_DISKS=27
md: bitmap version 4.39
TCP bic registered
NET: Registered protocol family 1
BIOS EDD facility v0.16 2004-Jun-25, 2 devices found
Freeing unused kernel memory: 220k freed
input: AT Translated Set 2 keyboard as /class/input/input0
kjournald starting. Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
logips2pp: Detected unknown logitech mouse model 1
input: PS/2 Logitech Mouse as /class/input/input1
ts: Compaq touchscreen protocol output
ieee1394: Initialized config rom entry `ip1394'
ohci1394: fw-host0: OHCI-1394 1.0 (PCI): IRQ=[11] MMIO=[d7fff800-d7ffffff] Max Packet=[2048] IR/IT contexts=[4/8]
powernow-k8: Found 1 AMD Athlon 64 / Opteron processors (version 1.60.2)
powernow-k8: 0 : fid 0x2 (1000 MHz), vid 0x12 (1100 mV)
powernow-k8: 1 : fid 0xa (1800 MHz), vid 0xa (1300 mV)
powernow-k8: 2 : fid 0xc (2000 MHz), vid 0x8 (1350 mV)
powernow-k8: 3 : fid 0xe (2200 MHz), vid 0x6 (1400 mV)
cpu_init done, current fid 0xe, vid 0x6
device-mapper: 4.6.0-ioctl (2006-02-17) initialised:
dm-devel@redhat.com
EXT3 FS on hdc5, internal journal
SCSI subsystem initialized
libata version 1.20 loaded.
sata_uli 0000:00:1f.1: version 0.5
ata1: SATA max UDMA/133 cmd 0xBC00 ctl 0xB482 bmdma 0xB000 irq 3
ata2: SATA max UDMA/133 cmd 0xB400 ctl 0xB082 bmdma 0xB008 irq 3
ata3: SATA max UDMA/133 cmd 0xBC08 ctl 0xB486 bmdma 0xB010 irq 3
ata4: SATA max UDMA/133 cmd 0xB408 ctl 0xB086 bmdma 0xB018 irq 3
ata1: SATA link up 1.5 Gbps (SStatus 113)
scsi0 : sata_uli
ata2: SATA link down (SStatus 0)
scsi1 : sata_uli
ata3: SATA link down (SStatus 0)
scsi2 : sata_uli
ata4: SATA link down (SStatus 0)
scsi3 : sata_uli
Adding 2064312k swap on /dev/hdc1. Priority:-1 extents:1 across:2064312k
Supermount version 2.0.4 for kernel 2.6
loop: loaded (max 8 devices, max 1 partitions per device)
hdd: ATAPI 48X DVD-ROM drive, 512kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.20
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
end_request: I/O error, dev fd0, sector 0
intel8x0_measure_ac97_clock: measured 59185 usecs
intel8x0: clocking to 48000
NET: Registered protocol family 17
PCI: Setting latency timer of device 0000:02:00.0 to 64
sky2 v1.6.1 addr 0xd7efc000 irq 11 Yukon-EC (0xb6) rev 2
sky2 eth0: addr 00:15:f2:32:82:1f
sky2 eth0: enabling interface
NET: Registered protocol family 10
lo: Disabled Privacy Extensions
ADDRCONF(NETDEV_UP): eth0: link is not ready
IPv6 over IPv4 tunneling driver
sky2 eth0: Link is up at 100 Mbps, full duplex, flow control none
ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
eth0: no IPv6 routers present
libata version 1.20 loaded.
sata_uli 0000:00:1f.1: version 0.5
ata1: SATA max UDMA/133 cmd 0xBC00 ctl 0xB482 bmdma 0xB000 irq 3
ata2: SATA max UDMA/133 cmd 0xB400 ctl 0xB082 bmdma 0xB008 irq 3
ata3: SATA max UDMA/133 cmd 0xBC08 ctl 0xB486 bmdma 0xB010 irq 3
ata4: SATA max UDMA/133 cmd 0xB408 ctl 0xB086 bmdma 0xB018 irq 3
ata1: SATA link up 1.5 Gbps (SStatus 113)
ata1: dev 0 cfg 49:2f00 82:346b 83:7d01 84:4023 85:3469 86:3c01 87:4023 88:407f
ata1: dev 0 ATA-7, max UDMA/133, 625142448 sectors: LBA48
ata1: qc timeout (cmd 0xef)
ata1: failed to set xfermode (err_mask=0x4)
scsi4 : sata_uli
ata2: SATA link down (SStatus 0)
scsi5 : sata_uli
ata3: SATA link down (SStatus 0)
scsi6 : sata_uli
ata4: SATA link down (SStatus 0)
scsi7 : sata_uli
lspci:
00:00.0 Host bridge: ATI Technologies Inc RS480 Host Bridge (rev 01)
00:01.0 PCI bridge: ATI Technologies Inc RS480 PCI Bridge
00:07.0 PCI bridge: ATI Technologies Inc RS480 PCI Bridge
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
00:19.0 PCI bridge: ALi Corporation M5249 HTT to PCI Bridge
00:1d.0 Multimedia audio controller: ALi Corporation M5455 PCI AC-Link Controller Audio Device (rev 20)
00:1e.0 ISA bridge: ALi Corporation PCI to LPC Controller (rev 31)
00:1e.1 Bridge: ALi Corporation M7101 Power Management Controller [PMU]
00:1f.0 IDE interface: ALi Corporation M5229 IDE (rev c7)
00:1f.1 SATA controller: ALi Corporation ULi 5287 SATA (rev 02)
01:05.0 VGA compatible controller: ATI Technologies Inc RS480 [Radeon Xpress 200G Series]
02:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8053 PCI-E Gigabit Ethernet Controller (rev 19)
03:13.0 FireWire (IEEE 1394): VIA Technologies, Inc. IEEE 1394 Host Controller (rev 80)