How to reprobe scsi devices?

2007-12-27 Thread Magicloud Wang
Dear,
I am using megaraid_sas. When I configured a raid, it did not appear in 
os as 
a device (/dev/sdx). I used to `modprobe -r megaraid_sas  modprobe 
megaraid_sas` to make it appear. But with the new version of megaraid_sas, 
which is always used by 6 others (not kernel modules), I can not `modprobe -r 
megaraid_sas` any more, I have to reboot.
I think there should be a way to resolve this. Could someone tell me?

Thanks.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



How to know the filesystem type on one block device?

2007-12-20 Thread Magicloud Wang
Dear,
By filesystem type, I mean including swap.
Mount it or `file` a dd image of it sure can tell me the filesystem. 
But 
these can not deal with swap, and too complax.
Parted can tell this information of a partition, but can not deal with 
lvm. 
While `lvdisplay` can not tell.

So, any idea?

Thanks.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



[SOLVED]Re: How to know the filesystem type on one block device?

2007-12-20 Thread Magicloud Wang
Dear,
Yeah, thanks.

On 2007年12月20日Thursday 18:59:02 Timothy wrote:
 On Thursday 20 December 2007 23:56:04 Timothy wrote:
  On Thursday 20 December 2007 22:27:45 Magicloud Wang wrote:
   Dear,
 By filesystem type, I mean including swap.
 Mount it or `file` a dd image of it sure can tell me the filesystem.
   But these can not deal with swap, and too complax.
 Parted can tell this information of a partition, but can not deal with
   lvm. While `lvdisplay` can not tell.
  
 So, any idea?
  
   Thanks.
 
  [EMAIL PROTECTED]:~$ sudo file -s /dev/hda1
  /dev/hda1: Linux rev 1.0 ext3 filesystem data (needs journal recovery)
  [EMAIL PROTECTED]:~$ sudo file -s /dev/hda2
  /dev/hda2: x86 boot sector, extended partition table (last)\011
  [EMAIL PROTECTED]:~$ sudo file -s /dev/hda5
  /dev/hda5: LUKS encrypted file, ver 1 [aes, cbc-essiv:sha256, sha1] UUID:
  e0e2c360-b902-4b72-af7f-e269205

 This also works for swap:

 [EMAIL PROTECTED]:~$ sudo file -s /dev/mapper/ghostknife-swap_1
 /dev/mapper/ghostknife-swap_1: Linux/i386 swap file (new style) 1 (4K
 pages) size 345087 pages




Gtk2.0 in sid works abnormally.

2007-12-16 Thread Magicloud Wang
Dear,
I have been using gtk2.0 from May this year till now, with 2.6.18, 
2.6.20, 
2.6.21, 2.6.22, 2.6.23 kernels.
All have a problem that sometime gtk applications can not response to 
key 
input at all. Mouse is OK, and programs run OK. I have to closed the program 
or even restart my machine to get it work again.
Does anyone else has this problem? Any idea?

Thanks.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]