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

Re: Question about HotPlug and cciss hp storage



Hi,

I'm trying to understand why this directory is empty : /sys/class/scsi_host/
We have two types of servers, one like that
# uname -r ; cat /etc/debian_version
2.6.32-5-amd64
6.0.4

And other one like that
# uname -r ; cat /etc/debian_version
2.6.39-bpo.2-amd64
6.0.4

On the first one :
# l /sys/class/scsi_host/
total 0

On the second :
# l /sys/class/scsi_host/
total 0
lrwxrwxrwx 1 root root 0 20 févr. 11:06 host0 -> ../../devices/pci0000:00/0000:00:1f.1/host0/scsi_host/host0
lrwxrwxrwx 1 root root 0 20 févr. 11:06 host1 -> ../../devices/pci0000:00/0000:00:1f.1/host1/scsi_host/host1

It drive me crazy !
Could someone explain me this difference ?

Second point, why i have this dependency for the package scsitools ?
# aptitude install scsitools
Les NOUVEAUX paquets suivants vont être installés :
  libdrm-intel1{a} libdrm-radeon1{a} libdrm2{a} libgl1-mesa-dri{a} libgl1-mesa-glx{a} libsgutils2-2{a} libutempter0{a} libxaw7{a} libxmu6{a} libxv1{a} libxxf86dga1{a} libxxf86vm1{a} scsitools sg3-utils{a} tcl8.4{a} tk8.4{a}
  x11-utils{a} xbitmaps{a} xterm{a}

drm... mesa... i don't want this on my server, i just want rescan scsi...
I have installed the package on a test server to read the script /sbin/rescan-scsi-bus, and of course it stop at this line :
for hostdir in /sys/class/scsi_host/host*; do (empty in my case)

This line was my first hope : echo "No SCSI host adapters found in sysfs" ; Oh ! sysfs, nice way to search and it was uninstalled on my production server.
SO i have installed it...
But /sys/class/scsi_host/ is always empty...

Any help ? :)

JG

Le 17 février 2012 18:01, Christofer C. Bell <christofer.c.bell@gmail.com> a écrit :
On Fri, Feb 17, 2012 at 10:59 AM, Julien Groselle
<julien.groselle@gmail.com> wrote:
> I'm sure my kernel is not so old :)
>
> # uname -r ; cat /etc/debian_version
> 2.6.32-5-amd64
> 6.0.4

Oh, not you, Julien.  I was addressing Frank who is running Lenny's
kernel.  That said, he seems to have sorted things out on his end, as
well, and it's working for him now. :-)  I don't know the state of
support for this feature in Lenny, I only have my own system to look
at which is on Squeeze.

--
Chris


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: CAOEVnYuujBZGckOis1w5RK0E=dj2-Fea-TnW10Ntrd+dZK2P0g@mail.gmail.com" target="_blank">http://lists.debian.org/CAOEVnYuujBZGckOis1w5RK0E=dj2-Fea-TnW10Ntrd+dZK2P0g@mail.gmail.com



Reply to: