Opened 12 years ago

Closed 9 years ago

#9275 closed bug (no change required)

Haiku doesn't detect hard drive

Reported by: KapiX Owned by: nobody
Priority: normal Milestone: R1
Component: Drivers/Disk Version: R1/alpha4.1
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

It detects only DVD drive and USB stick. I've checked alpha 4.1, hrev44584-gcc2h, hrev44981-gcc2h/4h, all are affected. Laptop model: hp pavilion dv7-4015ew Disabling the BIOS functions in boot menu fixes the issue in ~50% of cases (sometimes it works, sometimes it does not). I'm attaching syslog, it contains messages from two sessions. First - hard drive not detected, second - disabled BIOS functions, hard drive detected correctly.

Attachments (1)

syslog (257.7 KB ) - added by KapiX 12 years ago.

Download all attachments as: .zip

Change History (7)

by KapiX, 12 years ago

Attachment: syslog added

comment:1 by diver, 12 years ago

First boot:

KERN: ahci: ahci_supports_device
KERN: ahci: ahci_supports_device
KERN: ahci: AHCI controller ATI IXP700 found!
KERN: ahci: ahci_register_device
KERN: ahci: ahci_init_driver
KERN: ahci: ahci_sim_init_bus
KERN: ahci: ahci_sim_init_bus: pciDevice 0x82b2f380
KERN: ahci: AHCIController::Init 0:17:0 vendor 1002, device 4391
KERN: ahci: PCI SATA capability found at offset 0x70
KERN: ahci: satacr0 = 0x0010a412, satacr1 = 0x0000000f
KERN: ahci: pcicmd old 0x0007
KERN: ahci: pcicmd new 0x0006
KERN: ahci: registers at 0xf0508000, size 0x400
KERN: ahci: mapping physical address 0xf0508000 with 1024 bytes for AHCI HBA regs
KERN: ahci: physical = 0xf0508000, virtual = 0x815d0000, offset = 0, phyadr = 0xf0508000, mapadr = 0x815d0000, size = 4096, area = 0x000000a9
KERN: ahci: reported number of ports is wrong, using 4 instead.
KERN: ahci: cap: Interface Speed Support: generation 3
KERN: ahci: cap: Number of Command Slots: 32 (raw 0x1f)
KERN: ahci: cap: Number of Ports: 4 (raw 0x2)
KERN: ahci: cap: Supports Port Multiplier: yes
KERN: ahci: cap: Supports External SATA: yes
KERN: ahci: cap: Enclosure Management Supported: no
KERN: ahci: cap: Supports Command List Override: yes
KERN: ahci: cap: Supports Staggered Spin-up: no
KERN: ahci: cap: Supports Mechanical Presence Switch: yes
KERN: ahci: cap: Supports 64-bit Addressing: yes
KERN: ahci: cap: Supports Native Command Queuing: yes
KERN: ahci: cap: Supports SNotification Register: yes
KERN: ahci: cap: Supports Command List Override: yes
KERN: ahci: cap: Supports AHCI mode only: no
KERN: ahci: ghc: AHCI Enable: yes
KERN: ahci: Ports Implemented Mask: 0x00000b
KERN: usb hub 17: ahci: Number of Available Ports: 3
KERN: ahci: AHCI Version 1.0
KERN: ahci: Interrupt 19
KERN: ahci: AHCIPort::Init1 port 0
KERN: ahci: allocating 4096 bytes for some AHCI port
KERN: ahci: area = 170, size = 4096, virt = 0x815d1000, phy = 0x4ef9000
KERN: ahci: PRD table is at 0x815d1580
KERN: ahci: AHCIPort::Init1 port 1
KERN: ahci: allocating 4096 bytes for some AHCI port
KERN: ahci: area = 171, size = 4096, virt = 0x815d2000, phy = 0x4f09000
KERN: ahci: PRD table is at 0x815d2580
KERN: ahci: AHCIPort::Init1 port 3
KERN: ahci: allocating 4096 bytes for some AHCI port
KERN: ahci: area = 172, size = 4096, virt = 0x815d3000, phy = 0x4f08000
KERN: ahci: PRD table is at 0x815d3580
KERN: ahci: AHCIPort::Init2 port 0
KERN: ahci: AHCIPort::ResetPort port 0
KERN: ahci: AHCIPort::ResetPort port 0, deviceBusy 0, forceDeviceReset 1
KERN: ahci: AHCIPort::InterruptErrorHandler port 0, fCommandsActive 0x00000000, is 0x00400040, ci 0x00000000
KERN: ahci: AHCIPort::PostReset port 0
KERN: ahci: ssts 0x00000123
KERN: ahci: sctl 0x00000300
KERN: ahci: serr 0x00000000
KERN: ahci: sact 0x00000000
KERN: ahci: PhyReady Change
KERN: ahci: Port Connect Change
KERN: ahci: device signature 0xffffffff (unknown)
KERN: ahci: ie   0x7dc0007f
KERN: ahci: is   0x00000000
KERN: ahci: cmd  0x0000e017
KERN: ahci: ssts 0x00000123
KERN: ahci: sctl 0x00000300
KERN: ahci: serr 0x00000000
KERN: ahci: sact 0x00000000
KERN: ahci: tfd  0x00000180
KERN: ahci: AHCIPort::Init2 port 1
KERN: ahci: AHCIPort::ResetPort port 1
KERN: ahci: AHCIPort::ResetPort port 1, deviceBusy 0, forceDeviceReset 1
KERN: ahci: AHCIPort::InterruptErrorHandler port 1, fCommandsActive 0x00000000, is 0x00400000, ci 0x00000000
KERN: ahci: AHCIPort::PostReset port 1
KERN: ahci: ssts 0x00000113
KERN: ahci: device signature 0xeb140101 (ATAPI)
KERN: ahci: sctl 0x00000300
KERN: ahci: ie   0x7dc0007f
KERN: ahci: serr 0x00000000
KERN: ahci: is   0x00000000
KERN: ahci: sact 0x00000000
KERN: ahci: cmd  0x0100e017
KERN: ahci: PhyReady Change
KERN: ahci: ssts 0x00000113
KERN: ahci: sctl 0x00000300
KERN: ahci: serr 0x00000000
KERN: ahci: sact 0x00000000
KERN: ahci: tfd  0x00000100
KERN: ahci: AHCIPort::Init2 port 3
KERN: ahci: AHCIPort::ResetPort port 3
KERN: ahci: AHCIPort::ResetPort port 3, deviceBusy 1, forceDeviceReset 1
KERN: ahci: AHCIPort::ResetDevice port 3 no device detected
KERN: ahci: AHCIPort::PostReset port 3
KERN: ahci: AHCIPort::PostReset port 3: no device
KERN: ahci: ie   0x7dc0007f
KERN: ahci: is   0x00000000
KERN: ahci: cmd  0x0020e017
KERN: ahci: ssts 0x00000000
KERN: ahci: sctl 0x00000300
KERN: ahci: serr 0x00000000
KERN: ahci: sact 0x00000000
KERN: ahci: tfd  0x0000007f
KERN: ahci: cookie = 0x8280ba80
KERN: ahci: ahci_path_inquiry, cookie 0x8280ba80
KERN: ahci: ahci_scan_bus, cookie 0x8280ba80
KERN: ahci: AHCIPort::ScsiTestUnitReady port 0
KERN: ahci: AHCIPort::ScsiInquiry port 0
KERN: ahci: ExecuteAtaRequest port 0: device is busy
KERN: ahci: AHCIPort::ResetPort port 0
KERN: ahci: AHCIPort::ResetPort port 0, deviceBusy 1, forceDeviceReset 0
KERN: ahci: AHCIPort::InterruptErrorHandler port 0, fCommandsActive 0x00000000, is 0x00400000, ci 0x00000000
KERN: ahci: AHCIPort::PostReset port 0
KERN: ahci: ssts 0x00000123
KERN: ahci: sctl 0x00000300
KERN: ahci: serr 0x00000000
KERN: ahci: sact 0x00000000
KERN: ahci: PhyReady Change
KERN: ahci: device signature 0xffffffff (unknown)
KERN: ahci: sata_request::abort called for command 0xec
KERN: ahci: identify device failed
KERN: ahci: ahci_get_restrictions, cookie 0x8280ba80
KERN: ahci: AHCIPort::ScsiGetRestrictions port 1: isATAPI 1, KERN: noAutoSense 1, maxBlocks 256
KERN: ahci: no device present on port 3
KERN: ahci: no device present on port 3
KERN: ahci: ahci_supports_device
KERN: ahci: ahci_supports_device
KERN: ahci: AHCIPort::InterruptErrorHandler port 1, fCommandsActive 0x00000001, is 0x40000001, ci 0x00000001
KERN: ahci: ssts 0x00000113
KERN: ahci: sctl 0x00000300
KERN: ahci: serr 0x00000000
KERN: ahci: sact 0x00000000
KERN: ahci: Task File Error
KERN: ahci: AHCIPort::ResetPort port 1
KERN: ahci: AHCIPort::ResetPort port 1, deviceBusy 0, forceDeviceReset 0
KERN: ahci: AHCIPort::PostReset port 1
KERN: ahci: device signature 0xeb140101 (ATAPI)
KERN: ahci: sata_request::finish ATA command 0xa0 failed
KERN: ahci: sata_request::finish status 0x51, error 0x20
KERN: ahci: sata_request::finish ATAPI packet 25 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 (len 10)
KERN: ahci: ahci_ioctl, cookie 0x8280ba80
KERN: ahci: ahci_supports_device
KERN: ahci: ahci_supports_device
KERN: ahci: ahci_supports_device

