[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: SATA drive problems in LENNY...



Kai Martens wrote:
Hi there,

While upgrading to service pack 3 windoze died - so I finally got my wife to work on my debian machine. Now I need to install debian on her amd64 compaq, and unlike 15 month ago this time I cannot give up. The SATA drives are simply not recognized during installation. Threw in an old 8.6G ide hard drive that I had salvaged, and installed the system. Below is my dmesg output: the trail of the errors is clear, but even after a lot of googling I still have no idea as to what the root cause might be. Could not make sense of anything I found on the web. The chip is an ATI IXP 400. The BIOS does not seem to allow me to mess with any drive settings...

  :-(

Thanks for your help! Best, Kai P.S. Due to the high traffic I am not on the list. Please cc me in your reply. - Will deal with the 8139too issue after I got the disk...
/var/log/dmesg:

Initializing cgroup subsys cpuset
Linux version 2.6.24-1-amd64 (Debian 2.6.24-7) (dannf@debian.org) (gcc version 4 .1.3 20080114 (prerelease) (Debian 4.1.2-19)) #1 SMP Sat May 10 09:28:10 UTC 200
8
Command line: root=UUID=586b3c5f-c254-452e-93dc-898e0ef3331e ro quiet
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 000000000009f800 (usable)
 BIOS-e820: 000000000009f800 - 00000000000a0000 (reserved)
 BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 000000003bef0000 (usable)
 BIOS-e820: 000000003bef0000 - 000000003bef3000 (ACPI NVS)
 BIOS-e820: 000000003bef3000 - 000000003bf00000 (ACPI data)
 BIOS-e820: 00000000e0000000 - 00000000f0000000 (reserved)
 BIOS-e820: 00000000fec00000 - 0000000100000000 (reserved)
Entering add_active_range(0, 0, 159) 0 entries of 3200 used
Entering add_active_range(0, 256, 245488) 1 entries of 3200 used
end_pfn_map = 1048576
DMI present.
dmi_string: out of memory.
ACPI: RSDP 000F7C60, 3BEF3040 (r2 HP-CPC)
Scanning NUMA topology in Northbridge 24
CPU has 1 num_cores
No NUMA configuration found
Faking a node at 0000000000000000-000000003bef0000
Entering add_active_range(0, 0, 159) 0 entries of 3200 used
Entering add_active_range(0, 256, 245488) 1 entries of 3200 used
Bootmem setup node 0 0000000000000000-000000003bef0000
Zone PFN ranges:
  DMA             0 ->     4096
  DMA32        4096 ->  1048576
  Normal    1048576 ->  1048576
Movable zone start PFN for each node
early_node_map[2] active PFN ranges
    0:        0 ->      159
    0:      256 ->   245488
On node 0 totalpages: 245391
  DMA zone: 56 pages used for memmap
  DMA zone: 1067 pages reserved
  DMA zone: 2876 pages, LIFO batch:0
  DMA32 zone: 3300 pages used for memmap
  DMA32 zone: 238092 pages, LIFO batch:31
  Normal zone: 0 pages used for memmap
  Movable zone: 0 pages used for memmap
ATI board detected. Disabling timer routing over 8254.
Intel MultiProcessor Specification v1.4
MPTABLE: OEM ID: OEM00000 MPTABLE: Product ID: PROD00000000 MPTABLE: APIC at: 0x
FEE00000
Processor #0 (Bootup-CPU)
I/O APIC #2 at 0xFEC00000.
Setting APIC routing to flat
Processors: 1
swsusp: Registered nosave memory region: 000000000009f000 - 00000000000a0000 swsusp: Registered nosave memory region: 00000000000a0000 - 00000000000f0000 swsusp: Registered nosave memory region: 00000000000f0000 - 0000000000100000
Allocating PCI resources starting at 40000000 (gap: 3bf00000:a4100000)
SMP: Allowing 1 CPUs, 0 hotplug CPUs
PERCPU: Allocating 34400 bytes of per cpu data
Built 1 zonelists in Node order, mobility grouping on. Total pages: 240968
Policy zone: DMA32
Kernel command line: root=UUID=586b3c5f-c254-452e-93dc-898e0ef3331e ro quiet
Initializing CPU#0
PID hash table entries: 4096 (order: 12, 32768 bytes)
TSC calibrated against PIT
time.c: Detected 2188.838 MHz processor.
Console: colour VGA+ 80x25
console [tty0] enabled
Checking aperture...
CPU 0: aperture @ c30c000000 size 32 MB
Aperture too small (32 MB)
No AGP bridge found
Memory: 956956k/981952k available (2144k kernel code, 24608k reserved, 1006k data, 316k init) Calibrating delay using timer specific routine.. 4381.99 BogoMIPS (lpj=8763983)
Security Framework initialized
SELinux:  Disabled at boot.
Capability LSM initialized
Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes)
Inode-cache hash table entries: 65536 (order: 7, 524288 bytes)
Mount-cache hash table entries: 256
Initializing cgroup subsys ns
Initializing cgroup subsys cpuacct
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 512K (64 bytes/line)
CPU 0/0 -> Node 0
SMP alternatives: switching to UP code
Freeing SMP alternatives: 25k freed
ACPI: Core revision 20070126
ACPI Exception (tbxface-0629): AE_NO_ACPI_TABLES, While loading namespace from ACPI tables [20070126]
ACPI: Unable to load the System Description Tables
ExtINT not setup in hardware but reported by MP table
..MP-BIOS bug: 8254 timer not connected to IO-APIC
Using local APIC timer interrupts.
APIC timer calibration result 12436605
Detected 12.436 MHz APIC timer.
Brought up 1 CPUs
net_namespace: 120 bytes
NET: Registered protocol family 16
PCI: Using configuration type 1
ACPI: Interpreter disabled.
Linux Plug and Play Support v0.97 (c) Adam Belay
pnp: PnP ACPI: disabled
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
PCI: Probing PCI hardware
PCI: Probing PCI hardware (bus 00)
PCI: Transparent bridge - 0000:00:14.4
PCI->APIC IRQ transform: 0000:00:14.1[A] -> IRQ 17
PCI->APIC IRQ transform: 0000:00:14.5[B] -> IRQ 17
PCI->APIC IRQ transform: 0000:01:05.0[A] -> IRQ 17
PCI: using PPB 0000:00:14.4[D] to get irq 17
PCI->APIC IRQ transform: 0000:02:03.0[D] -> IRQ 17
PCI: using PPB 0000:00:14.4[B] to get irq 17
PCI->APIC IRQ transform: 0000:02:05.0[B] -> IRQ 17
PCI->APIC IRQ transform: 0000:02:08.0[A] -> IRQ 16
PCI: using PPB 0000:00:14.4[B] to get irq 17
PCI->APIC IRQ transform: 0000:02:09.0[B] -> IRQ 17
NET: Registered protocol family 8
NET: Registered protocol family 20
pnp: the driver 'system' has been registered
PCI: Bridge: 0000:00:01.0
  IO window: e000-efff
  MEM window: fde00000-fdefffff
  PREFETCH window: d8000000-dfffffff
PCI: Bridge: 0000:00:14.4
  IO window: d000-dfff
  MEM window: fdd00000-fddfffff
  PREFETCH window: fdc00000-fdcfffff
NET: Registered protocol family 2
Time: tsc clocksource has been installed.
IP route cache hash table entries: 32768 (order: 6, 262144 bytes)
TCP established hash table entries: 131072 (order: 9, 2097152 bytes)
TCP bind hash table entries: 65536 (order: 8, 1048576 bytes)
TCP: Hash tables configured (established 131072 bind 65536)
TCP reno registered
checking if image is initramfs... it is
Freeing initrd memory: 6771k freed
audit: initializing netlink socket (disabled)
audit(1216094483.708:1): initialized
Total HugeTLB memory allocated, 0
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
PCI: MSI quirk detected. MSI deactivated.
Boot video device is 0000:01:05.0
Real Time Clock Driver v1.12ac
Linux agpgart interface v0.102
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
pnp: the driver 'serial' has been registered
RAMDISK driver initialized: 16 RAM disks of 65536K size 1024 blocksize
input: Macintosh mouse button emulation as /class/input/input0
pnp: the driver 'i8042 kbd' has been registered
pnp: the driver 'i8042 aux' has been registered
pnp: the driver 'i8042 kbd' has been unregistered
pnp: the driver 'i8042 aux' has been unregistered
PNP: No PS/2 controller found. Probing ports directly.
serio: i8042 KBD port at 0x60,0x64 irq 1
serio: i8042 AUX port at 0x60,0x64 irq 12
mice: PS/2 mouse device common for all mice
cpuidle: using governor ladder
cpuidle: using governor menu
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
registered taskstats version 1
Freeing unused kernel memory: 316k freed
input: AT Translated Set 2 keyboard as /class/input/input1
thermal: Unknown symbol acpi_processor_set_thermal_limit
SCSI subsystem initialized
ohci_hcd: 2006 August 04 USB 1.1 'Open' Host Controller (OHCI) Driver
PCI: No IRQ known for interrupt pin A of device 0000:00:13.0. Probably buggy MP table. ohci_hcd 0000:00:13.0: Found HC with no IRQ. Check BIOS/PCI 0000:00:13.0 setup!
ohci_hcd 0000:00:13.0: init 0000:00:13.0 fail, -19
PCI: No IRQ known for interrupt pin A of device 0000:00:13.1. Probably buggy MP table. ohci_hcd 0000:00:13.1: Found HC with no IRQ. Check BIOS/PCI 0000:00:13.1 setup!
ohci_hcd 0000:00:13.1: init 0000:00:13.1 fail, -19
libata version 3.00 loaded.
PCI: No IRQ known for interrupt pin A of device 0000:00:13.2. Probably buggy MP table. ehci_hcd 0000:00:13.2: Found HC with no IRQ. Check BIOS/PCI 0000:00:13.2 setup!
ehci_hcd 0000:00:13.2: init 0000:00:13.2 fail, -19
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
pnp: the driver 'ide' has been registered
sata_sil 0000:00:12.0: version 2.3
scsi0 : sata_sil
scsi1 : sata_sil
ata1: SATA max UDMA/100 mmio m512@0xfe02f000 tf 0xfe02f080 irq 11
ata2: SATA max UDMA/100 mmio m512@0xfe02f000 tf 0xfe02f0c0 irq 11
8139cp: 10/100 PCI Ethernet driver v1.3 (Mar 22, 2004)
Linux Tulip driver version 1.1.15-NAPI (Feb 27, 2007)
ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
ata1.00: qc timeout (cmd 0x27)
ata1.00: failed to read native max address (err_mask=0x4)
ata1.00: HPA support seems broken, will skip HPA handling
ata1: failed to recover some devices, retrying in 5 secs
ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
ata1.00: configured for UDMA/100
ata2: SATA link down (SStatus 0 SControl 300)
scsi 0:0:0:0: Direct-Access ATA ST3500320AS AD14 PQ: 0 ANSI: 5 8139cp 0000:02:03.0: This (id 10ec:8139 rev 10) is not an 8139C+ compatible chip
8139cp 0000:02:03.0: Try the "8139too" driver instead.
8139too Fast Ethernet driver 0.9.28
Driver 'sd' needs updating - please use bus_type methods
sd 0:0:0:0: [sda] 976773168 512-byte hardware sectors (500108 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
sd 0:0:0:0: [sda] 976773168 512-byte hardware sectors (500108 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
 sda:<5>firewire_ohci: Added fw-ohci device 0000:02:05.0, OHCI version 1.0
tulip0:  MII transceiver #1 config 3000 status 7829 advertising 01e1.
eth0: Lite-On 82c168 PNIC rev 32 at Port 0xdc00, 00:a0:cc:d5:b5:67, IRQ 16.
ATIIXP: IDE controller (0x1002:0x4376 rev 0x00) at  PCI slot 0000:00:14.1
ATIIXP: not 100% native mode: will probe irqs later
    ide0: BM-DMA at 0xf900-0xf907, BIOS settings: hda:pio, hdb:pio
    ide1: BM-DMA at 0xf908-0xf90f, BIOS settings: hdc:pio, hdd:pio
Probing IDE interface ide0...
udev: renamed network interface eth0 to eth1
hda: ST38630A, ATA DISK drive
hda: host max PIO4 wanted PIO255(auto-tune) selected PIO4
hda: UDMA/33 mode selected
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Probing IDE interface ide1...
hdd: IDE-DVD DROM6216, ATAPI CD/DVD-ROM drive
hdc: LITE-ON DVDRW SHW-1635S, ATAPI CD/DVD-ROM drive
hdc: host max PIO4 wanted PIO255(auto-tune) selected PIO4
hdc: UDMA/66 mode selected
hdd: host max PIO4 wanted PIO255(auto-tune) selected PIO4
hdd: drive side 80-wire cable detection failed, limiting max speed to UDMA33
hdd: UDMA/33 mode selected
ide1 at 0x170-0x177,0x376 on irq 15
eth0: RealTek RTL8139 at 0xffffc200004cc000, 00:13:d4:d6:5c:c1, IRQ 17
eth0:  Identified 8139 chip type 'RTL-8101'
hda: max request size: 128KiB
hda: 16809660 sectors (8606 MB) w/256KiB Cache, CHS=16676/16/63
hda: cache flushes not supported
 hda: hda1 hda2 < hda5 >
hdc: ATAPI 40X DVD-ROM DVD-R CD-R/RW drive, 2048kB Cache
Uniform CD-ROM driver Revision: 3.20
hdd: ATAPI 40X DVD-ROM drive, 512kB Cache
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen
ata1.00: cmd c8/00:08:00:00:00/00:00:00:00:00/e0 tag 0 dma 4096 in
         res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout)
ata1.00: status: { DRDY }
ata1: soft resetting link
ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
ata1.00: configured for UDMA/100
ata1: EH complete
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen
ata1.00: cmd c8/00:08:00:00:00/00:00:00:00:00/e0 tag 0 dma 4096 in
         res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout)
ata1.00: status: { DRDY }
ata1: soft resetting link
ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
ata1.00: configured for UDMA/100
ata1: EH complete
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen
ata1.00: cmd c8/00:08:00:00:00/00:00:00:00:00/e0 tag 0 dma 4096 in
         res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout)
