Francois Noel wrote:
> I'm having a problem getting my sata disks to be detected in AHCI mode on
> a Via VT8251 controller. It is supposed to be supported with the native
> AHCI driver but it's not working. It looks like the controller is
> detected but it does not recognize the drives that are attached to it. I
> installed the OS on an IDE drive in order to get the box running.
> 
> Here is what I'm using:
> 
> SunOS hoya 5.11 snv_64a i86pc i386 i86pc, in 64bit.
> 
> My motherboard is a Asus A8V-XE which is based on a VIA VT8251 with 4
> sata connections. On each of those, there is a Hitachi HDS722525VLSA80
> connected and none of them is recognized. They are, only when I configure
> the bios in IDE mode. I tried another type of drive (Seagate) just to
> make sure it was not this model that had a problem but without success.
> 
> There is no AHCI messages in /var/adm/messages.

You might need to run some update_drv magic, eg


# update_drv -a -i ' "pci1106,3349" "pci1043,81b5" ' ahci


> I attached prtconf -pv as reference as well as cfgadm -al.
> 
> Another problem I experienced is a system panic whenever I disconnect a
> sata cable from a drive when the system is running. That gets written in
> messages:
> 
------------------------
Aug 27 18:48:59 hoya ahci: [ID 812726 kern.info] NOTICE: ahci phyrdy: port 0 
device link lost
Aug 27 18:48:59 hoya genunix: [ID 335743 kern.notice] BAD TRAP: type=e (#pf 
Page fault) rp=ffffff0007cd58e0 addr=10 occurred in module "ahci" due to a 
NULL pointer dereference
Aug 27 18:48:59 hoya genunix: [ID 655072 kern.notice] ffffff0007cd5a50 
ahci:ahci_mop_commands+31a ()
Aug 27 18:48:59 hoya genunix: [ID 655072 kern.notice] ffffff0007cd5ac0 
ahci:ahci_reject_all_abort_pkts+b4 ()
Aug 27 18:48:59 hoya genunix: [ID 655072 kern.notice] ffffff0007cd5b60 
ahci:ahci_intr_phyrdy_change+164 ()
Aug 27 18:48:59 hoya genunix: [ID 655072 kern.notice] ffffff0007cd5bc0 
ahci:ahci_intr+1b3 ()
Aug 27 18:55:59 hoya savecore: [ID 570001 auth.error] reboot after panic: 
BAD TRAP: type=e (#pf Page fault) rp=ffffff0007cd58e0 addr=10 occurred in 
module "ahci" due to a NULL pointer dereference
----------------------
> 
> Very strange as the disk is not in use. I could send the corefile if
> someone is willing to have a look.

You don't know that the disk is not in use, and you
are disconnecting a device which - from the look of
it - does not support hotplug operation. Why did you
think you could disconnect the device while the system
is running?



James C. McPherson
--
Solaris kernel software engineer
Sun Microsystems
_______________________________________________
storage-discuss mailing list
storage-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/storage-discuss

Reply via email to