Second boot:

KERN: ahci: ahci_supports_device
KERN: ahci: ahci_supports_device
KERN: ahci: AHCI controller ATI IXP700 found!
KERN: ahci: ahci_register_device
KERN: ahci: ahci_init_driver
KERN: ahci: ahci_sim_init_bus
KERN: ahci: ahci_sim_init_bus: pciDevice 0x82b2f380
KERN: ahci: AHCIController::Init 0:17:0 vendor 1002, device 4391
KERN: ahci: PCI SATA capability found at offset 0x70
KERN: ahci: satacr0 = 0x0010a412, satacr1 = 0x0000000f
KERN: ahci: pcicmd old 0x0007
KERN: ahci: pcicmd new 0x0006
KERN: ahci: registers at 0xf0508000, size 0x400
KERN: ahci: mapping physical address 0xf0508000 with 1024 bytes for AHCI HBA regs
KERN: ahci: physical = 0xf0508000, virtual = 0x815d0000, offset = 0, phyadr = 0xf0508000, mapadr = 0x815d0000, size = 4096, area = 0x000000a9
KERN: ahci: reported number of ports is wrong, using 4 instead.
KERN: ahci: cap: Interface Speed Support: generation 3
KERN: ahci: cap: Number of Command Slots: 32 (raw 0x1f)
KERN: ahci: cap: Number of Ports: 4 (raw 0x2)
KERN: ahci: cap: Supports Port Multiplier: yes
KERN: ahci: cap: Supports External SATA: yes
KERN: ahci: cap: Enclosure Management Supported: no
KERN: ahci: cap: Supports Command List Override: yes
KERN: ahci: cap: Supports Staggered Spin-up: no
KERN: ahci: cap: Supports Mechanical Presence Switch: yes
KERN: ahci: cap: Supports 64-bit Addressing: yes
KERN: ahci: cap: Supports Native Command Queuing: yes
KERN: ahci: cap: Supports SNotification Register: yes
KERN: ahci: cap: Supports Command List Override: yes
KERN: ahci: cap: Supports AHCI mode only: no
KERN: ahci: ghc: AHCI Enable: yes
KERN: usb hub 17: ahci: Ports Implemented Mask: 0x00000b
KERN: ahci: Number of Available Ports: 3
KERN: ahci: AHCI Version 1.0
KERN: ahci: Interrupt 19
KERN: ahci: AHCIPort::Init1 port 0
KERN: ahci: allocating 4096 bytes for some AHCI port
KERN: ahci: area = 170, size = 4096, virt = 0x815d1000, phy = 0x4ef9000
KERN: ahci: PRD table is at 0x815d1580
KERN: ahci: AHCIPort::Init1 port 1
KERN: ahci: allocating 4096 bytes for some AHCI port
KERN: ahci: area = 171, size = 4096, virt = 0x815d2000, phy = 0x4f09000
KERN: ahci: PRD table is at 0x815d2580
KERN: ahci: AHCIPort::Init1 port 3
KERN: ahci: allocating 4096 bytes for some AHCI port
KERN: ahci: area = 172, size = 4096, virt = 0x815d3000, phy = 0x4f08000
KERN: ahci: PRD table is at 0x815d3580
KERN: ahci: AHCIPort::Init2 port 0
KERN: ahci: AHCIPort::ResetPort port 0
KERN: ahci: AHCIPort::ResetPort port 0, deviceBusy 0, forceDeviceReset 1
KERN: ahci: AHCIPort::InterruptErrorHandler port 0, fCommandsActive 0x00000000, is 0x00400000, ci 0x00000000
KERN: ahci: ssts 0x00000000
KERN: ahci: sctl 0x00000301
KERN: ahci: serr 0x04090000
KERN: ahci: sact 0x00000000
KERN: ahci: PhyReady Change
KERN: ahci: AHCIPort::InterruptErrorHandler port 0, fCommandsActive 0x00000000, is 0x00000040, ci 0x00000000
KERN: ahci: ssts 0x00000000
KERN: ahci: sctl 0x00000301
KERN: ahci: serr 0x04080000
KERN: ahci: sact 0x00000000
KERN: ahci: Port Connect Change
KERN: ahci: AHCIPort::InterruptErrorHandler port 0, fCommandsActive 0x00000000, is 0x00000040, ci 0x00000000
KERN: ahci: ssts 0x00000123
KERN: ahci: sctl 0x00000300
KERN: ahci: serr 0x040d0000
KERN: ahci: sact 0x00000000
KERN: ahci: Port Connect Change
KERN: ahci: AHCIPort::PostReset port 0
KERN: ahci: device signature 0x00000101 (ATA)
KERN: ahci: ie   0x7dc0007f
KERN: ahci: is   0x00000000
KERN: ahci: cmd  0x0000e017
KERN: ahci: ssts 0x00000123
KERN: ahci: sctl 0x00000300
KERN: ahci: serr 0x00000000
KERN: ahci: sact 0x00000000
KERN: ahci: tfd  0x00000150
KERN: ahci: AHCIPort::Init2 port 1
KERN: ahci: AHCIPort::ResetPort port 1
KERN: ahci: AHCIPort::ResetPort port 1, deviceBusy 0, forceDeviceReset 1
KERN: ahci: AHCIPort::InterruptErrorHandler port 1, fCommandsActive 0x00000000, is 0x00400000, ci 0x00000000
KERN: ahci: ssts 0x00000000
KERN: ahci: sctl 0x00000301
KERN: ahci: serr 0x04090000
KERN: ahci: sact 0x00000000
KERN: ahci: PhyReady Change
KERN: ahci: AHCIPort::InterruptErrorHandler port 1, fCommandsActive 0x00000000, is 0x00000040, ci 0x00000000
KERN: ahci: ssts 0x00000000
KERN: ahci: sctl 0x00000301
KERN: ahci: serr 0x04080000
KERN: ahci: sact 0x00000000
KERN: ahci: Port Connect Change
KERN: ahci: AHCIPort::InterruptErrorHandler port 1, fCommandsActive 0x00000000, is 0x00000040, ci 0x00000000
KERN: ahci: ssts 0x00000113
KERN: ahci: sctl 0x00000300
KERN: ahci: serr 0x040d0000
KERN: ahci: sact 0x00000000
KERN: ahci: Port Connect Change
KERN: ahci: AHCIPort::PostReset port 1
KERN: ahci: device signature 0xeb140101 (ATAPI)
KERN: ahci: ie   0x7dc0007f
KERN: ahci: is   0x00000000
KERN: ahci: cmd  0x0100e017
KERN: ahci: ssts 0x00000113
KERN: ahci: sctl 0x00000300
KERN: ahci: serr 0x00000000
KERN: usb hub 32: ahci: sact 0x00000000
KERN: ahci: tfd  0x00000100
KERN: ahci: AHCIPort::Init2 port 3
KERN: ahci: AHCIPort::ResetPort port 3
KERN: ahci: AHCIPort::ResetPort port 3, deviceBusy 1, forceDeviceReset 1
KERN: ahci: AHCIPort::ResetDevice port 3 no device detected
KERN: ahci: AHCIPort::PostReset port 3
KERN: ahci: AHCIPort::PostReset port 3: no device
KERN: ahci: ie   0x7dc0007f
KERN: ahci: is   0x00000000
KERN: ahci: cmd  0x0020e017
KERN: ahci: ssts 0x00000000
KERN: ahci: sctl 0x00000300
KERN: ahci: serr 0x00000000
KERN: ahci: sact 0x00000000
KERN: ahci: tfd  0x0000007f
KERN: ahci: cookie = 0x8280ba80
KERN: aKERN: hci: ahci_path_inquiry, cookie 0x8280ba80
KERN: ahci: ahci_path_inquiry, cookie 0x8280ba80
KERN: ahci: ahci_scan_bus, cookie 0x8280ba80
KERN: ahci: AHCIPort::ScsiTestUnitReady port 0
KERN: ahci: AHCIPort::ScsiInquiry port 0
KERN: ahci: lba 1, lba48 1, fUse48BitCommands 1, sectors 268435455, sectors48 976773168, size 500107862016
KERN: ahci: model number: TOSHIBA MK5056GSY                       
KERN: ahci: serial number:            40RAFFLJS
KERN: ahci: firmware rev.: LH003C  
KERN: ahci: trim support: no
KERN: ahci: sg_memcpy phyAddr 0x49a2000, size 96
KERN: ahci: ahci_get_restrictions, cookie 0x8280ba80
KERN: ahci: AHCIPort::ScsiGetRestrictions port 0: isATAPI 0, noAutoSense 0, maxBlocks 65536
KERN: ahci: ahci_get_restrictions, cookie 0x8280ba80
KERN: ahci: AHCIPort::ScsiGetRestrictions port 1: isATAPI 1, noAutoSense 1, maxBlocks 256
KERN: ahci: no device present on port 3
KERN: ahci: no device present on port 3
KERN: ahci: ahci_supports_device
KERN: ahci: ahci_supports_device
KERN: ahci: AHCIPort::ScsiReadCapacity port 0
KERN: ahci: SectorSize 512, SectorCount 0x3a386030
KERN: ahci: sg_memcpy phyAddr 0x67a4f4, size 8
KERN: ahci: AHCIPort::ScsiReadCapacity port 0
KERN: ahci: SectorSize 512, SectorCount 0x3a386030
KERN: ahci: sg_memcpy phyAddr 0x67a4b4, size 8
KERN: ahci: ahci_ioctl, cookie 0x8280ba80
KERN: ahci: AHCIPort::InterruptErrorHandler port 1, fCommandsActive 0x00000001, is 0x40000001, ci 0x00000001
KERN: ahci: ssts 0x00000113
KERN: ahci: sctl 0x00000300
KERN: ahci: serr 0x00000000
KERN: ahci: sact 0x00000000
KERN: ahci: Task File Error
KERN: ahci: AHCIPort::ResetPort port 1
KERN: ahci: AHCIPort::ResetPort port 1, deviceBusy 0, forceDeviceReset 0
KERN: ahci: AHCIPort::PostReset port 1
KERN: ahci: device signature 0xeb140101 (ATAPI)
KERN: ahci: sata_request::finish ATA command 0xa0 failed
KERN: ahci: sata_request::finish status 0x51, error 0x20
KERN: ahci: sata_request::finish ATAPI packet 25 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 (len 10)
KERN: ahci: ahci_ioctl, cookie 0x8280ba80
KERN: ahci: ahci_supports_device
KERN: ahci: AHCIPort::ScsiExecuteRequest port 0 unsupported request opcode 0x43
KERN: ahci: AHCIPort::ScsiExecuteRequest port 0 unsupported request opcode 0x43
KERN: ahci: AHCIPort::ScsiExecuteRequest port 0 unsupported request opcode 0x43
KERN: ahci: AHCIPort::ScsiExecuteRequest port 0 unsupported request opcode 0x43
KERN: ahci: AHCIPort::ScsiExecuteRequest port 0 unsupported request opcode 0x43
KERN: ahci: AHCIPort::ScsiExecuteRequest port 0 unsupported request opcode 0x43
KERN: ahci: ahci_supports_device
KERN: ahci: ahci_supports_device

comment:2 by KapiX, 12 years ago

After installation even disabling BIOS functions doesn't help. I keep getting kernel panics stating that Haiku can't find any boot partitions.

comment:3 by marcusoverhagen, 12 years ago

Owner: changed from marcusoverhagen to nobody
Status: newassigned

I have neither the hardware nor the time to fix this issue. sorry.

comment:4 by pulkomandy, 9 years ago

Can you try the patch from https://dev.haiku-os.org/ticket/12295 ?

comment:5 by KapiX, 9 years ago

Unfortunately I no longer have this laptop, it died 2 years ago.

comment:6 by pulkomandy, 9 years ago

Resolution: no change required
Status: assignedclosed

Ok, in that case closing the issue. Please open a new one if you have similar problems in still working hardware.

Note: See TracTickets for help on using tickets.