Hello!
When attaching usb devices to my box, no new entries in /dev/ are
created (tried with usbstick, harddisk in a box)..so I can't acces any
of them!
------------------
flapp:/usr # lsmod
Module Size Used by
usb_storage 99536 0
scsi_mod 48132 1 usb_storage
ohci_hcd 13152 0
usbcore 73436 4 usb_storage,ohci_hcd
...
flapp:/usr # ls /dev/usb/
. ..
flapp:/usr # ls /dev/scsi/
. ..
flapp:/usr # cat /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
Vendor: HITACHI_ Model: DK23AA-12 Rev: 0811
Type: Direct-Access ANSI SCSI revision: 02
(which is the usb harddisk)
Or do I have to load the scsi disk driver ?
Nico
--
Please send your messages pgp-signed and/or pgp-encrypted (don't encrypt mails
to mailing list!). If you don't know what pgp is visit http://www.gnupg.org.
(public pgp key: ftp.schottelius.org/pub/familiy/nico/pgp-key)
recompile the kernel selecting the
usb device file system option in usb support
Nico Schottelius
<[email protected]> To: Linux Kernel Mailing List <[email protected]>
Sent by: cc:
linux-kernel-owner@vger. Subject: [bug] 2.5.68: USB
kernel.org
05/26/2003 07:11 PM
Hello!
When attaching usb devices to my box, no new entries in /dev/ are
created (tried with usbstick, harddisk in a box)..so I can't acces any
of them!
------------------
flapp:/usr # lsmod
Module Size Used by
usb_storage 99536 0
scsi_mod 48132 1 usb_storage
ohci_hcd 13152 0
usbcore 73436 4 usb_storage,ohci_hcd
...
flapp:/usr # ls /dev/usb/
. ..
flapp:/usr # ls /dev/scsi/
. ..
flapp:/usr # cat /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
Vendor: HITACHI_ Model: DK23AA-12 Rev: 0811
Type: Direct-Access ANSI SCSI revision: 02
(which is the usb harddisk)
Or do I have to load the scsi disk driver ?
Nico
--
Please send your messages pgp-signed and/or pgp-encrypted (don't encrypt
mails
to mailing list!). If you don't know what pgp is visit http://www.gnupg.org.
(public pgp key: ftp.schottelius.org/pub/familiy/nico/pgp-key)
(See attached file: attkklzr.dat)
[email protected] [Tue, May 27, 2003 at 11:33:35AM +0530]:
> recompile the kernel selecting the
> usb device file system option in usb support
The problem was I didn't have scsi / scsi_disk support..
Also I forgot to mount usbdevfs (but which is only informative,afai can see).
It's a little bit weired to have scsi support for usb discs..
perhaps scsi / scsi_disk should be splitted into _real_ scsi support
and generic modular (block) device support..
like mod_disk, mod_cdrom, mod_tape.
What do you think about this ?
Nico
> Hello!
>
> When attaching usb devices to my box, no new entries in /dev/ are
> created (tried with usbstick, harddisk in a box)..so I can't acces any
> of them!
>
> ------------------
> flapp:/usr # lsmod
> Module Size Used by
> usb_storage 99536 0
> scsi_mod 48132 1 usb_storage
> ohci_hcd 13152 0
> usbcore 73436 4 usb_storage,ohci_hcd
> ...
>
> flapp:/usr # ls /dev/usb/
> . ..
> flapp:/usr # ls /dev/scsi/
> . ..
>
> flapp:/usr # cat /proc/scsi/scsi
> Attached devices:
> Host: scsi0 Channel: 00 Id: 00 Lun: 00
> Vendor: HITACHI_ Model: DK23AA-12 Rev: 0811
> Type: Direct-Access ANSI SCSI revision: 02
>
> (which is the usb harddisk)
>
> Or do I have to load the scsi disk driver ?
>
> Nico
>
> --
> Please send your messages pgp-signed and/or pgp-encrypted (don't encrypt
> mails
> to mailing list!). If you don't know what pgp is visit http://www.gnupg.org.
> (public pgp key: ftp.schottelius.org/pub/familiy/nico/pgp-key)
> (See attached file: attkklzr.dat)
>
--
Please send your messages pgp-signed and/or pgp-encrypted (don't encrypt mails
to mailing list!). If you don't know what pgp is visit http://www.gnupg.org.
(public pgp key: ftp.schottelius.org/pub/familiy/nico/pgp-key)