nixCraft Linux Forum

nixCraft

Linux Tech Support Forum

how would i know that module for usbat02 has loaded

This is a discussion on how would i know that module for usbat02 has loaded within the Linux hardware forums, part of the Linux Getting Started category; hi i am newbie to linux.i am using redhat enterprise with kernel-2.6.9-42 and used this ...


Go Back   nixCraft Linux Forum > Linux Getting Started > Linux hardware

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 12-07-2007, 11:23 AM
Junior Member
User
 
Join Date: Dec 2007
My distro: Redhat/Enterprise
Posts: 1
Misbah Naveed is on a distinguished road
Default how would i know that module for usbat02 has loaded

hi
i am newbie to linux.i am using redhat enterprise with kernel-2.6.9-42 and used this module
usbat02-2.6-0.5.0 but didnot no work maybe i did not used it correctly.
I did the following steps:
1. I downloaded the source rpm for kernel 2.6.9-42.EL and rebuild it.
2. I patch the file present in usbat02-2.6-0.5.0/patch/usb-integration.patch.
3. replace the exixting usb.c and usb.h with the usbat02-2.6-0.5.0's usb.c and usb.h.
4. make menuconfig and select the option of USBAT/ support from USB mass storage option.
5. The setting are saved in new kernel and gave it the name usbat-2.6.9
6. Then use the command "make modules modules_install".
7. run "make install".
8. modprobe usb_storage
9. on demesg i got a meeage that i m sending with skipping lines coz its a long message......
i am confused how would i know that i have installed the new driver for usbat02.
Using lsmod shows usb_storage with 0 before plugging the flash. and after plugging it turns to 1.
what it means
pls help me i am so confused how would i know that new module is loaded in my system
waiting 4 reply

Linux version 2.6.9-prep (root@localhost.localdomain) (gcc version 3.4.6 20060404 (Red Hat 3.4.6-3)) #1 Wed Dec 5 02:24:17 PKT 2007

skipped.........
SCSI subsystem initialized
Initializing USB Mass Storage driver...
usb-storage 2-1:1.0: usb_probe_interface
usb-storage 2-1:1.0: usb_probe_interface - got id
usb-storage: USB Mass Storage device detected
usb-storage: -- associate_dev
usb-storage: Vendor: 0x08ec, Product: 0x0008, Revision: 0x0100
usb-storage: Interface Subclass: 0x06, Protocol: 0x50
usb-storage: Transport: Bulk
usb-storage: Protocol: Transparent SCSI
usb-storage: usb_stor_control_msg: rq=fe rqtype=a1 value=0000 index=00 len=1
usb-storage: GetMaxLUN command result is 1, data is 0
usb-storage: *** thread sleeping.
scsi0 : SCSI emulation for USB Mass Storage devices
usb-storage: queuecommand called
usb-storage: *** thread awakened.
usb-storage: Command INQUIRY (6 byte
usb-storage: 12 00 00 00 24 00
usb-storage: Bulk Command S 0x43425355 T 0x1 L 36 F 128 Trg 0 LUN 0 CL 6
usb-storage: usb_stor_bulk_transfer_buf: xfer 31 bytes
usb-storage: Status code 0; transferred 31/31
usb-storage: -- transfer complete
usb-storage: Bulk command transfer result=0
usb-storage: usb_stor_bulk_transfer_buf: xfer 36 bytes
usb-storage: Status code 0; transferred 36/36
usb-storage: -- transfer complete
usb-storage: Bulk data transfer result 0x0
usb-storage: Attempting to get CSW...
usb-storage: usb_stor_bulk_transfer_buf: xfer 13 bytes
usb-storage: Status code 0; transferred 13/13
usb-storage: -- transfer complete
usb-storage: Bulk status result = 0
usb-storage: Bulk Status S 0x53425355 T 0x1 R 0 Stat 0x0
usb-storage: Fixing INQUIRY data to show SCSI rev 2 - was 0
usb-storage: scsi cmd done, result=0x0
usb-storage: *** thread sleeping.
Vendor: Kingston Model: DataTraveler 2.0 Rev: 1.04
Type: Direct-Access ANSI SCSI revision: 02
usb-storage: queuecommand called
usb-storage: *** thread awakened.
usb-storage: Bad target number (1:0)
usb-storage: scsi cmd done, result=0x40000
usb-storage: *** thread sleeping.
usb-storage: queuecommand called
usb-storage: *** thread awakened.
usb-storage: Bad target number (2:0)
usb-storage: scsi cmd done, result=0x40000
usb-storage: *** thread sleeping.
usb-storage: queuecommand called
usb-storage: *** thread awakened.
usb-storage: Bad target number (3:0)
usb-storage: scsi cmd done, result=0x40000
usb-storage: *** thread sleeping.
usb-storage: queuecommand called
usb-storage: *** thread awakened.
usb-storage: Bad target number (4:0)
usb-storage: scsi cmd done, result=0x40000
usb-storage: *** thread sleeping.
usb-storage: queuecommand called
usb-storage: *** thread awakened.
usb-storage: Bad target number (5:0)
usb-storage: scsi cmd done, result=0x40000
usb-storage: *** thread sleeping.
usb-storage: queuecommand called
usb-storage: *** thread awakened.
usb-storage: Bad target number (6:0)
usb-storage: scsi cmd done, result=0x40000
usb-storage: *** thread sleeping.
usb-storage: queuecommand called
usb-storage: *** thread awakened.
usb-storage: Bad target number (7:0)
usb-storage: scsi cmd done, result=0x40000
usb-storage: *** thread sleeping.
USB Mass Storage device found at 3
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
usb-storage: queuecommand called
usb-storage: *** thread awakened.
usb-storage: Command TEST_UNIT_READY (6 byte
usb-storage: 00 00 00 00 00 00
usb-storage: Bulk Command S 0x43425355 T 0x9 L 0 F 0 Trg 0 LUN 0 CL 6
usb-storage: usb_stor_bulk_transfer_buf: xfer 31 bytes
usb-storage: Status code 0; transferred 31/31
usb-storage: -- transfer complete
usb-storage: Bulk command transfer result=0
usb-storage: Attempting to get CSW...
usb-storage: usb_stor_bulk_transfer_buf: xfer 13 bytes
usb-storage: Status code 0; transferred 13/13
usb-storage: -- transfer complete
usb-storage: Bulk status result = 0
usb-storage: Bulk Status S 0x53425355 T 0x9 R 0 Stat 0x1
usb-storage: -- transport indicates command failure
usb-storage: Issuing auto-REQUEST_SENSE
usb-storage: Bulk Command S 0x43425355 T 0x80000009 L 18 F 128 Trg 0 LUN 0 CL 6
usb-storage: usb_stor_bulk_transfer_buf: xfer 31 bytes
usb-storage: Status code 0; transferred 31/31
usb-storage: -- transfer complete
usb-storage: Bulk command transfer result=0
usb-storage: usb_stor_bulk_transfer_buf: xfer 18 bytes
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads

Thread Thread Starter Forum Replies Last Post
Problems with perl module Net::SNMP Jason Linux software 1 12-28-2007 02:09 AM
Module shyamprasad Coding in General 0 08-21-2007 11:54 AM
Linux disable kernel module / driver sweta Linux hardware 2 08-21-2007 12:38 AM
ISDN module asim.mcp Linux software 0 08-27-2006 03:42 AM
freebsd kernel module unload HellBoy All about FreeBSD/OpenBSD/NetBSD 2 01-05-2006 06:51 PM


All times are GMT +5.5. The time now is 04:36 PM.


Powered by vBulletin® Version 3.7.2 - Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.1.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35