ata1.00: status: { DRDY }
ata1: soft resetting link
ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
ata1.00: configured for UDMA/100
ata1: EH complete
ata1: limiting SATA link speed to 1.5 Gbps
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
ata1.00: cmd c8/00:08:00:00:00/00:00:00:00:00/e0 tag 0 dma 4096 in
         res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout)
ata1.00: status: { DRDY }
ata1: hard resetting link
ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
ata1.00: configured for UDMA/100
ata1: EH complete
Attempting manual resume
swsusp: Marking nosave pages: 000000000009f000 - 0000000000100000
swsusp: Basic memory bitmaps created
swsusp: Basic memory bitmaps freed
kjournald starting.  Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen
ata1.00: cmd c8/00:08:00:00:00/00:00:00:00:00/e0 tag 0 dma 4096 in
         res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout)
ata1.00: status: { DRDY }
ata1: soft resetting link
ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
ata1.00: configured for UDMA/100
ata1: EH complete
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
input: PC Speaker as /class/input/input2
piix4_smbus 0000:00:14.0: Found 0000:00:14.0 device
input: ImPS/2 Generic Wheel Mouse as /class/input/input3
firewire_core: created new fw device fw0 (0 config rom retries, S400)
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen
ata1.00: cmd c8/00:08:00:00:00/00:00:00:00:00/e0 tag 0 dma 4096 in
         res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout)
