Re: libata question

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

 



On Wed, 2006-08-02 at 00:33 +0900, Tejun Heo wrote:
> Roger Oberholtzer wrote:
> > Should hotplug work with Intel Corporation 82801GB/GR/GH (ICH7
> > Family) chipset? I am trying kernel 2.6.17.7
> > 
> > I have been trying the warmplug stuff. But I am not convinced it is 
> > acting as I expect. If I remove a disk and then do a scan, shouldn't
> > the disk entry go away?
> 
> Eventually, yes.  Do you mind to send me the dmesg?

I have picked out the lines related to this. Some of the complaints at
the end are probably when I moved the disk. 

> > I know about the problems with just removing a disk. But this is with
> > one that is not mounted. I just want to see if the disks are properly
> > sensed as coming and going. I am using the warmplug instructions on
> > your web site.
> 
> There are some complications with piix PCS register (port 
> enable/disable) which always seems to have some problem.  If you can use 
> AHCI mode, it will be *much* better.

OK. How do I get it in ahci mode? I see that both the ata_piix and achi
drivers are loaded. This is what is loaded:

Module                  Size  Used by
xfs                   465784  0
af_packet              28040  2
ipv6                  238368  18
nfsd                  202244  9
exportfs                9600  1 nfsd
lockd                  57992  2 nfsd
nfs_acl                 7680  1 nfsd
sunrpc                142524  9 nfsd,lockd,nfs_acl
edd                    12740  0
loop                   18824  0
dm_mod                 54936  0
usbhid                 47328  0
ehci_hcd               32008  0
shpchp                 38304  0
uhci_hcd               24588  0
e1000                 104888  0
pci_hotplug            31548  1 shpchp
usbcore               115968  4 usbhid,ehci_hcd,uhci_hcd
ide_cd                 39712  0
cdrom                  36640  1 ide_cd
i2c_i801               12172  0
i2c_core               23552  1 i2c_i801
parport_pc             39780  1
lp                     15140  0
parport                37320  2 parport_pc,lp
ext3                  125576  2
jbd                    64032  1 ext3
sg                     35996  0
ata_piix               15492  0
ahci                   18436  0
processor              30056  0
libata                 65676  2 ata_piix,ahci
piix                   13444  0 [permanent]
sd_mod                 22656  0
scsi_mod              127624  4 sg,ahci,libata,sd_mod
ide_disk               19072  4
ide_core              118344  3 ide_cd,piix,ide_disk

> If you think the driver doesn't do the right thing(tm), please send me 
> detailed info.  I'll try to fix the problem if possible or explain why 
> it can't be fixed at the very least.

I bet the driver does the right thing. The trick is knowing what that is
supposed to be. And how to use the various commands on files in /sys at
the correct time and in the correct order.

--
Roger Oberholtzer

Attachment: m.txt.gz
Description: GNU Zip compressed data


[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux