Software :: Usb Block Driver And SCSI Aommands For Host Controller?
Jan 23, 2010
i am writing block deriver for usb device in linux i want to read and write data to/from usb device i already registered usb device with my driver and opened the handle for the usb device now i need to send scsi command to usb device to make it work but i dont have knowledge about scsi commands and how and where to use them now i need to know which scsi command i need to pass to the usb device and how can i pass that command to usb device also i need some information like how to register host controller with my usb driver
if anyone knows about this or where can find the tutorials / documentation/ framework for the same.
View 1 Replies
ADVERTISEMENT
Aug 23, 2010
I have a dell PC running on Fedora 12, and I would like to install this SCSI controller card from adaptec:[URL]I see that the driver for Linux is available only as source code. Can somebody please indicate me how to proceed? I am not advanced enough in Linux to know what to do with it myself...I downloaded the most recent (v2.0.26) Source Code for Linux Kernel v2.6 on all platforms.Here are the contents of the tarball (if it helps in any way):
03/09/2007 08:42 PM 10,821 aic7770.c
03/09/2007 08:42 PM 8,088 aic7770_osm.c
03/09/2007 08:42 PM 51,838 aic79xx.h
[code]....
View 2 Replies
View Related
Feb 15, 2010
i m facing same error in most of the HCL servers. the problem is that it throws error while booting and sometimes not throws error. the error is :-
Feb 13 13:17:25 fe13s kernel: Adapter 0: Bus A: The SCSI controller was reset due to SCSI BUS noise or an invalid signal. Check cables, termination, termpower, LVDS operation, etc.
Feb 13 13:17:30 fe13s kernel: Adapter 0: Bus B: The SCSI controller successfully recovered from a SCSI BUS issue. The issue may still be present on the BUS. Check cables, termination, termpower, LVDS operation, etc
Feb 13 13:29:15 fe13s kernel: Adapter 0: Bus B: The SCSI controller successfully recovered from a SCSI BUS issue. The issue may still be present on the BUS. Check cables, termination, termpower, LVDS operation, etc
code....
View 2 Replies
View Related
Jul 25, 2010
Is there a way i can remove/disable the USB Host controller driver from the kernel, without kernel compilation..
If not, how should i go about recompiling the kernel to have this module disabled..
View 9 Replies
View Related
Jul 25, 2010
Am a quite naive user of linux. I would like to know whether there is a way in which I can remove/disable the USB Host controller driver from the kernel, without kernel compilation..Am using a custom system which has linux in it (Fedora) If not, how should i go about recompiling the kernel to have this module disabled.
View 1 Replies
View Related
Jan 1, 2011
For years I have used a Slax live CD on a laptop to clone internal HDDs to USB HDDs. I recently purchased a Sony VPCF136FM laptop with Intel Core i7 CPU. It apparently has USB 3.0 ports. The problem is the USB ports are dead with Slax. There is a USB devise driver available for Windows 7 from Sony but nothing for Linux operating systems. Can this driver be ported to Linux? It is an exacutable (XXX.exe). The chip for the USB Host is from Renesas Electronics (no help there, either). Where can I find a device driver to use with Slax and how would I install it?
View 3 Replies
View Related
Apr 26, 2010
Does Debian have any particular tools or nuances for installing new hardware? I saw some stuff on Ubuntu which is related... but you know.
The dmesg file shows that it's being recognized, but I don't think it's actually being used (i.e. there is no driver installed). This is what's in the dmesg file:
Code:
[ 1.384634] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
[ 1.855496] SCSI subsystem initialized
[ 5.146598] scsi0 : ioc0: LSI53C1020A A1, FwRev=01032700h, Ports=1, MaxQ=255, IRQ=16
[Code]....
Unless someone has already compiled a driver for Debian Lenny for this hardware, I'm going to have to compile my own I guess. The driver package seems to come with something called mptlinux-4.00.43.00-src.tar.gz which I'm guessing can be compiled for any Linux, but looking at the instructions, it's pretty much beyond me how to get started. It talks about using kernel source to build a module and such and such.
View 3 Replies
View Related
Oct 22, 2010
I have a Dell PE 600 box with 2 Adaptec 2110s U160 Single Channel RAID controller supported 6 HDDs.I am trying to install Ubuntu from a mini ISO - tried server / desktop / alternate as well. And also different Ubuntu versions.The mini installer runs upto setting the time zone (after configuring for DHCP et.al.) and then on the screen 'Detecting Disks and Other Hardware' hangs up.Now I am assuming its because of the fact that I have 2 of the above controllers - as I have another similar box with only 1 of the controllers and it installs/boots fine with no problems.Look forward to you suggestions/help and if there is any other info I can provide. I plan to set up Ubuntu 10.10 server on it. Btw I don't think its a Linux problem as SUSE 11.3 installs fine on the box.
View 1 Replies
View Related
Oct 1, 2010
We have AMD 64 Bit server with Adaptec SATA RAILD contoler, while load Cent OS 5 at Sendmail level it's hange . It is giving SCSCI hang error.
View 2 Replies
View Related
Feb 17, 2011
In /proc/scsi/scsi, we can see the scsi host no. (scsi identifier no.). for e.g. Host: scsi4 Channel: 00 Id: 01 Lun: 00 In above e.g., scsi identifier no. is 4. Whenever we modprobe a particular module associated with scsi devices, we can see new entry in/proc/scsi/scsi with a greater identifier no. When we do rmmod on that module, the entry from /proc/scsi/scsi wipes off but still the counter of scsi identifier no. doesn't decreases. is is there any way to reset or decrement this counter so that next time when I do modprobe on scsi related module, it will assign no.s starting with 0 ? I found that during registering a scsi device, scsi_register() method gets value from "next_host" (which is a static int initialized to 0) and then increments next_host counter. Also, during scsi_unregister(), it decrements next_host counter. rmmod internally calls scsi_unregister(). So, if it is true then why the scsi host id. doesn't decrement during rmmod?
View 2 Replies
View Related
Mar 16, 2009
I've just put together a Centos 5.2 system using an old Future Domain SCSI card which would allow me to hook up an external DAT drive. On its BIOS screen it advertises itself as an AHA-2920 which should be handled by the aic7xxx module. However, the module doesn't even get loaded unless I force it in /etc/rc.modules and even then it doesn't pick up the card.
View 2 Replies
View Related
Apr 7, 2011
we need to connect 80pin SCA Ultra320 SCSI hdd to 68pin on host adapter. The adapter we got is Assmann ABSCA-2. Hard drive is 'Fujitsu MAW3073NC'
we have two 68pin cables, one with and one without the terminator on end. which one to use?
it is essential the drive doesn't get damaged.
View 14 Replies
View Related
Feb 17, 2010
I am attempting to load CentOS 5 on an Acer 6900 desktop and I'm not even getting out of the starting gate. I am familiar with using linux but not the install procedure which is why I am beginning to dive into this. However, when I bring the system up off the Linux boot disk and go to install it's not even giving me the option of the controller so I can begin installing the os from the dvd-rom. This is what acer lists as the controller for the 6900: ich8 serial ata storage controller 2820 linux driver. I cannot find this driver for linux anywhere.
View 10 Replies
View Related
Jun 14, 2011
Does anyone have knowledge of where I can get drivers for above card?
View 1 Replies
View Related
Feb 15, 2011
For the last four days, I have been getting HIDS alerts like these:
Code:
152.2.x.x - - [15/Feb/2011:04:28:59 -0500] "PROPFIND /C%24.co HTTP/1.1" 405 231
152.2.x.x - - [15/Feb/2011:04:28:59 -0500] "PROPFIND /C%24.com HTTP/1.1" 405 232
[code]....
View 7 Replies
View Related
Apr 11, 2011
In my understanding, the way /proc/scsi/scsi gets populated, /proc/paritions also gets populated in the same fashion. i.e. the description for first entry of /proc/scsi/scsi can be seen in the first entry of /proc/partitions and same for rest.
So, With this assumption, in my project, I used to relate first entry of /proc/scsi/scsi with first entry of /proc/partitions to get its total size and same for all entries.
But, I observed some differences in following scenario, where
1) The first 4 entries in /proc/scsi/scsi are SAN luns attached to my system and for which the actual device names in /dev/ are sda,sdb,sdc and sdd.
2) The last 4 entries are the internal HDDs on same system. In /dev/, their respective device names are sde,sdf,sdg & sdh.
(Output attached at end of the thread)
But in /proc/partitions, the device order is different.
You can see their respective sizes in /proc/partition output as well.
So, my question is, in this particular scenario, I can't relate the first entry of /proc/scsi/scsi with first entry of /proc/partition. i.e. scsi0:00:00:00 is not /dev/sde, because it is actually /dev/sda.
It seems that my assumption is wrong in this scenario.
Is there any way or mechanism to figure out actual device name for an entry in /proc/scsi/scsi in /dev/ directory?
How can my application should relate /proc/scsi/scsi entries with their respective device names and sizes?
View 2 Replies
View Related
May 4, 2010
When I enter "cat /proc/scsi/scsi" I'm returned with "cat: /proc/scsi/scsi: No such file or directory". I've tried this on two different installs on two different machines.
View 6 Replies
View Related
Feb 1, 2010
i have a linux machine installed with RedHat 4.7 x64 bit. toady our machine just hanged and the only thing we can do was to do an hard reboot.i saw that when she hanges all her disk looks offline. in /var/log/messages i only saw this error message:
kernel: lpfc 0000:10:00.0: 0:0713 SCSI layer issued LUN reset (0, 4) Data: x0 x0 x0
we have 6 disks in RAID 5 in this machine- SAS disks. i've search in the net and looks like the emulex driver told the SCSI to do a reset for some reason. how can i check this issue? machine is online now and everything looks ok but i'm afraid i have a problem perhaps with my disks and this is a production machine so it cant happened again.
View 1 Replies
View Related
Jun 23, 2011
Some of our workstations have LTO's attached and they seem to drop off every now and again, the only thing which picks them up again (besides a reboot) is the famous rescan-scsi-bus script from here
The thing is that I'd like non-root users to be able to run this script, which in turn needs root to /proc/scsi/scsi
View 2 Replies
View Related
Feb 6, 2010
I have a VT6421 based raid controller. lspci shows this: 00:0a.0 RAID bus controller: VIA Technologies, Inc. VT6421 IDE RAID Controller (rev 50) The drivers that come with it appear to have been compiled against an old kernel (I'm guessing). When I try to load them I get invalid module format. dmesg shows this: viamraid: version magic '2.6.11-1.1369_FC4 686 REGPARM 4KSTACKS gcc-4.0' should be '2.6.27.7-smp SMP mod_unload Does anyone know of a way to get this to work? I found the source for this, but it appears to only support Fedora, Mandrak, and RedHat. I can't get it to compile or make a driver disk.
View 3 Replies
View Related
Mar 23, 2010
I just installed the latest version of Mint xfce on my old inspiron 8000 with a microsoft MN-120 pci ethernet card, and though the card shows up as hardware, it is not recognized as a network interface. I believe there is no driver loaded for it.
It's an old card, but it seems the kernel still supports it. There are instructions for activating the dc driver that appears to be the proper driver for this chip set, but those instructions originated from freebsd and I'm not sure they translate well. See here:[URL]
I did find a kernel config file, but I was afraid to add the suggested lines to it because there were no other lines specifying "devices". They all started with "config".
View 2 Replies
View Related
Jul 3, 2011
i am having issues with networking on a certain liveCD.all ubuntu installs ive done on this machine im sure work fine, but i may have had issues with older backtrack versions.My issue is no networking on boot of SamuraiWTF, for those unfamiliar its based on ubuntu 9.04 There is nothing except lo loopback when i run 'ifconfig', and there is nothing in /etc/network/interfaces for eth0 either.
lspci shows a Broadcom driver, but the same command shows the model number etc on a newer ubuntu install on the same machine. This is:
Broadcom NetLink BCM57780
I have the latest .tar.gz of the tg3 drivers suggested by Broadcom, but im lost on how to install them.
-------------------------------------------------------
EDIT: it seems to be an issue with earlier kernels, i installed 2.6.35 and it worked but the kernel isnt mean for 9.04 i dont think, and now theres issues with the nvidia card
View 4 Replies
View Related
Feb 4, 2011
I am running Ubuntu 10.10 on my old Acer Travelmate 661 LCi. Device manager tells me: info.linux.driver i915. Is there a better driver, and if yes, where can I get it and how can I install it.
View 1 Replies
View Related
Feb 13, 2010
I recently installed Ubuntu 9.10 on an old family laptop. It is a Compaq Presario V2000. Everything works perfectly except no wireless networks are recognized, even though I know there are available networks. My network controller is detected but is not doing it's job, which is finding available wireless networks! Using "system testing" I found this out about my network controller:
"Detecting your network controller(s):
Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
Broadcom Corporation BCM4318 [AirForce One 54g] 802.11g Wireless LAN Controller (rev 02)"
url
View 3 Replies
View Related
May 28, 2011
I patched my wireless driver in order to support packet injection. Using this tutorial:
- Install the Firmware:
Code:
- Create new directory:
Code:
- Now disconnect Internet and unload all your driver (use rmmod command)
- Move/copy the Compat-Wireless patched in /usr/src/drivers directory and unpack the drivers:
Code:
Blacklist the wl driver: (STA driver)
Code:
Currently I'm running Ubuntu 10.10, Kernel 2.5.35-29-generic. I have a Broadcom 4318 for my WLAN and a Broadcom 4401-B0 for my ethernet. I followed the tutorial and I managed to get packet injection working on my WLAN; however, my ethernet connection isn't working. I tried sudo modeprobe b44, but I get the following message:
FATAL: Error inserting b44 (/lib/modules/2.6.35-29-generic/kernel/drivers/net/b44.ko): Invalid argument
View 9 Replies
View Related
Nov 5, 2010
Sometimes the linux install CD does not recognize the disk controller
I am asking is there a way to customize the disk and add such driver
if yes :
what files from the driver to put and where to do that?
View 1 Replies
View Related
Apr 21, 2011
I have an ASUS P5Q PRO motherboard with an integrated Atheros AR8121/AR8113 PCI-E Gigabit Ethernet Adapter.I installed Ubuntu 10.04 "Lucid" 64bit Kernel version 2.6.32.21 I have read that the driver isn't in the kernel, but there's a strange thing :
First if I try to run lspci from command line it doesn't reports Atheros Ethernet Controller.
Second If I try to run lshw -C network from command line it doesn't reports Atheros Ethernet Controller.
Third if I run ifconfig it only returns my loopback address.
Can I suppose that my Ethernet Intel Gigabit Controller is broken or that Atheros driver is missing?
View 4 Replies
View Related
Jun 26, 2011
I am unable to find Atheros AR8132 PCI-E Ethernet Controller driver for CentOS which is installed on my netbook.
I contacted DELL to provide me the driver and they said that they do not support Linux on netbook and I have to arrange it myself.
I told them that I don't need help in installing I just need the driver file to which they said that they don't have driver for Linux.
NIC is getting detected and works fine on the same netbook (Am dual booting Windows7/CentOS) with Windows7
When I type: ls -l /dev/ it does not show up eth0. Same result with ifconfig. When I type lspci | grep net it does show up something like Atheros Communications AR8132 L1 PCI Gigabit .
View 4 Replies
View Related
Aug 29, 2010
where i can find a driver for Multimedia audio controller: nVidia Corporation nForce2 AC97 for Linux
View 5 Replies
View Related
Nov 30, 2010
Is there an easy example of a block device driver I could follow as a guide to write my own module?
View 5 Replies
View Related