ata1.00: status: { DRDY }
ata1: soft resetting link
ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
ata1.00: configured for UDMA/100
sd 0:0:0:0: [sda] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE,SUGGEST_OK
sd 0:0:0:0: [sda] Sense Key : Aborted Command [current] [descriptor]
Descriptor sense data with sense descriptors (in hex):
        72 0b 00 00 00 00 00 0c 00 0a 80 00 00 00 00 00
        00 00 00 00
sd 0:0:0:0: [sda] Add. Sense: No additional sense information
end_request: I/O error, dev sda, sector 0
Buffer I/O error on device sda, logical block 0
ata1: EH complete
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen
ata1.00: cmd c8/00:08:00:00:00/00:00:00:00:00/e0 tag 0 dma 4096 in
         res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout)
ata1.00: status: { DRDY }
ata1: soft resetting link
ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
ata1.00: configured for UDMA/100
ata1: EH complete
ata1.00: limiting speed to UDMA/66:PIO4
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen
ata1.00: cmd c8/00:08:00:00:00/00:00:00:00:00/e0 tag 0 dma 4096 in
         res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout)
ata1.00: status: { DRDY }
ata1: soft resetting link
ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
ata1.00: configured for UDMA/66
ata1: EH complete
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen
ata1.00: cmd c8/00:08:00:00:00/00:00:00:00:00/e0 tag 0 dma 4096 in
         res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout)
