DragonFly BSD
DragonFly users List (threaded) for 2011-05
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: ad8: FAILURE - READ_DMA48 status=51<READY,DSC,ERROR> error=10<NID_NOT_FOUND> LBA=809594688


From: Chris Turner <c.turner@xxxxxxxxxxxxxxxxxxx>
Date: Mon, 30 May 2011 20:27:27 +0000

On Mon, May 30, 2011 at 10:54:26AM +0530, Siju George wrote:
> 
> Also How do I map ad8 etc to their sernos?
> 
> The answer i got from this list earlier was to ls /dev/ and /dev/serno
> and match according to the order found there
> 

Looks like you're on the right track - but not quite there - 
the main thing is to use the device minor to match things up - 
on my system, for example:

  # ls -l /dev/ad6s1a                 
  crw-r-----  1 root  operator   20, 0x00020030 May 29 21:51 /dev/ad6s1a
  # ls -l /dev/serno |grep 0x00020030 
  crw-r-----  1 root  operator   20, 0x00020030 May 29 21:51 6RY18WCV.s1a
  # grep 6RY.*s1a /etc/devfs.conf 
  link serno/6RY18WCV.s1a dev02.root
  # ls -l /dev/ |grep 0x00020030      
  crw-r-----  1 root  operator   20, 0x00020030 May 29 21:51 ad6s1a
  crw-r-----  1 root  operator   20, 0x00020030 May 29 21:51 dev02.root

So as can be seen from above, the 'ad6s1a' device is showing up
with the device minor of 0x00020030 - which corresponds to '6RY18WCV.s1a'
and also, in my case, as I have setup devfs aliases, /dev/dev02.root .

Running 'natacontrol list' might also be helpful: 

  # natacontrol list   
  ATA channel 0:
      Master:      no device present
      Slave:       no device present
  ATA channel 1:
      Master: acd0 <COMPAQ DVD-ROM LTD163/GQH3> ATA/ATAPI revision 0
      Slave:  acd1 <CDD4851 CD-R/RW/C2.8> ATA/ATAPI revision 0
  ATA channel 2:
      Master:      no device present
      Slave:       no device present
  ATA channel 3:
      Master:  ad6 <ST3250410AS/3.AAA> Serial ATA v1.0
      Slave:       no device present

Cheers,

- Chris  




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