Ok I think the problem is the mapping address, I was using mknod
/dev/megaraid_sas_ioctl_node c 253 0.
I assume I should use mknod /dev/megaraid_sas_ioctl_node c 254 0 correct?

Thanks again.

cat /proc/devices
Character devices:
  1 mem
  2 pty
  3 ttyp
  4 /dev/vc/0
  4 tty
  4 ttyS
  5 /dev/tty
  5 /dev/console
  5 /dev/ptmx
  7 vcs
 10 misc
 13 input
 29 fb
128 ptm
136 pts
180 usb
189 usb_device
254 megaraid_sas_ioctl

cat /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 08 Lun: 00
  Vendor: DP       Model: BACKPLANE        Rev: 1.05
  Type:   Enclosure                        ANSI SCSI revision: 05
Host: scsi0 Channel: 02 Id: 00 Lun: 00
  Vendor: DELL     Model: PERC 5/i         Rev: 1.03
  Type:   Direct-Access                    ANSI SCSI revision: 05

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Jefferson Ogata
Sent: Monday, December 28, 2009 5:16 PM
To: [email protected]
Subject: Re: megactl

On 2009-12-28 21:46, P.A wrote:
> Thanks for the reply but not sure what I'm missing but I tried that and it
> didn't work.
> 
> # ls -l /dev/megaraid_sas_ioctl_node
> crw-r--r-- 1 root root 253, 0 2009-12-28 16:42
/dev/megaraid_sas_ioctl_node
> 
> ./megasasctl
> unable to open device /dev/megaraid_sas_ioctl_node: No such device or
> address
> 
> 
> any ideas?

What does "grep mega /proc/devices" yield?

How about "cat /proc/scsi/scsi"?

_______________________________________________
Linux-PowerEdge mailing list
[email protected]
https://lists.us.dell.com/mailman/listinfo/linux-poweredge
Please read the FAQ at http://lists.us.dell.com/faq

_______________________________________________
Linux-PowerEdge mailing list
[email protected]
https://lists.us.dell.com/mailman/listinfo/linux-poweredge
Please read the FAQ at http://lists.us.dell.com/faq

Reply via email to