ata1.00: status: { DRDY }
ata1: soft resetting link
ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
ata1.00: configured for UDMA/66
ata1: EH complete
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen
ata1.00: cmd c8/00:08:00:00:00/00:00:00:00:00/e0 tag 0 dma 4096 in
         res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout)
ata1.00: status: { DRDY }
ata1: soft resetting link
ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
ata1.00: configured for UDMA/66
ata1: EH complete
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen
ata1.00: cmd c8/00:08:00:00:00/00:00:00:00:00/e0 tag 0 dma 4096 in
         res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout)
ata1.00: status: { DRDY }
Adding 409616k swap on /dev/hda5.  Priority:-1 extents:1 across:409616k
ata1: soft resetting link
ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
ata1.00: configured for UDMA/66
ata1: EH complete
EXT3 FS on hda1, internal journal
loop: module loaded
eth1: CSR0 00008000

cat /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
  Vendor: ATA      Model: ST3500320AS      Rev: AD14
  Type:   Direct-Access                    ANSI  SCSI revision: 05

cat /proc/interrupts
           CPU0
  0:         50   IO-APIC-edge      timer
  1:       4516   IO-APIC-edge      i8042
  2:          0    XT-PIC-XT        cascade
  8:          0   IO-APIC-edge      rtc
 11:        140   IO-APIC-edge      sata_sil
 12:      47186   IO-APIC-edge      i8042
 14:      22752   IO-APIC-edge      ide0
 15:      70188   IO-APIC-edge      ide1
 16:      44932   IO-APIC-fasteoi   eth1
17: 1 IO-APIC-fasteoi firewire_ohci, ATI IXP, eth0, radeon@pci:0000:01:05.0
NMI:          0   Non-maskable interrupts
LOC:    1070579   Local timer interrupts
RES:          0   Rescheduling interrupts
CAL:          0   function call interrupts
TLB:          0   TLB shootdowns
TRM:          0   Thermal event interrupts
THR:          0   Threshold APIC interrupts
SPU:          0   Spurious interrupts
ERR:          0

------------------------------------------------------------------------

   Kai Martens				University of Utah
   Research Associate Professor		Department of Physics

   Tel:    (801) 585-5503		115 South 1400 East
   Fax:    (801) 581-6256		James Fletcher Bldg. Room 201
   E-mail: kai@physics.utah.edu		Salt Lake City
   Office: INSCC 216			Utah 84112-0830, USA

------------------------------------------------------------------------



I have a silicon image 3112a 2 port controller. Since kernel 2.6.24 if I have a drive in both ports I get funny errors like that too. Have you tried using only one drive? Looks like you have two..

Sam


Reply to: